/* =========================================================
   Conference website — public styles
   Colors come from Admin → Site Settings → Colors (CSS vars)
   ========================================================= */
:root {
    --c-primary: #0b3b6f;
    --c-accent: #f2a516;
    --c-ink: #14213a;
    --c-muted: #5d6b82;
    --c-line: #e3e8f0;
    --c-tint: #f5f7fb;
    --radius: 16px;
    --shadow: 0 18px 40px -24px rgba(11, 30, 60, .35);
    --font-head: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --nav-h: 56px;
}
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--c-ink); background: #fff; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--c-ink); letter-spacing: -.01em; }
a { color: var(--c-primary); }
img { max-width: 100%; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--c-accent); color: #000; padding: .5rem 1rem; z-index: 2000; }
.skip-link:focus { left: 1rem; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--c-accent) 80%, transparent); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn-accent, .btn-primary-c, .btn-ghost {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    font-family: var(--font-head); font-weight: 700; font-size: .92rem; letter-spacing: .01em;
    padding: .72rem 1.35rem; border-radius: 999px; text-decoration: none; border: 2px solid transparent;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease; cursor: pointer; line-height: 1.2;
}
.btn-accent { background: var(--c-accent); color: #1a1300; box-shadow: 0 10px 22px -12px var(--c-accent); }
.btn-accent:hover { transform: translateY(-2px); color: #1a1300; box-shadow: 0 16px 28px -14px var(--c-accent); }
.btn-primary-c { background: var(--c-primary); color: #fff; }
.btn-primary-c:hover { color: #fff; transform: translateY(-2px); background: color-mix(in srgb, var(--c-primary) 85%, #000); }
.btn-ghost { background: transparent; color: var(--c-primary); border-color: color-mix(in srgb, var(--c-primary) 30%, transparent); }
.btn-ghost:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.btn-lg-pad { padding: .95rem 1.75rem; font-size: 1rem; }
.btn-sm-c { padding: .5rem 1rem; font-size: .85rem; }

/* ---------- Header (logo + name) ---------- */
.site-header { background: var(--c-header-bg); border-bottom: 1px solid var(--c-line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-top: 1rem; padding-bottom: 1rem; }
.brand { display: flex; align-items: center; gap: 1.1rem; text-decoration: none; min-width: 0; }
.brand-logo { height: var(--logo-h); width: auto; max-width: 180px; object-fit: contain; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name { font-family: var(--font-head); font-weight: 800; color: var(--c-header-text); font-size: clamp(1.15rem, 1.1vw + .8rem, 1.75rem); line-height: 1.2; }
.brand-short { display: none; font-family: var(--font-head); font-weight: 800; color: var(--c-header-text); font-size: 1.15rem; line-height: 1.2; }
.brand-tagline { color: var(--c-muted); font-size: .95rem; margin-top: .15rem; }
.brand-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: .35rem; font-size: .84rem; color: var(--c-primary); font-weight: 600; }
.brand-meta i { color: var(--c-accent); margin-right: .2rem; }
.header-side { display: flex; align-items: center; gap: 1.25rem; flex-shrink: 0; }
.second-logo { height: calc(var(--logo-h) * .85); width: auto; max-width: 160px; object-fit: contain; }

/* ---------- Notice ticker ---------- */
.notice-bar { background: var(--c-notice-bg); color: var(--c-notice-text); border-bottom: 1px solid var(--c-line); font-size: .92rem; }
.notice-inner { display: flex; align-items: stretch; padding-left: 0; padding-right: 0; }
.notice-label { display: inline-flex; align-items: center; gap: .45rem; background: var(--c-accent); color: #1a1300; font-family: var(--font-head); font-weight: 800; letter-spacing: .06em; font-size: .8rem; padding: .55rem 1rem; position: relative; flex-shrink: 0; z-index: 2; }
.notice-label::after { content: ''; position: absolute; right: -12px; top: 0; bottom: 0; width: 12px; background: var(--c-accent); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.notice-viewport { flex: 1; overflow: hidden; position: relative; display: flex; align-items: center; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%); }
.notice-track { display: flex; width: max-content; will-change: transform; animation: ticker var(--ticker-dur, 40s) linear infinite; }
.notice-viewport:hover .notice-track, .notice-viewport:focus-within .notice-track { animation-play-state: paused; }
.notice-group { display: flex; flex-shrink: 0; padding-right: 3rem; }
.notice-item { white-space: nowrap; padding: .55rem 0; display: inline-flex; align-items: center; gap: .45rem; }
.notice-item + .notice-item::before { content: '◆'; color: var(--c-accent); font-size: .6rem; margin: 0 1.6rem; }
.notice-item a { color: inherit; text-decoration: none; font-weight: 500; }
.notice-item a:hover { color: var(--c-primary); text-decoration: underline; }
.badge-new { font-style: normal; font-size: .64rem; font-weight: 800; background: #e11d48; color: #fff; padding: .12rem .4rem; border-radius: 4px; letter-spacing: .05em; animation: blink 1.2s steps(2, start) infinite; }
@keyframes ticker { from { transform: translateX(var(--ticker-start, 0)); } to { transform: translateX(var(--ticker-end, -50%)); } }
@keyframes blink { to { opacity: .35; } }

/* ---------- Main navigation ---------- */
.main-nav { background: var(--c-nav-bg); position: sticky; top: 0; z-index: 1030; transition: box-shadow .2s; }
.main-nav.is-stuck { box-shadow: 0 10px 30px -18px rgba(0,0,0,.6); }
.nav-inner { display: flex; align-items: center; min-height: var(--nav-h); position: relative; }
.nav-mini-brand { display: none; align-items: center; gap: .55rem; text-decoration: none; color: var(--c-nav-text); font-family: var(--font-head); font-weight: 800; }
.nav-mini-brand img { height: 34px; width: 34px; object-fit: contain; background: #fff; border-radius: 8px; padding: 2px; }
.nav-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: stretch; width: 100%; justify-content: center; }
.nav-menu > li { position: relative; display: flex; align-items: stretch; }
.nav-menu > li > a { display: flex; align-items: center; gap: .35rem; padding: 0 1.05rem; min-height: var(--nav-h); color: var(--c-nav-text); text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: .86rem; letter-spacing: .04em; position: relative; transition: background .15s; }
.nav-menu > li > a::after { content: ''; position: absolute; left: 1.05rem; right: 1.05rem; bottom: 10px; height: 3px; border-radius: 3px; background: var(--c-accent); transform: scaleX(0); transition: transform .2s ease; transform-origin: left; }
.nav-menu > li:hover > a, .nav-menu > li:focus-within > a { background: rgba(255,255,255,.08); }
.nav-menu > li:hover > a::after, .nav-menu > li.active > a::after { transform: scaleX(1); }
.nav-menu .caret { font-size: .7rem; transition: transform .2s; }
.sub-toggle { display: none; }
.sub-menu { list-style: none; margin: 0; padding: .5rem; position: absolute; top: 100%; left: 0; min-width: 280px; background: #fff; border-radius: 0 0 14px 14px; box-shadow: 0 24px 50px -20px rgba(11, 30, 60, .45); border-top: 3px solid var(--c-accent); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 10; }
.nav-menu > li:hover > .sub-menu, .nav-menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav-menu > li:hover .caret { transform: rotate(180deg); }
.sub-menu a { display: block; padding: .6rem .85rem; border-radius: 9px; color: var(--c-ink); text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: .84rem; letter-spacing: .02em; transition: background .15s, color .15s, padding .15s; }
.sub-menu a:hover, .sub-menu li.active a { background: color-mix(in srgb, var(--c-primary) 8%, #fff); color: var(--c-primary); padding-left: 1.1rem; }

.nav-toggle { display: none; margin-left: auto; align-items: center; gap: .55rem; background: rgba(255,255,255,.1); color: var(--c-nav-text); border: 0; border-radius: 10px; padding: .45rem .75rem; font-family: var(--font-head); font-weight: 800; font-size: .78rem; letter-spacing: .08em; }
.nav-toggle-bars { display: inline-flex; flex-direction: column; gap: 4px; width: 20px; }
.nav-toggle-bars i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-open .nav-toggle-bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle-bars i:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle-bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero: liquid slider ---------- */
.hero { position: relative; height: var(--hero-h, 82vh); min-height: 480px; max-height: 980px; overflow: hidden; background: #0a1628; isolation: isolate; color: #fff; }
.hero-fallback, .hero-bg, .hero-canvas, .hero-shade { position: absolute; inset: 0; }
.hero-bg { background-size: cover; background-position: center; opacity: 0; transform: scale(1.06); transition: opacity 1.1s ease, transform 7s ease; }
.hero-bg.is-active { opacity: 1; transform: scale(1); }
.hero-canvas { width: 100% !important; height: 100% !important; display: block; opacity: 0; transition: opacity .6s ease; z-index: 1; touch-action: pan-y; }
.hero.is-liquid .hero-canvas { opacity: 1; }
.hero.is-liquid.is-switching .hero-canvas { opacity: 0; transition-duration: .35s; }
.hero-shade { z-index: 2; pointer-events: none; background:
    linear-gradient(90deg, rgba(5, 14, 30, calc(var(--hero-overlay) + .35)) 0%, rgba(5, 14, 30, var(--hero-overlay)) 45%, rgba(5, 14, 30, 0) 80%),
    linear-gradient(0deg, rgba(5, 14, 30, .55) 0%, rgba(5, 14, 30, 0) 35%); }
.hero-captions { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hero-caption { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.hero-caption.is-active { opacity: 1; visibility: visible; }
.hero-caption-inner { max-width: 680px; padding-bottom: 3rem; }
.hero-caption-inner > * { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.hero-caption.is-active .hero-caption-inner > * { opacity: 1; transform: none; }
.hero-caption.is-active .hero-caption-inner > *:nth-child(2) { transition-delay: .12s; }
.hero-caption.is-active .hero-caption-inner > *:nth-child(3) { transition-delay: .24s; }
.hero-caption a { pointer-events: auto; }
.hero-title { color: #fff; font-weight: 800; font-size: clamp(2rem, 3.6vw + .6rem, 4rem); line-height: 1.08; margin-bottom: 1rem; text-shadow: 0 4px 30px rgba(0,0,0,.35); }
.hero-sub { font-size: clamp(1rem, .5vw + .9rem, 1.25rem); color: rgba(255,255,255,.9); margin-bottom: 1.75rem; max-width: 560px; }
.hero-controls { position: absolute; left: 0; right: 0; bottom: 1.6rem; z-index: 4; pointer-events: none; }
.hero-controls button { pointer-events: auto; }
.hero-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.45); background: rgba(255,255,255,.08); color: #fff; display: inline-flex; align-items: center; justify-content: center; backdrop-filter: blur(6px); transition: background .2s, border-color .2s; }
.hero-arrow:hover { background: var(--c-accent); border-color: var(--c-accent); color: #1a1300; }
.hero-dots { display: flex; gap: .45rem; }
.hero-dot { width: 46px; height: 24px; background: none; border: 0; padding: 0; display: flex; align-items: center; }
.hero-dot span { display: block; height: 4px; width: 100%; border-radius: 4px; background: rgba(255,255,255,.35); overflow: hidden; position: relative; }
.hero-dot span::after { content: ''; position: absolute; inset: 0; background: var(--c-accent); transform: scaleX(0); transform-origin: left; }
.hero-dot.is-active span::after { animation: dotfill var(--slide-dur, 7s) linear forwards; }
.hero.is-paused .hero-dot.is-active span::after { animation-play-state: paused; }
@keyframes dotfill { to { transform: scaleX(1); } }
.hero-hint { position: absolute; right: 1.5rem; bottom: 1.9rem; z-index: 4; font-size: .78rem; color: rgba(255,255,255,.75); display: none; align-items: center; gap: .35rem; pointer-events: none; }
.hero.is-liquid .hero-hint { display: inline-flex; animation: hint 3s ease 1.5s both; }
@keyframes hint { 0% { opacity: 0; transform: translateY(6px); } 15%, 80% { opacity: 1; transform: none; } 100% { opacity: .55; } }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 6vw, 6rem) 0; }
.section-tint { background: var(--c-tint); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.75rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-weight: 800; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-primary); margin-bottom: .6rem; }
.eyebrow::before { content: ''; width: 22px; height: 3px; border-radius: 3px; background: var(--c-accent); }
.section-title { font-weight: 800; font-size: clamp(1.7rem, 1.6vw + 1.1rem, 2.6rem); line-height: 1.15; margin-bottom: 1rem; }
.rich { color: #34425a; }
.rich h2, .rich h3, .rich h4 { margin: 1.6rem 0 .7rem; font-weight: 700; }
.rich h3 { font-size: 1.35rem; }
.rich > *:first-child { margin-top: 0; }
.rich ul { padding-left: 1.2rem; }
.rich li { margin-bottom: .35rem; }
.rich li::marker { color: var(--c-accent); }
.rich blockquote { border-left: 4px solid var(--c-accent); padding: .5rem 1rem; background: var(--c-tint); border-radius: 0 10px 10px 0; }
.rich-lg { font-size: 1.04rem; }
.small-rich { font-size: .93rem; }
.small-rich ul { margin-bottom: 0; }
.empty-state { text-align: center; padding: 4rem 1rem; color: var(--c-muted); }
.empty-state i { font-size: 2.6rem; color: color-mix(in srgb, var(--c-primary) 40%, #fff); display: block; margin-bottom: .75rem; }

/* Welcome + countdown */
.welcome-visual { position: relative; padding-bottom: 3.5rem; }
.welcome-visual > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); }
.countdown-card { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: min(92%, 440px); background: var(--c-primary); color: #fff; border-radius: 18px; padding: 1.1rem 1.25rem 1.2rem; box-shadow: 0 24px 40px -22px rgba(0,0,0,.6); }
.welcome-visual > .countdown-card:only-child { position: static; transform: none; width: 100%; }
.countdown-title { text-align: center; font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-accent); margin-bottom: .6rem; }
.countdown-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; text-align: center; }
.countdown-grid div { background: rgba(255,255,255,.08); border-radius: 12px; padding: .55rem .25rem; }
.countdown-grid b { display: block; font-family: var(--font-head); font-size: clamp(1.4rem, 1.6vw + .8rem, 2rem); font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.countdown-grid span { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.7); }

/* Important dates */
.dates-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.date-card { display: flex; gap: 1rem; align-items: center; background: #fff; border-radius: var(--radius); padding: 1.1rem; border: 1px solid var(--c-line); transition: transform .2s, box-shadow .2s; }
.date-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.date-badge { width: 74px; height: 74px; border-radius: 14px; background: var(--c-primary); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; }
.date-badge b { font-family: var(--font-head); font-size: 1.65rem; line-height: 1; font-weight: 800; }
.date-badge span { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; opacity: .85; margin-top: .2rem; }
.date-card h3 { font-size: 1rem; font-weight: 700; margin: 0 0 .25rem; }
.date-note { display: inline-block; font-size: .72rem; font-weight: 700; background: color-mix(in srgb, var(--c-accent) 22%, #fff); color: #6b4700; padding: .12rem .5rem; border-radius: 99px; margin-right: .35rem; }
.date-done { font-size: .78rem; color: #0f8a5f; font-weight: 600; }
.date-card.is-past .date-badge { background: #94a3b8; }
.date-card.is-past h3 { color: var(--c-muted); }

/* Member cards */
.member-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 1.4rem 1rem 1.3rem; text-align: center; height: 100%; transition: transform .2s, box-shadow .2s, border-color .2s; }
.member-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.member-photo { width: 112px; height: 112px; margin: 0 auto 1rem; border-radius: 50%; padding: 4px; background: conic-gradient(from 200deg, var(--c-accent), var(--c-primary), var(--c-accent)); }
.member-photo img, .member-initials { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #fff; display: flex; align-items: center; justify-content: center; }
.member-initials { background: color-mix(in srgb, var(--c-primary) 12%, #fff); color: var(--c-primary); font-family: var(--font-head); font-weight: 800; font-size: 2rem; }
.member-role { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: #6b4700; background: color-mix(in srgb, var(--c-accent) 22%, #fff); padding: .18rem .6rem; border-radius: 99px; margin-bottom: .5rem; }
.member-name { font-size: 1.02rem; font-weight: 700; margin: 0 0 .25rem; }
.member-desig, .member-org { font-size: .84rem; color: var(--c-muted); margin: 0; line-height: 1.45; }
.member-org { margin-top: .2rem; font-weight: 500; }
.member-mail { display: inline-block; margin-top: .55rem; font-size: .78rem; text-decoration: none; word-break: break-all; }

/* Memories */
.memory-grid { columns: 4 240px; column-gap: 1rem; }
.home-memories { columns: 4 220px; }
.memory-item { display: block; position: relative; margin-bottom: 1rem; border-radius: 14px; overflow: hidden; break-inside: avoid; background: #e7ecf3; }
.memory-item img { width: 100%; display: block; transition: transform .5s ease; }
.memory-item:hover img { transform: scale(1.06); }
.memory-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem .9rem .75rem; color: #fff; font-weight: 600; font-size: .88rem; background: linear-gradient(0deg, rgba(5,14,30,.8), transparent); opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s; }
.memory-cap small { display: block; font-weight: 400; opacity: .8; font-size: .75rem; }
.memory-item:hover .memory-cap, .memory-item:focus .memory-cap { opacity: 1; transform: none; }
.memory-item.is-hidden { display: none; }
.filter-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 2rem; }
.filter-pills button { border: 1.5px solid var(--c-line); background: #fff; color: var(--c-ink); padding: .45rem 1.1rem; border-radius: 99px; font-weight: 600; font-size: .88rem; transition: all .15s; }
.filter-pills button.is-active, .filter-pills button:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(5, 12, 24, .94); display: flex; align-items: center; justify-content: center; padding: 3.5rem 4rem; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 9rem); border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox figcaption { color: #fff; margin-top: .8rem; font-weight: 500; }
.lb-close, .lb-nav { position: absolute; border: 0; background: rgba(255,255,255,.1); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.25rem; display: flex; align-items: center; justify-content: center; }
.lb-close:hover, .lb-nav:hover { background: var(--c-accent); color: #1a1300; }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* Sponsors */
.logo-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
.logo-tile { display: flex; align-items: center; justify-content: center; height: 100px; padding: 1rem; background: #fff; border: 1px solid var(--c-line); border-radius: 14px; text-decoration: none; color: var(--c-ink); font-weight: 700; transition: transform .2s, box-shadow .2s; }
.logo-tile img { max-height: 64px; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .25s, opacity .25s; }
.logo-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.logo-tile:hover img { filter: none; opacity: 1; }
.tier-block + .tier-block { margin-top: 3.25rem; }
.tier-title { text-align: center; font-size: 1.05rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--c-primary); display: flex; align-items: center; gap: 1rem; margin-bottom: 1.6rem; }
.tier-title::before, .tier-title::after { content: ''; flex: 1; height: 1px; background: var(--c-line); }
.tier-title span { padding: .35rem 1rem; border-radius: 99px; background: color-mix(in srgb, var(--c-accent) 20%, #fff); }
.sponsor-grid { display: grid; gap: 1.25rem; justify-content: center; }
.sponsor-grid.tier-big { grid-template-columns: repeat(auto-fit, minmax(230px, 300px)); }
.sponsor-grid.tier-normal { grid-template-columns: repeat(auto-fit, minmax(170px, 220px)); }
.sponsor-card { display: flex; flex-direction: column; align-items: center; gap: .75rem; padding: 1.4rem 1rem 1.1rem; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); text-decoration: none; color: var(--c-ink); transition: transform .2s, box-shadow .2s; }
.sponsor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sponsor-logo { height: 110px; display: flex; align-items: center; justify-content: center; width: 100%; }
.tier-normal .sponsor-logo { height: 80px; }
.sponsor-logo img { max-height: 100%; max-width: 100%; object-fit: contain; }
.sponsor-name { font-weight: 600; font-size: .9rem; text-align: center; }
.note-card { text-align: center; max-width: 720px; margin: 0 auto; padding: 2rem; border-radius: 20px; background: var(--c-tint); border: 1px dashed color-mix(in srgb, var(--c-primary) 30%, transparent); }
.note-card i { font-size: 1.8rem; color: var(--c-accent); }

/* Archive */
.archive-list { display: grid; gap: 1.5rem; }
.archive-card { display: grid; grid-template-columns: 320px 1fr; background: #fff; border: 1px solid var(--c-line); border-radius: 20px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.archive-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.archive-media { position: relative; min-height: 220px; background: color-mix(in srgb, var(--c-primary) 10%, #fff); }
.archive-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.archive-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--c-primary); }
.archive-year { position: absolute; left: 1rem; top: 1rem; background: var(--c-accent); color: #1a1300; font-family: var(--font-head); font-weight: 800; padding: .3rem .8rem; border-radius: 99px; font-size: .9rem; }
.archive-body { padding: 1.6rem 1.8rem; }
.archive-body h2 { font-size: 1.4rem; font-weight: 800; margin-bottom: .35rem; }
.archive-venue { color: var(--c-primary); font-weight: 600; font-size: .9rem; margin-bottom: .75rem; }

/* Page banner */
.page-banner { position: relative; padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem); color: #fff; overflow: hidden; isolation: isolate;
    background: linear-gradient(110deg, color-mix(in srgb, var(--c-primary) 94%, #000) 0%, color-mix(in srgb, var(--c-primary) 78%, transparent) 60%, color-mix(in srgb, var(--c-primary) 55%, transparent) 100%), var(--banner) center / cover no-repeat, var(--c-primary); }
.page-banner::after { content: ''; position: absolute; right: -80px; bottom: -120px; width: 340px; height: 340px; border-radius: 50%; border: 50px solid color-mix(in srgb, var(--c-accent) 30%, transparent); z-index: -1; }
.page-banner h1 { color: #fff; font-weight: 800; font-size: clamp(1.9rem, 2.4vw + 1rem, 3.1rem); margin: .3rem 0 0; }
.page-banner p { color: rgba(255,255,255,.85); max-width: 680px; margin: .6rem 0 0; }
.crumbs { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; font-size: .85rem; color: rgba(255,255,255,.75); }
.crumbs li + li::before { content: '/'; margin-right: .4rem; opacity: .6; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { color: var(--c-accent); }

/* About */
.about-side { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.about-side img { width: 100%; border-radius: 20px; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }
.about-facts { margin-top: 1rem; background: var(--c-tint); border-radius: 18px; padding: .5rem 1.25rem; }
.about-facts div { display: flex; gap: .9rem; align-items: center; padding: .85rem 0; }
.about-facts div + div { border-top: 1px solid var(--c-line); }
.about-facts i { width: 42px; height: 42px; border-radius: 12px; background: var(--c-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.about-facts small { display: block; color: var(--c-muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; }
.about-facts span { font-weight: 600; word-break: break-word; }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--c-line); border-radius: 20px; padding: clamp(1.25rem, 3vw, 2.25rem); box-shadow: 0 2px 4px rgba(11, 30, 60, .03); }
.form-section { font-size: 1.05rem; font-weight: 800; color: var(--c-primary); margin: 2rem 0 1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--c-tint); }
.form-section:first-of-type { margin-top: 0; }
.f-label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .35rem; }
.req { color: #e11d48; }
.f-input { display: block; width: 100%; padding: .72rem .9rem; border: 1.5px solid #d6dde8; border-radius: 12px; background: #fff; font-size: .95rem; color: var(--c-ink); transition: border-color .15s, box-shadow .15s; }
.f-input:focus { outline: 0; border-color: var(--c-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-primary) 14%, transparent); }
.f-input.is-invalid { border-color: #e11d48; }
select.f-input { appearance: auto; }
.f-help { font-size: .78rem; color: var(--c-muted); margin-top: .25rem; }
.f-error { font-size: .8rem; color: #e11d48; margin-top: .3rem; }
.f-check { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; cursor: pointer; }
.f-check input { width: 18px; height: 18px; margin-top: .2rem; accent-color: var(--c-primary); }
.form-alert, .form-success { display: flex; gap: .6rem; align-items: center; padding: .85rem 1rem; border-radius: 12px; margin-bottom: 1.25rem; font-weight: 500; }
.form-alert { background: #fff1f3; color: #9f1239; }
.form-success { background: #ecfdf3; color: #067647; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.side-card { background: var(--c-tint); border-radius: 18px; padding: 1.4rem; margin-bottom: 1rem; }
.side-card h3 { font-size: 1.02rem; font-weight: 800; color: var(--c-primary); margin-bottom: .75rem; display: flex; gap: .5rem; align-items: center; }
.side-link { display: flex; align-items: center; gap: .6rem; padding: 1rem 1.2rem; border-radius: 14px; border: 1.5px solid var(--c-line); text-decoration: none; font-weight: 600; transition: all .15s; }
.side-link:hover { border-color: var(--c-primary); background: color-mix(in srgb, var(--c-primary) 5%, #fff); }
.success-card { max-width: 620px; margin: 0 auto; text-align: center; background: #fff; border: 1px solid var(--c-line); border-radius: 24px; padding: 2.5rem 1.5rem; box-shadow: var(--shadow); }
.success-icon { width: 76px; height: 76px; border-radius: 50%; background: #dcfae6; color: #067647; font-size: 2.4rem; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.reg-number { display: inline-block; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: .06em; color: var(--c-primary); background: color-mix(in srgb, var(--c-accent) 18%, #fff); border: 2px dashed var(--c-accent); padding: .5rem 1.4rem; border-radius: 14px; margin: .5rem 0 1rem; }

/* Directory */
.dir-toolbar { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-bottom: 1.75rem; }
.dir-search { position: relative; flex: 1 1 320px; }
.dir-search i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--c-muted); }
.dir-search input, .dir-toolbar select { width: 100%; padding: .72rem 1rem .72rem 2.6rem; border: 1.5px solid #d6dde8; border-radius: 99px; font-size: .95rem; }
.dir-toolbar select { width: auto; padding-left: 1rem; }
.dir-search input:focus, .dir-toolbar select:focus { outline: 0; border-color: var(--c-primary); }
.dir-total { margin-left: auto; color: var(--c-muted); font-size: .9rem; }
.dir-total b { color: var(--c-primary); font-size: 1.1rem; }
.dir-table-wrap { border: 1px solid var(--c-line); border-radius: 18px; overflow: hidden; background: #fff; }
.dir-table { width: 100%; border-collapse: collapse; }
.dir-table th { background: var(--c-primary); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; padding: .9rem 1rem; text-align: left; }
.dir-table td { padding: .85rem 1rem; border-top: 1px solid var(--c-line); font-size: .92rem; vertical-align: middle; }
.dir-table tbody tr:nth-child(even) { background: #fafbfd; }
.dir-table tbody tr:hover { background: color-mix(in srgb, var(--c-accent) 8%, #fff); }
.dir-person { display: flex; align-items: center; gap: .7rem; }
.dir-person img, .dir-person > span { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--c-primary) 12%, #fff); color: var(--c-primary); font-weight: 800; font-size: .8rem; }
.dir-person small { display: block; color: var(--c-muted); font-size: .78rem; }
.dir-table code { color: var(--c-primary); background: var(--c-tint); padding: .15rem .45rem; border-radius: 6px; font-size: .8rem; }
.pagination { --bs-pagination-color: var(--c-primary); --bs-pagination-active-bg: var(--c-primary); --bs-pagination-active-border-color: var(--c-primary); flex-wrap: wrap; }

/* Contact */
.contact-cards { display: grid; gap: 1rem; }
.contact-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; border-radius: 18px; background: var(--c-tint); }
.contact-card > i { width: 48px; height: 48px; border-radius: 14px; background: var(--c-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-card h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--c-muted); margin: 0 0 .25rem; font-weight: 700; }
.contact-card p { margin: 0; font-weight: 600; word-break: break-word; }
.contact-card a { text-decoration: none; }
.map-wrap { line-height: 0; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; filter: saturate(.9); }

/* CTA band */
.cta-band { background: radial-gradient(800px 300px at 90% 0%, color-mix(in srgb, var(--c-accent) 35%, transparent), transparent), var(--c-primary); color: #fff; padding: clamp(2.75rem, 5vw, 4rem) 0; }
.cta-inner { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; }
.cta-inner h2 { color: #fff; font-weight: 800; font-size: clamp(1.5rem, 1.5vw + 1rem, 2.2rem); margin: 0 0 .4rem; }
.cta-inner p { margin: 0; color: rgba(255,255,255,.85); }

/* Footer */
.site-footer { background: var(--c-footer-bg); color: rgba(255,255,255,.75); font-size: .93rem; }
.footer-top { padding: 3.5rem 0 2.5rem; }
.footer-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.footer-brand img { height: 48px; width: 48px; object-fit: contain; background: #fff; border-radius: 12px; padding: 4px; }
.footer-brand strong { color: #fff; font-family: var(--font-head); font-size: 1.2rem; }
.site-footer h4 { color: #fff; font-size: .95rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 1rem; }
.footer-links li { margin-bottom: .5rem; break-inside: avoid; }
.footer-links a, .footer-contact a { color: rgba(255,255,255,.75); text-decoration: none; font-size: .88rem; transition: color .15s; }
.footer-links a:hover, .footer-contact a:hover { color: var(--c-accent); }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: .75rem; margin-bottom: .85rem; }
.footer-contact i { color: var(--c-accent); margin-top: .15rem; }
.social { display: flex; gap: .5rem; margin-top: 1.25rem; }
.social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; transition: background .15s, transform .15s; }
.social a:hover { background: var(--c-accent); color: #1a1300; transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.1rem 0; font-size: .84rem; }
.footer-bottom a { color: var(--c-accent); text-decoration: none; }

.to-top { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 1000; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--c-accent); color: #1a1300; font-size: 1.15rem; box-shadow: 0 10px 25px -10px rgba(0,0,0,.4); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* =================== Responsive =================== */
/* Laptop */
@media (max-width: 1199.98px) {
    .nav-menu > li > a { padding: 0 .75rem; font-size: .8rem; }
    .nav-menu > li > a::after { left: .75rem; right: .75rem; }
}
/* Tablet & phone: collapsible menu */
@media (max-width: 991.98px) {
    :root { --nav-h: 58px; }
    .header-inner { padding-top: .8rem; padding-bottom: .8rem; }
    .brand-logo { height: calc(var(--logo-h) * .8); }
    .second-logo { display: none; }
    .nav-mini-brand { display: flex; }
    .nav-toggle { display: inline-flex; }
    .nav-menu { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; background: var(--c-nav-bg); padding: .5rem .75rem 1rem; max-height: calc(100vh - var(--nav-h)); max-height: calc(100dvh - var(--nav-h)); overflow-y: auto; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); display: none; }
    .nav-open .nav-menu { display: flex; animation: dropIn .22s ease; }
    .nav-menu > li { flex-wrap: wrap; border-bottom: 1px solid rgba(255,255,255,.08); }
    .nav-menu > li > a { flex: 1; min-height: 50px; padding: 0 .5rem; font-size: .9rem; }
    .nav-menu > li > a::after { display: none; }
    .nav-menu > li.active > a { color: var(--c-accent); }
    .nav-menu .caret { display: none; }
    .sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 50px; background: none; border: 0; color: var(--c-nav-text); font-size: .9rem; }
    .sub-toggle i { transition: transform .2s; }
    .nav-menu > li.sub-open .sub-toggle i { transform: rotate(180deg); }
    .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: rgba(255,255,255,.06); border-radius: 12px; width: 100%; min-width: 0; display: none; margin-bottom: .6rem; transition: none; }
    .nav-menu > li.sub-open > .sub-menu { display: block; }
    .nav-menu > li:hover > .sub-menu { opacity: 1; }
    .sub-menu a { color: var(--c-nav-text); opacity: .9; }
    .sub-menu a:hover, .sub-menu li.active a { background: rgba(255,255,255,.08); color: var(--c-accent); }
    .hero { min-height: 440px; }
    .archive-card { grid-template-columns: 240px 1fr; }
    .about-side { position: static; }
}
@keyframes dropIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Phone */
@media (max-width: 767.98px) {
    body { font-size: 15px; }
    .header-inner { gap: .75rem; }
    .brand { gap: .75rem; }
    .brand-logo { height: min(calc(var(--logo-h) * .7), 58px); }
    .brand-name { font-size: 1.05rem; }
    .brand-tagline { font-size: .82rem; }
    .brand-meta { font-size: .76rem; gap: .2rem .7rem; }
    .header-cta { display: none; }
    .notice-label { padding: .5rem .7rem; }
    .notice-label span { display: none; }
    .notice-label::after { right: -10px; width: 10px; }
    .hero { height: auto; min-height: 0; aspect-ratio: auto; height: max(72svh, 460px); max-height: 640px; }
    .hero-caption-inner { padding-bottom: 4.5rem; }
    .hero-shade { background: linear-gradient(0deg, rgba(5,14,30, calc(var(--hero-overlay) + .45)) 0%, rgba(5,14,30, var(--hero-overlay)) 55%, rgba(5,14,30,.15) 100%); }
    .hero-dot { width: 30px; }
    .hero-arrow { width: 38px; height: 38px; }
    .hero-hint { display: none !important; }
    .archive-card { grid-template-columns: 1fr; }
    .archive-media { min-height: 200px; }
    .archive-body { padding: 1.25rem; }
    .memory-grid, .home-memories { columns: 2 140px; column-gap: .6rem; }
    .memory-item { margin-bottom: .6rem; border-radius: 10px; }
    .memory-cap { opacity: 1; transform: none; font-size: .78rem; padding: 1.5rem .6rem .5rem; }
    .lightbox { padding: 3.5rem .5rem; }
    .lb-nav { top: auto; bottom: 1rem; transform: none; }
    .lb-prev { left: calc(50% - 56px); }
    .lb-next { right: calc(50% - 56px); }
    .countdown-card { padding: .9rem .8rem 1rem; }
    .countdown-grid { gap: .35rem; }
    .w-100-sm { width: 100%; }
    .dir-total { margin-left: 0; width: 100%; }
    .dir-toolbar select { flex: 1; }
    /* Directory table becomes cards */
    .dir-table thead { display: none; }
    .dir-table, .dir-table tbody, .dir-table tr, .dir-table td { display: block; width: 100%; }
    .dir-table tr { padding: .85rem 1rem; border-top: 1px solid var(--c-line); }
    .dir-table tr:first-child { border-top: 0; }
    .dir-table td { border: 0; padding: .2rem 0; display: flex; gap: .75rem; font-size: .88rem; }
    .dir-table td::before { content: attr(data-label); font-weight: 600; color: var(--c-muted); min-width: 92px; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; padding-top: .1rem; }
    .dir-table td[data-label="#"] { display: none; }
    .dir-table td[data-label="Name"]::before { display: none; }
    .footer-top { padding: 2.5rem 0 1.5rem; }
}
/* Small phone: show the short name instead of the full name */
@media (max-width: 420px) {
    .brand-name { display: none; }
    .brand-short { display: block; }
    .brand-tagline { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
    .notice-track { animation: none !important; }
    .notice-viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}

@media print {
    .site-header, .notice-bar, .main-nav, .site-footer, .page-banner, .to-top { display: none !important; }
    .success-card { box-shadow: none; border: 0; }
}

/* Phone/tablet: the small logo in the menu bar appears only after the header scrolls away */
@media (max-width: 991.98px) {
    .nav-mini-brand { opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; pointer-events: none; }
    .main-nav.is-stuck .nav-mini-brand, .main-nav.nav-open .nav-mini-brand { opacity: 1; transform: none; pointer-events: auto; }
}

/* =========================================================
   Info strip below the slider: calendar · clock · visitor counter
   ========================================================= */
.info-strip { position: relative; padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); background: linear-gradient(180deg, var(--c-tint) 0, #fff 100%); }
.info-card { background: #fff; border-radius: 20px; padding: 1.25rem 1.3rem; box-shadow: 0 24px 50px -28px rgba(11, 30, 60, .45), 0 1px 0 rgba(11, 30, 60, .04); border: 1px solid var(--c-line); display: flex; flex-direction: column; min-width: 0; }
.info-card-head { display: flex; align-items: center; gap: .65rem; margin-bottom: 1rem; }
.info-card-head h2 { font-size: 1.02rem; font-weight: 800; margin: 0; }
.info-icon { width: 38px; height: 38px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--c-primary) 10%, #fff); color: var(--c-primary); flex-shrink: 0; }

/* Calendar */
.cal-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .6rem; }
.cal-month { font-family: var(--font-head); font-weight: 800; color: var(--c-primary); font-size: 1.05rem; }
.cal-nav { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--c-line); background: #fff; color: var(--c-primary); display: inline-flex; align-items: center; justify-content: center; transition: all .15s; }
.cal-nav:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; }
.cal-dow { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--c-muted); padding: .3rem 0; }
.cal-dow.is-weekend { color: #e11d48; }
.cal-day { position: relative; aspect-ratio: 1 / 1; max-height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 10px; font-size: .86rem; font-weight: 600; color: var(--c-ink); transition: background .15s; }
.cal-day:hover { background: var(--c-tint); }
.cal-day.is-weekend { color: #e11d48; }
.cal-day.is-out { color: #c3cbd8; font-weight: 400; }
.cal-day.has-event { background: color-mix(in srgb, var(--c-accent) 22%, #fff); color: #6b4700; cursor: pointer; }
.cal-day.has-event::after { content: ''; position: absolute; bottom: 4px; width: 5px; height: 5px; border-radius: 50%; background: var(--c-accent); }
.cal-day.is-today { background: var(--c-primary); color: #fff; box-shadow: 0 8px 18px -8px var(--c-primary); }
.cal-day.is-today::after { background: #fff; }
.cal-foot { display: flex; align-items: center; gap: .6rem; margin-top: .75rem; padding-top: .7rem; border-top: 1px dashed var(--c-line); min-height: 42px; }
.cal-today { border: 0; background: var(--c-tint); color: var(--c-primary); font-weight: 700; font-size: .78rem; padding: .35rem .75rem; border-radius: 99px; flex-shrink: 0; }
.cal-today:hover { background: var(--c-primary); color: #fff; }
.cal-event { font-size: .8rem; color: var(--c-muted); line-height: 1.35; }
.cal-event b { color: var(--c-ink); }

/* Digital clock */
.clock-card { background: radial-gradient(420px 220px at 100% 0%, color-mix(in srgb, var(--c-accent) 35%, transparent), transparent), linear-gradient(160deg, var(--c-primary), color-mix(in srgb, var(--c-primary) 70%, #000)); color: #fff; border: 0; align-items: center; text-align: center; }
.clock-card .info-card-head { align-self: stretch; }
.clock-card .info-card-head h2 { color: #fff; }
.clock-card .info-icon { background: rgba(255,255,255,.12); color: var(--c-accent); }
.clock-face { position: relative; width: min(210px, 100%); aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; margin: .25rem auto .75rem; }
.clock-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.clock-ring circle { fill: none; stroke-width: 6; }
.ring-bg { stroke: rgba(255,255,255,.12); }
.ring-fg { stroke: var(--c-accent); stroke-linecap: round; transition: stroke-dashoffset .9s linear; }
.clock-digits { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: .25rem; align-items: end; justify-content: center; }
.clock-time { grid-row: 1 / 3; font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 2.2vw + 1.2rem, 2.9rem); line-height: 1; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.clock-sec { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--c-accent); font-variant-numeric: tabular-nums; align-self: start; padding-top: .2rem; }
.clock-ampm { font-size: .72rem; font-weight: 800; letter-spacing: .1em; color: rgba(255,255,255,.75); }
.clock-day { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.clock-date { color: rgba(255,255,255,.8); font-size: .9rem; margin-bottom: .75rem; }
.clock-zone { margin-top: auto; display: inline-flex; gap: .35rem; align-items: center; font-size: .74rem; font-weight: 700; letter-spacing: .06em; padding: .3rem .75rem; border-radius: 99px; background: rgba(255,255,255,.1); color: rgba(255,255,255,.9); }

/* Visitor counter */
.counter-card .info-card-head h2 { flex: 1; }
.live-dot { display: inline-flex; align-items: center; gap: .35rem; font-size: .66rem; font-weight: 800; letter-spacing: .1em; color: #067647; background: #dcfae6; padding: .22rem .55rem; border-radius: 99px; }
.live-dot i { width: 7px; height: 7px; border-radius: 50%; background: #12b76a; box-shadow: 0 0 0 0 rgba(18,183,106,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(18,183,106,0); } 100% { box-shadow: 0 0 0 0 rgba(18,183,106,0); } }
.counter-total { text-align: center; padding: 1.1rem .75rem; border-radius: 16px; margin-bottom: .9rem; background: linear-gradient(135deg, color-mix(in srgb, var(--c-accent) 18%, #fff), color-mix(in srgb, var(--c-primary) 8%, #fff)); }
.counter-num { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(2.1rem, 2.4vw + 1rem, 2.8rem); color: var(--c-primary); line-height: 1.1; font-variant-numeric: tabular-nums; }
.counter-label { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); }
.counter-list { display: grid; gap: .5rem; }
.counter-row { display: flex; align-items: center; gap: .7rem; padding: .65rem .8rem; border-radius: 12px; background: var(--c-tint); }
.counter-row i { width: 32px; height: 32px; border-radius: 9px; background: #fff; color: var(--c-primary); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.counter-row span { flex: 1; font-size: .9rem; font-weight: 500; color: var(--c-muted); }
.counter-row b { font-family: var(--font-head); font-size: 1.1rem; color: var(--c-ink); font-variant-numeric: tabular-nums; }

/* =========================================================
   Sponsor strip: logos + names moving right → left
   ========================================================= */
.sponsor-marquee-wrap { padding: clamp(3.5rem, 6vw, 5.5rem) 0; background: #fff; overflow: hidden; }
.marquee-head { text-align: center; margin-bottom: 2rem; }
.sponsor-marquee { position: relative; overflow: hidden; padding: .75rem 0 1rem;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); }
.marquee-track { display: flex; width: max-content; will-change: transform; animation: ticker var(--ticker-dur, 40s) linear infinite; }
.sponsor-marquee:hover .marquee-track, .sponsor-marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; gap: 1.25rem; padding-right: 1.25rem; flex-shrink: 0; }
.marquee-item { display: flex; align-items: center; gap: .9rem; min-width: 250px; padding: .9rem 1.3rem .9rem .9rem; background: #fff; border: 1px solid var(--c-line); border-radius: 18px; text-decoration: none; color: var(--c-ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.marquee-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.marquee-logo { width: 92px; height: 64px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--c-tint); padding: .4rem; }
.marquee-logo img { max-width: 100%; max-height: 100%; object-fit: contain; transition: filter .25s, opacity .25s; }
.marquee-logo b { font-family: var(--font-head); color: var(--c-primary); font-size: 1.3rem; }
.is-gray .marquee-logo img { filter: grayscale(1); opacity: .75; }
.is-gray .marquee-item:hover .marquee-logo img { filter: none; opacity: 1; }
.marquee-text { display: flex; flex-direction: column; line-height: 1.3; white-space: nowrap; }
.marquee-text strong { font-family: var(--font-head); font-size: .98rem; }
.marquee-text small { color: var(--c-muted); font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-top: .15rem; }

/* Responsive for the new blocks */
@media (max-width: 767.98px) {
    .cal-day { max-height: none; font-size: .9rem; }
    .marquee-item { min-width: 210px; padding: .7rem 1rem .7rem .7rem; }
    .marquee-logo { width: 70px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none !important; }
    .sponsor-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}

/* =========================================================
   Board under the slider:
   [ clock    ]  [   about the institution   ]  [ counter     ]
   [ calendar ]  [                           ]  [ quick links ]
   Clock, calendar and counter share one card width.
   ========================================================= */
.info-board { --side: 316px; display: grid; gap: 1.25rem; grid-template-columns: var(--side) minmax(0, 1fr) var(--side); align-items: start; }
.info-board:not(.has-left) { grid-template-columns: minmax(0, 1fr) var(--side); }
.info-board:not(.has-right) { grid-template-columns: var(--side) minmax(0, 1fr); }
.info-board:not(.has-center) { grid-template-columns: var(--side) var(--side); justify-content: center; }
.info-board:not(.has-left):not(.has-right) { grid-template-columns: minmax(0, 1fr); }
.board-col { display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; }
.board-left .info-card, .board-right .info-card { width: 100%; }

/* Clock and counter: same size */
.board-left .clock-card, .board-right .counter-card { min-height: 392px; }
.board-left .clock-face { width: 172px; margin: .1rem auto .6rem; }
.board-left .clock-time { font-size: 2.35rem; }
.counter-card { justify-content: flex-start; }
.counter-total { padding: .95rem .75rem; }
.counter-list { gap: .45rem; }
.counter-row { padding: .55rem .7rem; }

/* Calendar at side-card width */
.board-left .cal-card { padding: 1.1rem 1rem; }
.board-left .cal-grid { gap: 2px; }
.board-left .cal-day { font-size: .82rem; border-radius: 9px; max-height: 38px; }
.board-left .cal-dow { font-size: .64rem; }

/* Middle: about the institution */
.center-card { padding: 0; overflow: hidden; align-self: stretch; }
.center-media { aspect-ratio: 16 / 7; overflow: hidden; background: var(--c-tint); }
.center-media img { width: 100%; height: 100%; object-fit: cover; }
.center-body { padding: clamp(1.4rem, 2.4vw, 2.2rem); display: flex; flex-direction: column; flex: 1; justify-content: center; }
.center-title { font-weight: 800; font-size: clamp(1.4rem, 1vw + 1rem, 1.9rem); line-height: 1.2; margin: 0 0 .9rem; }
.center-rich { font-size: .98rem; }
.center-rich p:last-child { margin-bottom: 0; }
.center-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: .75rem; margin: 1.4rem 0 .4rem; }
.center-stats div { text-align: center; padding: .9rem .5rem; border-radius: 14px; background: linear-gradient(160deg, color-mix(in srgb, var(--c-primary) 7%, #fff), color-mix(in srgb, var(--c-accent) 14%, #fff)); }
.center-stats b { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--c-primary); line-height: 1.1; }
.center-stats span { font-size: .78rem; font-weight: 600; color: var(--c-muted); text-transform: uppercase; letter-spacing: .05em; }
.center-quote { margin: 1.2rem 0 0; padding: 1rem 1.2rem 1rem 3rem; position: relative; border-radius: 14px; background: var(--c-tint); }
.center-quote::before { content: '“'; position: absolute; left: .9rem; top: -.2rem; font-family: Georgia, serif; font-size: 3.2rem; color: var(--c-accent); line-height: 1; }
.center-quote p { margin: 0; font-style: italic; color: var(--c-ink); }
.center-quote cite { display: block; margin-top: .4rem; font-style: normal; font-weight: 700; font-size: .85rem; color: var(--c-primary); }
.center-body > .btn-primary-c { align-self: flex-start; }
.center-card { display: flex; flex-direction: column; }
.center-body > .center-quote + .btn-primary-c, .center-body > .center-stats + .btn-primary-c, .center-body > .rich + .btn-primary-c { margin-top: 1.4rem; }

/* Right: quick links */
.quick-links { display: flex; flex-direction: column; gap: .4rem; }
.quick-links a { display: flex; align-items: center; gap: .7rem; padding: .62rem .75rem; border-radius: 12px; background: var(--c-tint); color: var(--c-ink); text-decoration: none; font-weight: 600; font-size: .9rem; transition: background .15s, color .15s, transform .15s; }
.quick-links a > i:first-child { width: 30px; height: 30px; border-radius: 9px; background: #fff; color: var(--c-primary); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.quick-links a span { flex: 1; }
.quick-links .ql-arrow { color: var(--c-muted); font-size: .8rem; transition: transform .15s; }
.quick-links a:hover { background: var(--c-primary); color: #fff; }
.quick-links a:hover .ql-arrow { color: #fff; transform: translateX(3px); }

/* Laptop: slightly narrower side cards */
@media (max-width: 1299.98px) { .info-board { --side: 290px; } }

/* Tablet: middle text on top, then clock+calendar | counter+links */
@media (max-width: 1099.98px) {
    .info-board, .info-board:not(.has-left), .info-board:not(.has-right), .info-board:not(.has-center) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .info-board .center-card { grid-column: 1 / -1; order: -1; }
    .info-board:not(.has-left) .board-right, .info-board:not(.has-right) .board-left { grid-column: 1 / -1; }
    .board-left .clock-card, .board-right .counter-card { min-height: 0; }
}

/* Phone: one column — clock, counter, text, calendar, links */
@media (max-width: 767.98px) {
    .info-board, .info-board:not(.has-left), .info-board:not(.has-right), .info-board:not(.has-center) { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
    .board-col { display: contents; }
    .info-board .clock-card { order: 1; }
    .info-board .counter-card { order: 2; }
    .info-board .center-card { order: 3; grid-column: auto; }
    .info-board .cal-card { order: 4; }
    .info-board .links-card { order: 5; }
    .center-stats { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   Header design (Admin → Site Settings → Header Design)
   ========================================================= */
.hdr { position: relative; isolation: isolate; overflow: hidden; color: var(--hdr-meta); background: linear-gradient(115deg, var(--hdr-from) 0%, var(--hdr-to) 100%); }
.hdr--image { background: var(--hdr-img, none) center / cover no-repeat, var(--hdr-to); }
.hdr--image::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, var(--hdr-ov) 0%, color-mix(in srgb, var(--hdr-ov) 70%, transparent) 100%); opacity: var(--hdr-ov-op); }
.hdr--light { background: var(--c-header-bg); color: var(--c-ink); border-bottom: 1px solid var(--c-line); }

/* Background patterns */
.hdr-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hdr-pat--dots .hdr-bg { background-image: radial-gradient(rgba(255,255,255,.16) 1.2px, transparent 1.6px); background-size: 20px 20px; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%, #000 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 35%, #000 100%); }
.hdr-pat--grid .hdr-bg { background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 36px 36px; -webkit-mask-image: radial-gradient(ellipse at 70% 50%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 70% 50%, #000 20%, transparent 75%); }
.hdr-pat--lines .hdr-bg { background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 1px, transparent 1px 14px); }
.hdr-pat--waves .hdr-bg { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='60' viewBox='0 0 240 60'%3E%3Cpath d='M0 30 Q30 10 60 30 T120 30 T180 30 T240 30' fill='none' stroke='white' stroke-opacity='.10' stroke-width='1.5'/%3E%3Cpath d='M0 48 Q30 28 60 48 T120 48 T180 48 T240 48' fill='none' stroke='white' stroke-opacity='.06' stroke-width='1.5'/%3E%3C/svg%3E"); background-size: 240px 60px; }
.hdr--light.hdr-pat--dots .hdr-bg { background-image: radial-gradient(color-mix(in srgb, var(--c-primary) 18%, transparent) 1.2px, transparent 1.6px); }
.hdr--light.hdr-pat--grid .hdr-bg { background-image: linear-gradient(color-mix(in srgb, var(--c-primary) 8%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--c-primary) 8%, transparent) 1px, transparent 1px); }
.hdr--light.hdr-pat--lines .hdr-bg { background-image: repeating-linear-gradient(135deg, color-mix(in srgb, var(--c-primary) 6%, transparent) 0 1px, transparent 1px 14px); }
.hdr--light.hdr-pat--waves .hdr-bg { filter: invert(1) opacity(.5); }

/* Decorative glow + rings */
.hdr--glow::after { content: ''; position: absolute; z-index: -1; width: 520px; height: 520px; right: -120px; top: -260px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c-accent) 45%, transparent) 0%, transparent 65%); opacity: .55; pointer-events: none; }
.hdr--glow .hdr-bg::after { content: ''; position: absolute; left: 58%; bottom: -170px; width: 300px; height: 300px; border-radius: 50%; border: 36px solid rgba(255,255,255,.05); }
.hdr--light.hdr--glow::after { opacity: .3; }
.hdr--light.hdr--glow .hdr-bg::after { border-color: color-mix(in srgb, var(--c-primary) 5%, transparent); }
.hdr--line { box-shadow: inset 0 -4px 0 var(--c-accent); }

/* Layout */
.hdr-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); }
.hdr-pad--compact .hdr-inner { padding-block: .9rem; }
.hdr-pad--normal .hdr-inner { padding-block: clamp(1.1rem, 2.2vw, 1.7rem); }
.hdr-pad--tall .hdr-inner { padding-block: clamp(1.6rem, 3.6vw, 2.8rem); }
.hdr--line .hdr-inner { padding-bottom: calc(clamp(1.1rem, 2.2vw, 1.7rem) + 4px); }

/* Logos */
.hdr-logo { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; text-decoration: none; }
.hdr-logo img { height: var(--logo-h); width: auto; max-width: 190px; object-fit: contain; display: block; }
.hdr--logo-badge .hdr-logo { background: #fff; border-radius: 18px; padding: 8px; box-shadow: 0 12px 28px -14px rgba(0,0,0,.55), 0 0 0 4px rgba(255,255,255,.12); }
.hdr--light.hdr--logo-badge .hdr-logo { box-shadow: 0 10px 24px -16px rgba(11,30,60,.45), 0 0 0 1px var(--c-line); }
.hdr-logo-2 img { height: calc(var(--logo-h) * .9); max-width: 170px; }
.hdr-logo { transition: transform .25s ease; }
a.hdr-logo:hover { transform: translateY(-2px) rotate(-1deg); }

/* Text */
.hdr-text { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.hdr-badge { display: inline-flex; align-items: center; gap: .4rem; margin-bottom: .55rem; padding: .28rem .8rem; border-radius: 99px; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #1a1300; background: var(--c-accent); box-shadow: 0 8px 18px -10px var(--c-accent); }
.hdr-title { font-family: var(--font-head); font-weight: 800; color: var(--hdr-title); text-decoration: none; line-height: 1.12; letter-spacing: -.015em; text-wrap: balance; text-shadow: 0 2px 18px rgba(0,0,0,.18); }
.hdr-size--normal .hdr-title { font-size: clamp(1.2rem, 1vw + .85rem, 1.7rem); }
.hdr-size--large .hdr-title { font-size: clamp(1.3rem, 1.6vw + .8rem, 2.3rem); }
.hdr-size--xlarge .hdr-title { font-size: clamp(1.45rem, 2.2vw + .8rem, 2.9rem); }
.hdr-short { display: none; font-family: var(--font-head); font-weight: 800; color: var(--hdr-title); font-size: 1.2rem; line-height: 1.15; }
.hdr-tagline { margin-top: .3rem; color: var(--hdr-tag); font-weight: 600; font-size: clamp(.92rem, .45vw + .8rem, 1.12rem); letter-spacing: .01em; }
.hdr-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .85rem; }
.hdr-chip { display: inline-flex; align-items: center; gap: .45rem; padding: .38rem .8rem; border-radius: 99px; font-size: .86rem; font-weight: 600; color: var(--hdr-meta); text-decoration: none; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px); }
.hdr-chip i { color: var(--c-accent); }
a.hdr-chip:hover { background: rgba(255,255,255,.18); color: var(--hdr-meta); }
.hdr-chip-count { background: color-mix(in srgb, var(--c-accent) 22%, transparent); border-color: color-mix(in srgb, var(--c-accent) 55%, transparent); }
.hdr-chip-count b { color: var(--c-accent); font-family: var(--font-head); font-size: 1rem; }

/* Light style colours */
.hdr--light .hdr-title, .hdr--light .hdr-short { color: var(--c-header-text); text-shadow: none; }
.hdr--light .hdr-tagline { color: var(--c-muted); }
.hdr--light .hdr-chip { color: var(--c-primary); background: var(--c-tint); border-color: var(--c-line); backdrop-filter: none; }
.hdr--light .hdr-chip-count { background: color-mix(in srgb, var(--c-accent) 16%, #fff); border-color: color-mix(in srgb, var(--c-accent) 45%, #fff); }
.hdr--light .hdr-chip-count b { color: #8a5a00; }

/* Side & buttons */
.hdr-side { display: flex; align-items: center; gap: 1.1rem; }
.hdr-actions { display: flex; flex-direction: column; gap: .55rem; }
.hdr-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .72rem 1.3rem; border-radius: 99px; font-family: var(--font-head); font-weight: 700; font-size: .92rem; text-decoration: none; white-space: nowrap; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease; }
.hdr-btn-main { background: var(--c-accent); color: #1a1300; box-shadow: 0 12px 26px -12px var(--c-accent); }
.hdr-btn-main:hover { transform: translateY(-2px); color: #1a1300; box-shadow: 0 18px 30px -14px var(--c-accent); }
.hdr-btn-ghost { color: var(--hdr-meta); border: 1.5px solid rgba(255,255,255,.4); background: rgba(255,255,255,.06); }
.hdr-btn-ghost:hover { background: #fff; color: var(--hdr-to); border-color: #fff; }
.hdr--light .hdr-btn-ghost { color: var(--c-primary); border-color: color-mix(in srgb, var(--c-primary) 35%, transparent); background: transparent; }
.hdr--light .hdr-btn-ghost:hover { background: var(--c-primary); color: #fff; }

/* Centered layout: logos on both sides, text in the middle */
.hdr--center .hdr-text { align-items: center; text-align: center; }
.hdr--center .hdr-meta { justify-content: center; }
.hdr-actions-center { flex-direction: row; flex-wrap: wrap; justify-content: center; margin-top: 1rem; }
.hdr--center .hdr-side { justify-content: flex-end; }
.hdr--center:not(:has(.hdr-logo-2)) .hdr-inner { grid-template-columns: auto minmax(0, 1fr) auto; }
.hdr--center:not(:has(.hdr-logo-2)) .hdr-side::before { content: ''; display: block; width: calc(var(--logo-h) + 16px); }

/* Entrance animation */
@media (prefers-reduced-motion: no-preference) {
    .hdr-logo, .hdr-text > *, .hdr-side > * { animation: hdrIn .7s cubic-bezier(.2,.7,.2,1) both; }
    .hdr-text > :nth-child(2) { animation-delay: .06s; } .hdr-text > :nth-child(3) { animation-delay: .1s; }
    .hdr-text > :nth-child(4) { animation-delay: .16s; } .hdr-text > :nth-child(5) { animation-delay: .22s; }
    .hdr-side > * { animation-delay: .25s; }
}
@keyframes hdrIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Laptop */
@media (max-width: 1199.98px) {
    .hdr-actions { flex-direction: column; }
    .hdr-btn { padding: .62rem 1.05rem; font-size: .86rem; }
}
/* Tablet: buttons move under the text, second logo stays */
@media (max-width: 991.98px) {
    .hdr-inner, .hdr--center .hdr-inner, .hdr--center:not(:has(.hdr-logo-2)) .hdr-inner { grid-template-columns: auto minmax(0, 1fr) auto; }
    .hdr-logo img { height: calc(var(--logo-h) * .8); }
    .hdr-logo-2 img { height: calc(var(--logo-h) * .72); }
    .hdr-side .hdr-actions { display: none; }
    .hdr--center:not(:has(.hdr-logo-2)) .hdr-side::before { display: none; }
    .hdr--center .hdr-actions-center { display: none; }
}
/* Phone */
@media (max-width: 767.98px) {
    .hdr-inner, .hdr--center .hdr-inner, .hdr--center:not(:has(.hdr-logo-2)) .hdr-inner { grid-template-columns: auto minmax(0, 1fr); gap: .85rem; }
    .hdr-pad--compact .hdr-inner, .hdr-pad--normal .hdr-inner, .hdr-pad--tall .hdr-inner { padding-block: .9rem 1.1rem; }
    .hdr--center .hdr-text { align-items: flex-start; text-align: left; }
    .hdr--center .hdr-meta { justify-content: flex-start; }
    .hdr-side { display: none; }
    .hdr-logo img { height: min(calc(var(--logo-h) * .68), 56px); max-width: 110px; }
    .hdr--logo-badge .hdr-logo { padding: 5px; border-radius: 13px; }
    .hdr-badge { font-size: .62rem; padding: .2rem .6rem; margin-bottom: .4rem; }
    .hdr-tagline { font-size: .85rem; }
    .hdr-meta { gap: .35rem; margin-top: .55rem; }
    .hdr-chip { font-size: .74rem; padding: .26rem .6rem; }
    .hdr--glow::after { width: 300px; height: 300px; right: -120px; top: -150px; }
}
@media (max-width: 420px) {
    .hdr-title { display: none; }
    .hdr-short { display: block; }
    .hdr-chip-count { display: none; }
}
