﻿/* ============================================================
   medialab
   Type:  Newsreader (display serif) + Hanken Grotesk (grotesque)
   ============================================================ */

:root {
  --cream: #faf7f2;
  --cream-2: #f3eee4;
  --paper: #ffffff;
  --ink: #16160f;
  --ink-soft: #3a3a33;
  --muted: #6e6a60;
  --muted-2: #97928579;
  --line: #e7e1d4;
  --line-soft: #efeadf;

  --green: #4f6a49;
  --green-deep: #40563a;
  --green-ink: #46553f;
  --mint: #eef2e9;
  --mint-line: #dde6d6;

  --shadow-sm:
    0 1px 2px rgba(40, 34, 20, 0.04), 0 2px 6px rgba(40, 34, 20, 0.04);
  --shadow-md:
    0 2px 8px rgba(40, 34, 20, 0.05), 0 18px 40px -18px rgba(40, 34, 20, 0.18);
  --shadow-lg:
    0 8px 24px rgba(40, 34, 20, 0.07), 0 40px 80px -28px rgba(40, 34, 20, 0.22);

  --serif: Georgia, "Times New Roman", serif;
  --sans:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 64px);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
::selection {
  background: var(--mint);
  color: var(--green-deep);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.15s ease;
}
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid var(--cream);
  outline-offset: 2px;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ---------- shared type ---------- */
.serif {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.04;
}
.it {
  font-style: italic;
  color: var(--green);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-ink);
  background: var(--mint);
  border: 1px solid var(--mint-line);
  padding: 8px 15px 8px 13px;
  border-radius: 100px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
/* unified technical meta layer (mono) */
.svc-tier,
.founder-id .role,
.footer-label,
.tf-state,
.tf-toggle button,
.layer .lstatus,
.agent-badge,
.stack-head .label,
.sysmap-head .label,
.hero-note,
.chip-live,
.tag,
.founder-id .chips .tag,
.cloud-head .label {
  font-family: var(--mono);
}
.tag {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}
.hero-note {
  letter-spacing: 0.01em;
}
.lead {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 15px 26px;
  border-radius: 100px;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    transform 0.25s cubic-bezier(0.2, 0.7, 0.3, 1),
    background 0.25s,
    box-shadow 0.25s,
    color 0.25s;
  white-space: nowrap;
}
.btn-dark {
  background: var(--ink);
  color: #f6f3ec;
}
.btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -10px rgba(20, 20, 12, 0.55);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: var(--paper);
  border-color: #d9d2c3;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.btn-green {
  background: var(--green);
  color: #f4f8f2;
}
.btn-green:hover {
  background: var(--green-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -12px rgba(46, 83, 41, 0.6);
}
.btn .arr {
  transition: transform 0.25s;
}
.btn:hover .arr {
  transform: translateX(3px);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--cream) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.3s,
    background 0.3s;
}
.nav.scrolled {
  border-color: var(--line);
}
.nav-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.03em;
}
.brand-logo {
  height: 26px;
  width: auto;
  display: block;
}
.nav .brand-logo {
  height: 38px;
}
.brand-logo-light {
  filter: invert(1);
}
.brand .mark {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ink);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.brand .mark svg {
  width: 17px;
  height: 17px;
}
.nav-links {
  display: flex;
  gap: 38px;
}
.nav-links a {
  font-size: 15px;
  color: var(--ink-soft);
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--green);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-top: clamp(56px, 7vw, 104px);
  padding-bottom: clamp(48px, 6vw, 90px);
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(42px, 6vw, 86px);
  letter-spacing: -0.025em;
  margin: 0;
}
.hero .lead {
  margin-top: 26px;
  max-width: 30ch;
}
.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 38px;
  flex-wrap: wrap;
}
.hero-note {
  margin-top: 26px;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 9px;
}
.hero-note .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--mint);
}
/* hero primary: inline arrow, no disc */
.hero-cta .btn-dark .arr {
  background: none;
  width: auto;
  height: auto;
  display: inline;
  transition: transform 0.2s ease;
}
.hero-cta .btn-dark:hover .arr {
  transform: translateX(4px);
  background: none;
}

/* ---------- hero system-map diagram ---------- */
.sysmap {
  background: linear-gradient(176deg, #ffffff 0%, #fcfbf7 100%);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow:
    var(--shadow-lg),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  padding: 18px 18px 16px;
  position: relative;
  overflow: hidden;
}
.sysmap::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.95),
    transparent
  );
}
.sysmap-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 6px 14px;
}
.sysmap-head .sm-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sysmap-head .sm-mark {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--ink);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.sysmap-head .sm-mark svg {
  width: 12px;
  height: 12px;
}
.sysmap-head .label {
  font-size: 11px;
  letter-spacing: 0.18em;
  white-space: nowrap;
}
.chip-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green-ink);
  background: var(--mint);
  border: 1px solid var(--mint-line);
  padding: 5px 11px;
  border-radius: 100px;
}
.chip-live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(79, 106, 73, 0.28);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(79, 106, 73, 0);
  }
}

.sysmap-stage {
  position: relative;
  height: 366px;
  border-radius: 18px;
  background: radial-gradient(115% 120% at 50% 45%, #fbfaf6 0%, #f6f3ec 100%);
  border: 1px solid var(--line-soft);
  overflow: hidden;
}
/* blueprint dot grid */
.sysmap-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(
    rgba(40, 34, 20, 0.1) 1px,
    transparent 1.5px
  );
  background-size: 20px 20px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(
    125% 100% at 50% 50%,
    #000 38%,
    transparent 86%
  );
  mask-image: radial-gradient(125% 100% at 50% 50%, #000 38%, transparent 86%);
}
/* center aura behind the hub */
.sysmap-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    34% 44% at 50% 50%,
    rgba(79, 106, 73, 0.06),
    transparent 72%
  );
}
.sysmap-stage svg.links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 1;
}
.sysmap-col-label {
  position: absolute;
  top: 14px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a9a392;
  z-index: 2;
  white-space: nowrap;
  font-family: var(--mono);
  letter-spacing: 0.13em;
}
.node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
  background: linear-gradient(180deg, #ffffff, #fcfbf7);
  border: 1px solid #ece6d8;
  border-radius: 13px;
  padding: 9px 14px 9px 10px;
  transform: translate(-50%, -50%);
  box-shadow:
    0 1px 2px rgba(40, 34, 20, 0.05),
    0 7px 18px -9px rgba(40, 34, 20, 0.22);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.node .ic {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #fff;
}
.node .ic svg {
  width: 15px;
  height: 15px;
}
.node small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}
.node-hub {
  background: linear-gradient(180deg, #ffffff 0%, #fcfbf7 100%);
  color: var(--ink);
  border-color: #e4ddcf;
  padding: 15px 19px 13px;
  box-shadow:
    0 16px 38px -12px rgba(40, 34, 20, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  z-index: 4;
}
.node-hub .brandrow {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}
.node-hub .hub-logo {
  height: 27px;
  width: auto;
  display: block;
  opacity: 1;
}
.node-hub small {
  color: var(--green-ink);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
@keyframes floatUp {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 12px));
  }
  to {
    opacity: 1;
  }
}

/* footer caption bar */
.sysmap-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 8px 4px;
}
.sysmap-foot .sm-cap {
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: -0.005em;
}
.sysmap-foot .sm-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-ink);
}
.sysmap-foot .sm-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2.4s ease-in-out infinite;
}

.ic-blue {
  background: linear-gradient(158deg, #7b93b0, #5e7795);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 3px 8px -4px rgba(94, 119, 149, 0.4);
}
.ic-violet {
  background: linear-gradient(158deg, #9389b0, #756a95);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 3px 8px -4px rgba(117, 106, 149, 0.4);
}
.ic-amber {
  background: linear-gradient(158deg, #c29a66, #a87f4c);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 3px 8px -4px rgba(168, 127, 76, 0.4);
}
.ic-teal {
  background: linear-gradient(158deg, #6aa197, #538a80);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 3px 8px -4px rgba(83, 138, 128, 0.4);
}
.ic-rose {
  background: linear-gradient(158deg, #b08891, #957079);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 3px 8px -4px rgba(149, 112, 121, 0.4);
}
.ic-green {
  background: linear-gradient(158deg, #6e9466, #587f50);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 3px 8px -4px rgba(88, 127, 80, 0.4);
}

/* ============================================================
   LOGO CLOUD
   ============================================================ */
.cloud {
  padding: clamp(40px, 5vw, 72px) 0;
}
.cloud-band + .cloud-band {
  margin-top: 22px;
}
.cloud-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.cloud-head .label {
  white-space: nowrap;
}
.cloud-head .rule {
  height: 1px;
  background: var(--line);
  flex: 1;
}
.cloud-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cloud-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px 14px;
  gap: 6px;
}
.logo-cell {
  display: grid;
  place-items: center;
  padding: 4px 6px;
  min-width: 0;
}
.logo-img {
  max-height: 46px;
  max-width: min(150px, 100%);
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
  transition:
    opacity 0.3s,
    transform 0.3s;
}
.logo-img.logo-tall {
  max-height: 58px;
}
.logo-img.logo-pad {
  max-height: 84px;
  max-width: 168px;
}
.logo-img.logo-events {
  max-height: 34px;
  max-width: 150px;
}
.logo-img.logo-anthropic {
  max-height: 24px;
  max-width: min(168px, 100%);
}
.logo-img:hover {
  opacity: 1;
  transform: translateY(-1px);
}
.logo-word {
  font-weight: 700;
  font-size: 29px;
  letter-spacing: -0.025em;
  color: #4a463d;
  opacity: 0.9;
  transition:
    opacity 0.3s,
    transform 0.3s;
}
.logo-cell:hover .logo-word {
  opacity: 1;
  transform: translateY(-1px);
}

/* ============================================================
   GENERIC SECTION
   ============================================================ */
.section {
  padding: clamp(72px, 9vw, 132px) 0;
}
.section-head {
  max-width: 720px;
}
.section-head .eyebrow,
.section-head .label {
  margin-bottom: 22px;
}
.section h2 {
  font-size: clamp(34px, 4.6vw, 60px);
  letter-spacing: -0.025em;
}
.divider {
  height: 1px;
  background: var(--line);
}

/* ---------- Strategy / stack-transform section ---------- */
.strategy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.strategy-copy .eyebrow {
  margin-bottom: 22px;
}
.strategy-copy h2 {
  margin-bottom: 26px;
}
.strategy-copy p {
  color: var(--ink-soft);
  font-size: 18px;
  max-width: 44ch;
}
.strategy-copy .pillars {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 32px;
  border-top: 1px solid var(--line);
}
.pillar {
  display: flex;
  gap: 16px;
  padding: 17px 2px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.pillar b {
  font-weight: 600;
  font-size: 16px;
  min-width: 132px;
  letter-spacing: -0.01em;
}
.pillar span {
  color: var(--muted);
  font-size: 15px;
}

/* stack transform diagram */
.transform {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 26px;
  position: relative;
}
.transform-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.tf-state {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.tf-state.on {
  color: var(--green-ink);
}
.tf-stage {
  position: relative;
  height: 360px;
}
.tf-stage svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.tnode {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition:
    left 0.9s cubic-bezier(0.5, 0, 0.1, 1),
    top 0.9s cubic-bezier(0.5, 0, 0.1, 1),
    opacity 0.5s,
    border-color 0.6s,
    box-shadow 0.6s;
}
.tnode .tdot {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  flex: 0 0 auto;
}
.tf-stage.unified .tnode {
  border-color: var(--mint-line);
}
.tf-hub {
  position: absolute;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.6s 0.3s;
  background: var(--ink);
  color: #f6f3ec;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 12px 30px -10px rgba(20, 20, 12, 0.5);
  z-index: 4;
}
.tf-stage.unified .tf-hub {
  opacity: 1;
}
.tf-hub .hubmark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  display: block;
  flex: 0 0 auto;
}
.tf-hub .hubmark svg {
  width: 11px;
  height: 11px;
}
.tf-hub b {
  font-size: 13.5px;
  letter-spacing: -0.02em;
}
.tf-toggle {
  display: inline-flex;
  gap: 4px;
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 4px;
}
.tf-toggle button {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  border: none;
  background: transparent;
  padding: 6px 14px;
  border-radius: 100px;
  cursor: pointer;
  transition: 0.2s;
}
.tf-toggle button.active {
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   SERVICES
   ============================================================ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.svc {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px 28px 32px;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s cubic-bezier(0.2, 0.7, 0.3, 1),
    box-shadow 0.3s,
    border-color 0.3s;
}
.svc:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #ddd6c7;
}
.svc.feature {
  background: var(--ink);
  border-color: var(--ink);
  color: #ece8df;
}
.svc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}
.svc-num {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--muted);
}
.svc.feature .svc-num {
  color: #8d877a;
}
.svc-tier {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-ink);
}
.svc.feature .svc-tier {
  color: #a8b59f;
}
.svc h3 {
  font-family: var(--serif);
  font-size: 25px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 14px;
}
.svc p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}
.svc.feature p {
  color: #b8b2a5;
}
.svc .feat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 22px;
}
.svc .feat-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.svc.feature .feat-list li {
  color: #cfc9bc;
}
.svc .feat-list .tick {
  color: var(--green);
  flex: 0 0 auto;
  margin-top: 2px;
}
.svc.feature .feat-list .tick {
  color: #a8b59f;
}
.svc-tags {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 26px;
  min-width: 0;
}
.svc-tags .tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 5px 10px;
  border-radius: 100px;
}
.svc.feature .tag {
  background: #26261d;
  border-color: #34342a;
  color: #c8c2b4;
}
.svc-foot {
  margin-top: 26px;
}

/* ============================================================
   FOUNDER
   ============================================================ */
.founder-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  margin-top: 52px;
}
.founder-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.founder-photo {
  position: relative;
  aspect-ratio: 1/1;
  background: #d9d3c6;
}
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.02);
}
.founder-loc {
  position: absolute;
  left: 16px;
  bottom: 16px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.92);
  padding: 6px 13px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
}
.founder-id {
  padding: 22px 24px 26px;
}
.founder-id h3 {
  font-family: var(--serif);
  font-size: 27px;
  letter-spacing: -0.02em;
}
.founder-id .role {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}
.founder-id .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}
.founder-id .chips .tag {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 11px;
  color: var(--muted);
}
.founder-about .label {
  margin-bottom: 18px;
  display: block;
}
.founder-about p {
  font-size: 18px;
  line-height: 1.62;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
}
.founder-about p + p {
  margin-top: 20px;
}
.founder-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}
.meta-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}
.meta-card .big {
  font-family: var(--serif);
  font-size: 30px;
  letter-spacing: -0.02em;
}
.meta-card .sub {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 4px;
}
.partner-card {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 14px;
  background: var(--mint);
  border: 1px solid var(--mint-line);
  border-radius: 16px;
  padding: 18px 20px;
}
.partner-card {
  gap: 16px;
  padding: 22px 24px;
}
.partner-card .pmark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--green-deep);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.partner-card .pmark svg {
  width: 22px;
  height: 22px;
}
.partner-card b {
  font-size: 16px;
  letter-spacing: -0.01em;
}
.partner-card p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--green-ink);
  margin-top: 5px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.tst-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}
.tst {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.tst:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.tst .quote {
  font-family: var(--serif);
  font-size: 19.5px;
  line-height: 1.42;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.tst .who {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}
.tst .who > div {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.tst .av {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  overflow: hidden;
  background: var(--cream-2);
  box-shadow: 0 0 0 1px var(--line);
}
.tst .av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tst .who b {
  font-size: 14.5px;
  display: block;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.tst .who span {
  font-size: 13px;
  color: var(--muted);
  display: block;
  line-height: 1.3;
  margin-top: 2px;
}

/* ============================================================
   APPROACH ACCORDION
   ============================================================ */
.acc {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.acc-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition:
    box-shadow 0.3s,
    border-color 0.3s;
}
.acc-item.open {
  box-shadow: var(--shadow-md);
  border-color: #ddd6c7;
}
.acc-btn {
  width: 100%;
  display: grid;
  grid-template-columns: 64px 1fr 32px;
  align-items: center;
  gap: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 26px 28px;
  font-family: inherit;
}
.acc-num {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--green-ink);
  background: var(--mint);
  border: 1px solid var(--mint-line);
  border-radius: 100px;
  width: 52px;
  height: 34px;
  display: grid;
  place-items: center;
}
.acc-title {
  font-family: var(--serif);
  font-size: clamp(21px, 2.3vw, 28px);
  letter-spacing: -0.02em;
}
.acc-ic {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--muted);
  justify-self: end;
  transition: transform 0.35s;
}
.acc-item.open .acc-ic {
  transform: rotate(45deg);
  color: var(--green);
}
.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.1, 1);
}
.acc-item.open .acc-panel {
  grid-template-rows: 1fr;
}
.acc-panel > div {
  overflow: hidden;
}
.acc-body {
  padding: 0 28px 30px 114px;
  max-width: 760px;
}
.acc-body p {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.6;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: clamp(72px, 9vw, 124px) 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.contact-copy h2 {
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.03em;
}
.contact-copy .lead {
  margin-top: 22px;
  max-width: 34ch;
}
.contact-points {
  list-style: none;
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-points li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  font-size: 15.5px;
  color: var(--ink-soft);
}
.contact-points .tick {
  color: var(--green);
  flex: 0 0 auto;
  margin-top: 3px;
}
.form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.field {
  margin-bottom: 24px;
}
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 9px;
}
.field label .req {
  color: var(--green);
}
.field input,
.field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 15.5px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  transition: 0.2s;
}
.field textarea {
  resize: vertical;
  min-height: 120px;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  background: var(--paper);
  box-shadow: 0 0 0 4px var(--mint);
}
.form .btn {
  width: 100%;
  margin-top: 6px;
}
.form-ok {
  display: none;
  text-align: center;
  padding: 20px 0 4px;
  color: var(--green-ink);
  font-weight: 600;
  font-size: 15px;
}
.form.sent .form-ok {
  display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  color: var(--muted);
  padding: clamp(36px, 4vw, 56px) 0 18px;
  min-height: 36vh;
  border-top: 1px solid var(--line);
}
/* subtle grain across the whole footer (matches the CTA grain) */
.footer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: soft-light;
  background-image: url("/assets/38acb5a4-9cbb-46a4-ba83-d83e5a8a04a6.svg");
  background-size: 200px 200px;
}
/* layout: columns pinned top, wordmark + legal pinned bottom */
.footer .wrap {
  position: relative;
  z-index: 2;
  min-height: calc(36vh - clamp(54px, 6vw, 74px));
  display: flex;
  flex-direction: column;
}
.footer-wordwrap {
  margin-top: auto;
}
.footer .brand {
  color: var(--ink);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: start;
}
.footer-grid .col:last-child {
  justify-self: end;
  min-width: 260px;
}
.footer-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-grid .col a,
.footer-grid .col p {
  display: block;
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 11px;
  transition:
    color 0.15s ease,
    transform 0.15s ease;
}
.footer-grid .col a {
  width: fit-content;
}
.footer-grid .col a:hover {
  color: var(--ink);
  transform: translateX(3px);
}
.footer-grid .col p {
  color: var(--muted);
}
.footer-tag {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 30ch;
  margin-top: 16px;
}
@media (min-width: 981px) {
  .footer-grid,
  .footer-wordwrap {
    margin-inline: calc(-1 * var(--gutter));
  }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 76px;
  }
  .footer-grid .col:first-child {
    margin-left: 0;
  }
  .footer-grid .col:last-child {
    justify-self: end;
    padding-right: 0;
  }
  .footer .brand-logo {
    height: 42px;
  }
  .footer-grid .col p.footer-tag {
    font-size: 22px;
    line-height: 1.36;
    max-width: 34ch;
    margin-top: 20px;
  }
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.footer-bottom a {
  color: var(--ink-soft);
  transition: color 0.15s ease;
}
.footer-bottom a:hover {
  color: var(--ink);
}

/* ============================================================
   AI IMPERATIVE STATEMENT  (dark full-bleed moment)
   ============================================================ */
.statement {
  position: relative;
  overflow: hidden;
  background: #171710;
  color: #f4f1e9;
  border-block: 1px solid rgba(255, 255, 255, 0.06);
  padding: clamp(100px, 14vw, 184px) 0;
  text-align: center;
}
.statement::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.035),
    transparent 44%,
    rgba(0, 0, 0, 0.08)
  );
}
/* blueprint dot texture, faded to centre */
.statement::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.04) 1px,
    transparent 1.5px
  );
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(
    110% 90% at 50% 50%,
    #000 22%,
    transparent 78%
  );
  mask-image: radial-gradient(110% 90% at 50% 50%, #000 22%, transparent 78%);
}
.statement .wrap {
  position: relative;
  z-index: 2;
}
/* slim accent mark above the statement */
.statement .stmt-tick {
  display: block;
  width: 1px;
  height: 46px;
  margin: 0 auto 38px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(190, 182, 164, 0.46) 55%,
    #bdb49f
  );
  position: relative;
}
.statement .stmt-tick::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #bdb49f;
  box-shadow: 0 0 10px 1px rgba(189, 180, 159, 0.22);
}
.statement p {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.7vw, 52px);
  line-height: 1.26;
  letter-spacing: -0.022em;
  max-width: 21ch;
  margin: 0 auto;
  color: #f6f3ec;
  text-wrap: balance;
}
.statement p .dim {
  color: rgba(246, 243, 233, 0.46);
}
.statement p em {
  font-style: italic;
  color: #bdb49f;
}
/* word-stagger reveal */
.statement .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(14px);
  filter: blur(6px);
  transition:
    opacity 0.6s cubic-bezier(0.2, 0.7, 0.3, 1),
    transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1),
    filter 0.6s;
}
.statement.lit .w {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* ============================================================
   AGENTIC INFRASTRUCTURE â€” REVTECH STACK
   ============================================================ */
.agents-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.agents-copy h2 {
  margin: 22px 0 24px;
}
.agents-copy p {
  color: var(--ink-soft);
  font-size: 18px;
  max-width: 42ch;
}
.agents-copy p + p {
  margin-top: 18px;
}
.agents-copy .mini {
  display: flex;
  gap: 26px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.agents-copy .mini > div {
  max-width: 200px;
}
.agents-copy .mini b {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 5px;
}
.agents-copy .mini span {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* stack visual */
.stack {
  background: linear-gradient(176deg, #ffffff 0%, #fcfbf7 100%);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow:
    var(--shadow-lg),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  padding: 18px;
  position: relative;
  overflow: hidden;
}
.stack::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.95),
    transparent
  );
}
.stack-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 6px 14px;
}
.stack-head .sm-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.stack-head .label {
  font-size: 11px;
  letter-spacing: 0.18em;
  white-space: nowrap;
}
.sm-mark {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
}
.sm-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.sm-mark svg {
  width: 12px;
  height: 12px;
}
.stack-list {
  position: relative;
  padding: 16px 0;
  border-radius: 18px;
  background: radial-gradient(115% 120% at 50% 28%, #fbfaf6 0%, #f6f3ec 100%);
  border: 1px solid var(--line-soft);
}
.stack-list::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: 18px;
  background-image: radial-gradient(
    rgba(40, 34, 20, 0.08) 1px,
    transparent 1.5px
  );
  background-size: 20px 20px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(
    125% 100% at 50% 50%,
    #000 32%,
    transparent 86%
  );
  mask-image: radial-gradient(125% 100% at 50% 50%, #000 32%, transparent 86%);
}
.stack-spine {
  position: absolute;
  left: 28px;
  top: 34px;
  bottom: 30px;
  width: 2px;
  z-index: 1;
  background: linear-gradient(
    180deg,
    var(--mint-line),
    #dce4d7 50%,
    var(--mint-line)
  );
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(79, 106, 73, 0.12);
}
.agent-dot {
  position: absolute;
  left: 28px;
  top: 8%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  z-index: 6;
  background: radial-gradient(circle at 35% 30%, #8fa482, var(--green));
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 3px rgba(79, 106, 73, 0.12),
    0 0 0 7px rgba(79, 106, 73, 0.05),
    0 0 12px 2px rgba(79, 106, 73, 0.28);
  transition: top 0.85s cubic-bezier(0.5, 0, 0.15, 1);
}
.agent-dot::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.9;
}

.layer {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 15px 16px 15px 0;
  border-radius: 14px;
  transition:
    background 0.5s,
    box-shadow 0.5s,
    transform 0.5s;
}
.layer + .layer {
  margin-top: 4px;
}
.layer .lnum {
  grid-column: 1;
  justify-self: center;
  z-index: 2;
  font-family: var(--serif);
  font-size: 13.5px;
  color: var(--muted);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff, #f7f4ec);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: 0.5s;
  box-shadow: 0 2px 7px -3px rgba(40, 34, 20, 0.28);
}
.layer .ltitle {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.layer .ldesc {
  font-size: 13px;
  color: var(--muted);
  margin-top: 3px;
  line-height: 1.46;
  max-width: 38ch;
}
.layer .lstatus {
  grid-column: 3;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--green-ink);
  background: var(--mint);
  border: 1px solid var(--mint-line);
  padding: 4px 11px;
  border-radius: 100px;
  opacity: 0;
  transform: translateX(6px);
  transition:
    opacity 0.4s,
    transform 0.4s;
  white-space: nowrap;
}
.layer .lstatus::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 6px;
  vertical-align: middle;
  animation: pulse 1.6s ease-in-out infinite;
}
.layer.active {
  background: linear-gradient(
    180deg,
    rgba(238, 242, 233, 0.9),
    rgba(238, 242, 233, 0.66)
  );
  box-shadow:
    inset 0 0 0 1px var(--mint-line),
    0 8px 18px -13px rgba(79, 106, 73, 0.28);
}
.layer.active .lnum {
  background: linear-gradient(180deg, #6f8266, var(--green));
  border-color: var(--green);
  color: #fff;
  box-shadow: 0 4px 10px -4px rgba(79, 106, 73, 0.42);
}
.layer.active .lstatus {
  opacity: 1;
  transform: none;
}

/* top layer (AI orchestration) emphasised â€” the capstone */
.layer.lead-layer {
  z-index: 3;
  background: linear-gradient(162deg, #2a2a24 0%, #16160f 100%);
  margin-bottom: 12px;
  padding: 19px 16px 19px 0;
  border-radius: 16px;
  box-shadow:
    0 16px 38px -16px rgba(20, 20, 12, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.layer.lead-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  pointer-events: none;
  background: radial-gradient(
    60% 120% at 12% 50%,
    rgba(79, 106, 73, 0.16),
    transparent 60%
  );
}
.layer.lead-layer .ltitle {
  color: #f4f1e9;
  position: relative;
  z-index: 1;
}
.layer.lead-layer .ldesc {
  color: #b3ad9f;
  position: relative;
  z-index: 1;
}
.layer.lead-layer .lnum {
  background: linear-gradient(180deg, #6f8266, var(--green));
  border-color: var(--green);
  color: #fff;
  box-shadow:
    0 0 0 3px rgba(79, 106, 73, 0.16),
    0 4px 10px -3px rgba(79, 106, 73, 0.42);
  position: relative;
  z-index: 1;
}
.layer.lead-layer.active {
  box-shadow:
    0 16px 38px -16px rgba(20, 20, 12, 0.6),
    inset 0 0 0 1px #3a3a2e;
}
.layer.lead-layer .lstatus {
  background: #26261d;
  border-color: #34342a;
  color: #a8b59f;
  position: relative;
  z-index: 1;
}

/* footer caption bar (shared with sysmap) */
.stack-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 8px 4px;
}
.stack-foot .sm-cap {
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: -0.005em;
}
.stack-foot .sm-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-ink);
}
.stack-foot .sm-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2.4s ease-in-out infinite;
}
.agent-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a8b59f;
  background: #26261d;
  border: 1px solid #34342a;
  padding: 4px 10px;
  border-radius: 100px;
}

/* ============================================================
   CLOSING CTA â€” near-black editorial canvas
   ============================================================ */
.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #1b2618;
  color: #f2efe6;
  display: flex;
  align-items: center;
  padding: clamp(72px, 8vh, 104px) 0 clamp(76px, 9vh, 112px);
}
/* faint upper-left light â€” keep the bottom edge uniform so it bleeds into the footer */
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: none;
}
/* film grain */
.cta-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: soft-light;
  background-image: url("/assets/38acb5a4-9cbb-46a4-ba83-d83e5a8a04a6.svg");
  background-size: 200px 200px;
}
.cta-in {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  width: 100%;
}
.cta-col {
  max-width: 760px;
}
.cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c0dbb5;
}
.cta-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c0dbb5;
}
.cta h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.6vw, 80px);
  line-height: 1.07;
  letter-spacing: -0.018em;
  color: #f2efe6;
  margin: 24px 0 0;
  max-width: 15ch;
}
.cta h2 em {
  font-style: italic;
  color: #cde8c2;
}
.cta p {
  font-family: var(--sans);
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.55;
  color: #c4d6bc;
  max-width: 480px;
  margin-top: 28px;
}
.cta-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f4f1e9;
  color: #244021;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: -0.01em;
  padding: 16px 30px;
  border-radius: 100px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.btn-cta-primary .arr {
  transition: transform 0.2s ease;
}
.btn-cta-primary:hover {
  background: #fffdf6;
  transform: translateY(-1px);
  box-shadow: 0 16px 34px -14px rgba(0, 0, 0, 0.7);
}
.btn-cta-primary:hover .arr {
  transform: translateX(4px);
}
.btn-cta-secondary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  color: #f2efe6;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15.5px;
  padding: 4px 1px;
}
.btn-cta-secondary::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.btn-cta-secondary:hover::after {
  transform: scaleX(1);
}
.btn-cta-secondary .arr {
  transition: transform 0.2s ease;
  opacity: 0.8;
}
.btn-cta-secondary:hover .arr {
  transform: translateX(3px);
}
@media (max-width: 760px) {
  .cta {
    min-height: auto;
    padding: clamp(64px, 9vh, 88px) 0;
  }
  .cta p {
    margin-top: 24px;
  }
  .cta-actions {
    gap: 22px;
  }
  .tf-hub {
    display: none;
  }
}

/* reveal â€” visible by default; only hidden once JS opts in (html.reveal-on).
   This guarantees content is never stuck invisible if JS/observers don't run. */
.reveal-on .reveal {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(7px);
  transition:
    opacity 0.85s cubic-bezier(0.2, 0.7, 0.3, 1),
    transform 0.85s cubic-bezier(0.2, 0.7, 0.3, 1),
    filter 0.85s ease;
}
.reveal-on .reveal.in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal-on .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* ============================================================
   POLISH â€” progress, nav, motion, depth
   ============================================================ */
/* scroll progress */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  z-index: 100;
  background: linear-gradient(90deg, var(--green), #6fa564);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.1s linear;
}

/* animated nav underline + active state */
.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.32s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}
.nav-links a.active {
  color: var(--green);
}

/* global + hero depth */
body {
  background-image: radial-gradient(
    120% 80% at 50% -10%,
    #fbf8f3 0%,
    var(--cream) 46%
  );
  background-attachment: fixed;
}
.hero {
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(
      46% 50% at 80% 34%,
      rgba(79, 106, 73, 0.045),
      transparent 70%
    ),
    radial-gradient(
      36% 40% at 12% 22%,
      rgba(79, 106, 73, 0.03),
      transparent 70%
    );
}
.hero .wrap {
  position: relative;
  z-index: 1;
}

/* flowing pulses on diagram links */
.flow {
  stroke: var(--green);
  stroke-width: 1.3;
  fill: none;
  stroke-dasharray: 4 56;
  stroke-linecap: round;
  animation: flow 3.6s linear infinite;
  filter: drop-shadow(0 0 2px rgba(79, 106, 73, 0.28));
}
@keyframes flow {
  to {
    stroke-dashoffset: -59;
  }
}
.tf-stage .flow {
  opacity: 0;
  transition: opacity 0.6s ease;
}
.tf-stage.unified .flow {
  opacity: 0.9;
}

/* hub glow */
.node-hub::after,
.tf-hub::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  z-index: -1;
  box-shadow: 0 0 0 0 rgba(79, 106, 73, 0.24);
  animation: hubpulse 3s ease-in-out infinite;
}
@keyframes hubpulse {
  0%,
  100% {
    box-shadow: 0 0 18px 1px rgba(79, 106, 73, 0.1);
  }
  50% {
    box-shadow: 0 0 26px 4px rgba(79, 106, 73, 0.18);
  }
}

/* logo marquee */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 9%,
    #000 91%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 9%,
    #000 91%,
    transparent
  );
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee.rev .marquee-track {
  animation-direction: reverse;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
.marquee .logo-word {
  padding: 0 46px;
  white-space: nowrap;
}
.cloud-row.marquee {
  display: block;
  padding: 26px 0;
}

/* founder portrait â€” branded duotone */
.founder-photo .ph {
  position: relative;
  background: radial-gradient(
    120% 120% at 30% 18%,
    #c8cdbe 0%,
    #9aa48d 52%,
    #5f6e54 100%
  ) !important;
}
.founder-photo .ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    155deg,
    rgba(46, 83, 41, 0.42),
    rgba(22, 22, 15, 0.18)
  );
  mix-blend-mode: multiply;
}
.founder-photo .ph span {
  position: relative;
  z-index: 2;
}

/* testimonial quote mark */
.tst .quote {
  position: relative;
}

/* ============================================================
   PREMIUM II â€” mask-rise, footer wordmark, fine detail
   ============================================================ */
/* mask-rise headings (overflow-mask, robust) */
.reveal-on .rise {
  opacity: 1;
  filter: none;
  transform: none;
  overflow: hidden;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}
.rise .rise-inner {
  display: block;
  transform: translateY(120%);
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-on .rise.in .rise-inner {
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .rise .rise-inner {
    transform: none;
  }
}

/* divider node marker */
.divider {
  position: relative;
}
.divider::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--cream);
}

/* diagram node micro-interaction */
.node {
  transition:
    box-shadow 0.28s,
    transform 0.28s;
}
.node:not(.node-hub):hover {
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: var(--shadow-md);
  z-index: 4;
}

/* refined primary buttons â€” arrow tucks into a moving disc */
.btn-dark .arr,
.btn-light .arr,
.btn-green .arr {
  display: inline-grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  font-size: 13px;
  transition:
    transform 0.3s cubic-bezier(0.2, 0.7, 0.3, 1),
    background 0.3s;
}
.btn-light .arr {
  background: rgba(46, 83, 41, 0.14);
}
.btn-dark:hover .arr,
.btn-green:hover .arr {
  background: var(--green);
  transform: translateX(4px);
}
.btn-light:hover .arr {
  background: var(--green-deep);
  color: #f4f1e9;
  transform: translateX(4px);
}

/* oversized footer wordmark â€” committed full-bleed, lit from the content above */
.footer-word {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.9;
  font-size: clamp(36px, 7.2vw, 96px);
  color: #3a3a33;
  margin-top: clamp(20px, 3vw, 36px);
  margin-bottom: -0.03em;
  text-align: center;
  white-space: nowrap;
  user-select: none;
  position: relative;
}
/* grain handled at the footer level; no separate wordmark overlay */
.footer-wordwrap {
  position: relative;
}

/* ============================================================
   PREMIUM â€” grain, intro, cursor, masks, structure
   ============================================================ */
/* film grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: multiply;
  background-image: url("/assets/38acb5a4-9cbb-46a4-ba83-d83e5a8a04a6.svg");
}

/* section index appended via JS for reliability */
.section .eyebrow .ix {
  margin-left: 9px;
  padding-left: 10px;
  border-left: 1px solid currentColor;
  color: var(--green-deep);
  opacity: 1;
}

/* heading reveal handled by the standard .reveal (blur-fade). */

/* custom cursor */
.cursor,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9998;
  pointer-events: none;
  border-radius: 50%;
  will-change: transform;
}
.cursor {
  width: 7px;
  height: 7px;
  background: var(--green);
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(79, 106, 73, 0.32);
  transform: translate(-50%, -50%);
  transition:
    width 0.25s,
    height 0.25s,
    background 0.25s,
    border-color 0.25s;
}
.cursor-ring.hot {
  width: 58px;
  height: 58px;
  background: rgba(79, 106, 73, 0.06);
  border-color: rgba(79, 106, 73, 0.44);
}
body.cursor-on,
body.cursor-on a,
body.cursor-on button,
body.cursor-on .btn,
body.cursor-on input,
body.cursor-on textarea {
  cursor: none;
}

/* hero cursor spotlight */
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
  background: radial-gradient(
    240px 240px at var(--gx, 50%) var(--gy, 40%),
    rgba(79, 106, 73, 0.06),
    transparent 70%
  );
}
.hero:hover .hero-glow {
  opacity: 1;
}

@media (hover: none), (pointer: coarse) {
  .cursor,
  .cursor-ring {
    display: none;
  }
  body.cursor-on {
    cursor: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .flow,
  .marquee-track,
  .agent-dot {
    animation: none !important;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .strategy-grid,
  .founder-grid,
  .contact-grid,
  .agents-grid {
    grid-template-columns: 1fr;
  }
  .hero .lead {
    max-width: 46ch;
  }
  .svc-grid,
  .tst-grid {
    grid-template-columns: 1fr;
  }
  .svc-tags {
    flex-wrap: wrap;
  }
  .founder-grid {
    gap: 32px;
  }
  .founder-card {
    max-width: 420px;
  }
  .nav-links {
    display: none;
  }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 32px;
  }
  .cloud-row {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-columns: auto;
    gap: 22px 8px;
  }
}
@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  .form,
  .form-row {
    grid-template-columns: 1fr;
  }
  .form {
    padding: 24px;
  }
  .founder-meta {
    grid-template-columns: 1fr;
  }
  .cloud-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .acc-btn {
    grid-template-columns: 44px 1fr 28px;
    gap: 14px;
    padding: 20px;
  }
  .acc-body {
    padding-left: 20px;
  }
  .footer {
    padding: 24px 0 14px;
    min-height: auto;
  }
  .footer .wrap {
    min-height: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .footer-grid .col:first-child,
  .footer-grid .col:last-child {
    grid-column: 1 / -1;
    justify-self: stretch;
    min-width: 0;
    padding-right: 0;
  }
  .footer .brand-logo {
    height: 22px;
  }
  .footer-tag {
    font-size: 16px;
    margin-top: 10px;
    max-width: none;
  }
  .footer-label {
    margin-bottom: 10px;
    font-size: 10px;
  }
  .footer-grid .col a,
  .footer-grid .col p {
    font-size: 14px;
    line-height: 1.35;
    margin-bottom: 7px;
  }
  .footer-word {
    font-size: clamp(32px, 9vw, 38px);
    margin-top: 16px;
  }
  .footer-bottom {
    margin-top: 12px;
    padding-top: 11px;
    gap: 6px;
    font-size: 11px;
  }
  .stack {
    padding: 14px;
    border-radius: 20px;
  }
  .stack-head {
    align-items: flex-start;
    gap: 12px;
    padding: 4px 2px 12px;
  }
  .stack-head .label {
    font-size: 10px;
    letter-spacing: 0.13em;
  }
  .chip-live {
    font-size: 10px;
    padding: 5px 10px;
  }
  .stack-list {
    padding: 10px 10px 12px;
    border-radius: 16px;
  }
  .stack-spine {
    left: 24px;
    top: 28px;
    bottom: 24px;
  }
  .agent-dot {
    left: 24px;
    width: 15px;
    height: 15px;
  }
  .layer,
  .layer.lead-layer {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
    align-items: flex-start;
    padding: 14px 12px 14px 0;
  }
  .layer.lead-layer {
    margin-bottom: 8px;
    padding-block: 16px;
  }
  .layer .lnum {
    width: 30px;
    height: 30px;
    font-size: 13px;
    margin-top: 2px;
  }
  .layer .ltitle {
    font-size: 17px;
    line-height: 1.22;
  }
  .layer .ldesc {
    font-size: 14px;
    line-height: 1.45;
    max-width: none;
    margin-top: 6px;
  }
  .layer .lstatus {
    display: none;
  }
  .stack-foot {
    padding: 10px 2px 2px;
  }
  .acc-num {
    width: 42px;
  }
}

.founder-photo .ph {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: radial-gradient(
    120% 120% at 30% 20%,
    #cfc8b8 0%,
    #b3ab9b 55%,
    #948c7c 100%
  );
  font-family: var(--serif);
  font-size: 92px;
  color: #f3efe6;
  letter-spacing: -0.03em;
  filter: grayscale(1);
}
