:root {
  --ink: #0a0a0a;
  --ink-2: #141414;
  --paper: #f4f1ea;
  --muted: #aaa49a;
  --line: rgba(10, 10, 10, 0.18);
  --line-light: rgba(255, 255, 255, 0.2);
  --orange: #ff4d18;
  --amber: #ff9418;
  --red: #b20d1d;
  --max: 1440px;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
.skip-link {
  position: fixed;
  top: .5rem;
  left: .5rem;
  z-index: 100;
  padding: .7rem 1rem;
  background: white;
  color: black;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: .75rem var(--gutter);
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.14);
  transition: background .25s ease, backdrop-filter .25s ease;
}
.site-header.is-scrolled { background: rgba(10,10,10,.92); backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; font-weight: 800; letter-spacing: -.03em; }
.brand img { width: 38px; height: 38px; object-fit: contain; }
.primary-nav { display: flex; align-items: center; gap: clamp(.85rem, 1.8vw, 2rem); }
.primary-nav a { text-decoration: none; font-size: .85rem; font-weight: 600; }
.primary-nav a:not(.nav-cta) { color: rgba(255,255,255,.72); }
.primary-nav a:hover, .primary-nav a:focus-visible { color: white; }
.nav-cta { padding: .65rem 1rem; border: 1px solid rgba(255,255,255,.5); }
.menu-button { display: none; color: white; background: none; border: 0; }

.hero {
  position: relative;
  min-height: 100svh;
  padding: clamp(8rem, 16vh, 11rem) var(--gutter) 5rem;
  color: white;
  background:
    radial-gradient(circle at 81% 52%, rgba(255,77,24,.16), transparent 27%),
    linear-gradient(118deg, #090909 0%, #090909 68%, #170906 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to right, black, transparent 75%);
}
.hero-copy { position: relative; z-index: 2; width: min(830px, 68vw); }
.eyebrow, .section-label, .overline {
  font-family: "DM Mono", monospace;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .72rem;
}
.eyebrow { display: flex; align-items: center; gap: 1.1rem; color: #bcb7ae; margin: 0 0 2.4rem; }
.eyebrow span { color: var(--orange); }
.hero h1 {
  margin: 0;
  font-size: clamp(3.25rem, 7.4vw, 8.2rem);
  line-height: .94;
  letter-spacing: -.075em;
  font-weight: 700;
}
.hero h1 em { display: block; margin-top: .22em; color: var(--orange); font-size: .72em; font-style: normal; line-height: 1.04; letter-spacing: -.06em; }
.hero-lede { max-width: 720px; margin: 2.3rem 0 0; color: #cac5bc; font-size: clamp(1.1rem, 1.7vw, 1.45rem); line-height: 1.5; }
.hero-actions { display: flex; align-items: center; gap: 2rem; margin-top: 2.5rem; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1rem 1.25rem; text-decoration: none; font-weight: 700; }
.button-primary { min-width: 245px; color: #111; background: var(--orange); }
.button-primary:hover { background: var(--amber); }
.text-link { color: white; text-underline-offset: .35rem; }
.hero-visual { position: absolute; z-index: 1; right: clamp(-9rem, -2vw, -1rem); top: 50%; width: min(42vw, 650px); transform: translateY(-44%); }
.hero-visual img { position: relative; z-index: 2; filter: drop-shadow(0 40px 70px rgba(0,0,0,.55)); }
.hero-visual p { margin: .3rem 0 0; text-align: center; color: rgba(255,255,255,.5); font-family: "DM Mono", monospace; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; }
.orbit { position: absolute; border: 1px solid rgba(255,116,48,.28); border-radius: 50%; }
.orbit-one { inset: 4% -1% 2%; animation: orbit 18s linear infinite; }
.orbit-two { inset: 17% 12%; animation: orbit 12s linear infinite reverse; }
.orbit::after { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); top: 10%; left: 18%; box-shadow: 0 0 20px var(--orange); }
@keyframes orbit { to { transform: rotate(360deg); } }
.hero-index { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: 1.3rem; display: flex; justify-content: space-between; color: rgba(255,255,255,.35); font-family: "DM Mono", monospace; font-size: .65rem; letter-spacing: .12em; }

.section { padding: clamp(5rem, 10vw, 9rem) var(--gutter); }
.section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section-label { display: flex; gap: .8rem; padding-bottom: 1.3rem; border-bottom: 1px solid var(--line); color: #6d6861; }
.section-label span { color: var(--orange); }
.section h2 { margin: 0; font-size: clamp(2.6rem, 5.2vw, 5.8rem); line-height: 1; letter-spacing: -.065em; }
.overline { margin: 0 0 1.3rem; color: var(--orange); }

.thesis { display: grid; grid-template-columns: minmax(180px, .55fr) 2fr; gap: 5vw; }
.thesis .section-label { margin: 0; border-bottom: 0; padding: 0; }
.thesis-content { margin: 0; }
.thesis-content > p { width: min(880px, 100%); margin: 2rem 0 3.5rem; font-size: clamp(1.2rem, 2vw, 1.8rem); color: #4a4640; }
.principle-row { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principle-row article { display: flex; flex-direction: column; gap: .15rem; padding: 1.5rem 1rem; border-right: 1px solid var(--line); }
.principle-row article:last-child { border-right: 0; }
.principle-row strong { font-size: 1.1rem; }
.principle-row span { color: #77716a; font-size: .9rem; }

.section-dark { color: white; background: var(--ink); }
.section-dark .section-label { border-color: var(--line-light); color: #8c8781; }
.split-intro { display: grid; grid-template-columns: 1.4fr .6fr; gap: clamp(3rem, 8vw, 9rem); padding: 3.5rem 0 4.5rem; align-items: end; }
.split-intro > p { margin: 0; color: #96908a; font-size: 1.05rem; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.service-card { position: relative; min-height: 330px; padding: clamp(1.5rem, 3.3vw, 3.3rem); border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.service-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,77,24,.12), transparent 55%); opacity: 0; transition: opacity .25s; }
.service-card:hover::after { opacity: 1; }
.service-featured { background: var(--orange); color: #111; }
.service-featured::after { display: none; }
.card-number { margin-bottom: clamp(3rem, 6vw, 6rem); font-family: "DM Mono", monospace; font-size: .75rem; }
.service-card h3 { position: relative; z-index: 1; margin: 0 0 1rem; font-size: clamp(1.6rem, 2.5vw, 2.5rem); letter-spacing: -.045em; }
.service-card p { position: relative; z-index: 1; max-width: 600px; margin: 0; color: #a29d96; }
.service-featured p { color: #2f170f; }
.service-card ul { position: relative; z-index: 1; padding: 0; margin: 1.5rem 0 0; list-style: none; font-size: .88rem; }
.service-card li { padding: .55rem 0; border-top: 1px solid rgba(0,0,0,.24); }

.persona-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 8vw; padding-top: 4rem; align-items: center; }
.persona-copy > p:not(.overline):not(.callout) { margin: 2rem 0; font-size: 1.12rem; color: #5e5952; }
.callout { padding: 1.2rem 0 1.2rem 1.2rem; border-left: 3px solid var(--orange); font-weight: 700; }
.persona-model { position: relative; min-height: 610px; border: 1px solid var(--line); border-radius: 50%; background: radial-gradient(circle, rgba(255,77,24,.12), transparent 58%); }
.persona-model::before, .persona-model::after { content: ""; position: absolute; border: 1px solid var(--line); border-radius: 50%; inset: 12%; }
.persona-model::after { inset: 25%; }
.model-core { position: absolute; z-index: 2; inset: 35%; display: flex; flex-direction: column; justify-content: center; text-align: center; border-radius: 50%; color: white; background: var(--ink); box-shadow: 0 25px 70px rgba(0,0,0,.22); }
.model-core span { color: var(--orange); font-family: "DM Mono", monospace; font-size: .65rem; letter-spacing: .14em; }
.model-core strong { margin-top: .5rem; font-size: clamp(1rem, 1.8vw, 1.55rem); line-height: 1.15; }
.model-node { position: absolute; z-index: 3; display: flex; align-items: center; gap: .5rem; padding: .7rem .9rem; background: var(--paper); border: 1px solid var(--ink); font-weight: 700; font-size: .85rem; box-shadow: 5px 5px 0 var(--orange); }
.model-node span { color: #8b847b; font-family: "DM Mono", monospace; font-size: .65rem; }
.node-one { top: 2%; left: 41%; }
.node-two { top: 27%; right: -2%; }
.node-three { bottom: 12%; right: 7%; }
.node-four { bottom: 4%; left: 22%; }
.node-five { top: 27%; left: -3%; }

.higher-order { color: white; background: #161616; }
.higher-order .section-label { color: #8c8781; border-color: var(--line-light); }
.higher-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 9vw; padding-top: 4rem; }
.higher-copy > p { margin: 0 0 3rem; color: #aaa49d; font-size: 1.1rem; }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-light); }
.process-list li { display: grid; grid-template-columns: 50px 1fr; gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line-light); }
.process-list li > span { color: var(--orange); font-family: "DM Mono", monospace; font-size: .75rem; }
.process-list strong { display: block; font-size: 1.05rem; }
.process-list p { margin: .25rem 0 0; color: #8d8882; font-size: .9rem; }

.procentic { background: var(--paper); }
.procentic-intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(3rem, 8vw, 9rem); padding: 3.5rem 0 4.5rem; align-items: end; }
.procentic-intro > p { margin: 0; color: #5e5952; font-size: 1.05rem; }
.procentic-system { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); padding-bottom: 5.5rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.procentic-system article { min-height: 230px; padding: clamp(1.4rem, 3vw, 2.7rem); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.procentic-system article > span, .impact-number { color: var(--orange); font-family: "DM Mono", monospace; font-size: .7rem; letter-spacing: .1em; }
.procentic-system strong { display: block; margin-top: 2.8rem; font-size: clamp(1.7rem, 3vw, 3rem); letter-spacing: -.045em; }
.procentic-system article p { max-width: 330px; margin: .55rem 0 0; color: #6d6861; }
.data-rail { position: absolute; left: 3%; right: 3%; bottom: 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; color: white; background: var(--ink); box-shadow: 8px 8px 0 var(--orange); }
.data-rail span { font-family: "DM Mono", monospace; font-size: .75rem; letter-spacing: .1em; }
.data-rail p { margin: 0; color: #aaa49d; font-size: .85rem; }
.procentic-impact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 4rem; background: var(--line); border: 1px solid var(--line); }
.procentic-impact article { padding: clamp(1.5rem, 3vw, 2.7rem); background: var(--paper); }
.procentic-impact h3 { margin: 2.8rem 0 .8rem; font-size: clamp(1.45rem, 2.2vw, 2rem); line-height: 1.12; letter-spacing: -.035em; }
.procentic-impact p { margin: 0; color: #5e5952; }

.section-orange { background: var(--orange); color: #130a07; }
.section-orange .section-label { color: rgba(19,10,7,.62); border-color: rgba(19,10,7,.25); }
.section-orange .section-label span, .section-orange .overline { color: #64121a; }
.section-orange .split-intro > p { color: rgba(19,10,7,.68); }
.work-list { border-top: 1px solid rgba(19,10,7,.34); }
.work-list article { display: grid; grid-template-columns: 72px 1fr 220px; gap: 2rem; align-items: center; padding: 1.6rem 0; border-bottom: 1px solid rgba(19,10,7,.34); }
.work-code { font-family: "DM Mono", monospace; font-size: .72rem; }
.work-list h3 { margin: 0; font-size: 1.45rem; letter-spacing: -.03em; }
.work-list p { margin: .2rem 0 0; color: rgba(19,10,7,.68); }
.work-list b { text-align: right; font-family: "DM Mono", monospace; font-size: .65rem; letter-spacing: .1em; }
.capability-band { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 4rem; border-top: 1px solid rgba(19,10,7,.34); border-bottom: 1px solid rgba(19,10,7,.34); }
.capability-band article { display: flex; flex-direction: column; gap: .75rem; padding: clamp(1.4rem, 2.5vw, 2.2rem); border-right: 1px solid rgba(19,10,7,.34); }
.capability-band article:last-child { border-right: 0; }
.capability-band strong { font-size: clamp(1.35rem, 2.4vw, 2.3rem); line-height: 1.05; letter-spacing: -.045em; }
.capability-band span { color: rgba(19,10,7,.7); font-size: .9rem; }

.selected-work { color: white; background: #111; }
.selected-work .section-label { color: #8c8781; border-color: var(--line-light); }
.selected-work-intro { padding-bottom: 5rem; }
.case-study-list { display: grid; gap: 1.25rem; }
.case-study { padding: clamp(1.5rem, 3.5vw, 3.5rem); border: 1px solid var(--line-light); background: #171717; }
.case-study:first-child { background: linear-gradient(135deg, rgba(255,77,24,.13), transparent 50%), #171717; }
.case-study-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line-light); }
.case-number, .case-type, .case-details span { font-family: "DM Mono", monospace; text-transform: uppercase; letter-spacing: .11em; font-size: .68rem; }
.case-number { color: var(--orange); }
.case-type { margin: .35rem 0 0; color: #88827b; }
.case-link { flex: none; padding-bottom: .35rem; color: white; border-bottom: 1px solid rgba(255,255,255,.5); text-decoration: none; font-weight: 700; }
.case-link span { color: var(--orange); }
.case-link:hover, .case-link:focus-visible { border-color: var(--orange); }
.case-title { display: grid; grid-template-columns: .35fr 1fr .65fr; gap: 2rem; align-items: end; padding: clamp(2.5rem, 5vw, 5rem) 0; }
.case-brand { align-self: start; margin: .45rem 0 0; color: #8c8781; font-family: "DM Mono", monospace; font-size: .7rem; letter-spacing: .12em; }
.case-title h3 { margin: 0; font-size: clamp(2.4rem, 5.2vw, 5.6rem); line-height: .98; letter-spacing: -.06em; }
.case-title > p:last-child { margin: 0; color: #aaa49d; font-size: 1.05rem; }
.case-details { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.case-details > div { min-height: 225px; padding: clamp(1.25rem, 2.5vw, 2.25rem); border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.case-details span { color: var(--orange); }
.case-details p { margin: 2.5rem 0 0; color: #aaa49d; }
.case-capabilities { display: flex; flex-wrap: wrap; gap: .6rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.case-capabilities li { padding: .55rem .75rem; color: #d4cfc8; border: 1px solid rgba(255,255,255,.18); font-size: .78rem; }

.contact { display: grid; grid-template-columns: 1.3fr .7fr; gap: 8vw; align-items: end; color: white; background: var(--ink); }
.contact-copy { margin: 0; }
.contact-copy p:last-child { max-width: 700px; color: #99938d; font-size: 1.1rem; }
.contact-link { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem 0; border-top: 1px solid white; border-bottom: 1px solid white; text-decoration: none; font-size: 1.1rem; font-weight: 700; }
.contact-link strong { color: var(--orange); font-size: 2rem; transition: transform .2s; }
.contact-link:hover strong { transform: translate(.25rem, -.25rem); }
.site-footer { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 1rem; padding: 1.5rem var(--gutter); color: #817b75; background: var(--ink); border-top: 1px solid rgba(255,255,255,.12); font-size: .75rem; }
.footer-brand { display: flex; align-items: center; gap: .6rem; color: white; font-weight: 700; }
.footer-brand img { width: 28px; height: 28px; object-fit: contain; }
.site-footer p { margin: 0; text-align: center; }
.site-footer p:last-child { text-align: right; }

@media (max-width: 980px) {
  .site-header { min-height: 68px; }
  .menu-button { display: flex; align-items: center; gap: .7rem; cursor: pointer; }
  .menu-button i { position: relative; width: 22px; height: 1px; background: white; }
  .menu-button i::after { content: ""; position: absolute; left: 0; top: 6px; width: 22px; height: 1px; background: white; }
  .primary-nav { position: fixed; inset: 68px 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem var(--gutter) 1.5rem; background: rgba(10,10,10,.98); border-bottom: 1px solid var(--line-light); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .nav-cta { border: 0; }
  .hero { min-height: auto; padding-top: 9rem; padding-bottom: 7rem; }
  .hero-copy { width: 100%; }
  .hero h1 { max-width: 900px; }
  .hero-visual { position: relative; right: auto; top: auto; width: min(620px, 82vw); margin: 4rem auto 0; transform: none; opacity: .9; }
  .hero-index { display: none; }
  .thesis { grid-template-columns: 1fr; }
  .thesis .section-label { padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
  .split-intro, .persona-layout, .higher-grid, .procentic-intro, .contact { grid-template-columns: 1fr; }
  .case-title { grid-template-columns: 1fr; gap: 1rem; }
  .case-title > p:last-child { max-width: 640px; }
  .procentic-impact { grid-template-columns: 1fr; }
  .persona-model { width: min(650px, 100%); margin: 1rem auto 0; }
}

@media (max-width: 680px) {
  .brand span { font-size: .95rem; }
  .hero h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .hero-lede { font-size: 1.05rem; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 1rem; }
  .button-primary { width: 100%; min-width: 0; }
  .section { padding-top: 4.5rem; padding-bottom: 4.5rem; }
  .section h2 { font-size: clamp(2.6rem, 12vw, 4.2rem); }
  .principle-row, .service-grid, .procentic-system, .capability-band, .case-details { grid-template-columns: 1fr; }
  .principle-row article { border-right: 0; border-bottom: 1px solid var(--line); }
  .principle-row article:last-child { border-bottom: 0; }
  .service-card { min-height: 280px; }
  .persona-model { min-height: 430px; }
  .model-node { font-size: .72rem; box-shadow: 3px 3px 0 var(--orange); }
  .node-one { left: 35%; }
  .node-two { right: -3%; }
  .node-three { right: 1%; }
  .node-four { left: 14%; }
  .node-five { left: -3%; }
  .model-core { inset: 32%; }
  .work-list article { grid-template-columns: 50px 1fr; gap: 1rem; }
  .work-list b { grid-column: 2; text-align: left; }
  .procentic-system { padding-bottom: 6.5rem; }
  .data-rail { align-items: flex-start; flex-direction: column; }
  .capability-band article { border-right: 0; border-bottom: 1px solid rgba(19,10,7,.34); }
  .capability-band article:last-child { border-bottom: 0; }
  .case-study-header { flex-direction: column; }
  .case-details > div { min-height: 0; }
  .case-details p { margin-top: 1.25rem; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer p, .site-footer p:last-child { text-align: left; }
}

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