:root {
  --ink: #08080a;
  --ink-soft: #111115;
  --panel: #151519;
  --paper: #f4f2ee;
  --paper-dim: #d9d6d0;
  --muted: #8f8e94;
  --line: rgba(255, 255, 255, 0.12);
  --red: #d61520;
  --red-bright: #ff2632;
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.cursor-glow {
  position: fixed;
  z-index: 0;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(214, 21, 32, 0.11), transparent 68%);
  transform: translate(-50%, -50%);
  left: var(--cursor-x, 78%);
  top: var(--cursor-y, 24%);
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 76px);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, height .3s ease;
}
.site-header.scrolled {
  height: 68px;
  background: rgba(8, 8, 10, 0.88);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}
.brand { display: block; width: 172px; }
.brand-crop { display: block; }
.brand img { display: block; width: 100%; height: auto; }
.site-nav { display: flex; align-items: center; gap: 32px; font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.site-nav > a { color: #b9b8bd; transition: color .2s ease; }
.site-nav > a:hover { color: #fff; }
.site-nav .nav-cta { color: #fff; padding: 10px 17px; border: 1px solid rgba(255,255,255,.35); border-radius: 2px; }
.site-nav .nav-cta:hover { background: #fff; color: var(--ink); }
.menu-toggle { display: none; color: white; background: none; border: 0; padding: 12px; }
.menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 1px; background: currentColor; margin: 6px 0; transition: transform .2s ease; }

.hero {
  min-height: 100svh;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .55fr);
  align-items: center;
  gap: clamp(40px, 7vw, 110px);
  padding: 140px clamp(24px, 7vw, 112px) 90px;
  overflow: hidden;
  background: radial-gradient(circle at 72% 42%, #1d0a0d 0, #0c090b 25%, var(--ink) 58%);
}
.hero-grid, .contact-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .22;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, transparent, black 15%, black 75%, transparent);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 7px;
  height: 42%;
  top: 0;
  left: 67%;
  background: linear-gradient(to bottom, var(--red), transparent);
  transform: skewX(-18deg);
  box-shadow: 0 0 40px rgba(214,21,32,.55);
}
.hero-orbit { position: absolute; z-index: -1; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; }
.orbit-one { width: 700px; height: 700px; right: -220px; top: -160px; }
.orbit-two { width: 430px; height: 430px; right: -80px; top: -25px; border-color: rgba(214,21,32,.19); }
.hero-content { max-width: 840px; }
.eyebrow, .section-index { margin: 0 0 24px; color: #aaa9ae; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 11px; }
.eyebrow span { width: 26px; height: 2px; background: var(--red-bright); box-shadow: 0 0 12px rgba(255,38,50,.7); }
.hero h1, .section h2, .contact h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.055em;
}
.hero h1 { max-width: 900px; font-size: clamp(54px, 7.2vw, 116px); }
.hero h1 em { display: block; color: var(--red-bright); font-style: normal; }
.hero-copy { max-width: 650px; margin: 34px 0 0; color: #aaa9ae; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 42px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 54px; padding: 0 22px; font-size: 13px; font-weight: 600; border: 1px solid var(--line); border-radius: 2px; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--red); border-color: var(--red); color: white; box-shadow: 0 12px 36px rgba(214,21,32,.2); }
.button-primary:hover { background: var(--red-bright); border-color: var(--red-bright); }
.button-ghost { color: #c7c6ca; }
.button-ghost:hover { border-color: rgba(255,255,255,.45); color: white; }

.signal-panel { justify-self: end; width: min(100%, 370px); padding: 18px; border: 1px solid var(--line); background: rgba(13,13,16,.7); box-shadow: 0 30px 100px rgba(0,0,0,.45); backdrop-filter: blur(10px); }
.signal-head { display: flex; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: #75747a; font: 600 9px/1 var(--font-display); letter-spacing: .16em; }
.live-dot { color: #d9d8da; }
.live-dot::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--red-bright); box-shadow: 0 0 10px var(--red-bright); }
.signal-visual {
  position: relative;
  height: 265px;
  margin: 14px 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.055);
  background: linear-gradient(135deg, rgba(214,21,32,.075), transparent 48%), linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: auto, 33px 33px, 33px 33px;
}
.capability-kicker { position: absolute; top: 17px; left: 18px; margin: 0; color: #67666c; font: 600 7px/1 var(--font-display); letter-spacing: .13em; }
.capability-map { position: absolute; inset: 40px 15px 48px; }
.capability-route { position: absolute; z-index: 0; height: 1px; transform-origin: left center; background: linear-gradient(90deg, rgba(255,255,255,.22), var(--red-bright), rgba(255,255,255,.22)); background-size: 200% 100%; animation: route-signal 3.6s ease-in-out infinite; }
.route-a { width: 38%; left: 18%; top: 60%; transform: rotate(-25deg); }
.route-b { width: 34%; left: 52%; top: 40%; transform: rotate(20deg); animation-delay: .35s; }
.capability-step { position: absolute; z-index: 1; display: grid; grid-template-columns: 20px auto; grid-template-rows: auto auto; column-gap: 8px; align-items: center; color: #6f6e74; font-family: var(--font-display); }
.step-design { left: 2%; top: 57%; }
.step-development { left: 38%; top: 15%; }
.step-delivery { right: 1%; top: 53%; }
.step-node { grid-row: 1/3; position: relative; display: block; width: 18px; height: 18px; border: 1px solid rgba(255,255,255,.3); background: #111115; transform: rotate(45deg); }
.step-node::before { content: ""; position: absolute; inset: 4px; border: 1px solid #5d5c62; }
.step-node i { position: absolute; width: 4px; height: 4px; top: 6px; left: 6px; background: var(--red-bright); box-shadow: 0 0 8px rgba(255,38,50,.6); }
.capability-step small { align-self: end; color: #57565c; font: 600 7px/1 var(--font-display); letter-spacing: .08em; }
.capability-step b { align-self: start; margin-top: 4px; color: #aaa9ae; font: 600 8px/1 var(--font-display); letter-spacing: .08em; }
.step-development .step-node { width: 24px; height: 24px; border-color: rgba(255,38,50,.72); background: rgba(214,21,32,.08); box-shadow: 0 0 24px rgba(214,21,32,.15); }
.step-development .step-node::before { inset: 5px; border-color: rgba(255,38,50,.5); }
.step-development .step-node i { top: 9px; left: 9px; }
.step-development b { color: var(--paper); }
.capability-note { position: absolute; left: 18px; right: 18px; bottom: 17px; display: flex; align-items: center; gap: 9px; margin: 0; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.09); color: #6f6e74; font: 500 7px/1 var(--font-display); letter-spacing: .06em; }
.capability-note span { display: block; width: 5px; height: 5px; background: var(--red-bright); box-shadow: 0 0 8px rgba(255,38,50,.6); }
.brand-signal-corner { position: absolute; width: 18px; height: 18px; border-color: rgba(255,255,255,.22); }
.corner-tl { top: 13px; left: 13px; border-top: 1px solid; border-left: 1px solid; }
.corner-br { right: 13px; bottom: 13px; border-right: 1px solid; border-bottom: 1px solid; }
.signal-data { margin: 0; }
.signal-data div { display: flex; justify-content: space-between; gap: 20px; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.07); font-size: 11px; }
.signal-data dt { color: #65646a; }
.signal-data dd { margin: 0; color: #cccbd0; text-align: right; }
.scroll-cue { position: absolute; left: clamp(24px, 7vw, 112px); bottom: 30px; display: flex; align-items: center; gap: 14px; color: #66656b; font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.scroll-cue i { display: block; width: 50px; height: 1px; background: #414046; position: relative; }
.scroll-cue i::after { content: ""; position: absolute; top: -2px; left: 0; width: 6px; height: 5px; background: var(--red); animation: move-line 2.2s ease-in-out infinite; }

.section { padding: clamp(90px, 12vw, 180px) clamp(24px, 7vw, 112px); }
.expertise { color: #151519; background: var(--paper); }
.expertise .section-index { color: #8b8985; }
.section-heading { display: grid; grid-template-columns: .42fr 1.25fr .7fr; gap: 50px; align-items: end; margin-bottom: 76px; }
.section-heading .section-index { align-self: start; }
.section-heading h2, .studio h2 { font-size: clamp(42px, 5.4vw, 80px); }
.section-heading h2 span, .studio h2 span { color: var(--red); }
.section-heading > p:last-child { margin: 0 0 3px; color: #686661; font-size: 15px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #cfcbc4; border-left: 1px solid #cfcbc4; }
.service-card { position: relative; min-height: 520px; padding: 30px; border-right: 1px solid #cfcbc4; border-bottom: 1px solid #cfcbc4; transition: background .3s ease, color .3s ease, transform .3s ease; }
.service-card:hover { z-index: 1; color: var(--paper); background: var(--ink-soft); transform: translateY(-8px); }
.service-number { color: #94918b; font: 600 10px/1 var(--font-display); letter-spacing: .15em; }
.service-icon { height: 170px; position: relative; margin: 35px 0 25px; }
.icon-nodes i { position: absolute; width: 13px; height: 13px; border-radius: 50%; background: var(--red); }
.icon-nodes i:nth-child(1) { left: 15%; top: 50%; }
.icon-nodes i:nth-child(2) { left: 50%; top: 16%; }
.icon-nodes i:nth-child(3) { right: 12%; bottom: 14%; }
.icon-nodes::before, .icon-nodes::after { content: ""; position: absolute; height: 1px; background: #9a9791; transform-origin: left; }
.icon-nodes::before { width: 46%; left: 18%; top: 52%; transform: rotate(-35deg); }
.icon-nodes::after { width: 45%; left: 52%; top: 22%; transform: rotate(48deg); }
.icon-brackets { display: flex; align-items: center; justify-content: center; gap: 30px; }
.icon-brackets i { width: 42px; height: 90px; border-top: 2px solid #8e8b86; border-bottom: 2px solid #8e8b86; }
.icon-brackets i:first-child { border-left: 2px solid #8e8b86; }
.icon-brackets i:last-child { border-right: 2px solid #8e8b86; }
.icon-brackets span { width: 15px; height: 64px; transform: skew(-10deg); background: var(--red); }
.icon-pulse { display: grid; place-items: center; }
.icon-pulse i { width: 140px; height: 140px; border: 1px solid #9b9892; border-radius: 50%; }
.icon-pulse span { position: absolute; width: 170px; height: 2px; background: linear-gradient(90deg, transparent, #8f8c87 25%, var(--red) 26% 34%, #8f8c87 35% 51%, var(--red) 52% 58%, #8f8c87 59% 75%, transparent); }
.service-card h3 { margin: 0 0 16px; font: 600 27px/1.15 var(--font-display); letter-spacing: -.03em; }
.service-card p { color: #77746f; font-size: 14px; }
.service-card:hover p, .service-card:hover li { color: #aaa9ae; }
.service-card ul { margin: 24px 0 0; padding: 20px 0 0; list-style: none; border-top: 1px solid rgba(125,122,116,.28); }
.service-card li { color: #77746f; font-size: 12px; padding: 4px 0; }
.service-card li::before { content: "+"; color: var(--red); margin-right: 10px; }

.current-work { background: #0d0d10; }
.project-card { min-height: 650px; display: grid; grid-template-columns: 1.05fr .95fr; border: 1px solid var(--line); overflow: hidden; }
.project-art { position: relative; min-height: 520px; overflow: hidden; background: radial-gradient(circle at 50% 65%, rgba(214,21,32,.38), transparent 19%), radial-gradient(circle at 50% 65%, #241014 0, #111116 38%, #09090b 75%); }
.project-art::before { content: ""; position: absolute; inset: 0; opacity: .32; background-image: linear-gradient(30deg, transparent 48%, rgba(255,255,255,.05) 49% 51%, transparent 52%), linear-gradient(-30deg, transparent 48%, rgba(255,255,255,.05) 49% 51%, transparent 52%); background-size: 52px 90px; }
.project-horizon { position: absolute; left: 50%; bottom: 16%; width: 78%; height: 42%; transform: translateX(-50%) perspective(300px) rotateX(62deg); border: 1px solid rgba(214,21,32,.4); background-image: linear-gradient(rgba(214,21,32,.23) 1px, transparent 1px), linear-gradient(90deg, rgba(214,21,32,.23) 1px, transparent 1px); background-size: 34px 34px; box-shadow: 0 0 80px rgba(214,21,32,.14); }
.pixel-star { position: absolute; width: 4px; height: 4px; background: #fff; box-shadow: 0 0 12px white; }
.star-one { left: 20%; top: 24%; }
.star-two { right: 18%; top: 38%; }
.star-three { left: 33%; bottom: 32%; background: var(--red-bright); }
.alpaca-mark { position: absolute; left: 50%; top: 44%; width: 188px; height: 188px; display: grid; place-items: center; transform: translate(-50%,-50%) rotate(45deg); border: 1px solid rgba(255,255,255,.28); background: rgba(8,8,10,.75); box-shadow: 0 0 0 14px rgba(8,8,10,.45), 0 30px 80px rgba(0,0,0,.5); }
.alpaca-mark::before { content: ""; position: absolute; inset: 13px; border: 1px solid var(--red); }
.alpaca-mark span { transform: rotate(-45deg); color: var(--paper); font: 700 64px/1 var(--font-display); letter-spacing: -.08em; }
.project-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(45px, 7vw, 100px); background: #141418; }
.project-status { width: fit-content; margin-bottom: 27px; padding: 7px 10px; color: #aaa9ae; border: 1px solid var(--line); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.project-status i { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: #5be08f; box-shadow: 0 0 10px rgba(91,224,143,.65); }
.project-copy h2 { font-size: clamp(42px, 5vw, 76px); }
.project-copy h2 em { color: var(--red-bright); font-style: normal; }
.project-copy > p { max-width: 530px; margin: 28px 0; color: #99989e; }
.text-link { width: fit-content; padding-bottom: 8px; border-bottom: 1px solid #77767b; font-size: 13px; font-weight: 600; }
.text-link span { color: var(--red-bright); margin-left: 22px; }
.text-link:hover { border-color: var(--red-bright); }

.studio { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(60px, 9vw, 150px); color: #17171a; background: var(--paper); }
.studio-body .lead { margin: 0 0 28px; font: 500 clamp(22px, 2.3vw, 32px)/1.5 var(--font-display); letter-spacing: -.025em; }
.studio-body > p:not(.lead) { color: #6e6b66; }
.location-link { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 15px; margin-top: 44px; padding: 22px 0; border-top: 1px solid #c8c5be; border-bottom: 1px solid #c8c5be; font-size: 13px; font-weight: 600; }
.location-link i { color: #88857f; font-style: normal; font-size: 11px; font-weight: 500; }
.location-pin { position: relative; display: block; width: 26px; height: 26px; border: 1px solid var(--red); border-radius: 50%; }
.location-pin::after { content: ""; position: absolute; width: 6px; height: 6px; top: 9px; left: 9px; border-radius: 50%; background: var(--red); }

.contact { position: relative; isolation: isolate; padding: clamp(100px, 14vw, 220px) 24px; text-align: center; overflow: hidden; background: var(--ink); }
.contact::before { content: "!"; position: absolute; z-index: -1; left: 50%; top: 50%; transform: translate(-50%,-50%); color: rgba(214,21,32,.065); font: 700 min(70vw, 880px)/.7 var(--font-display); }
.contact-inner { max-width: 1080px; margin: auto; }
.contact h2 { font-size: clamp(55px, 9vw, 138px); }
.contact-inner > p:not(.section-index) { max-width: 610px; margin: 32px auto 44px; color: #929197; font-size: 17px; }
.email-link { display: inline-flex; align-items: center; gap: 40px; padding: 17px 0; border-bottom: 1px solid #55545a; font: 500 clamp(18px, 2.2vw, 30px)/1 var(--font-display); transition: color .2s, border-color .2s; }
.email-link span { color: var(--red-bright); }
.email-link:hover { color: var(--red-bright); border-color: var(--red-bright); }

.site-footer { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 30px; padding: 34px clamp(24px, 5vw, 76px); color: #77767c; border-top: 1px solid var(--line); background: #050506; font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }
.footer-brand { color: white; font: 700 18px/1 var(--font-display); letter-spacing: -.04em; }
.footer-brand span { color: var(--red-bright); }
.footer-links { display: flex; gap: 24px; justify-self: end; }
.footer-links a:hover { color: white; }
.copyright { grid-column: 1/-1; margin: 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.06); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.service-card:nth-child(2) { transition-delay: .08s; }
.service-card:nth-child(3) { transition-delay: .16s; }

@keyframes route-signal { 0%,100% { background-position: 100% 0; opacity: .55; } 50% { background-position: 0 0; opacity: 1; } }
@keyframes move-line { 0%,100% { left: 0; } 50% { left: calc(100% - 6px); } }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 145px; }
  .hero-content { max-width: 720px; }
  .signal-panel { justify-self: start; width: min(100%, 620px); }
  .signal-visual { height: 265px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .section-heading > p:last-child { max-width: 600px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 390px; display: grid; grid-template-columns: 45px 150px 1fr; grid-template-rows: auto auto 1fr; column-gap: 24px; align-items: start; }
  .service-icon { grid-row: 1/4; grid-column: 2; width: 140px; height: 140px; margin: 0; }
  .service-card h3, .service-card p, .service-card ul { grid-column: 3; }
  .service-card ul { align-self: end; }
  .project-card { grid-template-columns: 1fr; }
  .project-art { min-height: 440px; }
  .studio { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer > p:not(.copyright) { display: none; }
}

@media (max-width: 700px) {
  .site-header { height: 70px; padding: 0 20px; }
  .brand { width: 148px; }
  .menu-toggle { display: block; z-index: 2; }
  .menu-open .menu-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 26px; padding: 80px 10vw; background: rgba(8,8,10,.98); opacity: 0; visibility: hidden; transform: translateY(-15px); transition: .25s ease; }
  .menu-open .site-nav { opacity: 1; visibility: visible; transform: translateY(0); }
  .site-nav > a { font: 600 32px/1 var(--font-display); letter-spacing: -.03em; }
  .site-nav .nav-cta { margin-top: 18px; padding: 14px 20px; font-size: 18px; }
  .hero { min-height: auto; padding: 120px 22px 100px; gap: 60px; }
  .hero::after { left: 85%; }
  .hero h1 { font-size: clamp(49px, 15vw, 72px); }
  .hero-copy { font-size: 16px; }
  .button { width: 100%; }
  .scroll-cue { display: none; }
  .signal-panel { padding: 13px; }
  .section { padding: 86px 22px; }
  .section-heading { margin-bottom: 45px; }
  .section-heading h2, .studio h2 { font-size: 44px; }
  .service-card { min-height: auto; display: block; padding: 24px; }
  .service-icon { width: 100%; height: 145px; margin: 24px 0; }
  .project-card { min-height: auto; }
  .project-art { min-height: 370px; }
  .alpaca-mark { width: 150px; height: 150px; }
  .project-copy { padding: 45px 25px 55px; }
  .project-copy h2 { font-size: 48px; }
  .location-link { grid-template-columns: 34px 1fr; }
  .location-link i { grid-column: 2; }
  .contact { padding-left: 20px; padding-right: 20px; }
  .contact h2 { font-size: 54px; }
  .email-link { gap: 12px; font-size: 17px; }
  .site-footer { grid-template-columns: 1fr; padding: 28px 22px; }
  .footer-links { justify-self: start; }
}

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