/* ==========================================================================
   GURUDAYA LLC
   Dark navy, one gold accent. Gold surfaces share a single metallic gradient
   whose angle and position are driven by CSS variables that JS updates from
   the pointer (--mx / --my) and scroll progress (--sy).

   Shape rule: interactive elements 6px, containers 14px.
   Theme: locked dark (brand decision), no light variant.
   ========================================================================== */

/* Fonts (self-hosted) ----------------------------------------------------- */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/CormorantGaramond-Variable.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("../assets/fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Phosphor";
  src: url("../assets/fonts/Phosphor.woff2") format("woff2");
  font-weight: normal; font-style: normal; font-display: block;
}
/* Phosphor icons (regular weight), only the glyphs this page uses */
.ph { font-family: "Phosphor" !important; font-style: normal; font-weight: normal; line-height: 1; display: inline-block; speak: never; -webkit-font-smoothing: antialiased; }
.ph-code::before { content: "\e1bc"; }
.ph-users-three::before { content: "\e68e"; }
.ph-device-mobile::before { content: "\e1e0"; }
.ph-database::before { content: "\e1de"; }
.ph-cloud::before { content: "\e1aa"; }
.ph-check-square::before { content: "\e186"; }
.ph-arrow-right::before { content: "\e06c"; }
.ph-list::before { content: "\e2f0"; }
.ph-arrow-down::before { content: "\e03e"; }
.ph-x::before { content: "\e4f6"; }

/* Tokens ------------------------------------------------------------------ */
:root {
  --navy-950: #04091a;
  --navy-900: #070f26;
  --navy-800: #0b1738;
  --navy-700: #10204a;
  --ink: #e6eaf5;
  --ink-dim: #a3adc8;
  --ink-mute: #717c9c;
  --hairline: rgba(212, 175, 55, .18);

  --gold-900: #5c430c;
  --gold-700: #8a6a14;
  --gold-500: #d4af37;
  --gold-400: #e4c256;
  --gold-300: #f1d98a;
  --gold-100: #fbf1cf;

  --mx: 0.5; --my: 0.5; --sy: 0;
  --gold-angle: calc(100deg + (var(--mx) - 0.5) * 140deg + var(--sy) * 180deg);
  --gold-x: calc(var(--mx) * 100%);
  --gold-y: calc((var(--my) * 0.6 + var(--sy) * 0.4) * 100%);
  --gold-metal: linear-gradient(var(--gold-angle),
    var(--gold-900) 0%, var(--gold-700) 14%, var(--gold-500) 30%, var(--gold-100) 46%,
    var(--gold-400) 52%, var(--gold-500) 60%, var(--gold-700) 78%, var(--gold-300) 92%, var(--gold-900) 100%);

  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-body: "Geist", "Segoe UI", system-ui, sans-serif;

  --r-ui: 6px;
  --r-panel: 14px;
  --container: 1200px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 30px 60px -30px rgba(4, 9, 26, .9);

  --z-nav: 20; --z-skip: 30;
}

/* Base -------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-weight: 400; font-size: 1rem;
  color: var(--ink); background: var(--navy-900); line-height: 1.6; overflow-x: hidden;
}
canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; text-wrap: balance; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold-500); color: var(--navy-950); }
:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 3px; border-radius: 2px; }

.container { width: min(var(--container), 100% - 3rem); margin-inline: auto; }
.section { padding-block: clamp(4.5rem, 9vw, 7rem) clamp(5rem, 10vw, 8rem); }
.section__head { max-width: 40rem; margin-bottom: 3rem; }
.section__title { font-size: clamp(2.3rem, 4vw, 3.3rem); font-weight: 600; letter-spacing: -0.005em; line-height: 1.06; margin-bottom: 1rem; }
.section__sub { color: var(--ink-dim); font-size: 1.05rem; max-width: 60ch; }

.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: var(--z-skip); padding: .6rem 1rem; background: var(--gold-500); color: var(--navy-950); border-radius: var(--r-ui); font-weight: 600; transform: translateY(-200%); transition: transform .2s; }
.skip-link:focus { transform: none; }

/* Gold utilities ---------------------------------------------------------- */
.gold-text {
  background-image: var(--gold-metal); background-size: 260% 260%;
  background-position: var(--gold-x) var(--gold-y);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  transition: background-position .12s linear;
}

.btn {
  --px: 50%; --py: 50%;
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: .9rem 1.5rem; font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  border-radius: var(--r-ui); border: 0; cursor: pointer; overflow: hidden; isolation: isolate;
  white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-sm { padding: .6rem 1.05rem; font-size: .85rem; }
.btn-block { width: 100%; }
.btn-gold {
  color: var(--navy-950);
  background-image: var(--gold-metal); background-size: 300% 300%;
  background-position: var(--gold-x) var(--gold-y);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 12px 24px -14px rgba(4, 9, 26, .9);
}
.btn-gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(120px 60px at var(--px) var(--py), rgba(255, 255, 255, .6), transparent 70%);
}
.btn-gold:hover::after { opacity: 1; }

.btn-link {
  display: inline-flex; align-items: center; gap: .45rem; padding: .9rem .25rem;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem; color: var(--gold-300);
  border-bottom: 1px solid transparent; transition: border-color .25s, gap .25s var(--ease);
}
.btn-link:hover { border-color: var(--gold-500); gap: .7rem; }
.btn-link .ph { font-size: 1.05em; }

/* Particle wave background (drawn by main.js) ------------------------------ */
.wave { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
main, .footer { position: relative; z-index: 1; }

/* Ambient light that follows the pointer ---------------------------------- */
.ambient {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(640px 640px at calc(var(--mx) * 100vw) calc(var(--my) * 100vh), rgba(212, 175, 55, .06), transparent 60%);
}
.nav-sentinel { position: absolute; top: 24px; height: 1px; width: 1px; }

/* Navigation -------------------------------------------------------------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-nav); height: 68px; display: flex; align-items: center; transition: background .3s, box-shadow .3s; }
.nav.is-scrolled { background: rgba(7, 15, 38, .82); backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 var(--hairline); }
.nav__inner { display: flex; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; margin-right: auto; }
.brand__logo { width: 22px; height: auto; flex: none; }
.brand__text { display: inline-flex; align-items: baseline; gap: .4rem; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; letter-spacing: .16em; }
.brand__suffix { font-family: var(--font-display); font-size: .8rem; letter-spacing: .22em; color: var(--ink-mute); font-weight: 600; }
.nav__links { display: flex; gap: 1.8rem; }
.nav__links a { position: relative; font-size: .92rem; font-weight: 500; color: var(--ink-dim); padding-block: .3rem; transition: color .25s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold-500); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__toggle { display: none; background: none; border: 0; color: var(--gold-400); font-size: 1.6rem; padding: .3rem; cursor: pointer; }

/* Hero: pinned stage with the 3D laptop ------------------------------------
   --s    overall laptop scale (set by JS from the viewport)
   --lid  lid angle in degrees: 8 = fully open, -98 = closed
   --on   screen brightness 0..1
   --cam  camera zoom
   Laptop geometry is authored at 1100 x 700 (lid) and 1100 x 720 (base) and
   scaled with --s, so every measurement inside is a fixed pixel value. */
.hero { position: relative; height: 200vh; height: 200dvh; }
.hero__stage {
  position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden;
  background: radial-gradient(1100px 700px at 50% 40%, rgba(16, 32, 74, .55), transparent 60%);
}
.hero__fallback { display: none; }

.scene {
  --s: .6; --lid: -98deg; --on: 0; --cam: 1;
  position: absolute; inset: 0; perspective: 3200px; perspective-origin: 50% 40%;
  transform: scale(var(--cam)); transform-origin: 50% 62%;
}
.scene__shadow {
  position: absolute; left: 50%; top: 62%; width: calc(820px * var(--s)); height: calc(170px * var(--s));
  margin-left: calc(-410px * var(--s)); border-radius: 50%; background: rgba(0, 0, 0, .6); filter: blur(40px);
}
.laptop {
  position: absolute; left: 50%; top: 62%; width: 1100px; height: 0; margin-left: -550px;
  transform: scale(var(--s)) rotateX(-4deg); transform-origin: 50% 0; transform-style: preserve-3d;
}
.laptop__base {
  position: absolute; left: 0; top: 0; width: 1100px; height: 720px; transform-origin: 50% 0;
  transform: rotateX(81deg); transform-style: preserve-3d;
  background: linear-gradient(180deg, #dcdee2 0%, #c7cacf 60%, #b9bcc2 100%);
  border-radius: 10px 10px 30px 30px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35);
}
.laptop__hinge { position: absolute; left: 0; right: 0; top: 0; height: 22px; background: linear-gradient(180deg, #5d6068, #9a9da4); border-radius: 10px 10px 0 0; }
.laptop__keys { position: absolute; left: 12%; right: 12%; top: 34px; display: flex; flex-direction: column; gap: 7px; }
.laptop__keys .row { display: flex; gap: 7px; justify-content: center; }
.laptop__keys .row i { flex: 1; height: 42px; background: linear-gradient(180deg, #2a2b30, #15161a); border-radius: 6px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.laptop__keys .row i.space { flex: 5; }
.laptop__grill { position: absolute; top: 34px; width: 60px; bottom: 330px; opacity: .8; background-image: radial-gradient(#8a8d94 1px, transparent 1.4px); background-size: 7px 7px; }
.laptop__grill--l { left: 4%; }
.laptop__grill--r { right: 4%; }
.laptop__trackpad { position: absolute; left: 33%; right: 33%; top: 350px; height: 300px; border-radius: 14px; background: linear-gradient(180deg, #d3d5d9, #c2c5ca); box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, .12), inset 0 1px 0 rgba(255, 255, 255, .5); }
.laptop__edge { position: absolute; left: 0; right: 0; top: 720px; height: 18px; transform-origin: 50% 0; transform: rotateX(-81deg); background: linear-gradient(180deg, #e2e4e8, #a4a7ad); border-radius: 0 0 12px 12px; }

.laptop__lid {
  position: absolute; left: 0; top: -700px; width: 1100px; height: 700px; transform-origin: 50% 100%;
  transform: rotateX(var(--lid)); transform-style: preserve-3d;
}
.laptop__front {
  position: absolute; inset: 0; background: #0c0d10; border-radius: 22px 22px 8px 8px; box-shadow: inset 0 0 0 2px #2a2c31;
}
.laptop__cam { position: absolute; left: 50%; top: 10px; width: 8px; height: 8px; margin-left: -4px; border-radius: 4px; background: #1e2026; }
.laptop__back {
  position: absolute; inset: 0; display: none; place-items: center; border-radius: 22px 22px 8px 8px;
  background: linear-gradient(180deg, #d0d3d8 0%, #bfc2c8 100%); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .4);
  transform: rotateX(180deg); /* the closed lid is seen from behind */
}
.laptop__back img { width: 72px; height: auto; opacity: .85; filter: saturate(.8); }
.scene.is-closed .laptop__front { display: none; }
.scene.is-closed .laptop__back { display: grid; }

.screen {
  position: absolute; left: 22px; right: 22px; top: 28px; bottom: 22px; overflow: hidden; border-radius: 4px;
  background: #05070f; transform: translateZ(0); transform-style: flat; /* flatten: 2D hit-testing and clipping inside the screen */
}
.screen__dots {
  position: absolute; inset: -60px; z-index: 0; opacity: var(--on);
  background: #0a1026;
}
.screen__dots::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 16, 38, .95) 0%, rgba(10, 16, 38, .35) 45%, rgba(10, 16, 38, 0) 100%); }
.screen__content {
  position: absolute; left: 60px; right: 60px; top: 0; bottom: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center;
  opacity: var(--on);
}
.screen__glare { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, .02) 35%, rgba(255, 255, 255, 0) 60%); }

/* copy sizes inside the screen are fixed pixels (the whole laptop is scaled) */
.screen .hero__title { font-size: 80px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.04; margin-bottom: 30px; max-width: 900px; }
.screen .hero__title .line { display: block; }
.screen .hero__lead { font-size: 25px; line-height: 1.5; color: #b4bbd2; max-width: 800px; margin-bottom: 44px; }
.screen .hero__actions { display: flex; align-items: center; gap: 48px; }
.screen .btn { font-size: 22px; padding: 20px 42px; border-radius: 8px; }
.screen .btn-link { font-size: 22px; }
/* staggered entrance once the lid is open */
.screen .line { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.scene.is-open .screen .line { opacity: 1; transform: none; }
.scene.is-open .screen .line:nth-child(2) { transition-delay: .12s; }
.scene.is-open .screen .hero__lead { transition-delay: .3s; }
.scene.is-open .screen .hero__actions { transition-delay: .5s; }

/* scroll cue under the laptop: bobs gently, fades out as scrolling begins */
.hero__cue {
  position: absolute; left: 50%; bottom: 2rem; width: 44px; height: 44px; margin-left: -22px;
  display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--hairline);
  color: var(--gold-400); font-size: 1.2rem; background: rgba(7, 15, 38, .5);
  opacity: calc(1 - var(--sy) * 12); animation: cueBob 2.2s ease-in-out infinite;
  transition: border-color .25s, color .25s;
}
.hero__cue:hover { border-color: var(--gold-500); color: var(--gold-100); }
@keyframes cueBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }
.hero.is-plain .hero__cue { display: none; }

/* plain hero (phones, reduced motion) */
.hero__copy { max-width: 46rem; }
.hero__fallback .hero__title { font-size: clamp(2.8rem, 3.7vw, 3.6rem); font-weight: 600; letter-spacing: -0.01em; line-height: 1.04; margin-bottom: 1.4rem; }
.hero__fallback .hero__lead { font-size: 1.15rem; color: var(--ink-dim); max-width: 36rem; margin-bottom: 2.2rem; }
.hero__fallback .hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; }
.hero.is-plain { height: auto; min-height: 100vh; min-height: 100dvh; }
.hero.is-plain .hero__stage { position: relative; height: auto; min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; padding-top: 6rem; padding-bottom: 3rem; }
.hero.is-plain .scene { display: none; }
.hero.is-plain .hero__fallback { display: block; }

/* About --------------------------------------------------------------------- */
.about { background: linear-gradient(180deg, rgba(7, 15, 38, .72), rgba(11, 23, 56, .86)); }
.about__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: start; }
.about__copy p { color: var(--ink-dim); font-size: 1.04rem; max-width: 62ch; }
.about__copy em { color: var(--gold-300); }
.principles { padding-top: .5rem; }
.principle { padding: 1.5rem 0; border-top: 1px solid var(--hairline); }
.principle:last-child { border-bottom: 1px solid var(--hairline); }
.principle h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: .4rem; }
.principle p { color: var(--ink-dim); font-size: .96rem; margin: 0; }

/* Services: bento ----------------------------------------------------------- */
.services { background: rgba(11, 23, 56, .86); }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
/* Holographic tile: pointer-driven 3D tilt with a spring return, a radial
   spotlight that follows the cursor, and an iridescent foil sheet whose hue
   travels with the light. --px/--py/--rx/--ry are written by main.js. */
.tile {
  --px: 50%; --py: 50%; --rx: 0deg; --ry: 0deg;
  grid-column: span 4; position: relative; padding: 1.8rem; border-radius: var(--r-panel);
  border: 1px solid transparent; overflow: hidden; isolation: isolate; display: flex; flex-direction: column;
  background:
    linear-gradient(var(--navy-900), var(--navy-900)) padding-box,
    conic-gradient(from var(--gold-angle) at var(--px) var(--py),
      rgba(212,175,55,.12), rgba(251,241,207,.85), rgba(212,175,55,.16), rgba(138,106,20,.3), rgba(212,175,55,.12)) border-box;
  box-shadow: var(--shadow);
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .7s cubic-bezier(.2, .9, .25, 1.25), box-shadow .5s var(--ease);
  will-change: transform;
}
.tile.is-tilting { transition: transform .08s linear, box-shadow .5s var(--ease); }
.tile:hover { box-shadow: 0 40px 70px -35px rgba(4, 9, 26, .95), 0 0 0 1px rgba(212, 175, 55, .08); }
/* spotlight */
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(380px 260px at var(--px) var(--py), rgba(251, 241, 207, .22), rgba(212, 175, 55, .08) 40%, transparent 65%);
}
/* foil sheet: spectral band plus fine diffraction lines, driven by the pointer */
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .45s;
  border-radius: inherit; mix-blend-mode: color-dodge;
  background:
    linear-gradient(115deg,
      transparent 18%, rgba(212, 175, 55, .45) 32%, rgba(255, 196, 200, .3) 40%, rgba(250, 243, 215, .6) 46%,
      rgba(175, 205, 255, .3) 52%, rgba(212, 175, 55, .45) 60%, transparent 76%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .05) 0 1.5px, transparent 1.5px 7px);
  background-size: 260% 260%, 100% 100%;
  background-position: calc(var(--px) * 1.4 - 20%) calc(var(--py) * 1.4 - 20%), 0 0;
  filter: contrast(1.1) saturate(.8);
}
.tile:hover::before { opacity: 1; }
.tile:hover::after { opacity: .4; }
.tile--sheen:hover::after, .tile--circuit:hover::after { opacity: .5; }
.tile--wide { grid-column: span 7; }
.tile--circuit { grid-column: span 5; }
.tile--quarter { grid-column: span 3; }
.tile--sheen {
  background:
    linear-gradient(135deg, rgba(212,175,55,.18), rgba(7,15,38,0) 45%), linear-gradient(var(--navy-900), var(--navy-900)) padding-box,
    conic-gradient(from var(--gold-angle) at var(--px) var(--py), rgba(212,175,55,.2), rgba(251,241,207,.9), rgba(212,175,55,.2), rgba(138,106,20,.35), rgba(212,175,55,.2)) border-box;
  background-clip: padding-box, padding-box, border-box;
}
.tile--circuit {
  background:
    radial-gradient(circle at 1px 1px, rgba(212,175,55,.22) 1px, transparent 1.5px) 0 0 / 22px 22px, linear-gradient(var(--navy-900), var(--navy-900)) padding-box,
    conic-gradient(from var(--gold-angle) at var(--px) var(--py), rgba(212,175,55,.2), rgba(251,241,207,.9), rgba(212,175,55,.2), rgba(138,106,20,.35), rgba(212,175,55,.2)) border-box;
  background-clip: padding-box, padding-box, border-box;
}
.tile__icon { font-size: 1.7rem; color: var(--gold-400); margin-bottom: 1.2rem; }
.tile h3 { font-size: 1.6rem; font-weight: 600; line-height: 1.15; margin-bottom: .6rem; }
.tile--wide h3, .tile--circuit h3 { font-size: 2rem; }
.tile p { color: var(--ink-dim); font-size: .96rem; margin: 0; }
.tile--wide p:not(.tile__meta), .tile--circuit p:not(.tile__meta) { max-width: 46ch; }
.tile__meta { margin-top: auto !important; padding-top: 1.4rem; font-size: .85rem; color: var(--ink-mute) !important; }

/* Approach ------------------------------------------------------------------ */
.approach { background: linear-gradient(180deg, rgba(11, 23, 56, .86), rgba(7, 15, 38, .8)); }
.approach__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
.approach__intro { position: sticky; top: 6rem; }
.step { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding: 2rem 0; border-top: 1px solid var(--hairline); }
.step:last-child { border-bottom: 1px solid var(--hairline); }
.step__num { font-family: var(--font-display); font-weight: 700; font-size: 3.2rem; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.step h3 { font-size: 1.7rem; font-weight: 600; margin-bottom: .5rem; }
.step p { color: var(--ink-dim); font-size: .98rem; max-width: 56ch; }
.step__out { font-size: .85rem; color: var(--gold-300); margin: 0; }

/* Industries ---------------------------------------------------------------- */
.industries { background: rgba(7, 15, 38, .8); }
.industries__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem 2rem; }
.industry {
  --px: 50%; --py: 50%;
  padding: 1.1rem 0 1.4rem; border-top: 1px solid var(--hairline);
  font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; letter-spacing: 0;
  transition: border-color .3s, color .3s;
}
.industry:hover { border-color: var(--gold-500); color: var(--gold-100); }

/* Contact ------------------------------------------------------------------- */
.contact { background: linear-gradient(180deg, rgba(7, 15, 38, .8), rgba(11, 23, 56, .9)); }
.contact__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 4rem; align-items: start; }
.details { display: grid; gap: 1.2rem; margin: 2rem 0 0; }
.details div { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; }
.details dt { font-size: .9rem; font-weight: 500; color: var(--ink-mute); }
.details dd { margin: 0; color: var(--ink); }
.details a { border-bottom: 1px solid var(--hairline); transition: border-color .25s; }
.details a:hover { border-color: var(--gold-500); }

.form { padding: 2rem; border-radius: var(--r-panel); background: rgba(4, 9, 26, .55); border: 1px solid var(--hairline); display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: .45rem; }
.field label { font-size: .88rem; font-weight: 500; color: var(--ink-dim); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .96rem; color: var(--ink);
  padding: .8rem .95rem; border-radius: var(--r-ui); border: 1px solid rgba(212,175,55,.28);
  background: var(--navy-950); outline: none; transition: border-color .25s, box-shadow .25s;
}
.field select option { background: var(--navy-800); }
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold-400); box-shadow: 0 0 0 3px rgba(212,175,55,.18); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #e39a9a; }
.field__help, .field__error { font-size: .8rem; min-height: 1em; color: var(--ink-mute); }
.field__error { color: #efb1b1; }
.form__status { margin: 0; font-size: .9rem; color: var(--gold-300); min-height: 1.3em; }

/* Footer -------------------------------------------------------------------- */
.footer { border-top: 1px solid var(--hairline); background: var(--navy-950); padding-block: 2.6rem 3rem; }
.footer__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 2rem; }
.footer__brand { display: flex; align-items: center; gap: .7rem; }
.footer__brand .brand__logo { width: 34px; }
.footer__brand p { margin: .1rem 0 0; font-size: .85rem; color: var(--ink-mute); }
.footer__links { display: flex; gap: 1.4rem; font-size: .88rem; color: var(--ink-dim); }
.footer__links a:hover { color: var(--gold-300); }
.footer__meta { margin: 0; text-align: right; font-size: .82rem; line-height: 1.7; color: var(--ink-mute); }

/* Reveal -------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.tile.reveal { transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(22px); }
.tile.reveal.in { transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)); transition: opacity .8s var(--ease), transform .7s cubic-bezier(.2, .9, .25, 1.25), box-shadow .5s var(--ease); }
.tile.reveal.in.is-tilting { transition: transform .08s linear, box-shadow .5s var(--ease); }

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

/* Responsive ---------------------------------------------------------------- */
@media (max-width: 1024px) {
  .tile--wide, .tile--circuit { grid-column: span 12; }
  .tile--quarter { grid-column: span 6; }
  .approach__grid { grid-template-columns: 1fr; gap: 2rem; }
  .approach__intro { position: static; }
  .industries__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero { height: auto; min-height: 100vh; min-height: 100dvh; }
  .hero__stage { position: relative; height: auto; min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; padding-top: 6rem; padding-bottom: 3rem; }
  .scene, .hero__cue { display: none; }
  .hero__fallback { display: block; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 68px; left: 0; right: 0; padding: .5rem 1.5rem 1.2rem;
    background: rgba(7, 15, 38, .97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--hairline);
  }
  .nav.is-open .nav__links a { padding: .85rem 0; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,.05); }
  .nav .brand__logo { width: 20px; }
  .about__grid, .contact__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__links { flex-wrap: wrap; }
  .footer__meta { text-align: left; }
}
@media (max-width: 640px) {
  .container { width: min(var(--container), 100% - 2rem); }
  .tile--quarter { grid-column: span 12; }
  .form__row { grid-template-columns: 1fr; }
  .industries__grid { grid-template-columns: 1fr; gap: 0; }
  .details div { grid-template-columns: 1fr; gap: .2rem; }
  .step { grid-template-columns: 3rem 1fr; }
  .hero__actions { gap: .8rem; }
}
