:root {
  --ink: #12110f;
  --cream: #f3eee4;
  --paper: #fcfaf5;
  --muted: #766f64;
  --line: rgba(18, 17, 15, 0.16);
  --dark-line: rgba(244, 237, 225, 0.18);
  --orange: #ec9567;
  --gold: #f6c36c;
  --mint: #9bd1bd;
  --display: 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--display); font-size: 16px; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 20; padding: .7rem 1rem; background: var(--gold); color: var(--ink); transition: top .2s ease; }
.skip-link:focus { top: 1rem; }

.site-header { position: absolute; z-index: 5; top: 0; left: 0; width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 28px 4.5vw; color: var(--cream); mix-blend-mode: normal; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 800; letter-spacing: .2em; }
.wordmark-dot { color: var(--orange); }
.wordmark-mark { position: relative; display: inline-flex; width: 24px; height: 20px; align-items: end; gap: 3px; }
.wordmark-mark i { display: block; width: 5px; background: var(--gold); transform: skew(-24deg); }
.wordmark-mark i:nth-child(1) { height: 9px; opacity: .5; }
.wordmark-mark i:nth-child(2) { height: 15px; opacity: .75; }
.wordmark-mark i:nth-child(3) { height: 20px; }
.site-nav { display: flex; gap: 30px; margin-left: auto; margin-right: 42px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.site-nav a, .header-link { opacity: .72; transition: opacity .2s ease, color .2s ease; }
.site-nav a:hover, .header-link:hover { opacity: 1; color: var(--gold); }
.header-link { display: inline-flex; gap: 10px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }

.hero { position: relative; min-height: 100svh; overflow: hidden; display: flex; align-items: center; padding: 150px 9vw 90px; color: var(--cream); background: #12110f; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,17,15,.98) 0%, rgba(18,17,15,.76) 34%, rgba(18,17,15,.1) 72%, rgba(18,17,15,.42) 100%); pointer-events: none; }
.hero-noise { position: absolute; inset: 0; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' 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='.9'/%3E%3C/svg%3E"); pointer-events: none; }
.hero-visual { position: absolute; z-index: 0; width: min(62vw, 760px); height: min(62vw, 760px); right: 2vw; top: 50%; transform: translateY(-50%); opacity: .9; }
.hero-visual svg { display: block; width: 100%; height: 100%; }
.orbit-one { transform-origin: 380px 380px; animation: rotate-slow 40s linear infinite; }
.orbit-two { transform-origin: 380px 380px; animation: rotate-reverse 28s linear infinite; }
.signal-points { animation: blink 4s ease-in-out infinite; }
.core-glyph { animation: pulse 5s ease-in-out infinite; transform-origin: 380px 380px; }
.hero-copy, .hero-foot { position: relative; z-index: 1; }
.hero-copy { animation: rise-in .85s cubic-bezier(.2,.7,.2,1) both; }
.hero-foot { animation: rise-in .85s .18s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy { max-width: 660px; }
.eyebrow, .section-kicker, .mini-label { margin: 0 0 26px; font-family: var(--mono); font-size: 11px; line-height: 1.4; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow span { color: var(--orange); padding: 0 4px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -.075em; line-height: .98; }
h1 { max-width: 720px; margin-bottom: 32px; font-size: clamp(4.2rem, 9vw, 9.4rem); font-weight: 700; }
h1 em, h2 em { color: var(--orange); font-style: normal; }
.hero-intro { max-width: 400px; margin-bottom: 40px; color: rgba(252,250,245,.74); font-size: clamp(1rem, 1.4vw, 1.2rem); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 40px; min-width: 184px; padding: 14px 16px 14px 18px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-3px); }
.button-light { color: var(--ink); background: var(--cream); }
.button-light:hover { color: var(--ink); background: var(--gold); }
.hero-foot { position: absolute; bottom: 34px; left: 9vw; right: 9vw; display: flex; align-items: center; gap: 18px; color: rgba(252,250,245,.55); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.hero-foot-line { width: 56px; height: 1px; background: rgba(252,250,245,.35); }

.section-light, .section-cream, .section-dark { padding: 135px 9vw; }
.section-light { background: var(--paper); }
.section-cream { background: var(--cream); }
.section-dark { color: var(--cream); background: var(--ink); }
.section-kicker { color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }
.section-dark .section-kicker, .section-dark .eyebrow { color: rgba(252,250,245,.52); border-color: var(--dark-line); }
.intro-grid, .demand-grid, .company-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); gap: 10vw; }
h2 { margin-bottom: 30px; font-size: clamp(3rem, 6vw, 6.5rem); font-weight: 600; }
h2 span { color: var(--muted); }
.intro-body { padding-top: 8px; max-width: 390px; }
.intro-body p { font-size: 1.18rem; line-height: 1.45; }
.muted { color: var(--muted); }
.intro-body .muted, .demand-body .muted { margin-top: 28px; font-size: .96rem; line-height: 1.6; }

.work-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; border-bottom: 1px solid var(--line); }
.work-heading h2 { margin-bottom: 26px; }
.work-heading p { max-width: 220px; margin-bottom: 30px; color: var(--muted); font-size: .95rem; }
.focus-list { margin-top: 8px; }
.focus-row { display: grid; grid-template-columns: 90px 1fr 40px; gap: 24px; align-items: start; padding: 30px 0; border-bottom: 1px solid var(--line); transition: padding .3s ease, color .3s ease; }
.focus-row:hover { padding-left: 12px; padding-right: 12px; color: #be5c42; }
.focus-number { color: var(--muted); font-family: var(--mono); font-size: 11px; }
.focus-row h3 { margin-bottom: 8px; font-size: clamp(1.45rem, 2.2vw, 2.15rem); letter-spacing: -.04em; font-weight: 600; }
.focus-row p { max-width: 480px; margin-bottom: 0; color: var(--muted); }
.focus-arrow { justify-self: end; color: var(--muted); font-size: 1.4rem; transition: transform .3s ease; }
.focus-row:hover .focus-arrow { transform: translate(4px, -4px); color: #be5c42; }

.feature { position: relative; display: grid; grid-template-columns: minmax(300px, 1fr) minmax(300px, .9fr); gap: 9vw; min-height: 680px; align-items: center; overflow: hidden; }
.feature-visual { position: relative; min-height: 480px; border: 1px solid var(--dark-line); overflow: hidden; background: radial-gradient(circle at 50% 46%, rgba(236,149,103,.28), transparent 30%), #181715; }
.feature-grid { position: absolute; inset: 0; opacity: .28; background-image: linear-gradient(rgba(244,237,225,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(244,237,225,.15) 1px, transparent 1px); background-size: 46px 46px; transform: perspective(500px) rotateX(58deg) scale(1.4); transform-origin: bottom center; }
.feature-orbit { position: absolute; top: 50%; left: 50%; border: 1px solid rgba(246,195,108,.6); border-radius: 50%; transform: translate(-50%, -50%) rotate(-25deg); }
.feature-orbit-a { width: 64%; height: 26%; animation: orbit-breathe 8s ease-in-out infinite; }
.feature-orbit-b { width: 48%; height: 48%; border-color: rgba(155,209,189,.42); transform: translate(-50%, -50%) rotate(42deg); animation: orbit-breathe 11s ease-in-out infinite reverse; }
.feature-cross { position: absolute; width: 12px; height: 12px; border-top: 1px solid var(--gold); border-left: 1px solid var(--gold); }
.cross-a { top: 22%; left: 26%; }
.cross-b { bottom: 23%; right: 22%; transform: rotate(180deg); }
.feature-caption { position: absolute; bottom: 20px; left: 20px; color: rgba(252,250,245,.4); font-family: var(--mono); font-size: 10px; letter-spacing: .11em; }
.feature-copy { max-width: 520px; }
.feature-copy h2 { margin-bottom: 30px; }
.feature-copy > p:not(.eyebrow) { max-width: 390px; color: rgba(252,250,245,.67); font-size: 1.1rem; }
.text-link { display: inline-flex; align-items: center; gap: 20px; margin-top: 18px; padding-bottom: 6px; border-bottom: 1px solid rgba(252,250,245,.35); font-family: var(--mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; transition: gap .2s ease, color .2s ease; }
.text-link:hover { gap: 28px; color: var(--gold); }
.text-link-dark { color: var(--ink); border-color: var(--line); }

.demand-grid { align-items: start; }
.mini-label { color: var(--muted); }
.demand-grid h2 { margin-bottom: 0; color: var(--orange); }
.demand-body { max-width: 470px; }
.large-copy { font-size: clamp(1.55rem, 2.7vw, 2.55rem); line-height: 1.15; letter-spacing: -.05em; }

.company-grid { align-items: start; }
.company-lead { max-width: 330px; color: var(--muted); font-size: 1.2rem; }
.company-details { margin: 0; }
.company-details div { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.company-details dt { color: var(--muted); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.company-details dd { margin: 0; font-size: .97rem; }

.contact-section { display: flex; flex-direction: column; justify-content: space-between; min-height: 570px; }
.contact-top h2 { margin-bottom: 0; }
.contact-bottom { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.contact-bottom p { max-width: 300px; margin-bottom: 0; color: rgba(252,250,245,.62); }
.contact-email { display: inline-flex; align-items: center; gap: 14px; color: var(--paper); font-size: clamp(1.35rem, 2.1vw, 2rem); letter-spacing: -.04em; transition: color .2s ease, gap .2s ease; }
.contact-email:hover { gap: 20px; color: var(--gold); }
.contact-bottom .contact-domain { color: var(--gold); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.site-footer { display: flex; justify-content: space-between; gap: 16px; padding: 22px 4.5vw; color: var(--muted); background: var(--paper); font-family: var(--mono); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; }
.site-footer a { margin-left: 18px; }
.site-footer a:hover { color: var(--ink); }

[data-reveal] { opacity: 1; transform: none; transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@keyframes rotate-slow { to { transform: rotate(360deg); } }
@keyframes rotate-reverse { to { transform: rotate(-360deg); } }
@keyframes blink { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
@keyframes pulse { 0%, 100% { transform: scale(.96); opacity: .72; } 50% { transform: scale(1.04); opacity: 1; } }
@keyframes orbit-breathe { 0%, 100% { opacity: .55; transform: translate(-50%, -50%) rotate(-25deg) scale(.98); } 50% { opacity: 1; transform: translate(-50%, -50%) rotate(-19deg) scale(1.04); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 800px) {
  .site-header { padding: 22px 6vw; }
  .site-nav { display: none; }
  .header-link span:first-child { display: none; }
  .hero { min-height: 760px; padding: 138px 8vw 96px; align-items: flex-start; }
  .hero::after { background: linear-gradient(180deg, rgba(18,17,15,.98) 0%, rgba(18,17,15,.77) 48%, rgba(18,17,15,.26) 100%); }
  .hero-visual { width: 122vw; height: 122vw; right: -38vw; top: 58%; opacity: .7; }
  h1 { font-size: clamp(3.6rem, 16vw, 6.5rem); }
  .hero-foot { left: 8vw; right: 8vw; font-size: 9px; }
  .hero-foot span:last-child { margin-left: auto; }
  .section-light, .section-cream, .section-dark { padding: 86px 8vw; }
  .intro-grid, .demand-grid, .company-grid, .feature { grid-template-columns: 1fr; gap: 36px; }
  h2 { font-size: clamp(3rem, 14vw, 5.3rem); }
  .work-heading, .contact-bottom { display: block; }
  .work-heading p { margin-bottom: 20px; }
  .focus-row { grid-template-columns: 42px 1fr 24px; gap: 12px; }
  .focus-row p { font-size: .93rem; }
  .feature { min-height: auto; }
  .feature-visual { order: 2; min-height: 360px; }
  .feature-copy { order: 1; }
  .contact-email { display: flex; margin-top: 26px; }
  .contact-bottom .contact-domain { margin-top: 38px; }
  .site-footer { display: grid; grid-template-columns: 1fr 1fr; padding: 22px 8vw; line-height: 1.8; }
  .site-footer span:last-child { grid-column: 1 / -1; }
}

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