:root {
  --ink: #0b0d0e;
  --ink-soft: #141719;
  --paper: #f1efe8;
  --paper-deep: #e5e1d7;
  --copper: #de6b3b;
  --copper-bright: #f17a48;
  --lime: #d2df68;
  --muted: #8d9293;
  --line-dark: rgba(241, 239, 232, 0.15);
  --line-light: rgba(11, 13, 14, 0.17);
  --display: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  --shell: min(1240px, calc(100vw - 64px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--lime);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  width: var(--shell);
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--paper);
  border-bottom: 1px solid var(--line-dark);
  transform: translateX(-50%);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.brand-mark {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.desktop-nav a {
  transition: color 180ms ease;
}

.desktop-nav a:hover {
  color: var(--lime);
}

.desktop-nav .nav-cta {
  padding: 11px 15px;
  border: 1px solid rgba(241, 239, 232, 0.4);
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: 820px;
  overflow: hidden;
  color: var(--paper);
  background:
    linear-gradient(90deg, transparent 49.93%, rgba(255, 255, 255, 0.06) 50%, transparent 50.07%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    var(--ink);
  background-size: 100% 100%, 100% 112px, auto;
}

.hero::after {
  content: "";
  position: absolute;
  right: -12vw;
  bottom: -32vw;
  width: 58vw;
  height: 58vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(222, 107, 59, 0.16), transparent 66%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: var(--shell);
  margin: 0 auto;
  padding-top: 190px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 22px;
  height: 1px;
  background: var(--copper);
}

.hero h1,
.section-heading h2,
.approach-copy h2,
.company-main h2,
.contact h2 {
  margin: 0;
  font-size: clamp(4.5rem, 9.5vw, 8.7rem);
  font-weight: 750;
  line-height: 0.83;
  letter-spacing: -0.065em;
}

.hero h1 em,
.company-main h2 em {
  color: var(--copper);
  font-style: normal;
  font-weight: 430;
}

.hero-intro {
  max-width: 520px;
  margin: 42px 0 0 9px;
  color: #b9bdbb;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 34px;
  margin: 38px 0 0 9px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 208px;
  padding: 15px 17px;
  border: 1px solid transparent;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.button-primary {
  color: var(--ink);
  background: var(--lime);
}

.button-primary:hover {
  color: var(--paper);
  background: var(--copper);
}

.text-link {
  padding: 8px 0;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.text-link span {
  margin-left: 8px;
  color: var(--copper);
}

.hero-system {
  position: absolute;
  z-index: 1;
  top: 172px;
  right: max(5vw, calc((100vw - 1240px) / 2));
  width: clamp(340px, 38vw, 560px);
  aspect-ratio: 1;
}

.orbit {
  position: absolute;
  inset: 0;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
}

.orbit-one::before,
.orbit-two::before,
.orbit-three::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--copper);
}

.orbit-two {
  inset: 16%;
  border-style: dashed;
  animation: orbit-spin 28s linear infinite;
}

.orbit-three {
  inset: 33%;
}

.core {
  position: absolute;
  inset: 41%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(210, 223, 104, 0.55);
  background: rgba(210, 223, 104, 0.08);
  transform: rotate(45deg);
}

.core span,
.core small {
  transform: rotate(-45deg);
}

.core span {
  position: absolute;
  font-size: 1.4rem;
  font-weight: 800;
}

.core small {
  position: absolute;
  bottom: -36px;
  width: 100px;
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-align: center;
}

.system-label,
.coordinate {
  position: absolute;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
}

.label-one { top: 8%; left: 6%; color: var(--copper-bright); }
.label-two { top: 47%; right: -7%; color: var(--lime); }
.label-three { bottom: 8%; left: 18%; color: var(--muted); }
.coordinate-one { top: 46%; left: -8%; color: var(--muted); }
.coordinate-two { right: 2%; bottom: 16%; color: var(--muted); }

.hero-index {
  position: absolute;
  bottom: 44px;
  left: max(32px, calc((100vw - 1240px) / 2));
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--mono);
}

.hero-index span {
  color: var(--muted);
  font-size: 0.6rem;
}

.hero-index strong {
  color: var(--paper);
  font-size: 0.75rem;
  font-weight: 400;
}

@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}

.manifesto {
  padding: 110px max(32px, calc((100vw - 1240px) / 2));
  background: var(--copper);
}

.manifesto p {
  max-width: 1080px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4.6vw, 4.35rem);
  font-weight: 520;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.section-shell {
  width: var(--shell);
  margin: 0 auto;
}

.services {
  padding: 138px 0 150px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1.7fr 0.75fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 76px;
}

.section-heading .eyebrow {
  align-self: start;
}

.section-heading h2,
.approach-copy h2,
.company-main h2 {
  font-size: clamp(3.4rem, 6vw, 6rem);
  line-height: 0.93;
}

.section-heading > p:last-child {
  margin: 0;
  color: #565b5b;
  font-size: 0.94rem;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.service-card {
  position: relative;
  min-height: 500px;
  padding: 26px 30px 34px;
  border-right: 1px solid var(--line-light);
  transition: background-color 220ms ease, color 220ms ease;
}

.service-card:first-child {
  border-left: 1px solid var(--line-light);
}

.service-card:hover {
  color: var(--paper);
  background: var(--ink);
}

.service-number {
  font-family: var(--mono);
  font-size: 0.66rem;
}

.service-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin: 55px 0 44px;
  border: 1px solid var(--line-light);
  border-radius: 50%;
}

.service-card:hover .service-icon {
  color: var(--lime);
  border-color: rgba(210, 223, 104, 0.45);
}

.service-icon svg {
  width: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
}

.service-card h3 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.service-card p {
  max-width: 300px;
  margin: 24px 0 0;
  color: #5a5e5e;
  font-size: 0.91rem;
}

.service-card:hover p {
  color: #aeb2b0;
}

.service-tag {
  position: absolute;
  right: 28px;
  bottom: 28px;
  font-family: var(--mono);
  font-size: 0.59rem;
  letter-spacing: 0.11em;
}

.approach {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  min-height: 720px;
  color: var(--paper);
  background: var(--ink-soft);
}

.approach-visual {
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--line-dark);
}

.scan-grid {
  position: absolute;
  inset: 0;
  opacity: 0.65;
  background:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 72px 72px;
}

.scan-grid::after {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px solid var(--copper);
  clip-path: polygon(0 0, 28% 0, 28% 1px, 1px 1px, 1px 28%, 0 28%, 0 0, 100% 0, 100% 28%, calc(100% - 1px) 28%, calc(100% - 1px) 1px, 72% 1px, 72% 0, 100% 0, 100% 100%, 72% 100%, 72% calc(100% - 1px), calc(100% - 1px) calc(100% - 1px), calc(100% - 1px) 72%, 100% 72%, 100% 100%, 0 100%, 0 72%, 1px 72%, 1px calc(100% - 1px), 28% calc(100% - 1px), 28% 100%, 0 100%);
}

.scan-line {
  position: absolute;
  top: 14%;
  bottom: 14%;
  left: 50%;
  width: 1px;
  background: linear-gradient(transparent, var(--lime), transparent);
  box-shadow: 0 0 24px var(--lime);
  animation: scan 5s ease-in-out infinite alternate;
}

@keyframes scan {
  from { transform: translateX(-180px); opacity: 0.3; }
  to { transform: translateX(180px); opacity: 1; }
}

.visual-word {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: transparent;
  font-size: clamp(5rem, 10vw, 9rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  -webkit-text-stroke: 1px rgba(241, 239, 232, 0.34);
}

.visual-caption {
  position: absolute;
  bottom: 26px;
  left: 28px;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.11em;
}

.approach-copy {
  padding: 88px 70px;
}

.approach-lead {
  max-width: 470px;
  margin: 35px 0 50px;
  color: #aeb2b0;
  font-size: 1rem;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-dark);
}

.steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line-dark);
}

.steps li > span {
  color: var(--copper);
  font-family: var(--mono);
  font-size: 0.62rem;
}

.steps h3 {
  margin: 0;
  font-size: 1.2rem;
}

.steps p {
  margin: 5px 0 0;
  color: #8d9293;
  font-size: 0.86rem;
}

.company {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: 100px;
  padding: 150px 0;
}

.company-main p:last-child {
  max-width: 650px;
  margin: 42px 0 0;
  color: #4d5252;
  font-size: 1.04rem;
  line-height: 1.7;
}

.company-facts {
  margin: 50px 0 0;
  border-top: 1px solid var(--line-light);
}

.company-facts div {
  padding: 20px 0;
  border-bottom: 1px solid var(--line-light);
}

.company-facts dt {
  margin-bottom: 6px;
  color: #707575;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.company-facts dd {
  margin: 0;
  font-size: 0.93rem;
  font-weight: 600;
}

.contact {
  overflow: hidden;
  color: var(--ink);
  background: var(--lime);
}

.contact-grid {
  width: var(--shell);
  min-height: 450px;
  display: grid;
  grid-template-columns: 0.65fr 1.35fr 0.8fr;
  gap: 42px;
  align-items: center;
  margin: 0 auto;
}

.contact h2 {
  font-size: clamp(4rem, 7.6vw, 7.3rem);
}

.eyebrow-light span {
  background: var(--ink);
}

.contact-action {
  align-self: center;
}

.contact-action p {
  margin: 0 0 25px;
  font-size: 0.96rem;
}

.button-light {
  color: var(--paper);
  background: var(--ink);
}

.button-light:hover {
  color: var(--ink);
  border-color: var(--ink);
  background: transparent;
}

.contact-ticker {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  padding: 20px 0;
  border-top: 1px solid rgba(11, 13, 14, 0.25);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  animation: ticker 20s linear infinite;
}

.contact-ticker i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--copper);
}

@keyframes ticker {
  to { transform: translateX(-25%); }
}

.site-footer {
  min-height: 190px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 30px;
  padding: 40px max(32px, calc((100vw - 1240px) / 2));
  color: var(--paper);
  background: var(--ink);
}

.site-footer > p {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.64rem;
  text-align: center;
  text-transform: uppercase;
}

.footer-meta {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.6rem;
  text-transform: uppercase;
}

.footer-meta a:hover {
  color: var(--lime);
}

@media (max-width: 1000px) {
  :root { --shell: min(100% - 40px, 900px); }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; position: relative; }
  .mobile-menu summary {
    width: 42px;
    height: 42px;
    display: grid;
    align-content: center;
    gap: 6px;
    padding: 10px;
    border: 1px solid var(--line-dark);
    cursor: pointer;
    list-style: none;
  }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { height: 1px; background: currentColor; }
  .mobile-menu nav {
    position: absolute;
    top: 49px;
    right: 0;
    width: 230px;
    display: grid;
    color: var(--paper);
    background: var(--ink-soft);
    border: 1px solid var(--line-dark);
  }
  .mobile-menu nav a { padding: 15px 18px; border-bottom: 1px solid var(--line-dark); }
  .hero-copy { padding-top: 180px; }
  .hero-system { opacity: 0.5; right: -14vw; }
  .section-heading { grid-template-columns: 0.6fr 1.4fr; }
  .section-heading > p:last-child { grid-column: 2; }
  .service-card { min-height: 475px; padding: 24px 20px; }
  .approach { grid-template-columns: 0.85fr 1.15fr; }
  .approach-copy { padding: 75px 42px; }
  .company { gap: 55px; }
  .contact-grid { grid-template-columns: 0.5fr 1.3fr; }
  .contact-action { grid-column: 2; padding-bottom: 55px; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer > p { display: none; }
}

@media (max-width: 720px) {
  :root { --shell: calc(100% - 32px); }
  .site-header { height: 72px; }
  .hero { min-height: 760px; }
  .hero-copy { padding-top: 150px; }
  .hero h1 { font-size: clamp(4rem, 18vw, 6.2rem); }
  .hero-intro { max-width: 88%; margin: 34px 0 0; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; margin-left: 0; }
  .hero-system { top: 375px; right: -45vw; width: 90vw; opacity: 0.35; }
  .hero-index { bottom: 28px; left: 16px; }
  .manifesto { padding: 75px 16px; }
  .services { padding: 95px 0; }
  .section-heading { display: block; margin-bottom: 45px; }
  .section-heading h2 { margin-bottom: 28px; }
  .section-heading > p:last-child { max-width: 420px; }
  .service-list { grid-template-columns: 1fr; }
  .service-card,
  .service-card:first-child { min-height: 395px; border-right: 1px solid var(--line-light); border-left: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
  .service-icon { margin: 38px 0 30px; }
  .approach { width: 100%; grid-template-columns: 1fr; }
  .approach-visual { min-height: 410px; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .approach-copy { padding: 70px 20px; }
  .company { grid-template-columns: 1fr; gap: 30px; padding: 95px 0; }
  .company-main h2 { font-size: clamp(3.2rem, 14vw, 5rem); }
  .contact-grid { min-height: 520px; display: block; padding: 70px 0; }
  .contact h2 { margin-bottom: 40px; font-size: clamp(4rem, 18vw, 6rem); }
  .contact-action { max-width: 420px; padding: 0; }
  .site-footer { min-height: 220px; display: flex; align-items: flex-start; flex-direction: column; justify-content: center; }
  .footer-meta { flex-wrap: wrap; justify-content: flex-start; }
}

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