/* Class of 2027 (STAGING 2026-11-15) — the graduate's magazine, a layer over the gatefold engine (site/class/class.js). Scoped to
   html.cl-on. Zero AI imagery: SVG + CSS. Google Fonts: Bodoni Moda (masthead, numerals, names), Archivo (caps, text) — both OFL.
   The engine's theme gives --paper / --ink / --accent (= the school colour). --cl-acc-ink = the school colour as TEXT on the paper
   (Gold & Ink: deep gold, the bright cap gold is too faint on cream); --cl-btn-ink = type on the school-colour button. */
html.cl-on {
  --cl-paper: var(--paper); --cl-ink: #141414; --cl-acc: var(--accent); --cl-acc-ink: var(--accent); --cl-btn-ink: #fff; --cl-gold: #c9a24a; --cl-gold-ink: #8a6410;
  --cl-bd: 'SwacHyphen', 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif; --cl-sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --cl-mapbg: color-mix(in srgb, var(--paper) 86%, #b7ab92); --cl-block: color-mix(in srgb, var(--paper) 70%, #c9bfa9); --cl-road: #fffdf8;
  --cl-park: #c9d3b2; --cl-park2: #a9b98c; --cl-env: #efe6cf; --cl-env2: #f8f2e2;
  --cl-shadow: rgba(20, 16, 8, .5); --cl-k: 1; --cl-pad: 20px;
}
html.cl-on:not([data-variant]), html.cl-on[data-variant="gold"] { --cl-acc-ink: #8a6410; --cl-btn-ink: #141414; }
html.cl-on[data-variant="royal"] { --cl-mapbg: color-mix(in srgb, var(--paper) 84%, #a9b0c4); --cl-block: color-mix(in srgb, var(--paper) 68%, #bcc2d4); --cl-env: #e9ebf2; --cl-env2: #f5f6fa; }
html.cl-on[data-variant="forest"] { --cl-park: #bccbaa; }

html.cl-on, html.cl-on body { background: var(--table); }
html.cl-on .app { background: var(--paper-img) repeat 0 0 / 256px, var(--paper); font-family: var(--cl-sans); }
.cl-on .foil { background: linear-gradient(115deg, #7e5e17 0%, #d9b24e 22%, #fff0b5 38%, #d3a63a 52%, #9c7520 70%, #e8c766 88%, #8a671a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ───────── the hero ───────── */
html.cl-on .hero { background: var(--paper); }
html.cl-on .hero .hint, html.cl-on .hero .hn { opacity: 0 !important; pointer-events: none; }
html.cl-on .hero > .card { visibility: hidden; }
html.cl-on .hero > .card * { animation: none !important; transition: none !important; }
.cl { position: absolute; inset: 0; z-index: 6; overflow: hidden; background: #0d0d0d; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; cursor: pointer;
  font-family: var(--cl-sans); --k: var(--cl-k, 1); --pad: var(--cl-pad, 20px); }
.cl.open { cursor: default; }
.cl.done { pointer-events: none; }

/* the magazine cover (under the folder) */
.cl-mag { position: absolute; inset: 0; display: flex; flex-direction: column; padding: calc(16px * var(--k) + env(safe-area-inset-top, 0px)) var(--pad) calc(40px * var(--k)); color: var(--cl-ink);
  background: var(--paper-img) repeat 0 0 / 256px, var(--paper); transform-origin: 60% 50%; }
.cl-mast { text-align: center; line-height: 0; }
.cl-mw { display: inline-block; overflow: hidden; padding: .2em .04em 0; margin-top: -.2em; }
.cl-mt, .cl-meas.mt { display: inline-block; font: 900 var(--cl-mf, 52px)/.94 var(--cl-bd); font-optical-sizing: auto; letter-spacing: -.02em; text-transform: uppercase; white-space: nowrap; }
.cl-strip { position: relative; margin-top: calc(9px * var(--k)); padding: 7px 0 6px; }
.cl-r1, .cl-r2 { position: absolute; left: 0; right: 0; display: block; background: var(--cl-ink); }
.cl-r1 { top: 0; height: 1.5px; transform-origin: 0 50%; } .cl-r2 { bottom: 0; height: 1px; transform-origin: 100% 50%; }
.cl-st { display: flex; justify-content: space-between; gap: 10px; }
.cl-st span, .cl-meas.st { font: 600 10px/1.3 var(--cl-sans); font-variation-settings: "wdth" 80; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.cl.st-short .cl-ed { display: none; }
.cl-ph { position: relative; flex: 1 1 auto; min-height: 120px; margin-top: calc(13px * var(--k)); }
.cl-phf { position: absolute; inset: 0; display: block; background: var(--cl-acc); box-shadow: 0 1px 2px var(--cl-shadow), 0 18px 24px -14px var(--cl-shadow); transform-origin: 50% 100%; }
.cl-win { position: absolute; inset: 7px; overflow: hidden; background: var(--cl-ink); }
.cl-win::after { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; box-shadow: inset 0 2px 9px rgba(0, 0, 0, .38), inset 0 0 22px rgba(0, 0, 0, .14); }
.cl-pw { position: absolute; inset: 0; display: block; overflow: hidden; }
.cl-pw img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.cl-slug { position: absolute; inset: -1px; z-index: 2; display: block; background: var(--cl-ink); }
.cl-seal { position: absolute; z-index: 4; left: -12px; bottom: calc(18px * var(--k)); width: calc(84px * var(--k)); height: calc(84px * var(--k)); filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .3)); transform: rotate(-12deg); }
.cl-seal svg { width: 100%; height: 100%; display: block; }
.cl-sl { position: absolute; left: 0; right: 0; top: 52%; text-align: center; color: #4a360c; line-height: 1; }
.cl-sl b { display: block; font: 700 calc(7.4px * var(--k)) / 1 var(--cl-sans); font-variation-settings: "wdth" 80; letter-spacing: .2em; padding-left: .2em; text-transform: uppercase; }
.cl-sl i { display: block; font: 700 calc(16px * var(--k)) / 1 var(--cl-bd); font-style: normal; margin-top: 2px; }
/* slow gold confetti on the cover photo (inside its window only) */
.cl-conf { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; --fall: 110%; }
.cl.done .cl-conf { opacity: 1; transition: opacity 1.2s ease .2s; }
.cl-conf i, .cl-econf i { position: absolute; left: var(--x); top: -12px; width: var(--s); height: calc(var(--s) * .55); background: linear-gradient(115deg, #a37b25, #f3dc93 45%, #c1912e); opacity: var(--o); border-radius: 1px;
  animation: clFall var(--d) linear var(--w) infinite; animation-play-state: paused; will-change: transform; }
.cl-conf i.dt, .cl-econf i.dt { width: calc(var(--s) * .7); height: calc(var(--s) * .7); border-radius: 50%; }
.cl-conf i.rb, .cl-econf i.rb { height: calc(var(--s) * 1.5); width: calc(var(--s) * .32); background: var(--cl-acc); opacity: calc(var(--o) * .8); }
.cl.done .cl-conf i, .cl-econf.on i { animation-play-state: running; }
@keyframes clFall { from { transform: translate3d(0, 0, 0) rotate(var(--r)); } to { transform: translate3d(var(--sw), var(--fall, 260px), 0) rotate(calc(var(--r) + var(--rr))); } }
.cl-lines { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-top: calc(13px * var(--k)); }
.cl-ll { min-width: 0; flex: 1 1 auto; }
.cl-cs { font: 700 11px/1.3 var(--cl-sans); font-variation-settings: "wdth" 80; letter-spacing: .24em; text-transform: uppercase; color: var(--cl-acc-ink); }
.cl-nm, .cl-meas.nm { margin: calc(5px * var(--k)) 0 0; font: italic 500 var(--cl-nf, 40px)/1.02 var(--cl-bd); letter-spacing: -.005em; white-space: nowrap; color: var(--cl-ink); }
.cl.nm-wide .cl-yy { display: none; }
.cl.nm-wrap .cl-nm { white-space: normal; text-wrap: balance; line-height: 1.04; }
.cl-sb { margin-top: calc(7px * var(--k)); font: 400 13.5px/1.35 var(--cl-sans); white-space: nowrap; overflow: hidden; }
.cl-sb i { font-style: normal; margin: 0 .45em; color: var(--cl-acc-ink); }
.cl-sb.tight { font-size: 12.5px; } .cl-sb.wrap { white-space: normal; } .cl-sb.wrap i { display: none; } .cl-sb.wrap span { display: block; }
.cl-yy { flex: none; font: 800 min(calc(82px * var(--k)), 84px)/.74 var(--cl-bd); letter-spacing: -.04em; color: var(--cl-acc-ink); padding-bottom: 2px; }
.cl-foot { margin-top: calc(11px * var(--k)); padding-top: 9px; border-top: 1px solid color-mix(in srgb, var(--cl-ink) 30%, transparent); text-align: center; white-space: nowrap; overflow: hidden;
  font: 600 10.5px/1.4 var(--cl-sans); font-variation-settings: "wdth" 82; letter-spacing: .2em; text-transform: uppercase; }
.cl-foot i { font-style: normal; margin: 0 .5em; color: var(--cl-acc-ink); }
.cl-foot.tight { letter-spacing: .1em; } .cl-foot.wrap { white-space: normal; text-wrap: balance; }
/* QA 2026-11-18 round 2: a wrapped foot line broke inside the city ("SAN / ANTONIO, TX") → the place takes its own second line whole */
.cl-foot.wrap span { white-space: nowrap; } .cl-foot.wrap i:last-of-type { display: none; } .cl-foot.wrap span:last-child { display: block; white-space: normal; }
/* no photo: a typographic plate in the frame (the cap, "Class of", the year, a laurel) */
.cl-type { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: radial-gradient(120% 80% at 50% 40%, #262626, #0b0b0b); }
.cl-tcap { width: calc(100px * var(--k)); height: auto; }
.cl-tk { margin-top: calc(14px * var(--k)); font: 600 calc(13px * var(--k)) / 1 var(--cl-sans); font-variation-settings: "wdth" 80; letter-spacing: .5em; padding-left: .5em; text-transform: uppercase; color: #d9b24e; }
.cl-ty { margin-top: calc(6px * var(--k)); font: 600 min(calc(96px * var(--k)), 26vw) / 1 var(--cl-bd); background: linear-gradient(115deg, #7e5e17 0%, #d9b24e 22%, #fff0b5 38%, #d3a63a 52%, #9c7520 70%, #e8c766 88%, #8a671a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.cl-twr { margin-top: calc(4px * var(--k)); width: calc(150px * var(--k)); height: auto; }
.cl-meas { position: absolute; left: -9999px; top: 0; white-space: nowrap; visibility: hidden; }
.cl-meas.mt, .cl-meas.nm, .cl-meas.fn { font-size: 100px; }
.cl-meas.fn { font: italic 400 100px/1 var(--cl-bd); }
.cl-meas.yy { font: 800 100px/1 var(--cl-bd); letter-spacing: -.04em; }

/* the diploma folder */
.cl-shade { position: absolute; inset: 0; z-index: 3; display: block; pointer-events: none; background: linear-gradient(90deg, rgba(8, 6, 2, .72), rgba(8, 6, 2, .35) 70%, rgba(8, 6, 2, .2)); }
.cl-persp { position: absolute; inset: 0; z-index: 4; perspective: var(--cl-per, 1400px); perspective-origin: 0 50%; pointer-events: none; }
.cl-cover { position: absolute; inset: 0; transform-origin: 0 50%; -webkit-backface-visibility: hidden; backface-visibility: hidden; overflow: hidden;
  background: radial-gradient(120% 80% at 50% 40%, #252525, #0b0b0b); box-shadow: inset 0 0 60px rgba(0, 0, 0, .55); }
.cl-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, .0), rgba(255, 255, 255, .07) 60%, rgba(0, 0, 0, .55)); opacity: 0; }
.cl-grain { position: absolute; inset: 0; background: var(--paper-img) repeat 0 0 / 256px; opacity: .55; mix-blend-mode: screen; }
.cl-b1, .cl-b2 { position: absolute; display: block; border: 1.5px solid var(--cl-gold); opacity: .9; }
.cl-b1 { inset: 18px; } .cl-b2 { inset: 25px; border-width: .75px; opacity: .6; }
.cl-spine { position: absolute; left: 0; top: 0; bottom: 0; width: 12px; display: block; background: linear-gradient(90deg, rgba(0, 0, 0, .55), rgba(255, 255, 255, .05) 70%, rgba(0, 0, 0, 0)); }
.cl-fc { position: absolute; left: 34px; right: 34px; top: calc(var(--cl-th, 200px) + 6px); bottom: calc(96px * var(--k) + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; justify-content: center; text-align: center; }
.cl-fcap { display: block; margin: 0 auto; width: calc(92px * var(--k)); height: auto; }
.cl-fk { margin-top: calc(20px * var(--k)); font: 600 calc(13.5px * var(--k)) / 1.2 var(--cl-sans); font-variation-settings: "wdth" 80; letter-spacing: .5em; padding-left: .5em; text-transform: uppercase; }
.cl-fy { margin-top: calc(4px * var(--k)); font: 600 min(calc(112px * var(--k)), 30vw) / 1.02 var(--cl-bd); font-optical-sizing: auto; }
.cl-frl { display: block; width: 60px; height: 1px; margin: calc(16px * var(--k)) auto 0; background: var(--cl-gold); opacity: .8; }
.cl-fn { margin-top: calc(15px * var(--k)); font: italic 400 var(--cl-fnf, 30px)/1.25 var(--cl-bd); white-space: nowrap; }
.cl-fn span { padding: 0 .08em; }
.cl-fd { margin-top: calc(12px * var(--k)); font: 600 10.5px/1.4 var(--cl-sans); font-variation-settings: "wdth" 82; letter-spacing: .26em; padding-left: .26em; text-transform: uppercase; color: #b9974a; white-space: nowrap; }
/* the tassel: hangs from the top edge on the right; turned to the left at the tap */
.cl-tas { position: absolute; z-index: 5; top: calc(var(--cl-th, 200px) - 330px); left: calc(80% - 30px); width: 60px; height: 330px; pointer-events: none; filter: drop-shadow(2px 6px 5px rgba(0, 0, 0, .45)); }
.cl-tmv, .cl-tsw { position: absolute; inset: 0; }
.cl-tsw { transform-origin: 30px calc(330px - var(--cl-th, 200px)); animation: clIdle 5.5s ease-in-out infinite; }
.cl-tsw svg { display: block; }
@keyframes clIdle { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(1.6deg); } }
/* the hint: gold on black, a pulsing dot */
.cl-hint { position: absolute; z-index: 6; left: 50%; bottom: calc(52px * var(--k) + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: inline-flex; align-items: center; gap: 14px; margin: 0; padding: 12px 18px; border: 0; background: none;
  font: 700 11.5px/1 var(--cl-sans); font-variation-settings: "wdth" 85; letter-spacing: .24em; text-transform: uppercase; color: #d9b24e; white-space: nowrap; cursor: pointer; opacity: 0; transition: opacity .6s ease; }
.cl-hint i { position: relative; display: block; width: 8px; height: 8px; border-radius: 50%; background: #d9b24e; }
.cl-hint i::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid #d9b24e; animation: clRing 1.8s ease-out infinite; }
@keyframes clRing { from { transform: scale(.5); opacity: .9; } to { transform: scale(1.5); opacity: 0; } }
.cl.fonts .cl-hint { opacity: 1; }
@media (max-height: 560px) { .cl-fcap { width: 64px; } .cl-fk { margin-top: 10px; } .cl-fy { font-size: 78px; } .cl-frl { margin-top: 10px; } .cl-fn { margin-top: 9px; } .cl-fd { margin-top: 8px; } .cl-hint { bottom: 34px; } .cl-fc { bottom: 72px; } }
@media (max-width: 350px) { .cl-hint { letter-spacing: .16em; font-size: 11px; gap: 11px; } }
.cl-hint:focus-visible { outline: 1px solid #d9b24e; outline-offset: 2px; }

/* ───────── the opening (≈ 2.4 s): tassel turned → the folder opens towards the guest → the cover is set ───────── */
.cl-tmv, .cl-tsw svg, .cl-cover, .cl-shade, .cl-mag, .cl-mt, .cl-r1, .cl-r2, .cl-st, .cl-phf, .cl-slug, .cl-cpw, .cl-cs, .cl-nm, .cl-sb, .cl-yy, .cl-foot, .cl-seal, .cl-tas, .cl-hint { will-change: transform, opacity; }
.cl:not(.open) .cl-mag { transform: scale(1.035); }
.cl:not(.open) .cl-mt { transform: translate3d(0, 106%, 0); }
.cl:not(.open) .cl-r1, .cl:not(.open) .cl-r2 { transform: scaleX(0); }
.cl:not(.open) .cl-st, .cl:not(.open) .cl-cs, .cl:not(.open) .cl-nm, .cl:not(.open) .cl-sb, .cl:not(.open) .cl-foot, .cl:not(.open) .cl-yy, .cl:not(.open) .cl-seal { opacity: 0; }
.cl:not(.open) .cl-phf { transform: scaleY(.9); }
.cl:not(.open) .cl-cpw { transform: scale(1.07); }
.cl.open .cl-hint { opacity: 0; transition: opacity .25s ease; }
.cl.open .cl-tsw { animation: none; }
.cl.open .cl-tmv { animation: clTurn .82s cubic-bezier(.45, .05, .3, 1) both; }
.cl.open .cl-tsw svg { transform-origin: 30px calc(330px - var(--cl-th, 200px)); animation: clSwing 1.6s linear both; }
.cl.open .cl-tas { animation: clTasOut .5s cubic-bezier(.5, 0, .7, .4) .86s both; }
.cl.open .cl-cover { animation: clOpen 1.05s cubic-bezier(.62, .02, .3, 1) .74s both; }
.cl.open .cl-cover::after { animation: clCoverLit 1.05s ease-in .74s both; }
.cl.open .cl-shade { animation: clShade 1.1s ease-out .86s both; }
.cl.open .cl-mag { animation: clSettle 1.5s cubic-bezier(.2, .7, .2, 1) .8s both; }
.cl.open .cl-mt { animation: clRise .62s cubic-bezier(.2, .8, .2, 1) 1.16s both; }
.cl.open .cl-r1 { animation: clRule .55s cubic-bezier(.6, 0, .2, 1) 1.22s both; }
.cl.open .cl-r2 { animation: clRule .55s cubic-bezier(.6, 0, .2, 1) 1.3s both; }
.cl.open .cl-st { animation: clFade .5s ease 1.42s both; }
.cl.open .cl-phf { animation: clFrame .55s cubic-bezier(.2, .8, .2, 1) 1.05s both; }
.cl.open .cl-slug { animation: clCut .46s cubic-bezier(.7, 0, .2, 1) 1.2s both; }
.cl.open .cl-cpw { animation: clPhoto 1.3s cubic-bezier(.2, .7, .2, 1) 1.2s both; }
.cl.open .cl-cs { animation: clUp .5s ease-out 1.66s both; }
.cl.open .cl-nm { animation: clUp .6s cubic-bezier(.2, .8, .2, 1) 1.74s both; }
.cl.open .cl-sb { animation: clUp .5s ease-out 1.88s both; }
.cl.open .cl-yy { animation: clIn .7s cubic-bezier(.2, .8, .2, 1) 1.7s both; }
.cl.open .cl-foot { animation: clUp .5s ease-out 1.98s both; }
.cl.open .cl-seal { animation: clStamp .5s cubic-bezier(.3, 1.5, .5, 1) 2.02s both; }
@keyframes clTurn { 0% { transform: translate3d(0, 0, 0); } 45% { transform: translate3d(calc(var(--cl-tx, -250px) * .5), -16px, 0); } 100% { transform: translate3d(var(--cl-tx, -250px), 0, 0); } }
@keyframes clSwing { 0% { transform: rotate(0); } 18% { transform: rotate(-13deg); } 42% { transform: rotate(-7deg); } 56% { transform: rotate(9deg); } 70% { transform: rotate(-4.5deg); } 84% { transform: rotate(2deg); } 100% { transform: rotate(0); } }
@keyframes clTasOut { from { opacity: 1; transform: translate3d(0, 0, 0); } to { opacity: 0; transform: translate3d(-34px, -18px, 0); } }
@keyframes clOpen { from { transform: rotateY(0); } to { transform: rotateY(-97deg); } }
@keyframes clCoverLit { from { opacity: 0; } to { opacity: 1; } }
@keyframes clShade { from { opacity: 1; } to { opacity: 0; } }
@keyframes clSettle { from { transform: scale(1.035); } to { transform: none; } }
@keyframes clRise { from { transform: translate3d(0, 106%, 0); } to { transform: none; } }
@keyframes clRule { from { transform: scaleX(0); } to { transform: none; } }
@keyframes clFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes clFrame { from { transform: scaleY(.9); } to { transform: none; } }
@keyframes clCut { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -101%, 0); } }
@keyframes clPhoto { from { transform: scale(1.07); } to { transform: none; } }
@keyframes clUp { from { opacity: 0; transform: translate3d(0, 12px, 0); } to { opacity: 1; transform: none; } }
@keyframes clIn { from { opacity: 0; transform: translate3d(22px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes clStamp { from { opacity: 0; transform: rotate(-34deg) scale(1.5); } to { opacity: 1; transform: rotate(-12deg); } }
.cl.done .cl-persp, .cl.done .cl-tas, .cl.done .cl-hint, .cl.done .cl-shade, .cl.done .cl-slug { display: none; }
.cl.done { background: var(--paper); }
/* ?open and reduced motion: the finished cover at once */
.cl.instant *, .cl.instant { transition: none !important; animation-duration: 0s !important; animation-delay: 0s !important; }
.cl.instant .cl-conf i { animation-duration: var(--d) !important; animation-delay: var(--w) !important; }
/* the scroll cue: a small chevron under the foot line */
html.cl-on .hero .cue { z-index: 8; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
html.cl-on .hero .cue span { display: none; }
html.cl-on .hero .cue i { width: 9px; height: 9px; margin: 0 auto; background: none; border: solid var(--cl-ink); border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); animation: clCue 1.9s ease-in-out infinite; }
@keyframes clCue { 0%, 100% { transform: translateY(-3px) rotate(45deg); opacity: .45; } 50% { transform: translateY(2px) rotate(45deg); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .cl-conf i, .cl-econf i, .cl-tsw, .cl-hint i::after { animation: none !important; } }

/* ───────── the pages ───────── */
html.cl-on #content { position: relative; }
html.cl-on #content > .sec { isolation: isolate; position: relative; }
html.cl-on #content > .sec:not(.foot) { padding: 30px 28px 56px; }
html.cl-on #content .sec p { font-family: var(--cl-sans); font-weight: 400; font-size: 17px; line-height: 1.58; color: var(--cl-ink); max-width: 334px; }
html.cl-on .kicker { font: 700 11.5px/1.5 var(--cl-sans); font-variation-settings: "wdth" 82; letter-spacing: .26em; padding-left: .26em; text-transform: uppercase; color: var(--cl-acc-ink); }
html.cl-on.gf-serifheads h2.script, html.cl-on.gf-serifheads .note h2.script, html.cl-on .kicker.cl-h, html.cl-on .cl-h2 { font: 500 40px/1.04 var(--cl-bd); font-optical-sizing: auto; letter-spacing: -.01em; padding-left: 0; text-transform: none; color: var(--cl-ink);
  margin: 12px auto 0; max-width: 334px; text-wrap: balance; }
html.cl-on .cl-h2 i, html.cl-on .kicker.cl-h i { font-style: italic; }
html.cl-on.gf-serifheads h2.script::after { display: none; }
@media (max-width: 350px) { html.cl-on.gf-serifheads h2.script, html.cl-on.gf-serifheads .note h2.script, html.cl-on .kicker.cl-h, html.cl-on .cl-h2 { font-size: 34px; } html.cl-on #content > .sec:not(.foot) { padding-left: 22px; padding-right: 22px; } }
html.cl-on .cl-rule { display: block; width: min(100%, 334px); height: 1.5px; margin: 20px auto 0; background: var(--cl-ink); transform-origin: 50% 50%; }
html.cl-on .cl-rule[data-reveal]:not(.in) { transform: scaleX(.2); }
html.cl-on .cl-rule[data-reveal] { transition: transform 1s cubic-bezier(.6, 0, .2, 1), opacity .6s ease; }
html.cl-on .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 2px 26px 0 28.5px; border-radius: 0; border: 1.5px solid var(--cl-ink); background: transparent; box-shadow: none;
  font: 700 12.5px/1 var(--cl-sans); font-variation-settings: "wdth" 85; letter-spacing: .2em; text-transform: uppercase; color: var(--cl-ink); }
html.cl-on .btn.fill { min-height: 58px; min-width: min(100%, 270px); padding: 2px 30px 0 33px; border: 0; background: var(--cl-acc); color: var(--cl-btn-ink); font: 700 14px/1.2 var(--cl-sans); font-variation-settings: "wdth" 85; letter-spacing: .26em;
  box-shadow: 0 14px 22px -14px color-mix(in srgb, var(--cl-acc) 70%, #000); }
html.cl-on .divider { display: none; }
/* the running folio at the top of every page (magazine page header) */
.cl-folio { display: flex; justify-content: space-between; gap: 12px; max-width: 334px; margin: 0 auto 34px; padding-bottom: 9px; border-bottom: 1px solid color-mix(in srgb, var(--cl-ink) 32%, transparent); text-align: left;
  font: 600 9.5px/1.3 var(--cl-sans); font-variation-settings: "wdth" 80; letter-spacing: .2em; text-transform: uppercase; color: color-mix(in srgb, var(--cl-ink) 78%, transparent); }
.cl-folio .a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .cl-folio .b { flex: none; white-space: nowrap; }
html.cl-on .note-card .cl-folio { margin-bottom: 30px; }
/* vignettes: drawings in their own space */
.cl-vig { display: flex; justify-content: center; margin: 0 auto 18px; pointer-events: none; }
.cl-vig svg { display: block; height: auto; overflow: visible; }

/* the invitation: the diploma, the headline, a drop cap, the facts grid */
.cl-vig.dip { margin-bottom: 20px; }
.cl-vig.dip .roll { transform-box: view-box; transform-origin: 100px 47px; transition: transform 1s cubic-bezier(.2, .8, .2, 1) .1s; }
.cl-vig.dip .rib { transform-box: view-box; transform-origin: 100px 47px; transition: transform .7s cubic-bezier(.3, 1.5, .5, 1) .55s, opacity .3s ease .55s; }
.cl-vig.dip .sl { transform-box: view-box; transform-origin: 100px 47px; transition: transform .5s cubic-bezier(.3, 1.6, .5, 1) .9s, opacity .2s ease .9s; }
.cl-vig.dip:not(.in) .roll { transform: scaleX(.35); } .cl-vig.dip:not(.in) .rib { transform: scale(.3); opacity: 0; } .cl-vig.dip:not(.in) .sl { transform: scale(1.8); opacity: 0; }
html.cl-on .sec.invite .names-big { font: italic 500 46px/1.04 var(--cl-bd) !important; letter-spacing: -.01em; text-transform: none; color: var(--cl-acc-ink); margin: 18px 0 12px; }
html.cl-on .sec.invite .names-big .amp { font: inherit; color: var(--cl-ink); font-size: .7em; margin: 0 .2em; }
html.cl-on .sec.invite .dateline, html.cl-on .sec.invite .timeline-words { display: none; }
html.cl-on .sec.invite p.cl-drop { text-align: left; margin-left: auto; margin-right: auto; }
/* the initial sits close to its word (guest review 2026-11-19: 9px + the face's own side bearing read as "F our years") */
html.cl-on .sec.invite p.cl-drop::first-letter { font-family: var(--cl-bd); font-weight: 700; float: left; font-size: 66px; line-height: .8; padding: 7px 3px 0 0; color: var(--cl-acc-ink); }
.cl-grid { display: grid; grid-template-columns: 1fr 1fr; max-width: 334px; margin: 26px auto 0; text-align: left; border-top: 1.5px solid var(--cl-ink); }
.cl-grid > div { padding: 14px 0 15px; border-bottom: 1px solid color-mix(in srgb, var(--cl-ink) 28%, transparent); min-width: 0; }
.cl-grid > div:nth-child(odd) { padding-right: 14px; border-right: 1px solid color-mix(in srgb, var(--cl-ink) 28%, transparent); }
.cl-grid > div:nth-child(even) { padding-left: 16px; }
.cl-grid.odd > div:last-child { grid-column: 1 / -1; border-right: 0; padding-right: 0; text-align: center; }
.cl-grid .k { font: 700 10.5px/1.3 var(--cl-sans); font-variation-settings: "wdth" 80; letter-spacing: .24em; text-transform: uppercase; color: var(--cl-acc-ink); }
.cl-grid .v { margin-top: 6px; font: 500 20px/1.2 var(--cl-bd); overflow-wrap: anywhere; hyphens: auto; text-wrap: balance; }
.cl-grid .v small { display: block; margin-top: 4px; font: 400 14px/1.38 var(--cl-sans); }
.cl-grid .cl-pt { white-space: nowrap; } .cl-grid .cl-sep { font-style: normal; } /* QA 2026-11-18: parts of a small line wrap whole; .stack = one per line, no dangling " · " */
.cl-grid .cl-parts.stack .cl-pt { display: block; } .cl-grid .cl-parts.stack .cl-sep { display: none; }
@media (max-width: 350px) { .cl-grid .v { font-size: 18px; } .cl-grid .v small { font-size: 13px; } .cl-grid > div:nth-child(odd) { padding-right: 10px; } .cl-grid > div:nth-child(even) { padding-left: 11px; } }

/* the countdown: ink card, foil numerals */
html.cl-on .countdown .framed, html.cl-on .countdown .framed.plain { position: relative; max-width: 334px; margin: 0 auto; padding: 0; border: 0; border-radius: 0; overflow: hidden; color: #f2eee6;
  background: var(--paper-img) repeat 0 0 / 256px, radial-gradient(120% 90% at 50% 30%, #262626, #0d0d0d);
  box-shadow: 0 0 0 1px #0d0d0d, 0 20px 28px -16px rgba(20, 16, 8, .55), 0 2px 3px rgba(20, 16, 8, .2); }
html.cl-on .countdown .framed::before { content: ''; display: block; position: absolute; inset: 9px; border: 1px solid color-mix(in srgb, var(--cl-gold) 75%, transparent); pointer-events: none; z-index: 0; }
html.cl-on .countdown .framed::after { content: ''; display: block; position: absolute; inset: 14px; border: .6px solid color-mix(in srgb, var(--cl-gold) 45%, transparent); pointer-events: none; z-index: 0; }
html.cl-on .countdown .framed-in { position: relative; z-index: 1; border: 0; padding: 0 26px 84px; width: auto; height: auto; min-height: 150px; }
html.cl-on .countdown .framed-in::before, html.cl-on .countdown .framed-in::after { display: none; }
html.cl-on .countdown .kicker { color: #d9b24e; }
html.cl-on .countdown .cd-past { font: italic 500 34px/1.12 var(--cl-bd) !important; letter-spacing: -.005em !important; color: #f2eee6; text-wrap: balance; }
@media (max-width: 350px) { html.cl-on .countdown .cd-past { font-size: 29px !important; } }
html.cl-on .countdown .cd-past-date { font: 700 11.5px/1.4 var(--cl-sans) !important; font-variation-settings: "wdth" 82; letter-spacing: .26em !important; color: #d9b24e; opacity: 1 !important; margin-top: 14px !important; }
html.cl-on .countdown .cd-days b { font: 600 92px/.95 var(--cl-bd); background: linear-gradient(115deg, #7e5e17 0%, #d9b24e 22%, #fff0b5 38%, #d3a63a 52%, #9c7520 70%, #e8c766 88%, #8a671a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
html.cl-on .countdown .cd-days span, html.cl-on .countdown .cd-row span { font: 700 10.5px/1.4 var(--cl-sans); letter-spacing: .26em; text-transform: uppercase; color: rgba(242, 238, 230, .78); }
html.cl-on .countdown .cd-row { border: 0; border-top: 1px solid rgba(217, 178, 78, .35); margin-top: 16px; padding-top: 14px; }
html.cl-on .countdown .cd-row > div { border: 0; }
html.cl-on .countdown .cd-row b { font: 600 28px/1.1 var(--cl-bd); color: #f2eee6; }
html.cl-on .countdown .cd-t { font: italic 400 18px/1.4 var(--cl-bd); color: #f2eee6; opacity: .9; }
.cl-cdtop { position: relative; z-index: 1; padding-top: 30px; margin-bottom: 12px; display: flex; justify-content: center; }
.cl-cdtop svg { display: block; overflow: visible; }
.cl-cdtop .tsl, .cl-vig.mcap .tsl { transform-box: view-box; transform-origin: 100px 40px; animation: clTasselSway 4.8s ease-in-out infinite; }
@keyframes clTasselSway { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-7deg); } }
.cl-cdlaur { position: absolute; left: 0; right: 0; bottom: 24px; z-index: 1; display: flex; justify-content: center; pointer-events: none; }
.cl-cdlaur svg { display: block; overflow: visible; }
html.cl-on .countdown .btn { margin-top: 28px; }

/* the program: big numerals, a drawn icon per item */
.cl-vig.mcap { margin-bottom: 14px; }
.cl-vig.mcap .cp { transform-box: view-box; transform-origin: 60px 40px; transition: transform .8s cubic-bezier(.3, 1.4, .5, 1) .1s, opacity .4s ease .1s; }
.cl-vig.mcap:not(.in) .cp { transform: translateY(-16px) rotate(-14deg); opacity: 0; }
html.cl-on .schedule .prog { position: relative; max-width: 334px; margin: 22px auto 0; text-align: left; border-top: 1.5px solid var(--cl-ink); }
html.cl-on .schedule .prog::before { display: none; }
html.cl-on .schedule .prog li, html.cl-on .schedule .prog li.alt { display: grid; grid-template-columns: 58px minmax(0, 1fr) 36px; column-gap: 12px; align-items: start; padding: 22px 0 22px; border: 0; text-align: left; position: relative; background: none; }
html.cl-on .schedule .prog li + li, html.cl-on .schedule .prog li + li.alt { border-top: 1px solid color-mix(in srgb, var(--cl-ink) 26%, transparent); }
html.cl-on .schedule .prog .pi, html.cl-on .schedule .prog li.alt .pi { order: 0; grid-column: 1; width: auto; height: auto; margin: 0; display: block; background: none; box-shadow: none; border-radius: 0; }
html.cl-on .schedule .prog .pt, html.cl-on .schedule .prog li.alt .pt { grid-column: 2; order: 0; display: block; min-width: 0; text-align: left; }
html.cl-on .schedule .prog .cl-n { display: block; font: 800 48px/.84 var(--cl-bd); letter-spacing: -.02em; color: var(--cl-acc-ink); transform: translateY(8px); opacity: 0; transition: transform .7s cubic-bezier(.2, .8, .2, 1) .1s, opacity .5s ease .1s; }
html.cl-on .schedule .prog li.in .cl-n, html.cl-on .schedule .prog li.in .pi .cl-n { transform: none; opacity: 1; }
.cl-ic { grid-column: 3; display: block; width: 36px; height: 32px; margin-top: 2px; opacity: 0; transform: scale(.6) rotate(-12deg); transition: transform .6s cubic-bezier(.3, 1.5, .5, 1) .3s, opacity .3s ease .3s; }
.cl-ic svg { display: block; overflow: visible; }
html.cl-on .schedule .prog li.in .cl-ic { opacity: 1; transform: none; }
html.cl-on .schedule .prog .pt time { display: block; font: 700 11.5px/1.4 var(--cl-sans); font-variation-settings: "wdth" 80; letter-spacing: .22em; text-transform: uppercase; color: var(--cl-ink); }
html.cl-on .schedule .prog .pt b { display: block; font: 500 23px/1.12 var(--cl-bd); letter-spacing: -.005em; text-transform: none; color: var(--cl-ink); margin: 5px 0 0; text-wrap: balance; }
html.cl-on .schedule .prog .pt span { display: block; font: 400 15px/1.45 var(--cl-sans); color: var(--cl-ink); opacity: .86; margin-top: 5px; }
@media (max-width: 350px) { html.cl-on .schedule .prog li, html.cl-on .schedule .prog li.alt { grid-template-columns: 46px minmax(0, 1fr) 30px; column-gap: 10px; } html.cl-on .schedule .prog .cl-n { font-size: 40px; } .cl-ic { transform-origin: 0 0; width: 30px; } .cl-ic svg { width: 30px; height: 27px; } html.cl-on .schedule .prog .pt b { font-size: 21px; } }
.cl-vig.toss { margin: 18px auto 0; }
.cl-vig.toss .tc, .cl-vig.toss .cf { transform-box: view-box; transition: transform 1.1s cubic-bezier(.15, .75, .25, 1), opacity .5s ease; }
.cl-vig.toss .tc.a { transition-delay: .05s; } .cl-vig.toss .tc.b { transition-delay: .15s; } .cl-vig.toss .tc.c { transition-delay: .25s; } .cl-vig.toss .tc.d { transition-delay: .1s; }
.cl-vig.toss:not(.in) .tc { transform: translateY(46px) rotate(18deg); opacity: 0; } .cl-vig.toss:not(.in) .tc.b, .cl-vig.toss:not(.in) .tc.d { transform: translateY(52px) rotate(-22deg); }
.cl-vig.toss:not(.in) .cf { transform: translateY(30px); opacity: 0; }
.cl-vig.toss .cf { transition-delay: .5s; }
.cl-vig.toss.in .tc { animation: clBob 6s ease-in-out 1.4s infinite; }
.cl-vig.toss.in .tc.b { animation-delay: 2.2s; } .cl-vig.toss.in .tc.c { animation-delay: 1.8s; } .cl-vig.toss.in .tc.d { animation-delay: 2.6s; }
@keyframes clBob { 0%, 100% { transform: none; } 50% { transform: translateY(-5px) rotate(2deg); } }

/* the feature page: deep frames, the quote, the stats */
html.cl-on .photos .kicker.cl-k2 { margin-bottom: 0; }
html.cl-on .photos .cl-rule { margin-top: 18px; }
.cl-feat { display: grid; grid-template-columns: 57% minmax(0, 1fr); gap: 14px; max-width: 334px; margin: 22px auto 0; text-align: left; }
.cl-fr { position: relative; margin: 0; padding: 6px; background: var(--cl-acc); box-shadow: 0 1px 2px rgba(20, 16, 8, .25), 0 16px 22px -12px rgba(20, 16, 8, .45); }
.cl-fr > .cl-pw { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; background: #1a1a1a; }
.cl-fr > .cl-pw::after { content: ''; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 2px 9px rgba(0, 0, 0, .38), inset 0 0 22px rgba(0, 0, 0, .14); }
.cl-big { align-self: start; aspect-ratio: 196 / 340; }
.cl-side { min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.cl-small { aspect-ratio: 4 / 5; background: var(--cl-ink); }
.cl-small.tile { background: var(--cl-acc); }
.cl-tile { background: radial-gradient(120% 90% at 50% 35%, #262626, #0d0d0d) !important; }
.cl-tile svg { position: absolute; inset: 0; }
.cl-q { margin: 0; padding: 0; border: 0; }
.cl-q span { display: block; font: italic 400 19px/1.28 var(--cl-bd); color: var(--cl-ink); text-wrap: balance; }
.cl-q::before { content: ''; display: block; width: 26px; height: 2px; margin-bottom: 12px; background: var(--cl-acc); }
@media (max-width: 350px) { .cl-q span { font-size: 17px; } .cl-feat { gap: 11px; } }
.cl-feat[data-reveal] { transition: opacity .8s ease, transform 1s cubic-bezier(.2, .8, .2, 1); }
.cl-feat[data-reveal]:not(.in) { transform: translateY(22px); }
/* smoothness: while it waits for its reveal the photo frame is at opacity .004 (invisible), not 0 — WebKit then paints and decodes
   the big photo ahead in the tiles below the screen, instead of decoding it synchronously in the frame it fades in (a 40–65 ms hitch) */
.cl-feat[data-reveal]:not(.in) { opacity: .004; }
.cl-wide { max-width: 334px; margin: 18px auto 0; aspect-ratio: 3 / 2; }
.cl-more { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 334px; margin: 18px auto 0; }
.cl-more .cl-fr { aspect-ratio: 4 / 5; }
.cl-more.odd .cl-fr:last-child { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
/* N4 (2026-11-22): frames follow their photo's shape (class.js fitShapes) — a landscape lead spans the page, the small photo and the
   quote sit side by side under it; a landscape gets its own row, a lone portrait sits centred at its own shape */
.cl-feat.wl { grid-template-columns: minmax(0, 1fr); }
.cl-feat.wl .cl-big { aspect-ratio: 3 / 2; }
.cl-feat.wl .cl-side { flex-direction: row; align-items: center; justify-content: flex-start; }
.cl-feat.wl .cl-small { flex: 0 0 46%; }
.cl-feat.wl .cl-q { flex: 1 1 auto; min-width: 0; }
.cl-more .cl-fr.row { grid-column: 1 / -1; }
.cl-more .cl-fr.solo { grid-column: 1 / -1; justify-self: center; width: calc(62% - 7px); }
.cl-stats { display: flex; max-width: 334px; margin: 26px auto 0; border-top: 1.5px solid var(--cl-ink); border-bottom: 1px solid var(--cl-ink); }
.cl-stats > div { flex: 1 1 0; min-width: 0; padding: 15px 4px 14px; text-align: center; }
.cl-stats > div + div { border-left: 1px solid color-mix(in srgb, var(--cl-ink) 28%, transparent); }
.cl-stats b { display: block; font: 700 34px/1 var(--cl-bd); color: var(--cl-acc-ink); }
@media (max-width: 350px) { .cl-stats b { font-size: 28px; } } /* QA 2026-11-18: "100%" ran 8 px out of its third at 320 px */
.cl-stats span { display: block; margin-top: 7px; text-wrap: balance; font: 700 10px/1.3 var(--cl-sans); font-variation-settings: "wdth" 80; letter-spacing: .2em; text-transform: uppercase; }

/* the venue: the drawn neighbourhood map */
.cl-map { position: relative; display: block; width: min(100%, 334px); aspect-ratio: 16 / 10; margin: 26px auto 24px; overflow: hidden; background: var(--cl-mapbg);
  box-shadow: 0 0 0 6px #fbf8f0, 0 0 0 7.2px color-mix(in srgb, var(--cl-ink) 26%, transparent), 0 20px 26px -14px rgba(20, 16, 8, .45); }
.cl-map svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.cl-map::after { content: ''; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 2px 8px rgba(0, 0, 0, .14); }
.cl-map .route { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.5s cubic-bezier(.4, 0, .2, 1) .35s; }
.cl-map.in .route { stroke-dashoffset: 0; }
.cl-map .pd { opacity: 0; transform: translateY(-18px); transition: transform .55s cubic-bezier(.3, 1.6, .5, 1) 1.5s, opacity .25s ease 1.5s; }
.cl-map.in .pd { opacity: 1; transform: none; }
.cl-map.in .pin { animation: clPin 3.2s ease-in-out 2.3s infinite; }
@keyframes clPin { 0%, 100% { transform: translate(215px, 54px); } 50% { transform: translate(215px, 50px); } }
html.cl-on .venue-name { font: 500 30px/1.1 var(--cl-bd); letter-spacing: -.005em; text-transform: none; color: var(--cl-ink); margin-top: 6px; text-wrap: balance; }
html.cl-on .venue .addr { font-size: 17px; color: var(--cl-ink); opacity: .86; }
html.cl-on .venue .when { font: 700 11.5px/1.6 var(--cl-sans) !important; font-variation-settings: "wdth" 82; letter-spacing: .14em; text-wrap: balance; text-transform: uppercase; color: var(--cl-acc-ink) !important; margin-top: 14px; }

/* dress code: the stole on a hanger; the school colours */
.cl-vig.stole { margin: 22px auto 14px; }
.cl-vig.stole .st { transform-box: view-box; transform-origin: 106px 44px; transition: transform 1s cubic-bezier(.3, 1.35, .5, 1) .2s, opacity .5s ease .2s; }
.cl-vig.stole:not(.in) .st { transform: translateY(-22px) rotate(-6deg); opacity: 0; }
html.cl-on .dress .dress-title { font: italic 500 28px/1.1 var(--cl-bd); letter-spacing: 0; text-transform: none; color: var(--cl-ink); }
html.cl-on .dress .palette { gap: 14px; margin-top: 24px; }
html.cl-on .dress .palette span { width: 40px; height: 40px; border-radius: 50%; transform: none; background: var(--c); background-image: none;
  box-shadow: 0 0 0 3px var(--paper), 0 0 0 4.2px color-mix(in srgb, var(--cl-ink) 26%, transparent), 0 8px 10px -6px rgba(20, 16, 8, .5); }

/* notes: no box; a vignette above the heading */
html.cl-on .note-card { padding: 0; border: 0; outline: 0; background: none; box-shadow: none; }
html.cl-on .note-card::before, html.cl-on .note-card::after { display: none; }
html.cl-on #content > .sec.note { padding-top: 30px; padding-bottom: 50px; }
.cl-vig.pen .fl { transform-box: view-box; transform-origin: 20px 28px; transition: transform .9s cubic-bezier(.3, 1.5, .5, 1) .25s; }
.note-card:not(.in) .cl-vig.pen .fl { transform: scaleX(.15) skewY(8deg); }
.note-card.in .cl-vig.pen .fl { animation: clFlutter 5s ease-in-out 1.4s infinite; }
@keyframes clFlutter { 0%, 100% { transform: none; } 50% { transform: skewY(2.5deg) scaleX(.97); } }
.cl-vig.env .cd { transform-box: view-box; transform-origin: 65px 40px; transition: transform .9s cubic-bezier(.3, 1.3, .5, 1) .35s; }
.note-card:not(.in) .cl-vig.env .cd { transform: translateY(26px); }
.cl-vig.env .ws { transform-box: view-box; transform-origin: 65px 66px; transition: transform .5s cubic-bezier(.3, 1.6, .5, 1) .9s, opacity .2s ease .9s; }
.note-card:not(.in) .cl-vig.env .ws { transform: scale(1.8); opacity: 0; }

/* the reply: a printed reply card (double rule, corner ornaments) */
html.cl-on .rsvp .seal { display: none; }
html.cl-on #content > .sec.rsvp { padding-bottom: 64px; }
.cl-frame { position: absolute; left: 14px; right: 14px; top: 76px; bottom: 26px; z-index: -1; display: block; pointer-events: none; border: 1px solid color-mix(in srgb, var(--cl-ink) 55%, transparent); max-width: 380px; margin: 0 auto; }
.cl-frame::before { content: ''; position: absolute; inset: 5px; border: .6px solid color-mix(in srgb, var(--cl-ink) 35%, transparent); }
.cl-frame b { position: absolute; width: 16px; height: 16px; background: var(--cl-acc); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.cl-frame .c1 { left: -8px; top: -8px; } .cl-frame .c2 { right: -8px; top: -8px; } .cl-frame .c3 { left: -8px; bottom: -8px; } .cl-frame .c4 { right: -8px; bottom: -8px; }
.cl-vig.laur { margin: 34px auto 12px; }
.cl-vig.laur svg > path, .cl-vig.laur svg > g { transition: opacity .6s ease .2s; }
.cl-vig.laur:not(.in) svg > g:last-child { transform: translateY(-12px); opacity: 0; }
.cl-vig.laur svg > g:last-child { transform-box: view-box; transition: transform .8s cubic-bezier(.3, 1.4, .5, 1) .45s, opacity .4s ease .45s; }
html.cl-on .rsvp .btns { margin-top: 26px; }

/* the last page: sign-off, thank-you, the closing scene */
html.cl-on .sec.foot { padding: 56px 0 0; }
html.cl-on .sec.foot .sig { font: italic 500 30px/1.15 var(--cl-bd) !important; letter-spacing: -.005em; text-transform: none; color: var(--cl-ink); padding: 0 28px; text-wrap: balance; }
.cl-thanks { font: 700 11.5px/1.7 var(--cl-sans) !important; font-variation-settings: "wdth" 82; letter-spacing: .24em; text-transform: uppercase; color: var(--cl-acc-ink) !important; margin-top: 14px !important; padding: 0 28px; text-wrap: balance; }
.cl-end { position: relative; height: 270px; margin-top: 18px; overflow: hidden; }
.cl-end svg { position: absolute; left: 0; right: 0; bottom: 34px; width: 100%; height: 236px; display: block; overflow: visible; }
.cl-econf { position: absolute; left: 0; right: 0; top: 0; bottom: 34px; overflow: hidden; --fall: 260px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 75%, transparent); mask-image: linear-gradient(180deg, transparent, #000 18%, #000 75%, transparent); }
.cl-end .ec { transform-box: view-box; animation: clBob 6.5s ease-in-out infinite; }
.cl-end .ec.b { animation-delay: -1.6s; } .cl-end .ec.c { animation-delay: -3.1s; } .cl-end .ec.d { animation-delay: -4.4s; } .cl-end .ec.e { animation-delay: -2.4s; }
.cl-colo { position: absolute; left: 28px; right: 28px; bottom: 12px; display: flex; justify-content: space-between; gap: 10px; padding-top: 8px; border-top: 1px solid color-mix(in srgb, var(--cl-ink) 30%, transparent);
  font: 600 9.5px/1.3 var(--cl-sans); font-variation-settings: "wdth" 80; letter-spacing: .2em; text-transform: uppercase; color: color-mix(in srgb, var(--cl-ink) 78%, transparent); max-width: 334px; margin: 0 auto; }
.cl-colo span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* QA 2026-11-18 (320 px): the round music button (fixed, bottom right) covered "THE END" at the very bottom of the page → room under the
   colophon for the button whenever it is shown */
body:has(.music-btn:not([hidden])) .cl-end { margin-bottom: calc(52px + env(safe-area-inset-bottom)); }
/* QA 2026-11-18 round 2 (320 px): on the first screen the music button sat over the end of the cover's foot line ("…RALEIGH, NC" lost
   its "C", "San Antonio, TX" its "TX") → the line keeps clear of the button's column (button 44 px + 16 px edge + 6 px air, minus the
   page padding) on both sides, so it stays centred; layout() then tightens / wraps it as before (the button is shown before layout runs) */
/* guest review 2026-11-19: 6 px of air read as touching → 14 px (16 + 44 + 14 = 74 px) */
body:has(.music-btn:not([hidden])) .cl-foot { padding-inline: calc(74px - var(--cl-pad, 16px)); }
@media (prefers-reduced-motion: reduce) { .cl-end .ec, .cl-vig.toss.in .tc, .cl-map.in .pin, .note-card.in .cl-vig.pen .fl, .cl-cdtop .tsl, .cl-vig.mcap .tsl { animation: none; } }

/* the reply card (common/rsvp.js builds it; here only its dress): magazine type, a gold hairline, the school-colour button */
html.cl-on form.rsvp-card { border-radius: 0; background: #fbf8f0; color: var(--cl-ink); font-family: var(--cl-sans); box-shadow: inset 0 0 0 7px #fbf8f0, inset 0 0 0 8px color-mix(in srgb, var(--cl-gold) 70%, transparent), 0 24px 40px -18px rgba(0, 0, 0, .5); }
html.cl-on form.rsvp-card h3 { font: 500 30px/1.08 var(--cl-bd); letter-spacing: -.005em; text-transform: none; color: var(--cl-ink); margin-bottom: 10px; }
html.cl-on form.rsvp-card .sub { font-size: 14.5px; opacity: .8; }
html.cl-on form.rsvp-card .rule { background: var(--cl-ink); height: 1.5px; }
html.cl-on form.rsvp-card label { font-weight: 700; letter-spacing: .22em; opacity: .85; }
html.cl-on form.rsvp-card input, html.cl-on form.rsvp-card textarea, html.cl-on form.rsvp-card select { border-radius: 0; border: 0; border-bottom: 1.5px solid var(--cl-ink); background: transparent; font-family: var(--cl-bd); font-size: 19px; color: var(--cl-ink); }
html.cl-on form.rsvp-card input:focus, html.cl-on form.rsvp-card textarea:focus, html.cl-on form.rsvp-card select:focus { border-color: var(--cl-acc); box-shadow: 0 1.5px 0 var(--cl-acc); outline: 0; }
html.cl-on .rsvp-att label > span { border-radius: 0; border: 1.5px solid var(--cl-ink); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 12.5px; background: transparent; }
html.cl-on .rsvp-att input:checked + span { background: var(--cl-ink); color: #fbf8f0; border-color: var(--cl-ink); }
html.cl-on .rsvp-send { border-radius: 0; min-height: 58px; background: var(--cl-acc); color: var(--cl-btn-ink); font: 700 14px/1.2 var(--cl-sans); letter-spacing: .28em; text-transform: uppercase; margin-bottom: 6px; }
html.cl-on .rsvp-done .rsvp-ic { color: var(--cl-acc-ink); }


/* Etsy audit 2026-11-19 #4: on the listing photos (390×844 full-screen captures in an iPhone frame) the Dynamic Island / notch sat on
   the middle of the masthead ("THE G▬DUATE", "GRAD▬CIÓN"), and the 4 colourways looked alike (only a thin frame + the ’27 changed).
   → a school-colour band at the top of the cover with a gold-foil hairline: on tall full-screen phones (≥ 780 px) it covers the island
   zone (≥ 46 px, or the real safe-area inset in standalone) so the masthead starts below it; on shorter screens (SE, 320 px, Safari
   with bars — no island over the page) it stays a thin 10 px band. The first rule under the masthead and a wider photo frame carry the
   school colour too. */
html.cl-on .cl { --cl-top: max(calc(10px * var(--k, 1)), calc(env(safe-area-inset-top, 0px) + 6px)); }
@media (min-height: 780px) { html.cl-on .cl { --cl-top: max(calc(46px * var(--k, 1)), calc(env(safe-area-inset-top, 0px) + 6px)); } }
.cl-mag { padding-top: calc(var(--cl-top) + 12px * var(--k)); }
.cl-mag::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: var(--cl-top); background: var(--cl-acc); }
.cl-mag::after { content: ''; position: absolute; left: 0; right: 0; top: var(--cl-top); height: 2px; background: linear-gradient(90deg, #8a671a, #e8c766 40%, #fff0b5 55%, #d3a63a 70%, #8a671a); }
.cl-win { inset: 9px; }
.cl-r1 { background: var(--cl-acc); height: 2.5px; }
/* owner QA 2026-11-29 H-1: the folder's name wraps (two balanced lines inside the frame) when one line would be under 18 px */
.cl-fn.wrap { white-space: normal; text-wrap: balance; overflow-wrap: anywhere; max-width: calc(100% - 64px); margin-inline: auto; line-height: 1.15; }
/* owner QA 2026-11-29 H-1: a long single word in the names ("Konstantinopolskaya") fits the page width */
html.cl-on .sec.invite .names-big { font-size: min(46px, 9.4vw) !important; overflow-wrap: anywhere; text-wrap: balance; }
/* owner QA 2026-11-29 L-2: Bodoni Moda's hyphen is a hairline — "Maximiliana-Alexandrina" read as two names. Only the hyphen glyphs
   (unicode-range) come from a sturdier system face; every other letter stays Bodoni */
@font-face { font-family: 'SwacHyphen'; src: local('Helvetica Neue'), local('HelveticaNeue'), local('Roboto'), local('Arial'), local('DejaVu Sans'); unicode-range: U+002D, U+2010-2011; }
