/* ==========================================================================
   Infinite Styling - site styles

   Palette (from the brand sheet): Purple, Charcoal, Warm White, Gold, Olive,
   Sage, Sand. Purple is the single interactive accent (buttons, links,
   emphasis). Gold is decorative only: rules, the crown, small details.

   Shape rule: interactive controls are full pills, tiles are 28px,
   media inside tiles is 18px, form fields are 14px.

   Theme: one theme per page, following the visitor's light/dark setting.
   Each page may use the purple colour block once, as a deliberate moment.
   ========================================================================== */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-600-italic.woff2") format("woff2");
}

:root {
  /* Brand palette */
  --purple: #72517E;
  --charcoal: #292A29;
  --warm-white: #F7F3EC;
  --gold: #B99A56;
  --olive: #656047;
  --sage: #A9AC91;
  --sand: #D8C9B2;

  /* Type */
  --font-display: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --fs-hero: clamp(2.75rem, 5.4vw, 5rem);
  --fs-h1: clamp(2.5rem, 4.8vw, 4.25rem);
  --fs-h2: clamp(2rem, 3.4vw, 2.875rem);
  --fs-h3: clamp(1.625rem, 2.4vw, 2.125rem);
  --fs-sub: clamp(1.1875rem, 1.8vw, 1.4375rem);
  --fs-body: 1.0625rem;
  --fs-small: .875rem;
  --fs-caption: .75rem;

  /* Colour roles: light */
  --bg: var(--warm-white);
  --bg-alt: #EFE8DC;
  --surface: #FDFBF8;
  --text: var(--charcoal);
  --text-2: #625E57;
  --eyebrow: var(--olive);
  --em: var(--purple);
  --line: rgb(41 42 41 / .12);
  --link: var(--purple);
  --btn-bg: var(--purple);
  --btn-bg-hover: #5F4269;
  --btn-text: #FDFBF8;
  --rule: var(--gold);
  --icon: var(--olive);
  --error: #A3433A;
  --tile-sand: #E2D6C3;
  --tile-sage: #CBCDB9;
  --tile-text-2: #4F4B45;
  --nav-bg: rgb(247 243 236 / .74);
  --ph-a: var(--sand);
  --ph-b: #EAE1D2;

  /* Space */
  --gutter: 22px;
  --section-y: clamp(80px, 11vw, 152px);
  --content: 980px;
  --content-wide: 1240px;
  --nav-h: 60px;

  /* Shape */
  --radius-tile: 28px;
  --radius-card: 18px;
  --radius-field: 14px;
  --radius-pill: 980px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 400ms;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1C1C1B;
    --bg-alt: #232322;
    --surface: #2B2B29;
    --text: var(--warm-white);
    --text-2: #B5AEA2;
    --eyebrow: var(--gold);
    --em: #C7AED1;
    --line: rgb(247 243 236 / .14);
    --link: #C7AED1;
    --btn-bg: var(--purple);
    --btn-bg-hover: #83608F;
    --icon: var(--gold);
    --error: #F09A8F;
    --tile-sand: #35312A;
    --tile-sage: #30322B;
    --tile-text-2: #B5AEA2;
    --nav-bg: rgb(28 28 27 / .74);
    --ph-a: #3A352D;
    --ph-b: #2A2825;
  }
}

/* Charcoal tile (used inside grids, never as a whole section) */
.theme-dark {
  --bg: var(--charcoal);
  --surface: #343533;
  --text: var(--warm-white);
  --text-2: #BDB6A9;
  --tile-text-2: #BDB6A9;
  --eyebrow: var(--gold);
  --em: #C7AED1;
  --link: #C7AED1;
  --line: rgb(247 243 236 / .14);
  --icon: var(--gold);
  background: var(--bg);
  color: var(--text);
}
@media (prefers-color-scheme: dark) {
  .theme-dark { --bg: #121211; }
}

/* The purple colour block: once per page */
.theme-purple {
  --bg: var(--purple);
  --text: var(--warm-white);
  --text-2: #E6DCE6;
  --tile-text-2: #E6DCE6;
  --eyebrow: #E8D7A6;
  --em: #E8D7A6;
  --link: #FDFBF8;
  --btn-bg: var(--warm-white);
  --btn-bg-hover: #FDFBF8;
  --btn-text: var(--purple);
  --line: rgb(253 251 248 / .22);
  --rule: #E8D7A6;
  --icon: #E8D7A6;
  background: var(--bg);
  color: var(--text);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
html:has(.menu:popover-open) { overflow: hidden; }

body {
  margin: 0;
  font: 400 var(--fs-body)/1.55 var(--font-sans);
  letter-spacing: -.011em;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--text);
  text-wrap: balance;
}
/* Italic emphasis in the same family; extra room keeps descenders (g, y, p) clear */
h1 em, h2 em, h3 em, .quote em, .pop em {
  font-style: italic;
  color: var(--em);
  padding-bottom: .06em;
}

p { margin: 0; text-wrap: pretty; }

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }

:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 6px; }

::selection { background: color-mix(in srgb, var(--purple) 28%, transparent); }

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

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--text);
  color: var(--bg);
  translate: 0 -200%;
}
.skip-link:focus { translate: 0 0; }

/* Phosphor icons used as masks so they take the current colour */
.icon {
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  flex: none;
  background: currentColor;
  -webkit-mask: var(--src) center / contain no-repeat;
  mask: var(--src) center / contain no-repeat;
}
.icon-list { --src: url("../icons/list.svg"); }
.icon-x { --src: url("../icons/x.svg"); }

/* Layout ----------------------------------------------------------------- */
.section {
  padding-block: var(--section-y);
  padding-inline: var(--gutter);
  background: var(--bg);
  color: var(--text);
}
.section--alt { background: var(--bg-alt); --tile-default: var(--surface); }
.section--tight { padding-block: clamp(56px, 7vw, 104px); }
.section--flush-top { padding-top: 0; }

.container { max-width: var(--content); margin-inline: auto; }
.container--wide { max-width: var(--content-wide); }
.container--narrow { max-width: 700px; }

.center { text-align: center; }
.center .lede, .center .prose { margin-inline: auto; }

/* Typography ------------------------------------------------------------- */
.eyebrow {
  margin: 0 0 18px;
  font: 600 var(--fs-caption)/1.3 var(--font-sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--eyebrow);
}

.h-hero { font-size: var(--fs-hero); line-height: 1.06; letter-spacing: -.02em; }
.h-1 { font-size: var(--fs-h1); line-height: 1.06; letter-spacing: -.015em; }
.h-2 { font-size: var(--fs-h2); line-height: 1.1; }
.h-3 { font-size: var(--fs-h3); line-height: 1.12; font-weight: 600; letter-spacing: -.005em; }

.lede {
  max-width: 34ch;
  margin-top: 22px;
  font-size: var(--fs-sub);
  line-height: 1.36;
  letter-spacing: -.005em;
  color: var(--text-2);
}

.prose {
  max-width: 62ch;
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  line-height: 1.62;
  color: var(--text-2);
}
.prose > * + * { margin-top: 1em; }
.prose strong { color: var(--text); font-weight: 600; }
.prose--spaced { margin-top: 32px; }

/* A single line given room to land */
.pop {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -.01em;
  color: var(--text);
}
.prose > .pop { margin-block: 1.1em; }

.quote {
  font: italic 500 clamp(2.125rem, 5vw, 4rem)/1.12 var(--font-display);
  letter-spacing: -.015em;
  color: var(--text);
  text-wrap: balance;
}
.quote--sm { font-size: clamp(1.75rem, 3.2vw, 2.625rem); }
blockquote { margin: 0; }

.crown {
  display: block;
  width: 34px;
  margin: 0 auto 28px;
  color: var(--gold);
}

.fineprint { font-size: var(--fs-small); line-height: 1.55; color: var(--text-2); }
.fineprint > * + * { margin-top: 8px; }

/* Buttons & links -------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-text);
  font: 500 var(--fs-body)/1.2 var(--font-sans);
  letter-spacing: -.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), translate 200ms var(--ease);
}
.btn:hover { background: var(--btn-bg-hover); text-decoration: none; }
.btn:active { translate: 0 1px; }
.btn:disabled { opacity: .6; cursor: progress; }

.btn--sm { min-height: 36px; padding: 6px 18px; font-size: .8125rem; }
/* Keep a 44px hit area on the compact nav button */
.btn--sm::before { content: ""; position: absolute; inset: -4px -2px; }

.link-arrow {
  display: inline-flex;
  white-space: nowrap;
  align-items: center;
  gap: .35em;
  min-height: 44px;
  font-size: var(--fs-body);
  color: var(--link);
}
.link-arrow::after {
  content: "";
  width: 1.05em;
  height: 1.05em;
  background: currentColor;
  -webkit-mask: url("../icons/arrow-right.svg") center / contain no-repeat;
  mask: url("../icons/arrow-right.svg") center / contain no-repeat;
  transition: translate var(--dur) var(--ease);
}
.link-arrow:hover::after { translate: 3px 0; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  margin-top: 36px;
}
.center .cta-row { justify-content: center; }
.cta-note { margin-top: 16px; font-size: var(--fs-small); color: var(--text-2); }

/* Global nav ------------------------------------------------------------- */
.gnav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  border-bottom: 1px solid var(--line);
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  view-transition-name: site-nav;
}
@media (prefers-reduced-transparency: reduce) {
  .gnav { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.gnav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: var(--content-wide);
  height: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--text);
  font: 600 1.0625rem/1 var(--font-display);
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand svg { width: 26px; color: var(--gold); }

.gnav-links {
  display: flex;
  gap: 24px;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}
.gnav-links a {
  display: block;
  padding-block: 12px;
  font-size: .8125rem;
  color: var(--text);
  opacity: .78;
  white-space: nowrap;
  transition: opacity var(--dur) var(--ease);
}
.gnav-links a:hover { opacity: 1; text-decoration: none; }
.gnav-links a[aria-current],
.gnav-links a.is-section {
  opacity: 1;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 6px;
}

.gnav-actions { display: flex; align-items: center; gap: 6px; }

.gnav-menu {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--text);
  font-size: 1.375rem;
  cursor: pointer;
}

.label-short { display: none; }

@media (max-width: 1259px) {
  .gnav-links { display: none; }
  .gnav-actions { margin-left: auto; }
  .gnav-menu { display: grid; }
}
@media (max-width: 639px) {
  .label-full { display: none; }
  .label-short { display: inline; }
  .brand { font-size: .9375rem; letter-spacing: .12em; }
  .brand svg { width: 22px; }
}
@media (max-width: 479px) {
  .gnav-actions .btn { display: none; }
}

/* Full-screen menu (popover) --------------------------------------------- */
.menu {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0 var(--gutter) 48px;
  border: 0;
  overflow-y: auto;
  background: var(--bg);
  color: var(--text);
  opacity: 0;
  transition: opacity 350ms var(--ease), display 350ms allow-discrete, overlay 350ms allow-discrete;
}
.menu:popover-open { opacity: 1; }
@starting-style { .menu:popover-open { opacity: 0; } }

.menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}
.menu-head .gnav-menu { display: grid; }
.menu-links { margin: 28px 0 36px; padding: 0; list-style: none; }
.menu-links a {
  display: block;
  padding-block: 10px;
  font: 500 clamp(1.875rem, 7vw, 2.5rem)/1.15 var(--font-display);
  letter-spacing: -.01em;
  color: var(--text);
}
.menu-links a[aria-current], .menu-links a.is-section { color: var(--em); font-style: italic; }
.menu-links a:hover { text-decoration: none; color: var(--em); }

@media (prefers-reduced-motion: no-preference) {
  .menu:popover-open .menu-links li { animation: rise 500ms var(--ease) backwards; }
  .menu-links li:nth-child(2) { animation-delay: 30ms; }
  .menu-links li:nth-child(3) { animation-delay: 60ms; }
  .menu-links li:nth-child(4) { animation-delay: 90ms; }
  .menu-links li:nth-child(5) { animation-delay: 120ms; }
  .menu-links li:nth-child(6) { animation-delay: 150ms; }
  .menu-links li:nth-child(7) { animation-delay: 180ms; }
}

/* Split hero ------------------------------------------------------------- */
.hero {
  padding: clamp(32px, 5vw, 88px) var(--gutter) clamp(56px, 6vw, 96px);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(36px, 6vw, 104px);
  align-items: center;
  max-width: var(--content-wide);
  margin-inline: auto;
}
.hero-copy .lede { max-width: 30ch; }
.hero-media .media {
  --ar: 4 / 5;
  max-height: calc(100dvh - var(--nav-h) - 96px);
  min-height: 420px;
}
@media (max-width: 834px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media .media { --ar: 4 / 4.4; max-height: 72dvh; min-height: 0; }
}

/* Media ------------------------------------------------------------------ */
.media {
  --ar: 4 / 5;
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: var(--ar);
  border-radius: var(--radius-tile);
  background: linear-gradient(155deg, var(--ph-a), var(--ph-b));
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--wide { --ar: 16 / 9; }
.media--land { --ar: 3 / 2; }
.media--square { --ar: 1; }
.media--band { --ar: 21 / 9; }
@media (max-width: 734px) { .media--band { --ar: 4 / 3; } }

.caption { margin-top: 14px; font-size: var(--fs-small); color: var(--text-2); }

/* Awards strip (badges only) --------------------------------------------- */
.awards { padding: clamp(8px, 2vw, 24px) var(--gutter) clamp(56px, 6vw, 88px); }
.awards-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px clamp(14px, 2vw, 28px);
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: clamp(20px, 3vw, 32px);
  list-style: none;
  border-radius: var(--radius-tile);
  /* Badges arrive on white grounds; a warm-white plate in both themes keeps them clean */
  background: var(--warm-white);
}
.awards-row img {
  width: auto;
  height: clamp(72px, 6.2vw, 88px);
  mix-blend-mode: multiply;
}
@media (max-width: 734px) {
  .awards-row {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .awards-row li { scroll-snap-align: center; flex: none; }
}

/* Feature split (one per page) ------------------------------------------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 104px);
  align-items: center;
}
.feature--flip .feature-media { order: 2; }
.feature-text .lede { margin-top: 16px; }
.feature-text .prose { margin-top: 26px; }
@media (max-width: 834px) {
  .feature { grid-template-columns: 1fr; }
  .feature--flip .feature-media { order: 0; }
}

.section-head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head.center { margin-inline: auto; }
.section-head .prose { margin-top: 24px; }

/* Two columns of text ---------------------------------------------------- */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 96px);
}
.duo .h-2 { margin-bottom: 20px; }
@media (max-width: 734px) { .duo { grid-template-columns: 1fr; } }

/* Large-type list -------------------------------------------------------- */
.type-list { margin: 0; padding: 0; list-style: none; }
.type-list li {
  padding-block: .4em;
  font: 500 clamp(1.5rem, 3.2vw, 2.375rem)/1.2 var(--font-display);
  letter-spacing: -.01em;
  color: var(--text);
  text-wrap: balance;
}
.type-list li + li { border-top: 1px solid var(--line); }
.type-list--sm li { font-size: clamp(1.375rem, 2.4vw, 1.75rem); }

/* Grouped beliefs: two columns, each its own list */
.beliefs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); }
.beliefs h3 { margin-bottom: 12px; font: italic 500 var(--fs-h3)/1.15 var(--font-display); color: var(--em); }
@media (max-width: 834px) { .beliefs { grid-template-columns: 1fr; } }

/* Tiles & bento ---------------------------------------------------------- */
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(28px, 3.4vw, 44px);
  overflow: hidden;
  border-radius: var(--radius-tile);
  background: var(--tile-bg, var(--tile-default, var(--bg-alt)));
  color: var(--text);
  transition: scale var(--dur) var(--ease);
}
.tile p { color: var(--text-2); }
.tile .link-arrow { margin-top: auto; padding-top: 8px; }
.tile .media { --ar: 3 / 2; margin: 0 0 10px; border-radius: var(--radius-card); }

.tile--sand { --tile-bg: var(--tile-sand); --text-2: var(--tile-text-2); }
.tile--sage { --tile-bg: var(--tile-sage); --text-2: var(--tile-text-2); }
.tile.theme-dark, .tile.theme-purple { --tile-bg: var(--bg); }

.tile-title { font-size: var(--fs-h3); font-weight: 600; line-height: 1.1; }
.tile .tile-tagline { font: italic 500 1.375rem/1.28 var(--font-display); color: var(--text); padding-bottom: .05em; }
.tile .tile-price { font: 500 clamp(2.25rem, 3.6vw, 3rem)/1 var(--font-display); letter-spacing: -.02em; color: var(--text); }

/* Whole tile clickable via its main link */
.tile .stretch::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.tile:has(.stretch):hover { scale: 1.01; }
.tile:has(.stretch:focus-visible) { outline: 2px solid var(--link); outline-offset: 4px; }
.tile .stretch:focus-visible { outline: none; }

/* Lead bento: one large tile on the left, the rest stacked on the right */
.bento {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 20px;
}
.bento > .tile-lead { grid-row: span var(--span, 2); }
.bento--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
.bento--flip > .tile-lead { grid-column: 2; }
@media (max-width: 834px) {
  .bento, .bento--flip { grid-template-columns: 1fr; }
  .bento > .tile-lead { grid-row: auto; grid-column: auto; }
}

/* Year at a glance: 6 cells in a 3-column rhythm */
.glance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.glance .is-tall { grid-row: span 2; }
.glance .is-wide { grid-column: span 2; }
.stat-num {
  font: 500 clamp(4rem, 7.4vw, 6.25rem)/.9 var(--font-display);
  letter-spacing: -.03em;
  color: var(--em);
}
.stat-num svg { width: clamp(60px, 6vw, 80px); color: var(--gold); }
.tile .stat-label { margin-top: 6px; font-weight: 600; color: var(--text); }
@media (max-width: 1068px) {
  .glance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glance .is-tall { grid-row: auto; }
  .glance .is-wide { grid-column: auto; }
}
@media (max-width: 600px) { .glance { grid-template-columns: 1fr; } }

/* Offer rows (Work With Me) ---------------------------------------------- */
.offer {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr) minmax(0, 264px);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
  padding-block: clamp(40px, 5vw, 64px);
}
.offer + .offer { border-top: 1px solid var(--line); }
.offer .media { --ar: 4 / 5; border-radius: var(--radius-card); }
.offer .prose { margin-top: 20px; }
.offer-aside { display: grid; gap: 12px; justify-items: start; }
.offer-price { font: 500 clamp(2.5rem, 4vw, 3.25rem)/1 var(--font-display); letter-spacing: -.02em; color: var(--text); }
.offer-aside .fineprint { margin-bottom: 4px; }
@media (max-width: 1068px) {
  .offer { grid-template-columns: minmax(0, 240px) minmax(0, 1fr); }
  .offer-aside { grid-column: 2; }
}
@media (max-width: 680px) {
  .offer { grid-template-columns: 1fr; }
  .offer-aside { grid-column: auto; }
  .offer .media { --ar: 3 / 2; }
}

/* Sticky phase story ----------------------------------------------------- */
.story {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 7vw, 120px);
}
.story-aside {
  position: sticky;
  top: calc(var(--nav-h) + 56px);
  align-self: start;
}
.phase-nav { margin: 36px 0 0; padding: 0; list-style: none; }
.phase-nav li + li { border-top: 1px solid var(--line); }
.phase-nav a {
  display: block;
  padding-block: 14px;
  font: 500 clamp(1.5rem, 2.4vw, 2rem)/1.15 var(--font-display);
  color: var(--text-2);
  transition: color var(--dur) var(--ease);
}
.phase-nav a:hover { text-decoration: none; color: var(--text); }
.phase-nav a[aria-current] { color: var(--em); font-style: italic; }

.phase { padding-block: clamp(24px, 5vw, 64px); }
.phase + .phase { border-top: 1px solid var(--line); }
.phase h3 { font: italic 500 var(--fs-h2)/1.12 var(--font-display); color: var(--em); padding-bottom: .05em; }
.phase .lede { margin: 10px 0 28px; color: var(--text); }

.voice { display: grid; gap: 18px; margin-top: 40px; }
.voice .quote--sm.is-muted { color: var(--text-2); }

@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; gap: 16px; }
  .story-aside { position: static; }
  .phase-nav { display: none; }
}

/* Sticky-heading timeline (Curated Shopping) ----------------------------- */
.timeline { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 112px); }
.timeline-head { position: sticky; top: calc(var(--nav-h) + 56px); align-self: start; }
.timeline-step { padding-bottom: clamp(40px, 6vw, 72px); }
.timeline-step + .timeline-step { padding-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.timeline-step .h-2 { margin-bottom: 20px; }
@media (max-width: 834px) {
  .timeline { grid-template-columns: 1fr; }
  .timeline-head { position: static; }
}

/* Checklist with Phosphor check marks ------------------------------------ */
.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.checklist li { position: relative; padding-left: 34px; color: var(--text); line-height: 1.45; }
.checklist li::before {
  content: "";
  position: absolute;
  top: .1em;
  left: 0;
  width: 1.3em;
  height: 1.3em;
  background: var(--icon);
  -webkit-mask: url("../icons/check.svg") center / contain no-repeat;
  mask: url("../icons/check.svg") center / contain no-repeat;
}
.checklist--single { grid-template-columns: 1fr; }
@media (max-width: 600px) { .checklist { grid-template-columns: 1fr; } }

.price-panel {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}
.price-big { margin-top: 28px; font: 500 clamp(3.5rem, 7vw, 5.5rem)/.95 var(--font-display); letter-spacing: -.03em; color: var(--text); }
@media (max-width: 834px) { .price-panel { grid-template-columns: 1fr; } }

/* Articles index (Reflections) ------------------------------------------- */
.article-lead { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.article-lead .media { --ar: 3 / 2; }
.article-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(32px, 5vw, 72px);
  margin: clamp(48px, 6vw, 80px) 0 0;
  padding: 0;
  list-style: none;
}
.article-index li { padding-block: 28px; border-top: 1px solid var(--line); }
.article-index h3 { font-size: clamp(1.5rem, 2.2vw, 1.875rem); font-weight: 600; }
.article-index p { margin-top: 10px; color: var(--text-2); }
.tag {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--text) 8%, transparent);
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--text-2);
}
@media (max-width: 734px) {
  .article-lead, .article-index { grid-template-columns: 1fr; }
}

/* FAQ -------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
  list-style: none;
  cursor: pointer;
  font: 500 clamp(1.3rem, 2.2vw, 1.625rem)/1.25 var(--font-display);
  color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  background: currentColor;
  -webkit-mask: url("../icons/plus.svg") center / contain no-repeat;
  mask: url("../icons/plus.svg") center / contain no-repeat;
  transition: rotate var(--dur) var(--ease);
}
.faq details[open] summary::after { rotate: 45deg; }
.faq-body { max-width: 62ch; padding-bottom: 28px; color: var(--text-2); }
.faq-body > * + * { margin-top: .8em; }

@media (prefers-reduced-motion: no-preference) {
  @supports (interpolate-size: allow-keywords) and selector(::details-content) {
    .faq { interpolate-size: allow-keywords; }
    .faq details::details-content {
      height: 0;
      overflow: clip;
      transition: height 400ms var(--ease), content-visibility 400ms allow-discrete;
    }
    .faq details[open]::details-content { height: auto; }
  }
}

/* Forms ------------------------------------------------------------------ */
.form { display: grid; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: .9375rem; font-weight: 600; color: var(--text); }
.field .optional { font-weight: 400; color: var(--text-2); }

.field input, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--text) 30%, transparent);
  border-radius: var(--radius-field);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 1.0625rem;
  transition: border-color var(--dur) var(--ease);
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--link); outline-offset: 1px; border-color: var(--link); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--error); }
.field-error { display: none; font-size: var(--fs-small); color: var(--error); }
.field:has(:user-invalid) .field-error { display: block; }

fieldset.field { margin: 0; padding: 0; border: 0; min-width: 0; }
fieldset.field legend { margin-bottom: 8px; padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid color-mix(in srgb, var(--text) 30%, transparent);
  border-radius: var(--radius-pill);
  background: var(--surface);
  font-size: .9375rem;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.choice input:checked + span { border-color: var(--text); background: var(--text); color: var(--bg); }
.choice input:focus-visible + span { outline: 2px solid var(--link); outline-offset: 2px; }

.form-status { min-height: 1.5em; font-size: var(--fs-small); color: var(--text-2); }
.form-status:empty { display: none; }

.form-card {
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-tile);
  background: var(--tile-default, var(--bg-alt));
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 104px);
  align-items: start;
}
@media (max-width: 834px) { .contact-grid { grid-template-columns: 1fr; } }

.details-list { display: grid; gap: 22px; margin: 32px 0 0; }
.details-list dt { font-size: var(--fs-small); font-weight: 600; color: var(--text); }
.details-list dd { margin: 4px 0 0; font-size: 1.125rem; color: var(--text-2); }

/* Footer ----------------------------------------------------------------- */
.footer {
  padding: clamp(56px, 7vw, 80px) var(--gutter) 32px;
  background: var(--bg-alt);
  color: var(--text-2);
  font-size: .8125rem;
  line-height: 1.6;
}
.footer a:not(.btn) { color: var(--text-2); }
.footer a:not(.btn):hover { color: var(--text); }
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.footer-top .brand { font-size: 1.25rem; }
.footer-tag { margin-top: 10px; font: italic 500 1.375rem/1.3 var(--font-display); color: var(--text); }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 32px;
  padding-block: 40px;
}
.footer h2 { margin-bottom: 10px; font: 600 .8125rem/1.4 var(--font-sans); letter-spacing: -.005em; color: var(--text); }
.footer ul { margin: 0; padding: 0; list-style: none; }
.footer li + li { margin-top: 6px; }
.footer .price { color: var(--text); }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: var(--fs-caption);
}

/* Motion ----------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }

  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 350ms;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* Hero entrance: copy rises in sequence, the photograph settles. Sets the reading order. */
  .hero-copy > * { animation: rise 900ms var(--ease) backwards; }
  .hero-copy > :nth-child(2) { animation-delay: 80ms; }
  .hero-copy > :nth-child(3) { animation-delay: 160ms; }
  .hero-copy > :nth-child(4) { animation-delay: 240ms; }
  .hero-media img { animation: settle 1400ms var(--ease) backwards; }

  /* Scroll reveals are decorative: browsers without support simply show the content. */
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    .reveal {
      animation: rise auto linear backwards;
      animation-timeline: view();
      animation-range: entry 5% cover 25%;
    }
    /* Questions brighten one by one as they arrive: the list is read, not skimmed */
    .type-list li {
      animation: brighten auto linear backwards;
      animation-timeline: view();
      animation-range: entry 30% cover 42%;
    }
  }
}

@keyframes rise { from { opacity: 0; translate: 0 28px; } }
@keyframes settle { from { opacity: 0; scale: 1.06; } }
@keyframes brighten { from { opacity: .22; } }

/* Art direction for landscape photos cropped to portrait frames */
.media--pos-left img { object-position: 20% 50%; }
.media--pos-right img { object-position: 80% 50%; }

/* Short spoken lines in a 2x2 grid (Style Concierge, Voxer) */
.say-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: clamp(40px, 5vw, 56px) 0 32px;
  padding: 0;
  list-style: none;
  text-align: left;
}
.say-grid li {
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  font: italic 500 clamp(1.375rem, 2.2vw, 1.75rem)/1.25 var(--font-display);
  color: var(--text);
}
@media (max-width: 680px) { .say-grid { grid-template-columns: 1fr; } }

.social-list { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; }
.social-list a { display: inline-flex; align-items: center; min-height: 44px; }

/* Testimonials: one featured quote, two supporting ------------------------ */
.reviews-lead { max-width: 900px; }
.reviews-lead .quote { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
.review-cite { margin-top: 20px; font-size: var(--fs-small); color: var(--text-2); }
.review-cite strong { color: var(--text); font-weight: 600; }
.reviews-more {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 72px);
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line);
}
.reviews-more blockquote p { font: italic 500 clamp(1.375rem, 2.2vw, 1.75rem)/1.3 var(--font-display); color: var(--text); }
@media (max-width: 734px) { .reviews-more { grid-template-columns: 1fr; } }
.media--pos-top img { object-position: 50% 12%; }

/* Fourth package tile: full width beneath the three, image beside text */
.bento > .tile-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.tile-wide .media { margin: 0; --ar: 4 / 3; }
.tile-wide .tile-body { display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 834px) {
  .bento > .tile-wide { grid-template-columns: 1fr; }
}
.media--pos-face img { object-position: 50% 42%; }

/* Spacing utilities (keep markup free of inline styles so the CSP can stay strict) */
.mt-0 { margin-top: 0; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-28 { margin-top: 28px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-gap { margin-top: clamp(40px, 6vw, 72px); }
.mb-head { margin-bottom: clamp(40px, 6vw, 72px); }
.ml-0 { margin-left: 0; }
.mx-auto { margin-inline: auto; }
.measure-30 { max-width: 30ch; }
.measure-60 { max-width: 60ch; }
.media--43 { --ar: 4 / 3; }
.bento--span3 > .tile-lead { grid-row: span 3; }
@media (max-width: 834px) { .bento--span3 > .tile-lead { grid-row: auto; } }
/* Tile media defaults to 3:2; these keep the art-directed crops */
.tile .media.media--43 { --ar: 4 / 3; }
.tile .media.media--square { --ar: 1; }

/* Spam trap: invisible, unselectable and never copied with the form text */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
}

/* Style Edit newsletter band (MailerLite form styling lives in mailerlite-embed.css) */
.signup { padding-block: clamp(56px, 7vw, 96px); }
.signup-panel {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(28px, 4vw, 56px);
  border-radius: var(--radius-tile);
  background: var(--tile-sand);
  --text-2: var(--tile-text-2);
}
.signup-copy p { margin-top: 14px; color: var(--text-2); }
@media (max-width: 900px) { .signup-panel { grid-template-columns: 1fr; } }

/* Book a Call: Calendly inline embed */
.booking { padding-top: clamp(32px, 5vw, 72px); }
.booking-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.calendly-inline-widget {
  min-width: 320px;
  height: 750px;
  overflow: hidden;
  border-radius: var(--radius-tile);
  background: var(--surface);
}
.booking-fallback { margin-top: 16px; font-size: var(--fs-sub); }
/* Calendly's widget.js tries to set these as an inline style attribute, which the
   CSP blocks; declaring them here gives the same result. */
.calendly-inline-widget { position: relative; -webkit-overflow-scrolling: touch; }
