/* =========================================================================
   Stamford Italian Soccer League
   Design system. Deep-navy stadium night, Azzurri blue identity,
   gold reserved for season and championship markers, tricolore as hairline only.
   ========================================================================= */

:root {
  /* Identity */
  --azzurri-blue: #1769AA;
  --bright-blue: #2389D7;
  --deep-navy: #07182B;
  --graphite: #15181D;
  --warm-white: #F5F3EC;
  --italian-green: #178447;
  --italian-red: #C83332;
  --muted-gold: #C2A24A;

  /* Derived surfaces */
  --navy-raised: #0C2440;
  --navy-line: #16324F;
  --paper: #FFFFFF;
  --paper-sunk: #EDEAE0;
  --ink: #10151C;
  --ink-soft: #45505E;
  --ink-faint: #5E6875;
  --gold-on-light: #7A6115;
  --on-navy: #E8EEF5;
  --on-navy-soft: #A6BACE;

  /* Focus */
  --focus: #7FC4F5;

  /* Type */
  --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --heritage: "Lora", Georgia, "Times New Roman", serif;

  /* Scale */
  --step--1: clamp(0.82rem, 0.80rem + 0.10vw, 0.88rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.09rem);
  --step-1: clamp(1.2rem, 1.13rem + 0.35vw, 1.45rem);
  --step-2: clamp(1.55rem, 1.40rem + 0.75vw, 2.1rem);
  --step-3: clamp(2.1rem, 1.80rem + 1.5vw, 3.2rem);
  --step-4: clamp(2.7rem, 2.05rem + 3.2vw, 5rem);

  /* Rhythm */
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 8vw, 6.5rem);
  --measure: 68ch;
  --radius: 3px;
  --shell: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, picture, svg { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Accessibility utilities ---------- */
.skip-link {
  position: absolute; left: 0; top: 0;
  transform: translateY(-120%);
  background: var(--deep-navy); color: var(--warm-white);
  padding: 0.7rem 1.2rem; z-index: 200;
  font-family: var(--display); font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

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

:target, [id] { scroll-margin-top: 96px; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---------- Layout ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell--narrow { max-width: 860px; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--navy { background: var(--deep-navy); color: var(--on-navy); }
.section--graphite { background: var(--graphite); color: var(--on-navy); }
.section--sunk { background: var(--paper-sunk); }
.section--paper { background: var(--paper); }

/* Faint pitch markings, used once per dark section at most */
.section--pitch {
  position: relative;
  overflow: hidden;
}
.section--pitch::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      100deg,
      rgba(255,255,255,0.022) 0 62px,
      transparent 62px 124px
    ),
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(35,137,215,0.16), transparent 68%);
  pointer-events: none;
}
.section--pitch > * { position: relative; z-index: 1; }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p { max-width: var(--measure); }
p + p { margin-top: 1em; }

a { color: var(--azzurri-blue); text-underline-offset: 0.18em; }
.section--navy a, .section--graphite a { color: var(--focus); }

/* SIGNATURE: the province eyebrow.
   Every club, section and matchday carries its Italian place-name above the name. */
.eyebrow {
  font-family: var(--display);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-on-light);
  margin: 0 0 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  max-width: none;
}
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  background: currentColor;
  flex: none;
}
.eyebrow--plain::before { display: none; }

/* Bright gold is legible only on the dark surfaces. */
.hero .eyebrow,
.page-head .eyebrow,
.section--navy .eyebrow,
.section--graphite .eyebrow,
.feature-card .eyebrow,
.stat-band .eyebrow { color: var(--muted-gold); }

.lede {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-soft);
}
.section--navy .lede, .section--graphite .lede { color: var(--on-navy-soft); }

.heritage-quote {
  font-family: var(--heritage);
  font-size: var(--step-1);
  font-style: italic;
  line-height: 1.55;
  color: var(--ink-soft);
  border-left: 3px solid var(--muted-gold);
  padding-left: 1.4rem;
  max-width: 56ch;
}
.section--navy .heritage-quote { color: var(--on-navy-soft); }

/* Tricolore hairline. The only place green and red appear as blocks,
   and never adjacent at any meaningful size. */
.tricolore {
  height: 3px;
  border: 0;
  margin: 0;
  background: linear-gradient(
    to right,
    var(--italian-green) 0 33.33%,
    var(--warm-white) 33.33% 66.66%,
    var(--italian-red) 66.66% 100%
  );
}

.rule-gold { height: 2px; border: 0; background: var(--muted-gold); width: 4rem; margin: 0 0 1.5rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.btn--primary { background: var(--azzurri-blue); color: #fff; }
.btn--primary:hover { background: var(--bright-blue); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: rgba(255,255,255,0.1); }
.section--paper .btn--ghost:hover, .section--sunk .btn--ghost:hover { background: rgba(7,24,43,0.07); }
.btn--gold { background: var(--muted-gold); color: var(--deep-navy); }
.btn--gold:hover { background: #D4B45E; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }

.ext::after {
  content: "↗";
  font-size: 0.85em;
  line-height: 1;
}

/* ---------- Header ---------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--deep-navy);
  border-bottom: 1px solid var(--navy-line);
}
.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--warm-white);
  padding-block: 0.5rem;
}
.brand__crest { width: 46px; height: 46px; object-fit: contain; flex: none; }
.brand__crest--fallback {
  display: grid; place-items: center;
  background: var(--azzurri-blue);
  font-family: var(--display); font-weight: 700; font-size: 1.15rem;
  letter-spacing: 0.02em; color: #fff; border-radius: var(--radius);
}
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--display); font-weight: 600; font-size: 1.32rem;
  letter-spacing: 0.01em; text-transform: uppercase;
}
.brand__sub {
  font-size: 0.68rem; letter-spacing: 0.19em; text-transform: uppercase;
  color: var(--on-navy-soft); margin-top: 0.28rem;
}

.nav-toggle {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; border: 2px solid var(--navy-line);
  color: var(--warm-white); padding: 0.55rem 0.9rem;
  border-radius: var(--radius); cursor: pointer;
  font-family: var(--display); font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.92rem;
}
.nav-toggle__bars { display: grid; gap: 3px; }
.nav-toggle__bars span { display: block; width: 17px; height: 2px; background: currentColor; }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 0.15rem; }
.nav__link {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--on-navy);
  text-decoration: none;
  padding: 0.55rem 0.7rem;
  border-bottom: 2px solid transparent;
}
.nav__link:hover { color: #fff; border-bottom-color: var(--bright-blue); }
.nav__link[aria-current="page"] { color: #fff; border-bottom-color: var(--muted-gold); }
.nav__cta { margin-left: 0.6rem; }
.nav__cta .btn { padding: 0.6rem 1.1rem; font-size: 0.95rem; }

@media (min-width: 1040px) {
  .nav { display: block; }
  .nav-toggle { display: none; }
}

/* Mobile drawer */
.nav-drawer {
  background: var(--deep-navy);
  border-top: 1px solid var(--navy-line);
}
.nav-drawer[hidden] { display: none; }
.nav-drawer__list { padding: 0.75rem 0 1.5rem; }
.nav-drawer__link {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--on-navy);
  text-decoration: none;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--navy-line);
}
.nav-drawer__link[aria-current="page"] { color: var(--muted-gold); }
.nav-drawer .btn { margin-top: 1.2rem; width: 100%; justify-content: center; }
@media (min-width: 1040px) { .nav-drawer { display: none !important; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--deep-navy);
  color: var(--on-navy);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 55% at 22% -10%, rgba(35,137,215,0.34), transparent 70%),
    radial-gradient(ellipse 70% 50% at 88% 8%, rgba(23,105,170,0.20), transparent 72%);
  pointer-events: none;
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  padding-block: clamp(3rem, 8vw, 5.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1.05fr 0.95fr; }
}
.hero__crest { width: clamp(78px, 12vw, 116px); height: auto; margin-bottom: 1.5rem; }
.hero h1 { margin-bottom: 0.5rem; text-transform: uppercase; }
.hero__motto {
  font-family: var(--heritage);
  font-style: italic;
  font-size: var(--step-1);
  color: var(--muted-gold);
  margin-bottom: 1.4rem;
}
.hero__statement { color: var(--on-navy-soft); font-size: var(--step-1); line-height: 1.55; }

.hero__figure { margin: 0; }
.hero__figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--navy-line);
}
.hero__figure figcaption {
  font-size: var(--step--1);
  color: var(--on-navy-soft);
  margin-top: 0.7rem;
  letter-spacing: 0.02em;
}

/* Placeholder used when a photograph has not been installed yet */
.img-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background:
    repeating-linear-gradient(115deg, rgba(255,255,255,0.028) 0 14px, transparent 14px 28px),
    var(--navy-raised);
  border: 1px dashed var(--navy-line);
  border-radius: var(--radius);
  color: var(--on-navy-soft);
  font-family: var(--display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.85rem;
  text-align: center;
  padding: 1.5rem;
}

/* ---------- Stat band ---------- */
.stat-band { background: var(--graphite); color: var(--on-navy); }
.stat-band__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.10);
  border-block: 1px solid rgba(255,255,255,0.10);
}
@media (min-width: 760px) { .stat-band__grid { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: var(--graphite);
  padding: clamp(1.5rem, 3vw, 2.2rem) 1rem;
  text-align: center;
}
.stat__value {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2rem, 5vw, 3rem); line-height: 1;
  color: #fff;
}
.stat__label {
  font-size: var(--step--1); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--on-navy-soft); margin-top: 0.55rem;
}

/* ---------- Section headings ---------- */
.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 60ch; }
.section-head p { color: var(--ink-soft); margin-top: 0.9rem; }
.section--navy .section-head p, .section--graphite .section-head p { color: var(--on-navy-soft); }

/* ---------- Club grid ---------- */
.club-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
@media (min-width: 620px) { .club-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .club-grid { grid-template-columns: repeat(3, 1fr); } }

.club-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  background: var(--paper);
  border: 1px solid #DCD7C9;
  border-top: 3px solid var(--azzurri-blue);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
a.club-card:hover { border-top-color: var(--muted-gold); transform: translateY(-2px); }
.section--navy .club-card, .section--graphite .club-card {
  background: var(--navy-raised);
  border-color: var(--navy-line);
  border-top-color: var(--azzurri-blue);
}

.club-card__crest {
  width: 74px; height: 74px; object-fit: contain;
}
/* Typographic fallback when no authentic crest file is installed.
   Deliberately abstract: initials only, never an invented emblem. */
.crest-fallback {
  width: 74px; height: 74px;
  display: grid; place-items: center;
  border: 2px solid var(--azzurri-blue);
  border-radius: var(--radius);
  font-family: var(--display); font-weight: 700;
  font-size: 1.5rem; letter-spacing: 0.02em;
  color: var(--azzurri-blue);
  background: rgba(23,105,170,0.06);
}
.section--navy .crest-fallback { color: var(--focus); border-color: var(--navy-line); background: rgba(35,137,215,0.10); }
.club-card__name { font-size: var(--step-2); }
.club-card__desc { font-size: 0.96rem; color: var(--ink-soft); max-width: none; }
.section--navy .club-card__desc { color: var(--on-navy-soft); }
.club-card__meta {
  margin-top: auto; padding-top: 0.9rem;
  border-top: 1px solid #E4DFD2;
  font-size: var(--step--1); color: var(--ink-faint);
  letter-spacing: 0.04em;
}
.section--navy .club-card__meta { border-top-color: var(--navy-line); color: var(--on-navy-soft); }

/* ---------- Feature / matchday card ---------- */
.feature-card {
  background: var(--navy-raised);
  border: 1px solid var(--navy-line);
  border-left: 4px solid var(--muted-gold);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--on-navy);
}
.feature-card h3 { font-size: var(--step-2); margin-bottom: 0.8rem; }
.feature-card p { color: var(--on-navy-soft); }
.feature-card__meta {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  margin: 1.3rem 0 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--navy-line);
}
.feature-card__meta div { min-width: 0; }
.feature-card__meta dt {
  font-family: var(--display); font-size: var(--step--1);
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-gold);
}
.feature-card__meta dd { margin: 0.2rem 0 0; font-size: 1.08rem; }

/* ---------- Split layout ---------- */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split--wide-left { }
@media (min-width: 900px) { .split--wide-left { grid-template-columns: 1.15fr 0.85fr; } }
.split img { border-radius: var(--radius); }

/* ---------- Prose ---------- */
.prose p { margin-bottom: 1.1em; }
.prose h3 { margin: 2.2rem 0 0.8rem; }
.prose ul { padding-left: 1.2rem; margin-bottom: 1.1em; max-width: var(--measure); }
.prose ul li { margin-bottom: 0.45em; }

/* ---------- Schedule ---------- */
.schedule-graphic { margin: 0 0 2rem; }
.schedule-graphic img {
  width: 100%; height: auto;
  border: 1px solid #DCD7C9; border-radius: var(--radius);
  background: var(--paper);
}
.schedule-graphic figcaption {
  font-size: var(--step--1); color: var(--ink-faint); margin-top: 0.6rem;
}

.notice {
  border-left: 4px solid var(--azzurri-blue);
  background: rgba(23,105,170,0.07);
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
}
.notice strong {
  font-family: var(--display); letter-spacing: 0.12em; text-transform: uppercase;
  font-size: var(--step--1); color: var(--azzurri-blue); display: block; margin-bottom: 0.3rem;
}
.notice p { margin: 0; font-size: 0.98rem; }
.section--navy .notice { background: rgba(35,137,215,0.14); border-left-color: var(--bright-blue); }
.section--navy .notice strong { color: var(--focus); }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data {
  width: 100%; border-collapse: collapse; min-width: 520px;
  font-size: 0.97rem;
}
table.data caption {
  text-align: left; font-family: var(--display);
  font-size: var(--step-1); margin-bottom: 0.8rem;
}
table.data th, table.data td {
  text-align: left; padding: 0.75rem 0.9rem;
  border-bottom: 1px solid #E0DBCD;
}
table.data thead th {
  font-family: var(--display); font-weight: 600;
  font-size: var(--step--1); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-faint); border-bottom: 2px solid var(--deep-navy);
}
table.data tbody tr:nth-child(even) { background: rgba(7,24,43,0.025); }
.tbd { color: var(--ink-faint); font-style: italic; }

.empty-state {
  border: 1px dashed #C9C2AE;
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  text-align: center;
  background: rgba(255,255,255,0.5);
}
.empty-state h3 { margin-bottom: 0.6rem; }
.empty-state p { margin-inline: auto; color: var(--ink-soft); }

/* ---------- Sponsors ---------- */
.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: #DCD7C9;
  border: 1px solid #DCD7C9;
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 560px) { .sponsor-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .sponsor-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .sponsor-grid { grid-template-columns: repeat(5, 1fr); } }

.sponsor {
  background: var(--paper);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.7rem;
  padding: 1.4rem 1rem;
  min-height: 140px;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  transition: background-color 0.16s ease;
}
a.sponsor:hover { background: #F7F5EE; }
.sponsor__logo { max-height: 58px; width: auto; object-fit: contain; }
.sponsor__name {
  font-size: 0.82rem; line-height: 1.35; color: var(--ink-soft);
  letter-spacing: 0.02em;
}
/* Tasteful text treatment where no logo file exists */
.sponsor--text .sponsor__wordmark {
  font-family: var(--display); font-weight: 600;
  font-size: 1.18rem; line-height: 1.15; letter-spacing: 0.03em;
  color: var(--deep-navy); text-transform: uppercase;
}
.sponsor--text .sponsor__wordmark::after {
  content: ""; display: block; width: 2rem; height: 2px;
  background: var(--muted-gold); margin: 0.6rem auto 0;
}

.sponsor-strip {
  display: flex; flex-wrap: wrap; gap: 0.6rem 2.2rem;
  align-items: center; justify-content: center;
}
.sponsor-strip .sponsor { min-height: 0; padding: 0.6rem 0.4rem; background: transparent; }
.sponsor-strip .sponsor__name { font-size: 0.9rem; }

/* Sponsorship levels */
.level-grid { display: grid; gap: 1.1rem; }
@media (min-width: 700px) { .level-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .level-grid { grid-template-columns: repeat(3, 1fr); } }
.level {
  background: var(--paper);
  border: 1px solid #DCD7C9;
  border-top: 3px solid var(--azzurri-blue);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex; flex-direction: column;
}
.level--exclusive { border-top-color: var(--muted-gold); }
.level__name { font-size: var(--step-2); }
.level__sub { font-size: 0.92rem; color: var(--ink-faint); margin-top: 0.15rem; }
.level__price {
  font-family: var(--display); font-weight: 600; font-size: 2.1rem;
  color: var(--deep-navy); margin: 0.9rem 0 0.15rem; line-height: 1;
}
.level__avail {
  font-size: var(--step--1); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--italian-green); font-weight: 600;
}
.level ul { margin: 1.1rem 0 1.4rem; padding-left: 1.1rem; font-size: 0.95rem; color: var(--ink-soft); }
.level ul li { margin-bottom: 0.4rem; }
.level .btn { margin-top: auto; align-self: flex-start; }
.level__tag {
  display: inline-block; font-family: var(--display);
  font-size: var(--step--1); letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--muted-gold); color: var(--deep-navy);
  padding: 0.15rem 0.55rem; border-radius: 2px; margin-bottom: 0.6rem;
}

/* ---------- Gallery ---------- */
.gallery-cat + .gallery-cat { margin-top: clamp(2.5rem, 5vw, 4rem); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 0.9rem;
}
.gallery-item {
  margin: 0; padding: 0; border: 0; background: transparent; cursor: zoom-in;
  border-radius: var(--radius); overflow: hidden; position: relative;
}
.gallery-item img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform 0.3s ease;
  background: var(--paper-sunk);
}
.gallery-item:hover img { transform: scale(1.03); }

dialog.lightbox {
  border: 0; padding: 0; background: transparent;
  max-width: min(94vw, 1200px); max-height: 94vh;
  overflow: visible;
}
.lightbox__bar { display: flex; justify-content: flex-end; margin-bottom: 0.6rem; }
dialog.lightbox::backdrop { background: rgba(7,24,43,0.92); }
.lightbox__img { width: 100%; height: auto; max-height: 82vh; object-fit: contain; border-radius: var(--radius); }
.lightbox__cap {
  color: var(--on-navy); font-size: 0.95rem; text-align: center;
  margin-top: 0.9rem; max-width: 70ch; margin-inline: auto;
}
.lightbox__close {
  background: transparent; border: 2px solid var(--on-navy-soft);
  color: var(--warm-white); border-radius: var(--radius);
  padding: 0.35rem 0.8rem; cursor: pointer;
  font-family: var(--display); letter-spacing: 0.12em; text-transform: uppercase;
}

/* ---------- Cards / steps ---------- */
.card-grid { display: grid; gap: 1.1rem; }
@media (min-width: 700px) { .card-grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 700px) { .card-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--paper);
  border: 1px solid #DCD7C9;
  border-radius: var(--radius);
  padding: 1.6rem;
  display: flex; flex-direction: column;
}
.section--navy .card, .section--graphite .card {
  background: var(--navy-raised); border-color: var(--navy-line);
}
.card h3 { font-size: var(--step-1); margin-bottom: 0.6rem; }
.card p { font-size: 0.97rem; color: var(--ink-soft); max-width: none; }
.section--navy .card p { color: var(--on-navy-soft); }
.card .btn { margin-top: 1.3rem; align-self: flex-start; }

/* ---------- People ---------- */
.people-grid { display: grid; gap: 1rem; }
@media (min-width: 620px) { .people-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .people-grid { grid-template-columns: repeat(3, 1fr); } }
.person {
  border: 1px solid #DCD7C9; border-left: 3px solid var(--azzurri-blue);
  border-radius: var(--radius); padding: 1.2rem 1.3rem; background: var(--paper);
}
.person__name { font-family: var(--display); font-size: var(--step-1); font-weight: 600; }
.person__role {
  font-size: var(--step--1); letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--muted-gold); margin-top: 0.2rem;
}
.section--navy .person__role, .section--graphite .person__role { color: var(--muted-gold); }
.person__detail { font-size: 0.93rem; color: var(--ink-soft); margin-top: 0.6rem; }

/* ---------- Partner note ---------- */
.partner-note {
  border: 1px solid var(--navy-line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem);
  background: rgba(255,255,255,0.03);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--deep-navy); color: var(--on-navy); }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid {
  display: grid; gap: 2.2rem;
  padding-block: clamp(2.8rem, 6vw, 4rem);
}
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer__brand { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; }
.footer__crest { width: 56px; height: 56px; object-fit: contain; }
.footer__name {
  font-family: var(--display); font-weight: 600; font-size: 1.4rem;
  text-transform: uppercase; line-height: 1.05;
}
.footer__loc { font-size: var(--step--1); letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-navy-soft); }
.footer p { color: var(--on-navy-soft); font-size: 0.95rem; }
.footer__col h2 {
  font-size: var(--step--1); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted-gold); margin-bottom: 0.9rem;
}
.footer__col li { margin-bottom: 0.5rem; font-size: 0.97rem; }
.footer__social { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.footer__social a {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border: 1px solid var(--navy-line); border-radius: var(--radius);
}
.footer__social a:hover { background: var(--azzurri-blue); border-color: var(--azzurri-blue); }
.footer__social svg { width: 19px; height: 19px; fill: currentColor; }
.footer__legal {
  border-top: 1px solid var(--navy-line);
  padding-block: 1.6rem;
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem;
  justify-content: space-between;
  font-size: 0.88rem; color: var(--on-navy-soft);
}
.footer__legal p { font-size: 0.88rem; max-width: 62ch; }

/* ---------- Breadcrumb ---------- */
.crumb {
  font-size: var(--step--1); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--on-navy-soft); padding-top: 1.6rem;
}
.crumb a { color: var(--on-navy-soft); }
.crumb span { color: var(--muted-gold); }

/* ---------- Page header ---------- */
.page-head {
  background: var(--deep-navy); color: var(--on-navy);
  position: relative; overflow: hidden;
}
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 15% -20%, rgba(35,137,215,0.28), transparent 70%);
  pointer-events: none;
}
.page-head__inner { position: relative; z-index: 1; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.page-head h1 { text-transform: uppercase; margin-bottom: 0.8rem; }
.page-head p { color: var(--on-navy-soft); font-size: var(--step-1); }
