/* ---- css/tokens.css ---- */
/* tokens.css: the design tokens, exactly as docs/design-system.md section 3.
   Change a value there first, then here; tests/test_foundation.py compares the two. */
:root {
  /* ---- Color: brand ---- */
  --hv-navy:        #103860;  /* dark bands, header on dark, footer text on cream */
  --hv-navy-deep:   #0B2748;  /* footer background; derived darker navy (decision) */
  --hv-blue:        #0048C8;  /* links, focus on light, secondary button */
  --hv-blue-strong: #003CA8;  /* link hover, pressed (decision, darker for hover) */
  --hv-yellow:      #FFB901;  /* the action: WhatsApp button, active tab */
  --hv-yellow-soft: #FFD25A;  /* hover fill of the yellow button (decision) */

  /* ---- Color: surfaces ---- */
  --hv-white:  #FFFFFF;
  --hv-cream:  #F3F1E6;
  --hv-sky:    #E3EEFB;
  --hv-line:   #C9CFD8;       /* borders on white and cream: 1.57:1, decorative only */
  --hv-line-strong: #6B7686;  /* input and card borders that must be seen: see contrast table */

  /* ---- Color: text ---- */
  --hv-ink:    #1B2432;       /* body text (measured on hovertours.cr: rgb(27 36 50)) */
  --hv-muted:  #4A5565;       /* secondary text */

  /* ---- Type ---- */
  --hv-font-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --hv-font-text:    "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --hv-fs-eyebrow: 0.875rem;                                     /* 14 */
  --hv-fs-small:   0.875rem;                                     /* 14 */
  --hv-fs-body:    1rem;                                         /* 16 */
  --hv-fs-lead:    clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);    /* 18 to 20 */
  --hv-fs-h4:      clamp(1.125rem, 1.05rem + 0.35vw, 1.375rem);  /* 18 to 22 */
  --hv-fs-h3:      clamp(1.375rem, 1.15rem + 0.9vw, 1.75rem);    /* 22 to 28 */
  --hv-fs-h2:      clamp(2rem, 1.4rem + 2.6vw, 3.5rem);          /* 32 to 56 */
  --hv-fs-h1:      clamp(2.25rem, 1.2rem + 4.5vw, 5rem);         /* 36 to 80 */

  --hv-lh-display: 1.08;   /* h1, h2 (Cohera: 1.0; Unbounded needs a little more) */
  --hv-lh-heading: 1.2;    /* h3, h4 (Cohera: 1.2 and 1.4) */
  --hv-lh-text:    1.4;    /* body (Cohera: 140 %) */
  --hv-ls-display: -0.02em;/* h1 (Cohera: -0.02em) */
  --hv-ls-text:    0.01em; /* body (Cohera: 0.01em) */
  --hv-fw-display: 200;    /* Unbounded ExtraLight, closest to PP Gatwick 200 */
  --hv-fw-heading: 500;    /* card titles, h3 */
  --hv-fw-text:    400;
  --hv-fw-strong:  600;

  /* ---- Spacing (Cohera: 8, 16, 24, 32, 40, 48; extended at both ends) ---- */
  --hv-space-1: 0.25rem;  /*   4 */
  --hv-space-2: 0.5rem;   /*   8 */
  --hv-space-3: 1rem;     /*  16 */
  --hv-space-4: 1.5rem;   /*  24 */
  --hv-space-5: 2rem;     /*  32 */
  --hv-space-6: 2.5rem;   /*  40 */
  --hv-space-7: 3rem;     /*  48 */
  --hv-space-8: 4rem;     /*  64 */
  --hv-space-9: 6rem;     /*  96 */
  --hv-space-10: 7.5rem;  /* 120 */
  --hv-section-y: clamp(3rem, 2rem + 4vw, 6rem); /* section padding: 48 to 96 (adapted: Cohera is 24 mobile, 48 desktop, with extra inside blocks) */

  /* ---- Layout ---- */
  --hv-container:     85.25rem; /* 1364: max width including side padding (Cohera: 1436 with 48 side padding) */
  --hv-container-pad: max(5%, 1rem);          /* below 1000 px (Cohera) */
  --hv-container-pad-wide: 3rem;              /* 1000 px and up (Cohera: 48) */
  --hv-gutter:  1.5rem;   /* gap between cards (Cohera: 24) */
  --hv-measure: 38rem;    /* max line length for paragraphs, about 65 characters */

  /* ---- Radius (Cohera: 12 controls; 28 to 64 images) ---- */
  --hv-radius-sm: 0.75rem;  /* 12: buttons, inputs, chips */
  --hv-radius-md: 1.5rem;   /* 24: small cards */
  --hv-radius-lg: 2rem;     /* 32: card images, panels (Cohera mobile hero 32) */
  --hv-radius-xl: 3rem;     /* 48: tab panels (Cohera 48) */
  --hv-radius-hero: 4rem;   /* 64: desktop hero photo (Cohera 64) */
  --hv-radius-pill: 999px;

  /* ---- Shadows (Cohera is flat; only overlays get one) ---- */
  --hv-shadow-none: none;
  --hv-shadow-menu: 0 12px 32px -8px rgb(16 56 96 / 0.28), 0 2px 6px rgb(16 56 96 / 0.08); /* mega menu and country switch panel only (decision) */

  /* ---- Motion (Cohera: 0.3 s standard, 1.2 s reveal, 0.7 s card swap) ---- */
  --hv-dur-1: 150ms;   /* press, focus ring */
  --hv-dur-2: 300ms;   /* hover, color change, menu (Cohera 0.3 s) */
  --hv-dur-3: 600ms;   /* reveal on scroll (adapted: Cohera 1.2 s) */
  --hv-dur-4: 700ms;   /* image stack or tab change (Cohera 0.7 s) */
  --hv-ease-standard: cubic-bezier(0.4, 0, 0.2, 1);       /* Cohera, 30 rules */
  --hv-ease-out:      cubic-bezier(0.215, 0.61, 0.355, 1);/* Cohera, once; used for reveal */
  --hv-reveal-distance: 24px;                              /* adapted: Cohera 50 px */

  /* ---- Breakpoints (use in @media; custom properties cannot be used there) ---- */
  /* sm 576px  md 768px  lg 1000px  xl 1300px   (Cohera also has 1200, 1460, 1600, 1800) */

  /* ---- Layers ---- */
  --hv-z-header: 120;  /* Cohera header z-index: 120 */
  --hv-z-menu: 130;
  --hv-z-skip: 200;
}

/* Reduced motion: no translate, no stagger, no smooth scroll, instant state changes. */
@media (prefers-reduced-motion: reduce) {
  :root {
    --hv-dur-1: 0ms;
    --hv-dur-2: 0ms;
    --hv-dur-3: 0ms;
    --hv-dur-4: 0ms;
    --hv-reveal-distance: 0px;
  }
  html { scroll-behavior: auto; }
}

/* ---- css/base.css ---- */
/* base.css: fonts, reset, type scale, links, buttons, focus, containers, bands, utilities.
   Owner: foundation (builder 1). Components style themselves in components/<name>.css with their
   own class prefix; shared classes (no prefix) live here and in layout.css.
   Breakpoints: sm 576px, md 768px, lg 1000px, xl 1300px. */

/* ---- Fonts: self-hosted variable WOFF2 (SIL OFL 1.1, src/fonts/OFL.txt). The build versions the URLs. */
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/assets/fonts/unbounded-var-latin.woff2?v=1924221f8b") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/assets/fonts/unbounded-var-latin-ext.woff2?v=2465c50468") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/hanken-grotesk-var-latin.woff2?v=38c3847fad") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/hanken-grotesk-var-latin-ext.woff2?v=2cba32d0c1") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- Reset */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem; /* sticky header: anchors land below it */
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--hv-font-text);
  font-size: var(--hv-fs-body);
  font-weight: var(--hv-fw-text);
  line-height: var(--hv-lh-text);
  letter-spacing: var(--hv-ls-text);
  color: var(--hv-ink);
  background: var(--hv-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html.has-menu-open { overflow: hidden; } /* nav.js: mobile sheet open */
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
/* :where() keeps this reset at zero specificity, so .rail or a component's padding still applies. */
:where(ul[role="list"], ol[role="list"]) { list-style: none; padding: 0; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

/* ---- Type scale (design-system 4.1). Elements and t-* classes share it. */
h1, h2, h3, h4, .t-h1, .t-h2, .t-h3, .t-h4 {
  font-family: var(--hv-font-display);
  color: var(--band-heading, var(--hv-navy));
  overflow-wrap: break-word;
  hyphens: manual;
  text-wrap: balance;
}
h1, .t-h1 {
  font-size: var(--hv-fs-h1);
  font-weight: var(--hv-fw-display);
  line-height: var(--hv-lh-display);
  letter-spacing: var(--hv-ls-display);
}
h2, .t-h2 {
  font-size: var(--hv-fs-h2);
  font-weight: var(--hv-fw-display);
  line-height: var(--hv-lh-display);
  letter-spacing: 0;
}
h3, .t-h3 {
  font-size: var(--hv-fs-h3);
  font-weight: var(--hv-fw-heading);
  line-height: var(--hv-lh-heading);
  letter-spacing: 0;
}
h4, .t-h4 {
  font-size: var(--hv-fs-h4);
  font-weight: var(--hv-fw-heading);
  line-height: 1.25;
  letter-spacing: 0;
}
p, li { text-wrap: pretty; }
.lead {
  font-size: var(--hv-fs-lead);
  line-height: var(--hv-lh-text);
  max-width: var(--hv-measure);
}
.eyebrow {
  font-size: var(--hv-fs-eyebrow);
  font-weight: var(--hv-fw-text);
  line-height: var(--hv-lh-text);
  color: var(--band-fg, var(--hv-ink));
}
.t-small, small { font-size: var(--hv-fs-small); }
.muted { color: var(--band-muted, var(--hv-muted)); }
strong, b { font-weight: var(--hv-fw-strong); }

/* ---- Links (design-system 6) */
a {
  color: var(--band-link, var(--hv-blue));
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color var(--hv-dur-2) var(--hv-ease-standard);
}
a:hover { color: var(--band-link-hover, var(--hv-blue-strong)); }

/* ---- Focus: Cohera's rule, never removed. Dark bands switch the ring to white so a
   yellow button's navy currentColor does not vanish against navy. */
:focus-visible {
  outline: 2px solid var(--band-focus, currentColor);
  outline-offset: 3px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }

/* ---- Skip link: first focusable element, visible on focus */
.skip-link {
  position: absolute;
  left: var(--hv-space-3);
  top: var(--hv-space-2);
  z-index: var(--hv-z-skip);
  padding: var(--hv-space-2) var(--hv-space-4);
  border-radius: var(--hv-radius-sm);
  background: var(--hv-yellow);
  color: var(--hv-navy);
  font-weight: var(--hv-fw-strong);
  text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; color: var(--hv-navy); }

/* ---- Container */
.container {
  width: 100%;
  max-width: var(--hv-container);
  margin-inline: auto;
  padding-inline: var(--hv-container-pad);
}
@media (min-width: 1000px) {
  .container { padding-inline: var(--hv-container-pad-wide); }
}

/* ---- Bands: one full-width section per colour (design-system 5). Every band sets the same
   custom properties, so a component reads --band-* and fits any band it is placed on. */
.band {
  --band-bg: var(--hv-white);
  --band-fg: var(--hv-ink);
  --band-heading: var(--hv-navy);
  --band-muted: var(--hv-muted);
  --band-link: var(--hv-blue);
  --band-link-hover: var(--hv-blue-strong);
  --band-line: var(--hv-line);
  --band-card: var(--hv-cream);
  --band-focus: currentColor;
  position: relative;
  padding-block: var(--hv-section-y);
  background: var(--band-bg);
  color: var(--band-fg);
  overflow-x: clip; /* tilted photos may bleed off the edge without a horizontal scrollbar */
}
.band--white { --band-bg: var(--hv-white); --band-card: var(--hv-cream); }
.band--cream { --band-bg: var(--hv-cream); --band-card: var(--hv-white); }
.band--sky { --band-bg: var(--hv-sky); --band-card: var(--hv-white); }
.band--yellow {
  --band-bg: var(--hv-yellow);
  --band-fg: var(--hv-ink);
  --band-heading: var(--hv-navy);
  --band-muted: var(--hv-ink);
  --band-link: var(--hv-navy);
  --band-link-hover: var(--hv-ink);
  --band-card: var(--hv-white);
}
.band--navy, .on-dark {
  --band-bg: var(--hv-navy);
  --band-fg: var(--hv-white);
  --band-heading: var(--hv-white);
  --band-muted: var(--hv-cream);
  --band-link: var(--hv-yellow);
  --band-link-hover: var(--hv-yellow-soft);
  --band-line: rgb(255 255 255 / 0.22);
  --band-card: var(--hv-navy-deep);
  --band-focus: var(--hv-white);
}

/* ---- Section heading block (design-system 8.3) */
.section-head { display: grid; gap: var(--hv-space-3); margin-bottom: var(--hv-space-5); max-width: 52rem; }
.section-head .eyebrow { margin-bottom: calc(-1 * var(--hv-space-1)); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head-actions { display: flex; flex-wrap: wrap; gap: var(--hv-space-3); margin-top: var(--hv-space-2); }
@media (min-width: 1000px) {
  .section-head { margin-bottom: var(--hv-space-7); }
}

/* ---- Buttons (design-system 6, Cohera: 12 px radius, 2 px border, 45 px high)
   .btn--wa is the one action: yellow fill, navy label (6.94:1). Hover fills --hv-yellow-soft.
   .btn--navy and .btn--blue flip to transparent on hover from 1000 px (Cohera's rule). */
.btn {
  --btn-bg: var(--hv-navy);
  --btn-fg: var(--hv-white);
  --btn-border: var(--hv-navy);
  --btn-hover-bg: transparent;
  --btn-hover-fg: var(--hv-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 2.875rem; /* 46 px, touch target 44+ */
  padding: 0.5rem 1.25rem;
  border: 2px solid var(--btn-border);
  border-radius: var(--hv-radius-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--hv-font-text);
  font-size: var(--hv-fs-body);
  font-weight: var(--hv-fw-strong);
  line-height: 1;
  letter-spacing: var(--hv-ls-text);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color var(--hv-dur-2) var(--hv-ease-standard),
    color var(--hv-dur-2) var(--hv-ease-standard),
    border-color var(--hv-dur-2) var(--hv-ease-standard);
}
.btn .icon { flex: none; width: 1.25em; height: 1.25em; }
.btn:hover { color: var(--btn-fg); }
.btn:active { filter: brightness(0.94); }
.btn--wa {
  --btn-bg: var(--hv-yellow);
  --btn-fg: var(--hv-navy);
  --btn-border: var(--hv-yellow);
  --btn-hover-bg: var(--hv-yellow-soft);
  --btn-hover-fg: var(--hv-navy);
}
.btn--blue {
  --btn-bg: var(--hv-blue);
  --btn-fg: var(--hv-white);
  --btn-border: var(--hv-blue);
  --btn-hover-fg: var(--hv-blue);
}
.btn--line {
  --btn-bg: transparent;
  --btn-fg: var(--band-heading, var(--hv-navy));
  --btn-border: currentColor;
  --btn-hover-bg: var(--band-heading, var(--hv-navy));
  --btn-hover-fg: var(--band-bg, var(--hv-white));
}
.btn--light {
  --btn-bg: var(--hv-white);
  --btn-fg: var(--hv-navy);
  --btn-border: var(--hv-white);
  --btn-hover-fg: var(--hv-white);
}
.btn--sm { min-height: 2.75rem; padding: 0.375rem 1rem; font-size: 0.9375rem; }
.btn--lg { min-height: 3.5rem; padding: 1rem 1.75rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.on-dark .btn--navy, .band--navy .btn--navy { --btn-bg: var(--hv-white); --btn-fg: var(--hv-navy); --btn-border: var(--hv-white); --btn-hover-fg: var(--hv-white); }
@media (hover: hover) {
  .btn--wa:hover { background: var(--btn-hover-bg); color: var(--btn-hover-fg); border-color: var(--btn-hover-bg); }
  .btn--line:hover { background: var(--btn-hover-bg); color: var(--btn-hover-fg); border-color: var(--btn-hover-bg); }
}
@media (hover: hover) and (min-width: 1000px) {
  .btn--navy:hover, .btn--blue:hover, .btn--light:hover {
    background: var(--btn-hover-bg);
    color: var(--btn-hover-fg);
  }
}

/* ---- Text links with an icon or an arrow disc (Cohera's "View all") */
.link-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  min-height: 2.75rem;
  font-weight: var(--hv-fw-strong);
}
.link-icon .icon { flex: none; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--hv-space-3);
  min-height: 2.75rem;
  color: var(--band-heading, var(--hv-navy));
  font-weight: var(--hv-fw-strong);
  text-decoration: none;
}
.link-arrow > span:first-child { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.link-arrow-disc {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--hv-yellow);
  color: var(--hv-navy);
  transition: transform var(--hv-dur-2) var(--hv-ease-standard);
}
.link-arrow:hover { color: var(--band-heading, var(--hv-navy)); }
.link-arrow:hover .link-arrow-disc { transform: translateX(4px); }

/* ---- Chips (filters, country tag) */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  min-height: 2.75rem;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--hv-line-strong);
  border-radius: var(--hv-radius-pill);
  color: var(--band-heading, var(--hv-navy));
  background: transparent;
  font-size: var(--hv-fs-body);
  line-height: 1;
  text-decoration: none;
  transition: background-color var(--hv-dur-2) var(--hv-ease-standard), border-color var(--hv-dur-2) var(--hv-ease-standard);
}
.chip:hover { color: var(--band-heading, var(--hv-navy)); border-color: var(--band-heading, var(--hv-navy)); }
.chip[aria-current="true"], .chip[aria-current="page"] {
  background: var(--hv-yellow);
  border-color: var(--hv-yellow);
  color: var(--hv-navy);
}

/* ---- Icons */
.icon { flex: none; }

/* ---- Photos: always rounded (design-system 5) */
.photo, .photo img { border-radius: var(--hv-radius-lg); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Utilities */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.measure { max-width: var(--hv-measure); }
.center { text-align: center; }

/* ---- css/layout.css ---- */
/* layout.css: grids and rows shared by components (design-system 5). Owner: foundation (builder 1).
   Grid: 4 columns below 768, 6 from 768, 12 from 1000; gap --hv-gutter.
   Card rows: 1 column below 576, 2 from 576, 3 from 1000. */

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--hv-gutter);
}
@media (min-width: 768px) { .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); } }

.cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--hv-gutter);
}
@media (min-width: 576px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Two halves from 1000 px: text and photo side by side, stacked below. */
.split {
  display: grid;
  gap: var(--hv-space-6);
  align-items: center;
}
@media (min-width: 1000px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--hv-space-8); }
}

/* A row that scrolls sideways below 1000 px, so the next card peeks (Cohera's 1.1 to 1.6 slides).
   It bleeds to the screen edge and snaps; from 1000 px it becomes a plain 3-column grid. */
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: var(--hv-gutter);
  margin-inline: calc(-1 * var(--hv-container-pad));
  padding-inline: var(--hv-container-pad);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--hv-container-pad);
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 576px) { .rail { grid-auto-columns: 46%; } }
@media (min-width: 1000px) {
  .rail {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-inline: 0;
    padding-inline: 0;
    overflow: visible;
  }
}

/* Vertical rhythm inside a block: .stack > * + * gets --stack (default 16 px). */
.stack > * + * { margin-top: var(--stack, var(--hv-space-3)); }

/* Inline items that wrap: buttons, chips, links. */
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--hv-space-3); }

/* ---- css/components/about.css ---- */
/* about.css: the about page story. Owner: builder 10. Prefix: abt-. */

.abt-inner { display: grid; gap: var(--hv-space-7); }
.abt-countries { display: grid; gap: var(--hv-space-6); }
.abt-country { display: grid; gap: var(--hv-space-3); padding-top: var(--hv-space-5); border-top: 1px solid var(--band-line); }
.abt-country p { max-width: var(--hv-measure); }
.abt-photo { overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--hv-radius-lg); }
.abt-photo img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 1000px) {
  .abt-inner.has-photo { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--hv-space-9); align-items: start; }
  .abt-photo { position: sticky; top: 6rem; transform: rotate(3deg); }
}

/* ---- css/components/contact.css ---- */
/* contact.css: one card per country with its channels. Owner: builder 10. Prefix: ctc-. */

.ctc-card {
  display: grid;
  align-content: start;
  overflow: hidden;
  border-radius: var(--hv-radius-lg);
  background: var(--band-card);
}
.ctc-media { aspect-ratio: 16 / 9; overflow: hidden; }
.ctc-media img { width: 100%; height: 100%; object-fit: cover; }
.ctc-body { display: grid; gap: var(--hv-space-4); justify-items: start; padding: var(--hv-space-5); }
.ctc-links { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.ctc-pending { color: var(--band-muted); }

/* ---- css/components/country.css ---- */
/* country.css: country page body. Owner: builder 6. Prefix: cty-.
   Intro: centred chip, paragraph and action (Cohera's Miami). Highlights: a list beside a photo stack. */

.cty-intro {
  display: grid;
  justify-items: center;
  gap: var(--hv-space-4);
  max-width: 50rem;
  margin-inline: auto;
  text-align: center;
}
.cty-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.4rem 0.9rem 0.4rem 0.6rem;
  border-radius: var(--hv-radius-pill);
  background: var(--band-card);
  color: var(--hv-navy);
  font-size: var(--hv-fs-small);
  font-weight: var(--hv-fw-strong);
}
.cty-intro-text { font-size: var(--hv-fs-lead); line-height: 1.5; }
.cty-intro-action { margin-top: var(--hv-space-2); }
.cty-pending { color: var(--band-muted); font-size: var(--hv-fs-small); }

.cty-hl { display: grid; gap: var(--hv-space-7); align-items: center; }
.cty-hl-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--band-line); }
.cty-hl-item {
  padding: var(--hv-space-4) 0;
  border-bottom: 1px solid var(--band-line);
  color: var(--band-heading);
  font-family: var(--hv-font-display);
  font-size: var(--hv-fs-h4);
  font-weight: var(--hv-fw-heading);
  line-height: 1.3;
}
.cty-hl-photos { position: relative; display: grid; isolation: isolate; }
.cty-hl-photo { grid-area: 1 / 1; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--hv-radius-lg); }
.cty-hl-photo img { width: 100%; height: 100%; object-fit: cover; }
.cty-hl-photo--1 { z-index: 3; }
.cty-hl-photo--2 { z-index: 2; transform: rotate(5deg) translate(6%, 1%); }
.cty-hl-photo--3 { z-index: 1; transform: rotate(10deg) translate(12%, 2%); }
.cty-hl-photos { width: min(100%, 26rem); margin-inline: auto; }

@media (min-width: 1000px) {
  .cty-hl.has-photos { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--hv-space-9); }
}

/* ---- css/components/cta.css ---- */
/* cta.css: the closing band. Owner: builder 9. Prefix: cta-.
   Desktop: heading left in two lines, buttons right, vertically centred (Cohera). Mobile: stacked. */

.cta-inner { display: grid; gap: var(--hv-space-6); align-items: center; }
.cta-text { display: grid; gap: var(--hv-space-4); }
.cta-title { max-width: 18ch; }
.cta-lead { color: var(--band-muted); }
.cta-actions { display: grid; gap: var(--hv-space-4); justify-items: start; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: var(--hv-space-3); }
.cta-insta { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--hv-space-4); }
.cta-insta > span { color: var(--band-muted); }

@media (min-width: 1000px) {
  .cta-inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--hv-space-8); }
  .cta-actions { justify-items: end; }
  .cta-buttons { justify-content: flex-end; }
  .cta-insta { justify-content: flex-end; }
}

/* ---- css/components/destinations.css ---- */
/* destinations.css: country cards. Owner: builder 5. Prefix: dst-.
   Mobile: the .rail scrolls sideways and the next card peeks; desktop: 3 in a row (design-system 8.4). */

.dst-rail { list-style: none; margin-block: 0; }
.dst-card { display: grid; gap: var(--hv-space-4); color: inherit; text-decoration: none; border-radius: var(--hv-radius-md); }
.dst-card:focus-visible { outline-offset: 6px; border-radius: var(--hv-radius-md); }
.dst-media { overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--hv-radius-md); background: var(--hv-navy); }
.dst-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--hv-dur-4) var(--hv-ease-standard);
}
.dst-body { display: grid; gap: var(--hv-space-2); }
.dst-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--hv-space-3);
  transition: color var(--hv-dur-2) var(--hv-ease-standard);
}
.dst-arrow { flex: none; transition: transform var(--hv-dur-2) var(--hv-ease-standard); }
.dst-summary { color: var(--band-muted); }
.dst-card:hover { color: inherit; }
.dst-card:hover .dst-media img { transform: scale(1.03); }
.dst-card:hover .dst-name { color: var(--hv-blue); }
.dst-card:hover .dst-arrow { transform: translateX(4px); }
@media (min-width: 1000px) {
  .dst-media { border-radius: 1.875rem; } /* 30 px (Cohera) */
}

/* ---- css/components/experiences.css ---- */
/* experiences.css: experience cards, the featured strip, the /experiencias/ index. Owner: builder 7.
   Prefix: exp-. 1 column on mobile, 3 from 1000 px (design-system 8.6). No price, no booking. */

.exp-card { display: grid; align-content: start; gap: var(--hv-space-4); }
.exp-media { overflow: hidden; aspect-ratio: 3 / 2; border-radius: var(--hv-radius-md); background: var(--hv-navy); }
.exp-media img { width: 100%; height: 100%; object-fit: cover; }
.exp-card--text { padding: var(--hv-space-5); border-radius: var(--hv-radius-md); background: var(--band-card); }
.exp-body { display: grid; gap: var(--hv-space-2); justify-items: start; }
.exp-country { font-size: var(--hv-fs-small); color: var(--band-muted); }
.exp-facts { font-size: var(--hv-fs-small); font-weight: var(--hv-fw-strong); color: var(--band-fg); }
.exp-summary {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  color: var(--band-muted);
}
.exp-actions { margin-top: var(--hv-space-2); }

.exp-filter {
  position: sticky;
  top: 4.5rem;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: var(--hv-space-2);
  margin-bottom: var(--hv-space-7);
  padding-block: var(--hv-space-2);
  background: var(--band-bg);
}
.exp-groups { display: grid; gap: var(--hv-space-9); }
.exp-group-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--hv-space-2) var(--hv-space-4);
  margin-bottom: var(--hv-space-5);
  padding-bottom: var(--hv-space-3);
  border-bottom: 1px solid var(--band-line);
}
.exp-group-count { color: var(--band-muted); }

/* ---- css/components/footer.css ---- */
/* footer.css: near-navy footer, white text (15.02:1), yellow WhatsApp links (8.72:1). Owner: builder 9.
   Prefix: ft-. Padding-top 64 on mobile, 96 on desktop (design-system 8.11). */

.ft {
  --band-bg: var(--hv-navy-deep);
  --band-fg: var(--hv-white);
  --band-heading: var(--hv-white);
  --band-muted: var(--hv-cream);
  --band-link: var(--hv-white);
  --band-link-hover: var(--hv-yellow);
  --band-focus: var(--hv-white);
  background: var(--band-bg);
  color: var(--band-fg);
  padding-block: var(--hv-space-8) var(--hv-space-5);
}
.ft a { color: var(--band-link); text-decoration: none; }
.ft a:hover { color: var(--band-link-hover); text-decoration: underline; }
.ft-inner { display: grid; gap: var(--hv-space-7); }
.ft-brand { display: grid; gap: var(--hv-space-3); justify-items: start; align-content: start; }
.ft-logo { display: inline-flex; min-height: 2.75rem; align-items: center; }
.ft-logo-img { height: 2.25rem; width: auto; }
.ft-logo span { font-family: var(--hv-font-display); font-size: 1.5rem; }
.ft-years { color: var(--band-muted); max-width: 26rem; }
.ft-cols { display: grid; gap: var(--hv-space-6); }
.ft-heading {
  margin-bottom: var(--hv-space-3);
  color: var(--band-heading);
  font-family: var(--hv-font-display);
  font-size: 1.125rem;
  font-weight: var(--hv-fw-heading);
  line-height: 1.3;
}
.ft-links, .ft-countries, .ft-country-links { margin: 0; padding: 0; list-style: none; }
.ft-links a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.ft-countries { display: grid; gap: var(--hv-space-4); }
.ft-country-name { font-weight: var(--hv-fw-strong); }
.ft-country-links a { display: inline-flex; align-items: center; min-height: 2.75rem; gap: 0.4em; }
.ft .ft-wa { color: var(--hv-yellow); text-decoration: underline; text-underline-offset: 0.2em; }
.ft .ft-wa:hover { color: var(--hv-yellow-soft); }
.ft-pending { color: var(--band-muted); font-size: var(--hv-fs-small); }
.ft-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--hv-space-2) var(--hv-space-5);
  padding-top: var(--hv-space-5);
  border-top: 1px solid rgb(255 255 255 / 0.18);
  font-size: var(--hv-fs-small);
  color: var(--band-muted);
}

@media (min-width: 768px) {
  .ft-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .ft { padding-top: var(--hv-space-9); }
  .ft-inner { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: var(--hv-space-8); }
  .ft-bottom { grid-column: 1 / -1; }
}

/* ---- css/components/header.css ---- */
/* header.css: sticky header, nav, Destinos panel, language pill, mobile sheet (design-system 8.1).
   Owner: builder 2. Prefix: hd-. The header's data-theme follows the band under it (nav.js). */

.hd {
  --hd-h: 4rem; /* 64 px below 1000, 72 px above */
  --hd-bg: var(--hv-navy);
  --hd-fg: var(--hv-white);
  --hd-hover: var(--hv-yellow);
  --hd-line: rgb(255 255 255 / 0.18);
  --band-focus: var(--hv-white);
  --band-heading: var(--hv-white);
  position: sticky;
  top: 0;
  z-index: var(--hv-z-header);
  background: var(--hd-bg);
  color: var(--hd-fg);
  border-bottom: 1px solid transparent;
  transition:
    background-color var(--hv-dur-2) var(--hv-ease-standard),
    color var(--hv-dur-2) var(--hv-ease-standard),
    border-color var(--hv-dur-2) var(--hv-ease-standard);
}
.hd[data-theme="white"], .hd[data-theme="cream"], .hd[data-theme="sky"], .hd[data-theme="yellow"] {
  --hd-fg: var(--hv-navy);
  --hd-hover: var(--hv-blue);
  --hd-line: var(--hv-line);
  --band-focus: currentColor;
  --band-heading: var(--hv-navy);
}
.hd[data-theme="white"] { --hd-bg: var(--hv-white); }
.hd[data-theme="cream"] { --hd-bg: var(--hv-cream); }
.hd[data-theme="sky"] { --hd-bg: var(--hv-sky); }
.hd[data-theme="yellow"] { --hd-bg: var(--hv-yellow); --hd-hover: var(--hv-ink); }
.hd[data-theme="deep"] { --hd-bg: var(--hv-navy-deep); }
.hd.is-scrolled { border-bottom-color: var(--hd-line); }

.hd-bar {
  display: flex;
  align-items: center;
  gap: var(--hv-space-4);
  min-height: var(--hd-h);
}

/* Logo: both versions are in the markup; the theme picks one. */
.hd-logo { display: inline-flex; align-items: center; min-height: 2.75rem; color: inherit; text-decoration: none; margin-right: auto; }
.hd-logo-img { width: auto; height: 1.75rem; }
.hd-logo-img--dark { display: none; }
.hd[data-theme="white"] .hd-logo-img--dark, .hd[data-theme="cream"] .hd-logo-img--dark,
.hd[data-theme="sky"] .hd-logo-img--dark, .hd[data-theme="yellow"] .hd-logo-img--dark { display: block; }
.hd[data-theme="white"] .hd-logo-img--white, .hd[data-theme="cream"] .hd-logo-img--white,
.hd[data-theme="sky"] .hd-logo-img--white, .hd[data-theme="yellow"] .hd-logo-img--white { display: none; }
.hd-wordmark { font-family: var(--hv-font-display); font-weight: var(--hv-fw-heading); font-size: 1.25rem; }

/* Navigation */
.hd-links { display: flex; flex-direction: column; list-style: none; margin: 0; padding: 0; }
.hd-link {
  display: flex;
  align-items: center;
  gap: 0.35em;
  min-height: 3.125rem; /* 50 px rows on mobile */
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: var(--hv-fs-body);
  text-decoration: none;
  cursor: pointer;
}
.hd-link:hover { color: var(--hd-hover); }
.hd-link[aria-current="page"], .hd-toggle[data-current="true"] { text-decoration: underline; text-underline-offset: 0.35em; text-decoration-thickness: 2px; }
.hd-chevron { transition: transform var(--hv-dur-2) var(--hv-ease-standard); }
.hd-toggle[aria-expanded="true"] .hd-chevron { transform: rotate(180deg); }
.hd-sub { list-style: none; margin: 0; padding: 0 0 var(--hv-space-3) var(--hv-space-4); }
.hd-sub-link { display: flex; align-items: center; min-height: 2.75rem; color: inherit; text-decoration: none; }
.hd-sub-link:hover { color: var(--hd-hover); }
.hd-sub-link[aria-current="page"] { text-decoration: underline; }
.js .hd-toggle[aria-expanded="false"] + .hd-sub { display: none; }

/* Language pill: ES | EN */
.hd-lang {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--hd-line);
  border-radius: var(--hv-radius-pill);
}
.hd-lang-opt {
  display: grid;
  place-items: center;
  min-width: 2.75rem;
  min-height: 2.375rem;
  padding: 0 0.6rem;
  border-radius: var(--hv-radius-pill);
  color: inherit;
  font-size: var(--hv-fs-small);
  font-weight: var(--hv-fw-strong);
  text-decoration: none;
}
.hd-lang-opt.is-current { background: var(--hv-yellow); color: var(--hv-navy); }
a.hd-lang-opt:hover { color: var(--hd-hover); }

/* Actions: WhatsApp and the menu button */
.hd-actions { display: flex; align-items: center; gap: var(--hv-space-2); }
.hd-menu-btn {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: var(--hv-radius-sm);
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.hd-menu-close { display: none; }
.hd.is-menu-open .hd-menu-open { display: none; }
.hd.is-menu-open .hd-menu-close { display: block; }
html:not(.js) .hd-menu-btn { display: none; }

/* Below 1000 px: the navigation is a full sheet under the header, opened by the menu button.
   Without JavaScript it is a plain list under the bar. */
@media (max-width: 999.98px) {
  .hd-bar { flex-wrap: wrap; gap: var(--hv-space-3); }
  .js .hd-bar { flex-wrap: nowrap; }
  .hd-logo { min-width: 0; }
  .hd-logo-img { height: 1.5rem; }
  .hd-wa { padding-inline: 0.75rem; gap: 0.4em; }
  .hd-nav { order: 3; width: 100%; padding-bottom: var(--hv-space-4); }
  .js .hd-nav { display: none; }
  .js .hd.is-menu-open .hd-nav {
    display: block;
    position: fixed;
    inset: var(--hd-h) 0 0 0;
    z-index: var(--hv-z-menu);
    overflow-y: auto;
    padding: var(--hv-space-3) var(--hv-container-pad) var(--hv-space-7);
    background: var(--hd-bg);
  }
  .hd-links > li { border-bottom: 1px solid var(--hd-line); }
  .hd-link { width: 100%; justify-content: space-between; font-size: 1.125rem; }
  .hd-lang { margin-top: var(--hv-space-5); }
}

/* 1000 px and up: one row. Logo left, links centred, language and WhatsApp right. */
@media (min-width: 1000px) {
  .hd { --hd-h: 4.5rem; }
  .hd-logo { margin-right: 0; }
  .hd-logo-img { height: 2rem; }
  .hd-nav { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: var(--hv-space-4); }
  .hd-links { flex-direction: row; gap: var(--hv-space-4); margin-inline: auto; }
  .hd-link { min-height: 2.75rem; }
  .hd-item--menu { position: relative; }
  .hd-sub {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: -1.25rem;
    min-width: 14rem;
    padding: var(--hv-space-3) var(--hv-space-4);
    border-radius: var(--hv-radius-md);
    background: var(--hv-white);
    color: var(--hv-navy);
    box-shadow: var(--hv-shadow-menu);
    --band-focus: var(--hv-navy);
  }
  html:not(.js) .hd-sub { display: none; }
  html:not(.js) .hd-item--menu:focus-within .hd-sub, html:not(.js) .hd-item--menu:hover .hd-sub { display: block; }
  .hd-sub-link:hover { color: var(--hv-blue); }
  .hd-menu-btn { display: none; }
}

/* ---- css/components/hero.css ---- */
/* hero.css: the photo hero (home, country) and the page head (inner pages). Owner: builder 3.
   Prefix: hero-. Desktop: 2:1 photo 1068 wide, radius 64, h1 centred over a navy scrim, two more
   photos peeking out behind it, rotated (static). Mobile: 16:9, radius 32 (design-system 8.2). */

.hero { padding-block: var(--hv-space-6) var(--hv-space-8); }
.hero-stage {
  position: relative;
  display: grid;
  place-items: center;
  max-width: 66.75rem; /* 1068 */
  margin-inline: auto;
}
.hero-stage.has-photo { aspect-ratio: 4 / 3; isolation: isolate; }
.hero-photo, .hero-back {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: var(--hv-radius-lg);
  background: var(--hv-navy-deep);
}
.hero-photo img, .hero-back img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgb(11 39 72 / 0.62), rgb(11 39 72 / 0.22));
}
.hero-back { z-index: -1; opacity: 0.9; }
.hero-back--1 { transform: rotate(-4deg) translate(-2%, 2%); }
.hero-back--2 { transform: rotate(3.5deg) translate(2.5%, -3%); }

.hero-text {
  position: relative;
  display: grid;
  justify-items: center;
  gap: var(--hv-space-3);
  padding: var(--hv-space-6) var(--hv-space-4);
  text-align: center;
  color: var(--hv-white);
}
.hero-title { color: var(--hv-white); max-width: 16ch; }
.hero-eyebrow { font-size: var(--hv-fs-eyebrow); color: var(--hv-cream); }
.hero-lead {
  max-width: 34rem;
  font-size: clamp(1.125rem, 0.95rem + 0.75vw, 1.5rem); /* 18 to 24 */
  line-height: var(--hv-lh-text);
  letter-spacing: -0.01em;
  color: var(--hv-white);
}

@media (min-width: 768px) {
  .hero-stage.has-photo { aspect-ratio: 16 / 9; }
}
@media (min-width: 1000px) {
  .hero { padding-block: var(--hv-space-8) var(--hv-space-10); }
  .hero-stage.has-photo { aspect-ratio: 2 / 1; }
  .hero-photo, .hero-back { border-radius: var(--hv-radius-hero); }
  .hero-back--1 { transform: rotate(-5deg) translate(-3%, 3%); }
  .hero-back--2 { transform: rotate(4deg) translate(3%, -5%); }
}

/* Page head of inner pages: left-aligned h1 on cream, then an optional wide photo (Cohera's Miami). */
.hero--page { padding-block: var(--hv-space-7) var(--hv-section-y); }
.hero-head { display: grid; gap: var(--hv-space-3); max-width: 60rem; }
.hero--page .hero-title { color: var(--band-heading); max-width: none; }
.hero-head-lead { color: var(--band-fg); }
.hero-head-actions { margin-top: var(--hv-space-3); }
.hero-wide {
  margin-top: var(--hv-space-6);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--hv-radius-lg);
}
.hero-wide img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1000px) {
  .hero-wide { aspect-ratio: 21 / 9; border-radius: var(--hv-radius-hero); }
}

/* ---- css/components/intro.css ---- */
/* intro.css: 'Quiénes somos', text and a large tilted photo that bleeds off the right edge
   (Cohera's large-text-rotated-image, once per page). Owner: builder 4. Prefix: intro-. */

.intro-inner { display: grid; gap: var(--hv-space-7); align-items: center; }
.intro-text { display: grid; gap: var(--hv-space-4); max-width: 36rem; }
.intro-text .eyebrow { margin-bottom: calc(-1 * var(--hv-space-2)); }
.intro-more { margin-top: var(--hv-space-2); }
.intro-photo {
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border-radius: var(--hv-radius-lg);
  transform: rotate(-3deg);
}
.intro-photo img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 1000px) {
  .intro { padding-block: var(--hv-space-9) var(--hv-space-10); }
  .intro-inner.has-photo { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .intro-photo {
    margin-right: calc(-1 * var(--hv-container-pad-wide) - 6vw);
    border-radius: 2.5rem;
    transform: rotate(-8deg);
  }
}

/* ---- css/components/process.css ---- */
/* process.css: numbered steps joined by a line. Owner: builder 8. Prefix: prc-.
   Mobile: a vertical list, the line runs down the circles. Desktop: N columns, the line runs across. */

.prc-steps {
  --prc-dot: 3rem;
  display: grid;
  gap: var(--hv-space-6);
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
}
.prc-step {
  position: relative;
  display: grid;
  grid-template-columns: var(--prc-dot) minmax(0, 1fr);
  column-gap: var(--hv-space-4);
  row-gap: var(--hv-space-2);
}
.prc-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: calc(var(--prc-dot) / 2 - 1px);
  top: var(--prc-dot);
  bottom: calc(-1 * var(--hv-space-6));
  width: 2px;
  background: var(--hv-line-strong);
}
.prc-num {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: var(--prc-dot);
  height: var(--prc-dot);
  border-radius: 50%;
  background: var(--hv-yellow);
  color: var(--hv-navy);
  font-family: var(--hv-font-display);
  font-weight: var(--hv-fw-heading);
}
.prc-name { align-self: center; }
.prc-text { color: var(--band-muted); max-width: 30rem; }
.prc-start { margin-top: var(--hv-space-7); }

@media (min-width: 1000px) {
  .prc-steps { grid-template-columns: repeat(var(--prc-cols, 4), minmax(0, 1fr)); gap: var(--hv-space-5); }
  .prc-steps[data-count="3"] { --prc-cols: 3; }
  .prc-steps[data-count="5"] { --prc-cols: 5; }
  .prc-steps[data-count="2"] { --prc-cols: 2; }
  .prc-step { grid-template-columns: minmax(0, 1fr); row-gap: var(--hv-space-3); }
  .prc-num { grid-row: auto; }
  .prc-step:not(:last-child)::before {
    left: var(--prc-dot);
    right: calc(-1 * var(--hv-space-5));
    top: calc(var(--prc-dot) / 2 - 1px);
    bottom: auto;
    width: auto;
    height: 2px;
  }
}

/* ---- css/components/services.css ---- */
/* services.css: what Hover does. Owner: builder 4. Prefix: svc-.
   Foundation: a card grid. Design target (8.5): a 3-tab pill and one big coloured panel. */

.svc-grid { list-style: none; margin: 0; padding: 0; }
.svc-card {
  display: grid;
  align-content: start;
  gap: var(--hv-space-3);
  padding: var(--hv-space-5);
  border-radius: var(--hv-radius-md);
  background: var(--band-card);
}
.svc-num {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--hv-yellow);
  color: var(--hv-navy);
  font-size: var(--hv-fs-small);
  font-weight: var(--hv-fw-strong);
}
.svc-text { color: var(--band-muted); }
@media (min-width: 1000px) {
  .svc-card { padding: var(--hv-space-6); border-radius: var(--hv-radius-lg); }
}

/* ---- css/components/trust.css ---- */
/* trust.css: partners, quotes and the Instagram strip. Owner: builder 8. Prefixes: trs-, ig-.
   Quote card: yellow, radius 48, quote in Unbounded 200 (design-system 8.8). Strip: 2 columns on
   mobile (gap 8), 6 in a row on desktop (gap 16), square photos, radius 24 (8.9). */

.trs-proof + .ig { margin-top: var(--hv-space-9); }
.trs-partners {
  display: flex;
  flex-wrap: wrap;
  gap: var(--hv-space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}
.trs-partner {
  padding: var(--hv-space-3) var(--hv-space-5);
  border-radius: var(--hv-radius-pill);
  background: var(--band-card);
  color: var(--band-heading);
  font-family: var(--hv-font-display);
  font-weight: var(--hv-fw-heading);
  font-size: var(--hv-fs-h4);
  line-height: 1.2;
}
.trs-quotes { display: grid; gap: var(--hv-gutter); margin-top: var(--hv-space-7); }
.trs-quote {
  display: grid;
  gap: var(--hv-space-4);
  padding: var(--hv-space-6);
  border-radius: var(--hv-radius-xl);
  background: var(--hv-yellow);
  color: var(--hv-ink);
}
.trs-quote-mark { color: var(--hv-navy); }
.trs-quote blockquote {
  font-family: var(--hv-font-display);
  font-weight: var(--hv-fw-display);
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  line-height: 1.2;
}
.trs-quote figcaption { font-size: var(--hv-fs-small); }
@media (min-width: 1000px) {
  .trs-quotes { grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr)); }
}

/* Instagram strip */
.ig-head { display: grid; gap: var(--hv-space-2); margin-bottom: var(--hv-space-5); }
.ig-title { display: flex; align-items: center; gap: var(--hv-space-3); }
.ig-profiles { display: flex; flex-wrap: wrap; gap: 0 var(--hv-space-5); }
.ig-note { font-size: var(--hv-fs-small); color: var(--band-muted); }
.ig-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--hv-space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}
.ig-link { display: block; overflow: hidden; aspect-ratio: 1; border-radius: var(--hv-radius-md); }
.ig-img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--hv-dur-4) var(--hv-ease-standard); }
.ig-link:hover .ig-img { transform: scale(1.04); }
@media (min-width: 768px) {
  .ig-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--hv-space-3); }
}
@media (min-width: 1000px) {
  .ig-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* ---- css/motion.css ---- */
/* motion.css: reveal on scroll (design-system 7). Owner: builder 11. Works with src/js/motion.js.
   The hidden start state needs html.motion-ready, which only motion.js adds: with no script the
   content is simply visible. Once only, 24 px, 600 ms, siblings staggered by --hv-reveal-delay.
   The movement uses the `translate` property, not `transform`: the two compose, so a component
   may tilt or scale a revealed element with `transform` and the reveal does not undo it. */

.motion-ready [data-reveal] {
  opacity: 0;
  translate: 0 var(--hv-reveal-distance);
  transition:
    opacity var(--hv-dur-3) var(--hv-ease-out) var(--hv-reveal-delay, 0ms),
    translate var(--hv-dur-3) var(--hv-ease-out) var(--hv-reveal-delay, 0ms);
}
.motion-ready [data-reveal].is-revealed { opacity: 1; translate: none; }

@media (prefers-reduced-motion: reduce) {
  .motion-ready [data-reveal] { opacity: 1; translate: none; transition: none; }
}
