/* Blair Beauty — coming soon
   Tokens taken verbatim from "Blair Coming Soon v4.dc.html". */

:root {
  --cream: #F6F1E7;      /* page ground */
  --olive: #3B3F2A;      /* type, rules, primary button */
  --rose: #CB7885;       /* accent, hover, focus */
  --rose-deep: #B4667A;  /* active state, error text */
  --blush: #F9D1D9;      /* marquee + signup bands */
  --sage: #D6DEB5;       /* philosophy band */
  --paper: #FFFDF9;      /* input fill */

  --olive-70: rgba(59, 63, 42, .7);
  --olive-60: rgba(59, 63, 42, .6);
  --olive-50: rgba(59, 63, 42, .5);

  --rule: 2px;
  --shell: 1280px;
  --gutter: clamp(20px, 6vw, 96px);
  --band-y: clamp(64px, 8vw, 120px);
  --control-h: 54px;
}

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

/* Author `display` rules beat the UA stylesheet's [hidden]{display:none}. */
[hidden] { display: none !important; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
}

body {
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--olive);
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

img { max-width: 100%; }

a {
  color: inherit;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
a:hover { color: var(--rose); }

:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }

.shell { max-width: var(--shell); margin: 0 auto; }

.contents { display: contents; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Honeypot — off-screen, never announced, never focusable. */
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.rise-1 { animation: rise .9s .05s cubic-bezier(.2, .7, .2, 1) both; }
.rise-2 { animation: rise .9s .2s  cubic-bezier(.2, .7, .2, 1) both; }
.rise   { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Shared headline treatment — v4 sets everything at 800 uppercase. */
.display {
  margin: 0;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.045em;
  line-height: .88;
}
.accent { color: var(--rose); }

main { width: 100%; background: var(--cream); overflow-x: clip; }

/* -------------------------------------------------------------- header --- */

.masthead { background: var(--cream); padding: clamp(18px, 2.5vw, 28px) var(--gutter); }

.masthead .shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-bottom: clamp(14px, 2vw, 20px);
  border-bottom: var(--rule) solid var(--olive);
}

.masthead__logo {
  width: clamp(140px, 15vw, 190px);
  height: auto;
  display: block;
  margin-left: -6px;
}

.masthead__cta {
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  padding: 10px 0;
  border-bottom: var(--rule) solid var(--rose);
  white-space: nowrap;
}
.masthead__cta:hover { color: var(--rose); }

/* ---------------------------------------------------------------- hero --- */

.hero {
  background: var(--cream);
  padding: clamp(40px, 6vw, 88px) var(--gutter) clamp(56px, 7vw, 104px);
}

.hero .shell {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 64px);
}

.hero__copy { display: flex; flex-direction: column; gap: 24px; }

.hero__title { font-size: clamp(64px, 13vw, 200px); }

.hero__lead {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.3;
  max-width: 26ch;
  font-weight: 500;
}

.hero__split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 20px clamp(32px, 5vw, 80px);
  align-items: start;
  border-top: var(--rule) solid var(--olive);
  padding-top: 24px;
}

.hero__aside {
  margin: 0;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.4;
  max-width: 34ch;
  font-weight: 500;
}

/* -------------------------------------------------------------- signup --- */

.signup { display: flex; flex-direction: column; gap: 12px; }

.signup__label { font-size: 15px; font-weight: 700; }

.field-row { display: flex; flex-wrap: wrap; gap: 10px; }

.input {
  flex: 1 1 220px;
  min-height: var(--control-h);
  padding: 0 16px;
  font: inherit;
  font-size: 16px;
  color: var(--olive);
  background: var(--paper);
  border: var(--rule) solid var(--olive);
  border-radius: 0;
}
.input::placeholder { color: var(--olive-50); }
.input:focus { border-color: var(--rose); }
.input[aria-invalid="true"] { border-color: var(--rose-deep); }

.btn {
  flex: 0 0 auto;
  min-height: var(--control-h);
  padding: 0 24px;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--olive);
  border: var(--rule) solid var(--olive);
  border-radius: 0;
  cursor: pointer;
  text-align: left;
}
.btn:hover  { background: var(--rose); border-color: var(--rose); }
.btn:active { background: var(--rose-deep); border-color: var(--rose-deep); }
.btn[disabled] { opacity: .6; cursor: default; }

.error {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--rose-deep);
  font-weight: 500;
}

.fineprint {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--olive-70);
  max-width: 52ch;
}

.linkbtn {
  align-self: flex-start;
  padding: 0;
  font: inherit;
  font-size: 14px;
  color: var(--olive-70);
  background: none;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  white-space: nowrap;
  text-align: left;
}
.linkbtn:hover { color: var(--rose); }

/* ----------------------------------------------------------- confirmed --- */

.confirmed { display: flex; flex-direction: column; gap: 24px; }

.confirmed__title { font-size: clamp(64px, 13vw, 200px); }

.confirmed__body {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.3;
  max-width: 30ch;
  font-weight: 500;
}

/* ------------------------------------------------------------- marquee --- */

.marquee {
  background: var(--blush);
  color: var(--olive);
  border-top: var(--rule) solid var(--olive);
  border-bottom: var(--rule) solid var(--olive);
  overflow: hidden;
  padding: 18px 0;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee__group { display: flex; white-space: nowrap; }

.marquee__item {
  padding: 0 28px;
  font-size: clamp(22px, 2.6vw, 36px);
  font-weight: 800;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

/* ---------------------------------------------------------- philosophy --- */

.philosophy {
  background: var(--sage);
  color: var(--olive);
  padding: var(--band-y) var(--gutter);
}

.philosophy .shell,
.story .shell {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.philosophy__title {
  font-size: clamp(40px, 5.6vw, 84px);
  line-height: .94;
  letter-spacing: -.035em;
}

.philosophy__body {
  display: flex;
  flex-direction: column;
  gap: 28px;
  border-top: var(--rule) solid var(--olive);
  padding-top: 24px;
}

.philosophy__body p {
  margin: 0;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  max-width: 44ch;
}

.chants { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }

.chants li {
  padding: 14px 0;
  border-top: var(--rule) solid var(--olive);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 800;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.chants li:last-child { border-bottom: var(--rule) solid var(--olive); color: var(--rose); }

/* --------------------------------------------------------------- story --- */

.story { background: var(--cream); color: var(--olive); padding: var(--band-y) var(--gutter); }

.story__intro {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 24px;
}

.story__kicker {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--rose);
}

.story__title {
  margin: 0;
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1;
  letter-spacing: -.03em;
  font-weight: 800;
  max-width: 14ch;
}

.story__body {
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  max-width: 56ch;
  border-top: var(--rule) solid var(--olive);
  padding-top: 24px;
}
.story__body p { margin: 0; }
.story__signoff { font-weight: 700; color: var(--rose); }

/* -------------------------------------------------------- signup band --- */

.cta {
  background: var(--blush);
  color: var(--olive);
  border-top: var(--rule) solid var(--olive);
  padding: var(--band-y) var(--gutter);
}

.cta .shell {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(28px, 4vw, 64px);
  align-items: end;
}

.cta__copy { display: flex; flex-direction: column; gap: 16px; }

.cta__title { font-size: clamp(48px, 8vw, 128px); line-height: .9; letter-spacing: -.04em; }

.cta__sub {
  margin: 0;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.3;
  font-weight: 500;
}

.cta__done {
  margin: 0;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  max-width: 36ch;
  border-top: var(--rule) solid var(--olive);
  padding-top: 20px;
}

/* -------------------------------------------------------------- footer --- */

.footer { background: var(--cream); color: var(--olive); padding: clamp(40px, 5vw, 64px) var(--gutter); }

.footer .shell { display: flex; flex-direction: column; gap: 28px; }

.footer__logo { width: 120px; height: auto; display: block; margin-left: -4px; }

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 24px 40px;
  font-size: 14px;
  line-height: 1.6;
  border-top: var(--rule) solid var(--olive);
  padding-top: 24px;
}
.footer__grid p { margin: 0; }
.footer nav { display: flex; flex-direction: column; gap: 4px; }
.footer__fineprint { color: var(--olive-60); }

/* ---------------------------------------------------------- legal pages --- */

.doc { background: var(--cream); color: var(--olive); padding: clamp(32px, 5vw, 56px) var(--gutter) var(--band-y); }
.doc .shell { max-width: 760px; }
.doc__back { display: inline-block; margin-bottom: clamp(32px, 5vw, 56px); font-size: 14px; }
.doc__logo { width: 120px; height: auto; display: block; margin: 0 0 clamp(32px, 5vw, 56px) -4px; }

.doc h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 60px);
  line-height: .96;
  letter-spacing: -.035em;
  font-weight: 800;
  text-transform: uppercase;
}

.doc__updated {
  margin: 0 0 clamp(32px, 4vw, 48px);
  font-size: 14px;
  color: var(--olive-60);
  padding-bottom: 24px;
  border-bottom: var(--rule) solid var(--rose);
}

.doc h2 {
  margin: clamp(32px, 4vw, 44px) 0 12px;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.2;
  letter-spacing: -.02em;
  font-weight: 800;
  text-transform: uppercase;
}

.doc p, .doc li { margin: 0 0 14px; font-size: 17px; line-height: 1.6; max-width: 68ch; }
.doc ul { margin: 0 0 14px; padding-left: 20px; }

.doc__note {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 24px;
  border-top: var(--rule) solid var(--olive);
  font-size: 14px;
  color: var(--olive-60);
}

/* Conspicuous notices (warranty disclaimer, liability cap, class-action
   waiver). Capitalised in the source for legal prominence — keep them
   visually distinct rather than letting them melt into the body copy. */
.doc__notice {
  border-left: 3px solid var(--rose);
  padding: 4px 0 4px 18px;
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: .005em;
}
.doc__notice strong { letter-spacing: 0; }
