/* =========================================================
   BridgeFront Advisory — Stylesheet
   Palette drawn from brand mark: near-black ground, deep
   forest green, live-wire lime accent, charcoal grey, paper.
   ========================================================= */

:root{
  --black:      #06070a;
  --forest:     #06331d;
  --forest-2:   #0a4a29;
  --green:      #12703a;
  --lime:       #74bc1f;
  --lime-2:     #a3d451;
  --charcoal:   #2e2e2e;
  --stone:      #9a9a95;
  --stone-2:    #cfcfc9;
  --paper:      #f6f4ee;
  --paper-2:    #ece8dd;
  --ink:        #12140f;
  --ink-soft:   #43473e;
  --line:       rgba(255,255,255,0.12);
  --line-dark:  rgba(6,7,10,0.12);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Manrope", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;

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

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

::selection{ background: var(--lime); color: var(--black); }

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

.container{
  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(--lime-2);
  display:flex;
  align-items:center;
  gap:10px;
}
.eyebrow::before{
  content:"";
  width:22px; height:1px;
  background: var(--lime-2);
  display:inline-block;
}
.eyebrow.on-light{ color: var(--green); }
.eyebrow.on-light::before{ background: var(--green); }

.section{ padding: 108px 0; }
.section--tight{ padding: 72px 0; }
.section--dark{ background: var(--black); color: var(--paper); }
.section--forest{ background: linear-gradient(180deg,var(--forest) 0%, #052818 100%); color: var(--paper); }
.section--paper2{ background: var(--paper-2); }

.section-head{
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head h2{ font-size: clamp(28px, 3.4vw, 42px); margin-top:14px; line-height:1.15; }
.section-head p{ margin-top:18px; color: var(--ink-soft); font-size:17px; }
.section--dark .section-head p, .section--forest .section-head p{ color: var(--stone-2); }

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 14px 26px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  white-space: nowrap;
}
.btn-primary{
  background: var(--lime);
  color: var(--black);
}
.btn-primary:hover{ background: var(--lime-2); transform: translateY(-2px); }
.btn-outline{
  border-color: var(--line);
  color: var(--paper);
}
.btn-outline:hover{ border-color: var(--lime); color: var(--lime-2); transform: translateY(-2px); }
.btn-outline.on-light{ border-color: var(--line-dark); color: var(--ink); }
.btn-outline.on-light:hover{ border-color: var(--green); color: var(--green); }
.btn-ghost{
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 4px 0;
  border-radius: 0;
}
.btn-ghost.on-dark{ color: var(--paper); border-color: var(--stone-2); }

/* =========== HEADER / NAV =========== */
.site-header{
  position: sticky;
  top:0;
  z-index: 100;
  background: rgba(6,7,10,0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height: 84px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.brand img{ height: 46px; width:auto; }
.brand-word{
  font-family: var(--font-display);
  font-weight:700;
  font-size: 19px;
  color: var(--paper);
  letter-spacing: 0.01em;
}
.brand-word span{ color: var(--lime-2); }
.nav-links{
  display:flex;
  align-items:center;
  gap: 36px;
}
.nav-links a{
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--stone-2);
  position:relative;
  padding: 6px 0;
  transition: color .25s ease;
}
.nav-links a:hover, .nav-links a.active{ color: var(--paper); }
.nav-links a.active::after{
  content:"";
  position:absolute; left:0; right:0; bottom:0;
  height:2px; background: var(--lime);
}
.nav-cta{ display:flex; align-items:center; gap:22px; }
.nav-toggle{
  display:none;
  background:none; border:none;
  width: 32px; height:22px;
  position:relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:"";
  position:absolute; left:0; right:0;
  height:1.5px; background: var(--paper);
  transition: transform .3s var(--ease), opacity .3s ease;
}
.nav-toggle span{ top:50%; transform: translateY(-50%); }
.nav-toggle span::before{ top:-8px; }
.nav-toggle span::after{ top:8px; }
.nav-toggle.is-open span{ background: transparent; }
.nav-toggle.is-open span::before{ transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span::after{ transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 900px){
  .nav-links{
    position:fixed; top: 84px; left:0; right:0;
    height: calc(100vh - 84px);
    background: var(--lime);
    flex-direction:column;
    justify-content:flex-start;
    align-items: stretch;
    padding: 30px 32px;
    gap: 0;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    box-shadow: -20px 0 40px rgba(0,0,0,0.5);
    overflow-y: auto;
  }
  .nav-links.is-open{ transform: translateX(0); }
  .nav-links a{
    font-size:19px;
    font-weight: 700;
    color: var(--black);
    padding: 20px 6px;
    border-bottom: 1px solid rgba(6,7,10,0.18);
    width: 100%;
  }
  .nav-links a:last-of-type{ border-bottom: none; }
  .nav-links a:hover, .nav-links a:active, .nav-links a.active{ color: var(--forest); }
  .nav-links a.active::after{ display:none; }
  .nav-toggle{ display:block; }
  .nav-cta .btn-primary{ display:none; }
}

/* =========== HERO =========== */
.hero{
  position:relative;
  background: var(--black);
  color: var(--paper);
  overflow:hidden;
  padding-top: 96px;
}
.hero-inner{
  position:relative;
  z-index:2;
  padding: 88px 0 40px;
  max-width: 900px;
}
.hero h1{
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.06;
  margin-top: 22px;
  color: var(--paper);
}
.hero h1 em{
  font-style: italic;
  color: var(--lime-2);
}
.hero-sub{
  margin-top: 26px;
  max-width: 560px;
  font-size: 18px;
  color: var(--stone-2);
}
.hero-actions{
  margin-top: 40px;
  display:flex;
  gap: 18px;
  flex-wrap: wrap;
}
.hero-locales{
  margin-top:64px;
  font-family: var(--font-mono);
  font-size:12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.bridge-scene{
  position:relative;
  height: 260px;
  margin-top: 20px;
}
.bridge-scene svg{ position:absolute; inset:0; width:100%; height:100%; }

/* cable draw-in animation */
.cable{
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: draw 1.8s var(--ease) forwards;
}
@keyframes draw{ to{ stroke-dashoffset: 0; } }

/* =========== STAT BAR =========== */
.stat-bar{
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--black);
}
.stat-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat{
  padding: 34px 28px;
  border-left: 1px solid var(--line);
}
.stat:first-child{ border-left:none; }
.stat .num{
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--lime-2);
}
.stat .label{
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--stone-2);
}
@media (max-width: 800px){
  .stat-grid{ grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(3){ border-left:none; }
}

/* =========== SERVICE LIST (numbered — real sequence of engagement) =========== */
.service-list{
  display:flex;
  flex-direction:column;
}
.service-row{
  display:grid;
  grid-template-columns: 90px 1fr 1.1fr;
  gap: 40px;
  padding: 40px 0;
  border-top: 1px solid var(--line-dark);
  align-items: start;
}
.section--dark .service-row, .section--forest .service-row{ border-color: var(--line); }
.service-row:last-child{ border-bottom: 1px solid var(--line-dark); }
.section--dark .service-row:last-child, .section--forest .service-row:last-child{ border-color: var(--line); }
.service-index{
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--green);
  padding-top: 6px;
}
.section--dark .service-index, .section--forest .service-index{ color: var(--lime-2); }
.service-row h3{ font-size: 24px; }
.service-row p{ color: var(--ink-soft); font-size:16px; }
.section--dark .service-row p, .section--forest .service-row p{ color: var(--stone-2); }
.service-tags{
  margin-top:14px;
  display:flex; flex-wrap:wrap; gap:8px;
}
.service-tags span{
  font-family: var(--font-mono);
  font-size:11px;
  letter-spacing:0.04em;
  padding: 5px 10px;
  border: 1px solid var(--line-dark);
  text-transform: uppercase;
  color: var(--ink-soft);
}
.section--dark .service-tags span, .section--forest .service-tags span{ border-color: var(--line); color: var(--stone-2); }

@media (max-width: 760px){
  .service-row{ grid-template-columns: 1fr; gap: 12px; }
}

/* =========== PROCESS / SPAN (signature element) =========== */
.span-process{
  position: relative;
  margin-top: 20px;
}
.span-track{
  position:relative;
  display:grid;
  grid-template-columns: repeat(4,1fr);
  gap: 0;
}
.span-track::before{
  content:"";
  position:absolute;
  top: 27px; left: 6%; right:6%;
  height: 1px;
  background-image: linear-gradient(to right, var(--lime-2) 0 6px, transparent 6px 14px);
  background-size: 14px 1px;
  opacity:.7;
}
.span-node{
  position:relative;
  padding-top: 60px;
  padding-right: 24px;
}
.span-node::before{
  content:"";
  position:absolute;
  top: 18px; left:0;
  width: 18px; height: 18px;
  border-radius:50%;
  background: var(--black);
  border: 2px solid var(--lime);
}
.span-node .tag{
  font-family: var(--font-mono);
  font-size:11px;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color: var(--lime-2);
}
.span-node h4{ margin-top:10px; font-size:19px; color: var(--paper); }
.span-node p{ margin-top:10px; font-size:14.5px; color: var(--stone-2); }

@media (max-width: 900px){
  .span-track{ grid-template-columns: 1fr; gap: 36px; }
  .span-track::before{ display:none; }
  .span-node{ padding-left: 30px; padding-right:0; }
  .span-node::before{ top:4px; }
}

/* =========== CARD GRID (industries) =========== */
.grid-3{ display:grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: var(--line-dark); }
.section--dark .grid-3, .section--forest .grid-3{ background: var(--line); }
.tile{
  background: var(--paper);
  padding: 36px 32px;
  transition: background .3s ease;
}
.section--dark .tile, .section--forest .tile{ background: var(--black); }
.tile:hover{ background: var(--paper-2); }
.section--dark .tile:hover, .section--forest .tile:hover{ background: #0d0f0c; }
.tile .num{
  font-family: var(--font-mono);
  font-size:12px; color: var(--stone);
}
.tile h3{ margin-top:16px; font-size:20px; }
.tile p{ margin-top:10px; color: var(--ink-soft); font-size:15px; }
.section--dark .tile p, .section--forest .tile p{ color: var(--stone-2); }

@media (max-width: 860px){ .grid-3{ grid-template-columns: 1fr; } }

/* =========== QUOTE =========== */
.quote-block{
  max-width: 780px;
  margin: 0 auto;
  text-align:center;
}
.quote-block blockquote{
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  line-height:1.4;
  font-weight: 500;
  font-style: italic;
}
.quote-block .attr{
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size:13px;
  letter-spacing:0.05em;
  color: var(--lime-2);
  text-transform: uppercase;
}

/* =========== CTA BANNER =========== */
.cta-banner{
  background: var(--paper);
  border: 1px solid var(--line-dark);
  padding: 64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-banner h2{ font-size: clamp(24px,3vw,34px); max-width: 520px; }
.cta-banner p{ margin-top:12px; color: var(--ink-soft); max-width:480px; }

/* =========== FOOTER =========== */
.site-footer{
  background: var(--black);
  color: var(--stone-2);
  padding: 72px 0 28px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.footer-brand img{ height:52px; margin-bottom:18px; }
.footer-brand p{ color: var(--stone); max-width: 280px; font-size:14.5px; }
.footer-social{
  display:flex;
  gap: 14px;
  margin-top: 24px;
}
.footer-social a{
  display:flex;
  align-items:center;
  justify-content:center;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--lime);
  background: var(--lime);
  border-radius: 50%;
  color: var(--black);
  transition: border-color .25s ease, color .25s ease, background .25s ease, transform .25s ease;
}
.footer-social a:hover, .footer-social a:active{
  border-color: var(--lime-2);
  color: var(--black);
  background: var(--lime-2);
  transform: translateY(-2px);
}
.footer-social svg{ width: 18px; height: 18px; fill: currentColor; }

@media (max-width: 600px){
  .footer-social{ gap: 16px; }
  .footer-social a{ width: 48px; height: 48px; border-width: 2px; }
  .footer-social svg{ width: 22px; height: 22px; }
}

.footer-col h5{
  font-family: var(--font-mono);
  font-size:12px;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color: var(--lime-2);
  margin-bottom:18px;
}
.footer-col li{ margin-bottom:12px; }
.footer-col a{ color: var(--stone-2); font-size:14.5px; transition: color .2s ease; }
.footer-col a:hover{ color: var(--lime-2); }
.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-top: 26px;
  font-size: 13px;
  color: var(--stone);
  flex-wrap: wrap;
  gap:10px;
}
@media (max-width: 800px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}

/* =========== PAGE HERO (inner pages) =========== */
.page-hero{
  background: var(--black);
  color: var(--paper);
  padding: 168px 0 80px;
  position:relative;
  overflow:hidden;
}
.page-hero h1{
  font-size: clamp(34px,5vw,54px);
  margin-top:18px;
  max-width: 760px;
}
.page-hero p{
  margin-top:20px;
  max-width: 560px;
  color: var(--stone-2);
  font-size:17px;
}
.crumb{
  font-family: var(--font-mono);
  font-size:12px;
  color: var(--stone);
  text-transform:uppercase;
  letter-spacing:0.08em;
}
.crumb a{ color: var(--stone-2); }
.crumb a:hover{ color: var(--lime-2); }

/* =========== FOUNDER HERO PHOTO =========== */
.founder-hero-grid{
  display:grid;
  grid-template-columns: 1.3fr 0.85fr;
  gap: 56px;
  align-items:end;
}
.founder-photo-wrap{
  position:relative;
  border: 1px solid var(--line);
  padding: 10px;
  background: rgba(255,255,255,0.02);
}
.founder-photo-wrap img{
  width:100%;
  height:auto;
  display:block;
  filter: grayscale(1) contrast(1.05);
}
.founder-photo-caption{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
  padding: 0 2px;
}
.founder-photo-caption span:last-child{ color: var(--lime-2); }
@media (max-width: 860px){
  .founder-hero-grid{ grid-template-columns: 1fr; }
  .founder-photo-wrap{ max-width: 320px; }
}

/* generic two-col */
.two-col{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items:start;
}
@media (max-width: 860px){ .two-col{ grid-template-columns: 1fr; } }

.value-list{ margin-top: 8px; }
.value-list li{
  padding: 20px 0;
  border-top: 1px solid var(--line-dark);
  display:grid; grid-template-columns: 60px 1fr; gap:20px;
}
.value-list li:last-child{ border-bottom: 1px solid var(--line-dark); }
.value-list .vi{ font-family: var(--font-mono); font-size:12px; color: var(--green); padding-top:3px;}
.value-list h4{ font-size:17px; }
.value-list p{ margin-top:6px; color: var(--ink-soft); font-size:14.5px; }

/* pricing / tiers */
.tier-grid{
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}
.tier{
  border: 1px solid var(--line);
  padding: 40px 32px;
  display:flex;
  flex-direction:column;
  height:100%;
}
.tier.is-featured{
  background: var(--forest);
  border-color: var(--lime);
  position:relative;
}
.tier.is-featured::before{
  content:"Most Requested";
  position:absolute; top:-13px; left:32px;
  background: var(--lime); color: var(--black);
  font-family: var(--font-mono); font-size:10.5px; letter-spacing:0.08em;
  text-transform:uppercase; padding:5px 10px;
}
.tier .tier-name{ font-family: var(--font-mono); font-size:12px; letter-spacing:0.1em; text-transform:uppercase; color: var(--lime-2); }
.tier h3{ margin-top:14px; font-size:24px; color: var(--paper); }
.tier .tier-desc{ margin-top:10px; color: var(--stone-2); font-size:14.5px; flex-grow:0; }
.tier ul{ margin-top:24px; flex-grow:1; }
.tier ul li{
  font-size:14px; color: var(--stone-2);
  padding: 10px 0 10px 22px;
  border-top: 1px solid var(--line);
  position:relative;
}
.tier ul li::before{ content:"—"; position:absolute; left:0; color: var(--lime-2); }
.tier .btn{ margin-top:28px; align-self:flex-start; }

@media (max-width: 940px){ .tier-grid{ grid-template-columns:1fr; } }

/* industries page grid with icons */
.industry-grid{
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap: 2px;
  background: var(--line-dark);
}
@media (max-width: 860px){ .industry-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .industry-grid{ grid-template-columns: 1fr; } }

/* contact */
.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
@media (max-width: 900px){ .contact-grid{ grid-template-columns:1fr; } }

.field{ margin-bottom: 22px; }
.field label{
  display:block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea{
  width:100%;
  padding: 13px 14px;
  border: 1px solid var(--line-dark);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  border-radius: var(--radius);
  transition: border-color .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{
  border-color: var(--green);
  outline: none;
}
.field textarea{ resize: vertical; min-height: 130px; }
.form-note{ margin-top:14px; font-size:13px; color: var(--stone); }

.contact-info-list{ margin-top: 30px; }
.contact-info-list li{
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.contact-info-list li:last-child{ border-bottom: 1px solid var(--line); }
.contact-info-list .ci-label{
  font-family: var(--font-mono); font-size:11px; letter-spacing:0.08em;
  text-transform:uppercase; color: var(--lime-2);
}
.contact-info-list .ci-value{ margin-top:8px; font-size:17px; }

/* reveal on scroll */
.reveal{ opacity:0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible{ opacity:1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
  .cable{ animation:none; stroke-dashoffset:0; }
  html{ scroll-behavior:auto; }
}
