/* <picture> is a wrapper only; the <img> keeps its original box.
   display:contents promotes picture's children into the parent layout, which
   includes <source> — Chrome gives those a box, so a two-up grid band placed
   the sources in column 1 and both images in column 2. Hiding source restores
   the pre-picture box tree exactly; resource selection is unaffected because it
   happens before layout. */
picture{display:contents}
picture > source{display:none}

/* ---------------------------------------------------------------------------
   Stay Go Premium — design system
   Deep teal-charcoal, warm paper, brand gold. Fraunces for display, Inter
   for everything else. Hairline rules, cinematic imagery, no clutter.
--------------------------------------------------------------------------- */

:root {
  --ink: #0d1a1e;
  --ink-2: #12242c;
  --ink-3: #1a323c;
  --paper: #f6f4ef;
  --paper-2: #edeae2;
  --gold: #ac8835;   /* 3.02:1 with --paper text; passes AA via the large-text rule, which is why .btn is 18.8px/700 */
  --gold-2: #d0ab52;
  --gold-deep: #a1802e;
  /* gold used as TEXT on paper: --gold is only 3.01:1 there and fails AA.
     5.24:1 on paper, 4.79:1 on paper-2. Backgrounds keep using --gold. */
  --gold-text: #7d6224;
  --text: #22333a;
  --text-dim: #54646a;   /* 5.13:1 on paper-2; #5c6d73 measured 4.49 and failed AA */
  --text-inv: #eef1ef;
  --text-inv-dim: #a3b2b5;
  --line: rgba(13, 26, 30, 0.14);
  --line-inv: rgba(238, 241, 239, 0.16);
  /* Display face. Token keeps its historical name because inline styles
     across the site reference var(--serif). */
  --serif: 'Archivo', 'Inter', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --sans: 'Inter', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --shell: 1200px;
  --radius: 5px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

::selection { background: var(--gold); color: var(--ink); }

/* ------------------------------------------------------------------ shell */

.shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.shell--wide { max-width: 1400px; }

/* ------------------------------------------------------------------- type */

h1, h2, h3, .display {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.022em;
  color: inherit;
}

h1 { font-size: clamp(2.6rem, 5.6vw, 4.9rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.2; }
h4 { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; line-height: 1.4; }
/* Card labels are two-to-six word titles, not document sections. They were <h4>
   sitting directly under an <h1>/<h2>, which skipped heading levels for screen
   readers. They are now <p class="card-title"> and carry the old h4 styling. */
.card-title { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; line-height: 1.4; }

p + p { margin-top: 1em; }

.lede {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.6;
  color: var(--text-dim);
}

.ink .lede, .ink p, .ink-2 .lede, .ink-2 p { color: var(--text-inv-dim); }
.ink h1, .ink h2, .ink h3, .ink h4, .ink .card-title,
.ink-2 h1, .ink-2 h2, .ink-2 h3, .ink-2 h4, .ink-2 .card-title { color: var(--text-inv); }

.prose h2 { margin: 2.2em 0 0.6em; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.prose h3 { margin: 1.8em 0 0.5em; }
.prose h4 { margin: 1.6em 0 0.4em; }
.prose p { margin: 0 0 1em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose li { margin: 0.35em 0; }
.prose li::marker { color: var(--gold); }
.prose a { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.prose a:hover { color: var(--gold); }
.prose table { border-collapse: collapse; width: 100%; margin: 1.5em 0; font-size: 0.95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 0.6em 0.9em; text-align: left; vertical-align: top; }
.prose th { background: var(--paper-2); font-weight: 600; }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-block;
  white-space: nowrap;
  font-family: var(--sans);
  /* 18.8px at weight 700 clears WCAG's large-text bar (>=18.66px bold), which
     is what lets the gold CTA pass AA at 3.02:1 rather than needing 4.5:1 */
  font-size: 1.175rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  padding: 0.85em 1.6em;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.btn--gold { background: var(--gold); color: var(--paper); }
.btn--gold:hover { background: var(--gold-deep); }

.btn--ink { background: var(--ink); color: var(--text-inv); }
.btn--ink:hover { background: var(--ink-3); }

/* background stated outright: on a <button> rather than an <a>, the browser's
   own button grey shows through and the white label vanishes into it */
.btn--ghost { background: transparent; border-color: rgba(238, 241, 239, 0.5); color: var(--text-inv); }
.btn--ghost:hover { border-color: var(--text-inv); background: rgba(238, 241, 239, 0.08); }

.btn--line { border-color: var(--line); color: var(--text); }
.btn--line:hover { border-color: var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }

.text-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.2s ease;
}
.text-link:hover { color: var(--gold); }

/* ----------------------------------------------------------------- header */

.site-head {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
  color: var(--text-inv);
}

.site-head.is-solid,
.site-head.is-open {
  background: var(--ink);
  border-bottom-color: var(--line-inv);
}

.site-head__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.9rem clamp(1.25rem, 4vw, 2.5rem);
  max-width: 1400px;
  margin: 0 auto;
}

.site-head__logo { flex-shrink: 0; }
.site-head__logo img { height: 52px; width: auto; }

@media (max-width: 480px) {
  .site-head__bar { gap: 0.75rem; }
  .site-head__logo img { height: 42px; }
  /* The header CTA stays small here, which forfeits the large-text exemption
     the page CTAs rely on, so light text on the standard gold would only reach
     3.02:1. Dark text solved that but read as black on gold, so instead this one
     chip gets a deeper gold: light text on #8a6b27 is 4.53:1 and passes AA.
     Contained to the mobile header — the page buttons keep the brand gold. */
  .site-head .btn { padding: 0.7em 1.1em; font-size: 0.85rem; }
  .site-head .btn--gold { background: #8a6b27; color: var(--paper); }
}

.site-nav { display: flex; align-items: center; gap: 0.2rem; }

.site-nav > ul {
  display: flex;
  list-style: none;
  gap: 0.2rem;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav > ul > li { position: relative; }

.site-nav > ul > li > a {
  display: inline-block;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.site-nav > ul > li > a:hover { background: rgba(238, 241, 239, 0.1); }

.site-nav li.has-sub > a::after {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  margin-left: 0.5em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.55;
}

.sub-toggle { display: none; }

.site-nav .sub {
  position: absolute;
  top: 100%; left: 0;
  min-width: 260px;
  background: var(--ink-2);
  border: 1px solid var(--line-inv);
  border-radius: var(--radius);
  list-style: none;
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.site-nav li:hover > .sub,
.site-nav li:focus-within > .sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}

.site-nav .sub a {
  display: block;
  padding: 0.55rem 0.8rem;
  border-radius: 4px;
  font-size: 0.92rem;
  color: var(--text-inv-dim);
}

.site-nav .sub a:hover { background: rgba(238, 241, 239, 0.08); color: var(--text-inv); }

.site-head__cta { display: flex; align-items: center; gap: 1.1rem; }

.site-head__phone {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-inv);
  white-space: nowrap;
}
.site-head__phone:hover { color: var(--gold-2); }

.site-head .btn { padding: 0.8em 1.5em; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 42px; height: 42px;
  cursor: pointer;
  position: relative;
}

.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: '';
  position: absolute;
  left: 9px;
  width: 24px; height: 2px;
  background: var(--text-inv);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle span { top: 20px; }
.nav-toggle span::before { left: 0; top: -7px; }
.nav-toggle span::after { left: 0; top: 7px; }

.is-open .nav-toggle span { background: transparent; }
.is-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.is-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------------------- hero */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  color: var(--text-inv);
  isolation: isolate;
  overflow: hidden;
}

.hero--short { min-height: 62vh; }
.hero--half { min-height: 52vh; }

.hero__img {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__img img,
.hero__img video {
  width: 100%; height: 100%;
  object-fit: cover;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(13, 26, 30, 0.88) 0%, rgba(13, 26, 30, 0.35) 45%, rgba(13, 26, 30, 0.25) 100%);
}

/* The centred hero sits its text in the weakest part of that gradient. Measured
   against the home page's bright kitchen shot, the worst 5% of pixels behind the
   headline gave only 2.4:1. This lifts the middle and top stops for that variant
   only, so bottom-aligned heroes keep their lighter treatment. */
.hero--center::after {
  background:
    linear-gradient(to top, rgba(13, 26, 30, 0.9) 0%, rgba(13, 26, 30, 0.58) 45%, rgba(13, 26, 30, 0.5) 100%);
}

.hero__inner {
  width: 100%;
  padding-top: 9rem;
  padding-bottom: clamp(3rem, 7vh, 5.5rem);
}

.hero h1 { max-width: 17ch; text-wrap: balance; }

.hero .lede { max-width: 54ch; margin-top: 1.4rem; color: rgba(238, 241, 239, 0.85); }

.hero .btn-row { margin-top: 2.2rem; }

.hero--center { align-items: center; }

.hero--center .hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: clamp(3rem, 9vh, 6rem);
}

.hero--center h1 { max-width: 21ch; }
.hero--center .lede { margin-left: auto; margin-right: auto; }
.hero--center .btn-row { justify-content: center; }

/* --------------------------------------------------------------- sections */

.section { padding: clamp(4rem, 9vh, 7rem) 0; }
.section--tight { padding: clamp(2.5rem, 6vh, 4rem) 0; }

.ink { background: var(--ink); color: var(--text-inv); }
.ink-2 { background: var(--ink-2); color: var(--text-inv); }
.paper-2 { background: var(--paper-2); }

.section-head { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vh, 4rem); }
.section-head .lede { margin-top: 1rem; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.rule-top { border-top: 1px solid var(--line); }
.ink .rule-top, .ink-2 .rule-top { border-top-color: var(--line-inv); }

/* ------------------------------------------------------------------ split */

.split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.split__media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.split--rev .split__media { order: 2; }

.split__body h2 { margin-bottom: 1.1rem; }
.split__body .btn-row, .split__body .text-link { margin-top: 1.8rem; display: inline-block; }
.split__body .btn-row { display: flex; }

/* ------------------------------------------------------------------ cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ink .card, .ink-2 .card {
  background: var(--ink-2);
  border-color: var(--line-inv);
}

a.card:hover, .card--link:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(13, 26, 30, 0.16);
}

.card__media { aspect-ratio: 3 / 2; overflow: hidden; }

.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

a.card:hover .card__media img { transform: scale(1.045); }

.card__body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; gap: 0.65rem; flex: 1; }
.card__body p { font-size: 0.97rem; color: var(--text-dim); }
.ink .card__body p, .ink-2 .card__body p { color: var(--text-inv-dim); }
.card__body .text-link { margin-top: auto; align-self: flex-start; padding-top: 0.6rem; }

.card__meta { font-size: 0.88rem; font-weight: 600; color: var(--gold); letter-spacing: 0.02em; }

/* ------------------------------------------------------------------ stats */

.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: left;
}

.stat-band > div { border-top: 2px solid var(--gold); padding-top: 1.2rem; }

.stat-band strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-band span { font-size: 0.95rem; color: var(--text-dim); }
.ink .stat-band span { color: var(--text-inv-dim); }

/* -------------------------------------------------------------- accordion */

.accordion { border-top: 1px solid var(--line); }

.accordion details { border-bottom: 1px solid var(--line); }

.accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 2rem;
  padding: 1.35rem 0;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.05rem;
  transition: color 0.2s ease;
}

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

.accordion summary h3 { font: inherit; margin: 0; }

.accordion summary::after {
  content: '+';
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.accordion details[open] summary::after { transform: rotate(45deg); }

.accordion summary:hover { color: var(--gold); }

.accordion .accordion__body { padding: 0 0 1.5rem; max-width: 70ch; color: var(--text-dim); }
.ink .accordion .accordion__body { color: var(--text-inv-dim); }

.ink .accordion, .ink .accordion details { border-color: var(--line-inv); }

/* ------------------------------------------------------------------ forms */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-grid .form-field--full { grid-column: 1 / -1; }

.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  letter-spacing: 0.02em;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  font: inherit;
  font-size: 0.98rem;
  color: var(--text-inv);
  background: rgba(238, 241, 239, 0.06);
  border: 1px solid var(--line-inv);
  border-radius: var(--radius);
  padding: 0.85em 1em;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(238, 241, 239, 0.09);
}

.form-field ::placeholder { color: var(--text-inv-dim); }

.form-note { font-size: 0.85rem; color: var(--text-inv-dim); }

.form-field textarea { resize: vertical; min-height: 7.5rem; line-height: 1.5; }
.form-hint { font-weight: 400; color: var(--text-inv-dim); }

/* Honeypot. Off-screen rather than display:none, which some bots check for. */
.form-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Shown by main.js when send.php bounces back with ?not-sent=1. The explicit
   [hidden] rule matters: any display value set here would override it. */
.form-error {
  margin: 0;
  padding: 0.9em 1.1em;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  color: var(--text-inv);
  background: rgba(172, 136, 53, 0.12);
}
.form-error[hidden] { display: none; }
.form-error a { color: var(--gold-2); }

/* -------------------------------------------------------------- cta band */

.cta-band { position: relative; isolation: isolate; color: var(--text-inv); overflow: hidden; }

.cta-band__img { position: absolute; inset: 0; z-index: -2; }
.cta-band__img img { width: 100%; height: 100%; object-fit: cover; }

.cta-band::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(13, 26, 30, 0.92) 25%, rgba(13, 26, 30, 0.55) 100%);
}

.cta-band .section-head { margin-bottom: 0; }

/* ---------------------------------------------------------------- gallery */

.media-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.media-band img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.media-band--4 { grid-template-columns: repeat(4, 1fr); }
.media-band--2 { grid-template-columns: repeat(2, 1fr); }
.media-band--2 img { aspect-ratio: 3 / 2; }
.media-band--portrait img { aspect-ratio: 3 / 4; }

/* ----------------------------------------------------------------- footer */

.site-foot {
  background: var(--ink);
  color: var(--text-inv);
  padding: clamp(3.5rem, 8vh, 5rem) 0 0;
}

.site-foot__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  padding-bottom: 2.6rem;
  border-bottom: 1px solid var(--line-inv);
  margin-bottom: 2.6rem;
}

.site-foot__brand img { height: 56px; width: auto; margin-bottom: 1.3rem; }

.site-foot__brand p {
  font-size: 0.95rem;
  color: var(--text-inv-dim);
  max-width: 46ch;
}

.site-foot h2 {
  font-family: var(--sans);
  font-size: 0.82rem;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-inv);
  margin-bottom: 1rem;
}

.site-foot ul { list-style: none; }
.site-foot li { margin: 0.5rem 0; }

.site-foot a {
  color: var(--gold-2);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}
.site-foot a:hover { color: var(--text-inv); }

.site-foot__addr { font-size: 0.9rem; color: var(--text-inv-dim); margin-top: 1.1rem; }
.site-foot__note { font-size: 0.82rem; color: var(--text-inv-dim); margin-top: 0.5rem; max-width: 40ch; }

.site-foot__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-bottom: 3rem;
}

.site-foot__socket {
  border-top: 1px solid var(--line-inv);
  padding: 1.4rem 0;
  font-size: 0.85rem;
  color: var(--text-inv-dim);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-foot__socket a { font-size: inherit; color: inherit; }
.site-foot__socket a:hover { color: var(--gold-2); }

/* Cookie Settings in the footer list: a button, styled as the links beside it */
.site-foot .foot-link {
  font: inherit;
  font-size: 0.92rem;
  color: var(--gold-2);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease;
}
.site-foot .foot-link:hover { color: var(--text-inv); }
.site-foot .foot-link[hidden] { display: none; }

/* ------------------------------------------------------------ cookie banner */

/* Fixed, so it overlays rather than pushes: no layout shift when it appears.
   Accept and Reject are the same size and sit side by side, so rejecting is
   exactly as easy as accepting. */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  width: min(56rem, calc(100% - 2rem));
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 1.25rem 2rem;
  padding: 1.1rem 1.4rem;
  background: var(--ink);
  color: var(--text-inv);
  border: 1px solid var(--line-inv);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__text { margin: 0; font-size: 0.95rem; line-height: 1.55; color: var(--text-inv); }
.cookie-banner__text a { color: var(--gold-2); }
/* equal columns, so both buttons take the width of the wider label */
.cookie-banner__actions {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 0.75rem;
  flex-shrink: 0;
}
.cookie-banner__actions .btn { min-width: 7.5rem; text-align: center; }

@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    bottom: 0.75rem;
    width: calc(100% - 2rem);
    padding: 1rem;
    gap: 0.9rem;
  }
  .cookie-banner__actions .btn { min-width: 0; }
}

/* Build credit bar, sits below the footer proper. Matches the treatment used on
   the other sites so the credit reads the same wherever it appears.
   NOTE when re-inserting this block: anchor on the LAST </footer> in the
   document. Testimonial attributions use <footer> inside <blockquote>, so the
   first </footer> is not the site footer. */
.built-by {
  background: var(--ink-2);
  border-top: 1px solid var(--line-inv);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1rem;
}

.aiwebguy {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: rgba(238, 241, 239, 0.62);
  transition: color 0.2s ease;
}

.aiwebguy:hover, .aiwebguy:focus-visible { color: rgba(238, 241, 239, 0.95); }

.aiwebguy__icon { display: inline-flex; width: 1.55rem; height: 1.35rem; flex: none; }
.aiwebguy__icon svg { width: 100%; height: 100%; overflow: visible; }
.aiwebguy__word { font-weight: 600; color: rgba(238, 241, 239, 0.9); }
.aiwebguy__ai { color: #3f9bd6; }

.aiwebguy__leg { transform-box: fill-box; transform-origin: top center; }

@media (prefers-reduced-motion: no-preference) {
  .aiwebguy:hover .aiwebguy__guy,
  .aiwebguy:focus-visible .aiwebguy__guy { animation: aiwebguy-bob 0.42s ease-in-out infinite; }
  .aiwebguy:hover .aiwebguy__leg--front,
  .aiwebguy:focus-visible .aiwebguy__leg--front { animation: aiwebguy-legA 0.42s ease-in-out infinite; }
  .aiwebguy:hover .aiwebguy__leg--back,
  .aiwebguy:focus-visible .aiwebguy__leg--back { animation: aiwebguy-legB 0.42s ease-in-out infinite; }
}

@keyframes aiwebguy-legA { 0%, 100% { transform: rotate(-24deg); } 50% { transform: rotate(24deg); } }
@keyframes aiwebguy-legB { 0%, 100% { transform: rotate(24deg); } 50% { transform: rotate(-24deg); } }
@keyframes aiwebguy-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }

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

/* ------------------------------------------------------------- breadcrumb */

.crumbs { font-size: 0.88rem; color: var(--text-inv-dim); margin-bottom: 1.2rem; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--gold-2); }
.crumbs span { margin: 0 0.5em; opacity: 0.5; }

/* ------------------------------------------------------------------ misc */

.event-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 2rem;
}

.event-facts .card-title { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-dim); margin-bottom: 0.3rem; }
.event-facts p { font-weight: 600; }

.checklist { list-style: none; }
.checklist li { padding-left: 1.7em; position: relative; margin: 0.6em 0; }
.checklist li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.52em;
  width: 0.9em; height: 0.45em;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

/* ------------------------------------------- brand-rhetoric components */

.value-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}

.value-stack > div { border-top: 2px solid var(--gold); padding-top: 1.3rem; }

.value-stack svg {
  width: 30px; height: 30px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 0.9rem;
}

.value-stack .card-title { font-size: 1.08rem; margin-bottom: 0.35rem; }
.value-stack p { font-size: 0.97rem; color: var(--text-dim); }

.confirm {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8em;
  background: rgba(183, 145, 57, 0.16);
  border: 1px dashed rgba(183, 145, 57, 0.55);
  border-radius: 4px;
  padding: 0.08em 0.45em;
  color: #7c6222;
}

.ink .confirm, .ink-2 .confirm { color: #d8b970; }

.stakes-list { list-style: none; max-width: 62ch; }
.stakes-list li { border-top: 1px solid var(--line); padding: 0.9rem 0; }
.stakes-list li:last-child { border-bottom: 1px solid var(--line); }

.plan-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  counter-reset: step;
}

.plan-steps > div {
  counter-increment: step;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 2rem 1.9rem 2.2rem;
}

/* light to dark across the three steps to show progress */
.plan-steps > div:nth-child(1) { background: #fcfbf8; }
.plan-steps > div:nth-child(2) { background: var(--paper-2); }

.plan-steps > div:nth-child(3) {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--text-inv);
}

.plan-steps > div:nth-child(3) p { color: var(--text-inv-dim); }

.plan-steps > div::before {
  content: counter(step);
  font-family: var(--serif);
  font-size: 2.6rem;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 0.8rem;
}

.plan-steps h3 { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; margin-bottom: 0.5rem; }
.plan-steps p { font-size: 0.97rem; color: var(--text-dim); }
.ink .plan-steps p { color: var(--text-inv-dim); }

.email-capture { display: flex; gap: 0.8rem; max-width: 500px; flex-wrap: wrap; }

.email-capture input {
  flex: 1;
  min-width: 220px;
  font: inherit;
  font-size: 0.95rem;
  padding: 0.85em 1.1em;
  border-radius: 999px;
  border: 1px solid var(--line-inv);
  background: rgba(238, 241, 239, 0.06);
  color: var(--text-inv);
}

.email-capture input:focus { outline: none; border-color: var(--gold); }
.email-capture ::placeholder { color: var(--text-inv-dim); }

.faq-block h3 { font-family: var(--sans); font-weight: 600; font-size: 1.08rem; margin: 1.9rem 0 0.5rem; }
.faq-block h3:first-of-type { margin-top: 0; }
.faq-block p { max-width: 70ch; color: var(--text-dim); }

/* Anchored sections stop below the fixed header */
[id] { scroll-margin-top: 96px; }

/* Sticky sub-navigation bar (unit jump links on the fleet page) */
.sub-nav {
  position: sticky;
  top: 82px;
  z-index: 40;
  background: var(--ink);
  border-bottom: 1px solid var(--line-inv);
}

.sub-nav .shell { display: flex; align-items: center; flex-wrap: wrap; column-gap: 1.6rem; }

.sub-nav__label {
  font-size: 0.85rem;
  color: var(--text-inv-dim);
  white-space: nowrap;
  padding: 0.85rem 1.6rem 0.85rem 0;
  border-right: 1px solid var(--line-inv);
}

.sub-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.4rem, 3vw, 2.4rem);
  padding: 0.85rem 0;
}

.sub-nav a {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-inv-dim);
  padding: 0.1rem 0 0.2rem;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.sub-nav a:hover { color: var(--text-inv); }

.sub-nav a.is-active { color: var(--gold-2); border-bottom-color: var(--gold-2); }

.has-subnav [id] { scroll-margin-top: 145px; }

@media (max-width: 860px) {
  .sub-nav__label { display: none; }
  .sub-nav ul {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .sub-nav ul::-webkit-scrollbar { display: none; }
  .sub-nav a { white-space: nowrap; }
}

/* Full-image event tiles (segment selector) */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.tile {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text-inv);
}

.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 26, 30, 0.9), rgba(13, 26, 30, 0.05) 55%);
}

.tile:hover img { transform: scale(1.05); }

.tile__body {
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 1.3rem;
  z-index: 1;
}

.tile__body h3 { font-size: clamp(1.25rem, 1.8vw, 1.65rem); color: var(--text-inv); }
.tile__body p { font-size: 0.92rem; color: rgba(238, 241, 239, 0.85); margin-top: 0.3rem; }

@media (max-width: 960px) {
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .tile-grid { grid-template-columns: 1fr; }
  .tile { aspect-ratio: 16 / 10; }
}

/* Explanatory prose flows in two columns on wide screens */
.prose--split {
  max-width: none;
  columns: 2;
  column-gap: clamp(2.5rem, 5vw, 4.5rem);
}

@media (max-width: 760px) {
  .prose--split { columns: 1; }
}

.pull-quote {
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.55;
  border-left: 2px solid var(--gold);
  padding-left: 1.6rem;
}

.pull-quote footer {
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 1rem;
}

.ink .pull-quote footer,
.ink-2 .pull-quote footer { color: var(--gold-2); }

/* ------------------------------------------------------------- responsive */

@media (max-width: 1080px) {
  .site-head__phone { display: none; }
}

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

  .site-nav {
    position: fixed;
    top: 70px; left: 0; right: 0;
    bottom: 0;
    background: var(--ink);
    display: none;
    overflow-y: auto;
    padding: 1.5rem clamp(1.25rem, 4vw, 2.5rem) 3rem;
  }

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

  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }

  .site-nav > ul > li { border-bottom: 1px solid var(--line-inv); }

  .site-nav > ul > li { display: flex; flex-wrap: wrap; align-items: center; }

  .site-nav > ul > li > a {
    display: block;
    flex: 1 1 auto;
    padding: 1rem 0.2rem;
    font-size: 1.1rem;
    border-radius: 0;
  }

  /* the inline chevron belongs on the toggle, not trailing the label */
  .site-nav li.has-sub > a::after { content: none; }

  /* a real 48px tap target on the right, so opening and closing a section is
     a deliberate press rather than a mis-tap on the link */
  .sub-toggle {
    display: block;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    position: relative;
  }

  .sub-toggle::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 9px; height: 9px;
    border-right: 2px solid var(--text-inv);
    border-bottom: 2px solid var(--text-inv);
    transform: translate(-50%, -70%) rotate(45deg);
    transition: transform 0.2s ease;
    opacity: 0.75;
  }

  .site-nav li.sub-open > .sub-toggle::after {
    transform: translate(-50%, -30%) rotate(-135deg);
    opacity: 1;
  }

  /* the submenu is a full-width row beneath the label and its toggle */
  .site-nav li.has-sub > .sub { flex: 1 0 100%; }

  .site-nav .sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: 0;
    background: none;
    box-shadow: none;
    padding: 0 0 1rem 1rem;
    display: none;
  }

  .site-nav li.has-sub.sub-open > .sub { display: block; }

  .split { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }

  .card-grid, .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .value-stack, .plan-steps { grid-template-columns: 1fr; }
  .media-band, .media-band--4 { grid-template-columns: repeat(2, 1fr); }
  .site-foot__top { grid-template-columns: 1fr; }
  .site-foot__grid { grid-template-columns: 1fr 1fr; }
  .event-facts { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 620px) {
  .card-grid, .card-grid--2, .card-grid--4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero { min-height: 78vh; }

  .stat-band { grid-template-columns: 1fr 1fr; gap: 1.4rem; }
}
