/* ============================================================
   PALINDROME — SHARED STYLESHEET
   All pages reference this via /assets/css/styles.css
   ============================================================ */

:root {
  --bg-base: #f7f4ed;
  --bg-card: #ffffff;
  --ink: #0a0a0a;
  --ink-soft: #2a2a2a;
  --ink-dim: #6a6660;
  --ink-mute: #5e5b56;
  --accent: #123934;
  --accent-soft: #1c4f49;
  --accent-2: #7a2e2e;
  --accent-3: #b8860b;
  --hairline: rgba(10, 10, 10, 0.08);
  --hairline-strong: rgba(10, 10, 10, 0.14);
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-bg-strong: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.9);
  --shadow-soft: 0 10px 30px -10px rgba(10, 14, 40, 0.12), 0 1px 2px rgba(10, 14, 40, 0.04);
  --shadow-deep: 0 30px 70px -20px rgba(10, 14, 40, 0.18), 0 2px 6px rgba(10, 14, 40, 0.06);
  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg-base);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ===== MESH BACKDROP ===== */
.mesh-stage {
  position: fixed; inset: 0;
  z-index: 0; overflow: hidden;
  pointer-events: none;
}
.grain {
  position: fixed; inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.4 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ===== LAYOUT ===== */
.page { position: relative; z-index: 10; }
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* ===== ANNOUNCEMENT ===== */
.announce {
  position: relative; z-index: 60;
  padding: 10px 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-dim);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--hairline);
}
.announce .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.announce a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline-strong);
  margin-left: 10px;
  padding-bottom: 1px;
  transition: color 0.3s, border-color 0.3s;
}
.announce a:hover { color: var(--accent); border-color: var(--accent); }

/* Announcement rotator: stack items in the same position, fade between them.
   The label "Announcement" stays static; only the item swaps. */
.announce-label { margin-right: 10px; }
.announce-rotator {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  min-width: 1ch;
  min-height: 1.2em;
}
.announce-item {
  position: absolute;
  top: 0; left: 0;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  margin-left: 0 !important;
}
.announce-item.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}
@media (prefers-reduced-motion: reduce) {
  .announce-item { transition: none; }
}
/* On narrow viewports, let the rotator wrap onto its own line cleanly */
@media (max-width: 700px) {
  .announce-rotator { display: block; margin-top: 4px; }
  .announce-item { white-space: normal; }
}

/* ===== NAV ===== */
nav.topnav {
  position: sticky; top: 0;
  z-index: 50;
  padding: 18px 0;
  background: rgba(247, 244, 237, 0.7);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--hairline);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.logo {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img {
  height: 26px;
  width: auto;
  display: block;
  transition: opacity 0.3s;
}
.logo:hover img { opacity: 0.8; }
footer .logo img { height: 22px; }
.logo-mark {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-base);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
}
.logo-mark::after { content: "P"; }

/* ===== PRELOADER (home page) ===== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-base);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s cubic-bezier(0.65, 0, 0.35, 1) 0.15s,
              visibility 0.7s ease 0.15s;
}
.preloader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.preloader-logo {
  width: 72px;
  height: 72px;
  display: block;
  animation: fidget 1.8s cubic-bezier(0.1, 0.7, 0.2, 1) forwards;
  transform-origin: center center;
}
@keyframes fidget {
  0%   { transform: rotate(0deg) scale(0.9); opacity: 0; }
  18%  { opacity: 1; }
  100% { transform: rotate(1080deg) scale(1); opacity: 1; }
}
.preloader-progress {
  width: 200px;
  height: 2px;
  background: rgba(18, 57, 52, 0.08);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.preloader-progress-fill {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(0);
  animation: preloaderProgress 1s cubic-bezier(0.55, 0, 0.25, 1) 0.15s forwards;
}
@keyframes preloaderProgress {
  to { transform: scaleX(1); }
}
.preloader-tagline {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  text-align: center;
  opacity: 0;
  animation: taglineFadeIn 0.4s ease-out 0.25s forwards;
}
@keyframes taglineFadeIn {
  to { opacity: 1; }
}
.preloader-tagline-text {
  position: relative;
  display: inline-block;
  background: linear-gradient(
    90deg,
    var(--ink) 0%,
    var(--ink) 35%,
    #2a9d6a 50%,
    var(--ink) 65%,
    var(--ink) 100%
  );
  background-size: 250% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  /* Shine activates after the progress completes (1s + 0.15s delay) */
  animation: taglineShine 3s linear 1.15s infinite;
}
@keyframes taglineShine {
  0%   { background-position: 100% 0; }
  100% { background-position: -150% 0; }
}
@media (max-width: 600px) {
  .preloader-tagline { font-size: 10px; letter-spacing: 0.1em; }
  .preloader-progress { width: 160px; }
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.25s;
  position: relative;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--accent); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--ink);
  color: var(--bg-base);
  box-shadow: 0 6px 20px -6px rgba(10,10,10,0.3);
}
.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px -6px rgba(18, 57, 52,0.35);
}
.btn-ghost {
  background: var(--glass-bg);
  color: var(--ink);
  border-color: var(--hairline-strong);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover {
  background: var(--glass-bg-strong);
  border-color: var(--ink);
}
.btn .arrow { font-size: 14px; transition: transform 0.3s; }
.btn:hover .arrow { transform: translate(2px, -2px); }

/* ===== SECTION META ===== */
.section { position: relative; padding: 100px 0; }
.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-label::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--accent);
  opacity: 0.5;
}
.section-label.center { justify-content: center; }
.section-title {
  font-family: var(--font-sans);
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 500;
  color: var(--ink);
  max-width: 22ch;
  text-wrap: balance;
}
.section-intro {
  color: var(--ink-dim);
  font-size: 17px;
  line-height: 1.65;
  max-width: 640px;
  margin-top: 24px;
}
.accent-text { color: var(--accent); font-weight: 600; }

/* ===== HERO (split layout — text left, animation right) ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero { padding: 80px 0 100px; position: relative; min-height: calc(100vh - 160px); display: flex; align-items: center; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-text h1 {
  font-family: var(--font-sans);
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 1.1s ease 0.2s forwards;
}
.hero-text h1 .accent-text { font-weight: 600; }
.hero-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-dim);
  max-width: 480px;
  opacity: 0;
  animation: fadeUp 1.1s ease 0.5s forwards;
}
.hero-sub strong {
  color: var(--ink);
  font-weight: 500;
}

/* ===== AGENT ACTIVITY FEED (Hero right-side animation) ===== */
.agent-feed {
  position: relative;
  padding: 32px;
  border-radius: 20px;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-deep);
  overflow: hidden;
  opacity: 0;
  animation: fadeUp 1.1s ease 0.8s forwards;
}
.feed-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink-soft);
  padding-bottom: 22px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 8px;
}
.feed-phrase { white-space: nowrap; }
.cycling-word {
  display: inline-block;
  position: relative;
  vertical-align: baseline;
  /* clip-path instead of overflow:hidden so the inline-block keeps its natural
     text baseline. overflow:hidden would synthesise the baseline at the bottom
     edge, which pushed the visible word above the surrounding line. */
  clip-path: inset(0);
}
.cycling-word .word {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.015em;
  white-space: nowrap;
}
/* Hidden anchor word establishes the natural inline size and baseline of the box.
   It's the widest word ("orchestrate") and stays in the flow but invisible. */
.cycling-word .word-anchor {
  visibility: hidden;
  pointer-events: none;
}
/* All other words are absolutely positioned on top of the anchor, taking their cue
   for animation from slotRise. */
.cycling-word .word:not(.word-anchor) {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  animation: slotRise 17.5s linear infinite;
}
.cycling-word .word:not(.word-anchor):nth-of-type(2) { animation-delay: 0s; }       /* generate */
.cycling-word .word:not(.word-anchor):nth-of-type(3) { animation-delay: 3.5s; }     /* review */
.cycling-word .word:not(.word-anchor):nth-of-type(4) { animation-delay: 7s; }       /* search */
.cycling-word .word:not(.word-anchor):nth-of-type(5) { animation-delay: 10.5s; }    /* curate */
.cycling-word .word:not(.word-anchor):nth-of-type(6) { animation-delay: 14s; }      /* orchestrate */

.feed-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2a9d6a;
  box-shadow: 0 0 0 4px rgba(42,157,106,0.18);
  animation: pulse 2s ease-in-out infinite;
  align-self: center;
}
.feed-stage {
  position: relative;
  min-height: 100px;
  overflow: hidden;
}
.feed-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 8px 0;
  opacity: 0;
  animation: slotRise 17.5s linear infinite;
}
.feed-item:nth-child(1) { animation-delay: 0s; }
.feed-item:nth-child(2) { animation-delay: 3.5s; }
.feed-item:nth-child(3) { animation-delay: 7s; }
.feed-item:nth-child(4) { animation-delay: 10.5s; }
.feed-item:nth-child(5) { animation-delay: 14s; }

@keyframes slotRise {
  /* enter: rise up from below, blurred and slightly small, decelerating into place */
  0%    { opacity: 0; transform: translateY(38px) scale(0.94); filter: blur(7px);
          animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }
  3.5%  { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
  /* hold: sharp and still */
  16.5% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0);
          animation-timing-function: cubic-bezier(0.7, 0, 0.84, 0); }
  /* exit: accelerate upward, dissolving into blur */
  20%   { opacity: 0; transform: translateY(-38px) scale(0.94); filter: blur(7px); }
  /* gone: wait off-stage until the next turn */
  100%  { opacity: 0; transform: translateY(-38px) scale(0.94); filter: blur(7px); }
}
.feed-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  margin-top: 1px;
}
.feed-icon.cap {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(18, 57, 52, 0.08);
  border: 1px solid var(--hairline);
  color: var(--accent);
}
.feed-icon.cap svg { width: 26px; height: 26px; display: block; }
.feed-icon.done {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(42,157,106,0.12);
  color: #1e7a52;
}
.feed-icon.running {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(18,57,52,0.1);
  color: var(--accent);
  border: 1px solid rgba(18,57,52,0.2);
}
.feed-icon.running::after {
  content: "";
  width: 12px;
  height: 12px;
  border: 1.5px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.feed-body { flex: 1; min-width: 0; }
.feed-title {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 6px;
}
.feed-meta {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-dim);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.005em;
}
.feed-meta .sep { opacity: 0.4; }
.feed-time {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-mute);
  align-self: flex-start;
  margin-top: 4px;
  flex-shrink: 0;
}

@keyframes feedItem {
  0%, 3% { opacity: 0; transform: translateY(10px); }
  10%, 90% { opacity: 1; transform: translateY(0); }
  97%, 100% { opacity: 0; transform: translateY(-6px); }
}

/* ===== PAGE HERO (smaller, for non-home pages) ===== */
.page-hero { padding: 80px 0 60px; }
.page-hero .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.page-hero .eyebrow::before {
  content: "";
  width: 32px; height: 1px;
  background: var(--accent);
}
.page-hero h1 {
  font-family: var(--font-sans);
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 500;
  color: var(--ink);
  text-wrap: balance;
}
.page-hero h1 .accent-text { font-weight: 600; }
.page-hero p {
  margin-top: 28px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-dim);
  max-width: 640px;
}

/* ===== LOGO STRIP ===== */
.logo-strip {
  padding: 60px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.logo-strip-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: center;
  margin-bottom: 36px;
}
.logo-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px 40px;
}
.logo-item {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: -0.02em;
  transition: color 0.3s, transform 0.3s;
  white-space: nowrap;
  opacity: 0.75;
}
.logo-item:hover { color: var(--ink); opacity: 1; transform: translateY(-2px); }
.logo-item.mono {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: uppercase;
}

/* ===== STAT BAND ===== */
.stat-band { padding: 100px 0; text-align: center; }
.stat-band .big {
  font-family: var(--font-sans);
  font-size: clamp(32px, 4.6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 24px;
}
.stat-band .big .accent-text { font-weight: 600; }
.stat-band .sub {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  max-width: 600px;
  margin: 18px auto 0;
  line-height: 1.5;
}
.stat-band .stat-cta { margin-top: 32px; }

/* ===== VIDEO ===== */
.video-section { padding: 60px 0 140px; }
.video-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-deep);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: center;
}
.video-meta .label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  margin-bottom: 20px;
}
.video-meta h3 {
  font-family: var(--font-sans);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin-bottom: 24px;
}
.video-meta h3 .accent-text { font-weight: 600; }
.video-meta .video-cta { margin-top: 8px; align-self: flex-start; }
.video-meta .duration {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(10,10,10,0.04);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-dim);
}
.video-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.video-body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-dim);
  margin-top: 4px;
  margin-bottom: 24px;
  max-width: 460px;
}
.video-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.video-chip {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: rgba(18, 57, 52, 0.06);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 7px 12px;
  white-space: nowrap;
}
.video-frame {
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--hairline-strong);
  background:
    radial-gradient(circle at 30% 30%, rgba(26,31,58,0.08), transparent 60%),
    linear-gradient(135deg, #ebe6dc, #d9d2c4 60%, #ccc4b3);
  transition: transform 0.4s;
}
.video-frame:hover { transform: scale(1.01); }
.video-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(10,10,10,0.025) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(90deg, rgba(10,10,10,0.025) 0 1px, transparent 1px 5px);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }

/* Featured overlay tag on the video */
.video-overlay-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #f7f4ed;
  font-weight: 500;
}
.video-overlay-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff3b30;
  box-shadow: 0 0 8px rgba(255, 59, 48, 0.6);
  animation: pulseDot 1.6s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* Strip below the video — founders / metadata */
.video-strip {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 16px 18px;
  background: rgba(18, 57, 52, 0.04);
  border: 1px solid var(--hairline);
  border-radius: 14px;
}
.video-strip-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.video-strip-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  padding: 4px;
  border-radius: 8px;
  background: rgba(18, 57, 52, 0.08);
  color: var(--accent);
}
.video-strip-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.video-strip-role {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-dim);
  margin-top: 2px;
  letter-spacing: 0.04em;
}
.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--ink);
  border: none;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  cursor: pointer;
  z-index: 3;
}
.video-frame:hover .play-btn {
  background: var(--accent);
  transform: translate(-50%, -50%) scale(1.05);
}
.play-btn svg { width: 22px; height: 22px; fill: var(--bg-base); margin-left: 4px; }

/* ===== GENERIC GLASS CARD ===== */
.glass-card {
  position: relative;
  border-radius: 20px;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s, box-shadow 0.4s;
}
.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-deep);
}

/* ===== TESTIMONIALS ===== */
.testimonials-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 80px;
}
.testimonials-head p {
  color: var(--ink-dim);
  font-size: 16px;
  line-height: 1.65;
  max-width: 480px;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  position: relative;
  padding: 32px;
  border-radius: 20px;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: transform 0.4s, box-shadow 0.4s;
}
.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-deep);
}
.testimonial .roman {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
}
.testimonial blockquote {
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.testimonial blockquote.feature {
  font-size: 16px;
  font-weight: 500;
}
.testimonial .attr {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
}
.testimonial .avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg-base);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 500;
  flex-shrink: 0;
}
.testimonial .who {
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-dim);
}
.testimonial .who strong {
  color: var(--ink);
  font-weight: 500;
  display: block;
  margin-bottom: 2px;
}

/* ===== SOLUTIONS / GENERIC FEATURE GRID ===== */
.solutions-grid, .features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 80px;
}
.solution, .feature-card {
  position: relative;
  padding: 40px;
  border-radius: 24px;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.4s, box-shadow 0.4s;
}
.solution:hover, .feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-deep);
}
.solution-num, .feature-num {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
}
.solution-num::after, .feature-num::after {
  content: "";
  flex: 1; height: 1px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
  opacity: 0.4;
}
.solution h3, .feature-card h3 {
  font-family: var(--font-sans);
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--ink);
}
.solution h3 .accent-text, .feature-card h3 .accent-text { font-weight: 600; }
.solution p, .feature-card p {
  color: var(--ink-dim);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 16px;
}
.solution .outcome {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  line-height: 1.6;
}

/* ===== CENTERED STATEMENT SECTION ===== */
.statement-section { padding: 110px 0; text-align: center; }
.statement-section h2 {
  font-family: var(--font-sans);
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 500;
  max-width: 18ch;
  margin: 24px auto 36px;
  color: var(--ink);
}
.statement-section h2 .accent-text { font-weight: 600; }
.statement-section p {
  color: var(--ink-dim);
  font-size: 17px;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 16px;
}
.statement-section p strong { color: var(--ink); font-weight: 500; }
.statement-section .platform-cta { margin-top: 48px; }

/* ===== NEWS IMAGE (Agentic Launchpad OG card) ===== */
.news-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-deep);
  border: 1px solid var(--hairline);
  aspect-ratio: 1 / 1;
  max-width: 480px;
  margin: 0 auto;
}
.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== NEWS / SPOTLIGHT CARD ===== */
.news-card {
  margin: 0 auto;
  max-width: 1100px;
  padding: 56px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(18, 57, 52,0.04), transparent 50%),
    var(--glass-bg-strong);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-deep);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.news-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  margin-bottom: 20px;
}
.news-card h3 {
  font-family: var(--font-sans);
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin-bottom: 18px;
  color: var(--ink);
}
.news-card h3 .accent-text { font-weight: 600; }
.news-card .desc {
  color: var(--ink-dim);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 32px;
}
.partners { display: flex; flex-direction: column; gap: 14px; }
.partner-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-radius: 14px;
  background: var(--glass-bg);
  border: 1px solid var(--hairline);
  backdrop-filter: blur(8px);
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
}
.partner-row:hover {
  transform: translateX(4px);
  border-color: var(--accent);
  background: var(--bg-card);
}
.partner-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 14px;
  background: var(--ink);
  color: var(--bg-base);
}
.partner-name {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.partner-role {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mute);
}

/* ===== THREE PILLAR GRID ===== */
.way-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 80px;
}
.pillar {
  position: relative;
  padding: 44px 36px;
  border-radius: 24px;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.4s, box-shadow 0.4s;
}
.pillar:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-deep);
}
.pillar::before {
  content: "";
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.4;
}
.pillar-roman {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 8px;
}
.pillar-type {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mute);
  margin-bottom: 32px;
}
.pillar h3 {
  font-family: var(--font-sans);
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin-bottom: 28px;
  color: var(--ink);
}
.pillar h3 .accent-text { font-weight: 600; }
.pillar-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.pillar-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--ink-soft);
  padding: 10px 0;
  border-bottom: 1px solid var(--hairline);
}
.pillar-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.55;
  flex-shrink: 0;
}
.pillar-list li:last-child { border-bottom: none; }
.pillar-list .num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  width: 24px;
  font-weight: 500;
}

/* ===== CASE STUDY CARDS (used on Customers, News) ===== */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.case-card {
  padding: 32px;
  border-radius: 20px;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.4s, box-shadow 0.4s;
  text-decoration: none;
  color: inherit;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-deep); }
.case-card .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
}
.case-card h3 {
  font-size: 20px;
  letter-spacing: -0.025em;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
}
.case-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-dim);
}
.case-card .read {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.case-card .read > span:first-child {
  color: var(--ink-dim);
}

/* ===== STAT CASES (customer page top-of-page stats) ===== */
.stat-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.stat-case {
  padding: 36px 28px 32px;
  border-radius: 20px;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  border-left: 3px solid var(--accent);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat-case-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 14px;
}
.stat-case-number {
  font-family: var(--font-sans);
  font-size: clamp(48px, 5.8vw, 80px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--accent);
}
.stat-case-number .x,
.stat-case-number .pct {
  font-weight: 500;
  font-size: 0.7em;
  margin-left: 2px;
}
.stat-case-meta {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-dim);
  margin-top: 6px;
}

/* ===== RICH CASE CARDS (customer page detailed stories) ===== */
.case-grid-rich { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card-rich { padding: 30px 28px 26px; gap: 16px; }
.case-card-rich .case-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(18, 57, 52, 0.07);
  border: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 4px;
}
.case-card-rich .case-card-icon svg { width: 32px; height: 32px; display: block; }
.case-card-rich h3 {
  font-size: 22px;
  letter-spacing: -0.025em;
  font-weight: 500;
  line-height: 1.15;
}
.case-card-rich h3 .accent-text { font-weight: 600; }
.case-card-rich p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-dim);
  min-height: 90px;
}
.case-card-rich .case-card-metric {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.005em;
  padding: 14px 16px;
  background: rgba(18, 57, 52, 0.06);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  align-self: stretch;
  text-align: center;
  min-height: 68px;
}
.case-card-rich .case-card-metric .arrow {
  font-family: var(--font-mono);
  opacity: 0.5;
  margin: 0 2px;
}
.case-card-rich .case-card-quote {
  position: relative;
  font-family: var(--font-serif), Georgia, serif;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
  padding: 18px 18px 16px;
  background: rgba(122, 46, 46, 0.04);
  border-left: 2px solid var(--maroon, #7a2e2e);
  border-radius: 0 8px 8px 0;
  margin: 4px 0;
  min-height: 150px;
  font-style: italic;
}
.case-card-rich .case-card-quote::before {
  content: '"';
  position: absolute;
  top: -2px;
  left: 8px;
  font-family: Georgia, serif;
  font-size: 28px;
  line-height: 1;
  color: var(--maroon, #7a2e2e);
  opacity: 0.4;
  font-style: normal;
}
.case-card-rich .case-card-quote cite {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-soft);
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ===== CASE STUDY PAGES (individual customer impact pages) ===== */
.case-breadcrumb {
  padding: 36px 0 0;
}
.case-breadcrumb a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-dim);
  text-decoration: none;
  transition: color 0.25s;
}
.case-breadcrumb a:hover {
  color: var(--accent);
}

.case-hero {
  padding: 56px 0 72px;
}
.case-hero-content {
  max-width: 980px;
}
.case-hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 32px;
}
.case-hero h1 {
  font-size: clamp(44px, 6.5vw, 84px);
  letter-spacing: -0.045em;
  line-height: 1.02;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 32px;
}
.case-hero h1 .accent-text { font-weight: 600; }
.case-hero-sub {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--ink-dim);
  max-width: 760px;
}

.case-kpis {
  padding: 24px 0 60px;
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.kpi-tile {
  padding: 32px 28px 28px;
  border-radius: 18px;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}
.kpi-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 18px;
}
.kpi-value {
  font-family: var(--font-sans);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 12px;
}
.kpi-value .x,
.kpi-value .pct {
  font-weight: 500;
  font-size: 0.65em;
  margin-left: 2px;
}
.kpi-meta {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-dim);
  margin-top: auto;
}

.case-quote {
  padding: 40px 0 60px;
}
.case-quote blockquote {
  max-width: 960px;
  margin: 0;
  padding: 48px 56px;
  border-radius: 24px;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  border-left: 4px solid var(--accent-2);
}
.case-quote blockquote p {
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.3;
  letter-spacing: -0.025em;
  color: var(--ink);
  font-weight: 400;
  margin-bottom: 24px;
}
.case-quote blockquote cite {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  font-style: normal;
  text-transform: uppercase;
  font-weight: 500;
}

.case-story {
  padding: 40px 0 80px;
}
.case-story-block {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 72px;
  padding: 44px 0;
  border-top: 1px solid var(--hairline);
  align-items: start;
}
.case-story-block:first-of-type {
  border-top: none;
  padding-top: 8px;
}
.case-story-label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: sticky;
  top: 100px;
}
.case-story-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-dim);
  font-weight: 500;
}
.case-story-name {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.case-story-text {
  max-width: 720px;
}
.case-story-text p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 18px;
}
.case-story-text p:last-child {
  margin-bottom: 0;
}

.case-cta-end {
  padding: 80px 0 120px;
  text-align: center;
}
.case-cta-end h2 {
  font-size: clamp(30px, 3.5vw, 44px);
  letter-spacing: -0.035em;
  line-height: 1.08;
  font-weight: 500;
  color: var(--ink);
}
.case-cta-end h2 .accent-text { font-weight: 600; }

/* ===== SECURITY CERTS / BADGES ===== */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.cert-card {
  padding: 32px;
  border-radius: 20px;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: transform 0.4s, box-shadow 0.4s;
}
.cert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-deep); }
.cert-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--accent);
  color: var(--bg-base);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.1;
  text-align: center;
  padding: 4px;
}
.cert-card h4 {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.cert-card p {
  font-size: 13px;
  color: var(--ink-dim);
  line-height: 1.5;
}

/* ===== TEAM GRID ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.team-card {
  padding: 32px;
  border-radius: 20px;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.4s, box-shadow 0.4s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-deep); }
.team-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.team-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg-base);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 500;
}
.team-name { font-size: 16px; font-weight: 500; letter-spacing: -0.02em; }
.team-role { font-family: var(--font-mono); font-size: 11px; color: var(--ink-dim); }
.team-card blockquote {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  font-style: normal;
  font-weight: 400;
}
.team-card a.linkedin {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  text-decoration: none;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
}

/* ===== STORY BLOCKS (About) ===== */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.story-card {
  padding: 36px;
  border-radius: 20px;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
}
.story-card .label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  margin-bottom: 16px;
}
.story-card h3 {
  font-size: 22px;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin-bottom: 16px;
}
.story-card p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
}

/* ===== FORM (Contact) ===== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  margin-top: 40px;
}
.contact-left h2 {
  font-family: var(--font-sans);
  font-size: clamp(32px, 4.4vw, 52px);
  letter-spacing: -0.04em;
  font-weight: 500;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 20px;
}
.contact-left h2 .accent-text { font-weight: 600; }
.contact-left p {
  color: var(--ink-dim);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 24px;
}
.contact-left .info-block {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
}
.contact-left .info-block .label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mute);
  margin-bottom: 6px;
}
.contact-left .info-block a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
}
.form-card {
  padding: 40px;
  border-radius: 24px;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-deep);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-row.single { grid-template-columns: 1fr; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-dim);
  margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--hairline-strong);
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-card);
}
.field textarea { resize: vertical; min-height: 100px; }
.form-submit { margin-top: 8px; width: 100%; justify-content: center; padding: 14px 18px; font-size: 15px; }
.form-thanks {
  display: none;
  padding: 48px 36px;
  background: rgba(42, 157, 106, 0.06);
  border: 1px solid rgba(42, 157, 106, 0.22);
  border-radius: 16px;
  text-align: center;
  color: var(--ink);
}
.form-thanks-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  color: #1a6a48;
}
.form-thanks-icon svg { width: 100%; height: 100%; display: block; }
.form-thanks-h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 10px;
}
.form-thanks p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 18px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.form-thanks-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  padding-top: 18px;
  border-top: 1px solid rgba(42, 157, 106, 0.18);
  max-width: 520px;
  margin: 0 auto;
}
.form-thanks-meta a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ===== TRUST BAND (Security) ===== */
.trust-band {
  text-align: center;
  padding: 80px 0;
}
.trust-band .label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  margin-bottom: 20px;
}
.trust-band h2 {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.04em;
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 20px;
}
.trust-pills {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}
.trust-pill {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink);
}

/* ===== FINAL CTA ===== */
.final-cta { position: relative; padding: 130px 0; text-align: center; overflow: hidden; }
.final-cta::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(18, 57, 52,0.06), transparent 60%);
  pointer-events: none;
}
.final-cta .ornament {
  font-family: var(--font-mono);
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 32px;
  opacity: 0.7;
  letter-spacing: 0.3em;
}
.final-cta h2 {
  font-family: var(--font-sans);
  font-size: clamp(36px, 5.2vw, 72px);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 500;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
  color: var(--ink);
}
.final-cta h2 .accent-text { font-weight: 600; }
.final-cta .btn { font-size: 14px; padding: 14px 24px; position: relative; z-index: 2; }

/* ===== FOOTER ===== */
footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--hairline);
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(20px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 20px; }
.footer-brand p { color: var(--ink-dim); font-size: 14px; line-height: 1.6; max-width: 360px; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mute);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mute);
  gap: 24px;
  flex-wrap: wrap;
}
.footer-bottom a { color: var(--ink-mute); text-decoration: none; }
.footer-bottom a:hover { color: var(--accent); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }

/* ===== PROSE (Privacy, Terms) ===== */
.prose {
  max-width: 740px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.prose h2 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-top: 48px;
  margin-bottom: 16px;
}
.prose h3 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 32px;
  margin-bottom: 12px;
}
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { padding-left: 24px; margin-bottom: 16px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--accent); }

/* ===== LAYER SECTIONS (Product page Extract / Reason / Act) ===== */
.layer-section {
  padding: 80px 0;
}
.layer-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.layer-row.reverse { grid-template-columns: 1fr 1fr; }
.layer-row.reverse .layer-copy { order: 2; }
.layer-row.reverse .layer-visual { order: 1; }
.layer-copy .layer-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.layer-copy .layer-num::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--accent);
  opacity: 0.5;
}
.layer-copy .layer-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mute);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.layer-copy h2 {
  font-family: var(--font-sans);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 24px;
  max-width: 18ch;
}
.layer-copy h2 .accent-text { font-weight: 600; }
.layer-copy p {
  color: var(--ink-dim);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 16px;
}

.layer-visual {
  position: relative;
  padding: 32px;
  border-radius: 24px;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-deep);
  overflow: hidden;
}
.layer-visual svg { width: 100%; height: auto; display: block; }

/* SVG diagram animations */
.dash-flow {
  stroke-dasharray: 4 6;
  animation: dashflow 2s linear infinite;
}
@keyframes dashflow { to { stroke-dashoffset: -100; } }

.pulse-soft { animation: pulseSoft 2.8s ease-in-out infinite; transform-origin: center; }
@keyframes pulseSoft {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 0.4; }
}

/* ========== Product page illustration animations ========== */

/* Document generation — lines fade in one by one, then cycle */
.doc-line {
  opacity: 0;
  animation: docFade 8s ease-out infinite;
}
.doc-lines > *:nth-child(1)  { animation-delay: 0.0s; }
.doc-lines > *:nth-child(2)  { animation-delay: 0.25s; }
.doc-lines > *:nth-child(3)  { animation-delay: 0.55s; }
.doc-lines > *:nth-child(4)  { animation-delay: 0.85s; }
.doc-lines > *:nth-child(5)  { animation-delay: 1.15s; }
.doc-lines > *:nth-child(6)  { animation-delay: 1.45s; }
.doc-lines > *:nth-child(7)  { animation-delay: 1.75s; }
.doc-lines > *:nth-child(8)  { animation-delay: 2.05s; }
.doc-lines > *:nth-child(9)  { animation-delay: 2.35s; }
.doc-lines > *:nth-child(10) { animation-delay: 2.65s; }
.doc-lines > *:nth-child(11) { animation-delay: 2.95s; }
.doc-lines > *:nth-child(12) { animation-delay: 3.25s; }
.doc-lines > *:nth-child(13) { animation-delay: 3.55s; }
@keyframes docFade {
  0%, 5%    { opacity: 0; }
  10%       { opacity: 1; }
  85%       { opacity: 1; }
  95%, 100% { opacity: 0; }
}

/* Review checklist (file reviews) — labels static, status icons pop in sequentially */
.review-row {
  opacity: 0;
  animation: reviewRowAppear 7s ease-out infinite;
}
.review-row:nth-of-type(1) { animation-delay: 0.4s; }
.review-row:nth-of-type(2) { animation-delay: 1.1s; }
.review-row:nth-of-type(3) { animation-delay: 1.8s; }
.review-row:nth-of-type(4) { animation-delay: 2.5s; }
@keyframes reviewRowAppear {
  0%, 5%    { opacity: 0; }
  10%       { opacity: 1; }
  90%       { opacity: 1; }
  97%, 100% { opacity: 0; }
}
.review-status {
  transform-origin: center;
  transform-box: fill-box;
  animation: reviewStatusPop 7s ease-out infinite;
}
.review-row:nth-of-type(1) .review-status { animation-delay: 0.6s; }
.review-row:nth-of-type(2) .review-status { animation-delay: 1.3s; }
.review-row:nth-of-type(3) .review-status { animation-delay: 2.0s; }
.review-row:nth-of-type(4) .review-status { animation-delay: 2.7s; }
@keyframes reviewStatusPop {
  0%, 5%   { opacity: 0; transform: scale(0.3); }
  9%       { opacity: 1; transform: scale(1.35); }
  13%      { opacity: 1; transform: scale(1); }
  100%     { opacity: 1; transform: scale(1); }
}

/* Systems of Record — new record fields write in sequentially */
.sor-field {
  opacity: 0;
  animation: sorFieldWrite 6s ease-out infinite;
}
.sor-field:nth-of-type(1) { animation-delay: 0.4s; }
.sor-field:nth-of-type(2) { animation-delay: 1.0s; }
.sor-field:nth-of-type(3) { animation-delay: 1.6s; }
@keyframes sorFieldWrite {
  0%, 5%   { opacity: 0; }
  10%      { opacity: 1; }
  88%      { opacity: 1; }
  96%, 100% { opacity: 0; }
}

/* Chatbot interface — user message types, searching pulses, then AI response appears */

/* User message bubble: types in via clip-path reveal + cursor */
.chat-user-clip {
  width: 0;
  animation: chatUserType 9s ease-out infinite;
}
@keyframes chatUserType {
  0%, 3%   { width: 0; }
  28%      { width: 220px; }
  92%      { width: 220px; }
  98%, 100% { width: 0; }
}
.chat-user-cursor {
  animation: chatUserCursorTrack 9s ease-out infinite, chatCursorBlink 0.7s step-end infinite;
}
@keyframes chatUserCursorTrack {
  0%, 3%   { transform: translateX(0); }
  28%      { transform: translateX(192px); }
  35%      { transform: translateX(192px); opacity: 1; }
  37%, 100% { opacity: 0; }
}
@keyframes chatCursorBlink {
  50% { opacity: 0; }
}

/* Searching indicator: appears after user query, before AI response */
.chat-searching {
  opacity: 0;
  animation: chatSearchingAppear 9s ease-out infinite;
}
@keyframes chatSearchingAppear {
  0%, 30%  { opacity: 0; }
  34%      { opacity: 1; }
  56%      { opacity: 1; }
  62%, 100% { opacity: 0; }
}
.searching-dots text {
  animation: searchingDotBlink 1.2s ease-in-out infinite;
}
.searching-dots .dot-1 { animation-delay: 0s; }
.searching-dots .dot-2 { animation-delay: 0.2s; }
.searching-dots .dot-3 { animation-delay: 0.4s; }
@keyframes searchingDotBlink {
  0%, 100% { opacity: 0.3; }
  40%      { opacity: 1; }
}

/* AI response: appears after searching */
.chat-ai {
  opacity: 0;
  animation: chatAIAppear 9s ease-out infinite;
}
@keyframes chatAIAppear {
  0%, 58%  { opacity: 0; transform: translateY(6px); }
  64%      { opacity: 1; transform: translateY(0); }
  92%      { opacity: 1; }
  98%, 100% { opacity: 0; }
}
.chat-source {
  opacity: 0;
  animation: chatSourceAppear 9s ease-out infinite;
}
.chat-source:nth-of-type(1) { animation-delay: 0.05s; }
.chat-source:nth-of-type(2) { animation-delay: 0.20s; }
.chat-source:nth-of-type(3) { animation-delay: 0.35s; }
@keyframes chatSourceAppear {
  0%, 68%  { opacity: 0; }
  74%      { opacity: 1; }
  92%      { opacity: 1; }
  98%, 100% { opacity: 0; }
}

/* ===== LOGO STRIP — SCROLLING MARQUEE ===== */
.logo-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 100px, black calc(100% - 100px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, black 100px, black calc(100% - 100px), transparent 100%);
}
.logo-track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  animation: scroll-logos 42s linear infinite;
}
.logo-track:hover { animation-play-state: paused; }
.logo-track img {
  height: 32px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.7;
  filter: grayscale(25%);
  transition: opacity 0.3s, filter 0.3s, transform 0.3s;
}
/* Hawksmoor SVG has heavy internal padding — scale up to match visual weight */
.logo-track img[src*="hawksmoorim"] {
  height: 52px;
  max-width: 220px;
}
/* Foster Denovo logo: supplied in colour with transparent background;
   brightness(0) renders it solid black to match the other monochrome logos.
   Class-based so it works whether src is a path or an inlined data URI. */
.logo-track img.logo-foster-denovo {
  height: 38px;
  max-width: 230px;
  filter: brightness(0);
}
.logo-track img.logo-foster-denovo:hover {
  filter: brightness(1);
}
.logo-track img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: translateY(-2px);
}
@keyframes scroll-logos {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* keep the old static grid available too (used nowhere now) */
.logo-grid img {
  height: 28px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  opacity: 0.72;
  filter: grayscale(20%);
  transition: opacity 0.3s, filter 0.3s, transform 0.3s;
}
.logo-grid img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: translateY(-2px);
}

/* ===== CERT BADGES — IMAGES ===== */
.cert-card img {
  height: 88px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 4px;
}

/* ===== SOLUTION ICONS ===== */
.solution-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(18, 57, 52, 0.06);
  border: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: var(--accent);
  transition: background 0.3s, transform 0.3s;
}
.solution:hover .solution-icon {
  background: rgba(18, 57, 52, 0.12);
  transform: translateY(-2px);
}
.solution-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

/* ===== VIDEO THUMBNAIL ===== */
.video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  border-radius: inherit;
  transition: transform 0.6s ease;
}
.video-frame:hover .video-thumb {
  transform: scale(1.02);
}
.video-frame .play-btn {
  z-index: 3;
}
.video-frame::before {
  z-index: 2;
  opacity: 0.6;
}

/* ===== NEWS ARTICLE THUMBNAILS ===== */
.article-thumb {
  width: 100%;
  height: 140px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(18, 57, 52,0.04), rgba(18, 57, 52,0.02));
  border: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  overflow: hidden;
  padding: 24px;
}
.article-thumb img {
  max-width: 80%;
  max-height: 80%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.3s, transform 0.3s;
}
.case-card:hover .article-thumb img {
  opacity: 1;
  transform: scale(1.04);
}

/* ===== TEAM AVATARS (enhanced) ===== */
.team-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: var(--bg-base);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  flex-shrink: 0;
  box-shadow: 0 6px 16px -4px rgba(18, 57, 52,0.25);
  overflow: hidden;
}
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Founder portrait block (larger version) */
.founder-portrait {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: var(--bg-base);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 24px;
  box-shadow: 0 14px 30px -8px rgba(18, 57, 52,0.3);
  overflow: hidden;
  flex-shrink: 0;
}
.founder-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}



/* ===== AGENT TEAM SECTION (About) ===== */
.agent-stat {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 36px 48px;
  margin: 40px auto 60px;
  max-width: 720px;
  border-radius: 24px;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  justify-content: center;
  flex-wrap: wrap;
}
.agent-stat .stat-number {
  font-family: var(--font-sans);
  font-size: clamp(54px, 7vw, 80px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--accent);
  white-space: nowrap;
}
.agent-stat .stat-divider {
  width: 1px;
  height: 60px;
  background: var(--hairline-strong);
}
.agent-stat .stat-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-dim);
  line-height: 1.6;
  letter-spacing: 0.02em;
  max-width: 220px;
}
.agent-stat .stat-label strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.agent-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: rgba(18, 57, 52, 0.08);
  border: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent);
  transition: background 0.3s;
}
.feature-card:hover .agent-icon {
  background: rgba(18, 57, 52, 0.14);
}
.agent-icon svg {
  width: 26px;
  height: 26px;
  display: block;
}

/* ===== ACCENT TEXT ROTATION ===== */
.accent-text { color: var(--accent); font-weight: 600; }
.accent-text.acc-1 { color: var(--accent); }
.accent-text.acc-2 { color: var(--accent-2); }
.accent-text.acc-3 { color: var(--accent); }

/* ===== TEXT SHINE (used on hero "agentic operating system") =====
   The base background-color holds the accent so the letters always show
   solid colour; the linear-gradient on top is transparent except for a soft
   band in the middle that sweeps left-to-right every cycle. */
.text-shine {
  display: inline-block;
  background-image: linear-gradient(
    100deg,
    transparent 0%,
    transparent 38%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 62%,
    transparent 100%
  );
  background-size: 220% 100%;
  background-position: 110% 0;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: textShine 5s ease-in-out 4s infinite;
}
.accent-text.text-shine.acc-1 { background-color: var(--accent); }
.accent-text.text-shine.acc-2 { background-color: var(--accent-2); }
@keyframes textShine {
  0%       { background-position: 110% 0; }
  12%, 100% { background-position: -10% 0; }
}

/* ===== LAYER CAPABILITIES (Reason & Act on Product page) ===== */
.layer-capabilities { padding: 60px 0 100px; }
.layer-intro {
  max-width: 720px;
  margin: 0 0 56px;
}
.layer-intro .layer-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 16px;
}
.layer-intro h2 {
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.035em;
  font-weight: 500;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 18px;
}
.layer-intro h2 .accent-text { font-weight: 600; }
.layer-intro p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-dim);
}
.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.capability-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.capability-grid-2 .capability-illustration {
  height: 320px;
  min-height: 0;
  max-height: none;
}
.capability-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.capability-grid-3 .capability-illustration {
  height: 240px;
  min-height: 0;
  max-height: none;
}
@media (max-width: 980px) {
  .capability-grid-3 { grid-template-columns: 1fr; }
}
.capability-card-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.capability-card {
  padding: 28px;
  border-radius: 20px;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.4s, box-shadow 0.4s;
}
.capability-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-deep); }
.capability-illustration {
  width: 100%;
  height: 200px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0.25));
  border: 1px solid var(--hairline);
  overflow: hidden;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.capability-illustration svg {
  width: 100%;
  height: 100%;
  display: block;
}
.capability-meta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 4px;
}
.capability-card h3 {
  font-size: 22px;
  letter-spacing: -0.025em;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
  margin: 0;
}
.capability-card h3 .accent-text { font-weight: 600; }
.capability-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-dim);
  margin: 0;
}

/* ===== FEATURE-ICON (for AI built for wealth + Change Mgmt + Security principles) ===== */
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(18, 57, 52, 0.07);
  border: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 12px;
  transition: background 0.3s;
}
.feature-card:hover .feature-icon {
  background: rgba(18, 57, 52, 0.12);
}
.feature-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* ===== AZURE DEPLOYMENT ILLUSTRATION ===== */
/* Azure architecture diagram — Palindrome inside Azure tenant with security services around it */
.azure-architecture {
  margin: 36px auto 28px;
  max-width: 900px;
  border-radius: 24px;
  background: linear-gradient(180deg, #fff 0%, rgba(0, 120, 212, 0.025) 100%);
  border: 1px solid rgba(0, 120, 212, 0.18);
  overflow: hidden;
  box-shadow: 0 12px 40px -16px rgba(0, 120, 212, 0.18);
}
.azure-arch-header {
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0, 120, 212, 0.12);
  background: rgba(0, 120, 212, 0.045);
  flex-wrap: wrap;
  gap: 12px;
}
.azure-arch-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.azure-arch-logo {
  height: 22px;
  width: auto;
  display: block;
}
.azure-arch-divider {
  width: 1px;
  height: 14px;
  background: rgba(0, 120, 212, 0.3);
}
.azure-arch-tenant {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--ink);
  font-weight: 500;
}
.azure-arch-certs {
  display: flex;
  gap: 5px;
}
.azure-arch-cert {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(0, 120, 212, 0.1);
  color: #0078d4;
  font-weight: 600;
}
.azure-arch-svg {
  width: 100%;
  height: auto;
  display: block;
  padding: 8px;
}
.azure-arch-footer {
  padding: 14px 28px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  border-top: 1px solid rgba(0, 120, 212, 0.12);
  background: rgba(0, 120, 212, 0.025);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.azure-arch-footer-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2a9d6a;
  display: inline-block;
  animation: pulseSoft 2.8s ease-in-out infinite;
}
@media (max-width: 700px) {
  .azure-arch-header { flex-direction: column; align-items: flex-start; }
  .azure-arch-certs { flex-wrap: wrap; }
}

.deploy-timing {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: center;
  max-width: 880px;
  margin: 0 auto 32px;
  padding: 28px 36px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(18, 57, 52, 0.05) 0%, rgba(0, 120, 212, 0.04) 100%);
  border: 1px solid var(--hairline);
}
.deploy-timing-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-right: 36px;
  border-right: 1px solid var(--hairline);
}
.deploy-timing-number {
  font-family: var(--font-sans);
  font-size: clamp(40px, 6vw, 56px);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
}
.deploy-timing-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink-dim);
  margin-top: 8px;
  font-weight: 500;
}
.deploy-timing-headline {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin-bottom: 8px;
}
.deploy-timing-note {
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-dim);
}
@media (max-width: 700px) {
  .deploy-timing {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
  }
  .deploy-timing-stat {
    padding-right: 0;
    padding-bottom: 20px;
    border-right: 0;
    border-bottom: 1px solid var(--hairline);
    width: 100%;
  }
}

.azure-caption {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
  font-weight: 500;
  margin: 20px 0 36px;
}

.deployment-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 0;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}
.deployment-feature {
  padding: 28px;
  border-radius: 18px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--hairline);
}
.deployment-feature-icon {
  width: 28px;
  height: 28px;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}
.deployment-feature-title {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.deployment-feature-body {
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-dim);
}
@media (max-width: 700px) {
  .deployment-features { grid-template-columns: 1fr; }
}

.deployment-card .deployment-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 6px;
}
.deployment-card .deployment-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}
.deployment-card .deployment-list li {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
  padding: 6px 0 6px 18px;
  position: relative;
  letter-spacing: 0.01em;
}
.deployment-card .deployment-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
}

/* ===== FEATURED NEWS (FCA + Microsoft) ===== */
/* As-featured-in strip: monochrome publication logos beneath the news hero */
.featured-in-strip {
  padding: 8px 0 28px;
  border-bottom: 1px solid var(--hairline);
}
.featured-in-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-align: center;
  margin-bottom: 22px;
}
.featured-in-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px 56px;
  padding: 0 16px;
}
.featured-in-logos img {
  height: 26px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: opacity 0.3s, filter 0.3s, transform 0.3s;
}
.featured-in-logos img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: translateY(-2px);
}
/* Money Marketing masthead is wider than tall — let it stretch slightly */
.featured-in-logos img[alt="Money Marketing"] { max-width: 200px; height: 22px; }
.featured-in-logos img[alt="FCA"] { height: 30px; }
.featured-in-logos img[alt="BrightTalk"] { height: 22px; }

/* Citywire — text wordmark, no licensed mark available */
.featured-in-wordmark {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  opacity: 0.6;
  transition: opacity 0.3s, color 0.3s, transform 0.3s;
}
.featured-in-wordmark:hover {
  opacity: 1;
  color: var(--maroon);
  transform: translateY(-2px);
}

/* Citywire article thumb — text-based since no logo asset available */
.article-thumb-citywire {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  padding: 0 18px;
}
.article-thumb-citywire .thumb-wordmark {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.article-thumb-citywire .thumb-sublabel {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

@media (max-width: 700px) {
  .featured-in-logos { gap: 28px 36px; }
  .featured-in-logos img { height: 22px; }
  .featured-in-logos img[alt="Money Marketing"] { max-width: 160px; height: 18px; }
}

.featured-news-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.featured-news-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--hairline);
}
.featured-news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.featured-news-card {
  padding: 36px;
  border-radius: 20px;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s, box-shadow 0.4s;
  position: relative;
  overflow: hidden;
}
.featured-news-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
}
.featured-msft::before { background: var(--accent-2); }
.featured-news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-deep); }
.featured-thumb {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 4px;
}
.featured-thumb img {
  max-height: 60px;
  max-width: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) brightness(0.4);
  opacity: 0.75;
}
.featured-eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  text-transform: uppercase;
}
.featured-news-card h2 {
  font-size: 26px;
  letter-spacing: -0.03em;
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  margin: 0;
}
.featured-news-card h2 .accent-text { font-weight: 600; }
.featured-news-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-dim);
  margin: 0;
}
.featured-news-card .read {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  letter-spacing: 0.03em;
}
.featured-news-card .read .arrow {
  font-family: var(--font-mono);
  transition: transform 0.3s;
}
.featured-news-card:hover .read .arrow { transform: translateX(4px); }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .container { padding: 0 22px; }
  .testimonials-head, .video-card, .news-card, .contact-wrap,
  .layer-row, .layer-row.reverse, .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .layer-row.reverse .layer-copy { order: 1; }
  .layer-row.reverse .layer-visual { order: 2; }
  .testimonial-grid, .solutions-grid, .features-grid, .way-grid, .case-grid,
  .cert-grid, .team-grid, .story-grid, .footer-grid,
  .stat-cases, .capability-grid, .featured-news-grid,
  .kpi-grid, .case-hero-layout, .case-story-block { grid-template-columns: 1fr; }
  .case-story-block { gap: 18px; }
  .case-story-label { position: static; }
  .capability-grid-2 .capability-illustration { height: 240px; }
  .float-tag { display: none; }
  .video-card { padding: 28px; }
  .news-card { padding: 36px; }
  .form-card { padding: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .hero { padding: 60px 0 80px; }
  .page-hero { padding: 60px 0 40px; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(1, 1fr); }
  .story-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .cert-grid { grid-template-columns: 1fr; }
  .case-quote blockquote { padding: 32px 28px; }
  .case-hero { padding: 32px 0 40px; }
  .case-hero-layout { gap: 36px; }
  .kpi-value { font-size: clamp(36px, 12vw, 52px); }
  .preloader-tagline { font-size: 10px; letter-spacing: 0.08em; }
}

/* ===== BACKED BY INDUSTRY EXPERTS ===== */
.section-backed { padding-top: 80px; }

.backed-block {
  margin-top: 56px;
}
.backed-block:first-of-type {
  margin-top: 48px;
}
.backed-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(10, 10, 10, 0.08);
}

/* VC cards — 2 columns on desktop, 1 on mobile */
.backed-vcs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 720px) {
  .backed-vcs { grid-template-columns: 1fr; }
}
.vc-card {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 16px;
  row-gap: 10px;
  align-items: center;
  padding: 24px 26px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  min-height: 100px;
}
.vc-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.85);
}
.vc-logo {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  height: 40px;
}
.vc-logo img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}
/* Square logos (Analog AV mark) sit smaller so they don't dominate */
.vc-logo-square {
  height: 36px;
}
.vc-logo-square img {
  max-height: 100%;
}
.vc-meta {
  grid-column: 1;
  grid-row: 2;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.vc-arrow {
  grid-column: 2;
  grid-row: 1 / span 2;
  font-size: 22px;
  color: var(--accent);
  font-weight: 300;
  line-height: 1;
}

/* Adviser cards — 4 columns on desktop, 2 on tablet, 1 on mobile */
.backed-advisers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 900px) {
  .backed-advisers { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .backed-advisers { grid-template-columns: 1fr; }
}
.adviser-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 22px 18px 20px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.adviser-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.85);
}
.adviser-card-static { cursor: default; }
.adviser-card-static:hover {
  transform: none;
  border-color: rgba(10, 10, 10, 0.08);
  background: rgba(255, 255, 255, 0.6);
}
.adviser-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--ink);
  flex-shrink: 0;
  box-shadow: 0 6px 18px -4px rgba(18, 57, 52, 0.25);
}
.adviser-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.adviser-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
  margin-top: 4px;
}
.adviser-role {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.4;
}
.adviser-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
}

/* ===== CAREERS PAGE ===== */
.careers-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(10, 10, 10, 0.08);
}
.role-card {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 18px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.role-card:hover {
  border-color: rgba(18, 57, 52, 0.25);
  background: rgba(255, 255, 255, 0.85);
}
.role-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.role-title h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.2;
}
.role-location {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.role-apply { flex-shrink: 0; white-space: nowrap; }
.role-card > p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 22px;
  max-width: 720px;
}
.role-bullets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(10, 10, 10, 0.06);
}
.role-bullet {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.role-bullet-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 3px;
  font-weight: 500;
}
.careers-footer {
  margin-top: 40px;
  padding: 28px 32px;
  background: rgba(18, 57, 52, 0.04);
  border-radius: 16px;
  text-align: center;
}
.careers-footer p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}
.careers-footer a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (max-width: 720px) {
  .role-head {
    flex-direction: column;
    align-items: stretch;
  }
  .role-bullets {
    grid-template-columns: 1fr;
  }
  .role-card { padding: 24px; }
}

/* ===== JOB DESCRIPTION (JD) PAGES ===== */
.jd-breadcrumb-wrap {
  padding-top: 28px;
  padding-bottom: 4px;
}
.jd-breadcrumb a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  text-decoration: none;
}
.jd-breadcrumb a:hover { color: var(--accent); }

.jd-hero {
  padding: 48px 0 56px;
}
.jd-hero h1 {
  font-size: clamp(38px, 5vw, 60px);
  letter-spacing: -0.025em;
  font-weight: 500;
  line-height: 1.05;
  margin: 14px 0 22px;
}
.jd-hero > .container > p {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 760px;
  margin: 0 0 32px;
}
.jd-location {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  padding: 7px 14px;
  background: rgba(18, 57, 52, 0.07);
  border-radius: 999px;
}
.jd-meta-row {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  padding: 22px 0;
  border-top: 1px solid rgba(10, 10, 10, 0.08);
  border-bottom: 1px solid rgba(10, 10, 10, 0.08);
  margin-bottom: 28px;
}
.jd-meta-item {
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}
.jd-meta-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 6px;
  font-weight: 500;
}
.jd-apply-hero { display: inline-flex; }

.jd-section {
  padding-top: 8px;
  padding-bottom: 80px;
}
.jd-section .container { max-width: 800px; }
.jd-block { margin-bottom: 44px; }
.jd-h2 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(10, 10, 10, 0.08);
}
.jd-block p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 14px;
}
.jd-list {
  padding-left: 22px;
  margin: 0;
}
.jd-list li {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.jd-list li::marker { color: var(--accent); }

.jd-apply-card {
  margin-top: 56px;
  padding: 32px 36px;
  background: rgba(18, 57, 52, 0.05);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.jd-apply-text { flex: 1; }
.jd-apply-h3 {
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 6px;
  color: var(--ink);
}
.jd-apply-card p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.55;
}
.jd-apply-card a:not(.btn) {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (max-width: 720px) {
  .jd-apply-card { flex-direction: column; align-items: stretch; }
  .jd-meta-row { gap: 24px; }
}

/* "See full job description" link on careers page */
.role-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}
.role-view {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.role-view:hover { color: var(--accent); }
.role-view .arrow {
  font-family: var(--font-mono);
  margin-left: 4px;
}
@media (max-width: 720px) {
  .role-actions { flex-direction: column-reverse; align-items: stretch; gap: 12px; }
  .role-view { text-align: center; }
}

/* Home pillar lead sentence (new prominent three-pillars section) */
.pillar-lead {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 14px 0 20px;
}
.pillars-section .section-title {
  margin-bottom: 40px;
}

/* 5-card grid: 3 on top, 2 centred on bottom */
.features-grid.five-card-grid {
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.five-card-grid .feature-card:nth-child(1),
.five-card-grid .feature-card:nth-child(2),
.five-card-grid .feature-card:nth-child(3) { grid-column: span 2; }
.five-card-grid .feature-card:nth-child(4) { grid-column: 2 / span 2; }
.five-card-grid .feature-card:nth-child(5) { grid-column: 4 / span 2; }
@media (max-width: 980px) {
  .features-grid.five-card-grid { grid-template-columns: 1fr; }
  .five-card-grid .feature-card:nth-child(n) { grid-column: auto; }
}

/* Open application card on careers page */
.role-card-open {
  background: rgba(18, 57, 52, 0.05);
  border: 1px dashed rgba(18, 57, 52, 0.28);
  border-radius: 16px;
  margin-top: 8px;
}
.role-card-open:hover {
  background: rgba(18, 57, 52, 0.07);
  border-color: rgba(18, 57, 52, 0.4);
}
.role-card-open .role-bullets { display: none; }

/* Trust centre CTA, centered below security principles grid */
.trust-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* ===== WCAG: VISIBLE FOCUS + REDUCED MOTION ===== */

/* Visible focus for keyboard nav. Tabbing through the site should always show
   a clear focus ring. Mouse interactions don't trigger :focus-visible. */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.btn:focus-visible {
  outline-offset: 3px;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline-offset: 1px;
}

/* Respect prefers-reduced-motion: kill all looping decorative animations
   (preloader fidget + shine, cycling word slot, mesh blobs, marquee).
   Static states are still presented so meaning isn't lost. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .preloader { display: none; }
  /* Show one cycling word and one feed item statically so the layout reads */
  .cycling-word .word:not(.word-anchor) { opacity: 0; }
  .cycling-word .word:not(.word-anchor):nth-of-type(2) { opacity: 1; }
  .feed-item { opacity: 0; }
  .feed-item:first-child { opacity: 1; }
  .logo-track { animation: none !important; transform: none !important; }
}

/* Grain is decorative — hide from assistive tech */
.grain { aria-hidden: true; }


/* ===== MOBILE NAVIGATION ===== */

/* Hamburger button. Hidden on desktop, shown on mobile. */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 1001;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile CTA item: hidden on desktop (already have the side button), 
   shown on mobile inside the menu overlay. */
.nav-links-cta { display: none; }

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  
  /* Hide the top-right Get Started button on mobile; it's in the menu instead */
  .nav-row > .btn-primary { display: none; }
  
  /* Mobile menu: fullscreen overlay slid in from the right */
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 380px;
    height: 100vh;
    height: 100dvh;
    background: var(--bg-base);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    padding: 80px 40px 40px;
    margin: 0;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    z-index: 1000;
    box-shadow: -20px 0 40px rgba(10, 10, 10, 0.06);
  }
  .nav-links li {
    list-style: none;
    width: 100%;
    text-align: center;
  }
  .nav-links li a:not(.btn) {
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.015em;
    color: var(--ink);
    text-decoration: none;
    display: block;
    padding: 10px 0;
  }
  .nav-links-cta {
    display: block;
    margin-top: 12px;
    width: 100%;
  }
  .nav-links-cta .btn-primary {
    width: 100%;
    justify-content: center;
  }
  
  /* When open: slide menu in and morph hamburger to X */
  .topnav.open .nav-links { transform: translateX(0); }
  .topnav.open .nav-toggle-bar:nth-child(1) {
    transform: translateY(3.5px) rotate(45deg);
  }
  .topnav.open .nav-toggle-bar:nth-child(2) {
    transform: translateY(-3px) rotate(-45deg);
  }
  
  /* Prevent body scroll when menu open */
  body.menu-open { overflow: hidden; }
}

/* ===== MOBILE POLISH ACROSS PAGES ===== */

@media (max-width: 960px) {
  /* Announce bar: tighten and wrap nicely */
  .announce {
    padding: 10px 16px;
    font-size: 11px;
    text-align: center;
    flex-wrap: wrap;
    gap: 6px;
  }
  
  /* Nav row: tighter padding on mobile */
  .nav-row { padding: 16px 0; }
  
  /* Hero: stack the 2-col grid on mobile */
  .hero { min-height: auto; padding: 60px 0 70px; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  /* Stat band on mobile */
  .stat-band { padding: 60px 0; }
  .stat-band .big { font-size: clamp(26px, 7vw, 36px); line-height: 1.15; }
  
  /* Solutions grid: 1 column on mobile */
  .solutions-grid { grid-template-columns: 1fr; gap: 18px; }
  
  /* Way grid (3 pillars): stack on mobile */
  .way-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  /* Section padding: tighter on mobile */
  .section { padding: 50px 0; }
  
  /* Page hero on mobile: smaller padding, smaller H1 */
  .page-hero { padding: 50px 0 30px; }
  
  /* Capability grid: stack on mobile */
  .capability-grid-3 { grid-template-columns: 1fr !important; }
  .capability-grid-3 .capability-illustration { height: 220px; }
  
  /* Five-card grid: stack on mobile */
  .features-grid.five-card-grid { grid-template-columns: 1fr !important; }
  .five-card-grid .feature-card:nth-child(n) { grid-column: auto !important; }
  
  /* Deployment features: stack */
  .deployment-features { grid-template-columns: 1fr; }
  
  /* Case study card grid: 1 column on mobile */
  .case-rich-grid { grid-template-columns: 1fr; gap: 18px; }
  
  /* JD pages: hero meta row wraps cleanly */
  .jd-hero { padding: 32px 0 40px; }
  .jd-meta-row { gap: 18px 24px; }
  
  /* JD apply card: stack content */
  .jd-apply-card { flex-direction: column; align-items: stretch; gap: 18px; }
  .jd-apply-card .btn { align-self: center; }
  
  /* Role cards: stack head row */
  .role-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .role-actions { width: 100%; flex-direction: column-reverse; align-items: stretch; gap: 12px; }
  .role-actions .btn { justify-content: center; }
  .role-view { text-align: center; }
  
  /* Footer: stack columns */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  
  /* Contact form: tighten */
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  
  /* Make all SVG illustrations responsive within their containers */
  .capability-illustration svg { max-width: 100%; height: auto; }
  
  /* Tighten cycling agent feed card on mobile */
  .agent-feed { padding: 20px; }
  .feed-stage { min-height: 180px; }
  .feed-title { font-size: 14px; }
  .feed-meta { font-size: 12px; }
}

/* iPad portrait (~768-1024px): keep two-column patterns but tighten */
@media (min-width: 961px) and (max-width: 1100px) {
  .container { padding: 0 32px; }
  
  /* 3-col capability grid → 2-col on tablet */
  .capability-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .capability-grid-3 .capability-card:nth-child(3) {
    grid-column: 1 / -1;
    max-width: calc(50% - 10px);
    margin: 0 auto;
  }
  
  /* Pillars: 2 on top, 1 centred below */
  .way-grid { grid-template-columns: repeat(2, 1fr); }
  .way-grid .pillar:nth-child(3) {
    grid-column: 1 / -1;
    max-width: calc(50% - 12px);
    margin: 0 auto;
  }
  
  /* Five-card grid: 2-col on tablet */
  .features-grid.five-card-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .five-card-grid .feature-card:nth-child(n) { grid-column: auto !important; }
  .five-card-grid .feature-card:nth-child(5) {
    grid-column: 1 / -1;
    max-width: calc(50% - 10px);
    margin: 0 auto;
  }
  
  /* Customer page case studies: 2-col, last one centred */
  .case-rich-grid { grid-template-columns: repeat(2, 1fr); }
  .case-rich-grid > a:nth-child(3) {
    grid-column: 1 / -1;
    max-width: calc(50% - 14px);
    margin: 0 auto;
  }
  
  /* Deployment features: 2-col on tablet, third centred */
  .deployment-features { grid-template-columns: repeat(2, 1fr); }
  .deployment-features > div:nth-child(3) {
    grid-column: 1 / -1;
    max-width: calc(50% - 10px);
    margin: 0 auto;
  }
}


/* 2-column features grid (security principles, change management).
   Collapses to 1 column on mobile so each card appears one after another. */
.features-grid.features-grid-2col {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 960px) {
  .features-grid.features-grid-2col { grid-template-columns: 1fr; }
}
