/* Saadgi (सादगी): the wedding issue of a quiet magazine. Ivory paper, ink black, one accent (sindoor red),
   hairline rules. Opening: a frosted vellum lies over the cover; lift it (drag, or tap) and the black-and-white
   plate warms into colour. Then: kinetic headline -> plate II -> save the date (scratch strip) + countdown
   -> masthead (families) -> pull quote -> plate III -> details -> RSVP with a word -> colophon. */

:root {
  --paper: #f6f2ea;
  --paper-2: #eee8dc;
  --ink: #141414;
  --ink-2: #47433d;
  --muted: #857e72;
  --rule: #d9d2c3;
  --red: #9c3b2a;
  --red-light: #d27a63;          /* the accent on black */
  --backdrop: #141414;

  --f-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --f-body: "Newsreader", Georgia, serif;
  --f-label: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --f-sc: "Cormorant SC", "Newsreader", Georgia, serif;
  --f-deva: "Tiro Devanagari Hindi", "Noto Serif Devanagari", serif;
  --ease: cubic-bezier(.22, 1, .36, 1);

  /* paper fibre and film grain, drawn once */
  --tex-paper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .3 0 0 0 0 .22 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --tex-fibre: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.018' numOctaves='3' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 -.18'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
  --tex-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");

  /* shared music button (core.css) */
  --fx-music-bg: #141414;
  --fx-music-ring: #9c3b2a;
  --fx-music-ink: #f6f2ea;
  --fx-bg: #f6f2ea;
}

html { scroll-behavior: smooth; }
html.shut, html.shut body { overflow: hidden; }
body {
  background: var(--tex-paper), var(--paper);
  color: var(--ink);
  font: 400 19px/1.6 var(--f-body);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
::selection { background: var(--red); color: var(--paper); }
:focus-visible { outline: 1.5px solid var(--red); outline-offset: 4px; }
main, .foot { position: relative; z-index: 1; }

/* small editorial furniture */
.kicker {
  display: flex; align-items: center; gap: 10px;
  font: 600 11px/1 var(--f-label); letter-spacing: .24em; text-transform: uppercase; color: var(--red);
}
.kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.kicker--quiet { color: var(--ink); }
.folio {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 18px 0 10px; margin-bottom: clamp(48px, 9vw, 88px); border-bottom: 1px solid var(--ink);
  font: 500 10px/1 var(--f-label); letter-spacing: .2em; text-transform: uppercase;
}
.folio span:first-child { font: italic 400 16px/1 var(--f-display); letter-spacing: 0; text-transform: none; }
.sec__title {
  margin: 16px 0 0; font: 400 clamp(46px, 12.4vw, 96px)/.98 var(--f-display); letter-spacing: -.015em;
  text-wrap: balance;
}
.sec__title em { font-style: italic; }
.w { display: inline-block; white-space: nowrap; }

/* =================================================================== OPENING: the vellum */

.gate { position: relative; height: 100svh; min-height: 560px; background: var(--backdrop); display: grid; place-items: center; }
.sheet { position: relative; width: 100%; height: 100%; container-type: size; perspective: 2400px; }
@media (min-aspect-ratio: 3/4) {
  .gate { background: radial-gradient(70% 90% at 50% 40%, #24211d, var(--backdrop) 70%); }
  .sheet { width: auto; height: min(92svh, calc(94vw * 16 / 9)); aspect-ratio: 9 / 16; }
  .cover { box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .04); }
}

/* --- the cover underneath --- */
.cover {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  padding: max(16px, 5cqw) max(16px, 5cqw) max(14px, 4.5cqw);
  background: var(--tex-paper), var(--paper);
}
.cover__mast { text-align: center; }
.mast__name {
  font: 500 19cqw/.8 var(--f-display); letter-spacing: .015em; text-transform: uppercase;
  margin-top: 1cqw; font-variation-settings: "opsz" 96;
}
.mast__line {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  margin-top: 3cqw; padding: 1.8cqw 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule);
  font: 500 max(9px, 2.5cqw)/1 var(--f-label); letter-spacing: .16em; text-transform: uppercase;
}
.mast__line [lang="hi"] { font: 400 max(12px, 3.6cqw)/1 var(--f-deva); letter-spacing: 0; text-transform: none; color: var(--red); }

.plate {
  position: relative; flex: 1; min-height: 0; margin: 3.5cqw 0 0; overflow: hidden; background: #2a2622;
  filter: grayscale(calc(1 - var(--lift, 0) * .45)) contrast(1.08) brightness(.98);
}
.gate.warm .plate { filter: grayscale(0) contrast(1) brightness(1); transition: filter 2.8s cubic-bezier(.4, 0, .2, 1) .15s; }
.gate.instant .plate { transition: none; }
.plate__cap {
  display: flex; justify-content: space-between; padding-top: 1.8cqw;
  font: 500 max(9px, 2.3cqw)/1 var(--f-label); letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.plate__cap span:first-child { color: var(--red); }

.cover__foot { position: relative; padding-top: 3.4cqw; }
.cover__kicker {
  display: flex; justify-content: space-between; align-items: center;
  font: 600 max(9px, 2.5cqw)/1 var(--f-label); letter-spacing: .28em; text-transform: uppercase; color: var(--red);
}
.cover__names { margin: 2.2cqw 0 0; font: 400 11.4cqw/.98 var(--f-display); letter-spacing: -.02em; }
.cover__names em { font-style: italic; color: var(--red); }
.cover__dek { margin-top: 2.2cqw; max-width: 74%; font: italic 300 max(14px, 3.7cqw)/1.35 var(--f-body); color: var(--ink-2); }
.cover__turn {
  display: flex; align-items: center; gap: 8px; color: var(--ink);
  font: 600 max(9px, 2.3cqw)/1 var(--f-label); letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
}
.cover__turn::after { content: ""; width: 1px; height: max(14px, 4cqw); background: var(--ink); transform-origin: top; animation: drip 2.4s var(--ease) infinite; }
@keyframes drip { 0% { scale: 1 0; } 50% { scale: 1 1; transform-origin: top; } 51% { transform-origin: bottom; } 100% { scale: 1 0; transform-origin: bottom; } }

/* the cover's words print in as the vellum lifts */
.cover__mast, .plate__cap, .cover__foot > * { opacity: var(--lift, 0); }
.gate.warm :is(.cover__mast, .plate__cap, .cover__foot > *) { opacity: 1; transition: opacity 1.2s var(--ease), translate 1.2s var(--ease); }
.gate.warm .cover__foot > :nth-child(2) { transition-delay: .25s; }
.gate.warm .cover__foot > :nth-child(3) { transition-delay: .45s; }
.gate.warm .cover__foot > :nth-child(4) { transition-delay: .9s; }
.gate:not(.warm) .cover__foot > * { translate: 0 calc((1 - var(--lift, 0)) * 10px); }
.gate.instant :is(.cover__mast, .plate__cap, .cover__foot > *) { transition: none; }

/* --- the plates: CSS/SVG art, then the still, then the clip --- */
.art { position: absolute; inset: 0; overflow: hidden; }
.art__svg { display: block; width: 100%; height: 100%; }
.still { position: absolute; inset: 0; background: center / cover no-repeat; }
.art--terrace .still { background-image: url(media/portrait.jpg); }
.art--rings .still { background-image: url(media/hands.jpg); }
.silk { transform-box: view-box; animation: billow 7s ease-in-out infinite alternate; }
.silk--a { transform-origin: 190px 290px; }
.silk--b { transform-origin: 220px 300px; animation-duration: 5.2s; animation-delay: -2s; }
.silk--c { transform-origin: 160px 380px; animation: sway 6s ease-in-out infinite alternate; }
@keyframes billow { 0% { transform: skewY(0) scale(1, 1); } 50% { transform: skewY(-3deg) scale(1.04, .96); } 100% { transform: skewY(2deg) scale(.97, 1.05); } }
@keyframes sway { to { transform: skewX(4deg); } }
.grain {
  position: absolute; inset: -50%; pointer-events: none; opacity: .16; mix-blend-mode: overlay;
  background: var(--tex-grain); animation: grain 1.2s steps(4) infinite;
}
@keyframes grain { 25% { translate: 3% -2%; } 50% { translate: -2% 3%; } 75% { translate: 2% 2%; } }

/* --- the vellum --- */
.vellum {
  position: absolute; inset: 0; z-index: 3; transform-origin: 50% 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: var(--tex-fibre), linear-gradient(180deg, rgba(251, 249, 244, .5), rgba(244, 240, 231, .6));
  -webkit-backdrop-filter: blur(7px) saturate(.6) brightness(1.06); backdrop-filter: blur(7px) saturate(.6) brightness(1.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55), 0 calc(var(--lift, 0) * 50px) calc(var(--lift, 0) * 70px) rgba(20, 16, 10, calc(var(--lift, 0) * .28));
  touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent;
  will-change: transform;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .vellum { background: var(--tex-fibre), rgba(246, 242, 234, .93); }
}
.gate.is-dragging .vellum { cursor: grabbing; }
.vellum::after {                 /* the curl: light catches the lifted edge */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(20, 16, 10, .14), transparent 3%),
    linear-gradient(0deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .25) 14%, transparent 38%);
  opacity: calc(var(--lift, 0) * 1.8);
}
.vellum::before {                /* the red pull tab on the bottom edge */
  content: ""; position: absolute; left: 50%; bottom: 0; width: 15cqw; height: 1.6cqw; translate: -50% 0;
  background: var(--red); border-radius: 2px 2px 0 0;
}
.gate[data-phase="idle"]:not(.is-dragging) .vellum { animation: peek 5s ease-in-out 2.2s infinite; }
@keyframes peek { 0%, 70%, 100% { transform: none; } 80% { transform: rotateX(9deg); } 88% { transform: rotateX(2deg); } }

.vellum__print { width: 100%; padding: 0 8cqw; display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.vellum__mast {
  position: absolute; top: max(18px, 6cqw); left: max(16px, 6cqw); right: max(16px, 6cqw);
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 2cqw; border-bottom: 1px solid rgba(20, 20, 20, .55);
  font: 500 max(9px, 2.4cqw)/1 var(--f-label); letter-spacing: .2em; text-transform: uppercase;
}
.vellum__mast span:first-child { font: italic 400 max(15px, 4.6cqw)/1 var(--f-display); letter-spacing: 0; text-transform: none; }
.vellum__to { margin-bottom: 5cqw; font: italic 400 max(15px, 4.2cqw)/1.3 var(--f-body); color: var(--red); }
.vellum__lead { font: italic 400 max(15px, 4.4cqw)/1 var(--f-display); color: var(--ink-2); }
.vellum__names {
  display: flex; flex-direction: column; align-items: center;
  margin: 4cqw 0 5cqw; font: 400 17cqw/.9 var(--f-display); letter-spacing: -.02em;
}
.vellum__names em { font-size: .5em; line-height: 1.25; color: var(--red); }
.vellum__date {
  padding-top: 3cqw; border-top: 1px solid var(--ink); min-width: 40%;
  font: 500 max(9px, 2.5cqw)/1 var(--f-label); letter-spacing: .32em; text-transform: uppercase;
}
.vellum__tab {
  position: absolute; left: 50%; bottom: max(26px, 6.5cqw); translate: -50% 0;
  display: flex; flex-direction: column; align-items: center; gap: 2.4cqw;
  padding: 8px 14px; border: 0; background: none; cursor: inherit;
  font: 600 max(10px, 2.5cqw)/1 var(--f-label); letter-spacing: .26em; text-indent: .26em; text-transform: uppercase; white-space: nowrap;
}
.vellum__arrow { position: relative; width: 1px; height: 9cqw; background: var(--ink); animation: tug 2.6s var(--ease) infinite; }
.vellum__arrow::before {
  content: ""; position: absolute; left: -4px; top: 0; width: 8px; height: 8px;
  border-left: 1px solid var(--ink); border-top: 1px solid var(--ink); rotate: 45deg; transform-origin: 0 0; translate: 0 1px;
}
@keyframes tug { 0%, 100% { translate: 0 0; } 45% { translate: 0 -8px; } }
.gate:not([data-phase="idle"]) .vellum__tab { opacity: 0; transition: opacity .3s; }

.gate__skip {
  position: absolute; right: max(12px, 4cqw); top: calc(max(18px, 6cqw) + max(9px, 2.4cqw) + 2cqw + 10px); z-index: 5;
  padding: 7px 12px; border: 1px solid rgba(20, 20, 20, .35); border-radius: 999px; background: rgba(246, 242, 234, .5);
  font: 600 10px/1 var(--f-label); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); cursor: pointer;
}
.gate[data-phase="open"] .gate__skip, .gate[data-phase="lifting"] .gate__skip { display: none; }
html:not(.js) :is(.vellum, .gate__skip) { display: none; }
html:not(.js) :is(.cover__mast, .plate__cap, .cover__foot > *) { opacity: 1; }
html:not(.js) .plate { filter: none; }

/* =================================================================== THE ANNOUNCEMENT */

.kin { position: relative; height: 230svh; }
.kin__pin {
  position: sticky; top: 0; height: 100svh; max-width: 1180px; margin: 0 auto; padding: 0 16px;
  display: flex; flex-direction: column; justify-content: center;
}
.kin .folio { position: absolute; top: 0; left: 16px; right: 16px; }
.kin__line { margin: 22px 0 0; font: 400 clamp(56px, 15.5vw, 136px)/.95 var(--f-display); letter-spacing: -.025em; }
.kin__line .w--it { font-style: italic; }
.kin__line .w--amp { font-style: italic; color: var(--red); }
.ch { display: inline-block; opacity: .1; transform: translateY(.14em); transition: opacity .5s ease, transform .7s var(--ease); }
.ch.on { opacity: 1; transform: none; }
.kin__dek {
  margin-top: 5vh; max-width: 21em; font: italic 300 clamp(19px, 5vw, 24px)/1.4 var(--f-body); color: var(--ink-2);
  opacity: 0; translate: 0 12px; transition: opacity 1s var(--ease), translate 1s var(--ease);
}
.kin.done .kin__dek { opacity: 1; translate: 0 0; }
.kin.flat { height: auto; }
.kin.flat .kin__pin { position: relative; height: auto; padding-block: 96px 120px; }
.kin.flat .ch { opacity: 1; transform: none; }
.kin.flat .kin__dek { opacity: 1; translate: 0 0; }
html:not(.js) .kin { height: auto; }
html:not(.js) .kin__pin { position: relative; height: auto; padding-block: 96px; }
html:not(.js) .kin__dek { opacity: 1; translate: 0 0; }

/* =================================================================== PLATES (full-bleed bands) */

.band { position: relative; margin: 0 0 clamp(72px, 12vw, 140px); }
.band__media {
  position: relative; height: min(84svh, 860px); overflow: hidden; background: #2a2622;
  filter: grayscale(1) contrast(1.06); transition: filter 2.6s cubic-bezier(.4, 0, .2, 1);
}
.band--hands .band__media { height: min(70svh, 700px); }
.band.warm .band__media { filter: none; }
.band__media > .art, .band__media > video {
  transform: translateY(calc(var(--py, 0) * 1%)) scale(1.14); will-change: transform;
}
.band__media video { object-position: 50% 35%; }
.band__cap {
  display: flex; gap: 14px; align-items: baseline; max-width: 1180px; margin: 0 auto; padding: 12px 16px 0;
  font: italic 300 16px/1.45 var(--f-body); color: var(--ink-2);
}
.band__cap span {
  flex: none; font: 600 10px/1 var(--f-label); font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: var(--red);
}

/* =================================================================== SECTIONS */

.sec { position: relative; max-width: 1180px; margin: 0 auto; padding: 0 16px clamp(96px, 14vw, 160px); }

/* ---------- save the date ---------- */
.date { max-width: 720px; margin: 0 auto; text-align: center; }
.date .kicker { justify-content: center; }
.date .kicker::after { content: ""; width: 22px; height: 1px; background: currentColor; }
.scratch { margin: clamp(36px, 7vw, 56px) auto 0; border-radius: 0; max-width: 560px; }
.scratch__foil { box-shadow: 0 1px 0 rgba(20, 20, 20, .08); }
.sd {
  display: flex; align-items: flex-end; justify-content: center; gap: clamp(16px, 4vw, 30px);
  padding: 20px 16px 18px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
}
.sd__day {
  font: 400 clamp(140px, 42vw, 230px)/.74 var(--f-display); letter-spacing: -.05em;
  font-variant-numeric: lining-nums; font-variation-settings: "opsz" 96; margin-left: -.04em;
}
.sd__meta { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; padding-bottom: 6px; text-align: left; }
.sd__meta b { font: italic 400 clamp(26px, 7.4vw, 38px)/1 var(--f-display); }
.sd__meta span { font: 600 12px/1 var(--f-label); letter-spacing: .32em; }
.sd__meta i { padding-top: 7px; border-top: 1px solid var(--rule); font: italic 300 16px/1.2 var(--f-body); color: var(--ink-2); }
.scratch__hint {
  margin-top: 18px; font: 500 10px/1 var(--f-label); letter-spacing: .24em; text-transform: uppercase; color: var(--muted);
  transition: opacity .6s;
}
.revealed .scratch__hint { opacity: 0; }
.scratch.done .sd__day { animation: inkIn 1.2s var(--ease); }
@keyframes inkIn { from { color: var(--red); } }

.date__count { margin-top: clamp(48px, 9vw, 72px); }
.date__count-label { font: italic 300 17px/1 var(--f-body); color: var(--muted); }
.count {
  display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 16px;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.count span {
  display: flex; flex-direction: column; align-items: center; padding: 18px 0 16px;
  font: 500 9.5px/1 var(--f-label); letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.count span + span { border-left: 1px solid var(--rule); }
.count b {
  margin-bottom: 10px; font: 400 clamp(40px, 11vw, 66px)/1 var(--f-display); color: var(--ink);
  font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.01em;
}
.count__done { margin-top: 16px; font: italic 400 28px/1.2 var(--f-display); }

/* ---------- masthead: the families ---------- */
.credits { display: grid; margin-top: clamp(36px, 7vw, 56px); border-top: 1px solid var(--ink); }
.cred { padding: 26px 0 30px; border-bottom: 1px solid var(--rule); }
.cred.reveal { transition-delay: calc(var(--i) * .18s); }
.cred__role { font: 600 10.5px/1 var(--f-label); letter-spacing: .24em; text-transform: uppercase; color: var(--red); }
.cred__name { margin: 14px 0 20px; font: 400 clamp(38px, 10.4vw, 58px)/1 var(--f-display); letter-spacing: -.015em; }
.cred__rel { font: italic 300 17px/1.3 var(--f-body); color: var(--muted); }
.cred__parents { margin-top: 4px; font: 400 21px/1.45 var(--f-body); }
.also { margin-top: clamp(44px, 8vw, 64px); }
.also__list { list-style: none; padding: 0; margin: 18px 0 0; }
.also__list li { display: flex; align-items: baseline; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--rule); }
.also__name { font: 500 23px/1.2 var(--f-sc); letter-spacing: .03em; }
.also__lead { flex: 1; min-width: 16px; border-bottom: 1px dotted #b3ab9c; translate: 0 -5px; }
.also__rel { font: 500 10px/1 var(--f-label); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

/* ---------- pull quote ---------- */
.pq { position: relative; max-width: 940px; margin: 0 auto; }
.pq__mark { display: block; height: .42em; font: 400 clamp(150px, 40vw, 240px)/.8 var(--f-display); color: var(--red); }
.pq blockquote { margin: 0; }
.pq blockquote p {
  font: italic 400 clamp(33px, 8.8vw, 64px)/1.12 var(--f-display); letter-spacing: -.012em; text-wrap: balance;
}
.pq figcaption {
  display: flex; align-items: center; gap: 12px; margin-top: 30px;
  font: 600 10.5px/1 var(--f-label); letter-spacing: .24em; text-transform: uppercase;
}
.pq figcaption::before { content: ""; width: 32px; height: 1px; background: var(--ink); }

/* ---------- details ---------- */
.det { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--ink); }
.det + .det { margin-top: 72px; }
.det__head { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: baseline; }
.det__no { font: italic 400 24px/1 var(--f-display); color: var(--red); }
.det__hi { font: 400 21px/1.4 var(--f-deva); color: var(--ink-2); }
.det__name { grid-column: 1 / -1; margin: 10px 0 0; font: 400 clamp(54px, 15vw, 124px)/.95 var(--f-display); letter-spacing: -.025em; }
.det__rows { margin: clamp(30px, 6vw, 44px) 0 0; }
.det__rows > div { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--rule); }
.det__rows dt { padding-top: 6px; font: 600 10px/1 var(--f-label); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.det__rows dd { margin: 0; font: 400 20px/1.5 var(--f-body); }
.det__rows strong { font-weight: 500; }
.det__links {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px;
  margin-top: 8px; padding-top: 24px; border-top: 1px solid var(--rule);
}
.tlink {
  padding-bottom: 4px; border-bottom: 1px solid var(--ink); text-decoration: none;
  font: 600 11px/1 var(--f-label); letter-spacing: .18em; text-transform: uppercase;
  transition: color .2s, border-color .2s;
}
.tlink::after { content: " \2192"; letter-spacing: 0; }
.tlink:hover { color: var(--red); border-color: var(--red); }
.sbtn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 30px; margin-left: auto;
  background: var(--ink); color: var(--paper); text-decoration: none;
  font: 600 11px/1 var(--f-label); letter-spacing: .22em; text-transform: uppercase;
  transition: background .25s;
}
.sbtn:hover { background: var(--red); }
.sbtn::after { content: "\2197"; margin-left: 10px; letter-spacing: 0; }
@media (max-width: 560px) { .sbtn { width: 100%; margin-left: 0; } }

/* ---------- contact sheet (optional gallery) ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 26px; }
.gallery img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1); transition: filter .6s; }
.gallery img:hover { filter: none; }

/* ---------- RSVP with a word ---------- */
.rsvp { text-align: center; }
.rsvp .kicker { justify-content: center; }
.rsvp .kicker::after { content: ""; width: 22px; height: 1px; background: currentColor; }
.rsvp__ask { margin-top: 12px; font: italic 300 19px/1.4 var(--f-body); color: var(--muted); }
.rsvp__words { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: clamp(28px, 6vw, 48px); }
.rsvp__w {
  position: relative; padding: 10px 30px; border: 0; background: none; cursor: pointer;
  font: italic 400 clamp(46px, 12.6vw, 76px)/1.1 var(--f-display); letter-spacing: -.01em; color: var(--ink);
  transition: color .45s, opacity .45s; -webkit-tap-highlight-color: transparent;
}
.rsvp__w span { display: inline-block; }
.rsvp__w:hover span { translate: 0 -2px; transition: translate .3s var(--ease); }
.rsvp.chosen .rsvp__w:not(.on) { opacity: .28; }
.rsvp__w.on { color: var(--red); }
.rsvp__w.on span { animation: stamp .42s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes stamp { 0% { scale: 1.16; rotate: -3deg; } 100% { scale: 1; rotate: 0deg; } }
.ring { position: absolute; left: -2%; top: -4%; width: 104%; height: 108%; overflow: visible; pointer-events: none; }
.ring path {
  fill: none; stroke: var(--red); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1 1; stroke-dashoffset: 1; opacity: 0;
}
.rsvp__w.on .ring path { opacity: 1; animation: draw .95s cubic-bezier(.65, .05, .3, 1) .08s both; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.rsvp__done { margin-top: 28px; font: italic 400 clamp(22px, 6vw, 28px)/1.3 var(--f-display); animation: rise 1s var(--ease); }
.rsvp__done small { display: block; margin-top: 8px; font: italic 300 16px/1.4 var(--f-body); color: var(--muted); }
.rsvp__tag { margin-top: 30px; font: 600 12px/1 var(--f-label); letter-spacing: .2em; color: var(--red); }
@keyframes rise { from { opacity: 0; translate: 0 12px; } }

/* =================================================================== COLOPHON */

.foot { padding: 72px 16px calc(56px + env(safe-area-inset-bottom)); background: var(--ink); color: var(--paper); text-align: center; }
.foot__in { max-width: 720px; margin: 0 auto; }
.foot .kicker { justify-content: center; color: rgba(246, 242, 234, .6); }
.foot .kicker::after { content: ""; width: 22px; height: 1px; background: currentColor; }
.foot__names { margin-top: 22px; font: 400 clamp(46px, 13vw, 84px)/1 var(--f-display); letter-spacing: -.02em; }
.foot__names em { color: var(--red-light); }
.foot__date { margin-top: 16px; font: 500 12px/1 var(--f-label); letter-spacing: .42em; color: rgba(246, 242, 234, .7); }
.foot__cal { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 14px; margin-top: 30px; font: 600 11px/1 var(--f-label); letter-spacing: .18em; text-transform: uppercase; }
.foot__cal span { color: rgba(246, 242, 234, .35); }
.foot__cal a { text-decoration: none; border-bottom: 1px solid rgba(246, 242, 234, .4); padding-bottom: 4px; }
.foot__colo { margin-top: 34px; font: italic 300 16px/1.5 var(--f-body); color: rgba(246, 242, 234, .62); }
.foot__music, .foot__credit { margin-top: 10px; font: 500 10px/1.7 var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: rgba(246, 242, 234, .5); }
.foot a { text-underline-offset: 3px; }
.up { display: inline-block; margin-top: 36px; font: 600 10px/1 var(--f-label); letter-spacing: .26em; text-transform: uppercase; text-decoration: none; }
.up::before { content: "\2191"; margin-right: 10px; letter-spacing: 0; }

/* =================================================================== WIDER SCREENS */

@media (min-width: 760px) {
  .sec, .kin__pin { padding-inline: 48px; }
  .kin .folio { left: 48px; right: 48px; }
  .band__cap { padding-inline: 48px; }
  .credits { grid-template-columns: 1fr 1fr; }
  .cred { padding: 36px 40px 44px 0; }
  .cred + .cred { padding: 36px 0 44px 40px; border-left: 1px solid var(--rule); }
  .also__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
  .credits__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
  .credits__head .kicker { order: 2; padding-bottom: 14px; }
  .det { display: grid; grid-template-columns: 5fr 7fr; column-gap: 56px; }
  .det__head { align-self: start; }
  .det__rows { margin-top: 0; }
  .det__rows > div:first-child { border-top: 0; padding-top: 4px; }
  .det__links { grid-column: 2; }
  .det__name { font-size: clamp(54px, 7.4vw, 104px); }
  .rsvp__words { flex-direction: row; justify-content: center; gap: 18px; }
}

/* =================================================================== OG CARD (?og, 1200x630) */

html.og .ogcard {
  flex-direction: row; gap: 48px; padding: 50px 56px;
  background: var(--tex-paper), var(--paper); color: var(--ink);
}
.og__text { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.og__mast {
  display: flex; justify-content: space-between; align-items: flex-end; padding-bottom: 14px; border-bottom: 2px solid var(--ink);
  font: 600 14px/1 var(--f-label); letter-spacing: .2em; text-transform: uppercase;
}
.og__title { font: 500 62px/.78 var(--f-display); letter-spacing: .02em; }
.og__kicker { margin-top: 28px; font: 600 15px/1 var(--f-label); letter-spacing: .3em; text-transform: uppercase; color: var(--red); }
.og__names { margin-top: 14px; font: 400 118px/.9 var(--f-display); letter-spacing: -.025em; }
.og__names em { font-size: .62em; color: var(--red); }
.og__date { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--ink); font: italic 400 32px/1.1 var(--f-display); }
.og__venue { margin-top: 10px; font: 600 14px/1.3 var(--f-label); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.og__plate { position: relative; flex: none; width: 380px; display: flex; flex-direction: column; }
.og__plate .art { position: relative; flex: 1; }
.og__cap { padding-top: 10px; font: 600 12px/1 var(--f-label); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
html.og .silk { animation: none; }

/* =================================================================== MOTION */

@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  .kin { height: auto; }
  .kin__pin { position: relative; height: auto; padding-block: 96px 120px; }
  .band__media > .art, .band__media > video { transform: none; }
}
