/* =========================================================================
   ALVA SITE STYLES
   Layout uses flexbox only (no CSS grid), so every standard section maps to
   Elementor flex containers. Class names match the widget each element
   becomes in Elementor (heading, text, image, button, accordion).

    1. Tokens          <- change brand values here
    2. Fonts
    3. Base
    4. Shared parts    (container, sections, eyebrow, buttons, placeholders)
    5. Nav and mobile menu
    6. Hero            ★ showpiece 1 (motion in js/hero.js)
    7. What we do      ★ service list and map (js/services.js)
    8. How it works
    9. What’s included
   10. Why Alva (.different)
   11. FAQs
   12. Contact
   13. Footer
   14. Inner pages: About (14b), Content hub (14c), Article (14d), Services (14e); Contact reuses 14b and 12
   15. Elementor bridge  (no effect here; makes the classes work inside Elementor)
   16. Reduced motion
   */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand palette (Alva Visual Identity Guidelines V2026.1). Use only these.
     Silver and Cyan are accents: text and small details, never backgrounds,
     and never on White (they fail contrast there). */
  --navy:   #1e3063;   /* primary: grounds, and all text on light grounds (12.66:1 on white) */
  --white:  #ffffff;   /* secondary ground; text on Navy (12.66:1) */
  --silver: #9d9ea6;   /* accent: supporting text on Navy (4.75:1), on Black 7.87:1 */
  --cyan:   #00bdf2;   /* accent: small details and highlights on Navy (5.77:1) */
  --black:  #000000;   /* Rich Black: the dark end of navy grounds */

  /* The same colours as plain numbers, for see-through tints: rgba(var(--navy-rgb), 0.1) */
  --navy-rgb: 30, 48, 99;
  --silver-rgb: 157, 158, 166;
  --cyan-rgb: 0, 189, 242;

  /* Grounds made from the palette */
  --ground-dark:                         /* navy fading to Rich Black, as on the business cards */
    radial-gradient(ellipse 110% 85% at 0% 0%, var(--navy) 0%, rgba(var(--navy-rgb), 0.55) 45%, rgba(var(--navy-rgb), 0) 100%),
    var(--black);
  --wash: linear-gradient(180deg, var(--white) 0%, rgba(var(--silver-rgb), 0.16) 100%);   /* the light letterhead's soft grey */
  --mist: rgba(var(--silver-rgb), 0.16); /* the same tint, flat, for small parts */

  /* Type: Inter only. Bold headings, Medium subheadings and labels, Regular
     body on light grounds, Medium body on dark grounds; left aligned */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --track-heading: -0.025em;
  --track-body: -0.01em;
  --leading-heading: 1.2;
  --leading-body: 1.4;

  /* Layout */
  --max-width: 1200px;                 /* includes the side gutters */
  --gutter: clamp(16px, 4vw, 48px);
  --nav-height: 76px;
  --section-space: clamp(80px, 9vw, 136px);   /* top and bottom of each section (tightened 12 Nov 2026, Jake’s spacing check) */
  --head-gap: clamp(40px, 4.5vw, 64px);       /* a section heading (and its line) to what follows */
  --tap: 44px;

  /* Shared type sizes: the home hero and the About intro use the same two */
  --size-headline: clamp(41px, 6.1vw, 75px);   /* Alignment creates value., Our story. */
  --size-lead: clamp(18px, 1.5vw, 22px);       /* the line under each headline */

  /* Corners: square blocks; these are the only rounded ones */
  --radius-button: 2px;
  --radius-chip: 4px;                    /* video length label */
  --radius-media: 8px;                   /* card photos */
  --radius-frame: 12px;                  /* large photos */
  --radius-pill: 999px;                  /* filter buttons */

  /* Shadows: soft navy, small to large */
  --shadow-sm: 0 6px 24px rgba(var(--navy-rgb), 0.07);    /* nav once scrolled */
  --shadow-md: 0 10px 30px rgba(var(--navy-rgb), 0.08);   /* map nodes, FAQ hover */
  --shadow-lg: 0 16px 40px rgba(var(--navy-rgb), 0.1);    /* lifted tiles, open FAQ */
  --shadow-card: 0 24px 48px -28px rgba(var(--navy-rgb), 0.35);   /* content card hover */

  /* Motion (js/content-filter.js and js/hero.js read these too) */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast: 150ms;                /* press, quick fills */
  --duration-fade: 250ms;                /* colour changes, cards fading out */
  --duration-hover: 300ms;               /* hover lifts and slides */
  --name-release: 1000ms;                /* hero: Al and va fading back to white */
}

/* ---------- 2. Fonts (self-hosted Inter, SIL Open Font License) ---------- */
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-latin-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-latin-500-italic.woff2") format("woff2");
  font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- 3. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font);
  font-size: 16px;                       /* the reading size most text classes use */
  font-weight: 400;
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;                    /* older browsers */
  overflow-x: clip;                      /* stops sideways scroll without breaking position: sticky */
}

h1, h2, h3, h4, p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}
/* On every navy ground the focus ring turns Cyan (navy on navy can't be seen; Cyan is 5.77:1 on Navy) */
.site-nav :focus-visible,
.hero :focus-visible,
.story-intro :focus-visible,
.different :focus-visible,
.contact__card :focus-visible,
.story--navy :focus-visible,
.site-footer :focus-visible { outline-color: var(--cyan); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 300;
  padding: 12px 16px;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- 4. Shared parts ---------- */
.alva-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.alva-section { padding: var(--section-space) 0; }
.alva-section--wash { background: var(--wash); }   /* the light letterhead's soft grey */
/* A wash section straight after another carries on in the same grey, so they join without an edge */
.alva-section--wash + .alva-section--wash { background: linear-gradient(var(--mist), var(--mist)), var(--white); }

.eyebrow {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: var(--track-body);
  line-height: 1.4;
  color: var(--navy);
}

/* Section titles, like “What we do.” */
.section-title,
.services__heading {
  color: var(--navy);
  font-size: clamp(40px, 5.2vw, 72px);
  font-weight: 700;
  letter-spacing: var(--track-heading);
  line-height: var(--leading-heading);
}
.section-title--on-navy { color: var(--white); }

/* Fade-in as things arrive (js/reveal.js adds .reveal-ready and .is-in).
   Keep reveal.js in Elementor too; don’t add Entrance Animations on top. */
.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal-ready .reveal.is-in { opacity: 1; transform: none; }

/* Buttons. In this build the class is on the link itself; in Elementor the
   class goes on the Button widget, so the same rules reach its inner link. */
a.alva-btn,
.elementor-widget-button.alva-btn .elementor-button {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 28px;
  border: 1px solid var(--navy);
  border-radius: var(--radius-button);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: var(--track-body);
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--duration-fade) ease, border-color var(--duration-fade) ease, color var(--duration-fade) ease, transform var(--duration-fast) ease;
}
a.alva-btn:active,
.elementor-widget-button.alva-btn .elementor-button:active { transform: translateY(1px); }   /* pressed */
/* Solid: Navy with white words, for light grounds */
a.alva-btn--solid,
.elementor-widget-button.alva-btn--solid .elementor-button {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);                 /* 12.66:1 */
}
a.alva-btn--solid:hover,
.elementor-widget-button.alva-btn--solid .elementor-button:hover { border-color: var(--black); background: var(--black); }
/* Light: White with navy words, for navy grounds; a Cyan glow on hover */
a.alva-btn--light,
.elementor-widget-button.alva-btn--light .elementor-button {
  border-color: var(--white);
  background: var(--white);
  color: var(--navy);                  /* 12.66:1 */
}
a.alva-btn--light:hover,
.elementor-widget-button.alva-btn--light .elementor-button:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px var(--cyan), 0 0 22px rgba(var(--cyan-rgb), 0.4);
}
/* Not linked yet (the Book a time placeholder): no hover or press response */
a.alva-btn[aria-disabled="true"] { cursor: default; }
a.alva-btn--solid[aria-disabled="true"]:hover { border-color: var(--navy); background: var(--navy); }
a.alva-btn--light[aria-disabled="true"]:hover { border-color: var(--white); box-shadow: none; }
a.alva-btn[aria-disabled="true"]:active { transform: none; }
a.alva-btn--arrow[aria-disabled="true"]:hover::after { transform: rotate(45deg); }

/* Placeholders: dashed so they are easy to spot before launch */
mark.placeholder {
  padding: 2px 6px;
  border: 1px dashed var(--navy);
  background: transparent;
  color: var(--navy);
  font-size: 0.85em;
  font-weight: 500;
}
mark.placeholder--on-navy { border-color: var(--silver); color: var(--white); }

/* ---------- 5. Nav ----------
   Navy, with the Duo Primary logo (white “al”, Silver “va”), the brand's
   preferred colourway. */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  transition: box-shadow var(--duration-fade) ease;
}
.site-nav.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3); }

.site-nav__inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px !important;
  width: 100%;
  max-width: var(--max-width);
  height: var(--nav-height);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.site-nav__logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  min-height: var(--tap);
  flex: 1 1 0;
}
.site-nav__logo img { height: 42px; width: auto; }

.site-nav__menu {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(20px, 2.6vw, 40px) !important;
}

.site-nav__link,
.site-nav__menu .elementor-item {         /* the links of the Header template's Nav Menu */
  position: relative;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  min-height: var(--tap);
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.site-nav__link::after,
.site-nav__menu .elementor-item::after { /* underline: a Cyan detail on navy */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 8px;
  height: 1.5px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-hover) var(--ease);
}
.site-nav__link:hover::after,
.site-nav__link[aria-current]::after,
.site-nav__menu .elementor-item:hover::after,
.site-nav__menu .elementor-item[aria-current]::after { transform: scaleX(1); }

.site-nav__cta {
  flex: 1 1 0;
  --measure: max-content; max-width: var(--measure);
  margin-left: auto;
}

/* Menu button (phone and tablet) */
.site-nav__toggle {
  display: none;
  position: relative;
  width: var(--tap);
  height: var(--tap);
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.site-nav__toggle-bar {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform var(--duration-hover) var(--ease);
}
.site-nav__toggle-bar:first-child { top: 17px; }
.site-nav__toggle-bar:last-child  { top: 25px; }
.site-nav.is-open .site-nav__toggle-bar:first-child { transform: translateY(4px) rotate(45deg); }
.site-nav.is-open .site-nav__toggle-bar:last-child  { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px !important;
  padding: 32px var(--gutter) 40px;
  background: var(--navy);
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__links { display: flex; flex-direction: column; }
.mobile-menu__link,
.mobile-menu__links .elementor-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  min-height: 64px;
  color: var(--white);
  font-size: 30px;
  font-weight: 500;
  text-decoration: none;
}
.mobile-menu__link[aria-current],
.mobile-menu__links .elementor-item[aria-current] {   /* the page you are on, as the desktop nav marks it */
  text-decoration: underline;
  text-decoration-color: var(--cyan);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 8px;
}
.mobile-menu__cta,
.mobile-menu__cta .elementor-button { width: 100%; }

html.menu-open { overflow: hidden; }

@media (max-width: 1024px) {
  .site-nav__menu,
  .site-nav__cta,
  a.site-nav__cta { display: none; }   /* a. matches the button rule’s strength */
  .site-nav__toggle { display: block; }
}

/* ---------- 6. Hero ★ ----------
   Text near the top of a navy screen. (The client logo strip, 6b, is off
   the page for now, Jake, 12 Nov 2026.) Headline, summary and
   button in one column; on
   wide screens “We align [word].” sits on the right, its bottom level with
   the last line of the headline. On phones it sits under the summary. */
.hero {
  --hero-hl: var(--size-headline);       /* headline size (see Tokens) */
  --hero-cy: clamp(26px, 2.6vw, 40px);   /* “We align” size */
  display: flex;
  flex-direction: column;
  justify-content: space-between;        /* any spare height goes above the logos, so they rest at the bottom */
  /* The navy always fills the screen below the nav, however tall the
     screen is, so What we do never shows on the first screen (Jake, 10 Nov 2026) */
  min-height: calc(100vh - var(--nav-height));
  min-height: calc(100svh - var(--nav-height));   /* phones: the screen without the browser bars */
  /* --hero-shift (wide screens) moves the text and logos down by about 13%
     of the screen height and takes the same amount back below: --hero-trim
     from the gap above the logos, the rest from the top of What we do, so
     What we do stays where it was. */
  gap: calc(clamp(64px, 10vh, 112px) - var(--hero-trim)) !important;
  padding: calc(clamp(48px, 9vh, 112px) + var(--hero-shift) - var(--hero-lift)) 0 clamp(32px, 5vh, 56px);
  /* Navy fading to Rich Black, never moving, as on the business card,
     with the card's large, faint “a” behind it (.hero::before) */
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--navy) 0%, rgba(var(--navy-rgb), 0) 45%),   /* flows on from the navy nav, no seam */
    var(--ground-dark);
  color: var(--white);
}
.hero::before {
  content: "";
  position: absolute;
  /* Nearly all of it on screen (Jake, 16 Nov 2026). It used to sit far right
     and well below (right: -14%, bottom: -46%, 1040px), which left only the
     top-left arc of the ring showing: it read as a circle, not as the “a”.
     The stem that makes it an “a” runs down the RIGHT edge of the artwork, so
     that edge must stay on screen — which is why `right` is positive here and
     the mark does not bleed off that side. Both edges are declared, see the
     bridge note in section 15. */
  left: auto;
  right: 1%;
  bottom: -6%;
  width: min(64vw, 780px);
  aspect-ratio: 1;
  background: url("../assets/logos/alva-duo-primary-icon.svg") center / contain no-repeat;
  opacity: 0.035;
  pointer-events: none;
}
.hero > * { position: relative; }        /* above the “a” */
.hero,
.hero + .services {
  --hero-shift: clamp(40px, 13vh, 128px);
  --hero-trim: clamp(16px, 5vh, 48px);
  --hero-lift: clamp(24px, 4.5vh, 48px);   /* raises the text about 40px on a laptop (Jake, 10 Nov 2026); the navy still fills the screen */
}
.hero + .services { padding-top: var(--section-space); }   /* the hero fills the screen, so What we do takes the usual space (it was trimmed for the logo strip) */

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-headline {
  display: flex;
  flex-direction: column;
  color: var(--white);
  font-size: var(--hero-hl);
  font-weight: 700;
  letter-spacing: var(--track-heading);
  line-height: var(--leading-heading);
}
.hero-headline__line { display: block; }
.hero-key { color: var(--white); }

.hero-summary {
  --measure: 34em; max-width: var(--measure);
  margin-top: clamp(28px, 4vh, 44px);
  color: var(--white);
  font-size: var(--size-lead);
  font-weight: 500;                      /* body on dark grounds: Medium */
  line-height: var(--leading-body);
}

/* “We align [word].” */
.hero-cycle {
  margin-top: clamp(20px, 3vh, 32px);
  color: var(--white);
  font-size: var(--hero-cy);
  font-weight: 500;
  letter-spacing: var(--track-heading);
  line-height: 1.25;
}
.hero-cycle__prefix { color: var(--white); }
.hero-cycle__words {
  position: relative;
  display: inline-block;
  min-width: 7.5em;
  vertical-align: top;
  color: var(--cyan);                    /* the changing word: a Cyan accent, 5.77:1 on Navy */
  font-weight: 700;
}
.hero-cycle__word { display: inline; }

.hero-cta { margin-top: clamp(28px, 4vh, 44px); }

/* Wide screens: the “We align” line moves to the right of the headline.
   Its top is worked out from the two font sizes so its last line sits level
   with “value.” (headline: 3 lines × 1.2; this line: 2 lines × 1.25). */
@media (min-width: 1025px) {
  .hero__inner { position: relative; }
  .hero-cycle {
    position: absolute;
    top: calc(var(--hero-hl) * 3.6 - var(--hero-cy) * 2.5);
    right: 0;
    min-width: 9em;
    margin-top: 0;
  }
  .hero-cycle__prefix { display: block; }
  .hero-cycle__words { display: block; min-width: 0; }
  /* Reduced motion: every word shows, so the line goes back under the summary */
  .hero-cycle--static { position: static; min-width: 0; margin-top: clamp(20px, 3vh, 32px); }
  .hero-cycle--static .hero-cycle__prefix { display: inline; }
}

/* With JavaScript, the words stack in one spot and swap */
.js .hero-cycle__words { height: 1.25em; overflow: hidden; }
.js .hero-cycle__word {
  position: absolute;
  left: 0; top: 0;
  opacity: 0;
  transform: translateY(0.6em);
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
  white-space: nowrap;
}
.js .hero-cycle__word.is-active { opacity: 1; transform: none; }
.js .hero-cycle__word.is-leaving { opacity: 0; transform: translateY(-0.6em); }
/* Before the script starts, show the first word */
.js .hero-cycle__words:not(.is-running) .hero-cycle__word:first-child { opacity: 1; transform: none; }
/* Reduced motion (and the Elementor editor): no swapping. The line reads
   “We align marketing. sales. operations. people. leadership.” */
.js .hero-cycle__words.is-static { display: inline; height: auto; overflow: visible; }
.js .hero-cycle__words.is-static .hero-cycle__word { position: static; display: inline; opacity: 1; transform: none; }

/* Headline entrance: lines rise in, then Al and va stay white while the rest
   fades right back, so the name stands alone */
.js .hero-headline.is-ready .hero-headline__line {
  clip-path: inset(0 0 100% 0);
  transform: translateY(0.35em);
}
.js .hero-headline.is-ready.is-revealed .hero-headline__line {
  clip-path: inset(-0.1em -0.1em -0.1em -0.1em);
  transform: none;
  transition: clip-path 1000ms var(--ease), transform 1000ms var(--ease);
}
.hero-headline { transition: color var(--name-release) ease; }   /* js/hero.js reads the same token */
/* The name moment: the rest of the headline fades right back, so Al and va
   stand alone in white (Jake chose this over the Silver dim, 12 Nov 2026).
   The full headline returns after the hold; screen readers always get it. */
.hero-headline.is-keyed { color: rgba(255, 255, 255, 0.14); }
.hero-headline.is-keyed .hero-key { color: var(--white); }

@media (max-width: 1024px) {
  .hero,
  .hero + .services { --hero-shift: 0px; --hero-trim: 0px; --hero-lift: 0px; }   /* phones and tablets keep the text near the top */
  .hero {
    padding: clamp(40px, 8vw, 80px) 0 clamp(28px, 6vw, 48px);
  }
  .hero::before { right: -30%; bottom: -12%; width: 110vw; }
}

/* ---------- 6b. Client logos ----------
   NOT ON THE PAGE FOR NOW (Jake, 12 Nov 2026: until there are more
   clients). Kept so the strip can come back.
   A row of full-colour logos at the bottom of the hero. js/clients.js copies
   the logos to make an endless loop and adds .is-moving; without it (reduced
   motion, the Elementor editor) the logos sit still in one centred row,
   which swipes sideways if it is wider than the screen. */
.client-strip {
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.client-strip::-webkit-scrollbar { display: none; }
.client-strip__track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0 !important;                     /* spacing is padding, so the loop is seamless */
  width: max-content;
  margin: 0 auto;
  padding: 0 var(--gutter);
  list-style: none;
}
.client-strip__item {
  flex: 0 0 auto;
  padding: 12px clamp(32px, 4.5vw, 72px);
}
.client-strip__logo,
.client-strip__item.elementor-widget-image img {   /* in Elementor: an Image widget with class client-strip__item */
  display: block;
  width: auto;
  height: clamp(52px, 5.4vw, 84px);
  max-width: 280px;
  object-fit: contain;
}

/* Moving: one long row drifting left, faded at both edges. It pauses on
   hover or keyboard focus, after a tap or click (.is-paused) and while off
   screen (.is-offscreen); js/clients.js adds those classes. */
.client-strip.is-moving {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.client-strip.is-moving .client-strip__track {
  margin: 0;
  padding: 0;
  animation: client-drift var(--clients-duration, 40s) linear infinite;
}
.client-strip.is-moving:is(:focus-visible, .is-paused, .is-offscreen) .client-strip__track { animation-play-state: paused; }
@media (hover: hover) {                  /* phones keep a tap as “hover”, which would block restarting */
  .client-strip.is-moving:hover .client-strip__track { animation-play-state: paused; }
}
.client-strip.is-moving { cursor: pointer; }
.client-strip.is-moving:focus-visible { outline-offset: -2px; }   /* inside the row, so the fade mask doesn't hide it */
@keyframes client-drift {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- 7. What we do ★ ----------
   Fractional CMO first (the main service, on a light tile, linking to How
   we work), then the three services that can run on their own, beside the
   service map. js/services.js links each .service-row to
   the map node with the same data-service. */
.services__inner {
  display: flex;
  flex-direction: column;
  gap: var(--head-gap) !important;
}
.services__head {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px !important;
}
.services__body {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(40px, 6vw, 96px) !important;
}

/* The list: spacing and a white tile on hover separate the rows, no lines */
.service-list {
  flex: 1 1 55%;
  display: flex;
  flex-direction: column;
  gap: 6px !important;
}
.service-row__link {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 24px !important;
  padding: 24px 28px;
  color: inherit;
  text-decoration: none;
  transition: background-color var(--duration-hover) ease, box-shadow var(--duration-hover) ease;
}
.service-row__link:hover,
.service-row__link:focus-visible,
.service-row.is-active .service-row__link {
  background: var(--white);
  box-shadow: var(--shadow-lg);
}
/* Fractional CMO, the main service: always on a light white tile */
.service-row--core .service-row__link {
  background: var(--white);
  box-shadow: var(--shadow-md);
}
.service-row__text {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 8px !important;
}
.service-row__title {
  color: var(--navy);
  font-size: clamp(24px, 2.3vw, 34px);
  font-weight: 700;
  letter-spacing: var(--track-heading);
  line-height: var(--leading-heading);
}
.service-row__desc {
  --measure: 34em; max-width: var(--measure);
  color: var(--navy);
  font-size: 16px;
  line-height: var(--leading-body);
}
/* Arrow: a short line and chevron, drawn in CSS */
.service-row__arrow {
  position: relative;
  flex: 0 0 28px;
  align-self: center;
  height: 28px;
  color: var(--navy);
  transition: color var(--duration-hover) ease, transform var(--duration-hover) var(--ease);
}
.service-row__arrow::before,
.service-row__arrow::after {
  content: "";
  position: absolute;
  top: 50%;
}
.service-row__arrow::before { left: 4px; width: 18px; height: 1.5px; margin-top: -0.75px; background: currentColor; }
.service-row__arrow::after {
  right: 5px;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.service-row.is-active .service-row__arrow,
.service-row__link:hover .service-row__arrow { color: var(--navy); transform: translateX(4px); }

/* The service map: hub, two nodes, rings and flowing connectors.
   Positions match the SVG: orbit radius 190 in a 520 box. The two services
   sit level with the hub, either side (Jake, 12 Nov 2026), a little outside
   the orbit's 9 and 3 o'clock points so they clear the hub. */
.service-map {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px !important;
}
.service-map__stage {
  position: relative;
  width: min(100%, 520px);
  /* Fixed, and load-bearing: the hub sits at 25% down and the two nodes at
     68%, 33.1% either side of centre. Those are percentages of different
     axes, so only a fixed ratio keeps the horizontal and vertical gaps equal
     in pixels, which is what makes the two arms 45 degrees at every size. */
  aspect-ratio: 1.3;
}
.service-map__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.service-map__connector {
  stroke: rgba(var(--navy-rgb), 0.3);
  stroke-width: 1.5;
  stroke-dasharray: 4 8;
  animation: map-flow 1.6s linear infinite paused;
  transition: stroke var(--duration-hover) ease;
}
.service-map__connector.is-active { stroke: var(--navy); stroke-width: 2; }

/* The only motion left once the rings are gone: dashes travelling out along
   each arm, so the three still read as linked (Jake, 18 Nov 2026).
   js/services.js adds `is-playing` while the map is on screen. */
.service-map.is-playing .service-map__connector { animation-play-state: running; }
@keyframes map-flow { to { stroke-dashoffset: -24; } }

.service-map__hub {
  position: absolute;
  left: 50%;
  top: 25%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 34%;
  aspect-ratio: 1;
  padding: 12px;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 0 0 10px rgba(var(--navy-rgb), 0.07);
  text-align: center;
  transform: translate(-50%, -50%);
  transition: box-shadow var(--duration-hover) ease;
}
.service-map__hub.is-active { box-shadow: 0 0 0 10px rgba(var(--silver-rgb), 0.45); }
.service-map__hub-title {
  color: var(--white);
  font-size: clamp(15px, 1.6vw, 22px);
  font-weight: 700;
  line-height: var(--leading-heading);
  letter-spacing: var(--track-heading);
}
.service-map__hub-sub {
  margin-top: 8px;
  color: var(--cyan);                    /* 5.77:1 on Navy */
  font-size: clamp(11px, 0.85vw, 12px);   /* must fit inside the hub circle */
  font-weight: 500;
  letter-spacing: var(--track-body);
  line-height: 1.4;
}

.service-map__node {
  position: absolute;
  top: 68%;
  width: clamp(104px, 28%, 150px);
  padding: 10px 12px;
  background: var(--white);
  box-shadow: var(--shadow-md);
  text-align: center;
  transform: translate(-50%, -50%);
  transition: box-shadow var(--duration-hover) ease, transform var(--duration-hover) var(--ease);
}
.service-map__node--left  { left: 16.9%; }
.service-map__node--right { left: 83.1%; }
.service-map__node.is-active {
  box-shadow: 0 0 0 2px var(--navy), var(--shadow-lg);
  transform: translate(-50%, -50%) scale(1.04);
}
.service-map__node-title {
  color: var(--navy);
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 700;
  line-height: var(--leading-heading);
  letter-spacing: var(--track-heading);
}
.service-map__node-sub {
  margin-top: 4px;
  color: var(--navy);
  font-size: clamp(12px, 0.95vw, 13px);
  line-height: 1.35;
}

/* Arrival: the map opens out from the Fractional CMO hub, once, as it fades
   in (.is-in from js/reveal.js). The hub appears, the connectors grow out
   from it, then the two services travel out along their arms to their
   places. The animations only fill backwards, so hover effects
   work as normal afterwards. Without reveal.js (reduced motion, the
   Elementor editor) the map simply shows. */
.reveal-ready .service-map:not(.is-in) :is(.service-map__lines, .service-map__hub, .service-map__node) { opacity: 0; }
.reveal-ready .service-map.is-in .service-map__hub   { animation: map-hub-in 600ms var(--ease) backwards; }
.reveal-ready .service-map.is-in .service-map__lines { transform-origin: 50% 25%; animation: map-open 1100ms var(--ease) 150ms backwards; }
.reveal-ready .service-map.is-in .service-map__node  { animation: map-node-out 1000ms var(--ease) var(--node-delay, 450ms) backwards; }
.service-map__node--right { --node-delay: 570ms; }
@keyframes map-hub-in   { from { opacity: 0; transform: translate(-50%, -50%) scale(0.7); } }
@keyframes map-open     { from { opacity: 0; transform: scale(0.3); } }
@keyframes map-node-out { from { opacity: 0; left: 50%; top: 25%; transform: translate(-50%, -50%) scale(0.5); } }

/* Wide screens: the map lines up with the top of the list and stays in
   view beside it as you scroll past the services */
@media (min-width: 1025px) {
  .services__body { align-items: flex-start; }
  .service-map { position: sticky; top: calc(var(--nav-height) + 40px); }
}
@media (max-width: 1024px) {
  .services__body { flex-direction: column; align-items: stretch; }
  .service-map__stage { width: min(100%, 440px); }
}
@media (max-width: 767px) {
  .services__head { flex-direction: column; align-items: flex-start; }
  .service-row__link { gap: 14px !important; padding: 18px 16px; }
  .service-row__arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .service-map * { animation: none !important; }
}

/* ---------- 8. How we work ★ (class .how) ----------
   “Strategise. Mobilise. Enable.”: how a Fractional CMO engagement runs and
   what you get at each stage (How it works and What’s included merged, Jake,
   12 Nov 2026). Three stage columns, each led by a navy card. As you scroll
   past (wide screens) or swipe (phones and tablets), js/timeline.js lights
   the three dots on every card one stage at a time and gives that stage’s
   card a soft Cyan edge. Nothing pins: the page keeps scrolling normally. */
.how { background: var(--wash); }   /* White What we do, then this soft grey, then navy Why Alva */
.how__inner {
  --stage-gap: clamp(32px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  gap: var(--head-gap) !important;
}
.how__head {
  display: flex;
  flex-direction: column;
  gap: 16px !important;
}
.how__lede {
  --measure: none; max-width: var(--measure);   /* one line on laptops and wider (Jake, 12 Nov 2026) */
  color: var(--navy);
  font-size: var(--size-lead);
  font-weight: 500;
  line-height: var(--leading-body);
}

/* The stages */
.how-stages {
  display: flex;
  flex-direction: row;
  gap: var(--stage-gap) !important;
}
.how-stage {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
/* The stage card: a navy graphic holding the days, a three-step marker,
   the title, the question and one line, all real text (Jake, 12 Nov 2026,
   in place of photos). Navy fading to Rich Black with the brand’s faint “a”
   behind, like the hero. 4:3, and square on wide screens so all three
   match; it grows if the words need more room. */
.how-stage__card {
  position: relative;
  overflow: hidden;                      /* older browsers: Safari only took `clip` in 16 */
  overflow: clip;                        /* trims the “a” (corners included) without making the card a scroll box, so it still grows to fit its words, and leaves the active glow outside visible */
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 5vw, 72px) !important;   /* the words start at the same height on every card */
  aspect-ratio: 4 / 3;
  padding: clamp(24px, 2.4vw, 32px);
  border-radius: var(--radius-frame);
  background: var(--ground-dark);
  color: var(--white);
}
.how-stage__card::before {
  content: "";
  position: absolute;
  right: -22%;
  bottom: -26%;
  width: 78%;
  aspect-ratio: 1;
  background: url("../assets/logos/alva-duo-primary-icon.svg") center / contain no-repeat;
  opacity: 0.05;
  pointer-events: none;
}
.how-stage__card > * { position: relative; }   /* above the “a” */
@media (min-width: 1025px) { .how-stage__card { aspect-ratio: 1; } }
.how-stage__top {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px !important;
}
.how-stage__days {
  color: var(--cyan);                    /* 5.77:1 on Navy */
  font-size: 14px;
  font-weight: 500;
  letter-spacing: var(--track-body);
}
/* Three dots, one per stage. Decorative. js/timeline.js lights them as you
   scroll or swipe: .is-passed (white) for stages behind you, .is-current
   (Cyan, with a soft glow) for the stage you’re on. Before it runs, or
   without it (reduced motion, the Elementor editor), each card shows its
   own dot in Cyan (the is-current class in the markup). */
.how-stage__steps {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px !important;
}
.how-stage__steps span {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  transition: background-color 400ms ease, box-shadow 400ms ease, transform 400ms var(--ease);
}
.how-stage__steps .is-passed { background: rgba(255, 255, 255, 0.85); }
.how-stage__steps .is-current {
  background: var(--cyan);
  box-shadow: 0 0 10px 1px rgba(var(--cyan-rgb), 0.55);
  transform: scale(1.25);
}

/* The card for the stage you’re on: a soft Cyan edge, like the Value box in
   Why Alva, and a small lift */
.how-stage__card {
  transition: transform 500ms var(--ease), box-shadow 500ms ease;
}
.how-stage__card.is-active {
  transform: translateY(-4px);
  box-shadow: 0 0 0 1.5px var(--cyan), 0 0 48px 2px rgba(var(--cyan-rgb), 0.22);
}
.how-stage__words {
  display: flex;
  flex-direction: column;
}
.how-stage__title {
  color: var(--white);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 700;
  letter-spacing: var(--track-heading);
  line-height: var(--leading-heading);
}
.how-stage__question {
  margin-top: 8px;
  color: var(--white);
  font-size: 16px;                       /* was 18px; type ramp tidied 17 Nov 2026 */
  font-style: italic;
  font-weight: 500;                      /* italics on dark grounds: Medium */
  line-height: var(--leading-body);
}
.how-stage__body {
  margin-top: 14px;
  color: var(--white);
  font-size: 16px;
  font-weight: 500;                      /* body on dark grounds: Medium */
  line-height: var(--leading-body);
}

/* “You get”: what each stage delivers, each with its small animated icon
   (thin white lines, soft Cyan glow) on a navy square */
.how-stage__gets {
  display: flex;
  flex-direction: column;
  gap: 16px !important;
  margin-top: 28px;
}
.how-stage__gets-label {
  color: var(--navy);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: var(--track-body);
}
.how-get {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px !important;
}
.how-get__icon {
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 60px;
  border-radius: var(--radius-media);
  background: var(--navy);
}
.how-get__text {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 4px !important;
  min-width: 0;
}
.how-get__title {
  color: var(--navy);
  font-size: 16px;                       /* was 17px; the weight carries it */
  font-weight: 700;
  letter-spacing: var(--track-heading);
  line-height: var(--leading-heading);
}
.how-get__desc {
  color: var(--navy);
  font-size: 16px;                       /* was 15px */
  line-height: var(--leading-body);
}
/* The icons move once their stage has faded in, and rest off screen */
.how-stage.is-in .included-icon span,
/* the Services page's What you get lists use the same icons outside a stage */
.service-detail__panel.is-in .included-icon span { animation-play-state: running; }

/* The close: the pricing line and the button */
.how__close {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px !important;
  padding-top: clamp(8px, 1.5vw, 16px);
}
.how__close-text {
  --measure: 32em; max-width: var(--measure);
  color: var(--navy);
  font-size: var(--size-lead);
  font-weight: 500;
  line-height: var(--leading-body);
}
.how__cta { flex: 0 0 auto; }

/* Phones and tablets: the stages become a swipe slider */
@media (max-width: 1024px) {
  .how-stages {
    margin: -16px calc(var(--gutter) * -1) 0;   /* room for the active card’s glow and lift, */
    padding: 16px var(--gutter) 24px;           /* which the swipe row would otherwise trim */
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--gutter);
    scrollbar-width: none;
  }
  .how-stages::-webkit-scrollbar { display: none; }
  .how-stage {
    flex: 0 0 min(78%, 420px);
    scroll-snap-align: start;
  }
}
@media (max-width: 1024px) {
  .how__close { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767px) {
}

/* ---------- 9. Icons (were What’s included) ----------
   What’s included is now part of How we work (8). Its small animated icons
   stay here: each sits on a navy square in a .how-get. */
/* ----- The icons. Each is a 56 × 40 box of absolutely placed spans, drawn
   in thin white lines with a soft Cyan glow. The resting state is the base
   style, every animation starts and ends there, and nothing moves until the
   tile has faded in. ----- */
.included-icon {
  --line: 1.5px;
  position: relative;
  flex: none;
  width: 56px;
  height: 40px;
  filter: drop-shadow(0 0 3px rgba(var(--cyan-rgb), 0.9)) drop-shadow(0 0 10px rgba(var(--cyan-rgb), 0.4));
}
.included-icon span {
  position: absolute;
  display: block;
  box-sizing: border-box;
  animation-play-state: paused;
}
.pause-offscreen.is-offscreen .included-icon span { animation-play-state: paused; }   /* js/reveal.js */

/* 1. Audit: lines of a report, with a bright line scanning down */
.included-icon--scan span { left: 0; height: 2px; border-radius: 1px; background: rgba(255, 255, 255, 0.45); }
.included-icon--scan span:nth-child(1) { top: 4px;  width: 100%; }
.included-icon--scan span:nth-child(2) { top: 14px; width: 70%; }
.included-icon--scan span:nth-child(3) { top: 24px; width: 86%; }
.included-icon--scan span:nth-child(4) { top: 34px; width: 56%; }
.included-icon--scan span:nth-child(5) {
  top: 3px;
  width: 100%;
  height: 2px;
  background: var(--white);
  animation: icon-scan 2.6s ease-in-out infinite;
}
@keyframes icon-scan { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(32px); } }

/* 2. Strategy: three lines drift out of line, then slide back into line */
.included-icon--align span { left: 0; width: 66%; height: 2px; border-radius: 1px; background: var(--white); }
.included-icon--align span:nth-child(1) { top: 8px;  --off: 14px; }
.included-icon--align span:nth-child(2) { top: 19px; --off: 4px; }
.included-icon--align span:nth-child(3) { top: 30px; --off: 18px; }
.included-icon--align span { animation: icon-align 3.2s var(--ease) infinite; }
@keyframes icon-align {
  0%, 15%, 100% { transform: translateX(0); }
  40%, 60% { transform: translateX(var(--off)); }
}

/* 3. Sessions: four rings lighting up in turn */
.included-icon--dots span {
  top: 15px;
  width: 10px;
  height: 10px;
  border: var(--line) solid var(--white);
  border-radius: 50%;
  animation: icon-dot 2.4s ease-in-out infinite;
}
.included-icon--dots span:nth-child(1) { left: 0; }
.included-icon--dots span:nth-child(2) { left: 15px; animation-delay: 0.3s; }
.included-icon--dots span:nth-child(3) { left: 30px; animation-delay: 0.6s; }
.included-icon--dots span:nth-child(4) { left: 45px; animation-delay: 0.9s; }
@keyframes icon-dot {
  0%, 45%, 100% { background: transparent; transform: none; }
  15%, 25% { background: var(--white); transform: scale(1.2); }
}

/* 4. Team: a leader and three people, each filling in turn */
.included-icon--team span {
  width: 13px;
  height: 13px;
  border: var(--line) solid var(--white);
  border-radius: 50%;
}
.included-icon--team span:nth-child(1) { top: 0; left: 21px; background: var(--white); }
.included-icon--team span:nth-child(2),
.included-icon--team span:nth-child(3),
.included-icon--team span:nth-child(4) { top: 25px; animation: icon-fill 3s ease-in-out infinite; }
.included-icon--team span:nth-child(2) { left: 1px; }
.included-icon--team span:nth-child(3) { left: 21px; animation-delay: 0.35s; }
.included-icon--team span:nth-child(4) { left: 41px; animation-delay: 0.7s; }
@keyframes icon-fill {
  0%, 60%, 100% { background: transparent; }
  20%, 40% { background: var(--white); }
}

/* 5. Reporting: a bar chart in outline, each bar dipping and growing back */
.included-icon--chart span { bottom: 0; width: 8px; border: var(--line) solid var(--white); transform-origin: bottom; animation: icon-grow 2.8s var(--ease) infinite; }
.included-icon--chart span:nth-child(1) { left: 4px;  height: 14px; }
.included-icon--chart span:nth-child(2) { left: 18px; height: 22px; animation-delay: 0.15s; }
.included-icon--chart span:nth-child(3) { left: 32px; height: 30px; animation-delay: 0.3s; }
.included-icon--chart span:nth-child(4) { left: 46px; height: 38px; animation-delay: 0.45s; background: var(--white); }
@keyframes icon-grow { 0%, 20%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.4); } }

/* 6. Milestones: three diamonds lighting in order, like the timeline */
.included-icon--milestones span {
  top: 13px;
  width: 13px;
  height: 13px;
  border: var(--line) solid var(--white);
  transform: rotate(45deg);
  animation: icon-fill 3s ease-in-out infinite;
}
.included-icon--milestones span:nth-child(1) { left: 3px; }
.included-icon--milestones span:nth-child(2) { left: 22px; animation-delay: 0.35s; }
.included-icon--milestones span:nth-child(3) { left: 41px; animation-delay: 0.7s; }

/* 7. Hiring: two people in place and an empty seat; a new person steps in
   to fill it. At rest (and in the still version) the seat is filled. */
.included-icon--hire span {
  top: 13px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
}
.included-icon--hire span:nth-child(1) { left: 1px;  background: var(--white); }
.included-icon--hire span:nth-child(2) { left: 21px; background: var(--white); }
.included-icon--hire span:nth-child(3) { left: 41px; border: var(--line) solid rgba(255, 255, 255, 0.45); }   /* the seat */
.included-icon--hire span:nth-child(4) { left: 41px; background: var(--white); animation: icon-hire 3.2s var(--ease) infinite; }
@keyframes icon-hire {
  0%, 12%, 100% { opacity: 1; transform: none; }
  32%, 58% { opacity: 0; transform: translateX(10px); }
}

/* 8. Positioning: rings settling onto a centre point (Services 02) */
.included-icon--target span {
  top: 50%;
  left: 50%;
  border: var(--line) solid var(--white);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.included-icon--target span:nth-child(1) { width: 34px; height: 34px; animation: icon-ring 3s var(--ease) infinite; }
.included-icon--target span:nth-child(2) { width: 20px; height: 20px; animation: icon-ring 3s var(--ease) infinite; animation-delay: 0.25s; }
.included-icon--target span:nth-child(3) { width: 8px; height: 8px; background: var(--white); border: 0; }
@keyframes icon-ring {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  45% { opacity: 1; transform: translate(-50%, -50%) scale(0.86); }
}

/* 9. Search: a lens sweeping across lines of results (Services 03).
   Abstract on purpose: no platform marks anywhere on the site. */
.included-icon--search span:nth-child(1),
.included-icon--search span:nth-child(2) { left: 0; height: 2px; border-radius: 1px; background: rgba(255, 255, 255, 0.45); }
.included-icon--search span:nth-child(1) { top: 8px;  width: 100%; }
.included-icon--search span:nth-child(2) { top: 30px; width: 72%; }
.included-icon--search span:nth-child(3),
.included-icon--search span:nth-child(4) { animation: icon-sweep 3.4s var(--ease) infinite; }
.included-icon--search span:nth-child(3) {
  top: 11px;
  left: 6px;
  width: 18px;
  height: 18px;
  border: var(--line) solid var(--white);
  border-radius: 50%;
}
.included-icon--search span:nth-child(4) {
  top: 27px;
  left: 22px;
  width: 8px;
  height: 2px;
  background: var(--white);
  transform-origin: left center;
  rotate: 45deg;
}
@keyframes icon-sweep { 0%, 100% { translate: 0 0; } 50% { translate: 26px 0; } }

/* 10. Reach: a point broadcasting, rings travelling out (Services 03) */
.included-icon--reach span {
  top: 50%;
  left: 12px;
  border-radius: 50%;
  transform: translateY(-50%);
}
.included-icon--reach span:nth-child(1) { width: 8px; height: 8px; background: var(--white); }
.included-icon--reach span:nth-child(2),
.included-icon--reach span:nth-child(3),
.included-icon--reach span:nth-child(4) {
  width: 30px;
  height: 30px;
  border: var(--line) solid var(--white);
  animation: icon-reach 2.8s ease-out infinite;
}
.included-icon--reach span:nth-child(2) { animation-delay: 0s; }
.included-icon--reach span:nth-child(3) { animation-delay: 0.6s; }
.included-icon--reach span:nth-child(4) { animation-delay: 1.2s; }
@keyframes icon-reach {
  0% { opacity: 0.9; transform: translateY(-50%) scale(0.3); }
  100% { opacity: 0; transform: translateY(-50%) scale(1.25); }
}

/* 11. Network: people linked, each connection lighting in turn (Services 03) */
.included-icon--network span:nth-child(1),
.included-icon--network span:nth-child(2),
.included-icon--network span:nth-child(3) {
  width: 12px;
  height: 12px;
  border: var(--line) solid var(--white);
  border-radius: 50%;
  animation: icon-fill 3s ease-in-out infinite;
}
.included-icon--network span:nth-child(1) { top: 0;    left: 22px; }
.included-icon--network span:nth-child(2) { top: 28px; left: 4px;  animation-delay: 0.35s; }
.included-icon--network span:nth-child(3) { top: 28px; left: 40px; animation-delay: 0.7s; }
.included-icon--network span:nth-child(4),
.included-icon--network span:nth-child(5) {
  top: 16px;
  width: 22px;
  height: 2px;
  background: rgba(255, 255, 255, 0.45);
  transform-origin: left center;
}
.included-icon--network span:nth-child(4) { left: 12px; rotate: -42deg; }
.included-icon--network span:nth-child(5) { left: 34px; rotate: 42deg; }

@media (prefers-reduced-motion: reduce) {
  .included-icon span { animation: none !important; }
}


/* ---------- 10. Why Alva (classes: .different) ----------
   Navy fading to Rich Black, as on the business cards. The convergence
   (Marketing, Sales and Operations meeting at Value), then two points
   (Jake, 12 Nov 2026: the founders’ quote moved to 10b). */
.different {
  background:
    linear-gradient(180deg, var(--navy) 0%, rgba(var(--navy-rgb), 0) 40%),   /* navy at the top, fading to Rich Black */
    var(--ground-dark);
  color: var(--white);
}
.different__inner {
  display: flex;
  flex-direction: column;
  gap: var(--head-gap) !important;
}

/* Two points */
.different__points {
  display: flex;
  flex-direction: row;
  gap: clamp(32px, 4vw, 64px) !important;
}
.different-point {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 12px !important;
  min-width: 0;
}
.different-point__title {
  color: var(--white);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 700;
  letter-spacing: var(--track-heading);
  line-height: var(--leading-heading);
}
.different-point__body {
  --measure: 34em; max-width: var(--measure);   /* a comfortable line when the points stack */
  color: var(--white);
  font-weight: 500;                      /* body on dark grounds: Medium */
  font-size: 16px;
  line-height: var(--leading-body);
  text-wrap: pretty;
}

@media (max-width: 1024px) {
  .different__points { flex-direction: column; align-items: stretch; }
}

/* The convergence (Jake, 12 Nov 2026): Marketing, Sales and Operations on
   the left, each with a thin line that runs across and bends in, meeting at
   Value in its glowing Cyan box. js/why.js sets --draw (how much of the lines
   is drawn) and --arrive (Value lighting up) from the scroll, 0 to 1. Both
   default to 1, so without the script (reduced motion, the Elementor editor)
   it simply shows, drawn. The SVG’s three rows match the three items: each
   item is 100px tall, the lines’ viewBox is 300 tall. */
.converge {
  --draw: 1;
  --arrive: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.converge__items {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  width: clamp(200px, 21vw, 290px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.converge__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px !important;
  height: 100px;
}
.converge__label {
  color: var(--white);
  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 700;
  letter-spacing: var(--track-heading);
  line-height: 1.1;
}
.converge__verb {
  color: var(--silver);                  /* 4.75:1 on Navy, higher on Black */
  font-size: 16px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.3;
}
.converge__lines {
  flex: 1 1 auto;
  min-width: 120px;
  height: 300px;
  margin-left: 24px;
}
.converge__svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.converge__svg path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.7);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 1 1;                 /* each path is 1 long (pathLength), so --draw is the share drawn */
  stroke-dashoffset: calc(1 - var(--draw));
}
.converge__svg--down { display: none; }
.converge__result {
  flex: 0 0 auto;
  padding: 16px 26px 14px;
  border: 1.5px solid var(--cyan);       /* accents are never fills: a Cyan outline that glows */
  color: var(--white);
  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 700;
  letter-spacing: var(--track-heading);
  line-height: var(--leading-heading);
  opacity: calc(0.2 + 0.8 * var(--arrive));
  box-shadow: 0 0 calc(var(--arrive) * 60px) calc(var(--arrive) * 4px) rgba(var(--cyan-rgb), 0.3);
}

/* Phones: the three sit side by side, their lines run down and join, and
   Value sits underneath */
@media (max-width: 767px) {
  .converge { flex-direction: column; align-items: stretch; }
  .converge__items { flex-direction: row; width: auto; }
  .converge__item {
    flex: 1 1 0;
    align-items: center;
    /* The three are stretched to the tallest, and the base rule centres each
       one's contents. "delivers the promise" wraps to two lines here while the
       other two do not, so centring pushed Operations' label up out of line
       with Marketing and Sales (Jake, on his phone, 18 Nov 2026). Start them
       from the top instead: the labels line up and the verbs hang below. */
    justify-content: flex-start;
    height: auto;
    min-width: 0;
    text-align: center;
  }
  .converge__label { font-size: clamp(19px, 5.4vw, 24px); }
  .converge__verb { font-size: 14px; }
  .converge__lines { height: 120px; margin: 16px 0; min-width: 0; }
  .converge__svg--across { display: none; }
  .converge__svg--down { display: block; }
  .converge__result { align-self: center; }
}

/* ---------- 10b. Who’s behind Alva (class .founders) ----------
   White. The team photo beside the first line of the About Us story, the
   founders’ quote and a link to the About page (Jake, 12 Nov 2026). */
.founders__row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(40px, 6vw, 96px) !important;
}
.founders__photo {
  flex: 1 1 45%;
  min-width: 0;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-frame);
  object-fit: cover;
}
.founders__copy {
  flex: 1 1 55%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.founders__lede {
  --measure: 30em; max-width: var(--measure);
  margin-top: 20px;
  color: var(--navy);
  font-size: var(--size-lead);
  font-weight: 500;
  line-height: var(--leading-body);
}
.founders__quote { margin: clamp(28px, 3vw, 40px) 0 0; }
.founders__quote-text {
  --measure: 26em; max-width: var(--measure);
  color: var(--navy);
  font-size: clamp(20px, 1.9vw, 27px);
  font-style: italic;                    /* quotations: Italic */
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: var(--leading-body);
}
.founders__figure {                      /* a Silver underline, as on About: a graphic detail, not text */
  text-decoration: underline;
  text-decoration-color: var(--silver);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.22em;
  text-decoration-skip-ink: none;
}
.founders__by {
  margin-top: 16px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: var(--track-body);
}
.founders__cta { margin-top: clamp(28px, 3vw, 40px); }

@media (max-width: 1024px) {
  .founders__row { flex-direction: column; align-items: stretch; }
  .founders__photo { aspect-ratio: 4 / 3; }
}

/* ---------- 11. FAQs ----------
   Numbered rows; the open question lifts into a white panel. */
.faqs__inner {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: clamp(40px, 8vw, 128px) !important;
}
.faqs__aside {
  flex: 0 0 30%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 36px !important;
  position: sticky;
  top: calc(var(--nav-height) + 48px);
}
.faqs__heading {
  color: var(--navy);
  font-size: clamp(40px, 5.2vw, 72px);
  font-weight: 700;
  letter-spacing: var(--track-heading);
  line-height: var(--leading-heading);
}

.faq-list {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 10px !important;
  counter-reset: faq;
}
.faq-item,
.faq-list .e-n-accordion-item {
  counter-increment: faq;
  background: var(--white);
  transition: box-shadow var(--duration-hover) ease;
}
.faq-item:hover,
.faq-list .e-n-accordion-item:hover { box-shadow: var(--shadow-md); }
.faq-item[open],
.faq-list .e-n-accordion-item[open] { box-shadow: var(--shadow-lg); }

.faq-item__question,
.faq-list .e-n-accordion-item-title {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px !important;
  min-height: 96px;
  padding: 24px 76px 24px 28px;
  color: var(--navy);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
  transition: padding var(--duration-hover) var(--ease);
}
.faq-item__question::-webkit-details-marker,
.faq-list .e-n-accordion-item-title::-webkit-details-marker { display: none; }

/* The number, from a CSS counter */
.faq-item__question::before,
.faq-list .e-n-accordion-item-title::before {
  content: counter(faq, decimal-leading-zero);
  flex: 0 0 2.4em;
  color: var(--navy);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: var(--track-body);
  transition: color var(--duration-hover) ease;
}
.faq-item__question:hover::before,
.faq-item[open] .faq-item__question::before,
.faq-list .e-n-accordion-item-title:hover::before,
.faq-list .e-n-accordion-item[open] .e-n-accordion-item-title::before { color: var(--navy); }

/* Round plus button that fills navy and turns into a minus when open.
   Drawn with two background gradients so it needs no extra markup. */
.faq-item__question::after,
.faq-list .e-n-accordion-item-title::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border: 1px solid rgba(var(--navy-rgb), 0.35);
  border-radius: 50%;
  background:
    linear-gradient(var(--navy), var(--navy)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--navy), var(--navy)) center / 1.5px 14px no-repeat;
  transition: background-color var(--duration-hover) ease, border-color var(--duration-hover) ease, transform 400ms var(--ease);
}
.faq-item__question:hover::after,
.faq-list .e-n-accordion-item-title:hover::after { border-color: var(--navy); }
.faq-item[open] .faq-item__question::after,
.faq-list .e-n-accordion-item[open] .e-n-accordion-item-title::after {
  border-color: var(--navy);
  background:
    linear-gradient(var(--white), var(--white)) center / 14px 1.5px no-repeat,
    var(--navy);
  transform: rotate(180deg);
}

.faq-item__answer {
  padding: 0 76px 36px calc(28px + 14px * 2.4 + 24px);   /* lines up with the question text */
  color: var(--navy);
  font-size: 17px;
  line-height: var(--leading-body);
}
.faq-item__answer p { max-width: 40em; }

/* Smooth open and close where the browser supports it */
@supports (interpolate-size: allow-keywords) {
  .faq-list { interpolate-size: allow-keywords; }
  .faq-item::details-content,
  .faq-list .e-n-accordion-item::details-content {
    block-size: 0;
    overflow: hidden;
    transition: block-size 450ms var(--ease), content-visibility 450ms allow-discrete;
  }
  .faq-item[open]::details-content,
  .faq-list .e-n-accordion-item[open]::details-content { block-size: auto; }
}

@media (max-width: 1024px) {
  .faqs__inner { flex-direction: column; }
  .faqs__aside { flex: none; position: static; gap: 28px !important; }
  .faq-list { width: 100%; }
  .faq-item__question,
  .faq-list .e-n-accordion-item-title { gap: 14px !important; padding: 20px 64px 20px 20px; min-height: 84px; }
  .faq-item__question::after,
  .faq-list .e-n-accordion-item-title::after { right: 12px; }
  .faq-item__answer { padding: 0 20px 28px calc(20px + 14px * 2.4 + 14px); }
}
@media (max-width: 767px) {
  .faq-item__answer { padding-left: 20px; }
}

/* ---------- 12. Contact ----------
   A contained navy card on the soft grey wash, so the page ends calm after the dark
   middle chapter. Square corners, like every block. */
.contact { padding-top: 0; }

.contact__card {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 88px) clamp(24px, 5vw, 72px);   /* equal top and bottom */
  background: var(--ground-dark);
  color: var(--white);
}

.contact__main {
  display: flex;
  flex-direction: row;
  align-items: center;                   /* heading and right column centred on each other */
  justify-content: space-between;
  gap: clamp(40px, 5vw, 72px) !important;
}
.contact__head { flex: 1 1 58%; }
.contact__heading {
  color: var(--white);
  font-size: clamp(44px, 6.1vw, 88px);
  font-weight: 700;
  letter-spacing: var(--track-heading);
  line-height: var(--leading-heading);
}
.contact__body {
  flex: 0 1 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px !important;
}
.contact__text {
  color: var(--white);
  font-weight: 500;                      /* body on dark grounds: Medium */
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: var(--leading-body);
}
.contact__email { color: var(--silver); font-size: 16px; }

/* Contact page: the card follows the White intro, so it needs space above,
   and it carries the place under the email */
.contact--page { padding-top: clamp(56px, 7vw, 104px); }

/* Contact page, 16 Nov 2026 (Jake): the whole page is one continuous ground
   rather than a navy card inset on a wash section. Same gradient as the hero
   and the About intro, so it flows on from the navy nav with no seam.
   Only contact.html carries `contact--full`, so the shared "Book a time" card
   on Home, Content and the article template is untouched.
   The padding is written on the double class because `.contact` sets its own
   padding-bottom further down the file (in the Footer section), which would
   otherwise win on source order. */
/* On Home and Content `id="contact"` sits on the padded section, so a jump
   lands with room above it. Here it sits on the card itself, so without this
   the heading lands flush against the fixed nav (Jake, on his phone,
   18 Nov 2026). `scroll-padding-top` on <html> only clears the nav. */
.contact--full .contact__card { scroll-margin-top: clamp(32px, 5vw, 56px); }
.contact.contact--full {
  position: relative;
  overflow: hidden;
  padding-top: clamp(64px, 9vw, 128px);
  padding-bottom: clamp(80px, 9vw, 136px);
  background:
    linear-gradient(180deg, var(--navy) 0%, rgba(var(--navy-rgb), 0) 45%),
    var(--ground-dark);
  color: var(--white);
}
.contact--full::before {                 /* the business card's faint “a”, as the hero and the About intro */
  content: "";
  position: absolute;
  left: auto;
  right: -6%;
  bottom: -70%;
  width: min(60vw, 760px);
  aspect-ratio: 1;
  background: url("../assets/logos/alva-duo-primary-icon.svg") center / contain no-repeat;
  opacity: 0.035;
  pointer-events: none;
}
.contact--full > * { position: relative; z-index: 1; }
.contact--full .contact__card {          /* the card stops being a card: the page is the ground now */
  padding: 0;
  background: none;
  overflow: visible;
}
.contact--full .contact__heading {       /* this is the page's h1, so match About and Content */
  font-size: var(--size-headline);
}
/* Three classes deliberately: .contact__head .contact__text sets 16px further
   down the file (section 12b), and a page heading needs more air than the
   card's does. */
.contact--full .contact__head .contact__text {
  --measure: 28em; max-width: var(--measure);
  margin-top: clamp(20px, 2.2vw, 30px);
}
/* .eyebrow is Navy, which can't be seen here. The footer already solves this
   with .site-footer__label; same move for the Contact page. */
.contact__label { margin-bottom: 4px; color: var(--silver); }   /* 4.75:1 on Navy */
.contact__details {
  display: flex;
  flex-direction: column;
  gap: 6px !important;
  margin-top: clamp(32px, 4vw, 52px);    /* clear of the line above it */
}
.contact__place { color: var(--silver); font-size: 16px; }

/* Button arrow, drawn in CSS so the button text stays plain */
a.alva-btn--arrow,
.elementor-widget-button.alva-btn--arrow .elementor-button-content-wrapper { display: inline-flex;
  flex-direction: row; align-items: center; gap: 14px !important; }
a.alva-btn--arrow::after,
.elementor-widget-button.alva-btn--arrow .elementor-button-content-wrapper::after {   /* a small chevron */
  content: "";
  width: 8px;
  height: 8px;
  margin-left: -2px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--duration-hover) var(--ease);
}
a.alva-btn--arrow:hover::after,
.elementor-widget-button.alva-btn--arrow .elementor-button:hover .elementor-button-content-wrapper::after { transform: translateX(3px) rotate(45deg); }

@media (max-width: 1024px) {
  .contact__main { flex-direction: column; align-items: flex-start; }
  .contact__body { flex: none; }
  /* The card's side padding used to cap the form here; on the full-page
     Contact there is no card, so the form needs its own comfortable width. */
  .contact--full .contact__body { max-width: 520px; }
}

/* ---------- 12b. Contact form ----------
   The Get in touch card: the same navy card chrome as the Home and Content
   “Book a time” card (section 12 above), holding a lead form instead of a
   booking button (Jake, 16 Nov 2026). Class names match Elementor Pro’s own
   Form widget (elementor-field-group, elementor-field, elementor-button), so
   one set of rules styles both this static page and the real WordPress form,
   the same way section 11 already styles the Nested Accordion’s own classes
   for the FAQ list. */
.contact--page .contact__main { align-items: flex-start; }   /* the heading sits at the top of the taller form, not centred on it */
.contact--page .contact__body { width: 100%; }   /* align-items:flex-start sizes a column item to its content otherwise, which can differ by a few px from Elementor's own extra wrapper markup */
.contact__head .contact__text { margin-top: 16px; }           /* .contact__text is reused here, next to the heading rather than next to a button */
@media (min-width: 1025px) {
  .contact--page .contact__body { flex: 1 1 380px; }   /* more room than the booking button needed */
}

.contact-form { width: 100%; }
.contact-form .elementor-form-fields-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px !important;
}
.contact-form .elementor-form-fields-wrapper,
.contact-form .elementor-field-group { margin: 0 !important; }   /* Elementor's own field spacing, replaced by the gap below */
.contact-form .elementor-field-group {
  display: flex;
  flex-direction: column;
  align-items: stretch;   /* Elementor centres fields on narrow screens by default */
  gap: 8px !important;
}
.contact-form .elementor-field-group > label {
  color: var(--silver);                  /* 4.75:1 on Navy, a supporting label, as .contact__place */
  font-size: 14px;
  font-weight: 500;
  letter-spacing: var(--track-body);
  line-height: 1.4;
}
.contact-form__optional { font-weight: 400; }
.contact-form .elementor-field {
  width: 100%;
  min-height: var(--tap);
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-button);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  letter-spacing: var(--track-body);
  transition: border-color var(--duration-fade) ease, background-color var(--duration-fade) ease;
}
.contact-form .elementor-field::placeholder { color: rgba(255, 255, 255, 0.62); }   /* 5.2:1 on the field background, AA for normal text */
.contact-form textarea.elementor-field {
  min-height: 120px;
  padding: 12px 16px;
  resize: vertical;
  font-family: var(--font);
  line-height: var(--leading-body);
}
.contact-form .elementor-field:hover { border-color: rgba(255, 255, 255, 0.4); }
.contact-form .elementor-field:focus { border-color: var(--cyan); background: rgba(255, 255, 255, 0.1); }

/* Dropdown (Annual revenue). Elementor wraps a select in its own div
   and puts `.elementor-field` on that WRAPPER, giving it the box above, while
   the <select> inside gets only `.elementor-field-textual`. So the wrapper is
   already the right-looking box and the control just has to fill it
   invisibly. The caret is drawn here rather than using Elementor's icon font,
   which this theme doesn't load. */
.contact-form .elementor-select-wrapper {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: stretch;                  /* the select fills the box, so both end up var(--tap) tall */
  padding: 0;                            /* the padding moves onto the select */
}
.contact-form .select-caret-down-wrapper { display: none; }
.contact-form .elementor-select-wrapper::after {   /* a small chevron, as the button arrow */
  content: "";
  position: absolute;
  /* top/bottom 0 with margin auto centres it whatever the field's height is.
     Without them it falls back to its static position, which in a stretch
     flex row is the top of the box. The small lift is optical: the chevron's
     ink sits in the lower half of its own square once rotated. */
  top: 0;
  bottom: 0;
  right: 18px;
  width: 7px;
  height: 7px;
  margin: auto 0;
  border-right: 1.5px solid var(--silver);
  border-bottom: 1.5px solid var(--silver);
  transform: translateY(-2px) rotate(45deg);
  pointer-events: none;
}
.contact-form .elementor-select-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-height: 0;                         /* the wrapper already carries var(--tap), border included */
  padding: 0 44px 0 16px;                /* room for the chevron on the right */
  border: 0;
  border-radius: var(--radius-button);
  background: none;
  color: var(--white);
  color-scheme: dark;                    /* asks the browser for a dark option list where it can */
  font-family: var(--font);
  font-size: 16px;                       /* 16px also stops iOS zooming in on focus */
  letter-spacing: var(--track-body);
  cursor: pointer;
}
/* Nothing chosen yet: "Select a range" reads as placeholder text, the same
   grey as the textarea's */
.contact-form .elementor-select-wrapper select:has(option[value=""]:checked) { color: rgba(255, 255, 255, 0.62); }
.contact-form .elementor-select-wrapper select:focus { outline: none; }   /* the wrapper takes the ring instead */
.contact-form .elementor-select-wrapper:focus-within { border-color: var(--cyan); background: rgba(255, 255, 255, 0.1); }
/* The open list is drawn by the operating system, not by the page, so it
   can't inherit white-on-navy: set a pair that reads on every platform. */
.contact-form .elementor-select-wrapper option { color: var(--navy); background: var(--white); }
/* the Cyan focus-visible ring itself already comes from .contact__card (section 3) */

.contact-form .elementor-field-type-submit { margin-top: 4px; }
/* The submit button reads like alva-btn--light (white on Navy), full width to match the fields */
.contact-form .elementor-button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 28px;
  border: 1px solid var(--white);
  border-radius: var(--radius-button);
  background: var(--white);
  color: var(--navy);                    /* 12.66:1 */
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: var(--track-body);
  cursor: pointer;
  transition: background-color var(--duration-fade) ease, border-color var(--duration-fade) ease, box-shadow var(--duration-fade) ease, transform var(--duration-fast) ease;
}
.contact-form .elementor-button:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px var(--cyan), 0 0 22px rgba(var(--cyan-rgb), 0.4);
}
.contact-form .elementor-button:active { transform: translateY(1px); }

/* ---------- 13. Footer ----------
   Navy. Compact: one row of the Duo Primary tagline logo and the mission
   line, page links, contact details and a button, then a slim Rich Black
   strip with copyright and back to top. */
.contact { padding-bottom: clamp(32px, 4vw, 56px); }
.contact + .faqs { padding-top: calc(var(--section-space) - clamp(32px, 4vw, 56px)); }   /* card to FAQs: one section’s space in all */

.site-footer {
  padding: clamp(40px, 4.5vw, 56px) 0 0;
  background: var(--navy);
  color: var(--white);
}

.site-footer__main {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px 48px !important;
  padding-bottom: clamp(36px, 4.5vw, 52px);
}
.site-footer__brand {
  --logo: 180px;                         /* wide enough to keep the tagline readable */
  flex: 0 1 340px;
  display: flex;
  flex-direction: column;
  gap: calc(var(--logo) * 0.293) !important;   /* the logo's clear space: the height of its “a” (guidelines p.14) */
}
.site-footer__logo { display: block; }
.site-footer__logo img { width: var(--logo); height: auto; }
.site-footer__mission {
  --measure: 21em; max-width: var(--measure);
  text-wrap: balance;                    /* even lines, no word left on its own */
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  line-height: var(--leading-body);
}

.site-footer__links {
  display: flex;
  flex-direction: column;
}
.site-footer__link,
.site-footer__links .elementor-item {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  min-height: var(--tap);
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.site-footer__link:hover,
.site-footer__link[aria-current],
.site-footer__links .elementor-item:hover,
.site-footer__links .elementor-item[aria-current] { text-decoration: underline; text-decoration-color: var(--cyan); text-decoration-thickness: 1.5px; text-underline-offset: 5px; }

.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 8px !important;
  padding-top: 12px;
}
.site-footer__label { margin-bottom: 4px; color: var(--silver); }   /* 4.75:1 on Navy */
.site-footer__email,
.site-footer__place { color: var(--white); font-size: 16px; font-weight: 500; }

/* The email is a mailto link, in the footer and in the Book a time card.
   In WordPress the class sits on the Text Editor widget and the link is
   inside it, so targeting the link covers the static build and Elementor
   with one rule. Full tap height, underline on hover like the footer links. */
.site-footer__email a,
.contact__email a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  text-decoration: none;
  word-break: break-word;
}
.site-footer__email a:hover,
.contact__email a:hover {
  text-decoration: underline;
  text-decoration-color: var(--cyan);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
}
.site-footer__cta { margin-top: 4px; }

.site-footer__band { background: var(--black); }   /* Rich Black */
.site-footer__bottom {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px !important;
  padding-top: 16px;
  padding-bottom: 16px;
}
.site-footer__copyright { color: var(--silver); font-size: 14px; }   /* 7.87:1 on Rich Black */

/* Round back-to-top button with a chevron, no visible text */
.site-footer__top-link {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: var(--tap);
  height: var(--tap);
  border: 1px solid rgba(var(--silver-rgb), 0.5);
  border-radius: 50%;
  transition: border-color var(--duration-fade) ease, background-color var(--duration-fade) ease;
}
.site-footer__top-link::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 9px; height: 9px;
  margin: -2px 0 0 -5px;
  border-top: 1.5px solid var(--white);
  border-left: 1.5px solid var(--white);
  transform: rotate(45deg);
}
.site-footer__top-link:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }

@media (max-width: 1024px) {
  .site-footer__main { flex-wrap: wrap; }
  .site-footer__brand { flex-basis: 100%; }
}
@media (max-width: 767px) {
  .site-footer__main { flex-direction: column; gap: 24px !important; }
  .site-footer__contact { padding-top: 0; }
}

/* ---------- 14. Inner pages ---------- */

/* ---------- 14b. About page: Our Story ----------
   The About Us story in four chapters. Each chapter is one standard
   section: heading, paragraph, and sometimes a photo.
   Grounds alternate (White, soft grey wash, Navy) so the page reads as a journey
   without separator lines.
   Few text sizes: display (Our story. and Alignment creates value., the same
   as the home headline), the line under OUR STORY (the same as the home
   hero summary), chapter headings, and body. */
.story-intro,
.story {
  --story-display: var(--size-headline);   /* same as the home headline */
  --story-heading: clamp(28px, 3.2vw, 44px);
  --story-body: clamp(17px, 1.35vw, 19px);
}
/* The page intro (About, Content, Contact): navy fading to Rich Black with
   the faint “a”, a shorter version of the home hero (Jake, 13 Nov 2026) */
.story-intro {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 9vw, 128px) 0 clamp(56px, 7vw, 104px);
  background:
    linear-gradient(180deg, var(--navy) 0%, rgba(var(--navy-rgb), 0) 45%),   /* flows on from the navy nav */
    var(--ground-dark);
  color: var(--white);
}
.story-intro::before {                   /* the business card's faint “a”, low in the corner */
  content: "";
  position: absolute;
  left: auto;
  right: -6%;
  bottom: -120%;
  width: min(60vw, 760px);
  aspect-ratio: 1;
  background: url("../assets/logos/alva-duo-primary-icon.svg") center / contain no-repeat;
  opacity: 0.035;
  pointer-events: none;
}
.story-intro > * { position: relative; z-index: 1; }

/* Content and Services: the faint “a” read as a circle here too, for the same
   reason as the hero before 16 Nov 2026 — the stem on the artwork's right edge
   was off screen. Keep `right` positive so that edge stays on. Smaller than the
   hero's because these sections are about half the height and clip what
   overflows (Jake, 16 Nov 2026). Was `--hub` when only Content used it; renamed
   to `--right` on 17 Nov 2026 when Services took the same treatment. About and
   Thanks keep the low-corner version above. */
.story-intro--right::before {
  left: auto;
  right: 2%;
  bottom: -8%;
  width: min(34vw, 430px);
}   /* above the “a” and the band below */
/* About: the founders photo sits half on the navy and half on the White
   below it (a band of White as tall as the space under the photo plus half
   the photo, which is as wide as the container: 12:5, or 4:3 on tablets
   and phones, so half its height is 5/24 or 3/8 of its width) */
.story-intro { --photo-half: 5 / 24; }
.story-intro:has(.story__photo--wide)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(clamp(56px, 7vw, 104px) + (min(100vw, var(--max-width)) - 2 * var(--gutter)) * var(--photo-half));
  background: var(--white);
}
.story-intro mark.placeholder { border-color: var(--silver); color: var(--white); }
.story-intro__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0 !important;
}
.story-intro__heading {
  color: var(--white);
  font-size: var(--story-display);
  font-weight: 700;
  letter-spacing: var(--track-heading);
  line-height: var(--leading-heading);
}
.story-intro__lede {                    /* the line under OUR STORY */
  --measure: 34em; max-width: var(--measure);
  margin-top: clamp(28px, 4vh, 44px);     /* as the home hero summary */
  color: var(--white);                    /* as the home hero summary */
  font-size: var(--size-lead);
  font-weight: 500;                       /* Medium body on dark grounds */
  line-height: var(--leading-body);
  text-wrap: pretty;                      /* no single word left on the last line */
}

/* Photos (the Image widget in Elementor; the bridge makes the image fill) */
.story__photo {
  width: 100%;
  min-width: 0;
  border-radius: var(--radius-frame);
  object-fit: cover;
}
.story__photo--wide {
  margin-top: clamp(40px, 6vw, 88px);
  aspect-ratio: 12 / 5;
}
.story__photo--tall {
  flex: 0 0 40%;
  aspect-ratio: 4 / 5;
  /* Chapter one's photo is a portrait shot. On phones and tablets the frame
     turns landscape (4:3 below), and a centred crop would slice the wall
     screen in half, so the crop sits higher: that keeps the whole screen and
     both faces. On wide screens the frame is nearly the photo's own shape,
     so this barely moves anything. */
  object-position: center 31%;
}

/* A chapter: copy beside a photo */
.story__row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(40px, 7vw, 120px) !important;
}
.story__copy {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0 !important;
  min-width: 0;
}
.story__heading {
  --measure: 14em; max-width: var(--measure);
  margin-bottom: clamp(24px, 3vw, 40px);
  color: var(--navy);
  font-size: var(--story-heading);
  font-weight: 700;
  letter-spacing: var(--track-heading);
  line-height: var(--leading-heading);
}
.story__text {
  --measure: 34em; max-width: var(--measure);
  color: var(--navy);
  font-size: var(--story-body);
  line-height: var(--leading-body);
}
.story__figure {                        /* the 20X figure, as in the home page quote */
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--silver);  /* Silver as a graphic accent, as in the logo */
  text-decoration-thickness: 3px;
  text-underline-offset: 0.22em;
  text-decoration-skip-ink: none;
}

/* Chapter two: navy fading to Rich Black (as Why Alva).
   A three-line statement, then the paragraph to the right. */
.story--navy { background: var(--ground-dark); }
.story__stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0 !important;
}
.story__statement {
  color: var(--white);
  font-size: var(--story-display);
  font-weight: 700;
  letter-spacing: var(--track-heading);
  line-height: var(--leading-heading);
}
.story__line { display: block; }
.story__text--on-navy { color: var(--white); font-weight: 500; }   /* body on dark grounds: Medium */
.story__text--aside {
  align-self: flex-end;
  --measure: 32em; max-width: var(--measure);
  margin-top: clamp(40px, 5vw, 72px);
}
@media (min-width: 1025px) {            /* wide: the paragraph rises to sit beside VALUE */
  .story__text--aside { margin-top: calc(var(--story-display) * -0.98 + 24px); }
}

/* The name moment plays once, after the heading has faded in:
   the rest dims to Silver while Al and va stay white, in the logo's own
   colours, then all back to white.
   Needs .reveal-ready, so reduced motion and the Elementor editor stay still. */
@keyframes story-name-dim {
  0%, 100% { color: var(--white); }
  25%, 70% { color: var(--silver); }
}
.reveal-ready .story__statement.is-in { animation: story-name-dim 2600ms ease 900ms 1 both; }
.story__key { color: var(--white); }

/* Chapter three: photo on the left on wide screens */
.story__row--reverse { flex-direction: row-reverse; }
.story__photo--landscape {
  flex: 0 0 46%;
  aspect-ratio: 4 / 3;
}

/* Chapter four: the close, left aligned like every block (the guidelines
   set all type left aligned), ending on the button */
.story__heading--close {
  --measure: 18em; max-width: var(--measure);
}
.story__stack--close .story__text { --measure: 36em; max-width: var(--measure); }
a.story__cta,
.elementor-widget-button.story__cta { margin-top: clamp(36px, 4vw, 56px); }
a.thank-you__cta,
.elementor-widget-button.thank-you__cta { margin-top: clamp(36px, 4vw, 56px); }

@media (max-width: 1024px) {
  .story__row,
  .story__row--reverse { flex-direction: column; align-items: stretch; }
  .story__photo--landscape { flex: none; }
  .story__text--aside { align-self: stretch; }
  .story__photo--wide,
  .story__photo--tall { flex: none; aspect-ratio: 4 / 3; }
  .story-intro { --photo-half: 3 / 8; }   /* the wide photo is 4:3 here */
}

/* ---------- 14c. Content hub ----------
   Filter bar, then a grid of article and video cards (white tiles on
   the soft grey wash). js/content-filter.js hides the cards that don’t match the chosen
   topic and format, and glides the rest into line. The intro reuses the
   About intro classes (story-intro). */
.content-hub { padding-top: clamp(48px, 6vw, 80px); }
.content-hub__inner {
  --grid-gap: clamp(20px, 2.4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 0 !important;
}

/* Filter bar: topic pills on the left, the format switch on the right */
.content-filter {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px !important;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.content-filter__group {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px !important;
}
.content-filter__button,
.content-filter__switch {
  min-height: var(--tap);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color var(--duration-fade) ease, border-color var(--duration-fade) ease, color var(--duration-fade) ease, transform var(--duration-fast) ease;
}
.content-filter__button {
  padding: 10px 20px;
  border-color: rgba(var(--navy-rgb), 0.22);
  background: var(--white);
  color: var(--navy);
}
.content-filter__button:hover { border-color: var(--navy); }
.content-filter__button[aria-pressed="true"] {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);                   /* 12.9:1 */
}
.content-filter__group--formats {
  gap: 0 !important;
  padding: 4px;
  border-radius: var(--radius-pill);
  background: var(--white);
}
.content-filter__switch {
  min-height: var(--tap);
  padding: 8px 16px;
  background: transparent;
  color: var(--navy);
}
.content-filter__switch:hover { color: var(--navy); }
:is(.content-filter__button, .content-filter__switch):active { transform: translateY(1px); }   /* pressed */
.content-filter__switch[aria-pressed="true"] {
  background: var(--navy);
  color: var(--white);                   /* 12.66:1; matches the chosen topic */
  font-weight: 700;
}

/* Read out by screen readers only (alva-sr-only works on any element or
   widget, for example a heading that only screen readers need) */
.alva-sr-only,
.content-hub__status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.content-hub__empty { padding: 24px 0; }

/* The grid: three cards a row, two on tablets, one on phones */
.content-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: var(--grid-gap) !important;
}
.content-card {
  flex: 0 0 calc((100% - 2 * var(--grid-gap)) / 3);
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 12px;
  background: var(--white);
  color: inherit;
  text-decoration: none;
  transition: box-shadow var(--duration-hover) ease, opacity var(--duration-fade) ease, transform var(--duration-fade) ease;
}
.content-card[hidden] { display: none; }
.content-card:hover { box-shadow: var(--shadow-card); }
.content-card.is-leaving { opacity: 0; transform: scale(0.96); }

.content-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-media);
}
.content-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}
.content-card:hover .content-card__image { transform: scale(1.04); }

/* Video: a white play circle and the running time */
.content-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  background: var(--white);
  transition: transform var(--duration-hover) var(--ease);
}
.content-card__play::after {           /* the triangle */
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -10px 0 0 -6px;
  border-style: solid;
  border-width: 10px 0 10px 17px;
  border-color: transparent transparent transparent var(--navy);
}
.content-card:hover .content-card__play { transform: scale(1.08); }
.content-card__duration {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 4px 8px;
  border-radius: var(--radius-chip);
  background: rgba(0, 0, 0, 0.75);      /* Rich Black */
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
}

.content-card__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px !important;
  padding: 20px 8px 8px;
}
.content-card__meta {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 4px 14px !important;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: var(--track-body);
  line-height: 1.4;
}
.content-card__topic { color: var(--navy); }
.content-card__format { color: var(--navy); font-weight: 400; }   /* Regular, so the topic leads */
.content-card__title {
  color: var(--navy);
  font-size: clamp(20px, 1.6vw, 23px);
  font-weight: 700;
  letter-spacing: var(--track-heading);
  line-height: var(--leading-heading);
}
.content-card__text {
  color: var(--navy);
  font-size: 16px;
  line-height: var(--leading-body);
}
.content-card__more {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 12px !important;
  margin-top: auto;
  padding-top: 8px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 500;
}
.content-card__more::after {           /* the same chevron as the buttons */
  content: "";
  width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--duration-hover) var(--ease);
}
.content-card:hover .content-card__more::after { transform: translateX(3px) rotate(45deg); }

/* Featured: the first card, full width, picture beside the words */
.content-card--featured {
  flex-basis: 100%;
  flex-direction: row;
  align-items: stretch;
}
.content-card--featured .content-card__media { flex: 0 0 58%; }
.content-card--featured .content-card__body {
  justify-content: center;
  gap: 14px !important;
  padding: clamp(24px, 3vw, 48px);
}
.content-card--featured .content-card__title { font-size: clamp(24px, 2.2vw, 30px); line-height: var(--leading-heading); }
.content-card--featured .content-card__more { margin-top: 8px; }

@media (max-width: 1024px) {
  .content-card { flex-basis: calc((100% - var(--grid-gap)) / 2); }
  .content-card--featured { flex-basis: 100%; }
}
@media (max-width: 1024px) {
  .content-filter { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; }   /* nowrap: a wrapping column would size itself to the widest row */
  .content-card--featured { flex-direction: column; }
  .content-card--featured .content-card__media { flex: none; }
  .content-card--featured .content-card__body { padding: 20px 8px 8px; }
}
@media (max-width: 767px) {
  .content-card { flex-basis: 100%; }
  /* Topics: one row that swipes sideways, running to the screen edge */
  .content-filter { align-items: stretch; }
  .content-filter__group--topics {
    min-width: 0;
    flex-wrap: nowrap;
    margin: 0 calc(var(--gutter) * -1);
    padding: 0 var(--gutter);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .content-filter__group--topics::-webkit-scrollbar { display: none; }
  .content-filter__button { flex: 0 0 auto; white-space: nowrap; }
  .content-filter__group--formats { align-self: flex-start; }
}

/* ---------- 14d. Article ----------
   One article or video post (WordPress: the Single Post template). A
   narrow reading column, the photo at full container width, then “More
   on this topic” using the hub cards. The body is WordPress post content,
   so it is the one place we style the tags inside a class (.article__body p). */
.article__header {
  padding: clamp(48px, 7vw, 104px) 0 clamp(32px, 4vw, 56px);
  background: var(--white);
}
.article__header-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0 !important;
}
.article__back {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 12px !important;
  min-height: var(--tap);
  margin-bottom: clamp(16px, 2.4vw, 32px);
  color: var(--navy);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.article__back::before {               /* a chevron pointing back */
  content: "";
  width: 7px;
  height: 7px;
  border-bottom: 1.5px solid currentColor;
  border-left: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--duration-hover) var(--ease);
}
.article__back:hover::before { transform: translateX(-3px) rotate(45deg); }
.article__meta { margin-bottom: 16px; }
.article__title {
  --measure: 18em; max-width: var(--measure);
  color: var(--navy);
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 700;
  letter-spacing: var(--track-heading);
  line-height: var(--leading-heading);
}
.article__subheading {
  --measure: 34em; max-width: var(--measure);
  margin-top: clamp(16px, 2vw, 24px);
  color: var(--navy);
  font-size: var(--size-lead);
  line-height: var(--leading-body);
}
.article__details {
  margin-top: 20px;
  color: var(--navy);
  font-size: 16px;
}

.article__photo {
  width: 100%;
  aspect-ratio: 12 / 5;
  border-radius: var(--radius-frame);
  object-fit: cover;
}

/* The reading column */
.article__body {
  --measure: 40em; max-width: var(--measure);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 88px) 0 clamp(40px, 5vw, 72px);
  color: var(--navy);
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: var(--leading-body);
}
.article__body > * + * { margin-top: 1.1em; }
.article__body h2 {
  margin-top: 2em;
  color: var(--navy);
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 700;
  letter-spacing: var(--track-heading);
  line-height: var(--leading-heading);
}
.article__body ul,
.article__body ol { padding-left: 1.2em; }
.article__body li + li { margin-top: 0.4em; }
.article__body a { color: var(--navy); text-decoration-color: var(--silver); text-underline-offset: 0.2em; }
.article__lead,
.article__body > p:first-child {
  color: var(--navy);
  font-size: var(--size-lead);
  font-weight: 500;
  line-height: var(--leading-body);
}

/* Pull quote: big navy italic words, set apart by size and space (no rules) */
.article__quote { margin: 2em 0; }
.article__quote p {
  color: var(--navy);
  font-size: clamp(22px, 2.2vw, 30px);
  font-style: italic;                    /* quotations: Inter Italic on light grounds */
  font-weight: 400;
  letter-spacing: var(--track-heading);
  line-height: 1.3;
}

/* Video: a 16:9 frame with the play circle (the player replaces it) */
.article__video {
  position: relative;
  margin: 2em 0;
}
.article__video img,
.article__video iframe,
.article__video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--radius-frame);
  object-fit: cover;
}
.article__video .content-card__play { top: calc(50% - 16px); }
.article__caption {
  margin-top: 12px;
  color: var(--navy);
  font-size: 16px;
}

/* More on this topic: three cards, or two on tablets so no card sits alone */
@media (min-width: 768px) and (max-width: 1024px) {
  .article-more .content-card:nth-child(n + 3),
  .article-more .e-loop-item:nth-child(n + 3) { display: none; }   /* second line: inside an Elementor Loop Grid */
}
.article-more__heading {
  margin-bottom: clamp(28px, 3.4vw, 44px);
  color: var(--navy);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700;
  letter-spacing: var(--track-heading);
  line-height: var(--leading-heading);
}

/* ---------- 14e. Services page ----------
   One page, three offerings, each on its own row so two never sit side by side
   (Jake, 17 Nov 2026). Each row's id is an ad destination, so a paid ad can land
   on the offering it advertised (/services/#paid-advertising).
   Grounds: navy intro, White problem band, then wash / White / wash for the
   three offerings, so no two touching bands share a ground.
   The Fractional CMO row is the flagship: one column of copy, then the whole
   How we work band from the home page (CSS 8), which brings the stage cards,
   the scroll-linked dots and the six looping icons with it. The other two rows
   are copy left, a "What you get" list right, stacking copy-first below 1025px.
   Type ramp on this page: 14 labels, 16 body, 22/18 lead, 44 headings,
   75/41 page title. Buttons keep their own 15px. */

/* The intro: a label and a two-line headline, the second line in Cyan.
   Cyan is used here and nowhere else on the page, because this is the one
   navy ground; on White and wash it would fail contrast and break the rule
   that Cyan is never a fill. */
.story-intro__line { display: block; }
.story-intro__line--accent { color: var(--cyan); }

/* The problem band: the question Alva opens with, then the periods a business
   can be in. The periods are display only, deliberately: they look like labels,
   not buttons, so nothing invites a click that does nothing. */
.problem__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(24px, 3vw, 32px);
}
.problem__heading {
  --measure: 18em; max-width: var(--measure);
  color: var(--navy);
  font-size: var(--service-heading);
  font-weight: 700;
  letter-spacing: var(--track-heading);
  line-height: var(--leading-heading);
}
.problem__text,
.problem__close {
  --measure: 34em; max-width: var(--measure);
  color: var(--navy);
  font-size: var(--size-lead);
  line-height: var(--leading-body);
  text-wrap: pretty;
}
.problem__close { font-weight: 700; }
/* The six periods: a label, then a wrapped list. The ring was tried and
   dropped (Jake, 17 Nov 2026) — this is the phone layout taken to every width.
   Holding the list to the same 34em measure as the paragraphs above is what
   makes it wrap three and three instead of running out in one line.
   A highlight travels along them one at a time, each label a fifth of the cycle
   behind the last. Only `border-color` and `box-shadow` animate. reveal.js
   rests them off screen; section 16 holds them still. */
.problem__periods-holder {
  align-self: stretch;
  width: 100%;
}
.problem__periods-label {
  --measure: 34em; max-width: var(--measure);
  margin-bottom: clamp(16px, 2vw, 20px);
  color: var(--navy);
  font-size: var(--size-lead);          /* the same size as "The answers change everything." */
  font-weight: 700;
  line-height: var(--leading-body);
}
.problem__periods {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 14px;
  max-width: 34em;
  margin: 0;
  padding: 0;
  list-style: none;
}
.problem__period {
  padding: 10px 18px;
  border: 1px solid rgba(var(--navy-rgb), 0.18);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--navy);
  font-size: 14px;
  font-weight: 500;
  line-height: var(--leading-body);
  animation: period-cycle 12s linear var(--delay, 0s) infinite;
  transition: border-color var(--duration-hover) ease, box-shadow var(--duration-hover) ease;
}
.problem__period:hover { border-color: var(--navy); box-shadow: var(--shadow-md); }
.problem__periods .problem__period:nth-child(1) { --delay:   0s; }
.problem__periods .problem__period:nth-child(2) { --delay:  -2s; }
.problem__periods .problem__period:nth-child(3) { --delay:  -4s; }
.problem__periods .problem__period:nth-child(4) { --delay:  -6s; }
.problem__periods .problem__period:nth-child(5) { --delay:  -8s; }
.problem__periods .problem__period:nth-child(6) { --delay: -10s; }
@keyframes period-cycle {
  0%, 14%, 100% { border-color: rgba(var(--navy-rgb), 0.18); box-shadow: none; }
  4%, 10%       { border-color: var(--navy); box-shadow: var(--shadow-md); }
}
.problem__periods-holder.is-offscreen .problem__period { animation-play-state: paused; }   /* js/reveal.js */

/* One heading size for the problem band, every offering row and the closing
   statement, so the page keeps a single heading size throughout */
.problem,
.service-detail,
.services-statement { --service-heading: clamp(28px, 3.2vw, 44px); }

/* The problem band asks the question and the offerings answer it, so the join
   between them carries about one section's space rather than two stacked
   (Jake, 18 Nov 2026; same idea as .contact + .faqs on Home). The jump strip
   sits in that join, with a little more air above it than below so it reads as
   the answer to the closing line rather than a lid on the next section. */
.problem { padding-bottom: calc(var(--section-space) - clamp(20px, 2.5vw, 36px)); }
.service-jump + .service-detail { padding-top: clamp(40px, 5vw, 76px); }

/* JUMP LINKS: the three offerings, each to its section below. Squared corners
   and a chevron, so they do not read as more of the rounded, drifting period
   words in the band above. */
.service-jump__list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: clamp(12px, 1.4vw, 16px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-jump__link {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 11px 20px;
  border: 1px solid rgba(var(--navy-rgb), 0.18);
  border-radius: var(--radius-button);
  background: var(--white);
  color: var(--navy);
  font-size: 16px;
  font-weight: 600;
  line-height: var(--leading-body);
  text-decoration: none;
  transition: border-color var(--duration-hover) ease, box-shadow var(--duration-hover) ease;
}

.service-jump__link:hover,
.service-jump__link:focus-visible { border-color: var(--navy); box-shadow: var(--shadow-md); }

.service-jump__chevron {
  width: 16px;
  height: 16px;
  flex: none;
  transition: transform var(--duration-hover) ease;
}

.service-jump__link:hover .service-jump__chevron,
.service-jump__link:focus-visible .service-jump__chevron { transform: translateY(2px); }

/* An offering row */
.service-detail__inner {
  display: grid;
  gap: clamp(40px, 5vw, 72px);
}
@media (min-width: 1025px) {
  .service-detail__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    gap: clamp(48px, 6vw, 96px);
    align-items: start;
  }
}

.service-detail__heading {
  color: var(--navy);
  font-size: var(--service-heading);
  font-weight: 700;
  letter-spacing: var(--track-heading);
  line-height: var(--leading-heading);
}
.service-detail__lead {
  --measure: 34em; max-width: var(--measure);
  margin-top: clamp(20px, 2.5vw, 28px);
  color: var(--navy);
  font-size: var(--size-lead);
  line-height: var(--leading-body);
  text-wrap: pretty;
}
/* Who it suits: ruled off, so it reads as a qualifier rather than more prose */
.service-detail__suits {
  --measure: 34em; max-width: var(--measure);
  margin-top: clamp(24px, 3vw, 32px);
  padding-top: 20px;
  border-top: 1px solid rgba(var(--navy-rgb), 0.14);
  color: var(--navy);
  font-size: 16px;
  line-height: var(--leading-body);
}
.service-detail__suits-label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);     /* full navy, not a tint: a tint lands near the 4.5:1 floor */
}
.service-detail__actions {
  display: flex;
  flex-direction: row;    /* explicit: Elementor containers default to column */
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  margin-top: clamp(28px, 3.5vw, 40px);
}

/* The "What you get" list, on rows 02 and 03 */
.service-detail__panel {
  padding: clamp(28px, 3vw, 40px);
  background: var(--white);
  border: 1px solid rgba(var(--navy-rgb), 0.12);
  border-radius: var(--radius-frame);
  box-shadow: var(--shadow-md);
}
.service-detail__panel-label { margin-bottom: clamp(20px, 2.5vw, 28px); }
.service-points {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.4vw, 28px);
  margin: 0;
}
/* Fractional CMO groups its items under the three stages; the other two rows
   pass no groups and render as a plain list. Same component either way. */
.service-points__group {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.4vw, 28px);
}
.service-points__group + .service-points__group {
  padding-top: clamp(20px, 2.4vw, 28px);
  border-top: 1px solid rgba(var(--navy-rgb), 0.12);
}
.service-points__group-label {
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: var(--track-body);
  line-height: var(--leading-body);
}
.service-points__when {          /* the day range beside the stage name */
  margin-left: 8px;
  font-weight: 500;
  color: var(--navy);
}
/* The same animated icons as the How we work band, on the same navy tile, so
   rows 02 and 03 read as part of the same family as 01 (Jake, 17 Nov 2026). */
.service-points__item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
}
.service-points__icon {
  flex: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 60px;
  border-radius: var(--radius-media);
  background: var(--navy);
}
.service-points__text { min-width: 0; }
.service-points__term {
  color: var(--navy);
  font-size: 16px;                      /* was 17px; one size for body and terms */
  font-weight: 700;
  letter-spacing: var(--track-body);
  line-height: var(--leading-heading);
}
.service-points__detail {
  margin: 4px 0 0;
  color: var(--navy);
  font-size: 16px;
  line-height: var(--leading-body);
}

/* The closing statement (Jake, 17 Nov 2026): a navy band to end the page on a
   word about why the three fit together, rather than a last pitch. Eyebrow and
   heading left, the statement right, as on the reference Jake sent.
   This ground is a gradient, so its class is listed in the contrast audit's
   dark-ground regex (tools/test/contrast-audit.js) or it gets measured against
   the light wash instead. */
.services-statement {
  background: var(--ground-dark);
  color: var(--white);
}
.services-statement__inner {
  display: grid;
  gap: clamp(32px, 4vw, 56px);
}
@media (min-width: 1025px) {
  .services-statement__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(48px, 6vw, 96px);
    align-items: start;
  }
}
.services-statement__heading {
  color: var(--white);
  font-size: var(--service-heading);
  font-weight: 700;
  letter-spacing: var(--track-heading);
  line-height: var(--leading-heading);
  text-wrap: balance;
}
.services-statement__body {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.5vw, 28px);
}
.services-statement__text {
  --measure: 34em; max-width: var(--measure);
  color: var(--white);
  font-size: 16px;
  font-weight: 500;                     /* body on dark grounds: Medium */
  line-height: var(--leading-body);
  text-wrap: pretty;
}
.services-statement__close {
  --measure: 34em; max-width: var(--measure);
  padding-top: clamp(20px, 2.5vw, 28px);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  font-size: var(--size-lead);
  font-weight: 500;
  line-height: var(--leading-body);
  text-wrap: pretty;
}
/* The page ends on this band (Jake, 17 Nov 2026): the shared Let's discuss card
   was removed and its button moved in here. */
.services-statement__cta { align-self: flex-start; margin-top: clamp(8px, 1.5vw, 16px); }

/* ---------- 15. Elementor bridge ----------
   Has no effect on this static build. In Elementor, a CSS class added to a
   widget sits on the widget’s outer box, not on the heading, text, button or
   image inside it, and Elementor adds default styles of its own. These rules
   pass our styles through to the inner element, so every class above works the
   same in WordPress. Load this stylesheet after Elementor’s (ELEMENTOR-NOTES). */

/* Plain-HTML sizing. Elementor makes every widget and container 100% wide,
   lets it shrink to nothing (min-width: 0) and positions it relative. The
   static build’s elements do none of that, so these put them back, at zero
   specificity: any class rule in this file still wins. (The Alva child theme
   puts Elementor’s own CSS in a lower cascade layer, so these resets apply.)
   Inside the editor, elements keep position: relative for Elementor’s handles. */
:where(.elementor-element) { width: auto; min-width: auto; }
:where(.e-con) { flex-wrap: nowrap; }   /* Elementor wraps every row on phones; ours wrap only where a class says so */
:where(body:not(.elementor-editor-active) .elementor-element) { position: static; }

/* Inter everywhere, over Elementor’s default “Roboto” kit and widget fonts */
body[class*="elementor-kit-"] {
  font-family: var(--font);
  color: var(--navy);
}
.elementor-widget-heading:is([class*="hero-"], [class*="service"], [class*="how__"], [class*="how-"], [class*="timeline"], [class*="included"], [class*="different"], [class*="problem__"], [class*="section-title"], [class*="story__"], [class*="story-intro"], [class*="align-item"], [class*="converge"], [class*="founders"], [class*="faq"], [class*="contact__"], [class*="site-footer"], [class*="site-nav"], [class*="mobile-menu"], [class*="content-"], [class*="article-"], [class*="article__"], .eyebrow),
.elementor-widget-text-editor:is([class*="hero-"], [class*="service"], [class*="how__"], [class*="how-"], [class*="timeline"], [class*="included"], [class*="different"], [class*="problem__"], [class*="section-title"], [class*="story__"], [class*="story-intro"], [class*="align-item"], [class*="converge"], [class*="founders"], [class*="faq"], [class*="contact__"], [class*="site-footer"], [class*="site-nav"], [class*="mobile-menu"], [class*="content-"], [class*="article-"], [class*="article__"], .eyebrow) {
  font-family: var(--font);
}

/* Headings and text: the inner element takes its type and colour from our class */
.elementor-widget-heading:is([class*="hero-"], [class*="service"], [class*="how__"], [class*="how-"], [class*="timeline"], [class*="included"], [class*="different"], [class*="problem__"], [class*="section-title"], [class*="story__"], [class*="story-intro"], [class*="align-item"], [class*="converge"], [class*="founders"], [class*="faq"], [class*="contact__"], [class*="site-footer"], [class*="site-nav"], [class*="mobile-menu"], [class*="content-"], [class*="article-"], [class*="article__"], .eyebrow) .elementor-heading-title,
.elementor-widget-text-editor:is([class*="hero-"], [class*="service"], [class*="how__"], [class*="how-"], [class*="timeline"], [class*="included"], [class*="different"], [class*="problem__"], [class*="section-title"], [class*="story__"], [class*="story-intro"], [class*="align-item"], [class*="converge"], [class*="founders"], [class*="faq"], [class*="contact__"], [class*="site-footer"], [class*="site-nav"], [class*="mobile-menu"], [class*="content-"], [class*="article-"], [class*="article__"], .eyebrow) :is(p, ul, ol) {
  margin: 0;
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-transform: inherit;
}

/* Card meta (topic, format): the row layout moves to the paragraph inside */
.elementor-widget-text-editor.content-card__meta p {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 4px 14px !important;
}

/* Widths: Elementor caps every widget at max-width: 100%, which would undo
   our reading widths (and let the nav button stretch). Classes that limit
   their width keep it in --measure, and this hands it back to the widget. */
.e-con > .elementor-widget,
.e-con > .e-con-inner > .elementor-widget { max-width: var(--measure, 100%); }

/* Content cards in a Loop Grid: each card sits in a wrapper (.e-loop-item),
   which js/content-filter.js hides, fades and glides instead of the card */
.content-hub .e-loop-item[hidden] { display: none; }
.content-hub .e-loop-item { transition: opacity var(--duration-fade) ease, transform var(--duration-fade) ease; }
.content-hub .e-loop-item.is-leaving { opacity: 0; transform: scale(0.96); }
.e-loop-item > .content-card { height: 100%; }   /* cards in a row stay the same height */
/* The Loop Grid lays its cards out as .content-grid does in the static
   build (three a row, two on tablets, one on phones), with the featured
   card (its own Loop Item template) across the full width */
.content-grid .elementor-loop-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: var(--grid-gap) !important;
}
.content-grid .e-loop-item { flex: 0 0 calc((100% - 2 * var(--grid-gap)) / 3); min-width: 0; }
.content-grid .e-loop-item:has(> .content-card--featured) { flex-basis: 100%; }
@media (max-width: 1024px) {
  .content-grid .e-loop-item { flex-basis: calc((100% - var(--grid-gap)) / 2); }
}
@media (max-width: 767px) {
  .content-grid .e-loop-item { flex-basis: 100%; }
}
/* Article or video: WordPress marks a video post format-video (on its card's
   wrapper, and on the page body of its article). Both labels, both links and
   the play button are in the templates; these rules show the right ones. */
.e-loop-item:not(.format-video) :is(.content-card__play-holder, .content-card__duration, .content-card__format--video, .content-card__more--video),
.e-loop-item.format-video :is(.content-card__format--article, .content-card__more--article),
body.single-post:not(.single-format-video) .article__meta .content-card__format--video,
body.single-format-video .article__meta .content-card__format--article { display: none; }
.content-hub__empty[hidden] { display: none; }
/* The video play button sits in an HTML widget: stretch that over the photo so the button centres */
.content-card__media > .elementor-widget-html { position: absolute; inset: 0; pointer-events: none; }
.content-card__media > .elementor-widget-html > .elementor-widget-container { height: 100%; }

/* Our containers: no Elementor default padding or gaps unless our class sets
   them. Elementor containers apply a gap of their own, so every gap in the
   sections above carries !important to keep our classes in charge. */
.e-con:is([class*="hero"], [class*="client-strip"], [class*="service"], [class*="how"], [class*="timeline"], [class*="included"], [class*="different"], [class*="story"], [class*="align-"], [class*="converge"], [class*="founders"], [class*="faq"], [class*="contact"], [class*="site-footer"], [class*="site-nav"], [class*="mobile-menu"], [class*="content-"], [class*="article-"], [class*="article__"], .alva-container, .alva-section) {
  --padding-top: 0;
  --padding-right: 0;
  --padding-bottom: 0;
  --padding-left: 0;
  --gap: 0px;
  --row-gap: 0px;
  --column-gap: 0px;
}

/* Photos: the Image widget’s box takes the shape, the image fills it */
.elementor-widget-image:is(.story__photo, .founders__photo, .content-card__image, .article__photo) { overflow: hidden; }
.elementor-widget-image:is(.story__photo, .founders__photo, .content-card__image, .article__photo) > .elementor-widget-container { height: 100%; }
.elementor-widget-image:is(.story__photo, .founders__photo, .content-card__image, .article__photo) img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* In WordPress the photo class sits on the widget, not on the image inside
     it, and object-position doesn't pass down on its own. This hands it over,
     so a crop set on a photo class (see .story__photo--tall) works in both
     the static build and Elementor. */
  object-position: inherit;
}

/* Service map: the SVG lines sit in an HTML widget, which Elementor makes
   position: relative. Stretch that widget over the whole map instead. */
.service-map__stage > .elementor-widget-html {
  position: absolute;
  inset: 0;
}
.service-map__stage > .elementor-widget-html > .elementor-widget-container { height: 100%; }
/* Why Alva: the convergence lines sit in an HTML widget with class
   converge__lines; its inner box takes the full height of the lines area */
.converge__lines.elementor-widget-html > .elementor-widget-container { height: 100%; }

/* FAQs as Elementor’s Nested Accordion (class faq-list on the widget) */
.faq-list .e-n-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px !important;
}
.faq-list.elementor-widget-n-accordion .e-n-accordion-item-title {
  border: 0;
  background: transparent;
  justify-content: flex-start;
}
.faq-list .e-n-accordion-item-title :is(.e-n-accordion-item-title-header, .e-n-accordion-item-title-text) {
  font: inherit;
  color: inherit;
}
.faq-list .e-n-accordion-item-title-icon { display: none; }   /* our round button replaces it */
.faq-list .e-n-accordion-item > [role="region"] {
  border: 0;
  padding: 0;
  background: transparent;
}

/* Header and Footer templates (Elementor Pro). The Nav Menu widget writes its
   links as a list (nav > ul > li > a.elementor-item, plus a hidden copy for
   its own dropdown, which we don't use): the list becomes our row or column,
   and the links take the classes' styles above. */
:where(.site-nav__menu, .mobile-menu__links, .site-footer__links) .elementor-nav-menu {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav__menu .elementor-nav-menu {
  flex-direction: row;
  align-items: center;
  gap: clamp(20px, 2.6vw, 40px) !important;   /* as .site-nav__menu */
}
:where(.mobile-menu__links, .site-footer__links) .elementor-nav-menu { flex-direction: column; }
/* Its clearfix would be one more item in the row, adding a gap */
:where(.site-nav__menu, .mobile-menu__links, .site-footer__links) .elementor-nav-menu::after { content: none; }
:where(.site-nav__menu, .mobile-menu__links, .site-footer__links) .elementor-item {
  padding: 0;
  line-height: inherit;
}
:where(.site-nav__menu, .mobile-menu__links, .site-footer__links) :is(.elementor-nav-menu--dropdown, .elementor-menu-toggle) { display: none; }
/* The menu button sits in an HTML widget: hide the widget too on wide screens,
   so it adds no gap beside the Book a Conversation button */
.site-nav__toggle-holder { display: none; }
/* The Image widget wraps the logo in its own link: no gap under the image */
:where(.site-nav__logo, .site-footer__logo) :is(a, img) { display: block; }
@media (max-width: 1024px) {
  .site-nav__toggle-holder { display: block; }
}

/* The faint “a” behind the hero and the page intros is a ::before, which
   Elementor also uses for a container's background overlay and pins to the
   top left at full height. Free it, so our own size and offsets place it, as
   in the static build. This resets only `top` and `height`: each mark declares
   BOTH `left` and `right` itself (one of them `auto`), so moving one from side
   to side needs no change here. An earlier version freed `left` for everything,
   which silently pinned the hero's mark back to the left edge in WordPress the
   moment it was positioned from the right — and the static preview hid it. */
.e-con:is(.hero, .story-intro, .contact--full)::before { top: auto; height: auto; }

/* Sticky header: Elementor wraps the header template in its own element */
.elementor-location-header {
  position: sticky;
  top: 0;
  z-index: 100;
}
.admin-bar .elementor-location-header { top: var(--wp-admin--admin-bar--height, 32px); }

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