/* A quiet foundation, warm editorial type and cool computational motion. */
:root {
  --bg: #0b1115;
  --panel: #111a20;
  --fg: #f0eee8;
  --muted: #a1adb3;
  --accent: #dfbc91;
  --signal: #65cbbd;
  --line: rgba(211, 225, 230, .16);
  --mono: 'DM Mono', Consolas, monospace;
  --pad: clamp(22px, 5vw, 88px);
}
body { font-family: 'Inter', Arial, sans-serif; font-weight: 400; }
body, a, button { cursor: auto; }
a, button { -webkit-tap-highlight-color: transparent; }
a, button, summary { cursor: pointer; }
button, input, textarea { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 5px; }
section[id], main[id] { scroll-margin-top: 95px; }
.cursor, .project-cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-custom-cursor body, .has-custom-cursor a, .has-custom-cursor button, .has-custom-cursor summary { cursor: none; }
  .has-custom-cursor .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 500; pointer-events: none; border-radius: 50%; }
  .has-custom-cursor .cursor--dot { width: 7px; height: 7px; background: #00ff41; }
  .has-custom-cursor .cursor--ring { width: 34px; height: 34px; border: 1px solid #00ff418c; transition: width .2s, height .2s, background .2s; }
  .has-custom-cursor .cursor--ring.is-hovering { width: 58px; height: 58px; background: #00ff411a; }
  .has-custom-cursor .cursor--dot.on-light { background: #0b1115; }
  .has-custom-cursor .cursor--ring.on-light { border-color: #0b111599; }
  .has-custom-cursor .cursor--ring.on-light.is-hovering { background: #0b111514; }
}
.noise { opacity: .025; }
.brand img { filter: grayscale(1) brightness(1.8); }
.site-header { height: 86px; }
.site-header.scrolled { background: rgba(11, 17, 21, .93); }
.desktop-nav { gap: clamp(18px, 2.2vw, 34px); }
.desktop-nav a, .status { font-size: 10px; font-weight: 400; }
.status i { background: var(--signal); box-shadow: 0 0 10px #65cbbd55; }
.title-line--accent, .statement-text em, .about-grid h2 em, .contact h2 em,
.stats-head__num, .stat sup, .workflow-copy li span, .project-index-cta b,
.about-copy>div span, .about-link b, .desktop-nav a, .site-footer a,
.menu-overlay nav a { text-shadow: none; filter: none; }
.reveal { opacity: 1; transform: none; }
.motion-ready .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.motion-ready .reveal.is-visible { opacity: 1; transform: none; }
.menu-overlay:not(.is-open) { visibility: hidden; }
.menu-overlay { background: var(--bg); }
.menu-visual { background: radial-gradient(ellipse at 55% 45%, #193833, var(--bg) 70%); }
.menu-visual:before { opacity: .25; }
.menu-visual__rings i { border-color: #65cbbd40 !important; box-shadow: none !important; }
.menu-word { color: var(--fg); }
.menu-overlay nav a { color: var(--fg); }
.menu-overlay nav a:hover { color: var(--accent); }
.menu-label, .menu-meta { color: var(--muted); }
.site-footer nav, .neo-footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.site-footer { gap: 28px; }
.neo-footer a, .site-footer nav a { font-size: 11px; }
.contact-form, .contact_form { background: var(--panel); }
.form-note { grid-column: 1 / -1; font: 400 12px/1.7 'Inter', sans-serif; color: var(--muted); margin: 0; }
.form-note a { text-decoration: underline; text-underline-offset: 3px; }
.field input, .field textarea { border-radius: 0; }

/* Homepage */
.home .hero {
  min-height: min(880px, 100svh); padding: clamp(116px, 13vh, 165px) var(--pad) 140px;
  display: block;
  text-align: left; gap: 0; isolation: isolate;
  background: var(--bg);
}
.home .hero:after { z-index: 1; background: linear-gradient(90deg, #0b1115ed 0%, #0b1115c4 32%, #0b111520 65%, #0b111560 100%), linear-gradient(180deg, #0b111560, transparent 30%, transparent 72%, var(--bg)); }
.home .hero-copy { width: min(100%, 800px); align-items: flex-start; z-index: 2; }
.hero-kicker { margin: 0 0 32px; font: 400 11px/1.5 var(--mono); letter-spacing: .13em; color: var(--muted); }
.home .hero-title { margin: 0; font-size: clamp(48px, 6.35vw, 104px); font-weight: 500; line-height: 1.02; letter-spacing: -.065em; text-transform: none; }
.home .title-line { overflow: visible; }
.home .title-line--accent { color: var(--accent); }
.home .hero-bottom { align-items: flex-start; text-align: left; max-width: 480px; margin: 32px 0 0; gap: 30px; }
.home .hero-bottom:before { display: none; }
.home .hero-bottom p { color: var(--muted); font-size: clamp(15px, 1.15vw, 18px); line-height: 1.8; text-shadow: none; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; }
.hero-primary { display: inline-flex; align-items: center; gap: 26px; min-height: 52px; padding: 16px 22px; background: var(--fg); color: var(--bg); font-size: 13px; font-weight: 500; transition: background .25s, transform .25s; }
.hero-primary:hover { background: var(--accent); transform: translateY(-2px); }
.hero-secondary { display: flex; align-items: center; gap: 16px; min-height: 48px; font-size: 13px; border-bottom: 1px solid var(--line); }
.hero-secondary:hover { border-color: var(--accent); }
.hero-primary .ico-arrow, .hero-secondary .ico-arrow { width: 1.1em; height: 1.1em; }
.ico-arrow--down { transform: rotate(135deg); }
.home #heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .72; z-index: 0; }
.home .hero-orbit { left: 69%; top: 46%; z-index: 1; border-color: #a6cbb222; pointer-events: none; }
.home .orbit-b:before { background: #00ff41; box-shadow: 0 0 18px #00ff4170; }
.hero-foot { position: absolute; bottom: 34px; left: var(--pad); right: var(--pad); z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font: 400 10px/1.6 var(--mono); }
.hero-foot__skills { display: flex; gap: 25px; flex-wrap: wrap; }
.hero-foot__skills span:before { content: '+'; color: var(--signal); margin-right: 10px; }
.motion-toggle { border: 1px solid var(--line); background: transparent; color: var(--muted); padding: 10px 12px; min-height: 40px; font: 400 10px var(--mono); }
.motion-toggle:hover { color: var(--fg); border-color: var(--muted); }
.home .side-index { right: 16px; opacity: .65; }
.home .stats { padding-top: 80px; }
.home .stats-head h2 { flex: 0 1 auto; min-width: 0; font-size: clamp(22px, 2.7vw, 36px); font-weight: 400; line-height: 1.25; text-transform: none; }
.home .stats-head { margin-bottom: 35px; }
.home .stat { min-height: 180px; }
.home .stat strong { font-size: clamp(48px, 5.8vw, 84px); font-weight: 400; }
.home .stat p { font-size: 12px; line-height: 1.6; }
.home .stats-marquee { background: var(--bg); padding-block: 22px; }
.home .stats-marquee__track { animation-duration: 65s; gap: 3rem; }
.home .stats-marquee__track span { font: 400 12px var(--mono); text-transform: none; color: var(--muted); }
.home .stats-marquee__track i { color: var(--signal); }
.home .statement { min-height: auto; padding-block: clamp(80px, 12vw, 180px); gap: 60px; }
.home .statement-text { font-size: clamp(34px, 5.7vw, 88px); line-height: 1.06; font-weight: 400; letter-spacing: -.045em; }
.home .statement-text .muted { color: #9cabb1; }
.home .case-showcase { --case-accent: #00ff41; --case-paper: #e7e4dc; overflow: hidden; }
.home .case-showcase .case-stage { height: auto; overflow: visible; }
.home .case-showcase .case-panel { position: relative; inset: auto; transform: none; min-height: 62vh; grid-template-columns: .25fr 1.2fr 1fr; padding: 60px var(--pad); }
.home .case-showcase.is-animated .case-stage { position: relative; height: calc(100svh - 86px); min-height: 480px; overflow: hidden; }
.home .case-showcase.is-animated .case-panel { position: absolute; inset: 0; height: 100%; min-height: 0; }
.home .case-showcase .case-content h3 { font-weight: 500; }
.home .case-showcase .radar { max-width: min(420px, 52vh); margin: 0; }
.home .case-showcase:not(.is-animated) .radar s { opacity: .8; }
.home .services, .home .workflow, .home .about, .home .contact { padding-block: clamp(80px, 9vw, 140px); }
.home .section-head { margin: 50px 0 65px; }
.home .section-head h2 { font-size: clamp(46px, 8vw, 120px); font-weight: 500; line-height: 1.04; letter-spacing: -.06em; }
.home .service-card { min-height: 0; }
.home .service-visual { height: 280px; min-height: 0; background: radial-gradient(ellipse at 50% 70%, #1e363b, #111a20 75%); }
.home .service-visual { --accent: var(--signal); }
.home .service-info h3 { font-size: clamp(27px, 3.3vw, 48px); line-height: 1.08; font-weight: 500; text-transform: none; letter-spacing: -.035em; }
.home .service-info>p { font-size: 14px; line-height: 1.8; }
.home .service-info>div { font-size: 9px; line-height: 1.7; gap: 20px; }
.home .visual--consulting .service-object:after { box-shadow: -22px -22px 0 #65cbbd55; }
.home .visual--tools i { box-shadow: 12px 12px 0 #65cbbd12; }
.home .visual--ai .service-object:after { box-shadow: 0 0 30px #65cbbd44; }
.home .service-card:last-child .service-visual { height: 240px; }
.home .project-index-intro h2 { font-weight: 500; }
.home .project-index-row { transition: background .3s, padding .3s; }
.home .project-index-row:hover { background: #ffffff05; }
.home .project-index-row h3 { font-weight: 500; }
.home .workflow-head h2, .home .about-grid h2, .home .contact h2 { font-weight: 500; letter-spacing: -.055em; }
.home .workflow-copy p, .home .about-copy p, .home .contact-grid>p { font-size: 16px; line-height: 1.85; }
.home .contact-submit { background: var(--fg); color: var(--bg); border: 0; }
.home .contact-submit:hover { background: var(--accent); }
.project-browser img { display: block; width: 100%; height: 100%; object-fit: cover; }
.project-browser { background: var(--panel); }
.project-detail__visual>img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }

.motion-paused *, .motion-paused *:before, .motion-paused *:after { animation-play-state: paused !important; }
.motion-paused .reveal { opacity: 1; transform: none; transition: none; }
@media (max-width: 1100px) {
  .home .hero { padding-top: 116px; min-height: 740px; }
  .home .hero-title { font-size: clamp(46px, 6.5vw, 76px); }
  .hero-foot__skills { gap: 14px; }
}
@media (max-width: 760px) {
  .site-header { height: 72px; }
  .home .hero { display: flex; flex-direction: column; align-items: stretch; min-height: min(780px, 100svh); padding: 102px var(--pad) 0; }
  .home .hero:after { background: linear-gradient(90deg, #0b1115d9, #0b111560), linear-gradient(180deg, #0b111550, transparent 40%, #0b1115f5); }
  .home .hero-title { font-size: clamp(43px, 10.2vw, 76px); }
  .hero-kicker { margin-bottom: 24px; font-size: 9px; }
  .home .hero-bottom { margin-top: 24px; gap: 24px; max-width: 500px; }
  .home .hero-bottom p { font-size: 15px; }
  .hero-foot { position: relative; inset: auto; flex-wrap: wrap; gap: 20px; padding: 22px 0; margin-top: auto; }
  .hero-copy { margin-bottom: 40px; }
  .hero-foot__skills { gap: 8px 18px; font-size: 9px; }
  .home .case-showcase .case-panel { position: relative; top: auto; min-height: 0; grid-template-columns: 32px 1fr; gap: 20px; padding: 40px var(--pad); }
  .home .case-showcase .case-graphic { grid-column: 2; width: min(100%, 290px); justify-self: start; }
  .home .case-showcase .case-content h3 { font-size: 38px; }
  .home .case-showcase.is-animated .case-stage { height: calc(100svh - 72px); min-height: 480px; }
  .home .case-showcase.is-animated .case-panel { align-content: center; row-gap: 24px; }
  .home .section-head { margin-block: 32px 40px; }
  .home .service-visual { height: 240px; }
  .home .stats { padding-top: 60px; }
  .home .stats-head__rule { display: none; }
  .site-footer { grid-template-columns: 1fr; padding-block: 36px; }
  .site-footer nav { display: flex; gap: 18px; }
  .site-footer .footer-top { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *:before, *:after { animation: none !important; transition: none !important; }
  .motion-ready .reveal { opacity: 1; transform: none; }
  .home .case-showcase .case-panel { position: relative; top: auto; }
}
