/* Gateway Talent Labs
   Design system: design-system/gateway-talent-labs/MASTER.md
   Layout: light and airy, centred hero, stacked service panels, one motion moment per section.
   Brand colours are provisional - swap them here in :root only. */

:root {
  /* Colour: new palette (default). The original GTL palette is below, under [data-palette="original"]. */
  --bg: #F6F9FC;
  --surface: #FFFFFF;
  --ink: #0E1726;
  --ink-soft: #475569;
  --line: #E2E9F1;
  --accent: #0369A1;          /* buttons, links (white text 5.9:1) */
  --accent-hover: #075985;
  --accent-bright: #0EA5E9;   /* decoration only */
  --highlight: #F59E0B;       /* decoration only, never text */
  --tint-1: #E0F2FE;
  --tint-2: #FEF3C7;
  --tint-2-ink: #92400E;
  --tint-3: #DCFCE7;
  --success: #15803D;
  --danger: #B91C1C;

  /* Logo: always the GTL brand colours */
  --logo-1: #16293C;
  --logo-2: #2A8C7E;
  --logo-3: #5F7189;
  --logo-gap: #FFFFFF;

  /* Type */
  --font-display: "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Work Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --text-sm: 0.9375rem;
  --text-base: 1.0625rem;
  --text-lg: 1.25rem;
  --text-h3: 1.5rem;
  --text-h2: clamp(2rem, 1.3rem + 2.8vw, 3.25rem);
  --text-h1: clamp(2.75rem, 1.6rem + 5.2vw, 5.5rem);

  /* Space */
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2rem);
  --section-y: clamp(4.5rem, 3rem + 6vw, 8.5rem);

  /* Shape and motion */
  --radius: 4px;
  --radius-lg: 8px;
  --shadow-sm: none;
  --shadow-md: 0 1px 3px rgb(14 23 38 / 0.08);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 220ms;

  --container: 74rem;
  --measure: 38rem;
  color-scheme: light;
}

/* Original GTL colours (navy, teal, slate). Turn on with <html data-palette="original">.
   Teal is deepened to #237A6E for buttons and links so white text passes 4.5:1;
   the brighter teals are used only for decoration. */
:root[data-palette="original"] {
  --bg: #F1F5F8;
  --surface: #FFFFFF;
  --ink: #16293C;
  --ink-soft: #55677D;
  --line: #DCE4EB;
  --accent: #237A6E;
  --accent-hover: #1B6157;
  --accent-bright: #2A8C7E;
  --highlight: #4FC0AC;
  --tint-1: #E3EBF3;
  --tint-2: #DAF0EB;
  --tint-2-ink: #1B6157;
  --tint-3: #ECEFF4;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
input, button, textarea { font: inherit; color: inherit; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h1 { font-size: var(--text-h1); letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); line-height: 1.2; letter-spacing: -0.015em; }
p { text-wrap: pretty; }

a { color: var(--accent); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--gutter); top: -4rem; z-index: 100;
  padding: 0.75rem 1rem; background: var(--ink); color: #fff; border-radius: var(--radius); font-weight: 600;
}
.skip-link:focus { top: 0.75rem; }

/* Layout */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.measure { max-width: var(--measure); }
.center { text-align: center; margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.center .eyebrow, .eyebrow.center { justify-content: center; }
.lead { font-size: var(--text-lg); line-height: 1.6; color: var(--ink-soft); max-width: var(--measure); }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head.center { text-align: center; }
.section-head > * + * { margin-top: 1rem; }

/* Buttons and links */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0.75rem 1.4rem;
  border: 1.5px solid transparent; border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; line-height: 1.1;
  text-decoration: none; cursor: pointer;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn[disabled] { opacity: 0.65; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.center .btn-row, .btn-row.center { justify-content: center; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.75rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; text-decoration: none;
}
.text-link:hover { text-decoration: underline; }

.icon { width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-bubble {
  display: grid; place-items: center; width: 3.25rem; height: 3.25rem; flex: none;
  border-radius: 1rem; background: var(--surface); color: var(--accent); box-shadow: var(--shadow-sm);
}
.icon-bubble .icon { width: 1.5rem; height: 1.5rem; stroke-width: 1.75; }

/* Header: plain bar across the top */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--surface); border-bottom: 1px solid var(--line);
}
.header-bar {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 4.25rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 2.75rem;
  font-family: var(--font-display); font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.02em;
  color: var(--ink); text-decoration: none;
}
.mark { width: 2.25rem; height: 2.25rem; flex: none; }
.mark .m1 { stroke: var(--logo-1); } .mark .m2 { stroke: var(--logo-2); } .mark .m3 { stroke: var(--logo-3); } .mark .gap { stroke: var(--logo-gap); }
.site-nav ul { display: flex; align-items: center; gap: 0.25rem; list-style: none; padding: 0; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1rem; border-radius: var(--radius);
  color: var(--ink); font-weight: 500; text-decoration: none;
}
.site-nav a:hover { text-decoration: underline; }
.site-nav a[aria-current="page"] { color: var(--accent); font-weight: 600; }
.site-nav .nav-cta { background: var(--ink); color: #fff; font-weight: 600; margin-left: 0.25rem; padding: 0 1.25rem; }
.site-nav .nav-cta:hover { background: var(--accent); text-decoration: none; }
.site-nav .nav-cta[aria-current="page"] { background: var(--accent); color: #fff; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; border: 0; border-radius: var(--radius); background: var(--ink); color: #fff; cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 47.99rem) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    position: absolute; top: calc(100% + 0.5rem); left: 0; right: 0;
    padding: 0.75rem; background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  }
  .js .site-nav:not(.is-open) { display: none; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-nav a { width: 100%; padding: 0 1rem; }
  .site-nav .nav-cta { margin: 0.25rem 0 0; justify-content: center; }
  html:not(.js) .header-bar { flex-wrap: wrap; border-radius: var(--radius-lg); }
}

/* Hero: left-aligned, sized to its content */
.hero { position: relative; isolation: isolate; padding-block: clamp(3.5rem, 2.5rem + 5vw, 7rem) clamp(3rem, 2rem + 3vw, 5rem); }
.hero h1 { max-width: 14ch; }
.hero .lead { margin-top: 1.5rem; max-width: 40rem; }
.hero .btn-row { margin-top: 2rem; }

/* Highlighted word with a hand-drawn underline */
.hl { position: relative; display: inline-block; white-space: nowrap; isolation: isolate; }
.hl-line { position: absolute; z-index: -1; left: -2%; bottom: -0.04em; width: 104%; height: 0.3em; overflow: visible; }
.hl-line path { fill: none; stroke: var(--highlight); stroke-width: 9; stroke-linecap: round; }

/* The one animation on the site: the underline draws in */
.js .hl-line path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: none; }
.js .hl.is-drawn .hl-line path { stroke-dashoffset: 0; transition: stroke-dashoffset 900ms var(--ease-out) var(--hl-delay, 300ms); }

/* Page header (inner pages) */
.page-header { position: relative; isolation: isolate; padding-block: clamp(4rem, 2.5rem + 6vw, 8rem) clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.page-header h1 { max-width: 16ch; }
.page-header .lead { margin-top: 1.5rem; }

/* Photos */
.photo {
  position: relative; overflow: hidden; max-width: 100%;
  border-radius: var(--radius-lg); background: var(--tint-1);
  aspect-ratio: var(--ratio, 16 / 9);
}
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); }
.photo--band { --ratio: 4 / 3; margin-bottom: clamp(3rem, 2rem + 4vw, 6rem); }
@media (min-width: 48rem) { .photo--band { --ratio: 21 / 9; } }
.photo--tall { --ratio: 4 / 5; }
/* Real session photo: portrait original, so a 3:2 frame at its native width instead of the wide band */
.photo--session { --ratio: 3 / 2; max-width: 32rem; margin-inline: auto; }
@media (min-width: 48rem) { .photo--session { --ratio: 3 / 2; } }

.story-layout { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 64rem) {
  .story-layout { grid-template-columns: 1.25fr 0.75fr; gap: 4.5rem; }
  .story-layout .photo { position: sticky; top: 7.5rem; }
}

/* Hexagon markers taken from the logo: one per service, in the logo's three colours */
.hex { width: 1.75rem; height: 1.875rem; flex: none; fill: none; stroke-width: 2.5; stroke-linejoin: round; }
.hex--1 { stroke: var(--logo-1); }
.hex--2 { stroke: var(--logo-2); }
.hex--3 { stroke: var(--logo-3); }

/* Large outline of the logo filling the right side of the hero on wide screens */
.hero .container { position: relative; }
.hero-mark { display: none; }
@media (min-width: 60rem) {
  .hero-mark {
    display: block; position: absolute; right: var(--gutter); top: 50%; translate: 0 -50%;
    width: clamp(15rem, 24vw, 21rem); height: auto;
  }
  .hero-mark polygon { fill: none; stroke-linejoin: round; stroke-width: 1.6; }
  .hero-mark .gap { stroke: var(--bg); stroke-width: 4.5; }
  .hero-mark .m1 { stroke: var(--logo-1); } .hero-mark .m2 { stroke: var(--logo-2); } .hero-mark .m3 { stroke: var(--logo-3); }
  /* Keep the text clear of the mark */
  .hero h1 { max-width: min(14ch, calc(100% - clamp(15rem, 24vw, 21rem) - 3rem)); }
  .hero .lead { max-width: min(40rem, calc(100% - clamp(15rem, 24vw, 21rem) - 3rem)); }
}

/* Short marker stroke, the same hand-drawn line as the headline underline */
.marker::before {
  content: ""; display: block; width: 3.25rem; height: 0.7rem; margin-bottom: 0.9rem;
  background: var(--highlight);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 12'%3E%3Cpath d='M3 8C15 4 35 3 57 6' fill='none' stroke='black' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 12'%3E%3Cpath d='M3 8C15 4 35 3 57 6' fill='none' stroke='black' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

/* Home: services as a list with the heading beside it on wide screens */
.help-layout { display: grid; gap: 1.5rem 4rem; }
@media (min-width: 56rem) { .help-layout { grid-template-columns: 16rem 1fr; } }
.services-list { display: grid; list-style: none; padding: 0; border-top: 1px solid var(--line); }
.services-list li { display: grid; grid-template-columns: 1.75rem 1fr; gap: 0.5rem 1.25rem; align-items: start; padding-block: 1.75rem; border-bottom: 1px solid var(--line); }
.services-list li > div { display: grid; gap: 0.5rem; min-width: 0; }
.services-list .hex { margin-top: 0.15rem; }
.services-list h3 { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); }
.services-list h3 a { color: var(--ink); text-decoration: none; }
.services-list h3 a:hover { color: var(--accent); text-decoration: underline; }
.services-list p { color: var(--ink-soft); max-width: 36rem; }
.after-stack { margin-top: 1.5rem; }

/* Why GTL */
.statement { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3rem); line-height: 1.15; max-width: 24ch; }
.pillars { display: grid; gap: 2rem 3rem; margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); list-style: none; padding: 0; }
.pillar { display: grid; gap: 0.75rem; align-content: start; }
.pillar h3 { font-size: 1.25rem; }
.pillar p { color: var(--ink-soft); }

/* Home: team preview */
.team-band { position: relative; isolation: isolate; text-align: center; }
.duo { display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(1.5rem, 1rem + 4vw, 4rem); margin-block: 2.5rem 2rem; list-style: none; padding: 0; }
.duo li { display: grid; justify-items: center; gap: 0.75rem; }
.face {
  display: grid; place-items: center;
  width: clamp(7rem, 5rem + 6vw, 10rem); aspect-ratio: 1; max-width: 100%; border-radius: 50%;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(2.5rem, 2rem + 2vw, 3.75rem); color: var(--ink);
  background: radial-gradient(circle at 30% 25%, #fff 0 12%, transparent 55%), var(--tint-1);
  border: 4px solid var(--surface);
}
.face { position: relative; overflow: hidden; }
/* Absolutely positioned so a photo's own proportions can't stretch the circle */
.face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.duo li:nth-child(2) .face { background: radial-gradient(circle at 30% 25%, #fff 0 12%, transparent 55%), var(--tint-2); }
.duo .name { font-family: var(--font-display); font-size: 1.375rem; font-weight: 600; line-height: 1.2; }
.duo .role { color: var(--ink-soft); }

/* About */
.story { display: grid; gap: 1.5rem; max-width: 46rem; font-size: var(--text-lg); line-height: 1.75; color: var(--ink-soft); }
.story p:first-child { font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); line-height: 1.35; letter-spacing: -0.015em; color: var(--ink); }
/* Who we work with: one row per audience, name beside its description */
.audiences { display: grid; list-style: none; padding: 0; border-top: 1px solid var(--line); }
.audience { display: grid; gap: 0.5rem 3rem; padding-block: 1.5rem; border-bottom: 1px solid var(--line); }
@media (min-width: 48rem) { .audience { grid-template-columns: 16rem 1fr; } }
.audience h3 { display: flex; align-items: center; gap: 0.75rem; font-size: 1.375rem; }
.audience .hex { width: 1.4rem; height: 1.5rem; }
.audience p { color: var(--ink-soft); max-width: 40rem; }

/* Services page: sticky menu + detail panels */
.svc-layout { display: grid; gap: 2rem; }
.svc-menu { display: none; }
.svc-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin-top: 2rem; }
.svc-pills a {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0 1rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); font-weight: 500; font-size: var(--text-sm); text-decoration: none;
}
@media (min-width: 64rem) {
  .svc-layout { grid-template-columns: 17rem 1fr; gap: 4rem; align-items: start; }
  .svc-menu { display: block; position: sticky; top: 7.5rem; }
  .svc-pills { display: none; }
}
.svc-menu ol { display: grid; gap: 0.25rem; list-style: none; padding: 0; border-left: 2px solid var(--line); }
.svc-menu a {
  position: relative; display: block; padding: 0.75rem 1rem; margin-left: -2px;
  border-left: 2px solid transparent; color: var(--ink-soft); font-weight: 500; text-decoration: none;
}
.svc-menu a:hover { color: var(--ink); }
.svc-menu a.is-active { color: var(--ink); border-left-color: var(--accent); font-weight: 600; }
.svc-list { display: grid; gap: 1.5rem; }
.svc {
  padding: clamp(1.75rem, 1rem + 3vw, 3rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.svc-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.svc-head .icon-bubble { background: var(--tint, var(--tint-1)); box-shadow: none; }
.svc:nth-child(2) { --tint: var(--tint-2); }
.svc:nth-child(3) { --tint: var(--tint-3); }
.svc-head h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); }
.svc-desc { font-size: var(--text-lg); line-height: 1.7; color: var(--ink-soft); max-width: 44rem; }
.svc h3 { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); margin: 2rem 0 1rem; }
.included { display: grid; gap: 0.6rem; list-style: none; padding: 0; max-width: 40rem; }
.included li { display: grid; grid-template-columns: 1.25rem 1fr; gap: 0.75rem; align-items: start; }
.check { display: grid; place-items: center; height: 1.65em; color: var(--accent); }
.check .icon { width: 1.1rem; height: 1.1rem; stroke-width: 2.6; }
.svc-head .hex { width: 2rem; height: 2.15rem; }
.fit { margin-top: 1.75rem; max-width: 40rem; color: var(--ink-soft); }
.fit strong { font-family: var(--font-display); font-weight: 600; color: var(--ink); }

/* Team page */
.profiles { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); }
.profile { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
/* Portrait slot: swap the initial for <img src="..." alt="..."> once headshots arrive. */
.portrait {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; max-width: 100%; overflow: hidden;
  background: var(--tint, var(--tint-1));
  font-family: var(--font-display); font-weight: 600; font-size: clamp(5rem, 3.5rem + 5vw, 8rem); color: var(--ink);
}
.profile:nth-child(2) { --tint: var(--tint-2); }
.portrait span { position: relative; }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Photos at half the card width, centred */
.portrait:has(img) { width: 50%; margin: 2rem auto 0; border-radius: var(--radius); }
.profile-body { display: flex; flex-direction: column; gap: 1rem; padding: 2rem; flex: 1; }
.profile-body h2 { font-size: clamp(2rem, 1.6rem + 1.2vw, 2.5rem); }
.profile-body .profile-role { margin-top: -0.5rem; font-weight: 600; color: var(--accent); }
.profile-body p { color: var(--ink-soft); }
.profile-body { container-type: inline-size; }
.profile-links { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: auto; padding-top: 1rem; list-style: none; padding-left: 0; }
/* Email and LinkedIn share one line whenever the card is wide enough for both */
@container (min-width: 26rem) {
  .profile-links { flex-wrap: nowrap; }
  .profile-links a { white-space: nowrap; }
}
.profile-links a {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.75rem; padding: 0 0.8rem;
  border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); font-weight: 500; font-size: var(--text-sm);
  text-decoration: none; word-break: break-word;
}
.profile-links a:hover { border-color: var(--accent); color: var(--accent); }

/* Contact */
.contact-layout { display: grid; gap: 3rem; }
@media (min-width: 64rem) { .contact-layout { grid-template-columns: 1fr 1.1fr; gap: 5rem; align-items: start; } }
.contact-intro .lead { margin-top: 1.5rem; }
.email-card {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem;
  margin-top: 2rem; padding: 1.25rem 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.email-card .icon-bubble { width: 2.75rem; height: 2.75rem; background: var(--tint-1); box-shadow: none; }
.email-card p { color: var(--ink-soft); }
.email-card a { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; word-break: break-word; }
.booking { margin-top: 1.5rem; padding: 2rem; background: var(--tint-2); border-radius: var(--radius-lg); }
.booking h2 { font-size: var(--text-h3); margin-bottom: 0.5rem; }
.booking p { color: var(--ink-soft); margin-bottom: 1.25rem; }
.booking[hidden] { display: none; }

.form-card {
  padding: clamp(1.5rem, 1rem + 2.5vw, 2.75rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
.field + .field { margin-top: 1.25rem; }
.field label { display: block; margin-bottom: 0.4rem; font-weight: 600; }
.field .optional { font-weight: 400; color: var(--ink-soft); }
.field input, .field textarea {
  width: 100%; min-height: 3.25rem; padding: 0.8rem 1rem; font-size: 1rem;
  background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius);
}
.field textarea { min-height: 9.5rem; resize: vertical; line-height: 1.55; }
.field input:hover, .field textarea:hover { border-color: #CBD5E1; }
.field input:focus, .field textarea:focus { outline: none; background: var(--surface); border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 15%, transparent); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--danger); }
.botcheck { display: none !important; }
.form-actions { margin-top: 1.75rem; }
.form-actions .btn { width: 100%; }
.form-status { margin-top: 1rem; min-height: 1.5em; font-weight: 600; }
.form-status[data-state="success"] { color: var(--success); }
.form-status[data-state="error"] { color: var(--danger); }
.form-status[data-state="sending"], .form-status[data-state="fallback"] { color: var(--ink-soft); }

/* Closing CTA */
.cta-band { padding-block: 0 var(--section-y); }
/* Closing CTA: a solid navy block, text left, button right on wide screens */
.cta-panel {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem;
  padding: clamp(2rem, 1.5rem + 3vw, 3.5rem);
  border-radius: var(--radius-lg);
  background: var(--logo-1); color: #fff;
}
.cta-panel h2 { max-width: 22ch; font-size: clamp(1.625rem, 1.2rem + 1.8vw, 2.5rem); }

/* Footer */
.site-footer { padding-block: 4rem 2rem; border-top: 1px solid var(--line); background: var(--surface); font-size: var(--text-sm); }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.footer-brand p { margin-top: 0.75rem; color: var(--ink-soft); max-width: 22rem; }
.footer-col h2 { font-family: var(--font-body); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.5rem; }
.footer-col ul { list-style: none; padding: 0; display: grid; }
.footer-col a { display: inline-flex; align-items: center; min-height: 2.5rem; color: var(--ink); text-decoration: none; }
.footer-col a:hover { color: var(--accent); text-decoration: underline; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem;
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--ink-soft);
}
.footer-bottom a { font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hl-line path { stroke-dashoffset: 0; transition: none !important; }
}

/* Preview only */
.preview-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem 1rem; padding: 0.5rem 1rem; background: #0B1723; color: #fff; font: 500 0.875rem/1.3 system-ui, sans-serif; text-align: center; }
.pref-switch { display: inline-flex; flex-wrap: wrap; justify-content: center; padding: 3px; gap: 2px; background: rgb(255 255 255 / 0.12); border-radius: 999px; }
.pref-switch button { min-height: 2rem; padding: 0 0.8rem; border: 0; border-radius: 999px; background: transparent; color: #fff; font: 600 0.8125rem/1 system-ui, sans-serif; cursor: pointer; }
.pref-switch button[aria-pressed="true"] { background: #fff; color: #0B1723; }
:root[data-font="jakarta"] { --font-display: "Plus Jakarta Sans", system-ui, sans-serif; --font-body: "Plus Jakarta Sans", system-ui, sans-serif; }
:root[data-font="figtree"] { --font-display: "Figtree", system-ui, sans-serif; --font-body: "Figtree", system-ui, sans-serif; }
:root[data-font="manrope"] { --font-display: "Manrope", system-ui, sans-serif; --font-body: "Manrope", system-ui, sans-serif; }
