/* ==========================================================================
   Morrow Index — design system
   Palette: owner's brand sheet (navy #0B1F44, ice #D6E8FF, yellow #F7B733)
   ========================================================================== */

@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* brand */
  --navy: #0B1F44;
  --navy-2: #142B57;       /* hover / raised on navy */
  --navy-3: #22407A;       /* borders on navy */
  --ice: #D6E8FF;          /* accents, chips */
  --ice-soft: #EDF4FF;     /* large section backgrounds */
  --paper: #FAFBFA;        /* page background */
  --white: #FFFFFF;
  --yellow: #F7B733;
  --yellow-hover: #EAA41C;
  --amber-text: #8A5A00;   /* yellow-family text on light (AA) */

  /* text */
  --text: #0B1F44;
  --text-body: #33415C;
  --muted: #5B6B85;
  --on-navy: #FAFBFA;
  --on-navy-muted: #A9B8D3;

  /* lines & status */
  --border: #DCE4EE;
  --open: #1E7A4C;   --open-bg: #E3F4EA;
  --soon: #8A5A00;   --soon-bg: #FFF1D3;
  --closed: #5B6B85; --closed-bg: #EEF1F5;

  /* shape */
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-xl: 32px; --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 68, .06);
  --shadow-md: 0 6px 24px -8px rgba(11, 31, 68, .14);

  /* type */
  --font-head: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* layout */
  --sidebar-w: 288px;
  --topbar-h: 72px;
  --gutter: clamp(16px, 3.2vw, 48px);
  --content-max: 1240px;
}

/* ---------------------------------------------------------------- base */
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--text-body); background: var(--paper); overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--text); line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.25rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--yellow); color: var(--navy); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---------------------------------------------------------------- buttons, chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 0 1.4em; border-radius: var(--r-pill); border: 1.5px solid transparent; font-family: var(--font-head); font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn-primary { background: var(--yellow); color: var(--navy); }
.btn-primary:hover { background: var(--yellow-hover); }
.btn-navy { background: var(--navy); color: var(--on-navy); }
.btn-navy:hover { background: var(--navy-2); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--on-navy); }
.btn-sm { min-height: 40px; padding: 0 1.1em; font-size: .88rem; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: var(--white); color: var(--navy); cursor: pointer; text-decoration: none; }
.icon-btn:hover { border-color: var(--navy); }

.eyebrow { display: block; font-family: var(--font-head); font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-text); margin-bottom: .9rem; }
.chip { display: inline-flex; align-items: center; gap: .35em; padding: .3em .75em; border-radius: var(--r-pill); background: var(--ice-soft); color: var(--navy); font-size: .8rem; font-weight: 600; line-height: 1.3; }
.badge { display: inline-flex; align-items: center; gap: .4em; padding: .28em .7em; border-radius: var(--r-pill); font-size: .74rem; font-weight: 700; font-family: var(--font-head); letter-spacing: .02em; }
.badge::before { content: ""; width: .5em; height: .5em; border-radius: 50%; background: currentColor; }
.badge-open { color: var(--open); background: var(--open-bg); }
.badge-upcoming { color: var(--soon); background: var(--soon-bg); }
.badge-closed { color: var(--closed); background: var(--closed-bg); }
.badge-soon { color: var(--navy); background: var(--yellow); }
.badge-soon::before { display: none; }
.badge-demo { color: #fff; background: #B42318; }
.badge-demo::before { display: none; }

/* ---------------------------------------------------------------- app shell */
.shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar-w); background: var(--navy); color: var(--on-navy); display: flex; flex-direction: column; padding: 28px 22px 22px; overflow-y: auto; z-index: 40; }
.sidebar-brand { display: block; padding: 0 6px 6px; }
.sidebar-brand img { height: 34px; width: auto; }
.sidebar-tagline { color: var(--on-navy-muted); font-size: .82rem; padding: 0 6px; margin: 6px 0 28px; }
.side-label { font-family: var(--font-head); font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--on-navy-muted); margin: 0 6px 12px; }
.module-list, .side-links { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 8px; }
.module-link { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--r-md); text-decoration: none; color: var(--on-navy); border: 1px solid var(--navy-3); transition: background .15s; }
.module-link:hover { background: var(--navy-2); }
.module-link .num { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--navy-2); color: var(--yellow); font-family: var(--font-head); font-weight: 800; font-size: .78rem; flex: none; }
.module-link .label { display: grid; line-height: 1.25; flex: 1; min-width: 0; }
.module-link .label strong { font-family: var(--font-head); font-weight: 700; font-size: .92rem; }
.module-link .label small { color: var(--on-navy-muted); font-size: .74rem; }
.module-link[aria-current="page"], .module-link.is-active { background: var(--white); color: var(--navy); border-color: var(--white); }
.module-link.is-active .num { background: var(--yellow); color: var(--navy); }
.module-link.is-active .label small { color: var(--muted); }
.module-link.is-soon { opacity: .78; }
.side-links a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--r-sm); text-decoration: none; color: var(--on-navy); font-size: .92rem; }
.side-links a:hover, .side-links a[aria-current="page"] { background: var(--navy-2); }
.side-links .icon { color: var(--on-navy-muted); }
.sidebar-foot { margin-top: auto; padding: 18px 6px 0; border-top: 1px solid var(--navy-3); font-size: .76rem; color: var(--on-navy-muted); }

.main { margin-left: var(--sidebar-w); min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 30; height: var(--topbar-h); display: flex; align-items: center; gap: 16px; padding: 0 var(--gutter); background: rgba(250, 251, 250, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.topbar-brand { display: none; }
.topbar-brand img { height: 28px; width: auto; }
.topnav { display: flex; gap: 4px; margin-right: auto; }
.topnav a { padding: 8px 12px; border-radius: var(--r-pill); text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--text); }
.topnav a:hover, .topnav a[aria-current="page"] { background: var(--ice-soft); }
.topbar-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang-switch { display: inline-flex; padding: 4px; border-radius: var(--r-pill); background: var(--white); border: 1px solid var(--border); }
.lang-switch a, .lang-switch span { min-width: 44px; min-height: 36px; display: grid; place-items: center; border-radius: var(--r-pill); font-family: var(--font-head); font-weight: 800; font-size: .8rem; text-decoration: none; color: var(--muted); }
.lang-switch [aria-current="true"] { background: var(--navy); color: var(--on-navy); }
.lang-switch a:hover { color: var(--navy); }
.menu-btn { display: none; }
.scrim { display: none; }

.page { padding: clamp(20px, 3vw, 36px) var(--gutter) 64px; max-width: calc(var(--content-max) + 2 * var(--gutter)); }

/* tablet & mobile: sidebar becomes a drawer */
@media (max-width: 1099px) {
  .sidebar { transform: translateX(-100%); transition: transform .25s ease; width: min(88vw, 320px); visibility: hidden; }
  .shell.nav-open .sidebar { transform: none; visibility: visible; }
  .scrim { display: block; position: fixed; inset: 0; background: rgba(11, 31, 68, .45); z-index: 35; opacity: 0; pointer-events: none; transition: opacity .2s; }
  .shell.nav-open .scrim { opacity: 1; pointer-events: auto; }
  .main { margin-left: 0; }
  .menu-btn { display: inline-grid; }
  .topbar-brand { display: block; }
  .topnav { display: none; }
}
@media (max-width: 480px) {
  .topbar { gap: 8px; }
  .topbar-actions .btn { display: none; }
  .topbar-brand img { height: 24px; }
}

/* ---------------------------------------------------------------- sections */
.section { margin-top: clamp(56px, 7vw, 96px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head p { margin: .6rem 0 0; color: var(--muted); max-width: 56ch; }
.panel { background: var(--ice-soft); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 48px); }

/* hero */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); background: var(--ice-soft); border-radius: var(--r-xl); overflow: hidden; min-height: 520px; }
.hero-copy { padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 1; }
.hero-copy h1 { margin-bottom: 1.2rem; }
.hero-lead { font-size: 1.12rem; color: var(--text); max-width: 46ch; }
.hero-sub { color: var(--muted); max-width: 50ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.hero-visual { position: relative; min-height: 100%; background: var(--navy); border-radius: 46% 0 0 46% / 60% 0 0 60%; overflow: hidden; }
.hero-visual img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-art { position: absolute; inset: 0; }
.hero-art .sun { position: absolute; left: 58%; bottom: 44%; width: 46%; aspect-ratio: 2 / 1; transform: translateX(-50%); background: var(--yellow); border-radius: 999px 999px 0 0; }
.hero-art .lines { position: absolute; left: 22%; right: 6%; top: 56%; display: grid; gap: 14px; }
.hero-art .lines span { height: 12px; background: var(--on-navy); border-radius: 1px; }
.hero-art .lines span:nth-child(2) { margin: 0 4% 0 3%; opacity: .85; }
.hero-art .lines span:nth-child(3) { margin: 0 8% 0 6%; opacity: .7; }
.hero-art .modules { position: absolute; left: 18%; right: 8%; bottom: 9%; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-art .modules span { padding: 6px 12px; border-radius: var(--r-pill); border: 1px solid var(--navy-3); color: var(--on-navy-muted); font-size: .78rem; font-family: var(--font-head); font-weight: 600; }
.hero-art .modules span.on { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
@media (max-width: 899px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-visual { min-height: 260px; border-radius: 50% 50% 0 0 / 22% 22% 0 0; order: -1; }
  .hero-art .sun { left: 50%; bottom: 46%; width: min(40%, 200px); }
  .hero-art .lines { left: max(18%, calc(50% - 150px)); right: max(18%, calc(50% - 150px)); top: 56%; gap: 10px; }
  .hero-art .lines span { height: 9px; }
  .hero-art .modules { left: 0; right: 0; bottom: 8%; justify-content: center; }
}

/* field cards */
.field-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 16px; }
.field-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--border); text-decoration: none; color: var(--text); transition: border-color .15s, box-shadow .15s, transform .15s; min-height: 190px; }
.field-card:hover { border-color: var(--navy); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.field-card .num { position: absolute; top: 18px; right: 18px; font-family: var(--font-head); font-weight: 800; font-size: .75rem; color: var(--muted); }
.field-card .ficon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--ice); color: var(--navy); }
.field-card .ficon .icon { width: 26px; height: 26px; }
.field-card h3 { font-size: 1.05rem; }
.field-card .subs { font-size: .82rem; color: var(--muted); margin: 0; }
.field-card .go { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; font-size: .84rem; color: var(--navy); }
.field-card:nth-child(4n+2) .ficon { background: #FFF1D3; }
.field-card:nth-child(4n+3) .ficon { background: var(--navy); color: var(--yellow); }
.field-card:nth-child(4n+4) .ficon { background: #E3EEF7; }

/* conference cards */
.conf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 18px; }
.conf-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-sm); }
.conf-card .top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.conf-card .field { font-family: var(--font-head); font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--amber-text); }
.conf-card h3 { margin-bottom: 14px; }
.conf-card h3 a { text-decoration: none; }
.conf-card h3 a:hover { text-decoration: underline; }
.facts { display: grid; gap: 8px; margin: 0 0 18px; }
.facts div { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: .88rem; }
.facts dt { color: var(--muted); padding-top: 2px; }
.facts dd { margin: 0; color: var(--text); }
.facts dd .lbl { display: block; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.facts .deadline dd { font-weight: 700; }
.facts .deadline dt { color: var(--amber-text); }
.conf-card .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 16px; border-top: 1px solid var(--border); }
.conf-card .fmt { display: flex; gap: 6px; flex-wrap: wrap; }

/* empty state */
.empty { display: grid; justify-items: center; text-align: center; gap: 10px; padding: clamp(32px, 6vw, 64px) 20px; border: 1.5px dashed var(--border); border-radius: var(--r-lg); background: var(--white); }
.empty .icon { width: 40px; height: 40px; color: var(--navy); }
.empty h3 { font-size: 1.2rem; }
.empty p { color: var(--muted); max-width: 52ch; margin: 0; }

/* location */
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.loc-card { border-radius: var(--r-lg); padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; min-height: 260px; }
.loc-card.tr { background: var(--white); border: 1px solid var(--border); }
.loc-card.intl { background: var(--navy); color: var(--on-navy); }
.loc-card.intl h3 { color: var(--on-navy); }
.loc-card.intl p { color: var(--on-navy-muted); }
.loc-card h3 { font-size: 1.5rem; }
.loc-card p { margin: 0; color: var(--muted); }
.loc-card form { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.loc-card label { width: 100%; font-size: .82rem; font-weight: 600; }
.select { appearance: none; min-height: 48px; padding: 0 44px 0 16px; border-radius: var(--r-pill); border: 1px solid var(--border); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230B1F44' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; color: var(--text); flex: 1; min-width: 0; }
.loc-card.intl .select { border-color: var(--navy-3); }
@media (max-width: 760px) { .loc-grid { grid-template-columns: 1fr; } }

/* modules */
.mod-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 18px; }
.mod-card { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--border); text-decoration: none; color: inherit; }
.mod-card:hover { border-color: var(--navy); }
.mod-card .micon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--yellow); }
.mod-card h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mod-card p { color: var(--muted); margin: 0; font-size: .92rem; }

/* prose pages */
.page-head { padding: clamp(28px, 5vw, 56px); border-radius: var(--r-xl); background: var(--ice-soft); margin-bottom: 40px; }
.page-head p { margin: 1rem 0 0; color: var(--muted); max-width: 60ch; font-size: 1.05rem; }
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.4rem; margin: 2.2rem 0 .8rem; }
.prose p, .prose li { color: var(--text-body); }
.prose ul { padding-left: 1.2em; }
.note { display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--border); border-left: 4px solid var(--yellow); color: var(--text); }

/* footer */
.footer { margin-top: 96px; background: var(--navy); color: var(--on-navy-muted); padding: 48px var(--gutter) 28px; position: relative; overflow: hidden; }
.footer::after { content: ""; position: absolute; right: -120px; top: -120px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(247, 183, 51, .22), transparent 70%); pointer-events: none; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(2, 1fr); gap: 32px; max-width: var(--content-max); position: relative; z-index: 1; }
.footer img.logo { height: 32px; width: auto; margin-bottom: 14px; }
.footer h2 { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-navy); margin-bottom: 14px; font-weight: 800; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: var(--on-navy); text-decoration: none; font-size: .92rem; }
.footer a:hover { text-decoration: underline; }
.footer p { font-size: .9rem; max-width: 40ch; }
.social { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--navy-3); color: var(--on-navy); }
.social a:hover { background: var(--navy-2); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--navy-3); font-size: .8rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
.loc-card .ficon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--ice); color: var(--navy); }
.loc-card.intl .ficon { background: var(--navy-2); color: var(--yellow); }
.loc-card .ficon .icon { width: 26px; height: 26px; }

/* mobile refinements */
.chip { white-space: nowrap; }
@media (max-width: 899px) { .hero-art .modules { padding: 0 16px; } }
@media (max-width: 599px) {
  .field-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .field-card { min-height: 0; padding: 16px 14px; gap: 10px; }
  .field-card .ficon { width: 42px; height: 42px; border-radius: 12px; }
  .field-card .ficon .icon { width: 22px; height: 22px; }
  .field-card h3 { font-size: .92rem; }
  .field-card .subs, .field-card .go { display: none; }
  .field-card .num { top: 14px; right: 14px; }
  .hero-art .modules { display: none; }
  .hero-visual { min-height: 220px; }
  .conf-card { padding: 18px; }
  .section-head .btn { width: 100%; }
}

.loc-grid > *, .conf-grid > *, .field-grid > * { min-width: 0; }
.select { width: 100%; max-width: 100%; text-overflow: ellipsis; }
.loc-card form .select { flex: 1 1 160px; }
.conf-card h3 { overflow-wrap: anywhere; }
.conf-card .foot { flex-wrap: wrap; }

/* ---------------------------------------------------------------- conference finder */
.finder { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: start; }
.filters { position: sticky; top: calc(var(--topbar-h) + 16px); max-height: calc(100vh - var(--topbar-h) - 32px); overflow-y: auto; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px; display: grid; gap: 22px; overscroll-behavior: contain; }
.filters-head { display: flex; align-items: center; justify-content: space-between; }
.filters-head h2 { font-size: 1.1rem; }
.filters-close, .filter-toggle, .filters-apply { display: none !important; }
.fgroup { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 10px; }
.flabel { font-family: var(--font-head); font-weight: 700; font-size: .86rem; color: var(--text); padding: 0; }
.flabel.small { font-size: .78rem; font-weight: 600; color: var(--muted); display: grid; gap: 6px; }
.input { width: 100%; min-height: 44px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid var(--border); background: var(--white); color: var(--text); }
.input:focus, .select:focus { border-color: var(--navy); }
.filters .select { border-radius: var(--r-sm); min-height: 44px; }
.search-box { position: relative; }
.search-box .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 18px; height: 18px; }
.search-box input { width: 100%; min-height: 46px; padding: 0 12px 0 40px; border-radius: var(--r-pill); border: 1px solid var(--border); background: var(--ice-soft); }
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--ice-soft); border-radius: var(--r-pill); padding: 4px; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmented span { display: grid; place-items: center; min-height: 38px; border-radius: var(--r-pill); font-family: var(--font-head); font-weight: 700; font-size: .8rem; color: var(--muted); text-align: center; padding: 0 4px; }
.segmented input:checked + span { background: var(--navy); color: var(--on-navy); }
.segmented input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 1px; }
.sub-filter { display: grid; gap: 8px; }
.sub-filter[hidden] { display: none; }
.checks { display: grid; gap: 2px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 36px; font-size: .9rem; cursor: pointer; color: var(--text-body); }
.check input { width: 18px; height: 18px; accent-color: var(--navy); flex: none; margin: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.filters-foot { display: grid; gap: 10px; position: sticky; bottom: -20px; background: var(--white); padding: 12px 0 4px; margin-top: -10px; }
.count-pill { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--yellow); color: var(--navy); font-size: .75rem; }
.results-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.results-count { margin: 0; font-family: var(--font-head); font-weight: 700; color: var(--text); }
.sort { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--muted); }
.sort .select { min-height: 40px; width: auto; }
.results .conf-grid { grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr)); }
.conf-card[hidden] { display: none; }
.more-wrap { display: grid; place-items: center; margin-top: 24px; }

@media (max-width: 899px) {
  .finder { grid-template-columns: 1fr; }
  .filter-toggle { display: inline-flex !important; justify-self: start; }
  .filters { position: fixed; inset: auto 0 0 0; top: auto; max-height: 88vh; z-index: 50; border-radius: var(--r-xl) var(--r-xl) 0 0; box-shadow: 0 -12px 40px rgba(11, 31, 68, .25); transform: translateY(105%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
  .finder.filters-open .filters { transform: none; visibility: visible; }
  .filters-close, .filters-apply { display: inline-flex !important; }
  .filters-foot { grid-template-columns: 1fr 1fr; }
  .filters-foot .btn { padding: 0 .8em; font-size: .85rem; white-space: normal; text-align: center; line-height: 1.2; }
}

/* ---------------------------------------------------------------- conference detail */
.back-link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; font-size: .9rem; text-decoration: none; color: var(--navy); margin-bottom: 18px; }
.back-link:hover { text-decoration: underline; }
.detail-head { background: var(--ice-soft); border-radius: var(--r-xl); padding: clamp(24px, 4.5vw, 52px); margin-bottom: 28px; }
.detail-head .badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.detail-head h1 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); overflow-wrap: anywhere; }
.detail-head .org { margin: 14px 0 0; color: var(--muted); font-size: 1.02rem; }
.detail-head .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.info-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 28px); }
.info-card h2 { font-size: 1.1rem; margin-bottom: 16px; }
.info-list { display: grid; margin: 0; }
.info-list > div { display: grid; grid-template-columns: 24px minmax(120px, 200px) minmax(0, 1fr); gap: 12px; padding: 13px 0; border-top: 1px solid var(--border); align-items: start; }
.info-list > div:first-child { border-top: 0; }
.info-list dt { display: contents; }
.info-list dt .icon { color: var(--muted); margin-top: 2px; }
.info-list dt span { font-size: .86rem; color: var(--muted); font-weight: 600; }
.info-list dd { margin: 0; color: var(--text); font-weight: 500; overflow-wrap: anywhere; }
.info-list .is-deadline dd { font-weight: 800; }
.info-list .is-deadline .icon { color: var(--amber-text); }
.unknown { color: var(--muted) !important; font-weight: 400 !important; font-style: italic; }
.side-stack { display: grid; gap: 16px; }
.meta-list { display: grid; gap: 12px; margin: 0; font-size: .9rem; }
.meta-list dt { color: var(--muted); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.meta-list dd { margin: 2px 0 0; color: var(--text); overflow-wrap: anywhere; }
.demo-banner { display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: var(--r-md); background: #FEE4E2; color: #7A271A; margin-bottom: 20px; font-weight: 600; }
@media (max-width: 899px) {
  .detail-grid { grid-template-columns: 1fr; }
  .info-list > div { grid-template-columns: 24px minmax(0, 1fr); }
  .info-list dd { grid-column: 2; }
}
@media (max-width: 899px) { .finder.filters-open::before { content: ""; position: fixed; inset: 0; background: rgba(11, 31, 68, .45); z-index: 45; } }

/* always-visible search bar above the finder */
.finder-search { margin-bottom: 20px; }
.search-box.big input { min-height: 58px; font-size: 1.05rem; padding-left: 50px; background: var(--white); border: 1.5px solid var(--border); box-shadow: var(--shadow-sm); }
.search-box.big input:focus { border-color: var(--navy); }
.search-box.big .icon { left: 18px; width: 22px; height: 22px; color: var(--navy); }
