/* =========================================================
   RAYTRONIQ — Advanced Materials & Manufacturing
   Design tokens
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root{
  /* Colour system */
  --night: #071a13;        /* near-black forest — dark section bg */
  --night-2: #0d2b1e;      /* raised dark surface */
  --pine: #12402c;         /* deep pine */
  --pine-mid: #1c5c3f;     /* mid green */
  --sun: #f2a93c;          /* solar amber — primary accent */
  --sun-light: #ffcf7d;    /* light amber */
  --paper: #f7f4ea;        /* warm paper — light section bg */
  --paper-2: #efe9d8;      /* deeper paper */
  --ink: #0d1f16;          /* near-black text on light */
  --ink-soft: #3c4b43;     /* secondary text on light */
  --mist: #ffffff;
  --line: rgba(13,31,22,0.10);
  --line-dark: rgba(255,255,255,0.12);

  --font-display: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --container: 1200px;
  --radius: 4px;
  --ease: cubic-bezier(.22,.68,.32,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }
h1,h2,h3,h4{ font-family: var(--font-display); margin:0; color: var(--ink); letter-spacing:-0.01em; }
p{ margin:0; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior:auto !important; }
}

:focus-visible{ outline: 2px solid var(--sun); outline-offset: 3px; }

.wrap{ max-width: var(--container); margin: 0 auto; padding: 0 32px; }

.eyebrow{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sun);
  display:flex; align-items:center; gap:10px;
  font-weight:600;
}
.eyebrow::before{
  content:''; width:22px; height:1px; background: var(--sun);
}
.eyebrow.on-light{ color:#a06a10; }
.eyebrow.on-light::before{ background:#a06a10; }

/* =========================================================
   Disclaimer gate
   ========================================================= */
#disclaimer-gate{
  position: fixed; inset:0; z-index:9999;
  background: radial-gradient(ellipse at 50% 20%, #10331f 0%, var(--night) 62%);
  display:flex; align-items:center; justify-content:center;
  padding: 32px;
  overflow:hidden;
}
#disclaimer-gate.hidden{ display:none; }

/* ---------- Phase 1: full-screen logo entry animation ---------- */
.gate-logo-phase{
  position:absolute; inset:0; z-index:2; cursor:pointer;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  background: radial-gradient(ellipse at 50% 45%, #123a29 0%, var(--night) 68%);
  animation: splashOut .8s ease 1.9s forwards;
}
.gate-logo-phase.skip-intro{ animation: splashOut .4s ease forwards; }
.gate-logo-phase.skip-intro *{ animation-duration:.3s !important; animation-delay:0s !important; }
@keyframes splashOut{
  0%{ opacity:1; visibility:visible; }
  99%{ opacity:0; visibility:visible; }
  100%{ opacity:0; visibility:hidden; pointer-events:none; }
}

.logo-burst{
  position:absolute; width:2px; height:2px;
}
.logo-burst .ray{
  position:absolute; top:0; left:0; width:2px; height:170px;
  background: linear-gradient(180deg, rgba(242,169,60,0.55), rgba(242,169,60,0));
  transform-origin: top center;
  opacity:0;
  animation: rayShoot 1.6s var(--ease) forwards;
}
.logo-burst .ray:nth-child(1){ transform: rotate(0deg); animation-delay:.15s; }
.logo-burst .ray:nth-child(2){ transform: rotate(45deg); animation-delay:.19s; }
.logo-burst .ray:nth-child(3){ transform: rotate(90deg); animation-delay:.13s; }
.logo-burst .ray:nth-child(4){ transform: rotate(135deg); animation-delay:.22s; }
.logo-burst .ray:nth-child(5){ transform: rotate(180deg); animation-delay:.16s; }
.logo-burst .ray:nth-child(6){ transform: rotate(225deg); animation-delay:.2s; }
.logo-burst .ray:nth-child(7){ transform: rotate(270deg); animation-delay:.14s; }
.logo-burst .ray:nth-child(8){ transform: rotate(315deg); animation-delay:.18s; }
@keyframes rayShoot{
  0%{ opacity:0; height:0; }
  40%{ opacity:.9; height:190px; }
  100%{ opacity:0; height:230px; }
}

.logo-ring{
  position:absolute; width:150px; height:150px; border-radius:50%;
  border:1px solid rgba(242,169,60,0.4);
  opacity:0;
  animation: ringExpand 1.8s var(--ease) .25s forwards;
}
@keyframes ringExpand{
  0%{ opacity:0; transform: scale(.4); }
  35%{ opacity:.8; }
  100%{ opacity:0; transform: scale(2.6); }
}

.splash-logo{
  width: 128px; height:128px; position:relative; z-index:3;
  opacity:0;
  animation: splashLogoIn 1.3s var(--ease) forwards;
}
@keyframes splashLogoIn{
  0%{ opacity:0; transform: scale(.55) rotate(-10deg); filter: drop-shadow(0 0 0 rgba(242,169,60,0)); }
  50%{ opacity:1; transform: scale(1.08) rotate(0deg); filter: drop-shadow(0 0 30px rgba(242,169,60,.6)); }
  75%{ transform: scale(0.98); }
  100%{ opacity:1; transform: scale(1) rotate(0deg); filter: drop-shadow(0 0 16px rgba(242,169,60,.4)); }
}

.splash-name{
  margin-top:26px; font-family: var(--font-display); font-weight:800; font-size:26px;
  letter-spacing:.14em; color:#fff; position:relative; z-index:3;
  opacity:0; animation: riseIn .7s .85s var(--ease) forwards;
}
.splash-sub{
  margin-top:8px; font-family: var(--font-mono); font-size:11px; letter-spacing:.24em; text-transform:uppercase;
  color: var(--sun-light); opacity:0; position:relative; z-index:3;
  animation: riseIn .7s 1s var(--ease) forwards;
}
.splash-bar{
  margin-top:34px; width:180px; height:2px; background: rgba(255,255,255,0.14); border-radius:2px;
  overflow:hidden; position:relative; z-index:3;
  opacity:0; animation: riseIn .5s 1.1s var(--ease) forwards;
}
.splash-bar span{
  display:block; height:100%; width:0%; background: var(--sun);
  animation: barFill 1.1s var(--ease) 1.2s forwards;
}
@keyframes barFill{ from{ width:0%; } to{ width:100%; } }

/* ---------- Phase 2: disclaimer ---------- */
.gate-inner{
  max-width: 620px;
  width:100%;
  text-align:center;
  position:relative; z-index:1;
  opacity:0;
  animation: gateIn .9s var(--ease) 2s forwards;
}
.gate-logo-phase.skip-intro ~ .gate-inner{ animation: gateIn .5s var(--ease) .1s forwards; }
@keyframes gateIn{ from{ opacity:0; transform: translateY(14px);} to{ opacity:1; transform:none; } }

.gate-logo{
  width: 64px; height:64px; margin:0 auto 22px;
  filter: drop-shadow(0 0 14px rgba(242,169,60,.3));
}

.gate-title{
  font-size: 13px; letter-spacing:.32em; text-transform:uppercase;
  color: var(--sun-light); font-family: var(--font-mono); font-weight:600;
  margin-bottom: 22px; opacity:.9;
}
.gate-panel{
  background: rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  padding: 34px 36px;
  backdrop-filter: blur(6px);
  text-align:left;
}
.gate-panel h2{
  color:#fff; font-size:22px; margin-bottom:14px;
}
.gate-panel p{
  color: rgba(255,255,255,0.68);
  font-size: 14.5px; line-height:1.7; margin-bottom:14px;
}
.gate-more-toggle{
  display:none;
  background:none; border:none; padding:0 0 14px;
  font-family: var(--font-display); font-weight:600; font-size:13.5px;
  color: var(--sun-light); cursor:pointer;
}
.gate-more-toggle:hover{ text-decoration: underline; }
.gate-actions{
  margin-top:24px; display:flex; justify-content:flex-end; gap:14px;
}

/* On mobile, keep the disclaimer short by default with a Read more toggle */
@media (max-width: 640px){
  .gate-more-toggle{ display:inline-block; }
  .gate-more-content{
    max-height:0; overflow:hidden; opacity:0;
    transition: max-height .4s var(--ease), opacity .3s var(--ease);
  }
  .gate-more-content.expanded{ max-height:600px; opacity:1; }
}
.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-family: var(--font-display); font-weight:600; font-size:14.5px;
  padding: 14px 28px; border-radius: 3px; border:1px solid transparent;
  transition: all .3s var(--ease);
  white-space:nowrap;
}
.btn-solar{ background: var(--sun); color: var(--ink); }
.btn-solar:hover{ background: var(--sun-light); transform: translateY(-2px); }
.btn-outline-dark{ border-color: rgba(255,255,255,0.3); color:#fff; }
.btn-outline-dark:hover{ border-color:#fff; background: rgba(255,255,255,0.08); }
.btn-outline{ border-color: rgba(13,31,22,0.25); color: var(--ink); }
.btn-outline:hover{ border-color: var(--ink); }

/* =========================================================
   Header
   ========================================================= */
header.site-header{
  position: fixed; top:0; left:0; right:0; z-index: 500;
  padding: 20px 0;
  transition: all .35s var(--ease);
}
header.site-header .wrap{ display:flex; align-items:center; justify-content:space-between; }
.brand{ display:flex; align-items:center; gap:12px; }
.brand img{ height:38px; width:auto; transition: filter .3s; }
.brand-name{ font-family: var(--font-display); font-weight:700; font-size:17px; letter-spacing:.01em; }
.brand-name span{ display:block; font-family: var(--font-mono); font-weight:500; font-size:9.5px; letter-spacing:.18em; text-transform:uppercase; opacity:.65; margin-top:2px; }

nav.main-nav ul{ display:flex; gap:6px; align-items:center; }
nav.main-nav a{
  font-family: var(--font-display); font-weight:600; font-size:13.5px;
  padding: 10px 16px; border-radius:3px; position:relative;
  transition: color .25s;
}
nav.main-nav a.cta-link{
  background: var(--sun); color: var(--ink) !important; padding:10px 20px;
}
nav.main-nav a.cta-link:hover{ background: var(--sun-light); }

.site-header.light{ background: rgba(7,26,19,0.86); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255,255,255,0.06); }
.site-header.light .brand-name, .site-header.light nav.main-nav a:not(.cta-link){ color:#fff; }
.site-header.light nav.main-nav a:not(.cta-link):hover{ color: var(--sun-light); }

.site-header.on-paper{ background: rgba(247,244,234,0.92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.site-header.on-paper .brand-name, .site-header.on-paper nav.main-nav a:not(.cta-link){ color: var(--ink); }
.site-header.on-paper nav.main-nav a:not(.cta-link):hover{ color:#a06a10; }

.menu-toggle{ display:none; background:none; border:none; padding:8px; }
.menu-toggle span{ display:block; width:24px; height:2px; background:currentColor; margin:5px 0; }

/* =========================================================
   Buttons in nav / general sections
   ========================================================= */
.section{ padding: 110px 0; position:relative; }
.section-tight{ padding: 80px 0; }
.section.dark{ background: var(--night); color:#fff; }
.section.pine{ background: linear-gradient(180deg, var(--night) 0%, var(--pine) 100%); color:#fff; }

.head-row{ display:flex; justify-content:space-between; align-items:flex-end; gap:40px; margin-bottom:56px; flex-wrap:wrap; }
.head-row h2{ font-size: clamp(28px,3.6vw,42px); line-height:1.12; max-width:620px; }
.head-row .lede{ max-width:360px; font-size:15px; line-height:1.65; color: var(--ink-soft); }
.section.dark .head-row .lede, .section.pine .head-row .lede{ color: rgba(255,255,255,0.65); }

/* =========================================================
   Hero — solar panel field illustration
   ========================================================= */
.hero{
  position: relative;
  min-height: 100vh;
  display:flex; align-items:flex-end;
  background: linear-gradient(180deg,#0a2318 0%, #071a13 55%, #061710 100%);
  overflow:hidden;
  color:#fff;
}
.hero-field{ position:absolute; inset:0; z-index:0; }
.hero-sun{
  position:absolute; top:12%; right:12%; width:340px; height:340px; border-radius:50%;
  background: radial-gradient(circle, rgba(242,169,60,0.55) 0%, rgba(242,169,60,0.12) 45%, rgba(242,169,60,0) 72%);
  filter: blur(2px);
  animation: sunGlow 7s ease-in-out infinite;
}
@keyframes sunGlow{ 0%,100%{ opacity:.75; transform:scale(1);} 50%{ opacity:1; transform:scale(1.08);} }

.panel-grid{
  position:absolute; left:0; right:0; bottom:0; height:62%;
  display:grid; grid-template-columns: repeat(10,1fr); gap:4px;
  transform: perspective(900px) rotateX(54deg) scale(1.6);
  transform-origin: bottom center;
  opacity:0.98;
}
.panel-grid .cell{
  background: linear-gradient(155deg, #1a4a76 0%, #0e2f52 45%, #081d36 100%);
  border: 1px solid rgba(120,180,255,0.22);
  aspect-ratio: 1/1.35;
  position:relative;
  overflow:hidden;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.25);
}
.panel-grid .cell::after{
  content:''; position:absolute; inset:0;
  background:
    repeating-linear-gradient(180deg, rgba(255,255,255,0.09) 0 2px, transparent 2px 16px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 50%);
}
.panel-grid .cell.glow{ background: linear-gradient(155deg, #2a6aa8 0%, #14406e 45%, #081d36 100%); }

/* animated light sweep across the panel field, simulating sun glint on glass */
.panel-sheen{
  position:absolute; inset:0; z-index:1; pointer-events:none;
  background: linear-gradient(115deg, transparent 40%, rgba(255,222,160,0.22) 48%, rgba(255,255,255,0.4) 50%, rgba(255,222,160,0.22) 52%, transparent 60%);
  background-size: 300% 300%;
  mix-blend-mode: screen;
  animation: sheenSweep 8s ease-in-out infinite;
}
@keyframes sheenSweep{
  0%{ background-position: 120% 120%; }
  45%{ background-position: 20% 20%; }
  100%{ background-position: -60% -60%; }
}

.hero-scrim{ position:absolute; inset:0; background: linear-gradient(180deg, rgba(7,26,19,0.06) 0%, rgba(7,26,19,0.38) 52%, var(--night) 96%); z-index:2; }

.hero-content{ position:relative; z-index:2; width:100%; padding-bottom: 0; }
.hero-tagline{
  font-family: var(--font-mono); font-size:12.5px; letter-spacing:.2em; text-transform:uppercase;
  color: var(--sun-light); margin-bottom:22px; opacity:0; animation: riseIn .8s .1s var(--ease) forwards;
}
.hero h1{
  font-size: clamp(40px, 6.4vw, 84px);
  line-height: 1.02;
  font-weight:700;
  max-width: 920px;
  color:#fff;
  opacity:0; animation: riseIn .9s .25s var(--ease) forwards, heroColorIn 1.6s .9s var(--ease) forwards;
}
.hero h1 em{ font-style:normal; color: var(--sun-light); }
@keyframes heroColorIn{ from{ color:#fff; } to{ color: var(--sun-light); } }
.hero .hero-sub{
  margin-top:26px; max-width:520px; font-size:16.5px; line-height:1.7; color: rgba(255,255,255,0.72);
  opacity:0; animation: riseIn .9s .4s var(--ease) forwards;
}
.hero .hero-actions{
  margin-top:38px; display:flex; gap:16px; flex-wrap:wrap;
  opacity:0; animation: riseIn .9s .55s var(--ease) forwards;
}
@keyframes riseIn{ from{ opacity:0; transform: translateY(22px);} to{ opacity:1; transform:none; } }

/* KPI strip */
.kpi-strip{
  position:relative; z-index:3;
  margin-top: 72px;
  border-top: 1px solid rgba(255,255,255,0.12);
  background: rgba(7,26,19,0.55);
  backdrop-filter: blur(6px);
  overflow:hidden;
}
.kpi-track{
  display:flex; width:max-content;
  animation: kpiScroll 34s linear infinite;
}
.kpi-strip:hover .kpi-track{ animation-play-state: paused; }
@keyframes kpiScroll{ from{ transform: translateX(0);} to{ transform: translateX(-50%);} }
.kpi-item{
  flex:0 0 auto; width: 300px;
  padding: 26px 34px; border-right:1px solid rgba(255,255,255,0.10);
}
.kpi-item .num{ font-family: var(--font-mono); font-size: 30px; font-weight:600; color: var(--sun-light); }
.kpi-item .lbl{ margin-top:6px; font-size:13px; color: rgba(255,255,255,0.68); line-height:1.5; }

/* =========================================================
   Cards / grids
   ========================================================= */
.grid{ display:grid; gap:28px; }
.grid-3{ grid-template-columns: repeat(3,1fr); }
.grid-2{ grid-template-columns: repeat(2,1fr); }
.grid-4{ grid-template-columns: repeat(4,1fr); }

.card{
  background:#fff; border:1px solid var(--line); border-radius: 6px;
  padding: 32px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover{ transform: translateY(-6px); box-shadow: 0 24px 48px -24px rgba(13,31,22,0.25); border-color: rgba(242,169,60,0.4); }
.card .icon{ width:46px; height:46px; margin-bottom:20px; }
.card h3{ font-size:18px; margin-bottom:10px; }
.card p{ font-size:14px; line-height:1.65; color: var(--ink-soft); }

/* Value pillars dark */
.pillars{ display:grid; grid-template-columns: repeat(4,1fr); gap:1px; background: rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.08); border-radius:8px; overflow:hidden; }
.pillar{ background: var(--night-2); padding:34px 28px; }
.pillar .idx{ font-family:var(--font-mono); color: var(--sun); font-size:12px; letter-spacing:.1em; }
.pillar h3{ color:#fff; font-size:17px; margin: 14px 0 10px; }
.pillar p{ color: rgba(255,255,255,0.62); font-size:13.5px; line-height:1.6; }

/* =========================================================
   About page — leaders
   ========================================================= */
.leader-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap:24px; }
.leader-card{
  position:relative; border-radius:8px; overflow:hidden; aspect-ratio: 3/4;
  cursor:pointer; isolation:isolate;
}
.leader-card img{ width:100%; height:100%; object-fit:cover; transition: transform .6s var(--ease); }
.leader-card:hover img{ transform: scale(1.06); }
.leader-overlay{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(7,26,19,0) 30%, rgba(7,26,19,0.94) 100%);
  display:flex; flex-direction:column; justify-content:flex-end; padding:22px;
  color:#fff;
}
.leader-name{ font-family:var(--font-display); font-weight:700; font-size:17px; }
.leader-role{ font-family:var(--font-mono); font-size:11px; letter-spacing:.1em; text-transform:uppercase; color: var(--sun-light); margin-top:4px; }
.leader-bio{
  max-height:0; overflow:hidden; opacity:0;
  font-size:12.5px; line-height:1.6; color: rgba(255,255,255,0.82); margin-top:0;
  transition: max-height .45s var(--ease), opacity .35s var(--ease), margin-top .45s var(--ease);
}
.leader-card:hover .leader-bio, .leader-card.active .leader-bio{ max-height:220px; opacity:1; margin-top:12px; }
.leader-card:focus-visible{ outline:2px solid var(--sun); outline-offset:4px; }

/* =========================================================
   Product page
   ========================================================= */
.product-showcase{ display:grid; grid-template-columns: 1.1fr 1fr; gap:64px; align-items:center; }
.product-visual{ position:relative; aspect-ratio: 4/3.1; border-radius:10px; overflow:hidden; box-shadow: 0 40px 80px -30px rgba(13,31,22,0.35); }
.product-visual .slide{
  position:absolute; inset:0; opacity:0; transform: translateX(4%);
  transition: opacity 1s var(--ease), transform 1.2s var(--ease);
}
.product-visual .slide.active{ opacity:1; transform: translateX(0); }
.product-visual img{ width:100%; height:100%; object-fit:cover; }
.product-visual .frame-badge{
  position:absolute; bottom:18px; left:18px; z-index:5;
  background: rgba(7,26,19,0.75); color:#fff; backdrop-filter: blur(6px);
  font-family: var(--font-mono); font-size:11px; letter-spacing:.08em;
  padding: 9px 14px; border-radius: 30px; border:1px solid rgba(255,255,255,0.15);
}
.product-dots{ position:absolute; bottom:18px; right:18px; z-index:5; display:flex; gap:7px; }
.product-dots i{ width:7px; height:7px; border-radius:50%; background: rgba(255,255,255,0.4); transition: background .3s; }
.product-dots i.active{ background: var(--sun); }

.feature-list{ display:grid; gap:12px; margin-top:26px; }
.feature-list li{
  display:flex; gap:12px; align-items:flex-start; font-size:14.5px; line-height:1.6; color: var(--ink-soft);
  padding: 12px 0; border-bottom:1px solid var(--line);
}
.feature-list li::before{
  content:''; flex:0 0 auto; width:8px; height:8px; margin-top:6px; border-radius:50%;
  background: var(--sun);
}

.benefit-row{ display:grid; grid-template-columns: repeat(6,1fr); gap:16px; }
.benefit{ background:#fff; border:1px solid var(--line); border-radius:8px; padding:22px 16px; text-align:center; }
.benefit .glyph{ font-size:26px; margin-bottom:10px; }
.benefit .txt{ font-size:12.5px; font-weight:600; line-height:1.4; }

/* Tabs (applications) */
.tab-bar{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:32px; }
.tab-btn{
  padding:11px 20px; border-radius:30px; border:1px solid var(--line); font-size:13.5px; font-weight:600;
  background:#fff; transition: all .25s;
}
.tab-btn.active{ background: var(--ink); color:#fff; border-color: var(--ink); }

/* =========================================================
   Coming soon (news/careers)
   ========================================================= */
.coming-soon{
  min-height: 62vh; display:flex; align-items:center; justify-content:center; text-align:center;
  position:relative;
}
.coming-soon .cs-badge{
  font-family: var(--font-mono); font-size:12px; letter-spacing:.24em; text-transform:uppercase;
  color: var(--sun); margin-bottom:22px;
}
.coming-soon h1{ font-size: clamp(38px,6vw,72px); }
.coming-soon p{ margin-top:20px; max-width:460px; margin-left:auto; margin-right:auto; color: var(--ink-soft); line-height:1.7; }
.pulse-dot{ width:10px; height:10px; border-radius:50%; background: var(--sun); display:inline-block; margin-right:8px; box-shadow:0 0 0 0 rgba(242,169,60,.6); animation: pulse 1.8s infinite; }
@keyframes pulse{ 0%{ box-shadow:0 0 0 0 rgba(242,169,60,.55);} 70%{ box-shadow:0 0 0 14px rgba(242,169,60,0);} 100%{ box-shadow:0 0 0 0 rgba(242,169,60,0);} }

/* =========================================================
   Contact
   ========================================================= */
.contact-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:70px; }
.field{ margin-bottom:20px; }
.field label{ display:block; font-size:12.5px; font-weight:600; margin-bottom:8px; letter-spacing:.02em; }
.field input, .field textarea{
  width:100%; border:1px solid var(--line); background:#fff; border-radius:4px;
  padding:14px 16px; font-family: var(--font-body); font-size:14.5px; color: var(--ink);
  transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field textarea:focus{ border-color: var(--sun); box-shadow: 0 0 0 3px rgba(242,169,60,0.18); outline:none; }
.field textarea{ resize: vertical; min-height:130px; }
.row-2{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }

.info-block{ margin-bottom:30px; }
.info-block .lbl{ font-family: var(--font-mono); font-size:11.5px; letter-spacing:.12em; text-transform:uppercase; color:#a06a10; margin-bottom:10px; }
.info-block .val{ font-size:15.5px; line-height:1.7; }
.info-block a{ transition: color .2s; }
.info-block a:hover{ color:#a06a10; }

.social-row{ display:flex; gap:12px; margin-top:8px; }
.social-row a{
  width:42px; height:42px; border-radius:50%; border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center; transition: all .25s;
}
.social-row a:hover{ background: var(--ink); border-color: var(--ink); color:#fff; transform: translateY(-3px); }
.social-row svg{ width:18px; height:18px; }

.form-note{ font-size:12.5px; color: var(--ink-soft); margin-top:14px; display:flex; gap:8px; align-items:center; }

/* =========================================================
   Footer
   ========================================================= */
footer.site-footer{ background: var(--night); color: rgba(255,255,255,0.7); padding: 72px 0 26px; }
.foot-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap:50px; padding-bottom:52px; border-bottom:1px solid rgba(255,255,255,0.10); }
.foot-brand .brand-name{ color:#fff; }
.foot-brand p{ margin-top:16px; font-size:13.5px; line-height:1.7; max-width:280px; color: rgba(255,255,255,0.55); }
.foot-col h4{ color:#fff; font-size:12.5px; letter-spacing:.1em; text-transform:uppercase; font-family:var(--font-mono); margin-bottom:18px; }
.foot-col li{ margin-bottom:11px; }
.foot-col a{ font-size:14px; color: rgba(255,255,255,0.62); transition: color .2s; }
.foot-col a:hover{ color: var(--sun-light); }
.foot-bottom{ display:flex; justify-content:space-between; align-items:center; padding-top:26px; flex-wrap:wrap; gap:14px; }
.foot-bottom .legal{ font-size:12.5px; color: rgba(255,255,255,0.42); }
.foot-bottom .legal a{ color: rgba(255,255,255,0.68); text-decoration: underline; text-underline-offset:3px; }
.foot-social{ display:flex; gap:10px; }
.foot-social a{ width:36px; height:36px; border-radius:50%; border:1px solid rgba(255,255,255,0.16); display:flex; align-items:center; justify-content:center; transition:.25s; }
.foot-social a:hover{ background: var(--sun); border-color: var(--sun); }
.foot-social a:hover svg{ stroke: var(--ink); }
.foot-social svg{ width:16px; height:16px; stroke: rgba(255,255,255,0.85); }

/* =========================================================
   Disclaimer modal (accessible from footer everywhere)
   ========================================================= */
#disclaimer-modal{
  position: fixed; inset:0; z-index:9000; display:none;
  background: rgba(7,26,19,0.72); backdrop-filter: blur(4px);
  align-items:center; justify-content:center; padding:24px;
}
#disclaimer-modal.open{ display:flex; }
.modal-panel{
  background:#fff; max-width:640px; width:100%; border-radius:8px; padding:40px;
  max-height:80vh; overflow-y:auto; position:relative;
  animation: gateIn .4s var(--ease) both;
}
.modal-close{ position:absolute; top:18px; right:18px; width:34px; height:34px; border-radius:50%; border:1px solid var(--line); background:none; font-size:16px; }
.modal-panel h2{ font-size:22px; margin-bottom:16px; }
.modal-panel p{ font-size:14px; line-height:1.7; color: var(--ink-soft); margin-bottom:14px; }

/* =========================================================
   Page hero (inner pages)
   ========================================================= */
.page-hero{
  padding: 176px 0 90px; background: linear-gradient(180deg, var(--night) 0%, var(--pine) 130%); color:#fff; position:relative; overflow:hidden;
}
.page-hero::after{
  content:''; position:absolute; right:-120px; top:-120px; width:420px; height:420px; border-radius:50%;
  background: radial-gradient(circle, rgba(242,169,60,0.28) 0%, rgba(242,169,60,0) 70%);
}
.page-hero h1{ font-size: clamp(34px,5vw,58px); max-width:760px; position:relative; z-index:2; color:#fff; text-shadow: 0 2px 24px rgba(0,0,0,0.25); }
.page-hero .lede{ margin-top:18px; max-width:520px; font-size:16px; line-height:1.7; color: rgba(255,255,255,0.68); position:relative; z-index:2; }
.crumb{ font-family: var(--font-mono); font-size:12px; letter-spacing:.1em; text-transform:uppercase; color: var(--sun-light); margin-bottom:18px; position:relative; z-index:2; }

/* =========================================================
   Reveal-on-scroll
   ========================================================= */
.reveal{ opacity:0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in{ opacity:1; transform:none; }

/* =========================================================
   Misc
   ========================================================= */
.divider{ height:1px; background: var(--line); margin: 90px 0; }
.center{ text-align:center; }
.mx-auto{ margin-left:auto; margin-right:auto; }

.cta-band{
  background: linear-gradient(120deg, var(--pine) 0%, var(--night) 100%);
  color:#fff; border-radius:14px; padding: 64px 60px;
  display:flex; align-items:center; justify-content:space-between; gap:40px; flex-wrap:wrap;
  position:relative; overflow:hidden;
}
.cta-band::before{
  content:''; position:absolute; left:-60px; bottom:-100px; width:280px; height:280px; border-radius:50%;
  background: radial-gradient(circle, rgba(242,169,60,0.3), transparent 70%);
}
.cta-band h2{ color:#fff; font-size: clamp(24px,3.2vw,34px); max-width:480px; position:relative; z-index:2; }
.cta-band .actions{ position:relative; z-index:2; display:flex; gap:14px; flex-wrap:wrap; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px){
  .leader-grid{ grid-template-columns: repeat(2,1fr); }
  .grid-4{ grid-template-columns: repeat(2,1fr); }
  .grid-3{ grid-template-columns: repeat(2,1fr); }
  .foot-grid{ grid-template-columns: 1fr 1fr; row-gap:40px; }
  .benefit-row{ grid-template-columns: repeat(3,1fr); }
  .pillars{ grid-template-columns: repeat(2,1fr); }
  .product-showcase{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; gap:50px; }
}
@media (max-width: 760px){
  nav.main-nav{ position:fixed; top:0; right:0; height:100vh; width:78%; max-width:320px;
    background: var(--night); transform: translateX(100%); transition: transform .4s var(--ease);
    padding: 100px 32px 32px; z-index:400; }
  nav.main-nav.open{ transform: translateX(0); }
  nav.main-nav ul{ flex-direction:column; align-items:flex-start; gap:4px; }
  nav.main-nav a{ color:#fff !important; font-size:16px; padding:14px 8px; width:100%; }
  .menu-toggle{ display:block; }
  .grid-3, .grid-4, .grid-2{ grid-template-columns: 1fr; }
  .leader-grid{ grid-template-columns: 1fr; }
  .pillars{ grid-template-columns: 1fr; }
  .benefit-row{ grid-template-columns: repeat(2,1fr); }
  .row-2{ grid-template-columns: 1fr; }
  .section{ padding: 76px 0; }
  .head-row{ flex-direction:column; align-items:flex-start; }
  .foot-grid{ grid-template-columns: 1fr; }
  .gate-panel{ padding:26px 22px; }
  .gate-actions{ justify-content:stretch; }
  .gate-actions .btn{ flex:1; justify-content:center; }
}
