/* =========================================================
   GOLDEN VOICE — Uniq Brothers' Club Annual
   Light, vibrant editorial theme
   ========================================================= */
:root {
  --paper: #F7F2E8;
  --paper-2: #EFE7D7;
  --white: #FFFDF8;
  --ink: #121212;
  --ink-2: #3A3833;
  --muted: #6E695F;
  --line: #1212121f;

  --yellow: #FFC21A;
  --orange: #FF5A1F;
  --green: #12B76A;
  --pink: #FF2D95;
  --blue: #2F5BFF;
  --red: #E5232D;
  --cream: #F3EFE6;

  --f-display: "Anton", "Archivo", Impact, sans-serif;
  --f-sans: "Archivo", system-ui, -apple-system, Segoe UI, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-mono: "Space Mono", ui-monospace, monospace;

  --radius: 18px;
  --gutter: clamp(16px, 4vw, 56px);
  --shadow: 0 1px 0 #0000000d, 0 18px 40px -18px #0000003d;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* paper grain */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, header, footer { position: relative; z-index: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }

/* ---------- type ---------- */
.h-display {
  font-family: var(--f-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(52px, 9vw, 132px);
  letter-spacing: -.01em;
  line-height: .9;
}
.h-display.small { font-size: clamp(44px, 6vw, 84px); }
.h-serif { font-family: var(--f-serif); font-weight: 400; font-size: clamp(38px, 5vw, 64px); line-height: 1.02; margin-bottom: .5em; }
.kicker {
  font-family: var(--f-mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--ink-2);
}
.kicker::before { content: ""; width: 26px; height: 3px; background: var(--pink); }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); }
.prose p { font-size: 18px; color: var(--ink-2); }

.hl-pink, .hl-yellow, .hl-green, .hl-orange, .hl-blue { position: relative; display: inline-block; padding: 0 .08em; }
.hl-pink { color: var(--pink); }
.hl-yellow { background: var(--yellow); line-height: .95; transform: rotate(-1.5deg); }
.hl-red { position: relative; display: inline-block; padding: 0 .08em; background: var(--red); color: var(--white); line-height: .95; transform: rotate(-1.5deg); }
.hl-green { color: var(--green); }
.hl-orange { color: var(--orange); }
.hl-blue { background: var(--blue); color: var(--white); transform: rotate(1.5deg); line-height: .95; }
.outline { -webkit-text-stroke: 2px var(--ink); color: transparent; }

.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-intro { max-width: 380px; color: var(--ink-2); margin: 0; font-size: 17px; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--white);
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--bg); color: var(--fg);
  font: 700 15px/1 var(--f-sans); letter-spacing: .02em; text-decoration: none;
  padding: 15px 22px; border-radius: 999px; border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .18s ease, box-shadow .18s ease, background .2s;
  cursor: pointer;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-ink { box-shadow: 4px 4px 0 var(--pink); }
.btn-ink:hover { box-shadow: 6px 6px 0 var(--pink); }
.btn-pink { --bg: var(--pink); --fg: var(--white); }
.btn-yellow { --bg: var(--yellow); --fg: var(--ink); }
.btn-outline { --bg: transparent; --fg: var(--ink); }
.btn-lg { font-size: 17px; padding: 19px 28px; }

/* ---------- draft badge ---------- */
.draft-badge {
  display: inline-block; font: 700 10px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase;
  background: var(--yellow); color: var(--ink); padding: 5px 7px; border-radius: 4px; border: 1.5px solid var(--ink);
  vertical-align: middle;
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 14px var(--gutter);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--ink); color: var(--yellow); font: 400 26px/1 var(--f-display);
  box-shadow: 3px 3px 0 var(--pink);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text b { font: 400 22px/1 var(--f-display); letter-spacing: .04em; }
.brand-text small { font: 400 11px/1.2 var(--f-mono); color: var(--muted); letter-spacing: .04em; }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px;
  transition: background .2s;
}
.nav-links a:hover { background: var(--ink); color: var(--white); }
.nav-cta { padding: 11px 18px; font-size: 14px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 2px solid var(--ink); border-radius: 12px; background: var(--white); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.nav-toggle span { width: 18px; height: 2px; background: var(--ink); transition: transform .2s; }
.nav.open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero { padding: clamp(36px, 6vw, 80px) 0 0; }
.hero-grid {
  max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center;
}
.eyebrow { font: 700 13px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.eyebrow .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px #12b76a33; animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px #12b76a00; } }
.hero-title { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(88px, 15vw, 220px); line-height: .82; letter-spacing: -.015em; margin: 18px 0 26px; }
.hero-title .line { display: block; }
.hero-title em { font-style: normal; color: var(--pink); position: relative; display: inline-block; line-height: .82; z-index: 0; }
.hero-title em::after {
  content: ""; position: absolute; left: 2%; right: 2%; bottom: .06em; height: .12em; background: var(--yellow); z-index: -1; transform: skewX(-12deg);
}
.hero-sub { font-size: clamp(18px, 1.7vw, 22px); max-width: 560px; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero-visual { position: relative; }
.hero-photo {
  position: relative; aspect-ratio: 4/3; border-radius: 26px; overflow: hidden;
  background: var(--paper-2) center/cover no-repeat;
  border: 3px solid var(--ink); box-shadow: 12px 12px 0 var(--ink);
  transform: rotate(1.5deg);
  filter: saturate(1.08) contrast(1.03);
}
.hero-stamp {
  position: absolute; right: 18px; top: 18px;
  width: 116px; height: 116px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: var(--yellow); border: 3px solid var(--ink);
  font: 700 12px/1.15 var(--f-mono); letter-spacing: .1em; text-transform: uppercase;
  animation: wobble 5s ease-in-out infinite;
}
.hero-stamp b { font: 400 34px/1 var(--f-display); letter-spacing: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes wobble { 0%, 100% { transform: rotate(-14deg); } 50% { transform: rotate(10deg) scale(1.04); } }
.hero-tag {
  position: absolute; left: -18px; bottom: 26px; transform: rotate(-4deg);
  background: var(--blue); color: var(--white); font: 700 14px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase;
  padding: 14px 18px; border: 2px solid var(--ink); border-radius: 10px; box-shadow: 4px 4px 0 var(--ink);
}

.stats {
  max-width: 1320px; margin: clamp(48px, 7vw, 90px) auto 0; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink);
}
.stat { padding: 22px 18px 26px 0; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font: 400 clamp(44px, 5vw, 72px)/1 var(--f-display); }
.stat span { font: 400 13px/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

.colour-bars { display: grid; grid-template-columns: repeat(7, 1fr); height: clamp(60px, 9vw, 120px); margin-top: 8px; }
.colour-bars.thin { height: 14px; margin: 0; }
.colour-bars i:nth-child(1) { background: var(--ink); }
.colour-bars i:nth-child(2) { background: var(--yellow); }
.colour-bars i:nth-child(3) { background: var(--orange); }
.colour-bars i:nth-child(4) { background: var(--green); }
.colour-bars i:nth-child(5) { background: var(--pink); }
.colour-bars i:nth-child(6) { background: var(--blue); }
.colour-bars i:nth-child(7) { background: var(--red); }
.colour-bars i { transform-origin: bottom; animation: barIn .9s cubic-bezier(.2,.8,.2,1) both; }
.colour-bars i:nth-child(n) { animation-delay: calc(var(--i, 0) * 1ms); }
@keyframes barIn { from { transform: scaleY(0); } }

/* ---------- marquee ---------- */
.marquee { background: var(--ink); color: var(--paper); overflow: hidden; border-block: 3px solid var(--ink); }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font: 400 clamp(24px, 3vw, 40px)/1 var(--f-display); text-transform: uppercase; padding: 18px 0; white-space: nowrap; letter-spacing: .02em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   LETTER
   ========================================================= */
.letter-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.letter-photo { margin: 0; position: relative; }
.letter-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 200px 200px 22px 22px; border: 3px solid var(--ink); }
.letter-photo::after {
  content: "“"; position: absolute; right: -14px; bottom: -40px; font: 400 200px/1 var(--f-serif); color: var(--pink);
}
.sign { display: flex; flex-direction: column; margin-top: 28px; }
.sign b { font: 400 34px/1 var(--f-serif); font-style: italic; }
.sign span { font: 400 13px/1.4 var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-top: 6px; }

/* =========================================================
   THE YEAR — month grid
   ========================================================= */
.year { background: var(--white); border-block: 3px solid var(--ink); }
.month-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 28px; }
.month {
  --c: var(--pink);
  display: flex; flex-direction: column; text-align: left; cursor: pointer; background: none; border: 0; padding: 0; font: inherit; color: inherit;
}
.month-top { display: flex; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.month-num { font: 400 40px/1 var(--f-display); color: var(--c); }
.month-name { font: 800 clamp(26px, 2.4vw, 32px)/1 var(--f-sans); font-stretch: 80%; letter-spacing: -.01em; }
.month-meta { font: 400 13px/1.5 var(--f-mono); color: var(--muted); margin: 0 0 14px 56px; min-height: 4.5em; }
.month-meta b { color: var(--ink); font-weight: 700; }
.month-img {
  position: relative; aspect-ratio: 16/10.5; overflow: hidden; border-radius: 14px; border: 2px solid var(--ink); background: var(--paper-2);
}
.month-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1), filter .5s; filter: grayscale(.25); }
.month:hover .month-img img, .month:focus-visible .month-img img { transform: scale(1.07); filter: grayscale(0); }
.month-tag {
  position: absolute; left: 12px; top: 12px; background: var(--c); color: var(--ink);
  font: 700 11px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; padding: 7px 9px; border-radius: 6px; border: 1.5px solid var(--ink);
}
.month-tag.dark { color: var(--white); }
.month-img .draft-badge { position: absolute; right: 12px; top: 12px; }
.month-status { position: absolute; right: 12px; bottom: 12px; background: var(--ink); color: var(--white); font: 700 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; padding: 7px 9px; border-radius: 6px; }
.month-caption { font: 400 12px/1 var(--f-mono); color: var(--muted); margin: 12px 0 6px; text-transform: uppercase; letter-spacing: .06em; }
.month-title { font: 700 18px/1.3 var(--f-sans); margin: 0; }
.month-more { margin-top: 10px; font: 700 13px/1 var(--f-mono); color: var(--c); filter: brightness(.85); letter-spacing: .04em; }
.month-more::after { content: " →"; transition: margin .2s; }
.month:hover .month-more::after { margin-left: 6px; }
.c-yellow { --c: var(--yellow); } .c-orange { --c: var(--orange); } .c-green { --c: var(--green); }
.c-pink { --c: var(--pink); } .c-blue { --c: var(--blue); } .c-red { --c: var(--red); }

/* =========================================================
   EXCO ID CARDS
   ========================================================= */
.excos { background: var(--paper); overflow: hidden; }
.excos::before { /* lanyard rail */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px;
  background: repeating-linear-gradient(90deg, var(--yellow) 0 40px, var(--pink) 40px 80px, var(--blue) 80px 120px, var(--green) 120px 160px);
}
.id-grid { --cols: 5; --gap: 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 56px var(--gap); perspective: 1400px; }
.id-grid > .id-wrap { width: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); }
.id-wrap { position: relative; padding-top: 46px; }
.id-wrap::before { /* lanyard strap */
  content: ""; position: absolute; top: -40px; left: 50%; width: 22px; height: 86px; transform: translateX(-50%);
  background: repeating-linear-gradient(180deg, var(--ink) 0 6px, var(--c) 6px 12px);
  border-radius: 3px;
}
.id-wrap::after { /* clip */
  content: ""; position: absolute; top: 34px; left: 50%; width: 46px; height: 18px; transform: translateX(-50%);
  background: linear-gradient(#d9d9d9, #8c8c8c); border-radius: 6px; border: 2px solid var(--ink); z-index: 3;
}
.id-card {
  position: relative; aspect-ratio: 54/86; transform-style: preserve-3d; cursor: pointer;
  transition: transform .9s cubic-bezier(.2,.8,.2,1);
  transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg));
  animation: sway 6s ease-in-out infinite; animation-delay: calc(var(--n) * -0.7s);
  transform-origin: 50% 0;
}
@keyframes sway { 0%, 100% { rotate: -1.2deg; } 50% { rotate: 1.2deg; } }
.id-card.flipped { transform: rotateY(180deg); }
.id-face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: 18px; border: 2.5px solid var(--ink); overflow: hidden; background: var(--white);
  box-shadow: 0 30px 40px -24px #0000006b; display: flex; flex-direction: column;
}
.id-face::before { /* punch slot */
  content: ""; position: absolute; top: 12px; left: 50%; width: 46px; height: 9px; transform: translateX(-50%);
  border-radius: 9px; background: var(--paper); border: 2px solid var(--ink); z-index: 2;
}
.id-front .id-band {
  background: var(--c); padding: 30px 14px 12px; display: flex; align-items: center; gap: 8px; border-bottom: 2.5px solid var(--ink);
}
.id-band .mini-mark { width: 26px; height: 26px; border-radius: 7px; background: var(--ink); color: var(--yellow); display: grid; place-items: center; font: 400 15px/1 var(--f-display); flex: none; }
.id-band p { margin: 0; font: 700 10px/1.15 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.id-photo { position: relative; flex: none; margin: 14px 14px 0; aspect-ratio: 1/.92; border-radius: 10px; overflow: hidden; border: 2px solid var(--ink); background: var(--paper-2); }
.id-photo img, .id-photo .ph-tile { position: absolute; inset: 0; width: 100%; height: 100%; }
.id-photo img { display: block; object-fit: cover; object-position: 50% 12%; }
.id-info { padding: 12px 14px 0; flex: 1; }
.id-office { display: inline-block; font: 400 clamp(17px, 1.6vw, 21px)/1 var(--f-display); text-transform: uppercase; letter-spacing: .01em; }
.id-name { font: 700 15px/1.2 var(--f-sans); margin: 6px 0 0; }
.id-foot { display: flex; justify-content: space-between; align-items: flex-end; padding: 10px 14px 14px; gap: 10px; }
.id-foot small { font: 400 10px/1.35 var(--f-mono); color: var(--muted); text-transform: uppercase; }
.id-foot small b { color: var(--ink); display: block; font-size: 11px; }
.barcode { height: 28px; width: 70px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px); }
.id-back { transform: rotateY(180deg); background: var(--ink); color: var(--white); padding: 40px 18px 18px; justify-content: space-between; }
.id-back::before { background: var(--ink); border-color: var(--white); }
.id-back .crest { width: 88px; height: 88px; border-radius: 50%; border: 3px solid var(--c); display: grid; place-items: center; margin: 4px auto 0; font: 400 46px/1 var(--f-display); color: var(--c); }
.id-back h4 { font: 400 22px/1 var(--f-display); text-transform: uppercase; text-align: center; margin-top: 12px; letter-spacing: .02em; }
.id-back p { font: 400 11px/1.5 var(--f-mono); text-align: center; color: #ffffffb3; margin: 8px 0 0; }
.id-back .sig { border-top: 1.5px dashed #ffffff66; padding-top: 8px; text-align: center; font: italic 400 22px/1 var(--f-serif); color: var(--c); }
.id-back .sig small { display: block; font: 400 9px/1.4 var(--f-mono); color: #ffffff80; text-transform: uppercase; letter-spacing: .1em; margin-top: 4px; font-style: normal; }
.id-wrap .draft-badge { position: absolute; top: 60px; right: -6px; z-index: 4; transform: rotate(8deg); }

/* =========================================================
   IFAKI DAY
   ========================================================= */
.ifaki { background: var(--pink); color: var(--ink); border-block: 3px solid var(--ink); overflow: hidden; }
.ifaki::before { /* sunburst */
  content: ""; position: absolute; width: 1400px; height: 1400px; right: -500px; top: -500px; opacity: .18;
  background: repeating-conic-gradient(var(--yellow) 0 6deg, transparent 6deg 18deg); border-radius: 50%;
  animation: spin 120s linear infinite;
}
.ifaki .wrap { position: relative; }
.ifaki-head { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; margin-bottom: 56px; }
.ifaki-title { color: var(--white); text-shadow: 5px 5px 0 var(--ink); font-size: clamp(72px, 12vw, 180px); }
.ifaki-title .outline { -webkit-text-stroke: 3px var(--white); text-shadow: none; }
.postcard {
  position: relative; display: grid; grid-template-columns: 1fr 1.1fr; background: var(--cream); color: var(--red);
  padding: 26px; transform: rotate(2.5deg);
  /* stamp perforations (edges only) */
  --r: 8px;
  -webkit-mask: radial-gradient(var(--r), #0000 98%, #000) round calc(-1.5 * var(--r)) calc(-1.5 * var(--r)) / calc(3 * var(--r)) calc(3 * var(--r)),
                linear-gradient(#000 0 0) no-repeat 50% / calc(100% - 3 * var(--r)) calc(100% - 3 * var(--r));
  mask: radial-gradient(var(--r), #0000 98%, #000) round calc(-1.5 * var(--r)) calc(-1.5 * var(--r)) / calc(3 * var(--r)) calc(3 * var(--r)),
        linear-gradient(#000 0 0) no-repeat 50% / calc(100% - 3 * var(--r)) calc(100% - 3 * var(--r));
  filter: drop-shadow(0 20px 20px #0000004d);
}
.postcard-left { border-right: 2px solid var(--red); padding-right: 22px; }
.postcard .big-num { font: 400 clamp(54px, 6vw, 84px)/.9 var(--f-display); text-transform: uppercase; margin: 0 0 4px; }
.postcard-left p:not(.big-num) { font: 400 clamp(18px, 1.8vw, 24px)/1.05 var(--f-display); text-transform: uppercase; }
.stamps { display: flex; gap: 14px; align-items: center; margin-top: 12px; }
.stamp-round { width: 76px; height: 76px; border: 3px double var(--red); border-radius: 50%; display: grid; place-items: center; text-align: center; font: 700 11px/1.1 var(--f-mono); transform: rotate(-14deg); }
.stamp-sq { width: 60px; height: 70px; border: 3px solid var(--red); display: grid; place-items: center; font: 400 24px/1 var(--f-display); outline: 3px dashed var(--red); outline-offset: 3px; transform: rotate(8deg); }
.postcard-right { padding-left: 22px; }
.hashtag { font: 400 clamp(22px, 2.2vw, 30px)/1 var(--f-display); text-transform: uppercase; text-align: right; }
.postcard-lines { font: 400 15px/2.1 var(--f-sans); color: var(--ink-2);
  background: repeating-linear-gradient(transparent 0 30.5px, #e5232d88 30.5px 32px); }

.ifaki-mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(160px, 260px)); grid-auto-rows: minmax(160px, 260px); gap: 16px; }
.ifaki-mosaic figure { margin: 0; overflow: hidden; border-radius: 16px; border: 3px solid var(--ink); position: relative; background: var(--paper-2); cursor: zoom-in; }
.ifaki-mosaic figure:first-child { grid-row: span 2; }
.ifaki-mosaic figure:nth-child(3n):last-child { grid-column: 1 / -1; } /* a lone photo on the last row fills it */
.ifaki-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.ifaki-mosaic figure:hover img { transform: scale(1.06) rotate(.5deg); }
.ifaki-bottom { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; margin-top: 40px; align-items: start; }
.pull { margin: 0; background: var(--yellow); border: 3px solid var(--ink); border-radius: 18px; padding: 30px 32px; box-shadow: 8px 8px 0 var(--ink); }
.pull p { font: italic 400 clamp(28px, 3vw, 42px)/1.05 var(--f-serif); margin-bottom: 14px; }
.pull p::before { content: "“"; } .pull p::after { content: "”"; }
.pull cite { font: 400 13px/1.4 var(--f-mono); font-style: normal; text-transform: uppercase; letter-spacing: .06em; }
.committee { background: var(--white); border: 3px solid var(--ink); border-radius: 18px; padding: 26px 28px; }
.committee h3 { font: 400 26px/1 var(--f-display); text-transform: uppercase; margin-bottom: 14px; }
.committee ul { list-style: none; margin: 0; padding: 0; }
.committee li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-weight: 600; }
.committee li:last-child { border: 0; }
.committee li span { font: 400 12px/1.6 var(--f-mono); text-transform: uppercase; color: var(--muted); white-space: nowrap; }

/* =========================================================
   CELEBRATIONS
   ========================================================= */
.sub-label { display: flex; align-items: center; gap: 14px; font: 400 32px/1 var(--f-display); text-transform: uppercase; margin: 0 0 26px; }
.sub-label span { font: 700 13px/1 var(--f-mono); background: var(--ink); color: var(--white); padding: 7px 9px; border-radius: 6px; }
.wedding-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 80px; }
.wedding {
  background: var(--white); padding: 14px 14px 20px; border: 2px solid var(--ink); border-radius: 6px; position: relative;
  box-shadow: var(--shadow); transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.wedding:nth-child(1) { transform: rotate(-2deg); } .wedding:nth-child(2) { transform: rotate(1.5deg) translateY(16px); } .wedding:nth-child(3) { transform: rotate(-1deg); }
.wedding:hover { transform: rotate(0) translateY(-6px) scale(1.02); z-index: 2; }
.wedding::before { /* tape */
  content: ""; position: absolute; top: -14px; left: 50%; width: 110px; height: 28px; transform: translateX(-50%) rotate(-3deg);
  background: #ffc21acc; border: 1px solid #0000001a;
}
.wedding img { width: 100%; aspect-ratio: 4/4.6; object-fit: cover; }
.wedding h4 { font: italic 400 26px/1.05 var(--f-serif); margin: 16px 0 6px; }
.wedding p { margin: 0; font: 400 12px/1.4 var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.wedding .ring { position: absolute; right: 22px; top: 22px; background: var(--green); color: var(--white); width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--ink); font-size: 24px; line-height: 1; }
.wedding .draft-badge { position: absolute; left: 22px; top: 22px; }

.bday-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.bday { position: relative; text-align: center; }
.bday-photo { position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 3px solid var(--ink); background: var(--orange); }
.bday-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.bday:hover .bday-photo img { transform: scale(1.08); }
.bday-badge {
  position: absolute; right: 0; top: 4%; width: 84px; height: 84px; display: grid; place-items: center; text-align: center;
  background: var(--yellow); font: 400 15px/1 var(--f-display); text-transform: uppercase;
  clip-path: polygon(50% 0, 61% 12%, 77% 6%, 80% 22%, 96% 26%, 89% 41%, 100% 54%, 86% 63%, 89% 79%, 73% 80%, 65% 95%, 50% 87%, 35% 95%, 27% 80%, 11% 79%, 14% 63%, 0 54%, 11% 41%, 4% 26%, 20% 22%, 23% 6%, 39% 12%);
  animation: wobble 4s ease-in-out infinite;
}
.bday h4 { font: 800 19px/1.2 var(--f-sans); margin: 16px 0 4px; }
.bday p { margin: 0; font: 400 12px/1.4 var(--f-mono); color: var(--muted); text-transform: uppercase; }
.bday .draft-badge { margin-top: 8px; }
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: visible; }

/* =========================================================
   GALLERY
   ========================================================= */
.gallery { background: var(--white); border-block: 3px solid var(--ink); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button {
  font: 700 13px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; cursor: pointer;
  padding: 11px 14px; border-radius: 999px; border: 2px solid var(--ink); background: transparent; color: var(--ink); transition: .2s;
}
.filters button:hover { background: var(--paper-2); }
.filters button[aria-selected="true"] { background: var(--ink); color: var(--yellow); }
.masonry { columns: 4 240px; column-gap: 16px; }
.masonry figure { break-inside: avoid; margin: 0 0 16px; position: relative; border-radius: 14px; overflow: hidden; border: 2px solid var(--ink); cursor: zoom-in; background: var(--paper-2); }
.masonry img { width: 100%; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.masonry figure:hover img { transform: scale(1.05); }
.masonry figcaption {
  position: absolute; left: 10px; bottom: 10px; right: 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px;
  font: 700 12px/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: .04em;
  opacity: 0; transform: translateY(8px); transition: .3s;
}
.masonry figcaption span { background: var(--white); padding: 6px 8px; border-radius: 6px; border: 1.5px solid var(--ink); }
.masonry figure:hover figcaption { opacity: 1; transform: none; }
.masonry figure.hide { display: none; }

/* =========================================================
   CONSTITUTION
   ========================================================= */
.constitution { background: var(--blue); color: var(--white); overflow: hidden; }
.constitution .kicker { color: var(--white); } .constitution .kicker::before { background: var(--yellow); }
.constitution .lead { color: #ffffffd9; }
.const-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.const-doc { position: relative; aspect-ratio: 3/3.9; perspective: 1200px; max-width: 460px; width: 100%; margin: 0 auto; }
.doc-page { position: absolute; inset: 0; border-radius: 8px; background: var(--white); border: 3px solid var(--ink); transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.doc-3 { transform: rotate(-8deg) translate(-18px, 10px); background: var(--yellow); }
.doc-2 { transform: rotate(-3deg) translate(-6px, 4px); background: var(--pink); }
.doc-1 { transform: rotate(3deg); color: var(--ink); padding: 14% 12%; display: flex; flex-direction: column; align-items: center; text-align: center; box-shadow: 0 30px 50px -20px #0007; }
.const-doc:hover .doc-1 { transform: rotate(0) translateY(-10px) rotateX(6deg); }
.const-doc:hover .doc-2 { transform: rotate(-7deg) translate(-20px, 6px); }
.const-doc:hover .doc-3 { transform: rotate(-14deg) translate(-40px, 16px); }
.doc-crest { width: 70px; height: 70px; border-radius: 50%; background: var(--ink); color: var(--yellow); display: grid; place-items: center; font: 400 38px/1 var(--f-display); margin-bottom: 18px; }
.doc-kicker { font: 700 11px/1.4 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 6px; }
.doc-title { font: 400 clamp(40px, 5vw, 64px)/1 var(--f-display); text-transform: uppercase; margin: 0; }
.doc-year { font: italic 400 24px/1 var(--f-serif); color: var(--red); margin: 8px 0 22px; }
.doc-lines { width: 100%; display: grid; gap: 11px; }
.doc-lines i { height: 6px; border-radius: 3px; background: #1212121a; }
.doc-lines i:nth-child(3n) { width: 70%; }
.timeline { list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 3px; background: #ffffff55; }
.timeline li { position: relative; padding: 28px 10px 0 0; }
.timeline li::before { content: ""; position: absolute; top: 0; left: 0; width: 19px; height: 19px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--ink); }
.timeline li:last-child::before { background: var(--green); }
.timeline b { display: block; font: 400 20px/1 var(--f-display); text-transform: uppercase; margin-bottom: 6px; }
.timeline span { font-size: 14px; line-height: 1.35; color: #ffffffd9; display: block; }
.timeline .draft-badge { display: inline-block; margin-top: 6px; color: var(--ink); font-size: 9px; }
.ticks { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-size: 13px; font-weight: 800; background: var(--yellow); color: var(--ink); }
.constitution .ticks { grid-template-columns: 1fr 1fr; }

/* =========================================================
   READER section bg
   ========================================================= */
.reader { background: var(--yellow); border-block: 3px solid var(--ink); overflow: hidden; padding-bottom: clamp(40px, 6vw, 80px); }
.reader::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(var(--ink) 1.2px, transparent 1.3px); background-size: 22px 22px;
  -webkit-mask: linear-gradient(180deg, #000, transparent 70%); mask: linear-gradient(180deg, #000, transparent 70%);
}
.reader .wrap { position: relative; }
.reader-head { margin-bottom: 8px; }

/* =========================================================
   EXTRAS — anthem, roster, memoriam
   ========================================================= */
.extras-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: start; }
.anthem-card { background: var(--green); border: 3px solid var(--ink); border-radius: 22px; padding: clamp(28px, 4vw, 48px); box-shadow: 10px 10px 0 var(--ink); }
.anthem-card .kicker { color: var(--ink); } .anthem-card .kicker::before { background: var(--ink); }
.anthem { display: grid; gap: 22px; }
.anthem .verse p, .anthem .chorus p { margin: 0; font: 400 clamp(22px, 2.2vw, 30px)/1.25 var(--f-serif); }
.anthem .chorus { background: var(--white); border: 2px solid var(--ink); border-radius: 14px; padding: 18px 22px; transform: rotate(-1deg); }
.anthem .chorus p { font-style: italic; }
.anthem small { font: 700 12px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; display: block; margin-bottom: 8px; }
.side-stack { display: grid; gap: 28px; }
.roster-card, .memoriam-card { background: var(--white); border: 3px solid var(--ink); border-radius: 22px; padding: 28px 30px; }
.roster-card h3 { font: 400 30px/1 var(--f-display); text-transform: uppercase; margin-bottom: 16px; }
.roster-card ul { list-style: none; padding: 0; margin: 0; }
.roster-card li { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.roster-card li:last-child { border: 0; }
.roster-card li i { font: 700 12px/1 var(--f-mono); font-style: normal; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--paper-2); }
.roster-card li.next i { background: var(--pink); color: var(--white); }
.roster-card li b { font-weight: 700; }
.roster-card li span { font: 400 12px/1 var(--f-mono); text-transform: uppercase; color: var(--muted); }
.roster-card li.next span::after { content: " · next"; color: var(--pink); font-weight: 700; }
.memoriam-card { background: var(--ink); color: var(--white); display: flex; gap: 20px; align-items: center; }
.memoriam-card .candle { flex: none; width: 70px; height: 70px; border-radius: 50%; border: 2px solid #ffffff55; display: grid; place-items: center; font-size: 30px; }
.memoriam-card .kicker { color: #ffffffaa; margin-bottom: 8px; } .memoriam-card .kicker::before { background: #fff; }
.memoriam-card h3 { font: italic 400 30px/1 var(--f-serif); margin-bottom: 6px; }
.memoriam-card p { margin: 0; color: #ffffffb3; font-size: 15px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--ink); color: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; padding-top: 70px; padding-bottom: 40px; }
.footer-big { font: 400 clamp(64px, 10vw, 150px)/.85 var(--f-display); text-transform: uppercase; margin: 0; }
.footer-big em { font-style: normal; color: var(--yellow); }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-self: end; }
.footer-cols h4 { font: 700 12px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: #ffffff80; margin-bottom: 14px; }
.footer-cols a { display: block; text-decoration: none; font-weight: 600; padding: 5px 0; }
.footer-cols a:hover { color: var(--yellow); }
.footer-small { font: 400 12px/1 var(--f-mono); color: #ffffff70; padding-bottom: 30px; padding-top: 20px; border-top: 1px solid #ffffff1f; text-transform: uppercase; letter-spacing: .06em; }

/* =========================================================
   MODAL + LIGHTBOX
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal[hidden], .lightbox[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: #121212b3; backdrop-filter: blur(4px); animation: fade .25s; }
.modal-card {
  position: relative; width: min(940px, 100%); max-height: calc(100vh - 32px); overflow: auto;
  display: grid; grid-template-columns: 1fr 1.1fr; background: var(--white); border: 3px solid var(--ink); border-radius: 22px;
  box-shadow: 12px 12px 0 var(--pink); animation: pop .35s cubic-bezier(.2,.9,.3,1.2);
}
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.92) translateY(20px); } }
.mm-photo { background: var(--paper-2) center/cover; min-height: 320px; border-right: 3px solid var(--ink); }
.mm-body { padding: 34px 32px; }
.mm-num { font: 400 64px/1 var(--f-display); color: var(--pink); margin: 0 0 8px; }
.mm-body h3 { font: 800 30px/1.1 var(--f-sans); font-stretch: 85%; margin-bottom: 18px; }
.mm-meta { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0 0 20px; font: 400 13px/1.4 var(--f-mono); }
.mm-meta dt { color: var(--muted); text-transform: uppercase; }
.mm-meta dd { margin: 0; font-weight: 700; }
.mm-body .ticks li { font-size: 16px; }
.modal-x {
  position: absolute; right: 14px; top: 14px; z-index: 3; width: 42px; height: 42px; border-radius: 50%;
  background: var(--ink); color: var(--white); border: 0; cursor: pointer; font-size: 16px;
}
.lightbox { position: fixed; inset: 0; z-index: 110; background: #121212f2; display: grid; place-items: center; padding: 60px 70px; animation: fade .25s; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-height: calc(100vh - 160px); max-width: 100%; border-radius: 12px; border: 3px solid var(--white); }
.lightbox figcaption { color: var(--white); font: 700 14px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; margin-top: 16px; }
.lightbox .modal-x { background: var(--white); color: var(--ink); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--white); background: transparent; color: var(--white); font-size: 20px; cursor: pointer; }
.lb-nav:hover { background: var(--white); color: var(--ink); }
.lb-prev { left: 14px; } .lb-next { right: 14px; }

/* =========================================================
   REVEAL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.postcard.reveal.in { transform: rotate(2.5deg); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 3px solid var(--ink); padding: 12px var(--gutter) 20px;
  }
  .nav.open .nav-links a { font-size: 20px; padding: 12px 0; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav.open .nav-links a:hover { background: none; color: var(--pink); }
  .month-grid { grid-template-columns: repeat(2, 1fr); }
  .id-grid { --cols: 3; }
  .bday-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
}
@media (max-width: 860px) {
  .hero-grid, .letter-grid, .ifaki-head, .ifaki-bottom, .const-grid, .extras-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stat { padding-left: 0; }
  .letter-photo { max-width: 380px; }
  .id-grid { --cols: 2; --gap: 18px; }
  .wedding-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; gap: 40px; }
  .wedding:nth-child(n) { transform: rotate(-1deg); }
  .ifaki-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: auto; gap: 12px; }
  .ifaki-mosaic figure:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16/10; }
  .ifaki-mosaic figure { aspect-ratio: 1; }
  .ifaki-mosaic figure:last-child:nth-child(even) { grid-column: span 2; aspect-ratio: 16/10; }
  .modal-card { grid-template-columns: 1fr; }
  .mm-photo { min-height: 220px; border-right: 0; border-bottom: 3px solid var(--ink); }
  .constitution .ticks { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav { gap: 10px; }
  .nav-cta { display: none; }
  .brand-text small:last-child { display: none; }
  .month-grid { grid-template-columns: 1fr; }
  .month-meta { margin-left: 0; }
  .postcard { grid-template-columns: 1fr; transform: rotate(1deg); }
  .postcard.reveal.in { transform: rotate(1deg); }
  .postcard-left { border-right: 0; border-bottom: 2px solid var(--red); padding: 0 0 16px; }
  .postcard-right { padding: 16px 0 0; }
  .hashtag { text-align: left; }
  .timeline { grid-template-columns: 1fr 1fr !important; row-gap: 22px; }
  .timeline::before { display: none; }
  .id-office { font-size: 15px; }
  .id-name { font-size: 13px; }
  .id-band p { font-size: 8px; }
  .hero-tag { left: 8px; }
  .lightbox { padding: 60px 12px; }
  .lb-nav { top: auto; bottom: 14px; transform: none; }
  .memoriam-card { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   ADDITIONS — prelude, ceremonies, constitution actions, message
   ========================================================= */
.id-office { font-size: clamp(15px, 1.35vw, 19px); }
.prelude {
  margin-top: 64px; display: grid; grid-template-columns: auto 1.4fr 1fr; gap: 28px; align-items: center;
  background: var(--white); border: 3px solid var(--ink); border-radius: 20px; padding: 26px 30px; box-shadow: 8px 8px 0 var(--ink);
}
.prelude-tag { writing-mode: vertical-rl; transform: rotate(180deg); font: 400 30px/1 var(--f-display); text-transform: uppercase; color: var(--pink); }
.prelude h3 { font: 400 30px/1 var(--f-display); text-transform: uppercase; margin-bottom: 8px; }
.prelude p { margin: 0; color: var(--ink-2); }
.prelude dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font: 400 13px/1.4 var(--f-mono); }
.prelude dt { color: var(--muted); text-transform: uppercase; }
.prelude dd { margin: 0; font-weight: 700; }

.bday-badge { font-size: 19px; }
.bday-note { margin-top: 6px !important; font: 400 13px/1.4 var(--f-sans) !important; color: var(--ink-2) !important; text-transform: none !important; max-width: 240px; margin-inline: auto !important; }
.celebrations .bday-grid { margin-bottom: 80px; }

.cer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cer { display: grid; grid-template-columns: 200px 1fr; background: var(--white); border: 2.5px solid var(--ink); border-radius: 18px; overflow: hidden; }
.cer-img { position: relative; border-right: 2.5px solid var(--ink); background: var(--paper-2); }
.cer-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35); }
.cer-farewell .cer-img img { filter: grayscale(1) contrast(1.05); }
.cer-kind { position: absolute; left: 10px; top: 10px; font: 700 11px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; padding: 7px 9px; border-radius: 6px; border: 1.5px solid var(--ink); background: var(--green); color: var(--white); }
.cer-farewell .cer-kind { background: var(--ink); }
.cer-body { padding: 20px 22px; }
.cer-date { font: 400 12px/1.4 var(--f-mono); text-transform: uppercase; color: var(--muted); margin-bottom: 6px; letter-spacing: .04em; }
.cer h4 { font: 800 21px/1.15 var(--f-sans); font-stretch: 85%; margin: 0 0 8px; }
.cer p:last-child { margin: 0; font-size: 15px; color: var(--ink-2); }

.const-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-outline-light { --bg: transparent; --fg: var(--white); border-color: var(--white); box-shadow: 4px 4px 0 var(--ink); }
.const-note { margin: 14px 0 0; font: 400 13px/1.4 var(--f-mono); color: #ffffffb3; }
.pres-message { position: relative; margin-top: 64px; background: var(--white); color: var(--ink); border: 3px solid var(--ink); border-radius: 22px; padding: clamp(26px, 4vw, 48px); box-shadow: 10px 10px 0 var(--ink); }
.pres-message .kicker { color: var(--ink-2); } .pres-message .kicker::before { background: var(--pink); }
.pm-body p { font: 400 clamp(19px, 1.8vw, 24px)/1.4 var(--f-serif); color: var(--ink); margin-bottom: .7em; }
.pm-body p:first-child::first-letter { font: 400 3.2em/.8 var(--f-display); float: left; margin: 6px 10px 0 0; color: var(--blue); }
.pm-more { display: none; }
.pres-message.open .pm-more { display: block; }
.pm-toggle { font: 700 13px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; background: var(--yellow); border: 2px solid var(--ink); border-radius: 999px; padding: 11px 16px; cursor: pointer; }
.pm-sign { margin: 18px 0 0; font: italic 400 26px/1 var(--f-serif); }

.mm-events { margin-top: 18px; border-top: 1.5px dashed var(--line); padding-top: 14px; }
.mm-ev-label { font: 700 11px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 8px; }
.mm-ev { margin: 0 0 6px; font-size: 15px; padding-left: 14px; border-left: 3px solid var(--pink); }
.mem-formal { font: 400 12px/1.4 var(--f-mono) !important; text-transform: uppercase; letter-spacing: .06em; color: #ffffff80 !important; margin-bottom: 6px !important; }

@media (max-width: 860px) {
  .prelude { grid-template-columns: 1fr; }
  .prelude-tag { writing-mode: horizontal-tb; transform: none; font-size: 22px; }
  .cer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .cer { grid-template-columns: 1fr; }
  .cer-img { border-right: 0; border-bottom: 2.5px solid var(--ink); aspect-ratio: 16/9; }
}

/* =========================================================
   BRAND — official Uniq logo
   ========================================================= */
.brand { gap: 14px; }
.brand-logo { height: 46px; width: auto; display: block; }
.brand-text { border-left: 2px solid var(--ink); padding-left: 12px; gap: 3px; }
.brand-text small { font: 700 10.5px/1.1 var(--f-mono); color: var(--ink-2); text-transform: uppercase; letter-spacing: .08em; }
.brand-text small + small { color: var(--red); }
.footer-logo { width: 190px; height: auto; margin-bottom: 26px; }
.doc-logo { width: 62%; height: auto; margin: 0 auto 16px; }
.id-band { padding: 28px 12px 10px; }
.band-logo { height: 30px; width: auto; flex: none; }
.id-band p { border-left: 2px solid var(--ink); padding-left: 8px; }
.crest-logo { width: 78%; height: auto; margin: 10px auto 0; display: block; }

.cert-feature {
  margin-top: 28px; display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  background: var(--red); color: var(--white); border: 3px solid var(--ink); border-radius: 22px; padding: clamp(20px, 3vw, 36px); box-shadow: 8px 8px 0 var(--ink);
}
.cert-img { margin: 0; background: var(--white); padding: 10px; border: 3px solid var(--ink); border-radius: 8px; transform: rotate(-1.5deg); cursor: zoom-in; box-shadow: 0 24px 40px -18px #0008; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.cert-img:hover { transform: rotate(0) scale(1.02); }
.cert-img img { width: 100%; height: auto; }
.cert-copy .kicker { color: var(--white); } .cert-copy .kicker::before { background: var(--yellow); }
.cert-copy h3 { font: 400 clamp(36px, 4vw, 56px)/.95 var(--f-display); text-transform: uppercase; margin-bottom: 14px; }
.cert-copy p { color: #ffffffe6; font-size: 17px; }
.cert-copy b { color: var(--white); }
.cert-sigs { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cert-sigs li { font: 700 12px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .04em; background: var(--white); color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; padding: 8px 11px; }
@media (max-width: 860px) { .cert-feature { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .brand-logo { height: 38px; } .brand-text { display: none; } }

/* ID card "Photo coming" tile (used when an exco has no photo yet) */
.ph-tile { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--ink);
  background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--c, var(--yellow)) 34%, var(--paper)) 0 10px, color-mix(in srgb, var(--c, var(--yellow)) 20%, var(--paper)) 10px 20px); }
.ph-tile b { font: 400 clamp(42px, 4.2vw, 62px)/1 var(--f-display); letter-spacing: .02em; }
.ph-tile small { font: 700 10px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; background: var(--ink); color: var(--paper); padding: 5px 9px; border-radius: 999px; }
.mm-link { margin-top: 18px; }
/* ID cards on phones: a fixed, shorter photo box so the name and ID still fit */
@media (max-width: 600px) {
  .id-photo { aspect-ratio: 4/3; margin: 10px 10px 0; }
  .id-front .id-band { padding: 26px 10px 10px; }
  .id-info { padding: 10px 10px 0; }
  .id-photo .ph-tile b { font-size: 34px; }
  .id-foot small { font-size: 8.5px; }
  .id-foot small b { font-size: 10px; }
  .id-tenure { display: none; } /* tenure is shown above the cards */
  .id-office { font-size: 15px; }
  .id-name { font-size: 13px; }
  .id-foot { padding: 8px 10px 10px; }
  .id-foot .barcode { width: 46px; height: 22px; }
}

/* ID cards size to their content (front face in flow), so nothing is cut off at any width.
   Office and name keep room for two lines so every card is the same height. */
.id-card { aspect-ratio: auto; }
.id-front { position: relative; inset: auto; min-height: 100%; }
.id-office { min-height: 2em; }
.id-name { min-height: 2.4em; }
@media (max-width: 600px) {
  .id-back { padding: 30px 10px 10px; }
  .id-back .crest { width: 60px; height: 60px; font-size: 32px; }
  .id-back h4 { font-size: 17px; margin-top: 8px; }
  .id-back p { font-size: 9.5px; line-height: 1.4; margin-top: 6px; }
  .id-back .sig { font-size: 17px; padding-top: 6px; }
}
/* smaller birthday badges on phones (photos are only ~160px wide there) */
@media (max-width: 600px) {
  .bday-badge { width: 52px; height: 52px; font-size: 13px; top: 0; right: -4px; }
}
/* smaller "Since 1990" badge on phones so it doesn't cover the photo */
@media (max-width: 600px) {
  .hero-stamp { width: 64px; height: 64px; right: 10px; top: 10px; font-size: 8px; box-shadow: 3px 3px 0 var(--ink); }
  .hero-stamp b { font-size: 20px; }
}
