/* ==========================================================================
   ICLS poster theme
   Dark forest green canvas, lime gradient pill headings, diamond image
   frames and heavy white display type. Loaded after styles.css on every
   public page (front layout). Only visual rules live here.
   ========================================================================== */

:root {
  --forest-950: #081f1b;
  --forest-900: #0d2b26;
  --forest-850: #10332c;
  --forest-800: #143c33;
  --forest-700: #1b4a3f;
  --leaf-600: #5f8f3a;
  --leaf-500: #78a64a;
  --leaf-400: #8fbf4f;
  --lime-300: #c3e45a;
  --lime-200: #d8f07a;
  --gold-300: #e6d35a;
  --gold-200: #efe28c;
  --ink: #f4f7ef;
  --ink-soft: #d5e0d2;
  --ink-muted: #a9bdb0;
  --line: rgba(195, 228, 90, 0.22);
  --danger: #ff8f7e;

  --pill: linear-gradient(90deg, var(--leaf-400) 0%, var(--lime-300) 55%, var(--lime-200) 100%);
  --pill-rev: linear-gradient(270deg, var(--leaf-400) 0%, var(--lime-300) 55%, var(--lime-200) 100%);
  --display: 'Archivo', 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius: 18px;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.55);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }

body.icls-theme {
  font-family: var(--body);
  background: var(--forest-900);
  color: var(--ink-soft);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.icls-theme .min-h-screen.site-shell { background: var(--forest-900); }

.icls-theme h1, .icls-theme h2, .icls-theme h3, .icls-theme h4 {
  font-family: var(--body);
  color: var(--ink);
  line-height: 1.25;
}

.icls-theme a { color: var(--lime-300); }
.icls-theme a:hover { color: var(--lime-200); }
.icls-theme img { max-width: 100%; }

.icls-theme ::selection { background: var(--lime-300); color: var(--forest-900); }

/* ---------- Utilities the pages use but styles.css never defined ---------- */
.icls-theme .hidden { display: none; }
.icls-theme .block { display: block; }
.icls-theme .inline-block { display: inline-block; }
.icls-theme .w-full { width: 100%; }
.icls-theme .h-full { height: 100%; }
.icls-theme .w-auto { width: auto; }
.icls-theme .w-16 { width: 4rem; } .icls-theme .h-16 { height: 4rem; }
.icls-theme .w-32 { width: 8rem; } .icls-theme .h-32 { height: 8rem; }
.icls-theme .h-1 { height: 4px; }
.icls-theme .object-cover { object-fit: cover; }
.icls-theme .overflow-hidden { overflow: hidden; }
.icls-theme .mx-auto { margin-left: auto; margin-right: auto; }
.icls-theme .ml-3 { margin-left: .75rem; }
.icls-theme .mr-2 { margin-right: .5rem; }
.icls-theme .mr-3 { margin-right: .75rem; }
.icls-theme .mt-2 { margin-top: .5rem; }
.icls-theme .mt-3 { margin-top: .75rem; }
.icls-theme .mb-10 { margin-bottom: 2.5rem; }
.icls-theme .mb-16 { margin-bottom: 4rem; }
.icls-theme .p-2 { padding: .5rem; }
.icls-theme .p-8 { padding: 2rem; }
.icls-theme .px-2 { padding-left: .5rem; padding-right: .5rem; }
.icls-theme .px-3 { padding-left: .75rem; padding-right: .75rem; }
.icls-theme .px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.icls-theme .py-2 { padding-top: .5rem; padding-bottom: .5rem; }
.icls-theme .py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.icls-theme .py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.icls-theme .pt-2 { padding-top: .5rem; }
.icls-theme .pb-3 { padding-bottom: .75rem; }
.icls-theme .pl-5 { padding-left: 1.25rem; }
.icls-theme .gap-3 { gap: .75rem; }
.icls-theme .text-xs { font-size: .78rem; }
.icls-theme .text-base { font-size: 1rem; }
.icls-theme .text-left { text-align: left; }
.icls-theme .leading-relaxed { line-height: 1.75; }
.icls-theme .max-w-xs { max-width: 20rem; }
.icls-theme .max-w-md { max-width: 28rem; }
.icls-theme .max-w-2xl { max-width: 42rem; }
.icls-theme .max-w-3xl { max-width: 48rem; }
.icls-theme .max-w-6xl { max-width: 72rem; }
.icls-theme .col-span-1 { grid-column: span 1 / span 1; }
.icls-theme .rounded { border-radius: 8px; }
.icls-theme .rounded-md { border-radius: 10px; }
.icls-theme .border-l-4 { border-left-width: 4px; border-left-style: solid; }
.icls-theme .cursor-pointer { cursor: pointer; }
.icls-theme .transition-opacity { transition: opacity .25s ease; }
.icls-theme .hover\:opacity-90:hover { opacity: .9; }

@media (min-width: 640px) {
  .icls-theme .sm\:flex-row { flex-direction: row; }
  .icls-theme .sm\:max-w-md { max-width: 28rem; }
}
@media (min-width: 768px) {
  .icls-theme .md\:grid-cols-1 { grid-template-columns: 1fr; }
  .icls-theme .md\:col-span-5 { grid-column: span 5 / span 5; }
  .icls-theme .md\:py-12 { padding-top: 3rem; padding-bottom: 3rem; }
  .icls-theme .md\:p-6 { padding: 1.5rem; }
  .icls-theme .md\:mb-8 { margin-bottom: 2rem; }
  .icls-theme .md\:text-lg { font-size: 1.125rem; }
  .icls-theme .md\:text-base { font-size: 1rem; }
  .icls-theme .md\:max-w-2xl { max-width: 42rem; }
}
@media (min-width: 1024px) {
  .icls-theme .lg\:max-w-4xl { max-width: 56rem; }
}

/* ---------- Colour remap: light utilities become poster colours ---------- */
.icls-theme .text-gray-900,
.icls-theme .text-gray-800,
.icls-theme .text-black { color: var(--ink); }
.icls-theme .text-gray-700 { color: var(--ink-soft); }
.icls-theme .text-gray-600,
.icls-theme .text-gray-500 { color: var(--ink-muted); }
.icls-theme .text-gray-400 { color: #8aa396; }
.icls-theme .text-green-500,
.icls-theme .text-green-600,
.icls-theme .text-green-700,
.icls-theme .text-green-800,
.icls-theme .text-green-400 { color: var(--lime-300); }
.icls-theme .text-blue-800,
.icls-theme .text-purple-800 { color: var(--lime-300); }
.icls-theme .text-yellow-200,
.icls-theme .text-yellow-300,
.icls-theme .text-yellow-400,
.icls-theme .text-orange-300 { color: var(--gold-300); }
.icls-theme .text-yellow-700 { color: var(--gold-200); }
.icls-theme .text-red-600,
.icls-theme .text-red-700 { color: var(--danger); }
.icls-theme .text-red-100,
.icls-theme .text-red-200 { color: #ffd3cb; }
.icls-theme .text-white\/80 { color: rgba(244, 247, 239, .8); }

.icls-theme .bg-white,
.icls-theme .bg-gray-50 { background-color: transparent; }
.icls-theme section.bg-gray-50 { background-color: var(--forest-850); }
.icls-theme .bg-gray-900 { background-color: var(--forest-950); }
.icls-theme .bg-green-50,
.icls-theme .bg-blue-50,
.icls-theme .bg-purple-50 { background-color: var(--forest-700); }
.icls-theme .bg-green-100 { background-color: rgba(143, 191, 79, .15); }
.icls-theme .bg-red-100 { background-color: rgba(255, 143, 126, .12); }
.icls-theme .bg-yellow-50 { background-color: rgba(230, 211, 90, .1); }
.icls-theme .border-green-300,
.icls-theme .border-green-400 { border-color: var(--leaf-400); }
.icls-theme .border-red-400 { border-color: var(--danger); }
.icls-theme .border-yellow-400 { border-color: var(--gold-300); }
.icls-theme .border-gray-200,
.icls-theme .border { border-color: var(--line); }
.icls-theme .bg-white\/20 { background-color: rgba(255, 255, 255, .08); }
.icls-theme .backdrop-blur-sm { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

/* Decorative divider (accommodation) */
.icls-theme .h-1.bg-green-600 { background: var(--pill); border-radius: 999px; }

/* Inline red warnings stay readable on dark green */
.icls-theme [style*="color:red"],
.icls-theme [style*="color: red"] { color: var(--danger) !important; }
.icls-theme #wordCount { color: var(--ink-muted); font-size: .9rem; margin-top: .35rem; }
.icls-theme #wordCount[style*="black"] { color: var(--ink-muted) !important; }
.icls-theme #wordCount[style*="red"] { color: var(--danger) !important; }

/* ---------- Pill headings (poster "Important Dates" style) ---------- */
.pill-heading {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--pill);
  color: var(--forest-900) !important;
  font-family: var(--body);
  font-weight: 800;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  letter-spacing: .01em;
  line-height: 1.2;
  padding: .7rem 2rem;
  border-radius: 999px;
  box-shadow: 0 10px 24px -14px rgba(195, 228, 90, .8);
}
.pill-heading.is-small { font-size: 1.05rem; padding: .5rem 1.4rem; }
.pill-heading.is-flush-left { border-radius: 0 999px 999px 0; padding-left: clamp(1rem, 4vw, 3rem); }
.pill-heading.is-flush-right { border-radius: 999px 0 0 999px; background: var(--pill-rev); padding-right: clamp(1rem, 4vw, 3rem); }
.pill-wrap { margin-bottom: 2.25rem; }
.pill-wrap.center { text-align: center; }
.pill-wrap.right { text-align: right; }

/* Section headings inside existing pages (h2.text-3xl etc.) */
.icls-theme main h2.text-3xl,
.icls-theme .container > h2.text-3xl,
.icls-theme .max-w-5xl > h2.text-3xl,
.icls-theme .max-w-4xl > h2.text-3xl {
  display: table;
  margin-left: auto;
  margin-right: auto;
  background: var(--pill);
  color: var(--forest-900);
  font-weight: 800;
  padding: .6rem 2rem;
  border-radius: 999px;
  font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--forest-950);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .65rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  min-width: 0;
}
.brand .brand-logo {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #f4f1e6;
  padding: 3px;
  box-shadow: 0 0 0 3px var(--leaf-500);
  object-fit: contain;
  flex-shrink: 0;
}
.brand .brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand .brand-title {
  font-family: var(--display);
  font-weight: 900;
  color: var(--ink);
  font-size: 1.35rem;
  letter-spacing: .02em;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, .35);
}
.brand .brand-sub {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lime-300);
}
.brand .brand-sust {
  height: 46px;
  width: auto;
  background: #fff;
  border-radius: 12px;
  padding: 3px 5px;
  margin-left: .25rem;
}

.site-nav { display: none; align-items: center; gap: .15rem; }
.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
  padding: .45rem .7rem;
  border-radius: 999px;
  transition: background-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--lime-200); background: rgba(195, 228, 90, .1); }
.site-nav a.active { color: var(--forest-900); background: var(--lime-300); font-weight: 700; }
.site-nav a.nav-cta {
  margin-left: .5rem;
  background: var(--pill);
  color: var(--forest-900);
  font-weight: 700;
  padding: .5rem 1.1rem;
}
.site-nav a.nav-cta:hover { filter: brightness(1.06); color: var(--forest-900); }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--lime-300);
  cursor: pointer;
}
.menu-toggle:hover { background: rgba(195, 228, 90, .1); }
.menu-toggle:focus-visible { outline: 2px solid var(--lime-300); outline-offset: 2px; }

#mobile-menu { border-top: 1px solid var(--line); padding: .5rem 0 1rem; }
#mobile-menu.hidden { display: none; }
#mobile-menu a {
  display: block;
  color: var(--ink-soft);
  text-decoration: none;
  padding: .7rem .9rem;
  border-radius: 12px;
  font-weight: 500;
}
#mobile-menu a:hover { background: rgba(195, 228, 90, .1); color: var(--lime-200); }

@media (min-width: 1100px) {
  .site-nav { display: flex; }
  .menu-toggle { display: none; }
  #mobile-menu { display: none !important; }
}
@media (max-width: 520px) {
  .brand .brand-sust { display: none; }
  .brand .brand-logo { width: 48px; height: 48px; }
}


/* ---------- Buttons ---------- */
.icls-theme .btn {
  font-family: var(--body);
  font-weight: 700;
  border-radius: 999px;
  padding: .6rem 1.3rem;
  border: 2px solid transparent;
  transition: filter .2s ease, background-color .2s ease, color .2s ease;
  gap: .4rem;
  text-decoration: none;
  line-height: 1.2;
}
.icls-theme .btn-lg { padding: .8rem 1.7rem; font-size: 1rem; }
.icls-theme .btn-primary,
.icls-theme .btn-green,
.icls-theme .btn-info {
  background: var(--pill);
  color: var(--forest-900);
  border-color: transparent;
}
.icls-theme .btn-primary:hover,
.icls-theme .btn-green:hover,
.icls-theme .btn-info:hover { filter: brightness(1.07); color: var(--forest-900); background: var(--pill); }
.icls-theme .btn-outline,
.icls-theme .btn-outline-primary {
  background: transparent;
  color: var(--lime-200);
  border-color: var(--lime-300);
}
.icls-theme .btn-outline:hover,
.icls-theme .btn-outline-primary:hover { background: var(--lime-300); color: var(--forest-900); }
.icls-theme .btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- Cards ---------- */
.icls-theme .card,
.icls-theme .bg-white.rounded-lg.shadow-lg {
  background: linear-gradient(160deg, var(--forest-800), var(--forest-850));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.icls-theme .card.bg-green-50,
.icls-theme .card.bg-blue-50,
.icls-theme .card.bg-purple-50 { background: linear-gradient(160deg, var(--forest-700), var(--forest-800)); }
.icls-theme .hover\:shadow-xl:hover { box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7); border-color: rgba(195, 228, 90, .45); }
.icls-theme .card-content { padding: 1.75rem; }
.icls-theme .card h2.text-2xl,
.icls-theme .card h2.text-xl {
  color: var(--lime-300);
  font-weight: 800;
}

/* Portrait photos (patrons, speakers) */
.icls-theme .rounded-full.w-32,
.icls-theme .rounded-full.w-24,
.icls-theme .rounded-full.w-20 {
  overflow: hidden;
  background: var(--forest-700);
  box-shadow: 0 0 0 4px var(--leaf-500), 0 0 0 8px rgba(195, 228, 90, .18);
}
.icls-theme .rounded-full.w-32 { width: 9.5rem; height: 9.5rem; }
.icls-theme .rounded-full.w-20 { width: 6rem; height: 6rem; }
.icls-theme .rounded-full > img[style] { height: 100% !important; width: 100%; object-fit: cover; }
.icls-theme .card-content > img.rounded-full[style] {
  width: 10rem;
  height: 10rem !important;
  display: block;
  margin: .5rem auto 1rem;
  object-fit: cover;
  box-shadow: 0 0 0 4px var(--leaf-500), 0 0 0 8px rgba(195, 228, 90, .18);
}
.icls-theme .rounded-full span.text-green-800 { color: var(--lime-300); }

/* ---------- Page header band (inner pages: .bg-green-600.py-12) ---------- */
.icls-theme .bg-green-600.py-12,
.icls-theme .page-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 31, 27, .96) 0%, rgba(13, 43, 38, .82) 55%, rgba(13, 43, 38, .55) 100%),
    url('/assets/images/banner.png') center / cover no-repeat;
  padding: 4.5rem 0 4rem;
  border-bottom: 1px solid var(--line);
}
.icls-theme .bg-green-600.py-12::before,
.icls-theme .bg-green-600.py-12::after {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 36px;
  transform: rotate(45deg);
  pointer-events: none;
}
.icls-theme .bg-green-600.py-12::before {
  left: -120px;
  top: -140px;
  background: linear-gradient(135deg, var(--leaf-500), var(--leaf-600));
  opacity: .85;
}
.icls-theme .bg-green-600.py-12::after {
  right: -90px;
  bottom: -170px;
  border: 10px solid var(--leaf-500);
  opacity: .7;
}
.icls-theme .bg-green-600.py-12 .container { position: relative; z-index: 1; }
.icls-theme .bg-green-600.py-12 h1 {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .01em;
  color: #fff;
  font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem);
  text-shadow: 4px 4px 0 var(--forest-950);
}
.icls-theme .bg-green-600.py-12 h1::after {
  content: '';
  display: block;
  width: 96px;
  height: 6px;
  margin: 1rem auto 0;
  border-radius: 999px;
  background: var(--pill);
}
.icls-theme .bg-green-600.py-12 p { color: var(--gold-300); }
.icls-theme .bg-green-600.py-12 .text-red-200,
.icls-theme .bg-green-600.py-12 .text-red-100 { color: #ffd3cb; }

/* ---------- Typography inside content ---------- */
.icls-theme .card h3.text-xl.font-semibold,
.icls-theme .card h3.text-lg.font-semibold { color: var(--lime-200); }
.icls-theme .list-disc li::marker { color: var(--lime-300); }
.icls-theme .list-decimal li::marker { color: var(--lime-300); font-weight: 700; }
.icls-theme .font-semibold { color: inherit; }
.icls-theme span.font-semibold { color: var(--lime-200); }
.icls-theme .text-center.text-gray-600 .font-semibold { color: var(--lime-200); }

/* ---------- Forms ---------- */
.icls-theme form label,
.icls-theme .form-label { color: var(--ink); font-weight: 600; font-size: .92rem; margin-bottom: .35rem; display: inline-block; }
.icls-theme form .mb-3 { margin-bottom: 1.25rem; }
.icls-theme input[type="text"],
.icls-theme input[type="email"],
.icls-theme input[type="password"],
.icls-theme input[type="tel"],
.icls-theme input[type="number"],
.icls-theme textarea,
.icls-theme select,
.icls-theme .form-control,
.icls-theme #abstract {
  width: 100%;
  background: var(--forest-950);
  color: var(--ink);
  border: 1px solid rgba(195, 228, 90, .3);
  border-radius: 12px;
  padding: .7rem .9rem;
  font: inherit;
  font-size: .98rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.icls-theme input:focus,
.icls-theme textarea:focus,
.icls-theme select:focus,
.icls-theme .form-control:focus {
  outline: none;
  border-color: var(--lime-300);
  box-shadow: 0 0 0 3px rgba(195, 228, 90, .22);
}
.icls-theme .form-check {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .55rem .8rem;
  margin-bottom: .4rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(8, 31, 27, .5);
}
.icls-theme .form-check:hover { border-color: rgba(195, 228, 90, .5); }
.icls-theme .form-check-input { accent-color: var(--lime-300); width: 1.05rem; height: 1.05rem; flex-shrink: 0; }
.icls-theme .form-check-label { color: var(--ink-soft); font-weight: 500; margin: 0; }

/* Tabs */
.icls-theme .tab-trigger { background: var(--forest-700); color: var(--ink-soft); border: 0; border-radius: 999px; }
.icls-theme .tab-trigger:hover { background: var(--forest-800); }
.icls-theme .tab-trigger[aria-selected="true"] { background: var(--pill); color: var(--forest-900); }

/* Alerts on abstract page */
.icls-theme .bg-green-100.border,
.icls-theme .bg-red-100.border { border-radius: var(--radius); }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--forest-950);
  border-top: 1px solid var(--line);
  padding: 4rem 0 2rem;
  color: var(--ink-muted);
}
.site-footer::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -420px;
  width: 640px;
  height: 640px;
  transform: translateX(-50%) rotate(45deg);
  border-radius: 64px;
  background: linear-gradient(135deg, var(--leaf-500), var(--leaf-600));
  opacity: .18;
  pointer-events: none;
}
.site-footer .container { position: relative; }
.site-footer .footer-grid { display: grid; gap: 2.5rem; }
.site-footer .footer-brand { display: flex; align-items: center; gap: 1rem; }
.site-footer .footer-brand img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #f4f1e6;
  padding: 3px;
  box-shadow: 0 0 0 3px var(--leaf-500);
}
.site-footer h4 {
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.6rem;
  color: #fff;
  text-shadow: 3px 3px 0 #000;
}
.site-footer .eyebrow {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--lime-300);
  font-weight: 700;
  margin-bottom: .6rem;
}
.site-footer .org {
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.45;
}
.site-footer .org span { display: block; }
.site-footer .copyright {
  border-top: 1px solid var(--line);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: .85rem;
}
.icls-theme .social-icon {
  width: 42px;
  height: 42px;
  background: var(--pill);
  color: var(--forest-900);
}
.icls-theme .social-icon:hover { background: var(--lime-200); color: var(--forest-900); }
@media (min-width: 768px) {
  .site-footer .footer-grid { grid-template-columns: 1.1fr 1.3fr .8fr; align-items: start; }
}

/* ==========================================================================
   Home page
   ========================================================================== */

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(3.5rem, 7vw, 6rem);
  background: var(--forest-900);
}
.hero .shape {
  position: absolute;
  transform: rotate(45deg);
  border-radius: 56px;
  pointer-events: none;
}
.hero .shape-a {
  width: 760px;
  height: 760px;
  left: -330px;
  top: -360px;
  background: linear-gradient(135deg, var(--leaf-500) 0%, var(--leaf-400) 60%, var(--leaf-600) 100%);
}
.hero .shape-b {
  width: 360px;
  height: 360px;
  right: -140px;
  bottom: -190px;
  background: var(--leaf-600);
  opacity: .55;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }

.hero-title {
  font-family: var(--display);
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  line-height: .98;
  letter-spacing: -.005em;
  text-shadow: 5px 5px 0 #000;
  margin-bottom: 1rem;
}
.hero-title .l1 { display: block; font-size: clamp(2.1rem, 1.2rem + 4.2vw, 4.6rem); }
.hero-title .l2 { display: block; font-size: clamp(2.1rem, 1.2rem + 4.2vw, 4.6rem); }
.hero-title .l3 { display: block; font-size: clamp(2.1rem, 1.2rem + 4.2vw, 4.6rem); }
.hero-title .accent { color: var(--lime-200); }
.hero-tagline {
  color: var(--gold-300);
  font-size: clamp(1rem, .9rem + .5vw, 1.3rem);
  font-weight: 500;
  margin-bottom: 1.75rem;
}

.hero-side { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.hero-badge {
  position: relative;
  width: clamp(170px, 22vw, 230px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f4f1e6;
  box-shadow: 0 0 0 6px var(--forest-900), 0 0 0 10px var(--leaf-500), var(--shadow);
  display: grid;
  place-items: center;
}
.hero-badge img { width: 92%; height: 92%; object-fit: contain; }
.hero-badge .badge-label {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%) rotate(-6deg);
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.6rem;
  color: #fff;
  white-space: nowrap;
  text-shadow: 3px 3px 0 #000;
}
.hero-pill {
  width: 100%;
  max-width: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  background: var(--pill);
  color: var(--forest-900);
  font-weight: 800;
  font-size: clamp(1.05rem, .95rem + .5vw, 1.35rem);
  padding: .75rem 1.25rem;
  border-radius: 999px;
  text-align: center;
  box-shadow: 0 12px 26px -16px rgba(195, 228, 90, .9);
}
.hero-pill svg { width: 22px; height: 22px; flex-shrink: 0; }
.hero-badge + .hero-pill { margin-top: 1.6rem; }

.countdown-box {
  display: inline-flex;
  flex-direction: column;
  gap: .5rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: rgba(8, 31, 27, .55);
  border: 1px solid var(--line);
  margin-bottom: 1.75rem;
}
.countdown-box .label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--lime-300);
}
#countdown {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
  color: #fff;
  font-variant-numeric: tabular-nums;
}
#countdown .countdown-unit {
  min-width: 2.6ch;
  text-align: center;
  padding: .25rem .4rem;
  border-radius: 10px;
  background: var(--forest-950);
  border: 1px solid var(--line);
}
#countdown .countdown-separator { color: var(--lime-300); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.45fr 1fr; }
}
@media (max-width: 899px) {
  .hero .shape-a { width: 520px; height: 520px; left: -300px; top: -300px; }
}

/* Generic section spacing */
.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; position: relative; }
.section.alt { background: var(--forest-850); }

/* Overview */
.overview-grid { display: grid; gap: 2.75rem; align-items: center; }
.overview-copy p { color: var(--ink-soft); margin-bottom: 1rem; }
.themes-list { list-style: none; margin: 1rem 0 0; padding: 0; }
.themes-list li {
  position: relative;
  padding: .65rem 0 .65rem 1.6rem;
  font-size: clamp(1rem, .95rem + .3vw, 1.2rem);
  color: var(--ink);
  border-bottom: 1px solid rgba(195, 228, 90, .14);
}
.themes-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translateY(-50%) rotate(45deg);
  border-radius: 2px;
  background: var(--lime-300);
}

.diamond-frame {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  margin: 0 auto;
}
.diamond-frame .diamond {
  position: absolute;
  inset: 14.6%;
  transform: rotate(45deg);
  border-radius: 40px;
  overflow: hidden;
  border: 8px solid var(--leaf-500);
  box-shadow: var(--shadow);
  background: var(--forest-800);
}
.diamond-frame .diamond img {
  position: absolute;
  inset: -21%;
  width: 142%;
  height: 142%;
  max-width: none;
  object-fit: cover;
  transform: rotate(-45deg);
}
.poster-frame {
  display: block;
  max-width: 340px;
  margin: 0 auto;
  border-radius: var(--radius);
  padding: 10px;
  background: var(--pill);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}
.poster-frame img { display: block; border-radius: 12px; width: 100%; height: auto; }
.overview-visual { display: grid; gap: 2rem; justify-items: center; }

@media (min-width: 900px) {
  .overview-grid { grid-template-columns: 1.25fr 1fr; }
}

/* People (patrons / speakers) */
.people-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .people-grid { grid-template-columns: 1fr 1fr; } }
.people-col > .pill-wrap { margin-bottom: 1.75rem; }
.people-col .stack { display: grid; gap: 1.25rem; }
.person-card { text-align: center; }
.person-card .card-content { display: flex; flex-direction: column; align-items: center; }
.person-card .role {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--forest-900);
  background: var(--lime-300);
  border-radius: 999px;
  padding: .3rem .85rem;
  margin-bottom: 1.1rem;
}
.person-card .name { color: #fff; font-weight: 700; font-size: 1.1rem; margin-top: .25rem; }
.person-card .title { color: var(--gold-300); font-weight: 500; margin-top: .4rem; }
.person-card .org { color: var(--ink-muted); font-size: .9rem; margin-top: .25rem; }
.person-card .bio { color: var(--ink-soft); font-size: .9rem; margin-top: .75rem; }
.person-photo {
  width: 9.5rem;
  height: 9.5rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--forest-700);
  box-shadow: 0 0 0 4px var(--leaf-500), 0 0 0 9px rgba(195, 228, 90, .16);
  margin: .25rem auto 1.1rem;
  flex-shrink: 0;
}
.person-photo.sm { width: 6.25rem; height: 6.25rem; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sub-heading {
  text-align: center;
  color: var(--lime-200);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: .5rem 0 1.25rem;
}
.speakers-2 { display: grid; gap: 1.25rem; }
.speakers-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.speakers-grid .card-content { padding: 1.25rem .9rem; }
.speakers-grid .name { font-size: .95rem; }
.speakers-grid .title { font-size: .82rem; }
.speakers-grid .org { font-size: .8rem; }
@media (min-width: 640px) { .speakers-2 { grid-template-columns: 1fr 1fr; } }

/* Important dates — poster right-aligned label / gold date */
.dates-grid { display: grid; gap: 1.25rem; max-width: 64rem; margin: 0 auto; }
@media (min-width: 768px) { .dates-grid { grid-template-columns: repeat(3, 1fr); } }
.date-item {
  position: relative;
  padding: 1.6rem 1.5rem 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--forest-800), var(--forest-850));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.date-item::after {
  content: '';
  position: absolute;
  right: -34px;
  top: -34px;
  width: 80px;
  height: 80px;
  transform: rotate(45deg);
  border-radius: 14px;
  background: var(--leaf-500);
  opacity: .35;
}
.date-item h3 { color: #fff; font-weight: 800; font-size: 1.15rem; margin-bottom: .35rem; }
.date-item p { color: var(--gold-300); font-weight: 500; font-size: 1.1rem; }

/* Registration fees — poster bullet style */
.fees-block { max-width: 64rem; margin: 0 auto; }
.fees-block + .fees-block { margin-top: 3rem; }
.fees-block .group-title {
  color: var(--lime-200);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 1rem;
  text-align: center;
  margin-bottom: 1.25rem;
}
.fees-grid { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) {
  .fees-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fees-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 44rem; margin: 0 auto; }
}
.fee-item {
  border-radius: var(--radius);
  padding: 1.5rem;
  background: linear-gradient(160deg, var(--forest-800), var(--forest-850));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.fee-item .row {
  display: flex;
  flex-wrap: wrap; /* on very narrow phones the amount drops under the name instead of overflowing */
  align-items: baseline;
  justify-content: space-between;
  gap: .25rem 1rem;
}
.fee-item .who {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 500;
}
.fee-item .who::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
}
.fee-item .amount { color: #fff; font-size: 1.35rem; font-weight: 600; white-space: nowrap; }
.fee-item .amount.accent { color: var(--lime-200); }
.fee-item .note { color: var(--ink-muted); font-size: .88rem; margin-top: .5rem; padding-left: 1.2rem; }

/* Schedule */
.schedule-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .icls-theme *, .icls-theme *::before, .icls-theme *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Latest update card (home, overlaps the hero)
   ========================================================================== */
.hero { padding-bottom: clamp(6rem, 10vw, 8rem); }
.updates {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, transparent 0 4.5rem, var(--forest-850) 4.5rem);
  margin-top: -4.5rem;
}
.updates-card {
  display: grid;
  gap: 1.75rem;
  align-items: center;
  padding: clamp(1.4rem, 3vw, 2.25rem);
  border-radius: 24px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(195, 228, 90, .12), transparent 55%),
    linear-gradient(160deg, #17443a, var(--forest-850));
  border: 1px solid rgba(195, 228, 90, .32);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.updates-tag {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--forest-900);
  background: var(--lime-300);
  padding: .35rem .85rem;
  border-radius: 999px;
  margin-bottom: .9rem;
}
.updates-tag .pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--forest-900);
}
.updates-tag .pulse::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid rgba(13, 43, 38, .45);
}
.updates-headline {
  color: #fff;
  font-weight: 700;
  font-size: clamp(1.05rem, .95rem + .5vw, 1.3rem);
  line-height: 1.4;
  margin-bottom: .5rem;
}
.updates-note { color: var(--gold-300); font-size: .95rem; }
.updates-links { display: grid; gap: .7rem; }
.doc-tile {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .8rem 1rem;
  border-radius: 16px;
  background: rgba(8, 31, 27, .6);
  border: 1px solid var(--line);
  color: var(--ink) !important;
  text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.doc-tile:hover {
  border-color: var(--lime-300);
  background: rgba(195, 228, 90, .1);
}
.doc-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--pill);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.doc-text { display: flex; flex-direction: column; line-height: 1.25; flex: 1; min-width: 0; }
.doc-text strong { font-weight: 700; font-size: .98rem; }
.doc-text small { color: var(--ink-muted); font-size: .72rem; letter-spacing: .12em; font-weight: 600; }
.doc-arrow { width: 20px; height: 20px; color: var(--lime-300); flex-shrink: 0; }
@media (min-width: 900px) {
  .updates-card { grid-template-columns: 1.15fr 1fr; gap: 2.5rem; }
}

/* ==========================================================================
   Motion (vanilla Framer Motion) support
   Calm by design: content only fades. Nothing slides, scales, bobs or
   cascades, and hover feedback is a glow, so nothing moves under the cursor.
   ========================================================================== */
/* Hide the opening content before first paint; site-motion.js fades it in.
   A timeout in the head removes this class if the script never runs. */
html.motion-pending :is(.hero .container, .bg-green-600.py-12 .container) { opacity: 0 !important; }

.site-header { transition: box-shadow .3s ease; }
.site-header.is-scrolled { box-shadow: 0 12px 30px -18px rgba(0, 0, 0, .9); }

.icls-theme .card,
.icls-theme .date-item,
.icls-theme .fee-item { transition: border-color .25s ease, box-shadow .25s ease; }
.icls-theme .card:hover,
.icls-theme .date-item:hover,
.icls-theme .fee-item:hover {
  border-color: rgba(195, 228, 90, .45);
  box-shadow: 0 0 0 1px rgba(195, 228, 90, .45), var(--shadow);
}
.contact-item:hover,
.doc-tile:hover { box-shadow: 0 0 0 1px rgba(195, 228, 90, .45), var(--shadow); }

@media (prefers-reduced-motion: reduce) {
  html.motion-pending * { opacity: 1 !important; }
}

/* ==========================================================================
   ICLS 2027 (2nd edition) flyer layout
   ========================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Hero (ICLS 2027 flyer), three columns on desktop:
   left = ICLS logo, center = title, dates, countdown + Register (center-aligned),
   right = campus photo diamond with the SUST logo. Phones stack them, title + countdown first.
   Sizes are capped by the viewport height (vh), so the countdown and the Register button are on
   the first screen, without scrolling, on phones, tablets, laptops and desktops. */
.hero-2027 { padding-top: clamp(1rem, 3.5vh, 3rem); }

.hero-layout {
  display: grid;
  gap: clamp(2rem, 5vh, 3rem);
  align-items: center;
}
.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(.75rem, 2vh, 1.25rem);
  min-width: 0;
}

.hero-title.v2 {
  position: relative;
  display: inline-grid;
  justify-items: center; /* every line sits on the same center line as the tagline, dates and countdown */
  text-transform: uppercase;
  line-height: 1;
  text-shadow: 4px 4px 0 rgba(0, 0, 0, .85);
  margin: 0;
  --ord: clamp(2.8rem, 14vw, 5.5rem); /* size of the script "2nd" */
}
.hero-title.v2 .ordinal {
  /* hangs just left of the title, outside the text, so it never shifts the title off center */
  position: absolute;
  right: calc(100% + .08em);
  top: -.2em; /* small overhang, so the "2" is never clipped at the top of the hero */
  font-family: 'Great Vibes', 'Brush Script MT', cursive;
  font-weight: 400;
  text-transform: none;
  color: #fff;
  font-size: var(--ord);
  line-height: 1;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, .6);
}
.hero-title.v2 .ordinal sup {
  font-size: .38em;
  vertical-align: top;
  position: relative;
  top: .35em;
  margin-left: -.1em;
}
.hero-title.v2 .l1,
.hero-title.v2 .l2,
.hero-title.v2 .l3 { display: block; }
.hero-title.v2 .l1 { font-size: clamp(1.9rem, min(1rem + 3.6vw, 6.5vh), 4rem); letter-spacing: .01em; }
.hero-title.v2 .l2 { font-size: clamp(1.7rem, min(.9rem + 3.2vw, 5.8vh), 3.6rem); letter-spacing: .18em; margin-right: -.18em; }
.hero-title.v2 .l3 { font-size: clamp(2rem, min(1rem + 3.8vw, 6.8vh), 4.2rem); }
.hero-title.v2 .l3 small { font-size: .55em; vertical-align: .18em; color: #fff; }
.hero-title.v2 .accent { color: var(--lime-200); }
.hero-2027 .hero-tagline { margin: 0; max-width: 36rem; text-wrap: balance; }

.hero-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.hero-2027 .hero-pill {
  width: auto;
  max-width: none;
  padding: clamp(.5rem, 1.3vh, .75rem) clamp(1rem, 2vw, 1.3rem);
  border-radius: 999px;
  font-size: clamp(.95rem, min(.85rem + .5vw, 2.4vh), 1.2rem);
  white-space: nowrap;
}
.hero-2027 .hero-pill svg { width: 1.15em; height: 1.15em; }

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .9rem;
  width: 100%;
  max-width: 360px;
}
.hero-2027 .countdown-box {
  margin: 0;
  gap: .4rem;
  align-items: center;
  padding: clamp(.6rem, 1.6vh, 1rem) clamp(.9rem, 1.6vw, 1.25rem);
}
.hero-2027 #countdown { font-size: clamp(1.3rem, min(1.1rem + 1vw, 4.2vh), 2rem); }
.hero-2027 .hero-actions { display: flex; flex-direction: column; align-items: stretch; gap: .6rem; }
.hero-2027 .hero-actions .btn { justify-content: center; text-align: center; }
.hero-2027 .btn-soon { font-size: .88rem; padding: .55rem 1.1rem; }
.soon-short { display: none; }

/* Left: the ICLS logo with its "ICLS 2027" label */
.hero-logo { display: flex; justify-content: center; }
.hero-logo .hero-badge {
  width: clamp(96px, 26vw, 130px);
  margin-bottom: 2.2rem; /* room for the label below the logo */
  box-shadow: 0 0 0 4px var(--forest-900), 0 0 0 8px var(--leaf-500), var(--shadow);
}
.hero-logo .hero-badge img { width: 96%; height: 96%; }
.hero-logo .hero-badge .badge-label {
  bottom: auto;
  top: calc(100% + 12px);
  transform: translateX(-50%) rotate(-4deg);
  font-size: clamp(1rem, 2.4vh, 1.45rem);
  line-height: 1; /* box hugs the letters */
}

/* Right: the SUST logo, large, in a white flyer diamond.
   The diamond is 64% of the box, so once rotated 45° it (and its green ring) still fit inside it. */
.hero-visual {
  width: min(100%, 220px);
  aspect-ratio: 1;
  justify-self: center;
  display: grid;
  place-items: center;
}
.hero-visual .hero-sust { width: 64%; }
.hero-sust-diamond {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 22%;
  transform: rotate(45deg);
  background: #fff;
  box-shadow: 0 0 0 8px var(--leaf-500), var(--shadow);
}
.hero-sust-diamond img {
  width: 74%;
  height: auto;
  transform: rotate(-45deg);
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .3));
}

@media (min-width: 900px) {
  .hero-2027 { padding-top: clamp(1.5rem, 5.5vh, 3.5rem); } /* headroom for the script "2nd" */
  /* equal side columns keep the middle column exactly in the center of the page */
  .hero-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); }
  .hero-logo .hero-badge { width: clamp(110px, min(13vw, 21vh), 200px); }
  .hero-visual { width: min(100%, 42vh, 300px); }
  .hero-cta { align-items: center; width: auto; max-width: none; }
  .hero-2027 .hero-actions { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; }
  /* the title shares its row with the two side columns, so it is sized to the center column */
  .hero-title.v2 { --ord: clamp(3.4rem, min(8.5vw, 14vh), 6rem); }
  .hero-title.v2 .l1 { font-size: clamp(1.7rem, min(4.4vw, 6.5vh), 3.25rem); }
  .hero-title.v2 .l2 { font-size: clamp(1.5rem, min(3.95vw, 5.8vh), 2.9rem); }
  .hero-title.v2 .l3 { font-size: clamp(1.8rem, min(4.6vw, 6.8vh), 3.4rem); }
}
/* Narrower desktops: the short "Abstracts · Coming Soon" label keeps both buttons on one row */
@media (min-width: 900px) and (max-width: 1199px) {
  .soon-long { display: none; }
  .soon-short { display: inline; }
}
@media (max-width: 899px) {
  .hero-2027 .hero-tagline { font-size: clamp(.95rem, .85rem + .5vw, 1.1rem); }
  .hero-text { order: -1; } /* phones: title + countdown first, then the logo and the photo */
}
/* Narrow phones: shorter labels keep both pills and the buttons on one line */
@media (max-width: 420px) {
  .hero-2027 .pill-extra { display: none; }
  .soon-long { display: none; }
  .soon-short { display: inline; }
}
/* Very narrow phones (320px and below): scale the headline and pills down so nothing spills sideways */
@media (max-width: 350px) {
  .hero-title.v2 { --ord: 3.6rem; }
  .hero-title.v2 .l1 { font-size: 1.55rem; }
  .hero-title.v2 .l2 { font-size: 1.4rem; }
  .hero-title.v2 .l3 { font-size: 1.65rem; }
  .hero-2027 .hero-pill { font-size: .85rem; padding: .45rem .8rem; }
  .hero-2027 #countdown { font-size: 1.15rem; }
  .hero-2027 .hero-tagline { font-size: .85rem; }
  .brand .brand-logo { width: 40px; height: 40px; }
  .brand .brand-title { font-size: 1.15rem; }
  .fee-item { padding: 1rem 1.1rem; }
}
/* Phones held sideways and other very short screens: headline + dates on the left,
   countdown + Register on the right, under a slimmer header, so all of it fits in one screen. */
@media (max-height: 520px) and (min-width: 560px) {
  .site-header .bar { padding: .3rem 0; }
  .brand .brand-logo { width: 42px; height: 42px; }
  .brand .brand-sust { height: 34px; }
  .brand .brand-title { font-size: 1.1rem; }

  .hero-2027 { padding-top: .75rem; }
  .hero-layout { grid-template-columns: minmax(0, 1fr); }
  .hero-logo,
  .hero-visual { display: none; }
  .hero-text {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "title cta" "tagline cta" "pills cta";
    gap: .5rem 1.75rem;
    align-items: center;
    justify-items: start;
    text-align: left;
  }
  .hero-text .hero-title { grid-area: title; }
  .hero-text .hero-tagline { grid-area: tagline; font-size: .9rem; }
  .hero-text .hero-pills { grid-area: pills; justify-content: flex-start; }
  .hero-text .hero-cta { grid-area: cta; justify-self: end; width: 100%; max-width: 340px; align-items: stretch; }
  .hero-2027 .countdown-box { align-items: center; }
  .hero-2027 .hero-actions { flex-direction: column; align-items: stretch; }
  /* left-aligned here, so the "2nd" sits inside the title block again */
  .hero-title.v2 { --ord: clamp(2.8rem, 19vh, 6rem); padding-left: calc(var(--ord) * .85); justify-items: end; }
  .hero-title.v2 .ordinal { left: 0; right: auto; }
  .hero-title.v2 .l1 { font-size: clamp(1.2rem, 7.5vh, 2.4rem); }
  .hero-title.v2 .l2 { font-size: clamp(1.1rem, 6.7vh, 2.15rem); }
  .hero-title.v2 .l3 { font-size: clamp(1.3rem, 7.8vh, 2.5rem); }
  .hero-2027 .pill-extra { display: none; }
  .hero-2027 .hero-pill { font-size: .8rem; padding: .4rem .8rem; }
  .hero-2027 #countdown { font-size: clamp(1.1rem, 6vh, 1.6rem); }
}

/* Leadership */
.leaders-grid { display: grid; gap: 1.25rem; max-width: 64rem; margin: 0 auto; }
@media (min-width: 768px) { .leaders-grid { grid-template-columns: repeat(3, 1fr); } }
.person-photo.monogram {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--forest-700), var(--forest-950));
  color: var(--lime-200);
  font-family: var(--display);
  font-weight: 900;
  font-size: 2.2rem;
  letter-spacing: .04em;
  width: 7.5rem;
  height: 7.5rem;
}
.tba-card {
  max-width: 44rem;
  margin: 2.5rem auto 0;
  text-align: center;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  border: 1px dashed rgba(195, 228, 90, .45);
  background: rgba(8, 31, 27, .4);
}
.tba-card .sub-heading { margin-top: 0; }
.tba-card p { color: var(--gold-300); }

/* Dates: four across on wide screens */
@media (min-width: 768px) { .dates-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .dates-grid.cols-4 { grid-template-columns: repeat(4, 1fr); max-width: 72rem; } }

/* Fees: national list is four items in two columns */
.fees-grid.cols-2 .fee-item { padding: 1.15rem 1.4rem; }

.schedule-note { color: var(--gold-300); max-width: 36rem; }

/* Contact strip */
.contact-strip { padding: 3rem 0; border-top: 1px solid var(--line); }
.contact-grid { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }
.contact-item {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .9rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--forest-800), var(--forest-850));
  color: var(--ink) !important;
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease;
  min-width: 0;
}
.contact-item:hover { border-color: var(--lime-300); }
.contact-item > span:last-child { display: flex; flex-direction: column; min-width: 0; overflow-wrap: break-word; font-weight: 600; font-size: .95rem; }
.contact-item small { color: var(--lime-300); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.ci-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--pill);
  color: var(--forest-900);
  flex-shrink: 0;
}
.ci-icon svg { width: 20px; height: 20px; }

/* Footer contact lines */
.site-footer .contact-lines { display: grid; gap: .35rem; margin-top: 1rem; font-size: .9rem; }
.site-footer .contact-lines a { color: var(--ink-soft); text-decoration: none; }
.site-footer .contact-lines a:hover { color: var(--lime-200); }


/* Fee cards: room for long category names; contact tiles: balanced 3 + 2 rows */
@media (min-width: 768px) {
  .fees-grid.cols-2 { max-width: 56rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Long fee names stay on one line only where the cards are wide enough (never wider than the screen) */
@media (min-width: 1000px) { .fee-item .who { white-space: nowrap; } }
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 64rem;
  margin: 0 auto;
}
.contact-grid .contact-item { flex: 1 1 280px; max-width: 330px; }

/* "Coming soon" states for abstract submission */
.icls-theme .btn-soon {
  background: rgba(195, 228, 90, .08);
  color: var(--lime-200);
  border: 2px dashed rgba(195, 228, 90, .55);
  cursor: default;
}
.doc-tile.is-soon { cursor: default; opacity: .85; }
.doc-tile.is-soon:hover { border-color: var(--line); background: rgba(8, 31, 27, .6); box-shadow: none; }
.soon-chip {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--forest-900);
  background: var(--gold-300);
  border-radius: 999px;
  padding: .25rem .6rem;
  flex-shrink: 0;
}

/* Mobile: tighter update card */
@media (max-width: 560px) {
  .updates-card { padding: 1.25rem; }
  .doc-tile { padding: .75rem .85rem; gap: .7rem; }
}

/* Logo badges: white backgrounds (hero badge size and spacing live in the 2027 hero block) */
.brand .brand-logo,
.site-footer .footer-brand img,
.hero-badge { background: #fff; }

