:root {
  --ink: #170e15;
  --wine: #5f1736;
  --wine-dark: #2f0d20;
  --cream: #f5eee4;
  --paper: #fffaf3;
  --pink: #ff4fa3;
  --lime: #d7ff4b;
  --muted: #6f656d;
  --line: rgba(23, 14, 21, 0.16);
  --shell: min(1180px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: "DM Sans", sans-serif; }
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: var(--shell); margin-inline: auto; }
.section-pad { padding: clamp(88px, 10vw, 150px) 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 14px; background: var(--lime); color: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 50; inset: 0 0 auto; border-bottom: 1px solid transparent; transition: background 180ms ease, border-color 180ms ease; }
.site-header.scrolled { background: rgba(245, 238, 228, 0.94); border-color: var(--line); backdrop-filter: blur(18px); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; text-transform: uppercase; letter-spacing: .12em; }
.brand b { font: 900 1.2rem/1 "Libre Franklin", sans-serif; }
.brand span { font-size: .72rem; font-weight: 700; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { text-decoration: none; font-size: .76rem; font-weight: 700; }
.nav-cta { padding: 12px 18px; background: var(--wine); color: white; }
.menu-button { display: none; width: 42px; height: 42px; border: 0; background: none; }
.menu-button i { display: block; width: 25px; height: 2px; margin: 6px auto; background: var(--ink); }

.hero { min-height: 100svh; padding: 126px 0 80px; display: grid; align-items: center; overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; width: 650px; height: 650px; top: -280px; right: -190px; border-radius: 50%; background: var(--pink); filter: blur(1px); opacity: .18; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(54px, 7vw, 110px); align-items: center; position: relative; }
.eyebrow { margin: 0 0 22px; color: var(--wine); font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3 { font-family: "Libre Franklin", sans-serif; margin: 0; letter-spacing: -.055em; }
h1 { font-size: clamp(3.3rem, 6.7vw, 6.75rem); line-height: .89; font-weight: 900; }
h1 em { color: var(--wine); font-style: normal; }
.hero-lede { max-width: 660px; margin: 30px 0 0; font-size: clamp(1.06rem, 1.55vw, 1.34rem); line-height: 1.55; color: var(--muted); }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 34px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid transparent; text-decoration: none; font-size: .84rem; font-weight: 800; transition: transform 160ms ease, background 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--wine); color: white; }
.button.dark { background: var(--ink); color: white; }
.button.light { background: var(--cream); color: var(--ink); }
.text-link { font-size: .84rem; font-weight: 800; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 12px 22px; padding: 0; margin: 36px 0 0; list-style: none; color: var(--muted); font-size: .73rem; font-weight: 700; }
.hero-proof li::before { content: "✓"; margin-right: 7px; color: var(--wine); }

.workforce-card { padding: 24px; background: var(--ink); color: white; box-shadow: 24px 24px 0 var(--pink); }
.card-top, .approval-line, .prototype-bar { display: flex; justify-content: space-between; align-items: center; }
.card-top { padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.14); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }
.card-top span { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.card-top i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 18px var(--lime); }
.card-top small { color: rgba(255,255,255,.5); }
.gateway-row { display: grid; grid-template-columns: repeat(4,1fr); margin: 18px 0; border: 1px solid rgba(255,255,255,.14); }
.gateway-row span { padding: 12px 6px; text-align: center; border-right: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.72); font-size: .67rem; font-weight: 700; }
.gateway-row span:last-child { border-right: 0; }
.workforce-core { display: flex; align-items: center; gap: 14px; padding: 17px; background: var(--wine); }
.core-mark { width: 46px; height: 46px; display: grid; place-items: center; background: var(--lime); color: var(--ink); font: 900 .9rem/1 "Libre Franklin", sans-serif; }
.workforce-core small, .workforce-core strong { display: block; }
.workforce-core small { color: rgba(255,255,255,.6); font-size: .62rem; text-transform: uppercase; letter-spacing: .12em; }
.workforce-core strong { margin-top: 4px; font-size: .88rem; }
.worker-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 1px; background: rgba(255,255,255,.14); }
.worker-grid article { padding: 20px; background: #21151e; }
.worker-grid article span, .worker-grid article b, .worker-grid article small { display: block; }
.worker-grid article span { color: var(--pink); font-size: .6rem; font-weight: 800; }
.worker-grid article b { margin-top: 15px; font-size: .85rem; }
.worker-grid article small { margin-top: 6px; color: rgba(255,255,255,.52); font-size: .66rem; }
.approval-line { padding: 17px; margin-top: 1px; background: var(--lime); color: var(--ink); font-size: .67rem; }
.approval-line b { text-transform: uppercase; letter-spacing: .08em; }

.task-band { overflow: hidden; background: var(--wine); color: white; }
.task-band div { min-width: max-content; display: flex; animation: marquee 28s linear infinite; }
.task-band span { padding: 18px 30px; border-right: 1px solid rgba(255,255,255,.18); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-24%); } }

.section-head { max-width: 880px; }
.section-head h2, .method h2, .proof h2, .fit h2, .inquire h2 { font-size: clamp(2.65rem, 5.1vw, 5.3rem); line-height: .96; }
.section-head > p:last-child { max-width: 650px; margin: 25px 0 0; color: var(--muted); font-size: 1.08rem; }
.path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 62px; }
.path-card { min-height: 560px; padding: clamp(34px, 4vw, 58px); display: flex; flex-direction: column; }
.path-build { background: var(--paper); border: 1px solid var(--line); }
.path-coach { background: var(--wine); color: white; }
.path-number { margin: 0 0 72px; font-size: .69rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; opacity: .66; }
.path-card h3 { max-width: 520px; font-size: clamp(2.25rem, 3.8vw, 4rem); line-height: .95; }
.path-card > p:not(.path-number) { max-width: 560px; margin: 26px 0 0; line-height: 1.65; opacity: .76; }
.path-card ul { display: grid; gap: 12px; padding: 0; margin: 32px 0 40px; list-style: none; font-size: .83rem; font-weight: 700; }
.path-card li::before { content: "+"; margin-right: 9px; color: var(--pink); }
.path-card .button { align-self: flex-start; margin-top: auto; }

.method { background: var(--ink); color: white; }
.method .eyebrow { color: var(--pink); }
.method-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 9vw; align-items: start; }
.method-list { padding: 0; margin: 0; list-style: none; }
.method-list li { display: grid; grid-template-columns: 50px 1fr; gap: 26px; padding: 30px 0; border-top: 1px solid rgba(255,255,255,.17); }
.method-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.17); }
.method-list > li > span { color: var(--pink); font-size: .7rem; font-weight: 800; }
.method-list h3 { font-size: 1.65rem; letter-spacing: -.03em; }
.method-list p { max-width: 560px; margin: 10px 0 0; color: rgba(255,255,255,.6); line-height: 1.55; }

.proof-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 6vw; align-items: center; }
.proof-copy > p:not(.eyebrow) { margin: 28px 0 0; color: var(--muted); line-height: 1.65; }
.proof-points { display: grid; gap: 12px; margin-top: 28px; font-size: .76rem; font-weight: 800; }
.proof-points span::before { content: "✓"; margin-right: 9px; color: var(--wine); }
.prototype-frame { background: var(--ink); padding: 14px; box-shadow: 20px 20px 0 var(--lime); }
.prototype-bar { padding: 7px 5px 17px; color: white; font-size: .65rem; text-transform: uppercase; letter-spacing: .09em; }
.prototype-bar span { color: rgba(255,255,255,.5); }
.workflow-ui { overflow: hidden; border: 1px solid rgba(255,255,255,.14); background: #11131c; color: white; }
.workflow-request { display: grid; grid-template-columns: 52px 1fr; gap: 17px; padding: clamp(20px, 2.3vw, 34px); border-bottom: 1px solid rgba(255,255,255,.14); background: #181b27; }
.request-mark { width: 52px; height: 52px; display: grid; place-items: center; background: var(--wine); color: white; font: 900 .83rem/1 "Libre Franklin", sans-serif; }
.workflow-request small, .workflow-result small { display: block; color: var(--pink); font-size: .6rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.workflow-request strong { display: block; margin-top: 5px; font-size: clamp(.93rem, 1.15vw, 1.12rem); }
.workflow-request p { max-width: 640px; margin: 8px 0 0; color: rgba(255,255,255,.55); font-size: clamp(.68rem, .78vw, .78rem); line-height: 1.5; }
.workflow-run { padding: clamp(18px, 2.1vw, 30px); }
.run-label { display: flex; justify-content: space-between; align-items: center; padding-bottom: 15px; color: rgba(255,255,255,.5); font-size: .6rem; letter-spacing: .09em; text-transform: uppercase; }
.run-label span { display: flex; align-items: center; gap: 8px; color: var(--lime); font-weight: 800; }
.run-label i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 14px var(--lime); animation: agentPulse 1.4s ease-in-out infinite; }
.workflow-steps { padding: 0; margin: 0; border-top: 1px solid rgba(255,255,255,.12); list-style: none; }
.workflow-steps li { display: grid; grid-template-columns: 16px 1fr auto; gap: 13px; align-items: center; padding: 16px 2px; border-bottom: 1px solid rgba(255,255,255,.1); opacity: .38; animation: workflowStep 8s ease-in-out infinite; }
.workflow-steps li:nth-child(2) { animation-delay: 2s; }
.workflow-steps li:nth-child(3) { animation-delay: 4s; }
.workflow-steps li:nth-child(4) { animation-delay: 6s; }
.workflow-steps li > i { width: 9px; height: 9px; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; }
.workflow-steps li div b, .workflow-steps li div span { display: block; }
.workflow-steps li div b { font-size: clamp(.72rem, .84vw, .84rem); }
.workflow-steps li div span { margin-top: 3px; color: rgba(255,255,255,.4); font-size: .6rem; }
.workflow-steps li > strong { color: var(--lime); font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; }
.workflow-result { display: flex; justify-content: space-between; align-items: center; gap: 22px; padding: clamp(18px, 2vw, 28px); background: var(--wine); }
.workflow-result b { display: block; margin-top: 5px; font-size: clamp(.78rem, .95vw, .95rem); }
.workflow-result > span { flex: 0 0 auto; padding: 8px 10px; background: var(--lime); color: var(--ink); font-size: .58rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
@keyframes agentPulse { 50% { opacity: .35; transform: scale(.78); } }
@keyframes workflowStep { 0%, 18%, 100% { opacity: .38; } 4%, 14% { opacity: 1; background: rgba(215,255,75,.04); } 4%, 14% { transform: translateX(4px); } }

.fit { padding-top: 0; }
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; padding-top: 90px; border-top: 1px solid var(--line); }
.fit-list { display: grid; }
.fit-list p { display: grid; grid-template-columns: 35px 1fr; gap: 18px; margin: 0; padding: 24px 0; border-top: 1px solid var(--line); line-height: 1.5; }
.fit-list p:last-child { border-bottom: 1px solid var(--line); }
.fit-list span { color: var(--wine); font-size: .67rem; font-weight: 800; }

.inquire { background: var(--wine-dark); color: white; }
.inquire .eyebrow { color: var(--pink); }
.inquiry-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 7vw; align-items: start; }
.inquiry-copy { position: sticky; top: 125px; }
.inquiry-copy > p:not(.eyebrow) { max-width: 530px; margin: 26px 0 0; color: rgba(255,255,255,.66); line-height: 1.65; }
.route-note { display: grid; gap: 8px; margin: 30px 0; padding: 20px; border-left: 4px solid var(--lime); background: rgba(255,255,255,.06); }
.route-note b { color: var(--lime); font-size: .78rem; }
.route-note span { color: rgba(255,255,255,.68); font-size: .78rem; line-height: 1.5; }
.light-link { color: white; }
.form-direct { margin-top: 26px !important; color: var(--lime) !important; font-size: .78rem; font-weight: 700; }
.form-card { min-height: 620px; padding: 18px; background: #0a0c13; color: white; }
.form-heading { display: flex; justify-content: space-between; align-items: center; padding: 11px 8px 20px; border-bottom: 1px solid var(--line); font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.form-heading { border-color: rgba(255,255,255,.14); }
.form-heading small { color: rgba(255,255,255,.5); font-weight: 600; }

.site-footer { padding: 45px 0; background: var(--ink); color: white; }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 55px; }
.footer-grid p { max-width: 520px; margin: 0; color: rgba(255,255,255,.5); font-size: .76rem; }
.footer-grid > div { display: flex; gap: 20px; }
.footer-grid > div a { color: rgba(255,255,255,.72); text-decoration: none; font-size: .7rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 620ms ease, transform 620ms ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-late { transition-delay: 120ms; }

@media (max-width: 930px) {
  :root { --shell: min(100% - 32px, 720px); }
  .menu-button { display: block; }
  .site-nav { position: fixed; inset: 76px 0 auto; display: grid; gap: 0; padding: 16px; background: var(--cream); border-bottom: 1px solid var(--line); opacity: 0; pointer-events: none; transform: translateY(-10px); transition: 160ms ease; }
  .site-nav.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .site-nav a { padding: 15px; }
  .nav-cta { text-align: center; }
  .hero { min-height: auto; }
  .hero-grid, .path-grid, .method-grid, .proof-grid, .fit-grid, .inquiry-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 70px; }
  .path-card { min-height: 520px; }
  .method-grid, .proof-grid, .fit-grid, .inquiry-grid { gap: 62px; }
  .inquiry-copy { position: static; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 560px) {
  :root { --shell: calc(100vw - 26px); }
  .nav-wrap { min-height: 68px; }
  .site-nav { inset-block-start: 68px; }
  .hero { padding-top: 104px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-proof { display: grid; }
  .workforce-card { padding: 14px; box-shadow: 10px 10px 0 var(--pink); }
  .card-top small { display: none; }
  .gateway-row { grid-template-columns: 1fr 1fr; }
  .gateway-row span:nth-child(2) { border-right: 0; }
  .gateway-row span:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.14); }
  .worker-grid { grid-template-columns: 1fr; }
  .path-card { min-height: 0; padding: 30px 24px; }
  .path-number { margin-bottom: 45px; }
  .path-card .button { margin-top: 10px; width: 100%; }
  .method-list li { grid-template-columns: 32px 1fr; gap: 15px; }
  .prototype-frame { padding: 8px; box-shadow: 8px 8px 0 var(--lime); }
  .prototype-bar span { display: none; }
  .workflow-request { grid-template-columns: 42px 1fr; gap: 12px; }
  .request-mark { width: 42px; height: 42px; }
  .run-label > b { display: none; }
  .workflow-steps li { grid-template-columns: 12px 1fr; }
  .workflow-steps li > strong { grid-column: 2; }
  .workflow-result { align-items: flex-start; flex-direction: column; }
  .form-card { padding: 8px; }
  .form-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .footer-grid > div { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
