/* GreyAI — base styles */
:root {
  --bg: #080808;
  --bg-card: #111111;
  --bg-card-2: #151515;
  --orange: #FF4500;
  --orange-2: #FF6B35;
  --glow: rgba(255, 69, 0, 0.3);
  --text: #FFFFFF;
  --muted: #A3A3A3;
  --muted-2: #999999;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --radius: 16px;
  --radius-sm: 12px;
  --font-display: 'Unbounded', 'Inter', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --container: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before { /* subtle grid */
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.5));
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.mono { font-family: var(--font-mono); }
:focus-visible { outline: 2px solid var(--orange-2); outline-offset: 3px; border-radius: 6px; }

/* Header */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 18px 0; transition: background .3s var(--ease), border-color .3s var(--ease), padding .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.scrolled { background: rgba(8,8,8,.75); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); padding: 12px 0; }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: .34em; text-transform: uppercase; }
.logo span { color: var(--orange); }
.nav { display: flex; gap: 32px; }
.nav a { font-size: 14px; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--text); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; line-height: 1;
  padding: 16px 24px; border-radius: 999px; cursor: pointer; border: 1px solid transparent; transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: linear-gradient(135deg, var(--orange), var(--orange-2)); color: #fff; box-shadow: 0 0 0 0 var(--glow); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 32px var(--glow), 0 0 0 1px rgba(255,107,53,.4); }
.btn-ghost { background: rgba(255,255,255,.04); border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.07); }
.btn-sm { padding: 10px 16px; font-size: 14px; }

/* Hero */
.hero { position: relative; display: flex; align-items: center; padding: 112px 0 32px; overflow: hidden; }
.hero-glow { position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(60% 70% at 88% 55%, rgba(255,69,0,.42) 0%, rgba(255,69,0,.12) 35%, transparent 70%),
    radial-gradient(40% 50% at 100% 100%, rgba(255,107,53,.35) 0%, transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 32px; align-items: center; }
.tag { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255,255,255,.03); }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px var(--orange); }
.hero h1 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; line-height: 1.02; letter-spacing: -.01em;
  font-size: clamp(30px, 3.7vw, 54px); margin: 26px 0 22px; }
.hero h1 .outline { color: #fff; filter: url(#text-outline); }
.grad { background: linear-gradient(135deg, var(--orange) 0%, var(--orange-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 520px; margin: 0 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-stat { margin-top: 28px; display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 15px; }
.hero-stat b { font-family: var(--font-display); font-weight: 700; font-size: 28px; color: var(--text); letter-spacing: -.02em; line-height: 1; }
.hero-stat b span { color: var(--orange); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(17,17,17,.7); font-size: 14px; font-weight: 500; transition: border-color .2s, transform .2s var(--ease); }
.chip:hover { border-color: rgba(255,69,0,.5); transform: translateY(-1px); }
.chip svg { width: 16px; height: 16px; color: var(--orange); flex: none; }

.hero-visual { position: relative; height: min(78vh, 760px); min-height: 480px; }
.hero-visual img.robot, .hero-visual > img { position: absolute; right: -6%; bottom: -4%; height: 112%; width: auto; max-width: none; object-fit: contain;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 22%, #000 100%), linear-gradient(to top, transparent 0%, #000 18%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0%, #000 22%), linear-gradient(to top, transparent 0%, #000 18%); mask-composite: intersect;
  filter: saturate(1.05) contrast(1.05); will-change: transform; }
.hero-edge { position: absolute; top: 0; right: 0; bottom: 0; width: 4px; background: linear-gradient(to bottom, transparent, var(--orange), transparent); filter: blur(2px); opacity: .9; }

/* Sections */
.section { position: relative; padding: 32px 0; }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.h2 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; line-height: 1; letter-spacing: -.01em; font-size: clamp(34px, 5.2vw, 72px); margin: 0; }
.h2 small { display: block; font-size: 1em; }
.section-sub { font-size: 18px; color: var(--muted); max-width: 620px; margin: 0; }
.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); }

/* Services */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { position: relative; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; transition: border-color .25s, transform .25s var(--ease), box-shadow .25s; overflow: hidden; }
.card::after { content: ""; position: absolute; inset: auto -40% -60% auto; width: 60%; height: 60%; background: radial-gradient(closest-side, rgba(255,69,0,.22), transparent); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover { border-color: rgba(255,69,0,.45); transform: translateY(-3px); box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.card:hover::after { opacity: 1; }
.card-icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,69,0,.5); background: rgba(255,69,0,.08); color: var(--orange); margin-bottom: 22px; box-shadow: 0 0 24px rgba(255,69,0,.15) inset; }
.card-icon svg { width: 22px; height: 22px; }
.card h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin: 0 0 10px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .num { position: absolute; top: 24px; right: 24px; font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); letter-spacing: .1em; }
.cards .card.wide { grid-column: span 1; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; } .reveal[data-delay="2"] { transition-delay: .16s; } .reveal[data-delay="3"] { transition-delay: .24s; } .reveal[data-delay="4"] { transition-delay: .32s; } .reveal[data-delay="5"] { transition-delay: .4s; }

/* Placeholder note */
.wip { padding: 80px 0 120px; text-align: center; color: var(--muted-2); font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }

/* Footer-lite */
.footer { border-top: 1px solid var(--line); padding: 28px 0; }
.footer .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer .caption { font-family: var(--font-mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted-2); }

@media (max-width: 960px) {
  .nav { display: none; }
  .hero { padding: 100px 0 28px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-bottom: 40px; min-height: 0; }
  .hero-visual { position: absolute; left: 0; right: 0; top: var(--robot-top, 45%); bottom: 0; height: auto; min-height: 0; z-index: -1; opacity: .6; -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%); mask-image: linear-gradient(to bottom, #000 70%, transparent 100%); }
  .hero-visual .layers { position: absolute; inset: 0; }
  .hero-visual img.robot, .hero-visual .seams { right: -14%; left: auto; bottom: auto; top: 0; height: 100%; width: auto; max-width: none; }
  .hero-visual .visor-glow { left: 52%; top: 4%; width: 46%; height: 22%; }
  .hero p.lead { max-width: 62%; font-size: 16px; }
  .hero-glow { background: radial-gradient(70% 50% at 100% 20%, rgba(255,69,0,.38) 0%, transparent 70%); }
  .cards { grid-template-columns: 1fr 1fr; }
  .hero-scroll { display: none; }
}
@media (max-width: 600px) {
  .cards { grid-template-columns: 1fr; }
  .section { padding: 28px 0; }
  .hero h1 { font-size: clamp(22px, 6.6vw, 38px); }
  .hero p.lead { font-size: 17px; }
  .btn { width: 100%; justify-content: center; }
  .hero-actions { flex-direction: column; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-visual img { transform: none !important; }
  .btn, .card, .chip { transition: none; }
}

/* Niches */
.niches { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.niche { font-family: var(--font-mono); font-weight: 500; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; padding: 14px 22px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(17,17,17,.8); color: var(--text); display: inline-flex; align-items: center; gap: 12px; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.niche::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 12px var(--orange); }
.niche:hover { border-color: rgba(255,69,0,.6); box-shadow: 0 0 30px rgba(255,69,0,.18); transform: translateY(-2px); }
.niche.more { border-style: dashed; color: var(--muted); text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-size: 16px; }
.niche.more::before { display: none; }
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.principle { display: flex; gap: 22px; align-items: flex-start; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.principle .card-icon { margin: 0; flex: none; }
.principle h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin: 4px 0 8px; }
.principle p { margin: 0; color: var(--muted); font-size: 15px; }
.section-glow-left { position: absolute; left: -10%; top: 20%; width: 50%; height: 60%; pointer-events: none; background: radial-gradient(closest-side, rgba(255,69,0,.16), transparent); filter: blur(10px); }

/* Projects */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.project { display: block; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.project:hover { border-color: rgba(255,69,0,.5); transform: translateY(-4px); box-shadow: 0 24px 60px rgba(0,0,0,.55), 0 0 40px rgba(255,69,0,.12); }
.frame { background: #0c0c0c; border-bottom: 1px solid var(--line); }
.frame-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2a2a2a; }
.frame-bar i:first-child { background: rgba(255,69,0,.8); }
.frame-bar span { margin-left: 10px; font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); letter-spacing: .06em; }
.frame-shot { aspect-ratio: 16 / 9.4; overflow: hidden; position: relative; }
.frame-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .6s var(--ease); }
.project:hover .frame-shot img { transform: scale(1.04); }
.frame-shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(17,17,17,.9), transparent 45%); }
.project-body { padding: 22px 24px 26px; }
.badge { display: inline-flex; align-items: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); border: 1px solid rgba(255,69,0,.45); background: rgba(255,69,0,.08); padding: 5px 10px; border-radius: 999px; margin-bottom: 14px; }
.project h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; margin: 0 0 8px; letter-spacing: -.01em; }
.project p { margin: 0; color: var(--muted); font-size: 15px; }
.projects-more { display: flex; justify-content: center; margin-top: 24px; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

@media (max-width: 960px) {
  .projects { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .niche { font-size: 15px; padding: 13px 20px; }
}

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 28px; right: 28px; top: 28px; height: 1px; background: linear-gradient(90deg, var(--orange), rgba(255,69,0,.25)); }
.step { position: relative; padding: 0 28px 0 0; }
.step-num { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--orange); box-shadow: 0 0 0 6px var(--bg), 0 0 24px rgba(255,69,0,.35); font-family: var(--font-mono); font-size: 14px; color: var(--orange); margin-bottom: 26px; position: relative; z-index: 1; }
.step h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin: 0 0 10px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; max-width: 260px; }

/* Why */
.why-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.why-visual { position: relative; height: 100%; min-height: 420px; max-height: 560px; border-radius: var(--radius); overflow: hidden; }
.why-visual img { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); height: 118%; width: auto; max-width: none; -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%), linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to bottom, #000 70%, transparent 100%), linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%); mask-composite: intersect; }
.why-visual::before { content: ""; position: absolute; left: -20%; top: 10%; width: 70%; height: 80%; background: radial-gradient(closest-side, rgba(255,69,0,.35), transparent); filter: blur(20px); }
.why-list { list-style: none; margin: 0; padding: 0; }
.why-list li { font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 2vw, 24px); line-height: 1.25; padding: 26px 0 26px 56px; border-top: 1px solid var(--line); position: relative; }
.why-list li:last-child { border-bottom: 1px solid var(--line); }
.why-list li::before { content: attr(data-n); position: absolute; left: 0; top: 30px; font-family: var(--font-mono); font-weight: 500; font-size: 13px; color: var(--orange); letter-spacing: .1em; }
.why-list li::after { content: ""; position: absolute; left: 0; top: -1px; width: 48px; height: 1px; background: var(--orange); }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 18px 0; font-family: var(--font-body); font-weight: 600; font-size: 17px; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--orange-2); }
.faq summary .plus { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: transform .3s var(--ease), border-color .2s, background .2s; }
.faq summary .plus svg { width: 16px; height: 16px; }
.faq details[open] summary .plus { transform: rotate(45deg); border-color: var(--orange); background: rgba(255,69,0,.12); color: var(--orange); }
.faq .answer { padding: 0 60px 20px 0; color: var(--muted); font-size: 15px; max-width: 720px; }

/* CTA */
.cta { position: relative; overflow: hidden; padding: 24px 0 64px; }
.cta-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(45% 55% at 50% 100%, rgba(255,69,0,.18) 0%, transparent 70%); }
.cta-visual { position: absolute; right: 0; bottom: 0; width: 46%; max-width: 760px; pointer-events: none; }
.cta-visual img { width: 100%; height: auto; -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 30%), linear-gradient(to top, transparent 0%, #000 20%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0%, #000 30%), linear-gradient(to top, transparent 0%, #000 20%); mask-composite: intersect; }
.cta .h2 { font-size: clamp(36px, 6vw, 84px); }
.cta .section-sub { margin: 18px 0 28px; }
.cta .btn-primary { font-size: 18px; padding: 20px 32px; box-shadow: 0 10px 40px rgba(255,69,0,.35); }
.cta-inner { position: relative; z-index: 1; max-width: 640px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 36px 0; }
.footer .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer .caption a:hover { color: var(--text); }

@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps::before { left: 28px; right: auto; top: 28px; bottom: 28px; width: 1px; height: auto; background: linear-gradient(180deg, var(--orange), rgba(255,69,0,.25)); }
  .step { padding: 0 0 0 80px; }
  .step-num { position: absolute; left: 0; top: 0; margin: 0; }
  .why-grid { grid-template-columns: 1fr; gap: 0; position: relative; }
  .why-visual { position: absolute; right: -8%; top: -10px; width: 62%; height: 100%; min-height: 0; max-height: none; z-index: 0; opacity: .55; pointer-events: none; border-radius: 0; -webkit-mask-image: radial-gradient(ellipse 72% 68% at 62% 36%, #000 38%, transparent 82%); mask-image: radial-gradient(ellipse 72% 68% at 62% 36%, #000 38%, transparent 82%); }
  .why-visual img { left: auto; right: 0; top: 0; transform: none; height: auto; width: 100%; max-width: none; mask: none; -webkit-mask: none; }
  .why-visual::before { display: none; }
  .why-grid > div:last-child { position: relative; z-index: 1; }
  .why-list li { font-size: 17px; padding: 20px 0 20px 44px; }
  .why-visual { min-height: 380px; }
  .cta { padding: 48px 0 0; display: flex; flex-direction: column; }
  .cta .container { order: 1; }
  .cta-visual { order: 2; position: relative; right: auto; bottom: auto; width: 100%; max-width: none; margin: 4px 0 0; height: 230px; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 35%); mask-image: linear-gradient(to bottom, transparent 0%, #000 35%); }
  .cta-visual img { position: absolute; right: -8%; bottom: -12%; width: 112%; height: auto; mask: none; -webkit-mask: none; }
  .cta-visual .seams { display: none; }
  .cta-glow { background: radial-gradient(60% 40% at 70% 100%, rgba(255,69,0,.25) 0%, transparent 70%); }
  .cta .container { position: relative; z-index: 1; }
}

/* Projects page */
.page-head { padding: 150px 0 50px; position: relative; }
.page-head .h2 { font-size: clamp(40px, 6vw, 84px); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0 40px; }
.filter { font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--muted); cursor: pointer; transition: all .2s; }
.filter:hover { color: var(--text); border-color: rgba(255,255,255,.3); }
.filter.active { color: var(--orange); border-color: rgba(255,69,0,.6); background: rgba(255,69,0,.1); }
.project.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; }
.project.featured .frame { border-bottom: 0; border-right: 1px solid var(--line); height: 100%; }
.project.featured .frame-shot { aspect-ratio: auto; height: 100%; min-height: 360px; }
.project.featured .project-body { padding: 40px; }
.project.featured h3 { font-size: 28px; }
.project.featured p { font-size: 16px; }
.frame-shot .ph { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(80% 80% at 70% 20%, rgba(255,69,0,.25), transparent), linear-gradient(160deg, #161616, #0b0b0b); font-family: var(--font-display); font-weight: 800; font-size: 48px; color: rgba(255,255,255,.12); letter-spacing: -.02em; }
.frame-shot .ph small { position: absolute; bottom: 14px; left: 16px; font: 500 11px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.frame-shot img { position: relative; z-index: 1; }
.project[hidden] { display: none; }
.backlink { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.backlink:hover { color: var(--text); }
@media (max-width: 960px) { .project.featured { grid-template-columns: 1fr; } .project.featured .frame { border-right: 0; border-bottom: 1px solid var(--line); } .project.featured .frame-shot { min-height: 220px; aspect-ratio: 16 / 9.4; } .page-head { padding: 120px 0 30px; } }

/* Narrow-width robustness */
.principle > div, .step, .project-body, .card { min-width: 0; }
.principle { flex-wrap: nowrap; }
@media (max-width: 420px) { .principle { flex-wrap: wrap; } }
.btn { max-width: 100%; }
.header .container { gap: 12px; }
@media (max-width: 420px) {
  .header .btn-sm { padding: 10px 12px; }
  .niche { font-size: 13px; padding: 11px 16px; }
  .steps { gap: 28px; }
}

/* Renders: blend black backgrounds into the page so no rectangle edges show in any browser */
.hero-visual img, .why-visual img, .cta-visual img { mix-blend-mode: screen; }
.hero-visual, .why-visual, .cta-visual { isolation: isolate; }

/* Project case pages */
.play-chip { position: absolute; z-index: 2; right: 14px; bottom: 14px; font: 500 11px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(255,69,0,.85); padding: 6px 10px; border-radius: 999px; }
.case-head { padding-bottom: 36px; }
.case-head .badge { display: flex; width: fit-content; }
.case-title { margin: 0 0 18px; font-size: clamp(36px, 5.6vw, 76px); }
.case-media { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 60px rgba(255,69,0,.10); }
.case-screen { position: relative; aspect-ratio: 16 / 9; background: #000; }
.case-screen video, .case-screen img { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.case-screen .ph { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(80% 80% at 70% 20%, rgba(255,69,0,.25), transparent), linear-gradient(160deg, #161616, #0b0b0b); font: 800 72px var(--font-display); color: rgba(255,255,255,.12); }
.case-screen .ph small { position: absolute; bottom: 16px; left: 18px; font: 500 11px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.case-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; margin-top: 18px; }
.case-about, .case-features { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; min-width: 0; }
.case-about p { font-size: 17px; color: #d6d6d6; margin: 16px 0 28px; }
.case-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.case-features ul { list-style: none; margin: 16px 0 0; padding: 0; }
.case-features li { display: flex; gap: 12px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.case-features li:last-child { border-bottom: 0; }
.case-features li svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--orange); }
@media (max-width: 960px) {
  .case-grid { grid-template-columns: 1fr; }
  .case-about, .case-features { padding: 24px 20px; }
}
