/* ==========================================================================
   CUPI Platform — design system and public site
   Palette: deep institutional green, active teal, mint accent, warm paper.
   Typography: serif display for scholarship, system sans for interface.
   ========================================================================== */

:root {
    --green-950: #011F1A;
    --green-900: #012A24;
    --green-800: #013B32;
    --green-700: #025045;
    --green-600: #046354;
    --teal: #00A78B;
    --teal-dark: #00806B;
    --teal-soft: #D6F2EA;
    --mint: #8FE9A4;
    --mint-soft: #E4F8E9;
    --paper: #F7F5EF;
    --paper-2: #F1EEE4;
    --paper-3: #EAE5D7;
    --white: #FFFFFF;
    --ink: #0E1A17;
    --ink-2: #40504B;
    --muted: #6B7975;
    --muted-2: #8C9995;
    --line: #E2DCCB;
    --line-strong: #CFC7B3;
    --danger: #B42318;
    --danger-soft: #FDECEA;
    --warn: #8A5A00;
    --warn-soft: #FFF6E5;
    --info-soft: #EAF5F2;

    --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

    --radius-lg: 24px;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-pill: 999px;

    --shadow-sm: 0 2px 6px rgba(1, 59, 50, .05);
    --shadow: 0 16px 40px rgba(1, 42, 36, .08);
    --shadow-lg: 0 32px 80px rgba(1, 42, 36, .14);

    --container: 1180px;
    --gutter: clamp(18px, 4vw, 40px);
    --section: clamp(64px, 9vw, 120px);

    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4, h5 {
    margin: 0 0 .5em;
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -.015em;
    color: var(--green-800);
    text-wrap: balance;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }

ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: .35em; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

code, pre { font-family: var(--mono); font-size: .9em; }

:focus-visible {
    outline: 3px solid var(--teal);
    outline-offset: 2px;
    border-radius: 4px;
}

::selection { background: var(--mint); color: var(--green-900); }

/* ---------- Layout primitives ---------- */

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.site-main { display: block; }

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--paper { background: var(--paper-2); }

.sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute;
    left: 16px; top: -80px;
    z-index: 200;
    padding: 12px 20px;
    background: var(--green-800);
    color: #fff;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; color: #fff; }

.muted { color: var(--muted); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); line-height: 1.6; color: var(--ink-2); }

/* ---------- Typography helpers ---------- */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--teal-dark);
}
.eyebrow--light { color: var(--mint); }
.eyebrow-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 4px rgba(0, 167, 139, .14);
    flex: none;
}

.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--compact { margin-bottom: 28px; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.85rem); }
.section-lead { margin-top: 14px; font-size: clamp(1.02rem, 1.5vw, 1.15rem); color: var(--ink-2); max-width: 62ch; }
.section-head--center .section-lead { margin-inline: auto; }

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 12px 26px;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    background: transparent;
    font-family: var(--sans);
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    text-align: center;
    transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--green-800); color: #fff; box-shadow: 0 8px 22px rgba(1, 59, 50, .18); }
.btn-primary:hover { background: var(--green-900); color: #fff; box-shadow: 0 12px 28px rgba(1, 59, 50, .24); }

.btn-ghost { color: var(--green-800); border-color: transparent; }
.btn-ghost:hover { background: rgba(1, 59, 50, .06); color: var(--green-900); }

.btn-outline { border-color: var(--line-strong); color: var(--green-800); background: transparent; }
.btn-outline:hover { border-color: var(--green-800); background: #fff; color: var(--green-900); }

.btn-light { background: var(--mint); color: var(--green-900); }
.btn-light:hover { background: #A9F2B9; color: var(--green-950); }

.btn-outline-light { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .1); color: #fff; }

.btn-small { min-height: 42px; padding: 9px 18px; font-size: .86rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .92rem;
    font-weight: 650;
    color: var(--green-800);
    text-decoration: none;
    border-bottom: 1px solid rgba(1, 59, 50, .25);
    padding-bottom: 3px;
    transition: gap .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.text-link:hover { gap: 12px; border-color: var(--teal); color: var(--teal-dark); }

.inline-form { display: inline; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .04em;
    background: var(--paper-2);
    color: var(--ink-2);
}
.badge--success { background: var(--mint-soft); color: var(--green-700); }
.badge--warning { background: var(--warn-soft); color: var(--warn); }
.badge--muted { background: var(--paper-2); color: var(--muted); }

/* ---------- Flash messages ---------- */

.flash-stack {
    position: relative;
    z-index: 70;
    display: grid;
    gap: 10px;
    width: 100%;
    max-width: var(--container);
    margin: 20px auto 0;
    padding-inline: var(--gutter);
}
.flash {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    background: #fff;
    box-shadow: var(--shadow-sm);
    font-size: .93rem;
    line-height: 1.5;
}
.flash__icon {
    display: grid;
    place-items: center;
    width: 22px; height: 22px;
    flex: none;
    border-radius: 50%;
    font-size: .72rem;
    font-weight: 800;
    color: #fff;
    margin-top: 1px;
}
.flash--success { border-color: #BFE7D2; background: #F2FBF6; }
.flash--success .flash__icon { background: #1B8A5A; }
.flash--error { border-color: #F3C4BE; background: #FEF5F4; }
.flash--error .flash__icon { background: var(--danger); }
.flash--info { border-color: #BFE0DA; background: var(--info-soft); }
.flash--info .flash__icon { background: var(--teal-dark); }

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(247, 245, 239, .92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px rgba(1, 42, 36, .06); }

.utility-bar { background: var(--green-900); color: rgba(255, 255, 255, .78); }
.utility-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 38px;
    padding-block: 6px;
    font-size: .76rem;
    letter-spacing: .02em;
}
.utility-tagline { margin: 0; color: var(--mint); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .68rem; }
.utility-links { display: flex; align-items: center; gap: 20px; margin: 0; padding: 0; list-style: none; }
.utility-links li { margin: 0; }
.utility-links a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.utility-links a:hover { color: var(--mint); }

.nav-bar { padding-block: 10px; }
.nav-shell { display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--green-800); flex: none; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--serif); font-size: 1.28rem; letter-spacing: .04em; color: var(--green-800); }
.brand-text small { font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); max-width: 230px; }
.brand--light .brand-text strong { color: #fff; }
.brand--light .brand-text small { color: rgba(255, 255, 255, .62); }
.brand--light img { filter: brightness(0) invert(1); }

.primary-nav { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-list > li { position: relative; margin: 0; }

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 13px;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--ink);
    font-size: .9rem;
    font-weight: 550;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s var(--ease), color .2s var(--ease);
}
.nav-link:hover, .nav-link.is-active { background: rgba(1, 59, 50, .06); color: var(--green-800); }
.nav-link.is-active { font-weight: 650; }
.nav-parent svg { width: 10px; height: 7px; transition: transform .2s var(--ease); color: var(--muted); }
.has-dropdown.is-open .nav-parent svg { transform: rotate(180deg); }

.dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 240px;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
    z-index: 20;
}
.dropdown li { margin: 0; }
.dropdown a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--ink);
    font-size: .89rem;
    text-decoration: none;
    transition: background .15s var(--ease), color .15s var(--ease);
}
.dropdown a:hover { background: var(--paper); color: var(--green-800); }

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.is-open .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-actions { display: flex; align-items: center; gap: 8px; }

.nav-toggle {
    display: none;
    width: 44px; height: 44px;
    margin-left: auto;
    padding: 11px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: #fff;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}
.nav-toggle span { display: block; height: 2px; background: var(--green-800); border-radius: 2px; transition: transform .2s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(44px, 6vw, 86px) clamp(56px, 8vw, 108px);
    background:
        radial-gradient(circle at 82% 12%, rgba(143, 233, 164, .28), transparent 46%),
        radial-gradient(circle at 4% 88%, rgba(0, 167, 139, .1), transparent 42%),
        var(--paper);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(1, 59, 50, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(1, 59, 50, .045) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 72%);
    pointer-events: none;
}
.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
}
.hero-copy { max-width: 640px; }
.hero-title {
    font-size: clamp(2.5rem, 5.6vw, 4.6rem);
    line-height: 1.02;
    letter-spacing: -.03em;
    margin-bottom: 22px;
}
.hero-lead { font-size: clamp(1.05rem, 1.7vw, 1.22rem); color: var(--ink-2); max-width: 52ch; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding-top: 26px;
    border-top: 1px solid var(--line-strong);
}
.hero-stat { display: flex; flex-direction: column-reverse; gap: 4px; }
.hero-stat dt { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); line-height: 1.35; }
.hero-stat dd { margin: 0; font-family: var(--serif); font-size: clamp(1.55rem, 2.6vw, 2.1rem); color: var(--green-800); line-height: 1; }

.hero-media { position: relative; }
.hero-frame {
    position: relative;
    margin: 0;
    border-radius: 280px 280px 28px 28px;
    overflow: hidden;
    background: var(--green-900);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 4.7;
}
.hero-frame > img { width: 100%; height: 100%; object-fit: cover; }
.hero-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(1, 42, 36, 0) 40%, rgba(1, 42, 36, .62) 100%);
    pointer-events: none;
}
.hero-card {
    position: absolute;
    left: 22px; right: 22px; bottom: 22px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px 22px;
    border-radius: 18px;
    background: rgba(247, 245, 239, .95);
    backdrop-filter: blur(8px);
    box-shadow: 0 14px 34px rgba(1, 42, 36, .2);
}
.hero-card__label { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-dark); font-weight: 700; }
.hero-card__name { font-family: var(--serif); font-size: 1.55rem; color: var(--green-800); line-height: 1.1; }
.hero-card__dates { font-size: .9rem; font-weight: 650; color: var(--ink); }
.hero-card__divider { height: 1px; background: var(--line); margin: 8px 0; }
.hero-card__theme { font-size: .82rem; line-height: 1.45; color: var(--ink-2); }

.hero-badge {
    position: absolute;
    top: 8%;
    right: -26px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 116px; height: 116px;
    border-radius: 50%;
    background: var(--green-800);
    color: var(--mint);
    box-shadow: 0 18px 40px rgba(1, 42, 36, .28);
}
.hero-badge__ring { position: absolute; inset: 9px; border: 1px dashed rgba(143, 233, 164, .5); border-radius: 50%; }
.hero-badge__text { font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; text-align: center; line-height: 1.7; font-weight: 700; }

/* ---------- Discipline strip ---------- */

.discipline-strip {
    overflow: hidden;
    padding-block: 18px;
    background: var(--green-900);
    color: rgba(255, 255, 255, .72);
    border-block: 1px solid rgba(255, 255, 255, .08);
}
.discipline-track { display: flex; align-items: center; gap: 22px; width: max-content; animation: drift 46s linear infinite; }
.discipline-track span { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.discipline-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--mint); opacity: .7; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Pillars ---------- */

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.pillar {
    position: relative;
    padding: 28px 24px 26px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.pillar-index { position: absolute; top: 22px; right: 22px; font-family: var(--serif); font-size: .95rem; color: var(--muted-2); }
.pillar-icon {
    display: grid;
    place-items: center;
    width: 52px; height: 52px;
    margin-bottom: 22px;
    border-radius: 14px;
    background: var(--mint-soft);
    color: var(--green-700);
}
.pillar-icon svg { width: 24px; height: 24px; }
.pillar h3 { font-size: 1.32rem; margin-bottom: 10px; }
.pillar p { font-size: .92rem; color: var(--ink-2); margin: 0; }

/* ---------- Conference band ---------- */

.conference-band {
    position: relative;
    overflow: hidden;
    padding-block: var(--section);
    background:
        radial-gradient(circle at 12% 18%, rgba(0, 167, 139, .22), transparent 40%),
        radial-gradient(circle at 88% 82%, rgba(143, 233, 164, .12), transparent 44%),
        var(--green-900);
    color: rgba(255, 255, 255, .8);
}
.conference-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: .5;
    pointer-events: none;
}
.conference-band__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    gap: clamp(36px, 5vw, 64px);
    align-items: start;
}
.conference-band h2 { color: #fff; font-size: clamp(2.2rem, 4.2vw, 3.4rem); margin-bottom: 12px; }
.conference-band__theme { font-family: var(--serif); font-size: clamp(1.12rem, 1.9vw, 1.4rem); font-style: italic; color: var(--mint); margin-bottom: 18px; }
.conference-band__lead { max-width: 52ch; color: rgba(255, 255, 255, .74); margin-bottom: 32px; }

.conference-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 0 0 32px;
    padding-block: 22px;
    border-block: 1px solid rgba(255, 255, 255, .14);
}
.conference-facts dt { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin-bottom: 6px; }
.conference-facts dd { margin: 0; font-size: .95rem; color: #fff; font-weight: 600; line-height: 1.4; }
.conference-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.conference-band__panel { position: relative; display: grid; gap: 18px; }
.conference-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.conference-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.track-card {
    padding: 24px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
    backdrop-filter: blur(6px);
}
.track-card h3 { color: #fff; font-size: 1.12rem; margin-bottom: 14px; }
.track-card ul { list-style: none; margin: 0 0 16px; padding: 0; }
.track-card li { display: flex; gap: 12px; margin: 0; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: .9rem; color: rgba(255, 255, 255, .82); }
.track-card li:last-child { border-bottom: 0; }
.track-card li span { font-family: var(--serif); color: var(--mint); font-size: .82rem; flex: none; }
.track-card .text-link { color: var(--mint); border-color: rgba(143, 233, 164, .3); }
.track-card .text-link:hover { color: #fff; border-color: #fff; }

/* ---------- Journal feature ---------- */

.journal-feature {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    gap: clamp(36px, 6vw, 84px);
    align-items: center;
}
.journal-cover {
    position: relative;
    justify-self: center;
    width: min(320px, 82%);
    aspect-ratio: 3 / 4.15;
    padding: 16px;
    border-radius: 8px 18px 18px 8px;
    background: linear-gradient(160deg, #06473D, #012A24);
    box-shadow: 0 30px 70px rgba(1, 42, 36, .3), inset -18px 0 30px rgba(0, 0, 0, .18);
    transform: rotate(-2.6deg);
    transition: transform .4s var(--ease);
}
.journal-cover:hover { transform: rotate(-1deg) translateY(-6px); }
.journal-cover::before {
    content: "";
    position: absolute;
    left: 12px; top: 0; bottom: 0;
    width: 3px;
    background: rgba(143, 233, 164, .35);
}
.journal-cover__inner {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 26px 24px;
    border: 1px solid rgba(143, 233, 164, .28);
    border-radius: 4px 10px 10px 4px;
    color: #fff;
    overflow: hidden;
}
.journal-cover__inner::after {
    content: "";
    position: absolute;
    right: -46px; bottom: -46px;
    width: 170px; height: 170px;
    border-radius: 50%;
    border: 22px solid rgba(143, 233, 164, .14);
}
.journal-cover__org { font-size: .72rem; letter-spacing: .3em; color: var(--mint); font-weight: 700; }
.journal-cover__rule { width: 54px; height: 2px; background: var(--mint); margin: 18px 0 22px; }
.journal-cover__title { font-family: var(--serif); font-size: clamp(1.3rem, 2.3vw, 1.7rem); line-height: 1.2; color: #fff; font-weight: 500; }
.journal-cover__meta { margin-top: auto; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .66); }
.journal-cover__volume { margin-top: 8px; font-size: .74rem; color: var(--mint); }

.journal-feature__copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.check-list { list-style: none; margin: 26px 0; padding: 0; }
.check-list li {
    position: relative;
    margin: 0 0 14px;
    padding-left: 32px;
    color: var(--ink-2);
    font-size: .96rem;
    line-height: 1.6;
}
.check-list li::before {
    content: "";
    position: absolute;
    left: 0; top: .38em;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--mint-soft);
    border: 1.5px solid var(--teal);
}
.check-list li::after {
    content: "";
    position: absolute;
    left: 5px; top: .62em;
    width: 7px; height: 4px;
    border-left: 1.6px solid var(--green-700);
    border-bottom: 1.6px solid var(--green-700);
    transform: rotate(-45deg);
}
.check-list strong { color: var(--green-800); }
.journal-feature__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }

.mini-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding-top: 22px; border-top: 1px solid var(--line-strong); }
.mini-facts dt { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.mini-facts dd { margin: 0; font-size: .9rem; font-weight: 600; color: var(--green-800); line-height: 1.4; }

/* ---------- Publishing streams ---------- */

.stream-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.stream {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: #fff;
    overflow: hidden;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.stream:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stream::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--teal), var(--mint));
}
.stream--journal::before { background: linear-gradient(90deg, var(--green-800), var(--teal)); }
.stream-kicker { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 18px; }
.stream h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 14px; }
.stream > p { color: var(--ink-2); font-size: .97rem; }
.stream-list { list-style: none; margin: 18px 0 28px; padding: 0; }
.stream-list li { position: relative; padding-left: 20px; margin-bottom: 8px; font-size: .9rem; color: var(--ink-2); }
.stream-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.stream .text-link { margin-top: auto; align-self: flex-start; }

/* ---------- Board strip ---------- */

.board-strip {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
    padding: clamp(32px, 4vw, 48px);
    border-radius: var(--radius-lg);
    background: var(--paper-2);
    border: 1px solid var(--line);
}
.board-strip__copy h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.board-strip__copy p { color: var(--ink-2); font-size: .96rem; }
.board-strip__copy .btn { margin-top: 10px; }
.board-names { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 20px; margin: 0; padding: 0; list-style: none; }
.board-names li { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line-strong); }
.board-names strong { display: block; font-size: .88rem; color: var(--green-800); }
.board-names span { display: block; font-size: .74rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }

/* ---------- Newsletter ---------- */

.newsletter {
    position: relative;
    overflow: hidden;
    padding-block: clamp(48px, 6vw, 72px);
    background: var(--green-800);
    color: rgba(255, 255, 255, .78);
}
.newsletter::after {
    content: "";
    position: absolute;
    right: -80px; top: -80px;
    width: 340px; height: 340px;
    border-radius: 50%;
    border: 60px solid rgba(143, 233, 164, .08);
    pointer-events: none;
}
.newsletter-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
}
.newsletter h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 8px; }
.newsletter p { color: rgba(255, 255, 255, .7); margin: 0; }
.newsletter-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.newsletter-form input {
    min-height: 52px;
    padding: 12px 18px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, .08);
    color: #fff;
}
.newsletter-form input::placeholder { color: rgba(255, 255, 255, .45); }
.newsletter-form input:focus { outline: 2px solid var(--mint); background: rgba(255, 255, 255, .12); }
.newsletter-note { grid-column: 1 / -1; font-size: .74rem; color: rgba(255, 255, 255, .5); margin: 2px 0 0 6px; }

/* ---------- CTA panel ---------- */

.cta-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    gap: clamp(24px, 4vw, 48px);
    align-items: center;
    padding: clamp(32px, 5vw, 56px);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 88% 12%, rgba(143, 233, 164, .18), transparent 44%),
        var(--green-900);
    color: rgba(255, 255, 255, .76);
}
.cta-panel h2 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.cta-panel p { color: rgba(255, 255, 255, .7); margin: 0; max-width: 56ch; }
.cta-panel__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* ---------- Footer ---------- */

.site-footer { background: var(--green-950); color: rgba(255, 255, 255, .62); padding-top: clamp(48px, 6vw, 72px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(24px, 4vw, 48px); padding-bottom: 48px; }
.footer-brand p { font-size: .87rem; line-height: 1.65; margin-top: 16px; color: rgba(255, 255, 255, .58); max-width: 34ch; }
.footer-muted { color: rgba(255, 255, 255, .38) !important; font-size: .78rem !important; }
.footer-col h2 { font-family: var(--sans); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mint); margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255, 255, 255, .68); text-decoration: none; font-size: .87rem; }
.footer-col a:hover { color: var(--mint); }
.contact-list li { display: flex; flex-direction: column; gap: 2px; margin-bottom: 14px; }
.contact-label { font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .38); }
.social-list { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.social-list li { margin: 0; }
.social-list a { font-size: .76rem; border-bottom: 1px solid rgba(255, 255, 255, .25); padding-bottom: 2px; }
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-block: 22px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: .76rem;
}
.footer-bottom p { margin: 0; color: rgba(255, 255, 255, .45); }
.footer-bottom ul { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.footer-bottom li { margin: 0; }
.footer-bottom a { color: rgba(255, 255, 255, .55); text-decoration: none; }
.footer-bottom a:hover { color: var(--mint); }

/* ---------- Page hero and prose ---------- */

.page-hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(44px, 6vw, 76px) clamp(36px, 5vw, 56px);
    background: var(--green-900);
    color: rgba(255, 255, 255, .8);
}
.page-hero--compact { padding-block: clamp(36px, 4.5vw, 56px) clamp(30px, 4vw, 44px); }
.page-hero__wash {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 84% 0%, rgba(143, 233, 164, .2), transparent 46%),
        radial-gradient(circle at 0% 100%, rgba(0, 167, 139, .24), transparent 48%);
    pointer-events: none;
}
.page-hero__inner { position: relative; max-width: 980px; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.5rem); margin-bottom: 14px; }
.page-hero__subtitle { max-width: 66ch; font-size: clamp(1rem, 1.6vw, 1.15rem); color: rgba(255, 255, 255, .72); margin: 0; }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; font-size: .76rem; color: rgba(255, 255, 255, .52); }
.breadcrumb a { color: rgba(255, 255, 255, .74); text-decoration: none; }
.breadcrumb a:hover { color: var(--mint); }
.page-hero--light .breadcrumb, .page-hero--light .breadcrumb a { color: var(--muted); }

.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 64px); align-items: start; }

.prose { max-width: 74ch; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 2em; font-size: clamp(1.5rem, 2.4vw, 1.95rem); }
.prose h3 { margin-top: 1.7em; font-size: 1.28rem; }
.prose p, .prose li { color: var(--ink-2); font-size: 1rem; line-height: 1.72; }
.prose .lead, .prose p.lead { font-size: clamp(1.12rem, 1.8vw, 1.3rem); color: var(--ink); line-height: 1.6; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .55em; }
.prose ul li::marker { color: var(--teal); }
.prose a { color: var(--green-700); text-decoration: underline; }
.prose strong { color: var(--green-800); }
.prose blockquote {
    margin: 2em 0;
    padding: 4px 0 4px 24px;
    border-left: 3px solid var(--teal);
    font-family: var(--serif);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--green-800);
}
.prose img { border-radius: var(--radius); margin-block: 2em; }
.prose table { width: 100%; border-collapse: collapse; margin-block: 2em; font-size: .92rem; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { background: var(--paper-2); color: var(--green-800); font-weight: 650; }
.prose hr { border: 0; border-top: 1px solid var(--line-strong); margin-block: 2.5em; }
.prose .btn { text-decoration: none; margin-right: 8px; margin-bottom: 8px; }
.prose--compact { max-width: 62ch; }

/* Board list inside CMS prose */
.prose .board-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-block: 2em; }
.prose .board-list li { margin: 0; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.prose .board-list strong { display: block; font-size: .95rem; }
.prose .board-list span { display: block; font-size: .78rem; color: var(--muted); }
.prose .callout-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-block: 2em; }
.prose .callout { display: block; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.prose .callout h2 { margin-top: 0; font-size: 1.4rem; }
.prose .callout p { margin: 0 0 14px; }
.prose .callout p:last-child { margin-bottom: 0; }

.page-aside { display: grid; gap: 16px; position: sticky; top: 108px; }
.aside-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.aside-card--accent { background: var(--green-800); border-color: var(--green-800); color: rgba(255, 255, 255, .76); }
.aside-card--accent h2 { color: #fff; }
.aside-card--accent p { color: rgba(255, 255, 255, .7); font-size: .88rem; }
.aside-card h2 { font-family: var(--sans); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 14px; }
.aside-card--accent h2 { color: var(--mint); }
.aside-links { list-style: none; margin: 0; padding: 0; }
.aside-links li { margin: 0; }
.aside-links a { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .88rem; color: var(--ink); text-decoration: none; }
.aside-links li:last-child a { border-bottom: 0; }
.aside-links a:hover { color: var(--teal-dark); }
.aside-card--accent .btn + .btn { margin-top: 8px; }
.aside-contact { list-style: none; margin: 0; padding: 0; font-size: .85rem; }
.aside-contact li { margin-bottom: 12px; }
.aside-contact span { display: block; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.aside-contact a { color: var(--green-800); text-decoration: none; overflow-wrap: anywhere; }
.aside-contact--inline { display: flex; flex-wrap: wrap; gap: 28px; margin-bottom: 18px; }
.aside-contact--inline li { margin: 0; }
.aside-list { list-style: none; margin: 0; padding: 0; }
.aside-list li { position: relative; padding-left: 18px; margin-bottom: 8px; font-size: .87rem; color: var(--ink-2); }
.aside-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }

/* ---------- Contact ---------- */

.contact-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-cards { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 12px; }
.contact-card { padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-card__label { display: block; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-dark); font-weight: 700; margin-bottom: 6px; }
.contact-card a, .contact-card__value { display: block; font-weight: 650; color: var(--green-800); text-decoration: none; font-size: 1rem; }
.contact-card a:hover { color: var(--teal-dark); }
.contact-card p { margin: 6px 0 0; font-size: .82rem; color: var(--muted); }
.response-note { padding-left: 18px; border-left: 3px solid var(--teal); }
.response-note strong { display: block; color: var(--green-800); font-size: .9rem; }
.response-note p { font-size: .87rem; color: var(--ink-2); margin: 4px 0 0; }

.form-card { padding: clamp(24px, 4vw, 40px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.form-card__head { margin-bottom: 24px; }
.form-card__head h2 { font-size: 1.6rem; margin-bottom: 4px; }
.form-card__head p { font-size: .84rem; color: var(--muted); margin: 0; }

/* ---------- Forms ---------- */

.form { display: grid; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field-row .field { min-width: 0; }
.field--narrow { max-width: 140px; }
.field label { font-size: .82rem; font-weight: 650; color: var(--green-800); }
.label-hint { font-weight: 400; color: var(--muted); font-size: .76rem; }
.field-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.field-link { font-size: .78rem; color: var(--teal-dark); text-decoration: none; }
.field-link:hover { text-decoration: underline; }

.field input, .field select, .field textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--ink);
    font-size: .95rem;
    transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0, 167, 139, .16); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field-hint { font-size: .75rem; color: var(--muted); margin: 0; }
.field-error { font-size: .78rem; color: var(--danger); margin: 0; font-weight: 550; }
.field--check { gap: 4px; }

.check { display: flex; align-items: flex-start; gap: 10px; font-size: .84rem; color: var(--ink-2); line-height: 1.55; cursor: pointer; }
.check input { width: 18px; height: 18px; min-height: 0; margin-top: 2px; accent-color: var(--teal-dark); flex: none; }
.check a { color: var(--green-700); }

.password-input { position: relative; display: flex; }
.password-input input { padding-right: 72px; }
.password-toggle {
    position: absolute;
    right: 6px; top: 50%;
    transform: translateY(-50%);
    padding: 7px 12px;
    border: 0;
    border-radius: 6px;
    background: var(--paper-2);
    color: var(--ink-2);
    font-size: .72rem;
    font-weight: 650;
}
.password-toggle:hover { background: var(--paper-3); }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.fieldset { margin: 0 0 26px; padding: 0; border: 0; }
.fieldset legend { padding: 0; margin-bottom: 14px; font-family: var(--serif); font-size: 1.15rem; color: var(--green-800); }
.fieldset .field + .field, .fieldset .field-row + .field, .fieldset .field + .field-row { margin-top: 14px; }

.notice {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    border-left-width: 4px;
    background: #fff;
    font-size: .9rem;
    line-height: 1.55;
    color: var(--ink-2);
    margin-bottom: 26px;
}
.notice strong { color: var(--ink); }
.notice--info { background: var(--info-soft); border-color: #BFE0DA; border-left-color: var(--teal); }
.notice--warn { background: var(--warn-soft); border-color: #F0DCB4; border-left-color: #C98A00; }
.notice--error { background: var(--danger-soft); border-color: #F3C4BE; border-left-color: var(--danger); }
.notice--soon { background: #fff; border-color: var(--line-strong); border-left-color: var(--green-800); }

.callout {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-top: clamp(36px, 5vw, 56px);
    padding: clamp(24px, 3.5vw, 36px);
    border-radius: var(--radius);
    background: var(--paper-2);
    border: 1px solid var(--line);
}
.callout h2 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin-bottom: 6px; }
.callout p { margin: 0; color: var(--ink-2); font-size: .92rem; max-width: 58ch; }

.empty-state { padding: 40px; text-align: center; color: var(--muted); background: #fff; border: 1px dashed var(--line-strong); border-radius: var(--radius); }

/* ---------- Conference list ---------- */

.conf-list { display: grid; gap: 14px; }
.conf-list-item {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    padding: 26px 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.conf-list-item:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.conf-list-item--active { border-left: 4px solid var(--teal); }
.conf-list-item__year span { display: block; font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--green-800); }
.conf-list-item__year small { font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.conf-list-item__body h2 { font-size: 1.35rem; margin-bottom: 4px; }
.conf-list-item__body h2 a { color: inherit; text-decoration: none; }
.conf-list-item__body h2 a:hover { color: var(--teal-dark); }
.conf-list-item__theme { font-size: .9rem; color: var(--ink-2); margin-bottom: 8px; }
.conf-list-item__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; margin: 0; padding: 0; font-size: .78rem; color: var(--muted); }
.conf-list-item__meta li { margin: 0; position: relative; padding-left: 14px; }
.conf-list-item__meta li::before { content: ""; position: absolute; left: 0; top: .55em; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }

/* ---------- Conference detail ---------- */

.conf-hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(40px, 5vw, 64px) clamp(48px, 6vw, 76px);
    background: var(--green-900);
    color: rgba(255, 255, 255, .78);
}
.conf-hero__wash {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 88% 8%, rgba(143, 233, 164, .22), transparent 44%),
        radial-gradient(circle at 0% 92%, rgba(0, 167, 139, .24), transparent 46%);
    pointer-events: none;
}
.conf-hero .container { position: relative; }
.conf-hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 5vw, 56px); align-items: start; }
.conf-hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 10px; }
.conf-hero__theme { font-family: var(--serif); font-style: italic; font-size: clamp(1.08rem, 1.9vw, 1.32rem); color: var(--mint); max-width: 46ch; margin-bottom: 30px; }
.conf-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0 0 30px; padding-block: 20px; border-block: 1px solid rgba(255, 255, 255, .14); }
.conf-meta dt { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .52); margin-bottom: 5px; }
.conf-meta dd { margin: 0; color: #fff; font-size: .92rem; font-weight: 600; line-height: 1.4; }
.conf-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.conf-status-card { padding: 26px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(8px); }
.conf-status-card h2 { color: #fff; font-family: var(--sans); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.status-list { list-style: none; margin: 0 0 22px; padding: 0; }
.status-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: .84rem; color: rgba(255, 255, 255, .62); }
.status-list li:last-child { border-bottom: 0; }
.status-list strong { color: #fff; font-size: .82rem; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--radius-pill); font-size: .7rem; font-weight: 700; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--open { background: rgba(143, 233, 164, .16); color: var(--mint); }
.status--soon { background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .7); }
.conf-status-card .btn { margin-top: 4px; }
.conf-status-card__note { margin: 12px 0 0; font-size: .72rem; color: rgba(255, 255, 255, .46); }

.conf-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.conf-body__main { min-width: 0; }
.conf-body__aside { display: grid; gap: 16px; position: sticky; top: 108px; }

.conf-tracks, .conf-timeline { margin-top: clamp(40px, 5vw, 64px); }
.track-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.track-item { padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.track-item__index { font-family: var(--serif); font-size: .8rem; color: var(--teal-dark); }
.track-item h3 { font-size: 1.02rem; margin: 6px 0 4px; }
.track-item p { font-size: .84rem; color: var(--muted); margin: 0; }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 17px; top: 10px; bottom: 10px; width: 1px; background: var(--line-strong); }
.timeline li { position: relative; display: flex; gap: 20px; margin: 0; padding-bottom: 22px; }
.timeline__marker { position: relative; z-index: 1; display: grid; place-items: center; width: 35px; height: 35px; flex: none; border-radius: 50%; background: #fff; border: 1px solid var(--line-strong); font-family: var(--serif); font-size: .85rem; color: var(--green-800); }
.timeline h3 { font-family: var(--sans); font-size: .95rem; margin: 4px 0 2px; }
.timeline p { font-size: .86rem; color: var(--muted); margin: 0; }

/* ---------- Programme ---------- */

.programme { margin-top: 28px; }
.day-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 22px; }
.day-tab { padding: 16px 18px; text-align: left; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s var(--ease), background .2s var(--ease); }
.day-tab span { display: block; font-family: var(--serif); font-size: 1.1rem; color: var(--green-800); }
.day-tab small { display: block; font-size: .72rem; color: var(--muted); letter-spacing: .04em; }
.day-tab:hover { border-color: var(--line-strong); }
.day-tab.is-active { background: var(--green-800); border-color: var(--green-800); }
.day-tab.is-active span { color: #fff; }
.day-tab.is-active small { color: rgba(255, 255, 255, .6); }

.day-panel[hidden] { display: none; }
.schedule { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.schedule-row { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 20px; align-items: start; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.schedule-row:last-child { border-bottom: 0; }
.schedule-time { font-family: var(--serif); font-size: 1rem; color: var(--teal-dark); }
.schedule-row h3 { font-family: var(--sans); font-size: .95rem; margin: 0 0 3px; }
.schedule-row p { font-size: .83rem; color: var(--muted); margin: 0; }
.schedule-tag { align-self: center; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--paper-2); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }

/* ---------- Registration ---------- */

.reg-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.reg-main { min-width: 0; }
.reg-aside { display: grid; gap: 16px; position: sticky; top: 108px; }
.reg-section { margin-top: clamp(36px, 4vw, 52px); }
.reg-section h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); margin-bottom: 12px; }

.fee-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.fee-row { display: grid; grid-template-columns: 1.3fr 1.1fr .8fr 1fr; gap: 14px; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: .88rem; align-items: center; }
.fee-row:last-child { border-bottom: 0; }
.fee-row--head { background: var(--paper-2); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.fee-row small { display: block; font-size: .7rem; color: var(--muted); }

.fee-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fee-card { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; }
.fee-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.fee-card p { font-size: .86rem; color: var(--ink-2); flex: 1; }
.fee-card__status { display: inline-block; margin-top: 12px; padding: 5px 12px; border-radius: var(--radius-pill); background: var(--paper-2); font-size: .72rem; font-weight: 600; color: var(--ink-2); }

/* ---------- Auth ---------- */

.auth-body { background: var(--paper); }
.auth-shell { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); min-height: 100vh; }

.auth-aside {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    padding: clamp(28px, 4vw, 48px);
    background:
        radial-gradient(circle at 82% 14%, rgba(143, 233, 164, .2), transparent 42%),
        radial-gradient(circle at 0% 96%, rgba(0, 167, 139, .26), transparent 48%),
        var(--green-900);
    color: rgba(255, 255, 255, .72);
}
.auth-aside::after {
    content: "";
    position: absolute;
    right: -120px; bottom: -120px;
    width: 360px; height: 360px;
    border-radius: 50%;
    border: 70px solid rgba(143, 233, 164, .06);
    pointer-events: none;
}
.auth-aside__body { position: relative; max-width: 460px; }
.auth-aside__body h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.9rem); margin-bottom: 16px; }
.auth-aside__body > p { color: rgba(255, 255, 255, .68); font-size: .98rem; }
.auth-points { list-style: none; margin: 30px 0 0; padding: 0; }
.auth-points li { display: flex; align-items: center; gap: 14px; margin: 0 0 12px; font-size: .9rem; color: rgba(255, 255, 255, .8); }
.auth-points span { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1px solid rgba(143, 233, 164, .35); font-family: var(--serif); font-size: .72rem; color: var(--mint); }
.auth-aside__foot { position: relative; font-size: .8rem; color: rgba(255, 255, 255, .5); border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 20px; }
.auth-aside__foot p { margin-bottom: 6px; }
.auth-aside__foot a { color: var(--mint); text-decoration: none; }

.auth-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 620px;
    margin-inline: auto;
    padding: clamp(28px, 5vw, 56px);
}
.auth-main__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.auth-back { font-size: .8rem; color: var(--muted); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.auth-back:hover { color: var(--green-800); }

.auth-card { padding: clamp(24px, 4vw, 40px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.auth-card__head { margin-bottom: 26px; }
.auth-card__head h1 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 8px; }
.auth-card__head p { color: var(--muted); font-size: .9rem; margin: 0; }
.auth-divider { display: flex; align-items: center; gap: 14px; margin: 24px 0; font-size: .76rem; color: var(--muted); }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.auth-help { margin: 22px 0 0; text-align: center; font-size: .84rem; color: var(--muted); }
.auth-help a { color: var(--green-700); font-weight: 600; text-decoration: none; }
.auth-legal { margin: 22px 0 0; text-align: center; font-size: .74rem; color: var(--muted); }
.auth-legal a { color: var(--muted); text-decoration: underline; }

.avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--mint-soft); color: var(--green-700); font-weight: 700; font-size: .8rem; flex: none; letter-spacing: .02em; }
.avatar--lg { width: 64px; height: 64px; font-size: 1.15rem; }

/* ---------- Portal ---------- */

.portal-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(24px, 4vw, 40px); align-items: start; }
.portal-sidebar { position: sticky; top: 108px; display: grid; gap: 18px; }
.portal-identity { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.portal-identity strong { margin-top: 10px; font-size: 1rem; color: var(--green-800); }
.portal-identity > span:not(.avatar) { font-size: .8rem; color: var(--muted); overflow-wrap: anywhere; }
.role-chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 10px 0 0; padding: 0; }
.role-chips li { margin: 0; padding: 3px 9px; border-radius: var(--radius-pill); background: var(--mint-soft); font-size: .66rem; font-weight: 650; color: var(--green-700); }

.portal-nav { display: grid; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.portal-nav a, .portal-nav span { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 8px; font-size: .86rem; text-decoration: none; color: var(--ink); }
.portal-nav a.is-active { background: var(--paper-2); color: var(--green-800); font-weight: 650; }
.portal-nav a:hover { background: var(--paper); }
.portal-nav span { color: var(--muted-2); cursor: default; }
.portal-nav em { font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.portal-sidebar__foot { display: grid; gap: 8px; }

.portal-main { display: grid; gap: 18px; min-width: 0; }
.portal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.portal-card { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; }
.portal-card__label { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-dark); font-weight: 700; margin-bottom: 10px; }
.portal-card h2 { font-size: 1.28rem; margin-bottom: 8px; }
.portal-card p { font-size: .87rem; color: var(--ink-2); flex: 1; }
.portal-card .text-link { align-self: flex-start; margin-top: 6px; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); }
.panel__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.panel__head h2 { font-size: 1.18rem; margin: 0; }
.panel__meta { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.panel__text { font-size: .9rem; color: var(--ink-2); }
.panel__foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }

.profile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.profile-grid dt { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.profile-grid dd { margin: 0; font-size: .9rem; color: var(--ink); overflow-wrap: anywhere; }

/* ---------- Admin ---------- */

.admin-body { background: var(--paper-2); }
.admin-shell { display: grid; grid-template-columns: 268px minmax(0, 1fr); min-height: 100vh; }

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 22px 18px;
    background: var(--green-950);
    color: rgba(255, 255, 255, .6);
    z-index: 80;
}
.admin-brand { padding: 4px 6px 18px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.admin-nav { display: grid; gap: 3px; }
.admin-nav__label { margin: 16px 10px 6px; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .32); }
.admin-nav__item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; font-size: .84rem; color: rgba(255, 255, 255, .72); text-decoration: none; }
.admin-nav__item:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.admin-nav__item.is-active { background: rgba(143, 233, 164, .12); color: var(--mint); font-weight: 600; }
.admin-nav__item.is-muted { color: rgba(255, 255, 255, .34); cursor: default; }
.admin-nav__item.is-muted:hover { background: transparent; color: rgba(255, 255, 255, .34); }
.admin-nav__item em { margin-left: auto; font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; font-style: normal; color: rgba(255, 255, 255, .28); }
.admin-nav__icon { display: grid; place-items: center; width: 18px; height: 18px; flex: none; }
.admin-nav__icon svg { width: 17px; height: 17px; }
.admin-sidebar__foot { margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); display: grid; gap: 8px; font-size: .78rem; }
.admin-sidebar__foot a, .admin-sidebar__foot button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 8px 10px; border: 0; border-radius: 8px; background: transparent; color: rgba(255, 255, 255, .6); text-decoration: none; text-align: left; font-size: .78rem; }
.admin-sidebar__foot a:hover, .admin-sidebar__foot button:hover { background: rgba(255, 255, 255, .06); color: #fff; }

.admin-main { min-width: 0; display: flex; flex-direction: column; }
.admin-topbar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 18px; padding: 14px clamp(18px, 3vw, 34px); background: rgba(247, 245, 239, .94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.admin-menu-btn { display: none; width: 42px; height: 42px; padding: 10px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; flex-direction: column; justify-content: center; gap: 4px; }
.admin-menu-btn span { display: block; height: 2px; background: var(--green-800); border-radius: 2px; }
.admin-topbar__title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.admin-topbar__title h1 { font-family: var(--sans); font-size: 1rem; font-weight: 650; margin: 0; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-topbar__env { padding: 3px 9px; border-radius: var(--radius-pill); background: var(--mint-soft); color: var(--green-700); font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.admin-topbar__user { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.admin-user { display: flex; flex-direction: column; line-height: 1.25; }
.admin-user strong { font-size: .82rem; color: var(--ink); }
.admin-user small { font-size: .7rem; color: var(--muted); }
.admin-content { padding: clamp(20px, 3vw, 34px); display: grid; gap: 20px; }

.admin-page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.admin-page-head h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 8px; }
.admin-page-head p { margin: 0; color: var(--muted); font-size: .9rem; max-width: 66ch; }
.admin-page-head__actions { display: flex; align-items: center; gap: 10px; }

/* ---------- Admin tables and editors ---------- */

.admin-form-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .9fr); gap: 20px; align-items: start; }
.admin-form-main, .admin-form-aside { display: grid; gap: 20px; }
.admin-form-main .panel, .admin-form-aside .panel { display: grid; gap: 16px; }
.admin-form-aside .panel__head { margin-bottom: 0; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.form-actions--stack { display: grid; }

.input-prefix { display: flex; align-items: stretch; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; overflow: hidden; }
.input-prefix > span { display: flex; align-items: center; padding: 0 12px; background: var(--paper-2); border-right: 1px solid var(--line); color: var(--muted); font-family: var(--mono); font-size: .85rem; }
.field .input-prefix input { border: 0; border-radius: 0; box-shadow: none !important; min-height: 48px; }
.input-prefix:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0, 167, 139, .16); }

.field textarea.field-code { font-family: var(--mono); font-size: .82rem; line-height: 1.65; min-height: 420px; tab-size: 2; }

.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: .86rem; min-width: 620px; }
.data-table th { text-align: left; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 0 12px 10px; border-bottom: 1px solid var(--line); }
.data-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: var(--paper); }
.cell-title { display: block; font-weight: 650; color: var(--green-800); }
.cell-slug { display: block; font-family: var(--mono); font-size: .72rem; color: var(--muted); margin-top: 2px; }
.cell-muted { color: var(--muted); white-space: nowrap; }
.table-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }

.btn-danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-danger:hover { background: #8F1C13; border-color: #8F1C13; color: #fff; }
.panel--danger { border-color: #F3C9C4; background: #FFF9F8; }
.admin-danger-zone { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 24px; border: 1px solid #F3C9C4; border-radius: var(--radius); background: #FFF9F8; }
.admin-danger-zone strong { color: var(--danger); }
.admin-danger-zone p { margin: 2px 0 0; font-size: .8rem; color: var(--muted); }

.settings-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.settings-nav a { display: block; padding: 8px 10px; border-radius: 8px; font-size: .84rem; color: var(--ink-2); text-decoration: none; }
.settings-nav a:hover { background: var(--paper); color: var(--green-800); }

.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.stat-card { padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 4px; }
.stat-card--attention { border-color: #F0DCB4; background: #FFFDF7; }
.stat-card__label { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 650; }
.stat-card__value { font-family: var(--serif); font-size: 2.1rem; line-height: 1.1; color: var(--green-800); }
.stat-card__note { font-size: .76rem; color: var(--muted); }

.admin-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .9fr); gap: 18px; align-items: start; }
.activity-list { list-style: none; margin: 0; padding: 0; }
.activity-list li { display: flex; align-items: flex-start; gap: 12px; margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.activity-list li:last-child { border-bottom: 0; }
.activity-dot { width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--teal); flex: none; }
.activity-list strong { display: block; font-size: .85rem; color: var(--ink); }
.activity-list p { margin: 1px 0 0; font-size: .76rem; color: var(--muted); }
.activity-list time { margin-left: auto; font-size: .7rem; color: var(--muted-2); white-space: nowrap; }
.empty-panel { padding: 22px; border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); background: var(--paper); }
.empty-panel p { margin: 0; font-size: .84rem; color: var(--muted); }
.system-list { margin: 0; display: grid; gap: 2px; }
.system-list div { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .82rem; }
.system-list div:last-child { border-bottom: 0; }
.system-list dt { color: var(--muted); }
.system-list dd { margin: 0; color: var(--ink); font-weight: 550; text-align: right; overflow-wrap: anywhere; }

.roadmap { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.roadmap li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 14px; align-items: center; margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.roadmap li.is-done { background: var(--mint-soft); border-color: #BFE7D2; }
.roadmap__marker { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); font-size: .8rem; color: var(--green-800); font-family: var(--serif); }
.roadmap li.is-done .roadmap__marker { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.roadmap strong { display: block; font-size: .88rem; color: var(--ink); }
.roadmap p { margin: 1px 0 0; font-size: .78rem; color: var(--muted); }
.roadmap__state { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.roadmap li.is-done .roadmap__state { color: var(--green-700); }

/* ---------- Installer ---------- */

.install-body { background: var(--paper); min-height: 100vh; }
.install-shell { width: 100%; max-width: 860px; margin-inline: auto; padding: clamp(24px, 5vw, 56px) var(--gutter) 64px; }
.install-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.install-head__meta { font-size: .74rem; color: var(--muted); }

.install-steps { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0 0 24px; padding: 0; overflow-x: auto; }
.install-steps li { display: flex; align-items: center; gap: 8px; margin: 0; padding: 6px 10px; border-radius: var(--radius-pill); font-size: .72rem; color: var(--muted); white-space: nowrap; }
.install-steps li span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-strong); font-size: .68rem; }
.install-steps li.is-current { background: #fff; color: var(--green-800); border: 1px solid var(--line); font-weight: 650; }
.install-steps li.is-current span { background: var(--green-800); border-color: var(--green-800); color: #fff; }
.install-steps li.is-done { color: var(--green-700); }
.install-steps li.is-done span { background: var(--mint-soft); border-color: #BFE7D2; color: var(--green-700); }
.install-steps em { font-style: normal; }

.install-card { padding: clamp(24px, 4vw, 42px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.install-card__head { margin-bottom: 28px; }
.install-card__head h1 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin-bottom: 10px; }
.install-card__head p { color: var(--muted); font-size: .92rem; margin: 0; }
.install-section { margin-top: 30px; }
.install-section h2 { font-size: 1.2rem; margin-bottom: 14px; }
.install-section--muted { padding: 22px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.install-section--muted h2 { font-size: 1rem; }
.install-section--muted p, .install-section--muted li { font-size: .86rem; color: var(--ink-2); }
.install-notes { padding-left: 1.2em; margin: 0; }
.install-notes li { font-size: .86rem; color: var(--ink-2); margin-bottom: 8px; }

.requirement-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.requirement-list li { display: flex; align-items: center; gap: 12px; margin: 0; padding: 11px 16px; border-bottom: 1px solid var(--line); font-size: .85rem; }
.requirement-list li:last-child { border-bottom: 0; }
.requirement-state { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-size: .64rem; font-weight: 800; color: #fff; flex: none; }
.requirement-list .is-ok .requirement-state { background: #1B8A5A; }
.requirement-list .is-fail .requirement-state { background: var(--danger); }
.requirement-list .is-warn .requirement-state { background: #C98A00; }
.requirement-label { flex: 1; }
.requirement-detail { font-size: .75rem; color: var(--muted); text-align: right; overflow-wrap: anywhere; }

.install-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px; }

.review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.review-card { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.review-card h2 { font-family: var(--sans); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 10px; }
.review-card dl { margin: 0; display: grid; gap: 5px; }
.review-card div { display: flex; justify-content: space-between; gap: 12px; font-size: .82rem; }
.review-card dt { color: var(--muted); }
.review-card dd { margin: 0; font-weight: 550; text-align: right; overflow-wrap: anywhere; }

.done-banner { display: flex; align-items: flex-start; gap: 16px; padding: 20px 22px; border-radius: var(--radius); background: var(--mint-soft); border: 1px solid #BFE7D2; }
.done-banner__check { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #1B8A5A; color: #fff; font-weight: 800; flex: none; }
.done-banner strong { display: block; color: var(--green-800); font-size: .95rem; }
.done-banner p { margin: 3px 0 0; font-size: .84rem; color: var(--ink-2); }
.done-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.done-link { display: flex; flex-direction: column; gap: 3px; padding: 18px 20px; border: 1px solid var(--line-strong); border-radius: var(--radius); text-decoration: none; background: #fff; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.done-link:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); }
.done-link span { font-weight: 650; color: var(--green-800); }
.done-link small { font-size: .76rem; color: var(--muted); overflow-wrap: anywhere; }
.code-block { margin: 10px 0 0; padding: 12px 14px; border-radius: 8px; background: var(--green-950); color: #D7F5EA; font-size: .74rem; overflow-x: auto; white-space: pre-wrap; }

.install-foot { margin: 22px 0 0; text-align: center; font-size: .74rem; color: var(--muted); }

/* ---------- Reveal animation ---------- */

html.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
html.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
    .pillar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-badge { right: 0; width: 100px; height: 100px; }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer-contact { grid-column: 1 / -1; }
    .page-layout, .conf-body, .reg-layout { grid-template-columns: minmax(0, 1fr) 290px; }
}

@media (max-width: 960px) {
    .utility-links li:not(:last-child) { display: none; }
    .hero-grid { grid-template-columns: minmax(0, 1fr); }
    .hero-copy { max-width: 100%; }
    .hero-media { max-width: 520px; }
    .hero-badge { right: 12px; }
    .journal-feature { grid-template-columns: minmax(0, 1fr); }
    .journal-cover { justify-self: start; width: min(280px, 70%); }
    .conference-band__grid { grid-template-columns: minmax(0, 1fr); }
    .board-strip { grid-template-columns: minmax(0, 1fr); }
    .cta-panel { grid-template-columns: minmax(0, 1fr); }
    .cta-panel__actions { justify-content: flex-start; }
    .page-layout, .conf-body, .reg-layout, .contact-layout, .portal-layout { grid-template-columns: minmax(0, 1fr); }
    .page-aside, .conf-body__aside, .reg-aside, .portal-sidebar { position: static; }
    .auth-shell { grid-template-columns: minmax(0, 1fr); }
    .auth-aside { gap: 22px; padding: 28px; }
    .auth-aside__body h2 { font-size: 1.7rem; }
    .auth-aside__foot { display: none; }
    .auth-points { display: none; }
    .admin-shell { grid-template-columns: minmax(0, 1fr); }
    .admin-sidebar { position: fixed; inset: 0 auto 0 0; width: 280px; transform: translateX(-100%); transition: transform .25s var(--ease); }
    .admin-sidebar.is-open { transform: none; box-shadow: var(--shadow-lg); }
    .admin-menu-btn { display: flex; }
    .admin-grid { grid-template-columns: minmax(0, 1fr); }
    .admin-form-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 820px) {
    .nav-toggle { display: flex; }
    .primary-nav {
        position: absolute;
        top: 100%; left: 0; right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin: 0;
        padding: 16px var(--gutter) 22px;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        max-height: calc(100vh - 90px);
        overflow-y: auto;
    }
    .primary-nav.is-open { display: flex; }
    .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
    .nav-link { width: 100%; justify-content: space-between; padding: 12px 10px; font-size: .95rem; }
    .dropdown { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 6px 14px; min-width: 0; }
    .has-dropdown.is-open .dropdown { display: block; }
    .has-dropdown:hover .dropdown { display: none; }
    .has-dropdown.is-open:hover .dropdown { display: block; }
    .dropdown a { padding: 9px 10px; color: var(--ink-2); }
    .nav-actions { flex-wrap: wrap; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
    .nav-actions .btn { flex: 1; }
    .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
    .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
    .stream-grid { grid-template-columns: minmax(0, 1fr); }
    .stream { padding: 28px; }
    .newsletter-inner { grid-template-columns: minmax(0, 1fr); }
    .newsletter-form { grid-template-columns: minmax(0, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .conf-list-item { grid-template-columns: 84px minmax(0, 1fr); gap: 16px 20px; padding: 22px; }
    .conf-list-item__action { grid-column: 2; }
    .conf-hero__grid { grid-template-columns: minmax(0, 1fr); }
    .conf-meta { grid-template-columns: 1fr 1fr; }
    .track-grid { grid-template-columns: minmax(0, 1fr); }
    .day-tabs { grid-template-columns: minmax(0, 1fr); }
    .schedule-row { grid-template-columns: 64px minmax(0, 1fr); }
    .schedule-tag { grid-column: 2; justify-self: start; }
    .fee-row { grid-template-columns: 1.2fr 1fr; }
    .fee-row span:nth-child(2) { display: none; }
    .fee-cards { grid-template-columns: minmax(0, 1fr); }
    .portal-grid { grid-template-columns: minmax(0, 1fr); }
    .prose .board-list, .prose .callout-grid { grid-template-columns: minmax(0, 1fr); }
    .board-names { grid-template-columns: minmax(0, 1fr); }
    .mini-facts, .conference-facts { grid-template-columns: 1fr 1fr; }
    .admin-user { display: none; }
    .review-grid, .done-links { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
    .utility-inner { justify-content: center; }
    .utility-tagline { display: none; }
    .hero-title { font-size: clamp(2.2rem, 10vw, 3rem); }
    .hero-card { left: 12px; right: 12px; bottom: 12px; padding: 16px; }
    .hero-badge { display: none; }
    .field-row { grid-template-columns: minmax(0, 1fr); }
    .field--narrow { max-width: none; }
    .stat-grid { grid-template-columns: minmax(0, 1fr); }
    .profile-grid { grid-template-columns: minmax(0, 1fr); }
    .footer-grid { grid-template-columns: minmax(0, 1fr); }
    .conf-list-item { grid-template-columns: minmax(0, 1fr); }
    .conf-list-item__action { grid-column: 1; }
    .conf-meta { grid-template-columns: minmax(0, 1fr); }
    .day-tabs { gap: 8px; }
    .install-steps em { display: none; }
    .install-steps li { padding: 5px 7px; }
    .admin-page-head__actions { width: 100%; }
    .review-card div { flex-direction: column; gap: 1px; }
    .review-card dd { text-align: left; }
    .cta-panel { padding: 26px 22px; }
    .field textarea.field-code { min-height: 320px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    [data-reveal] { opacity: 1; transform: none; }
    .discipline-track { animation: none; }
}

/* ---------- Print ---------- */

@media print {
    .site-header, .site-footer, .newsletter, .cta-panel, .breadcrumb, .page-aside, .hero-actions, .btn { display: none !important; }
    body { background: #fff; color: #000; }
    .section { padding-block: 0; }
    .page-hero { background: #fff; color: #000; padding-block: 0 16px; }
    .page-hero h1 { color: #000; }
}
