/* ==========================================================================
   Global Unity (SCIO) — globalunityscotland.org
   Design system: saltire blue / logo gold-orange / globe green / festive magenta
   Mobile-first, WCAG AA, no build step.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand (derived from logo + poster) */
  --blue: #0b5fb0;
  --blue-dark: #08427a;
  --blue-deep: #062f57;
  --blue-tint: #e8f1fa;
  --orange: #e8890c;
  --orange-dark: #b5650a;
  --orange-tint: #fdf3e3;
  --green: #3e9b4f;
  --green-dark: #2e753b;
  --green-tint: #e9f5eb;
  --magenta: #9d2463;
  --magenta-tint: #f9ecf3;

  /* Neutrals */
  --bg: #faf8f4;
  --surface: #ffffff;
  --ink: #1c2b39;
  --ink-soft: #46586a;
  --line: #e5e0d8;

  /* Typography */
  --font-heading: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Karla", "Segoe UI", system-ui, sans-serif;
  --font-accent: "Caveat", cursive;

  /* Rhythm */
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(28, 43, 57, 0.08), 0 2px 8px rgba(28, 43, 57, 0.06);
  --shadow-md: 0 4px 14px rgba(28, 43, 57, 0.1), 0 10px 30px rgba(28, 43, 57, 0.08);
  --shadow-lg: 0 12px 40px rgba(6, 47, 87, 0.18);
  --container: 72rem;
  --header-h: 4.5rem;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem; /* 17px */
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

@media (min-width: 64rem) {
  body {
    font-size: 1.125rem; /* 18px */
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin: 0 0 0.75em;
  color: var(--blue-deep);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 600;
}

h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 600;
}

p {
  margin: 0 0 1.1em;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--blue-dark);
}

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

::selection {
  background: var(--blue);
  color: #fff;
}

/* ---------- Utilities ---------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--blue-deep);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus-visible {
  top: 0;
  color: #fff;
}

.section {
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
}

.section--alt {
  background: var(--surface);
}

/* The 4-colour "unity ribbon" — brand signature */
.ribbon {
  height: 5px;
  border: 0;
  margin: 0;
  background: linear-gradient(
    90deg,
    var(--blue) 0 25%,
    var(--orange) 25% 50%,
    var(--green) 50% 75%,
    var(--magenta) 75% 100%
  );
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 0.6rem;
}

.section-head .ribbon {
  width: 5.5rem;
  border-radius: 99px;
  margin-top: 1rem;
}

.section-head--center .ribbon {
  margin-inline: auto;
}

.lead {
  font-size: 1.15em;
  color: var(--ink-soft);
}

.accent-script {
  font-family: var(--font-accent);
  font-size: 1.6em;
  font-weight: 600;
  color: var(--orange-dark);
  line-height: 1.2;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.7rem 1.6rem;
  border-radius: 99px;
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease, transform 0.15s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: var(--orange);
  color: #3a2400;
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: #f79c22;
  color: #3a2400;
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background: var(--blue);
  color: #fff;
}

.btn--secondary:hover {
  background: var(--blue-dark);
  color: #fff;
}

.btn--ghost {
  border-color: var(--blue);
  color: var(--blue);
  background: transparent;
}

.btn--ghost:hover {
  background: var(--blue-tint);
  color: var(--blue-dark);
}

.btn--light {
  background: #fff;
  color: var(--blue-deep);
}

.btn--light:hover {
  background: var(--blue-tint);
  color: var(--blue-deep);
}

.btn svg {
  flex: none;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 3rem;
  border-radius: 6px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--blue-deep);
}

.brand__tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-dark);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--blue-deep);
  cursor: pointer;
}

.nav-toggle:hover {
  background: var(--blue-tint);
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: none;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 0.75rem 1.25rem 1.25rem;
}

.site-nav.is-open {
  display: block;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.site-nav a {
  display: flex;
  align-items: center;
  min-height: 2.9rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  text-decoration: none;
}

.site-nav a:hover {
  background: var(--blue-tint);
  color: var(--blue-dark);
}

.site-nav a[aria-current="page"] {
  color: var(--blue);
  box-shadow: inset 3px 0 0 var(--orange);
  background: var(--blue-tint);
}

.site-nav .nav-cta {
  margin-top: 0.75rem;
}

@media (min-width: 64rem) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: block;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 0.35rem;
  }

  .site-nav a {
    min-height: 2.75rem;
  }

  .site-nav a[aria-current="page"] {
    box-shadow: inset 0 -3px 0 var(--orange);
    background: transparent;
  }

  .site-nav .nav-cta {
    margin: 0 0 0 0.75rem;
  }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(11, 95, 176, 0.06), rgba(232, 137, 12, 0.05) 55%, rgba(62, 155, 79, 0.07)),
    var(--bg);
}

/* faint saltire cross echo */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(63deg, transparent 46.5%, rgba(11, 95, 176, 0.055) 46.5% 53.5%, transparent 53.5%),
    linear-gradient(-63deg, transparent 46.5%, rgba(11, 95, 176, 0.055) 46.5% 53.5%, transparent 53.5%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  gap: 2.5rem;
  padding-block: clamp(3rem, 8vw, 6rem);
}

.hero__kicker {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}

.hero h1 {
  margin-bottom: 0.5em;
}

.hero__text .lead {
  max-width: 34rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.hero__meta strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--blue-deep);
}

.hero__media {
  position: relative;
}

.hero__photo {
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.hero__card {
  position: absolute;
  left: 1rem;
  bottom: -1.4rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  max-width: calc(100% - 2rem);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 0.8rem 1.1rem;
  border-left: 5px solid var(--orange);
}

.hero__card img {
  width: 3.4rem;
  height: 3.4rem;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex: none;
}

.hero__card strong {
  font-family: var(--font-heading);
  color: var(--blue-deep);
  display: block;
  line-height: 1.3;
}

.hero__card span {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

@media (min-width: 64rem) {
  .hero__inner {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 4rem;
  }
}

/* ---------- Event highlight ---------- */
.event-card {
  display: grid;
  gap: 0;
  background: var(--surface);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid var(--line);
}

.event-card__media {
  position: relative;
  background: var(--blue-deep);
}

.event-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-card__body {
  padding: clamp(1.5rem, 4vw, 2.75rem);
}

.event-card__date {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--magenta-tint);
  color: var(--magenta);
  font-weight: 800;
  font-size: 0.92rem;
  padding: 0.4rem 0.9rem;
  border-radius: 99px;
  margin-bottom: 1rem;
}

.event-card h3 {
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.event-facts {
  list-style: none;
  margin: 1.25rem 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.event-facts li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.event-facts svg {
  flex: none;
  margin-top: 0.2rem;
  color: var(--blue);
}

.event-facts strong {
  color: var(--blue-deep);
}

@media (min-width: 64rem) {
  .event-card {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

/* Countdown */
.countdown {
  display: flex;
  gap: 0.6rem;
  margin: 1.4rem 0;
  flex-wrap: wrap;
}

.countdown__unit {
  min-width: 4.1rem;
  padding: 0.55rem 0.4rem;
  text-align: center;
  background: var(--blue-tint);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(11, 95, 176, 0.15);
}

.countdown__num {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--blue-dark);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.countdown__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Ticket / phone contact cards */
.contact-lines {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.75rem 1rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.contact-line:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
}

.contact-line:active {
  transform: scale(0.985);
}

.contact-line__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green);
}

.contact-line strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  color: var(--blue-deep);
  line-height: 1.3;
}

.contact-line span {
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
  font-weight: 700;
}

@media (min-width: 48rem) {
  .contact-lines--row {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- What we do cards ---------- */
.card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--card-accent, var(--blue));
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.info-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.info-card--blue { --card-accent: var(--blue); }
.info-card--orange { --card-accent: var(--orange); }
.info-card--green { --card-accent: var(--green); }
.info-card--magenta { --card-accent: var(--magenta); }

.info-card__icon {
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: var(--radius);
  margin-bottom: 1.2rem;
  background: color-mix(in srgb, var(--card-accent) 12%, white);
  color: var(--card-accent);
}

.info-card p {
  color: var(--ink-soft);
  margin-bottom: 0;
}

/* ---------- Values / impact band ---------- */
.band {
  background:
    linear-gradient(135deg, var(--blue-deep), var(--blue-dark) 55%, #0a4c8c),
    var(--blue-deep);
  color: #fff;
}

.band h2,
.band h3 {
  color: #fff;
}

.band .eyebrow {
  color: #ffc46b;
}

.band__grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 48rem) {
  .band__grid {
    grid-template-columns: repeat(2, 1fr);
    text-align: center;
  }
}

@media (min-width: 64rem) {
  .band__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.band__stat strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  color: #ffc46b;
}

.band__stat span {
  color: #cfe2f5;
  font-size: 0.98rem;
}

/* ---------- Chairman ---------- */
.chairman {
  display: grid;
  gap: 2.25rem;
  align-items: start;
}

@media (min-width: 64rem) {
  .chairman {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
  }

  .chairman__aside {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }
}

.chairman__portrait {
  position: relative;
  max-width: 22rem;
}

.chairman__portrait img {
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-md);
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
}

.chairman__portrait::after {
  content: "";
  position: absolute;
  inset: 1.1rem -1.1rem -1.1rem 1.1rem;
  border: 3px solid var(--orange);
  border-radius: calc(var(--radius) + 4px);
  z-index: -1;
}

.chairman__id {
  margin-top: 1.6rem;
}

.chairman__id strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--blue-deep);
}

.chairman__id span {
  color: var(--ink-soft);
}

.chairman__message h3 {
  margin-top: 2rem;
}

.chairman__message p {
  color: var(--ink-soft);
}

.pull-quote {
  margin: 0 0 1.6rem;
  padding: 1.4rem 1.6rem;
  background: var(--orange-tint);
  border-left: 5px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.12em;
  color: var(--ink);
}

.pull-quote p {
  margin: 0;
  color: inherit;
}

.signature {
  margin-top: 2.2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.signature .accent-script {
  font-size: 2.2rem;
  color: var(--blue-dark);
  display: block;
}

.signature span {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ---------- Gallery (events page) ---------- */
.gallery-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 48rem) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gallery-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.gallery-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.gallery-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--blue-tint);
  border: 0;
  padding: 0;
  cursor: zoom-in;
  width: 100%;
}

.gallery-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.35s ease;
}

.gallery-card:hover .gallery-card__media img {
  transform: scale(1.04);
}

.gallery-card__date {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  background: rgba(6, 47, 87, 0.85);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.35rem 0.8rem;
  border-radius: 99px;
  backdrop-filter: blur(4px);
}

.gallery-card__body {
  padding: 1.4rem 1.5rem 1.6rem;
}

.gallery-card__body h3 {
  margin-bottom: 0.4rem;
}

.gallery-card__venue {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0;
}

.gallery-card__venue svg {
  flex: none;
  color: var(--magenta);
}

/* Payment / how to pay card */
.pay-card {
  background: var(--green-tint);
  border: 1px solid rgba(62, 155, 79, 0.3);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  margin-top: 1.5rem;
}

.pay-card h4 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--green);
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.pay-card dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.3rem 1rem;
  margin: 0;
  font-size: 0.98rem;
}

.pay-card dt {
  font-weight: 800;
  color: var(--ink);
}

.pay-card dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    linear-gradient(150deg, rgba(11, 95, 176, 0.08), rgba(157, 36, 99, 0.06)),
    var(--surface);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
}

.page-hero h1 {
  margin-bottom: 0.4rem;
}

.page-hero .lead {
  max-width: 42rem;
  margin-bottom: 0;
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
}

.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  color: var(--ink-soft);
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.35rem;
  color: var(--line);
}

.breadcrumbs a {
  color: var(--blue);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs [aria-current="page"] {
  color: var(--ink-soft);
  font-weight: 700;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 48rem;
  margin-inline: auto;
  display: grid;
  gap: 0.9rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--blue-deep);
  list-style: none;
  min-height: 3rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  flex: none;
  width: 0.7rem;
  height: 0.7rem;
  border-right: 2.5px solid var(--orange);
  border-bottom: 2.5px solid var(--orange);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  margin-right: 0.2rem;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
}

.faq-item summary:hover {
  background: var(--blue-tint);
}

.faq-item__body {
  padding: 0 1.4rem 1.2rem;
  color: var(--ink-soft);
}

.faq-item__body p {
  margin-bottom: 0;
}

/* ---------- Story / split sections ---------- */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 64rem) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .split--flip > .split__media {
    order: 2;
  }
}

.split__media img {
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow-md);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split__body p {
  color: var(--ink-soft);
}

.checklist {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.checklist li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}

.checklist svg {
  flex: none;
  margin-top: 0.25rem;
  color: var(--green);
}

.checklist strong {
  color: var(--blue-deep);
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--magenta), #b23577 60%, var(--orange-dark));
  color: #fff;
  text-align: center;
  padding-block: clamp(3rem, 7vw, 4.5rem);
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: #fbe3ef;
  max-width: 38rem;
  margin-inline: auto;
}

.cta-band .btn {
  margin-top: 0.75rem;
}

/* ---------- Contact section ---------- */
.contact-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 64rem) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
  }
}

.contact-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.5rem, 4vw, 2.25rem);
}

.contact-panel h3 {
  margin-bottom: 0.5rem;
}

.contact-panel > p {
  color: var(--ink-soft);
}

.contact-note {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  background: var(--blue-tint);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.contact-note svg {
  flex: none;
  color: var(--blue);
  margin-top: 0.15rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--blue-deep);
  color: #c9dcf0;
}

.site-footer__inner {
  display: grid;
  gap: 2.5rem;
  padding-block: clamp(2.75rem, 6vw, 4rem) 2rem;
}

@media (min-width: 48rem) {
  .site-footer__inner {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}

.site-footer .brand__name {
  color: #fff;
}

.site-footer .brand__tag {
  color: #ffc46b;
}

.site-footer p {
  font-size: 0.95rem;
}

.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.site-footer a {
  color: #c9dcf0;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer .footer-contact li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.site-footer .footer-contact svg {
  flex: none;
  margin-top: 0.25rem;
  color: #ffc46b;
}

.site-footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-block: 1.4rem;
  font-size: 0.88rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: space-between;
  color: #9dbdde;
}

.site-footer__legal p {
  margin: 0;
  font-size: inherit;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  place-items: center;
  padding: 1.5rem;
  background: rgba(6, 22, 38, 0.88);
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-width: min(92vw, 60rem);
  max-height: 86vh;
  width: auto;
  height: auto;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ---------- 404 ---------- */
.error-page {
  min-height: calc(100dvh - var(--header-h));
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: 4rem;
}

.error-page .accent-script {
  font-size: 2rem;
}

.error-page h1 {
  font-size: clamp(3.5rem, 12vw, 6rem);
  margin-bottom: 0.2em;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Print ---------- */
@media print {
  .site-header,
  .site-footer,
  .cta-band,
  .nav-toggle {
    display: none;
  }
}
