/* ============================================================================
   thegradszn: site styles
   Loads after scrollcraft.css. Tokens first, then shared pieces, then the
   homepage proceedings, then the inner pages.
   ========================================================================== */

/* ---------------------------------------------------------------- fonts --
   Anek Latin (SIL Open Font License 1.1, see fonts/OFL.txt), self-hosted so
   visitors see it without having it installed. Latin subset, four weights. */
@font-face { font-family: "Anek Latin"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/AnekLatin-Light.woff2") format("woff2"); }
@font-face { font-family: "Anek Latin"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/AnekLatin-Regular.woff2") format("woff2"); }
@font-face { font-family: "Anek Latin"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/AnekLatin-Medium.woff2") format("woff2"); }
@font-face { font-family: "Anek Latin"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/AnekLatin-SemiBold.woff2") format("woff2"); }

/* ---------------------------------------------------------------- tokens -- */
/* The design is light-only: ask browsers (Chrome auto-dark, Samsung Internet) not to darken it. */
:root { color-scheme: only light; }
:root {
  --sc-canvas:     #FFFFFF;
  --sc-surface:    #F7F2EC;
  --sc-ink:        #1E1417;
  --sc-ink-soft:   #5F4E53;
  --sc-accent:     #7A1F33;   /* burgundy: actions, links, the one dark ground */
  --sc-accent-ink: #FFFFFF;
  --sc-font-display: "Anek Latin", "Avenir Next", system-ui, sans-serif;
  --sc-font-text:    "Anek Latin", "Avenir Next", system-ui, sans-serif;

  --ivory:       #F7F2EC;
  --paper:       #FFFFFF;
  --burgundy:    #7A1F33;
  --burgundy-dk: #4E1322;
  --burgundy-ink:#F8EEE7;
  --burgundy-soft:#DCC3C2;
  --gold:        #B48F55;   /* rules, ticks, ornament */
  --gold-text:   #85652F;   /* gold for small text on white (4.9:1) */
  --gold-light:  #DDBD84;   /* the accent on the burgundy ground */

  --sc-hairline: color-mix(in oklab, var(--sc-ink) 12%, transparent);
  --rule-gold:   color-mix(in oklab, var(--gold) 60%, transparent);

  --sc-r-sm: 2px; --sc-r-md: 3px; --sc-r-lg: 4px;
  --sc-shadow-color: 345 30% 18%;
  --sc-e1: 0 1px 2px hsl(var(--sc-shadow-color) / 0.10), 0 2px 6px -1px hsl(var(--sc-shadow-color) / 0.08);
  --sc-e2: 0 2px 4px hsl(var(--sc-shadow-color) / 0.10), 0 10px 22px -6px hsl(var(--sc-shadow-color) / 0.16);
  --sc-e3: 0 4px 8px hsl(var(--sc-shadow-color) / 0.10), 0 22px 44px -10px hsl(var(--sc-shadow-color) / 0.22), 0 50px 90px -30px hsl(var(--sc-shadow-color) / 0.20);

  --sc-maxw: 84rem;
  --header-h: 4.75rem;
}

/* Horizontal containment, safe for position: sticky.
   - html's overflow propagates to the viewport, so iOS Safari cannot pan or
     rubber-band sideways. Body keeps overflow-x: clip, which is NOT a scroll
     container, so the pinned (sticky) acts keep working.
   - Sections whose decoration bleeds past the edge (diploma rolls, inset
     print, journey beads) are clipped with `clip`, never `hidden`, for the
     same reason. */
html {
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

body {
  background: var(--paper);
  font-weight: 400;
  overflow-x: clip;
}
.studio, .celebration, .service, .recessional, .foot { overflow-x: clip; }
[hidden] { display: none !important; }
::selection { background: var(--burgundy); color: #fff; }

/* -------------------------------------------------------------- type ---- */
.display {
  font-family: var(--sc-font-display);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
  font-optical-sizing: auto;
}
.display em { font-style: normal; font-weight: 300; color: var(--burgundy); }
.display--hero { font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5.6rem); letter-spacing: -0.03em; }
.display--xl   { font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.6rem); letter-spacing: -0.028em; }
.display--lg   { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); }
.display--md   { font-size: clamp(1.6rem, 1.25rem + 1.3vw, 2.3rem); letter-spacing: -0.012em; }
.display--sm   { font-size: clamp(1.35rem, 1.2rem + 0.5vw, 1.6rem); letter-spacing: -0.005em; }

.lede { font-size: var(--sc-t-lg); line-height: 1.5; color: var(--sc-ink-soft); max-width: 40ch; text-wrap: pretty; margin: 0; font-weight: 300; }
.body { color: var(--sc-ink-soft); max-width: 58ch; text-wrap: pretty; margin: 0; }
.label {
  font-family: var(--sc-font-text);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin: 0;
}
.numeral { font-family: var(--sc-font-display); font-style: normal; color: var(--gold-text); font-weight: 300; letter-spacing: .04em; }
.caption { font-size: 0.82rem; letter-spacing: 0.04em; color: var(--sc-ink-soft); margin: 0; }
.caption b { font-weight: 500; color: var(--sc-ink); }

.wrap { width: 100%; max-width: var(--sc-maxw); margin-inline: auto; padding-inline: var(--sc-gutter); }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--burgundy); color: #fff; padding: .8rem 1.2rem; }
.skip:focus { left: 1rem; top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  min-height: 3.1rem; padding: .9rem 1.7rem;
  font: 500 0.8rem/1 var(--sc-font-text); letter-spacing: 0.18em; text-transform: uppercase;
  white-space: nowrap; text-decoration: none;
  border: 1px solid transparent; border-radius: var(--sc-r-sm);
  cursor: pointer;
  transition: background-color 160ms var(--sc-ease-out), color 160ms var(--sc-ease-out), border-color 160ms var(--sc-ease-out), transform 120ms var(--sc-ease-out);
}
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn--solid { background: var(--burgundy); color: #fff; }
.btn--line  { border-color: color-mix(in oklab, var(--sc-ink) 70%, transparent); color: var(--sc-ink); background: transparent; }
.btn--light { background: var(--burgundy-ink); color: var(--burgundy-dk); }
.btn svg { width: 1.05em; height: 1.05em; transition: transform 160ms var(--sc-ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn--solid:hover { background: var(--burgundy-dk); }
  .btn--line:hover  { background: var(--sc-ink); color: #fff; border-color: var(--sc-ink); }
  .btn--light:hover { background: #fff; }
  .btn:hover svg { transform: translateX(3px); }
}

.link {
  color: var(--burgundy); font-weight: 500; text-decoration: underline;
  text-decoration-color: var(--rule-gold); text-decoration-thickness: 1px; text-underline-offset: .35em;
  transition: text-decoration-color 160ms var(--sc-ease-out);
}
@media (hover: hover) and (pointer: fine) { .link:hover { text-decoration-color: var(--burgundy); } }

/* --------------------------------------------------------- masthead ---- */
.masthead { position: relative; z-index: 40; background: var(--paper); }
.masthead--sticky { position: sticky; top: 0; border-bottom: 1px solid transparent; transition: border-color 200ms var(--sc-ease-out); }
.masthead--sticky.is-scrolled { border-bottom-color: var(--sc-hairline); }
.masthead__in { display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: var(--header-h); }

.mark { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--sc-ink); }
/* the brand logo, outlined (images/brand/): wordmark in the header, full lockup in the footer */
.mark__logo { display: block; height: 1.85rem; aspect-ratio: 539.6 / 108.5; width: auto; fill: currentColor; flex: none; }
.mark--lockup .mark__logo { height: auto; width: min(15rem, 100%); aspect-ratio: 539.6 / 141; }

.nav { display: flex; align-items: center; gap: clamp(1.4rem, 2.6vw, 2.6rem); }
.nav a:not(.btn) {
  font-size: .78rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  padding-block: .5rem; position: relative; color: var(--sc-ink);
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .15rem; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform 200ms var(--sc-ease-out);
}
.nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .nav a:not(.btn):hover::after { transform: scaleX(1); } }
.nav .btn { min-height: 2.75rem; padding: .75rem 1.3rem; }

.menu-btn { display: none; width: 2.9rem; height: 2.9rem; border: 0; background: none; padding: 0; cursor: pointer; color: var(--sc-ink); }
.menu-btn span { display: block; width: 1.5rem; height: 1px; background: currentColor; margin: 6px auto; transition: transform 200ms var(--sc-ease-out), opacity 160ms; }
.nav-open .menu-btn span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav-open .menu-btn span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .menu-btn { display: block; position: relative; z-index: 52; }
  .nav {
    position: fixed; inset: 0; z-index: 51; background: var(--paper);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.4rem;
    padding: var(--header-h) var(--sc-gutter) 3rem;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 220ms var(--sc-ease-out), transform 220ms var(--sc-ease-out), visibility 0s linear 220ms;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav a:not(.btn) { font-family: var(--sc-font-display); font-size: 2.2rem; letter-spacing: -0.01em; text-transform: none; font-weight: 400; }
  .nav .btn { margin-top: 1rem; }
  .nav-open { overflow: hidden; }
  .nav-open .mark { position: relative; z-index: 52; }
}

/* ------------------------------------------------- the programme folio --
   The homepage's navigation: the order of proceedings, ticked off as passed. */
.folio {
  position: fixed; left: clamp(.5rem, 1vw, 1rem); top: 50%; transform: translateY(-50%);
  z-index: 45; color: var(--sc-ink);
  display: flex; align-items: center; gap: .7rem;
  padding: .8rem .65rem .8rem .75rem; border-radius: var(--sc-r-sm);
  background: color-mix(in oklab, var(--paper) 84%, transparent);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: var(--sc-e1);
  transition: color 240ms var(--sc-ease-out), opacity 240ms var(--sc-ease-out), background-color 240ms var(--sc-ease-out);
}
.folio.is-hidden { opacity: 0; pointer-events: none; visibility: hidden; transition: opacity 240ms var(--sc-ease-out), visibility 0s linear 240ms; }
.folio ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.folio a {
  display: grid; grid-template-columns: 1.6rem auto; align-items: center; gap: .3rem;
  text-decoration: none; color: inherit; padding: .2rem 0;
  font-family: var(--sc-font-display); font-style: normal; font-size: .95rem; line-height: 1;
}
.folio__num { opacity: .55; transition: opacity 160ms; }
.folio__tick { width: .8rem; height: .8rem; color: var(--gold); opacity: 0; transform: scale(.8); transition: opacity 200ms var(--sc-ease-out), transform 200ms var(--sc-ease-out); }
.folio li.is-done .folio__tick { opacity: 1; transform: none; }
.folio li.is-current .folio__num { opacity: 1; color: var(--burgundy); }
.folio__name {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 500;
  color: var(--gold-text); white-space: nowrap; min-height: 9rem;
}
.folio--dark { color: var(--burgundy-ink); background: color-mix(in oklab, var(--burgundy-dk) 78%, transparent); }
.folio--dark li.is-current .folio__num { color: var(--gold-light); }
.folio--dark .folio__name { color: var(--gold-light); }
@media (hover: hover) and (pointer: fine) { .folio a:hover .folio__num { opacity: 1; } }

@media (max-width: 1100px) {
  .folio { display: none; }
}

/* ---- WhatsApp: a small button in the corner, phones only --------------- */
.wa-float { display: none; }
@media (max-width: 900px) {
  .wa-float {
    display: grid; place-items: center;
    position: fixed; z-index: 44;
    right: calc(.9rem + env(safe-area-inset-right, 0px)); bottom: calc(.9rem + env(safe-area-inset-bottom, 0px));
    width: 2.4rem; height: 2.4rem; border-radius: 50%;
    background: #25D366; color: #fff;
    box-shadow: 0 6px 16px hsl(145 60% 20% / .28);
    transition: transform 160ms var(--sc-ease-out);
  }
  .wa-float::before { content: ""; position: absolute; inset: -.2rem; } /* 44px tap area */
  .wa-float svg { width: 1.3rem; height: 1.3rem; fill: currentColor; }
  .wa-float:active { transform: scale(.94); }
  .wa-float:focus-visible { outline: 2px solid var(--burgundy); outline-offset: 3px; }
  .nav-open .wa-float { display: none; }
  .foot__base { padding-bottom: 3.6rem; } /* the last line clears the button */
}

/* ============================================================ HOMEPAGE ==== */

/* ---- Cover: the programme cover with the layered arch ----------------- */
.cover { position: relative; background: var(--paper); overflow: hidden; }
.cover__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  align-items: end; gap: clamp(2rem, 5vw, 6rem);
  min-height: calc(100svh - var(--header-h));
  padding-block: clamp(1.5rem, 4vh, 3rem) 0;
}
.cover__copy { align-self: center; padding-bottom: clamp(2rem, 8vh, 6rem); display: grid; gap: 1.6rem; justify-items: start; }
.cover__copy .label { display: flex; align-items: center; gap: .9rem; }
.cover__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: .4rem; }

.arch {
  --pw: 0; --mx: 0; --my: 0;
  position: relative;
  /* sized by height as well as width, so on short laptop screens her cap
     still clears the header with room to spare */
  width: min(100%, 34rem, calc((100svh - var(--header-h) - 6.5rem) * 0.8));
  aspect-ratio: 0.8;
  justify-self: center;
  isolation: isolate;
}
/* far plane: the studio paper */
.arch__plate {
  position: absolute; inset: 0; z-index: 0;
  border-radius: 50% 50% 0 0 / 34% 34% 0 0;
  overflow: hidden;
  background: radial-gradient(70% 60% at 50% 38%, #B4836A 0%, #A57458 45%, #8A5D44 78%, #6E4632 100%);
}
.arch__plate::after { /* grain on the paper, so it reads as a lit sweep, not a fill */
  content: ""; position: absolute; inset: -20%; opacity: .16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
}
.arch__plate-in { position: absolute; inset: -6%; will-change: transform; }
/* mid plane: the year, set behind her */
.arch__year {
  position: absolute; left: 5%; top: 24%; z-index: 1;
  font-family: var(--sc-font-display); font-style: normal; font-weight: 400;
  font-size: clamp(4.6rem, 9.5vw, 9.6rem); line-height: .8; letter-spacing: -0.05em;
  color: color-mix(in oklab, #F6E4D2 62%, transparent);
  white-space: nowrap; pointer-events: none; will-change: transform;
}
/* gold frame, offset from the arch, behind the subject */
.arch__frame {
  position: absolute; inset: -0.9rem -0.9rem 0 -0.9rem; z-index: 1;
  border: 1px solid var(--gold); border-bottom: 0;
  border-radius: 50% 50% 0 0 / 34% 34% 0 0;
  pointer-events: none; will-change: transform;
}
/* focal plane: the graduate. She stands in front of the arch rather than in it,
   so her cap and tassel break out over the curve and the gold frame. */
.arch__lift {
  position: absolute; z-index: 2; left: 50%; bottom: -4%;
  width: 120%; max-width: none;
  transform-origin: 50% 100%;
  will-change: transform;
}
.arch__subject {
  display: block; width: 100%; max-width: none; height: auto;
  filter: drop-shadow(0 18px 30px hsl(345 30% 14% / 0.18));
}
/* light catching the brim of her cap */
.arch__glint {
  position: absolute; left: var(--x); top: var(--y);
  width: clamp(1.1rem, 2.4vw, 1.9rem); aspect-ratio: 1;
  translate: -50% -50%; scale: 0; pointer-events: none;
}
.arch__glint::before, .arch__glint::after { content: ""; position: absolute; inset: 0; }
.arch__glint::before {
  background: radial-gradient(circle, #FFFDF6 0 22%, #F1DCA8 60%, #DDBD84);
  clip-path: polygon(50% 0, 57% 43%, 100% 50%, 57% 57%, 50% 100%, 43% 57%, 0 50%, 43% 43%);
}
.arch__glint::after {
  inset: 22%; border-radius: 50%;
  background: radial-gradient(circle, hsl(42 90% 92% / .9), hsl(40 70% 70% / 0) 70%);
  filter: blur(3px);
}
/* near plane: a gold tassel brushing past the lens, out of focus */
.arch__tassel {
  position: absolute; z-index: 3; right: -9%; top: -6%;
  width: clamp(3.2rem, 5vw, 4.6rem); max-width: none; opacity: .92;
  pointer-events: none; will-change: transform;
}
.tassel__svg { display: block; width: 100%; height: auto; filter: blur(3.5px); transform-origin: 50% 0; will-change: transform; }
/* the class seal, stamped over the corner of the arch */
.arch__seal {
  position: absolute; z-index: 4; left: -8%; bottom: 11%;
  width: clamp(5.4rem, 8.5vw, 7.6rem); aspect-ratio: 1; max-width: none;
  pointer-events: none; will-change: transform;
}
.seal__base { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; box-shadow: 0 10px 22px hsl(345 30% 14% / 0.14); }
.seal__ringwrap { position: absolute; inset: 0; will-change: transform; }
.seal__ring { display: block; width: 100%; height: 100%; overflow: visible; will-change: transform; }
.seal__disc { fill: var(--paper); }
.seal__rule { fill: none; stroke: var(--gold); stroke-width: .7; }
.seal__text { font-family: var(--sc-font-text); font-weight: 500; font-size: 9.6px; letter-spacing: .14em; fill: var(--gold-text); }
.seal__cap { fill: var(--burgundy); }
/* studio light sweeping across the paper */
.arch__sheen {
  position: absolute; inset: -10% 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, hsl(30 80% 94% / .2) 48%, hsl(30 80% 96% / .3) 50%, hsl(30 80% 94% / .2) 52%, transparent 62%);
  translate: -70% 0;
}
/* gold dust drifting up behind her */
.arch__motes { position: absolute; inset: 0; pointer-events: none; }
.arch__motes i { position: absolute; top: 0; height: 100%; left: var(--x); width: var(--s); opacity: 0; }
.arch__motes i::before {
  content: ""; display: block; width: var(--s); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, #FFF3D6, #DDBD84 55%, hsl(38 60% 60% / 0) 72%);
  box-shadow: 0 0 6px 1px hsl(40 80% 80% / .5);
}

@media (prefers-reduced-motion: no-preference) {
  /* the entrance: the arch draws up from the floor, the frame traces it, the
     year settles, and she rises into place with her cap crossing the frame */
  .arch__plate { transition: clip-path 1.3s cubic-bezier(.16, 1, .3, 1); }
  .arch__frame { transition: clip-path 1.7s cubic-bezier(.16, 1, .3, 1) .25s; }
  .arch__year { transition: clip-path 1.5s cubic-bezier(.16, 1, .3, 1) .45s, scale 1.8s cubic-bezier(.16, 1, .3, 1) .45s; }
  .arch__subject { transition: translate 1.5s cubic-bezier(.16, 1, .3, 1) .55s, opacity .9s ease .55s; }
  .arch__tassel { transition: translate 1.6s cubic-bezier(.34, 1.4, .5, 1) 1s, opacity .8s ease 1s; }
  .arch__seal { transition: scale 1.1s cubic-bezier(.34, 1.5, .5, 1) 1.25s, opacity .6s ease 1.25s; }
  .arch__sill { transition: scale 1.4s cubic-bezier(.16, 1, .3, 1); }
  .js .arch:not(.is-in) .arch__plate { clip-path: inset(100% 0 0 0); }
  .js .arch:not(.is-in) .arch__frame { clip-path: inset(100% -2px 0 -2px); }
  .js .arch:not(.is-in) .arch__year { clip-path: inset(100% -20% 0 -20%); scale: .9; }
  .js .arch:not(.is-in) .arch__subject { translate: 0 9%; opacity: 0; }
  .js .arch:not(.is-in) .arch__tassel { translate: 0 -70%; opacity: 0; }
  .js .arch:not(.is-in) .arch__seal { scale: .4; opacity: 0; }
  .js .arch:not(.is-in) .arch__sill { scale: 0 1; }
  .arch__plate, .arch__frame, .arch__year { clip-path: inset(-20%); }

  /* then it keeps breathing */
  .tassel__svg { animation: tgs-sway 5.6s ease-in-out infinite alternate; }
  .seal__ring { animation: tgs-spin 36s linear infinite; }
  .arch__sheen { animation: tgs-sheen 9s cubic-bezier(.45, 0, .2, 1) 2.2s infinite; }
  .arch__motes i { animation: tgs-mote var(--d) linear var(--t) infinite; }
  .arch__glint { animation: tgs-glint 5.2s ease-in-out 2.4s infinite; }
  .arch__glint--late { animation-delay: 4.9s; }
  .arch.is-idle *, .arch.is-idle *::before { animation-play-state: paused; }
}
@keyframes tgs-sway { from { rotate: -3.5deg; } to { rotate: 4deg; } }
@keyframes tgs-spin { to { rotate: 360deg; } }
@keyframes tgs-sheen { 0% { translate: -70% 0; } 38%, 100% { translate: 70% 0; } }
@keyframes tgs-mote {
  0% { translate: 0 100%; opacity: 0; }
  12% { opacity: .85; }
  70% { opacity: .55; }
  100% { translate: var(--dx) -6%; opacity: 0; }
}
@keyframes tgs-glint {
  0%, 74%, 100% { scale: 0; rotate: 0deg; }
  82% { scale: 1; rotate: 45deg; }
  90% { scale: .2; rotate: 90deg; }
}
.arch__sill { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--rule-gold); z-index: 3; }

/* ---- Text entrances ---------------------------------------------------
   Headline words rise from behind a clean edge. The cover runs on load with
   CSS alone (no script needed to show it); section headlines are split into
   words by home.js and rise as they scroll into view. */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-block: .06em .16em; margin-block: -.06em -.16em; }
.w > span { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .cover__copy .label { animation: tgs-fade-up .9s cubic-bezier(.16, 1, .3, 1) .1s both; }
  .display--hero .w > span { animation: tgs-word 1.15s cubic-bezier(.16, 1, .3, 1) calc(.22s + var(--wi) * .09s) both; }
  .cover__copy .lede { animation: tgs-fade-up 1s cubic-bezier(.16, 1, .3, 1) .62s both; }
  .cover__actions > * { animation: tgs-fade-up .9s cubic-bezier(.16, 1, .3, 1) .78s both; }
  .cover__actions > * + * { animation-delay: .88s; }
  .rise-words .w > span { translate: 0 112%; transition: translate 1s cubic-bezier(.16, 1, .3, 1) calc(.12s + var(--wi) * 70ms); }
  .rise-words.is-shown .w > span { translate: 0 0; }
}
@keyframes tgs-word { from { translate: 0 112%; } to { translate: 0 0; } }
@keyframes tgs-fade-up { from { opacity: 0; translate: 0 1rem; } to { opacity: 1; translate: 0 0; } }

/* ---- Proceeding headers ------------------------------------------------ */
.proc-head { display: grid; gap: 1rem; }
.proc-head .numeral { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); line-height: 1; }

/* ---- I. Procession: the pan rail -------------------------------------- */
.procession { background: var(--ivory); }
.procession .sc-stage { display: flex; align-items: center; background: var(--ivory); }
.rail { gap: clamp(1rem, 2vw, 2rem); padding-inline: var(--sc-gutter); align-items: flex-end; }
.rail__lead { flex: 0 0 clamp(17rem, 30vw, 27rem); align-self: center; display: grid; gap: 1.2rem; padding-right: 2vw; }
.rail__item { flex: 0 0 clamp(13rem, 22vw, 21rem); margin: 0; display: grid; gap: .8rem; }
.rail__item:nth-of-type(even) { transform: translateY(-2.5rem); }
.rail__frame { aspect-ratio: 5 / 7; overflow: hidden; background: #E8DED3; border-radius: var(--sc-r-sm); }
.rail__frame img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.rail__end { flex: 0 0 clamp(15rem, 24vw, 22rem); align-self: center; display: grid; gap: 1.2rem; justify-items: start; padding-left: 2vw; }
@media (prefers-reduced-motion: no-preference) {
  .rail__item {
    --k: clamp(0, calc(var(--sc-p, 0) * 11 - var(--i) + 2.4), 1);
    opacity: calc(0.55 + 0.45 * var(--k));
  }
  .rail__item .rail__frame img { transform: scale(calc(1.06 - 0.06 * var(--k))); }
}

/* On touch screens with scroll-driven animations, the browser itself moves the
   rail as the page scrolls (site.js adds .is-css-pan and measures --rail-travel).
   The section's pinned stretch is the timeline: "contain" runs from the moment
   the section fills the screen to the moment its end reaches the bottom. */
.is-touch-pan .rail { display: flex; will-change: transform; }
.is-touch-pan .rail__item { opacity: 1; }
.is-touch-pan .rail__item .rail__frame img { transform: none; will-change: auto; }
.is-css-pan { view-timeline-name: --proc-pan; }
.is-css-pan .rail {
  animation: tgs-pan linear both;
  animation-timeline: --proc-pan;
  animation-range: contain 0% contain 100%;
}
@keyframes tgs-pan { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(calc(var(--rail-travel, 0px) * -1), 0, 0); } }

/* On touch screens the rail is a native swipe strip instead (site.js adds .is-swipe) */
.rail__hint { display: none; }
.procession.is-swipe { padding-block: clamp(3.5rem, 12vw, 6rem) clamp(2.5rem, 8vw, 4rem); }
.is-swipe [data-sc-stage] {
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scroll-padding-inline: var(--sc-gutter);
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.is-swipe [data-sc-stage]::-webkit-scrollbar { display: none; }
.is-swipe .rail { display: flex; width: max-content; padding-block: 2rem .5rem; }
.is-swipe .rail > * { scroll-snap-align: start; }
.is-swipe .rail__item { opacity: 1; }
.is-swipe .rail__item .rail__frame img { transform: none; will-change: auto; }
.is-swipe .rail__hint {
  display: inline-flex; gap: .5rem; align-items: center; margin: .2rem 0 0;
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-text); font-weight: 500;
}
@media (prefers-reduced-motion: no-preference) {
  .is-swipe .rail__hint span { animation: tgs-nudge 1.8s ease-in-out infinite; }
}
@keyframes tgs-nudge { 0%, 100% { translate: 0 0; } 50% { translate: .35rem 0; } }

/* ---- II. The Studio: a sticky caption beside a two-column contact sheet --- */
.studio { background: var(--paper); padding-block: clamp(5rem, 10vw, 9rem) clamp(6rem, 12vw, 11rem); }
.studio__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2vw, 2rem); align-items: start;
}
.studio__gallery {
  grid-column: 1 / span 7;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.2vw, 2.25rem); align-items: start;
}
.studio__col { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); }
.studio__col--b { padding-top: clamp(5rem, 12vw, 11rem); will-change: transform; }
.studio__text {
  grid-column: 9 / span 4;
  position: sticky; top: max(calc(50svh - 15rem), 6rem);
  display: grid; gap: clamp(2rem, 4vw, 3rem);
}
.shot { margin: 0; display: grid; gap: .8rem; }
.shot__ph {
  position: relative; aspect-ratio: 5 / 7; overflow: hidden;
  background: #E9DDD2; border-radius: var(--sc-r-sm);
}
.shot__ph img {
  position: absolute; left: 0; top: -6%; width: 100%; height: 112%;
  object-fit: cover; max-width: none; will-change: transform;
}
/* where you are in the sheet: a gold rule that fills, and the frame number */
.studio__meter { display: flex; align-items: center; gap: 1.1rem; }
.studio__rule { position: relative; flex: 0 0 clamp(5rem, 9vw, 8rem); height: 1px; background: var(--sc-hairline); overflow: hidden; }
.studio__rule i { position: absolute; inset: 0; background: var(--gold); transform-origin: 0 50%; transform: scaleX(var(--k, 0)); }
.studio__count { display: inline-flex; align-items: baseline; gap: .45rem; font-size: .8rem; letter-spacing: .14em; color: var(--sc-ink-soft); font-variant-numeric: tabular-nums; }
.studio__n { display: inline-block; font-weight: 500; font-size: 1.05rem; color: var(--burgundy); letter-spacing: .04em; }
.studio__n.is-tick { animation: tgs-tick 520ms cubic-bezier(.16, 1, .3, 1); }
@keyframes tgs-tick { from { translate: 0 .6em; opacity: 0; } to { translate: 0 0; opacity: 1; } }

@media (prefers-reduced-motion: no-preference) {
  /* each print wipes up into its frame while the photograph settles from a slight zoom */
  .js .shot__ph { clip-path: inset(100% 0 0 0); transition: clip-path 1.25s cubic-bezier(.7, 0, .2, 1); }
  .js .shot__ph img { scale: 1.22; transition: scale 1.8s cubic-bezier(.16, 1, .3, 1); }
  .js .shot.is-shown .shot__ph { clip-path: inset(0 0 0 0); }
  .js .shot.is-shown .shot__ph img { scale: 1; }
}

/* ---- III. Conferment: the cap toss (signature) ------------------------ */
.conferment { background: var(--burgundy-dk); color: var(--burgundy-ink); --sc-ink: var(--burgundy-ink); --sc-ink-soft: var(--burgundy-soft); }
.conferment .sc-stage {
  background: radial-gradient(90% 70% at 50% 42%, #6A1A2E 0%, #561526 55%, #45101E 100%);
  perspective: 1400px; perspective-origin: 50% 40%;
}
.toss__line {
  position: absolute; left: 50%; top: 42%; translate: -50% -50%; z-index: 30;
  width: min(44rem, 86vw); text-align: center; margin: 0;
  color: var(--burgundy-ink);
}
.toss__line .display em { color: var(--gold-light); }
.toss__end {
  position: absolute; left: 50%; bottom: clamp(2.5rem, 9vh, 6rem); translate: -50% 0; z-index: 30;
  width: min(34rem, 88vw); text-align: center; display: grid; justify-items: center; gap: 1.2rem;
}
.toss__end .display em { color: var(--gold-light); }
.toss__end .btn--light { min-height: 2.9rem; }

.prints { position: absolute; inset: 0; z-index: 5; }
.print {
  position: absolute; left: 0; top: 0; margin: 0;
  width: clamp(7.5rem, 12.5vw, 12.5rem);
  padding: .45rem .45rem 1.4rem;
  background: #FBF7F1; border-radius: 1px;
  box-shadow: 0 2px 3px hsl(345 50% 6% / .25), 0 14px 30px -6px hsl(345 50% 6% / .45);
  will-change: transform, opacity; opacity: 0;
  backface-visibility: hidden;
}
.print img { width: 100%; height: auto; aspect-ratio: 5 / 7; object-fit: cover; }

/* the mortarboard, built as a real 3D object */
.cap { position: absolute; left: 50%; top: 50%; z-index: 10; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }
.cap__body { position: absolute; transform-style: preserve-3d; }
.cap__face { position: absolute; backface-visibility: visible; }
.cap__board-top, .cap__board-bot { left: -110px; top: -110px; width: 220px; height: 220px; }
.cap__board-top {
  transform: rotateX(90deg);
  background:
    radial-gradient(60% 60% at 35% 30%, hsl(228 30% 32% / .9), transparent 70%),
    linear-gradient(135deg, #2A3256 0%, #1B2140 55%, #141933 100%);
  box-shadow: inset 0 0 0 1px hsl(228 30% 40% / .35);
}
.cap__board-bot { transform: translateY(7px) rotateX(90deg); background: #10142A; }
.cap__edge { left: -110px; top: 0; width: 220px; height: 7px; background: linear-gradient(#262D4D, #11162C); }
.cap__edge--f { transform: translateZ(110px); }
.cap__edge--b { transform: rotateY(180deg) translateZ(110px); }
.cap__edge--l { transform: rotateY(-90deg) translateZ(110px); }
.cap__edge--r { transform: rotateY(90deg) translateZ(110px); }
.cap__crown { left: -64px; top: 7px; width: 128px; height: 74px; border-radius: 0 0 46% 46% / 0 0 38% 38%; }
.cap__crown--f { transform: translateZ(64px); background: linear-gradient(#1E2442, #161B34); }
.cap__crown--b { transform: rotateY(180deg) translateZ(64px); background: linear-gradient(#171C35, #10142A); }
.cap__crown--l { transform: rotateY(-90deg) translateZ(64px); background: linear-gradient(#1A1F3B, #121730); }
.cap__crown--r { transform: rotateY(90deg) translateZ(64px); background: linear-gradient(#232A4B, #191E39); }
.cap__button { left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; transform: translateY(-1px) rotateX(90deg); background: radial-gradient(circle at 35% 35%, #F1D9A6, #B48F55 70%); }
.cap__cord { left: 0; top: -1.5px; width: 158px; height: 3px; transform-origin: 0 50%; transform: translateY(-1px) rotateX(90deg) rotateZ(135deg); background: linear-gradient(90deg, #C8A262, #9C7637); border-radius: 2px; }
.cap__tassel { left: 0; top: 0; transform-style: preserve-3d; transform: translate3d(-112px, 0, 112px); }
.cap__swing { position: absolute; left: -2px; top: 0; transform-origin: 2px 0; transform: rotateZ(var(--swing, 0deg)); transform-style: preserve-3d; }
.cap__string { position: absolute; left: 0; top: 0; width: 4px; height: 70px; background: linear-gradient(#D7B475, #A57E3F); border-radius: 2px; }
.cap__knot { position: absolute; left: -5px; top: 66px; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #F0D59C, #A57E3F); }
.cap__fringe { position: absolute; left: -11px; top: 76px; width: 26px; height: 64px; clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%);
  background: repeating-linear-gradient(90deg, #E2C285 0 2px, #B48F55 2px 3px, #CDA868 3px 5px); }

/* ---- IV. Celebration -------------------------------------------------- */
.celebration { background: var(--ivory); padding-block: clamp(3rem, 6vw, 5rem) clamp(5rem, 10vw, 9rem); }
.celebration__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); align-items: center; }
.celebration__text { grid-column: 1 / span 4; display: grid; gap: 1.3rem; }
.celebration__media { grid-column: 6 / span 7; margin: 0; display: grid; gap: .75rem; position: relative; }
.celebration__frame { aspect-ratio: 1.4; overflow: hidden; border-radius: var(--sc-r-sm); background: #E4D8CB; }
.celebration__frame img { width: 100%; height: 118%; object-fit: cover; margin-top: -9%; }
.celebration__inset { position: absolute; width: 34%; left: -14%; bottom: -12%; margin: 0; padding: .45rem; background: var(--paper); box-shadow: var(--sc-e3); border-radius: 1px; }
.celebration__inset img { width: 100%; height: auto; aspect-ratio: 5/7; object-fit: cover; }

/* ---- V. Order of Service: packages as a printed programme ------------- */
.service { background: var(--paper); padding-block: clamp(5rem, 10vw, 9rem); }
.service__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
/* the customer journey: Book, Shoot, Edit, Deliver, Share */
.journey {
  list-style: none; margin: 0 0 clamp(3rem, 6vw, 5rem); padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem);
  counter-reset: none;
}
.journey li { position: relative; display: grid; gap: .55rem; align-content: start; padding-top: 1.4rem; border-top: 1px solid var(--rule-gold); }
.journey li::before { /* a gold bead on the rule, like a stop on a route */
  content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--gold);
}
.journey__n { font-size: .72rem; letter-spacing: .2em; color: var(--gold-text); font-weight: 500; }
.journey h3 { font-family: var(--sc-font-display); font-weight: 500; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.8rem); line-height: 1; margin: 0; }
.journey p { margin: 0; color: var(--sc-ink-soft); font-size: .95rem; line-height: 1.5; max-width: 22ch; }
.journey .is-key { border-top-color: var(--burgundy); }
.journey .is-key::before { background: var(--burgundy); border-color: var(--burgundy); }
.journey .is-key h3 { color: var(--burgundy); }
@media (max-width: 900px) {
  .journey { grid-template-columns: 1fr; gap: 0; }
  .journey li { grid-template-columns: 2.4rem minmax(0, 1fr); column-gap: .8rem; padding: 1.1rem 0; border-top: 0; border-left: 1px solid var(--rule-gold); padding-left: 1.2rem; }
  .journey li::before { top: 1.35rem; left: -4px; }
  .journey .is-key { border-left-color: var(--burgundy); }
  .journey__n { grid-row: 1 / span 2; padding-top: .3rem; }
  .journey p { max-width: none; }
}
.order { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-gold); }
.order__row {
  display: grid; grid-template-columns: 3.2rem minmax(0, 1.1fr) minmax(0, 1.6fr) auto; gap: clamp(1rem, 2.5vw, 2.5rem);
  align-items: baseline; padding-block: clamp(1.6rem, 3vw, 2.4rem); border-bottom: 1px solid var(--sc-hairline);
}
.order__row .numeral { font-size: 1.6rem; }
/* group heading inside the order of service (Campus, Studio, Reels, Combos, Crew) */
.order__group {
  display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); gap: clamp(1rem, 2.5vw, 2.5rem); align-items: baseline;
  padding-block: clamp(2.4rem, 4.5vw, 3.6rem) clamp(.9rem, 1.6vw, 1.2rem); border-bottom: 1px solid var(--rule-gold);
}
.order__group:first-child { padding-top: clamp(1.4rem, 2.6vw, 2rem); }
.order__group-num { font-family: var(--sc-font-display); font-size: 1.1rem; color: var(--gold-text); font-variant-numeric: lining-nums; }
.order__group-title { margin: 0; font: 500 .86rem/1.3 var(--sc-font-text); letter-spacing: .2em; text-transform: uppercase; color: var(--burgundy); }
.order__group-tag { margin: .45rem 0 0; font-family: var(--sc-font-display); font-style: italic; font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem); color: var(--sc-ink-soft); }
.order__name { display: grid; gap: .35rem; }
.order__name h3 { font-family: var(--sc-font-display); font-weight: 400; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.5rem); letter-spacing: -0.015em; margin: 0; line-height: 1.05; }
.order__dur { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); font-weight: 500; }
.order__list { margin: 0; padding: 0; list-style: none; color: var(--sc-ink-soft); display: grid; gap: .3rem; font-size: .98rem; }
.order__list li::before { content: "·"; color: var(--gold); margin-right: .55rem; font-weight: 700; }
.order__price { text-align: right; display: grid; gap: .7rem; justify-items: end; }
.order__price strong { font-family: var(--sc-font-display); font-weight: 400; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.order__row.is-featured h3::after { content: "Most complete"; display: inline-block; vertical-align: middle; margin-left: .8rem; font: 500 .66rem/1 var(--sc-font-text); letter-spacing: .18em; text-transform: uppercase; color: var(--burgundy); border: 1px solid color-mix(in oklab, var(--burgundy) 40%, transparent); padding: .4rem .55rem; border-radius: var(--sc-r-sm); translate: 0 -.2em; }

/* ---- VI. Recessional: the reserved-seat card -------------------------- */
.recessional { background: var(--ivory); padding-block: clamp(5rem, 10vw, 9rem) 0; }
.seat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: center; }
.seat__form { display: grid; gap: 1.5rem; align-content: start; }
.pkg-slot { display: none; }
.seat__fields { display: grid; gap: 1.1rem; }
/* The diploma: a parchment sheet between two paper rolls. --u (0..1) is how
   far it has unrolled; home.js drives it from scroll. Closed, the two rolls
   sit together tied with a ribbon; open, they rest at the sheet's edges. */
.diploma {
  --u: 1; --tie: 0;
  container-type: inline-size;
  --roll: clamp(1.7rem, 2.6vw, 2.35rem);
  position: relative; margin-inline: calc(var(--roll) * .55);
  rotate: -1.2deg;
}
.diploma__shadow {
  position: absolute; inset: 6% 2% 0; border-radius: 50%;
  box-shadow: 0 2.2rem 3.6rem -0.6rem hsl(28 40% 20% / .32);
  scale: var(--u) 1; opacity: calc(.35 + .65 * var(--u)); pointer-events: none; will-change: transform, opacity;
}
.diploma__clip { position: relative; clip-path: inset(-40% calc((1 - var(--u)) * 50%) -40% calc((1 - var(--u)) * 50%)); }
.diploma__sheet {
  position: relative; text-align: center;
  padding: clamp(2.4rem, 4.4vw, 3.6rem) clamp(2rem, 4vw, 3.4rem) clamp(4.6rem, 7vw, 5.6rem);
  color: #2A1A12;
  background:
    /* the paper curling into each roll */
    linear-gradient(90deg, hsl(32 45% 30% / .34), hsl(32 45% 30% / 0) 5%, hsl(32 45% 30% / 0) 95%, hsl(32 45% 30% / .34)),
    /* aged edges */
    radial-gradient(120% 95% at 50% 45%, hsl(40 60% 96% / 0) 52%, hsl(34 48% 52% / .2) 100%),
    /* fibres and mottling */
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='260'><filter id='f'><feTurbulence type='fractalNoise' baseFrequency='0.85 0.06' numOctaves='3' seed='4'/><feColorMatrix values='0 0 0 0 0.45  0 0 0 0 0.33  0 0 0 0 0.18  0 0 0 0.16 0'/></filter><rect width='100%' height='100%' filter='url(%23f)'/></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='520' height='520'><filter id='m'><feTurbulence type='fractalNoise' baseFrequency='0.012' numOctaves='2' seed='9'/><feColorMatrix values='0 0 0 0 0.55  0 0 0 0 0.40  0 0 0 0 0.20  0 0 0 0.22 0'/></filter><rect width='100%' height='100%' filter='url(%23m)'/></svg>"),
    #F3E6CB;
  will-change: transform;
}
/* engraved border: a gold rule and a finer inner one */
.diploma__sheet::before, .diploma__sheet::after { content: ""; position: absolute; pointer-events: none; }
.diploma__sheet::before { inset: clamp(1rem, 2vw, 1.4rem) clamp(1.4rem, 2.6vw, 1.9rem); border: 1px solid hsl(38 45% 45% / .75); }
.diploma__sheet::after { inset: calc(clamp(1rem, 2vw, 1.4rem) + 5px) calc(clamp(1.4rem, 2.6vw, 1.9rem) + 5px); border: 1px solid hsl(38 45% 45% / .35); }
.diploma__in { position: relative; z-index: 1; opacity: clamp(0, calc(var(--u) * 2.4 - 1.2), 1); will-change: opacity; }
.diploma__seal {
  position: absolute; z-index: 2; left: 50%; bottom: clamp(-3.6rem, -5vw, -2.6rem); translate: -50% 0;
  width: clamp(4.6rem, 7vw, 5.8rem); height: auto;
  filter: drop-shadow(0 4px 5px hsl(345 50% 12% / .35));
  opacity: clamp(0, calc(var(--u) * 3 - 2), 1); will-change: opacity;
}
.diploma__roll {
  position: absolute; z-index: 3; top: -0.35rem; bottom: -0.35rem; width: var(--roll);
  border-radius: calc(var(--roll) / 2) / .6rem;
  background:
    linear-gradient(90deg, #9C845C 0%, #CDB78E 14%, #F2E4C6 34%, #FBF3DF 44%, #EAD9B4 62%, #C7AE82 82%, #8E7550 100%);
  box-shadow: 0 .9rem 1.4rem -0.5rem hsl(28 40% 18% / .35);
  left: 0; will-change: transform;
}
/* the spiral of paper seen at each end of a roll */
.diploma__roll::before, .diploma__roll::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.2rem; border-radius: 50%;
  background: repeating-radial-gradient(ellipse at 50% 50%, #E9D8B3 0 1.5px, #B79D72 1.5px 2.5px, #F1E3C4 2.5px 4px);
  box-shadow: inset 0 0 0 1px hsl(32 35% 40% / .35);
}
.diploma__roll::before { top: -0.6rem; }
.diploma__roll::after { bottom: -0.6rem; filter: brightness(.86); }
.diploma__roll--l { translate: calc((1 - var(--u)) * 50cqw - 100% + var(--u) * 50%) 0; }
.diploma__roll--r { translate: calc(50cqw + var(--u) * 50cqw - var(--u) * 50%) 0; }
.diploma__tie {
  position: absolute; z-index: 4; left: 50%; top: 50%;
  width: calc(var(--roll) * 2 + 5rem); height: auto;
  translate: -50% calc(-48% + var(--tie) * 3rem); opacity: calc(1 - var(--tie));
  rotate: calc(var(--tie) * 14deg);
  filter: drop-shadow(0 6px 6px hsl(345 50% 12% / .3));
  pointer-events: none;
}
.seat__crest { display: block; height: 3rem; aspect-ratio: 79.8 / 108.5; width: auto; margin: 0 auto .9rem; fill: #A07B3F; }
.seat__kicker { font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: #7A5A26; font-weight: 500; margin: 0; }
.seat__reserved { font-family: var(--sc-font-display); font-style: normal; color: var(--burgundy); font-size: 1.15rem; margin: 1.6rem 0 .4rem; }
.seat__name { font-family: var(--sc-font-display); font-size: clamp(1.9rem, 1.4rem + 1.8vw, 3rem); line-height: 1.05; letter-spacing: -0.02em; margin: 0; min-height: 1.1em; overflow-wrap: anywhere; color: #2A1A12; transition: opacity 160ms var(--sc-ease-out); }
.seat__name.is-empty { color: hsl(28 30% 22% / .34); }
.seat__rule { display: flex; align-items: center; justify-content: center; gap: .6rem; margin: 1.3rem auto; }
.seat__rule::before, .seat__rule::after { content: ""; width: 2.6rem; height: 1px; background: #A07B3F; }
.seat__rule i { width: .38rem; height: .38rem; background: #A07B3F; rotate: 45deg; }
.seat__meta { display: grid; gap: .3rem; font-size: .95rem; color: #5A4636; margin: 0; }
.seat__meta b { color: #2A1A12; font-weight: 500; }
.seat__foot { margin-top: 1.8rem; font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: #7A5A26; }

/* --------------------------------------------------------------- footer -- */
.foot { background: inherit; padding-block: clamp(4rem, 8vw, 6rem) 2.5rem; }
.recessional .foot { margin-top: clamp(4rem, 8vw, 7rem); border-top: 1px solid var(--rule-gold); }
.foot__grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 2rem; }
.foot h2 { font: 500 .72rem/1 var(--sc-font-text); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 1rem; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.foot a { color: var(--sc-ink); text-decoration: none; }
.foot p { margin: 0; }
@media (hover: hover) and (pointer: fine) { .foot a:hover { color: var(--burgundy); } }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3.5rem; padding-top: 1.4rem; border-top: 1px solid var(--sc-hairline); font-size: .8rem; color: var(--sc-ink-soft); }
.page-foot { background: var(--ivory); border-top: 1px solid var(--rule-gold); }

/* ================================================================ FORMS ==== */
.field { display: grid; gap: .45rem; }
.field > label, .field > .field__label { font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--sc-ink); }
.field .opt { color: var(--sc-ink-soft); letter-spacing: .08em; text-transform: none; font-weight: 400; }
.input, .select, .textarea {
  width: 100%; min-height: 3.2rem; padding: .85rem 1rem;
  background: var(--paper); border: 1px solid color-mix(in oklab, var(--sc-ink) 22%, transparent); border-radius: var(--sc-r-sm);
  font-size: 1rem; color: var(--sc-ink);
  transition: border-color 160ms var(--sc-ease-out), box-shadow 160ms var(--sc-ease-out);
}
.textarea { min-height: 7.5rem; resize: vertical; line-height: 1.5; }
.select { appearance: none; padding-right: 2.6rem; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%237A1F33' stroke-width='1.4'/></svg>"); background-repeat: no-repeat; background-position: right 1rem center; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--burgundy); box-shadow: 0 0 0 3px color-mix(in oklab, var(--burgundy) 18%, transparent); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: #A3242F; }

/* Custom Select (Desktop) */
.cs { position: relative; min-width: 0; width: 100%; }
.cs--auto { display: inline-block; min-width: 11rem; width: auto; }
.cs__native { position: absolute; inset: 0; opacity: 0; pointer-events: none; height: 100%; width: 100%; }
.cs__btn {
  width: 100%; min-height: 3.2rem; padding: .85rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  font: inherit; font-size: 1rem; color: var(--sc-ink); text-align: left;
  background: var(--paper); border: 1px solid color-mix(in oklab, var(--sc-ink) 22%, transparent); border-radius: var(--sc-r-sm);
  transition: border-color 160ms var(--sc-ease-out), box-shadow 160ms var(--sc-ease-out);
  cursor: pointer;
}
.cs__btn:hover { border-color: var(--gold); }
.cs__btn:focus-visible { outline: none; border-color: var(--burgundy); box-shadow: 0 0 0 3px color-mix(in oklab, var(--burgundy) 18%, transparent); }
.cs__btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.cs__btn svg { width: 1rem; height: 1rem; flex: none; color: var(--gold-text); transition: transform .2s var(--sc-ease-out); }
.cs.is-open .cs__btn { border-color: var(--burgundy); box-shadow: 0 0 0 3px color-mix(in oklab, var(--burgundy) 18%, transparent); }
.cs.is-open .cs__btn svg { transform: rotate(180deg); }
.cs__list {
  position: absolute; z-index: 80; left: 0; right: 0; top: calc(100% + .4rem); margin: 0; padding: .35rem; list-style: none;
  background: var(--paper); border: 1px solid color-mix(in oklab, var(--sc-ink) 18%, transparent); border-top: 2px solid var(--gold); border-radius: var(--sc-r-sm);
  box-shadow: 0 12px 36px rgba(0,0,0,0.12); max-height: 24rem; overflow-y: auto;
  opacity: 0; transform: translateY(-4px); pointer-events: none; visibility: hidden; transition: opacity .15s, transform .15s, visibility .15s;
}
.cs.is-open .cs__list { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
.cs__opt { padding: .65rem .9rem; font-size: .95rem; border-radius: 2px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--sc-ink); cursor: pointer; }
.cs__opt:hover, .cs__opt.is-active { background: var(--ivory); }
.cs__opt.is-selected { color: var(--burgundy); font-weight: 500; }
.cs__opt.is-selected::after { content: ""; width: .45rem; height: .8rem; border: solid var(--burgundy); border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); flex: none; }
.field:has(.cs__native[aria-invalid="true"]) .cs__btn { border-color: #A3242F; }
.field__error { font-size: .85rem; color: #A3242F; margin: 0; min-height: 0; }
.field__error:empty { display: none; }
.field__hint { font-size: .85rem; color: var(--sc-ink-soft); margin: 0; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.check { display: flex; gap: .8rem; align-items: flex-start; font-size: .95rem; color: var(--sc-ink-soft); }
.check input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; flex: none; accent-color: var(--burgundy); }

/* ========================================================== INNER PAGES === */
.page-head { padding-block: clamp(3rem, 7vw, 6rem) clamp(2rem, 4vw, 3.5rem); background: var(--paper); }
.page-head__in { display: grid; gap: 1.3rem; justify-items: start; }
.page-head__in > * { max-width: 52rem; }
.page-head .label { display: flex; align-items: center; gap: .9rem; }
.page-head .label::before { content: ""; width: 2.2rem; height: 1px; background: var(--gold); }

/* ---- Portfolio ---------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem; align-items: center; justify-content: space-between; padding-block: 1.2rem; border-block: 1px solid var(--sc-hairline); margin-bottom: clamp(2rem, 4vw, 3rem); }
.filter-group { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.filter-group > span { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); font-weight: 500; margin-right: .5rem; }
.chip {
  border: 1px solid color-mix(in oklab, var(--sc-ink) 20%, transparent); background: transparent; color: var(--sc-ink);
  padding: .6rem 1rem; min-height: 2.6rem; border-radius: var(--sc-r-sm); cursor: pointer;
  font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500;
  transition: background-color 160ms var(--sc-ease-out), color 160ms var(--sc-ease-out), border-color 160ms var(--sc-ease-out);
}
.chip[aria-pressed="true"] { background: var(--burgundy); color: #fff; border-color: var(--burgundy); }
@media (hover: hover) and (pointer: fine) { .chip:not([aria-pressed="true"]):hover { border-color: var(--burgundy); color: var(--burgundy); } }
.count { font-size: .9rem; color: var(--sc-ink-soft); margin: 0; }

.masonry { columns: 3 18rem; column-gap: clamp(.9rem, 1.6vw, 1.5rem); }
.tile { break-inside: avoid; margin: 0 0 clamp(.9rem, 1.6vw, 1.5rem); display: block; width: 100%; padding: 0; border: 0; background: #EDE3D8; cursor: zoom-in; position: relative; overflow: hidden; border-radius: var(--sc-r-sm); text-align: left; }
.tile img { width: 100%; height: auto; transition: transform 600ms var(--sc-ease-out); }
.tile__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem 1rem .9rem; color: #fff; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
  background: linear-gradient(to top, hsl(345 40% 8% / .62), transparent); opacity: 0; transition: opacity 200ms var(--sc-ease-out); }
.tile:focus-visible .tile__cap { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .tile:hover img { transform: scale(1.03); } .tile:hover .tile__cap { opacity: 1; } }
.tile[hidden] { display: none; }
.empty { padding: 4rem 0; text-align: center; color: var(--sc-ink-soft); }

.lightbox { position: fixed; inset: 0; z-index: 90; background: hsl(345 30% 6% / .96); color: #F4ECE6; display: grid; grid-template-rows: auto 1fr auto; opacity: 0; visibility: hidden; transition: opacity 220ms var(--sc-ease-out), visibility 0s linear 220ms; }
.lightbox.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem var(--sc-gutter); }
.lightbox__count { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: #CDB9AE; font-variant-numeric: tabular-nums; }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding-inline: clamp(3.5rem, 7vw, 6rem); }
.lightbox__img { max-width: 100%; max-height: calc(100svh - 11rem); width: auto; height: auto; object-fit: contain; box-shadow: 0 20px 60px hsl(0 0% 0% / .45); }
.lightbox__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1rem var(--sc-gutter) calc(1.2rem + env(safe-area-inset-bottom, 0px)); }
.lightbox__alt { margin: 0; font-size: .95rem; color: #DCCBC2; max-width: 60ch; }
.icon-btn { width: 3rem; height: 3rem; display: grid; place-items: center; border: 1px solid hsl(0 0% 100% / .22); background: transparent; color: inherit; border-radius: var(--sc-r-sm); cursor: pointer; transition: background-color 160ms var(--sc-ease-out), border-color 160ms; }
.icon-btn svg { width: 1.2rem; height: 1.2rem; }
@media (hover: hover) and (pointer: fine) { .icon-btn:hover { background: hsl(0 0% 100% / .1); border-color: hsl(0 0% 100% / .5); } }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; translate: 0 -50%; }
.lightbox__prev { left: var(--sc-gutter); }
.lightbox__next { right: var(--sc-gutter); }
.lightbox :focus-visible { outline-color: var(--gold-light); }

/* ---- Packages page ---------------------------------------------------- */
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section--ivory { background: var(--ivory); }
.section__head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 44rem; }
.table-scroll { position: relative; max-width: 100%; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.compare { width: 100%; min-width: 40rem; border-collapse: collapse; font-size: .98rem; }
.compare th, .compare td { padding: 1rem 1.1rem; border-bottom: 1px solid var(--sc-hairline); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; color: var(--sc-ink-soft); }
.compare thead th { font-family: var(--sc-font-display); font-weight: 400; font-size: 1.45rem; color: var(--sc-ink); border-bottom-color: var(--rule-gold); }
.compare thead th small { display: block; font-family: var(--sc-font-text); font-size: .85rem; color: var(--burgundy); margin-top: .3rem; font-variant-numeric: tabular-nums; }
.compare .yes { color: var(--burgundy); }
.compare .no { color: color-mix(in oklab, var(--sc-ink) 30%, transparent); }
.terms { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 2rem clamp(2rem, 4vw, 4rem); }
.terms h3 { font-family: var(--sc-font-display); font-weight: 400; font-size: 1.4rem; margin: 0 0 .6rem; }
.faq { border-top: 1px solid var(--rule-gold); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--sc-hairline); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.4rem 0; font-family: var(--sc-font-display); font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sc-font-text); font-weight: 300; font-size: 1.6rem; color: var(--burgundy); transition: transform 200ms var(--sc-ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 1.5rem; color: var(--sc-ink-soft); max-width: 60ch; }

.band { background: var(--burgundy-dk); color: var(--burgundy-ink); padding-block: clamp(4rem, 8vw, 6.5rem); }
.band__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.band .display em { color: var(--gold-light); }
.band .body { color: var(--burgundy-soft); }

/* ---- Booking ------------------------------------------------------------ */
.book { padding-block: 0 clamp(4rem, 8vw, 7rem); }
.book__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(17rem, 22rem); gap: clamp(2rem, 4vw, 4.5rem); align-items: start; }
.steps { list-style: none; margin: 0 0 2.5rem; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--sc-hairline); }
.steps li { padding-top: 1rem; border-top: 2px solid transparent; margin-top: -1px; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sc-ink-soft); font-weight: 500; display: flex; gap: .55rem; align-items: baseline; }
.steps li .numeral { font-size: 1.05rem; letter-spacing: 0; text-transform: none; }
.steps li.is-current { border-top-color: var(--burgundy); color: var(--sc-ink); }
.steps li.is-done { border-top-color: var(--gold); }
.step { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 1.6rem; }
.step[hidden] { display: none; }
.step legend { padding: 0; margin-bottom: .4rem; }
.step__nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--sc-hairline); margin-top: .5rem; }

.pkg-pick { display: grid; gap: .9rem; }
.pkg-opt { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem 1.2rem; align-items: start; padding: 1.3rem 1.4rem; border: 1px solid color-mix(in oklab, var(--sc-ink) 18%, transparent); border-radius: var(--sc-r-sm); cursor: pointer; background: var(--paper); transition: border-color 160ms var(--sc-ease-out), box-shadow 160ms var(--sc-ease-out); }
.pkg-opt input { margin-top: .45rem; width: 1.1rem; height: 1.1rem; accent-color: var(--burgundy); }
.pkg-opt h3 { font-family: var(--sc-font-display); font-weight: 400; font-size: 1.55rem; margin: 0 0 .25rem; line-height: 1.1; }
.pkg-opt p { margin: 0; color: var(--sc-ink-soft); font-size: .95rem; }
.pkg-opt strong { font-family: var(--sc-font-display); font-weight: 400; font-size: 1.4rem; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.pkg-opt:has(input:checked) { border-color: var(--burgundy); box-shadow: 0 0 0 1px var(--burgundy); }
.pkg-opt:has(input:focus-visible) { outline: 2px solid var(--burgundy); outline-offset: 3px; }

.cal { border: 1px solid color-mix(in oklab, var(--sc-ink) 16%, transparent); border-radius: var(--sc-r-sm); padding: 1.25rem 1.4rem; background: var(--paper); width: 100%; max-width: 100%; box-sizing: border-box; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.cal__title { font-family: var(--sc-font-display); font-size: 1.35rem; margin: 0; }
.cal__nav { display: flex; gap: .4rem; }
.cal__nav button { width: 2.6rem; height: 2.6rem; border: 1px solid var(--sc-hairline); background: transparent; border-radius: var(--sc-r-sm); cursor: pointer; color: var(--sc-ink); display: grid; place-items: center; }
.cal__nav button:disabled { opacity: .3; cursor: not-allowed; }
.cal__nav svg { width: 1rem; height: 1rem; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .35rem; text-align: center; }
.cal__dow { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sc-ink-soft); padding-block: .4rem; font-weight: 500; }
.cal__day { aspect-ratio: 1; min-height: 2.6rem; max-height: 3.5rem; display: grid; place-items: center; border: 1px solid transparent; background: transparent; border-radius: var(--sc-r-sm); cursor: pointer; font-variant-numeric: tabular-nums; color: var(--sc-ink); font-size: .95rem; transition: background-color 140ms var(--sc-ease-out), border-color 140ms; }
.cal__day:disabled { color: color-mix(in oklab, var(--sc-ink) 26%, transparent); cursor: not-allowed; opacity: .45; }
.cal__day.is-full { text-decoration: line-through; text-decoration-color: var(--burgundy); opacity: .4; cursor: not-allowed; }
.cal__day.is-full:not(.is-today) { background: color-mix(in oklab, var(--ivory) 60%, transparent); }
.cal__day.is-today { border-color: var(--gold); }
.cal__day[aria-pressed="true"] { background: var(--burgundy); color: #fff; opacity: 1; }
@media (hover: hover) and (pointer: fine) { .cal__day:not(:disabled):not([aria-pressed="true"]):hover { background: var(--ivory); border-color: var(--sc-hairline); } }
/* one-tap graduation days for the chosen university, above the calendar */
.ceremony { display: grid; gap: .7rem; margin-bottom: 1rem; padding: 1rem 1.2rem; border: 1px solid color-mix(in oklab, var(--gold) 45%, transparent); border-radius: var(--sc-r-sm); background: color-mix(in oklab, var(--ivory) 70%, transparent); }
.ceremony[hidden] { display: none; }
.ceremony__label { margin: 0; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); font-weight: 500; }
.ceremony__days { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: .6rem; }
.ceremony__day { display: grid; gap: .15rem; text-align: left; padding: .8rem 1rem; border: 1px solid color-mix(in oklab, var(--sc-ink) 18%, transparent); border-radius: var(--sc-r-sm); background: var(--paper); color: var(--sc-ink); font: inherit; cursor: pointer; transition: background-color 140ms var(--sc-ease-out), border-color 140ms; }
.ceremony__day strong { font-family: var(--sc-font-display); font-weight: 400; font-size: 1.25rem; line-height: 1.1; }
.ceremony__day span { font-size: .88rem; color: var(--sc-ink-soft); }
.ceremony__day em { font-style: normal; font-size: .75rem; color: var(--burgundy); }
.ceremony__day[aria-pressed="true"] { background: var(--burgundy); border-color: var(--burgundy); color: #fff; }
.ceremony__day[aria-pressed="true"] span { color: rgba(255, 255, 255, .85); }
.ceremony__day:disabled { opacity: .5; cursor: not-allowed; }
@media (hover: hover) and (pointer: fine) { .ceremony__day:not(:disabled):not([aria-pressed="true"]):hover { border-color: var(--gold); background: var(--ivory); } }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr)); gap: .6rem; }
.slot { position: relative; }
.slot input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.slot label { display: grid; gap: .1rem; padding: .75rem .9rem; border: 1px solid color-mix(in oklab, var(--sc-ink) 18%, transparent); border-radius: var(--sc-r-sm); cursor: pointer; transition: border-color 140ms, background-color 140ms; }
.slot label b { font-family: var(--sc-font-display); font-weight: 400; font-size: 1.25rem; font-variant-numeric: lining-nums tabular-nums; }
.slot label small { font-size: .78rem; color: var(--sc-ink-soft); }
.slot input:checked + label { border-color: var(--burgundy); background: var(--burgundy); color: #fff; }
.slot input:checked + label small { color: #F1DCDF; }
.slot input:focus-visible + label { outline: 2px solid var(--burgundy); outline-offset: 3px; }
.slot input:disabled + label { opacity: .4; text-decoration: line-through; cursor: not-allowed; }

.summary { position: sticky; top: calc(var(--header-h) + 1.5rem); background: var(--ivory); padding: 1.8rem 1.6rem; border-radius: var(--sc-r-sm); display: grid; gap: 1.1rem; border-top: 2px solid var(--gold); }
.summary h2 { font-family: var(--sc-font-display); font-weight: 400; font-size: 1.6rem; margin: 0; }
.summary dl { margin: 0; display: grid; gap: .7rem; }
.summary dl div { display: flex; justify-content: space-between; gap: 1rem; font-size: .95rem; }
.summary dt { color: var(--sc-ink-soft); }
.summary dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 1rem; border-top: 1px solid var(--rule-gold); }
.summary__total strong { font-family: var(--sc-font-display); font-weight: 400; font-size: 1.8rem; font-variant-numeric: lining-nums tabular-nums; }
.summary small { color: var(--sc-ink-soft); font-size: .85rem; line-height: 1.5; }

.review { display: grid; gap: 0; border-top: 1px solid var(--rule-gold); }
.review div { display: grid; grid-template-columns: 11rem minmax(0, 1fr) auto; gap: 1rem; padding-block: 1rem; border-bottom: 1px solid var(--sc-hairline); align-items: baseline; }
.review dt { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sc-ink-soft); font-weight: 500; }
.review dd { margin: 0; }
.review button { border: 0; background: none; color: var(--burgundy); cursor: pointer; font-size: .85rem; text-decoration: underline; text-underline-offset: .3em; padding: .4rem; }
.notice { padding: 1.1rem 1.2rem; background: var(--ivory); border-left: 1px solid var(--gold); font-size: .95rem; color: var(--sc-ink-soft); }

.done { display: grid; gap: 1.2rem; justify-items: start; padding-block: 1rem 2rem; }
.done > * { margin: 0; }
.done__actions { margin-top: .6rem !important; }
.done__ref { font-family: var(--sc-font-display); font-size: 1.5rem; color: var(--burgundy); letter-spacing: .02em; }
.done__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---- About ------------------------------------------------------------ */
.about-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.about-split figure { margin: 0; display: grid; gap: .75rem; }
.about-split img { width: 100%; height: auto; border-radius: var(--sc-r-sm); }
.about-split .sc-stack > * + * { margin-top: 1.5rem; }
.about-split .lede { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); line-height: 1.25; font-weight: 400; }
.about-litany { margin: 0; font-family: var(--sc-font-display); font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); line-height: 1.3; color: var(--sc-ink); text-wrap: pretty; }
.about-litany em { font-style: normal; font-weight: 300; color: var(--burgundy); }
.journey--flush { margin-bottom: 0; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 3rem); }
.values > div { display: grid; gap: .6rem; align-content: start; padding-top: 1.2rem; border-top: 1px solid var(--rule-gold); }
.values h3 { font-family: var(--sc-font-display); font-weight: 500; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); margin: 0; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.4rem; }
.contact__list li { display: grid; gap: .25rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--sc-hairline); }
.contact__list .label { font-size: .7rem; }
.contact__list a, .contact__list span.val { font-family: var(--sc-font-display); font-size: 1.35rem; color: var(--sc-ink); text-decoration: none; overflow-wrap: anywhere; }
.form { display: grid; gap: 1.2rem; }

/* ============================================================ RESPONSIVE == */
@media (max-width: 1100px) {
  .studio__gallery { grid-column: 1 / span 7; }
  .studio__text { grid-column: 8 / span 5; }
}
@media (max-width: 900px) {
  :root { --header-h: 4.25rem; }
  .cover__grid { grid-template-columns: 1fr; align-items: start; min-height: 0; gap: 2.5rem; padding-top: 1rem; }
  .cover__copy { padding-bottom: 0; }
  .display--hero { font-size: clamp(2.5rem, 1.2rem + 7vw, 3.6rem); }
  .arch { width: min(86%, 26rem); margin-top: 2.2rem; }
  .arch__seal { left: -6%; bottom: 8%; }

  .studio__grid { grid-template-columns: 1fr; row-gap: 2.5rem; }
  .studio__text { grid-column: 1; order: -1; position: static; }
  .studio__gallery { grid-column: 1; gap: .9rem; }
  .studio__col { gap: 2rem; }
  .studio__col--b { padding-top: 4.5rem; }
  .studio__meter { display: none; }

  .celebration__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .celebration__text, .celebration__media { grid-column: 1 / -1; }
  .celebration__inset { width: 38%; left: auto; right: -2%; bottom: -16%; }
    .celebration { padding-bottom: clamp(6rem, 18vw, 9rem); }

  .service__head { grid-template-columns: 1fr; }
  .order__row { grid-template-columns: 2.2rem minmax(0, 1fr); row-gap: 1rem; }
  .order__group { grid-template-columns: 2.2rem minmax(0, 1fr); }
  .order__list { grid-column: 2; }
  .order__price { grid-column: 2; text-align: left; justify-items: start; grid-auto-flow: column; align-items: center; justify-content: space-between; }

  .seat { grid-template-columns: 1fr; row-gap: 2rem; }
  /* phone order: heading, the form, then the scroll */
  .seat__form { display: contents; }
  .seat__form > .proc-head { order: 0; }
  .seat__fields { order: 1; }
  .seat__form > div:last-child { order: 2; }
  .diploma { order: 3; margin-block: 1.5rem 2.6rem; }
  /* the package list moves under the reserve form (home.js) */
  .service { padding-bottom: clamp(3rem, 8vw, 4rem); }
  .pkg-slot:has(.pkg-block) { display: block; padding-block: clamp(3.5rem, 12vw, 5rem) 1rem; }
  .pkg-slot__head { display: grid; gap: .8rem; margin-bottom: 2rem; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__grid > :first-child { grid-column: 1 / -1; }

  .book__grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .steps li .step-name { display: none; }
  .row-2 { grid-template-columns: 1fr; }
  .review div { grid-template-columns: 1fr auto; }
  .review dd { grid-column: 1; }
  .review button { grid-column: 2; grid-row: 1 / span 2; }

  .about-split, .contact { grid-template-columns: 1fr; }
    .lightbox__stage { padding-inline: .75rem; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: -4rem; translate: none; }
  .lightbox__img { max-height: calc(100svh - 14rem); }
}
@media (max-width: 560px) {
  .rail__item { flex-basis: 64vw; }
  .rail__item:nth-of-type(even) { transform: translateY(-1.2rem); }
  .rail__lead { flex-basis: 78vw; }
  .rail__end { flex-basis: 70vw; }
  .print { width: 6.4rem; padding: .3rem .3rem 1rem; }
  .masonry { columns: 2; }
  .foot__grid { grid-template-columns: 1fr; }
}


/* The programme folio sits in the left margin from 1101px; keep the rail's
   opening heading clear of it at every rail position. */
@media (min-width: 1101px) {
  .rail { padding-left: calc(var(--sc-gutter) + 3.5rem); }
}
