/* Prof. Ramani Arsecularatne: tribute site
   Palette: pearl-blush grounds, mulberry depth, zari gold.
   Type: Playfair Display (display, editorial), Newsreader (reading), Jost (labels and UI).
   Shape rule: photographs and panels are square-cornered with gold keylines (print mounts);
   interactive controls are full pills. Nothing else is rounded. */

:root {
  --pearl: #FBF6F4;
  --blush: #F4E8E4;
  --blush-2: #EEDDD7;
  --ink: #26151C;
  --ink-soft: #5F4A52;
  --mulberry: #2E1220;
  --mulberry-2: #401A2D;
  --mulberry-3: #552440;
  --gold: #CDAE72;
  --gold-bright: #E6CD96;
  --gold-ink: #86652B;
  --line: rgba(38, 21, 28, .14);
  --line-gold: rgba(205, 174, 114, .45);
  --on-dark: #F6ECE6;
  --on-dark-soft: rgba(246, 236, 230, .72);

  --f-display: 'Playfair Display', 'Didot', Georgia, serif;
  --f-read: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --f-ui: 'Jost', 'Futura', 'Avenir Next', system-ui, sans-serif;

  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-soft: cubic-bezier(.32, .72, 0, 1);
  --gutter: clamp(16px, 3.4vw, 48px);
  --maxw: 1440px;
  --nav-h: 72px;
  --shadow: 0 30px 60px -30px rgba(46, 18, 32, .35), 0 10px 24px -12px rgba(46, 18, 32, .18);
}

*, *::before, *::after { box-sizing: border-box; }
.h2, .h3, .hero__name, .chapter__title, .coins__line, .principle h3, .lesson__close, .tl__year, .tl__title, .brand h4, .quote p, .philosophy dd, .award h4, .award__year, .cert__inst, .pressitem__story, .closing__statement, .num__n, .nav__mark, .footer__mark, .menu a, .form__h, .tcard__msg, .sub, .block-head__sub, .path__track li, .path__cap, .map__card h4, .lead { font-weight: 500; }
.lead { font-weight: 400; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--pearl); color: var(--ink);
  font-family: var(--f-read); font-size: 1.125rem; line-height: 1.7;
  font-optical-sizing: auto; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; }
.lesson :focus-visible, .words :focus-visible, .closing :focus-visible, .lb :focus-visible, .nav[data-state="top"] :focus-visible { outline-color: var(--gold-bright); }
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--mulberry); color: var(--on-dark); padding: 10px 16px; }
.skip:focus { left: 8px; }

.icon { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.h2 {
  font-family: var(--f-display); font-weight: 400; font-size: clamp(2.6rem, 5.4vw, 5rem);
  line-height: 1.02; letter-spacing: -.02em; margin: 0; text-wrap: balance;
}
.h3 {
  font-family: var(--f-display); font-weight: 400; font-size: clamp(1.75rem, 3vw, 2.6rem);
  line-height: 1.1; letter-spacing: -.01em; margin: 0 0 .4em; text-wrap: balance;
}
.h3--rule { display: flex; align-items: center; gap: 24px; }
.h3--rule::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-gold), transparent); }
.eyebrow, .kicker, .chapter__no, .offclock__label, .footer__h {
  font-family: var(--f-ui); font-size: .78rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; margin: 0;
}
.kicker, .chapter__no { color: var(--gold-ink); }
.lead { font-size: clamp(1.3rem, 1.9vw, 1.6rem); line-height: 1.55; font-weight: 300; max-width: 58ch; margin: 1.4rem auto 0; text-wrap: pretty; }
.lead--left { margin-inline: 0; }
.sub { font-family: var(--f-display); font-style: italic; font-size: clamp(1.25rem, 2vw, 1.6rem); margin: .8rem 0 0; color: var(--gold); }
.sub--ink { color: var(--gold-ink); }
.prose p { margin: 0 0 1.15em; max-width: 68ch; text-wrap: pretty; }
.prose p:first-child::first-letter {
  font-family: var(--f-display); float: left; font-size: 4.4em; line-height: .82; padding: .08em .12em 0 0; color: var(--mulberry-3);
}

/* ---------- Buttons: full pills ---------- */
.btn {
  --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--ink);
  display: inline-flex; align-items: center; gap: 12px; white-space: nowrap;
  font-family: var(--f-ui); font-size: .98rem; font-weight: 600; letter-spacing: .01em;
  padding: 14px 26px; border-radius: 999px; border: 1px solid var(--b-bd); background: var(--b-bg); color: var(--b-fg);
  text-decoration: none; cursor: pointer; transition: transform .5s var(--ease-soft), background-color .4s var(--ease), color .4s var(--ease), box-shadow .5s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--solid { --b-bg: var(--mulberry); --b-fg: var(--on-dark); --b-bd: var(--mulberry); padding-right: 8px; }
.btn--solid:hover { --b-bg: var(--mulberry-3); box-shadow: 0 14px 30px -14px rgba(46,18,32,.6); }
.btn--ghost { --b-fg: var(--ink); --b-bd: rgba(38,21,28,.35); }
.btn--ghost:hover { --b-bd: var(--ink); --b-bg: rgba(38,21,28,.04); }
.btn--outline { --b-bd: var(--line-gold); --b-fg: var(--ink); }
.btn--outline:hover { --b-bg: var(--mulberry); --b-fg: var(--on-dark); --b-bd: var(--mulberry); }
.btn--gold { --b-bg: var(--gold); --b-fg: var(--mulberry); --b-bd: var(--gold); padding: 11px 22px; font-size: .95rem; font-weight: 600; letter-spacing: .01em; text-transform: none; }
.btn--gold:hover { --b-bg: var(--gold-bright); }
.btn--lg { padding: 17px 30px; font-size: 1.02rem; }
.btn--solid.btn--lg { padding-right: 10px; }
.btn__icon { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(246,236,230,.12); transition: transform .5s var(--ease-soft); }
.btn:hover .btn__icon { transform: translateX(3px) scale(1.05); }
.btn .icon { width: 18px; height: 18px; }
.iconbtn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid currentColor; background: transparent; display: grid; place-items: center; cursor: pointer; transition: background-color .3s var(--ease), transform .4s var(--ease-soft); }
.iconbtn:hover { background: rgba(205,174,114,.18); }
.iconbtn:active { transform: scale(.94); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 40; padding-top: env(safe-area-inset-top, 0px); transition: background-color .5s var(--ease), box-shadow .5s var(--ease), color .4s var(--ease); color: var(--ink); }
.nav__inner { height: var(--nav-h); max-width: 1480px; margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: 28px; }
.nav__mark { padding-block: 8px; font-family: var(--f-display); font-size: 1.25rem; text-decoration: none; white-space: nowrap; letter-spacing: -.005em; }
.nav__links { display: flex; gap: clamp(18px, 2.2vw, 34px); margin-left: auto; }
.nav__links a { font-family: var(--f-ui); font-size: .95rem; font-weight: 500; letter-spacing: .01em; text-decoration: none; padding: 6px 0; position: relative; opacity: .78; transition: opacity .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-soft); }
.nav__links a:hover, .nav__links a[aria-current="true"] { opacity: 1; }
.nav__links a:hover::after, .nav__links a[aria-current="true"]::after { transform: scaleX(1); }
.nav[data-state="solid"] { background: rgba(251, 246, 244, .9); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 var(--line); }
.nav[data-state="dark"] { background: rgba(46, 18, 32, .88); color: var(--on-dark); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(205,174,114,.2); }
.nav__menu { display: none; }
.menu { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(100dvh, 980px); display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center; gap: clamp(24px, 4vw, 72px);
  padding: calc(var(--nav-h) + 24px) var(--gutter) 88px; max-width: 1480px; margin-inline: auto;
}
.hero::before {
  content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1;
  background:
    radial-gradient(60% 70% at 78% 40%, rgba(230, 205, 150, .28), transparent 70%),
    radial-gradient(50% 60% at 10% 90%, rgba(238, 221, 215, .9), transparent 70%),
    var(--pearl);
}
.hero__copy { grid-column: 1; grid-row: 1; max-width: 760px; }
.hero__eyebrow { color: var(--gold-ink); display: flex; align-items: center; gap: 16px; }
.hero__eyebrow::before { content: ""; width: 44px; height: 1px; background: var(--gold); }
.hero__name {
  font-family: var(--f-display); font-weight: 400; margin: 22px 0 0; line-height: .96; letter-spacing: -.035em;
  font-size: clamp(3.4rem, 7.6vw, 8.2rem); display: grid;
}
.hero__prof { font-style: italic; font-size: .36em; letter-spacing: 0; color: var(--gold-ink); line-height: 1.2; }
.hero__l2 { font-style: italic; font-size: .86em; padding-bottom: .06em; }
.hero__titles { font-family: var(--f-ui); font-size: .92rem; letter-spacing: .04em; color: var(--ink-soft); margin: 28px 0 0; max-width: 56ch; line-height: 1.6; white-space: pre-wrap; }
.hero__tagline { font-family: var(--f-display); font-style: italic; font-size: clamp(1.35rem, 2.1vw, 1.85rem); line-height: 1.35; margin: 22px 0 0; max-width: 30ch; color: var(--mulberry-3); text-wrap: balance; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__media { grid-column: 2; grid-row: 1; position: relative; overflow: visible; contain: layout; justify-self: center; width: min(100%, 560px); aspect-ratio: 2 / 3; max-height: calc(100dvh - var(--nav-h) - 110px); }
.hero__frame { position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--gold); }
.hero__img { position: relative; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; box-shadow: var(--shadow); }
.hero__cue { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; display: grid; justify-items: center; gap: 10px; text-decoration: none; font-family: var(--f-ui); font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); }
.hero__cue i { width: 1px; height: 34px; background: linear-gradient(var(--gold), transparent); }

/* Hero load choreography */
@media (prefers-reduced-motion: no-preference) {
  .hero__eyebrow, .hero__name > span, .hero__titles, .hero__tagline, .hero__ctas { animation: rise 1.1s var(--ease) both; }
  .hero__name > span:nth-child(1) { animation-delay: .1s; }
  .hero__name > span:nth-child(2) { animation-delay: .18s; }
  .hero__name > span:nth-child(3) { animation-delay: .26s; }
  .hero__titles { animation-delay: .42s; } .hero__tagline { animation-delay: .5s; } .hero__ctas { animation-delay: .6s; }
  .hero__img { animation: unveil 1.6s var(--ease) both; }
  .hero__frame { animation: frame 1.8s .3s var(--ease) both; }
  .hero__cue i { animation: drip 2.4s 1.4s ease-in-out infinite; transform-origin: top; }
}
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes unveil { from { clip-path: inset(0 0 100% 0); transform: scale(1.06); } to { clip-path: inset(0 0 0 0); transform: scale(1); } }
@keyframes frame { from { opacity: 0; transform: translate(-22px, -22px); } }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Numbers ---------- */
.numbers { background: var(--mulberry); color: var(--on-dark); position: relative; }
.numbers::before, .coins::before, .coins::after, .closing::before { content: ""; position: absolute; left: 0; right: 0; height: 10px; background: var(--zari); opacity: .9; }
.numbers::before { top: 0; }
.numbers__grid { max-width: var(--maxw); margin-inline: auto; padding: 44px var(--gutter) 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.num { padding: 6px clamp(14px, 2.4vw, 36px); border-left: 1px solid rgba(205,174,114,.28); }
.num:first-child { border-left: 0; padding-left: 0; }
.num__n { font-family: var(--f-display); font-size: clamp(2.6rem, 4.4vw, 4.2rem); line-height: 1; margin: 0; color: var(--gold-bright); font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.02em; }
.num__c { font-family: var(--f-ui); font-size: .86rem; letter-spacing: .03em; line-height: 1.5; margin: 14px 0 0; color: var(--on-dark-soft); max-width: 26ch; }

/* Zari: a woven gold saree border, built from gradients only */
:root {
  --zari:
    radial-gradient(circle at 50% 50%, var(--gold) 0 1.4px, transparent 1.6px) 0 0 / 14px 10px,
    linear-gradient(45deg, transparent 42%, rgba(205,174,114,.9) 43% 50%, transparent 51%) 0 0 / 14px 10px,
    linear-gradient(-45deg, transparent 42%, rgba(205,174,114,.9) 43% 50%, transparent 51%) 0 0 / 14px 10px,
    linear-gradient(var(--gold), var(--gold)) 0 0 / 100% 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 1px no-repeat;
}

/* ---------- Story ---------- */
.story { max-width: var(--maxw); margin-inline: auto; padding: clamp(64px, 8vw, 110px) var(--gutter) 24px; }
.story--cont { padding-top: clamp(56px, 7vw, 96px); }
.story__head { text-align: center; margin-bottom: clamp(48px, 6vw, 80px); }
.story__head .h2 { margin-top: 18px; }
.chapter {
  display: grid; gap: clamp(28px, 4vw, 64px); align-items: start;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-areas: "head media" "body media";
  grid-template-rows: auto 1fr; row-gap: 28px;
  margin-bottom: clamp(64px, 7vw, 100px);
}
.chapter[data-side="left"] { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "media head" "media body"; }
.chapter__head { grid-area: head; }
.chapter__no { display: flex; align-items: center; gap: 14px; }
.chapter__no::after { content: ""; width: 36px; height: 1px; background: var(--gold); }
.chapter__title { font-family: var(--f-display); font-weight: 400; font-style: italic; font-size: clamp(1.9rem, 2.6vw, 2.5rem); line-height: 1.12; margin: 16px 0 0; text-wrap: balance; }
.chapter__body { grid-area: body; }
.chapter__media { grid-area: media; margin: 0; }
figcaption { font-family: var(--f-ui); font-size: .8rem; letter-spacing: .04em; color: var(--ink-soft); margin-top: 14px; line-height: 1.5; }

.plate { position: relative; overflow: hidden; background: var(--blush); cursor: zoom-in; }
.plate::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(251,246,244,.55); pointer-events: none; transition: inset .6s var(--ease-soft); }
.plate:hover::after { inset: 12px; }
.plate img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-soft); }
.plate:hover img { transform: scale(1.035); }
.plate--tall { aspect-ratio: 4 / 5; box-shadow: var(--shadow); }

.collage { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: auto; }
.collage figcaption { grid-column: 1 / -1; }
.collage--wedding .plate--main { grid-column: 1 / 6; grid-row: 1 / 3; aspect-ratio: 3 / 4; box-shadow: var(--shadow); }
.collage--wedding .plate--a { grid-column: 4 / 7; grid-row: 2 / 3; align-self: end; aspect-ratio: 4 / 3; margin-bottom: -18%; border: 6px solid var(--pearl); box-shadow: var(--shadow); z-index: 1; }
.collage--wedding .plate--b { grid-column: 1 / 4; grid-row: 3; aspect-ratio: 4 / 3; margin-top: -6%; margin-left: -8%; border: 6px solid var(--pearl); box-shadow: var(--shadow); z-index: 2; }
.collage--craft { gap: 14px; }
.collage--craft .plate--portrait { grid-column: 1 / 4; aspect-ratio: 3 / 4; }
.collage--craft .plate--birds { grid-column: 4 / 7; aspect-ratio: 3 / 4; align-self: end; margin-top: 18%; }
.collage--craft .plate--wide { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
.collage--craft .plate--portrait img { filter: sepia(.25) contrast(1.05); }
.collage--duo .plate--main { grid-column: 1 / 7; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.collage--duo .plate--b { grid-column: 3 / 7; aspect-ratio: 3 / 2; margin-top: -14%; margin-right: -6%; border: 6px solid var(--pearl); box-shadow: var(--shadow); }

/* Coins pull-out band */
.coins { position: relative; background: var(--mulberry); color: var(--on-dark); padding: clamp(72px, 8vw, 116px) var(--gutter); text-align: center; overflow: hidden; }
.coins::before { top: 18px; } .coins::after { bottom: 18px; }
.coins__line { font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: clamp(2.4rem, 6.4vw, 6.4rem); line-height: 1.05; letter-spacing: -.025em; margin: 0 auto; max-width: 16ch; text-wrap: balance; padding-bottom: .08em; }
.coins__stack { display: flex; justify-content: center; gap: 0; margin: 0 auto 40px; height: 44px; align-items: flex-end; }
.coins__stack i {
  width: 44px; height: 44px; border-radius: 50%; margin-left: -10px;
  background: radial-gradient(circle at 35% 30%, #F4E3B8, var(--gold) 45%, #8E6C2F 100%);
  box-shadow: inset 0 0 0 3px rgba(142,108,47,.55), inset 0 0 0 6px rgba(244,227,184,.35), 0 6px 14px -6px rgba(0,0,0,.6);
}
.coins__stack i:first-child { margin-left: 0; }
@media (prefers-reduced-motion: no-preference) {
  .coins.is-in .coins__stack i { animation: drop .9s var(--ease) both; }
  .coins.is-in .coins__stack i:nth-child(2) { animation-delay: .12s; } .coins.is-in .coins__stack i:nth-child(3) { animation-delay: .24s; }
  .coins.is-in .coins__stack i:nth-child(4) { animation-delay: .36s; } .coins.is-in .coins__stack i:nth-child(5) { animation-delay: .48s; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-60px) rotateX(70deg); } 70% { transform: translateY(4px); } }

/* Training path */
.path { margin: -24px 0 clamp(64px, 7vw, 100px); padding: 44px 0 0; border-top: 1px solid var(--line); }
.path__track { list-style: none; margin: 0; padding: 0 0 8px; display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
.path__track li { flex: 1 1 auto; min-width: 0; scroll-snap-align: start; font-family: var(--f-display); font-size: 1.25rem; display: flex; align-items: center; white-space: nowrap; padding-right: 14px; }
.path__track li b { font-family: var(--f-ui); font-weight: 500; font-size: .74rem; letter-spacing: .14em; color: var(--gold-ink); margin-left: 8px; }
.path__track li:not(:last-child)::after { content: ""; flex: 1; min-width: 12px; height: 1px; margin-left: 12px; background: linear-gradient(90deg, var(--gold), var(--line-gold)); }
.path__cap { font-family: var(--f-display); font-style: italic; font-size: 1.2rem; color: var(--mulberry-3); margin: 20px 0 30px; }
.path__certs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; max-width: 1040px; }
.certthumb { border: 0; padding: 0; background: none; text-align: left; cursor: zoom-in; display: flex; flex-direction: column; justify-content: flex-start; align-self: start; color: inherit; }
.certthumb .plate { aspect-ratio: 4 / 5; background: #fff; box-shadow: 0 16px 30px -22px rgba(46,18,32,.5); }
.certthumb .plate img { object-fit: contain; padding: 6px; }
.certthumb span { display: block; font-family: var(--f-ui); font-size: .78rem; line-height: 1.4; color: var(--ink-soft); margin-top: 10px; }

/* ---------- Lesson ---------- */
.lesson { position: relative; background: var(--mulberry); color: var(--on-dark); padding: clamp(72px, 8vw, 120px) 0; overflow: hidden; }
.lesson::before {
  content: ""; position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, var(--gold) 0 1px, transparent 1.4px) 0 0 / 28px 28px,
    linear-gradient(45deg, transparent 48.5%, var(--gold) 49% 51%, transparent 51.5%) 0 0 / 28px 28px,
    linear-gradient(-45deg, transparent 48.5%, var(--gold) 49% 51%, transparent 51.5%) 0 0 / 28px 28px;
}
.lesson .wrap { position: relative; }
.lesson__head { text-align: center; }
.lesson__head .h2 { color: var(--on-dark); }
.lesson__grid { list-style: none; padding: 0; margin: clamp(44px, 5vw, 72px) 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid rgba(205,174,114,.25); border-left: 1px solid rgba(205,174,114,.25); }
.principle { border-right: 1px solid rgba(205,174,114,.25); border-bottom: 1px solid rgba(205,174,114,.25); background: var(--mulberry); padding: clamp(28px, 3.4vw, 52px); position: relative; transition: background-color .6s var(--ease); }
.principle:hover { background: var(--mulberry-2); }
.principle__n { font-family: var(--f-display); font-size: clamp(4.4rem, 8vw, 7.5rem); line-height: .85; display: block; color: transparent; -webkit-text-stroke: 1px var(--gold); letter-spacing: -.04em; }
.principle h3 { font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.15; margin: 28px 0 14px; color: var(--gold-bright); text-wrap: balance; }
.principle p { margin: 0; color: var(--on-dark-soft); max-width: 58ch; font-size: 1.08rem; }
.lesson__close { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.8rem, 3.6vw, 3.3rem); line-height: 1.2; letter-spacing: -.015em; text-align: center; max-width: 32ch; margin: clamp(56px, 6vw, 88px) auto 0; text-wrap: balance; }

/* ---------- Legacy ---------- */
.legacy { padding: clamp(72px, 8vw, 116px) 0 0; }
.legacy__head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 1100px; }
.legacy__head .lead { margin-top: 28px; }

.timeline { list-style: none; margin: clamp(44px, 5vw, 72px) 0 0; padding: 0; position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line-gold); translate: -.5px 0; }
.timeline::after { content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 100%; background: var(--gold-ink); translate: -.5px 0; transform-origin: top; transform: scaleY(var(--p, 0)); transition: transform 1.2s var(--ease); }
.tl { position: relative; grid-row: var(--r) / span 2; grid-column: 1; padding: 0 clamp(36px, 5vw, 76px) clamp(28px, 3vw, 40px) 0; }
.tl:nth-child(odd) { margin-left: 0; text-align: right; }
.tl:nth-child(even) { grid-column: 2; padding: 0 0 clamp(28px, 3vw, 40px) clamp(36px, 5vw, 76px); }
.tl::before { content: ""; position: absolute; top: .9em; right: -6px; width: 11px; height: 11px; rotate: 45deg; background: var(--pearl); border: 1px solid var(--gold-ink); transition: background-color .4s var(--ease); }
.tl:nth-child(even)::before { right: auto; left: -5px; }
.tl.is-in::before { background: var(--gold); }
.tl__year { font-family: var(--f-display); font-size: clamp(2.4rem, 3.6vw, 3.4rem); line-height: 1; letter-spacing: -.02em; color: var(--mulberry-3); margin: 0; font-variant-numeric: lining-nums; }
.tl__year--word { font-style: italic; font-size: clamp(1.9rem, 2.8vw, 2.6rem); }
.tl__title { font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: 1.45rem; line-height: 1.25; margin: 12px 0 8px; }
.tl__text { margin: 0; color: var(--ink-soft); font-size: 1.02rem; line-height: 1.6; max-width: 46ch; display: inline-block; text-align: left; }
.tl:nth-child(odd) .tl__text { text-align: right; }
.tl__thumbs { display: flex; gap: 10px; margin-top: 16px; }
.tl:nth-child(odd) .tl__thumbs { justify-content: flex-end; }
.tl__thumb { width: 84px; height: 84px; border: 0; padding: 0; cursor: zoom-in; background: var(--blush); position: relative; overflow: hidden; }
.tl__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-soft); }
.tl__thumb:hover img { transform: scale(1.08); }
.tl__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(46,18,32,.62); color: var(--on-dark); font-family: var(--f-ui); font-size: .8rem; letter-spacing: .08em; }

/* Brands: double-bezel cards */
.brands { background: var(--blush); margin-top: clamp(48px, 6vw, 80px); padding: clamp(64px, 7vw, 100px) 0; }
.brands__grid { margin-top: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.brand { padding: 6px; background: rgba(255,255,255,.45); border: 1px solid var(--line-gold); }
.brand__core { height: 100%; background: var(--pearl); padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; box-shadow: inset 0 1px 0 #fff; transition: transform .6s var(--ease-soft), box-shadow .6s var(--ease-soft); }
.brand:hover .brand__core { transform: translateY(-3px); box-shadow: var(--shadow); }
.brand__mono { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; font-family: var(--f-display); font-style: italic; font-size: 1.5rem; color: var(--gold-ink); }
.brand__logo { height: 52px; width: auto; max-width: 160px; object-fit: contain; object-position: left center; }
.brand__logo--elixir { height: 46px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.brand h4 { font-family: var(--f-display); font-weight: 400; font-size: 1.55rem; line-height: 1.15; margin: 6px 0 0; text-wrap: balance; }
.brand p { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--ink-soft); flex: 1; }
.brand__visit { padding-block: 12px; margin-block: -12px -4px; font-family: var(--f-ui); font-size: .95rem; font-weight: 600; letter-spacing: .01em; display: inline-flex; gap: 8px; align-items: center; text-decoration: none; color: var(--gold-ink); }

/* World map */
.world { padding: clamp(64px, 7vw, 110px) 0 clamp(64px, 7vw, 110px); background: var(--mulberry); color: var(--on-dark); position: relative; overflow: hidden; }
.world .h3 { color: var(--on-dark); }
.world__head { max-width: 900px; }
.world__intro { color: var(--on-dark-soft); margin: 22px 0 0; max-width: 58ch; }
.map { position: relative; margin-top: clamp(28px, 4vw, 48px); aspect-ratio: 1200 / 472; }
.map__dots { width: 100%; height: 100%; opacity: .38; }
.map__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.map__arc { fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-linecap: round; opacity: .8; }
.map__pins { position: absolute; inset: 0; }
.pin { position: absolute; width: 44px; height: 44px; translate: -50% -50%; border-radius: 50%; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; padding: 0; }
.pin::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--gold-bright); box-shadow: 0 0 0 4px rgba(205,174,114,.25); transition: transform .4s var(--ease-soft), box-shadow .4s; }
.pin:hover::before, .pin[aria-expanded="true"]::before { transform: scale(1.25); box-shadow: 0 0 0 7px rgba(205,174,114,.3); }
.pin--origin::before { background: var(--on-dark); width: 14px; height: 14px; box-shadow: 0 0 0 5px rgba(246,236,230,.18); }
.pin--origin::after { content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--on-dark); }
@media (prefers-reduced-motion: no-preference) {
  .pin--origin::after { animation: ping 2.6s var(--ease) infinite; }
  .map__arc { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
  .map.is-in .map__arc { transition: stroke-dashoffset 1.6s var(--ease); transition-delay: var(--d); stroke-dashoffset: 0; }
}
@keyframes ping { from { transform: scale(1); opacity: .8; } to { transform: scale(3.2); opacity: 0; } }
.pin__label { position: absolute; left: 50%; top: 100%; translate: -50% 2px; font-family: var(--f-ui); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; color: var(--on-dark-soft); pointer-events: none; }
.map__card { position: absolute; z-index: 3; width: min(320px, 80vw); background: var(--pearl); color: var(--ink); padding: 6px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.map__card-in { border: 1px solid var(--line-gold); padding: 18px 20px 20px; }
.map__card h4 { font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; margin: 0 0 6px; line-height: 1.2; padding-right: 36px; }
.map__card p { margin: 0; font-size: .98rem; line-height: 1.55; color: var(--ink-soft); }
.map__card .map__card-img { margin-top: 14px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; cursor: zoom-in; border: 0; padding: 0; display: block; }
.map__card .iconbtn { position: absolute; right: 14px; top: 14px; width: 34px; height: 34px; border-color: var(--line); }
.map__card .iconbtn .icon { width: 16px; height: 16px; }
.places { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.places button { font-family: var(--f-ui); font-size: .92rem; font-weight: 500; letter-spacing: .01em; border: 1px solid rgba(205,174,114,.4); background: transparent; color: var(--on-dark); padding: 10px 18px; border-radius: 999px; cursor: pointer; transition: background-color .3s var(--ease), color .3s; display: inline-flex; gap: 8px; align-items: center; }
.places button:hover, .places button[aria-pressed="true"] { background: var(--gold); color: var(--mulberry); }
.places .icon { width: 15px; height: 15px; }

/* ---------- In Her Words ---------- */
.words { position: relative; color: var(--on-dark); padding: clamp(72px, 8vw, 128px) 0; overflow: hidden; isolation: isolate; }
.words__bg { position: absolute; inset: 0; z-index: -2; }
.words__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.words::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(46,18,32,.94), rgba(46,18,32,.82) 45%, rgba(46,18,32,.95)); }
.words .h2 { text-align: center; color: var(--gold-bright); font-style: italic; font-size: clamp(2.2rem, 4vw, 3.6rem); }
.quotes { margin: clamp(28px, 4vw, 52px) auto 0; max-width: 1080px; text-align: center; }
.quotes__track { display: grid; }
.quote { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease), visibility 0s .9s; }
.quote.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.quote p { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.1rem, 5.2vw, 4.8rem); line-height: 1.08; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
.quote cite { display: block; margin-top: 28px; font-style: normal; font-family: var(--f-ui); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.quotes__ctrl { display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: 44px; color: var(--gold); }
.quotes__dots { display: flex; gap: 10px; }
.quotes__dots button { width: 36px; height: 44px; border: 0; background: none; cursor: pointer; padding: 0; position: relative; }
.quotes__dots button::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(205,174,114,.35); }
.quotes__dots button[aria-selected="true"]::before { background: var(--gold-bright); }
.philosophy { margin: clamp(52px, 6vw, 84px) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 60px); padding-top: 44px; border-top: 1px solid rgba(205,174,114,.3); }
.philosophy dt { font-family: var(--f-ui); font-size: .76rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.philosophy dd { margin: 14px 0 0; font-family: var(--f-display); font-style: italic; font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.4; color: var(--on-dark); }
.offclock { margin-top: clamp(40px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: center; gap: 22px; justify-content: center; }
.offclock__label { color: var(--gold); }
.pills { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pills li { display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px; border-radius: 999px; border: 1px solid rgba(205,174,114,.4); background: rgba(46,18,32,.35); font-family: var(--f-ui); font-size: .9rem; letter-spacing: .04em; }
.pills .icon { color: var(--gold-bright); }

/* ---------- Recognition ---------- */
.recog { padding: clamp(72px, 8vw, 116px) 0; }
.recog__head { margin-bottom: clamp(36px, 4vw, 56px); }
.awards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 36px; }
.award { padding: 6px; border: 1px solid var(--line-gold); background: rgba(255,255,255,.4); }
.award__core { height: 100%; background: var(--pearl); padding: clamp(24px, 2.6vw, 34px); display: flex; flex-direction: column; box-shadow: inset 0 1px 0 #fff; }
.award__top { display: flex; justify-content: space-between; align-items: center; }
.award__icon { color: var(--gold-ink); }
.award__icon .icon { width: 30px; height: 30px; }
.award__year { font-family: var(--f-display); font-size: 1.9rem; color: var(--mulberry-3); line-height: 1; }
.award h4 { font-family: var(--f-display); font-weight: 400; font-size: 1.4rem; line-height: 1.22; margin: 22px 0 10px; text-wrap: balance; }
.award p { margin: 0; font-size: .96rem; line-height: 1.6; color: var(--ink-soft); flex: 1; }
.award__view { margin-top: 8px; padding-block: 12px; margin-bottom: -12px; align-self: flex-start; font-family: var(--f-ui); font-size: .92rem; font-weight: 600; letter-spacing: .01em; color: var(--gold-ink); background: none; border: 0; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.award__view:hover { color: var(--mulberry); }
.award--featured { grid-column: 1 / -1; background: var(--mulberry); border-color: var(--mulberry-3); }
.award--featured .award__core { background: var(--mulberry); color: var(--on-dark); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 60px); align-items: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.08); padding: clamp(20px, 2.6vw, 30px); }
.award--featured .award__photo { aspect-ratio: 4 / 3; cursor: zoom-in; background: #111; }
.award--featured .award__photo img { filter: sepia(.2); }
.award--featured h4 { font-size: clamp(1.7rem, 2.8vw, 2.5rem); color: var(--gold-bright); font-style: italic; }
.award--featured p { color: var(--on-dark-soft); font-size: 1.05rem; }
.award--featured .award__year { color: var(--on-dark); font-size: 2.6rem; }
.award--featured .award__icon, .award--featured .award__view { color: var(--gold); }

.training, .press, .moments { margin-top: clamp(64px, 7vw, 100px); }
.block-head__sub { font-family: var(--f-display); font-style: italic; font-size: 1.35rem; color: var(--gold-ink); margin: 0; }
.block-head__intro { margin: 10px 0 0; max-width: 60ch; color: var(--ink-soft); }
.certs { margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; border-top: 1px solid var(--line); }
.course { border-bottom: 1px solid var(--line); }
.course summary { list-style: none; display: grid; grid-template-columns: 8.5rem minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 18px 0 6px; cursor: default; }
.course summary::-webkit-details-marker { display: none; }
.course__date { font-family: var(--f-ui); font-size: .8rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); }
.course__inst { font-family: var(--f-display); font-weight: 500; font-size: 1.12rem; line-height: 1.3; }
.course__chev { display: none; color: var(--gold-ink); transition: transform .4s var(--ease-soft); }
.course__detail { margin: 0 0 18px 0; padding-left: calc(8.5rem + 16px); font-size: .98rem; line-height: 1.55; color: var(--ink-soft); }
.recognised { margin-top: clamp(56px, 6vw, 88px); }
.rgrid { margin-top: 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.rtile { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border: 0; padding: 0; background: var(--blush); cursor: zoom-in; border-radius: 10px; }
.rtile img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-soft); }
.rtile:hover img, .rtile:focus-visible img { transform: scale(1.05); }
.rtile__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 10px; text-align: left; color: #fff; font-family: var(--f-ui); font-size: .84rem; line-height: 1.35; background: linear-gradient(transparent, rgba(46,18,32,.88)); opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.rtile:hover .rtile__cap, .rtile:focus-visible .rtile__cap { opacity: 1; transform: none; }
@media (hover: none) { .rtile__cap { opacity: 1; transform: none; } }
.rgrid__more { text-align: center; margin: 28px 0 0; }
.textlink { display: inline-flex; align-items: center; gap: 8px; padding-block: 10px; font-family: var(--f-ui); font-weight: 600; font-size: .98rem; color: var(--gold-ink); text-decoration: none; border-bottom: 1px solid var(--line-gold); }
.textlink:hover { color: var(--mulberry); border-color: var(--mulberry); }
.textlink .icon { width: 16px; height: 16px; }
.chips button small { opacity: .6; margin-left: 4px; font-size: .9em; }
/* Client reviews band */
.reviews { position: relative; overflow: hidden; background: #F3E6DF; margin: clamp(48px, 6vw, 80px) 0 0; padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); }
.reviews::before { content: "“"; position: absolute; top: -.18em; left: 2%; font-family: var(--f-display); font-size: clamp(16rem, 30vw, 26rem); line-height: 1; color: var(--gold); opacity: .12; pointer-events: none; }
.reviews .wrap { position: relative; }
.reviews__head { text-align: center; }
.reviews__eyebrow { color: var(--gold-ink); }
.reviews__h { margin-top: 12px; font-size: clamp(2.2rem, 4vw, 3.6rem); }
.rev { margin-top: clamp(28px, 4vw, 44px); }
.rev__track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 8px 4px 24px; margin: 0 -4px; }
.rev__track::-webkit-scrollbar { display: none; }
.rcard { flex: 0 0 calc((100% - 44px) / 3); scroll-snap-align: start; margin: 0; display: flex; flex-direction: column; background: var(--pearl); border-radius: 14px; padding: 30px 28px 26px; box-shadow: 0 18px 40px -24px rgba(46,18,32,.35), 0 2px 6px rgba(46,18,32,.05); }
.rcard__mark { font-family: var(--f-display); font-size: 4rem; line-height: .6; height: 28px; color: var(--gold); }
.rcard__q { margin: 16px 0 22px; flex: 1; font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: 1.32rem; line-height: 1.45; }
.rcard figcaption { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); margin: 0; font-family: var(--f-ui); }
.rcard__who { font-weight: 600; font-size: 1rem; color: var(--ink); }
.rcard__tag { font-size: .84rem; padding: 5px 12px; border-radius: 999px; background: var(--blush); color: var(--gold-ink); }
.rcard__src { font-size: .88rem; color: var(--ink-soft); text-decoration: none; padding-block: 12px; margin-block: -8px; }
.rcard__src:hover { text-decoration: underline; }
.rcard__src:hover { color: var(--mulberry); }
.rev__ctrl { display: flex; justify-content: center; align-items: center; gap: 18px; color: var(--gold-ink); }
.rev__dots { display: flex; gap: 6px; }
.rev__dots button { width: 32px; height: 44px; border: 0; background: none; cursor: pointer; padding: 0; position: relative; }
.rev__dots button::before { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; height: 2px; background: rgba(134,101,43,.3); }
.rev__dots button[aria-selected="true"]::before { background: var(--gold-ink); }
.chapter--text { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); grid-template-areas: "head body"; grid-template-rows: auto; }
.chapter--text .chapter__head { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; }
.chapter--text[data-side="left"] { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); grid-template-areas: "head body"; }
.cert { border: 0; background: none; padding: 0; text-align: left; cursor: zoom-in; color: inherit; display: flex; flex-direction: column; justify-content: flex-start; align-self: start; }
.cert .plate { aspect-ratio: 3 / 4; background: #fff; box-shadow: 0 18px 34px -24px rgba(46,18,32,.55); }
.cert .plate img { object-fit: contain; padding: 8px; }
.cert__date { display: block; font-family: var(--f-ui); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); margin-top: 16px; }
.cert__inst { display: block; font-family: var(--f-display); font-size: 1.08rem; line-height: 1.3; margin-top: 6px; }
.cert__course { display: block; font-size: .9rem; line-height: 1.5; color: var(--ink-soft); margin-top: 6px; }

.chips { display: flex; gap: 8px; margin: 36px 0 30px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips button { flex: none; font-family: var(--f-ui); font-size: .92rem; font-weight: 500; letter-spacing: .01em; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent; cursor: pointer; transition: background-color .3s var(--ease), color .3s, border-color .3s; color: var(--ink); }
.chips button:hover { border-color: var(--gold-ink); }
.chips button[aria-pressed="true"] { background: var(--mulberry); color: var(--on-dark); border-color: var(--mulberry); }

.presslist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.presslist li { border-top: 1px solid var(--line); }
.pressitem { width: 100%; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 22px; align-items: center; padding: 20px 0; background: none; border: 0; text-align: left; cursor: zoom-in; color: inherit; }
.pressitem__img { width: 112px; height: 84px; overflow: hidden; background: #fff; box-shadow: 0 10px 20px -14px rgba(46,18,32,.5); }
.pressitem__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease-soft); filter: grayscale(.2); }
.pressitem:hover .pressitem__img img { transform: scale(1.06); }
.pressitem__meta { font-family: var(--f-ui); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); display: block; }
.pressitem__story { font-family: var(--f-display); font-size: 1.18rem; line-height: 1.3; display: block; margin-top: 6px; }
.pressitem:hover .pressitem__story { color: var(--mulberry-3); }

.gallery { display: grid; gap: 40px; }
.gallery__grid { columns: 4 220px; column-gap: 16px; }
.ggroup__h { font-family: var(--f-display); font-weight: 500; font-size: 1.5rem; margin: 0 0 16px; display: flex; align-items: center; gap: 18px; }
.ggroup__h::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-gold), transparent); }
.gitem { break-inside: avoid; margin: 0 0 16px; display: block; width: 100%; border: 1px solid var(--line); padding: 0; background: #fff; cursor: zoom-in; position: relative; overflow: hidden; text-align: left; color: inherit; }
.gitem__label { display: block; padding: 10px 12px 12px; font-family: var(--f-ui); font-size: .84rem; line-height: 1.4; color: var(--ink); }
.gitem img { width: 100%; height: auto; transition: transform 1s var(--ease-soft); }
.gitem:hover img { transform: scale(1.04); }
.gitem__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 16px 14px; text-align: left; color: #fff; font-family: var(--f-ui); font-size: .8rem; line-height: 1.4; background: linear-gradient(transparent, rgba(46,18,32,.85)); opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.gitem:hover .gitem__cap, .gitem:focus-visible .gitem__cap { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .gitem.is-new { animation: rise .7s var(--ease) both; }
}

/* ---------- Tributes ---------- */
.tributes { background: linear-gradient(180deg, var(--blush) 0%, var(--pearl) 100%); padding: clamp(72px, 8vw, 116px) 0; }
.tributes__head { text-align: center; }
.tributes__head .lead { margin-top: 28px; }
.tributes__wallh { text-align: center; margin-top: clamp(40px, 5vw, 64px); }
.wall { columns: 3 300px; column-gap: 22px; margin-top: 28px; }
.tcard { break-inside: avoid; margin: 0 0 22px; padding: 6px; border: 1px solid var(--line-gold); background: rgba(255,255,255,.5); display: block; width: 100%; text-align: left; cursor: pointer; color: inherit; font: inherit; }
.tcard__core { background: var(--pearl); padding: 28px; box-shadow: inset 0 1px 0 #fff; }
.tcard__photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 20px; }
.tcard__msg { font-family: var(--f-display); font-style: italic; font-size: 1.2rem; line-height: 1.5; margin: 0; }
.tcard__who { margin: 18px 0 0; font-family: var(--f-ui); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.tcard__more { font-family: var(--f-ui); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-top: 10px; display: block; }
.wall__empty { column-span: all; text-align: center; padding: 56px 24px; border: 1px dashed var(--line-gold); max-width: 640px; margin: 0 auto; }
.wall__empty p { margin: 0; font-family: var(--f-display); font-style: italic; font-size: 1.5rem; line-height: 1.4; }
.wall__empty span { display: block; margin-top: 10px; font-family: var(--f-ui); font-size: .84rem; color: var(--ink-soft); letter-spacing: .03em; }
.wall__more, .more { text-align: center; margin-top: 12px; }
.more { margin-top: 36px; }
.clients { margin-top: clamp(64px, 8vw, 100px); text-align: center; }
.clients__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 32px; }
.tributes__cta { text-align: center; margin-top: clamp(32px, 4vw, 52px); }

/* ---------- Closing & Footer ---------- */
.closing { position: relative; background: var(--mulberry); color: var(--on-dark); padding: clamp(80px, 9vw, 136px) 0 clamp(72px, 8vw, 120px); text-align: center; overflow: hidden; }
.closing::before { top: 0; }
.closing::after {
  content: ""; position: absolute; inset: 0; opacity: .06; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, transparent 0 18px, var(--gold) 19px 20px, transparent 21px) 0 0 / 80px 80px,
              radial-gradient(circle at 50% 50%, var(--gold) 0 2px, transparent 3px) 40px 40px / 80px 80px;
}
.closing__inner { position: relative; z-index: 1; }
.closing__statement { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.5rem, 6vw, 5.8rem); line-height: 1.04; letter-spacing: -.025em; margin: 0 auto; max-width: 20ch; text-wrap: balance; color: var(--gold-bright); padding-bottom: .06em; }
.closing__para { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.7; color: var(--on-dark-soft); max-width: 64ch; margin: 32px auto 0; font-weight: 300; }
.footer { background: #230D18; color: var(--on-dark-soft); padding: 56px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.footer__mark { font-family: var(--f-display); font-size: 1.6rem; color: var(--on-dark); margin: 0; }
.footer__line { margin: 12px 0 0; font-family: var(--f-ui); font-size: .88rem; line-height: 1.6; max-width: 40ch; }
.footer__h { color: var(--gold); margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; font-family: var(--f-ui); font-size: .92rem; }
.footer a { display: inline-block; padding-block: 10px; text-decoration: none; color: var(--on-dark); opacity: .85; }
.footer a:hover { opacity: 1; color: var(--gold-bright); }
.footer__bar { margin-top: 40px; padding-block: 26px calc(26px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(205,174,114,.2); font-family: var(--f-ui); font-size: .8rem; }
.footer__bar p { margin: 0; }

.totop { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 30; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--mulberry); color: var(--gold-bright); box-shadow: 0 12px 26px -10px rgba(46,18,32,.6); transition: transform .5s var(--ease-soft), opacity .4s; }
.totop:hover { transform: translateY(-3px); }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 60; background: rgba(28, 10, 19, .96); color: var(--on-dark); display: grid; grid-template-columns: 80px minmax(0, 1fr) 80px; align-items: center; padding: calc(24px + env(safe-area-inset-top, 0px)) 0 24px; }
.lb__fig { margin: 0; grid-column: 2; display: grid; justify-items: center; gap: 16px; height: 100%; align-content: center; min-height: 0; }
.lb__fig img { max-width: 100%; max-height: calc(100dvh - 150px); object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,.5); background: #fff; }
.lb__fig figcaption { color: var(--on-dark); font-family: var(--f-display); font-style: italic; font-size: 1.1rem; text-align: center; max-width: 70ch; margin: 0; }
.lb__close { position: absolute; top: calc(16px + env(safe-area-inset-top, 0px)); right: 16px; color: var(--gold-bright); }
.lb__nav { color: var(--gold-bright); justify-self: center; }
.lb__prev { grid-column: 1; grid-row: 1; } .lb__next { grid-column: 3; grid-row: 1; }
.lb__count { position: absolute; top: calc(28px + env(safe-area-inset-top, 0px)); left: 24px; margin: 0; font-family: var(--f-ui); font-size: .78rem; letter-spacing: .2em; color: var(--gold); }
@media (prefers-reduced-motion: no-preference) {
  .lb:not([hidden]) { animation: fade .35s var(--ease); }
  .lb__fig img { animation: zoomin .5s var(--ease); }
}
@keyframes fade { from { opacity: 0; } }
@keyframes zoomin { from { opacity: 0; transform: scale(.97); } }

/* ---------- Form dialog ---------- */
.form { border: 0; padding: 0; width: min(620px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); background: var(--pearl); color: var(--ink); box-shadow: 0 40px 100px -30px rgba(46,18,32,.7); }
.form::backdrop { background: rgba(28, 10, 19, .72); backdrop-filter: blur(6px); }
.form form { padding: clamp(22px, 5vw, 48px); position: relative; border: 1px solid var(--line-gold); margin: 6px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.form__h { font-family: var(--f-display); font-weight: 400; font-style: italic; font-size: clamp(1.7rem, 3.4vw, 2.3rem); line-height: 1.15; margin: 0; padding-right: 60px; }
.form__close { position: absolute; top: 14px; right: 14px; color: var(--ink); border-color: var(--line); }
.field { display: grid; gap: 8px; min-width: 0; }
.field > * { min-width: 0; max-width: 100%; }
.field label { font-family: var(--f-ui); font-size: .8rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.field input:not([type="file"]), .field select, .field textarea { font: inherit; font-size: 1.05rem; color: var(--ink); background: #fff; border: 1px solid rgba(38,21,28,.3); padding: 12px 14px; border-radius: 0; width: 100%; transition: border-color .3s, box-shadow .3s; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--mulberry); box-shadow: 0 0 0 3px rgba(205,174,114,.4); }
.field input[type="file"] { font-family: var(--f-ui); font-size: .9rem; }
.field__help { margin: 0; font-family: var(--f-ui); font-size: .8rem; color: var(--ink-soft); text-align: right; }
.field__err { margin: 0; font-family: var(--f-ui); font-size: .84rem; color: #9B1C3A; min-height: 0; }
.field__err:empty { display: none; }
[aria-invalid="true"] { border-color: #9B1C3A !important; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; line-height: 1.5; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--mulberry); flex: none; }
.form__status { margin: 0; font-family: var(--f-display); font-style: italic; font-size: 1.2rem; color: var(--mulberry-3); }
.form__status:empty { display: none; }
#sendBtn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .tl { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js .tl.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (min-width: 861px) { .chips { flex-wrap: wrap; overflow: visible; } }
@media (max-width: 860px) { .chips { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__menu { display: block; position: relative; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 0; flex: none; }
  .nav__menu span { position: absolute; left: 10px; top: 50%; width: 24px; height: 1.5px; margin-top: -.75px; background: currentColor; transition: transform .5s var(--ease-soft); }
  .nav__menu span:first-child { transform: translateY(-4px); }
  .nav__menu span:last-child { transform: translateY(4px); }
  .nav__menu[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
  .nav__menu[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
  .menu { display: block; background: var(--pearl); color: var(--ink); border-top: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(46,18,32,.4); }
  .menu nav { display: grid; padding: 12px var(--gutter) 28px; }
  .menu a { font-family: var(--f-display); font-size: 1.7rem; text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .menu a:last-child { border-bottom: 0; }
  .nav[data-menu="open"] { background: var(--pearl); color: var(--ink); }
  .certs { gap: 0 36px; }
}
@media (max-width: 1024px) {
  .chapter, .chapter[data-side="left"] { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "head head" "body media"; }
  .chapter__head { position: static; }
  .brands__grid, .awards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chapter--text, .chapter--text[data-side="left"] { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "body"; }
  .chapter--text .chapter__head { position: static; }
  .rgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rcard { flex-basis: calc((100% - 22px) / 2); }
  .award--featured .award__core { grid-template-columns: 1fr; }
  .presslist { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  :root { --nav-h: 64px; }
  .nav__mark { font-size: 1rem; white-space: normal; line-height: 1.15; max-width: 12ch; }
  .nav[data-state="top"] { color: var(--on-dark); }
  .hero { display: block; min-height: 100dvh; padding: 0; position: relative; color: var(--on-dark); }
  .hero::before { display: none; }
  .hero__media { position: absolute; inset: 0 0 auto 0; overflow: hidden; height: max(60svh, calc(88vw + 110px)); width: 100%; max-height: none; aspect-ratio: auto; }
  .hero { background: var(--mulberry); }
  .hero__media::after { content: ""; position: absolute; inset: 0 0 -3px 0; background: linear-gradient(180deg, rgba(46,18,32,.5) 0%, rgba(46,18,32,0) 18%, rgba(46,18,32,0) 58%, rgba(46,18,32,.85) 86%, var(--mulberry) 100%); }
  .hero__frame { display: none; }
  .hero__img { box-shadow: none; object-position: 50% 8%; }
  .hero__copy { position: relative; z-index: 1; padding: max(46svh, 88vw) var(--gutter) 96px; }
  .hero__name { margin-top: 14px; }
  .hero__ctas { gap: 10px; }
  .hero__ctas .btn { padding: 12px 20px; font-size: .92rem; }
  .hero__ctas .btn--solid { padding-right: 6px; }
  .hero__ctas .btn__icon { width: 30px; height: 30px; }
  .hero__eyebrow, .hero__prof { color: var(--gold-bright); }
  .hero__titles { color: var(--on-dark-soft); font-size: .84rem; margin-top: 18px; }
  .hero__tagline { color: var(--on-dark); margin-top: 14px; }
  .hero__ctas { margin-top: 26px; }
  .hero .btn--solid { --b-bg: var(--gold); --b-fg: var(--mulberry); --b-bd: var(--gold); }
  .hero .btn--solid .btn__icon { background: rgba(46,18,32,.12); }
  .hero .btn--ghost { --b-fg: var(--on-dark); --b-bd: rgba(246,236,230,.5); }
  .hero__cue { color: var(--on-dark-soft); z-index: 1; bottom: 18px; }
  .numbers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 0; padding-block: 48px; }
  .num:nth-child(3) { border-left: 0; padding-left: 0; }
  .chapter, .chapter[data-side="left"] { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "media" "body"; gap: 28px; }
  .chapter__media { max-width: 560px; }
  .plate--tall { aspect-ratio: 4 / 3; }
  .collage--wedding .plate--main { aspect-ratio: 4 / 4.2; }
  .tl__thumb { width: 64px; height: 64px; }
  .story, .legacy, .recog, .tributes { padding-block: 56px; }
  .chapter { margin-bottom: 56px; }
  .collage--wedding .plate--a { margin-bottom: -12%; }
  .path__certs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .path__track li { flex: 0 0 auto; }
  .path__track li:not(:last-child)::after { flex: 0 0 28px; }
  .lesson__grid { grid-template-columns: 1fr; }
  .timeline::before, .timeline::after { left: 6px; }
  .timeline { display: block; }
  .tl, .tl:nth-child(even), .tl:nth-child(odd) { width: 100%; margin-left: 0; padding: 0 0 44px 36px; text-align: left; }
  .tl::before, .tl:nth-child(even)::before { left: 1px; right: auto; }
  .tl:nth-child(odd) .tl__text { text-align: left; }
  .tl:nth-child(odd) .tl__thumbs { justify-content: flex-start; }
  .brands__grid, .awards, .clients__row { grid-template-columns: 1fr; }
  .philosophy { grid-template-columns: 1fr; }
  .certs { grid-template-columns: 1fr; }
  .course summary { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "date chev" "inst chev"; gap: 4px 12px; padding: 16px 0; cursor: pointer; min-height: 44px; }
  .course__date { grid-area: date; } .course__inst { grid-area: inst; }
  .course__chev { display: block; grid-area: chev; align-self: center; }
  .course[open] .course__chev { transform: rotate(90deg); }
  .course__detail { padding-left: 0; }
  .rgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .rcard { flex-basis: 100%; }
  .gallery__grid { columns: 2; column-gap: 10px; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .pin__label { display: none; }
  .map { margin-inline: calc(var(--gutter) * -1); }
  .map__card { position: fixed; left: 16px !important; right: 16px; top: auto !important; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: auto; }
  .lb { grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr) auto; padding: 64px 12px 16px; }
  .lb__fig { grid-column: 1 / -1; grid-row: 1; }
  .lb__prev { grid-column: 1; grid-row: 2; } .lb__next { grid-column: 2; grid-row: 2; }
  .lb__fig img { max-height: calc(100dvh - 200px); }
}
@media (max-width: 480px) {
  .hero__name { font-size: clamp(2.9rem, 13.5vw, 3.6rem); }
  .nav__cta { padding: 12px 16px; font-size: .88rem; }
  .nav__inner { gap: 12px; }
  .num__c { font-size: .8rem; }
  .path__certs { gap: 12px; }

  .wall { columns: 1; }
  .totop { width: 42px; height: 42px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); opacity: .92; }
  .gitem { margin-bottom: 10px; }
}
