:root {
  --bg: #0b0b0c;
  --surface: #141416;
  --surface-2: #1b1b1e;
  --text: #f3f1ed;
  --soft: #c9c5be;
  --muted: #8f8b84;
  --line: rgba(243, 241, 237, .09);
  --line-2: rgba(243, 241, 237, .18);
  --accent: #f2a65a;
  --accent-hover: #f7bd82;
  --font: "Archivo", system-ui, sans-serif;
  --brand: "Nunito", system-ui, sans-serif;
  --radius: 24px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --glow: drop-shadow(0 0 3px rgba(255, 255, 255, .85)) drop-shadow(0 0 14px rgba(255, 255, 255, .45)) drop-shadow(0 0 40px rgba(255, 255, 255, .2));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::after {
  content: ""; position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: var(--accent); color: #111; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.04; letter-spacing: -.035em; }
p { margin: 0; }
.wrap { width: min(1280px, 100% - 56px); margin-inline: auto; }
.hidden { display: none; }

/* Buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1.05rem 1.7rem; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--accent); color: #141414; font: 600 1rem var(--font);
  box-shadow: 0 10px 30px -10px rgba(242, 166, 90, .55);
  transition: background .3s, transform .3s var(--ease), box-shadow .3s;
}
.btn:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(242, 166, 90, .7); }
.btn span { transition: transform .3s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn-outline { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-outline:hover { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.btn-sm { padding: .72rem 1.25rem; font-size: .92rem; box-shadow: none; }
.btn-full { width: 100%; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; border-bottom: 1px solid transparent; transition: background .4s, border-color .4s; }
.nav.scrolled { background: rgba(11, 11, 12, .8); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 88px; transition: height .4s var(--ease); }
.nav.scrolled .nav-inner { height: 70px; }
.brand { display: flex; align-items: center; gap: .75rem; }
.brand-mark { width: 38px; height: 27px; fill: none; stroke: #fff; stroke-width: 32; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 2px rgba(255, 255, 255, .7)) drop-shadow(0 0 8px rgba(255, 255, 255, .3)); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font: 800 1.15rem var(--brand); letter-spacing: .06em; }
.brand-text small { margin-top: 4px; font: 600 .56rem var(--font); letter-spacing: .48em; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 2.4rem; font-size: .97rem; font-weight: 500; }
.nav-links a:not(.btn) { position: relative; color: var(--soft); transition: color .3s; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav-links a:not(.btn):hover { color: #fff; }
.nav-links .nav-phone { color: var(--text); font-weight: 600; }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 6px 0; transition: transform .3s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 120px 0 0; overflow: hidden; }
.hero-light {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(520px 420px at 76% 46%, rgba(255, 255, 255, .07), transparent 70%),
    radial-gradient(700px 520px at 92% 85%, rgba(242, 166, 90, .14), transparent 70%),
    radial-gradient(600px 500px at 0% 0%, rgba(242, 166, 90, .05), transparent 70%);
}
.hero-grid { position: relative; flex: 1; display: grid; grid-template-columns: 1.45fr 1fr; gap: 64px; align-items: center; }
.tag { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.8rem; padding: .45rem 1rem .45rem .8rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--soft); font-size: .88rem; font-weight: 500; }
.tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.hero h1 { font-size: clamp(2.9rem, 5.6vw, 5.4rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.lead { margin-top: 1.8rem; max-width: 34rem; font-size: 1.22rem; color: var(--soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2.6rem; }
.hero-art { position: relative; display: grid; place-items: center; }
.hero-art::before { content: ""; position: absolute; width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .05), transparent); }
.hero-mark { position: relative; width: 100%; max-width: 500px; height: auto; overflow: visible; fill: none; stroke: #fff; stroke-width: 13; stroke-linecap: round; stroke-linejoin: round; }
.hero-mark path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .hero-mark path { animation: draw 2.2s var(--ease) .2s forwards; }
.js .hero-mark path:nth-child(2) { animation-delay: .7s; }
.js .hero-mark path:nth-child(3) { animation-delay: 1s; }
.js .hero-mark { animation: lightup 1.4s ease-out 2.1s forwards; }
html:not(.js) .hero-mark path { stroke-dashoffset: 0; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes lightup {
  0% { filter: none; } 10% { filter: var(--glow); } 16% { filter: none; } 24% { filter: var(--glow); } 30% { filter: drop-shadow(0 0 2px rgba(255,255,255,.4)); } 40%, 100% { filter: var(--glow); }
}
.js .hero-copy > * { opacity: 0; transform: translateY(28px); animation: up 1.1s var(--ease) forwards; }
.js .hero-copy > :nth-child(2) { animation-delay: .08s; }
.js .hero-copy > :nth-child(3) { animation-delay: .18s; }
.js .hero-copy > :nth-child(4) { animation-delay: .28s; }
@keyframes up { to { opacity: 1; transform: none; } }
.hero-bottom { position: relative; display: flex; align-items: center; gap: 2.4rem; margin-top: 56px; padding: 24px 0 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.js .hero-bottom { opacity: 0; animation: up 1s var(--ease) .5s forwards; }
.hero-bottom { gap: 0; }
.hero-bottom span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 1.3rem; border-radius: 50%; background: var(--line-2); vertical-align: middle; transform: translateY(-2px); }
.scroll-cue { margin-left: auto; display: inline-flex; align-items: center; gap: .8rem; color: var(--soft); }
.scroll-cue i { position: relative; width: 1px; height: 26px; background: var(--line-2); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--accent); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* Section heads */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 56px; }
.section-head h2, .services-intro h2, .contact h2 { font-size: clamp(2.4rem, 4.8vw, 4rem); letter-spacing: -.04em; }
.section-head p { color: var(--muted); max-width: 24rem; text-align: right; }

/* Work */
.work { padding: 150px 0 140px; }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px 32px; }
.tile-wide { grid-column: 1 / -1; }
.tile-media {
  position: relative; display: block; padding: 56px 56px 0; border-radius: var(--radius); overflow: hidden; cursor: none;
  background: radial-gradient(120% 90% at 50% 0%, var(--tint), var(--tint-2) 75%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.tile-media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .06), transparent 40%); pointer-events: none; }
.tile-wide .tile-media { padding: 80px 110px 0; }
.screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 12px 12px 0 0; box-shadow: 0 -20px 80px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08); transition: transform .8s var(--ease); }
.tile-media:hover .screen { transform: translateY(-10px) scale(1.01); }
.screen img { width: 100%; transition: transform 1.4s var(--ease); will-change: transform; }
.tile-media:hover .screen img, .tile-media.autoscroll .screen img { transform: translateY(var(--dist, 0)); transition: transform var(--dur, 8s) cubic-bezier(.45, 0, .55, 1); }
.tile-info { display: grid; gap: 12px; padding: 28px 4px 0; }
.tile-wide .tile-info { grid-template-columns: 1fr 1.5fr auto; gap: 48px; align-items: start; }
.tile-info h3 { font-size: 1.6rem; letter-spacing: -.025em; }
.tile-info h3 + p { margin-top: .35rem; color: var(--muted); font-size: .95rem; }
.tile-desc { color: var(--soft); }
.tile-link { justify-self: start; display: inline-flex; gap: .4rem; font-weight: 600; color: var(--accent); }
.tile-link span { transition: transform .3s var(--ease); }
.tile-link:hover span { transform: translate(3px, -3px); }

.cursor-chip {
  position: fixed; left: 0; top: 0; z-index: 120; pointer-events: none;
  padding: .7rem 1.1rem; border-radius: 999px; background: var(--text); color: #111; font-size: .9rem; font-weight: 600;
  transform: translate(-50%, -50%) scale(0); transition: transform .35s var(--ease);
}
.cursor-chip.on { transform: translate(-50%, -50%) scale(1); }

/* Approach */
.approach { border-block: 1px solid var(--line); }
.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.approach-grid > div { padding: 64px 48px 64px 0; }
.approach-grid > div + div { padding-left: 48px; border-left: 1px solid var(--line); }
.approach h3 { font-size: 1.5rem; letter-spacing: -.025em; margin-bottom: .8rem; }
.approach h3::before { content: ""; display: block; width: 28px; height: 2px; margin-bottom: 1.6rem; background: var(--accent); }
.approach p { color: var(--muted); max-width: 22rem; }

/* Services */
.services { padding: 150px 0; }
.services-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; }
.services-intro { position: sticky; top: 120px; align-self: start; }
.services-intro p { margin: 1.4rem 0 2.2rem; color: var(--soft); font-size: 1.12rem; max-width: 24rem; }
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service-list li { position: relative; display: grid; grid-template-columns: 56px 1fr 32px; gap: 20px; align-items: start; padding: 34px 0; border-bottom: 1px solid var(--line); }
.service-list li::before { content: ""; position: absolute; inset: 0 -24px; border-radius: 16px; background: var(--surface); opacity: 0; transition: opacity .4s; z-index: -1; }
.service-list li:hover::before { opacity: 1; }
.service-list .n { padding-top: .45rem; color: var(--muted); font-size: .9rem; font-weight: 500; transition: color .3s; }
.service-list li:hover .n { color: var(--accent); }
.service-list h3 { font-size: clamp(1.5rem, 2.3vw, 2rem); letter-spacing: -.03em; margin-bottom: .55rem; }
.service-list p { color: var(--muted); max-width: 32rem; }
.service-list .arrow { padding-top: .3rem; font-size: 1.3rem; color: var(--accent); opacity: 0; transform: translateX(-10px); transition: all .4s var(--ease); }
.service-list li:hover .arrow { opacity: 1; transform: none; }

/* Contact */
.contact { padding: 30px 0 150px; }
.contact-panel {
  position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; padding: 80px; border-radius: 32px; overflow: hidden;
  background: radial-gradient(800px 500px at 0% 0%, rgba(242, 166, 90, .16), transparent 70%), linear-gradient(160deg, #18181b, #111113);
  box-shadow: inset 0 0 0 1px var(--line);
}
.contact-copy > p { margin-top: 1.2rem; color: var(--soft); font-size: 1.12rem; max-width: 28rem; }
.next-steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 26px; }
.next-steps li { display: flex; gap: 18px; }
.next-steps span { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(242, 166, 90, .45); color: var(--accent); font-weight: 600; }
.next-steps h3 { font-size: 1.1rem; letter-spacing: -.01em; margin: 2px 0 4px; }
.next-steps p { color: var(--muted); font-size: .98rem; }
.contact-email { margin-top: 48px !important; font-size: 1rem !important; color: var(--muted) !important; }
.contact-email a { color: var(--text); font-weight: 500; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; transition: text-decoration-color .3s; }
.contact-email a:hover { text-decoration-color: var(--accent); }

.form { display: grid; gap: 18px; align-content: start; padding: 36px; border-radius: 22px; background: rgba(11, 11, 12, .6); box-shadow: inset 0 0 0 1px var(--line); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; font-size: .9rem; font-weight: 500; color: #d6d2cb; }
.form em { font-style: normal; font-weight: 400; color: var(--muted); }
.form input, .form textarea {
  display: block; width: 100%; margin-top: .5rem; padding: .9rem 1rem; border-radius: 12px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--text); font: 400 1rem var(--font);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); background: rgba(255, 255, 255, .05); box-shadow: 0 0 0 4px rgba(242, 166, 90, .15); }
.form ::placeholder { color: #66625c; }
.form .btn { margin-top: 6px; }

/* Footer */
.footer { padding: 40px 0 36px; overflow: hidden; }
.sign { display: grid; justify-items: center; gap: 22px; padding: 60px 0 110px; }
.sign svg { width: min(280px, 60vw); height: auto; fill: none; stroke: #fff; stroke-width: 26; stroke-linecap: round; stroke-linejoin: round; filter: var(--glow); }
.sign strong { font: 800 clamp(2.6rem, 7.5vw, 5rem) var(--brand); letter-spacing: .06em; line-height: 1; color: #fff; text-shadow: 0 0 6px rgba(255, 255, 255, .6), 0 0 22px rgba(255, 255, 255, .3), 0 0 50px rgba(255, 255, 255, .15); }
.sign small { font: 600 .8rem var(--font); letter-spacing: .7em; margin-right: -.7em; color: var(--muted); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding-top: 28px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.footer-row nav { display: flex; gap: 2rem; }
.footer-row a { transition: color .3s; }
.footer-row a:hover { color: var(--text); }

.form-note { font-size: .85rem; color: var(--muted); text-align: center; }
.form-note a { color: var(--soft); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.form-note a:hover { text-decoration-color: var(--accent); }

/* Legal pages */
.legal { padding: 170px 0 120px; }
.legal-inner { max-width: 760px; }
.legal-date { color: var(--accent); font-size: .9rem; font-weight: 500; margin-bottom: 1rem; }
.legal h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); letter-spacing: -.04em; margin-bottom: 2rem; }
.legal h2 { font-size: 1.45rem; letter-spacing: -.02em; margin: 3.2rem 0 1rem; padding-top: 2.4rem; border-top: 1px solid var(--line); }
.legal p, .legal li { color: var(--soft); }
.legal p + p { margin-top: 1rem; }
.legal ul { margin: 1rem 0; padding-left: 1.2rem; display: grid; gap: .6rem; }
.legal li::marker { color: var(--accent); }
.legal strong { color: var(--text); font-weight: 600; }
.legal a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.legal a:hover { text-decoration-color: var(--accent); }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (hover: none) { .tile-media { cursor: pointer; } .cursor-chip { display: none; } }
@media (max-width: 1080px) {
  .hero-grid, .services-grid, .contact-panel { grid-template-columns: 1fr; gap: 56px; }
  .hero-art { order: -1; justify-items: start; }
  .hero-mark { max-width: 300px; }
  .services-intro { position: static; }
  .tile-wide .tile-media { padding: 56px 56px 0; }
  .tile-wide .tile-info { grid-template-columns: 1fr; gap: 12px; }
  .contact-panel { padding: 56px; }
  .hero-bottom span:nth-child(n+3) { display: none; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 40px); }
  .nav-inner, .nav.scrolled .nav-inner { height: 68px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 68px 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 28px;
    background: rgba(11, 11, 12, .98); border-bottom: 1px solid var(--line);
    opacity: 0; transform: translateY(-10px); pointer-events: none; transition: all .3s var(--ease);
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links .btn { margin-top: 20px; }
  .hero { min-height: auto; padding-top: 110px; }
  .hero-mark { max-width: 210px; }
  .hero-bottom { margin-top: 56px; }
  .hero-bottom span { display: none; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 36px; }
  .section-head p { text-align: left; }
  .work-grid, .approach-grid, .form .row { grid-template-columns: 1fr; }
  .work-grid { gap: 48px; }
  .tile-media, .tile-wide .tile-media { padding: 28px 22px 0; }
  .approach-grid > div, .approach-grid > div + div { padding: 40px 0; border-left: 0; }
  .approach-grid > div + div { border-top: 1px solid var(--line); }
  .work, .services { padding: 100px 0; }
  .service-list li { grid-template-columns: 40px 1fr; }
  .service-list .arrow { display: none; }
  .contact { padding-bottom: 100px; }
  .contact-panel { padding: 36px 22px; border-radius: 24px; }
  .form { padding: 22px 18px; }
  .footer-row { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal, .js .hero-copy > *, .js .hero-bottom { opacity: 1; transform: none; }
  .hero-mark path { stroke-dashoffset: 0; }
  .hero-mark { filter: var(--glow); }
}
