/*
Theme Name: AgileVET
Theme URI: https://agilevetimaging.com/
Author: Agile MRI Ltd
Description: Veterinary site theme for AgileVet Imaging. Built on the logo's two colours — navy #1E3559 and green #6AD843 — plus the chrome of the mark. Bright throughout: white, chrome and green fields, with navy reserved for type. Chamfered corners taken from the logo's C give the site a shape language of its own.
Version: 3.7.2
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.0
License: Proprietary
Text Domain: agile3dvet
*/

/* =========================================================================
   1. DESIGN TOKENS — sampled directly from the AgileVET logo
   ========================================================================= */

:root {
  /* Brand — the two logo colours */
  --av-navy:        #1e3559;   /* the "Agile" wordmark — type and small solids */
  --av-navy-mid:    #2a4770;
  --av-green:       #6ad843;   /* the "VET" wordmark — the site's field colour */
  --av-green-lift:  #7ee055;
  --av-green-deep:  #4fb733;
  --av-green-dark:  #2f7a1b;   /* clears AA on white, paper and the green wash */
  --av-green-pale:  #d3f5be;
  --av-green-wash:  #edfbe4;
  --av-green-mist:  #f6fdf2;

  /* Chrome — the metal of the mark */
  --av-chrome-hi:   #ffffff;
  --av-chrome-1:    #eef1f3;
  --av-chrome-2:    #dde3e8;
  --av-chrome-3:    #c4cbd1;
  --av-chrome-4:    #9aa4ad;

  /* Neutrals */
  --av-paper:       #f3f6f8;
  --av-paper-2:     #fafcfd;
  --av-line:        #e0e6eb;
  --av-line-soft:   #edf1f4;
  --av-slate:       #3a4757;
  --av-slate-soft:  #5d6a79;
  --av-muted:       #636d7a;
  --av-white:       #ffffff;

  /* Typography */
  --av-font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Rhythm */
  --av-wrap:        1240px;
  --av-gutter:      clamp(1.25rem, 4vw, 2.5rem);
  --av-section:     clamp(4rem, 9vw, 7.5rem);
  --av-radius:      20px;
  --av-radius-lg:   28px;
  --av-radius-pill: 999px;

  /* The logo's C has chamfered corners. This is the site's signature cut. */
  --av-cut:         12px;

  --av-shadow-sm: 0 2px 12px rgba(30, 53, 89, .07);
  --av-shadow:    0 14px 38px rgba(30, 53, 89, .10);
  --av-shadow-lg: 0 26px 60px rgba(30, 53, 89, .13);
  --av-shadow-green: 0 14px 32px rgba(79, 183, 51, .28);

  /* Chrome bevel, echoing the metal of the C */
  --av-bevel: linear-gradient(155deg, #ffffff 0%, var(--av-chrome-1) 48%, var(--av-chrome-3) 100%);
}

/* The chamfer. Used on flat elements — clip-path removes box-shadow, so
   shadowed cards keep a radius and take the cut on an inner element instead. */
.cut {
  clip-path: polygon(
    var(--av-cut) 0, calc(100% - var(--av-cut)) 0, 100% var(--av-cut),
    100% calc(100% - var(--av-cut)), calc(100% - var(--av-cut)) 100%,
    var(--av-cut) 100%, 0 calc(100% - var(--av-cut)), 0 var(--av-cut)
  );
  border-radius: 0;
}

/* =========================================================================
   2. RESET
   ========================================================================= */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--av-font);
  font-size: 17px;
  line-height: 1.62;
  color: var(--av-slate);
  background: var(--av-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.a-ico { width: 24px; height: 24px; flex: none; }

h1, h2, h3, h4 {
  font-family: var(--av-font);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.018em;
  margin: 0 0 .5em;
  color: var(--av-navy);
}

h1 { font-size: clamp(2.7rem, 6.1vw, 4.8rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h3 { font-size: clamp(1.22rem, 2vw, 1.55rem); }
h4 { font-size: 1.08rem; }

/* The wordmark trick, reusable: one word navy, one word green. */
h1 em, h2 em { font-style: normal; color: var(--av-green-deep); }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

/* =========================================================================
   3. LAYOUT PRIMITIVES
   ========================================================================= */

.wrap {
  width: 100%;
  max-width: var(--av-wrap);
  margin-inline: auto;
  padding-inline: var(--av-gutter);
}

.section { padding-block: var(--av-section); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--paper { background: var(--av-paper); }
.section--white { background: var(--av-white); }

/* Was a navy band. Now a pale green field — still a change of key, still bright. */
.section--navy {
  background: linear-gradient(170deg, var(--av-green-mist) 0%, var(--av-green-wash) 100%);
  color: var(--av-slate-soft);
}
.section--navy h2, .section--navy h3, .section--navy h4 { color: var(--av-navy); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--av-green-dark);
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 4px;
  background: var(--av-green);
  flex: none;
  clip-path: polygon(2px 0, 100% 0, calc(100% - 2px) 100%, 0 100%);
}
.eyebrow--lime, .eyebrow--teal, .eyebrow--navy { color: var(--av-green-dark); }  /* legacy aliases */
.center .eyebrow { justify-content: center; }

.lede {
  font-size: clamp(1.04rem, 1.5vw, 1.22rem);
  line-height: 1.56;
  color: var(--av-slate-soft);
  max-width: 48ch;
}

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

/* =========================================================================
   4. BUTTONS
   Primary is the logo's green with the logo's navy on it.
   ========================================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .95rem 1.75rem;
  border: 0;
  border-radius: var(--av-radius-pill);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  color: var(--av-navy);
  background: var(--av-green);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); background: var(--av-green-lift); box-shadow: var(--av-shadow-green); }
.btn .arw { transition: transform .18s ease; }
.btn:hover .arw { transform: translateX(4px); }

/* Secondary: outlined navy on light. The logo has two colours; this invents no third. */
.btn--lime {
  background: var(--av-white);
  color: var(--av-navy);
  box-shadow: inset 0 0 0 2px var(--av-navy);
}
.btn--lime:hover { background: var(--av-navy); color: var(--av-white); box-shadow: 0 12px 26px rgba(30, 53, 89, .22); }

.btn--ghost {
  background: var(--av-white);
  box-shadow: inset 0 0 0 1.5px var(--av-line);
  color: var(--av-navy);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--av-green); color: var(--av-green-dark); background: var(--av-green-mist); transform: none; }

.btn--dark { background: var(--av-navy); color: var(--av-white); }
.btn--dark:hover { background: var(--av-navy-mid); }

.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

/* =========================================================================
   5. HEADER / NAVIGATION  — always light
   ========================================================================= */

.site-header,
.site-header--solid {
  position: sticky;
  top: 0;
  z-index: 60;
  padding-block: .85rem;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--av-line-soft);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

/* --- Brand lockup: the logo mark plus the AgileVET wordmark ------------- */
.brand { display: flex; align-items: center; gap: .7rem; min-width: 0; }
.brand__mark { width: 50px; height: 50px; flex: none; }
.brand__name {
  font-size: clamp(1.2rem, 2.6vw, 1.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.025em;
  color: var(--av-navy);
  white-space: nowrap;
}
.brand__name .vet,
.brand__name .thin { color: var(--av-green-deep); font-weight: 700; }

.nav-pill {
  display: flex;
  align-items: center;
  gap: .2rem;
  background: var(--av-paper);
  border-radius: var(--av-radius-pill);
  padding: .35rem .5rem;
}
.nav-pill ul { list-style: none; margin: 0; padding: 0; display: contents; }
.nav-pill li { list-style: none; display: block; }
.nav-pill a {
  display: block;
  padding: .55rem 1rem;
  border-radius: var(--av-radius-pill);
  font-size: .95rem;
  font-weight: 500;
  color: var(--av-navy);
  transition: background .16s ease, color .16s ease;
}
.nav-pill a:hover { background: var(--av-green-pale); color: var(--av-navy); }
.nav-pill .current-menu-item > a { background: var(--av-green); color: var(--av-navy); font-weight: 600; }

.nav-toggle { display: none; background: none; border: 0; padding: .5rem; color: var(--av-navy); }
.nav-toggle .a-ico { width: 28px; height: 28px; }

@media (max-width: 940px) {
  .nav-pill {
    position: absolute;
    top: calc(100% + .5rem);
    right: var(--av-gutter);
    left: var(--av-gutter);
    flex-direction: column;
    align-items: stretch;
    padding: .7rem;
    display: none;
    box-shadow: var(--av-shadow);
    border-radius: var(--av-radius);
  }
  .nav-pill.is-open { display: flex; }
  .nav-toggle { display: block; }
  .header-inner .btn { display: none; }
}

@media (max-width: 620px) {
  .brand__mark { width: 38px; height: 38px; }
  .brand__name { font-size: 1.18rem; }
}

/* =========================================================================
   6. HERO — bright: white to chrome, with a green glow and the ghost mark
   ========================================================================= */

.hero {
  position: relative;
  min-height: min(80vh, 720px);
  display: flex;
  align-items: center;
  padding-block: clamp(3.5rem, 8vw, 6rem) clamp(3.5rem, 8vw, 6rem);
  background:
    radial-gradient(ellipse 70% 80% at 82% 28%, rgba(106, 216, 67, .26) 0%, rgba(106, 216, 67, 0) 62%),
    linear-gradient(155deg, #ffffff 0%, var(--av-chrome-1) 58%, var(--av-chrome-2) 100%);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }

/* Only used when a photograph is uploaded — keeps type legible without going dark. */
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .88) 46%, rgba(255, 255, 255, .55) 100%);
}
.hero:not(.has-photo) .hero__scrim { display: none; }

.hero__inner { position: relative; z-index: 3; width: 100%; }
.hero h1 { color: var(--av-navy); max-width: 15ch; margin-bottom: .42em; }
.hero h1 em { color: var(--av-green-deep); }
.hero__sub {
  color: var(--av-slate-soft);
  font-size: clamp(1.04rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  max-width: 52ch;
}

.hero--page { min-height: min(48vh, 440px); }

/* Legacy alias — was a teal band, now a bright green field. */
.hero--teal {
  background:
    radial-gradient(ellipse 60% 90% at 78% 40%, rgba(255, 255, 255, .75) 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(140deg, var(--av-green-wash) 0%, var(--av-green-pale) 100%);
}
.hero--teal .hero__sub { color: var(--av-slate); }

/* --- The ghost mark: the logo's C, oversized and faint ------------------ */
.ghost-mark {
  position: absolute;
  right: 2%;
  top: 50%;
  translate: 0 -50%;
  width: min(470px, 42%);
  opacity: .55;
  pointer-events: none;
  z-index: 2;
}
.ghost-mark--soft { opacity: .16; }
.ghost-mark--left { right: auto; left: -10%; }
@media (max-width: 900px) { .ghost-mark { opacity: .12; width: 70%; } }

/* Legacy: concentric rings, restyled in brand green. */
.rings { position: absolute; right: -8%; top: 50%; translate: 0 -50%; width: 780px; max-width: 70%; opacity: .8; pointer-events: none; z-index: 1; }
.rings circle { fill: none; stroke: rgba(53, 135, 31, .22); stroke-width: 1.5; }

/* =========================================================================
   7. CAPABILITY CARDS
   ========================================================================= */

.cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
  margin-top: 3.25rem;
}
@media (min-width: 900px)  { .cap-grid--three { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .cap-grid--four  { grid-template-columns: repeat(4, 1fr); } }

/* Five tiles: three across, then two centred beneath. */
@media (min-width: 900px) {
  .cap-grid--five { grid-template-columns: repeat(6, 1fr); }
  .cap-grid--five .cap { grid-column: span 2; }
  .cap-grid--five .cap:nth-child(4) { grid-column: 2 / span 2; }
  .cap-grid--five .cap:nth-child(5) { grid-column: 4 / span 2; }
}

.cap {
  position: relative;
  background: var(--av-white);
  border-radius: var(--av-radius);
  padding: 1.9rem 1.7rem;
  box-shadow: var(--av-shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
/* A green tab on the top edge, chamfered like the logo mark. */
.cap::before {
  content: "";
  position: absolute;
  top: 0; left: 1.7rem;
  width: 48px; height: 5px;
  background: var(--av-green);
  clip-path: polygon(0 0, 100% 0, calc(100% - 5px) 100%, 5px 100%);
}
.cap:hover { transform: translateY(-4px); box-shadow: var(--av-shadow); }

.cap__head { display: flex; align-items: center; gap: 1rem; }
.cap__icon {
  width: 58px; height: 58px; flex: none;
  background: var(--av-bevel);
  border: 1px solid var(--av-chrome-2);
  display: grid; place-items: center;
  color: var(--av-navy);
  clip-path: polygon(11px 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%, 0 11px);
}
.cap__icon .a-ico { width: 28px; height: 28px; }
.cap h3 { margin: 0; font-size: 1.16rem; line-height: 1.25; color: var(--av-navy); }
.cap p {
  margin: 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--av-line);
  font-size: .95rem;
  color: var(--av-slate-soft);
}

@media (min-width: 900px) {
  .cap-grid--stagger .cap:nth-child(3n + 2) { transform: translateY(34px); }
  .cap-grid--stagger .cap:nth-child(3n + 2):hover { transform: translateY(30px); }
  .cap-grid--stagger { padding-bottom: 34px; }
}

/* =========================================================================
   9. TECHNOLOGY BAND — the site's one saturated field: brand green
   ========================================================================= */

.tech {
  position: relative;
  background:
    radial-gradient(ellipse 70% 70% at 50% 45%, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 62%),
    linear-gradient(150deg, var(--av-green-lift) 0%, var(--av-green) 48%, var(--av-green-deep) 100%);
  color: var(--av-navy);
  overflow: hidden;
}
.tech h2, .tech h3 { color: var(--av-navy); }
.tech h2 { max-width: 14ch; }
.tech__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.5rem; align-items: start; }
.tech__copy p { color: var(--av-navy); opacity: 1; font-size: 1.04rem; }
.tech .eyebrow { color: var(--av-navy); }
.tech .eyebrow::before { background: var(--av-navy); }

.patent-pill {
  display: inline-flex; align-items: center; gap: .65rem;
  background: var(--av-white); color: var(--av-navy);
  border-radius: var(--av-radius-pill);
  padding: .8rem 1.5rem;
  font-weight: 600; font-size: .96rem;
  margin-top: 1.4rem;
  box-shadow: var(--av-shadow-sm);
}
.patent-pill::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--av-green); }

/* Orbit layout — two pillars either side of the rotating device render. */
.tech__orbit {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 1.25fr) 1fr;
  gap: 1.4rem 1.6rem;
  align-items: center;
  margin-top: 3.2rem;
  position: relative;
  z-index: 2;
}
.tech__orbit-col { display: grid; gap: 1.2rem; }
.tech__device { display: grid; place-items: center; }
.tech__device .tech__device-img,
.tech__device img {
  width: 100%;
  max-width: 460px;
  height: auto;
  object-fit: contain;
  /* The render is transparent — undo the story-photo card treatment so the
     device floats on the green band like it does on the parent site. */
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 18px 34px rgba(30, 53, 89, .28));
}
.tech__device .story-photo--empty {
  aspect-ratio: 4 / 3;
  width: 100%;
  max-width: 420px;
  border-radius: var(--av-radius-lg);
}
@media (max-width: 900px) {
  .tech__orbit { grid-template-columns: 1fr; }
  .tech__device { order: -1; }
}

.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; margin-top: 3.2rem; position: relative; z-index: 2; }
.pillar {
  display: flex; align-items: center; gap: 1rem;
  background: rgba(255, 255, 255, .9);
  border-radius: var(--av-radius);
  padding: 1.15rem 1.3rem;
  box-shadow: var(--av-shadow-sm);
}
.pillar__icon {
  width: 58px; height: 58px; flex: none;
  background: var(--av-bevel);
  border: 1px solid var(--av-chrome-2);
  display: grid; place-items: center;
  color: var(--av-navy);
  clip-path: polygon(11px 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%, 0 11px);
}
.pillar__icon .a-ico { width: 28px; height: 28px; }
.pillar h3 { margin: 0; font-size: 1.12rem; color: var(--av-navy); }
.pillar p { color: var(--av-slate-soft); font-size: .95rem; }

.tech__halo { position: absolute; left: 50%; top: 55%; translate: -50% -50%; width: 900px; max-width: 92vw; aspect-ratio: 1; opacity: .5; pointer-events: none; }
.tech__halo circle { fill: none; stroke: rgba(255, 255, 255, .5); stroke-width: 1.5; }

.tech__vs {
  margin-top: 3.5rem;
  text-align: center;
  position: relative;
  z-index: 2;
  background: var(--av-navy);
  border-radius: var(--av-radius-lg);
  padding: clamp(1.6rem, 3.2vw, 2.6rem);
  box-shadow: var(--av-shadow-sm);
}
.tech__vs h3, .tech .tech__vs h3 { color: var(--av-white); font-size: 1.15rem; letter-spacing: .04em; }
.tech__vs p, .tech .tech__vs p { color: rgba(255, 255, 255, .92); opacity: 1; max-width: 76ch; margin-inline: auto; }

@media (max-width: 900px) {
  .tech__grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
}

/* =========================================================================
   10. QUOTE / ADVISORY CARD
   ========================================================================= */

.quote-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  background: var(--av-white);
  border-radius: var(--av-radius-lg);
  overflow: hidden;
  box-shadow: var(--av-shadow-lg);
}
.quote-card__media {
  background: linear-gradient(160deg, var(--av-green-wash), var(--av-chrome-1));
  min-height: 320px; position: relative;
  display: grid; place-items: center;
}
.quote-card__media img { width: 100%; height: 100%; object-fit: cover; }
.quote-card__body { padding: clamp(1.75rem, 3.5vw, 3rem); display: flex; flex-direction: column; justify-content: center; }
.quote-card__body h3 { color: var(--av-navy); }
.quote-card__body blockquote { margin: 0 0 1.6rem; font-size: 1.05rem; line-height: 1.62; color: var(--av-slate-soft); }
.quote-card__who { font-size: 1.04rem; font-weight: 700; color: var(--av-navy); }
.quote-card__role { font-size: .89rem; color: var(--av-muted); margin-top: .3rem; }
.quote-card__context {
  margin-top: 1.4rem; padding-top: 1.1rem;
  border-top: 3px solid var(--av-green-pale);
  font-size: .85rem; color: var(--av-muted);
}
.quote-card__context a { color: var(--av-green-dark); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
@media (max-width: 860px) { .quote-card { grid-template-columns: 1fr; } }

/* =========================================================================
   11. USE CASE BLOCKS
   ========================================================================= */

.usecase { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.usecase + .usecase { margin-top: var(--av-section); }
.usecase h2 { color: var(--av-navy); font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
.usecase--alt h2 { color: var(--av-green-dark); }
.usecase__sub { font-size: 1.1rem; font-weight: 500; color: var(--av-slate-soft); margin-bottom: 2rem; }
.usecase__media { position: relative; }
.usecase__media > img, .usecase__media > svg { box-shadow: var(--av-shadow); border-radius: var(--av-radius); }
@media (max-width: 900px) { .usecase { grid-template-columns: 1fr; } .usecase--alt .usecase__media { order: -1; } }

.benefit-list { display: flex; flex-direction: column; gap: .8rem; }
.benefit {
  display: flex; align-items: center; gap: 1rem;
  background: var(--av-paper);
  border-left: 4px solid var(--av-green);
  border-radius: 0 16px 16px 0;
  padding: 1rem 1.35rem;
  font-weight: 500;
  color: var(--av-navy);
  line-height: 1.42;
  font-size: .97rem;
  transition: background .18s ease, transform .18s ease;
}
.benefit:hover { background: var(--av-green-wash); transform: translateX(3px); }
.benefit__icon {
  width: 34px; height: 34px; flex: none;
  background: var(--av-white);
  border: 1px solid var(--av-line);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--av-green-dark);
}
.benefit__icon .a-ico { width: 19px; height: 19px; }

/* =========================================================================
   12. TEAM
   ========================================================================= */

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.member {
  position: relative;
  background: var(--av-white);
  border: 1px solid var(--av-line);
  border-radius: var(--av-radius);
  padding: 1.8rem;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.member:hover { border-color: var(--av-green); transform: translateY(-3px); box-shadow: var(--av-shadow-sm); }
.member h3 { margin: 0 0 .15rem; font-size: 1.18rem; }
.member__role { font-size: .77rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--av-green-dark); margin-bottom: .9rem; }
.member p { margin: 0; font-size: .94rem; color: var(--av-slate-soft); }

/* =========================================================================
   13. PROSE
   ========================================================================= */

.prose { max-width: 68ch; margin-inline: auto; font-size: 1.07rem; line-height: 1.74; color: var(--av-slate-soft); }
.prose h2 { margin-top: 2.6rem; font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--av-navy); }
.prose h3 { margin-top: 2rem; color: var(--av-navy); }
.prose > *:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 0; list-style: none; }
.prose ol { counter-reset: n; }
.prose li { margin-bottom: .6rem; padding-left: 1.9rem; position: relative; }
.prose ul > li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 10px; height: 10px; background: var(--av-green);
  clip-path: polygon(3px 0, 100% 0, 100% calc(100% - 3px), calc(100% - 3px) 100%, 0 100%, 0 3px);
}
.prose ol > li::before {
  counter-increment: n; content: counter(n);
  position: absolute; left: 0; top: 0;
  font-size: .82rem; font-weight: 700; color: var(--av-green-dark);
}
.prose blockquote { margin: 2rem 0; padding-left: 1.4rem; border-left: 4px solid var(--av-green); font-style: italic; color: var(--av-navy); }
.prose a { color: var(--av-green-dark); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.8rem 0; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--av-line); }
.prose th { font-weight: 700; color: var(--av-navy); }

.story-step { display: grid; grid-template-columns: 84px 1fr; gap: 1.6rem; }
.story-step + .story-step { margin-top: 2.6rem; }
.story-step__num { font-size: 2.6rem; font-weight: 700; color: var(--av-green); line-height: 1; }
.story-step h3 { margin-top: 0; }

/* =========================================================================
   14. BLOG
   ========================================================================= */

.filter-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.5rem; }
.chip { padding: .55rem 1.15rem; border-radius: var(--av-radius-pill); border: 1px solid var(--av-line); font-size: .91rem; font-weight: 500; color: var(--av-slate-soft); background: var(--av-white); transition: all .16s ease; }
.chip:hover { border-color: var(--av-green); color: var(--av-green-dark); }
.chip.is-active { background: var(--av-green); border-color: var(--av-green); color: var(--av-navy); font-weight: 600; }

.post-card { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.post-card + .post-card { margin-top: 3.5rem; padding-top: 3.5rem; border-top: 1px solid var(--av-line); }
.post-card__thumb {
  aspect-ratio: 16 / 11;
  background: linear-gradient(150deg, var(--av-green-wash), var(--av-chrome-1));
  overflow: hidden;
  display: grid; place-items: center;
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
}
.post-card__thumb img, .post-card__thumb svg { width: 100%; height: 100%; object-fit: cover; }
.post-card__cat { font-size: .74rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--av-green-dark); }
.post-card h2, .post-card h3 { font-size: clamp(1.32rem, 2.4vw, 1.8rem); margin: .7rem 0 .8rem; color: var(--av-navy); }
.post-card h2 a:hover { color: var(--av-green-dark); }
.post-card p { color: var(--av-slate-soft); }
.post-card__meta { font-size: .84rem; color: var(--av-muted); margin-top: 1rem; }
.badge-planned { display: inline-block; font-size: .66rem; font-weight: 700; letter-spacing: .15em; padding: .3rem .7rem; background: var(--av-chrome-1); color: var(--av-muted); margin-bottom: .6rem; clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px); }
@media (max-width: 820px) { .post-card { grid-template-columns: 1fr; } }

.entry-header { max-width: 68ch; margin: 0 auto 2.5rem; }
.entry-meta { font-size: .89rem; color: var(--av-muted); }

.pagination { margin-top: 3rem; display: flex; justify-content: center; }
.pagination .page-numbers { padding: .5rem .95rem; border-radius: var(--av-radius-pill); color: var(--av-slate-soft); }
.pagination .current { background: var(--av-green); color: var(--av-navy); font-weight: 600; }

/* =========================================================================
   15. CTA BAND + CONTACT FORM
   ========================================================================= */

.cta-band {
  position: relative;
  background:
    radial-gradient(ellipse 60% 80% at 82% 18%, rgba(255, 255, 255, .6) 0%, rgba(255, 255, 255, 0) 58%),
    linear-gradient(140deg, var(--av-green-lift) 0%, var(--av-green) 55%, var(--av-green-deep) 100%);
  border-radius: var(--av-radius-lg);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  color: var(--av-navy);
  overflow: hidden;
}
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: var(--av-navy); max-width: 20ch; margin-inline: auto; }
.cta-band p { color: var(--av-navy); opacity: .92; max-width: 60ch; margin-inline: auto; }
.cta-band .btn { background: var(--av-navy); color: var(--av-white); }
.cta-band .btn:hover { background: var(--av-navy-mid); color: var(--av-white); box-shadow: 0 12px 28px rgba(30, 53, 89, .25); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.form-card {
  background: var(--av-white);
  border-radius: var(--av-radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--av-shadow-lg);
  border-top: 5px solid var(--av-green);
}
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--av-navy); margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: .97rem;
  padding: .85rem 1.15rem;
  border: 1px solid var(--av-line);
  border-radius: var(--av-radius-pill);
  background: var(--av-paper-2);
  color: var(--av-slate);
}
.field textarea { border-radius: 18px; min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--av-green);
  background: var(--av-white);
  box-shadow: 0 0 0 3px rgba(106, 216, 67, .3);
}
.field input::placeholder, .field textarea::placeholder { color: var(--av-muted); }
.form-note { font-size: .81rem; color: var(--av-muted); margin: .4rem 0 1.1rem; }
.form-status { padding: 1rem 1.25rem; border-radius: 16px; margin-bottom: 1.25rem; font-size: .94rem; }
.form-status--ok { background: var(--av-green-wash); color: var(--av-green-dark); border-left: 4px solid var(--av-green); }
.form-status--err { background: #fdecec; color: #9b2226; border-left: 4px solid #d95050; }
.hp-field { position: absolute; left: -9999px; }

/* =========================================================================
   16. DISCLAIMER BAND
   ========================================================================= */

.disclaimer-band {
  background: var(--av-paper);
  border-top: 1px solid var(--av-line);
  padding-block: 1.6rem;
}
.disclaimer-band p {
  margin: 0;
  font-size: .86rem;
  line-height: 1.62;
  color: var(--av-slate-soft);
  max-width: 100ch;
  padding-left: 1.1rem;
  border-left: 4px solid var(--av-green);
}
.disclaimer-band strong { color: var(--av-navy); }

/* =========================================================================
   17. FOOTER — chrome, not dark
   ========================================================================= */

.site-footer {
  position: relative;
  background: linear-gradient(170deg, #f5f8fa 0%, #e6ebef 100%);
  color: var(--av-slate);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem;
  overflow: hidden;
  border-top: 5px solid var(--av-green);
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; position: relative; z-index: 2; }
.site-footer .brand__name { color: var(--av-navy); }
.footer-tag { margin-top: 1.1rem; max-width: 30ch; font-size: .96rem; }
.footer-col h4 { color: var(--av-navy); font-size: 1rem; margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.footer-col a { color: var(--av-slate); }
.footer-col a:hover { color: var(--av-green-dark); text-decoration: underline; text-underline-offset: 3px; }
.social { display: flex; gap: .8rem; margin-top: 1rem; }
.social a {
  width: 36px; height: 36px; display: grid; place-items: center;
  background: var(--av-white); color: var(--av-navy);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.social a:hover { background: var(--av-green); }
.social svg { width: 17px; height: 17px; }
.footer-legal { margin-top: 2.5rem; padding-top: 1.6rem; border-top: 1px solid rgba(30, 53, 89, .14); font-size: .83rem; line-height: 1.65; color: var(--av-slate-soft); position: relative; z-index: 2; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; } }

/* =========================================================================
   18. SCROLL REVEAL + A11Y
   ========================================================================= */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn, .cap, .member, .benefit { transition: none; }
}

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed; top: 1rem; left: 1rem;
  width: auto; height: auto; clip-path: none;
  background: var(--av-green); color: var(--av-navy);
  padding: .8rem 1.2rem; border-radius: 8px; z-index: 999;
  font-weight: 600;
}
:focus-visible { outline: 3px solid var(--av-green-deep); outline-offset: 3px; }

/* =========================================================================
   19. OUR STORY
   Follows the parent site's cover + timeline structure, kept bright.
   ========================================================================= */

.story-cover {
  position: relative;
  min-height: clamp(300px, 34vw, 430px);
  display: flex;
  align-items: center;
  background: var(--av-chrome-1);
  overflow: hidden;
}
.story-cover__media { position: absolute; inset: 0; }
.story-cover__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
/* A white wash on the left so the type stays legible over the photograph,
   the same device the parent site uses. */
/* The source cover already carries a white fade on its left third, so this
   overlay only needs to deepen it slightly. A full second fade washes the
   photograph out completely. */
.story-cover__fade {
  position: absolute; inset: 0;
  background: linear-gradient(95deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.55) 22%, rgba(255,255,255,0) 46%);
}
.story-cover__inner { position: relative; z-index: 2; width: 100%; }
.story-cover h1 { margin: 0; color: var(--av-navy); }
@media (max-width: 760px) {
  .story-cover__fade { background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.86) 55%, rgba(255,255,255,.6) 100%); }
}

.story-band { background: linear-gradient(180deg, var(--av-green-mist) 0%, var(--av-chrome-1) 100%); }

/* The vertical rule with a dot per chapter. */
.timeline { position: relative; padding-left: clamp(1.5rem, 5vw, 4rem); }
.timeline::before {
  content: "";
  position: absolute; left: 0; top: .6rem; bottom: .6rem;
  width: 3px; border-radius: 3px;
  background: linear-gradient(180deg, var(--av-green) 0%, var(--av-green-pale) 100%);
}

.chapter { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.chapter + .chapter { margin-top: clamp(3rem, 7vw, 5.5rem); }
.chapter::before {
  content: "";
  position: absolute;
  left: calc(clamp(1.5rem, 5vw, 4rem) * -1 - 8.5px);
  top: .7rem;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--av-white);
  border: 4px solid var(--av-green);
}
.chapter__copy h2 { color: var(--av-navy); font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.chapter__copy p { color: var(--av-slate); font-size: 1.05rem; line-height: 1.66; }
.chapter__media { display: grid; gap: 1rem; }
.chapter__media--pair { grid-template-columns: 1fr 1fr; }
.chapter__media--wide { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; margin-top: .5rem; }

.story-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--av-radius);
  box-shadow: var(--av-shadow);
  background: var(--av-chrome-2);
}
.story-photo--empty {
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  background: repeating-linear-gradient(135deg, var(--av-chrome-1) 0 12px, var(--av-chrome-2) 12px 24px);
  color: var(--av-muted);
  font-size: .82rem;
  box-shadow: none;
  border: 1px dashed var(--av-chrome-4);
}

@media (max-width: 860px) {
  .chapter { grid-template-columns: 1fr; }
  .chapter__media--wide { grid-column: auto; }
}

.story-result { background: var(--av-white); padding-block: clamp(3rem, 6vw, 5rem) 0; }
.story-after { padding-top: clamp(2.5rem, 5vw, 3.5rem); }
.story-result__line {
  max-width: 60ch;
  margin-inline: auto;
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  line-height: 1.5;
  font-weight: 500;
  color: var(--av-navy);
}
.story-result__line::before {
  content: "";
  display: block;
  width: 54px; height: 5px;
  margin: 0 auto 1.6rem;
  background: var(--av-green);
  clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
}

/* Use-case photographs — the story photos reframed to the panel's ratio. */
.usecase__photo {
  aspect-ratio: 6 / 5;
  overflow: hidden;
  border-radius: var(--av-radius);
  box-shadow: var(--av-shadow);
  background: var(--av-chrome-1);
}
.usecase__photo .story-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}
.usecase__photo .story-photo--empty { aspect-ratio: auto; border: 0; }

/* Discovery-insight list inside the quote card */
.insight-list { list-style: none; margin: 0 0 1.4rem; padding: 0; display: flex; flex-direction: column; gap: .9rem; }
.insight-list li { padding-left: 1.1rem; border-left: 3px solid var(--av-green); font-size: 1rem; line-height: 1.55; color: var(--av-slate); }
.insight-list li span { display: block; font-size: .82rem; color: var(--av-muted); margin-top: .2rem; }

/* FAQ accordion — native details/summary, no JS required */
.faq { max-width: 760px; margin: 2.5rem auto 0; }
.faq__item { border: 1px solid var(--av-line); border-radius: var(--av-radius); background: var(--av-white); margin-bottom: .9rem; overflow: hidden; }
.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 3rem 1.15rem 1.4rem;
  font-weight: 600;
  color: var(--av-navy);
  position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute; right: 1.3rem; top: 50%;
  translate: 0 -50%;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  background: var(--av-green-wash);
  color: var(--av-green-dark);
  font-weight: 700;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  transition: transform .2s ease;
}
.faq__item[open] summary::after { content: "\2013"; background: var(--av-green); color: var(--av-navy); }
.faq__item summary:hover { color: var(--av-green-dark); }
.faq__item p { margin: 0; padding: 0 1.4rem 1.3rem; color: var(--av-slate-soft); line-height: 1.66; }
.faq__item p a { color: var(--av-green-dark); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }

/* =========================================================================
   V3 — product-led redesign components (theme 3.0.0)
   ========================================================================= */

.btn--navy { background: var(--av-navy); color: var(--av-white); }
.btn--navy:hover { background: var(--av-navy-mid); color: var(--av-white); box-shadow: 0 12px 26px rgba(30, 53, 89, .22); }

.header-actions { display: flex; align-items: center; gap: .7rem; }
.header-actions .btn { padding: .72rem 1.35rem; font-size: .92rem; }
@media (max-width: 1100px) { .header-actions .btn--ghost { display: none; } }

/* --- photo frames: chamfered, with an honesty chip ------------------- */
.photo-frame {
  position: relative;
  margin: 0;
  clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px);
  box-shadow: var(--av-shadow-lg);
}
.photo-frame img { display: block; width: 100%; height: auto; }
.photo-chip {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(30, 53, 89, .82); color: var(--av-white);
  font-size: .72rem; font-weight: 500; letter-spacing: .03em;
  padding: .42rem .9rem; border-radius: var(--av-radius-pill);
  z-index: 2;
}
.photo-frame--card { clip-path: none; box-shadow: none; }
.photo-frame--card img { height: 230px; object-fit: cover; }

/* --- hero ------------------------------------------------------------- */
.hero-v3 {
  position: relative;
  background: linear-gradient(160deg, var(--av-green-mist) 0%, var(--av-white) 46%, var(--av-paper) 100%);
  overflow: hidden;
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.6rem, 5vw, 4.2rem);
}
.hero-v3__blob {
  position: absolute; right: -180px; top: -140px;
  width: 760px; height: 760px; border-radius: 50%;
  background: radial-gradient(circle, rgba(106, 216, 67, .16) 0%, rgba(106, 216, 67, 0) 65%);
  pointer-events: none;
}
.hero-v3__grid {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 4vw, 3rem); align-items: center;
}
.hero-v3__copy { display: flex; flex-direction: column; gap: 1.5rem; max-width: 590px; }
.hero-v3 h1 { font-size: clamp(2.5rem, 4.6vw, 3.9rem); line-height: 1.06; letter-spacing: -.03em; margin: 0; }
.hero-v3 h1 em { font-style: normal; color: var(--av-green-deep); }
.hero-v3__sub { font-size: 1.14rem; line-height: 1.65; color: var(--av-slate-soft); margin: 0; }

.badge-dev {
  display: inline-flex; align-items: center; gap: .6rem; align-self: flex-start;
  background: var(--av-green-wash); color: var(--av-green-dark);
  padding: .5rem 1rem; border-radius: var(--av-radius-pill);
  font-size: .8rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  margin: 0;
}
.badge-dev__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--av-green-deep); }

.stat-strip {
  display: flex; gap: clamp(1.4rem, 3vw, 2.2rem); flex-wrap: wrap;
  padding-top: .9rem; border-top: 1px solid var(--av-line);
}
.stat-strip div { display: flex; flex-direction: column; gap: .1rem; }
.stat-strip strong { font-size: 1.35rem; font-weight: 700; color: var(--av-navy); letter-spacing: -.02em; }
.stat-strip span { font-size: .8rem; color: var(--av-muted); }

/* --- credibility strip ------------------------------------------------ */
.cred-strip { background: var(--av-navy); color: rgba(255, 255, 255, .92); }
.cred-strip__inner {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 1rem clamp(2rem, 5vw, 4.5rem);
  padding-top: 1.4rem; padding-bottom: 1.4rem;
  font-size: .92rem; font-weight: 500;
}
.cred-strip__inner span { display: inline-flex; align-items: center; gap: .6rem; }
.cred-strip .a-ico { width: 18px; height: 18px; color: var(--av-green-lift); flex: none; }

/* --- green product band ----------------------------------------------- */
.band-green {
  background:
    radial-gradient(ellipse 70% 70% at 50% 45%, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, 0) 62%),
    linear-gradient(150deg, var(--av-green-lift) 0%, var(--av-green) 48%, var(--av-green-deep) 100%);
  padding: clamp(3.4rem, 6vw, 5.2rem) 0;
}
.band-green__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.2rem, 4vw, 3.4rem); align-items: center;
}
.band-green__copy { display: flex; flex-direction: column; gap: 1.15rem; color: var(--av-navy); }
.band-green__copy h2 { color: var(--av-navy); margin: 0; }
.band-green__copy > p { margin: 0; font-size: 1.05rem; line-height: 1.7; color: var(--av-navy); }
.band-green .photo-frame { box-shadow: 0 26px 60px rgba(30, 53, 89, .22); }

.check-list { display: flex; flex-direction: column; gap: .7rem; font-weight: 500; font-size: .98rem; }
.check-list span { display: inline-flex; align-items: center; gap: .7rem; }
.check-list .a-ico { width: 20px; height: 20px; flex: none; }

/* --- use case teaser cards -------------------------------------------- */
.uc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.uc-head h2 { margin: 0; max-width: 22ch; }
.uc-head__link { font-weight: 600; color: var(--av-green-dark); white-space: nowrap; }
.uc-head__link:hover { color: var(--av-navy); }

.uc-teaser { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.4rem; }
.uc-card {
  display: flex; flex-direction: column;
  background: var(--av-paper);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  overflow: hidden;
  color: inherit;
  transition: transform .18s ease;
}
.uc-card:hover { transform: translateY(-4px); }
.uc-card__body { display: flex; flex-direction: column; gap: .5rem; padding: 1.4rem 1.5rem 1.6rem; }
.uc-card__body h3 { margin: 0; font-size: 1.14rem; color: var(--av-navy); }
.uc-card__body p { margin: 0; font-size: .93rem; line-height: 1.6; color: var(--av-slate-soft); }
.uc-card .photo-chip { left: 12px; bottom: 12px; font-size: .66rem; padding: .3rem .7rem; }
.uc-card--navy { background: var(--av-navy); }
.uc-card--navy .uc-card__body h3 { color: var(--av-white); }
.uc-card--navy .uc-card__body p { color: rgba(255, 255, 255, .85); }
.uc-card__icon {
  display: grid; place-items: center; height: 230px;
  background: linear-gradient(160deg, var(--av-navy-mid), var(--av-navy));
  color: var(--av-green-lift);
}
.uc-card__icon .a-ico { width: 74px; height: 74px; }

/* --- atmospheric full-bleed strip ------------------------------------- */
.strip-full { position: relative; height: clamp(220px, 30vw, 400px); overflow: hidden; }
.strip-full img { width: 100%; height: 100%; object-fit: cover; display: block; }
.strip-full .photo-chip { left: clamp(1rem, 4vw, 2.4rem); bottom: 1.2rem; }

/* --- quote split (navy) ------------------------------------------------ */
.quote-split { background: var(--av-navy); padding: clamp(3rem, 5.5vw, 4.4rem) 0; }
.quote-split__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(2.2rem, 4vw, 3.4rem); align-items: center;
}
.quote-split__copy { display: flex; flex-direction: column; gap: 1rem; }
.quote-split__mark { color: var(--av-green); }
.quote-split__quote { margin: 0; font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.5; font-weight: 500; color: var(--av-white); }
.quote-split__attr { margin: 0; font-size: .9rem; color: rgba(255, 255, 255, .65); }
.quote-split__attr a { color: var(--av-green-lift); }
.quote-split .photo-frame { box-shadow: 0 22px 50px rgba(0, 0, 0, .35); }

/* --- inner page hero --------------------------------------------------- */
.page-hero {
  position: relative;
  background: linear-gradient(160deg, var(--av-green-mist) 0%, var(--av-white) 60%, var(--av-paper) 100%);
  overflow: hidden;
  padding: clamp(2.6rem, 5vw, 4rem) 0 clamp(2.2rem, 4.5vw, 3.4rem);
}
.page-hero .hero-v3__blob { right: -160px; top: -180px; width: 640px; height: 640px; }
.page-hero__inner { position: relative; display: flex; flex-direction: column; gap: 1rem; max-width: 820px; }
.page-hero__kicker { margin: 0; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--av-green-dark); }
.page-hero h1 { margin: 0; font-size: clamp(2.3rem, 4vw, 3.3rem); line-height: 1.08; letter-spacing: -.03em; }
.page-hero h1 em { font-style: normal; color: var(--av-green-deep); }
.page-hero__sub { margin: 0; font-size: 1.1rem; line-height: 1.65; color: var(--av-slate-soft); max-width: 660px; }
.page-hero__grid {
  position: relative;
  display: grid; grid-template-columns: 1.25fr 1fr;
  gap: clamp(2rem, 4vw, 3rem); align-items: center;
}
.page-hero__grid .page-hero__inner { max-width: none; }
.page-hero__grid .photo-frame img { height: 300px; object-fit: cover; }

/* --- pillar chips on the green band ------------------------------------ */
.chip-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.chip-grid .pillar { padding: 1rem 1.15rem; }
.chip-grid .pillar h3 { font-size: 1rem; }

/* --- numbered story timeline ------------------------------------------- */
.tl { display: flex; flex-direction: column; }
.tl__row {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 clamp(1.6rem, 3vw, 2.5rem); align-items: start;
  padding-bottom: clamp(2.4rem, 4vw, 3.5rem);
}
.tl__spine { display: flex; flex-direction: column; align-items: center; height: 100%; }
.tl__num {
  width: 40px; height: 40px; flex: none;
  background: var(--av-green);
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
  display: grid; place-items: center;
  color: var(--av-navy); font-size: .95rem; font-weight: 700;
}
.tl__line { width: 2px; flex-grow: 1; background: var(--av-green-pale); margin-top: 8px; }
.tl__row:last-child .tl__line { display: none; }
.tl__copy { display: flex; flex-direction: column; gap: .7rem; padding-top: 4px; }
.tl__copy h2 { margin: 0; font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
.tl__copy p { margin: 0; font-size: 1rem; line-height: 1.7; color: var(--av-slate-soft); }
.tl__media .photo-frame img { height: 220px; object-fit: cover; }
@media (max-width: 820px) {
  .tl__row { grid-template-columns: 44px minmax(0, 1fr); }
  .tl__media { grid-column: 2; margin-top: 1rem; }
}

/* --- team cards --------------------------------------------------------- */
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.team-card {
  display: flex; flex-direction: column;
  background: var(--av-paper);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  overflow: hidden;
}
.team-card__photo {
  height: 190px;
  background: linear-gradient(150deg, var(--av-chrome-1), var(--av-chrome-2));
  display: grid; place-items: center;
  color: var(--av-chrome-4); font-size: .78rem; font-weight: 500; letter-spacing: .06em;
}
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-card__body { display: flex; flex-direction: column; gap: .3rem; padding: 1.3rem 1.4rem 1.5rem; }
.team-card__body h3 { margin: 0; font-size: 1.1rem; }
.team-card__role { margin: 0; font-size: .84rem; font-weight: 600; color: var(--av-green-dark); }
.team-card__bio { margin: .25rem 0 0; font-size: .87rem; line-height: 1.6; color: var(--av-slate-soft); }
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }

/* --- real hardware / split feature ------------------------------------- */
.feature-split {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.2rem, 4vw, 3.4rem); align-items: center;
}
.feature-split__copy { display: flex; flex-direction: column; gap: .9rem; }
.feature-split__copy h2 { margin: 0; }
.feature-split__copy p { margin: 0; font-size: 1.02rem; line-height: 1.7; color: var(--av-slate-soft); }

/* --- contact steps panel ------------------------------------------------ */
.steps-card {
  display: flex; flex-direction: column; gap: 1rem;
  background: var(--av-green-mist); border: 1px solid var(--av-green-pale);
  padding: 1.8rem;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}
.steps-card h3 { margin: 0; font-size: 1.15rem; }
.steps-card .step { display: flex; gap: .85rem; align-items: flex-start; font-size: .95rem; color: var(--av-slate); line-height: 1.55; }
.steps-card .step i {
  width: 26px; height: 26px; flex: none; font-style: normal;
  background: var(--av-green); border-radius: 50%;
  display: grid; place-items: center;
  color: var(--av-navy); font-size: .8rem; font-weight: 700;
}

/* --- responsive -------------------------------------------------------- */
@media (max-width: 980px) {
  .hero-v3__grid, .band-green__grid, .quote-split__grid, .page-hero__grid, .feature-split { grid-template-columns: 1fr; }
  .uc-teaser { grid-template-columns: 1fr; }
}

/* v3 fix-ups */
.section .contact-grid { align-items: start; grid-template-columns: 1.25fr 1fr; }
@media (max-width: 880px) { .section .contact-grid { grid-template-columns: 1fr; } }
.photo-frame .story-photo { border-radius: 0; box-shadow: none; background: none; width: 100%; height: 220px; object-fit: cover; }
.tech__device { display: grid; place-items: center; }

/* =========================================================================
   V3.1 — "The real value of AgileVET" as a radiating hub
   ========================================================================= */

.value-orbit { position: relative; overflow: hidden; }
.value-orbit__rings {
  position: absolute; left: 50%; top: 58%; translate: -50% -50%;
  width: 900px; max-width: 96vw; aspect-ratio: 1;
  opacity: .9; pointer-events: none; z-index: 1;
}
.value-orbit__rings circle { fill: none; stroke: var(--av-green-pale); stroke-width: 1.5; }
.value-orbit__rings circle:nth-child(3),
.value-orbit__rings circle:nth-child(4) { stroke: var(--av-green-wash); }

.orbit {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 340px) 1fr;
  gap: 1.6rem clamp(1.6rem, 3vw, 2.8rem);
  align-items: center;
  margin-top: clamp(2rem, 4vw, 3.2rem);
}
.orbit__col { display: flex; flex-direction: column; gap: 1.4rem; }

.node {
  display: flex; gap: .9rem; align-items: flex-start;
  background: var(--av-green-mist);
  border: 1px solid var(--av-green-pale);
  padding: 1.1rem 1.25rem;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  transition: transform .18s ease, box-shadow .18s ease;
}
.node:hover { transform: translateY(-3px); box-shadow: var(--av-shadow-sm); }
.node__icon { flex: none; display: inline-flex; margin-top: 2px; color: var(--av-green-dark); }
.node__icon .a-ico { width: 26px; height: 26px; }
.node h3 { margin: 0 0 .25rem; font-size: 1.04rem; }
.node p { margin: 0; font-size: .87rem; line-height: 1.55; color: var(--av-slate-soft); }

.orbit__hub { display: flex; flex-direction: column; align-items: center; gap: .9rem; }
.orbit__disc {
  width: min(300px, 68vw); aspect-ratio: 1;
  border-radius: 50%; overflow: hidden;
  border: 6px solid var(--av-white);
  outline: 2px solid var(--av-green-pale);
  box-shadow: var(--av-shadow-lg);
}
.orbit__disc img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.photo-chip--static { position: static; display: inline-block; }

.orbit__foot {
  margin: clamp(1.8rem, 3vw, 2.6rem) 0 0;
  text-align: center;
  font-size: .95rem; font-weight: 600;
  color: var(--av-green-dark);
}

@media (max-width: 980px) {
  .orbit { grid-template-columns: 1fr; }
  .orbit__hub { order: -1; margin-bottom: .6rem; }
  .value-orbit__rings { top: 42%; opacity: .7; }
}

/* =========================================================================
   V3.1 — grouped "Company" nav item with a dropdown
   ========================================================================= */

/* The top-level list uses display:contents so items sit in the pill's flex
   row; a sub-menu must reassert normal flow to become a panel. */
.nav-pill .menu-item-has-children { position: relative; }
.nav-pill .menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin-left: .45rem;
  vertical-align: 2px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  rotate: 45deg;
  transition: rotate .16s ease, translate .16s ease;
}
.nav-pill .menu-item-has-children:hover > a::after,
.nav-pill .menu-item-has-children:focus-within > a::after { rotate: 225deg; translate: 0 3px; }

.nav-pill .sub-menu {
  display: block;
  position: absolute;
  top: calc(100% + .55rem);
  left: 50%;
  translate: -50% 0;
  min-width: 208px;
  margin: 0;
  padding: .45rem;
  list-style: none;
  background: var(--av-white);
  border: 1px solid var(--av-line);
  border-radius: var(--av-radius);
  box-shadow: var(--av-shadow);
  opacity: 0;
  visibility: hidden;
  translate: -50% 6px;
  transition: opacity .16s ease, translate .16s ease, visibility .16s;
  z-index: 60;
}
.nav-pill .sub-menu::before {
  /* Keeps the pointer inside the item while crossing the gap. */
  content: "";
  position: absolute; left: 0; right: 0; top: -.55rem; height: .55rem;
}
.nav-pill .menu-item-has-children:hover > .sub-menu,
.nav-pill .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  translate: -50% 0;
}
.nav-pill .sub-menu li { display: block; }
.nav-pill .sub-menu a { white-space: nowrap; font-size: .93rem; }
.nav-pill .sub-menu .current-menu-item > a { background: var(--av-green); font-weight: 600; }
/* A parent whose child is the current page reads as active too. */
.nav-pill .current-menu-parent > a,
.nav-pill .current-menu-ancestor > a { background: var(--av-green-pale); font-weight: 600; }

@media (max-width: 940px) {
  /* In the stacked panel the group is just an indented list — no hover. */
  .nav-pill .menu-item-has-children { position: static; }
  .nav-pill .menu-item-has-children > a::after { display: none; }
  .nav-pill .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    translate: none;
    min-width: 0;
    margin: .15rem 0 .35rem .9rem;
    padding: 0 0 0 .7rem;
    border: 0;
    border-left: 2px solid var(--av-green-pale);
    border-radius: 0;
    box-shadow: none;
    background: none;
  }
  .nav-pill .sub-menu a { font-size: .92rem; }
}

/* =========================================================================
   V3.1.1 — mobile header: legible panel, flush-right toggle
   ========================================================================= */

@media (max-width: 940px) {
  /* The empty .header-actions wrapper still counted as a flex item and pushed
     the toggle off the right edge — hide the wrapper, not just its buttons. */
  .header-actions { display: none; }

  /* Cancel the button's own padding so the glyph sits on the gutter line
     while the tap target stays 44px. */
  .nav-toggle { margin-right: -.5rem; }

  /* The panel was paper-on-white and all but invisible. Navy reads instantly
     over any page, and matches the credibility strip and quote band. */
  .nav-pill {
    background: var(--av-navy);
    border: 1px solid var(--av-navy);
    box-shadow: var(--av-shadow-lg);
    padding: .8rem;
    gap: .15rem;
  }
  .nav-pill a { color: var(--av-white); padding: .8rem 1rem; }
  .nav-pill a:hover,
  .nav-pill a:focus-visible { background: rgba(255, 255, 255, .12); color: var(--av-white); }
  .nav-pill .current-menu-item > a,
  .nav-pill .current-menu-parent > a,
  .nav-pill .current-menu-ancestor > a { background: var(--av-green); color: var(--av-navy); font-weight: 600; }
  .nav-pill .sub-menu { border-left-color: rgba(126, 224, 85, .5); }
  .nav-pill .sub-menu a { color: rgba(255, 255, 255, .86); }
  .nav-pill .sub-menu a:hover { color: var(--av-white); }

  /* When the panel is open the toggle becomes the close affordance. */
  .nav-toggle[aria-expanded="true"] { color: var(--av-green-dark); }
}

/* =========================================================================
   V3.1.2 — mobile: the dropdown's centring transform must not follow the
   sub-menu into the stacked panel.

   On desktop the panel is centred under its parent with translate:-50%, and
   the hover/focus-within rule re-applies that transform. A tap on a touch
   device sets :hover/:focus-within too, so the stacked sub-menu was sliding
   half its own width off the left edge of the panel. Neutralise the transform
   (and its transition and hover-bridge) for every state below the breakpoint.
   ========================================================================= */

@media (max-width: 940px) {
  .nav-pill .sub-menu,
  .nav-pill .menu-item-has-children:hover > .sub-menu,
  .nav-pill .menu-item-has-children:focus-within > .sub-menu {
    translate: none;
    transform: none;
    left: auto;
    right: auto;
    top: auto;
    transition: none;
  }
  /* The desktop hover-bridge would sit over the panel's own links. */
  .nav-pill .sub-menu::before { content: none; }
  /* The chevron is hidden in the panel; keep its transform inert too. */
  .nav-pill .menu-item-has-children:hover > a::after,
  .nav-pill .menu-item-has-children:focus-within > a::after { rotate: none; translate: none; }
}

/* =========================================================================
   V3.2 — new brand artwork (Agile Vet Imaging)
   ========================================================================= */

/* The supplied mark is slightly taller than wide; keep its aspect. */
.brand__mark { width: auto; height: 52px; }
@media (max-width: 620px) { .brand__mark { height: 42px; } }

/* Footer carries the full horizontal lockup instead of mark + wordmark. */
.brand--lockup { display: inline-block; }
.brand__lockup { display: block; width: auto; height: 62px; max-width: 100%; }
@media (max-width: 620px) { .brand__lockup { height: 52px; } }

/* v3.3 — header now carries the full lockup rather than mark + wordmark */
.brand--lockup { display: inline-flex; align-items: center; }
.site-header .brand__lockup { height: 46px; }
@media (max-width: 620px) { .site-header .brand__lockup { height: 38px; } }

/* =========================================================================
   V3.4 — bigger header lockup + one-screen sections
   Every section is meant to be readable in a single 13" laptop viewport
   (~1440x780, ~1280x700), so vertical rhythm is tightened globally rather
   than section by section.
   ========================================================================= */

/* --- Header: shorter band, larger mark + wordmark ----------------------- */
.site-header,
.site-header--solid { padding-block: .55rem; }

.site-header .brand__lockup--short { height: 58px; }
@media (max-width: 940px) { .site-header .brand__lockup--short { height: 50px; } }
@media (max-width: 620px) { .site-header .brand__lockup--short { height: 42px; } }

/* --- Global vertical rhythm -------------------------------------------- */
:root { --av-section: clamp(2.4rem, 4.2vw, 3.6rem); }
.section--tight { padding-block: clamp(2rem, 3.4vw, 2.8rem); }

h1 { font-size: clamp(2.3rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 2.9vw, 2.45rem); }
h3 { font-size: clamp(1.12rem, 1.6vw, 1.32rem); }

.lede { font-size: clamp(1rem, 1.2vw, 1.1rem); line-height: 1.52; max-width: 66ch; }

.btn { padding: .78rem 1.5rem; font-size: .95rem; }

/* --- Hero --------------------------------------------------------------- */
.hero-v3 { padding-block: clamp(2rem, 3.6vw, 3rem) clamp(2.2rem, 4vw, 3.2rem); }
.hero-v3 h1 { font-size: clamp(2.2rem, 3.7vw, 3.15rem); }
.hero-v3__sub { font-size: clamp(1rem, 1.25vw, 1.12rem); }

/* --- The real value of AgileVet: radiating hub -------------------------- */
.value-orbit .lede { max-width: 74ch; }
.orbit { margin-top: clamp(1.2rem, 2.2vw, 1.9rem); gap: 1rem clamp(1.2rem, 2.4vw, 2.2rem); }
.orbit__col { gap: 1rem; }
.node { padding: .8rem 1rem; }
.node__icon .a-ico { width: 22px; height: 22px; }
.node h3 { font-size: .98rem; margin-bottom: .15rem; }
.node p { font-size: .84rem; line-height: 1.5; }
.orbit { grid-template-columns: 1fr minmax(220px, 280px) 1fr; }
.orbit__disc { width: min(250px, 60vw); border-width: 5px; }
.orbit__hub { gap: .6rem; }
.orbit__foot { margin-top: clamp(1rem, 1.8vw, 1.5rem); font-size: .9rem; }
.value-orbit__rings { width: 780px; }

/* --- Cards and grids ---------------------------------------------------- */
.cap { padding: 1.15rem 1.2rem; }
.cap h3 { font-size: 1rem; }
.cap p { font-size: .87rem; line-height: 1.55; }
.cap-grid { gap: 1.1rem; }
.uc-card { padding: 1.2rem 1.25rem; }
.check-list { gap: .55rem; }

/* --- Bands, quotes, page heroes ----------------------------------------- */
.band-green { padding-block: clamp(2.2rem, 4vw, 3.4rem) clamp(2.2rem, 4vw, 3.4rem); }
.quote-split { padding-block: clamp(2rem, 3.6vw, 3rem); }
.page-hero { padding-block: clamp(2.2rem, 4vw, 3.4rem) clamp(2rem, 3.4vw, 2.8rem); }
.page-hero h1 { font-size: clamp(2rem, 3.2vw, 2.8rem); }

/* --- Inner-page components ---------------------------------------------- */
.usecase + .usecase { margin-top: clamp(2.4rem, 4.5vw, 4rem); }
.usecase h2 { font-size: clamp(1.9rem, 3.1vw, 2.6rem); }
.tl__copy h2 { font-size: clamp(1.3rem, 2vw, 1.55rem); }
.chapter__copy h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.story-result { padding-block: clamp(2rem, 3.4vw, 3rem) 0; }
.story-result p { font-size: clamp(1.05rem, 1.7vw, 1.35rem); }

/* Long-form prose: tighter rhythm, and a two-column variant so paired lists
   ("where it helps" / "where it does not") read side by side on one screen. */
.prose p { line-height: 1.62; }
.prose h2 { margin-top: 1.9rem; }
.prose h3 { margin-top: 1.4rem; }
.prose > :first-child { margin-top: 0; }
.prose--split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 3vw, 3rem); }
.prose--split ul { margin-bottom: 0; }
@media (max-width: 820px) { .prose--split { grid-template-columns: 1fr; } }

/* Use cases: one segment per screen. */
.usecase { align-items: center; }
.usecase h2 { margin-bottom: .2rem; }
.benefit-list { gap: .55rem; }
.benefit { font-size: .92rem; }
.usecase__media .photo-frame img { max-height: 380px; object-fit: cover; }

/* Team: six cards on one screen. */
.team-grid { gap: 1.1rem; }
.team-card__photo { height: 148px; }
.team-card__body { gap: .2rem; padding: .9rem 1rem 1.1rem; }
.team-card__body h3 { font-size: 1rem; }
.team-card__role { font-size: .8rem; }
.team-card__bio { margin-top: .2rem; font-size: .82rem; line-height: 1.5; }

/* Timeline: three chapters plus the heading on one screen. */
.tl__row { padding-block: clamp(.8rem, 1.6vw, 1.4rem); }
.tl__copy p { font-size: .95rem; line-height: 1.6; }

/* Contact: the form and the "what happens next" panel on one screen. */
.form-card { padding: clamp(1.3rem, 2.4vw, 1.9rem); }
.form-card .field { margin-bottom: .8rem; }
.form-card label { margin-bottom: .3rem; }
.form-card input, .form-card select, .form-card textarea { padding: .62rem .8rem; }
.form-card textarea { min-height: 110px; }
.contact-side { padding: clamp(1.3rem, 2.4vw, 1.9rem); }

/* Enquiry form: two columns so the whole form sits on one screen. */
.enquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.enquiry-form > .field--wide,
.enquiry-form > .form-note,
.enquiry-form > .form-status,
.enquiry-form > button { grid-column: 1 / -1; }
.enquiry-form .hp-field { display: none; }
.form-note { font-size: .8rem; line-height: 1.5; margin: .2rem 0 1rem; }
@media (max-width: 640px) { .enquiry-form { grid-template-columns: 1fr; } }

/* "What happens next" panel: match the form's compression. */
.steps-card { padding: clamp(1.2rem, 2.2vw, 1.7rem); }
.steps-card .step { font-size: .88rem; line-height: 1.5; }
.contact-side { padding: 0; }

/* Timeline media: three chapters have to share one screen. */
.tl__media .photo-frame img,
.tl__media .photo-frame .story-photo { height: 128px; }
.tl__row { padding-bottom: .8rem; }
.tl__copy { gap: .4rem; }
.tl__copy p { font-size: .92rem; line-height: 1.55; }

/* Use cases: each segment fits one screen. */
.usecase__media .photo-frame img { max-height: 320px; }
.usecase__copy > p:last-child { margin-top: 1.1rem !important; font-size: .92rem; line-height: 1.6; }
.usecase__sub { font-size: 1.02rem; }
.benefit { font-size: .89rem; line-height: 1.5; }

/* Team: trim the last few pixels so the six cards clear the fold. */
.team-card__photo { height: 118px; }
.team-grid { gap: 1rem; }

/* Final fit pass: clears the tightest 13" case (1280x700) as well as 1440x780. */
:root { --av-section: clamp(2.1rem, 3.6vw, 3.4rem); }
.cap { padding: 1rem 1.1rem; }
.cap-grid { gap: .9rem; }
.uc-card { padding: 1.05rem 1.15rem; }
.team-card__photo { height: 108px; }
.tl__media .photo-frame img,
.tl__media .photo-frame .story-photo { height: 118px; }
.form-card textarea { min-height: 92px; }
.steps-card .step { font-size: .85rem; }

/* 1280x700 is the tightest 13" case; these last trims clear it. */
@media (max-width: 1360px) {
  .tl__media .photo-frame img,
  .tl__media .photo-frame .story-photo { height: 104px; }
  .team-card__photo { height: 96px; }
  .team-card__bio { font-size: .8rem; }
  .form-card .field { margin-bottom: .65rem; }
  .form-card textarea { min-height: 80px; }
  .steps-card .step { font-size: .82rem; line-height: 1.45; }
}

@media (max-width: 1360px) {
  :root { --av-section: clamp(2rem, 3.3vw, 3.2rem); }
  .section--tight { padding-block: clamp(1.7rem, 2.9vw, 2.5rem); }
}

/* Anchor jumps must clear the sticky header. */
section[id], .section[id] { scroll-margin-top: 92px; }

/* =========================================================================
   V3.5 — 360° device turntable on the Technology page
   Replaces the 6.8 MB animated GIF of the human-medical machine.
   ========================================================================= */

.tech__device { position: relative; }
.tech__device-video,
.tech__device-still {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  background: transparent;
  filter: drop-shadow(0 18px 34px rgba(30, 53, 89, .22));
}
.tech__device-still { display: none; }
.tech__device-chip { margin-top: .4rem; }

/* Anyone who has asked for less motion gets the still, not the turntable. */
@media (prefers-reduced-motion: reduce) {
  .tech__device-video { display: none; }
  .tech__device-still { display: block; }
}

/* =========================================================================
   V3.6 — the site's one job: collect veterinary email addresses
   Every page ends with a real form rather than a link to one, so the moment
   somebody is persuaded they can act without navigating anywhere.
   ========================================================================= */

.hero-v3__timeline {
  margin: 1.1rem 0 0;
  font-size: .92rem;
  line-height: 1.55;
  color: var(--av-slate-soft);
  max-width: 46ch;
  padding-left: .9rem;
  border-left: 3px solid var(--av-green);
}

/* --- the inline sign-up form -------------------------------------------- */
.signup-form {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  align-items: stretch;
  margin-top: 1.4rem;
}
.signup-form .hp-field { display: none; }
.signup-form__email,
.signup-form__type {
  font: inherit;
  font-size: .97rem;
  padding: .78rem 1rem;
  border: 1px solid var(--av-line);
  border-radius: var(--av-radius-pill);
  background: var(--av-white);
  color: var(--av-navy);
  min-width: 0;
}
.signup-form__email { flex: 1 1 15rem; }
.signup-form__type  { flex: 0 1 13rem; color: var(--av-slate); }
.signup-form__email:focus-visible,
.signup-form__type:focus-visible {
  outline: 2px solid var(--av-green-deep);
  outline-offset: 2px;
  border-color: var(--av-green-deep);
}
.signup-form .btn { flex: 0 0 auto; }

@media (max-width: 640px) {
  .signup-form { flex-direction: column; }
  .signup-form .btn { justify-content: center; }
}

/* --- the closing band on every page ------------------------------------- */
.signup-band .signup-form { max-width: 44rem; margin-inline: auto; }
.signup-band__note {
  margin: 1rem auto 0;
  max-width: 52ch;
  font-size: .82rem;
  line-height: 1.55;
  color: var(--av-slate-soft);
}
.signup-status {
  margin: 1.2rem auto 0;
  max-width: 52ch;
  padding: .85rem 1.1rem;
  font-size: .92rem;
  line-height: 1.5;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.signup-status--ok  { background: var(--av-green-mist); border: 1px solid var(--av-green-pale); color: var(--av-green-dark); }
.signup-status--err { background: #fdeceb; border: 1px solid #f4c9c6; color: #a3302a; }

/* --- the compact form in the footer ------------------------------------- */
.footer-signup { margin-top: 1.8rem; max-width: 26rem; }
.footer-signup h4 { margin-bottom: .35rem; }
.footer-signup p { font-size: .86rem; line-height: 1.5; color: var(--av-slate-soft); margin: 0; }
.footer-signup .signup-form { margin-top: .8rem; gap: .5rem; }
.footer-signup .signup-form__type { display: none; }
.footer-signup .signup-form__email { flex: 1 1 11rem; padding: .62rem .9rem; font-size: .92rem; }
.footer-signup .btn { padding: .62rem 1.1rem; font-size: .9rem; }

/* --- "a later configuration" marker on the equine use case -------------- */
.later-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: .1rem 0 .6rem;
  padding: .34rem .85rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--av-slate);
  background: var(--av-paper);
  border: 1px solid var(--av-line);
  border-radius: var(--av-radius-pill);
}
.later-pill::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--av-chrome-4, #9aa4ad);
}

/* The closing band sits on the brand green, so its supporting text needs the
   navy family rather than the slate used on white sections. */
.signup-band .signup-band__note { color: rgba(30, 53, 89, .78); }
.signup-band .signup-status--ok { background: rgba(255,255,255,.92); border-color: rgba(255,255,255,.9); color: var(--av-navy); }
.signup-band .signup-status--err { background: #fff1f0; border-color: #f0bfbb; }

/* Equine use case: an optional small inset over the corner of the main image,
   for showing a product view alongside the scene without costing height. */
.usecase__media { position: relative; }
/* The equine photograph is wider than the other two are tall, so it gets a
   slightly shorter frame to keep the segment inside one 13" screen. */
#usecase-03 .usecase__media .photo-frame img { max-height: 300px; }
/* The "later configuration" marker rides alongside the use-case number rather
   than taking a line of its own. */
.usecase__tags { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.usecase__tags .eyebrow { margin: 0; }
.later-pill { margin: 0; }
.uc-inset {
  position: absolute;
  left: -14px;
  bottom: -14px;
  width: 34%;
  max-width: 190px;
  margin: 0;
  background: var(--av-white);
  border: 3px solid var(--av-white);
  box-shadow: var(--av-shadow-md, 0 10px 26px rgba(30, 53, 89, .18));
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}
.uc-inset img { display: block; width: 100%; height: auto; }
@media (max-width: 620px) { .uc-inset { width: 40%; left: -8px; bottom: -8px; } }
