:root {
  --ink: #111111;
  --muted: #696969;
  --line: #dedbd4;
  --paper: #f4f1ea;
  --white: #ffffff;
  --accent: #ef6f4d;
  --accent-dark: #c94d2f;
  --dark: #0c0d0f;
  --dark-soft: #17181b;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }

.noise {
  position: fixed;
  inset: 0;
  opacity: .035;
  pointer-events: none;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.section-pad { padding: 118px 0; }

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  background: rgba(244, 241, 234, .88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(17,17,17,.08);
}
.nav-wrap { height: 78px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: "Manrope", sans-serif; font-weight: 800; letter-spacing: -.03em; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--ink); color: white; font-size: 18px; }
.brand-name { font-size: 21px; }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 600; }
.nav-links a { transition: opacity .2s ease; }
.nav-links a:hover { opacity: .58; }
.nav-cta { padding: 12px 18px; border: 1px solid var(--ink); border-radius: 999px; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.menu-toggle span { width: 24px; height: 2px; background: var(--ink); display: block; margin: 5px 0; }

.hero { min-height: 790px; padding-top: 185px; display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; }
.eyebrow { margin: 0 0 24px; font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--accent-dark); }
.eyebrow.light { color: #ff9a7c; }
h1,h2,h3 { font-family: "Manrope", sans-serif; margin-top: 0; letter-spacing: -.045em; line-height: 1.05; }
h1 { font-size: clamp(58px, 7.8vw, 104px); max-width: 900px; margin-bottom: 30px; }
h2 { font-size: clamp(42px, 5vw, 68px); margin-bottom: 24px; }
h3 { font-size: 27px; }
.hero-lede { max-width: 650px; font-size: 21px; color: #4e4e4e; margin: 0 0 38px; }
.hero-actions { display: flex; align-items: center; gap: 26px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 54px; padding: 0 24px; border-radius: 999px; border: 0; font-weight: 700; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: white; }
.button-primary:hover { background: #2a2a2a; }
.button-light { background: white; color: var(--ink); }
.text-link { font-weight: 700; }
.text-link span { display: inline-block; transition: transform .2s ease; }
.text-link:hover span { transform: translate(3px,-3px); }

.hero-visual { min-height: 480px; position: relative; display: grid; place-items: center; }
.center-orb { width: 150px; height: 150px; display: grid; place-items: center; border-radius: 42px; background: var(--ink); color: white; font: 800 64px/1 "Manrope"; box-shadow: 0 35px 80px rgba(0,0,0,.18); position: relative; z-index: 3; transform: rotate(-6deg); }
.orbit { position: absolute; border: 1px solid rgba(17,17,17,.18); border-radius: 50%; }
.orbit-one { width: 330px; height: 330px; animation: spin 18s linear infinite; }
.orbit-two { width: 470px; height: 470px; animation: spinReverse 26s linear infinite; }
.orbital-card { position: absolute; z-index: 4; padding: 12px 16px; border-radius: 999px; background: white; border: 1px solid rgba(17,17,17,.1); box-shadow: 0 16px 35px rgba(0,0,0,.08); font-size: 13px; font-weight: 700; }
.card-a { top: 15%; left: 5%; }
.card-b { right: 0; top: 33%; }
.card-c { bottom: 14%; left: 18%; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinReverse { to { transform: rotate(-360deg); } }

.signal-strip { background: white; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.signal-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.signal-grid div { padding: 32px 24px; border-right: 1px solid var(--line); }
.signal-grid div:first-child { padding-left: 0; }
.signal-grid div:last-child { border-right: 0; }
.signal-grid strong, .signal-grid span { display: block; }
.signal-grid strong { font-family: "Manrope"; font-size: 18px; }
.signal-grid span { color: var(--muted); font-size: 14px; }

.split-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.section-heading h2 { max-width: 850px; }
.section-heading.wide p:last-child, .section-heading.centered p:last-child { max-width: 700px; color: #bfc0c4; font-size: 18px; }
.section-heading.centered { text-align: center; display: grid; justify-items: center; margin-bottom: 65px; }
.section-heading.centered p:last-child { color: var(--muted); }
.prose { font-size: 18px; color: #4e4e4e; }
.prose .lead { font-size: 27px; line-height: 1.42; color: var(--ink); margin-top: 0; }

.dark-panel { background: var(--dark); color: white; }
.experience-grid { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 68px; border-top: 1px solid #313237; }
.experience-card { padding: 34px 28px 10px 0; border-right: 1px solid #313237; min-height: 260px; }
.experience-card + .experience-card { padding-left: 28px; }
.experience-card:last-child { border-right: 0; }
.card-number { font-size: 12px; color: #8d8f96; }
.experience-card h3 { margin: 42px 0 18px; }
.experience-card p { color: #bfc0c4; font-size: 15px; }

.service-stack { border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 90px 1fr .62fr; gap: 38px; padding: 42px 0; border-bottom: 1px solid var(--line); align-items: start; }
.service-index { color: var(--accent-dark); font-weight: 700; }
.service-row h3 { margin-bottom: 14px; }
.service-row p { margin: 0; color: var(--muted); max-width: 620px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 9px; justify-content: flex-end; }
.service-tags span { border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; font-size: 12px; font-weight: 600; background: rgba(255,255,255,.35); }

.stories { background: #e9e4da; }
.story-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 55px; }
.story-card { background: var(--paper); min-height: 365px; padding: 34px; display: flex; flex-direction: column; border: 1px solid rgba(17,17,17,.08); border-radius: 22px; }
.story-kicker { color: var(--accent-dark); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .11em; }
.story-card h3 { font-size: 31px; margin: 25px 0 18px; }
.story-card p:not(.story-kicker) { color: var(--muted); }
.coming-soon { margin-top: auto; font-size: 13px; font-weight: 700; }

.contact-section { background: var(--accent); color: #171717; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.contact-section h2 { max-width: 620px; }
.contact-section p { max-width: 560px; font-size: 18px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; background: rgba(255,255,255,.12); padding: 34px; border-radius: 24px; border: 1px solid rgba(255,255,255,.24); }
.contact-form label { display: grid; gap: 8px; font-size: 13px; font-weight: 700; }
.contact-form label:nth-of-type(4) { grid-column: 1 / -1; }
.contact-form input, .contact-form textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(17,17,17,.35); background: transparent; padding: 12px 2px; outline: none; border-radius: 0; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--ink); }
.contact-form button { justify-self: start; grid-column: 1 / -1; }
.hidden { display: none; }

.site-footer { background: var(--dark); color: white; padding: 60px 0 38px; }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 65px; align-items: end; }
.footer-brand .brand-mark { background: white; color: var(--ink); }
.site-footer p { color: #8f9198; font-size: 13px; }
.footer-links { display: grid; gap: 8px; font-size: 14px; }
.footer-meta { text-align: right; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .22s; }
.delay-3 { transition-delay: .32s; }

@media (max-width: 980px) {
  .section-pad { padding: 90px 0; }
  .hero { padding-top: 150px; }
  .hero-grid, .split-grid, .contact-grid { grid-template-columns: 1fr; gap: 55px; }
  .hero-visual { min-height: 390px; }
  .experience-grid { grid-template-columns: 1fr 1fr; }
  .experience-card:nth-child(2) { border-right: 0; }
  .experience-card:nth-child(3), .experience-card:nth-child(4) { border-top: 1px solid #313237; }
  .story-grid { grid-template-columns: 1fr; }
  .story-card { min-height: 300px; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 26px), var(--max)); }
  .nav-wrap { height: 68px; }
  .menu-toggle { display: block; position: relative; z-index: 3; }
  .nav-links { position: fixed; inset: 0; background: var(--paper); flex-direction: column; justify-content: center; gap: 28px; font-size: 22px; transform: translateY(-100%); transition: transform .35s ease; }
  .nav-links.open { transform: translateY(0); }
  .hero { min-height: auto; padding-top: 130px; }
  h1 { font-size: 52px; }
  h2 { font-size: 42px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-visual { min-height: 330px; }
  .orbit-one { width: 240px; height: 240px; }
  .orbit-two { width: 320px; height: 320px; }
  .center-orb { width: 112px; height: 112px; border-radius: 32px; font-size: 48px; }
  .signal-grid { grid-template-columns: 1fr 1fr; }
  .signal-grid div:nth-child(2) { border-right: 0; }
  .signal-grid div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .signal-grid div:first-child { padding-left: 24px; }
  .experience-grid { grid-template-columns: 1fr; }
  .experience-card { border-right: 0; border-bottom: 1px solid #313237; padding: 28px 0; min-height: auto; }
  .experience-card + .experience-card { padding-left: 0; }
  .experience-card:last-child { border-bottom: 0; }
  .experience-card h3 { margin-top: 28px; }
  .service-row { grid-template-columns: 48px 1fr; gap: 18px; }
  .service-tags { grid-column: 2; justify-content: flex-start; }
  .contact-form { grid-template-columns: 1fr; padding: 24px; }
  .contact-form label:nth-of-type(4), .contact-form button { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; align-items: start; }
  .footer-meta { 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; }
  .reveal { opacity: 1; transform: none; }
}
