/* Generated by @arabelle/brand from the client's files (arabellefiles.zip). Do not edit:
   run `pnpm --filter @arabelle/brand generate`. */
:root {
  /* The client's three colours, exactly as supplied (ArabellePPc.jpg). */
  --brand-primary: #7900A1;
  --brand-secondary: #F1C7FF;
  --brand-accent: #E491FF;

  /* Violet scale built around them; 200, 300 and 600 are the client's colours unchanged. */
  --violet-50: #FCF3FF;
  --violet-100: #F8E5FF;
  --violet-200: #F1C7FF; /* = client secondary */
  --violet-300: #E491FF; /* = client accent */
  --violet-400: #BF69DF;
  --violet-500: #9C3FC0;
  --violet-600: #7900A1; /* = client primary */
  --violet-700: #640086;
  --violet-800: #4B0065;
  --violet-900: #320045;
  --violet-950: #1C0028;

  /* Violet-tinted neutrals for text, borders and surfaces. */
  --neutral-0: #FEFDFF;
  --neutral-50: #FCF7FF;
  --neutral-100: #F5F0F8;
  --neutral-200: #E9E4EC;
  --neutral-300: #D4CFD7;
  --neutral-400: #A7A2AA;
  --neutral-500: #7D787F;
  --neutral-600: #5D5960;
  --neutral-700: #454147;
  --neutral-800: #2D2A30;
  --neutral-900: #1A171C;
  --neutral-950: #0D0A0F;

  /* System colours for states: NOT the client's palette. At least 4.5:1 on light surfaces
     (neutral 0-100) and, for the -on-dark set, on dark ones (neutral 900-950). */
  --status-success: #0F6B35;
  --status-warning: #8A4B00;
  --status-danger: #B42318;
  --status-info: #1D58B8;
  --status-success-on-dark: #5FD48A;
  --status-warning-on-dark: #F0B44C;
  --status-danger-on-dark: #FF958F;
  --status-info-on-dark: #8FBCFF;
}

/* The holding page. Colours are the brand tokens above (from @arabelle/brand); the rgba()
   values are brand-secondary (#F1C7FF) and brand-primary (#7900A1) with transparency, written
   out so older phone browsers without color-mix() get them too. */

@font-face {
  font-family: 'Manrope';
  src: url('/manrope.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  /* One glow at the top; without no-repeat it starts again below a page taller than the screen. */
  background: var(--violet-950)
    radial-gradient(ellipse 85% 60% at 50% -10%, rgba(121, 0, 161, 0.42), transparent 70%) no-repeat;
  color: var(--neutral-300);
  font-family: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

.holding {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(3.5rem, 12vh, 7rem) 1rem clamp(2.5rem, 7vh, 4rem);
  text-align: center;
}

.holding__name {
  width: min(72vw, 25rem);
  margin: 0;
}

.holding__name img {
  display: block;
  width: 100%;
  height: auto;
}

.holding__line {
  margin: 1.75rem 0 0;
  /* The tracking adds space after the last letter too; this balances it. */
  padding-left: 0.3em;
  color: var(--brand-secondary);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.holding__line::after {
  content: '';
  display: block;
  width: 2.5rem;
  height: 1px;
  margin: 2rem auto 0;
  background: rgba(241, 199, 255, 0.4);
}

.holding__note {
  max-width: 28rem;
  margin: 2rem 0 0;
  font-size: 1.0625rem;
  text-wrap: balance;
}

.holding__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: min(100%, 21rem);
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.button--solid {
  background: var(--brand-secondary);
  color: var(--violet-950);
}

.button--solid:hover {
  background: var(--violet-100);
}

.button--outline {
  border-color: rgba(241, 199, 255, 0.45);
  color: var(--violet-100);
}

.button--outline:hover {
  border-color: var(--brand-secondary);
  background: rgba(241, 199, 255, 0.08);
}

.button:focus-visible {
  outline: 2px solid var(--brand-accent);
  outline-offset: 3px;
}

.holding__signoff {
  width: min(44vw, 11rem);
  height: auto;
  margin-top: clamp(3.5rem, 10vh, 6rem);
}

/* The narrowest phones: keeps "@dresswitharabelle on Instagram" on one line. */
@media (max-width: 24rem) {
  .button {
    padding-inline: 0.75rem;
    font-size: 0.875rem;
  }
}

@media (min-width: 40rem) {
  .holding__links {
    flex-direction: row;
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }
}
