
:root {
  --ink: #102831;
  --ink2: #1f2a4a;
  --teal: #168675;
  --teal2: #52a79a;
  --mint: #b0eadd;
  --pale: #e6f4ee;
  --paper: #f8faf7;
  --white: #fff;
  --muted: #52666a;
  --line: #d9e7df;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --max: 1240px;

  /* Standardized Radius Scale */
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 32px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.container { width: min(var(--max), calc(100% - 64px)); margin: auto; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #147766;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.eyebrow:before { content: ""; width: 24px; height: 1px; background: currentColor; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.06;
}
h1 { font-size: clamp(48px, 6vw, 82px); margin-bottom: 22px; }
h2 { font-size: clamp(36px, 4.4vw, 60px); margin-bottom: 20px; }
h3 { font-size: 26px; margin-bottom: 12px; }

.section { padding: 112px 0; position: relative; }
.intro { max-width: 690px; }
.intro p, .muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 99px;
  padding: 14px 22px;
  font-weight: 700;
  font-size: 14px;
  transition: transform .2s, background .2s, color .2s, box-shadow .2s;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: #0d6d60; box-shadow: 0 10px 24px #16867528; }
.btn-outline { border-color: var(--teal); color: #126d61; background: transparent; }
.btn-outline:hover { background: #e8f5ef; }
.arrow { font-size: 18px; line-height: 1; }

/* Announcement & Header */
.announcement {
  background: var(--ink);
  color: #eaf7f0;
  text-align: center;
  padding: 9px 15px;
  font-size: 12px;
  letter-spacing: .03em;
}
.announcement a { color: var(--mint); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #f8faf7ed;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, background .3s;
}
.header.scrolled { box-shadow: 0 10px 30px #10283110; }
.nav {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  transition: opacity .2s, transform .2s;
}
.brand:hover { opacity: .88; transform: translateY(-1px); }
.brand img {
  width: 168px;
  height: auto;
  filter: brightness(0) saturate(100%) invert(14%) sepia(24%) saturate(1148%) hue-rotate(150deg) brightness(95%) contrast(94%);
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  font-weight: 600;
}
.navlinks a:not(.btn) { color: #344c50; transition: color .2s; }
.navlinks a:not(.btn):hover { color: var(--teal); }
.navlinks .btn { padding: 11px 18px; }
.menu {
  display: none;
  background: none;
  border: 0;
  font-size: 26px;
  color: var(--ink);
  cursor: pointer;
  padding: 6px;
}

/* Hero */
.hero {
  padding: 72px 0 78px;
  overflow: hidden;
  background: radial-gradient(ellipse at 88% 18%, #d7f0e5 0, transparent 30%), linear-gradient(120deg, #f8faf7, #eff8f3);
}
.hero-grid {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  align-items: center;
  gap: 54px;
}
.hero .eyebrow { animation: eyebrowSlide .7s both; }
.hero h1 { animation: heroTextIn .9s .08s both; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero-copy {
  font-size: 18px;
  color: #506367;
  max-width: 520px;
  margin-bottom: 28px;
  animation: heroTextIn .9s .2s both;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  animation: heroTextIn .9s .32s both;
}

.hero-video-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 360px;
  aspect-ratio: 1.52;
  background: #183a37;
  box-shadow: 0 26px 70px #183a3724;
  isolation: isolate;
  animation: heroVisualIn 1s .15s both;
  cursor: pointer;
}
.hero-video-wrap:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, #09201d99 100%);
  pointer-events: none;
}
.hero-video-wrap video {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2, .7, .2, 1);
}
.hero-video-wrap:hover video { transform: scale(1.035); }
.video-caption {
  position: absolute;
  left: 28px;
  bottom: 24px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  z-index: 2;
  text-shadow: 0 2px 10px #0008;
}
.video-time {
  position: absolute;
  right: 26px;
  bottom: 24px;
  color: #e6f4ee;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
  background: #0b282999;
  padding: 5px 11px;
  border-radius: 99px;
  border: 1px solid #ffffff30;
}
.hero-note {
  margin-top: 15px;
  font-size: 11px;
  color: #637977;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Story Modal */
dialog.story-modal {
  border: 0;
  border-radius: var(--radius-md);
  padding: 0;
  width: min(920px, calc(100% - 32px));
  background: #0b1b22;
  color: #fff;
  box-shadow: 0 30px 90px #0008;
  overflow: hidden;
}
dialog.story-modal::backdrop { background: #09181ecc; backdrop-filter: blur(6px); }
.modal-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: #102831;
  font-size: 14px;
  font-weight: 700;
}
.modal-close {
  background: #ffffff1a;
  border: 0;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.modal-close:hover { background: var(--teal); }
.story-modal video { width: 100%; max-height: 78vh; aspect-ratio: 16/9; background: #000; object-fit: contain; }

/* Trust Strip */
.trust { padding: 28px 0 38px; border-bottom: 1px solid var(--line); background: #fff; }
.trust-row {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, 1fr);
  align-items: center;
  gap: 28px;
}
.trust-label { font: 700 19px/1.2 var(--serif); max-width: 190px; }
.trust-item {
  min-height: 60px;
  border-left: 1px solid #b9cbc4;
  padding: 6px 12px 6px 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  transition: transform .3s, background .3s;
}
.trust-item:hover { transform: translateY(-3px); background: #f3faf6; }
.trust-item img { width: 48px; height: 48px; object-fit: contain; transition: transform .35s; }
.trust-item:hover img { transform: scale(1.08); }
.trust-item strong { display: block; font-size: 13px; line-height: 1.2; }
.trust-item small { display: block; font-size: 11px; color: var(--muted); line-height: 1.3; margin-top: 3px; }

/* Problem Section */
.problem-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 68px;
  align-items: center;
}
.image-blob {
  height: 390px;
  border-radius: 48% 52% 44% 56% / 52% 42% 58% 48%;
  overflow: hidden;
  background: #d6e9dc;
  transition: border-radius .8s, transform .6s;
  animation: blobBreathe 9s ease-in-out infinite alternate;
}
.image-blob:hover {
  transform: scale(1.02);
  border-radius: 36% 64% 55% 45% / 48% 55% 45% 52%;
}
.image-blob img { width: 100%; height: 100%; object-fit: cover; }
.problem-copy p { max-width: 610px; color: var(--muted); font-size: 17px; }
.problem-copy .btn { margin-top: 14px; }

/* Platform Showcase */
.platform {
  background: linear-gradient(110deg, #e5f4ec, #f1f8f3);
  border-radius: var(--radius-lg);
  padding: 52px 54px;
  display: grid;
  grid-template-columns: .9fr .72fr 1.15fr;
  gap: 30px;
  align-items: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.platform:before {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, #b0eadd88, transparent 68%);
  top: -180px;
  right: 15%;
  z-index: -1;
  animation: ambientPulse 7s ease-in-out infinite alternate;
}
.platform h2 { font-size: clamp(34px, 3.6vw, 49px); }
.platform p { color: #52666a; }
.platform .platform-intro { opacity: 0; transform: translateY(18px); }
.platform.visible .platform-intro { animation: riseIn .75s .05s forwards; }

.phone {
  height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  perspective: 900px;
}
.phone img {
  height: 100%;
  width: auto;
  object-fit: contain;
  position: relative;
  z-index: 2;
  animation: phoneFloat 7s ease-in-out infinite;
  filter: drop-shadow(0 24px 26px #123b3530);
}
.phone-glow {
  position: absolute;
  width: 230px;
  height: 300px;
  border-radius: 50%;
  background: #7bd8bb55;
  filter: blur(28px);
  animation: glowPulse 4.5s ease-in-out infinite;
}
.scan-ring {
  position: absolute;
  width: 260px;
  height: 260px;
  border: 1px solid #16867555;
  border-radius: 50%;
  z-index: 1;
  animation: spin 22s linear infinite;
}
.scan-ring:before, .scan-ring:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px dashed #16867544;
  inset: 18px;
}
.scan-ring:after { inset: 42px; border-style: solid; opacity: .5; }

.float-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border: 1px solid #c9e9dc;
  background: #fffffff2;
  border-radius: 99px;
  box-shadow: 0 10px 28px #123b3518;
  font-size: 11px;
  font-weight: 700;
  color: #176c5d;
  white-space: nowrap;
  animation: chipFloat 5s ease-in-out infinite;
}
.float-chip svg { width: 13px; height: 13px; stroke: var(--teal); }
.chip-id { top: 12%; right: -2%; animation-delay: -1s; }
.chip-health { bottom: 26%; left: -4%; animation-delay: -2.2s; }
.chip-location { bottom: 8%; right: -2%; animation-delay: -3.1s; }

.feature-list { display: grid; gap: 16px; }
.feature {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  opacity: 0;
  transform: translateX(16px);
  transition: background .25s, transform .25s;
}
.platform.visible .feature:nth-child(1) { animation: featureIn .6s .15s forwards; }
.platform.visible .feature:nth-child(2) { animation: featureIn .6s .28s forwards; }
.platform.visible .feature:nth-child(3) { animation: featureIn .6s .41s forwards; }
.platform.visible .feature:nth-child(4) { animation: featureIn .6s .54s forwards; }
.feature:hover { background: #ffffffb8; transform: translateX(4px); }
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: #c8eee0;
  color: #147766;
  display: grid;
  place-items: center;
  transition: transform .35s, background .35s;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature:hover .feature-icon { transform: rotate(-6deg) scale(1.08); background: #a9e7d2; }
.feature strong { display: block; font-size: 15px; margin-bottom: 2px; }
.feature p { font-size: 13px; line-height: 1.5; margin: 0; color: #53686a; }

/* Solutions */
.solutions {
  display: grid;
  grid-template-columns: .72fr 1.6fr;
  gap: 50px;
  align-items: center;
}
.solution-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.solution-card {
  background: #e8f4ee;
  border: 1px solid #dfede5;
  border-radius: var(--radius-md);
  padding: 25px 18px;
  min-height: 195px;
  position: relative;
  overflow: hidden;
  transition: transform .25s, background .25s;
}
.solution-card:after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  right: -70px;
  bottom: -75px;
  background: #b0eadd;
  opacity: 0;
  transition: opacity .35s, transform .45s;
}
.solution-card:hover { transform: translateY(-5px); background: #d9eee4; }
.solution-card:hover:after { opacity: .65; transform: scale(1.6); }
.solution-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  color: #17816e;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  transition: transform .35s;
}
.solution-icon svg { width: 22px; height: 22px; }
.solution-card:hover .solution-icon { transform: translateY(-3px) scale(1.08); }
.solution-card h3 { font: 700 15px/1.3 var(--sans); letter-spacing: -.02em; margin-bottom: 8px; }
.solution-card p { font-size: 12px; line-height: 1.5; color: #5c6e6c; margin: 0; position: relative; z-index: 1; }

/* Implementation Process */
.process {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 46px 50px;
  display: grid;
  grid-template-columns: .9fr 1.8fr;
  gap: 34px;
  align-items: center;
}
.process .eyebrow { color: var(--mint); }
.process h2 { font-size: clamp(31px, 3.4vw, 44px); margin-bottom: 12px; }
.process p { color: #b9c9c7; font-size: 14px; margin: 0; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; position: relative; }
.steps:before {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  top: 27px;
  height: 1px;
  background: #78918b;
}
.step { text-align: center; position: relative; }
.step-icon {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e6f6ed;
  color: #137765;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  transition: transform .35s, box-shadow .35s;
}
.step-icon svg { width: 22px; height: 22px; }
.step:hover .step-icon { transform: translateY(-5px) scale(1.08); box-shadow: 0 10px 25px #b0eadd33; }
.step b { display: block; font-size: 11px; color: #dff2e8; }
.step small { display: block; font-size: 11px; color: #fff; margin-top: 4px; line-height: 1.35; }

/* Impact & Animated Metrics */
.impact {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
  align-items: center;
}
.impact-photo { height: 260px; border-radius: var(--radius-md); overflow: hidden; }
.impact-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.impact-photo:hover img { transform: scale(1.06); }
.impact-copy h2 { font-size: clamp(32px, 3.5vw, 45px); }
.impact-copy p { font-size: 14px; color: var(--muted); }
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 12px;
  border-left: 1px solid var(--line);
  padding-left: 26px;
}
.metric { text-align: center; transition: transform .3s; }
.metric:hover { transform: translateY(-4px); }
.metric-icon {
  width: 38px;
  height: 38px;
  margin: 0 auto 8px;
  border-radius: 10px;
  background: var(--pale);
  color: var(--teal);
  display: grid;
  place-items: center;
  transition: transform .4s;
}
.metric-icon svg { width: 19px; height: 19px; }
.metric:hover .metric-icon { transform: scale(1.15) rotate(-6deg); }
.metric strong { font-size: 12px; display: block; color: var(--ink); }
.metric span { font-size: 17px; font-weight: 700; color: var(--teal); font-variant-numeric: tabular-nums; }

/* ==========================================================================
   REDESIGNED TRAINING STORIES FROM THE FIELD (Portrait Video Cinema & 5 Reels)
   ========================================================================== */
.training {
  background: linear-gradient(180deg, #f7faf7 0%, #e7f4ed 100%);
  overflow: hidden;
}
.training:before {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  right: -180px;
  top: 70px;
  border-radius: 50%;
  background: radial-gradient(circle, #c2ecdc 0%, transparent 70%);
  opacity: .7;
  pointer-events: none;
}
.training-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.training-head-copy { max-width: 720px; }
.training-head-copy h2 { max-width: 660px; margin-bottom: 14px; }
.training-head-copy p { color: var(--muted); font-size: 16px; margin: 0; }
.training-summary-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #cde4d8;
  border-radius: 99px;
  padding: 10px 20px;
  box-shadow: 0 10px 28px #1028310a;
}
.training-summary-pill strong {
  font: 700 28px/1 var(--serif);
  color: var(--teal);
}
.training-summary-pill span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.25;
}

.training-showcase {
  margin-top: 38px;
  position: relative;
  z-index: 1;
}

/* Top Interactive Featured Field Cinema Stage */
.training-stage {
  background: linear-gradient(125deg, #0d262b 0%, #13393e 58%, #0f2d32 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 44px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 28px 65px #0d262b26;
  margin-bottom: 28px;
  border: 1px solid #255553;
}
.training-stage:after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, #16867555 0%, transparent 70%);
  right: 6%;
  top: -140px;
  pointer-events: none;
}

.stage-info {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.stage-meta-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.stage-step-badge {
  background: #16867538;
  border: 1px solid #52a79a66;
  color: var(--mint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 99px;
}
.stage-dog-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #ffffff14;
  border: 1px solid #ffffff24;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 99px;
}
.stage-dog-badge svg { width: 15px; height: 15px; color: var(--mint); }

.stage-info h3 {
  font: 700 clamp(30px, 3.4vw, 44px)/1.08 var(--serif);
  margin: 0;
  color: #fff;
}
.stage-info p {
  color: #c7dbd5;
  font-size: 15px;
  line-height: 1.65;
  max-width: 540px;
  margin: 0;
}

.stage-outcomes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.outcome-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #091d2199;
  border: 1px solid #2b635c;
  color: #dff5ec;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 99px;
}
.outcome-pill svg { width: 14px; height: 14px; color: var(--mint); flex-shrink: 0; }

.stage-controls-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding-top: 18px;
  border-top: 1px solid #ffffff1c;
}
.stage-btn-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--mint);
  color: #0d2b26;
  border: 0;
  border-radius: 99px;
  padding: 12px 22px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.stage-btn-main:hover {
  background: #c7f3e8;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px #0004;
}
.stage-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: #ffffff14;
  color: #fff;
  border: 1px solid #ffffff28;
  border-radius: 99px;
  padding: 11px 16px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.stage-btn-icon:hover { background: #ffffff24; border-color: var(--mint); }
.stage-btn-icon svg { width: 15px; height: 15px; }

.stage-nav-arrows {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.stage-arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #ffffff2e;
  background: #ffffff10;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s, transform .2s, border-color .2s;
}
.stage-arrow-btn:hover {
  background: var(--teal);
  border-color: var(--mint);
  transform: scale(1.06);
}
.stage-arrow-btn svg { width: 17px; height: 17px; }

/* Portrait Field Video Viewer Dock (Solves 9:16 / 4:5 vertical video cropping) */
.stage-viewer-col {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}
.stage-orbit {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 1px dashed #b0eadd33;
  animation: spin 28s linear infinite;
  pointer-events: none;
}
.stage-player-frame {
  width: min(100%, 300px);
  aspect-ratio: 9 / 14;
  border-radius: 26px;
  background: #07171b;
  border: 3px solid #2e6b62;
  box-shadow: 0 24px 55px #00000066, 0 0 0 1px #b0eadd22;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
}
/* Blurred ambient fill behind vertical video so zero black bars ever appear */
.stage-ambient-poster {
  position: absolute;
  inset: -12%;
  background-size: cover;
  background-position: center;
  filter: blur(22px) brightness(0.45) saturate(1.2);
  z-index: 0;
  transition: background-image .4s ease;
}
.stage-player-frame video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  display: block;
}
.stage-player-frame.fit-cover video {
  object-fit: cover;
}
.stage-top-bar {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}
.stage-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #081c20cc;
  backdrop-filter: blur(8px);
  border: 1px solid #ffffff30;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 99px;
}
.stage-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3be8b0;
  box-shadow: 0 0 8px #3be8b0;
}
.stage-fit-btn {
  pointer-events: auto;
  background: #081c20cc;
  backdrop-filter: blur(8px);
  border: 1px solid #ffffff30;
  color: #e2f5ee;
  font-size: 10px;
  font-weight: 700;
  padding: 5px 9px;
  border-radius: 99px;
  cursor: pointer;
  transition: background .2s;
}
.stage-fit-btn:hover { background: var(--teal); }

.stage-center-play {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #fffffff0;
  color: var(--teal);
  display: grid;
  place-items: center;
  padding-left: 3px;
  box-shadow: 0 12px 30px #0006;
  pointer-events: none;
  transition: opacity .25s, transform .25s, background .25s;
}
.stage-player-frame:hover .stage-center-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--mint);
}
.stage-player-frame.is-playing .stage-center-play {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85);
}

.stage-bottom-hud {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 24px 14px 12px;
  background: linear-gradient(180deg, transparent, #061518e6 85%);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stage-progress-track {
  width: 100%;
  height: 5px;
  background: #ffffff30;
  border-radius: 99px;
  overflow: hidden;
  cursor: pointer;
}
.stage-progress-bar {
  width: 0%;
  height: 100%;
  background: var(--mint);
  border-radius: 99px;
  transition: width .1s linear;
}
.stage-hud-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #dff2ec;
  font-weight: 600;
}
.stage-hud-actions {
  display: flex;
  gap: 8px;
}
.hud-mini-btn {
  background: #ffffff1f;
  border: 0;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s;
}
.hud-mini-btn:hover { background: var(--teal); }
.hud-mini-btn svg { width: 14px; height: 14px; }

/* 5-Column Vertical Reel Cards Grid (Zero Orphan Cards, True Portrait Frame) */
.training-reel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  gap: 12px;
  flex-wrap: wrap;
}
.training-reel-header span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #147766;
}
.training-reel-header small {
  font-size: 12px;
  color: var(--muted);
}

.training-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.training-card {
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  border: 2px solid #dcebe2;
  box-shadow: 0 12px 30px #143b2c0a;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  position: relative;
  cursor: pointer;
}
.training-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 42px #143b2c18;
  border-color: #8fd5be;
}
.training-card.active {
  border-color: var(--teal);
  box-shadow: 0 18px 40px #16867526, 0 0 0 3px #16867522;
}

/* Portrait Reel Media Container (Matches vertical field footage naturally!) */
.training-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #0a2024;
  isolation: isolate;
}
.training-media-bg {
  position: absolute;
  inset: -10%;
  background-size: cover;
  background-position: center;
  filter: blur(14px) brightness(0.5);
  z-index: 0;
}
.training-media video {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .65s cubic-bezier(.2, .7, .2, 1);
}
.training-card:hover .training-media video {
  transform: scale(1.04);
}
.training-media:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, #07191d80 0%, transparent 32%, transparent 62%, #07191dcc 100%);
  pointer-events: none;
}

.video-index {
  position: absolute;
  top: 11px;
  left: 11px;
  z-index: 3;
  color: #fff;
  background: #0b2829cc;
  backdrop-filter: blur(6px);
  border: 1px solid #ffffff38;
  padding: 4px 9px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  pointer-events: none;
}
.dog-chip {
  position: absolute;
  top: 11px;
  right: 11px;
  z-index: 3;
  color: #103831;
  background: #b0eaddf2;
  padding: 4px 9px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  pointer-events: none;
}

.video-play {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ffffffeb;
  color: #147766;
  padding-left: 2px;
  box-shadow: 0 8px 24px #0005;
  pointer-events: none;
  transition: transform .25s, background .25s, opacity .25s;
}
.training-card:hover .video-play {
  transform: translate(-50%, -50%) scale(1.12);
  background: var(--mint);
}
.training-card.is-playing .video-play {
  opacity: 0;
}

.reel-Overlay-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  pointer-events: none;
}
.reel-status-dot {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: var(--mint);
}

.training-card-body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.training-card.active .training-card-body {
  background: linear-gradient(180deg, #f3fbf7 0%, #e6f6ee 100%);
}
.training-tag {
  font-size: 9px;
  letter-spacing: .16em;
  color: #168675;
  font-weight: 800;
  text-transform: uppercase;
}
.training-card-body h3 {
  font: 700 19px/1.2 var(--serif);
  margin: 5px 0 7px;
}
.training-card-body p {
  font-size: 12px;
  line-height: 1.52;
  color: #5a6d68;
  margin: 0 0 14px;
}
.training-link {
  margin-top: auto;
  width: 100%;
  background: none;
  border: 0;
  border-top: 1px solid #dfece5;
  padding: 10px 0 0;
  font-size: 11px;
  font-weight: 700;
  color: #147766;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.training-card.active .training-link {
  color: #0b5347;
}
.training-link b { font-size: 14px; }

/* Feeding Section */
.feeding {
  margin-top: 84px;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 48px;
  align-items: center;
}
.feeding-copy p { color: var(--muted); }
.feeding-images { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feeding-images img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: transform .7s cubic-bezier(.2, .7, .2, 1), filter .5s;
}
.feeding-images img:hover { transform: scale(1.04); filter: saturate(1.1); }

/* Backing */
.backing { background: #e8f4ed; text-align: center; overflow: hidden; }
.backing .intro { margin: auto; }
.partner-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin-top: 46px;
  flex-wrap: wrap;
}
.partner {
  width: 210px;
  height: 170px;
  border-radius: var(--radius-md);
  background: #fff;
  display: grid;
  place-items: center;
  padding: 24px;
  box-shadow: 0 12px 35px #173c3310;
  transition: transform .35s, box-shadow .35s;
}
.partner:hover { transform: translateY(-6px); box-shadow: 0 20px 40px #173c331a; }
.partner img { max-width: 100%; max-height: 100px; object-fit: contain; }
.social-banner { max-width: 760px; margin: 40px auto 0; }
.social-banner img { width: 100%; border-radius: var(--radius-sm); }

/* Insights */
.insights { background: var(--ink2); color: #fff; }
.insights .eyebrow { color: var(--mint); }
.insights h2 { margin-bottom: 34px; }
.article {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid #ffffff32;
  position: relative;
  transition: padding .2s, color .2s;
}
.article:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--mint);
  transition: width .45s;
}
.article:hover { padding-left: 10px; color: var(--mint); }
.article:hover:after { width: 100%; }
.article-title { font: 700 clamp(20px, 2.3vw, 30px)/1.2 var(--serif); }
.article small { display: block; color: #c2cece; font: 400 12px var(--sans); margin-top: 6px; }
.article-arrow { font-size: 26px; }

/* Milestones */
.milestones { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 38px; }
.milestone {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 34px;
  position: relative;
  min-height: 210px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.milestone:after {
  content: "";
  position: absolute;
  inset: auto -50px -100px auto;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: #b0eadd55;
  transform: scale(.4);
  opacity: 0;
  transition: transform .5s, opacity .5s;
}
.milestone:hover { transform: translateY(-4px); box-shadow: 0 18px 40px #153b3012; }
.milestone:hover:after { transform: scale(1); opacity: 1; }
.milestone h3 { font-size: 25px; }
.milestone p { color: var(--muted); font-size: 14px; margin: 0; max-width: 92%; }
.milestone .go { position: absolute; right: 28px; bottom: 22px; color: var(--teal); font-size: 25px; z-index: 1; }

/* Contact & App CTA */
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 55px;
  align-items: center;
}
.contact-heading { font: 700 clamp(58px, 9vw, 120px)/.92 var(--serif); letter-spacing: -.06em; }
.contact-heading span { color: var(--teal); }
.contact-copy { color: var(--muted); max-width: 410px; margin-top: 20px; }
.contact-form {
  background: var(--ink2);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 34px;
  transition: transform .35s, box-shadow .35s;
}
.contact-form:hover { transform: translateY(-3px); box-shadow: 0 22px 55px #10283124; }
.contact-form h3 { font-size: 28px; }
.contact-form .sub { color: var(--mint); font-weight: 600; font-size: 13px; }
.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid #ffffff26;
  border-radius: 12px;
  background: #ffffff12;
  color: #fff;
  padding: 13px 15px;
  margin: 7px 0;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #c2d0d0; }
.contact-form button {
  width: 100%;
  border: 0;
  border-radius: 99px;
  padding: 14px;
  background: var(--mint);
  color: #123b35;
  font-weight: 700;
  margin-top: 7px;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.contact-form button:hover { background: #c8f3e9; transform: translateY(-1px); }
.form-status {
  color: var(--mint);
  font-size: 13px;
  margin: 12px 0 0;
  min-height: 20px;
}

.app-cta {
  margin-top: 64px;
  background: var(--ink);
  border-radius: var(--radius-lg);
  color: #fff;
  padding: 42px 48px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 20px;
  align-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.app-cta:after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 300px;
  height: 300px;
  right: -100px;
  top: -170px;
  border-radius: 50%;
  background: #16867555;
  filter: blur(14px);
  animation: ambientPulse 7s ease-in-out infinite alternate;
}
.app-cta h2 { font-size: clamp(30px, 3.5vw, 45px); }
.app-cta p { color: #bdcdca; }
.app-cta .app-shot {
  height: 210px;
  justify-self: center;
  object-fit: contain;
  animation: phoneFloat 7s ease-in-out infinite;
}
.app-cta .store { width: 150px; margin-top: 12px; }

/* FAQ */
.faq { padding-top: 70px; }
.faq-wrap { max-width: 900px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 19px 3px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:after { content: "+"; font-size: 23px; color: var(--teal); font-weight: 400; }
.faq details[open] summary:after { content: "−"; }
.faq .answer { padding: 0 4px 20px; color: var(--muted); font-size: 14px; }
.faq ul { padding-left: 20px; }

/* Footer */
footer { background: #0b1b22; color: #d4e0dc; padding: 74px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.35fr; gap: 34px; }
.footer-logo { width: 175px; filter: brightness(0) invert(1); margin-bottom: 18px; }
.footer-tag { color: var(--mint); font-weight: 700; }
.footer-grid h4 { font: 700 20px var(--serif); color: var(--mint); margin: 0 0 15px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 0 0 8px; font-size: 12px; }
.footer-grid p { font-size: 12px; color: #c2d0cc; }
.footer-grid a { transition: color .2s, transform .2s; }
.footer-grid a:hover { color: var(--mint); }
.footer-grid li a:hover { display: inline-block; transform: translateX(3px); }
.socials { display: flex; gap: 8px; margin-top: 15px; }
.socials a {
  width: 34px;
  height: 34px;
  border: 1px solid #ffffff55;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
}
.newsletter { display: flex; margin-top: 12px; }
.newsletter input {
  min-width: 0;
  width: 100%;
  border: 0;
  border-radius: 99px 0 0 99px;
  padding: 11px 14px;
  color: var(--ink);
}
.newsletter button {
  border: 0;
  background: var(--teal);
  color: #fff;
  border-radius: 0 99px 99px 0;
  padding: 0 16px;
  font-weight: 700;
  cursor: pointer;
}
.footer-bottom {
  border-top: 1px solid #ffffff25;
  margin-top: 48px;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #b6c5c0;
}

/* Scroll Reveal & Accessibility */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s ease;
  will-change: transform, opacity;
}
.reveal.visible { opacity: 1; transform: none; }
:focus-visible { outline: 3px solid var(--teal2); outline-offset: 4px; }

/* Keyframes */
@keyframes eyebrowSlide { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
@keyframes heroTextIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes heroVisualIn { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes blobBreathe { 0% { border-radius: 48% 52% 44% 56%/52% 42% 58% 48%; } 100% { border-radius: 55% 45% 52% 48%/44% 56% 44% 56%; } }
@keyframes phoneFloat { 0%, 100% { transform: translateY(0) rotateY(-4deg) rotateZ(-1deg); } 50% { transform: translateY(-10px) rotateY(4deg) rotateZ(1deg); } }
@keyframes chipFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ambientPulse { from { transform: scale(.88); opacity: .55; } to { transform: scale(1.1); opacity: .95; } }
@keyframes glowPulse { 0%, 100% { opacity: .45; transform: scale(.92); } 50% { opacity: .85; transform: scale(1.08); } }
@keyframes featureIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@keyframes riseIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Responsive Breakpoints */
@media (max-width: 1100px) {
  .training-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1050px) {
  .navlinks { gap: 12px; }
  .navlinks a { font-size: 12px; }
  .hero-grid { gap: 30px; }
  .trust-row { grid-template-columns: repeat(3, 1fr); }
  .trust-label { grid-column: 1 / -1; max-width: none; }
  .platform { grid-template-columns: 1fr .7fr 1fr; padding: 38px; }
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions { grid-template-columns: 1fr; gap: 25px; }
  .process { grid-template-columns: 1fr; }
  .impact { grid-template-columns: 1fr 1fr; }
  .impact-copy { grid-column: 2; }
  .metrics { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); padding: 24px 0 0; }
  .training-stage { grid-template-columns: 1fr .9fr; padding: 32px; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .container { width: min(var(--max), calc(100% - 38px)); }
  .section { padding: 78px 0; }
  .nav { height: 70px; }
  .brand img { width: 145px; }
  .menu { display: block; }
  .navlinks {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 70px;
    background: var(--paper);
    padding: 18px 22px 24px;
    box-shadow: 0 18px 24px #10283116;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    border-bottom: 1px solid var(--line);
  }
  .navlinks.open { display: flex; }
  .navlinks a:not(.btn) { padding: 9px 0; }
  .navlinks .btn { margin-top: 8px; }
  .hero { padding: 50px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-video-wrap { min-height: 250px; border-radius: var(--radius-md); }
  .hero-copy { font-size: 16px; }
  .trust-row { grid-template-columns: 1fr; gap: 14px; }
  .trust-item { border-left: 0; border-top: 1px solid var(--line); padding: 14px 0 0; border-radius: 0; }
  .problem-grid { grid-template-columns: 1fr; gap: 32px; }
  .image-blob { height: 290px; order: 2; }
  .platform { grid-template-columns: 1fr; padding: 30px 24px; gap: 20px; }
  .phone { height: 300px; }
  .scan-ring { width: 210px; height: 210px; }
  .float-chip { font-size: 10px; padding: 6px 10px; }
  .chip-id { right: 2%; }
  .chip-health { left: 2%; }
  .chip-location { right: 2%; }
  .feature-list { grid-template-columns: 1fr 1fr; }
  .process { padding: 32px 24px; }
  .steps { grid-template-columns: repeat(5, minmax(80px, 1fr)); overflow-x: auto; padding-bottom: 5px; }
  .steps:before { display: none; }
  .step small { font-size: 10px; }
  .impact { grid-template-columns: 1fr; gap: 20px; }
  .impact-photo { height: 240px; }
  .impact-copy { grid-column: auto; }
  .metrics { grid-column: auto; }
  .training-stage { grid-template-columns: 1fr; padding: 26px 22px; }
  .stage-viewer-col { order: -1; }
  .stage-player-frame { width: min(100%, 270px); }
  .training-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feeding { grid-template-columns: 1fr; gap: 25px; }
  .partner { width: 150px; height: 130px; }
  .milestones { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .app-cta { grid-template-columns: 1fr; padding: 30px 25px; }
  .app-cta .app-shot { height: 180px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 500px) {
  h1 { font-size: 44px; }
  h2 { font-size: 34px; }
  .feature-list { grid-template-columns: 1fr; }
  .solution-grid { grid-template-columns: 1fr 1fr; }
  .solution-card { padding: 18px 14px; min-height: 175px; }
  /* Horizontal swipeable reel strip on small phones or 2-col */
  .training-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
    gap: 14px;
  }
  .training-card { scroll-snap-align: start; }
  .feeding-images { gap: 8px; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .contact-form { padding: 24px 19px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal, .platform .platform-intro, .feature { opacity: 1 !important; transform: none !important; }
}


/* =========================================================================
   INDIECARE SUBPAGE & DETAIL TEMPLATE EXTENSIONS
   ========================================================================= */

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.breadcrumbs a {
  color: var(--teal);
  transition: opacity .2s;
}
.breadcrumbs a:hover {
  text-decoration: underline;
  opacity: .85;
}
.breadcrumbs .sep {
  opacity: .4;
  font-size: 11px;
}
.breadcrumbs .current {
  color: var(--ink);
  font-weight: 600;
}

/* Page Hero */
.page-hero {
  padding: 68px 0 64px;
  background: radial-gradient(ellipse at 85% 15%, #d7f0e5 0, transparent 40%), linear-gradient(135deg, #f8faf7, #eff8f3);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-hero.compact {
  padding: 52px 0 48px;
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 48px;
}
.page-hero-single {
  max-width: 820px;
}
.page-hero h1 {
  font-size: clamp(38px, 5.2vw, 68px);
  line-height: 1.08;
  margin-bottom: 18px;
  color: var(--ink);
}
.page-hero p.lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 680px;
  margin-bottom: 28px;
}
.page-hero-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}
.page-hero-meta .pill {
  background: var(--pale);
  color: var(--teal);
  padding: 5px 12px;
  border-radius: 99px;
  border: 1px solid #16867530;
}
.page-hero-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px #10283115;
  background: #183a37;
  aspect-ratio: 16/10;
  position: relative;
  max-width: 100%;
  box-sizing: border-box;
}
.page-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Section Subheads & Utility */
.section-head {
  margin-bottom: 48px;
}
.section-head.center {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.section-head.center .eyebrow {
  justify-content: center;
}
.section-head.center .eyebrow:before {
  display: none;
}

/* Grids & Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

/* Service & Stakeholder Cards */
a.feature-card, a.post-card, a.newsletter-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px #10283110;
  border-color: var(--teal2);
}

/* Team portrait photos */
.team-photo-wrap {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
  border: 3px solid var(--mint);
  box-shadow: 0 8px 22px rgba(16, 40, 49, 0.12);
  background: var(--pale);
}
.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.feature-card:hover .team-photo {
  transform: scale(1.08);
}
.team-role {
  color: var(--teal);
  font-weight: 700;
  font-size: 13.5px;
  margin-bottom: 12px;
}
.feature-card .card-thumb {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16/10;
  margin-bottom: 22px;
  background: var(--pale);
}
.feature-card .card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.feature-card:hover .card-thumb img {
  transform: scale(1.04);
}
.feature-card .card-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}
.feature-card h3 {
  font-size: 22px;
  line-height: 1.25;
  margin-bottom: 12px;
}
.feature-card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.feature-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--teal);
  margin-top: auto;
}
.feature-card .card-link span {
  transition: transform .2s;
}
.feature-card:hover .card-link span {
  transform: translateX(4px);
}

/* Detail Process Steps */
.step-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.step-item:last-child {
  border-bottom: 0;
}
.step-badge {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--pale);
  color: var(--teal);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #16867530;
}
.step-content h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.step-content p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* Accordion */
.accordion {
  border-top: 1px solid var(--line);
}
.accordion-item {
  border-bottom: 1px solid var(--line);
}
.accordion-trigger {
  width: 100%;
  background: none;
  border: 0;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: color .2s;
}
.accordion-trigger:hover {
  color: var(--teal);
}
.accordion-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--pale);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 400;
  transition: transform .25s, background .25s, color .25s;
  flex-shrink: 0;
}
.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
  background: var(--teal);
  color: #fff;
}
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.accordion-item.active .accordion-panel {
  max-height: 400px;
  padding-bottom: 22px;
}
.accordion-panel p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

/* Editorial Article Layout */
.article-header {
  padding: 60px 0 40px;
  background: var(--paper);
}
.article-header-wrap {
  max-width: 820px;
  margin: auto;
}
.article-title {
  font-size: clamp(34px, 4.8vw, 56px);
  line-height: 1.12;
  margin-bottom: 20px;
  color: var(--ink);
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.article-featured-img {
  max-width: 980px;
  margin: 0 auto 48px;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #183a37;
  box-shadow: 0 16px 40px #10283110;
}
.article-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.article-body-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  align-items: flex-start;
  max-width: 1080px;
  margin: auto;
}
.article-toc {
  position: sticky;
  top: 110px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
}
.article-toc h4 {
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 14px;
}
.article-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  font-size: 13.5px;
}
.article-toc a {
  color: var(--muted);
  transition: color .2s;
  display: block;
  line-height: 1.4;
}
.article-toc a:hover {
  color: var(--teal);
}
.article-prose {
  font-size: 17px;
  line-height: 1.8;
  color: #2b3b3e;
}
.article-prose h2 {
  font-size: 30px;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--ink);
}
.article-prose h3 {
  font-size: 22px;
  margin-top: 36px;
  margin-bottom: 14px;
  color: var(--ink);
}
.article-prose p {
  margin-bottom: 22px;
}
.article-prose ul, .article-prose ol {
  margin: 0 0 24px 20px;
  padding: 0;
}
.article-prose li {
  margin-bottom: 10px;
}
.article-prose blockquote {
  margin: 32px 0;
  padding: 24px 30px;
  background: var(--pale);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
}
.article-prose .callout {
  background: #edf7f3;
  border: 1px solid #c2e6d8;
  border-radius: var(--radius-sm);
  padding: 22px 26px;
  margin: 28px 0;
}
.article-prose .callout h4 {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 16px;
}
.article-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--teal);
  width: 0%;
  z-index: 999;
  transition: width .1s linear;
}

/* Blog Magazine Grid */
.blog-filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.filter-btn {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 8px 18px;
  border-radius: 99px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all .2s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.post-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px #10283110;
  border-color: var(--teal2);
}
.post-thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--pale);
}
.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.post-card:hover .post-thumb img {
  transform: scale(1.04);
}
.post-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 12px;
}
.post-category {
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.post-card h3 {
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 12px;
}
.post-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 20px;
  flex: 1;
}
.post-card .read-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--teal);
}

/* Projects Case Studies */
.case-study {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin-bottom: 48px;
  box-shadow: 0 10px 30px #10283108;
}
.case-study-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
}
.case-study h3 {
  font-size: 32px;
  margin-bottom: 16px;
}
.stat-pill-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 22px 0;
}
.stat-pill {
  background: var(--pale);
  border: 1px solid #16867530;
  border-radius: 99px;
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.stat-pill strong {
  color: var(--teal);
}

/* Media Page Highlights */
.media-cover-card {
  background: linear-gradient(135deg, #102831, #183e39);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}
.media-cover-card h2 {
  color: #fff;
  font-size: clamp(32px, 4vw, 52px);
}
.media-cover-card p {
  color: #d1e5dd;
  font-size: 17px;
  line-height: 1.7;
}

/* Newsletters Archive */
.newsletter-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.newsletter-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px #10283110;
}
.newsletter-card .thumb {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16/10;
  margin-bottom: 18px;
  background: var(--pale);
}
.newsletter-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.newsletter-card h3 {
  font-size: 19px;
  line-height: 1.35;
  margin-bottom: 12px;
}

/* Careers Job Cards */
.job-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 36px;
  margin-bottom: 24px;
  transition: border-color .2s, box-shadow .2s;
}
.job-card:hover {
  border-color: var(--teal2);
  box-shadow: 0 10px 30px #10283108;
}
.job-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.job-card h3 {
  font-size: 24px;
  margin: 0;
}
.job-card .meta {
  display: flex;
  gap: 14px;
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 600;
  margin-top: 6px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .article-body-grid { grid-template-columns: 1fr; }
  .article-toc { display: none; }
  .case-study-grid { grid-template-columns: 1fr; }
  .media-cover-card { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 34px; }
  .case-study { padding: 28px 20px; }
  .job-card { padding: 24px 20px; }
}


/* Mobile Overflow Fixes */
.article-prose {
  overflow-wrap: break-word;
  word-break: break-word;
}
.article-prose table {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto;
}
.article-prose td, .article-prose th {
  max-width: 100%;
  word-break: break-word;
}
.article-prose img {
  max-width: 100% !important;
  height: auto !important;
}

@media (max-width: 768px) {
  .media-cover-card {
    padding: 28px 20px !important;
  }
  .hiring-steps-grid {
    grid-template-columns: 1fr !important;
  }
  .page-hero-visual {
    aspect-ratio: auto !important;
    min-height: auto !important;
  }
  .media-enquiry-card {
    grid-template-columns: 1fr !important;
    padding: 28px 20px !important;
    gap: 24px !important;
  }
  .media-logos-strip {
    gap: 20px !important;
  }
}

/* Media Page Specific Components */
.media-quote-box {
  background: rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--mint);
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 22px 0;
}
.media-quote-box blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
  font-style: italic;
  color: #fff;
}
.media-quote-author {
  margin-top: 10px;
  font-size: 13px;
  color: var(--mint);
  font-weight: 600;
}

.press-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.press-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px #10283110;
  border-color: var(--teal2);
}
.press-thumb {
  aspect-ratio: 16/10;
  background: var(--pale);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.press-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.press-card:hover .press-thumb img {
  transform: scale(1.04);
}
.press-body {
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.print-edition-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.print-edition-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px #10283112;
  border-color: var(--teal2);
}
.print-edition-thumb {
  aspect-ratio: 3/4;
  background: #183a37;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.print-edition-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.print-edition-card:hover .print-edition-thumb img {
  transform: scale(1.03);
}

.media-logos-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 32px 0;
}
.media-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(16, 40, 49, 0.04);
  transition: transform .2s, border-color .2s;
}
.media-logo-item:hover {
  transform: translateY(-2px);
  border-color: var(--teal2);
}
.media-logo-item img {
  height: 38px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.media-enquiry-card {
  background: var(--pale);
  border: 1px solid #16867530;
  border-radius: var(--radius-md);
  padding: 44px 48px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
  box-sizing: border-box;
}
