/* ==========================================================================
   ICOET 2027 — International Conference on Emerging Technologies
   Palette derived from the PSAU logo gradient (#447975 → #75c6bb)
   and the conference emblem teal (#5fb5b2).
   ========================================================================== */

/* ── fonts ─────────────────────────────────────────────────────────────
   Served with the site from assets/fonts (SIL Open Font License 1.1; licence texts in that folder),
   Latin subset, only the weights the page uses. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/space-grotesk-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/space-grotesk-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/jetbrains-mono-latin-700-normal.woff2") format("woff2"); }

:root {
  /* brand ramp */
  --ink-900: #071918;
  --ink-800: #0b211f;
  --ink-700: #102e2b;
  --ink-600: #16403c;
  --brand-700: #1f5b56;
  --brand-600: #2a7770;
  --brand-500: #35908a;
  --brand-400: #5fb5b2;
  --brand-300: #85cec7;
  --brand-200: #b6e4de;
  --brand-100: #dbf0ec;
  --brand-50:  #f1f9f7;

  /* surfaces & text */
  --paper: #ffffff;
  --surface: #f7faf9;
  --band: #ecf5f2;
  --text: #12312e;
  --text-2: #3d5b58;
  --text-3: #596e6c;
  --line: rgba(16, 46, 43, .11);
  --line-strong: rgba(16, 46, 43, .2);

  /* type */
  --f-display: "Space Grotesk", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* rhythm */
  --wrap: 75rem;
  --gut: clamp(20px, 5vw, 48px);
  --sec-y: clamp(72px, 9vw, 128px);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(11, 33, 31, .06), 0 4px 14px rgba(11, 33, 31, .05);
  --shadow-md: 0 2px 6px rgba(11, 33, 31, .07), 0 18px 44px rgba(11, 33, 31, .09);
  --shadow-lg: 0 30px 80px rgba(7, 25, 24, .18);

  --nav-h: 76px;
}

/* ── reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.12; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 3px; border-radius: 4px; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 999;
  background: var(--ink-800); color: #fff; padding: 10px 18px; border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-weight: 600; transition: top .18s ease;
}
.skip-link:focus { top: 0; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ── reveal ────────────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.22,.7,.3,1), transform .7s cubic-bezier(.22,.7,.3,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ── buttons ───────────────────────────────────────────────────────────── */
.btn {
  --btn-bg: var(--brand-600);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: 14px 26px; border-radius: 999px;
  font-family: var(--f-display); font-weight: 600; font-size: .97rem; letter-spacing: -.005em;
  white-space: nowrap; cursor: pointer;
  transition: transform .2s cubic-bezier(.22,.7,.3,1), box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn--sm { padding: 10px 20px; font-size: .9rem; }
.btn--primary { background: var(--btn-bg); color: #fff; box-shadow: 0 1px 2px rgba(7,25,24,.2), 0 10px 26px rgba(31,91,86,.28); }
.btn--primary:hover { background: var(--brand-500); transform: translateY(-2px); box-shadow: 0 2px 4px rgba(7,25,24,.2), 0 16px 34px rgba(31,91,86,.34); }
.btn--ghost { border: 1.5px solid rgba(255,255,255,.34); color: #fff; }
.btn--ghost:hover { border-color: var(--brand-300); background: rgba(133,206,199,.12); transform: translateY(-2px); }
/* submit actions (header and Paper Submission): a deeper teal gradient with a soft glow */
.btn--submit {
  background: linear-gradient(135deg, var(--brand-500) 0%, var(--brand-700) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(7,25,24,.18), 0 8px 22px rgba(42,119,112,.42);
}
.btn--submit:hover {
  background: linear-gradient(135deg, #3fa49d 0%, var(--brand-600) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.24), 0 2px 4px rgba(7,25,24,.2), 0 14px 32px rgba(42,119,112,.5);
}
.btn__icon { width: 17px; height: 17px; flex: none; }
.btn__go { width: 16px; height: 16px; flex: none; transition: transform .2s cubic-bezier(.22,.7,.3,1); }
.btn--submit:hover .btn__go { transform: translate(2px, -2px); }

/* ── nav ───────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.nav.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(11,33,31,.06); }
.nav__inner { display: flex; align-items: center; gap: 24px; min-height: var(--nav-h); }

.brand { display: flex; align-items: center; gap: 12px; flex: none; min-height: 44px; }
.brand__mark { width: 38px; height: auto; }
.brand__text { display: flex; flex-direction: column; gap: 3px; line-height: 1.05; }
.brand__text strong { font-family: var(--f-display); font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; }
.brand__text small { font-size: .72rem; color: var(--text-3); letter-spacing: .07em; text-transform: uppercase; }
/* phones: if space runs out (very narrow screens with enlarged text), the lockup's text wraps
   before the menu button gives way */
@media (max-width: 58.75em) { .brand { flex: 0 1 auto; min-width: 0; } }
/* the narrowest phones: a slightly smaller lockup keeps the menu button on the row */
@media (max-width: 21.875em) {
  .brand { gap: 10px; }
  .brand__mark { width: 34px; }
  .brand__text strong { font-size: 1.14rem; }
  .brand__text small { font-size: .68rem; }
}

.nav__links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav__links a {
  position: relative; padding: 8px 12px; border-radius: 999px;
  font-size: .9rem; font-weight: 500; color: var(--text-2);
  transition: color .18s ease, background-color .18s ease;
}
.nav__links a:hover { color: var(--text); background: var(--brand-50); }
.nav__links a.is-active { color: var(--brand-700); background: var(--brand-100); }
.nav__cta { flex: none; position: relative; overflow: hidden; isolation: isolate; }
/* a light sweeps across the header button three times after the page loads, never with reduced motion */
.nav__cta::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 32%, rgba(255,255,255,.42) 50%, transparent 68%);
  transform: translateX(-130%);
  animation: ctaSheen 6s cubic-bezier(.4,0,.2,1) 1.2s 3;
}
@keyframes ctaSheen { 0%, 70% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
@media (prefers-reduced-motion: reduce) { .nav__cta::after { animation: none; } }

.nav__toggle { display: none; flex: none; width: 44px; height: 44px; margin-left: auto; border-radius: var(--r-sm); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav__toggle span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s ease, opacity .2s 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); }

@media (max-width: 67.5em) {
  .nav__links { gap: 0; }
  .nav__links a { padding: 8px 10px; font-size: .86rem; }
}
@media (max-width: 58.75em) {
  .nav__toggle { display: flex; }
  .nav__cta { display: none; }
  .nav__links {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px var(--gut) 22px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform-origin: top;
    display: none;
    /* never taller than the screen below the header, which stays pinned to the top;
       scrolls on short or landscape screens */
    max-height: calc(100vh - var(--nav-h)); max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto; overscroll-behavior: contain;
  }
  .nav__links.is-open { display: flex; animation: dropIn .22s cubic-bezier(.22,.7,.3,1); }
  .nav__links a { padding: 13px 14px; font-size: 1rem; border-radius: var(--r-sm); }
}
@keyframes dropIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
/* With eight section links, the links and the CTA share one line only from 75em (1200px at the
   default text size; breakpoints are in em so they follow the reader's text size). Below that the CTA steps aside; #submission stays linked from the Call for Papers
   section and the footer. */
@media (max-width: 75em) { .nav__cta { display: none; } }
/* The header CTA is hidden below 1200px, so the mobile menu carries its own submit link. */
.nav__menu-cta { display: none; }
@media (max-width: 58.75em) {
  .nav__links .nav__menu-cta {
    display: block; margin-top: 10px; text-align: center;
    background: linear-gradient(135deg, var(--brand-500), var(--brand-700)); color: #fff;
    font-family: var(--f-display); font-weight: 600; box-shadow: 0 6px 18px rgba(42,119,112,.3);
  }
  .nav__links .nav__menu-cta:hover,
  .nav__links .nav__menu-cta.is-active { background: linear-gradient(135deg, var(--brand-600), var(--brand-700)); color: #fff; }
}

/* ══ HERO ═══════════════════════════════════════════════════════════════ */
.hero { position: relative; background: var(--ink-800); color: #eaf6f4; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 78% 12%, rgba(53,144,138,.34), transparent 60%),
    radial-gradient(90% 70% at 8% 92%, rgba(31,91,86,.42), transparent 62%),
    linear-gradient(180deg, rgba(7,25,24,.1), rgba(7,25,24,.72));
}
.hero__traces { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.hero__traces .nodes circle { opacity: .55; }
.hero__traces .pulses path {
  stroke-dasharray: 90 1900;
  stroke-dashoffset: 1990;
  opacity: .8;
  animation: pulse 9s linear infinite;
}
.hero__traces .pulses path:nth-child(2) { animation-duration: 12s; animation-delay: 2.5s; }
.hero__traces .pulses path:nth-child(3) { animation-duration: 10s; animation-delay: 5s; }
@keyframes pulse { to { stroke-dashoffset: -90; } }

.hero__glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.hero__glow--a { width: 520px; height: 520px; right: -120px; top: -160px; background: rgba(95,181,178,.32); }
.hero__glow--b { width: 460px; height: 460px; left: -140px; bottom: -180px; background: rgba(42,119,112,.4); }

@media (prefers-reduced-motion: reduce) {
  .hero__traces .pulses path { animation: none; stroke-dasharray: none; opacity: .25; }
}

.hero__inner {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr);
  gap: clamp(32px, 6vw, 72px); align-items: center;
  padding-block: clamp(64px, 9vw, 108px) clamp(56px, 7vw, 88px);
}

.hero__eyebrow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.pill {
  display: inline-block; padding: 7px 16px; border-radius: 999px;
  background: rgba(133,206,199,.14); border: 1px solid rgba(133,206,199,.34);
  font-family: var(--f-mono); font-size: .78rem; font-weight: 700; letter-spacing: .06em;
  color: var(--brand-300); text-transform: uppercase;
}
.hero__eyebrow-text { font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(219,240,236,.8); }
a.hero__eyebrow-text { padding-block: 10px; margin-block: -10px; transition: color .2s ease; }
a.hero__eyebrow-text:hover { color: var(--brand-300); }

.hero__title { display: flex; flex-direction: column; gap: 6px; }
.hero__title-sup {
  font-family: var(--f-body); font-size: clamp(.94rem, 1.5vw, 1.12rem); font-weight: 500;
  letter-spacing: .02em; color: rgba(219,240,236,.76);
}
.hero__title-main {
  font-size: clamp(2.9rem, 7.6vw, 5.4rem); font-weight: 700; letter-spacing: -.035em;
  line-height: .98; color: #fff;
  background: linear-gradient(96deg, #ffffff 18%, var(--brand-300) 78%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero__title-sub {
  margin-top: 12px;
  font-family: var(--f-mono); font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 700;
  letter-spacing: .3em; color: var(--brand-400);
}

.hero__tagline { margin-top: 28px; }
.hero__tagline-lead {
  display: block; margin-bottom: 7px;
  font-family: var(--f-mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: rgba(219,240,236,.72);
}
.hero__tagline-terms { display: block; font-size: clamp(1rem, 1.6vw, 1.14rem); color: rgba(219,240,236,.9); }
.hero__tagline b { font-weight: 600; color: #fff; }
.hero__tagline i { font-style: normal; color: var(--brand-400); padding-inline: 5px; }
/* Real whitespace around the separators keeps the break opportunities; nowrap
   holds each term together only where the line has room for it. */
@media (min-width: 33.75em) { .hero__tagline b { white-space: nowrap; } }

.hero__host { margin-top: 16px; font-size: .95rem; line-height: 1.6; color: rgba(219,240,236,.76); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* countdown panel */
.hero__panel {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 26px;
  padding: 34px 30px 30px;
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, rgba(133,206,199,.13), rgba(11,33,31,.34));
  border: 1px solid rgba(133,206,199,.22);
  box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hero__emblem { width: clamp(110px, 14vw, 152px); height: auto; filter: drop-shadow(0 12px 30px rgba(95,181,178,.32)); }

.countdown { width: 100%; text-align: center; }
.countdown__label { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(219,240,236,.62); margin-bottom: 16px; }
.countdown__label span { display: block; margin-top: 3px; color: var(--brand-300); font-weight: 600; }
.countdown__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cd {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 12px 4px; border-radius: var(--r-md);
  background: rgba(7,25,24,.36); border: 1px solid rgba(133,206,199,.14);
}
.cd__num {
  font-family: var(--f-mono); font-size: clamp(1.15rem, 2.4vw, 1.6rem); font-weight: 700;
  color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -.02em;
}
.cd__unit { font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(219,240,236,.62); }
.countdown__date { margin-top: 14px; font-family: var(--f-mono); font-size: .8rem; letter-spacing: .05em; color: var(--brand-300); }

@media (max-width: 56.25em) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__panel { width: 100%; max-width: 480px; }
}

@media (max-width: 26.875em) {
  .hero__panel { padding: 26px 18px 22px; }
  .countdown__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* facts strip */
.hero__strip { border-top: 1px solid rgba(133,206,199,.16); background: rgba(7,25,24,.42); }
.hero__strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-block: 26px; }
.fact { display: flex; flex-direction: column; gap: 3px; text-align: center; }
.fact__n { font-family: var(--f-display); font-size: clamp(1.3rem, 2.6vw, 1.85rem); font-weight: 700; color: var(--brand-300); letter-spacing: -.02em; }
.fact__l { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(219,240,236,.55); }
@media (max-width: 40em) { .hero__strip-inner { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; } }

/* ══ SECTIONS ═══════════════════════════════════════════════════════════ */
.section { padding-block: var(--sec-y); }
.section--tint { background: var(--band); border-block: 1px solid var(--line-strong); }
.section--dark { background: var(--ink-700); color: #eaf6f4; }
.section--dark .section__intro { color: rgba(219,240,236,.72); }

.section__head { max-width: 760px; margin-bottom: clamp(38px, 5vw, 60px); }
.kicker {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px;
  font-family: var(--f-mono); font-size: .86rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: var(--brand-600);
}
.kicker::before { content: ""; width: 36px; height: 2px; background: var(--brand-400); border-radius: 2px; }
.section--dark .kicker, .kicker--light { color: var(--brand-300); }
.section__title { font-size: clamp(1.75rem, 3.7vw, 2.7rem); letter-spacing: -.03em; }
.section__intro { margin-top: 18px; font-size: clamp(1rem, 1.5vw, 1.1rem); color: var(--text-2); max-width: 68ch; }

/* ── about ─────────────────────────────────────────────────────────────── */
.about { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.about__prose p + p { margin-top: 20px; }
.about__prose .lead { font-size: clamp(1.08rem, 1.9vw, 1.3rem); line-height: 1.55; color: var(--text); font-weight: 400; letter-spacing: -.01em; }
.about__prose p { color: var(--text-2); }

.about__facts { border-top: 1px solid var(--line); }
.about__facts li { display: grid; grid-template-columns: 96px 1fr; gap: 18px; padding-block: 18px; border-bottom: 1px solid var(--line); align-items: baseline; }
.about__k { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.about__v { font-size: .96rem; font-weight: 500; color: var(--text); line-height: 1.5; }
/* proceedings: publisher and indexing marks with the eligibility rule */
.about__proc { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.about__logos { --logo-h: clamp(52px, 5.6vw, 80px); display: flex; flex-wrap: wrap; align-items: flex-start; gap: 22px clamp(28px, 4vw, 60px); }
.about__logo { display: grid; grid-template-rows: auto var(--logo-h); align-items: end; row-gap: 14px; }
a.about__logo { transition: opacity .18s ease; }
a.about__logo:hover { opacity: .78; }
.about__logo-k { font-family: var(--f-mono); font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.about__logo-img { width: auto; max-width: none; }
/* Equal cap heights; the offsets cancel each file's transparent margin and align the two baselines. */
.about__logo-img--springer { height: var(--logo-h); margin-left: calc(var(--logo-h) * -.16); }
.about__logo-img--scopus { height: calc(var(--logo-h) * .75); margin-left: calc(var(--logo-h) * -.045); margin-bottom: calc(var(--logo-h) * .07); }
.about__prose .about__elig { margin-top: 20px; font-size: .92rem; line-height: 1.6; }
.about__elig strong { font-weight: 600; color: var(--text); }
@media (max-width: 53.75em) { .about { grid-template-columns: minmax(0, 1fr); } }

/* ── call for papers ───────────────────────────────────────────────────── */
.cfp { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(30px, 5vw, 72px); align-items: start; }
.cfp__head { margin-bottom: 0; position: sticky; top: calc(var(--nav-h) + 40px); }

.cfp__list { border-top: 1px solid var(--line); }
.cfp__list li {
  position: relative;
  display: grid; grid-template-columns: 46px 1fr; align-items: baseline; gap: 8px;
  padding: 19px 16px 19px 4px; border-bottom: 1px solid var(--line);
  transition: padding-left .26s cubic-bezier(.22,.7,.3,1), background-color .26s ease;
}
.cfp__list li::before {
  content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px;
  background: linear-gradient(180deg, var(--brand-400), var(--brand-600));
  border-radius: 2px; opacity: 0; transition: opacity .26s ease;
}
.cfp__list li:hover { padding-left: 16px; background: linear-gradient(90deg, var(--brand-50), transparent 70%); }
.cfp__list li:hover::before { opacity: 1; }
.cfp__n { font-family: var(--f-mono); font-size: .76rem; font-weight: 700; letter-spacing: .08em; color: var(--brand-600); }
.cfp__list li:hover .cfp__n { color: var(--brand-700); }
.cfp__t { font-family: var(--f-display); font-size: clamp(1rem, 1.5vw, 1.1rem); font-weight: 600; letter-spacing: -.018em; line-height: 1.35; color: var(--text); }

@media (max-width: 56.25em) {
  .cfp { grid-template-columns: minmax(0, 1fr); }
  .cfp__head { position: static; margin-bottom: 8px; }
}

.callout {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  margin-top: clamp(38px, 5vw, 58px); padding: 26px 30px;
  background: linear-gradient(120deg, var(--brand-100), var(--brand-50));
  border: 1px solid var(--brand-200); border-radius: var(--r-lg);
}
.callout__icon { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-600); color: #fff; }
.callout__icon svg { width: 19px; height: 19px; }
.callout p { flex: 1 1 320px; font-size: .98rem; color: var(--text-2); }
.callout strong { color: var(--text); }

/* ── topics ────────────────────────────────────────────────────────────── */
.topics__search {
  position: relative; display: flex; align-items: center; gap: 12px;
  max-width: 640px; padding: 4px 6px 4px 18px;
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.topics__search:focus-within { border-color: var(--brand-500); box-shadow: 0 0 0 4px rgba(95,181,178,.16); }
.topics__search svg { width: 19px; height: 19px; flex: none; color: var(--text-3); }
.topics__search input {
  flex: 1; min-width: 0; padding: 13px 0; border: 0; background: none; outline: none;
  font-family: var(--f-body); font-size: 1rem; color: var(--text);
}
.topics__search input::placeholder { color: var(--text-3); }
.topics__search input::-webkit-search-cancel-button { display: none; }
.topics__clear {
  flex: none; width: 34px; height: 34px; border-radius: 50%; font-size: 1.3rem; line-height: 1;
  color: var(--text-3); display: grid; place-items: center; transition: background-color .18s ease, color .18s ease;
}
.topics__clear:hover { background: var(--brand-50); color: var(--text); }
.topics__result { min-height: 22px; margin-top: 14px; font-size: .86rem; color: var(--text-3); }
.topics__result b { color: var(--brand-700); font-weight: 600; }

.topics__layout { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: 22px; align-items: start; }

.tracks { display: flex; flex-direction: column; gap: 6px; }
.track {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  padding: 16px 18px; text-align: left; border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.track:hover { background: var(--brand-50); }
.track[aria-selected="true"] { background: var(--paper); border-color: var(--brand-200); box-shadow: var(--shadow-sm); }
.track__n { font-family: var(--f-mono); font-size: .74rem; font-weight: 700; color: var(--brand-600); letter-spacing: .06em; }
.track[aria-selected="true"] .track__n { color: var(--brand-700); }
.track__name { font-family: var(--f-display); font-size: .93rem; font-weight: 600; line-height: 1.32; letter-spacing: -.01em; color: var(--text-2); }
.track[aria-selected="true"] .track__name { color: var(--text); }
.track__count {
  min-width: 26px; padding: 3px 8px; border-radius: 999px; text-align: center;
  font-family: var(--f-mono); font-size: .68rem; font-weight: 700;
  background: var(--brand-100); color: var(--brand-700);
}
.track.is-empty { opacity: .38; }
.track.is-hit .track__count { background: var(--brand-600); color: #fff; }

.panel {
  padding: clamp(24px, 3vw, 34px);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  animation: fadeIn .3s ease;
}
@media (prefers-reduced-motion: reduce) { .panel { animation: none; } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.panel__title { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; font-size: clamp(1.2rem, 2.2vw, 1.55rem); letter-spacing: -.025em; }
.panel__title span { font-family: var(--f-mono); font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--brand-600); }

.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chips li {
  padding: 9px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: .9rem; color: var(--text-2);
  transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease;
}
.chips li:hover { border-color: var(--brand-300); color: var(--text); transform: translateY(-1px); }
.chips li.is-hit { background: var(--brand-600); border-color: var(--brand-600); color: #fff; font-weight: 500; }
.chips li.is-dim { opacity: .3; }

@media (max-width: 56.25em) {
  .topics__layout { grid-template-columns: minmax(0, 1fr); }
  .tracks { flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 8px; scrollbar-width: thin; }
  .track { flex: 0 0 auto; width: 250px; background: var(--paper); border-color: var(--line); }
  .track[aria-selected="true"] { border-color: var(--brand-500); }
}

/* ── peer review ───────────────────────────────────────────────────────── */
.review {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr);
  gap: clamp(28px, 5vw, 72px); align-items: end; margin-bottom: clamp(40px, 5vw, 60px);
}
.review__head { margin-bottom: 0; }
.review__facts { border-top: 1px solid rgba(133,206,199,.18); }
.review__facts li { display: flex; flex-direction: column; gap: 3px; padding-block: 16px; border-bottom: 1px solid rgba(133,206,199,.18); }
.review__fact-n { font-family: var(--f-display); font-size: 1.18rem; font-weight: 700; letter-spacing: -.015em; color: var(--brand-300); }
.review__fact-l { font-size: .88rem; line-height: 1.45; color: rgba(219,240,236,.68); }

.criteria__title {
  margin-bottom: 18px;
  font-family: var(--f-mono); font-size: .72rem; font-weight: 700; letter-spacing: .18em; line-height: 1.4;
  text-transform: uppercase; color: rgba(219,240,236,.62);
}
.criteria { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: rgba(133,206,199,.14); border: 1px solid rgba(133,206,199,.14); border-radius: var(--r-md); overflow: hidden; }
.criterion {
  display: flex; align-items: center; gap: 16px; padding: 24px 22px;
  background: var(--ink-700);
  transition: background-color .25s ease;
}
.criterion:hover { background: var(--ink-600); }
.criterion__n {
  flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(133,206,199,.34);
  font-family: var(--f-mono); font-size: .82rem; font-weight: 700; color: var(--brand-300);
}
.criterion span:last-child { font-size: .97rem; font-weight: 500; line-height: 1.4; }
@media (max-width: 56.25em) {
  .review { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .criteria { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 35em) { .criteria { grid-template-columns: minmax(0, 1fr); } }

/* ── external links: manuscript steps and CMT guides ─────────────────────── */
.prep__link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .92rem; font-weight: 600; color: var(--brand-700);
  text-decoration: underline; text-decoration-color: var(--brand-300);
  text-decoration-thickness: 1.5px; text-underline-offset: 4px;
  transition: color .18s ease, text-decoration-color .18s ease;
}
.prep__link:hover { color: var(--brand-600); text-decoration-color: currentColor; }
.prep__link svg { width: 15px; height: 15px; flex: none; }

/* ── timeline ──────────────────────────────────────────────────────────── */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 14px; bottom: 14px; width: 2px; background: linear-gradient(180deg, var(--brand-200), var(--brand-100)); border-radius: 2px; }

.tl {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding: 22px 26px; margin-bottom: 12px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition: transform .25s cubic-bezier(.22,.7,.3,1), box-shadow .25s ease, border-color .25s ease;
}
.tl:hover { transform: translateX(3px); box-shadow: var(--shadow-md); }
.tl__dot {
  position: absolute; left: -34px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--brand-200);
  transition: border-color .25s ease, background-color .25s ease, box-shadow .25s ease;
}
.tl__date { font-family: var(--f-mono); font-size: .8rem; font-weight: 700; letter-spacing: .04em; color: var(--brand-600); margin-bottom: 5px; }
.tl__name { font-size: 1.12rem; letter-spacing: -.02em; }
.tl__when {
  margin-left: auto; padding-right: 6px;
  font-family: var(--f-mono); font-size: .74rem; letter-spacing: .03em; color: var(--text-3);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.tl.is-next .tl__when { color: var(--brand-600); font-weight: 700; }
.tl__status {
  font-family: var(--f-mono); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; white-space: nowrap;
  background: var(--brand-50); color: var(--text-3); border: 1px solid var(--line);
}

.tl.is-past { opacity: .58; }
.tl.is-past .tl__dot { background: var(--brand-300); border-color: var(--brand-300); }
.tl.is-past .tl__status { background: var(--brand-100); color: var(--brand-700); border-color: transparent; }

.tl.is-next { border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(95,181,178,.16), var(--shadow-md); }
.tl.is-next .tl__dot { background: var(--brand-600); border-color: var(--brand-600); box-shadow: 0 0 0 5px rgba(95,181,178,.2); }
.tl.is-next .tl__status { background: var(--brand-600); color: #fff; border-color: transparent; }
.tl.is-next .tl__name { color: var(--brand-700); }

.tl--final { background: linear-gradient(120deg, var(--brand-100), var(--brand-50)); border-color: var(--brand-200); }
.tl--final .tl__date { color: var(--brand-700); }
@media (max-width: 38.75em) {
  .tl { padding: 20px; }
  .tl__status { order: -1; }
  .tl__when { margin-left: 0; width: 100%; }
}

/* ── submission ────────────────────────────────────────────────────────── */
.submission {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr);
  gap: clamp(28px, 5vw, 56px); align-items: center;
  padding: clamp(34px, 5vw, 56px);
  border-radius: var(--r-lg); border: 1px solid var(--line);
  background:
    radial-gradient(120% 130% at 100% 0%, rgba(133,206,199,.2), transparent 58%),
    var(--surface);
}
.submission__guides { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 14px; }
.submission__guides .prep__link { font-size: .9rem; }
.submission__meta { border-top: 1px solid var(--line); }
.submission__meta li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-block: 15px; border-bottom: 1px solid var(--line); }
.submission__meta span { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.submission__meta strong { font-family: var(--f-display); font-size: .96rem; font-weight: 600; text-align: right; }

/* the CMT button, followed by the account and submission guides */
.submission__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 28px; }
.submission__actions .submission__guides { margin-top: 0; }
.btn--cmt { padding: 15px 26px 15px 24px; font-size: 1.02rem; }
/* a button label may wrap rather than run past a very narrow screen */
@media (max-width: 26.875em) { .btn { max-width: 100%; white-space: normal; text-align: center; } }

/* manuscript preparation: template, page limits, anonymity (full width of the card) */
.prep { grid-column: 1 / -1; padding-top: 30px; border-top: 1px solid var(--line); }
.prep__title { margin-bottom: 18px; font-size: clamp(1.15rem, 2vw, 1.4rem); letter-spacing: -.02em; }
.prep__steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.prep__step {
  display: flex; flex-direction: column; gap: 10px;
  padding: 22px 22px 24px; border-radius: var(--r-md);
  background: var(--paper); border: 1px solid var(--line);
}
.prep__icon {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: var(--brand-50); border: 1px solid var(--brand-100); color: var(--brand-600);
}
.prep__icon svg { width: 22px; height: 22px; }
.prep__name { font-size: 1.04rem; line-height: 1.3; letter-spacing: -.015em; }
.prep__step p { font-size: .9rem; line-height: 1.6; color: var(--text-2); }
.prep__step code {
  padding: 1px 5px; border-radius: 4px; background: var(--brand-50); border: 1px solid var(--line);
  font-family: var(--f-mono); font-size: .84em; color: var(--brand-700);
}
.prep__links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: auto; padding-top: 6px; }
/* inline content, so a label that wraps keeps its arrow beside the last word */
.prep__step .prep__link { display: block; font-size: .88rem; }
.prep__step .prep__link svg { display: inline-block; margin-left: 4px; vertical-align: -2px; }
.prep__link-end { white-space: nowrap; }
@media (max-width: 43.75em) { .prep__steps { grid-template-columns: minmax(0, 1fr); } }

/* Microsoft's required acknowledgment, spanning the full width of the card */
.cmt-ack {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start;
  padding-top: 26px; border-top: 1px solid var(--line);
}
.cmt-ack__label {
  padding: 5px 12px; border-radius: 999px; background: var(--brand-100); white-space: nowrap;
  font-family: var(--f-mono); font-size: .66rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand-700);
}
.cmt-ack p:last-child { max-width: 86ch; font-size: .9rem; line-height: 1.6; color: var(--text-2); }

@media (max-width: 53.75em) { .submission { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 38.75em) {
  .cmt-ack { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .cmt-ack__label { justify-self: start; }
}
@media (max-width: 28.75em) {
  .submission__meta li { flex-direction: column; align-items: flex-start; gap: 4px; }
  .submission__meta strong { text-align: left; }
}

/* ── registration fees ─────────────────────────────────────────────────── */
.fees__head .section__title { text-wrap: balance; }
.fees { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(20px, 3vw, 32px); align-items: start; }
/* desktops: the fee table and its notes on the left, the page allowance beside them */
@media (min-width: 64.0625em) {
  .fees { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); grid-template-rows: auto 1fr; }
  .pages { grid-column: 2; grid-row: 1 / span 2; }
}

/* the two cards: the registration fee and the page allowance */
.fees__card, .pages {
  display: flex; flex-direction: column;
  padding: clamp(24px, 3vw, 36px);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.pages__title { font-size: clamp(1.2rem, 2.1vw, 1.45rem); letter-spacing: -.025em; }

/* registration fee table (after fees-v2): coloured header cells, one row per category */
.fees__card { padding: 0; overflow: hidden; }
.fees__table { width: 100%; border-collapse: collapse; table-layout: fixed; font-variant-numeric: tabular-nums; }
.fees__col-cat { width: 32%; }
.fees__table th, .fees__table td { padding: clamp(16px, 1.8vw, 22px) clamp(12px, 1.5vw, 18px); font-weight: inherit; vertical-align: middle; }
.fees__table .fees__h { padding-block: 22px 20px; text-align: center; vertical-align: top; border-bottom: 4px solid var(--paper); }
.fees__table .fees__h--cat { vertical-align: middle; }
.fees__h-mark { position: relative; display: grid; place-items: center; height: 44px; margin: 0 auto 10px; }
.fees__h-mark svg { width: 32px; height: 32px; }
/* Local: a silhouette of Saudi Arabia (Natural Earth, public domain) carrying the national emblem */
.fees__h-mark .fees__map { width: auto; height: 44px; fill: #e0c896; }
.fees__emblem { position: absolute; inset: 0; width: auto; height: 26px; margin: auto; }
.fees__h-title { display: block; font-family: var(--f-display); font-size: clamp(1rem, 1.35vw, 1.12rem); font-weight: 700; line-height: 1.25; letter-spacing: -.015em; text-wrap: balance; }
.fees__h-line { display: block; }
.fees__h-sub { display: block; margin-top: 6px; font-size: .84rem; line-height: 1.4; color: var(--text-2); text-wrap: balance; }
.fees__h-sub b { font-weight: 600; color: var(--text); }
.fees__h--cat { background: linear-gradient(150deg, var(--ink-700), var(--ink-800)); color: #fff; }
.fees__h--cat svg { color: var(--brand-300); }
.fees__h--local { background: linear-gradient(150deg, #f8f0e1, #f2e4ca); color: var(--brand-700); }
.fees__h--intl { background: linear-gradient(150deg, var(--brand-50), var(--brand-100)); color: var(--brand-700); }
.fees__h--intl svg { color: var(--brand-700); }
/* white gaps between the columns and under the header row, so each column reads as its own tile */
.fees__h--local, .fees__h--intl, .fees__local, .fees__intl { border-left: 4px solid var(--paper); }
.fees__table tbody tr + tr { border-top: 1px solid var(--line); }
.fees__local, .fees__intl { text-align: center; white-space: nowrap; }
.fees__local { background: #fcf7ee; }
.fees__intl { background: var(--brand-50); }
.fees__table tbody th {
  text-align: left; font-family: var(--f-display); font-size: clamp(1rem, 1.4vw, 1.1rem); font-weight: 600;
  line-height: 1.3; letter-spacing: -.015em; color: var(--text);
}
.fees__cat { display: flex; align-items: center; gap: 12px; }
.fees__cat-icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--brand-100); color: var(--brand-700); }
.fees__cat-icon svg { width: 20px; height: 20px; }
/* the student condition, as a footnote to the table */
.fees__ast { margin-left: 2px; color: var(--brand-600); }
.fees__note { margin: 0; padding: 12px clamp(14px, 1.8vw, 20px) 14px; border-top: 1px solid var(--line); font-size: .86rem; line-height: 1.5; color: var(--text-2); }
.fees__note span { font-weight: 700; color: var(--brand-600); }
.fee__cur { margin-right: 6px; font-family: var(--f-body); font-size: clamp(1rem, 1.45vw, 1.25rem); font-weight: 500; color: var(--brand-700); }
.fees__intl .fee__cur { margin-right: 1px; }
.fee__amt { font-family: var(--f-display); font-size: clamp(1.65rem, 2.5vw, 2.2rem); font-weight: 700; line-height: 1; letter-spacing: -.03em; font-variant-numeric: proportional-nums; color: var(--brand-700); }

/* narrower tables (small tablets, and desktops where the table shares its row): the category icon sits
   above its label, so the label keeps the full column width */
@media (min-width: 35.0625em) and (max-width: 46em), (min-width: 64.0625em) and (max-width: 72em) {
  .fees__cat { flex-direction: column; align-items: flex-start; gap: 10px; }
  .fees__cat-icon { width: 38px; height: 38px; }
}

/* key facts under the fee card */
.fees__meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; border-top: 1px solid var(--line-strong); }
.fees__meta li { display: flex; flex-direction: column; gap: 4px; padding-block: 15px; border-bottom: 1px solid var(--line-strong); }
.fees__meta span { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; line-height: 1.5; text-transform: uppercase; color: var(--text-2); }
.fees__meta strong { font-family: var(--f-display); font-size: 1rem; font-weight: 600; line-height: 1.4; letter-spacing: -.01em; color: var(--text); }

/* paper length and additional pages: the author-facing terms of the Springer page allocation */
.pages__rule { margin-top: 12px; font-size: 1rem; line-height: 1.6; color: var(--text-2); }
.pages__rule strong { font-weight: 600; color: var(--text); }

/* the same terms as three short facts */
.pages__facts { margin-top: 20px; border-top: 1px solid var(--line-strong); }
.pages__fact { display: flex; flex-direction: column; gap: 4px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.pages__fact dt { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.pages__fact dd { margin: 0; font-family: var(--f-display); font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; color: var(--text); }
.pages__fact--extra dd { color: #8a6114; }
.pages__fact:last-child { padding-bottom: 0; border-bottom: 0; }

/* tablets in landscape: the page card spans the row, so its terms sit beside the three facts */
@media (min-width: 56.3125em) and (max-width: 64em) {
  .pages { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); grid-template-rows: auto 1fr; column-gap: clamp(28px, 4vw, 48px); }
  .pages__facts { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; padding-left: clamp(24px, 3vw, 40px); border-top: 0; border-left: 1px solid var(--line); }
  .pages__fact:first-child { padding-top: 0; }
}
@media (max-width: 38.75em) { .fees__meta { display: block; } }
/* phones: the category column folds into each row; the local and international header cells and prices
   sit side by side beneath it */
@media (max-width: 35em) {
  .fees__table, .fees__table thead, .fees__table tbody { display: block; }
  .fees__table tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .fees__h--local, .fees__local { border-left: 0; }
  .fees__table tbody th { grid-column: 1 / -1; padding: 16px 16px 12px; }
  .fees__table .fees__h { padding: 18px 10px 16px; }
  /* the category header is not needed on screen here, but stays available to screen readers */
  .fees__table .fees__h--cat { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
  .fees__h-mark { height: 36px; margin-bottom: 8px; }
  .fees__h-mark svg { width: 26px; height: 26px; }
  .fees__h-mark .fees__map { height: 36px; }
  .fees__emblem { height: 21px; }
  .fees__h-title { font-size: 1rem; }
  .fees__h-sub { font-size: .8rem; }
  .fees__cat { gap: 12px; }
  .fees__cat-icon { width: 38px; height: 38px; }
  .fees__cat-icon svg { width: 20px; height: 20px; }
  .fees__table .fees__local, .fees__table .fees__intl { padding: 14px 10px 18px; }
  .fee__amt { font-size: 1.75rem; }
}
/* the narrowest phones, especially with enlarged text: smaller header type; long words may hyphenate */
@media (max-width: 26.875em) {
  .fees__table .fees__h, .fees__table .fees__local, .fees__table .fees__intl { padding-inline: 6px; }
  .fees__h-title, .fees__h-sub, .fees__table tbody th { hyphens: auto; overflow-wrap: break-word; }
  .fees__h-title { font-size: .92rem; }
  .fees__h-sub { font-size: .76rem; }
  .fee__amt { font-size: 1.55rem; }
  .fee__cur { font-size: .95rem; }
}

/* ── committee ─────────────────────────────────────────────────────────── */
.committee { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; align-items: stretch; }
.cgroup { padding: 30px 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); height: 100%; }
.cgroup__title {
  padding-bottom: 16px; margin-bottom: 6px; border-bottom: 1px solid var(--line);
  font-size: 1.15rem; letter-spacing: -.02em; color: var(--brand-700);
}
.people li { padding-block: 17px; border-bottom: 1px solid var(--line); }
.people li:last-child { border-bottom: 0; padding-bottom: 0; }
.person__name { font-family: var(--f-display); font-size: 1rem; font-weight: 600; letter-spacing: -.015em; }
.person__aff { margin-top: 3px; font-size: .87rem; color: var(--text-3); line-height: 1.45; }
.person__role {
  display: inline-block; margin-top: 9px; padding: 4px 11px; border-radius: 999px;
  background: var(--brand-100); color: var(--brand-700);
  font-family: var(--f-mono); font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}

/* ── venue: Al-Kharj ──────────────────────────────────────────────────── */
.venue { background: var(--ink-700); color: #eaf6f4; padding-block: var(--sec-y); }
.venue__top { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(30px, 5vw, 64px); align-items: center; }
.venue__intro { margin-top: 18px; max-width: 60ch; font-size: clamp(1rem, 1.5vw, 1.08rem); line-height: 1.65; color: rgba(219,240,236,.78); }
.venue__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 30px; border-top: 1px solid rgba(133,206,199,.18); }
.venue__fact { padding: 18px 16px 0 0; }
.venue__fact + .venue__fact { padding-left: 18px; border-left: 1px solid rgba(133,206,199,.18); }
.venue__fact-n {
  display: block; white-space: nowrap;
  font-family: var(--f-display); font-size: clamp(1.45rem, 2.4vw, 1.9rem); font-weight: 700; line-height: 1.1;
  letter-spacing: -.025em; color: var(--brand-300);
}
.venue__fact-l { display: block; margin-top: 6px; font-size: .84rem; line-height: 1.45; color: rgba(219,240,236,.62); }

/* schematic route map, in the hero's circuit-trace language */
.venue__map {
  margin: 0; padding: clamp(14px, 2vw, 22px); border-radius: var(--r-lg);
  border: 1px solid rgba(133,206,199,.18);
  background: radial-gradient(90% 80% at 80% 85%, rgba(95,181,178,.16), transparent 60%), rgba(7,25,24,.38);
}
.map { display: block; width: 100%; height: auto; }
.map__grid { fill: none; stroke: rgba(133,206,199,.08); stroke-width: 1; }
.map__link { fill: none; stroke: rgba(133,206,199,.5); stroke-width: 2; stroke-dasharray: 5 6; }
.map__road { fill: none; stroke: var(--brand-400); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.map__pulse {
  fill: none; stroke: #c9f1ea; stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 30 400; stroke-dashoffset: 30; animation: mapPulse 4.5s linear infinite;
}
@keyframes mapPulse { to { stroke-dashoffset: -330; } }
.map__node { fill: var(--ink-700); stroke: var(--brand-300); stroke-width: 2.5; }
.map__venue { fill: var(--brand-300); }
.map__ring { fill: none; stroke: var(--brand-300); stroke-width: 1.5; opacity: .35; }
.map__label { font-family: var(--f-mono); font-size: 14px; font-weight: 700; letter-spacing: .1em; fill: rgba(219,240,236,.85); }
.map__label--venue { font-size: 16px; fill: #fff; }
.map__sub { font-family: var(--f-body); font-size: 13px; fill: rgba(219,240,236,.66); }
.map__km { font-family: var(--f-display); font-size: 36px; font-weight: 700; letter-spacing: -.02em; fill: var(--brand-300); }
.map__note { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; fill: rgba(219,240,236,.62); }
.map__north { fill: rgba(219,240,236,.45); }
@media (prefers-reduced-motion: reduce) { .map__pulse { display: none; } }

/* highlight cards */
.venue__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(40px, 5vw, 64px); }
.vcard {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--r-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(133,206,199,.16);
}
.vcard__img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: var(--ink-600); }
.vcard__body { padding: 18px 20px 22px; }
.vcard__tag { font-family: var(--f-mono); font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-300); }
.vcard__title { margin-top: 8px; font-size: 1.1rem; line-height: 1.3; letter-spacing: -.015em; color: #fff; }
.vcard__text { margin-top: 8px; font-size: .9rem; line-height: 1.55; color: rgba(219,240,236,.72); }

@media (max-width: 56.25em) {
  .venue__top { grid-template-columns: minmax(0, 1fr); }
  .venue__map { max-width: 560px; }
}
/* phones: the cards become a swipeable row that shows the edge of the next card */
@media (max-width: 47.5em) {
  .venue__cards {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(82%, 340px); gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scroll-padding-inline: var(--gut);
    scrollbar-width: none;
  }
  .venue__cards::-webkit-scrollbar { display: none; }
  .vcard { scroll-snap-align: start; }
}
@media (max-width: 35em) {
  .venue__facts { grid-template-columns: minmax(0, 1fr); }
  .venue__fact, .venue__fact + .venue__fact {
    display: grid; grid-template-columns: 6.4em minmax(0, 1fr); align-items: baseline; gap: 12px;
    padding: 14px 0; border-left: 0; border-bottom: 1px solid rgba(133,206,199,.18);
  }
  .venue__fact-n { font-size: 1.35rem; }
  .venue__fact-l { margin-top: 0; }
}

/* ── footer ────────────────────────────────────────────────────────────── */
.footer { background: var(--ink-900); color: rgba(219,240,236,.72); padding-block: clamp(52px, 6vw, 76px) 34px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); padding-bottom: 44px; border-bottom: 1px solid rgba(133,206,199,.14); }
.footer__brand { display: flex; gap: 18px; align-items: flex-start; }
.footer__mark { width: 52px; height: auto; flex: none; }
.footer__title { font-family: var(--f-display); font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; color: #fff; }
.footer__sub { margin-top: 3px; font-size: .93rem; color: rgba(219,240,236,.72); }
.footer__tag { margin-top: 12px; font-size: .8rem; letter-spacing: .04em; color: var(--brand-400); }

.footer__nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.footer__nav > div { display: flex; flex-direction: column; gap: 10px; }
.footer__nav h2 { font-family: var(--f-mono); font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(219,240,236,.62); margin-bottom: 4px; }
.footer__nav a { font-size: .92rem; color: rgba(219,240,236,.78); width: fit-content; transition: color .18s ease, transform .18s ease; }
.footer__nav a:hover { color: var(--brand-300); transform: translateX(3px); }

/* The university logo's width is set once, in --psau-w, and used for both the image and its column.
   The markup repeats the size as width/height attributes, so the SVG is never drawn at its
   862 by 374 px intrinsic size, even before or without this stylesheet. */
.footer__legal { --psau-w: 210px; display: grid; grid-template-columns: var(--psau-w) minmax(0, 1fr); gap: clamp(24px, 4vw, 52px); align-items: start; padding-top: 34px; }
.footer__psau { width: var(--psau-w); height: auto; filter: brightness(1.3); }
.footer__small { display: flex; flex-direction: column; gap: 10px; font-size: .78rem; line-height: 1.6; color: rgba(219,240,236,.62); }
.footer__copy { margin-top: 6px; color: rgba(219,240,236,.62); }

@media (max-width: 48.75em) {
  .footer__top, .footer__legal { grid-template-columns: minmax(0, 1fr); }
  .footer__legal { --psau-w: 180px; }
}
@media (max-width: 28.75em) {
  .footer__nav { grid-template-columns: minmax(0, 1fr); }
}

/* ── touch screens ─────────────────────────────────────────────────────── */
a, button { -webkit-tap-highlight-color: rgba(95,181,178,.18); }
@media (pointer: coarse) {
  .footer__nav > div { gap: 0; }
  .footer__nav h2 { margin-bottom: 6px; }
  .footer__nav a { padding-block: 9px; }
  .prep__links { gap: 12px 18px; }
  .prep__link { padding-block: 6px; margin-block: -6px; }
}
/* Hover lifts and shifts stay on screen after a tap on touch devices, so they apply only where a pointer can hover. */
@media (hover: none) {
  .btn--primary:hover, .btn--ghost:hover, .tl:hover, .chips li:hover, .footer__nav a:hover,
  .btn--submit:hover .btn__go { transform: none; }
  .cfp__list li:hover { padding-left: 4px; background: none; }
  .cfp__list li:hover::before { opacity: 0; }
}

/* ── print ─────────────────────────────────────────────────────────────── */
@media print {
  .nav, .nav__toggle, .hero__bg, .hero__panel, .topics__search, .btn { display: none !important; }
  body { font-size: 11pt; }
  .hero, .section--dark, .venue, .footer { background: #fff !important; color: #000 !important; }
  .panel[hidden] { display: block !important; }
  .section { padding-block: 24px; break-inside: avoid; }
  .submission__actions .btn--cmt { display: inline-flex !important; padding: 0; background: none; box-shadow: none; color: #000; }
  .submission__actions .btn--cmt svg { display: none; }
  .submission__actions .btn--cmt::after { content: ": " attr(href); font-weight: 400; }
}
