:root{
  --ink:#16130F;
  --ink-soft:#221D17;
  --ember:#C1391F;
  --ember-bright:#E85C33;
  --caution:#E3A73B;
  --paper:#F5F0E6;
  --paper-dim:#EAE2D2;
  --smoke:#8A8072;
  --line: rgba(245,240,230,0.14);
  --line-dark: rgba(22,19,15,0.12);
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  background:var(--paper);
  color:var(--ink);
  font-family:'Inter', sans-serif;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3,h4{
  font-family:'Big Shoulders Display', sans-serif;
  text-transform:uppercase;
  letter-spacing:0.01em;
  line-height:0.95;
  font-weight:800;
}
.mono{font-family:'IBM Plex Mono', monospace;}
a{color:inherit; text-decoration:none;}
img,svg{max-width:100%; display:block;}
.wrap{max-width:1180px; margin:0 auto; padding:0 28px;}
.eyebrow{
  font-family:'IBM Plex Mono', monospace;
  text-transform:uppercase;
  letter-spacing:0.16em;
  font-size:12px;
  font-weight:600;
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.eyebrow::before{
  content:"";
  width:22px; height:2px;
  background:currentColor;
  display:inline-block;
}
/* Hazard stripe divider — signature element */
.hazard-stripe{
  height:10px;
  width:100%;
  background:repeating-linear-gradient(
    -45deg,
    var(--ember) 0px, var(--ember) 22px,
    var(--caution) 22px, var(--caution) 44px
  );
}
.hazard-stripe.thin{height:6px;}

/* ---------- NAV ---------- */
header{
  position:sticky; top:0; z-index:50;
  background:rgba(22,19,15,0.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 28px;
  max-width:1180px; margin:0 auto;
  color:var(--paper);
  position:relative;
}
.logo{
  display:flex; align-items:center; gap:10px;
  font-family:'Big Shoulders Display', sans-serif;
  font-weight:800; font-size:22px;
  letter-spacing:0.02em;
  text-transform:uppercase;
  color:var(--paper);
}
.logo .mark{
  width:30px; height:30px;
  background:var(--ember);
  display:flex; align-items:center; justify-content:center;
  border-radius:4px;
  flex-shrink:0;
}
.logo .mark svg{width:18px; height:18px;}
.nav-links{
  display:flex; align-items:center; gap:30px;
  font-size:14px; font-weight:500;
}
.nav-links a{
  opacity:0.82; transition:opacity .2s;
  position:relative;
}
.nav-links a:hover{opacity:1;}
.nav-links .has-dropdown{position:relative;}
.dropdown{
  position:absolute; top:calc(100% + 18px); left:50%; transform:translateX(-50%);
  background:var(--ink-soft); border:1px solid var(--line); border-radius:6px;
  padding:10px; min-width:240px;
  display:none; flex-direction:column; gap:2px;
  box-shadow:0 20px 40px rgba(0,0,0,0.35);
}
.has-dropdown:hover .dropdown{display:flex;}
.dropdown a{
  padding:10px 12px; border-radius:4px; font-size:13.5px; opacity:0.85;
}
.dropdown a:hover{background:rgba(245,240,230,0.06); opacity:1;}
.nav-cta{
  display:flex; align-items:center; gap:14px;
}
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:11px 20px;
  font-size:13px; font-weight:600;
  text-transform:uppercase; letter-spacing:0.06em;
  border-radius:3px;
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .18s ease, background .2s ease, border-color .2s ease;
  white-space:nowrap;
}
.btn:hover{transform:translateY(-2px);}
.btn-primary{background:var(--ember); color:var(--paper);}
.btn-primary:hover{background:var(--ember-bright);}
.btn-ghost{border-color:rgba(245,240,230,0.35); color:var(--paper);}
.btn-ghost:hover{border-color:var(--paper);}
.btn-dark{border-color:var(--ink); color:var(--ink);}
.btn-dark:hover{background:var(--ink); color:var(--paper);}
.menu-toggle{display:none; background:none; border:0; color:var(--paper); font-size:26px; cursor:pointer;}

/* ---------- HERO ---------- */
.hero{
  background:
    radial-gradient(ellipse 900px 500px at 85% -10%, rgba(193,57,31,0.35), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-soft) 100%);
  color:var(--paper);
  padding:96px 0 80px;
  position:relative;
  overflow:hidden;
}
.hero::after{
  content:"";
  position:absolute; right:-120px; top:-120px;
  width:420px; height:420px;
  border:2px solid rgba(232,92,51,0.18);
  border-radius:50%;
}
.hero-grid{
  display:grid; grid-template-columns:1.15fr 0.85fr; gap:60px; align-items:center;
  position:relative; z-index:2;
}
.hero .eyebrow{color:var(--caution); margin-bottom:22px;}
.hero h1{
  font-size:clamp(40px, 5.4vw, 72px);
  margin-bottom:22px;
  color:var(--paper);
}
.hero h1 span{color:var(--ember-bright);}
.hero p.lead{
  font-size:18px;
  color:rgba(245,240,230,0.8);
  max-width:520px;
  margin-bottom:34px;
}
.hero-ctas{display:flex; gap:14px; flex-wrap:wrap; margin-bottom:44px;}
.hero-meta{
  display:flex; gap:28px; flex-wrap:wrap;
  padding-top:28px; border-top:1px solid var(--line);
}
.hero-meta div{font-size:13px; color:rgba(245,240,230,0.6);}
.hero-meta strong{
  display:block; font-family:'IBM Plex Mono',monospace;
  color:var(--paper); font-size:15px; font-weight:600; margin-bottom:4px;
}
.hero-visual{
  position:relative;
  aspect-ratio:4/5;
  border-radius:6px;
  background:linear-gradient(160deg, #241E17, #171310);
  border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
}
.hero-visual svg{width:72%;}
.hero-visual .ring{
  position:absolute; inset:18px;
  border:1px dashed rgba(232,92,51,0.35);
  border-radius:4px;
}
.hero-visual .tag{
  position:absolute; bottom:18px; left:18px; right:18px;
  display:flex; justify-content:space-between; align-items:center;
  font-family:'IBM Plex Mono',monospace; font-size:11px;
  color:var(--caution); letter-spacing:0.08em; text-transform:uppercase;
}
.hero-visual .tag .dot{
  width:7px; height:7px; border-radius:50%; background:var(--ember-bright);
  display:inline-block; margin-right:6px;
  animation:pulse 1.8s infinite;
}
@keyframes pulse{0%,100%{opacity:1;} 50%{opacity:0.25;}}

/* stat bar */
.stat-bar{
  background:var(--ink-soft);
  color:var(--paper);
  border-top:1px solid var(--line);
}
.stat-grid{
  display:grid; grid-template-columns:repeat(4,1fr);
  max-width:1180px; margin:0 auto;
}
.stat{
  padding:26px 28px;
  border-right:1px solid var(--line);
}
.stat:last-child{border-right:none;}
.stat .num{
  font-family:'Big Shoulders Display', sans-serif;
  font-size:34px; font-weight:800; color:var(--ember-bright);
  line-height:1;
}
.stat .label{font-size:12px; color:rgba(245,240,230,0.62); margin-top:6px;}

/* ---------- SECTION SHELL ---------- */
section{padding:96px 0;}
.section-head{max-width:640px; margin-bottom:56px;}
.section-head .eyebrow{color:var(--ember); margin-bottom:16px;}
.section-head h2{font-size:clamp(32px,4vw,46px); margin-bottom:16px;}
.section-head p{font-size:16px; color:#514A3E;}

/* ---------- SERVICES ---------- */
.services{background:var(--paper);}
.service-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:2px;
  background:var(--line-dark);
  border:1px solid var(--line-dark);
}
.service-card{
  background:var(--paper);
  padding:36px 32px;
  display:flex; flex-direction:column;
  transition:background .25s ease;
}
.service-card:hover{background:var(--paper-dim);}
.service-card .num{
  font-family:'IBM Plex Mono',monospace;
  font-size:12px; color:var(--ember); font-weight:600;
  margin-bottom:22px;
}
.service-card .icon{
  width:44px; height:44px;
  margin-bottom:20px;
  color:var(--ember);
}
.service-card .icon svg{width:100%; height:100%;}
.service-card h3{
  font-size:24px; margin-bottom:12px; text-transform:none;
  letter-spacing:0; font-weight:800;
}
.service-card p{font-size:14.5px; color:#5C5546; margin-bottom:20px; flex-grow:1;}
.service-card ul{list-style:none; font-size:13.5px; color:#3A342C;}
.service-card li{
  padding-left:18px; position:relative; margin-bottom:8px;
}
.service-card li::before{
  content:"—"; position:absolute; left:0; color:var(--ember); font-weight:700;
}
.service-card .learn{
  margin-top:22px; font-size:13px; font-weight:600;
  color:var(--ember); text-transform:uppercase; letter-spacing:0.05em;
  display:inline-flex; align-items:center; gap:6px;
}

/* ---------- ABOUT / STANDARD ---------- */
.standard{
  background:var(--ink);
  color:var(--paper);
}
.standard .wrap{
  display:grid; grid-template-columns:0.9fr 1.1fr; gap:70px; align-items:start;
}
.standard .eyebrow{color:var(--caution); margin-bottom:18px;}
.standard h2{font-size:clamp(30px,3.6vw,42px); margin-bottom:22px;}
.standard p.lead{color:rgba(245,240,230,0.72); font-size:16px; max-width:440px;}
.process{
  display:flex; flex-direction:column;
}
.process-step{
  display:grid; grid-template-columns:56px 1fr;
  gap:20px;
  padding:22px 0;
  border-top:1px solid var(--line);
}
.process-step:last-child{border-bottom:1px solid var(--line);}
.process-step .step-num{
  font-family:'Big Shoulders Display',sans-serif;
  font-size:32px; font-weight:800; color:var(--ember-bright);
}
.process-step h4{
  font-size:16px; text-transform:uppercase; letter-spacing:0.04em;
  margin-bottom:6px; font-weight:700;
}
.process-step p{font-size:14px; color:rgba(245,240,230,0.62);}

/* ---------- WHO WE SERVE ---------- */
.serve{background:var(--paper-dim);}
.serve .wrap{display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center;}
.serve-list{list-style:none;}
.serve-list li{
  display:flex; align-items:flex-start; gap:16px;
  padding:18px 0;
  border-top:1px solid var(--line-dark);
  font-size:16px; font-weight:600;
}
.serve-list li:last-child{border-bottom:1px solid var(--line-dark);}
.serve-list .ico{
  width:26px; height:26px; flex-shrink:0; color:var(--ember); margin-top:2px;
}
.serve-list .ico svg{width:100%; height:100%;}
.serve-list span.sub{
  display:block; font-weight:400; font-size:13.5px; color:#6B6355; margin-top:4px;
}
.serve-panel{
  background:var(--ink);
  border-radius:6px;
  padding:40px;
  color:var(--paper);
  position:relative;
  overflow:hidden;
}
.serve-panel::before{
  content:"";
  position:absolute; top:0; left:0; right:0; height:6px;
  background:repeating-linear-gradient(-45deg, var(--ember) 0 14px, var(--caution) 14px 28px);
}
.serve-panel h3{font-size:26px; margin-bottom:16px; margin-top:14px;}
.serve-panel p{color:rgba(245,240,230,0.68); font-size:14.5px; margin-bottom:24px;}
.hours-table{width:100%; font-size:13.5px;}
.hours-table tr{border-top:1px solid var(--line);}
.hours-table td{padding:9px 0; color:rgba(245,240,230,0.78);}
.hours-table td:last-child{text-align:right; font-family:'IBM Plex Mono',monospace; color:var(--caution);}

/* ---------- CTA ---------- */
.cta-band{
  background:var(--ember);
  color:var(--paper);
  text-align:center;
  padding:80px 0;
  position:relative;
}
.cta-band h2{font-size:clamp(32px,5vw,54px); margin-bottom:18px; color:var(--paper);}
.cta-band p{font-size:16px; color:rgba(245,240,230,0.88); max-width:520px; margin:0 auto 34px;}
.cta-band .hero-ctas{justify-content:center;}
.cta-band .btn-primary{background:var(--ink); color:var(--paper);}
.cta-band .btn-primary:hover{background:#000;}
.cta-band .btn-ghost{border-color:rgba(245,240,230,0.5);}

/* ---------- FOOTER ---------- */
footer{background:var(--ink); color:rgba(245,240,230,0.7); padding-top:70px;}
.footer-grid{
  display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:50px;
  padding-bottom:50px; border-bottom:1px solid var(--line);
}
.footer-brand .logo{margin-bottom:16px;}
.footer-brand p{font-size:14px; max-width:320px; margin-bottom:20px; color:rgba(245,240,230,0.55);}
.footer-brand .contact-line{font-size:14px; margin-bottom:8px; display:flex; gap:10px; align-items:center;}
footer h5{
  font-family:'IBM Plex Mono',monospace; text-transform:uppercase; font-size:12px;
  letter-spacing:0.1em; color:var(--caution); margin-bottom:18px;
}
footer .flinks{list-style:none;}
footer .flinks li{margin-bottom:10px; font-size:14px;}
footer .flinks a:hover{color:var(--paper);}
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding:22px 0; font-size:12.5px; color:rgba(245,240,230,0.4);
  flex-wrap:wrap; gap:10px;
}
.footer-bottom a:hover{color:var(--paper);}

/* ---------- FLOATING HELPER ---------- */
.helper{
  position:fixed; bottom:22px; right:22px; z-index:60;
  display:flex; flex-direction:column; align-items:flex-end; gap:10px;
}
.helper-note{
  background:var(--ink); color:rgba(245,240,230,0.75);
  font-size:12px; padding:10px 14px; border-radius:6px;
  max-width:210px; text-align:right;
  border:1px solid var(--line);
  display:none;
}
.helper.open .helper-note{display:block;}
.helper-actions{display:flex; gap:10px;}
.helper-actions a{
  display:flex; align-items:center; justify-content:center;
  width:46px; height:46px; border-radius:50%;
  background:var(--ink); color:var(--paper);
  border:1px solid var(--line);
  box-shadow:0 8px 22px rgba(0,0,0,0.25);
  transition:transform .18s ease, background .2s;
}
.helper-actions a:hover{transform:translateY(-3px); background:var(--ember);}
.helper-actions a svg{width:20px; height:20px;}
.helper-main{
  background:var(--ember) !important; width:52px; height:52px;
}

/* ---------- SUB-PAGE HERO (services) ---------- */
.subhero{
  background:linear-gradient(180deg, var(--ink) 0%, var(--ink-soft) 100%);
  color:var(--paper);
  padding:70px 0 0;
}
.subhero .wrap{padding-bottom:0;}
.subhero .crumb{font-size:12px; color:rgba(245,240,230,0.5); margin-bottom:20px;}
.subhero .crumb a:hover{color:var(--caution);}
.subhero-grid{
  display:grid; grid-template-columns:1.1fr 0.9fr; gap:56px; align-items:end;
  padding-bottom:56px;
}
.subhero h1{font-size:clamp(38px,5vw,64px); margin-bottom:20px;}
.subhero p.lead{color:rgba(245,240,230,0.75); font-size:17px; max-width:480px; margin-bottom:30px;}
.subhero-art{
  aspect-ratio:16/11; border-radius:6px 6px 0 0;
  background:linear-gradient(160deg,#241E17,#171310);
  border:1px solid var(--line); border-bottom:none;
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
}
.subhero-art svg{width:60%;}

.include-grid{
  display:grid; grid-template-columns:repeat(2,1fr); gap:28px;
}
.include-card{
  border:1px solid var(--line-dark); border-radius:6px; padding:28px;
  background:var(--paper);
}
.include-card .icon{width:34px; height:34px; color:var(--ember); margin-bottom:16px;}
.include-card .icon svg{width:100%; height:100%;}
.include-card h4{font-size:18px; margin-bottom:8px; text-transform:none; font-weight:800;}
.include-card p{font-size:14px; color:#5C5546;}

.side-panel{
  background:var(--paper-dim); border-radius:6px; padding:34px;
  position:sticky; top:100px;
}
.side-panel h4{font-size:12px; text-transform:uppercase; letter-spacing:0.1em; font-family:'IBM Plex Mono',monospace; color:var(--ember); margin-bottom:16px;}
.side-panel ul{list-style:none; margin-bottom:24px;}
.side-panel li{padding:10px 0; border-top:1px solid var(--line-dark); font-size:14px; font-weight:600;}
.side-panel li:last-child{border-bottom:1px solid var(--line-dark);}

/* reveal */
.reveal{opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease;}
.reveal.in{opacity:1; transform:translateY(0);}

@media (max-width: 900px){
  .nav-links, .nav-cta .btn-ghost{display:none;}
  .menu-toggle{display:block;}
  .hero-grid, .subhero-grid, .standard .wrap, .serve .wrap{grid-template-columns:1fr;}
  .hero-visual{max-width:340px; margin:0 auto;}
  .stat-grid{grid-template-columns:repeat(2,1fr);}
  .stat:nth-child(2){border-right:none;}
  .service-grid, .include-grid{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr; gap:36px;}
  .side-panel{position:static;}
}
