/* Clarity to Change Life Coaching
   The site is Jay's appointment card and appointment book. */

:root{
  /* paper & ink */
  --paper: #FDFDFB;
  --ink: #16171A;
  --ink-soft: #4A4D55;
  --rule: #D9DBE0;

  /* card stock: the logo's evergreen, with its gold for small accents */
  --gold: #C99A3E;
  --gold-light: #E8C989;
  --stock: #0F4A30;
  --stock-deep: #0A3522;
  --on-stock: #FFFFFF;
  --on-stock-soft: #C7DCCF;

  /* appointment book */
  --ledger: #E5EFE0;
  --ledger-rule: #A9C1DE;
  --margin-red: #D23B2E;

  /* pen & stamp */
  --pen: #1E3594;
  --stamp: #6B3DB8;

  --error: #B42318;
  --success: #1E6B43;

  --font-print: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-pen: "Nanum Pen Script", "Bradley Hand", cursive;

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 1240px;
  --header-h: 68px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t: 180ms;

  /* uneven rubber-stamp ink */
  --ink-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.4 2.1'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- base ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-print);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--pen);
  scrollbar-color: var(--ink-soft) var(--paper);
  overflow-x: hidden;
}
img{ display: block; max-width: 100%; height: auto; }
a{ color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button, input, select, textarea{ font: inherit; color: inherit; }
button{ cursor: pointer; touch-action: manipulation; }
h1, h2, h3{ margin: 0; font-weight: 750; line-height: 1.02; letter-spacing: -.02em; font-variation-settings: "wdth" 82; text-wrap: balance; }
p{ margin: 0 0 1rem; }
::selection{ background: var(--stock); color: #fff; }
:focus-visible{ outline: 2px solid var(--stock); outline-offset: 3px; }
.stock :focus-visible, .site-footer :focus-visible, .hero-card-field :focus-visible{ outline-color: var(--gold-light); }
.appt-card :focus-visible{ outline-color: var(--stock); }
[tabindex="-1"]:focus{ outline: none; }
[hidden]{ display: none !important; }
.visually-hidden{ position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap{ width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

.skip-link{ position: absolute; left: 1rem; top: -100px; z-index: 999; background: var(--ink); color: #fff; padding: .75rem 1rem; text-decoration: none; font-weight: 650; }
.skip-link:focus{ top: 1rem; }

.ic{ width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- buttons ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .8rem 1.4rem;
  border: 0; border-radius: 3px;
  background: var(--ink); color: #fff;
  font-weight: 650; font-size: 1rem; letter-spacing: .005em; text-decoration: none; white-space: nowrap;
  transition: background var(--t) ease, color var(--t) ease, transform var(--t) ease;
}
.btn:hover{ background: var(--stock); }
.btn:active{ transform: translateY(1px); }
.btn .ic{ width: 18px; height: 18px; transition: transform var(--t) var(--ease-out); }
.btn:hover .ic--arrow{ transform: translateX(3px); }
.btn--paper{ background: #fff; color: var(--ink); }
.btn--paper:hover{ background: var(--ledger); color: var(--ink); }
.btn--line{ background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--line:hover{ background: var(--ink); color: #fff; }
.btn--sm{ min-height: 44px; padding: .55rem 1rem; font-size: .9375rem; }
.btn--block{ width: 100%; }
.btn[aria-disabled="true"]{ opacity: .5; pointer-events: none; }
.spinner{ width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin{ to{ transform: rotate(360deg); } }

.link-arrow{ display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font-weight: 650; text-decoration: underline; }
.link-arrow .ic{ width: 16px; height: 16px; transition: transform var(--t) var(--ease-out); }
.link-arrow:hover .ic{ transform: translateX(3px); }

/* ---------- wordmark ---------- */
.wordmark{ display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; min-height: 44px; }
.wordmark img{ width: 44px; height: auto; margin-right: .15rem; }
.wordmark b{ font-weight: 850; font-size: 1.2rem; letter-spacing: .01em; text-transform: uppercase; font-variation-settings: "wdth" 68; line-height: 1; }
.wordmark span{ font-size: .875rem; color: var(--ink-soft); padding-left: .6rem; border-left: 1px solid currentColor; line-height: 1; }

/* ---------- header ---------- */
.site-header{ position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 1px solid var(--rule); }
.header-inner{ display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }
.nav-list{ display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-list a{ display: inline-flex; align-items: center; min-height: 44px; padding: 0 .75rem; font-size: .9375rem; font-weight: 550; text-decoration: none; color: var(--ink-soft); transition: color var(--t) ease; }
.nav-list a:hover{ color: var(--ink); text-decoration: underline; }
.nav-list a[aria-current="true"]{ color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--stock); }
.header-actions{ display: flex; align-items: center; gap: .5rem; }
.menu-toggle{ display: none; width: 48px; height: 48px; border: 0; background: transparent; align-items: center; justify-content: center; }
.menu-toggle .ic{ width: 24px; height: 24px; }
.nav-cta-mobile{ display: none !important; }

@media (max-width: 900px){
  .menu-toggle{ display: inline-flex; }
  .site-nav{
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 50;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    padding: .5rem var(--gutter) 1.5rem;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path 260ms var(--ease-out), visibility 0s linear 260ms;
  }
  .site-nav.is-open{ clip-path: inset(0 0 0 0); visibility: visible; transition-delay: 0s; }
  .nav-list{ flex-direction: column; }
  .nav-list a{ min-height: 56px; padding: 0; font-size: 1.25rem; color: var(--ink); border-bottom: 1px solid var(--rule); }
  .nav-cta-mobile{ display: flex !important; margin-top: 1.25rem; }
}
@media (max-width: 480px){ .header-actions .btn{ display: none; } .wordmark span{ display: none; } .wordmark img{ width: 38px; } }

/* ---------- hero ---------- */
.hero{
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  min-height: min(760px, calc(100dvh - var(--header-h)));
  background: var(--stock-deep);
}
/* background film, tinted in the brand evergreen so the white type always reads */
.hero-video{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before{
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(10,53,34,.94) 0%, rgba(10,53,34,.8) 42%, rgba(10,53,34,.42) 100%);
}
.hero h1{ color: #fff; }
.hero .hero-sub{ color: #DCEAE1; }
.hero-copy{ padding: clamp(2.5rem, 6vw, 5.5rem) var(--gutter) clamp(2.5rem, 5vw, 4.5rem) max(var(--gutter), calc((100vw - var(--max)) / 2)); display: flex; flex-direction: column; justify-content: center; }
.hero h1{ font-size: clamp(2.4rem, 1.1rem + 4.4vw, 5rem); font-variation-settings: "wdth" 78; font-weight: 780; letter-spacing: -.025em; line-height: .98; max-width: 14ch; margin-bottom: 1.75rem; }
.hero-sub{ font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); color: var(--ink-soft); max-width: 38ch; margin-bottom: 0; }

.hero-card-field{ background: transparent; color: var(--on-stock); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: clamp(2.5rem, 5vw, 4rem) var(--gutter); }
.hero-card-field .card-note{ margin: 1.75rem 0 0; color: var(--on-stock-soft); font-size: .9375rem; text-align: center; }
.hero-card-field .card-note a{ color: #fff; font-weight: 600; }

@media (max-width: 900px){
  .hero{ grid-template-columns: 1fr; min-height: 0; }
  .hero::before{ background: linear-gradient(180deg, rgba(10,53,34,.9) 0%, rgba(10,53,34,.78) 55%, rgba(10,53,34,.88) 100%); }
  .hero-copy{ padding-inline: var(--gutter); }
  .hero h1{ max-width: 15ch; }
}

/* ---------- appointment card ---------- */
.appt-card{
  position: relative;
  width: min(100%, 420px);
  background: #fff; color: var(--ink);
  border-radius: 3px;
  padding: 1.5rem 1.6rem 1.25rem;
  /* printed card lying flat on the stock: hairline edge, tight contact shadow */
  box-shadow: 0 0 0 1px rgba(6, 38, 22, .18), 0 1px 2px rgba(6, 38, 22, .28);
}
.appt-card::before{ content: ""; position: absolute; inset: 7px; border: 1px solid #CFE0D5; border-radius: 2px; pointer-events: none; }
.hero-card-field .appt-card{ transform: rotate(-1.2deg); }
.appt-head{ display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; padding-bottom: .65rem; border-bottom: 2px solid var(--stock); color: var(--stock); }
.appt-head b{ font-weight: 850; font-size: 1rem; text-transform: uppercase; letter-spacing: .02em; font-variation-settings: "wdth" 68; line-height: 1.1; }
.appt-head b small{ display: block; font-weight: 500; font-size: .75rem; letter-spacing: .04em; text-transform: none; font-variation-settings: "wdth" 100; }
.appt-head span{ font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.appt-rows{ margin: .5rem 0 0; display: grid; }
.appt-row{ display: grid; grid-template-columns: 4.25rem minmax(0, 1fr); align-items: end; gap: .5rem; border-bottom: 1px solid #BFD3C6; min-height: 3rem; padding-bottom: .1rem; }
.appt-row dt{ font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--stock); padding-bottom: .45rem; }
.appt-row dd{ margin: 0; font-family: var(--font-pen); font-size: 1.85rem; line-height: 1.05; color: var(--pen); min-height: 1.9rem; overflow-wrap: anywhere; }
.appt-row dd.is-fresh{ animation: ink 420ms var(--ease-out); }
@keyframes ink{ from{ clip-path: inset(0 100% 0 0); } to{ clip-path: inset(0 0 0 0); } }
.appt-small{ margin: .9rem 0 0; font-size: .75rem; line-height: 1.45; color: var(--stock); }
.appt-card .btn{ margin-top: 1.1rem; }

.stamp{
  position: absolute; right: .9rem; top: .35rem;
  padding: .25rem .7rem .15rem;
  border: 3px solid var(--stamp); border-radius: 6px;
  color: var(--stamp);
  font-weight: 900; font-size: 1.7rem; letter-spacing: .08em; text-transform: uppercase; font-variation-settings: "wdth" 70; line-height: 1.1;
  transform: rotate(-11deg);
  mix-blend-mode: multiply;
  opacity: 0; pointer-events: none;
  -webkit-mask-image: var(--ink-grain);
          mask-image: var(--ink-grain);
  -webkit-mask-size: 180px 180px;
          mask-size: 180px 180px;
}
.appt-card.is-booked .appt-head span{ visibility: hidden; }
.appt-card.is-booked .stamp{ animation: stamp 520ms var(--ease-out) forwards; }
@keyframes stamp{
  0%{ opacity: 0; transform: rotate(-11deg) scale(1.7); filter: blur(3px); }
  60%{ opacity: .95; transform: rotate(-11deg) scale(.96); filter: blur(0); }
  100%{ opacity: .9; transform: rotate(-11deg) scale(1); }
}

/* ---------- photo band ---------- */
.photo-band{ margin: 0; }
.photo-band img{ width: 100%; aspect-ratio: 2 / 1; max-height: 640px; object-fit: cover; object-position: 50% 35%; background: #c9cbd1; }
@media (max-width: 640px){ .photo-band img{ aspect-ratio: 4 / 3; } }

/* ---------- sections ---------- */
.section{ padding-block: clamp(4rem, 3rem + 5vw, 7.5rem); }
.section-title{ font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); margin-bottom: 1.25rem; max-width: 18ch; }
.section-intro{ font-size: 1.1875rem; color: var(--ink-soft); max-width: 52ch; margin-bottom: 0; }

/* sound familiar */
.familiar-head{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.familiar-head .section-title{ margin-bottom: 0; }
.familiar{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 4vw, 4rem); }
.familiar-col figure{ margin: 0 0 1.75rem; }
.familiar-col img{ width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: #c9cbd1; }
.familiar-col h3{ font-size: 1.75rem; margin-bottom: .75rem; }
.said{ list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink); }
.said li{ padding: 1rem 0; border-bottom: 1px solid var(--rule); font-size: 1.125rem; }
.said li::before{ content: "\201C"; color: var(--stock); font-weight: 800; }
.said li::after{ content: "\201D"; color: var(--stock); font-weight: 800; }
.familiar-foot{ margin-top: clamp(2rem, 4vw, 3rem); font-size: 1.1875rem; max-width: 52ch; }
@media (max-width: 820px){ .familiar-head, .familiar{ grid-template-columns: 1fr; } }

/* ledger: what we work on */
.ledger{ position: relative; background: var(--ledger); }
.ledger::before{
  content: ""; position: absolute; top: 0; bottom: 0;
  left: max(calc(var(--gutter) - 16px), calc((100vw - var(--max)) / 2 - 24px));
  width: 4px; border-left: 1px solid var(--margin-red); border-right: 1px solid var(--margin-red); pointer-events: none;
}
.work{ display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2rem clamp(2rem, 6vw, 6rem); }
/* a ruled page: every line of text sits on a rule, one blank rule between entries */
.work-list{
  --line: 2.25rem;
  list-style: none; margin: 0; padding: 0;
  border-top: 1px solid var(--ledger-rule);
  background-image: repeating-linear-gradient(to bottom, transparent 0 calc(var(--line) - 1px), var(--ledger-rule) calc(var(--line) - 1px) var(--line));
}
.work-list li{ display: grid; grid-template-columns: minmax(8.5rem, .4fr) minmax(0, 1fr); column-gap: 2rem; padding-bottom: var(--line); }
.work-list li:last-child{ padding-bottom: 0; }
.work-list h3{ font-size: 1.5rem; line-height: var(--line); font-variation-settings: "wdth" 78; }
.work-list p{ margin: 0; line-height: var(--line); color: var(--ink-soft); max-width: 46ch; }
@media (max-width: 860px){ .work{ grid-template-columns: 1fr; } .ledger::before{ left: 6px; } }
@media (max-width: 520px){ .work-list li{ grid-template-columns: 1fr; } }

/* about */
.about{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.about figure{ margin: 0; position: sticky; top: calc(var(--header-h) + 2rem); }
.about img{ width: 100%; aspect-ratio: 5 / 6; object-fit: cover; object-position: 50% 20%; background: #3a3631; }
.letter{ max-width: 60ch; }
.letter .section-title{ margin-bottom: .5rem; }
.creds{ list-style: none; margin: 0 0 1.75rem; padding: .9rem 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: .4rem 1.75rem; font-size: .9375rem; font-weight: 600; }
.creds li{ display: inline-flex; align-items: center; gap: .5rem; }
.creds li::before{ content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.letter .role{ font-size: 1rem; font-weight: 650; color: var(--stock); margin-bottom: 1.25rem; }
.letter p{ font-size: 1.125rem; }
.letter p.first{ font-size: clamp(1.3rem, 1.1rem + .7vw, 1.6rem); line-height: 1.4; font-weight: 500; }
.letter .signature{ font-family: var(--font-pen); font-size: 2.75rem; color: var(--pen); line-height: 1; margin-top: 1.5rem; }
@media (max-width: 820px){ .about{ grid-template-columns: 1fr; } .about figure{ position: static; max-width: 460px; } }

/* ---------- booking: three appointment cards ---------- */
.book-head{ margin-bottom: clamp(2rem, 4vw, 3rem); }
.book-head .section-title{ max-width: 22ch; }
.offers{ display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: clamp(1rem, 2.5vw, 2rem); align-items: stretch; }
.offer{ width: auto; display: flex; flex-direction: column; padding: 1.5rem 1.6rem 1.6rem; }
.offer h3{ font-size: clamp(1.5rem, 1.25rem + .8vw, 2rem); font-variation-settings: "wdth" 80; margin-top: 1.25rem; }
.offer-price{ font-family: var(--font-pen); font-size: 3rem; line-height: 1; color: var(--pen); margin: .6rem 0 .35rem; }
.offer-price--text{ font-size: 2.4rem; }
.offer-meta{ font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--stock); margin-bottom: .9rem; }
.offer-desc{ color: var(--ink-soft); margin-bottom: 1.5rem; }
.offer .btn{ margin-top: auto; }
.offer-plan{ margin: -.5rem 0 1.25rem; padding: .7rem .85rem; background: var(--ledger); border-radius: 3px; font-size: .9375rem; color: var(--ink-soft); }
.offer-plan a{ color: var(--stock); font-weight: 700; text-underline-offset: .2em; }
.offer-plan a:hover{ color: var(--ink); }
.offer--main{ outline: 2px solid var(--stock); outline-offset: -2px; transform: rotate(-.6deg); }
.offer--main .appt-head span{ visibility: hidden; }
/* the "Most popular" stamp is pressed onto the main card */
.offer-stamp{ top: .4rem; right: .8rem; font-size: 1.15rem; opacity: .9; }
.motion .offer-stamp{ opacity: 0; }
.motion .offers.is-in .offer-stamp{ animation: stamp 520ms var(--ease-out) 700ms forwards; }
.how{ display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1.5fr); gap: 1rem 2rem; align-items: start; margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 1.5rem; border-top: 1px solid var(--ledger-rule); }
.how-title{ font-size: 1.5rem; font-variation-settings: "wdth" 82; }
.how-steps{ list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; counter-reset: how; }
.how-steps li{ counter-increment: how; font-weight: 600; line-height: 1.4; }
.how-steps li::before{ content: counter(how); display: block; font-family: var(--font-pen); font-size: 2.6rem; line-height: 1; color: var(--pen); margin-bottom: .35rem; }
.how-all{ grid-column: 2; margin: 0; }
@media (max-width: 960px){
  .offers{ grid-template-columns: 1fr; max-width: 520px; }
  .offer--main{ transform: none; }
  .how{ grid-template-columns: 1fr; }
  .how-all{ grid-column: auto; }
  .how-steps{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px){ .how-steps{ grid-template-columns: 1fr; } }
.btn--ghost-light{ background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); }
.btn--ghost-light:hover{ background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1.5px #fff; }
.closing-actions{ display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- FAQ ---------- */
.faq{ display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2rem clamp(2rem, 6vw, 6rem); }
.faq-list{ border-top: 1px solid var(--ink); }
.faq-item{ border-bottom: 1px solid var(--rule); }
.faq-item summary{ list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 64px; padding: .9rem 0; cursor: pointer; font-weight: 650; font-size: 1.125rem; transition: color var(--t) ease; }
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary .ic{ width: 20px; height: 20px; transition: transform var(--t) var(--ease-out); }
.faq-item[open] summary .ic{ transform: rotate(45deg); }
.faq-item summary:hover{ color: var(--stock); }
.faq-body{ padding: 0 0 1.25rem; color: var(--ink-soft); max-width: 62ch; }
.faq-body p:last-child{ margin: 0; }
@media (max-width: 860px){ .faq{ grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer{ background: var(--stock-deep); color: var(--on-stock-soft); padding-top: clamp(3.5rem, 6vw, 5.5rem); }
.footer-cta{ display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem 3rem; padding-bottom: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid rgba(255,255,255,.2); }
.footer-cta h2{ color: #fff; font-size: clamp(2rem, 1.3rem + 2.8vw, 3.6rem); max-width: 16ch; }
.footer-grid{ display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; padding-block: 2.5rem; }
.site-footer .wordmark{ color: #fff; }
.site-footer .wordmark span{ color: var(--on-stock-soft); }
.footer-grid p{ max-width: 34ch; font-size: .9375rem; margin-top: .75rem; }
.footer-grid h3{ font-size: .875rem; font-weight: 700; letter-spacing: .02em; color: #fff; margin-bottom: .5rem; font-variation-settings: "wdth" 100; }
.footer-grid ul{ list-style: none; margin: 0; padding: 0; }
.footer-grid a{ display: inline-flex; align-items: center; gap: .5rem; min-height: 40px; font-size: .9375rem; text-decoration: none; color: var(--on-stock-soft); }
.footer-grid a:hover{ color: #fff; text-decoration: underline; }
.footer-grid .ic{ width: 16px; height: 16px; }
.footer-bottom{ display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.25rem; border-top: 1px solid rgba(255,255,255,.2); font-size: .8125rem; }
.footer-bottom p{ margin: 0; }
@media (max-width: 760px){ .footer-grid{ grid-template-columns: 1fr 1fr; } .footer-grid > :first-child{ grid-column: 1 / -1; } }
@media (max-width: 420px){ .footer-grid{ grid-template-columns: 1fr; } }

/* Emanna Digital credit pill. The gold glow is the agency's own mark: keep it hardcoded. */
.footer-credit-bubble{
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.45rem 1.1rem 0.45rem 0.5rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(235,245,238,0.85);
  font-size: 0.84rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 220ms ease, border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}
.footer-credit-bubble:hover, .footer-credit-bubble:focus-visible{
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.32);
  transform: translateY(-1px);
  box-shadow:
    0 10px 28px -12px rgba(0,0,0,0.5),
    0 0 0 1px rgba(169,128,63,0.25),
    0 0 22px 4px rgba(169,128,63,0.45),
    0 0 46px 10px rgba(169,128,63,0.22);
}
.footer-credit-bubble:hover img, .footer-credit-bubble:focus-visible img{ filter: drop-shadow(0 0 6px rgba(169,128,63,0.65)); }
.footer-credit-bubble img{ height: 24px; width: auto; display: block; transition: filter 220ms ease; }
.footer-credit-bubble strong{ color: #E7CF9C; font-weight: 700; }

/* ---------- phone: sticky book button ---------- */
.mobile-book{ display: none; }
@media (max-width: 720px){
  .mobile-book{
    display: block; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 30;
    transform: translateY(160%); transition: transform 280ms var(--ease-out);
  }
  .mobile-book.is-visible{ transform: none; }
  .mobile-book .btn{ width: 100%; box-shadow: 0 10px 24px -10px rgba(6,38,22,.6); }
}

/* ---------- what working together looks like ---------- */
.look-head{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.look-head .section-title{ margin-bottom: 0; }
.look{ display: grid; grid-template-columns: 5fr 4fr 3fr; gap: clamp(1.25rem, 2.5vw, 2rem); align-items: start; }
.look-item{ margin: 0; }
.look-item--tall{ grid-row: span 2; }
.look-item--wide{ grid-column: span 2; }
.look-item .ph{ overflow: hidden; background: #c9cbd1; }
.look-item img{ width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.look-item--tall img{ aspect-ratio: 4 / 5; }
.look-item--wide img{ aspect-ratio: 16 / 9; }
.look-item figcaption{ padding-top: .85rem; border-top: 0; font-size: .9375rem; color: var(--ink-soft); max-width: 42ch; }
.look-item figcaption b{ color: var(--ink); font-weight: 700; }
@media (max-width: 900px){
  .look-head{ grid-template-columns: 1fr; }
  .look{ grid-template-columns: 1fr 1fr; }
  .look-item--tall{ grid-row: auto; grid-column: span 2; }
  .look-item--tall img{ aspect-ratio: 4 / 3; }
}
@media (max-width: 560px){ .look{ grid-template-columns: 1fr; } .look-item--tall, .look-item--wide{ grid-column: auto; } }

/* ---------- closing photo banner ---------- */
.closing{ position: relative; isolation: isolate; overflow: hidden; color: #fff; min-height: min(78vh, 680px); display: flex; align-items: flex-end; }
.closing > img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.closing::before{ content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,53,34,.15) 0%, rgba(10,53,34,.55) 55%, rgba(10,53,34,.92) 100%); }
.closing-inner{ padding-block: clamp(4rem, 10vw, 8rem) clamp(3rem, 6vw, 5rem); }
.closing h2{ color: #fff; font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4.5rem); font-variation-settings: "wdth" 78; max-width: 16ch; margin-bottom: 1.25rem; }
.closing p{ font-size: 1.1875rem; color: #E3EEE7; max-width: 44ch; margin-bottom: 2rem; }
.site-footer{ padding-top: clamp(2.5rem, 5vw, 4rem); }

/* =========================================================
   Motion. Only runs when the visitor allows motion (html.motion),
   and scroll reveals wait for the script (html.reveal-ready) so
   nothing stays hidden if JavaScript fails.
   ========================================================= */

/* hero: field wipes in, headline rises word by word, the card is laid on the desk, then filled in */
.motion .hero-video{ animation: filmIn 1800ms var(--ease-out) both; }
@keyframes filmIn{ from{ opacity: 0; transform: scale(1.08); } to{ opacity: 1; transform: none; } }
.hero h1 .w{ display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero h1 .wi{ display: inline-block; }
.motion .hero h1 .wi{ animation: rise 800ms var(--ease-out) both; animation-delay: calc(120ms + var(--i) * 45ms); }
@keyframes rise{ from{ transform: translateY(105%); } to{ transform: none; } }
.motion .hero-sub{ animation: fadeUp 700ms var(--ease-out) 650ms both; }
@keyframes fadeUp{ from{ opacity: 0; transform: translateY(16px); } to{ opacity: 1; transform: none; } }
.motion .hero-card-field .appt-card{ animation: cardIn 1000ms cubic-bezier(.2, .9, .25, 1.1) 450ms both; }
@keyframes cardIn{
  from{ opacity: 0; transform: translate(40px, 90px) rotate(-9deg) scale(.96); box-shadow: 0 30px 50px -20px rgba(0,0,0,.5); }
  to{ opacity: 1; transform: rotate(-1.2deg); }
}
.motion .hero-card-field .appt-row dd{ animation: ink 650ms var(--ease-out) both; }
.motion .hero-card-field .appt-row:nth-child(1) dd{ animation-delay: 1.15s; }
.motion .hero-card-field .appt-row:nth-child(2) dd{ animation-delay: 1.4s; }
.motion .hero-card-field .appt-row:nth-child(3) dd{ animation-delay: 1.65s; }
.motion .hero-card-field .appt-row:nth-child(4) dd{ animation-delay: 1.9s; }
.motion .hero-card-field .appt-card .btn, .motion .hero-card-field .appt-small{ animation: fadeUp 600ms var(--ease-out) 2.15s both; }
.motion .hero-card-field .card-note{ animation: fadeUp 600ms var(--ease-out) 2.35s both; }
.motion .wa-btn{ animation: waIn 600ms cubic-bezier(.2, .9, .25, 1.2) 2.6s both; }
@keyframes waIn{ from{ opacity: 0; transform: translateY(24px) scale(.7); } to{ opacity: 1; transform: none; } }

/* scroll reveals */
.reveal-ready [data-reveal]{ opacity: 0; transform: translateY(28px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal-ready [data-reveal].is-in{ opacity: 1; transform: none; }
.reveal-ready [data-reveal="photo"]{ opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1100ms cubic-bezier(.7, 0, .2, 1); }
.reveal-ready [data-reveal="photo"].is-in{ clip-path: inset(0 0 0 0); }
.reveal-ready [data-reveal="photo"] img{ transform: scale(1.18); transition: transform 1600ms var(--ease-out); }
.reveal-ready [data-reveal="photo"].is-in img{ transform: scale(1); }
.reveal-ready [data-stagger] > *{ opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal-ready [data-stagger].is-in > *{ opacity: 1; transform: none; }

/* scroll-linked depth on the big photos (browsers that support scroll timelines) */
@supports (animation-timeline: view()){
  .motion .photo-band{ overflow: hidden; }
  .motion .photo-band img, .motion .closing > img{ animation: drift linear both; animation-timeline: view(); animation-range: cover; }
  @keyframes drift{ from{ transform: translateY(-9%) scale(1.18); } to{ transform: translateY(9%) scale(1.18); } }
  .motion .look-item--tall .ph img{ animation: driftSm linear both; animation-timeline: view(); animation-range: cover; }
  @keyframes driftSm{ from{ transform: translateY(-5%) scale(1.12); } to{ transform: translateY(5%) scale(1.12); } }
  .reveal-ready .look-item--tall [data-reveal="photo"] img{ transition: none; }
}

/* small interactions */
.look-item .ph img, .familiar-col .ph img{ transition: transform 700ms var(--ease-out); }
@media (hover: hover){
  .familiar-col:hover .ph.is-in img, .look-item:not(.look-item--tall):hover .ph.is-in img{ transform: scale(1.04); }
}

/* ---------- footer links ---------- */
.footer-links{ list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem 1.25rem; }
.footer-links a{ display: inline-flex; align-items: center; min-height: 40px; color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); }
.footer-links a:hover{ text-decoration-color: var(--gold-light); }

/* ---------- forms (intake, disclaimer tick boxes) ---------- */
.form-grid{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.5rem; }
.field{ display: flex; flex-direction: column; gap: .4rem; }
.field + .field{ margin-top: 1.5rem; }
.form-grid .field + .field{ margin-top: 0; }
.field--full{ grid-column: 1 / -1; }
.field label, .field-label{ font-weight: 650; font-size: 1rem; line-height: 1.4; }
.field input:not([type="radio"]):not([type="checkbox"]), .field textarea{
  width: 100%; min-height: 52px; padding: .75rem .9rem;
  background: #fff; border: 1.5px solid #8E978E; border-radius: 3px; font-size: 1rem;
  transition: border-color var(--t) ease, box-shadow var(--t) ease;
}
.field textarea{ min-height: 120px; resize: vertical; line-height: 1.6; }
.field input:hover, .field textarea:hover{ border-color: var(--ink); }
.field input:focus, .field textarea:focus{ outline: none; border-color: var(--stock); box-shadow: 0 0 0 3px rgba(15,74,48,.2); }
.field ::placeholder{ color: #6B706A; }
.hint{ font-size: .875rem; color: var(--ink-soft); }
.error{ display: none; align-items: center; gap: .35rem; font-size: .875rem; font-weight: 600; color: var(--error); }
.error .ic{ width: 15px; height: 15px; }
.field.has-error input{ border-color: var(--error); }
.field.has-error .error{ display: flex; }
.consent{ display: flex; gap: .75rem; align-items: flex-start; font-size: 1rem; cursor: pointer; line-height: 1.5; }
.consent input{ width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--stock); flex-shrink: 0; cursor: pointer; }
.consent a{ color: var(--stock); font-weight: 650; }
.form-alert{ display: none; gap: .5rem; align-items: flex-start; margin-top: 1.25rem; padding: .85rem 1rem; background: #fff; border: 1.5px solid var(--error); border-radius: 3px; color: var(--error); font-weight: 600; font-size: .9375rem; }
.form-alert.is-visible{ display: flex; }
.form-alert .ic{ width: 18px; height: 18px; margin-top: 2px; }
.panel-actions{ display: flex; align-items: center; gap: 1rem; margin-top: 2rem; }
.panel-actions .spacer{ flex: 1; }
.btn[aria-disabled="true"]{ opacity: .6; pointer-events: none; }
@media (max-width: 600px){ .form-grid{ grid-template-columns: 1fr; } .panel-actions .btn{ width: 100%; } }

/* acknowledgement in the booking section */
.ack-inline{ margin: 0 0 1.75rem; padding: 1rem 1.15rem; background: #fff; border: 1.5px solid var(--ledger-rule); border-radius: 3px; max-width: 560px; font-weight: 600; }

/* acknowledgement pop-up before Calendly */
.ack{ border: 0; padding: 0; background: transparent; width: min(560px, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); overflow: auto; }
.ack::backdrop{ background: rgba(6, 30, 18, .62); }
.ack[open]{ animation: ackIn 320ms var(--ease-out); }
@keyframes ackIn{ from{ opacity: 0; transform: translateY(18px) scale(.98); } to{ opacity: 1; transform: none; } }
.ack-card{ width: 100%; max-width: none; padding: 1.5rem 1.6rem; }
.ack h2{ font-size: 1.75rem; margin: 1.1rem 0 .75rem; }
.ack-text{ font-size: .9375rem; color: var(--ink-soft); line-height: 1.6; max-height: 40vh; overflow-y: auto; padding-right: .25rem; }
.ack .consent{ margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--rule); font-weight: 650; }
.ack-error{ display: flex; align-items: center; gap: .4rem; color: var(--error); font-weight: 600; font-size: .9375rem; margin: .75rem 0 0; }
.ack-error[hidden]{ display: none; }
.ack-error .ic{ width: 16px; height: 16px; }
.ack-actions{ display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.ack-actions .back{ background: none; border: 0; padding: 0 .25rem; min-height: 44px; font-weight: 650; text-decoration: underline; text-underline-offset: .22em; }
@media (max-width: 480px){ .ack-actions{ flex-direction: column-reverse; align-items: stretch; } }

/* ---------- disclaimer & intake pages ---------- */
.header-actions--sub{ gap: 1rem; }
.link-back{ display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; font-weight: 600; font-size: .9375rem; text-decoration: none; color: var(--ink-soft); }
.link-back:hover{ color: var(--ink); text-decoration: underline; }
.link-back .ic{ width: 16px; height: 16px; }
.subpage .header-actions .btn{ display: inline-flex; }
@media (max-width: 480px){ .subpage .header-actions .btn{ display: none; } }
.legal{ padding-block: clamp(3rem, 6vw, 5.5rem); min-height: 60vh; }
.legal-wrap{ max-width: 860px; }
.legal-card, .intake, .intake-done{ width: 100%; max-width: none; padding: clamp(1.5rem, 4vw, 2.5rem); }
.legal h1, .intake-head h1{ font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem); margin: 1.25rem 0 1.25rem; }
.intake-head h1{ margin-top: 0; }
.legal-text{ font-size: 1.125rem; line-height: 1.7; max-width: 66ch; }
.legal-note{ color: var(--ink-soft); font-size: .9375rem; border-top: 1px solid var(--rule); padding-top: 1rem; margin-top: 1.5rem; }
.legal-actions{ display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.intake-head{ margin-bottom: 2rem; }
.intake-group{ border: 0; padding: 0; margin: 1.75rem 0 0; min-width: 0; }
.intake-group legend{ width: 100%; padding: 0 0 .6rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--ledger-rule); font-size: .8125rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--stock); }
.qn{ display: inline-block; font-family: var(--font-pen); font-size: 1.6rem; font-weight: 400; color: var(--pen); margin-right: .45rem; line-height: 1; vertical-align: -2px; }
.scale{ display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: .35rem; }
.scale-pt, .chip-check{ position: relative; cursor: pointer; }
.scale-pt input, .chip-check input{ position: absolute; opacity: 0; width: 1px; height: 1px; }
.scale-pt span{ display: grid; place-items: center; min-height: 48px; border: 1.5px solid #8E978E; border-radius: 3px; background: #fff; font-weight: 700; font-variant-numeric: tabular-nums; transition: background var(--t) ease, color var(--t) ease, border-color var(--t) ease; }
.scale-pt:hover span, .chip-check:hover span{ border-color: var(--ink); }
.scale-pt input:checked + span{ background: var(--stock); border-color: var(--stock); color: #fff; }
.scale-pt input:focus-visible + span, .chip-check input:focus-visible + span{ outline: 2px solid var(--stock); outline-offset: 2px; }
.scale-ends{ display: flex; justify-content: space-between; }
.chips{ display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .6rem; }
.chip-check span{ display: inline-flex; align-items: center; min-height: 46px; padding: .5rem 1.1rem; border: 1.5px solid #8E978E; border-radius: 999px; background: #fff; font-weight: 600; transition: background var(--t) ease, color var(--t) ease, border-color var(--t) ease; }
.chip-check input:checked + span{ background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-check input:disabled + span{ opacity: .4; cursor: not-allowed; }
.intake-agree .consent + .consent{ margin-top: 1rem; }
.intake-agree .hint{ margin: 1rem 0 0; }
.intake-done{ position: relative; text-align: left; }
.intake-done h2{ font-size: 2rem; margin: 0 0 .75rem; }
.intake-done .stamp.is-on{ position: absolute; top: 1rem; right: 1rem; opacity: .9; font-size: 1.4rem; }
.site-footer--sub{ padding-top: 0; }
@media (max-width: 560px){ .scale{ grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ---------- WhatsApp ---------- */
.wa-btn{
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 31;
  display: inline-flex; align-items: center; gap: .55rem;
  min-height: 52px; padding: 0 1.2rem 0 .95rem; border-radius: 999px;
  background: #25D366; color: #0B2E1A; font-weight: 700; font-size: .9375rem; text-decoration: none;
  box-shadow: 0 1px 2px rgba(0,0,0,.18), 0 6px 14px -6px rgba(0,0,0,.35);
  transition: transform var(--t) var(--ease-out), background var(--t) ease;
}
.wa-btn svg{ width: 26px; height: 26px; flex-shrink: 0; }
.wa-btn:hover{ background: #1EBE5A; transform: translateY(-2px); }
.wa-btn:focus-visible{ outline: 2px solid var(--ink); outline-offset: 3px; }
.site-footer{ padding-bottom: 72px; }
@media (max-width: 720px){
  .wa-btn{ right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); width: 52px; height: 52px; padding: 0; justify-content: center; }
  .wa-btn span{ position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .mobile-book{ right: calc(12px + 52px + 10px) !important; }
}


@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.reveal-ready .offers.is-in > .offer--main{ transform: rotate(-.6deg); }
@media (max-width: 960px){ .reveal-ready .offers.is-in > .offer--main{ transform: none; } }
/* keep floating buttons out of the way while the Calendly pop-up is open */
body:has(.calendly-overlay) .wa-btn, body:has(.calendly-overlay) .mobile-book, body:has(dialog[open]) .wa-btn, body:has(dialog[open]) .mobile-book{ display: none; }
