:root {
  --cream: #f3eee3;
  --paper: #fbf8f1;
  --ink: #11110f;
  --muted: #6f6b63;
  --orange: #ff5b36;
  --orange-deep: #ea4d2c;
  --line: rgba(17,17,15,.16);
  --radius: 26px;
  --shell: min(1220px, calc(100vw - 44px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--orange); color: white; }

.noise {
  pointer-events: none;
  position: fixed; inset: 0; z-index: 100;
  opacity: .035;
  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='.7'/%3E%3C/svg%3E");
}
.cursor-glow {
  position: fixed; width: 420px; height: 420px; border-radius: 50%;
  pointer-events: none; z-index: -1; transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(255,91,54,.16), rgba(255,91,54,0) 68%);
  transition: opacity .2s ease; opacity: 0;
}
.shell { width: var(--shell); margin-inline: auto; }

.site-header {
  height: 86px; display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; border-bottom: 1px solid var(--line); position: relative; z-index: 10;
}
.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; font-weight: 700; }
.brand-mark { width: 32px; height: 32px; display: grid; place-items: center; background: var(--orange); color: white; border-radius: 50%; font-family: Oswald, Impact, sans-serif; }
.brand-name { letter-spacing: .08em; font-size: 13px; }
.nav { display: flex; gap: 30px; font-size: 13px; }
.nav a { position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--orange); transition: right .25s ease; }
.nav a:hover::after { right: 0; }
.availability { justify-self: end; text-transform: uppercase; letter-spacing: .08em; font: 500 11px/1 DM Mono, monospace; display: flex; align-items: center; gap: 8px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #62b572; box-shadow: 0 0 0 0 rgba(98,181,114,.5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(98,181,114,0); } 100% { box-shadow: 0 0 0 0 rgba(98,181,114,0); } }

.hero { padding: 34px 0 0; }
.visitor-bar {
  display: flex; align-items: center; min-height: 72px; padding: 0 24px;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(251,248,241,.55);
  backdrop-filter: blur(12px); font: 400 13px/1.4 DM Mono, monospace;
}
.visitor-greeting { display: inline-flex; align-items: center; gap: 2px; min-height: 1.5em; }
.typing-caret {
  width: 1px; height: 1.15em; background: currentColor; display: inline-block;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-grid {
  min-height: 650px; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(320px,.92fr);
  gap: 56px; align-items: center; padding: 54px 0 40px;
}
.eyebrow { font: 500 11px/1 DM Mono, monospace; letter-spacing: .14em; margin: 0 0 20px; }
.hero h1, .section-heading h2, .connect-card h2, .now-card h2 {
  font-family: Oswald, Impact, Arial Narrow, sans-serif; font-weight: 600; letter-spacing: -.035em; text-transform: uppercase;
}
.hero h1 { font-size: clamp(66px, 8.2vw, 126px); line-height: .88; margin: 0; max-width: 980px; }
.hero h1 span, .section-heading h2 span, .connect-card h2 span { color: var(--orange); }
.hero-lede { max-width: 720px; font-size: clamp(17px, 1.5vw, 22px); line-height: 1.55; color: #373630; margin: 34px 0 30px; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.button { display: inline-flex; align-items: center; gap: 18px; border-radius: 999px; padding: 15px 20px; font-size: 13px; font-weight: 600; }
.button-dark { background: var(--ink); color: white; }
.button-dark span { color: var(--orange); font-size: 18px; }
.text-link { font-size: 13px; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.text-link span { color: var(--orange); }

.hero-visual {
  display: grid; justify-items: end; align-items: center;
}
.hero-video-wrap {
  width: min(100%, 420px); aspect-ratio: 9 / 16; overflow: hidden;
  border-radius: 32px; box-shadow: 0 36px 80px rgba(20,18,15,.14);
  background: #d5d0c7;
}
.hero-video {
  display: block; width: 100%; height: 100%; object-fit: cover; background: #111;
}

.hero-marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 6px; }
.marquee-track { width: max-content; animation: marquee 22s linear infinite; font: 600 16px/1 Oswald, sans-serif; letter-spacing: .04em; padding: 14px 0; color: var(--orange); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-33.333%); } }

.building { padding: 130px 0 120px; }
.section-heading { display: grid; grid-template-columns: .7fr 1.7fr 1fr; gap: 28px; align-items: start; margin-bottom: 58px; }
.section-heading .eyebrow { margin-top: 13px; }
.section-heading h2 { font-size: clamp(48px, 6vw, 84px); line-height: .95; margin: 0; }
.section-heading > p:last-child { margin: 10px 0 0; color: var(--muted); line-height: 1.65; font-size: 14px; }

.project-stack { display: grid; gap: 12px; }
.project-card { min-height: 270px; display: grid; grid-template-columns: 90px 1fr 230px; gap: 28px; padding: 28px; border-radius: 24px; border: 1px solid rgba(17,17,15,.12); transition: transform .3s ease, box-shadow .3s ease; }
.project-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(34,30,25,.10); }
.project-orange { background: var(--orange); }
.project-dark { background: var(--ink); color: white; }
.project-cream { background: #e8dfd0; }
.project-index { font: 500 12px/1 DM Mono, monospace; opacity: .8; }
.project-kicker { font: 500 10px/1 DM Mono, monospace; letter-spacing: .14em; margin: 0 0 28px; }
.project-main h3 { font: 600 clamp(32px, 4vw, 58px)/.96 Oswald, sans-serif; text-transform: uppercase; letter-spacing: -.02em; max-width: 800px; margin: 0 0 20px; }
.project-main > p:last-child { max-width: 680px; margin: 0; font-size: 14px; line-height: 1.6; opacity: .78; }
.project-meta { align-self: end; text-align: right; display: grid; gap: 8px; font: 400 10px/1.3 DM Mono, monospace; opacity: .75; }

.thinking { background: var(--ink); color: white; padding: 120px 0; }
.thinking .section-heading { grid-template-columns: .7fr 2fr; }
.thinking .section-heading h2 span { color: var(--orange); }
.principles { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid rgba(255,255,255,.16); }
.principle { padding: 34px 34px 34px 0; border-right: 1px solid rgba(255,255,255,.16); min-height: 260px; }
.principle + .principle { padding-left: 34px; }
.principle:last-child { border-right: 0; }
.principle > span { color: var(--orange); font: 500 11px/1 DM Mono, monospace; }
.principle h3 { font: 600 34px/1.05 Oswald, sans-serif; text-transform: uppercase; margin: 58px 0 14px; }
.principle p { color: #aaa79f; font-size: 13px; line-height: 1.65; max-width: 310px; }

.now { padding: 110px 0; }
.now-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 42px; display: grid; grid-template-columns: 1.3fr .8fr; gap: 60px; align-items: end; }
.now-card h2 { font-size: clamp(48px, 6vw, 76px); line-height: .95; margin: 0; }
.now-copy { font-size: 16px; line-height: 1.65; }
.now-copy .tiny { color: var(--muted); font-size: 12px; margin-top: 26px; }

.connect { padding: 0 0 80px; }
.connect-card { border-radius: 30px; background: var(--orange); min-height: 540px; padding: 48px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; }
.connect-card::after { content: "M"; position: absolute; right: -40px; top: -170px; font: 700 520px/.9 Oswald, sans-serif; color: rgba(255,255,255,.11); pointer-events: none; }
.connect-card h2 { font-size: clamp(56px, 7vw, 96px); line-height: .91; margin: 0 0 24px; position: relative; z-index: 1; }
.connect-card h2 span { color: var(--ink); }
.connect-card > p:not(.eyebrow) { max-width: 560px; font-size: 16px; line-height: 1.6; position: relative; z-index: 1; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 28px; position: relative; z-index: 1; }
.contact-email { background: var(--ink); color: white; border-radius: 999px; padding: 13px 18px; font-size: 12px; font-weight: 600; }
.contact-email span { color: var(--orange); }
.contact-email-address { font: 400 11px/1.4 DM Mono, monospace; color: rgba(17,17,15,.72); }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; position: relative; z-index: 1; }
.social-links a { border: 1px solid rgba(17,17,15,.3); border-radius: 999px; padding: 12px 16px; font-size: 12px; transition: background .2s ease, color .2s ease, opacity .2s ease; }
.social-links a:hover { background: var(--ink); color: white; }
.social-links a.is-missing { opacity: .55; }
.social-links a.is-missing:hover { background: transparent; color: inherit; }
.social-note { position: relative; z-index: 1; margin-top: 18px; font-size: 12px; line-height: 1.6; max-width: 720px; color: rgba(17,17,15,.8); }

.footer { padding: 22px 0 40px; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font: 400 10px/1 DM Mono, monospace; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }

@media (max-width: 900px) {
  :root { --shell: min(100% - 28px, 760px); }
  .site-header { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .hero { padding-top: 20px; }
  .visitor-bar { min-height: 62px; border-radius: 18px; padding: 0 18px; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; padding: 54px 0 62px; gap: 38px; }
  .hero h1 { font-size: clamp(58px, 17vw, 92px); }
  .hero-visual { justify-items: stretch; }
  .hero-video-wrap { width: 100%; max-width: 420px; }
  .section-heading { grid-template-columns: 1fr; gap: 12px; }
  .section-heading .eyebrow { margin-top: 0; }
  .project-card { grid-template-columns: 54px 1fr; }
  .project-meta { grid-column: 2; text-align: left; align-self: auto; }
  .thinking .section-heading { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .principle, .principle + .principle { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); padding: 28px 0; min-height: 220px; }
  .principle:last-child { border-bottom: 0; }
  .now-card { grid-template-columns: 1fr; padding: 28px; }
  .connect-card { min-height: 480px; padding: 28px; }
}

@media (max-width: 520px) {
  .availability { font-size: 9px; }
  .hero-lede { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .project-card { grid-template-columns: 1fr; padding: 22px; }
  .project-meta { grid-column: 1; }
  .project-main h3 { font-size: 40px; }
  .building, .thinking { padding-top: 90px; padding-bottom: 90px; }
  .connect-card h2 { font-size: 52px; }
}

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