/* ============================================================
   BASE
   ============================================================ */

:root {
  --bg: #0A0A0A;
  --accent: #FF6B00;
  --text: #FFFFFF;
  --text-muted: rgba(255,255,255,0.6);
  --card-bg: #111111;
  --card-border: rgba(255,107,0,0.2);
  --gutter: clamp(1.4rem,5vw,5rem);
  --section-pad: clamp(4rem,5vw,5.5rem);

  --font-display: "Rajdhani","Teko","Bebas Neue",system-ui,sans-serif;
  --font-body: "Inter",-apple-system,BlinkMacSystemFont,"SF Pro Display","Helvetica Neue",Arial,sans-serif;
  --font-mono: "JetBrains Mono",ui-monospace,Menlo,monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --shadow-card: 0 0 30px rgba(255,107,0,0.12);
  --shadow-card-hi: 0 0 60px rgba(255,107,0,0.22);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* Home page body carries the full-page background image */
body.page-home {
  background-image: url('bg_horrizontal.jpeg');
  background-attachment: fixed;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

a { text-decoration: none; color: inherit; }

p { color: rgba(255,255,255,0.6); line-height: 1.7; }

/* ============================================================
   NAV
   ============================================================ */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  background: rgba(6,6,6,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,107,0,0.12);
}

.logo,
.mobile-logo {
  display: flex;
  align-items: center;
  background: transparent !important;
  background-color: transparent !important;
  mix-blend-mode: lighten;
}

.logo img,
.mobile-logo img {
  background: transparent !important;
  background-color: transparent !important;
  mix-blend-mode: screen;
}

.nav-logo img,
nav img,
header img,
[class*="logo"] img {
  pointer-events: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  -webkit-touch-callout: none !important;
  -webkit-user-drag: none !important;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  color: var(--text-muted);
  font-size: .74rem;
  letter-spacing: .01em;
}

.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--text); }

.nav-cta {
  padding: .55rem 1.5rem;
  border: 1.5px solid var(--accent);
  border-radius: 50px;
  color: var(--text);
  font-size: .8rem;
  font-weight: 600;
  transition: background .2s, color .2s;
}

.nav-cta:hover { background: var(--accent); color: #fff; }

.mobile-nav { display: none; }

/* ============================================================
   HERO
   ============================================================ */

.hero {
  min-height: calc(100vh - 88px);
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  padding: 5rem var(--gutter) 3rem;
  overflow: hidden;
}

.hero-bg-img {
  display: none;
  pointer-events: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  -webkit-touch-callout: none !important;
  -webkit-user-drag: none !important;
}

/* Gradient overlay inside .hero */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom,
    rgba(0,0,0,0.0)  0%,
    rgba(0,0,0,0.08) 40%,
    rgba(0,0,0,0.55) 70%,
    rgba(0,0,0,0.82) 100%
  ) !important;
  z-index: 0 !important;
  pointer-events: none;
}

/* Left column content wrapper */
.hero-content { position: relative; z-index: 2; }

.kicker {
  color: var(--accent);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
  font-weight: 700;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem,3.1vw,3.7rem);
  line-height: 1.02;
  letter-spacing: -0.038em;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1.4rem;
}

h1 .accent { color: var(--accent); }

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem,2.8vw,2.9rem);
  line-height: 1;
  letter-spacing: -.045em;
  font-weight: 700;
}

h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: .8rem; }

.hero-copy {
  color: rgba(255,255,255,0.65);
  font-size: 0.96rem;
  line-height: 1.75;
  max-width: 32rem;
  margin-bottom: 0.5rem;
}

.micro-proof {
  color: rgba(255,255,255,0.32);
  font-size: 0.78rem;
  margin-top: 0.8rem;
}

.actions {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s, border-color .2s, filter .2s;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(180deg,#F27A22,#B94A0B);
  color: #ffffff;
  border: 1px solid var(--accent);
  padding: 0.85rem 1.6rem;
  font-weight: 700;
  font-size: 0.85rem;
}

.btn-primary:hover { filter: brightness(1.1); }

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 0.85rem 1.6rem;
  font-weight: 600;
  font-size: 0.85rem;
}

.btn-secondary:hover { background: rgba(255,255,255,0.06); }

.btn:disabled { opacity: .65; cursor: not-allowed; }

/* Hero panel — rate/info card on the right of the homepage hero */
.hero-panel {
  background: rgba(12,10,8,0.86);
  border: 1px solid rgba(255,107,0,0.38);
  border-radius: 14px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
  position: relative;
  z-index: 2;
}

.panel-title {
  color: var(--accent);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 800;
  margin-bottom: 1.4rem;
}

.panel-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.82rem;
}

.panel-row:last-child { border-bottom: 0; }
.panel-row span:first-child { color: rgba(255,255,255,0.55); font-size: 0.82rem; }
.panel-row span:last-child { color: #FF6B00; font-weight: 700; font-size: 0.82rem; text-align: right; }

/* Trust ticker */
.trust {
  overflow: hidden;
  background: rgba(11,11,11,0.85);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  padding: .9rem 0;
}

.trust-track {
  display: flex;
  gap: 2.4rem;
  white-space: nowrap;
  animation: ticker 36s linear infinite;
  color: var(--text-muted);
  font-size: .64rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.trust b { color: var(--accent); }

@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* Page hero banner — sub-pages (estimate, test-shot, start-project) */
.page-hero {
  background-image: url('bg_horrizontal.jpeg');
  background-attachment: fixed;
  background-size: cover;
  background-position: top center;
  min-height: 210px;
  display: flex;
  align-items: flex-end;
  padding: 5.5rem var(--gutter) 2.5rem;
  position: relative;
  margin-top: 88px;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.78) 100%);
  z-index: 0;
}

.page-hero-content { position: relative; z-index: 1; }

/* Sub-page banner h1 */
.page-hero h1 {
  font-size: clamp(1.6rem,2.4vw,2.8rem);
  letter-spacing: -0.04em;
  margin-bottom: 0;
}

/* ============================================================
   CARDS
   ============================================================ */

section {
  padding: var(--section-pad) var(--gutter);
  background: rgba(8,8,8,0.82);
}

.dark {
  background: rgba(5,5,5,0.88);
  color: var(--text);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  align-items: flex-end;
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 1.6rem;
  margin-bottom: 3rem;
}

.section-head p {
  max-width: 430px;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: .92rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: var(--card-border);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  overflow: hidden;
}

.card {
  background: var(--card-bg);
  padding: 1.6rem;
  min-height: 200px;
  transition: background .2s;
}

.card:hover { background: #1a1a1a; box-shadow: var(--shadow-card); }

.mono { font-family: var(--font-mono); }

.num {
  font-size: 2.3rem;
  color: rgba(255,107,0,.15);
  font-weight: 850;
  margin-bottom: 1.2rem;
}

.card h3 { font-size: 1rem; margin-bottom: .8rem; color: var(--text); font-weight: 700; }
.card p { color: var(--text-muted); font-size: .88rem; line-height: 1.7; }

/* Process flow */
.flow {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 1px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  overflow: hidden;
}

.step { background: var(--card-bg); padding: 2rem; }
.step b { color: var(--accent); font-size: .72rem; letter-spacing: .14em; }
.step h3 { margin: .9rem 0 .5rem; color: var(--text); }
.step p { color: var(--text-muted); line-height: 1.65; font-size: .84rem; }

/* Metrics bar */
.metrics {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  background: var(--card-bg);
}

.metric {
  padding: 3rem 2rem;
  text-align: center;
  border-right: 1px solid var(--card-border);
}

.metric:last-child { border-right: 0; }

.metric strong {
  font-size: clamp(2.2rem,3.6vw,3.8rem);
  display: block;
  line-height: 1;
  letter-spacing: -.06em;
  color: var(--accent);
}

.metric span {
  display: block;
  margin-top: .7rem;
  color: var(--text-muted);
  font-size: .66rem;
  text-transform: uppercase;
  letter-spacing: .14em;
}

/* Estimate rate box */
.rate-box {
  background: var(--card-bg);
  border: 1px solid rgba(255,107,0,0.32);
  border-radius: 16px;
  padding: 2rem;
}

.rate-box p { color: var(--text-muted); line-height: 1.7; }

.rate-list { margin-top: 1.6rem; }

.rate-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.82rem;
}

.rate-list div:last-child { border-bottom: 0; }
.rate-list span:first-child { color: rgba(255,255,255,0.55); font-size: 0.82rem; }
.rate-list span:last-child { color: #FF6B00; font-weight: 700; font-size: 0.82rem; text-align: right; }

/* Contact section */
.contact { text-align: center; }

.contact h2 {
  font-size: clamp(2rem,4vw,3.8rem);
  line-height: .96;
  letter-spacing: -.055em;
  margin-bottom: 1.8rem;
}

.email {
  display: block;
  color: var(--accent);
  font-style: italic;
  font-size: clamp(1rem,1.8vw,1.45rem);
  margin: 2rem 0;
}

/* ============================================================
   FORMS
   ============================================================ */

main {
  padding: 2.5rem var(--gutter) 4rem;
  text-align: center;
}

.wrap { max-width: 780px; margin: 0 auto; }
.wrap-wide { max-width: 920px; margin: 0 auto; }

.box,
.form {
  margin: 2rem auto 0;
  max-width: 560px;
  background: #111111;
  border: 1px solid rgba(255,107,0,0.2);
  border-radius: 16px;
  padding: 1.35rem;
  text-align: left;
}

.row {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.88rem;
}

.row:last-child { border-bottom: 0; }
.row span:first-child { color: rgba(255,255,255,0.55); }
.row span:last-child { font-weight: 700; color: #FF6B00; text-align: right; }

input, textarea, select {
  background: #111111;
  border: 1px solid rgba(255,107,0,0.2);
  border-radius: 6px;
  color: #ffffff;
  padding: 0.72rem 0.9rem;
  width: 100%;
  font-family: inherit;
  font-size: 0.88rem;
  margin-bottom: 0.9rem;
  transition: border-color 0.2s;
}

input:focus, textarea:focus, select:focus {
  border-color: rgba(255,107,0,0.6);
  outline: none;
}

option { background: #111111; color: #ffffff; }

label {
  color: rgba(255,255,255,0.65);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

textarea { min-height: 110px; resize: vertical; }

.note {
  font-size: .8rem;
  color: rgba(255,255,255,0.4);
  margin-top: 1rem;
  text-align: center;
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  padding: 2rem var(--gutter);
  border-top: 1px solid var(--card-border);
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  color: var(--text-muted);
  font-size: .75rem;
  background: rgba(4,4,4,0.92);
}

/* ============================================================
   INTERACTIONS PLACEHOLDER
   Future animation and interaction hooks go here.
   ============================================================ */

/* INTERACTION: ROCKET CURSOR */

/* Hide native cursor on ALL elements once custom cursor activates */
body.rf-cursor-active,
body.rf-cursor-active * { cursor: none !important; }

/* Restore native cursor inside the fixed nav */
body.rf-cursor-active nav { cursor: default !important; }
body.rf-cursor-active nav a,
body.rf-cursor-active nav button { cursor: pointer !important; }

.rf-cursor-trail {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 9998;
}

/* Reticle — plain container; the SVG inside draws 4 tiny corner ticks */
.rf-cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 14px; height: 14px;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
}

.rf-cursor-ring svg {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .rf-cursor-ring,
  .rf-cursor-trail { display: none !important; }
  body.rf-cursor-active,
  body.rf-cursor-active * { cursor: auto !important; }
}

/* INTERACTION: MAGNETIC ENVIRONMENT */

.rf-mag {
  will-change: transform;
  transform-origin: center center;
}

/* Grid/flow containers: allow children to translate outside layout box */
.rf-mag-parent { overflow: visible !important; }

@media (prefers-reduced-motion: reduce) {
  .rf-mag { will-change: auto; }
}

/* INTERACTION: HERO ATMOSPHERE */

/* All atmospheric layers are position:absolute — excluded from hero grid flow */
.rf-atm-haze,
.rf-atm-sweep,
.rf-atm-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.rf-atm-canvas {
  width: 100%;
  height: 100%;
}

/* Breathing ambient haze — two soft radial blooms */
.rf-atm-haze {
  background:
    radial-gradient(ellipse 65% 55% at 18% 52%, rgba(255,107,0,0.052) 0%, transparent 70%),
    radial-gradient(ellipse 42% 65% at 78% 22%, rgba(255,140,60,0.028) 0%, transparent 65%);
  animation: rfAtmHaze 22s ease-in-out infinite alternate;
}

@keyframes rfAtmHaze {
  from { transform: translate(0, 0)      scale(1);     opacity: 0.38; }
  to   { transform: translate(8px, -5px) scale(1.016); opacity: 0.65; }
}

/* Diagonal light sweep — overflow:hidden clips the pseudo-element at hero edges */
.rf-atm-sweep { overflow: hidden; }

.rf-atm-sweep::before {
  display: none;
}

@keyframes rfAtmSweep {
  0%   { transform: rotate(12deg) translateX(0);    opacity: 0; }
  6%   { opacity: 1; }
  44%  { opacity: 0.75; }
  50%  { transform: rotate(12deg) translateX(340%); opacity: 0; }
  100% { transform: rotate(12deg) translateX(340%); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .rf-atm-haze          { animation: none; }
  .rf-atm-sweep::before { animation: none; opacity: 0; }
}

@media (max-width: 900px) {
  .rf-atm-haze          { animation-duration: 35s; opacity: 0.6; }
  .rf-atm-sweep::before { animation: none; opacity: 0; }
}

/* INTERACTION: ROBOT MASCOT */

/* Wrapper chain — each layer owns exactly one transform property, no CSS/JS conflicts */

.rf-bot {
  position: absolute;
  top: -62px;        /* SVG y=62 aligns with panel top edge; head+body float above */
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 3;
  width: 72px;
  height: 82px;
}

.rf-bot-slide {
  width: 100%;
  height: 100%;
}

.rf-bot-lean {
  width: 100%;
  height: 100%;
  transform-origin: center 62px; /* pivot at arm grip point */
}

.rf-bot-sway {
  width: 100%;
  height: 100%;
  transform-origin: center 62px;
  animation: rfBotSway 4.8s ease-in-out infinite alternate;
}

@keyframes rfBotSway {
  from { transform: rotateZ(-0.20deg); }
  to   { transform: rotateZ(0.20deg);  }
}

/* Body breathing — CSS scaleY on body group, JS does not touch this element */
.rf-bot-body-g {
  transform-box: fill-box;
  transform-origin: 36px 47px; /* center of body rect */
  animation: rfBotBreathe 3.4s ease-in-out infinite alternate;
}

@keyframes rfBotBreathe {
  from { transform: scaleY(1); }
  to   { transform: scaleY(1.022) translateY(-0.5px); }
}

/* Blink — dark rect over lens flashes to opacity:1 */
.rf-bot-blink-el {
  animation: rfBotBlink 8s ease-in-out infinite;
}

@keyframes rfBotBlink {
  0%, 91%  { opacity: 0; }
  92%, 95% { opacity: 1; }
  96%      { opacity: 0; }
  100%     { opacity: 0; }
}

/* Lens idle pulse — JS controls lens-glow opacity; CSS controls lens-el opacity */
.rf-bot-lens-el {
  animation: rfBotLensIdle 4s ease-in-out infinite alternate;
}

@keyframes rfBotLensIdle {
  from { opacity: 0.72; }
  to   { opacity: 0.94; }
}

/* Status indicator dot pulse */
.rf-bot-indicator {
  animation: rfBotIndicator 2.1s ease-in-out infinite alternate;
}

@keyframes rfBotIndicator {
  from { opacity: 0.30; }
  to   { opacity: 0.76; }
}

/* Arm transform-origin: arms scale outward from their body-side edge */
.rf-bot-arm-l { transform-box: fill-box; transform-origin: right center; }
.rf-bot-arm-r { transform-box: fill-box; transform-origin: left center;  }

/* Leg transform-origin: legs lift from their top joint */
.rf-bot-leg-l,
.rf-bot-leg-r { transform-box: fill-box; transform-origin: center top; }

/* Head JS translateX — set will-change for compositing hint */
.rf-bot-head-g { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .rf-bot-sway,
  .rf-bot-body-g,
  .rf-bot-blink-el,
  .rf-bot-lens-el,
  .rf-bot-indicator { animation: none !important; }
}

/* INTERACTION: SERVICE CARD DETAILS */

#services .card {
  position: relative;
  cursor: pointer;
  transition: background .2s, box-shadow .2s;
}

#services .card.card--svc-open {
  background: #161414;
  box-shadow: 0 0 42px rgba(255,107,0,0.16);
}

/* Eyes — absolute in top-right, desktop only */
.rf-svc-eyes-wrap {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s ease;
  z-index: 2;
}

#services .card:hover .rf-svc-eyes-wrap,
#services .card.card--svc-open .rf-svc-eyes-wrap {
  opacity: 1;
}

/* Detail panel — grid-row height trick for smooth expand */
.rf-svc-detail {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.38s cubic-bezier(0.4,0,0.2,1),
              opacity 0.34s ease;
}

.card--svc-open .rf-svc-detail {
  grid-template-rows: 1fr;
  opacity: 1;
}

.rf-svc-detail-inner {
  overflow: hidden;
}

.rf-svc-detail-body {
  margin-top: 1.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,107,0,0.14);
}

.rf-svc-desc {
  color: rgba(255,255,255,0.55) !important;
  font-size: 0.84rem !important;
  line-height: 1.72 !important;
  margin-bottom: 1.1rem;
}

.rf-svc-meta { margin-bottom: 1.3rem; }

.rf-svc-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.78rem;
}

.rf-svc-row:last-child { border-bottom: 0; }

.rf-svc-row span:first-child {
  color: rgba(255,255,255,0.38);
  flex-shrink: 0;
}

.rf-svc-row span:last-child {
  color: rgba(255,255,255,0.70);
  font-weight: 500;
  text-align: right;
}

/* Animated counter block */
.rf-svc-counter {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  padding: 0.85rem 1rem;
  margin-bottom: 0.8rem;
  background: rgba(255,107,0,0.055);
  border: 1px solid rgba(255,107,0,0.18);
  border-radius: 8px;
}

.rf-svc-count-num {
  font-family: var(--font-mono);
  font-size: 1.55rem;
  color: var(--accent);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}

.rf-svc-count-suffix {
  color: rgba(255,255,255,0.45);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.rf-svc-disclaimer {
  font-size: 0.67rem;
  color: rgba(255,255,255,0.22);
  font-style: italic;
  line-height: 1.5;
  margin-top: 0.2rem;
  padding-bottom: 0.4rem;
}

/* Mobile: hide eyes, keep expand-on-tap */
@media (max-width: 900px) {
  .rf-svc-eyes-wrap { display: none; }
}

/* Keyboard focus: visible ring on interactive cards */
#services .card:focus-visible {
  outline: 2px solid rgba(255,107,0,0.7);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .rf-svc-detail {
    transition: opacity 0.18s ease;
  }
}

/* ============================================================
   INTERACTION: PRODUCTION EYE TEST
   ============================================================ */

#eye-test {
  background: rgba(6,6,6,0.90);
  padding: 1.4rem var(--gutter) 1.8rem;
}

/* Compact module header — game panel is the hero, not the heading */
.et-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 1.4rem;
  margin-bottom: 2.4rem;
}

.et-header-left { display: flex; flex-direction: column; gap: 0; }

.et-header .kicker {
  font-size: 0.58rem;
  letter-spacing: 0.20em;
  margin-bottom: 0.55rem;
}

.et-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--text);
  text-transform: uppercase;
  margin: 0;
}

.et-subtitle {
  color: rgba(255,255,255,0.40);
  font-size: 0.80rem;
  line-height: 1.65;
  max-width: 280px;
  text-align: right;
  margin: 0;
}

.et-panel {
  max-width: 860px;
  margin: 0 auto;
}

/* ── Frame ─────────────────────────────────────────────────── */

.et-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #070504;
  border: 1px solid rgba(255,107,0,0.18);
  overflow: hidden;
  margin-bottom: 0;
}

/* Corner tracking markers */
.et-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  z-index: 4;
  pointer-events: none;
}
.et-c-tl { top: 10px; left: 10px;
  border-top: 1px solid rgba(255,107,0,0.55);
  border-left: 1px solid rgba(255,107,0,0.55); }
.et-c-tr { top: 10px; right: 10px;
  border-top: 1px solid rgba(255,107,0,0.55);
  border-right: 1px solid rgba(255,107,0,0.55); }
.et-c-bl { bottom: 10px; left: 10px;
  border-bottom: 1px solid rgba(255,107,0,0.55);
  border-left: 1px solid rgba(255,107,0,0.55); }
.et-c-br { bottom: 10px; right: 10px;
  border-bottom: 1px solid rgba(255,107,0,0.55);
  border-right: 1px solid rgba(255,107,0,0.55); }

/* Scan line */
.et-scanline {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,107,0,0.10), transparent);
  top: 0;
  z-index: 3;
  pointer-events: none;
  animation: etScan 9s linear infinite;
}
@keyframes etScan {
  0%   { top: 0%;   opacity: 0; }
  4%   { opacity: 1; }
  96%  { opacity: 0.5; }
  100% { top: 100%; opacity: 0; }
}

/* Shot background placeholder */
.et-shot-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 35% 45%, #1a1208, #050302);
  transition: background 0.6s ease;
  z-index: 1;
}
.et-shot-bg[data-shot="1"] { background: radial-gradient(ellipse at 30% 40%, #120f08, #040302); }
.et-shot-bg[data-shot="2"] { background: radial-gradient(ellipse at 65% 35%, #0a0e14, #03050a); }
.et-shot-bg[data-shot="3"] { background: radial-gradient(ellipse at 50% 55%, #10100a, #040402); }
.et-shot-bg[data-shot="4"] { background: radial-gradient(ellipse at 20% 60%, #0c1008, #030502); }
.et-shot-bg[data-shot="5"] { background: radial-gradient(ellipse at 70% 50%, #100c08, #040302); }

/* Shot metadata overlay */
.et-shot-meta {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: 0.55rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.72), transparent);
  z-index: 3;
  pointer-events: none;
}
.et-shot-num {
  font-family: var(--font-mono);
  font-size: 0.60rem;
  color: rgba(255,107,0,0.70);
  letter-spacing: 0.14em;
}
.et-shot-tc {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.08em;
}
.et-shot-desc {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  color: rgba(255,255,255,0.20);
  letter-spacing: 0.08em;
  margin-left: auto;
}

/* Result overlay — appears on answer */
.et-result-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.et-result-overlay.et-show { opacity: 1; }

.et-result-text {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.et-result-overlay.et-correct { background: rgba(255,107,0,0.06); }
.et-result-overlay.et-correct .et-result-text { color: #FF6B00; }
.et-result-overlay.et-wrong   { background: rgba(180,40,20,0.08); }
.et-result-overlay.et-wrong   .et-result-text { color: rgba(220,80,50,0.90); }

@keyframes etCorrectPulse {
  0%   { box-shadow: inset 0 0 0px rgba(255,107,0,0); }
  40%  { box-shadow: inset 0 0 40px rgba(255,107,0,0.18); }
  100% { box-shadow: inset 0 0 0px rgba(255,107,0,0); }
}
@keyframes etWrongPulse {
  0%   { box-shadow: inset 0 0 0px rgba(200,50,30,0); }
  40%  { box-shadow: inset 0 0 40px rgba(200,50,30,0.16); }
  100% { box-shadow: inset 0 0 0px rgba(200,50,30,0); }
}
.et-frame.et-pulse-correct { animation: etCorrectPulse 0.7s ease-out; }
.et-frame.et-pulse-wrong   { animation: etWrongPulse   0.7s ease-out; }

/* ── Question body ─────────────────────────────────────────── */

.et-body {
  background: rgba(10,9,8,0.95);
  border: 1px solid rgba(255,107,0,0.12);
  border-top: none;
  padding: 1rem 1.4rem;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.et-screen { width: 100%; }

.et-intro {
  color: rgba(255,255,255,0.45);
  font-size: 0.86rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  max-width: 500px;
}

.et-question {
  color: rgba(255,255,255,0.72);
  font-size: 0.90rem;
  line-height: 1.72;
  margin-bottom: 1.4rem;
  letter-spacing: -0.008em;
}

/* Answer options */
.et-options {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
}

.et-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.58);
  font-size: 0.82rem;
  font-family: var(--font-body);
  line-height: 1.5;
  cursor: pointer;
  text-align: left;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
  letter-spacing: -0.005em;
  border-radius: 4px;
  width: 100%;
}
.et-option:hover:not(:disabled) {
  background: rgba(255,107,0,0.06);
  border-color: rgba(255,107,0,0.30);
  color: rgba(255,255,255,0.82);
}
.et-option-letter {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: rgba(255,107,0,0.50);
  letter-spacing: 0.06em;
  flex-shrink: 0;
  width: 16px;
}
.et-option.et-opt-correct {
  background: rgba(255,107,0,0.10);
  border-color: rgba(255,107,0,0.50);
  color: rgba(255,255,255,0.90);
}
.et-option.et-opt-correct .et-option-letter { color: #FF6B00; }
.et-option.et-opt-wrong {
  background: rgba(180,40,20,0.08);
  border-color: rgba(180,40,20,0.30);
  color: rgba(255,255,255,0.35);
}
.et-option.et-opt-dim {
  opacity: 0.30;
  cursor: default;
}
.et-option:disabled { cursor: default; }

/* ── Action buttons ─────────────────────────────────────────── */

.et-btn {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.80);
  background: transparent;
  border: 1px solid rgba(255,107,0,0.35);
  padding: 0.70rem 2rem;
  cursor: pointer;
  transition: background 0.20s, border-color 0.20s, color 0.20s;
  border-radius: 3px;
}
.et-btn:hover {
  background: rgba(255,107,0,0.08);
  border-color: rgba(255,107,0,0.70);
  color: #fff;
}
.et-btn-next {
  border-color: rgba(255,255,255,0.20);
}
.et-btn-next:hover {
  border-color: rgba(255,107,0,0.60);
  background: rgba(255,107,0,0.06);
}

/* Final screen */
.et-screen-complete { text-align: center; }
.et-final-wrap { margin-bottom: 1.8rem; }
.et-final-score {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  color: #FF6B00;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.et-final-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.50);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.et-final-note {
  font-size: 0.80rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
  max-width: 400px;
  margin: 0 auto 0;
}

/* ── Status bar ─────────────────────────────────────────────── */

.et-statusbar {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(8,7,6,0.98);
  border: 1px solid rgba(255,107,0,0.12);
  border-top: 1px solid rgba(255,107,0,0.08);
}
.et-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.22rem;
  padding: 0.55rem 1.5rem;
  flex: 1;
}
.et-stat-key {
  font-family: var(--font-mono);
  font-size: 0.50rem;
  letter-spacing: 0.20em;
  color: rgba(255,255,255,0.25);
  text-transform: uppercase;
}
.et-stat-val {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.65);
  transition: color 0.3s;
}
.et-stat-val.et-stat-active { color: #FF6B00; }
.et-stat-rule {
  width: 1px;
  height: 28px;
  background: rgba(255,107,0,0.10);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .et-body { padding: 1.4rem 1.2rem; }
  .et-stat { padding: 0.70rem 1rem; }
  .et-shot-desc { display: none; }
  .et-header { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  .et-subtitle { text-align: left; max-width: 100%; }
  #eye-test { padding: 3.5rem 1.5rem 4rem; }
}

@media (prefers-reduced-motion: reduce) {
  .et-scanline { animation: none; }
  .et-frame.et-pulse-correct,
  .et-frame.et-pulse-wrong { animation: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .nav-links { display: none; }
  nav { height: 88px; }

  .hero {
    grid-template-columns: 1fr;
    padding: 8rem 1.5rem 4rem;
    min-height: auto;
  }

  section { padding: 5rem 1.5rem; }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .grid,
  .flow,
  .metrics { grid-template-columns: 1fr; }

  .metric {
    border-right: 0;
    border-bottom: 1px solid var(--card-border);
  }

  main { padding: 3rem 1.5rem 5rem; }

  .row { flex-direction: column; gap: .4rem; }
  .row span:last-child { text-align: left; }

  footer { flex-direction: column; }
}

/* ============================================================
   WORK ARCHIVE — credits list, filters, empty state
   ============================================================ */

.work-intro {
  max-width: 58ch;
  margin-bottom: 3rem;
}

.work-intro p {
  color: rgba(255,255,255,0.5);
  font-size: .95rem;
  line-height: 1.75;
}

.work-filters {
  display: flex;
  gap: 1rem;
  margin: 0 0 0;
  flex-wrap: wrap;
}

.work-filter {
  background: transparent;
  border: 1.5px solid rgba(255,107,0,0.25);
  color: rgba(255,255,255,0.6);
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .08em;
  padding: .45rem 1.25rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}

.work-filter:hover,
.work-filter.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.work-archive {
  margin-top: 2.5rem;
  border-top: 1px solid rgba(255,107,0,0.18);
}

.work-row {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 1.3rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: relative;
  cursor: default;
  transition: background .22s;
}

.work-row::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,107,0,0.5), transparent);
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}

.work-row:hover {
  background: rgba(255,107,0,0.04);
}

.work-row:hover::before {
  opacity: 0.5;
}

.work-year {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  color: rgba(255,107,0,0.65);
  flex-shrink: 0;
}

.work-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: rgba(255,255,255,0.88);
  transition: color .25s, text-shadow .25s;
}

.work-row:hover .work-title {
  color: var(--accent);
  text-shadow: 0 0 10px rgba(255,107,0,0.14);
}

.work-meta {
  font-family: var(--font-mono);
  font-size: .69rem;
  letter-spacing: .07em;
  color: rgba(255,255,255,0.28);
  text-align: right;
  white-space: nowrap;
}

.work-nda-note {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-family: var(--font-mono);
  font-size: .69rem;
  letter-spacing: .06em;
  color: rgba(255,255,255,0.22);
  line-height: 1.7;
  max-width: 72ch;
}

.work-empty {
  display: none;
  padding: 4rem 2rem;
  text-align: center;
  border: 1px solid rgba(255,107,0,0.12);
  border-radius: var(--radius-md);
  margin-top: 2rem;
}

.work-empty p {
  margin-bottom: 2rem;
  max-width: 40ch;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 600px) {
  .work-row {
    grid-template-columns: 3.5rem 1fr;
    grid-template-rows: auto auto;
    gap: .5rem 1rem;
    padding: 1.1rem .5rem;
  }
  .work-meta {
    grid-column: 2;
    text-align: left;
  }
}

.work-archive--preview .work-row {
  padding: .85rem 1rem;
}

/* ============================================================
   PAGE IDENTITY SYSTEM
   Each page carries a body class that scopes atmospheric
   adjustments without touching layout, typography scale,
   or interaction systems.
   ============================================================ */

/* ── WORK — Prestige Production Archive ───────────────────── */

.page-work section {
  background: rgba(5,5,5,0.92);
}

.page-work .page-hero-overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,0.48) 0%, rgba(0,0,0,0.9) 100%);
}

.page-work .work-row {
  padding: 1.7rem 1rem;
  grid-template-columns: 1fr auto;
}

@media (max-width: 600px) {
  .page-work .work-row {
    grid-template-columns: 1fr auto;
    grid-template-rows: unset;
  }
  .page-work .work-meta {
    grid-column: unset;
    text-align: right;
  }
}

.page-work .work-title {
  font-size: 1.32rem;
}

.page-work .work-year {
  color: rgba(255,107,0,0.5);
}

.page-work .work-meta {
  color: rgba(255,255,255,0.22);
}

.page-work .work-row:hover {
  background: rgba(255,107,0,0.025);
}

.page-work .work-row::before {
  background: linear-gradient(90deg, transparent, rgba(255,107,0,0.28), transparent);
}

.page-work .work-row:hover .work-title {
  text-shadow: 0 0 8px rgba(255,107,0,0.10);
}

/* ── SERVICES — Operational Capability Dashboard ──────────── */

.page-services section {
  background: rgba(10,10,10,0.88);
}

.page-services .page-hero-overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,0.22) 0%, rgba(0,0,0,0.7) 100%);
}

.page-services .grid {
  border-color: rgba(255,107,0,0.22);
  background: rgba(255,107,0,0.22);
}

.page-services .card {
  background: #141414;
}

.page-services .card:hover {
  background: #1e1e1e;
  box-shadow: 0 0 40px rgba(255,107,0,0.14);
}

.page-services .card p {
  color: rgba(255,255,255,0.65);
}

.page-services .num {
  color: rgba(255,107,0,0.2);
}

/* ── PIPELINE — Production Control Intelligence ───────────── */

.page-pipeline section {
  background: rgba(7,7,7,0.9);
}

.page-pipeline .kicker {
  letter-spacing: .22em;
}

.page-pipeline .flow {
  border-color: rgba(255,255,255,0.11);
  background: rgba(255,255,255,0.11);
}

.page-pipeline .step b {
  color: rgba(255,107,0,0.82);
  letter-spacing: .20em;
}

.page-pipeline .metrics {
  border-top-color: rgba(255,107,0,0.22);
  border-bottom-color: rgba(255,107,0,0.22);
}

.page-pipeline .metric {
  border-right-color: rgba(255,107,0,0.18);
}

.page-pipeline .metric strong {
  color: rgba(255,107,0,0.78);
  letter-spacing: -.05em;
}

.page-pipeline .metric span {
  letter-spacing: .18em;
  color: rgba(255,255,255,0.38);
}

/* ── EYE TEST — Hidden Review Lab ────────────────────────── */

.page-eye-test section {
  background: rgba(4,4,4,0.96);
}

.page-eye-test .page-hero-overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,0.52) 0%, rgba(0,0,0,0.93) 100%);
}

.page-eye-test .et-frame {
  border-color: rgba(255,107,0,0.28);
  box-shadow: 0 0 60px rgba(0,0,0,0.7), inset 0 0 40px rgba(0,0,0,0.4);
}

.page-eye-test .et-c-tl,
.page-eye-test .et-c-tr,
.page-eye-test .et-c-bl,
.page-eye-test .et-c-br {
  width: 16px;
  height: 16px;
  border-color: rgba(255,107,0,0.72);
}

.page-eye-test .et-scanline {
  background: linear-gradient(90deg, transparent, rgba(255,107,0,0.18), transparent);
}

.page-eye-test .et-panel {
  filter: drop-shadow(0 0 48px rgba(0,0,0,0.85));
}

/* ============================================================
   SCROLL CUE — homepage hero bottom indicator
   ============================================================ */

.scroll-cue {
  position: absolute;
  bottom: 2.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;
  pointer-events: none;
}

.scroll-cue-line {
  width: 1px;
  height: 2.6rem;
  background: linear-gradient(to bottom, rgba(255,107,0,0.52), transparent);
  animation: scrollCue 2.8s ease-in-out infinite;
  transform-origin: top center;
}

@keyframes scrollCue {
  0%, 100% { opacity: 0.32; }
  50%       { opacity: 0.82; }
}

@media (max-width: 768px) {
  .scroll-cue { display: none; }
}

/* ── Nav responsive — tighten before 900px hides links ─── */

@media (max-width: 768px) {
  header.hero,
  .hero,
  body.page-home header {
    background-image: none !important;
    background-color: #0a0a0a !important;
  }

  body.page-home {
    background-image: none !important;
  }

  .hero-bg-img {
    display: block;
  }

  .hero-overlay {
    background: rgba(0,0,0,0.45) !important;
    z-index: 1 !important;
    pointer-events: none !important;
  }

  .hero-content,
  .hero-panel,
  .scroll-cue {
    position: relative;
    z-index: 2;
  }

}

@media (max-width: 767.98px) {
  body.page-home nav { display: none; }

  body.page-home .mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: block;
    background: rgba(6,6,6,0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,107,0,0.12);
  }

  .mobile-nav-row {
    background: rgba(6,6,6,0.92);
  }

  .mobile-nav-brand {
    padding: 12px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .mobile-logo {
    display: flex;
    align-items: center;
  }

  .mobile-nav-links {
    padding: 6px 12px;
    display: flex;
    justify-content: center;
    gap: 4px;
    border-top: 1px solid #222;
  }

  .mobile-nav-links a {
    color: #888;
    font-size: 12px;
    line-height: 1;
    padding: 6px 10px;
    text-decoration: none;
  }

  .mobile-nav-actions {
    padding: 8px 14px;
    display: flex;
    gap: 8px;
    border-top: 1px solid #222;
  }

  .mobile-nav-primary,
  .mobile-nav-secondary {
    flex: 1;
    border-radius: 20px;
    padding: 10px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-decoration: none;
  }

  .mobile-nav-primary {
    background: #FF6B2B;
    color: #ffffff;
  }

  .mobile-nav-secondary {
    background: transparent;
    color: #FF6B2B;
    border: 1.5px solid #FF6B2B;
  }

  body.page-home .hero {
    padding-top: 10rem;
  }

}

@media (max-width: 768px) {
  .mobile-nav-ctas {
    display: none;
    transition: all 0.3s ease;
  }

  .mobile-nav-ctas.visible {
    display: flex;
  }
}

@media (max-width: 1100px) {
  .nav-links {
    gap: 1rem;
    font-size: .7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue-line { animation: none; opacity: 0.45; }
}

/* ============================================================
   MOBILE OVERRIDES — iPhone and Android (max-width: 768px)
   ============================================================ */

@media (max-width: 768px) {

  /* Fix background image showing on mobile — world map only */
  body.page-home {
    background-attachment: scroll !important;
    background-position: center center !important;
  }

  .page-hero {
    background-attachment: scroll !important;
    background-position: center center !important;
  }

  /* Fix badge text — .kicker class */
  .kicker {
    font-size: 9px !important;
    letter-spacing: 0.5px !important;
    line-height: 1.4 !important;
  }

  /* Fix hero font sizes */
  .hero h1, .hero-headline, [class*="hero-title"] {
    font-size: 28px !important;
    line-height: 1.1 !important;
    margin-bottom: 12px !important;
  }

  /* Fix description text */
  .hero p, .hero-body, .hero-description {
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin-bottom: 16px !important;
  }

  /* Reduce hero bottom padding and min-height */
  .hero {
    padding-bottom: 20px !important;
    min-height: auto !important;
  }

  .page-hero {
    min-height: auto !important;
  }

  /* Fix snapshot table row wrapping — panel-row value text */
  .panel-row span:last-child {
    font-size: 11px !important;
  }

  [class*="snapshot"] tr,
  [class*="snapshot"] .row,
  [class*="snapshot-row"] {
    display: flex !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
  }

  [class*="snapshot"] td:last-child,
  [class*="snapshot-value"],
  [class*="snapshot"] .value {
    text-align: right !important;
    max-width: 55% !important;
    flex-shrink: 0 !important;
  }

}

/* ============================================================
   FORM PAGES — compact page-hero, card height
   ============================================================ */

.page-form .page-hero {
  min-height: 170px;
  padding: 1.8rem var(--gutter);
}

.page-form .card { min-height: 160px; }

/* ============================================================
   EYE TEST — compact page-hero + frame height limit
   ============================================================ */

.page-eye-test .page-hero {
  min-height: 170px;
  padding: 1.8rem var(--gutter);
}

.page-eye-test .et-frame {
  max-height: 420px;
}

/* ============================================================
   START PROJECT — intro block
   ============================================================ */

.sp-intro {
  max-width: 520px;
  margin: 0 auto 1.8rem;
  text-align: center;
}

.sp-intro-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.sp-intro-copy {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.sp-strip {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.sp-strip-item {
  font-family: var(--font-mono);
  font-size: 0.60rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,107,0,0.72);
  border: 1px solid rgba(255,107,0,0.22);
  padding: 0.30rem 0.80rem;
  border-radius: var(--radius-pill);
}

/* ============================================================
   HOMEPAGE HERO — heading and spacing overrides
   ============================================================ */

.hero h1 {
  font-size: clamp(2.6rem, 4vw, 4.8rem);
  line-height: 0.94;
  margin-bottom: 1rem;
}

.hero .kicker {
  margin-bottom: 0.35rem;
}

@media (max-width: 768px) {
  .hero {
    background-position: center center;
  }

  .hero .kicker {
    font-size: 9px;
    letter-spacing: 1px;
    line-height: 1.4;
    margin-bottom: 12px;
  }

  .hero h1 {
    font-size: 32px;
    line-height: 1.05;
    margin-bottom: 16px;
  }

  .hero-copy {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .hero .actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    margin-bottom: 14px;
  }

  .hero .actions .btn {
    flex: 1;
    min-width: 0;
    padding: 10px 8px;
    font-size: 12px;
    text-align: center;
    white-space: nowrap;
  }

  .micro-proof {
    font-size: 12px;
    color: #888;
    margin-top: 8px;
  }
}

/* ============================================================
   NAV — always restore native cursor, overrides rocket canvas
   ============================================================ */

nav,
nav * {
  cursor: auto !important;
}

nav a,
nav button,
nav .nav-cta {
  cursor: pointer !important;
}

/* ============================================================
   CONTACT PAGE — email card and layout
   ============================================================ */

.contact-card {
  max-width: 560px;
  margin: 0 auto 1.5rem;
  background: #111111;
  border: 1px solid rgba(255,107,0,0.2);
  border-radius: 14px;
  padding: 1.4rem 1.6rem;
  text-align: center;
}

.contact-card-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.20em;
  color: rgba(255,255,255,0.30);
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.contact-card-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.contact-card-row-key {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.32);
  flex-shrink: 0;
}

.contact-card-email {
  display: inline;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: clamp(0.85rem, 1.5vw, 1.1rem);
  letter-spacing: 0.02em;
  text-decoration: none;
}

.contact-card-note {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: rgba(255,255,255,0.22);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ============================================================
   CONTACT PAGE — differentiated from Start Project
   ============================================================ */

.page-contact main {
  padding: 3.5rem var(--gutter) 6rem;
}

.page-contact .sp-intro {
  margin-bottom: 2.4rem;
}

.page-contact .contact-card {
  margin-bottom: 2rem;
}

/* ============================================================
   TALENT STRIP — homepage entry point for VFX artists
   ============================================================ */

.talent-strip {
  border-top: 1px solid rgba(255,107,0,0.12);
  border-bottom: 1px solid rgba(255,107,0,0.12);
  padding: 1.6rem var(--gutter);
  background: rgba(10,9,8,0.88);
}

.talent-strip-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .talent-strip-inner { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   TALENT INTAKE CONSOLE
   ============================================================ */

.page-talent-intake main {
  padding: 2.5rem var(--gutter) 5rem;
  text-align: left;
}

/* Console wrapper */
.ti-console {
  max-width: 640px;
  margin: 0 auto;
}

/* Strip .form box styling inside console */
.ti-console .form {
  max-width: none;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 0;
}

/* Intro block */
.ti-intro {
  margin-bottom: 2.2rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid rgba(255,107,0,0.14);
}

.ti-intro-copy {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.48);
  line-height: 1.78;
  max-width: 520px;
}

.ti-intro-strip {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1.1rem;
}

.ti-strip-pill {
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,107,0,0.58);
  border: 1px solid rgba(255,107,0,0.18);
  padding: 0.25rem 0.68rem;
  border-radius: var(--radius-pill);
}

/* Section blocks */
.ti-section {
  padding: 1.8rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.ti-section:last-of-type { border-bottom: 0; }

.ti-section-head { margin-bottom: 1.25rem; }

.ti-section-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.53rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.70;
  margin-bottom: 0.35rem;
}

.ti-section-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.84);
  text-transform: uppercase;
  margin: 0;
}

/* Field grid — 2 columns desktop */
.ti-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.2rem;
}

.ti-field {
  display: flex;
  flex-direction: column;
}

.ti-full { grid-column: 1 / -1; }

/* Labels inside console */
.ti-console label {
  font-size: 0.69rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.42);
  margin-bottom: 0.34rem;
  font-weight: 500;
  text-transform: uppercase;
}

/* Inputs inside console */
.ti-console input,
.ti-console select,
.ti-console textarea {
  background: rgba(14,12,10,0.90);
  border: 1px solid rgba(255,107,0,0.14);
  border-radius: 5px;
  color: rgba(255,255,255,0.85);
  padding: 0.60rem 0.82rem;
  font-size: 0.83rem;
  margin-bottom: 0.76rem;
  width: 100%;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.ti-console input:focus,
.ti-console select:focus,
.ti-console textarea:focus {
  border-color: rgba(255,107,0,0.48);
  box-shadow: 0 0 0 2px rgba(255,107,0,0.055);
  outline: none;
}

.ti-console textarea { min-height: 86px; resize: vertical; }

/* Checkbox groups */
.ti-check-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.9rem;
  margin-bottom: 0.76rem;
}

.ti-check-item {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  cursor: pointer;
  font-size: 0.79rem;
  color: rgba(255,255,255,0.58);
  line-height: 1;
  white-space: nowrap;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  margin-bottom: 0;
}

.ti-console .ti-check-item {
  color: rgba(255,255,255,0.58);
}

.ti-check-item input[type="checkbox"] {
  width: 13px;
  height: 13px;
  min-width: 13px;
  padding: 0;
  margin: 0;
  margin-bottom: 0 !important;
  border: 1px solid rgba(255,107,0,0.26);
  background: rgba(14,12,10,0.90);
  border-radius: 3px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}

/* Required marker */
.ti-req {
  color: rgba(255,107,0,0.65);
  font-size: 0.58rem;
  margin-left: 0.18rem;
  font-weight: 400;
}

/* Submit zone */
.ti-submit {
  padding: 1.6rem 0 0;
  border-top: 1px solid rgba(255,107,0,0.12);
  margin-top: 0.4rem;
}

.ti-submit-note {
  font-family: var(--font-mono);
  font-size: 0.60rem;
  color: rgba(255,255,255,0.24);
  text-align: center;
  margin-top: 0.85rem;
  letter-spacing: 0.06em;
}

/* Admin divider */
.ti-admin-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  margin-bottom: 1rem;
}

.ti-admin-divider-label {
  font-family: var(--font-mono);
  font-size: 0.50rem;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(255,107,0,0.26);
  white-space: nowrap;
}

.ti-admin-divider-line {
  flex: 1;
  height: 1px;
  background: rgba(255,107,0,0.08);
}

/* Admin panel fieldsets */
.ti-admin {
  background: rgba(7,6,5,0.68);
  border: 1px solid rgba(255,107,0,0.07);
  border-radius: 8px;
  padding: 1.4rem 1.5rem;
  margin-bottom: 0.75rem;
  min-width: 0;
}

.ti-admin-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.ti-admin-badge {
  font-family: var(--font-mono);
  font-size: 0.48rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,107,0,0.28);
  border: 1px solid rgba(255,107,0,0.10);
  padding: 0.20rem 0.56rem;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
  white-space: nowrap;
}

.ti-admin .ti-section-label {
  color: rgba(255,107,0,0.32);
  opacity: 0.8;
}

.ti-admin .ti-section-title {
  color: rgba(255,255,255,0.30);
}

.ti-admin label,
.ti-admin .ti-check-item {
  color: rgba(255,255,255,0.22) !important;
}

.ti-admin input,
.ti-admin select,
.ti-admin textarea {
  background: rgba(9,8,7,0.50) !important;
  border-color: rgba(255,255,255,0.05) !important;
  color: rgba(255,255,255,0.18) !important;
  box-shadow: none !important;
}

.ti-admin input:focus,
.ti-admin select:focus,
.ti-admin textarea:focus {
  border-color: rgba(255,255,255,0.05) !important;
  box-shadow: none !important;
  outline: none;
}

/* Mobile */
@media (max-width: 640px) {
  .ti-fields { grid-template-columns: 1fr; }
  .ti-full { grid-column: 1; }
  .ti-section { padding: 1.5rem 0; }
  .ti-admin { padding: 1.1rem; }
  .page-talent-intake main { padding: 2rem var(--gutter) 3.5rem; }
  .ti-admin-header { flex-direction: column; gap: 0.6rem; }
}

@media (max-width: 768px) {
  .hero-bg-img {
    display: block !important;
    opacity: 0.4 !important;
  }

  .hero-overlay {
    display: block !important;
    background: rgba(0,0,0,0.6) !important;
  }
}
/* Cookie notice */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(20,20,20,0.97);
  border-top: 1px solid #FF6B00;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  z-index: 9999;
}
.cookie-notice button {
  background: #FF6B00;
  color: white;
  border: none;
  padding: 0.4rem 1.2rem;
  cursor: pointer;
  font-size: 0.82rem;
}
.track-status-pill.reviewed {
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.12);
  font-weight: normal;
}
.pool-closed-notice {
  text-align: center;
  padding: 3rem 2rem;
  border: 1px solid rgba(255,107,0,0.3);
  margin: 2rem 0;
}
.pool-closed-title {
  font-size: 1.2rem;
  color: #FF6B00;
  font-weight: bold;
  margin-bottom: 1rem;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.pool-closed-message {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  max-width: 500px;
  margin: 0 auto;
}
