/* P E Services KENT — styles */
:root {
  --bg: #060a13;
  --bg-2: #0a101d;
  --panel: #0e1626;
  --panel-2: #121c30;
  --line: rgba(148, 163, 184, .12);
  --line-2: rgba(148, 163, 184, .22);
  --text: #e6ebf3;
  --muted: #94a3b8;
  --dim: #64748b;
  --accent: #f59e0b;
  --accent-2: #fbbf24;
  --accent-deep: #d97706;
  --cyan: #38bdf8;
  --radius: 14px;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--accent); color: #0b0f1a; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.mono { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
em { font-style: normal; background: linear-gradient(90deg, var(--accent-2), var(--accent-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 2000; background: var(--accent); color: #000; padding: .5rem 1rem; border-radius: 6px; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(6, 10, 19, .72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; transition: height .3s; }
.scrolled .nav { height: 64px; }
.logo { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font: 700 1.05rem/1 var(--font-display); letter-spacing: .02em; }
.logo b { color: var(--accent); font-weight: 700; }
.logo-mark { width: 32px; height: 32px; color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { text-decoration: none; font-size: .9rem; font-weight: 500; color: var(--muted); position: relative; transition: color .2s; }
.nav-links a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { padding: .55rem 1.1rem; border: 1px solid var(--line-2); border-radius: 999px; color: var(--text) !important; transition: border-color .2s, background .2s !important; }
.nav-cta:hover { border-color: var(--accent); background: rgba(245, 158, 11, .08); }
.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--line-2); border-radius: 10px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); transition: transform .3s var(--ease), top .3s; }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.6rem; border-radius: 10px; border: 1px solid transparent;
  font: 600 .95rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .3s, background .2s, border-color .2s;
  position: relative; overflow: hidden;
}
.btn-primary { background: linear-gradient(135deg, var(--accent-2), var(--accent-deep)); color: #140c00; box-shadow: 0 10px 30px -10px rgba(245, 158, 11, .6), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-primary::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(245, 158, 11, .75), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-primary:hover::before { transform: translateX(120%); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--muted); background: rgba(255,255,255,.05); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 90px; overflow: hidden; isolation: isolate; }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-vignette { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 75% 40%, rgba(245, 158, 11, .10), transparent 70%),
    radial-gradient(ellipse 80% 70% at 20% 60%, rgba(56, 189, 248, .06), transparent 70%),
    linear-gradient(180deg, rgba(6,10,19,.2) 0%, rgba(6,10,19,0) 40%, var(--bg) 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; padding: .45rem .9rem .45rem .7rem; border: 1px solid rgba(245, 158, 11, .35); border-radius: 999px; background: rgba(245, 158, 11, .07); font: 500 .75rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 1.75rem; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(245,158,11,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(245,158,11,0); } 100% { box-shadow: 0 0 0 0 rgba(245,158,11,0); } }
.hero h1 { font: 700 clamp(2.4rem, 6vw, 4.6rem)/1.02 var(--font-display); letter-spacing: -.035em; margin-bottom: 1.5rem; }
.lede { font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 38rem; margin-bottom: 2.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.75rem; }
.hero-sectors { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.hero-sectors li { font: 500 .78rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); display: flex; align-items: center; gap: .6rem; }
.hero-sectors li::before { content: ""; width: 14px; height: 1px; background: var(--accent); }

/* HUD */
.hud {
  position: relative; border-radius: 18px; padding: 1.4rem;
  background: linear-gradient(180deg, rgba(18, 28, 48, .78), rgba(10, 16, 29, .78));
  border: 1px solid var(--line-2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.02) inset;
  transform-style: preserve-3d; transition: transform .4s var(--ease);
}
.hud::before, .hud::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid var(--accent); pointer-events: none; }
.hud::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; border-top-left-radius: 18px; }
.hud::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; border-bottom-right-radius: 18px; }
.hud-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1rem; border-bottom: 1px dashed var(--line-2); }
.hud-live { display: inline-flex; align-items: center; gap: .45rem; font: 500 .68rem/1 var(--font-mono); letter-spacing: .14em; color: #4ade80; }
.hud-live i { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 10px #4ade80; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.hud-metric { padding: 1.25rem 0 .5rem; }
.hud-label { display: block; margin-bottom: .4rem; }
.hud-value { font: 700 clamp(2.8rem, 5vw, 3.8rem)/1 var(--font-display); letter-spacing: -.04em; background: linear-gradient(180deg, #fff, #c7d0dd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hud-spark { width: 100%; height: 60px; margin-top: .75rem; }
.spark-line { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 2.4s .6s var(--ease) forwards; filter: drop-shadow(0 0 6px rgba(245,158,11,.6)); }
.spark-fill { opacity: 0; animation: fade 1s 1.6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
.hud-stages { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin: 1rem 0 1.25rem; }
.hud-stages li { font: 500 .58rem/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--dim); text-align: center; padding-top: 10px; position: relative; transition: color .3s; }
.hud-stages li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 2px; background: var(--line-2); transition: background .3s, box-shadow .3s; }
.hud-stages li.on { color: var(--text); }
.hud-stages li.on::before { background: var(--accent); box-shadow: 0 0 10px rgba(245,158,11,.6); }
.hud-rows { display: grid; gap: 0; border-top: 1px dashed var(--line-2); }
.hud-rows div { display: flex; justify-content: space-between; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: .85rem; }
.hud-rows div:last-child { border-bottom: 0; padding-bottom: 0; }
.hud-rows dt { color: var(--muted); }
.hud-rows dd { font-family: var(--font-mono); font-size: .8rem; color: var(--text); }

.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid var(--line-2); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--accent); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 1.15rem 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 2.25rem; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font: 600 1.05rem/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.marquee i { font-style: normal; color: var(--accent); font-size: .6rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(5rem, 10vw, 8.5rem) 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); }
.section-alt::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000, transparent 75%);
}
.section > .wrap { position: relative; }
.kicker { display: flex; align-items: center; gap: .9rem; font: 600 .8rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 1.25rem; }
.kicker .mono { color: var(--accent); padding: .3rem .5rem; border: 1px solid rgba(245,158,11,.35); border-radius: 6px; }
h2 { font: 700 clamp(1.9rem, 4.2vw, 3.2rem)/1.08 var(--font-display); letter-spacing: -.03em; margin-bottom: 1.5rem; max-width: 22ch; }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.about-copy > p:not(.kicker) { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.1rem; max-width: 40rem; }
.about-copy strong { color: var(--text); }
.about-panel { padding: clamp(1.75rem, 3vw, 2.5rem); border-radius: 20px; background: radial-gradient(ellipse at top, rgba(245,158,11,.08), transparent 60%), var(--panel); border: 1px solid var(--line-2); }
.big-metric { position: relative; width: min(240px, 70%); aspect-ratio: 1; margin: 0 auto 1.75rem; }
.ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 6; }
.ring-track { stroke: var(--line-2); }
.ring-fill { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 603; stroke-dashoffset: 603; transition: stroke-dashoffset 2.2s var(--ease); filter: drop-shadow(0 0 8px rgba(245,158,11,.55)); }
.in .ring-fill { stroke-dashoffset: 60; }
.ring-ticks line { stroke: var(--line-2); stroke-width: 1; }
.big-metric-inner { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.big-metric-inner strong { font: 700 clamp(2.2rem, 4vw, 2.9rem)/1.05 var(--font-display); letter-spacing: -.04em; margin: .25rem 0; }
.big-metric-inner > span:last-child { font-size: .85rem; color: var(--muted); }
.metric-desc { color: var(--muted); text-align: center; font-size: .95rem; max-width: 30rem; margin: 0 auto 1.75rem; }
.metric-desc b { color: var(--text); font-weight: 600; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.mini-stats div { padding: 1.25rem .5rem 0; text-align: center; border-right: 1px solid var(--line); }
.mini-stats div:last-child { border-right: 0; }
.mini-stats b { display: block; font: 700 1.9rem/1 var(--font-display); color: var(--accent-2); margin-bottom: .4rem; }
.mini-stats span { font-size: .75rem; color: var(--muted); line-height: 1.3; display: block; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.25rem; position: relative; padding-top: 2.5rem; }
.timeline::before, .timeline::after { content: ""; position: absolute; top: 11px; left: 0; height: 2px; }
.timeline::before { right: 0; background: var(--line-2); }
.timeline::after { width: calc(var(--progress, 0) * 100%); background: linear-gradient(90deg, var(--accent-deep), var(--accent-2)); box-shadow: 0 0 14px rgba(245,158,11,.7); transition: width .2s linear; }
.timeline li { position: relative; }
.t-node { position: absolute; top: -2.5rem; left: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); z-index: 1; transition: border-color .4s, box-shadow .4s; }
.t-node::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--line-2); transition: background .4s; }
.timeline li.lit .t-node { border-color: var(--accent); box-shadow: 0 0 0 6px rgba(245,158,11,.12); }
.timeline li.lit .t-node::after { background: var(--accent); }
.timeline h3 { font: 600 1.12rem/1.25 var(--font-display); margin: .55rem 0 .5rem; }
.timeline p { font-size: .9rem; color: var(--muted); }

/* ---------- Bento cards ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 1.1rem; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; padding: 1.75rem; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line);
  overflow: hidden; transition: transform .35s var(--ease), border-color .3s;
}
.card::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(245,158,11,.12), transparent 45%); }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; opacity: 0; transition: opacity .3s; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(245,158,11,.75), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.card:hover::before, .card:hover::after { opacity: 1; }
.card-lg { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 320px;
  background: radial-gradient(ellipse at 100% 0%, rgba(245,158,11,.14), transparent 55%), linear-gradient(160deg, var(--panel-2), var(--panel)); }
.card-art { position: absolute; top: 0; right: 0; width: 78%; height: 72%; pointer-events: none; opacity: .9;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at 70% 30%, #000 30%, transparent 75%); }
.card-art .ln { fill: none; stroke: rgba(148,163,184,.28); stroke-width: 1; stroke-dasharray: 3 4; animation: dash 18s linear infinite; }
.card-art .nd { fill: var(--bg); stroke: rgba(148,163,184,.55); stroke-width: 1.2; }
.card-art .hub { fill: rgba(245,158,11,.15); stroke: var(--accent); stroke-width: 1.5; }
.card-art .orb { fill: none; stroke: rgba(245,158,11,.25); stroke-width: 1; }
.card-art .pk { fill: var(--accent-2); filter: drop-shadow(0 0 4px var(--accent)); }
@keyframes dash { to { stroke-dashoffset: -140; } }
.card-lg h3, .card-lg p { position: relative; }
.card-lg .card-top { position: absolute; top: 1.75rem; left: 1.75rem; right: 1.75rem; }
.card-lg h3 { font-size: 1.7rem; }
.card-lg p { font-size: 1.02rem; max-width: 32rem; }
.card-wide { grid-column: span 2; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.5rem; }
.card-top svg { width: 46px; height: 46px; padding: 11px; border-radius: 12px; background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.25); fill: none; stroke: var(--accent-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font: 600 1.14rem/1.25 var(--font-display); margin-bottom: .6rem; letter-spacing: -.01em; }
.card p { color: var(--muted); font-size: .92rem; }

/* ---------- Sectors ---------- */
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.sector { position: relative; padding: 1.75rem; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel-2), var(--panel)); overflow: hidden; transition: transform .35s var(--ease), border-color .3s; }
.sector:hover { transform: translateY(-4px); border-color: rgba(245,158,11,.4); }
.sector-art { width: 100%; height: 120px; margin-bottom: 1.5rem; fill: none; stroke: var(--cyan); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; opacity: .55; transition: stroke .4s, opacity .4s; }
.sector-art * { stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 2s var(--ease); }
.sector.in .sector-art * { stroke-dashoffset: 0; }
.sector:hover .sector-art { stroke: var(--accent-2); opacity: 1; }
.sector h3 { font: 700 1.5rem/1.2 var(--font-display); margin: .4rem 0 .6rem; }
.sector p { color: var(--muted); font-size: .92rem; }

/* ---------- Statement ---------- */
.statement { padding: clamp(4rem, 9vw, 7rem) 0; border-block: 1px solid var(--line); background: radial-gradient(ellipse 60% 100% at 50% 50%, rgba(245,158,11,.06), transparent 70%), var(--bg-2); }
.statement-text { font: 600 clamp(1.6rem, 4vw, 3rem)/1.2 var(--font-display); letter-spacing: -.025em; text-align: center; max-width: 24ch; margin: 0 auto; }
.statement-text span { color: var(--dim); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.contact-copy > p:not(.kicker) { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.75rem; max-width: 34rem; }
.checklist { list-style: none; display: grid; gap: .85rem; }
.checklist li { display: flex; align-items: center; gap: .8rem; color: var(--text); font-size: .98rem; }
.checklist li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 6px; border: 1px solid rgba(245,158,11,.4); background: rgba(245,158,11,.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fbbf24' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/13px no-repeat; }
.contact-email { display: inline-flex; flex-direction: column; gap: .35rem; margin-top: 2rem; padding: 1rem 1.25rem; border: 1px solid var(--line-2); border-radius: 12px; text-decoration: none; font: 600 1.1rem/1.2 var(--font-display); transition: border-color .2s, background .2s; }
.contact-email:hover { border-color: var(--accent); background: rgba(245,158,11,.06); }
.form { padding: clamp(1.5rem, 3.5vw, 2.5rem); border-radius: 20px; background: var(--panel); border: 1px solid var(--line-2); box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { position: relative; margin-bottom: 1rem; }
.field input, .field textarea {
  width: 100%; padding: 1.5rem 1rem .6rem; border-radius: 10px;
  background: var(--bg-2); border: 1px solid var(--line-2); color: var(--text);
  font: 400 1rem/1.4 var(--font-body); transition: border-color .2s, box-shadow .2s, background .2s; resize: vertical;
}
.field textarea { min-height: 150px; }
.field label { position: absolute; left: 1rem; top: 1.05rem; color: var(--dim); font-size: .98rem; pointer-events: none; transform-origin: left top; transition: transform .2s var(--ease), color .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #0c1322; box-shadow: 0 0 0 4px rgba(245,158,11,.12); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-.62rem) scale(.76); color: var(--accent-2); }
.field.invalid input, .field.invalid textarea { border-color: #f87171; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1rem; font-size: .92rem; min-height: 1.4em; color: var(--muted); }
.form-status.ok { color: #4ade80; }
.form-status.err { color: #f87171; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 4rem 0 2rem; background: var(--bg); }
.footer-grid { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.footer-grid p { color: var(--muted); font-size: .92rem; margin-top: 1rem; max-width: 26rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; align-items: center; }
.footer nav a { color: var(--muted); text-decoration: none; font-size: .92rem; transition: color .2s; }
.footer nav a:hover { color: var(--accent-2); }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 2rem; padding-top: 1.75rem; font-size: .82rem; color: var(--dim); }

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

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .sectors { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 3.5rem; }
  .timeline::before, .timeline::after { display: none; }
}
@media (max-width: 920px) {
  .hero-grid, .about, .contact { grid-template-columns: 1fr; }
  .hud { max-width: 520px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 85vw);
    flex-direction: column; align-items: flex-start; gap: 1.5rem; padding: 96px 28px 28px;
    background: rgba(8, 13, 24, .97); border-left: 1px solid var(--line-2);
    transform: translateX(100%); transition: transform .4s var(--ease); z-index: -1;
  }
  .nav-links.open { transform: none; }
  .nav-links a { font-size: 1.15rem; }
}
@media (max-width: 640px) {
  .bento, .sectors { grid-template-columns: 1fr; }
  .card-lg, .card-wide { grid-column: auto; grid-row: auto; }
  .card-lg { min-height: 280px; }
  .timeline { grid-template-columns: 1fr; padding-top: 0; padding-left: 2.75rem; row-gap: 2rem; }
  .timeline::before { display: block; top: 0; bottom: 0; left: 11px; right: auto; width: 2px; height: auto; }
  .t-node { top: 0; left: -2.75rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .hud-stages li { font-size: .5rem; }
  .scroll-cue { display: none; }
  #hero-canvas { opacity: .55; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
}
