/* ============================================================
   GALE FORCE — sections.css
   Hero, capabilities, approach, contact, footer.
   ============================================================ */

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}
/* wind canvas behind everything */
#wind { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }

/* radial vignette + horizon glow */
.hero-atmos {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% 18%, transparent 40%, rgba(6,7,10,0.55) 100%),
    radial-gradient(60% 50% at 50% 110%, var(--accent-ghost), transparent 70%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(100% 100% at 50% 0%, #000 30%, transparent 75%);
}

.hero-inner {
  position: relative; z-index: 3;
  width: 100%; max-width: var(--container);
  margin: 0 auto; padding-inline: var(--gutter);
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
}

.hero-eyebrow { margin-bottom: 26px; }
.hero h1 { margin-bottom: 24px; }
.hero h1 .l2 { display: block; }
.hero .lead { margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-meta {
  margin-top: 34px; display: flex; gap: 38px; flex-wrap: wrap;
  padding-top: 22px; border-top: 1px solid var(--line-soft);
}
.hero-meta .stat .n { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.hero-meta .stat .n .accent-text { font-weight: 700; }
.hero-meta .stat .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); margin-top: 4px; }

/* 3D logo stage */
.logo-stage {
  position: relative; perspective: 1100px;
  display: flex; align-items: center; justify-content: center;
  min-height: 460px;
}
.logo-3d {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform .12s ease-out;
}
.logo-3d img { width: min(46vw, 540px); height: auto; }
.logo-main { position: relative; z-index: 2; filter: drop-shadow(0 24px 60px rgba(0,0,0,0.6)); transform: translateZ(60px); }
/* echo layers for depth */
.logo-echo { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.logo-echo img { opacity: .14; }
.logo-echo.e1 img { transform: translateZ(-40px) scale(1.02); filter: blur(1px); }
.logo-echo.e2 img { transform: translateZ(-110px) scale(1.05); opacity: .06; filter: blur(3px); }
/* accent aura */
.logo-aura {
  position: absolute; left: 50%; top: 50%;
  width: 70%; aspect-ratio: 1; translate: -50% -50%;
  background: radial-gradient(circle, var(--accent-glow), transparent 62%);
  filter: blur(40px); opacity: .55; z-index: 0; transform: translateZ(-20px);
  animation: auraPulse 6s ease-in-out infinite;
}
@keyframes auraPulse { 0%,100%{opacity:.4; scale:.96;} 50%{opacity:.7; scale:1.04;} }

/* sweeping shimmer constrained to the logo silhouette */
.logo-sheen {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,0.55) 50%, transparent 58%);
  background-size: 260% 100%; background-repeat: no-repeat;
  -webkit-mask: url("assets/logo-white.png") center/contain no-repeat;
          mask: url("assets/logo-white.png") center/contain no-repeat;
  mix-blend-mode: screen;
  transform: translateZ(64px);
  animation: sheen 7.5s ease-in-out infinite;
}
@keyframes sheen { 0%,72%,100%{ background-position: 160% 0; } 86%{ background-position: -60% 0; } }

.scroll-cue {
  position: absolute; bottom: 30px; left: 50%; translate: -50% 0; z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.3em; color: var(--faint); text-transform: uppercase;
}
.scroll-cue .bar { width: 1px; height: 46px; background: linear-gradient(var(--accent), transparent); position: relative; overflow: hidden; }
.scroll-cue .bar::after { content:""; position:absolute; top:-50%; left:0; width:100%; height:50%; background: var(--accent); box-shadow:0 0 8px var(--accent); animation: drop 2.4s ease-in-out infinite; }
@keyframes drop { 0%{ top:-50%;} 60%,100%{ top:100%;} }

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

@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; gap: 8px; padding-top: 96px; }
  .logo-stage { min-height: 320px; order: -1; }
  .logo-3d img { width: min(70vw, 420px); }
  .hero { min-height: auto; padding-bottom: 80px; }
}

/* ===================== MARQUEE STRIP ===================== */
.strip { border-block: 1px solid var(--line-soft); background: var(--bg-2); overflow: hidden; }
.marquee { display: flex; gap: 0; white-space: nowrap; will-change: transform; animation: slide 32s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee .item { display: inline-flex; align-items: center; gap: 18px; padding: 20px 34px; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.marquee .item .dot { width: 6px; height: 6px; background: var(--accent); transform: rotate(45deg); flex: none; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ===================== CAPABILITIES ===================== */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 64px; flex-wrap: wrap; }
.section-head .lead { margin-top: 22px; }

.cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 760px){ .cap-grid { grid-template-columns: 1fr; } }

.cap {
  position: relative; padding: 36px 34px 40px;
  background: linear-gradient(160deg, var(--panel), var(--bg-2));
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s;
  min-height: 260px; display: flex; flex-direction: column;
}
.cap::before { /* circuit corner */
  content: ""; position: absolute; top: 0; right: 0; width: 120px; height: 120px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' fill='none' stroke='%23ffffff' stroke-opacity='0.12'%3E%3Cpath d='M120 24H86l-12 12H44'/%3E%3Cpath d='M120 52H72l-10 10H40'/%3E%3Ccircle cx='44' cy='36' r='3' fill='%23ffffff' fill-opacity='0.16' stroke='none'/%3E%3Ccircle cx='40' cy='62' r='3' fill='%23ffffff' fill-opacity='0.16' stroke='none'/%3E%3C/svg%3E");
  opacity: .8; transition: opacity .4s;
}
.cap:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1px var(--accent), 0 30px 60px -30px rgba(0,0,0,0.8); }
.cap:hover::before { opacity: 0; }
.cap-accent { position:absolute; left:0; top:0; bottom:0; width: 3px; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.cap:hover .cap-accent { transform: scaleY(1); }
.cap .num { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em; color: var(--faint); }
.cap .glyph { margin: 8px 0 22px; width: 46px; height: 46px; color: var(--accent); }
.cap h3 { font-size: 25px; margin-bottom: 12px; }
.cap p { color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.cap .tags { margin-top: auto; padding-top: 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.cap .tags span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); padding: 5px 9px; box-shadow: inset 0 0 0 1px var(--line); }

/* ===================== APPROACH ===================== */
.approach { background:
   linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); border-block: 1px solid var(--line-soft); }
.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 64px; box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 820px){ .approach-grid { grid-template-columns: 1fr; } }
.principle { padding: 44px 38px 52px; position: relative; border-right: 1px solid var(--line); transition: background .4s; }
.principle:last-child { border-right: none; }
.approach-grid > .principle { border-bottom: 1px solid transparent; }
@media (max-width:820px){ .principle { border-right: none; border-bottom: 1px solid var(--line); } .principle:last-child{ border-bottom:none; } }
.principle:hover { background: var(--accent-ghost); }
.principle .pn { font-family: var(--font-mono); font-size: 13px; color: var(--accent); letter-spacing: 0.2em; }
.principle h3 { font-size: 28px; margin: 26px 0 14px; }
.principle p { color: var(--muted); font-size: 15px; line-height: 1.65; }
.principle .line { width: 40px; height: 2px; background: var(--accent); margin-top: 26px; transition: width .45s ease; }
.principle:hover .line { width: 90px; }

/* big statement */
.statement { text-align: center; max-width: 18ch; margin: 0 auto; }
.statement .h2 { line-height: 1.05; }

/* ===================== CONTACT ===================== */
.contact { position: relative; overflow: hidden; border-top: 1px solid var(--line-soft); }
.contact-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
@media (max-width: 880px){ .contact-inner { grid-template-columns: 1fr; gap: 40px; } }
.contact h2 { margin: 22px 0 26px; }
.contact .email-btn {
  display: inline-flex; align-items: center; gap: 16px; margin-top: 8px;
  font-family: var(--font-mono); font-size: clamp(16px, 2.4vw, 26px); letter-spacing: 0.02em;
  color: var(--text); padding-bottom: 10px; border-bottom: 1px solid var(--line);
  transition: border-color .3s, color .3s;
}
.contact .email-btn:hover { color: var(--accent); border-color: var(--accent); }
.contact-card { position: relative; padding: 40px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.contact-card .row { display: flex; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.contact-card .row:last-child { border-bottom: none; }
.contact-card .row .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.contact-card .row .v { font-size: 14.5px; color: var(--text); }
.contact-card .status { display:inline-flex; align-items:center; gap:9px; }
.contact-card .status .led { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 0%,100%{ opacity:1;} 50%{ opacity:.35;} }

/* ===================== FOOTER ===================== */
.footer { border-top: 1px solid var(--line-soft); background: var(--bg-2); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding-block: 38px; flex-wrap: wrap; }
.footer .fb { display: flex; align-items: center; gap: 13px; }
.footer .fb img { width: 30px; }
.footer .fb .wm { font-weight: 700; }
.footer .fb .wm span { color: var(--muted); font-weight: 400; }
.footer .legal { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; color: var(--faint); }
.footer .legal a:hover { color: var(--accent); }
.footer .fnav { display: flex; gap: 24px; }
.footer .fnav a { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.footer .fnav a:hover { color: var(--accent); }
