/* ══════════════════════════════════════════════════════════════
   MedCON-ESTATE 2027 — Theme layer  ("Contour & Arch")
   Load AFTER mcon-estate.css on every page:
     <link rel="stylesheet" href="mcon-estate.css">
     <link rel="stylesheet" href="mcon-estate-theme.css">

   Idea: an Earth-science congress in a Mediterranean city.
   - Topographic contour lines (Earth systems) as the texture
   - Arched photo windows (Mediterranean architecture) for pictures
   - Sentence-case type, fewer boxes, no emoji icons

   Photos live in /images/site/  (see README there).
   Journal logos live in /images/journals/.
   ══════════════════════════════════════════════════════════════ */

:root {
  --night:     #0e2218;      /* hero / footer */
  --forest:    #1a3d2b;
  --pine:      #2a6044;
  --sea:       #1d5c6b;      /* Tyrrhenian */
  --gold:      #c8973a;
  --gold-soft: #e2c07e;
  --limestone: #f5f2ea;      /* page */
  --sand:      #ebe4d6;      /* alt band */
  --ink:       #18211c;
  --ink-soft:  #4a524c;
  --rule:      rgba(26,61,43,0.14);
  --cream:     var(--limestone);
  --stone-light: var(--sand);
  --radius:    14px;
}

body { background: var(--limestone); color: var(--ink); font-weight: 400; }
p, li, a { font-weight: 400; }
::selection { background: var(--gold-soft); color: var(--night); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* One entrance moment only (the hero). Sections simply appear. */
.reveal, .reveal.visible { opacity: 1; transform: none; transition: none; }

/* ── NAV ─────────────────────────────────────────────────────── */
nav { background: rgba(14,34,24,0.92); border-bottom: 1px solid rgba(226,192,126,0.12); }
.nav-logo { font-size: 1.4rem; letter-spacing: 0; }
.nav-links { gap: 0.1rem; align-items: center; }
.nav-links a {
  text-transform: none; letter-spacing: 0.01em;
  font-size: 0.9rem; font-weight: 500;
  color: rgba(235,228,214,0.78); border-radius: 999px; padding: 0.45rem 0.85rem;
}
.nav-links a:hover { background: rgba(226,192,126,0.1); color: #fff; }
.nav-links a[aria-current="page"] { color: var(--gold-soft) !important; }
.nav-cta { border-radius: 999px !important; padding: 0.5rem 1.2rem !important; margin-left: 0.5rem; font-weight: 600 !important; }

/* ── TYPE ────────────────────────────────────────────────────── */
section { padding: 6.5rem 2rem; }
.section-label {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.15rem; letter-spacing: 0; text-transform: none;
  color: var(--pine); margin-bottom: 0.35rem; gap: 0.6rem;
}
.section-label::after { display: none; }
.section-label::before {
  content: ''; width: 22px; height: 12px; flex: 0 0 22px;
  border: 1.5px solid currentColor; border-bottom: 0;
  border-radius: 12px 12px 0 0; opacity: 0.7;
}
.section-title {
  font-weight: 400; letter-spacing: -0.01em; line-height: 1.08;
  font-size: clamp(2.2rem, 4.2vw, 3.4rem); color: var(--night);
}
.section-title em,
.committee-hero-title em,
.cmt-group-title em,
.contact-hero-title em { font-style: inherit; color: inherit; font-weight: inherit; }
.divider { display: none; }
.lede { font-size: 1.12rem; line-height: 1.8; color: var(--ink-soft); max-width: 62ch; }

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  text-transform: none; letter-spacing: 0.01em;
  font-size: 0.95rem; border-radius: 999px; padding: 0.85rem 1.6rem;
}
.btn-primary:hover { transform: none; box-shadow: 0 0 0 4px rgba(200,151,58,0.22); }
.btn-secondary:hover, .btn-outline-light:hover { transform: none; }
.btn-quiet { background: transparent; color: var(--night); border: 1px solid rgba(26,61,43,0.35); }
.btn-quiet:hover, .btn-quiet:focus-visible { background: var(--forest); color: var(--sand); border-color: var(--forest); }
.text-link {
  color: var(--pine); font-weight: 600; text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: 4px;
}
.text-link:hover { color: var(--sea); }

/* ── ARCH WINDOWS (photos) ───────────────────────────────────── */
.arch {
  position: relative; margin: 0; overflow: hidden;
  border-radius: 999px 999px var(--radius) var(--radius);
  background:
    url('images/site/contours-light.svg') center / 160% auto no-repeat,
    linear-gradient(170deg, var(--sea) 0%, var(--pine) 55%, var(--forest) 100%);
  aspect-ratio: 4 / 5;
}
.arch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.arch.is-empty img { display: none; }
.arch figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.5rem 1.25rem 1rem;
  background: linear-gradient(transparent, rgba(14,34,24,0.75));
  color: var(--sand); font-size: 0.85rem; line-height: 1.4;
}
.arch.wide { aspect-ratio: 16 / 9; border-radius: 240px 240px var(--radius) var(--radius); background-size: 110% auto, auto; }

/* ── HERO ────────────────────────────────────────────────────── */
.hx {
  position: relative; overflow: hidden;
  background: var(--night); color: var(--sand);
  padding: calc(64px + 4.5rem) 2rem 0;
}
.hx::before {
  content: ''; position: absolute; inset: 0;
  background: url('images/site/contours-light.svg') center / cover no-repeat;
  opacity: 0.07; pointer-events: none;
}
.hx-inner {
  position: relative; max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 4rem; align-items: end;
}
.hx-copy { padding-bottom: 4rem; }
.hx-kicker { font-family: var(--font-serif); font-style: italic; font-size: 1.3rem; color: var(--gold-soft); }
.hx-title {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(3.4rem, 9vw, 7.6rem); line-height: 0.92; letter-spacing: -0.02em;
  color: #f7f3ea; margin: 0.6rem 0 1.4rem;
}
.hx h1 { margin: 0; font-weight: inherit; }
.hx h1 > span { display: block; }
.hx-title span { display: block; }
.hx-title .dash { color: var(--gold); display: inline; }
.hx-full {
  font-family: var(--font-serif); font-size: clamp(1.25rem, 2.1vw, 1.65rem);
  line-height: 1.35; color: rgba(245,242,234,0.86); max-width: 30ch; font-weight: 400;
}
.hx-when {
  margin-top: 2.2rem; padding-top: 1.4rem;
  border-top: 1px solid rgba(226,192,126,0.25);
  display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1.5rem; align-items: baseline;
  max-width: 560px;
}
.hx-date { font-family: var(--font-serif); font-size: 2.1rem; color: var(--gold); line-height: 1; white-space: nowrap; }
.hx-place { color: rgba(235,228,214,0.8); font-size: 0.98rem; line-height: 1.5; }
.hx-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.hx-note { margin-top: 1.4rem; font-size: 0.9rem; color: rgba(235,228,214,0.6); max-width: 52ch; line-height: 1.65; }
.hx-visual { position: relative; align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; }
.hx-visual .arch { border-radius: 999px 999px 0 0; aspect-ratio: 3 / 4; }
.hx-count {
  position: absolute; left: -2.5rem; bottom: 2rem;
  background: var(--limestone); color: var(--night);
  border-radius: var(--radius); padding: 0.9rem 1.2rem;
  box-shadow: 0 18px 40px rgba(0,0,0,0.3);
}
.hx-count small { display: block; font-size: 0.78rem; color: var(--ink-soft); }
.hx-count strong { display: block; font-family: var(--font-serif); font-size: 2.2rem; font-weight: 600; line-height: 1.05; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.hx-count strong .u { font-size: 0.85rem; font-weight: 500; margin: 0 0.5rem 0 0.15rem; color: var(--ink-soft); font-family: var(--font-sans); }
.hx-count strong .u:last-child { margin-right: 0; }

/* single orchestrated entrance */
@media (prefers-reduced-motion: no-preference) {
  .hx-rise { opacity: 0; animation: hxRise 0.9s cubic-bezier(.2,.7,.2,1) forwards; }
  .hx-rise.d1 { animation-delay: 0.1s; } .hx-rise.d2 { animation-delay: 0.25s; }
  .hx-rise.d3 { animation-delay: 0.4s; } .hx-rise.d4 { animation-delay: 0.55s; }
  .hx-visual .arch { animation: hxArch 1.2s 0.2s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes hxRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes hxArch { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }

/* Facts ribbon under hero */
.facts {
  background: var(--forest); color: var(--sand);
  padding: 1.4rem 2rem;
}
.facts ul {
  list-style: none; max-width: 1180px; margin: 0 auto;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem;
}
.facts li { font-family: var(--font-serif); font-size: 1.2rem; }
.facts li b { color: var(--gold-soft); font-weight: 600; }

/* ── ABOUT ───────────────────────────────────────────────────── */
.ab-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 5rem; align-items: start; }
.ab-text p { font-size: 1.05rem; line-height: 1.85; color: var(--ink-soft); margin-bottom: 1.1rem; max-width: 64ch; }
.ab-text p:first-of-type { font-family: var(--font-serif); font-size: 1.55rem; line-height: 1.45; color: var(--night); }
.ab-text strong { color: var(--night); font-weight: 600; }
.sanskrit { font-style: italic; color: var(--pine); }
.ab-side .arch { aspect-ratio: 4 / 5; }
.pillars { list-style: none; margin-top: 2rem; }
.pillars li { padding: 1.1rem 0; border-top: 1px solid var(--rule); }
.pillars li:last-child { border-bottom: 1px solid var(--rule); }
.pillars h3 { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 600; color: var(--night); }
.pillars p { font-size: 0.93rem; color: var(--ink-soft); line-height: 1.65; margin-top: 0.15rem; }
.topics-inline { margin-top: 2rem; font-size: 0.95rem; color: var(--ink-soft); line-height: 1.8; }
.topics-inline span { color: var(--pine); font-style: italic; }

/* ── KEY INFO (dark editorial list) ──────────────────────────── */
.ki { background: var(--night); color: var(--sand); position: relative; overflow: hidden; }
.ki::before {
  content: ''; position: absolute; right: -20%; top: -10%; width: 80%; height: 120%;
  background: url('images/site/contours-light.svg') center / contain no-repeat; opacity: 0.06;
}
.ki .container { position: relative; }
.ki .section-label { color: var(--gold-soft); }
.ki .section-title { color: #f7f3ea; }
.ki-list { list-style: none; margin-top: 2.5rem; border-top: 1px solid rgba(226,192,126,0.2); }
.ki-row {
  display: grid; grid-template-columns: 0.9fr 1.6fr 0.7fr; gap: 2rem; align-items: baseline;
  padding: 1.6rem 0; border-bottom: 1px solid rgba(226,192,126,0.2);
}
.ki-row h3 { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 400; color: #f7f3ea; }
.ki-row p { color: rgba(235,228,214,0.72); line-height: 1.7; font-size: 0.98rem; }
.ki-status { justify-self: end; text-align: right; font-size: 0.88rem; color: var(--gold-soft); }
.ki-status a { color: var(--gold-soft); }
.status-dot::before {
  content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #7fd1a0; margin-right: 0.45rem; box-shadow: 0 0 0 4px rgba(127,209,160,0.15);
}
.submit-band {
  margin-top: 3.5rem; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center;
  padding: 2.2rem 2.4rem; border-radius: var(--radius);
  background: linear-gradient(120deg, var(--sea), var(--pine));
}
.submit-band h3 { font-family: var(--font-serif); font-size: 2rem; font-weight: 400; color: #fff; }
.submit-band p { color: rgba(255,255,255,0.8); margin-top: 0.3rem; max-width: 56ch; line-height: 1.6; }
.submit-band .hx-actions { margin-top: 0; }

/* ── TRACKS (table of contents) ──────────────────────────────── */
.tr { background: var(--limestone); }
.tr-head { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end; }
.tr-list {
  list-style: none; margin-top: 3rem;
  columns: 2; column-gap: 4rem;
}
.tr-list li {
  break-inside: avoid; display: grid; grid-template-columns: 3rem 1fr; align-items: baseline;
  padding: 1rem 0; border-top: 1px solid var(--rule);
}
.tr-list .n { font-family: var(--font-serif); font-size: 1.5rem; color: var(--gold); font-variant-numeric: lining-nums; }
.tr-list .t { font-family: var(--font-serif); font-size: 1.4rem; color: var(--night); line-height: 1.25; }

/* ── REGISTRATION (home summary) ─────────────────────────────── */
.reg-section { background: var(--sand); }
.reg-grid { gap: 1.25rem; }
.reg-card { border-radius: var(--radius); border-color: var(--rule); }
.reg-card:hover { transform: none; box-shadow: 0 16px 40px rgba(26,61,43,0.1); }
.reg-card-head { background: var(--forest); padding: 1.6rem 1.75rem 1.5rem; }
.reg-card.featured .reg-card-head { background: var(--sea); }
.reg-plan-label { font-family: var(--font-sans); text-transform: none; letter-spacing: 0; font-size: 0.85rem; color: rgba(235,228,214,0.65); }
.reg-plan-name { font-size: 1.9rem; font-weight: 400; }
.reg-price-range { font-family: var(--font-serif); font-size: 1.15rem; font-style: italic; color: var(--gold-soft); }
.reg-row { font-size: 0.93rem; }
.reg-row span:last-child { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 600; }
.reg-note { font-style: normal; color: var(--ink-soft); font-size: 0.88rem; }
.reg-more { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* ── VENUE ───────────────────────────────────────────────────── */
.vn { background: var(--limestone); }
.vn-top { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; margin-bottom: 3rem; }
.vn-top .lede { margin: 0; }
.vn-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; margin-top: 3.5rem; }
.vn-text p { color: var(--ink-soft); line-height: 1.85; margin-bottom: 1rem; }
.vn h3 { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 400; color: var(--night); margin: 0 0 1rem; }
.route { list-style: none; }
.route li { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--rule); }
.route b { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 600; color: var(--pine); }
.route p { font-size: 0.93rem; line-height: 1.65; color: var(--ink-soft); }
.route a { color: var(--sea); }
.stays { list-style: none; margin-top: 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.stays li { padding: 1rem 1.1rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--rule); }
.stays b { display: block; font-family: var(--font-serif); font-size: 1.2rem; color: var(--night); }
.stays span { display: block; font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 0.4rem; }
.stays a { font-size: 0.85rem; color: var(--sea); font-weight: 600; }

/* ── COMMITTEE TEASER ────────────────────────────────────────── */
.cm { background: var(--forest); color: var(--sand); position: relative; overflow: hidden; }
.cm::after {
  content: ''; position: absolute; left: -10%; bottom: -30%; width: 60%; height: 120%;
  background: url('images/site/contours-light.svg') center / contain no-repeat; opacity: 0.07;
}
.cm .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.cm .section-label { color: var(--gold-soft); }
.cm .section-title { color: #f7f3ea; }
.cm p { color: rgba(235,228,214,0.78); line-height: 1.8; margin-bottom: 1.5rem; }
.cm-chair { border-left: 2px solid var(--gold); padding: 0.3rem 0 0.3rem 1.5rem; }
.cm-chair small { display: block; color: var(--gold-soft); font-size: 0.9rem; }
.cm-chair strong { display: block; font-family: var(--font-serif); font-size: 2.2rem; font-weight: 400; color: #fff; line-height: 1.15; margin: 0.2rem 0; }
.cm-chair span { color: rgba(235,228,214,0.7); font-size: 0.95rem; }
.cm-countries { margin-top: 2rem; font-family: var(--font-serif); font-size: 1.15rem; line-height: 1.7; color: rgba(235,228,214,0.85); }

/* ── SPECIAL ISSUE PUBLISHERS ────────────────────────────────── */
.journals-section { background: var(--limestone); }
.journals-intro { max-width: 60ch; color: var(--ink-soft); line-height: 1.8; font-size: 1.05rem; }
.journals-intro a { color: var(--pine); font-weight: 600; }
.journals-intro a:hover { color: var(--sea); }
.journals-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.journal-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--rule); border-radius: var(--radius);
  text-decoration: none; color: inherit; transition: box-shadow 0.25s, border-color 0.25s;
}
.journal-card:hover { box-shadow: 0 16px 40px rgba(26,61,43,0.12); border-color: rgba(26,61,43,0.3); }
.journal-logo {
  height: 170px; display: grid; place-items: center; padding: 1.5rem;
  background: #fff; border-bottom: 1px solid var(--rule);
}
.journal-logo img { max-width: 100%; max-height: 120px; object-fit: contain; }
.journal-logo .journal-logo-fallback {
  display: none; font-family: var(--font-serif); font-size: 1.7rem; font-style: italic;
  color: var(--sand); text-align: center; line-height: 1.15;
}
.journal-logo.no-logo {
  background:
    url('images/site/contours-light.svg') center / 220% auto no-repeat,
    linear-gradient(150deg, var(--sea), var(--forest));
}
.journal-logo.is-cover { padding: 0; background: #1a4f9c; }
.journal-logo.is-cover img { width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: center; }
.journal-logo.no-logo img { display: none; }
.journal-logo.no-logo .journal-logo-fallback { display: block; }
.journal-body { padding: 1.3rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: 0.2rem; flex: 1; }
.journal-publisher { font-size: 0.85rem; color: var(--sea); font-weight: 600; }
.journal-name { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 400; color: var(--night); line-height: 1.15; }
.journal-link { margin-top: auto; padding-top: 1rem; font-size: 0.9rem; font-weight: 600; color: var(--pine); }
.journal-card:hover .journal-link { text-decoration: underline; text-underline-offset: 4px; }

/* ── SPONSORS / PARTNERS ─────────────────────────────────────
   Logos: /images/partners/*.png (see README). If a local file is
   missing, the old WordPress copy loads; if that fails, the name shows. */
.sponsors-section { background: var(--sand); }
.sponsors-desc { color: var(--ink-soft); max-width: 60ch; line-height: 1.8; }
.partners { margin-top: 2.5rem; }
.partners-title {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: 1.25rem; color: var(--pine); margin: 2rem 0 1rem;
}
.partner-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.partner-row:has(.partner-lg) { grid-template-columns: repeat(2, 1fr); }
.partner {
  background: #fff; border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 1.25rem 1.25rem 0.9rem; display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
}
.partner img { height: 80px; width: 100%; object-fit: contain; }
.partner-lg { padding: 1.75rem 2rem 1.1rem; }
.partner-lg img { height: 130px; }
.partner-name { font-size: 0.82rem; color: var(--ink-soft); text-align: center; line-height: 1.35; }
.partner.no-logo img { display: none; }
.partner.no-logo { justify-content: center; min-height: 130px; }
.partner.no-logo .partner-name { font-family: var(--font-serif); font-size: 1.3rem; color: var(--night); }
.sponsors-cta { text-align: left; font-size: 0.95rem; margin-top: 2rem; }

/* ── FOOTER ──────────────────────────────────────────────────── */
.footer { background: var(--night); position: relative; overflow: hidden; }
.footer::before {
  content: ''; position: absolute; inset: 0;
  background: url('images/site/contours-light.svg') center bottom / cover no-repeat; opacity: 0.04;
}
.footer-grid, .footer-bottom { position: relative; }
.footer-brand .logo-text { font-size: 2rem; font-weight: 400; }
.footer-brand p { font-size: 0.9rem; max-width: 32ch; }
.footer-contact-link a { font-family: var(--font-sans); font-size: 0.9rem; }
.footer-col h5 {
  font-family: var(--font-serif); font-style: italic; text-transform: none; letter-spacing: 0;
  font-size: 1.15rem; font-weight: 400; color: var(--gold-soft);
}
.footer-col a { font-size: 0.9rem; }
.footer-grid:has(> :nth-child(5)) { grid-template-columns: 1.5fr repeat(4, 1fr); gap: 2.5rem; }
.footer-col li > span[style*="font-family"] {
  font-family: var(--font-serif) !important; font-style: italic;
  text-transform: none !important; letter-spacing: 0 !important;
  font-size: 0.95rem !important; color: rgba(235,228,214,0.55) !important;
}
.footer-bottom { font-family: var(--font-sans); font-size: 0.82rem; letter-spacing: 0; color: rgba(235,228,214,0.45); }
.sdg-badge { font-family: var(--font-sans); text-transform: none; letter-spacing: 0; font-size: 0.82rem; }

/* ── INNER-PAGE HERO (committee, registration) ───────────────── */
.committee-hero { background: var(--night); padding: calc(64px + 4.5rem) 2rem 4.5rem; }
.committee-hero::before {
  background: url('images/site/contours-light.svg') center / cover no-repeat; opacity: 0.08;
}
.committee-hero-text .section-label { color: var(--gold-soft); }
.committee-hero-title { font-size: clamp(3rem, 7vw, 5.6rem); line-height: 0.95; letter-spacing: -0.02em; }
.committee-hero-sub { margin-top: 1.4rem; font-size: 1.1rem; color: rgba(235,228,214,0.75); font-weight: 400; }
.committee-hero-stat .big-num { font-weight: 400; font-size: 4.6rem; }
.committee-hero-stat .big-label { font-family: var(--font-sans); text-transform: none; letter-spacing: 0; font-size: 0.95rem; color: rgba(235,228,214,0.65); }

/* ── COMMITTEE PAGE ──────────────────────────────────────────── */
.country-strip { background: var(--forest); }
.country-pill { font-family: var(--font-sans); text-transform: none; letter-spacing: 0; font-size: 0.82rem; font-weight: 500; color: var(--sand); background: rgba(255,255,255,0.06); border-color: rgba(226,192,126,0.2); }
.committee-page { background: var(--limestone); }
.cmt-group { padding: 4.5rem 2rem; }
.cmt-group:nth-child(even) { background: var(--limestone); }
.cmt-group:nth-child(odd)  { background: var(--sand); }
.cmt-group-icon { display: none; }
.cmt-group-label { font-family: var(--font-serif); font-style: italic; text-transform: none; letter-spacing: 0; font-size: 1.1rem; font-weight: 400; color: var(--pine); }
.cmt-group-title { font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 400; }
.chair-card { background: var(--forest); border-radius: var(--radius); position: relative; overflow: hidden; }
.chair-card::after {
  content: ''; position: absolute; right: -10%; top: -40%; width: 60%; height: 180%;
  background: url('images/site/contours-light.svg') center / contain no-repeat; opacity: 0.08;
}
.chair-avatar {
  border-radius: 999px 999px 12px 12px; width: 76px; height: 92px; font-size: 0;
  background: url('images/site/contours-light.svg') center / 300% auto no-repeat, linear-gradient(160deg, var(--sea), var(--pine));
  border-color: rgba(226,192,126,0.5);
}
.chair-role, .chair-badge { font-family: var(--font-sans); text-transform: none; letter-spacing: 0; font-size: 0.88rem; }
.chair-name { font-size: 2.2rem; font-weight: 400; }
.members-grid { gap: 0; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); border-top: 1px solid var(--rule); }
.member-card {
  background: transparent; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0;
  padding: 1.2rem 1.5rem 1.2rem 0; display: grid; grid-template-columns: 1.8rem 1fr; column-gap: 0.6rem;
}
.member-card::before { display: none; }
.member-card:hover { transform: none; box-shadow: none; }
.member-card.on-bg, .member-card.on-bg:hover { background: transparent; }
.member-card:hover .member-name { color: var(--sea); }
.member-flag { grid-row: 1 / span 3; font-size: 1.2rem; padding-top: 0.2rem; }
.member-name { font-size: 1.22rem; font-weight: 600; transition: color 0.2s; }
.member-affil { font-size: 0.9rem; color: var(--ink-soft); }
.member-country { font-family: var(--font-sans); text-transform: none; letter-spacing: 0; font-size: 0.82rem; color: var(--sea); }
.local-pill { border-radius: 999px; }
.local-pill:hover { transform: none; }
.cmt-contact { background: var(--night); border-radius: var(--radius); text-align: left; }
.cmt-contact h3 { font-size: 2.1rem; font-weight: 400; }
.cmt-contact p { margin-left: 0; }
.cmt-contact-links { justify-content: flex-start; }
.cmt-email { font-family: var(--font-sans); border-radius: 999px; letter-spacing: 0; }

/* ── REGISTRATION & FEES PAGE ────────────────────────────────── */
.fees-page { background: var(--limestone); }
.fees-section { padding: 5.5rem 2rem; }
.fees-section.alt { background: var(--sand); }
.fees-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--rule); background: #fff; }
.fees-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.fees-table th, .fees-table td { padding: 1.05rem 1.5rem; text-align: left; vertical-align: middle; }
.fees-table thead th { background: var(--forest); color: var(--sand); font-weight: 600; font-size: 0.95rem; line-height: 1.35; }
.fees-table thead th small { display: block; font-weight: 400; font-size: 0.8rem; color: rgba(235,228,214,0.65); margin-top: 0.1rem; }
.fees-table thead th.col-early { background: var(--sea); }
.fees-table thead th.num, .fees-table td.num { text-align: right; white-space: nowrap; }
.fees-table tbody tr + tr th, .fees-table tbody tr + tr td { border-top: 1px solid rgba(26,61,43,0.08); }
.fees-table tbody th { font-weight: 600; color: var(--ink); font-size: 1rem; }
.fees-table tbody th small { display: block; font-weight: 400; color: var(--ink-soft); font-size: 0.85rem; margin-top: 0.1rem; }
.fees-table td.num { font-family: var(--font-serif); font-size: 1.7rem; font-weight: 600; color: var(--night); font-variant-numeric: lining-nums tabular-nums; }
.fees-table td.num.col-early { background: rgba(29,92,107,0.06); color: var(--sea); }
.fees-table td.num .cur { font-family: var(--font-sans); font-size: 0.75rem; font-weight: 600; color: var(--ink-soft); margin-left: 0.3rem; }
.fees-table tr.group-sep th, .fees-table tr.group-sep td { border-top: 2px solid rgba(26,61,43,0.18) !important; }
.fees-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.75rem; }
.fees-note { border-top: 2px solid var(--gold); padding-top: 1rem; }
.fees-note h3 { font-family: var(--font-serif); font-size: 1.45rem; font-weight: 600; color: var(--night); margin-bottom: 0.35rem; }
.fees-note p { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.75; }
.template-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 2rem; max-width: 920px; }
.template-item { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.4rem 1.5rem; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); }
.template-icon {
  flex: 0 0 auto; width: 2.8rem; height: 3.5rem;
  border-radius: 999px 999px 4px 4px; background: var(--sea); color: #fff;
  display: grid; place-items: end center; padding-bottom: 0.55rem;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.04em;
}
.template-item h3 { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; color: var(--night); line-height: 1.15; }
.template-item p { font-size: 0.92rem; color: var(--ink-soft); margin: 0.25rem 0 0.6rem; line-height: 1.6; }
.template-item a { font-size: 0.92rem; font-weight: 600; color: var(--pine); }
.template-item a:hover { color: var(--sea); }
.fees-cta {
  margin-top: 3rem; padding: 2.2rem 2.4rem; border-radius: var(--radius);
  background: linear-gradient(120deg, var(--sea), var(--pine)); color: #fff;
  display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; justify-content: space-between;
}
.fees-cta p { max-width: 560px; color: rgba(255,255,255,0.85); line-height: 1.7; }
.fees-cta p strong { color: #fff; }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .nav-links a { padding: 0.45rem 0.6rem; font-size: 0.85rem; }
}
@media (max-width: 960px) {
  section { padding: 4.5rem 1.5rem; }
  .hx { padding: 2.5rem 1.5rem 0; }            /* nav is not fixed below 960px */
  .committee-hero { padding: 3.5rem 1.5rem 3.5rem; }
  .hx-copy { padding-bottom: 0; }
  .hx-inner, .ab-grid, .vn-top, .vn-grid, .cm .container, .tr-head { grid-template-columns: 1fr; gap: 2.5rem; }
  .hx-visual { max-width: 420px; }
  .hx-count { left: 1rem; right: auto; bottom: 1.25rem; }
  .ki-row { grid-template-columns: 1fr; gap: 0.4rem; }
  .ki-status { justify-self: start; text-align: left; }
  .submit-band { grid-template-columns: 1fr; }
  .tr-list { columns: 1; }
  .stays { grid-template-columns: 1fr; }
  .journals-grid { grid-template-columns: 1fr; max-width: 460px; }
  .partner-row { grid-template-columns: repeat(2, 1fr); }
  .fees-notes, .template-list { grid-template-columns: 1fr; }
  .footer-grid:has(> :nth-child(5)) { grid-template-columns: 1fr 1fr; }
  .nav-links.nav-open a { border-radius: 0; }
  .nav-links.nav-open .nav-cta { margin-left: 1.5rem; }
}
@media (max-width: 600px) {
  .hx-title { font-size: clamp(3rem, 16vw, 4.5rem); }
  .hx-count strong { font-size: 1.75rem; }
  .hx-count { right: 1rem; }
  .hx-when { grid-template-columns: 1fr; }
  .facts ul { flex-direction: column; }
  .route li { grid-template-columns: 1fr; gap: 0.2rem; }
  .arch.wide { border-radius: 120px 120px var(--radius) var(--radius); }
  .members-grid { grid-template-columns: 1fr; }
  .partner-row:has(.partner-lg) { grid-template-columns: 1fr; }
  .footer-grid:has(> :nth-child(5)) { grid-template-columns: 1fr; }
  .fees-section { padding: 3.5rem 1.25rem; }
  .fees-table { min-width: 0; }
  .fees-table th, .fees-table td { padding: 0.85rem 0.7rem; }
  .fees-table thead th { font-size: 0.8rem; }
  .fees-table tbody th { font-size: 0.88rem; }
  .fees-table td.num { font-size: 1.2rem; }
  .fees-table td.num .cur { display: block; margin: 0; font-size: 0.62rem; }
  .fees-cta, .submit-band { padding: 1.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
