/* NOS2 — PPTMYHSS Cherur +2 Alumni
   Brand: indigo fountain-pen ink, watercolour accents from the logo's "O",
   the magenta dot, school-notebook paper and handwriting. */
:root {
  --ink: #3D3D8F;
  --ink-deep: #26265C;
  --text: #23233A;
  --body: #3F405A;
  --muted: #5A5B74;
  --rule: #D8D9EC;
  --rule-soft: #ECECF6;
  --tint: #EEEEF8;
  --tint-2: #F7F7FC;
  --blob: #E7E8F7;
  --input: #C9CAE3;
  --on-ink: #DCDDF2;

  --green: #4F8A2E;
  --green-text: #3B6E22;
  --green-soft: #EEF3E8;
  --orange: #E07F22;
  --orange-text: #A3410F;
  --orange-soft: #F6CBA6;
  --yellow: #E8B931;
  --yellow-soft: #F6D77A;
  --cream: #FFF3D1;
  --magenta: #C2387A;
  --error: #B3261E;
  --error-soft: #FCE8E6;
  --margin-red: #EAA3A3;

  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-label: "Josefin Sans", "Inter", system-ui, sans-serif;
  --font-hand: "Caveat", cursive;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(38, 38, 92, .06), 0 16px 40px rgba(38, 38, 92, .08);
  --blob-a: 47% 53% 42% 58% / 55% 41% 59% 45%;
  --blob-b: 58% 42% 51% 49% / 44% 57% 43% 56%;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--text); background: #FFFFFF; overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:hover { color: var(--ink-deep); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink-deep); margin: 0 0 .5em; line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; }
h1 { font-size: clamp(44px, 6.4vw, 86px); line-height: .98; letter-spacing: -0.035em; }
h2 { font-size: clamp(34px, 4.2vw, 54px); }
h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; }
p { margin: 0 0 1em; }
.ink { color: var(--ink); }
.muted { color: var(--muted); }
.lead { font-size: 19px; color: var(--body); max-width: 34em; }
.center { text-align: center; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-top: 96px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; border-radius: 8px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* Eyebrow label with the logo's magenta dot */
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-family: var(--font-label); font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--magenta); flex: none; }
.eyebrow.grey { color: var(--muted); }
.label { font-family: var(--font-label); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hand { font-family: var(--font-hand); font-weight: 700; color: var(--magenta); }
.hashtag { font-family: var(--font-hand); font-size: 32px; font-weight: 700; color: var(--magenta); transform: rotate(-3deg); transform-origin: left; margin: 26px 0 0; }

/* Watercolour blobs */
.blob { position: absolute; border-radius: var(--blob-a); pointer-events: none; }
.blob.b { border-radius: var(--blob-b); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink-deep); }
.wordmark { font-family: var(--font-display); font-size: 30px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--ink-deep); }
.wordmark b { color: var(--ink); font-weight: 800; }
.brand .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--magenta); }
.brand .school { font-family: var(--font-label); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; color: var(--text); text-decoration: none; font-weight: 500; font-size: 15px; border-bottom: 3px solid transparent; }
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink-deep); font-weight: 700; border-bottom-color: var(--orange); }
.nav-links .nav-cta { margin-left: 8px; padding: 0 22px; background: var(--ink); color: #fff; font-weight: 700; border-radius: 999px; border-bottom: 0; }
.nav-links .nav-cta:hover, .nav-links .nav-cta[aria-current="page"] { background: var(--ink-deep); color: #fff; }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 0; color: var(--ink-deep); cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; }
@media (max-width: 880px) {
  .brand .school { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 16px; background: #fff; border-bottom: 1px solid var(--rule); box-shadow: 0 12px 24px rgba(38,38,92,.08); }
  .nav-links.open { display: flex; }
  .nav-links a { border-bottom: 0; border-left: 3px solid transparent; }
  .nav-links a[aria-current="page"] { border-left-color: var(--orange); }
  .nav-links .nav-cta { margin: 8px 0 0; justify-content: center; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .15s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-deep); color: #fff; }
.btn-outline { border-color: var(--ink-deep); color: var(--ink-deep); background: #fff; }
.btn-outline:hover { background: var(--tint); color: var(--ink-deep); }
.btn-light { background: #fff; color: var(--ink-deep); font-weight: 800; }
.btn-light:hover { background: var(--tint); color: var(--ink-deep); }
.btn-ghost-light { border-color: #fff; color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-whatsapp { background: #1F6E46; color: #fff; }
.btn-whatsapp:hover { background: #185a39; color: #fff; }
.btn-sm { min-height: 44px; padding: 0 20px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 800; color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 5px; white-space: nowrap; }
.text-link svg { width: 18px; height: 18px; flex: none; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 56px; }
.hero-grid { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.hero-copy { flex: 1 1 460px; min-width: 0; }
.hero-art { flex: 1 1 400px; min-width: 0; position: relative; display: flex; justify-content: center; }
.hero-art img { position: relative; width: 100%; max-width: 520px; mix-blend-mode: multiply; clip-path: inset(1% 1% 1% 1%); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.page-hero { position: relative; padding-top: 64px; padding-bottom: 40px; }
.page-hero h1 { font-size: clamp(42px, 5.6vw, 76px); max-width: 12em; }
.page-hero p { font-size: 18px; color: var(--body); max-width: 40em; margin: 0; }

/* ---------- Stats ledger ---------- */
.ledger { border-top: 3px solid var(--ink-deep); border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.ledger > div { padding: 26px 24px 22px; border-left: 1px solid var(--rule); }
.ledger > div:first-child { border-left: 0; padding-left: 0; }
.ledger-value { font-family: var(--font-display); font-size: 46px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--ink-deep); font-variant-numeric: tabular-nums; }
.ledger-label { margin-top: 10px; font-family: var(--font-label); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 520px) {
  .ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ledger > div { padding: 20px 12px 16px; border-left: 0; border-top: 1px solid var(--rule); }
  .ledger > div:nth-child(-n+2) { border-top: 0; }
  .ledger > div:nth-child(odd) { padding-left: 0; }
  .ledger > div:nth-child(even) { border-left: 1px solid var(--rule); }
  .ledger-value { font-size: 32px; }
}

/* ---------- Notebook paper ---------- */
.notebook { margin-top: 96px; background-color: var(--tint-2);
  background-image: linear-gradient(90deg, transparent 0, transparent 71px, var(--margin-red) 71px, var(--margin-red) 73px, transparent 73px),
                    repeating-linear-gradient(180deg, transparent 0, transparent 35px, #E3E4F3 35px, #E3E4F3 36px);
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.notebook .container { padding-top: 88px; padding-bottom: 88px; padding-left: clamp(88px, 8vw, 120px); }
@media (max-width: 620px) {
  .notebook { background-image: linear-gradient(90deg, transparent 0, transparent 23px, var(--margin-red) 23px, var(--margin-red) 25px, transparent 25px), repeating-linear-gradient(180deg, transparent 0, transparent 35px, #E3E4F3 35px, #E3E4F3 36px); }
  .notebook .container { padding-left: 40px; padding-top: 56px; padding-bottom: 56px; }
}
.cup-grid { display: flex; flex-wrap: wrap; gap: 48px; }
.cup-intro { flex: 1 1 300px; min-width: 0; }
.cup-board { flex: 2 1 560px; min-width: 0; }
.cup-note { margin: 30px 0 0; font-family: var(--font-hand); font-size: 30px; font-weight: 700; line-height: 1.15; color: var(--magenta); transform: rotate(-2deg); max-width: 11em; }

/* ---------- Leaderboard ---------- */
.board { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.board-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 16px 22px; border-bottom: 1px solid var(--rule-soft); }
.board-row:last-child { border-bottom: 0; }
.board-row.highlight { background: #FFF8E6; }
.rank { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 2px solid var(--rule); font-family: var(--font-display); font-size: 21px; font-weight: 800; color: var(--ink-deep); }
.rank.r1 { background: var(--yellow-soft); border-color: var(--yellow); }
.rank.r2 { background: #E3E4F3; border-color: #B9BBE3; }
.rank.r3 { background: var(--orange-soft); border-color: var(--orange); }
.board-name { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--ink-deep); }
.board-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.board-sub { font-size: 13px; color: var(--muted); }
.board-bar { height: 8px; margin-top: 9px; background: var(--tint); border-radius: 4px; overflow: hidden; }
.board-bar > span { display: block; height: 100%; width: 0; background: var(--ink); border-radius: inherit; transition: width .8s ease; }
.board-row.leader .board-bar > span { background: var(--orange); }
.board-amount { text-align: right; font-family: var(--font-display); font-size: 21px; font-weight: 800; color: var(--ink-deep); font-variant-numeric: tabular-nums; white-space: nowrap; }
.nudge { font-family: var(--font-body); font-size: 12px; font-weight: 700; color: var(--orange-text); letter-spacing: 0; }
.board.compact .board-row { padding: 12px 16px; gap: 14px; grid-template-columns: 44px minmax(0, 1fr) auto; }
.board.compact .rank { width: 40px; height: 40px; font-size: 18px; }
@media (max-width: 520px) {
  .board-row, .board.compact .board-row { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 14px 16px; }
  .rank { width: 40px; height: 40px; font-size: 18px; }
  .board-amount { grid-column: 2; text-align: left; font-size: 19px; }
}
.empty { text-align: center; padding: 32px 16px; color: var(--muted); background: #fff; border: 1.5px dashed var(--input); border-radius: var(--radius); }
.rising { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: var(--green-soft); border-radius: 12px; color: #2C4F18; font-size: 15px; }
.rising svg { flex: none; width: 22px; height: 22px; }

.goal { padding-bottom: 22px; border-bottom: 1px solid var(--rule); }
.goal-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px; }
.goal-amount { font-family: var(--font-display); font-size: clamp(44px, 5vw, 60px); font-weight: 800; line-height: 1; letter-spacing: -0.035em; color: var(--ink-deep); font-variant-numeric: tabular-nums; }
.progress { height: 14px; margin: 16px 0 10px; background: var(--tint); border-radius: 7px; overflow: hidden; }
.progress > span { display: block; height: 100%; width: 0; background: var(--orange); border-radius: inherit; transition: width .8s ease; }

/* ---------- Event cards (taped photos) ---------- */
.event-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 56px 32px; }
.event-card { display: block; text-decoration: none; color: var(--text); }
.event-card:hover h3 { color: var(--ink); }
.photo-taped { position: relative; padding-top: 12px; }
.photo-taped::before { content: ""; position: absolute; top: 0; left: 50%; width: 96px; height: 26px; margin-left: -48px; background: var(--tape, var(--yellow)); opacity: .8; transform: rotate(var(--tape-tilt, -3deg)); z-index: 1; }
.photo-taped img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; transform: rotate(var(--tilt, -1deg)); box-shadow: 0 10px 26px rgba(38,38,92,.14); background: var(--tint); transition: transform .2s; }
.photo-taped img.logo { object-fit: contain; background: #fff; }
.event-card:hover .photo-taped img { transform: rotate(0deg) scale(1.01); }
.event-card .meta { margin-top: 22px; }
.event-card h3 { margin: 8px 0 6px; transition: color .15s; }
.event-card p { margin: 0; color: var(--body); font-size: 15px; }
.event-year { display: flex; align-items: baseline; gap: 14px; margin-top: 22px; }
.event-year .y { font-family: var(--font-display); font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.event-card .event-year + h3 { font-size: 22px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 44px; }
.section-head h2 { margin: 0; }
.section-rule { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; border-bottom: 1px solid var(--rule); padding-bottom: 12px; margin-bottom: 44px; }
.section-rule h2 { margin: 0; font-size: clamp(30px, 3.4vw, 38px); }
.section-rule .hand { font-size: 26px; }

/* Current-event banner and block */
.current-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-bottom: 48px; padding: 22px 28px; background: var(--ink); color: #fff; text-decoration: none; border-radius: 16px; }
.current-strip:hover { background: var(--ink-deep); color: #fff; }
.current-strip .lhs { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.current-strip .tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-label); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow-soft); }
.current-strip .tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.current-strip .title { font-family: var(--font-display); font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.current-strip .who { font-family: var(--font-hand); font-size: 30px; font-weight: 700; color: var(--yellow-soft); }
.current-strip .go { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; }
.current-strip .go svg { width: 18px; height: 18px; }

.ink-panel { position: relative; overflow: hidden; background: var(--ink); color: #fff; border-radius: 20px; padding: clamp(32px, 5vw, 60px); }
.ink-panel h2, .ink-panel h1 { color: #fff; }
.ink-panel p { color: var(--on-ink); }
.handwriting-bg { position: absolute; inset: -10px -20px; font-family: var(--font-hand); font-size: 30px; line-height: 1.35; color: #fff; opacity: .07; transform: rotate(-4deg); white-space: nowrap; pointer-events: none; user-select: none; }
.ink-panel .content { position: relative; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-family: var(--font-label); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.pill-light { background: #fff; color: var(--ink-deep); }
.pill-light::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--magenta); }
.pill-cream { background: var(--cream); color: #6A4A0C; }
.current-title { margin: 18px 0 0; font-size: clamp(44px, 6vw, 80px); line-height: .95; }
.current-who { margin: 4px 0 18px; font-family: var(--font-hand); font-size: clamp(36px, 4.4vw, 54px); font-weight: 700; line-height: 1.1; color: var(--yellow-soft) !important; }

.feature { display: flex; flex-wrap: wrap; gap: 44px; align-items: center; text-decoration: none; color: var(--text); border-top: 3px solid var(--ink-deep); padding-top: 44px; }
.feature-art { flex: 1 1 460px; min-width: 0; position: relative; padding-bottom: 40px; }
.feature-art .main { width: 88%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; transform: rotate(-1.5deg); box-shadow: 0 16px 40px rgba(38,38,92,.16); }
.feature-art .inset { position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 4 / 3; object-fit: cover; border: 8px solid #fff; border-radius: 6px; transform: rotate(3deg); box-shadow: 0 12px 30px rgba(38,38,92,.18); }
.feature-copy { flex: 1 1 360px; min-width: 0; }
.feature-copy h2 { margin: 16px 0 10px; }
.feature-copy p { margin: 16px 0 24px; font-size: 17px; color: var(--body); }

.note-box { margin-top: 80px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 30px; background: var(--tint-2); border: 1.5px dashed #B9BBE3; border-radius: var(--radius); }
.note-box strong { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--ink-deep); }

/* ---------- Event detail ---------- */
.back-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; text-decoration: none; }
.event-head { margin: 12px 0 28px; }
.event-head h1 { font-size: clamp(36px, 5vw, 64px); margin: 14px 0 10px; }
.event-hero-img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.event-hero-logo { max-width: 420px; mix-blend-mode: multiply; clip-path: inset(1%); }
.prose { max-width: 70ch; font-size: 17px; color: var(--body); }
.event-video { width: 100%; max-width: 720px; border-radius: var(--radius); background: #000; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.gallery button { padding: 0; border: 0; background: var(--tint); border-radius: 8px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.gallery button:hover img { transform: scale(1.04); }
@media (max-width: 520px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }
.lightbox { position: fixed; inset: 0; background: rgba(14, 14, 40, .94); display: none; align-items: center; justify-content: center; z-index: 200; padding: 16px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 86vh; max-width: 100%; border-radius: 8px; }
.lightbox-close, .lightbox-nav { position: absolute; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.14); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 26px; cursor: pointer; }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-nav.prev { left: 16px; }
.lightbox-nav.next { right: 16px; }
.lightbox-caption { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: var(--on-ink); font-size: 14px; }

/* ---------- CTA band ---------- */
.cta-band .content { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.cta-band h2 { margin: 0 0 10px; font-size: clamp(34px, 4vw, 52px); }
.cta-band p { margin: 0; font-size: 17px; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--ink-deep); display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { display: flex; gap: 16px; align-items: flex-start; padding: 22px 28px; border-left: 1px solid var(--rule); }
.steps li:first-child { border-left: 0; padding-left: 0; }
.steps .n { flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--ink-deep); }
.steps li:nth-child(1) .n { background: var(--yellow-soft); }
.steps li:nth-child(2) .n { background: #CFE3C2; }
.steps li:nth-child(3) .n { background: var(--orange-soft); }
.steps strong { display: block; font-size: 17px; color: var(--ink-deep); }
.steps span.d { font-size: 15px; color: var(--muted); }
@media (max-width: 560px) { .steps li { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); } .steps li:first-child { border-top: 0; } }

/* ---------- Forms ---------- */
.contribute-grid { display: flex; flex-wrap: wrap; gap: 44px; align-items: flex-start; padding-top: 44px; }
.form-card { flex: 1 1 340px; min-width: 0; max-width: 440px; background-color: #fff;
  background-image: linear-gradient(90deg, transparent 0, transparent 27px, var(--margin-red) 27px, var(--margin-red) 29px, transparent 29px);
  border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(38,38,92,.06), 0 18px 44px rgba(38,38,92,.10); padding: 30px 30px 30px 52px; }
@media (min-width: 960px) { .form-card { position: sticky; top: 96px; } }
@media (max-width: 960px) { .form-card { max-width: none; } }
@media (max-width: 420px) { .form-card { padding: 22px 18px 22px 40px; background-image: linear-gradient(90deg, transparent 0, transparent 21px, var(--margin-red) 21px, var(--margin-red) 23px, transparent 23px); } }
.form-card h2 { font-size: 30px; margin: 0 0 6px; }
.form-card .label { font-size: 12px; letter-spacing: .16em; margin-bottom: 4px; }
.board-col { flex: 2 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.field { margin-bottom: 20px; }
.field > label { display: block; margin-bottom: 6px; font-weight: 700; font-size: 14px; color: var(--ink-deep); }
.field .hint { font-size: 13px; color: var(--muted); margin-top: 4px; }
.input, select.input, textarea.input { width: 100%; min-height: 50px; padding: 10px 14px; font: inherit; color: var(--text); background: #fff; border: 1.5px solid var(--input); border-radius: var(--radius-sm); appearance: none; }
select.input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235A5B74' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; }
#country { font-weight: 700; }
.input:focus { border-color: var(--ink); outline: 3px solid rgba(61,61,143,.18); }
.field.invalid .input { border: 2px solid var(--error); }
.field .error { display: none; color: var(--error); font-size: 13px; font-weight: 700; margin-top: 6px; }
.field.invalid .error { display: block; }
.phone-row { display: grid; grid-template-columns: minmax(118px, 42%) minmax(0, 1fr); gap: 8px; }
.phone-preview { display: flex; align-items: center; gap: 6px; font-size: 13px; margin-top: 8px; color: var(--green-text); font-weight: 700; min-height: 1.3em; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 600; margin-bottom: 16px; }
.alert-error { background: var(--error-soft); color: #8C1D18; }
.alert-success { background: var(--green-soft); color: #2C4F18; }

.success-panel { text-align: center; }
.success-slip { margin: 6px auto 28px; max-width: 320px; text-align: left; background-color: #fff;
  background-image: repeating-linear-gradient(180deg, transparent 0, transparent 31px, #E3E4F3 31px, #E3E4F3 32px);
  border: 1px solid var(--rule); border-radius: var(--radius); padding: 18px 20px 20px; box-shadow: 0 18px 44px rgba(38,38,92,.14); transform: rotate(-2deg); }
.success-slip .label { color: var(--green-text); }
.success-slip .hello { margin: 4px 0 6px; font-family: var(--font-hand); font-size: 38px; font-weight: 700; line-height: 1.05; color: var(--ink); }
.success-slip .row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; }
.success-slip .batch { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--ink-deep); }
.success-slip .rankno { font-family: var(--font-display); font-size: 24px; font-weight: 800; color: var(--ink); }
.success-panel h2 { font-size: 30px; margin: 0 0 8px; }
.success-panel .btn + .btn { margin-top: 10px; }

/* ---------- About / contact ---------- */
.two-col { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.two-col > * { flex: 1 1 380px; min-width: 0; }
.card { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); padding: 16px 20px; }
.contact-list .icon { flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--tint); color: var(--ink); }
.contact-list .icon svg { width: 22px; height: 22px; }
.contact-list strong { color: var(--ink-deep); }
.photo-wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.photo-wall img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 104px; border-top: 3px solid var(--ink-deep); }
.doodles { display: flex; flex-wrap: wrap; gap: 22px; padding-top: 22px; color: var(--ink); opacity: .7; }
.doodles svg { width: 30px; height: 30px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding: 24px 0 48px; }
.footer-grid p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.footer-grid .hand { font-size: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 24px; list-style: none; padding: 0; margin: 0; font-size: 15px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); }

.skeleton { background: linear-gradient(90deg, #EEEEF8 25%, #F7F7FC 50%, #EEEEF8 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: 10px; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
