/* ============================================================
   HAKAHANA LACHO POWER AND GAS — STYLESHEET
   Design system: "Industrial Ember"
   Display: Fraunces  |  Body: Manrope  |  Utility: JetBrains Mono
   ============================================================ */

:root{
  /* ---- Color tokens ---- */
  --ink:        #14171a;
  --ink-soft:   #20242a;
  --paper:      #f8f4ec;
  --paper-dim:  #efe7d6;
  --steel:      #3c4a56;
  --steel-light:#6b7b87;
  --ember-1:    #a8281a;
  --ember-2:    #e8590c;
  --ember-3:    #f5a623;
  --line:       rgba(20,23,26,.12);
  --line-on-dark: rgba(248,244,236,.16);
  --white: #fffdf9;

  --gradient-flame: linear-gradient(135deg, var(--ember-1) 0%, var(--ember-2) 58%, var(--ember-3) 100%);
  --gradient-flame-soft: linear-gradient(180deg, rgba(232,89,12,.14), rgba(245,166,35,0));

  /* ---- Type ---- */
  --font-display: "Fraunces", "Iowan Old Style", serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;

  /* ---- Layout ---- */
  --container: 1280px;
  --pad: clamp(20px, 5vw, 64px);
  --radius-s: 6px;
  --radius-m: 14px;
  --radius-l: 28px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --speed-fast: .25s;
  --speed-med: .55s;
  --speed-slow: .9s;
}

/* ============================================================ Reset */
*,*::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;
  text-rendering: optimizeLegibility;
  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; line-height:1.05; font-weight:600; }
p{ margin:0; }
svg{ display:block; }

::selection{ background: var(--ember-2); color: var(--white); }

:focus-visible{
  outline: 2px solid var(--ember-2);
  outline-offset: 3px;
  border-radius: 4px;
}

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

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

/* ============================================================ Ember cursor glow */
#ember-glow{
  position: fixed;
  top:0; left:0;
  width: 460px; height: 460px;
  margin-left: -230px; margin-top: -230px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  background: radial-gradient(circle, rgba(245,166,35,.30) 0%, rgba(232,89,12,.16) 35%, rgba(232,89,12,0) 70%);
  mix-blend-mode: plus-lighter;
  opacity: 0;
  transition: opacity .4s ease;
  will-change: transform, opacity;
}
#ember-glow.is-active{ opacity: 1; }
@media (pointer: coarse){ #ember-glow{ display:none; } }

/* ============================================================ Eyebrow / utility labels */
.eyebrow{
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ember-2);
  display:flex;
  align-items:center;
  gap:.7em;
  margin-bottom: 1.1em;
}
.eyebrow::before{
  content:"";
  width: 26px; height:1px;
  background: var(--ember-2);
  display:inline-block;
}
.on-dark .eyebrow{ color: var(--ember-3); }

/* ============================================================ Buttons */
.btn{
  font-family: var(--font-mono);
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items:center;
  gap:.6em;
  padding: 1.05em 1.7em;
  border-radius: var(--radius-s);
  border: 1px solid transparent;
  transition: transform var(--speed-fast) var(--ease), box-shadow var(--speed-fast) var(--ease), background var(--speed-fast) var(--ease), color var(--speed-fast) var(--ease);
  white-space: nowrap;
  position: relative;
}
.btn-primary{
  background: var(--gradient-flame);
  background-size: 160% 160%;
  background-position: 0% 50%;
  color: var(--white);
  box-shadow: 0 10px 24px -10px rgba(168,40,26,.55);
}
.btn-primary:hover{
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -10px rgba(168,40,26,.65);
}
.btn-ghost{
  background: transparent;
  border-color: currentColor;
  color: var(--ink);
}
.on-dark .btn-ghost{ color: var(--paper); }
.btn-ghost:hover{ background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.on-dark .btn-ghost:hover{ background: var(--paper); color: var(--ink); }
.btn-arrow{ transition: transform var(--speed-fast) var(--ease); }
.btn:hover .btn-arrow{ transform: translateX(4px); }

/* ============================================================ Header / Nav */
.site-header{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 1000;
  padding: 18px 0;
  transition: background var(--speed-fast) ease, padding var(--speed-fast) ease, box-shadow var(--speed-fast) ease;
}
.site-header.is-scrolled{
  background: rgba(20,23,26,.88);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 10px 30px -20px rgba(0,0,0,.6);
}
.header-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 24px;
}
.brand{ display:flex; align-items:center; gap:.65em; }
.brand img{ height: 40px; width:auto; }
.brand-word{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--white);
  letter-spacing: .01em;
}
.brand-word small{
  display:block;
  font-family: var(--font-mono);
  font-size: .58rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ember-3);
  font-weight: 500;
  margin-top: 2px;
}

.main-nav{ display:flex; align-items:center; gap: 2.1rem; }
.main-nav a{
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(248,244,236,.78);
  position: relative;
  padding: 6px 0;
  transition: color var(--speed-fast) ease;
}
.main-nav a::after{
  content:"";
  position:absolute; left:0; bottom:0;
  width:0; height:2px;
  background: var(--gradient-flame);
  transition: width var(--speed-fast) var(--ease);
}
.main-nav a:hover, .main-nav a[aria-current="page"]{ color: var(--white); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after{ width:100%; }

.header-actions{ display:flex; align-items:center; gap: 1.1rem; }

/* language dropdown */
.lang-switch{ position:relative; }
.lang-trigger{
  display:flex; align-items:center; gap:.5em;
  font-family: var(--font-mono);
  font-size:.78rem;
  letter-spacing:.06em;
  color: rgba(248,244,236,.82);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  padding: .55em .9em;
  border-radius: 999px;
  transition: background var(--speed-fast) ease, border-color var(--speed-fast) ease;
}
.lang-trigger:hover{ background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }
.lang-trigger svg{ width:12px; height:12px; transition: transform var(--speed-fast) ease; }
.lang-switch.is-open .lang-trigger svg{ transform: rotate(180deg); }
.lang-menu{
  position:absolute; top: calc(100% + 10px); right:0;
  background: var(--ink-soft);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-m);
  padding: 6px;
  min-width: 168px;
  opacity:0; visibility:hidden;
  transform: translateY(-6px);
  transition: opacity var(--speed-fast) ease, transform var(--speed-fast) ease, visibility var(--speed-fast);
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.6);
}
.lang-switch.is-open .lang-menu{ opacity:1; visibility:visible; transform: translateY(0); }
.lang-menu button{
  display:flex; align-items:center; gap:.7em;
  width:100%;
  background:none; border:none;
  color: rgba(248,244,236,.85);
  font-family: var(--font-body);
  font-size: .88rem;
  padding: .6em .7em;
  border-radius: var(--radius-s);
  text-align:left;
  transition: background var(--speed-fast) ease;
}
.lang-menu button:hover{ background: rgba(255,255,255,.08); }
.lang-menu button[aria-checked="true"]{ color: var(--ember-3); }
.lang-flag{ font-family: var(--font-mono); font-size:.68rem; letter-spacing:.05em; opacity:.6; width: 24px; }

.nav-toggle{
  display:none;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.05);
  position: relative;
}
.nav-toggle span{
  position:absolute; left:11px; right:11px; height:1.5px;
  background: var(--paper);
  transition: transform var(--speed-fast) ease, opacity var(--speed-fast) ease, top var(--speed-fast) ease;
}
.nav-toggle span:nth-child(1){ top: 15px; }
.nav-toggle span:nth-child(2){ top: 21px; }
.nav-toggle span:nth-child(3){ top: 27px; }
.nav-toggle.is-active span:nth-child(1){ top:21px; transform: rotate(45deg); }
.nav-toggle.is-active span:nth-child(2){ opacity:0; }
.nav-toggle.is-active span:nth-child(3){ top:21px; transform: rotate(-45deg); }

/* ============================================================ Mobile nav drawer */
@media (max-width: 980px){
  .main-nav{
    position: fixed; inset: 0;
    top: 0;
    background: var(--ink);
    flex-direction: column;
    justify-content:center;
    gap: 1.6rem;
    transform: translateX(100%);
    transition: transform var(--speed-med) var(--ease);
    z-index: 999;
  }
  .main-nav.is-open{ transform: translateX(0); }
  .main-nav a{ font-size: 1.1rem; }
  .nav-toggle{ display:block; z-index: 1001; }
  .header-actions .lang-switch{ display:none; }
  .main-nav.is-open ~ .nav-toggle,
  .nav-toggle{ }
  .mobile-lang{ display:flex !important; }
}
.mobile-lang{ display:none; }
.nav-cta-mobile{ display:none; }
@media (max-width: 980px){
  .nav-cta-mobile{ display:inline-flex; margin-top: 8px; }
}

/* ============================================================ Hero */
.hero{
  position: relative;
  min-height: 100vh;
  display:flex;
  align-items:flex-end;
  background: var(--ink);
  overflow:hidden;
  isolation: isolate;
}
.hero-media{
  position:absolute; inset:0;
  z-index:0;
}
.hero-media img{
  width:100%; height:100%; object-fit:cover;
  transform: scale(1.08);
  animation: heroZoom 16s ease-out forwards;
  filter: saturate(1.05);
}
@keyframes heroZoom{ from{ transform: scale(1.08); } to{ transform: scale(1); } }
.hero-media::after{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(14,16,18,.55) 0%, rgba(14,16,18,.35) 38%, rgba(14,16,18,.92) 100%),
    linear-gradient(100deg, rgba(14,16,18,.88) 0%, rgba(14,16,18,.45) 46%, rgba(14,16,18,.25) 100%);
}
.hero-content{
  position: relative; z-index:1;
  width:100%;
  padding: 200px var(--pad) 70px;
  color: var(--paper);
}
.hero-tag{
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ember-3);
  display:flex; align-items:center; gap:.8em;
  margin-bottom: 1.4rem;
}
.hero-tag .dot{ width:7px; height:7px; border-radius:50%; background: var(--ember-2); box-shadow: 0 0 0 0 rgba(232,89,12,.6); animation: pulseDot 2.2s infinite; }
@keyframes pulseDot{ 0%{ box-shadow:0 0 0 0 rgba(232,89,12,.55);} 70%{ box-shadow:0 0 0 10px rgba(232,89,12,0);} 100%{ box-shadow:0 0 0 0 rgba(232,89,12,0);} }
.hero h1{
  font-size: clamp(2.7rem, 6.6vw, 5.6rem);
  max-width: 16ch;
  font-weight: 600;
  letter-spacing: -.01em;
}
.hero h1 em{
  font-style: italic;
  font-weight: 500;
  background: var(--gradient-flame);
  -webkit-background-clip: text; background-clip:text; color:transparent;
}
.hero-sub{
  margin-top: 1.6rem;
  max-width: 46ch;
  font-size: 1.08rem;
  line-height: 1.6;
  color: rgba(248,244,236,.82);
}
.hero-actions{ display:flex; flex-wrap:wrap; gap: 1rem; margin-top: 2.6rem; }

.hero-scroll{
  position:absolute; right: var(--pad); bottom: 36px;
  z-index: 2;
  display:flex; flex-direction:column; align-items:center; gap:10px;
  color: rgba(248,244,236,.55);
  font-family: var(--font-mono); font-size:.65rem; letter-spacing:.2em; text-transform:uppercase;
}
.hero-scroll .line{ width:1px; height: 46px; background: linear-gradient(180deg, rgba(248,244,236,.7), transparent); position:relative; overflow:hidden; }
.hero-scroll .line::after{ content:""; position:absolute; top:-100%; left:0; width:100%; height:100%; background: var(--ember-3); animation: scrollDrip 2.4s var(--ease) infinite; }
@keyframes scrollDrip{ 0%{ top:-100%; } 60%{ top:100%; } 100%{ top:100%; } }

/* ============================================================ Stat strip (gauge readout) */
.stat-strip{
  background: var(--ink);
  border-top: 1px solid var(--line-on-dark);
  padding: 46px 0;
}
.stat-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.stat{
  padding: 0 28px;
  border-left: 1px solid var(--line-on-dark);
  color: var(--paper);
}
.stat:first-child{ border-left: none; padding-left: 0; }
.stat-num{
  font-family: var(--font-mono);
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  font-weight: 600;
  display:flex; align-items:baseline; gap:.15em;
  background: var(--gradient-flame);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.stat-bar{
  height:2px; width:100%; background: rgba(255,255,255,.12); margin: 14px 0 12px; position:relative; overflow:hidden; border-radius:2px;
}
.stat-bar i{
  position:absolute; left:0; top:0; bottom:0; width:0%;
  background: var(--gradient-flame);
  transition: width 1.4s var(--ease);
}
.stat-label{
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(248,244,236,.6);
}

/* ============================================================ Section scaffolding */
.section{ padding: clamp(70px, 10vw, 130px) 0; position:relative; }
.section.on-dark{ background: var(--ink); color: var(--paper); }
.section.alt{ background: var(--paper-dim); }
.section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap: 40px;
  margin-bottom: 56px;
}
.section-head h2{ font-size: clamp(2rem, 4vw, 3rem); max-width: 16ch; }
.section-head .lede{ max-width: 38ch; color: var(--steel); font-size: 1.02rem; line-height:1.6; }
.on-dark .section-head .lede{ color: rgba(248,244,236,.72); }

.reveal{ opacity:0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible{ opacity:1; transform:translateY(0); }
.reveal-stagger > *{ opacity:0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-stagger.is-visible > *{ opacity:1; transform:translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1){ transition-delay: .03s; }
.reveal-stagger.is-visible > *:nth-child(2){ transition-delay: .11s; }
.reveal-stagger.is-visible > *:nth-child(3){ transition-delay: .19s; }
.reveal-stagger.is-visible > *:nth-child(4){ transition-delay: .27s; }
.reveal-stagger.is-visible > *:nth-child(5){ transition-delay: .35s; }
.reveal-stagger.is-visible > *:nth-child(6){ transition-delay: .43s; }

/* ============================================================ Flame divider */
.flame-divider{
  display:flex; align-items:center; justify-content:center;
  gap: 14px; margin: 0 auto;
  padding: 6px 0;
}
.flame-divider .ln{ width: clamp(40px,12vw,140px); height:1px; background: linear-gradient(90deg, transparent, var(--line)); }
.flame-divider .ln.r{ background: linear-gradient(90deg, var(--line), transparent); }
.on-dark .flame-divider .ln{ background: linear-gradient(90deg, transparent, var(--line-on-dark)); }
.on-dark .flame-divider .ln.r{ background: linear-gradient(90deg, var(--line-on-dark), transparent); }
.flame-divider svg{ width: 20px; height: 26px; animation: flicker 3.2s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes flicker{
  0%,100%{ transform: scale(1) rotate(0deg); }
  25%{ transform: scale(1.05,0.96) rotate(-2deg); }
  50%{ transform: scale(0.97,1.04) rotate(1deg); }
  75%{ transform: scale(1.03,0.98) rotate(2deg); }
}

/* ============================================================ About / intro split */
.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 90px);
  align-items:center;
}
.split-media{ position:relative; }
.split-media img{ border-radius: var(--radius-m); width:100%; height: 100%; object-fit:cover; aspect-ratio: 4/5; }
.split-media .tag-pill{
  position:absolute; bottom:-22px; left: -22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 18px 22px;
  box-shadow: 0 30px 60px -30px rgba(20,23,26,.35);
  font-family: var(--font-mono);
}
.tag-pill .n{ font-size: 1.6rem; color: var(--ember-2); font-weight:700; }
.tag-pill .t{ font-size: .68rem; letter-spacing:.1em; text-transform:uppercase; color: var(--steel); margin-top:4px; }

.lede-lg{ font-size: 1.18rem; line-height:1.7; color: var(--steel); }
.on-dark .lede-lg{ color: rgba(248,244,236,.78); }

/* ============================================================ Vision / Mission cards */
.vm-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.vm-card{
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-l);
  padding: clamp(32px, 4vw, 52px);
  position: relative;
  overflow:hidden;
}
.vm-card::before{
  content:"";
  position:absolute; right:-60px; top:-60px;
  width: 220px; height:220px;
  background: var(--gradient-flame);
  opacity:.18;
  filter: blur(40px);
  border-radius:50%;
}
.vm-card .icon{ width:46px; height:46px; margin-bottom: 26px; }
.vm-card h3{ font-size: 1.5rem; margin-bottom: 16px; }
.vm-card p{ color: rgba(248,244,236,.75); line-height:1.75; font-size:1.02rem; }

/* ============================================================ Pillars / values */
.pillars{ display:grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.pillar{
  border-top: 2px solid var(--ink);
  padding-top: 22px;
  transition: border-color var(--speed-fast) ease;
}
.pillar:hover{ border-color: var(--ember-2); }
.pillar .num{ font-family: var(--font-mono); font-size:.75rem; color: var(--ember-2); letter-spacing:.1em; }
.pillar h4{ font-size: 1.18rem; margin: 14px 0 10px; }
.pillar p{ color: var(--steel); font-size: .96rem; line-height:1.6; }

/* ============================================================ Service cards */
.service-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 38px 32px;
  position: relative;
  transition: transform var(--speed-med) var(--ease), box-shadow var(--speed-med) var(--ease), border-color var(--speed-med) ease;
  overflow:hidden;
}
.service-card::before{
  content:"";
  position:absolute; inset:0;
  background: var(--gradient-flame-soft);
  opacity:0;
  transition: opacity var(--speed-med) ease;
}
.service-card:hover{ transform: translateY(-8px); box-shadow: 0 40px 70px -40px rgba(20,23,26,.28); border-color: transparent; }
.service-card:hover::before{ opacity:1; }
.service-card .ico{
  width: 54px; height:54px;
  border-radius: 14px;
  background: var(--ink);
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 26px;
  position:relative; z-index:1;
}
.service-card .ico svg{ width:26px; height:26px; stroke: var(--ember-3); }
.service-card h3{ font-size:1.3rem; margin-bottom:12px; position:relative; z-index:1; }
.service-card p{ color: var(--steel); line-height:1.65; font-size:.97rem; position:relative; z-index:1; }
.service-card .num{ position:absolute; top:28px; right:32px; font-family: var(--font-mono); font-size:.72rem; color: var(--line); z-index:1; }

/* ============================================================ Process / how it works */
.process{ display:grid; grid-template-columns: repeat(4,1fr); gap: 0; position:relative; }
.process-step{ padding: 0 24px; position:relative; }
.process-step:not(:last-child)::after{
  content:""; position:absolute; top: 26px; right:-12px; width:24px; height:1px; background: var(--line);
}
.process-step .num{
  font-family: var(--font-mono); font-size:.85rem; color: var(--white);
  background: var(--gradient-flame);
  width: 52px; height:52px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 22px;
}
.process-step h4{ font-size: 1.08rem; margin-bottom:10px; }
.process-step p{ font-size:.93rem; color: var(--steel); line-height:1.6; }

/* ============================================================ Locations */
.loc-toggle{ display:flex; gap:10px; margin-bottom: 40px; flex-wrap:wrap; }
.loc-toggle button{
  font-family: var(--font-mono); font-size:.75rem; letter-spacing:.08em; text-transform:uppercase;
  padding:.7em 1.3em; border-radius:999px; border:1px solid var(--line); background:transparent; color: var(--steel);
  transition: all var(--speed-fast) ease;
}
.loc-toggle button.is-active{ background: var(--ink); color: var(--paper); border-color: var(--ink); }

.facility-row{ display:grid; grid-template-columns: repeat(3,1fr); gap:22px; margin-bottom:18px; }
.facility-card{
  border:1px solid var(--line); border-radius: var(--radius-m); padding: 26px 26px;
  display:flex; flex-direction:column; gap:14px;
  background: var(--white);
  transition: box-shadow var(--speed-fast) ease, transform var(--speed-fast) ease;
}
.facility-card:hover{ transform: translateY(-4px); box-shadow: 0 30px 50px -34px rgba(20,23,26,.25); }
.facility-card .status{
  align-self:flex-start;
  font-family: var(--font-mono); font-size:.62rem; letter-spacing:.1em; text-transform:uppercase;
  padding: .35em .8em; border-radius:999px;
}
.status.live{ background: rgba(16,122,67,.12); color:#0d6b3d; }
.status.soon{ background: rgba(232,89,12,.12); color: var(--ember-2); }
.facility-card h4{ font-size:1.2rem; }
.facility-card .place{ font-family: var(--font-mono); font-size:.74rem; color: var(--steel-light); letter-spacing:.05em; }
.facility-card p{ font-size:.92rem; color: var(--steel); line-height:1.55; }

.branch-region{ margin-bottom: 14px; }
.branch-region h4{
  font-family: var(--font-mono); font-size:.78rem; letter-spacing:.14em; text-transform:uppercase;
  color: var(--ember-2); margin-bottom: 18px; display:flex; align-items:center; gap:.8em;
}
.branch-region h4::after{ content:""; flex:1; height:1px; background: var(--line); }
.branch-list{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 12px 18px; margin-bottom: 48px; }
.branch-list li{
  display:flex; align-items:center; gap:10px;
  font-size: .96rem; padding: 12px 0; border-bottom:1px solid var(--line);
  color: var(--ink-soft);
}
.branch-list li svg{ width:14px; height:14px; flex-shrink:0; color: var(--ember-2); }

.map-wrap{ border-radius: var(--radius-m); overflow:hidden; border:1px solid var(--line); }
.map-wrap iframe{ width:100%; height: 420px; border:0; display:block; filter: saturate(.85); }

/* ============================================================ Gallery */
.gallery-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  gap: 14px;
}
.gallery-grid .g-item{
  position:relative; border-radius: var(--radius-s); overflow:hidden; cursor: pointer;
}
.gallery-grid .g-item img{ width:100%; height:100%; object-fit:cover; transition: transform .7s var(--ease); }
.gallery-grid .g-item:hover img{ transform: scale(1.08); }
.gallery-grid .g-item::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 50%, rgba(20,23,26,.78) 100%);
  opacity:0; transition: opacity var(--speed-fast) ease;
}
.gallery-grid .g-item:hover::after{ opacity:1; }
.gallery-grid .g-item .g-cap{
  position:absolute; left:16px; bottom:14px; right:16px;
  color: var(--paper); font-family: var(--font-mono); font-size:.72rem; letter-spacing:.04em;
  opacity:0; transform: translateY(8px);
  transition: all var(--speed-fast) ease;
}
.gallery-grid .g-item:hover .g-cap{ opacity:1; transform:translateY(0); }
.gallery-grid .g-item.tall{ grid-row: span 2; }
.gallery-grid .g-item.wide{ grid-column: span 2; }

.lightbox{
  position:fixed; inset:0; z-index: 2000;
  background: rgba(10,11,12,.94);
  display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden; transition: opacity var(--speed-fast) ease, visibility var(--speed-fast);
  padding: 40px;
}
.lightbox.is-open{ opacity:1; visibility:visible; }
.lightbox img{ max-width: min(92vw, 1100px); max-height: 86vh; border-radius: 8px; box-shadow: 0 60px 100px -40px rgba(0,0,0,.7); }
.lightbox .lb-cap{ position:absolute; left:50%; bottom: 28px; transform:translateX(-50%); color: rgba(248,244,236,.7); font-family: var(--font-mono); font-size:.78rem; letter-spacing:.04em; text-align:center; }
.lb-close, .lb-prev, .lb-next{
  position:absolute; background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.16);
  color: var(--paper); border-radius:50%; width:46px; height:46px; display:flex; align-items:center; justify-content:center;
  transition: background var(--speed-fast) ease;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover{ background: rgba(255,255,255,.16); }
.lb-close{ top: 26px; right: 26px; }
.lb-prev{ left: 26px; top:50%; transform: translateY(-50%); }
.lb-next{ right: 26px; top:50%; transform: translateY(-50%); }

/* ============================================================ Opening banner / sub gallery */
.opening-banner{
  border-radius: var(--radius-l);
  background: var(--ink); color: var(--paper);
  padding: clamp(36px, 5vw, 64px);
  display:grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items:center;
  position:relative; overflow:hidden;
}
.opening-banner::before{ content:""; position:absolute; left:-80px; bottom:-80px; width:280px; height:280px; background: var(--gradient-flame); opacity:.16; filter:blur(50px); border-radius:50%; }
.opening-banner .thumbs{ display:grid; grid-template-columns: repeat(3,1fr); gap:10px; }
.opening-banner .thumbs img{ border-radius:8px; aspect-ratio:1; object-fit:cover; }

/* ============================================================ CTA band */
.cta-band{
  background: var(--gradient-flame);
  color: var(--white);
  border-radius: var(--radius-l);
  padding: clamp(40px,6vw,72px);
  display:flex; align-items:center; justify-content:space-between; gap: 30px;
  position:relative; overflow:hidden;
  margin: 0 var(--pad);
}
.cta-band h3{ font-size: clamp(1.7rem, 3vw, 2.4rem); max-width: 18ch; }
.cta-band p{ color: rgba(255,255,255,.85); margin-top:10px; max-width: 40ch; }
.cta-band .btn-ghost{ border-color: rgba(255,255,255,.7); color: var(--white); }
.cta-band .btn-ghost:hover{ background: var(--white); color: var(--ember-2); }

/* ============================================================ Testimonial / quote strip */
.quote-strip{ max-width: 880px; margin: 0 auto; text-align:center; }
.quote-strip svg{ margin: 0 auto 22px; width:36px; height:28px; color: var(--ember-2); }
.quote-strip p{ font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height:1.5; font-style:italic; }
.quote-strip .who{ margin-top: 22px; font-family: var(--font-mono); font-size:.78rem; letter-spacing:.08em; color: var(--steel); text-transform:uppercase; }

/* ============================================================ Contact page */
.contact-grid{ display:grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px,5vw,70px); }
.contact-grid > *{ min-width: 0; }
.info-row a, .info-row span{ overflow-wrap: anywhere; word-break: break-word; }
.contact-info-card{
  background: var(--ink); color: var(--paper); border-radius: var(--radius-l);
  padding: clamp(30px,4vw,46px); height:100%;
}
.info-row{ display:flex; gap:16px; padding: 20px 0; border-bottom: 1px solid var(--line-on-dark); }
.info-row:first-of-type{ padding-top:0; }
.info-row .ic{ width:38px; height:38px; border-radius:10px; background: rgba(255,255,255,.06); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.info-row .ic svg{ width:18px; height:18px; color: var(--ember-3); }
.info-row h5{ font-family: var(--font-mono); font-size:.68rem; letter-spacing:.12em; text-transform:uppercase; color: rgba(248,244,236,.5); margin-bottom:6px; }
.info-row a, .info-row span{ font-size:.97rem; color: var(--paper); line-height:1.6; display:block; }

.form-card{
  background: var(--white); border:1px solid var(--line); border-radius: var(--radius-l);
  padding: clamp(28px, 4vw, 46px);
}
.field{ margin-bottom: 22px; }
.field label{
  display:block; font-family: var(--font-mono); font-size:.7rem; letter-spacing:.1em; text-transform:uppercase;
  color: var(--steel); margin-bottom: 10px;
}
.field input, .field textarea{
  width:100%; border: none; border-bottom: 1px solid var(--line);
  background: transparent; padding: 12px 2px; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  transition: border-color var(--speed-fast) ease;
  resize: vertical;
}
.field input:focus, .field textarea:focus{ border-color: var(--ember-2); outline:none; }
.field-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-foot{ display:flex; align-items:center; justify-content:space-between; gap:20px; margin-top: 8px; flex-wrap:wrap; }
.form-note{ font-size:.82rem; color: var(--steel-light); }
.form-status{ font-size:.88rem; margin-top:16px; font-family: var(--font-mono); }
.form-status[data-state="success"]{ color:#0d6b3d; }
.form-status[data-state="error"]{ color: var(--ember-1); }
.form-status[data-state="loading"]{ color: var(--steel); }

/* honeypot */
.hp{ position:absolute; left:-9999px; top:-9999px; opacity:0; height:0; width:0; }

/* ============================================================ Footer */
.site-footer{ background: var(--ink); color: rgba(248,244,236,.75); padding-top: 90px; }
.footer-top{ display:grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; }
.footer-brand .brand{ margin-bottom: 18px; }
.footer-brand p{ max-width: 32ch; line-height:1.7; font-size:.94rem; color: rgba(248,244,236,.6); }
.social-row{ display:flex; gap:10px; margin-top:24px; }
.social-row a{
  width:38px; height:38px; border-radius:50%; border:1px solid var(--line-on-dark);
  display:flex; align-items:center; justify-content:center; transition: all var(--speed-fast) ease;
}
.social-row a:hover{ background: var(--gradient-flame); border-color: transparent; }
.social-row svg{ width:16px; height:16px; }
.footer-col h5{ font-family: var(--font-mono); font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; color: var(--ember-3); margin-bottom: 22px; }
.footer-col ul li{ margin-bottom: 13px; }
.footer-col a{ font-size:.92rem; color: rgba(248,244,236,.7); transition: color var(--speed-fast) ease; }
.footer-col a:hover{ color: var(--white); }
.footer-bottom{
  border-top: 1px solid var(--line-on-dark);
  padding: 22px 0 30px;
  display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap;
  font-size:.82rem; color: rgba(248,244,236,.45);
}
.footer-bottom a{ color: rgba(248,244,236,.6); }
.footer-bottom a:hover{ color: var(--white); }

/* ============================================================ Page hero (sub-pages) */
.page-hero{
  background: var(--ink); color: var(--paper);
  padding: 170px 0 90px;
  position:relative; overflow:hidden;
}
.page-hero::before{
  content:""; position:absolute; right:-10%; top:-30%; width:60%; height:160%;
  background: var(--gradient-flame); opacity:.10; filter: blur(80px); border-radius:50%;
}
.page-hero h1{ font-size: clamp(2.3rem, 5vw, 4rem); max-width: 18ch; }
.breadcrumb{
  font-family: var(--font-mono); font-size:.74rem; letter-spacing:.08em; text-transform:uppercase;
  color: rgba(248,244,236,.5); display:flex; gap:.6em; margin-bottom: 22px;
}
.breadcrumb a:hover{ color: var(--white); }

/* ============================================================ Misc components */
.badge-row{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 20px; }
.badge{
  font-family: var(--font-mono); font-size:.68rem; letter-spacing:.08em; text-transform:uppercase;
  border:1px solid var(--line-on-dark); padding:.5em 1em; border-radius:999px; color: rgba(248,244,236,.7);
}

.cards-2{ display:grid; grid-template-columns: 1fr 1fr; gap:26px; }

.safety-grid{ display:grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.safety-item{ display:flex; gap:16px; padding: 22px; border:1px solid var(--line); border-radius: var(--radius-m); }
.safety-item .ic{ width:42px; height:42px; border-radius:10px; background: var(--paper-dim); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.safety-item .ic svg{ width:20px; height:20px; color: var(--ember-2); }
.safety-item h5{ font-size: 1.02rem; margin-bottom:6px; }
.safety-item p{ font-size:.9rem; color: var(--steel); line-height:1.55; }

/* skip link */
.skip-link{
  position:absolute; left:-9999px; top:0; background: var(--ember-2); color:white; padding: 10px 16px; z-index:3000;
}
.skip-link:focus{ left: 10px; top: 10px; }

/* ============================================================ Responsive */
@media (max-width: 1080px){
  .stat-grid{ grid-template-columns: repeat(2,1fr); }
  .stat{ border-left:none; padding-left:0; border-top:1px solid var(--line-on-dark); padding-top:20px; }
  .stat:nth-child(odd){ }
  .pillars{ grid-template-columns: repeat(2,1fr); }
  .service-grid{ grid-template-columns: repeat(2,1fr); }
  .vm-grid{ grid-template-columns: 1fr; }
  .process{ grid-template-columns: repeat(2,1fr); row-gap: 36px; }
  .process-step:nth-child(2)::after{ display:none; }
  .facility-row{ grid-template-columns: repeat(2,1fr); }
  .branch-list{ grid-template-columns: repeat(2,1fr); }
  .gallery-grid{ grid-template-columns: repeat(3,1fr); grid-auto-rows: 200px; }
  .gallery-grid .g-item.wide{ grid-column: span 2; }
  .opening-banner{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .footer-top{ grid-template-columns: 1fr 1fr; gap: 36px 24px; }
}

@media (max-width: 720px){
  .brand-word{ display:none; }
  .header-actions{ gap: 8px; }
  .header-actions .btn-primary{ display:none; }
  .hero-content{ padding: 150px var(--pad) 60px; }
  .hero h1{ max-width: 100%; }
  .hero-scroll{ display:none; }
  .stat-grid{ grid-template-columns: 1fr 1fr; }
  .section-head{ flex-direction:column; align-items:flex-start; gap:18px; }
  .split{ grid-template-columns: 1fr; }
  .split-media .tag-pill{ left:14px; bottom:-18px; padding:14px 16px; }
  .pillars{ grid-template-columns: 1fr; }
  .service-grid{ grid-template-columns: 1fr; }
  .process{ grid-template-columns: 1fr; }
  .process-step::after{ display:none !important; }
  .facility-row{ grid-template-columns: 1fr; }
  .branch-list{ grid-template-columns: 1fr 1fr; }
  .gallery-grid{ grid-template-columns: repeat(2,1fr); grid-auto-rows: 160px; }
  .gallery-grid .g-item.wide{ grid-column: span 2; }
  .gallery-grid .g-item.tall{ grid-row: span 1; }
  .cta-band{ flex-direction:column; align-items:flex-start; text-align:left; margin: 0 16px; }
  .footer-top{ grid-template-columns: 1fr; padding-bottom: 36px; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; }
  .contact-grid{ gap: 30px; }
  .field-row{ grid-template-columns: 1fr; gap:0; }
  .quote-strip p{ font-size:1.3rem; }
  .cards-2{ grid-template-columns:1fr; }
  .safety-grid{ grid-template-columns:1fr; }
  .lightbox{ padding: 16px; }
  .lb-prev, .lb-next{ width:38px; height:38px; }
}

@media (max-width: 480px){
  .gallery-grid{ grid-template-columns: repeat(2,1fr); grid-auto-rows: 140px; }
  .branch-list{ grid-template-columns: 1fr; }
  .opening-banner .thumbs{ grid-template-columns: repeat(3,1fr); }
}
