/* Pitch to the Patient · SCOPE Europe 2026
   Built from Figma "SCOPE 2026 – Pitch to the Patient – Microsite + LinkedIn"
   Desktop frame 1440, mobile frame 390. Desktop sizes are in rem with 1rem = 16px at the 1440 frame; the root font-size
   scales with the window so narrower screens see the Figma frame fitted, not cropped.
   Nav collapses to the menu at 1024px; mobile layout kicks in at 860px. */

/* Montserrat, self-hosted (SIL OFL, see assets/fonts/OFL.txt). One variable file covers 500 + 600. */
@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url("assets/fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url("assets/fonts/montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Brand */
  --navy: #2b2668;
  --purple: #6b64ad;
  --lilac: #d1c5e2;
  --gold: #e7cb76;
  --mist: #d8d8e1;
  --card: #f3f3f6;
  --white: #fff;

  /* Backgrounds */
  --bg-navy: #272757;
  --bg-ink: #161518;

  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius-card: 2rem;
  --gutter: 5rem;
  --section-y: 8rem;
}

/* ---------- Base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* 16px at 1440 wide and up, scaling down with the window (75% at 1024, floor 12px).
     Text sizes use max(…, Npx) so copy stays readable while the layout scales. */
  font-size: clamp(12px, calc(100vw / 90), 16px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg-ink);
  color: var(--mist);
  font-family: var(--font);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* `hidden` must win over component display rules (banner, modal, sign-up states) */
[hidden] { display: none !important; }

img { display: block; max-width: 100%; }
/* ordinals (14th): raised without pushing the line apart */
sup { font-size: 0.6em; line-height: 0; vertical-align: 0.65em; letter-spacing: 0.05em; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 0.25rem; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  padding: 0.75rem 1.25rem; border-radius: 62.4375rem;
  background: var(--gold); color: var(--navy); text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---------- Type (Figma text styles) ---------- */

.h1, .hero__title {
  font-size: 3.25rem; line-height: 1.3; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--lilac); font-weight: 500;
}
.h2 {
  font-size: max(2.125rem, 26px); line-height: 1.35; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--lilac); font-weight: 500;
}
.h3 {
  font-size: max(1.5rem, 19px); line-height: 1.35; letter-spacing: 0.09em;
  text-transform: uppercase; font-weight: 500;
}
.eyebrow-s {
  font-size: max(0.75rem, 11px); line-height: 1.5; letter-spacing: 0.24em; text-transform: uppercase;
}
.eyebrow-m {
  font-size: max(0.9375rem, 12px); line-height: 1.5; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--gold); font-weight: 500;
}
.body-l { font-size: max(1.375rem, 17px); line-height: 1.5; color: var(--white); }
.body-m { font-size: max(1.125rem, 15px); line-height: 1.55; color: var(--mist); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1.1875rem 2rem; border-radius: 62.4375rem;
  font-size: max(0.875rem, 12px); font-weight: 600; line-height: 1; letter-spacing: 0.18em;
  text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: #f0d88f; }
.btn--outline {
  border: 1.5px solid var(--lilac); color: var(--lilac);
  padding: 1.2188rem 2rem; /* outline button is 55px tall in Figma */
}
.btn--outline:hover { background: var(--lilac); color: var(--navy); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--purple); }

/* ---------- Shared ---------- */

.section {
  position: relative;
  padding: var(--section-y) var(--gutter);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}

.card {
  background: var(--card);
  border: 3px solid var(--purple);
  border-radius: var(--radius-card);
  color: var(--navy);
}

.swoosh { position: absolute; pointer-events: none; max-width: none; }

/* ---------- Hero ---------- */

.hero {
  position: relative; z-index: 1;
  overflow: hidden; /* swoosh is cropped at the hero's edges, as in Figma */
  display: flex; flex-direction: column; align-items: center;
  background: linear-gradient(90deg, #272757 0%, #212136 55%, #17161f 100%);
}

.site-header {
  position: relative;
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 2.75rem var(--gutter) 1.75rem; /* extra top space above the logo (Figma: 28px) */
}
.site-header__logo { flex-shrink: 0; }
.site-header__logo img { width: 19.75rem; height: 8.375rem; object-fit: contain; }

.site-nav { display: flex; align-items: center; gap: 2.5rem; flex-shrink: 0; }
.site-nav__link {
  font-size: max(0.75rem, 11px); line-height: 1.5; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--mist); text-decoration: none;
}
.site-nav__link:hover { color: var(--gold); }

.menu-toggle {
  display: none;
  padding: 0; border: 0; background: none; cursor: pointer;
}

.hero__copy {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 4rem 1.5rem;
  max-width: 71.75rem;
}
.hero__event { color: var(--mist); white-space: pre; }
.hero__title { margin-top: 1.75rem; }
.hero__strap {
  margin-top: 1.5rem;
  font-size: max(1.25rem, 15px); line-height: 1.5; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--gold);
}
.hero__date {
  margin-top: 1rem;
  font-size: max(0.9375rem, 12px); line-height: 1.5; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--mist);
}
.hero__ctas { margin-top: 2.75rem; display: flex; gap: 1.25rem; align-items: flex-start; }

.sponsor-lockup {
  margin-top: 3rem;
  display: flex; align-items: center; gap: 1.25rem;
  color: var(--lilac);
}
.sponsor-lockup img { width: 6.1875rem; height: 3.25rem; object-fit: contain; }

.hero__strip { position: relative; z-index: 0; width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); }
.hero__strip img {
  width: 100%; height: auto; aspect-ratio: 480 / 540;
  object-fit: cover; object-position: center top;
}

.hero__swoosh {
  z-index: 1; /* sits over the photo strip, as in Figma */
  /* scales with the full-width photo strip (1000 x 233 at the 1440 frame) */
  right: -0.625vw; bottom: -5.07vw;
  width: 69.44vw; height: auto; aspect-ratio: 1000 / 233;
  object-fit: cover; opacity: .94;
}

/* ---------- Welcome to the Patient Den ---------- */

.den { background: linear-gradient(90deg, #272757 0%, #212136 60%, #1b1a24 100%); }

.den__intro {
  max-width: 51.25rem;
  display: flex; flex-direction: column; align-items: center; gap: 1.75rem;
}
.den__body { max-width: 47.5rem; }

.value-cards {
  margin-top: 4.5rem;
  width: 100%; max-width: 76rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.value-card {
  display: flex; flex-direction: column; align-items: center; gap: 1.625rem;
  padding: 2.75rem 2.25rem 3.25rem;
  background: linear-gradient(180deg, #2e2d6b 0%, #232250 100%);
  border: 2px solid var(--purple);
  border-radius: var(--radius-card);
}
.value-card .h3 { color: var(--gold); }
.value-card img {
  /* icon files have an 8px clear margin so the ring isn't clipped; drawn 2.5% larger
     with a matching negative margin so the ring is still 112px and the layout doesn't move */
  width: 7.175rem; height: 7.175rem; margin: -0.0875rem; object-fit: contain;
}

/* ---------- Meet the Patient Dragons ---------- */

.dragons {
  overflow: hidden;
  background: linear-gradient(90deg, #212136 0%, #1b1a24 55%, #161518 100%);
}
.dragons__swoosh {
  /* Tied to the cards, not the window edge: in Figma it starts 100px left of
     centre, about halfway across Maureen's card, at any screen width. */
  right: 0; bottom: 0;
  width: calc(50% + 6.25rem); height: auto; aspect-ratio: 820 / 560;
  object-fit: cover; opacity: .5;
}

.dragon-cards {
  position: relative;
  margin-top: 4.5rem;
  width: 100%; max-width: 80rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem;
  text-align: left;
}
.dragon-card {
  display: flex; flex-direction: column;
  background: var(--bg-navy);
  border: 2px solid var(--purple);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.dragon-card__photo { position: relative; height: 27.5rem; }
.dragon-card__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
}
.dragon-card__photo::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10.625rem;
  background: linear-gradient(180deg, rgba(39, 39, 87, 0) 0%, #272757 100%);
}
.dragon-card__text {
  display: flex; flex-direction: column; gap: 0.75rem;
  min-height: 14.75rem; padding: 0 3.5rem 2.25rem 2rem; /* extra right padding tidies the bio line endings (Figma: 32px) */
}
.dragon-card__text p { font-size: max(1rem, 14px); line-height: 1.55; color: var(--mist); }

/* ---------- Your host ---------- */

.host {
  display: grid;
  grid-template-columns: minmax(0, 28.75rem) minmax(0, 33.75rem);
  grid-template-rows: 1fr auto auto 1fr;
  grid-template-areas:
    "photo ."
    "photo intro"
    "photo bio"
    "photo .";
  column-gap: 5.5rem;
  justify-content: center; align-items: start;
  text-align: left;
  background: linear-gradient(90deg, #161518 0%, #1f1e33 50%, #272757 100%);
}
.host__photo {
  grid-area: photo;
  position: relative; height: 32.5rem;
  border: 2px solid var(--purple); border-radius: var(--radius-card);
  background: var(--bg-navy); overflow: hidden;
}
.host__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.host__photo::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 9.375rem;
  background: linear-gradient(180deg, rgba(39, 39, 87, 0) 0%, rgba(39, 39, 87, .9) 100%);
}
.host__intro { grid-area: intro; display: flex; flex-direction: column; gap: 1.125rem; }
.host__bio { grid-area: bio; margin-top: 2.625rem; } /* 18 gap + 6 spacer + 18 gap in Figma */

/* ---------- Who are the pitchers? ---------- */

.pitchers { background: linear-gradient(90deg, #17161f 0%, #212136 50%, #272757 100%); }
.pitchers__intro { margin-top: 1.5rem; max-width: 45rem; }

.pitcher-cards {
  margin-top: 4rem;
  width: 100%;
  display: grid; grid-template-columns: repeat(4, minmax(0, 17.5rem)); justify-content: center; gap: 1.5rem;
}
.pitcher-card {
  /* Subgrid: photo, name and company rows are shared across the cards in a row, so every
     name starts on the same line and every company name lines up, however the names wrap. */
  display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0.625rem;
  justify-items: center; align-content: start;
  padding: 2.25rem 1.5rem;
  background: linear-gradient(180deg, #2e2d6b 0%, #232250 100%);
  border: 2px solid var(--purple);
  border-radius: var(--radius-card);
}
.pitcher-card__headshot { position: relative; width: 10rem; height: 10rem; margin-bottom: 1.125rem; } /* Figma: 10 gap + 8 spacer + 10 gap */
.pitcher-card__photo {
  position: absolute; top: 0.375rem; left: 0.375rem;
  width: calc(100% - 0.75rem); height: calc(100% - 0.75rem);
  border-radius: 50%; object-fit: cover;
}
.pitcher-card__ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.pitcher-card__name { align-self: start; min-height: 2lh; text-wrap: balance; } /* Figma: two-line name box */
.pitcher-card__org { align-self: start; font-size: max(1rem, 14px); line-height: 1.55; color: var(--mist); }

/* small laptops / landscape tablets: 2 x 2 so names don't break over three lines */
@media (min-width: 861px) and (max-width: 1100px) {
  .pitcher-cards { grid-template-columns: repeat(2, minmax(0, 20rem)); }
}

/* ---------- After the Pitch (sign-up) ---------- */

.insights { background: linear-gradient(90deg, #272757 0%, #1f1e33 50%, #161518 100%); }

.insights__panel {
  width: 100%; max-width: 70rem;
  display: grid; grid-template-columns: minmax(0, 1fr) 27.5rem; column-gap: 4.5rem; align-items: center;
  padding: 4.5rem;
  background: var(--mist);
  border: 3px solid var(--purple);
  border-radius: 3rem;
  color: var(--navy);
  text-align: left;
}
.insights__copy { display: flex; flex-direction: column; gap: 1.25rem; }
.insights__title, .insights__text { color: var(--navy); }
.insights strong { font-weight: 600; }

.signup { display: flex; flex-direction: column; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field__label {
  font-size: max(0.75rem, 11px); line-height: 1.5; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--purple);
}
.field__input {
  width: 100%;
  padding: 1.0625rem 1.25rem;
  font: inherit; font-size: max(1rem, 14px); line-height: 1.55; color: var(--navy);
  background: var(--white);
  border: 1.5px solid var(--purple); border-radius: 0.75rem;
}
.field__input::placeholder { color: var(--navy); opacity: .6; }
.field__input:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.field__input[aria-invalid="true"] { border-color: #b3261e; }

.check {
  display: flex; align-items: flex-start; gap: 0.875rem;
  font-size: max(1rem, 14px); line-height: 1.55; color: var(--navy);
  cursor: pointer;
}
.field + .check { margin-top: 1.5rem; } /* Figma: 4px spacer between the fields and the checkboxes */
.check a { color: inherit; }
.check__box {
  appearance: none; -webkit-appearance: none;
  flex-shrink: 0; width: 1.375rem; height: 1.375rem; margin: 0.1rem 0 0;
  background: var(--white) center / 70% no-repeat;
  border: 1.5px solid var(--purple); border-radius: 5px;
  cursor: pointer;
}
.check__box:checked {
  background-color: var(--navy); border-color: var(--navy);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.check__box:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.check__box[aria-invalid="true"] { border-color: #b3261e; }

.signup__error { font-size: max(0.875rem, 13px); line-height: 1.5; color: #b3261e; }
button.btn { border: 0; font-family: inherit; cursor: pointer; }
.signup__submit { width: 100%; }
.signup__submit[disabled] { opacity: .7; cursor: progress; }
.signup__done { grid-column: 2; }
.signup__done .body-m { color: var(--navy); }

/* ---------- The session ---------- */

.session {
  position: relative;
  display: flex; justify-content: center;
  padding: 8.75rem var(--gutter);
  background:
    linear-gradient(180deg, rgba(39, 39, 87, .92) 0%, rgba(27, 26, 36, .45) 45%, rgba(22, 21, 24, .95) 100%),
    linear-gradient(rgba(22, 21, 24, .4), rgba(22, 21, 24, .4)),
    url("assets/img/session-barcelona.jpg") center / cover no-repeat,
    var(--bg-ink);
}

.session__panel {
  width: 100%; max-width: 70rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 27.5rem;
  grid-template-areas:
    ".     details"
    "title details"
    "text  details"
    "cta   details"
    ".     details";
  grid-template-rows: 1fr auto auto auto 1fr; /* left copy centred against the details, as in Figma */
  column-gap: 4.5rem;
  align-items: center;
  padding: 4.5rem;
  background: var(--mist);
  border: 3px solid var(--purple);
  border-radius: 3rem;
  color: var(--navy);
}
.session__title { grid-area: title; color: var(--navy); }
.session__text { grid-area: text; margin-top: 1.5rem; color: var(--navy); }
.session__cta { grid-area: cta; justify-self: start; margin-top: 3.5rem; }

.session__details { grid-area: details; }
.session__detail { display: flex; flex-direction: column; gap: 0.375rem; }
.session__detail + .session__detail {
  margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--purple);
}
.session__detail dt { color: var(--purple); }
.session__detail dd { font-size: max(1.125rem, 15px); line-height: 1.55; }

/* ---------- Footer ---------- */

.footer {
  position: relative; overflow: hidden;
  padding: 12.5rem var(--gutter) 3.5rem;
  background: var(--bg-ink);
}
.footer__swoosh-bottom {
  /* starts just left of centre (x=680 in the 1440 frame) at any screen width */
  right: 0; bottom: 0;
  width: calc(50% + 2.5rem); height: auto; aspect-ratio: 760 / 177;
  object-fit: cover; opacity: .9;
}

.footer__sponsor { position: relative; display: flex; align-items: center; gap: 6rem; }
.footer__logo { display: flex; flex-direction: column; gap: 1.25rem; color: var(--lilac); }
.footer__logo img { width: 15.4375rem; height: 8.125rem; object-fit: contain; }
.footer__blurb { max-width: 40rem; }

.footer__legal {
  position: relative;
  margin-top: 7.5rem;
  display: flex; gap: 2.5rem;
  color: var(--mist);
}
.footer__legal a { text-decoration: none; }
.footer__legal a:hover { color: var(--gold); }

/* ---------- Cookie policy page ---------- */

.page-header { position: relative; z-index: 1; background: var(--bg-navy); }

.policy {
  display: flex; justify-content: center;
  padding: 6rem var(--gutter) 8rem;
  background: linear-gradient(180deg, #272757 0%, #1b1a24 100%);
}
.policy__column { width: 100%; max-width: 60rem; display: flex; flex-direction: column; gap: 1.5rem; }
.policy__h {
  margin-top: 3rem; /* Figma: 24px spacer between two 24px gaps */
  font-size: max(1.5rem, 19px); line-height: 1.35; letter-spacing: 0.09em; text-transform: uppercase;
  font-weight: 500; color: var(--gold);
}
.policy__updated { margin-top: 2.5rem; color: var(--lilac); } /* 16px spacer + 24px gap */

.cookie-table {
  width: 100%; table-layout: fixed;
  border-collapse: separate; border-spacing: 0;
  border: 1.5px solid var(--purple); border-radius: 1.25rem; overflow: hidden;
}
.cookie-table--tbc { border-color: rgba(107, 100, 173, .6); }
/* column widths = Figma column + its 16px gap (+24px edge padding on the first) */
.cookie-table__c1 { width: 11.875rem; }
.cookie-table__c2 { width: 7.875rem; }
.cookie-table__c3,
.cookie-table__c4 { width: 12.875rem; }
.cookie-table th,
.cookie-table td { padding: 1rem 1rem 1rem 0; text-align: left; vertical-align: top; }
.cookie-table th:first-child,
.cookie-table td:first-child { padding-left: 1.5rem; }
.cookie-table th:last-child,
.cookie-table td:last-child { padding-right: 1.5rem; }
.cookie-table th {
  background: var(--bg-navy); color: var(--lilac); font-weight: 500;
  font-size: max(0.75rem, 11px); line-height: 1.5; letter-spacing: 0.24em; text-transform: uppercase;
}
.cookie-table td {
  background: rgba(255, 255, 255, .05);
  border-top: 1px solid rgba(107, 100, 173, .3);
  font-size: max(1rem, 14px); line-height: 1.55; color: var(--mist);
  overflow-wrap: break-word; /* domains carry <wbr> after each dot */
}

.footer__legal a[aria-current="page"] { color: var(--gold); }

/* Cuttsy+Cuttsy logos link to cuttsyandcuttsy.com */
.cc-logo { display: block; flex-shrink: 0; transition: opacity .2s; }
.cc-logo:hover { opacity: .8; }

/* ---------- Cookie consent: banner + settings modal ---------- */

.btn.btn--keyline { border: 1.5px solid var(--navy); color: var(--navy); background: none; padding: 1.2188rem 2rem; }
.btn.btn--keyline:hover { background: var(--navy); color: var(--white); }

html.consent-open { overflow: hidden; }
.consent__dim { position: fixed; inset: 0; z-index: 90; background: rgba(22, 21, 24, .6); }

.cookie-banner,
.cookie-modal {
  position: fixed; z-index: 91;
  background: var(--card); color: var(--navy);
  border: 2px solid var(--purple);
  max-height: calc(100dvh - 1.5rem); overflow-y: auto; overscroll-behavior: contain;
}
.cookie-banner:focus, .cookie-modal:focus { outline: none; }
.cookie-banner a, .cookie-modal a { color: var(--purple); text-decoration: none; }
.cookie-banner a:hover, .cookie-modal a:hover { text-decoration: underline; }

/* Banner (Figma: 1120 wide, 32px off the bottom) */
.cookie-banner {
  left: 50%; bottom: 2rem; transform: translateX(-50%);
  width: calc(100% - 2 * var(--gutter)); max-width: 70rem;
  display: grid; grid-template-columns: minmax(0, 1fr) 18.75rem; column-gap: 3rem; align-items: center;
  padding: 2.25rem 2.5rem;
  border-radius: 1.75rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
}
.cookie-banner__copy { display: flex; flex-direction: column; gap: 0.875rem; }
.cookie-banner__title {
  font-size: max(1.5rem, 19px); line-height: 1.35; letter-spacing: 0.09em; text-transform: uppercase; font-weight: 500;
}
.cookie-banner__text { font-size: max(1rem, 14px); line-height: 1.55; }
.cookie-banner__toggles { display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap; }
.cookie-banner__toggle,
.cookie-banner__links {
  font-size: max(0.75rem, 11px); line-height: 1.5; letter-spacing: 0.24em; text-transform: uppercase;
}
.cookie-banner__toggle { display: flex; align-items: center; gap: 0.625rem; }
.consent-actions { display: flex; flex-direction: column; gap: 0.75rem; }
.consent-actions .btn { width: 100%; }

/* Switch (Figma "Toggle": on / off / locked on) */
.switch { position: relative; display: inline-block; flex-shrink: 0; width: 52px; height: 30px; }
.switch__input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.switch__input:disabled { cursor: default; }
.switch__track {
  position: absolute; inset: 0; border-radius: 15px;
  background: rgba(107, 100, 173, .35);
  transition: background-color .2s;
  pointer-events: none;
}
.switch__track::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--white); box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
  transition: transform .2s;
}
.switch__input:checked + .switch__track { background: var(--navy); }
.switch__input:checked + .switch__track::after { transform: translateX(22px); }
.switch__input:disabled:checked + .switch__track { background: rgba(43, 38, 104, .55); }
.switch__input:focus-visible + .switch__track { outline: 2px solid var(--navy); outline-offset: 2px; }

/* Settings modal (Figma: 880 wide, centred) */
.cookie-modal {
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: calc(100% - 1.5rem); max-width: 55rem;
  border-radius: 2rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .4);
}
.cookie-modal__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.75rem 2.5rem 0;
}
.cookie-modal__title {
  font-size: max(1.5rem, 19px); line-height: 1.35; letter-spacing: 0.09em; text-transform: uppercase; font-weight: 500;
}
.cookie-modal__close { display: grid; place-items: center; padding: 0; border: 0; background: none; cursor: pointer; }
.cookie-modal__close:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.cookie-modal__tabs {
  display: flex; padding: 1.25rem 2.5rem 0;
  border-bottom: 1px solid rgba(107, 100, 173, .3);
}
.cookie-modal__tab {
  padding: 0 1.5rem 0.6875rem; border: 0; border-bottom: 3px solid transparent; background: none; cursor: pointer;
  font: inherit; font-size: max(0.9375rem, 12px); line-height: 1.5; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--purple);
}
.cookie-modal__tab[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--gold); }
.cookie-modal__tab:focus-visible { outline: 2px solid var(--navy); outline-offset: -2px; }
.cookie-modal__body { padding: 1.75rem 2.5rem 0.75rem; }
.cookie-category { display: flex; flex-direction: column; gap: 0.625rem; padding: 1.25rem 0 1.5rem; }
.cookie-category + .cookie-category { border-top: 1px solid rgba(107, 100, 173, .3); }
.cookie-category__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.cookie-category__label {
  display: flex; align-items: center; gap: 0.875rem;
  font-size: max(0.9375rem, 12px); line-height: 1.5; letter-spacing: 0.26em; text-transform: uppercase;
}
.cookie-category__label svg { flex-shrink: 0; }
.cookie-category__text { font-size: max(1rem, 14px); line-height: 1.55; color: rgba(43, 38, 104, .85); }
.cookie-modal__about { font-size: max(1.125rem, 15px); line-height: 1.55; }
.cookie-modal__policy,
.cookie-modal__updated { font-size: max(0.75rem, 11px); line-height: 1.5; letter-spacing: 0.24em; text-transform: uppercase; }
.cookie-modal__policy { margin-top: 1rem; }
.cookie-modal__updated { margin-top: 0.5rem; color: rgba(43, 38, 104, .7); }
.cookie-modal__footer { padding: 1.25rem 2.5rem 2.25rem; border-top: 1px solid rgba(107, 100, 173, .3); }
.cookie-modal__footer .consent-actions { flex-direction: row; }
.cookie-modal__footer .consent-actions .btn { flex: 1 1 0; min-width: 0; padding-left: 0.5rem; padding-right: 0.5rem; }

/* ---------- Narrow desktop / tablet: nav collapses to the menu ---------- */

@media (max-width: 1024px) {
  .menu-toggle { display: block; }

  .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0; z-index: 10;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px;
    background: #212136;
    border-bottom: 1px solid var(--purple);
  }
  .site-nav.is-open { display: flex; }
  .site-nav__link { padding: 16px 0; border-bottom: 1px solid rgba(209, 197, 226, .15); }
  .site-nav .btn { margin-top: 20px; }
}

/* ---------- Mobile (Figma 390 frame) ---------- */

@media (max-width: 860px) {
  html { font-size: 16px; }
  :root { --gutter: 24px; --section-y: 72px; }

  .desktop-only { display: none; }

  .h2 { font-size: 24px; letter-spacing: 0.08em; }

  /* Header + menu */
  .site-header { padding: 32px var(--gutter) 18px; }
  .site-header__logo img { width: 233px; height: 112px; }

  /* Hero */
  .hero { background: linear-gradient(90deg, #272757 0%, #212136 60%, #17161f 100%); }
  .hero__copy { padding: 36px var(--gutter) 40px; width: 100%; }
  .hero__event { white-space: pre-wrap; }
  .hero__title { margin-top: 20px; font-size: 28px; letter-spacing: 0.08em; }
  .hero__strap { margin-top: 18px; font-size: 13px; line-height: 1.55; letter-spacing: 0.22em; }
  .hero__date { margin-top: 12px; font-size: 12px; letter-spacing: 0.24em; }
  .hero__ctas { margin-top: 32px; width: 100%; flex-direction: column; gap: 12px; align-items: stretch; }
  .sponsor-lockup { margin-top: 32px; gap: 16px; }
  .sponsor-lockup img { width: 84px; height: 44px; }
  .hero__strip img { aspect-ratio: 130 / 236; }
  .hero__swoosh { width: 300px; right: 0; bottom: -14px; aspect-ratio: 300 / 70; }

  /* Den */
  .den { background: linear-gradient(90deg, #272757 0%, #1b1a24 100%); }
  .den__intro { gap: 0; }
  .den__lead { margin-top: 20px; font-size: 18px; line-height: 1.55; }
  .den__body { margin-top: 20px; font-size: 16px; }
  .den__body + .den__body { margin-top: 16px; }
  .value-cards { margin-top: 40px; grid-template-columns: 1fr; gap: 16px; }

  /* Dragons */
  .dragon-cards { margin-top: 36px; grid-template-columns: 1fr; gap: 20px; }
  .dragon-card__text { padding-right: 32px; }
  .dragons__swoosh { width: 380px; aspect-ratio: 380 / 260; }

  /* Host: name above photo, bio below */
  .host {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas: "intro" "photo" "bio";
    text-align: center;
    background: linear-gradient(90deg, #161518 0%, #272757 100%);
  }
  .host__intro { gap: 0; }
  .host__eyebrow + .h2 { margin-top: 12px; }
  .host__org { margin-top: 8px; font-size: 18px; line-height: 1.55; }
  .host__photo { margin-top: 32px; height: 380px; }
  .host__bio { margin-top: 28px; font-size: 16px; }

  /* Pitchers */
  .pitchers__intro { margin-top: 16px; font-size: 16px; }
  .pitcher-cards { margin-top: 36px; grid-template-columns: 1fr; gap: 16px; }
  /* Figma mobile: names sit at the bottom of a two-line box, so company names keep the same gap */
  .pitcher-card__name { min-height: 2.875rem; display: flex; flex-direction: column; justify-content: flex-end; }

  /* After the Pitch */
  .insights__panel {
    grid-template-columns: 1fr; row-gap: 42px; /* 18 gap + 6 spacer + 18 gap */
    padding: 40px 28px;
    border-radius: 36px;
  }
  .insights__copy { gap: 18px; }
  .insights__title { font-size: 24px; letter-spacing: 0.08em; }
  .insights__text { font-size: 16px; }
  .signup { gap: 18px; }
  .field + .check { margin-top: 22px; }
  .signup__done { grid-column: auto; }

  /* Session */
  .session { padding: 80px var(--gutter); }
  .session__panel {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas: "title" "text" "details" "cta";
    padding: 40px 28px;
    border-radius: 36px;
  }
  .session__title { font-size: 24px; letter-spacing: 0.08em; }
  .session__text { margin-top: 20px; font-size: 16px; }
  .session__details { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--purple); }
  .session__detail { gap: 4px; }
  .session__detail dd { font-size: 16px; }
  .session__cta { margin-top: 44px; justify-self: stretch; } /* 20 gap + 4 spacer + 20 gap */

  /* Cookie policy */
  .policy { padding: 56px var(--gutter) 72px; }
  .policy__column { gap: 20px; }
  .policy h1 { font-size: 24px; letter-spacing: 0.08em; }
  .policy__h { margin-top: 32px; font-size: 20px; letter-spacing: 0.08em; } /* 12px spacer + 20px gap */
  .policy__updated { margin-top: 0; }
  .policy .body-m { font-size: 16px; }
  .cookie-table, .cookie-table tbody, .cookie-table tr, .cookie-table td { display: block; }
  .cookie-table { border: 0; border-radius: 0; overflow: visible; }
  .cookie-table colgroup, .cookie-table thead { display: none; }
  .cookie-table tbody { display: flex; flex-direction: column; gap: 20px; }
  .cookie-table tr {
    display: flex; flex-direction: column; gap: 12px;
    padding: 20px;
    background: rgba(255, 255, 255, .05);
    border: 1.5px solid rgba(107, 100, 173, .3); border-radius: 16px;
  }
  .cookie-table td,
  .cookie-table td:first-child,
  .cookie-table td:last-child {
    display: flex; flex-direction: column; gap: 3px;
    padding: 0; background: none; border: 0; font-size: 16px;
  }
  .cookie-table td::before {
    content: attr(data-label);
    font-size: 12px; line-height: 1.5; letter-spacing: 0.24em; text-transform: uppercase; color: var(--lilac);
  }

  /* Cookie banner (Figma mobile: 12px from the edges) */
  .cookie-banner {
    left: 12px; right: 12px; bottom: 12px; transform: none; width: auto;
    display: flex; flex-direction: column; align-items: stretch; gap: 14px;
    padding: 24px 22px; border-radius: 24px;
  }
  .cookie-banner__copy { display: contents; }
  .cookie-banner__title { font-size: 20px; letter-spacing: 0.08em; }
  .cookie-banner__text { font-size: 16px; }
  .cookie-banner__toggles { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
  .cookie-banner__toggle { justify-content: space-between; font-size: 12px; }
  .cookie-banner .consent-actions { order: 1; width: 100%; }
  .cookie-banner__links { order: 2; text-align: center; font-size: 12px; }
  .cookie-banner__links [data-cookie-settings],
  .cookie-banner__dot { display: none; }

  /* Settings modal: not designed for mobile; same panel, full width, buttons stacked */
  .cookie-modal { width: calc(100% - 24px); border-radius: 24px; }
  .cookie-modal__header { padding: 24px 22px 0; }
  .cookie-modal__title { font-size: 20px; letter-spacing: 0.08em; }
  .cookie-modal__tabs { padding: 16px 22px 0; }
  .cookie-modal__tab { padding: 0 12px 10px; font-size: 13px; letter-spacing: 0.2em; }
  .cookie-modal__body { padding: 20px 22px 8px; }
  .cookie-category__label { font-size: 13px; letter-spacing: 0.2em; gap: 10px; }
  .cookie-category__text, .cookie-modal__about { font-size: 15px; }
  .cookie-modal__footer { padding: 16px 22px 24px; }
  .cookie-modal__footer .consent-actions { flex-direction: column; }
  .cookie-modal__footer .consent-actions .btn { padding-left: 32px; padding-right: 32px; }

  /* Footer */
  .footer { padding: 110px var(--gutter) 96px; }
  .footer__swoosh-bottom { width: 300px; aspect-ratio: 300 / 70; }
  .footer__sponsor { flex-direction: column; align-items: flex-start; gap: 28px; }
  .footer__logo { gap: 16px; }
  .footer__logo img { width: 190px; height: 100px; }
  .footer__blurb { font-size: 16px; }
  .footer__legal { margin-top: 56px; flex-direction: column; gap: 14px; }
  .footer__copyright { order: 1; }
}

/* ---------- Tablet portrait (600–860px): mobile design in a centred column ---------- */

@media (min-width: 600px) and (max-width: 860px) {
  .hero__copy,
  .den__intro,
  .value-cards,
  .dragon-cards,
  .pitcher-cards,
  .insights__panel,
  .session__panel,
  .policy__column { max-width: 560px; }

  .hero__strip img { aspect-ratio: 480 / 540; } /* desktop proportions; the phone crop gets very tall here */

  .host { grid-template-columns: minmax(0, 520px); justify-content: center; }
  .host__photo { height: auto; aspect-ratio: 342 / 380; }

  .footer__sponsor,
  .footer__legal { max-width: 560px; margin-inline: auto; }

  /* Swooshes: the phone sizes are fixed px and only reach a third of the way across
     a tablet, so use the desktop frame's proportions here instead. */
  .hero__swoosh { width: 69.44vw; right: -0.625vw; bottom: -5.07vw; aspect-ratio: 1000 / 233; }
  .dragons__swoosh { width: calc(50% + 100px); aspect-ratio: 820 / 560; }
  .footer__swoosh-bottom { width: calc(50% + 40px); aspect-ratio: 760 / 177; }
}
