/* P11 landing page — brand: charcoal / paper / brick-red bars */
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  /* Archivo variable, instanced to wdth 62–85 / wght 600–900 and subset to Latin (see README) */
  font-family: "P11 Display";
  src: url("/fonts/archivo-display.woff2") format("woff2");
  font-weight: 600 900; font-stretch: 62% 85%; font-style: normal; font-display: swap;
}

:root {
  --bg: #121212;
  --bg-2: #171717;
  --surface: #1b1b1b;
  --surface-2: #222222;
  --line: rgba(244, 241, 238, 0.09);
  --line-2: rgba(244, 241, 238, 0.17);
  --text: #f4f1ee;
  --muted: #aba6a1;
  --dim: #85807b;
  --blush: #e2b2aa;
  --rose: #d58f83;
  --brick: #ad2812;
  --brick-2: #c2331b;
  --paper: #f4f1ee;
  --ink: #272727;
  --accent-text: linear-gradient(95deg, #ecc7c0 0%, #e2b2aa 25%, #d58f83 55%, #cf4b33 100%);
  --radius: 18px;
  --wrap: 1200px;
  --pad: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "P11 Display", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  font-feature-settings: "cv11", "ss01", "ss03";
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.02em; font-weight: 650; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--brick); color: var(--paper); }
:focus-visible { outline: 2px solid var(--blush); outline-offset: 3px; border-radius: 6px; }

.display {
  font-family: var(--display); font-weight: 800; font-stretch: 66%;
  text-transform: uppercase; letter-spacing: -0.005em; line-height: .92;
}
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--brick); color: var(--paper); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip:focus { top: 16px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.muted { color: var(--muted); }
.accent { background: var(--accent-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Brand bars motif (from the logo) */
.bars { display: inline-flex; gap: 3px; align-items: stretch; height: .95em; vertical-align: -0.12em; margin-right: .7em; }
.bars i { display: block; border-radius: 1.5px; transform-origin: bottom; }
.bars i:nth-child(1) { width: 3px; background: var(--blush); }
.bars i:nth-child(2) { width: 4px; background: var(--rose); }
.bars i:nth-child(3) { width: 5px; background: var(--brick); }
.js .reveal .bars i { transform: scaleY(0); transition: transform .6s var(--ease); }
.js .reveal.is-in .bars i { transform: none; }
.js .reveal.is-in .bars i:nth-child(2) { transition-delay: .08s; }
.js .reveal.is-in .bars i:nth-child(3) { transition-delay: .16s; }

/* ---------- Logo ---------- */
.logo { height: 30px; width: auto; overflow: visible; }
.logo__ink { fill: var(--text); }
.logo .b1 { fill: var(--blush); } .logo .b2 { fill: var(--rose); } .logo .b3 { fill: var(--brick); }
.logo .b { transform-box: fill-box; transform-origin: 50% 100%; animation: barIn .7s var(--ease) both; }
.logo .b2 { animation-delay: .1s; } .logo .b3 { animation-delay: .2s; }
@keyframes barIn { from { transform: scaleY(0); opacity: 0; } }
.brand { display: inline-flex; align-items: center; text-decoration: none; padding: 6px 0; }
.brand:hover .b { animation: barPulse .9s var(--ease); }
.brand:hover .b2 { animation-delay: .08s; } .brand:hover .b3 { animation-delay: .16s; }
@keyframes barPulse { 40% { transform: scaleY(.55); } }

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: var(--h); padding: 0 24px; border-radius: 10px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 16px; letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s;
}
.btn span { transition: transform .25s var(--ease); }
.btn:hover span { transform: translateX(3px); }
.btn--primary { background: var(--brick); color: var(--paper); box-shadow: 0 1px 0 rgba(255, 255, 255, .14) inset, 0 12px 28px -12px rgba(173, 40, 18, .8); }
.btn--primary:hover { background: var(--brick-2); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 18px 36px -14px rgba(194, 51, 27, .9); }
.btn--ghost { border-color: var(--line-2); color: var(--text); background: rgba(244, 241, 238, .03); }
.btn--ghost:hover { border-color: rgba(226, 178, 170, .55); background: rgba(226, 178, 170, .06); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 15px; }
.btn--lg { --h: 58px; padding: 0 30px; font-size: 17px; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(140%) blur(16px); -webkit-backdrop-filter: saturate(140%) blur(16px); background: rgba(18, 18, 18, .55); border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s; }
.nav.is-scrolled { border-bottom-color: var(--line); background: rgba(18, 18, 18, .85); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 70px; }
.nav__links { display: flex; gap: 2px; }
.nav__links a { display: block; padding: 8px 14px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s, background-color .2s; }
.nav__links a:hover { color: var(--text); background: rgba(244, 241, 238, .05); }
@media (max-width: 900px) { .nav__links { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; padding: clamp(48px, 7vw, 96px) 0 0; overflow: hidden; margin-top: -70px; padding-top: calc(70px + clamp(48px, 7vw, 96px)); }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.facets { position: absolute; inset: -4%; background: url("/assets/facets.svg") center / cover no-repeat; opacity: .95; animation: facetDrift 40s ease-in-out infinite alternate; }
@keyframes facetDrift { to { transform: scale(1.06) translate3d(-1.5%, 1%, 0); } }
.hero__shade { position: absolute; inset: 0; background:
  radial-gradient(ellipse 50% 45% at 85% 15%, rgba(173, 40, 18, .28), transparent 70%),
  linear-gradient(90deg, rgba(18, 18, 18, .82) 0%, rgba(18, 18, 18, .35) 60%, rgba(18, 18, 18, .2) 100%),
  linear-gradient(180deg, transparent 55%, var(--bg) 100%); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; color: var(--blush); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 26px; }
.hero h1 { font-size: clamp(3.5rem, 6.6vw, 6.4rem); line-height: .88; }
.lede { margin-top: 28px; font-size: clamp(1.05rem, 1.45vw, 1.22rem); color: #c9c4bf; max-width: 50ch; line-height: 1.55; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__note { margin-top: 22px; font-size: 14px; color: var(--dim); }
.hero__note strong { color: var(--blush); font-weight: 600; }
.hero { padding-bottom: clamp(56px, 7vw, 88px); }

/* Agent card */
.agent-card { position: relative; background: linear-gradient(180deg, rgba(30, 30, 30, .88), rgba(20, 20, 20, .92)); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 22px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.agent-card::before { content: ""; position: absolute; left: 22px; right: 22px; top: -1px; height: 2px; background: linear-gradient(90deg, var(--blush) 0 20%, var(--rose) 20% 50%, var(--brick) 50% 100%); border-radius: 2px; }
.agent-card__head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 22px; flex: none; }
.eq i { display: block; width: 4px; height: 100%; border-radius: 1.5px; transform-origin: bottom; animation: eq 1.4s ease-in-out infinite; }
.eq i:nth-child(1) { background: var(--blush); }
.eq i:nth-child(2) { background: var(--rose); width: 5px; animation-delay: -.45s; }
.eq i:nth-child(3) { background: var(--brick); width: 6px; animation-delay: -.9s; }
@keyframes eq { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
.agent-card__title { font-weight: 600; font-size: 15px; }
.agent-card__sub { font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: .1em; }
.agent-log { display: grid; gap: 2px; padding: 12px 0; }
.agent-log li { display: grid; grid-template-columns: 20px 1fr auto; gap: 12px; align-items: center; padding: 10px 6px; border-radius: 10px; font-size: 14.5px; line-height: 1.4; color: #e3dfda; opacity: 0; transform: translateY(6px); animation: logIn .6s var(--ease) forwards; animation-delay: calc(.6s + var(--i) * .35s); }
@keyframes logIn { to { opacity: 1; transform: none; } }
.tick { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid rgba(213, 143, 131, .7); position: relative; }
.tick::after { content: ""; position: absolute; left: 5px; top: 2.5px; width: 4px; height: 8px; border: solid var(--blush); border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); }
.chip { font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 6px; white-space: nowrap; color: #cfcac4; background: rgba(244, 241, 238, .07); }
.chip--wait { color: #f6d7d1; background: rgba(173, 40, 18, .35); box-shadow: 0 0 0 1px rgba(213, 143, 131, .4) inset; }
.agent-card__foot { display: flex; gap: 8px; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.agent-card__foot svg { color: var(--rose); flex: none; }


/* ---------- Sections ---------- */
.section { padding: clamp(80px, 10vw, 132px) 0; position: relative; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { max-width: 860px; margin-bottom: clamp(40px, 6vw, 68px); }
.kicker { display: flex; align-items: center; font-size: 13px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--blush); margin-bottom: 20px; }
.kicker--center { justify-content: center; }
.section h2, .cta h2 { font-size: clamp(2.6rem, 6vw, 5rem); }
.section__lede { margin-top: 22px; font-size: clamp(1.02rem, 1.3vw, 1.16rem); color: var(--muted); max-width: 62ch; }

/* Gaps */
.gaps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gap { position: relative; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; transition: border-color .3s, transform .3s var(--ease), background-color .3s; overflow: hidden; }
.gap::after { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 3px; background: linear-gradient(var(--blush), var(--rose), var(--brick)); transform: scaleY(0); transform-origin: top; transition: transform .4s var(--ease); border-radius: 0 2px 2px 0; }
.gap:hover { border-color: rgba(213, 143, 131, .3); transform: translateY(-3px); background: var(--surface-2); }
.gap:hover::after { transform: none; }
.gap__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; background: rgba(173, 40, 18, .16); color: var(--blush); box-shadow: 0 0 0 1px rgba(213, 143, 131, .22) inset; }
.gap__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gap h3 { font-size: 1.28rem; letter-spacing: -0.02em; line-height: 1.2; min-height: 2.4em; }
.gap__fix { color: var(--muted); font-size: 15.5px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.gap__fix span { display: inline-block; margin-right: 6px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #f6d7d1; background: rgba(173, 40, 18, .4); padding: 2px 7px; border-radius: 4px; vertical-align: 1px; }

/* Diagram */
.diagram { margin: 0; padding: clamp(16px, 3vw, 36px); border-radius: calc(var(--radius) + 4px); background: radial-gradient(ellipse at 50% 50%, rgba(173, 40, 18, .1), transparent 60%), var(--surface); border: 1px solid var(--line); }
.diagram__svg { width: 100%; height: auto; }
.diagram__svg--tall { display: none; max-width: 420px; margin: 0 auto; }
@media (max-width: 720px) { .diagram__svg--wide { display: none; } .diagram__svg--tall { display: block; } }
.diagram .links path { fill: none; stroke: rgba(244, 241, 238, .13); stroke-width: 1.5; }
.diagram .flows path { fill: none; stroke: var(--rose); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 6 18; animation: flow 1.6s linear infinite; animation-delay: var(--d); filter: drop-shadow(0 0 4px rgba(173, 40, 18, .9)); }
@keyframes flow { to { stroke-dashoffset: -48; } }
.diagram .node rect { fill: #202020; stroke: rgba(244, 241, 238, .15); stroke-width: 1; }
.diagram .node .pip { fill: var(--rose); stroke: none; }
.diagram .node text { fill: #ece8e3; font-family: var(--font); font-size: 17px; font-weight: 550; }
.diagram__svg--tall .node text { font-size: 16px; }
.diagram .node--out rect { stroke: rgba(244, 241, 238, .35); fill: rgba(244, 241, 238, .04); }
.diagram .node--gate rect { stroke: rgba(213, 143, 131, .7); fill: rgba(173, 40, 18, .16); }
.diagram .node .o1 { font-size: 19px; font-weight: 680; fill: var(--paper); }
.diagram .node--gate .o1 { fill: var(--blush); }
.diagram .node .o2 { font-size: 15px; font-weight: 450; fill: var(--muted); }
.diagram__svg--tall .node .o1 { font-size: 18px; }
.diagram__svg--tall .node .o2 { font-size: 14.5px; }
.diagram .core-t1 { fill: var(--paper); font-family: var(--display); font-stretch: 74%; font-size: 30px; font-weight: 800; letter-spacing: .03em; word-spacing: .12em; }
.diagram .core-t2 { fill: rgba(244, 241, 238, .85); font-family: var(--font); font-size: 12.5px; font-weight: 600; }
.diagram .core-ring { fill: none; stroke: rgba(213, 143, 131, .4); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: ring 3.2s ease-out infinite; }
.diagram .core-ring--2 { animation-delay: 1.6s; stroke-dasharray: 3 7; }
@keyframes ring { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.18); opacity: 0; } }
.diagram .core-glow { animation: breathe 4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes breathe { 50% { opacity: .6; transform: scale(.94); } }

.routines { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; margin-top: 14px; }
.routines__col { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.routines__col h3 { font-size: 1.35rem; margin-bottom: 18px; }
.routines__col p + p { margin-top: 14px; }
.routines__col--callout { background: linear-gradient(160deg, rgba(173, 40, 18, .2), rgba(173, 40, 18, .03) 60%), var(--surface); border-color: rgba(213, 143, 131, .28); }
.routines__col--callout p:first-of-type { font-size: 1.05rem; color: #ebe7e2; }
.routines__col--callout .muted { font-size: 15.5px; }

.checks { display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; color: #dcd7d2; font-size: 16px; line-height: 1.5; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 5px; background: rgba(173, 40, 18, .22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 10.5 3 3 6-7' fill='none' stroke='%23e2b2aa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.checks strong { color: var(--text); }

/* Training (light section) */
.section--light { background: var(--paper); color: var(--ink); }
.section--light .kicker { color: var(--brick); }
.section--light .section__lede { color: #5b5651; }
.section--light ::selection { background: var(--ink); color: var(--paper); }
.training__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.training__logo { width: clamp(140px, 16vw, 220px); height: auto; flex: none; margin-top: 8px; }
.train { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.train__item { padding: 28px 24px 8px 0; position: relative; }
.train__item + .train__item { padding-left: 24px; border-left: 1px solid rgba(39, 39, 39, .14); }
.train__n { display: block; font-family: var(--display); font-stretch: 66%; font-weight: 800; font-size: 3.4rem; line-height: 1; color: var(--brick); margin-bottom: 14px; }
.train__item:nth-child(1) .train__n { color: #b4766b; }
.train__item:nth-child(2) .train__n { color: #a85a4c; }
.train__item:nth-child(3) .train__n { color: #ad3a26; }
.train h3 { font-size: 1.3rem; margin-bottom: 10px; color: var(--ink); }
.train p { color: #57524d; font-size: 15.5px; }
.train__tune { display: flex; align-items: center; margin-top: 44px; padding: 20px 24px; border-radius: 12px; background: #fff; border: 1px solid rgba(39, 39, 39, .1); color: #3d3935; font-size: 16px; }
.train__tune .bars { height: 22px; margin-right: 18px; flex: none; }
.train__tune .bars i:nth-child(1) { width: 4px; } .train__tune .bars i:nth-child(2) { width: 5px; } .train__tune .bars i:nth-child(3) { width: 6px; }
.train__tune strong { color: var(--ink); }

/* Services */
.svc { position: relative; overflow: hidden; padding: clamp(24px, 3vw, 34px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease); }
.svc[data-spot]::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(213, 143, 131, .09), transparent 45%); }
.svc[data-spot]:hover::after { opacity: 1; }
.svc:hover { border-color: rgba(213, 143, 131, .3); }
.svc__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.svc__num { font-family: var(--display); font-stretch: 70%; font-weight: 700; font-size: 18px; color: var(--dim); letter-spacing: .04em; }
.tag { font-size: 12px; font-weight: 650; padding: 5px 10px; border-radius: 6px; color: var(--blush); box-shadow: 0 0 0 1px rgba(226, 178, 170, .4) inset; letter-spacing: .03em; text-transform: uppercase; }
.tag--brick { color: var(--paper); background: var(--brick); box-shadow: none; }
.svc h3 { font-size: clamp(1.3rem, 1.9vw, 1.5rem); line-height: 1.15; margin-bottom: 18px; }
.svc--flagship { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(28px, 3.6vw, 48px); border-color: rgba(213, 143, 131, .32); background: url("/assets/facets.svg") center / cover no-repeat; isolation: isolate; }
.svc--flagship::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(27, 27, 27, .94) 30%, rgba(27, 27, 27, .82)), radial-gradient(ellipse 60% 90% at 0% 0%, rgba(173, 40, 18, .3), transparent 60%); }
.svc--retainer::before { background: linear-gradient(260deg, rgba(27, 27, 27, .94) 30%, rgba(27, 27, 27, .82)), radial-gradient(ellipse 60% 90% at 100% 0%, rgba(173, 40, 18, .3), transparent 60%); }
.svc--flagship .svc__top { align-self: stretch; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.svc--flagship h3 { font-size: clamp(2.2rem, 3.1vw, 2.9rem); line-height: .9; letter-spacing: 0; margin-bottom: 20px; min-height: 1.8em; }
.svc--flagship p { color: #c9c4bf; font-size: 1.08rem; margin-bottom: 26px; max-width: 46ch; }
.svc--flagship .checks { margin-bottom: 32px; flex: 1; align-content: start; }
.svc--flagship .btn { margin-top: auto; }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.svc--start { border-color: rgba(226, 178, 170, .35); }
.svc--cta { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; background: transparent; border-style: dashed; border-color: var(--line-2); }
.svc--cta h3 { margin: 0; }
.svc--cta p { color: var(--muted); font-size: 15.5px; }
.dash { display: grid; gap: 10px; }
.dash li { position: relative; padding-left: 20px; color: #d0cbc6; font-size: 15.5px; line-height: 1.5; }
.dash li::before { content: ""; position: absolute; left: 0; top: .42em; width: 3px; height: .85em; border-radius: 1px; background: var(--rose); }

/* Process: three bars, like the logo */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.step { position: relative; padding-left: 34px; }
.step__bar { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; transform-origin: top; }
.step--1 .step__bar { width: 8px; background: var(--blush); }
.step--2 .step__bar { width: 11px; background: var(--rose); }
.step--3 .step__bar { width: 14px; background: var(--brick); }
.step--2 { padding-left: 37px; } .step--3 { padding-left: 40px; }
.js .step.reveal .step__bar { transform: scaleY(0); transition: transform 1s var(--ease) .15s; }
.js .step.reveal.is-in .step__bar { transform: none; }
.step__n { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 10px; }
.step h3 { font-size: clamp(2.6rem, 4.4vw, 3.8rem); margin-bottom: 14px; }
.step p { color: var(--muted); max-width: 34ch; }

/* Integrations wall */
.integ__head { max-width: 900px; }
.lg { position: relative; display: block; width: calc(var(--w) * var(--k, 1)); height: calc(var(--h) * var(--k, 1)); flex: none; }
.lg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.lg .lg__mono { opacity: .86; }
.lg .lg__color { opacity: 0; }
.feats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.feat { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; padding: 34px 18px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-2); transition: background-color .3s, border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.feat::before { content: ""; position: absolute; left: 18px; right: 18px; top: -1px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--blush) 0 20%, var(--rose) 20% 50%, var(--brick) 50% 100%); opacity: .9; }
.feat__mark { display: flex; align-items: center; justify-content: center; height: 64px; }
.feat .lg { --k: 1; }
.feat__txt { display: flex; flex-direction: column; gap: 4px; }
.feat__name { font-weight: 650; font-size: 17px; letter-spacing: -0.01em; color: var(--text); transition: color .3s; }
.feat__desc { font-size: 13.5px; line-height: 1.4; color: var(--muted); transition: color .3s; }
.tiles { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 108px; padding: 16px 10px; border-radius: 14px; background: rgba(244, 241, 238, .025); border: 1px solid var(--line); text-align: center; transition: background-color .3s, border-color .3s, transform .3s var(--ease); }
.tile__name { font-size: 12.5px; font-weight: 550; line-height: 1.25; color: var(--muted); transition: color .3s; }
@media (hover: hover) {
  .feat:hover, .tile:hover { background: var(--paper); border-color: var(--paper); transform: translateY(-3px); }
  .feat:hover { box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .9); }
  .feat:hover .lg__mono, .tile:hover .lg__mono { opacity: 0; }
  .feat:hover .lg__color, .tile:hover .lg__color { opacity: 1; }
  .feat:hover .feat__name { color: var(--ink); }
  .feat:hover .feat__desc, .tile:hover .tile__name { color: #5b5651; }
}
.integ__foot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 32px; flex-wrap: wrap; margin-top: 26px; font-size: 15px; color: var(--muted); }
.integ__foot a { color: var(--text); text-decoration-color: rgba(213, 143, 131, .6); text-underline-offset: 3px; }
.integ__legal { font-size: 12.5px; color: var(--dim); }

/* Savings */
.save { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.save__card { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 34px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.save__card h3 { font-size: clamp(1.3rem, 1.9vw, 1.55rem); line-height: 1.15; }
.save__card > p { color: var(--muted); font-size: 15.5px; }
.save__card .dash { margin-top: 6px; padding-top: 18px; border-top: 1px dashed var(--line-2); }
.save__card--hire { background: linear-gradient(160deg, rgba(173, 40, 18, .2), rgba(173, 40, 18, .03) 60%), var(--surface); border-color: rgba(213, 143, 131, .28); }
.save__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; background: rgba(173, 40, 18, .16); color: var(--blush); box-shadow: 0 0 0 1px rgba(213, 143, 131, .22) inset; }
.save__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.calc { margin: 14px 0 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, .9fr); gap: clamp(24px, 3.5vw, 48px); padding: clamp(26px, 3.6vw, 48px); border-radius: calc(var(--radius) + 4px); background: var(--paper); color: var(--ink); }
.calc ::selection { background: var(--ink); color: var(--paper); }
.calc__intro .calc__eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--paper); background: var(--brick); padding: 4px 9px; border-radius: 5px; margin-bottom: 16px; }
.calc__intro h3 { font-size: clamp(2rem, 3.2vw, 2.9rem); margin-bottom: 14px; }
.calc__intro p { color: #57524d; font-size: 15.5px; }
.calc__inputs { display: grid; gap: 22px; align-content: center; }
.field { display: grid; gap: 8px; }
.field__label { font-size: 14.5px; font-weight: 600; color: #3d3935; }
.field__row { display: grid; grid-template-columns: minmax(0, 1fr) 12px 76px 30px; align-items: center; gap: 8px; }
.field__pre, .field__unit { font-size: 14px; color: #6b6560; font-weight: 600; }
.field__pre { text-align: right; }
.field__num { width: 76px; flex: none; font: inherit; font-size: 16px; font-weight: 650; color: var(--ink); padding: 8px 10px; border-radius: 8px; border: 1px solid rgba(39, 39, 39, .22); background: #fff; text-align: right; -moz-appearance: textfield; }
.field__num::-webkit-outer-spin-button, .field__num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.field__num:focus-visible { outline: 2px solid var(--brick); outline-offset: 1px; }
.field input[type="range"] { width: 100%; min-width: 0; margin: 0; height: 28px; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; --p: 50%; }
.field input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--brick) var(--p), rgba(39, 39, 39, .16) var(--p)); }
.field input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: rgba(39, 39, 39, .16); }
.field input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--brick); }
.field input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: #fff; border: 2px solid var(--brick); box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.field input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--brick); }
.field input[type="range"]:focus-visible { outline: 2px solid var(--brick); outline-offset: 2px; }
.calc__out { display: grid; gap: 4px; align-content: center; padding: 22px 24px; border-radius: 14px; background: var(--ink); color: var(--paper); }
.calc__stat { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(244, 241, 238, .1); }
.calc__stat--big { flex-direction: column; align-items: flex-start; gap: 4px; border-bottom: 0; padding-top: 14px; }
.calc__k { font-size: 13.5px; color: #bdb8b3; }
.calc__v { font-family: var(--display); font-stretch: 70%; font-weight: 800; font-size: 1.7rem; line-height: 1; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.calc__stat--big .calc__v { font-size: clamp(2.6rem, 4.2vw, 3.6rem); background: var(--accent-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.calc__note { grid-column: 1 / -1; font-size: 13.5px; color: #5b5651; padding-top: 18px; border-top: 1px solid rgba(39, 39, 39, .14); }
.calc__note strong { color: var(--ink); }

/* Work */
.work { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.work__item { padding: clamp(28px, 3.5vw, 44px) clamp(0px, 2vw, 32px) clamp(28px, 3.5vw, 44px) 0; border-bottom: 1px solid var(--line); }
.work__item:nth-child(even) { padding-left: clamp(20px, 3vw, 44px); border-left: 1px solid var(--line); padding-right: 0; }
.work__tag { font-size: 13px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--blush); margin-bottom: 14px; }
.work__item p:last-child { font-size: clamp(1.08rem, 1.5vw, 1.26rem); line-height: 1.5; color: #e3dfda; }

/* CTA */
.cta { padding: 0 0 clamp(80px, 10vw, 132px); }
.cta__box { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(56px, 8vw, 110px) clamp(24px, 5vw, 80px); border-radius: calc(var(--radius) + 8px); border: 1px solid rgba(213, 143, 131, .3); background: #161616; }
.cta__facets { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(22, 22, 22, .55), rgba(22, 22, 22, .9)), radial-gradient(ellipse 60% 70% at 50% 0%, rgba(173, 40, 18, .35), transparent 70%), url("/assets/facets.svg") center / cover no-repeat; }
.cta__bars { display: inline-flex; gap: 6px; height: 46px; margin-bottom: 26px; }
.cta__bars i { display: block; border-radius: 2px; transform-origin: bottom; }
.cta__bars i:nth-child(1) { width: 8px; background: var(--blush); }
.cta__bars i:nth-child(2) { width: 11px; background: var(--rose); }
.cta__bars i:nth-child(3) { width: 14px; background: var(--brick); }
.js .cta__box.reveal .cta__bars i { transform: scaleY(0); transition: transform .8s var(--ease); }
.js .cta__box.reveal.is-in .cta__bars i { transform: none; }
.js .cta__box.reveal.is-in .cta__bars i:nth-child(2) { transition-delay: .1s; }
.js .cta__box.reveal.is-in .cta__bars i:nth-child(3) { transition-delay: .2s; }
.cta__box .section__lede { margin-left: auto; margin-right: auto; color: #bcb7b2; }
.cta__box .hero__ctas { justify-content: center; }
.cta h2 { font-size: clamp(3rem, 8vw, 6.4rem); }
.cta__mail { margin-top: 22px; font-size: 15px; color: var(--muted); }
.cta__mail a { color: var(--text); text-decoration-color: rgba(213, 143, 131, .6); text-underline-offset: 3px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 30px 0 calc(30px + env(safe-area-inset-bottom)); font-size: 14.5px; color: var(--muted); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer a:not(.brand) { color: var(--text); text-decoration-color: rgba(213, 143, 131, .6); text-underline-offset: 3px; }
.brand--footer .logo { height: 22px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--rd, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero__inner { grid-template-columns: 1fr; }
  .agent-card { max-width: 560px; }
  .gaps, .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .duo { grid-template-columns: 1fr; }
  .feats { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
  .feat { padding: 28px 10px 20px; }
  .feat .lg { --k: .8; }
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .save { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr 1fr; }
  .calc__intro { grid-column: 1 / -1; }
  .svc--flagship h3 { min-height: 0; }
  .routines { grid-template-columns: 1fr; }
  .train { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .train__item:nth-child(3) { padding-left: 0; border-left: 0; }
  .train__item:nth-child(n+3) { border-top: 1px solid rgba(39, 39, 39, .14); }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .gap h3 { min-height: 0; }
  .gaps, .svc-grid, .steps, .work, .train { grid-template-columns: 1fr; }
  .train__item, .train__item + .train__item { padding: 24px 0 20px; border-left: 0; }
  .train__item + .train__item { border-top: 1px solid rgba(39, 39, 39, .14); }
  .training__head { flex-direction: column; gap: 0; }
  .training__logo { order: -1; width: 120px; margin: 0 0 32px; }
  .train__tune { align-items: flex-start; }
  .work__item, .work__item:nth-child(even) { padding: 26px 0; border-left: 0; }
  .steps { gap: 40px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .nav .btn--sm { --h: 38px; padding: 0 14px; font-size: 14px; }
  .logo { height: 25px; }
  .agent-log li { grid-template-columns: 20px 1fr; }
  .agent-log .chip { grid-column: 2; justify-self: start; }
  .eyebrow { font-size: 11.5px; letter-spacing: .1em; line-height: 1.5; align-items: flex-start; }
  .eyebrow .bars { margin-top: 2px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .feats { grid-template-columns: 1fr; gap: 8px; }
  .feat { flex-direction: row; text-align: left; gap: 16px; padding: 16px 18px; }
  .feat::before { left: 0; right: auto; top: 16px; bottom: 16px; width: 3px; height: auto; background: linear-gradient(var(--blush) 0 20%, var(--rose) 20% 50%, var(--brick) 50% 100%); }
  .feat__mark { width: 96px; height: 48px; flex: none; }
  .feat .lg { --k: .62; }
  .feat__name { font-size: 16px; }
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
  .tile { min-height: 84px; padding: 12px 4px; gap: 7px; border-radius: 10px; }
  .tile .lg { --k: .74; }
  .tile__name { font-size: 10.5px; }
  .integ__foot { font-size: 14px; }
  .calc { grid-template-columns: 1fr; }
  .calc__out { padding: 18px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .agent-log li { opacity: 1; transform: none; }
  .facets, .eq i { animation: none; }
  .js .reveal, .js .reveal .bars i, .js .step.reveal .step__bar, .js .cta__box.reveal .cta__bars i { opacity: 1; transform: none; }
}
