/* =========================================================================
   IDA Awards — theme stylesheet
   Transcribed 1:1 from the v5 design handoff ("IDA Awards v5.dc.html" +
   README.md). Every color, size, spacing value, hover state and transition
   below comes from that reference; where the reference used an inline
   style, it lives here as a class instead (README: "enqueued (not inline)
   styles/scripts").

   Design system rules that hold everywhere:
     - ZERO border-radius anywhere, and no circles. The kicker marker is a
       triangle; every state indicator is a square. (The two former
       exceptions — the round kicker dot and the rounded scrollbar thumb on
       the category menu — are gone.) Soft radial glows behind the hero and
       the CTA band are light, not shapes, and are not covered by this.
     - 1px hairline borders only.
     - Accents rotate per item (categories, steps, judges, stats, phases) —
       never one flat color repeated down a list.
     - Every ↗ (north_east) icon rotates 45° on hover of its whole button.
   ========================================================================= */

:root {
  /* Core palette — exact hex from the README's "Color palette" section. */
  --ida-black: #000000;
  --ida-near-black: #0B0B0B;
  --ida-hairline-dark: #232323;
  --ida-white: #FFFFFF;
  --ida-violet: #5203C6;
  --ida-violet-2: #8A3FD6;
  --ida-violet-deep: #3A0B7A;
  --ida-teal: #39DABC;
  --ida-teal-2: #0E9E82;
  --ida-teal-3: #1B8F9E;
  /* The teal for words on a white ground. The brand teal is a fill and an
     accent on dark; as 16px text on white it measures 1.8:1. Same hue,
     readable weight — used only where teal is TEXT on a light ground. */
  --ida-teal-ink: #0B7A66;
  --ida-hairline-light: #E2E2E4;
  --ida-grey-3: #5F5F66;
  --ida-grey-4: #6E6E76;
  --ida-grey-on-dark: #8A8A90;
  --ida-grey-on-dark-2: #9A9AA0;

  /* Supporting values the reference uses inline. */
  --ida-body-grey: #B0B0B5;
  --ida-nav-dot: #B5B5BC;
  --ida-violet-tint: #F7F3FD;
  --ida-violet-tint-2: #F7F5FB;
  --ida-violet-tint-3: #F0EBFB;
  --ida-mesh-scrim: rgba(255,255,255,.92);
  /* Card ground on the black sections — a step up from the section itself,
     so a card reads as a panel rather than a border drawn on nothing. */
  --ida-card-dark: #101014;
  --ida-field-border: #D6D6DA;
  --ida-placeholder: #9A9AA0;
  --ida-red: #C0392B;
  --ida-violet-ring: rgba(82,3,198,.14);
  --ida-red-ring: rgba(192,57,43,.14);
  --ida-on-violet-kicker: #D9C7F5;
  --ida-on-violet-body: #E4D8F8;
  --ida-footer-rule: #4A4A50;
  --ida-ink-blue: #141428;

  --ida-ease: .18s ease;
  --ida-wrap: 1320px;
  /* One vertical rhythm for every full-bleed section, so neighbouring
     sections always have the same air between them. Sections used to set
     their own padding, and two of them set a bottom of 0 — which is how the
     "Why IDA exists" cards ended up touching the section below. */
  --ida-section-y: 78px;
  --ida-section-y-sm: 60px;

  /* =====================================================================
     TYPE SCALE — see the header of this file for why there are sixteen
     values here where there used to be fifty-five.
     ===================================================================== */
  /* ---- Display. Fluid, and every step hits its minimum at 390px and
     its maximum at 1440px, so no two ranks can ever cross. ---- */
  --ida-d-hero:  clamp(40px, calc(20.69px + 4.952vw), 92px);
  --ida-d-2:     clamp(30px, calc(20.34px + 2.476vw), 56px);
  --ida-d-3:     clamp(24px, calc(19.54px + 1.143vw), 36px);
  --ida-d-4:     clamp(20px, calc(17.77px + 0.571vw), 26px);

  /* ---- Figures and ornament glyphs. A monogram is sized to its
     square, not to the text around it — same reasoning as an icon. ---- */
  /* The floor is 34, not 42. At 42 the stat figures were LARGER than the
     hero headline (40) on a phone and smaller than it everywhere else —
     the one crossing the shared 390/1440 anchors cannot prevent, because
     it comes from the floors themselves, not the curves. The hero is the
     biggest thing on the page at every width or it is not the hero. */
  --ida-fig:     clamp(34px, calc(21.37px + 3.238vw), 68px);
  --ida-fig-xl:  clamp(64px, calc(40.23px + 6.095vw), 128px);
  --ida-mono:    clamp(32px, calc(26.06px + 1.524vw), 48px);

  /* ---- Text. FIXED, not fluid: a reading size should not change
     because the window did. Only the lede scales, because it is
     display-adjacent. ---- */
  --ida-t-micro: 12px;
  --ida-t-sm:    15px;
  --ida-t-base:  18px;
  --ida-t-lede:  clamp(18px, calc(16.51px + 0.381vw), 22px);

  /* ---- Icons. Material Symbols is a font; left on the text scale an
     icon drags its caption around. ---- */
  --ida-i-xs:    16px;
  --ida-i-sm:    18px;
  --ida-i-md:    20px;
  --ida-i-lg:    24px;
  --ida-i-xl:    28px;
  /* The gap between a section's heading block and its content. Was set
     per-section and drifted to 38 / 28 / 0 — the sponsors grid ended up
     touching its own title. */
  --ida-head-gap: 40px;
  /* Motion: one easing curve for entrances (a soft decelerate, the
     signature of a Framer/Webflow build) and one for micro-interactions. */
  --ida-ease-out: cubic-bezier(.16,1,.3,1);
  --ida-reveal-delay: 0ms;
}

/* -------------------------------------------------------------------------
   Reset — matches the reference file's own reset exactly
   ---------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Component classes that set display (grid/flex) tie with the browser's
   default [hidden] rule on specificity — several templates toggle
   visibility with a plain `hidden` attribute (finalist grids, voter-gate
   steps, form states), so this must always win. */
[hidden] { display: none !important; }

body.ida-body {
  margin: 0;
  background: var(--ida-black);
  font-family: Poppins, system-ui, sans-serif;
  color: var(--ida-white);
  -webkit-font-smoothing: antialiased;
}
/* NOTE: no overflow-x:hidden on html/body/.ida-site. Any overflow rule on
   an ancestor turns it into the scroll container for position:sticky,
   which silently stops the header sticking to the viewport. Every element
   that bleeds past its edges (hero glow blobs, the pillars mesh artwork,
   the CTA band glows, the marquee track) already clips itself with its
   own overflow:hidden, so nothing needs clipping at the root. */
.ida-site { width: 100%; background: var(--ida-black); }
/* :where() on the element resets, same reason as the anchor rule below:
   at (0,1,1) `.ida-body p` beat every single-class component that tried to
   set its own margin — which is why the vote footnote sat flush against
   the card above it however much margin its own rule asked for. Wrapped in
   :where() the reset drops to (0,1,0) and component classes win normally. */
.ida-body :where(h1, h2, h3) { margin: 0; font-weight: 700; letter-spacing: 0; overflow-wrap: anywhere; }
.ida-body :where(p) { margin: 0; }
/* :where() keeps these resets at (0,1,0) so real component classes below
   always win on source order — without it `.ida-body a` at (0,1,1) beats
   every single-class button rule and repaints half the site teal. */
.ida-body :where(a) { color: var(--ida-teal); text-decoration: none; }
.ida-body :where(a:hover) { color: var(--ida-white); }
.ida-body :where(button) { font-family: inherit; border: none; background: none; cursor: pointer; }
.ida-body input, .ida-body textarea, .ida-body select { font-family: inherit; }
.ida-body img { max-width: 100%; }

/* Accessibility: standard WP screen-reader-text pattern + visible skip link. */
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; width: 1px; overflow: hidden; position: absolute !important;
  word-wrap: normal !important; margin: -1px; padding: 0;
}
.ida-skip-link.screen-reader-text:focus {
  clip: auto !important; clip-path: none; height: auto; width: auto;
  overflow: visible; display: block; top: 6px; right: 6px; z-index: 100000;
  background: var(--ida-teal); color: var(--ida-black);
  padding: 14px 20px; font-weight: 600; text-transform: uppercase;
}
:focus-visible { outline: 2px solid var(--ida-teal); outline-offset: 2px; }

.ms {
  font-family: 'Material Symbols Rounded';
  font-weight: normal; font-style: normal; line-height: 1;
  text-transform: none; display: inline-block; white-space: nowrap;
  /* One glyph wide, clipped: until the icon font arrives the word ("north_east")
     must not push the layout around or show through. */
  width: 1em; overflow: hidden;
  direction: rtl; -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

/* -------------------------------------------------------------------------
   Shared texture + motion primitives (reference's own \3c style> block)
   ---------------------------------------------------------------------- */
.ida-grain { position: relative; }
.ida-grain::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  opacity: .055; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Selected text is the brand, not the browser's blue. */
::selection { background: var(--ida-violet); color: var(--ida-white); }

@keyframes ida-marquee { from { transform: translateX(0); } to { transform: translateX(50%); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ida-marquee-track { animation: none !important; }
  .ida-pillar:hover, .ida-tier:hover { transform: none !important; }
  /* Everything that drifts stops here, the hero marks included — they were
     added after this block was written and were still floating. */
  .ida-hero-mark { animation: none !important; }
}

/* THE signature interaction: the arrow rotates on hover of the whole
   button/link, not just the icon. */
.ida-arrow-btn { cursor: pointer; }
.ida-arrow { transition: transform var(--ida-ease); }
.ida-arrow-btn:hover .ida-arrow { transform: rotate(-45deg); }
/* Button hover rule: a button NEVER hovers to black. Black killed the arrow
   — violet on black is almost invisible, and the button looked disabled.
   Teal is the hover across the whole site; because teal is light, the label
   and the arrow both go black on it. */

/* -------------------------------------------------------------------------
   Layout helpers
   ---------------------------------------------------------------------- */
.ida-wrap { max-width: var(--ida-wrap); margin: 0 auto; }
/* Sections that carry their own background run edge to edge while their
   CONTENT stays on the 1560px grid. The reference file boxes these at
   1560px because its canvas IS 1560 wide — reproduced literally, a
   white section on a 2000px screen becomes a floating panel with black
   gutters either side. This gutter keeps the design's alignment at the
   intended width and simply lets the background continue past it. */
.ida-bleed {
  max-width: none;
  padding-right: max(36px, calc((100% - var(--ida-wrap)) / 2 + 36px));
  padding-left: max(36px, calc((100% - var(--ida-wrap)) / 2 + 36px));
}
.ida-spacer-80 { height: 80px; }
.ida-spacer-44 { height: 44px; }
.ida-spacer-36 { height: 36px; }

/* Kicker: 9px dot + accent label. Used on nearly every section head. */
.ida-kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
/* A triangle, not a dot. The brand is hard edges throughout — this was the
   one circle left on the site. It points right, into the label it
   introduces, which also echoes the north-east arrow used on every button. */
.ida-kicker-dot {
  width: 9px; height: 11px; flex-shrink: 0; background: var(--ida-teal);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
/* No violet variant: the marker is always the brand teal, on every section,
   whatever colour the label beside it takes. It was violet on the home
   distinctions section only, which made one triangle on the site the odd
   one out. */
.ida-kicker-text { font-size: var(--ida-t-base); font-weight: 500; color: var(--ida-teal); }
.ida-kicker-text--violet { color: var(--ida-violet); }
.ida-kicker-text--ink { color: var(--ida-teal-ink); }

.ida-section-head { padding-bottom: var(--ida-head-gap); }
.ida-section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 22px; flex-wrap: wrap; padding-bottom: var(--ida-head-gap); }
.ida-section-head-row .ida-section-head { padding-bottom: 0; }
.ida-section-title { font-size: var(--ida-d-2); line-height: .94; text-transform: uppercase; color: var(--ida-white); }
.ida-section-title--ink { color: var(--ida-black); }

/* -------------------------------------------------------------------------
   SHARED: header — black + blur at the top of the page, flipping to a
   light frosted bar once scrolled past 40px (see assets/js/header.js).
   ---------------------------------------------------------------------- */
.ida-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ida-hairline-dark);
  transition: background-color .25s ease, border-color .25s ease;
}
.ida-header.is-scrolled { background: rgba(255,255,255,.92); border-bottom-color: var(--ida-hairline-light); }
/* Logged-in admins get WordPress's fixed admin bar over the viewport —
   offset the sticky header by its height so it isn't half-covered. The
   bar stops being fixed under 600px, where the offset goes back to 0. */
body.admin-bar .ida-header { top: 32px; }
@media screen and (max-width: 782px) { body.admin-bar .ida-header { top: 46px; } }
@media screen and (max-width: 600px) { body.admin-bar .ida-header { top: 0; } }
.ida-header-inner {
  max-width: var(--ida-wrap); margin: 0 auto; padding: 18px 31px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px 24px; flex-wrap: wrap;
}
/* Above the breakpoint where the inline nav exists, the header is ONE row.
   It was wrapping into two — logo and links on top, search/grid/nominate/
   Dashboard stranded on a second row under a band of dead space — and the
   reason was not overflow: logo 210 + nav 561 + right 416 + two 24px gaps
   is 1259 against a 1320 container, 61px to spare. `flex-wrap: wrap` on a
   space-between row will still break when the free space is smaller than
   what the browser needs to honour the gaps at that justification, and the
   result looks like a design decision rather than a bug. Below 961px the
   nav is display:none (see the 960px block), so only the logo and the
   action cluster remain and wrapping is both harmless and wanted. */
@media (min-width: 961px) {
  .ida-header-inner { flex-wrap: nowrap; }
}
.ida-logo-link { position: relative; display: inline-flex; flex-shrink: 0; }
/* The lockup is the wordmark plus two lines of small type, so it needs real
   height before that second line is legible — 42px left it reading as a
   smudge beside the nav. Scales with the viewport rather than jumping at a
   breakpoint. */
.ida-logo { height: clamp(44px, 3.6vw, 54px); width: auto; display: block; transition: opacity .25s ease; }
/* Reversed lockup on the dark bar, color lockup once it flips light —
   crossfaded over the same 0.25s as the bar itself, so the logo doesn't
   pop a frame ahead of the background it sits on. The reversed lockup
   stays in flow and sets the link's size; the color one is layered over
   it. */
.ida-logo--color { position: absolute; top: 0; right: 0; height: 100%; opacity: 0; }
.ida-header.is-scrolled .ida-logo--color { opacity: 1; }
.ida-header.is-scrolled .ida-logo--reversed { opacity: 0; }

/* Air between the lockup and the first link. They were sharing the header's
   own 24px gap, so the nav started immediately after the logo's smallest
   type and the two read as one block. */
.ida-nav {
  display: flex; align-items: center; flex-wrap: wrap;
  margin-right: clamp(18px, 3.4vw, 54px);
  gap: 10px 26px; font-size: var(--ida-t-base); font-weight: 500; text-transform: uppercase;
}
.ida-nav-item { display: flex; align-items: flex-start; gap: 6px; color: var(--ida-white); transition: color var(--ida-ease); }
.ida-header.is-scrolled .ida-nav-item { color: var(--ida-black); }
.ida-nav-item:hover, .ida-header.is-scrolled .ida-nav-item:hover { color: var(--ida-violet); }
.ida-nav-item.is-active { color: var(--ida-teal); }
/* The scrolled header is white, where the brand teal on the active link
   measures 1.8:1 — the one nav item that says where you are was the hardest
   one to read. */
.ida-header.is-scrolled .ida-nav-item.is-active { color: var(--ida-teal-ink); }
.ida-nav-item .ida-arrow { font-size: var(--ida-i-xs); display: none; }
.ida-nav-item.is-active .ida-arrow { display: inline-block; }
.ida-nav-item-dot { font-size: 6px; vertical-align: top; color: var(--ida-nav-dot); }

.ida-header-right { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.ida-search-toggle { display: inline-flex; }
.ida-search-toggle .ms { font-size: var(--ida-i-lg); color: var(--ida-grey-on-dark); transition: color var(--ida-ease); }
.ida-search-toggle:hover .ms { color: var(--ida-white); }
.ida-header.is-scrolled .ida-search-toggle:hover .ms { color: var(--ida-black); }
.ida-menu-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; background: var(--ida-violet); flex-shrink: 0;
  transition: background-color var(--ida-ease);
}
.ida-menu-toggle:hover { background: var(--ida-teal); }
.ida-menu-toggle .ms { font-size: var(--ida-i-md); color: var(--ida-white); }
.ida-header-cta {
  display: flex; align-items: center; gap: 9px;
  background: var(--ida-violet); color: var(--ida-white);
  padding: 14px 20px; font-size: var(--ida-t-base); font-weight: 500;
  white-space: nowrap; flex-shrink: 0;
  transition: background-color var(--ida-ease), color var(--ida-ease);
}
.ida-header-cta:hover { background: var(--ida-teal); color: var(--ida-black); }
.ida-header-cta:hover .ida-arrow { color: var(--ida-black); }

/* Dashboard / Scoring — only ever rendered for a signed-in organiser or
   juror. It sits AFTER the public call to action, past the end of the row a
   visitor uses, so the header a visitor sees is unchanged and the private
   link is visibly separate rather than wedged in among the public controls.
   Outlined rather than filled, and it drops its label on narrow screens
   where the icon alone still says "control room". */
.ida-desk-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 14px; margin-right: 2px;
  border: 1px solid rgba(255,255,255,.24);
  font-size: var(--ida-t-sm); font-weight: 600; color: var(--ida-white);
  transition: background-color var(--ida-ease), color var(--ida-ease), border-color var(--ida-ease);
}
.ida-desk-link .ms { font-size: var(--ida-i-sm); }
.ida-desk-link:hover { background: var(--ida-teal); border-color: var(--ida-teal); color: var(--ida-black); }
.ida-header.is-scrolled .ida-desk-link { border-color: var(--ida-hairline-light); color: var(--ida-black); }
.ida-header.is-scrolled .ida-desk-link:hover { background: var(--ida-teal); border-color: var(--ida-teal); color: var(--ida-black); }
.ida-desk-link:focus-visible { outline: 2px solid var(--ida-teal); outline-offset: 2px; }
@media (max-width: 1100px) {
  .ida-desk-link .ida-desk-label { display: none; }
  .ida-desk-link { padding: 12px; }
}
.ida-header-cta .ida-arrow { font-size: var(--ida-i-sm); }

/* Header search field — hidden until the search icon is pressed. */
.ida-header-search { flex-basis: 100%; display: none; padding-top: 14px; }
.ida-header-search.is-open { display: block; }
.ida-header-search form { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--ida-hairline-dark); padding-bottom: 10px; }
.ida-header.is-scrolled .ida-header-search form { border-bottom-color: var(--ida-hairline-light); }
.ida-header-search input {
  flex: 1; background: transparent; border: none; outline: none;
  font-size: var(--ida-t-base); color: var(--ida-white);
}
.ida-header.is-scrolled .ida-header-search input { color: var(--ida-black); }
.ida-header-search input::placeholder { color: var(--ida-grey-on-dark); }
.ida-header-search button .ms { font-size: var(--ida-i-md); color: var(--ida-teal); }

/* -------------------------------------------------------------------------
   SHARED: full-screen overlay menu (grid_view button)
   ---------------------------------------------------------------------- */
.ida-nav-overlay { position: fixed; inset: 0; z-index: 100; background: var(--ida-black); display: none; flex-direction: column; }
/* The WordPress admin bar is fixed at the top of the window and pushes the
   document down with a margin. A fixed, inset:0 overlay does not see that
   margin, so its own top row — the logo and the close button — was sliding
   underneath the bar for signed-in users. Same offsets the sticky header
   already uses, so the two agree. */
body.admin-bar .ida-nav-overlay { top: 32px; }
@media screen and (max-width: 782px) { body.admin-bar .ida-nav-overlay { top: 46px; } }
@media screen and (max-width: 600px) { body.admin-bar .ida-nav-overlay { top: 0; } }
.ida-nav-overlay.is-open { display: flex; }
.ida-nav-overlay-top { max-width: var(--ida-wrap); width: 100%; margin: 0 auto; padding: 18px 31px; display: flex; align-items: center; justify-content: space-between; }
.ida-nav-overlay-close {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; background: var(--ida-violet);
  transition: background-color var(--ida-ease);
}
.ida-nav-overlay-close:hover { background: var(--ida-teal); }
.ida-nav-overlay-close .ms { font-size: var(--ida-i-md); color: var(--ida-white); }
.ida-nav-overlay-links {
  flex: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  gap: 14px; padding: 0 31px; max-width: var(--ida-wrap); width: 100%; margin: 0 auto;
}
.ida-nav-overlay-link {
  font-size: var(--ida-d-hero); font-weight: 700; text-transform: uppercase; line-height: 1.02;
  color: var(--ida-white); transition: color var(--ida-ease);
}
.ida-nav-overlay-link:hover, .ida-nav-overlay-link.is-active { color: var(--ida-teal); }

/* -------------------------------------------------------------------------
   SHARED: page banner (every page except Home)
   Deliberately compact — a per-page gradient image over a black base, page
   title + breadcrumb centered, nothing else. No icon box, no dot texture,
   no glow, no cover-image hero band.
   ---------------------------------------------------------------------- */
.ida-banner { position: relative; overflow: hidden; background-color: var(--ida-black); background-position: center; background-size: cover; background-repeat: no-repeat; padding: 28px; }
.ida-banner--violet { background-image: url("../img/banner-violet-gradient.png"); }
.ida-banner--mint { background-image: url("../img/banner-mint-lavender.png"); }
/* Reserved for secondary, non-nav pages (blog, single posts, generic
   pages) so the four primary pages keep the two gradient banners. */
.ida-banner--charcoal { background-image: url("../img/banner-charcoal-grid.png"); }
.ida-banner-inner {
  max-width: var(--ida-wrap); margin: 15px auto;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.ida-banner-title { font-size: var(--ida-d-3); line-height: 1; text-transform: uppercase; color: var(--ida-white); }
.ida-breadcrumb { display: flex; align-items: center; gap: 10px; font-size: var(--ida-t-sm); font-weight: 500; color: var(--ida-white); opacity: .65; }
.ida-breadcrumb a { color: inherit; transition: opacity var(--ida-ease); }
.ida-breadcrumb a:hover { color: inherit; opacity: 1; }
.ida-breadcrumb-sep { opacity: .6; }
.ida-breadcrumb-current { opacity: 1; }
/* Mint-lavender banner carries dark ink text instead of white. */
.ida-banner--mint .ida-banner-title, .ida-banner--mint .ida-breadcrumb { color: var(--ida-ink-blue); }

/* -------------------------------------------------------------------------
   HOME — hero
   ---------------------------------------------------------------------- */
.ida-hero {
  position: relative; overflow: hidden;
  background: var(--ida-black);
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 32px 32px;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(40px, 5vw, 64px) clamp(24px, 5vw, 58px) clamp(48px, 5vw, 68px);
}
.ida-hero-blob { position: absolute; pointer-events: none; filter: blur(20px); }
.ida-hero-blob--violet { right: -15%; top: -25%; width: 55%; height: 75%; background: radial-gradient(circle, rgba(82,3,198,.35) 0%, transparent 70%); }
.ida-hero-blob--teal { left: -10%; bottom: -30%; width: 50%; height: 70%; background: radial-gradient(circle, rgba(57,218,188,.18) 0%, transparent 70%); }
.ida-hero-inner { position: relative; z-index: 1; max-width: var(--ida-wrap); width: 100%; margin: 0 auto; }

/* Type column and object column. The object track is narrower than the
   type track on purpose: the headline is the message, the trophy is the
   proof, and a 50/50 split makes neither of them lead. */
.ida-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px); align-items: center;
}
.ida-hero-main { min-width: 0; }
.ida-hero .ida-kicker { margin-bottom: 16px; }

/* One h1, three lines, each its own span: the old markup used two h1
   elements so a screen reader heard two page titles. */
.ida-hero-headline {
  margin: 0; font-size: var(--ida-d-hero); line-height: .86;
  letter-spacing: -.012em; text-transform: uppercase;
  overflow-wrap: normal; word-break: normal;
}
.ida-hero-line { display: block; }
.ida-hero-line--outline { color: transparent; -webkit-text-stroke: 2px var(--ida-white); }
.ida-hero-line--solid { color: var(--ida-white); }
/* The third line is the brand teal. Violet-2 sat against a violet-glowing
   dark ground and read as a dimmer version of the two white lines above it
   rather than as the accent; teal is the brand's accent colour, it answers
   the kicker directly above the headline, and it is the strongest thing on
   this ground at 11:1. */
.ida-hero-line--accent { color: var(--ida-teal); }

.ida-hero-intro {
  margin: clamp(18px, 2vw, 26px) 0 0; max-width: 46ch;
  font-size: var(--ida-t-base); line-height: 1.6; color: var(--ida-body-grey);
}

.ida-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(22px, 2.4vw, 32px); }
.ida-hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ida-violet); border: 1px solid var(--ida-violet); color: var(--ida-white);
  padding: 17px 26px; font-size: var(--ida-t-sm); font-weight: 600;
  transition: background-color var(--ida-ease), color var(--ida-ease), border-color var(--ida-ease);
}
.ida-hero-cta:hover { background: var(--ida-teal); border-color: var(--ida-teal); color: var(--ida-black); }
.ida-hero-cta:hover .ida-arrow { color: var(--ida-black); }
.ida-hero-cta .ida-arrow { font-size: var(--ida-i-md); }
/* The second action is a real option, not a second primary. */
.ida-hero-cta--ghost { background: transparent; border-color: rgba(255,255,255,.28); }
.ida-hero-cta--ghost .ida-arrow { color: var(--ida-teal); }
.ida-hero-cta--ghost:hover { background: var(--ida-white); border-color: var(--ida-white); color: var(--ida-black); }

/* The object. The render carries its own glow, so the only thing added
   here is the pool of light it would cast on a surface and a slow float —
   enough to read as a photographed object rather than a pasted cutout. */
.ida-hero-object {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-width: 0;
}
.ida-hero-object::after {
  content: ''; position: absolute; right: 50%; bottom: 2%;
  width: 58%; height: 14%; transform: translateX(50%);
  background: radial-gradient(ellipse at center, rgba(57,218,188,.30) 0%, rgba(82,3,198,.18) 45%, transparent 72%);
  filter: blur(18px); pointer-events: none;
}
.ida-hero-trophy {
  position: relative; z-index: 1;
  /* Height-capped, not width-capped: the render is a tall portrait, so
     sizing it by width let it set a 950px hero and push the fold past the
     call to action. */
  display: block; width: auto; max-width: 100%;
  height: auto; max-height: clamp(340px, 56vh, 560px);
  margin-inline: auto;
  /* Centred, unhurried, and already running when the page paints. */
  animation: ida-hero-float 11s ease-in-out -4.2s infinite;
}
/* The two brand elements standing around the trophy. Teal on black, both
   files unmodified. They drift on their own timings so the group reads as
   placed rather than pasted, and they leave on narrow screens where the
   trophy needs the whole column. */
.ida-hero-mark {
  position: absolute; z-index: 0; width: auto; pointer-events: none; user-select: none;
}
.ida-hero-mark--ring {
  height: clamp(18px, 1.7vw, 26px);
  left: 6%; top: 16%;
  animation: ida-hero-mark-float 12s ease-in-out -4.4s infinite;
}
.ida-hero-mark--dots {
  height: auto; width: clamp(78px, 8vw, 116px);
  right: -2%; bottom: 26%;
  animation: ida-hero-mark-float 15s ease-in-out -9.7s infinite;
}
/* Centred on its resting place, already mid-cycle on first paint — the same
   loop the brand elements use, see the note further down. */
@keyframes ida-hero-mark-float {
  0%, 100% { transform: translate3d(0, -5px, 0); }
  50%      { transform: translate3d(0,  5px, 0); }
}
@media (max-width: 900px) {
  .ida-hero-mark { display: none; }
}

@keyframes ida-hero-float {
  0%, 100% { transform: translateY(-7px); }
  50%      { transform: translateY(7px); }
}

@media (max-width: 1023px) {
  .ida-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  /* Object first on a phone: it is the fastest possible answer to "what is
     this site", and it costs one screenful less than the headline does. */
  .ida-hero-object { order: -1; }
  .ida-hero-trophy { max-height: min(330px, 42vh); }
}


/* HOME — stats band (each stat carries its own accent) */
.ida-stats-section { background: var(--ida-near-black); border-top: 1px solid var(--ida-hairline-dark); border-bottom: 1px solid var(--ida-hairline-dark); }
.ida-stats-grid { max-width: var(--ida-wrap); margin: 0 auto; padding: 0 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.ida-stat { border-right: 1px solid var(--ida-hairline-dark); padding: 30px 22px; display: flex; align-items: flex-start; gap: 14px; }
.ida-stat-value { font-size: var(--ida-fig); font-weight: 700; line-height: .78; }
.ida-stat-label { font-size: var(--ida-t-base); font-weight: 500; line-height: 1.25; color: var(--ida-white); padding-top: 5px; }

/* --ida-accent-ink: the accent as TEXT on a light ground. Set alongside
   --ida-accent by any template on white; falls back to the accent itself
   where it is not set, so a card that never prints the accent as words is
   untouched. Fills, chips and hover states always use --ida-accent. */

/* -------------------------------------------------------------------------
   SECTION GROUNDS — pick exactly ONE per section.
   A section gets either the ruled grid or the mesh-glow artwork, never
   both: the grid lines run straight through the artwork and the two read
   as a rendering fault rather than a design. The rule below enforces it —
   if both classes ever land on the same element, the mesh wins and the
   grid is dropped.
   ---------------------------------------------------------------------- */

/* 1. The ruled grid. */
.ida-bg-grid { background-size: 48px 48px; }
.ida-bg-grid--ink {
  background-image:
    linear-gradient(rgba(0,0,0,.035) 1px, transparent 1px),
    linear-gradient(-90deg, rgba(0,0,0,.035) 1px, transparent 1px);
}
.ida-bg-grid--violet {
  background-image:
    linear-gradient(rgba(82,3,198,.05) 1px, transparent 1px),
    linear-gradient(-90deg, rgba(82,3,198,.05) 1px, transparent 1px);
}
.ida-bg-grid--dark {
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(-90deg, rgba(255,255,255,.035) 1px, transparent 1px);
}

/* 1b. The dot ground. Same job as the grid, quieter: ruled lines behind a
   dense card grid fight the cards' own edges, and the eye reads two grids
   at once. Dots give the section texture without drawing a second set of
   rectangles behind the first. */
.ida-bg-dots { background-size: 24px 24px; }
.ida-bg-dots--ink    { background-image: radial-gradient(rgba(0,0,0,.07) 1px, transparent 1px); }
.ida-bg-dots--violet { background-image: radial-gradient(rgba(82,3,198,.13) 1px, transparent 1px); }
.ida-bg-dots--dark   { background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); }
.ida-bg-dots.ida-bg-mesh { background-image: none; }

/* 2. The mesh-glow artwork.

   Two things had to be true at once: it fills the section's full height and
   bleeds off the corner (a fixed 640px square left a hard cut edge and
   stopped short of the bottom), and it still reads as COLOUR. Stretching a
   781px square across the whole width did the first and destroyed the
   second — the glow spread so thin it looked like a rendering artefact.

   So it covers a panel on the right instead of the whole section: full
   height, about two-thirds of the width, at full strength. The scrim
   handles the left edge — solid over the reading side, fully clear before
   the artwork's strongest part, so the type keeps its contrast and the
   colour keeps its punch. */
.ida-bg-mesh { position: relative; overflow: hidden; }
.ida-bg-mesh > .ida-mesh {
  position: absolute; top: 0; left: 0; bottom: 0; right: auto;
  width: min(66%, 900px); height: 100%;
  object-fit: cover; object-position: left top;
  opacity: 1; pointer-events: none; z-index: 0;
}
.ida-bg-mesh::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(
    -90deg,
    var(--ida-mesh-scrim) 0%,
    var(--ida-mesh-scrim) 32%,
    rgba(255,255,255,0) 64%
  );
}
.ida-bg-mesh > *:not(.ida-mesh):not(.ida-motif) { position: relative; z-index: 1; }

/* Belt and braces: the two grounds are mutually exclusive. */
.ida-bg-mesh.ida-bg-grid { background-image: none; }

/* HOME — "Why IDA exists": white section carrying the mesh artwork. */
.ida-pillars-section {
  max-width: none; margin: 0; padding: var(--ida-section-y) max(28px, calc((100% - var(--ida-wrap)) / 2 + 28px));
  background-color: var(--ida-white);
}
.ida-pillars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.ida-pillar {
  height: clamp(280px, 29vw, 370px);
  display: flex; flex-direction: column; justify-content: space-between; padding: 26px;
  transition: transform var(--ida-ease);
}
.ida-pillar:hover { transform: translateY(-4px); }
.ida-pillar-chip { display: flex; align-items: center; justify-content: center; width: 57px; height: 57px; }
.ida-pillar-chip .ms { font-size: var(--ida-i-lg); }
.ida-pillar-kicker { display: block; font-size: var(--ida-t-sm); font-weight: 500; text-transform: uppercase; }
.ida-body .ida-pillar-title { display: block; margin-top: 10px; font-size: var(--ida-d-3); font-weight: 600; line-height: 1.02; text-transform: uppercase; }
.ida-pillar-text { display: block; margin-top: 10px; font-size: var(--ida-t-base); line-height: 1.5; }

/* HOME — "Seven categories": lavender section, violet grid */
.ida-catgrid-section {
  max-width: none; margin: 0; padding: var(--ida-section-y) max(28px, calc((100% - var(--ida-wrap)) / 2 + 28px));
  background-color: var(--ida-violet-tint);
  /* No background-size here: the ground class owns the tile, and a value
     on the section overrode it — the dots inherited the grid's 48px. */
}
.ida-all-categories-btn {
  display: flex; align-items: center; gap: 9px;
  border: 1px solid var(--ida-black); background: var(--ida-violet-tint);
  padding: 17px 22px; font-size: var(--ida-t-base); font-weight: 500; color: var(--ida-black);
  white-space: nowrap; flex-shrink: 0; align-self: flex-start;
  transition: background-color var(--ida-ease), color var(--ida-ease), border-color var(--ida-ease);
}
.ida-all-categories-btn:hover { background: var(--ida-teal); color: var(--ida-black); border-color: var(--ida-teal); }
.ida-all-categories-btn:hover .ida-arrow { color: var(--ida-black); }
/* Lavender ground: the arrow takes the reading teal. Full brand teal on
   this ground measured 1.6:1 and the arrow read as a smudge. On hover the
   button fills with the full teal and the arrow goes black. */
.ida-all-categories-btn .ida-arrow { font-size: var(--ida-i-md); color: var(--ida-teal-ink); }

/* Category card — shared by Home and the Categories page. Each card gets
   its own accent via the inline --ida-accent custom property; hover fills
   the whole card with that accent and flips every child to white. */
.ida-cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.ida-cat-card {
  background: var(--ida-white); border: 1px solid var(--ida-hairline-light);
  padding: 24px 22px 20px; display: flex; flex-direction: column; gap: 18px; min-height: 197px;
  color: var(--ida-black);
  transition: background-color var(--ida-ease), color var(--ida-ease), border-color var(--ida-ease);
}
.ida-cat-card:hover { background: var(--ida-accent); border-color: var(--ida-accent); color: var(--ida-white); }
.ida-cat-chip {
  display: flex; align-items: center; justify-content: center; width: 57px; height: 57px; flex-shrink: 0;
  background: var(--ida-accent-tint); border: 1px solid rgba(0,0,0,.1);
  transition: background-color var(--ida-ease), border-color var(--ida-ease);
}
.ida-cat-chip .ms { font-size: var(--ida-i-lg); color: var(--ida-accent-ink, var(--ida-accent)); transition: color var(--ida-ease); }
.ida-cat-card:hover .ida-cat-chip { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.3); }
.ida-cat-card:hover .ida-cat-chip .ms { color: var(--ida-white); }
/* overflow-wrap matches the reference's own h1/h2/h3 rule — category
   names are set like headings, and the longest one
   ("Entrepreneurship") otherwise runs past the card edge at the
   Categories page's larger type size. */
/* break-word, not anywhere: `anywhere` breaks a word even when it would
   fit on a line of its own, which split INVESTISSEMENT across two lines
   and left an orphaned T. The French award names are long, so a
   too-long word still has to break — but only when it genuinely
   cannot fit. */
.ida-cat-card-name { display: block; font-size: var(--ida-d-4); font-weight: 600; line-height: 1.04; text-transform: uppercase; color: inherit; overflow-wrap: break-word; }
.ida-cat-card-blurb { display: block; font-size: var(--ida-t-base); line-height: 1.5; color: inherit; opacity: .85; }
/* The card's own accent, so the link at the foot answers the icon chip at
   the top and each card reads as one colour. It was inheriting black, which
   left every card ending in the same neutral line. On hover the card fills
   with the accent and everything on it goes white. */
.ida-cat-card-link {
  margin-top: auto; display: flex; align-items: center; gap: 9px;
  font-size: var(--ida-t-base); font-weight: 500;
  color: var(--ida-accent-ink, var(--ida-accent));
  transition: color var(--ida-ease);
}
.ida-cat-card:hover .ida-cat-card-link { color: var(--ida-white); }
.ida-cat-card-link .ida-arrow { font-size: var(--ida-i-md); }
.ida-cat-card-link span:not(.ms) { white-space: nowrap; }

/* HOME — marquee ticker */
.ida-marquee-section { padding: 22px 0; overflow: hidden; background: var(--ida-near-black);
  /* Brighter than --ida-hairline-dark on purpose: the ticker sits directly
     above a pure-black section and the darker rule vanished into it. */
  border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); }
/* 34s put the type past reading speed — the eye caught a smear, not the
   words. 72s is slow enough to read a phrase as it passes. */
.ida-marquee-track { display: flex; width: max-content; animation: ida-marquee 72s linear infinite; }
/* Each half is repeated in PHP until it comfortably exceeds any viewport;
   the -50% translate then always hands over mid-strip and the ticker never
   runs out of content. flex-shrink:0 keeps the two halves identical. */
.ida-marquee-group { display: flex; align-items: center; gap: 29px; width: max-content; flex-shrink: 0; padding-left: 34px; }
.ida-marquee-item { display: flex; align-items: center; gap: 29px; flex-shrink: 0; }
.ida-marquee-motif { width: 72px; height: 72px; flex-shrink: 0; object-fit: contain; }
.ida-marquee-label { font-size: var(--ida-d-2); font-weight: 700; text-transform: uppercase; color: var(--ida-white); white-space: nowrap; }

/* HOME — process preview: black section, white grid, accent step chips */
.ida-process-preview {
  max-width: none; margin: 0; padding: var(--ida-section-y) max(28px, calc((100% - var(--ida-wrap)) / 2 + 28px));
  background-color: var(--ida-black);
  background-size: 48px 48px;
}
.ida-step-row {
  border-top: 1px solid var(--ida-hairline-dark); padding: 20px 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px 27px; align-items: center;
  transition: background-color var(--ida-ease);
}
a.ida-step-row:hover { background: #141414; }
.ida-step-left { display: flex; align-items: center; gap: 18px; }
.ida-step-chip {
  display: flex; align-items: center; justify-content: center; width: 57px; height: 57px; flex-shrink: 0;
  background: var(--ida-accent-shade); border: 1px solid var(--ida-accent);
}
.ida-step-chip .ms { font-size: var(--ida-i-lg); color: var(--ida-accent); }
.ida-step-num { display: block; font-size: var(--ida-t-sm); font-weight: 500; color: var(--ida-accent); }
.ida-step-name { display: block; margin-top: 6px; font-size: var(--ida-d-4); font-weight: 600; line-height: 1.04; text-transform: uppercase; color: var(--ida-white); }
.ida-step-short { font-size: var(--ida-t-base); line-height: 1.5; color: var(--ida-body-grey); }
.ida-hr-dark { border-top: 1px solid var(--ida-hairline-dark); }

/* HOME — jury: white section, bordered cards, accent role labels */
.ida-jury-section { background: var(--ida-white); }
/* Placeholder juror tile: the panel's initials on the juror's own accent.
   Deliberately not a photograph — see ida_theme_get_jury(). A real portrait
   replaces this the moment one is uploaded for that juror. */
.ida-jury-monogram {
  aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center;
  background: var(--ida-accent); color: #FFFFFF;
  font-size: var(--ida-mono); font-weight: 700; letter-spacing: .02em;
}
.ida-jury-monogram-note {
  display: block; margin-top: 6px; font-size: var(--ida-t-micro); font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ida-grey-4);
}
.ida-jury-head { max-width: var(--ida-wrap); margin: 0 auto; padding: var(--ida-section-y) 28px 0; }
.ida-jury-note { max-width: 760px; margin-top: 20px; font-size: var(--ida-t-base); line-height: 1.55; color: var(--ida-grey-3); }
.ida-jury-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin: var(--ida-head-gap) auto 0; max-width: var(--ida-wrap); padding: 0 28px var(--ida-section-y); }
/* Full-bleed photo card. The photo runs edge to edge at the top rather than
   sitting as a small centred avatar, and the whole card is one hover target:
   card ground, accent overlay, photo scale and both text lines move together.
   Previously each child carried its own :hover, so passing between them left
   white text on a white ground. */
.ida-jury-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--ida-white); border: 1px solid var(--ida-hairline-light);
  cursor: default; overflow: hidden;
  transition: background-color var(--ida-ease), border-color var(--ida-ease);
}
.ida-jury-photo-wrap { position: relative; overflow: hidden; }
.ida-jury-photo {
  /* 4:5, the same box the monogram uses, so a panel that mixes portraits
     and initials still lines up. The portraits are cut to 4:5 at source,
     so cover crops nothing. */
  width: 100%; aspect-ratio: 4 / 5; height: auto; display: block; object-fit: cover;
  transform: scale(1); transition: transform .25s ease;
}
/* Multiply keeps the portrait readable through the accent instead of
   flooding it the way a plain opaque fill would. */
.ida-jury-overlay {
  position: absolute; inset: 0; background: var(--ida-accent);
  opacity: 0; pointer-events: none; mix-blend-mode: multiply;
  transition: opacity var(--ida-ease);
}
.ida-jury-body { padding: 20px 22px 24px; text-align: center; }
.ida-jury-role { display: block; font-size: var(--ida-t-sm); font-weight: 500; text-transform: uppercase; color: var(--ida-accent-ink, var(--ida-accent)); transition: color var(--ida-ease); }
.ida-jury-name { display: block; margin-top: 8px; font-size: var(--ida-d-4); font-weight: 600; line-height: 1.1; color: var(--ida-black); transition: color var(--ida-ease); }

.ida-jury-card:hover { background: var(--ida-accent); border-color: var(--ida-accent); }
.ida-jury-card:hover .ida-jury-role,
.ida-jury-card:hover .ida-jury-name { color: var(--ida-white); }
.ida-jury-card:hover .ida-jury-overlay { opacity: .55; }
.ida-jury-card:hover .ida-jury-photo { transform: scale(1.05); }

/* HOME — ticket tiers */
.ida-tiers-section { max-width: none; margin: 0; padding: var(--ida-section-y) max(28px, calc((100% - var(--ida-wrap)) / 2 + 28px)); background: var(--ida-near-black); }
.ida-tiers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.ida-tier {
  border: 1px solid; padding: 26px 24px 22px; display: flex; flex-direction: column; gap: 14px; min-height: 248px;
  transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s ease;
}
.ida-tier:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,.45); }
.ida-tier-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.ida-tier-kicker { font-size: var(--ida-t-sm); font-weight: 500; text-transform: uppercase; }
.ida-tier-chip { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; }
.ida-tier-chip .ms { font-size: var(--ida-i-lg); }
.ida-tier-price { font-size: var(--ida-fig); font-weight: 700; line-height: .88; }
.ida-tier-currency { font-size: var(--ida-t-base); font-weight: 500; }
.ida-tier-name { font-size: var(--ida-d-4); font-weight: 600; line-height: 1.04; text-transform: uppercase; }
.ida-tier-detail { font-size: var(--ida-t-base); line-height: 1.5; }
.ida-tier-cta { margin-top: auto; display: flex; align-items: center; gap: 9px; font-size: var(--ida-t-base); font-weight: 500; color: inherit; }
.ida-tier-cta .ida-arrow { font-size: var(--ida-i-md); }

/* -------------------------------------------------------------------------
   HOME — partnership packages. A comparison drawn as three cards: the same
   six rows in the same order in each, prices climbing left to right, and
   Platinum filled and raised because Official is capped at two positions.
   Hovering a card takes it to its own ground and lifts it — the same
   accent-on-hover behaviour the category cards use.
   ---------------------------------------------------------------------- */
.ida-packages-section {
  max-width: none; margin: 0;
  padding: var(--ida-section-y) max(28px, calc((100% - var(--ida-wrap)) / 2 + 28px));
  background-color: var(--ida-black);
}
.ida-packages-intro {
  max-width: 42ch; margin: 0;
  font-size: var(--ida-t-base); line-height: 1.6; color: var(--ida-body-grey);
}

.ida-pkg-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px; align-items: stretch;
}

.ida-pkg {
  position: relative; display: flex; flex-direction: column;
  background: var(--ida-card-dark); border: 1px solid var(--ida-hairline-dark);
  padding: 34px 28px 28px; color: var(--ida-white);
  transition: background-color .28s var(--ida-ease-out), border-color .28s var(--ida-ease-out),
              transform .28s var(--ida-ease-out), box-shadow .28s var(--ida-ease-out);
}
.ida-pkg:hover {
  background: var(--ida-pkg-hover);
  border-color: var(--ida-accent);
  transform: translateY(-8px);
  box-shadow: 0 26px 52px rgba(0,0,0,.55);
}

.ida-pkg--fill { background: var(--ida-violet); border-color: var(--ida-violet); }
.ida-pkg--fill:hover { box-shadow: 0 28px 62px rgba(101,18,227,.45); }
@media (min-width: 940px) {
  /* The raised card borrows from the head gap, so the grid gives it back. */
  .ida-pkg-grid { margin-top: 26px; }
  .ida-pkg--featured { margin: -26px 0; padding-top: 58px; padding-bottom: 54px; }
}

/* Centred on the top edge, straddling it — the card's own label, not a
   sticker in the corner. */
.ida-pkg-flag {
  position: absolute; top: 0; right: 50%; transform: translate(50%, -50%);
  background: var(--ida-teal); color: var(--ida-black);
  padding: 8px 16px; font-size: var(--ida-t-micro); font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
}

.ida-pkg-tier {
  font-size: var(--ida-d-4); font-weight: 700; line-height: 1.05;
  letter-spacing: .005em; text-transform: uppercase; color: var(--ida-accent);
}

.ida-pkg-tagline {
  margin: 12px 0 0; max-width: 30ch;
  font-size: var(--ida-t-sm); line-height: 1.5; color: var(--ida-body-grey);
}
.ida-pkg--fill .ida-pkg-tagline { color: var(--ida-on-violet-body); }

/* Price. One figure and its unit — everything a card does not need to
   close the decision lives in the pack. */
.ida-pkg-price { display: flex; align-items: baseline; gap: 10px; margin: 28px 0 0; }
.ida-pkg-figure {
  font-size: var(--ida-fig); font-weight: 700; line-height: 1;
  letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--ida-white);
}
.ida-pkg-unit { font-size: var(--ida-t-sm); font-weight: 600; letter-spacing: .1em; color: var(--ida-grey-on-dark); }
.ida-pkg--fill .ida-pkg-unit { color: var(--ida-on-violet-kicker); }

/* A 7px square, not an icon: the theme has no radius anywhere and a
   Material glyph here read as a control the card does not have. */
.ida-pkg-avail {
  display: flex; align-items: center; gap: 10px; margin: 14px 0 0;
  font-size: var(--ida-t-micro); font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ida-teal);
}
.ida-pkg-dot { flex: 0 0 auto; width: 7px; height: 7px; background: currentColor; }
.ida-pkg--closed .ida-pkg-avail { color: #FF6B5C; }

/* Five lines, fixed order — exclusivity, logo, stage, content,
   hospitality. No ticks, no labels: same position, same subject, so the
   three cards compare straight across. */
.ida-pkg-feats {
  list-style: none; margin: 28px 0 32px; padding: 28px 0 0;
  border-top: 1px solid var(--ida-hairline-dark);
  display: grid; gap: 14px; align-content: start;
}
.ida-pkg-feats li {
  font-size: var(--ida-t-sm); line-height: 1.45; color: var(--ida-white);
}
.ida-pkg--fill .ida-pkg-feats { border-top-color: rgba(255,255,255,.24); }
.ida-pkg:hover .ida-pkg-feats { border-top-color: rgba(255,255,255,.24); }

/* Full width, so the three actions land on one line across the section
   however tall the cards run. */
.ida-pkg-cta {
  margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 16px 20px; font-size: var(--ida-t-sm); font-weight: 600;
  background: var(--ida-violet); border: 1px solid var(--ida-violet); color: var(--ida-white);
  transition: background-color var(--ida-ease), color var(--ida-ease), border-color var(--ida-ease);
}
.ida-pkg-cta .ida-arrow { font-size: var(--ida-i-sm); color: currentColor; }
.ida-pkg-cta:hover { background: var(--ida-teal); border-color: var(--ida-teal); color: var(--ida-black); }
.ida-pkg--fill .ida-pkg-cta { background: var(--ida-teal); border-color: var(--ida-teal); color: var(--ida-black); }
.ida-pkg--fill .ida-pkg-cta:hover { background: var(--ida-white); border-color: var(--ida-white); }
/* A committed package keeps a real action — a waiting list — but not a
   primary one. */
.ida-pkg--closed .ida-pkg-cta {
  background: transparent; border-color: var(--ida-white); color: var(--ida-white);
}
.ida-pkg--closed .ida-pkg-cta:hover { background: var(--ida-teal); border-color: var(--ida-teal); color: var(--ida-black); }

/* The two partnerships that carry a title instead of a price: an
   alternative route in, not a fourth and fifth rung on the ladder. The
   label says so in three words, which the old icon chips did not. */
.ida-pkg-agreed-row {
  margin-top: 64px; padding-top: 34px;
  border-top: 1px solid var(--ida-hairline-dark);
  display: grid; gap: 20px;
}
@media (max-width: 939px) { .ida-pkg-agreed-row { margin-top: 40px; padding-top: 30px; } }
.ida-pkg-agreed-label {
  font-size: var(--ida-t-micro); font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ida-grey-on-dark);
}
.ida-pkg-agreed-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px;
}
.ida-pkg-agreed {
  background: var(--ida-card-dark);
  border: 1px solid var(--ida-hairline-dark); border-right: 3px solid var(--ida-accent);
  padding: 22px 24px 24px;
  transition: background-color .28s var(--ida-ease-out), transform .28s var(--ida-ease-out);
}
.ida-pkg-agreed:hover { background: var(--ida-pkg-hover); transform: translateY(-4px); }
.ida-pkg-agreed-name {
  display: block;
  font-size: var(--ida-t-sm); font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--ida-white);
}
.ida-pkg-agreed-text {
  margin: 10px 0 0; font-size: var(--ida-t-sm); line-height: 1.55; color: var(--ida-body-grey);
}

/* §14 in one line: the firewall between money and results. Labelled, not
   badged — the shield icon made a governance commitment look like a trust
   sticker. */
.ida-pkg-note {
  margin: 34px 0 0; display: flex; align-items: baseline; gap: 18px;
  border-top: 1px solid var(--ida-hairline-dark); padding-top: 24px;
  font-size: var(--ida-t-sm); line-height: 1.6; color: var(--ida-body-grey);
  max-width: 88ch;
}
.ida-pkg-note-label {
  flex: 0 0 auto;
  font-size: var(--ida-t-micro); font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ida-teal);
}
@media (max-width: 599px) {
  .ida-pkg-note { display: grid; gap: 10px; }
}

/* 404 — a real page, not a fallback archive. */
.ida-404 { display: flex; flex-direction: column; align-items: flex-start; }
.ida-404-code {
  font-size: var(--ida-fig-xl); font-weight: 700; line-height: .9;
  letter-spacing: -.02em; color: var(--ida-violet-tint-3);
}
.ida-404-title {
  margin: 10px 0 0; font-size: var(--ida-d-2); font-weight: 700;
  text-transform: uppercase; line-height: 1.02; color: var(--ida-black);
}
.ida-404-text {
  margin: 14px 0 0; max-width: 56ch;
  font-size: var(--ida-t-base); line-height: 1.6; color: var(--ida-grey-3);
}
.ida-404-routes {
  margin-top: 32px; display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); width: 100%;
}
.ida-404-route {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--ida-hairline-light); padding: 18px 20px;
  font-size: var(--ida-t-base); font-weight: 600; color: var(--ida-black);
  transition: background-color var(--ida-ease), border-color var(--ida-ease), color var(--ida-ease);
}
.ida-404-route .ms:first-child { font-size: var(--ida-i-md); color: var(--ida-violet); }
.ida-404-route .ida-arrow { margin-right: auto; font-size: var(--ida-i-sm); color: var(--ida-violet); }
.ida-404-route:hover { background: var(--ida-teal); border-color: var(--ida-teal); color: var(--ida-black); }
.ida-404-route:hover .ms { color: var(--ida-black); }

.ida-404-search { margin-top: 36px; width: 100%; max-width: 520px; }
.ida-404-search-row { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.ida-404-search-row .ida-field-input { flex: 1 1 220px; }
.ida-404-search-btn {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--ida-black); background: var(--ida-black); color: var(--ida-white);
  padding: 0 22px; font-size: var(--ida-t-sm); font-weight: 600;
  transition: background-color var(--ida-ease), color var(--ida-ease), border-color var(--ida-ease);
}
.ida-404-search-btn .ida-arrow { font-size: var(--ida-i-sm); color: var(--ida-teal); }
.ida-404-search-btn:hover { background: var(--ida-teal); border-color: var(--ida-teal); color: var(--ida-black); }
.ida-404-search-btn:hover .ida-arrow { color: var(--ida-black); }

/* SPONSORS — the state before anything is signed. Not an empty strip and
   not somebody else's logos: a plain statement and a route to the packages. */
.ida-sponsors-open {
  margin-top: var(--ida-head-gap);
  border: 1px solid var(--ida-hairline-light); border-right: 3px solid var(--ida-violet);
  padding: 26px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px 28px; flex-wrap: wrap;
}
.ida-sponsors-open-text {
  margin: 0; max-width: 56ch;
  font-size: var(--ida-t-base); line-height: 1.6; color: var(--ida-grey-3);
}
.ida-sponsors-open-cta {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--ida-black); background: var(--ida-black); color: var(--ida-white);
  padding: 14px 20px; font-size: var(--ida-t-sm); font-weight: 600;
  transition: background-color var(--ida-ease), color var(--ida-ease), border-color var(--ida-ease);
}
.ida-sponsors-open-cta .ida-arrow { font-size: var(--ida-i-sm); color: var(--ida-teal); }
.ida-sponsors-open-cta:hover { background: var(--ida-teal); border-color: var(--ida-teal); color: var(--ida-black); }
.ida-sponsors-open-cta:hover .ida-arrow { color: var(--ida-black); }

/* Each distinction's panel: whatever state that distinction is in.
   The tab script keys on data-finalist-grid, so the wrapper carries it. */
.ida-vote-panel { display: block; }

/* VOTE — the published winner. One card, the distinction's accent as its
   ground, because this is the one moment on the site that is a result
   rather than an invitation. */
.ida-winner-card {
  background: var(--ida-accent); color: var(--ida-white);
  padding: 40px 36px 42px; display: flex; flex-direction: column; gap: 26px;
}
.ida-winner-kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: var(--ida-t-micro); font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.82);
}
.ida-winner-kicker .ms { font-size: var(--ida-i-sm); }
.ida-winner-body { display: flex; align-items: flex-start; gap: 26px; flex-wrap: wrap; }
.ida-winner-monogram {
  flex: 0 0 auto; width: 96px; height: 96px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.24); color: var(--ida-white);
  font-size: var(--ida-mono); font-weight: 700; letter-spacing: .02em;
}
.ida-winner-name {
  margin: 0; font-size: var(--ida-d-3); font-weight: 700; line-height: 1;
  text-transform: uppercase; color: var(--ida-white);
}
.ida-winner-reason {
  margin: 14px 0 0; max-width: 62ch;
  font-size: var(--ida-t-base); line-height: 1.6; color: rgba(255,255,255,.9);
}
.ida-winner-votes {
  margin: 16px 0 0; display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--ida-t-sm); font-weight: 600; color: rgba(255,255,255,.86);
}
.ida-winner-votes .ms { font-size: var(--ida-i-sm); }

/* HOME — sponsors: white section, radial dot texture, grayscale logos */
.ida-sponsors-section {
  max-width: none; margin: 0; padding: var(--ida-section-y) max(28px, calc((100% - var(--ida-wrap)) / 2 + 28px));
  background: var(--ida-white);
  background-image: radial-gradient(rgba(0,0,0,.06) 1px, transparent 1px);
  background-size: 24px 24px;
}
.ida-sponsors-kicker { display: flex; align-items: center; gap: 8px; font-size: var(--ida-t-base); font-weight: 500; color: var(--ida-violet); }
.ida-sponsors-kicker .ms { font-size: var(--ida-i-sm); }
.ida-body .ida-sponsors-title { margin-top: 8px; margin-bottom: var(--ida-head-gap); font-size: var(--ida-d-2); line-height: .96; text-transform: uppercase; color: var(--ida-black); }
.ida-sponsors-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.ida-sponsor-tile {
  background: var(--ida-white); border: 1px solid var(--ida-hairline-light); margin: -.5px;
  padding: 27px 20px; display: flex; align-items: center; justify-content: center; min-height: 79px;
  transition: background-color var(--ida-ease), border-color var(--ida-ease);
}
/* outline, not border: the tiles share collapsed 1px edges, so a border on
   :hover only painted where that cell owned the edge — top and left. An
   outline is drawn outside the box and above the neighbouring cells, so the
   full rectangle shows. z-index lifts it over the siblings' own edges. */
.ida-sponsor-tile:hover {
  background: var(--ida-violet-tint-2);
  outline: 1px solid var(--ida-violet); outline-offset: -1px;
  position: relative; z-index: 1;
}
.ida-sponsor-tile img {
  max-width: 140px; max-height: 56px; object-fit: contain;
  filter: grayscale(1); opacity: .75;
  transition: filter var(--ida-ease), opacity var(--ida-ease);
}
.ida-sponsor-tile:hover img { filter: grayscale(0); opacity: 1; }
/* Sponsors with no uploaded logo fall back to a label, same tile geometry. */
.ida-sponsor-label { font-size: var(--ida-t-base); font-weight: 500; color: var(--ida-grey-4); text-align: center; }

/* -------------------------------------------------------------------------
   PROCESS page — white body, phase tracker, then the full 7-step list
   ---------------------------------------------------------------------- */
.ida-page-white { background: var(--ida-white); color: var(--ida-black); }
.ida-page-section { max-width: var(--ida-wrap); margin: 0 auto; padding: var(--ida-section-y-sm) 28px var(--ida-section-y); }
.ida-lede { max-width: 820px; font-size: var(--ida-t-lede); line-height: 1.5; color: var(--ida-black); }

.ida-phase-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; }
.ida-phase-card { border: 1px solid; padding: 25px 22px; display: flex; flex-direction: column; gap: 16px; min-height: 148px; }
.ida-phase-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.ida-phase-chip { display: flex; align-items: center; justify-content: center; width: 57px; height: 57px; flex-shrink: 0; }
.ida-phase-chip .ms { font-size: var(--ida-i-lg); }
.ida-phase-pill { font-size: var(--ida-t-sm); font-weight: 500; padding: 7px 12px; }
.ida-phase-name { font-size: var(--ida-d-4); font-weight: 600; line-height: 1.04; text-transform: uppercase; }
.ida-phase-dates { font-size: var(--ida-t-base); font-weight: 500; margin-top: auto; }

.ida-steps-full { max-width: var(--ida-wrap); margin: 0 auto; padding: var(--ida-section-y) 28px; }
.ida-step-full-row {
  border-top: 1px solid var(--ida-hairline-light); padding: 27px 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px 31px; align-items: start;
}
.ida-step-full-left { display: flex; align-items: flex-start; gap: 18px; }
.ida-step-full-chip {
  display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; flex-shrink: 0;
  background: var(--ida-accent-tint); border: 1px solid var(--ida-accent);
}
.ida-step-full-chip .ms { font-size: var(--ida-i-lg); color: var(--ida-accent-ink, var(--ida-accent)); }
.ida-step-full-num { display: block; font-size: var(--ida-t-sm); font-weight: 500; color: var(--ida-accent-ink, var(--ida-accent)); }
.ida-step-full-name { margin-top: 8px; font-size: var(--ida-d-3); font-weight: 600; line-height: 1.02; text-transform: uppercase; color: var(--ida-black); }
.ida-step-full-text { font-size: var(--ida-t-base); line-height: 1.6; color: var(--ida-grey-3); }
.ida-hr-light { border-top: 1px solid var(--ida-hairline-light); }

/* -------------------------------------------------------------------------
   CATEGORIES page — same card component as Home, slightly larger
   ---------------------------------------------------------------------- */
/* The page kicker is the same component as a section-head kicker and takes
   the same teal triangle. It was the one label on the site without it. The
   marker is drawn here rather than added to each template's markup, so all
   four page templates pick it up. */
.ida-page-kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: var(--ida-t-base); font-weight: 500; color: var(--ida-violet);
}
.ida-page-kicker::before {
  content: ''; width: 9px; height: 11px; flex-shrink: 0;
  background: var(--ida-teal);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.ida-body .ida-page-title { margin-top: 8px; font-size: var(--ida-d-2); line-height: .96; text-transform: uppercase; color: var(--ida-black); }
.ida-page-lede { max-width: 820px; margin-top: 20px; font-size: var(--ida-t-lede); line-height: 1.5; color: var(--ida-black); }

.ida-cat-tile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 20px; }
.ida-cat-tile-grid .ida-cat-card { padding: 26px 22px 22px; min-height: 209px; }
.ida-cat-tile-grid .ida-cat-card-name { font-size: var(--ida-d-4); line-height: 1.05; }
.ida-cat-tile-grid .ida-cat-card-blurb { margin-top: 10px; }
.ida-cat-tile-grid .ida-cat-card-link { margin-top: 16px; }

/* -------------------------------------------------------------------------
   NOMINATE page
   ---------------------------------------------------------------------- */
.ida-nominate-head-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.ida-nominate-title { font-size: var(--ida-d-2); font-weight: 700; line-height: .98; text-transform: uppercase; color: var(--ida-black); max-width: 640px; }
.ida-nominate-sub { max-width: 400px; font-size: var(--ida-t-base); line-height: 1.55; color: var(--ida-grey-3); }
.ida-nominate-rule-row { display: flex; align-items: center; gap: 16px; margin-top: 26px; padding-bottom: 50px; border-bottom: 1px solid var(--ida-hairline-light); }
.ida-nominate-rule-label { font-size: var(--ida-t-base); font-weight: 600; color: var(--ida-violet); }
.ida-nominate-rule-line { flex: 1; height: 1px; background: var(--ida-black); }

.ida-form { display: flex; flex-direction: column; gap: 22px; }
.ida-form-note { font-size: var(--ida-t-base); color: var(--ida-grey-on-dark); }
.ida-form-fields-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px 31px; }
.ida-field { display: flex; flex-direction: column; gap: 10px; }
.ida-field-label { display: flex; align-items: center; gap: 9px; font-size: var(--ida-t-base); font-weight: 600; color: var(--ida-black); }
.ida-field-label .ms { font-size: var(--ida-i-sm); color: var(--ida-violet); }
/* Inputs are boxes, not underlines.
   A bottom rule alone on a white page does not read as "type here" — the
   field had no edges, no fill and no obvious click target, which is why the
   form was hard to follow. A filled box with a full border, a real focus
   ring and generous hit height fixes that without touching the palette. */
.ida-field-input, .ida-field-textarea {
  border: 1px solid var(--ida-field-border); background: #FFFFFF;
  padding: 13px 14px; font-size: var(--ida-t-base); line-height: 1.5; color: var(--ida-black);
  outline: none; width: 100%; max-width: 100%; min-height: 50px;
  transition: border-color var(--ida-ease), box-shadow var(--ida-ease), background-color var(--ida-ease);
}
.ida-field-textarea { font-size: var(--ida-t-base); line-height: 1.6; resize: vertical; min-height: 150px; }
.ida-field-input::placeholder, .ida-field-textarea::placeholder { color: var(--ida-placeholder); }
.ida-field-input:hover, .ida-field-textarea:hover { border-color: var(--ida-grey-4); }
.ida-field-input:focus, .ida-field-textarea:focus {
  border-color: var(--ida-violet); box-shadow: 0 0 0 3px var(--ida-violet-ring);
}
.ida-field-input.is-invalid, .ida-field-textarea.is-invalid { border-color: var(--ida-red); }
.ida-field-input.is-invalid:focus, .ida-field-textarea.is-invalid:focus { box-shadow: 0 0 0 3px var(--ida-red-ring); }

/* Required / optional stated in words. An asterisk is easy to miss and
   means nothing to somebody filling in their first form. */
.ida-field-flag {
  margin-right: auto; font-size: var(--ida-t-micro); font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase; padding: 3px 8px; white-space: nowrap;
}
.ida-field-flag--req { color: var(--ida-violet); background: var(--ida-violet-tint-3); }
.ida-field-flag--opt { color: var(--ida-grey-4); background: #F2F2F4; }

/* A worked example, shown next to the field rather than inside it. As
   placeholder text it looked like the field was already filled in, and it
   vanished the moment anyone started typing — exactly when it was useful. */
.ida-field-example {
  border-right: 3px solid var(--ida-teal-2); background: #F3FBF8;
  padding: 12px 14px; font-size: var(--ida-t-sm); line-height: 1.6; color: var(--ida-grey-3);
}
.ida-field-example strong {
  display: block; margin-bottom: 4px; font-size: var(--ida-t-micro); font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ida-teal-2);
}

/* Category picker — a custom dropdown, not a native <select> */
.ida-dropdown { display: flex; flex-direction: column; gap: 9px; max-width: 460px; position: relative; }
.ida-dropdown-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border: 1px solid var(--ida-field-border); background: #FFFFFF;
  padding: 13px 14px; font-size: var(--ida-t-base); color: var(--ida-black); cursor: pointer; width: 100%;
  text-align: right; min-height: 50px;
  transition: border-color var(--ida-ease), box-shadow var(--ida-ease);
}
.ida-dropdown-trigger:hover { border-color: var(--ida-grey-4); }
.ida-dropdown.is-open .ida-dropdown-trigger,
.ida-dropdown-trigger:focus-visible { border-color: var(--ida-violet); box-shadow: 0 0 0 3px var(--ida-violet-ring); }
.ida-dropdown-trigger .ms { font-size: var(--ida-i-sm); color: var(--ida-violet); transition: transform var(--ida-ease); }
.ida-dropdown.is-open .ida-dropdown-trigger .ms { transform: rotate(-180deg); }
.ida-dropdown-list {
  position: absolute; top: 100%; right: 0; left: 0; margin-top: 4px;
  background: var(--ida-white); border: 1px solid var(--ida-black); z-index: 20;
  max-height: 420px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--ida-violet) var(--ida-white);
  display: none; list-style: none; margin-block: 4px 0; padding: 0;
}
.ida-dropdown-list::-webkit-scrollbar { width: 8px; }
.ida-dropdown-list::-webkit-scrollbar-track { background: var(--ida-white); }
.ida-dropdown-list::-webkit-scrollbar-thumb { background: var(--ida-violet); }
.ida-dropdown.is-open .ida-dropdown-list { display: block; }
.ida-dropdown-option { padding: 12px 14px; font-size: var(--ida-t-base); color: var(--ida-black); cursor: pointer; background: var(--ida-white); }
.ida-dropdown-option:hover, .ida-dropdown-option.is-selected { background: var(--ida-violet-tint-3); }
/* Block headings inside the 31-item list. Inert rows: no hover, no
   pointer, sticky so the reader always knows which block they are
   scrolling through. */
.ida-dropdown-group {
  position: sticky; top: 0; z-index: 1;
  padding: 10px 14px 6px;
  background: var(--ida-white);
  border-bottom: 1px solid var(--ida-hairline-light);
  font-size: var(--ida-t-micro); font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ida-grey-4);
  cursor: default; user-select: none;
}
.ida-dropdown-group + .ida-dropdown-option { border-top: none; }
/* Keyboard focus has to be visible here — the roving focus moves through
   options that are not buttons, so the browser gives them no default. */
.ida-dropdown-option:focus-visible { outline: 2px solid var(--ida-violet); outline-offset: -2px; background: var(--ida-violet-tint-3); }

/* The consent row is a decision, so it gets a surface of its own rather
   than floating as loose text under the last input. */
.ida-checkbox-row {
  display: flex; align-items: flex-start; gap: 13px; cursor: pointer;
  background: #FAFAFC; border: 1px solid var(--ida-hairline-light); padding: 15px 16px;
  transition: border-color var(--ida-ease), background-color var(--ida-ease);
}
.ida-checkbox-row:hover { border-color: var(--ida-grey-4); }
.ida-checkbox-row.is-checked { border-color: var(--ida-teal-2); background: #F3FBF8; }
.ida-checkbox-row.is-checked .ms { color: var(--ida-teal-2); }
.ida-checkbox-row .ms { font-size: var(--ida-i-lg); color: var(--ida-violet); }
.ida-checkbox-row span.ida-checkbox-text { font-size: var(--ida-t-base); line-height: 1.5; color: var(--ida-black); }

.ida-btn-primary-lg {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 9px;
  background: var(--ida-violet); color: var(--ida-white);
  padding: 20px 30px; font-size: var(--ida-t-base); font-weight: 600; white-space: nowrap; flex-shrink: 0;
  transition: background-color var(--ida-ease);
}
.ida-btn-primary-lg .ida-arrow { font-size: var(--ida-i-md); }
.ida-btn-primary-lg:hover { background: var(--ida-teal); color: var(--ida-black); }
.ida-btn-primary-lg:hover .ida-arrow { color: var(--ida-black); }
.ida-btn-primary-lg:disabled { opacity: .5; cursor: not-allowed; }

/* Post-submit / window-closed states */
.ida-form-result-card { border: 1px solid var(--ida-hairline-light); padding: 33px 28px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.ida-form-result-chip { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; background: var(--ida-violet); }
.ida-form-result-chip .ms { font-size: var(--ida-i-xl); color: var(--ida-white); }
.ida-form-result-chip--closed { background: var(--ida-black); }
.ida-form-result-chip--closed .ms { color: var(--ida-teal); }
.ida-form-result-title { font-size: var(--ida-d-3); font-weight: 600; line-height: 1.02; text-transform: uppercase; color: var(--ida-black); }
.ida-form-result-text { font-size: var(--ida-t-base); line-height: 1.55; color: var(--ida-grey-3); max-width: 540px; }
.ida-btn-outline-dark {
  display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--ida-black);
  padding: 17px 22px; font-size: var(--ida-t-base); font-weight: 600; color: var(--ida-black);
  transition: background-color var(--ida-ease), color var(--ida-ease);
}
.ida-btn-outline-dark .ida-arrow { font-size: var(--ida-i-md); color: var(--ida-violet); }
.ida-btn-outline-dark:hover { background: var(--ida-teal); color: var(--ida-black); border-color: var(--ida-teal); }
.ida-btn-outline-dark:hover .ida-arrow { color: var(--ida-black); }
.ida-btn-violet-md {
  display: inline-flex; align-items: center; gap: 9px; background: var(--ida-violet); color: var(--ida-white);
  padding: 17px 22px; font-size: var(--ida-t-base); font-weight: 600; transition: background-color var(--ida-ease);
}
.ida-btn-violet-md .ida-arrow { font-size: var(--ida-i-md); }
.ida-btn-violet-md:hover { background: var(--ida-teal); color: var(--ida-black); }
.ida-btn-violet-md:hover .ida-arrow { color: var(--ida-black); }

.ida-form-message { font-size: var(--ida-t-sm); margin-top: 4px; }

/* -------------------------------------------------------------------------
 * Nominate page (v2.4.0)
 *
 * The page used to read as a contact form: a short stack of inputs beside a
 * "Location / Contacts" column. These blocks replace that with the shape a
 * nomination actually needs — live window state, the rules before you type,
 * a form in three named steps, then what happens to what you sent.
 * ---------------------------------------------------------------------- */

/* --- Nominate page ---------------------------------------------------
   The form is the page. Everything above it is one line of state, a title
   and three short reassurances; the explanations sit below it. ---------- */

/* One line: is it open, and when does it close. */
.ida-nom-status {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px;
  padding: 12px 18px; margin-bottom: 30px;
  border-right: 4px solid var(--ida-grey-4); background: #FAFAFC;
}
.ida-nom-status.is-open { border-right-color: var(--ida-teal-2); background: var(--ida-violet-tint-2); }
.ida-nom-status-state { display: inline-flex; align-items: center; gap: 10px; }
.ida-nom-status-dot { width: 9px; height: 9px; background: var(--ida-grey-4); flex: 0 0 auto; }
.ida-nom-status.is-open .ida-nom-status-dot { background: var(--ida-teal-2); }
.ida-nom-status-label {
  font-size: var(--ida-t-sm); font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ida-grey-4);
}
.ida-nom-status.is-open .ida-nom-status-label { color: var(--ida-teal-2); }
.ida-nom-status-deadline { font-size: var(--ida-t-base); font-weight: 500; color: var(--ida-grey-3); }

/* Two columns: the form, and an aside carrying the reference material.
   The form's readable measure is ~780px; on a 1320px page that left a
   third of the width empty and pushed "what happens next" and the rules
   into two more full-width bands below. Beside the form they cost no
   extra page height at all. */
.ida-nom-layout {
  max-width: var(--ida-wrap); margin: 0 auto;
  padding: var(--ida-section-y-sm) 28px var(--ida-section-y);
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px;
  align-items: start;
}
@media (min-width: 1060px) {
  .ida-nom-layout { grid-template-columns: minmax(0, 1fr) 352px; gap: 52px; }
  /* Sticky, so the rules stay reachable from any step of the form. */
  .ida-nom-aside { position: sticky; top: 96px; }
}
.ida-nom-main { min-width: 0; }
.ida-nom-main .ida-nominate-title { max-width: 18ch; }
.ida-nom-main .ida-nominate-sub {
  max-width: 62ch; margin-top: 14px; font-size: var(--ida-t-base); line-height: 1.6; color: var(--ida-grey-3);
}
.ida-nom-aside { display: flex; flex-direction: column; gap: 20px; }

/* Aside cards.

   Stripped back. Both of these were the same shape: a violet cap, a ruled
   heading, then six or seven identical tinted squares down the left with
   bold-then-grey text beside each. Repetition that carried no meaning —
   the boxes said nothing the icons and the words did not, and the cap and
   the rule were two devices doing one job.

   What is left does the separating with space and one hairline, and each
   card is drawn as the thing it actually is: the steps are a sequence, so
   they get a timeline; the rules are independent facts, so they get a
   plain list. */
.ida-aside-card {
  background: var(--ida-white);
  border: 1px solid var(--ida-hairline-light);
  padding: 26px 24px 28px;
}
.ida-aside-title {
  margin: 0 0 22px;
  font-size: var(--ida-t-micro); font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ida-grey-4);
}

/* --- The four steps, as a timeline ---------------------------------- */
.ida-timeline { list-style: none; margin: 0; padding: 0; }
.ida-timeline-step {
  position: relative; display: block;
  padding: 0 26px 24px 0;
}
/* The rail runs between the nodes, not past the last one, and carries the
   step's own accent at low opacity so the colour reads as one thread
   changing hands rather than four unrelated dots. */
.ida-timeline-step::before {
  content: ''; position: absolute; right: 4px; top: 8px; bottom: -2px;
  width: 2px; background: var(--ida-accent); opacity: .3;
}
.ida-timeline-step:last-child { padding-bottom: 0; }
.ida-timeline-step:last-child::before { display: none; }
.ida-timeline-node {
  position: absolute; right: 0; top: 5px;
  width: 10px; height: 10px; background: var(--ida-accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--ida-accent) 12%, transparent);
}
.ida-timeline-who {
  display: block; margin-bottom: 3px;
  font-size: var(--ida-t-micro); font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ida-accent-ink, var(--ida-accent));
}
.ida-timeline-name {
  display: block; font-size: var(--ida-t-sm); font-weight: 600; line-height: 1.3; color: var(--ida-black);
}
.ida-timeline-text {
  display: block; margin-top: 4px;
  font-size: var(--ida-t-micro); line-height: 1.55; color: var(--ida-grey-3);
}

/* --- The rules, as a plain list -------------------------------------- */
.ida-rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.ida-rule { display: grid; grid-template-columns: 22px 1fr; gap: 13px; align-items: start; }
/* The icon, at reading weight — not in a tinted box repeated seven times. */
.ida-rule .ms { font-size: var(--ida-i-md); color: var(--ida-violet); line-height: 1.2; }
.ida-rule-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ida-rule-body strong { font-size: var(--ida-t-sm); font-weight: 600; line-height: 1.3; color: var(--ida-black); }
.ida-rule-body > span { font-size: var(--ida-t-micro); line-height: 1.55; color: var(--ida-grey-3); }

.ida-aside-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 24px;
  font-size: var(--ida-t-micro); font-weight: 600; color: var(--ida-violet);
}
.ida-aside-link .ida-arrow { font-size: var(--ida-i-sm); }
.ida-aside-link:hover { color: var(--ida-teal-2); }

/* --- The form as a wizard --------------------------------------------
   Three panels, one at a time. The stack is what the markup ships and
   what a visitor without JavaScript gets; .is-stepped is added by
   nominate-form.js once it can drive the navigation. ------------------ */
/* Tabs, joined to the panel below them. The negative margin overlaps the
   two 1px borders into one, so the strip and the open panel read as a
   single object rather than a bar floating above a box. */
.ida-stepper {
  list-style: none; display: flex; gap: 0; margin: 0 0 -1px; padding: 0;
  position: relative; z-index: 1;
}
.ida-stepper-item {
  flex: 1 1 0; display: flex; align-items: center; gap: 14px;
  padding: 20px 22px; border: 1px solid var(--ida-hairline-light); border-left: 0;
  background: var(--ida-white); color: var(--ida-grey-3);
  transition: background-color var(--ida-ease), color var(--ida-ease), border-color var(--ida-ease);
}
.ida-stepper-item:last-child { border-left: 1px solid var(--ida-hairline-light); }
/* Same voice as the nav and card titles: uppercase Poppins, tight. The
   number is the loud part, the label is the name. */
.ida-stepper-num {
  font-size: var(--ida-d-4); font-weight: 700; line-height: 1; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums; color: var(--ida-grey-4);
}
.ida-stepper-label {
  font-size: var(--ida-t-sm); font-weight: 600; line-height: 1.1;
  letter-spacing: .02em; text-transform: uppercase;
}
/* Current: solid violet, and no bottom edge, so the tab opens into the
   panel it belongs to. */
.ida-stepper-item.is-current {
  background: var(--ida-violet); border-color: var(--ida-violet); color: #FFFFFF;
  border-bottom-color: var(--ida-violet);
}
.ida-stepper-item.is-current .ida-stepper-num { color: var(--ida-teal); }
.ida-stepper-item.is-current .ida-stepper-label { font-weight: 700; }
/* Done: tinted, and the number goes teal — the site's colour for something
   that has completed. */
.ida-stepper-item.is-done { background: var(--ida-violet-tint-3); border-color: #DFD3F7; color: var(--ida-violet); }
.ida-stepper-item.is-done .ida-stepper-num { color: var(--ida-teal-2); }

.ida-form.is-stepped .ida-form-step { display: none; }
.ida-form.is-stepped .ida-form-step.is-current { display: flex; }

.ida-step-nav {
  display: flex; align-items: center; justify-content: flex-end; gap: 16px;
  margin-top: 4px; padding-top: 20px; border-top: 1px solid var(--ida-hairline-light);
}
.ida-step-nav [data-ida-back] { margin-left: auto; }
.ida-step-back {
  display: inline-flex; align-items: center; gap: 7px; background: none; border: 0; cursor: pointer;
  padding: 12px 2px; font-size: var(--ida-t-sm); font-weight: 500; color: var(--ida-grey-3);
  transition: color var(--ida-ease);
}
.ida-step-back .ms { font-size: var(--ida-i-sm); }
.ida-step-back:hover { color: var(--ida-black); }
.ida-step-next {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--ida-black); background: var(--ida-black);
  padding: 13px 22px; font-size: var(--ida-t-sm); font-weight: 500; color: #FFFFFF;
  transition: background-color var(--ida-ease), color var(--ida-ease), border-color var(--ida-ease), transform .12s ease;
}
.ida-step-next .ida-arrow { font-size: var(--ida-i-sm); color: var(--ida-teal); }
.ida-step-next:hover { background: var(--ida-teal); border-color: var(--ida-teal); color: var(--ida-black); }
.ida-step-next:hover .ida-arrow { color: var(--ida-black); }
.ida-nom-quickfacts {
  display: flex; flex-wrap: wrap; gap: 10px 30px;
  margin: 26px 0 0; padding: 0; list-style: none;
}
.ida-nom-quickfacts li {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: var(--ida-t-sm); font-weight: 500; color: var(--ida-grey-3);
}
.ida-nom-quickfacts .ms { font-size: var(--ida-i-sm); color: var(--ida-violet); }

/* The form column. The aside beside it sets the page width, so the form
   no longer needs a measure of its own. */
.ida-nom-main .ida-form { margin-top: var(--ida-head-gap); }

/* Each step is its own panel with a coloured spine, so the three parts of
   the form read as three separate questions rather than one long column of
   inputs. Colour carries meaning here: violet marks the step you are in,
   and nothing else on the form is violet except focus. */
.ida-form-step {
  display: flex; flex-direction: column; gap: 22px;
  background: #FFFFFF; border: 1px solid var(--ida-hairline-light);
  border-right: 4px solid var(--ida-violet);
  padding: 26px 28px 28px;
}
.ida-form-step--last { border-right-color: var(--ida-teal-2); }
.ida-form-step-head {
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
  padding-bottom: 20px; border-bottom: 1px solid var(--ida-hairline-light);
}
.ida-form-step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; font-size: var(--ida-t-sm); font-weight: 700; letter-spacing: .02em;
  color: #FFFFFF; background: var(--ida-violet); line-height: 1;
}
.ida-form-step--last .ida-form-step-num { background: var(--ida-teal-2); }
.ida-form-step-title { font-size: var(--ida-d-4); font-weight: 700; color: var(--ida-black); }
.ida-form-step-sub { margin-top: 6px; font-size: var(--ida-t-base); line-height: 1.55; color: var(--ida-grey-3); max-width: 62ch; }

.ida-field-help { font-size: var(--ida-t-sm); line-height: 1.5; color: var(--ida-grey-4); }
.ida-field-foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; }
.ida-field-count {
  font-size: var(--ida-t-micro); font-weight: 600; color: var(--ida-grey-4);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.ida-field-count.is-short { color: var(--ida-grey-4); background: #F2F2F4; padding: 2px 8px; }
.ida-field-count.is-ok { color: var(--ida-teal-2); background: #E6F7F3; padding: 2px 8px; }
.ida-field-count.is-near { color: var(--ida-red); background: #FBEDEB; padding: 2px 8px; }

.ida-form-submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 4px; }
.ida-form-submit-note { font-size: var(--ida-t-sm); line-height: 1.5; color: var(--ida-grey-4); max-width: 40ch; }

@media (max-width: 900px) {
  .ida-nom-status { gap: 18px 22px; }
  .ida-nom-layout { padding-right: 20px; padding-left: 20px; }
}

.ida-form-message.is-error { color: #C0392B; }
.ida-form-message.is-success { color: var(--ida-teal-2); }

/* -------------------------------------------------------------------------
   FINALISTS page
   ---------------------------------------------------------------------- */
.ida-cat-tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.ida-cat-tab {
  display: flex; align-items: center; gap: 9px; padding: 14px 22px; font-size: var(--ida-t-base); font-weight: 500;
  background: var(--ida-white); color: var(--ida-black); border: 1px solid var(--ida-hairline-light);
  transition: background-color var(--ida-ease), border-color var(--ida-ease), color var(--ida-ease);
}
.ida-cat-tab .ms { font-size: var(--ida-i-md); color: var(--ida-accent-ink, var(--ida-accent)); transition: color var(--ida-ease); }
.ida-cat-tab:hover { border-color: var(--ida-accent); }
.ida-cat-tab.is-active { background: var(--ida-accent); border-color: var(--ida-accent); color: var(--ida-white); }
.ida-cat-tab.is-active .ms { color: var(--ida-white); }

.ida-vote-section { max-width: var(--ida-wrap); margin: 0 auto; padding: var(--ida-section-y-sm) 28px var(--ida-section-y); }
.ida-vote-state-card {
  background: var(--ida-violet-tint-2); border: 1px solid var(--ida-hairline-light);
  padding: 41px 31px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start;
}
.ida-vote-state-chip {
  display: flex; align-items: center; justify-content: center; width: 64px; height: 64px;
  background: rgba(0,0,0,.05); border: 1px solid rgba(0,0,0,.1);
}
.ida-vote-state-chip .ms { font-size: var(--ida-i-xl); color: var(--ida-violet); }
.ida-vote-state-title { font-size: var(--ida-d-2); line-height: 1.02; text-transform: uppercase; color: var(--ida-black); }
.ida-vote-state-text { font-size: var(--ida-t-base); line-height: 1.55; color: var(--ida-grey-3); max-width: 660px; }

.ida-vote-header-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  border-top: 1px solid var(--ida-hairline-light); padding: 26px 0 22px;
}
.ida-vote-active-cat { font-size: var(--ida-d-3); line-height: 1; text-transform: uppercase; color: var(--ida-black); }
.ida-vote-closes { display: flex; align-items: center; gap: 9px; font-size: var(--ida-t-base); font-weight: 500; color: var(--ida-grey-4); }
.ida-vote-closes .ms { font-size: var(--ida-i-md); color: var(--ida-violet); }
.ida-vote-header-meta { display: flex; align-items: center; gap: 14px 22px; flex-wrap: wrap; }
/* The way back to the grid, after a click has scrolled it out of view. */
.ida-vote-change {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: var(--ida-t-sm); font-weight: 600; color: var(--ida-violet);
  transition: color var(--ida-ease);
}
.ida-vote-change .ms { font-size: var(--ida-i-sm); }
.ida-vote-change:hover { color: var(--ida-teal-2); }

/* The gap between the grid of distinctions and the panel a click opens.
   It used to be the full section rhythm at both ends — roughly 100px of
   white between the tab you pressed and the answer. They are one
   interaction, so they sit closer together than two unrelated sections. */
.ida-page-section + .ida-vote-section { padding-top: 8px; }
/* The panel is a scroll destination, so give it somewhere to land clear of
   the sticky header even when the browser handles the jump itself. */
#ida-distinction, #ida-distinctions { scroll-margin-top: 108px; }

.ida-finalists-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 20px; }
.ida-finalist-card {
  display: flex; flex-direction: column; background: var(--ida-white); border: 1px solid var(--ida-hairline-light);
  transition: border-color var(--ida-ease);
}
.ida-finalist-card:hover { border-color: var(--ida-violet); }
.ida-finalist-photo-wrap { position: relative; }
.ida-finalist-photo { width: 100%; height: clamp(260px, 25vw, 350px); display: block; object-fit: cover; }
/* No portrait uploaded yet: the finalist's initials, not a stranger's face. */
.ida-finalist-monogram {
  display: flex; align-items: center; justify-content: center;
  background: var(--ida-violet); color: #FFFFFF;
  font-size: var(--ida-mono); font-weight: 700; letter-spacing: .02em;
}
.ida-finalist-badge {
  position: absolute; top: 0; right: 0; display: flex; align-items: center; gap: 8px;
  background: var(--ida-violet); color: var(--ida-white); padding: 10px 14px; font-size: var(--ida-t-sm); font-weight: 500; pointer-events: none;
}
.ida-finalist-badge .ms { font-size: var(--ida-i-sm); }
.ida-finalist-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.ida-finalist-name { font-size: var(--ida-d-4); font-weight: 600; line-height: 1.04; color: var(--ida-black); }
.ida-finalist-bio { font-size: var(--ida-t-base); line-height: 1.5; color: var(--ida-grey-3); }
.ida-vote-btn {
  margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--ida-violet); color: var(--ida-white); padding: 19px 22px; font-size: var(--ida-t-base); font-weight: 500;
  transition: background-color var(--ida-ease), color var(--ida-ease); width: 100%;
}
.ida-vote-btn .ms { font-size: var(--ida-i-md); }
.ida-vote-btn:hover:not(:disabled) { background: var(--ida-teal); color: var(--ida-black); }
.ida-vote-btn:disabled { cursor: not-allowed; opacity: .7; }
.ida-vote-btn.is-voted { background: var(--ida-teal); color: var(--ida-black); opacity: 1; }
.ida-vote-footnote { margin-top: 34px; font-size: var(--ida-t-sm); line-height: 1.6; color: var(--ida-grey-4); }

/* Email verification gate — the real 3-step flow the plugin requires,
   styled as a light card so it sits inside the white Finalists page. */
.ida-voter-gate {
  background: var(--ida-violet-tint-2); border: 1px solid var(--ida-hairline-light);
  padding: 27px 26px; margin-bottom: 30px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start;
}
.ida-voter-gate h3 { font-size: var(--ida-d-4); text-transform: uppercase; color: var(--ida-black); }
.ida-voter-gate p { font-size: var(--ida-t-base); line-height: 1.5; color: var(--ida-grey-3); max-width: 560px; }
.ida-voter-gate-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; width: 100%; }
.ida-voter-gate-form label { display: flex; flex-direction: column; gap: 8px; font-size: var(--ida-t-sm); color: var(--ida-grey-3); flex: 1; min-width: 220px; }
.ida-voter-gate-form input {
  border: none; border-bottom: 1px solid var(--ida-black); background: transparent;
  color: var(--ida-black); padding: 10px 2px; font-size: var(--ida-t-base); outline: none;
  transition: border-color var(--ida-ease);
}
.ida-voter-gate-form input:focus { border-bottom-color: var(--ida-violet); }
.ida-voter-gate-form .ida-form-message { flex-basis: 100%; }
.ida-btn-violet-sm {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--ida-violet); color: var(--ida-white); padding: 13px 22px; font-size: var(--ida-t-sm); font-weight: 600;
  white-space: nowrap; transition: background-color var(--ida-ease), color var(--ida-ease);
}
.ida-btn-violet-sm:hover { background: var(--ida-teal); color: var(--ida-black); }
.ida-btn-violet-sm:hover .ida-arrow { color: var(--ida-black); }

/* -------------------------------------------------------------------------
   SHARED: closing CTA band
   ---------------------------------------------------------------------- */
.ida-cta-band {
  position: relative; overflow: hidden;
  background: var(--ida-violet);
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 28px 28px;
}
.ida-cta-glow { position: absolute; pointer-events: none; }
.ida-cta-glow--dark { right: -10%; top: -40%; width: 60%; height: 180%; background: radial-gradient(circle, rgba(0,0,0,.22) 0%, transparent 70%); }
.ida-cta-glow--teal { left: -12%; top: -50%; width: 45%; height: 200%; background: radial-gradient(circle, rgba(57,218,188,.28) 0%, transparent 70%); filter: blur(18px); }
.ida-cta-motif { position: absolute; left: 36px; top: 50%; transform: translateY(-50%); height: 250px; width: auto; opacity: .16; pointer-events: none; }

.ida-cta-band-inner {
  max-width: var(--ida-wrap); margin: 0 auto; padding: 46px 28px; position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 27px; flex-wrap: wrap;
}
.ida-cta-band .ida-kicker { margin-bottom: 16px; }
.ida-cta-band-title { max-width: 760px; font-size: var(--ida-d-2); line-height: 1; text-transform: uppercase; color: var(--ida-white); }
.ida-cta-band-btn {
  display: flex; align-items: center; gap: 10px; background: var(--ida-white); color: var(--ida-black);
  padding: 21px 30px; font-size: var(--ida-t-base); font-weight: 500; transition: background-color var(--ida-ease);
}
.ida-cta-band-btn:hover { background: var(--ida-teal); color: var(--ida-black); }
.ida-cta-band-btn:hover .ida-arrow { color: var(--ida-black); }
.ida-cta-band-btn .ida-arrow { color: var(--ida-violet); font-size: var(--ida-i-md); }

/* -------------------------------------------------------------------------
   SHARED: footer
   ---------------------------------------------------------------------- */
.ida-footer { background: var(--ida-near-black); border-top: 1px solid var(--ida-hairline-dark); }
.ida-footer-grid {
  max-width: var(--ida-wrap); margin: 0 auto; padding: 46px 28px 31px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 34px;
}
.ida-footer-col-brand { display: flex; flex-direction: column; gap: 20px; }
/* The brand column leads with the lockup, not a headline-sized email. */
.ida-footer-logo { display: block; }
.ida-footer-logo img { height: 54px; width: auto; display: block; }
.ida-footer-address { font-size: var(--ida-t-base); line-height: 1.6; color: var(--ida-grey-on-dark); }
/* Email and phone read as one contact block. */
.ida-footer-contact { display: flex; flex-direction: column; gap: 6px; }
.ida-footer-email,
.ida-footer-phone { font-size: var(--ida-t-base); font-weight: 600; color: var(--ida-white); transition: color var(--ida-ease); }
.ida-footer-email:hover,
.ida-footer-phone:hover { color: var(--ida-teal); }
.ida-footer-social { display: flex; gap: 16px; margin-top: 6px; }
.ida-footer-social .ms { font-size: var(--ida-i-md); color: var(--ida-white); transition: color var(--ida-ease); }
.ida-footer-social a:hover .ms { color: var(--ida-teal); }
.ida-footer-links-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px 31px; }
.ida-footer-links-col { display: flex; flex-direction: column; gap: 16px; }
.ida-footer-links-heading { font-size: var(--ida-t-base); font-weight: 700; text-transform: uppercase; color: var(--ida-white); }
.ida-footer-link { display: flex; align-items: center; gap: 8px; font-size: var(--ida-t-base); color: var(--ida-grey-on-dark); transition: color var(--ida-ease); }
.ida-footer-link:hover { color: var(--ida-teal); }
/* The arrow carries the colour at rest and the label follows on hover — the
   same order the header nav uses. Both were grey, which made the footer the
   one place on the site with no brand in it. */
.ida-footer-link .ida-arrow { font-size: var(--ida-i-xs); color: var(--ida-teal); transition: color var(--ida-ease); }
.ida-footer-link:hover .ida-arrow { color: var(--ida-teal); }
.ida-footer-links-heading { letter-spacing: .01em; }
.ida-footer-subscribe { display: flex; flex-direction: column; gap: 16px; }
.ida-footer-subscribe-row { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--ida-footer-rule); padding-bottom: 11px; }
.ida-footer-subscribe-row input { flex: 1; background: transparent; border: none; outline: none; font-size: var(--ida-t-base); color: var(--ida-white); }
.ida-footer-subscribe-row input::placeholder { color: var(--ida-white); opacity: .7; }
.ida-footer-subscribe-row button .ms { font-size: var(--ida-i-md); color: var(--ida-teal); }
.ida-footer-subscribe-note { font-size: var(--ida-t-base); line-height: 1.6; color: var(--ida-grey-on-dark); }
.ida-footer-widgets-row {
  max-width: var(--ida-wrap); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 26px;
  padding: 31px 31px 0; border-top: 1px solid var(--ida-hairline-dark);
}
.ida-footer-widget-title { font-size: var(--ida-t-sm); font-weight: 700; text-transform: uppercase; color: var(--ida-white); margin-bottom: 14px; }
.ida-footer-widget { font-size: var(--ida-t-sm); line-height: 1.6; color: var(--ida-grey-on-dark); }
.ida-footer-widget a { color: var(--ida-grey-on-dark); transition: color var(--ida-ease); }
.ida-footer-widget a:hover { color: var(--ida-teal); }
.ida-footer-widget ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ida-footer-bottom { border-top: 1px solid var(--ida-hairline-dark); }
.ida-footer-bottom-inner {
  max-width: var(--ida-wrap); margin: 0 auto; padding: 20px 31px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.ida-footer-bottom-brand { display: flex; align-items: center; gap: 12px; }
.ida-footer-bottom-name { font-size: var(--ida-t-base); font-weight: 600; text-transform: capitalize; color: var(--ida-white); }
/* --ida-grey-3 is the grey for white cards; on the near-black footer it
   measured 3.1:1. The dark-ground grey is what belongs here. */
.ida-footer-copyright { font-size: var(--ida-t-base); color: var(--ida-grey-on-dark); }

/* -------------------------------------------------------------------------
   Generic page content (page.php) — any page built with the block editor
   or Elementor, styled to sit on the same white body as Process/Nominate.
   ---------------------------------------------------------------------- */
.ida-page-content-body { font-size: var(--ida-t-base); line-height: 1.7; color: var(--ida-grey-3); max-width: none; }
/* Prose keeps a readable measure; plugin shortcode blocks (.ida-wrap)
   get the full width of the page section so their grids aren't squeezed
   into a text column. */
.ida-page-content-body > p, .ida-page-content-body > ul, .ida-page-content-body > ol,
.ida-page-content-body > blockquote, .ida-page-content-body > h1, .ida-page-content-body > h2,
.ida-page-content-body > h3, .ida-page-content-body > h4, .ida-page-content-body > h5,
.ida-page-content-body > h6 { max-width: 820px; }
.ida-page-content-body > .ida-wrap { margin: 0 0 52px; }
.ida-page-content-body > .ida-wrap:last-child { margin-bottom: 0; }
.ida-page-content-body h1, .ida-page-content-body h2, .ida-page-content-body h3,
.ida-page-content-body h4, .ida-page-content-body h5, .ida-page-content-body h6 {
  color: var(--ida-black); font-weight: 700; text-transform: uppercase; line-height: 1.15; margin: 1.4em 0 .6em;
}
.ida-page-content-body h1:first-child, .ida-page-content-body h2:first-child, .ida-page-content-body h3:first-child { margin-top: 0; }
.ida-page-content-body p { margin: 0 0 1.2em; }
.ida-page-content-body a { color: var(--ida-violet); text-decoration: underline; }
.ida-page-content-body ul, .ida-page-content-body ol { margin: 0 0 1.2em; padding-right: 1.4em; }
.ida-page-content-body li { margin-bottom: .5em; }
.ida-page-content-body img { max-width: 100%; height: auto; }
.ida-page-content-body blockquote { border-right: 3px solid var(--ida-violet); margin: 1.4em 0; padding: .4em 1.4em .4em 0; color: var(--ida-black); font-style: italic; }
.ida-page-pagination { margin-top: 2em; display: flex; gap: 12px; flex-wrap: wrap; }


/* -------------------------------------------------------------------------
   Award blocks (Categories page) + grouped distinction tabs (Finalists)
   ---------------------------------------------------------------------- */

/* The four dossier blocks read as four sections: a hairline rule and an
   uppercase label, not a card, so the cards inside stay the only objects
   on the page with a border. */
.ida-cat-block { margin-bottom: 72px; }
.ida-cat-block:last-child { margin-bottom: 0; }
.ida-cat-block-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  border-top: 1px solid var(--ida-hairline-light); padding-top: 20px;
}
.ida-cat-block-title { font-size: var(--ida-d-4); font-weight: 600; line-height: 1.05; text-transform: uppercase; color: var(--ida-black); margin: 0; }
.ida-cat-block-count { font-size: var(--ida-t-sm); font-weight: 500; color: var(--ida-grey-4); white-space: nowrap; }
.ida-cat-block-note { margin: 8px 0 22px; font-size: var(--ida-t-base); line-height: 1.5; color: var(--ida-grey-3); }

/* Governance flag on a category card. It is a two-state code, so it is drawn
   in the two brand colours rather than in grey: violet = the Grand Jury
   decides, teal = the four that carry a public vote. Grey said nothing and
   made the foot of every card look unfinished. */
.ida-cat-card-meta { display: block; margin-top: 12px; }
.ida-cat-flag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--ida-t-micro); font-weight: 500; letter-spacing: .02em;
  color: var(--ida-violet);
}
.ida-cat-flag .ms { font-size: var(--ida-i-xs); }
/* On the white card this is 15px text; teal-2 measured 3.4:1 there. */
.ida-cat-flag--vote { color: var(--ida-teal-ink); }
.ida-cat-card:hover .ida-cat-flag,
.ida-cat-card:hover .ida-cat-flag--vote { color: rgba(255, 255, 255, .82); }

/* Finalists page: tabs grouped by block. */
.ida-cat-tab-blocks { display: flex; flex-direction: column; gap: 20px; }
.ida-cat-tab-block-label {
  display: block; margin-bottom: 10px;
  font-size: var(--ida-t-micro); font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ida-grey-4);
}
.ida-cat-tab-flag { display: inline-flex; align-items: center; margin-right: 2px; }
/* 14px on a white tab — the reading teal, not the fill teal. */
.ida-cat-tab-flag .ms { font-size: var(--ida-i-xs); color: var(--ida-teal-ink); }
.ida-cat-tab.is-active .ida-cat-tab-flag .ms { color: inherit; }

/* Jury-only states — deliberately not a disabled button. A greyed-out
   control reads as "broken or not yet"; this is a permanent property of
   the distinction, so it gets its own line instead. */
.ida-jury-only {
  display: inline-flex; align-items: center; gap: 8px; margin: 0;
  font-size: var(--ida-t-sm); font-weight: 500; color: var(--ida-grey-3);
}
.ida-jury-only .ms { font-size: var(--ida-i-xs); color: var(--ida-violet-2); }
.ida-jury-only-note {
  grid-column: 1 / -1;
  display: flex; align-items: flex-start; gap: 10px; margin: 0 0 4px;
  padding: 14px 16px;
  border: 1px solid var(--ida-hairline-light); background: var(--ida-violet-tint-2);
  font-size: var(--ida-t-sm); line-height: 1.5; color: var(--ida-grey-3);
}
.ida-jury-only-note .ms { font-size: var(--ida-i-sm); color: var(--ida-violet); flex-shrink: 0; }

@media (max-width: 700px) {
  .ida-cat-block { margin-bottom: 52px; }
  .ida-cat-block-head { flex-direction: column; gap: 4px; }
}

/* Icon-only social links carry an aria-label, but at icon size they were a
   25x31 touch target. Pad the hit area out to 44px without moving the
   glyphs apart visually (negative margin absorbs the added padding). */
.ida-footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 34px; margin: -6px;
}

/* -------------------------------------------------------------------------
   Micro-interactions
   ---------------------------------------------------------------------- */

/* Hover lift on the cards that are genuinely clickable objects — pillars,
   category cards, ticket tiers. Deliberately NOT on jury or sponsor tiles:
   those own a different hover (accent fill, outline) and a translate would
   pull them off their shared grid edges. */
.ida-lift { transition: transform .28s var(--ida-ease-out), box-shadow .28s ease; }
.ida-lift:hover { transform: translateY(-7px); box-shadow: 0 20px 40px rgba(0, 0, 0, .14); }

/* Press feedback on every arrow button. Paired with the existing
   rotate-on-hover arrow, so the button answers both hover and click. */
.ida-arrow-btn { transition: transform .12s ease; }
.ida-arrow-btn:active { transform: scale(.96); }

/* Page entrance: the whole content column fades in once, on load.

   Opacity ONLY, deliberately. This animation used to translate the wrapper
   as well, and a transform on an element makes it the containing block for
   every `position: fixed` descendant inside it — so the nav overlay and the
   back-to-top button were being positioned against .ida-site instead of the
   window. The overlay's top row slid under the WordPress admin bar and the
   whole overlay drifted with the page. The sections already rise one by one
   on scroll; the wrapper does not need to move as well. */
@keyframes ida-page-fade { from { opacity: 0; } to { opacity: 1; } }
.ida-motion .ida-page-enter { animation: ida-page-fade .45s var(--ida-ease-out); }

/* Stat figures are counted up by motion.js; reserve the digits' width so the
   surrounding layout does not reflow while the number climbs. */
.ida-stat-value { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  .ida-lift, .ida-lift:hover, .ida-arrow-btn:active,
  .ida-pkg:hover, .ida-pkg-agreed:hover { transform: none !important; box-shadow: none !important; }
  .ida-hero-trophy, .ida-motif { animation: none !important; }
  .ida-motion .ida-page-enter { animation: none !important; }
}

/* -------------------------------------------------------------------------
   Plugin preview page
   -------------------------------------------------------------------------
   A single page that renders every plugin shortcode at once, used to check
   plugin output against the theme's own screens. Its blocks deliberately
   repeat what the Process, Nominate and Finalists pages show, so it carries
   a standing notice and labelled section heads — without them a visitor
   landing here cannot tell it from the real pages, and neither can a search
   engine. It is kept out of the public site rather than linked from the nav.
   ---------------------------------------------------------------------- */
.ida-preview-note {
  display: flex; align-items: flex-start; gap: 12px;
  margin: 0 0 44px; padding: 18px 20px;
  border: 1px solid var(--ida-violet); background: var(--ida-violet-tint);
  font-size: var(--ida-t-base); line-height: 1.5; color: var(--ida-grey-3);
}
.ida-preview-note .ms { font-size: var(--ida-i-sm); color: var(--ida-violet); flex-shrink: 0; }
.ida-preview-note strong { color: var(--ida-black); font-weight: 600; }

.ida-preview-head { margin: 0 0 22px; padding-top: 40px; border-top: 1px solid var(--ida-hairline-light); }
.ida-preview-head:first-of-type { padding-top: 0; border-top: none; }
.ida-preview-kicker {
  display: block; margin-bottom: 8px;
  font-size: var(--ida-t-micro); font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ida-violet);
}
.ida-preview-title {
  margin: 0 0 6px; font-size: var(--ida-d-4); font-weight: 600;
  line-height: 1.05; text-transform: uppercase; color: var(--ida-black);
}
.ida-preview-sub { margin: 0; font-size: var(--ida-t-base); line-height: 1.5; color: var(--ida-grey-4); }
.ida-preview-sub code {
  font-size: var(--ida-t-sm); padding: 2px 6px;
  background: var(--ida-violet-tint-3); color: var(--ida-violet);
}

/* -------------------------------------------------------------------------
   Motion layer (assets/js/motion.js)

   Scroll-reveal + entrance choreography. Every rule here is scoped under
   html.ida-motion, which the script adds only once it is running and only
   when the visitor hasn't asked for reduced motion — so with JS disabled,
   or with reduced motion on, the page renders fully visible and static
   rather than blank.
   ---------------------------------------------------------------------- */
.ida-motion .ida-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity .7s var(--ida-ease-out) var(--ida-reveal-delay),
    transform .7s var(--ida-ease-out) var(--ida-reveal-delay);
  will-change: opacity, transform;
}
.ida-motion .ida-reveal.is-in { opacity: 1; transform: none; }
/* Two elements run a permanent animation of their own. Their reveal is
   opacity only — a transform here would be overridden by the animation
   anyway, and setting one just leaves them starting from the wrong place. */
.ida-motion .ida-motif.ida-reveal,
.ida-motion .ida-hero-object.ida-reveal { transform: none; }
/* Once revealed, drop the hint so hover transforms stay smooth. */
.ida-motion .ida-reveal.is-in { will-change: auto; }

/* Anchor targets clear the sticky header instead of hiding under it. */
:target, [id] { scroll-margin-top: 110px; }

/* Micro-interactions: the marquee holds still when a visitor points at it,
   and interactive surfaces settle on the same easing curve. */
.ida-marquee-section:hover .ida-marquee-track { animation-play-state: paused; }
.ida-pillar, .ida-tier, .ida-cat-card, .ida-finalist-card, .ida-sponsor-tile,
.ida-cat-tab, .ida-status-card {
  transition-timing-function: var(--ida-ease-out);
}
.ida-sponsor-tile { transition: background-color var(--ida-ease), outline-color var(--ida-ease); }
.ida-step-row, .ida-step-full-row { transition: background-color var(--ida-ease), transform var(--ida-ease); }
a.ida-step-row:hover { transform: translateX(-4px); }

/* Print: a reveal that hasn't fired would otherwise print as blank space. */
@media print {
  .ida-motion .ida-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .ida-motion .ida-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .ida-jury-card:hover, .ida-sponsor-tile:hover, a.ida-step-row:hover { transform: none !important; }
}
/* -------------------------------------------------------------------------
   Responsive — the reference leans on auto-fit grids and clamp() for most
   of this; these are the spots that need an explicit nudge.
   ---------------------------------------------------------------------- */
@media (max-width: 1100px) {
  /* 2, not 3: the wall holds an even number of partners, so a three-up
     grid always leaves a half-empty last row. */
  .ida-sponsors-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  /* The inline nav crowds the logo, search, grid button and CTA — the
     grid button already opens a full-screen menu with the same links. */
  .ida-nav { display: none; margin-right: 0; }
  .ida-bg-mesh > .ida-mesh { width: min(78%, 620px); opacity: .8; }
}

@media (max-width: 780px) {
  .ida-header-inner { padding: 14px 20px; }
  .ida-header-cta span:not(.ms) { display: none; }
  .ida-header-cta { padding: 14px; }
  .ida-nav-overlay-links, .ida-nav-overlay-top { padding-right: 20px; padding-left: 20px; }
  .ida-stats-grid, .ida-pillars-section, .ida-catgrid-section, .ida-process-preview,
  .ida-tiers-section, .ida-packages-section, .ida-sponsors-section, .ida-page-section, .ida-steps-full,
  .ida-nom-layout, .ida-vote-section, .ida-jury-head,
  .ida-jury-grid, .ida-cta-band-inner, .ida-footer-grid { padding-right: 20px; padding-left: 20px; }
  .ida-footer-bottom-inner, .ida-footer-widgets-row { padding-right: 20px; padding-left: 20px; }
  .ida-banner { padding: 24px 20px; }
  /* The same rhythm, one step down, so sections stay distinct on a phone
     without wasting half the screen on empty space. */
  :root { --ida-section-y: 52px; --ida-section-y-sm: 40px; }
  .ida-sponsors-grid { grid-template-columns: repeat(2, 1fr); }
  .ida-cta-motif { display: none; }
  .ida-bg-mesh > .ida-mesh { width: 100%; opacity: .5; }
  .ida-hero { padding-right: 20px; padding-left: 20px; }
}

@media (max-width: 480px) {
  .ida-sponsors-grid { grid-template-columns: 1fr; }
  .ida-hero-cta, .ida-btn-primary-lg { width: 100%; justify-content: center; }
}

/* -------------------------------------------------------------------------
   OVERFLOW GUARDS

   The same floor the dashboard has. A clipped control on the Nominees
   screen came down to one inline style beating one component rule, and the
   failure was silent — it looked fine until you read the last word. These
   make the near-miss visible instead of broken, on every page: nothing may
   be wider than the space it has, long unbroken strings wrap instead of
   pushing the layout out, and anything that genuinely needs more width
   scrolls inside its own box rather than the page.
   ---------------------------------------------------------------------- */
.ida-body input, .ida-body select, .ida-body textarea, .ida-body button {
  max-width: 100%;
}
/* An email address, a URL or a long French award name are the usual causes
   of a card or a cell pushing past its container. */
.ida-body td, .ida-body th, .ida-body dd, .ida-body li { overflow-wrap: anywhere; }
.ida-body p, .ida-body span { overflow-wrap: break-word; }
/* Media never exceeds its column. */
.ida-body img, .ida-body svg, .ida-body video { max-width: 100%; }
/* Wide content scrolls in its own box, never the body. */
.ida-body table { max-width: 100%; }
.ida-tablescroll { overflow-x: auto; max-width: 100%; }
/* Last line of defence: the page itself never scrolls sideways.

   `clip`, not `hidden`. Both stop the sideways scroll, but `hidden` makes
   the element a scroll container — its overflow-y resolves to `auto` — and
   once BODY is the scroller, `window.scrollTo()` moves nothing. That is
   exactly what broke the scroll-to-result on the Finalists page: the click
   registered, the panel changed, and the page sat still. `clip` prevents
   the overflow without creating a scroll container.

   It is a backstop, not load-bearing: every section that overhangs (the
   marquee, the hero glow, the CTA glow) already clips itself. */
body.ida-body { overflow-x: clip; }


/* -------------------------------------------------------------------------
   BRAND MOTIFS
   The totems are the brand's signature, so they are drawn at full strength
   and placed in the margin beside the content — never faded down behind it.
   A washed-out motif under a paragraph is wallpaper; a solid one standing in
   the whitespace next to the paragraph is a mark. Section backgrounds are
   the banner artwork, which is a separate job and a separate asset.

   Each section always gets the same motif, so the shape becomes part of how
   that section is recognised, and no two neighbours carry the same one.
   ---------------------------------------------------------------------- */
.ida-motif {
  position: absolute; z-index: 1;
  pointer-events: none; user-select: none;
  width: auto; height: auto;
}
/* Two classes, so this outranks any single-class rule a host section sets on
   its children. The mesh section stacks its children with
   `.ida-bg-mesh > *` and that beat the line above on specificity: the sail
   lost its absolute position, dropped into the flow at the top left of the
   section and sat on the kicker, while the whole space on the right stayed
   empty. A motif is never in flow. */
.ida-motif-host > .ida-motif { position: absolute; }

/* Kept small on purpose. These are marks in the margin, not illustrations:
   at the first pass they were big enough to pull the eye off the heading
   they were standing beside. */
.ida-motif--xs { height: clamp(20px, 2vw, 30px); }
.ida-motif--sm { height: clamp(40px, 4.2vw, 60px); }
.ida-motif--md { height: clamp(52px, 5.6vw, 78px); }
.ida-motif--lg { height: clamp(66px, 7.2vw, 104px); }

/* The strips, the dot field and the double wave are landscape, so they are
   measured across, not down. Sizing a 641x240 strip by height made it three
   times wider than the margin it was standing in. */
.ida-motif--wide { height: auto; }
.ida-motif--wide.ida-motif--xs { width: clamp(56px, 5vw, 78px); }
.ida-motif--wide.ida-motif--sm { width: clamp(84px, 7vw, 112px); }
.ida-motif--wide.ida-motif--md { width: clamp(110px, 9vw, 150px); }
.ida-motif--wide.ida-motif--lg { width: clamp(140px, 12vw, 196px); }

/* Placements. All of them sit in the outer margin the wrap leaves empty, so
   the motif never lands on top of a line of text. */
/* Beside the heading, measured from the top of the section in pixels. As a
   percentage it drifted down the page on tall sections — on the distinctions
   page 8% of the list landed the element level with the first row of cards,
   with the whole of the space beside the heading left empty. */
.ida-motif--head        { left: 4%;  top: 70px; }
/* The big empty half beside a section head that only fills the left column:
   kicker, title and lede stop around 60% of the width and the element stands
   in what is left, on the heading's own baseline. */
.ida-motif--headline    { left: 4%;  top: 58px; }
.ida-motif--right       { left: 2%;  top: 50%; transform: translateY(-50%); }
.ida-motif--corner      { left: 3%;  bottom: 8%; }
.ida-motif--left        { right: 2%;   bottom: 10%; }
.ida-motif--foot-left   { right: 3%;   bottom: 4%; }
.ida-motif--top-left    { right: 3%;   top: 6%; }

/* A slow drift, so the marks feel placed rather than pasted.

   Three rules make it read as something that was always floating rather
   than something that arrives and then starts:

   1. The loop is CENTRED on where the element sits. It rises 5px above its
      place and falls 5px below it, so its average position is exactly where
      the layout put it. The old loop ran from 0 to -9px and back, so the
      element spent every cycle above its own position and the first half of
      it read as lifting off.
   2. Position and speed match at both ends — ease-in-out puts the turning
      points at 0% and 100%, so the repeat has no seam.
   3. Every element carries a NEGATIVE delay, so the animation is already
      part-way through its cycle on the first painted frame. Nothing begins
      at the top of the loop and no two elements are in step.

   The elements are also kept out of the scroll-reveal in motion.js for the
   same reason: a reveal gives a permanent drift a beginning. */
.ida-motif { animation: ida-motif-float 9s ease-in-out -3.7s infinite; }
.ida-motif--sm { animation-duration: 10.5s; animation-delay: -2.4s; }
.ida-motif--md { animation-duration: 12s;   animation-delay: -6.1s; }
.ida-motif--lg { animation-duration: 13.5s; animation-delay: -1.3s; }
.ida-motif--xs { animation-duration: 9s;    animation-delay: -5.2s; }
/* The centred placement already owns transform, so it drifts from there. */
.ida-motif--right { animation-name: ida-motif-float-centred; }

@keyframes ida-motif-float {
  0%, 100% { transform: translate3d(0, -5px, 0) rotate(0.8deg); }
  50%      { transform: translate3d(0,  5px, 0) rotate(-0.8deg); }
}
@keyframes ida-motif-float-centred {
  0%, 100% { transform: translateY(calc(-50% - 5px)) rotate(0.8deg); }
  50%      { transform: translateY(calc(-50% + 5px)) rotate(-0.8deg); }
}

/* Two kinds of host. A full-bleed section is as wide as the window, so a
   small percentage already lands in the margin the wrap leaves empty. A
   wrap-constrained section IS the content column, so the same percentage
   lands on the text — those get .ida-motif--out and hang outside the box.
   No overflow:hidden here: the body already clips horizontally, and
   clipping at the section would cut the outside ones in half. */
.ida-motif-host { position: relative; }
/* Deliberately no blanket rule on the children. The first version of this
   set `position: relative; z-index: 2` on every child that was not a motif,
   at the same specificity as `.ida-bg-mesh > .ida-mesh` but later in the
   file — so it won, and the pillars section's absolutely-positioned mesh
   artwork dropped into the layout flow at full size and shoved the heading
   down the page. A motif is positioned and paints above static content on
   its own; it stands in the empty margin, so it has nothing to paint over. */

.ida-motif--out.ida-motif--head      { left: -132px; }
.ida-motif--out.ida-motif--headline  { left: -132px; }
.ida-motif--out.ida-motif--right     { left: -132px; }
.ida-motif--out.ida-motif--corner    { left: -132px; }
.ida-motif--out.ida-motif--left      { right: -128px; }
.ida-motif--out.ida-motif--foot-left { right: -128px; }
.ida-motif--out.ida-motif--top-left  { right: -128px; }

/* An outside motif needs the window to be wider than the wrap plus its own
   width, or there is nowhere for it to stand. */
@media (max-width: 1620px) {
  .ida-motif--out { display: none; }
}

/* Below the wrap width there is no outer margin left for any of them to
   stand in, so they all come out rather than landing on the content. Two
   thresholds used to run here, which left the head, headline and corner
   placements alive between 1100 and 1400 with nowhere to go — the corner one
   sat on the last category card. Decoration is not worth a collision.
   The brand still carries on narrow screens through the ticker, the section
   grounds and the CTA band. */
@media (max-width: 1400px) {
  .ida-motif { display: none; }
}

/* ---------------------------------------------------------------------------
   BACK TO TOP
   A square the size of the header's own icon buttons, violet on the page's
   bottom-right corner, white arrow. Zero radius like everything else. It is
   in the DOM from the start but sits translated down and untouchable until
   the page is scrolled, so it can fade in rather than pop into existence.
   --------------------------------------------------------------------------- */
.ida-to-top {
  position: fixed; left: 24px; bottom: 24px; z-index: 30;
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; padding: 0;
  border: 0; border-radius: 0; cursor: pointer;
  background: var(--ida-violet); color: var(--ida-white);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s var(--ida-ease-out), transform .3s var(--ida-ease-out),
              background-color .2s ease, visibility .3s;
}
.ida-to-top.is-in { opacity: 1; visibility: visible; transform: translateY(0); }
.ida-to-top .ms { font-size: var(--ida-i-lg); transition: transform .25s var(--ida-ease-out); }
.ida-to-top:hover { background: var(--ida-black); }
.ida-to-top:hover .ms { transform: translateY(-3px); }
.ida-to-top:focus-visible { outline: 2px solid var(--ida-teal); outline-offset: 3px; }

@media (max-width: 700px) {
  .ida-to-top { left: 14px; bottom: 14px; width: 46px; height: 46px; }
  .ida-to-top .ms { font-size: var(--ida-i-md); }
}
@media (prefers-reduced-motion: reduce) {
  .ida-to-top { transition: opacity .01ms, visibility .01ms; transform: none; }
  .ida-to-top.is-in { transform: none; }
}


/* ---------------------------------------------------------------------------
   BRAND BAND
   The full element strip, full-bleed, standing on top of the closing CTA.
   It repeats horizontally: the supplied file is three seamless copies of one
   unit, so `repeat-x` joins invisibly at any window width. Sized by height so
   the elements keep their drawn proportions instead of stretching, and given
   its own white ground — the elements are the violet-and-teal set, which is
   the light-ground pair.
   --------------------------------------------------------------------------- */
.ida-brand-band {
  /* A band, not a section. It was 178px tall and read as a block of its own
     competing with the CTA underneath it. */
  height: clamp(44px, 7vw, 104px);
  background-color: var(--ida-white);
  background-image: url('../img/brand/motif-band.png');
  background-repeat: repeat-x;
  background-position: right bottom;
  background-size: auto 100%;
}

/* Mobile header: logo + three buttons need ~347px, but a 360px phone has 320px of room, so the
   row wrapped to two lines (136px tall). Shrink the logo and gaps and never wrap on phones. */
@media (max-width: 480px) {
  .ida-header-inner { flex-wrap: nowrap; gap: 12px; padding-right: 16px; padding-left: 16px; }
  .ida-logo { height: 36px; }
  .ida-header-right { gap: 8px; }
}

/* Desktop header: the search and grid buttons duplicate things already on the
   bar (the nav links, the nominate button). They stay on tablet and phone,
   where the nav is hidden and the grid button is the way into the menu. */
@media (min-width: 961px) {
  .ida-search-toggle,
  .ida-menu-toggle { display: none; }
}

@media (max-width: 640px) {
  .ida-stepper-item { padding: 14px 12px; gap: 8px; flex-direction: column; align-items: flex-start; }
  .ida-stepper-num { font-size: var(--ida-t-base); }
  .ida-stepper-label { font-size: var(--ida-t-micro); }
}

/* -------------------------------------------------------------------------
   FOOTER PAGES — Sponsors, Rules, FAQs, Gallery, Press, Contact, Privacy,
   Terms (theme 2.64.0). Same idiom as the Process page: chip + uppercase
   name on the left, plain explanation on the right, hairlines between.
   ---------------------------------------------------------------------- */
.ida-info-rows { max-width: var(--ida-wrap); }
.ida-info-row {
  border-top: 1px solid var(--ida-hairline-light); padding: 27px 0;
  display: grid; grid-template-columns: minmax(260px, 5fr) minmax(0, 7fr); gap: 20px 40px; align-items: start;
}
.ida-info-left { display: flex; align-items: flex-start; gap: 18px; }
.ida-info-chip {
  display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; flex-shrink: 0;
  background: var(--ida-violet-tint-3); border: 1px solid var(--ida-violet);
}
.ida-info-chip .ms { font-size: var(--ida-i-lg); color: var(--ida-violet); }
.ida-info-name {
  align-self: center; font-size: var(--ida-d-4); font-weight: 600; line-height: 1.08;
  text-transform: uppercase; color: var(--ida-black);
}
.ida-info-text { display: flex; flex-direction: column; gap: 14px; max-width: 68ch; }
.ida-info-text p { margin: 0; font-size: var(--ida-t-base); line-height: 1.6; color: var(--ida-grey-3); }
.ida-info-text a { color: var(--ida-violet); text-decoration: underline; text-underline-offset: 3px; }
.ida-info-text a:hover { color: var(--ida-teal-ink); }

.ida-info-note {
  display: flex; align-items: flex-start; gap: 14px; margin-top: 36px; padding: 20px 22px; max-width: 820px;
  background: var(--ida-violet-tint-3); border: 1px solid #DFD3F7;
}
.ida-info-note .ms { font-size: var(--ida-i-md); color: var(--ida-violet); line-height: 1.5; }
.ida-info-note p { margin: 0; font-size: var(--ida-t-sm); line-height: 1.6; color: var(--ida-black); }
.ida-info-note a { color: var(--ida-violet); text-decoration: underline; text-underline-offset: 3px; }

/* Empty state: says it is empty, then stops. */
.ida-empty {
  display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
  max-width: 640px; padding: 8px 0 24px;
}
.ida-empty-chip {
  display: flex; align-items: center; justify-content: center; width: 72px; height: 72px;
  background: var(--ida-violet-tint-3); border: 1px solid var(--ida-violet);
}
.ida-empty-chip .ms { font-size: var(--ida-i-lg); color: var(--ida-violet); }
.ida-empty-title { font-size: var(--ida-d-3); font-weight: 700; line-height: 1; text-transform: uppercase; color: var(--ida-black); }
.ida-empty-text { margin: 0; font-size: var(--ida-t-base); line-height: 1.6; color: var(--ida-grey-3); }

/* FAQs */
.ida-faq { display: flex; flex-direction: column; gap: 56px; max-width: 920px; }
.ida-faq-group-title {
  font-size: var(--ida-t-sm); font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ida-violet); padding-bottom: 14px;
}
.ida-faq-item { border-top: 1px solid var(--ida-hairline-light); }
.ida-faq-item:last-child { border-bottom: 1px solid var(--ida-hairline-light); }
.ida-faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-size: var(--ida-d-4); font-weight: 600; line-height: 1.2; color: var(--ida-black);
}
.ida-faq-item summary::-webkit-details-marker { display: none; }
.ida-faq-item summary:hover { color: var(--ida-violet); }
.ida-faq-item summary:focus-visible { outline: 2px solid var(--ida-violet); outline-offset: 2px; }
.ida-faq-plus { flex-shrink: 0; font-size: var(--ida-i-md); color: var(--ida-violet); transition: transform var(--ida-ease); }
.ida-faq-item[open] .ida-faq-plus { transform: rotate(-45deg); }
.ida-faq-answer { padding: 0 0 24px; max-width: 68ch; }
.ida-faq-answer p { margin: 0; font-size: var(--ida-t-base); line-height: 1.65; color: var(--ida-grey-3); }
.ida-faq-answer a { color: var(--ida-violet); text-decoration: underline; text-underline-offset: 3px; }

/* Footer legal links, between the name and the copyright */
.ida-footer-legal { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; }
.ida-footer-legal a { font-size: var(--ida-t-sm); color: var(--ida-grey-on-dark); transition: color var(--ida-ease); }
.ida-footer-legal a:hover { color: var(--ida-teal); }

@media (max-width: 760px) {
  .ida-info-row { grid-template-columns: 1fr; gap: 14px; padding: 22px 0; }
  .ida-info-chip { width: 48px; height: 48px; }
  .ida-faq-item summary { padding: 18px 0; }
}

/* Footer: three link columns now (About / Take part / Information). */
.ida-footer-links-wrap { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
@media (min-width: 1100px) {
  .ida-footer-grid { grid-template-columns: minmax(240px, 1fr) minmax(0, 1.9fr) minmax(220px, 1fr); }
}
@media (max-width: 1099px) {
  .ida-footer-links-wrap { grid-column: 1 / -1; }
}

/* "Per proposal" is a phrase, not a figure: set it at heading size. */
.ida-pkg-figure--text { font-size: var(--ida-d-3); letter-spacing: 0; text-transform: uppercase; line-height: 1.05; }

/* Footer-page rows take the Process page's per-row accent. */
.ida-info-chip { background: var(--ida-accent-tint, var(--ida-violet-tint-3)); border-color: var(--ida-accent, var(--ida-violet)); }
.ida-info-chip .ms { color: var(--ida-accent-ink, var(--ida-violet)); }

/* -------------------------------------------------------------------------
   LANGUAGE SWITCHER (theme 2.67.0) — icon-only dropdown in the header.
   Globe + caret, same grey-on-dark / black-on-light idiom as the search
   button. The menu is a small sharp-cornered panel, like the rest of the site.
   ---------------------------------------------------------------------- */
.ida-lang { position: relative; display: inline-flex; }
.ida-lang-toggle {
  display: inline-flex; align-items: center; gap: 0; height: 46px; padding: 0 4px;
  color: var(--ida-grey-on-dark); transition: color var(--ida-ease);
}
.ida-lang-toggle .ms { font-size: var(--ida-i-lg); color: inherit; }
.ida-lang-toggle .ida-lang-caret { font-size: var(--ida-i-md); transition: transform var(--ida-ease); }
.ida-lang-toggle[aria-expanded="true"] .ida-lang-caret { transform: rotate(-180deg); }
.ida-lang-toggle:hover, .ida-lang-toggle[aria-expanded="true"] { color: var(--ida-white); }
.ida-header.is-scrolled .ida-lang-toggle:hover,
.ida-header.is-scrolled .ida-lang-toggle[aria-expanded="true"] { color: var(--ida-black); }
.ida-lang-toggle:focus-visible, .ida-lang-option:focus-visible { outline: 2px solid var(--ida-teal); outline-offset: 2px; }
.ida-lang-menu {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 70;
  min-width: 168px; margin: 0; padding: 6px; list-style: none;
  background: var(--ida-black); border: 1px solid var(--ida-hairline-dark);
  box-shadow: 0 16px 40px rgba(0,0,0,.28);
}
.ida-lang-menu[hidden] { display: none; }
.ida-lang-option {
  display: flex; align-items: center; gap: 10px; padding: 11px 12px;
  font-size: var(--ida-t-base); font-weight: 500; color: var(--ida-white); white-space: nowrap;
  transition: background-color var(--ida-ease), color var(--ida-ease);
}
.ida-lang-option:hover { background: var(--ida-violet); color: var(--ida-white); }
.ida-lang-dot { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--ida-grey-on-dark); flex-shrink: 0; }
.ida-lang-option.is-current { color: var(--ida-teal); }
.ida-lang-option.is-current .ida-lang-dot { background: var(--ida-teal); border-color: var(--ida-teal); }
.ida-lang-option.is-current:hover { color: var(--ida-white); }
.ida-lang-option.is-current:hover .ida-lang-dot { background: var(--ida-white); border-color: var(--ida-white); }
.ida-header.is-scrolled .ida-lang-menu { background: var(--ida-white); border-color: var(--ida-hairline-light); box-shadow: 0 16px 40px rgba(0,0,0,.12); }
.ida-header.is-scrolled .ida-lang-option { color: var(--ida-black); }
.ida-header.is-scrolled .ida-lang-option:hover { background: var(--ida-violet); color: var(--ida-white); }
.ida-header.is-scrolled .ida-lang-option.is-current { color: var(--ida-teal-ink); }
.ida-header.is-scrolled .ida-lang-option.is-current:hover { color: var(--ida-white); }
.ida-header.is-scrolled .ida-lang-dot { border-color: var(--ida-grey-on-light, #6B6B72); }
.ida-header.is-scrolled .ida-lang-option.is-current .ida-lang-dot { background: var(--ida-teal-ink); border-color: var(--ida-teal-ink); }

/* Phones: logo + search + language + grid + nominate need to fit 320px. The
   language caret and padding go first, then the search button (the full-screen
   menu still reaches every page). */
@media (max-width: 480px) {
  .ida-lang-toggle { padding: 0; height: 40px; }
  .ida-lang-toggle .ida-lang-caret { display: none; }
  .ida-header-right { gap: 6px; }
}
@media (max-width: 340px) {
  .ida-search-toggle { display: none; }
}

/* Arabic: Cairo replaces Poppins (no Arabic glyphs there); Arabic letters join,
   so tracking has to go or the words break apart. */
html[lang="ar"] body, html[lang="ar"] .ida-body,
html[lang="ar"] .ida-body input, html[lang="ar"] .ida-body textarea,
html[lang="ar"] .ida-body select, html[lang="ar"] .ida-body button { font-family: Cairo, Poppins, system-ui, sans-serif; }
html[lang="ar"] .ida-body * { letter-spacing: 0 !important; text-transform: none; }
html[lang="ar"] .ida-body { line-height: 1.7; }
/* Arabic glyphs are taller and carry marks above and below the line, so the tight
   display line-heights built for Latin type make lines collide. */
html[lang="ar"] .ida-body :is(h1, h2, h3, h4, [class*="title"], [class*="headline"]) { line-height: 1.35; }
html[lang="ar"] .ida-hero-headline { line-height: 1.3; }
html[lang="ar"] .ida-body :is(.ida-kicker, .ida-hero-kicker, [class*="kicker"], [class*="eyebrow"]) { line-height: 1.6; }
