/* ============================================================
   TRAILBLAZER CONSULTANCY — design tokens
   Palette:
     --navy       #1F2B45  primary dark / brand navy (from logo)
     --navy-deep  #141C30  darker layer, footer
     --navy-2     #2A3A5C  raised panels on navy
     --orange     #D4703B  primary brand accent (from logo)
     --orange-2   #E68A54  hover / bright accent
     --paper      #F3EEE3  warm light section background
     --paper-2    #E9E1D1  card / raised on paper
     --ink        #14120E  text on paper
   Type:
     display: 'Oswald'      (condensed industrial, echoes wordmark)
     body:    'Inter'
     mono:    'IBM Plex Mono' (specs, labels, coordinates)
   ============================================================ */

:root{
  --navy: #1F2B45;
  --navy-deep: #141C30;
  --navy-2: #2A3A5C;
  --orange: #D4703B;
  --orange-2: #E68A54;
  --paper: #F3EEE3;
  --paper-2: #E9E1D1;
  --ink: #14120E;
  --line-navy: rgba(243,238,227,0.14);
  --line-navy-strong: rgba(243,238,227,0.28);
  --line-paper: rgba(20,18,14,0.14);
  --line-paper-strong: rgba(20,18,14,0.3);

  --display: 'Oswald', 'Arial Narrow', sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'IBM Plex Mono', 'SFMono-Regular', Menlo, monospace;

  --wrap: 1180px;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *,*::before,*::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body{
  margin:0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img{ display:block; max-width:100%; }

a{ color: inherit; text-decoration: none; }

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

h1,h2,h3{
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0;
}

::selection{ background: var(--orange); color: var(--paper); }

/* focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

/* faint paper grain, ambient texture over whole page */
.grain{
  position: fixed; inset: 0; pointer-events: none; z-index: 999;
  opacity: 0.035; mix-blend-mode: multiply;
  background-image: radial-gradient(circle, #000 0.6px, transparent 0.6px);
  background-size: 3px 3px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 22px;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn--sm{ padding: 10px 16px; font-size: 12px; }
.btn--primary{
  background: var(--orange);
  color: var(--navy-deep);
  font-weight: 600;
}
.btn--primary:hover{ background: var(--orange-2); transform: translateY(-1px); }
.btn--ghost{
  border-color: currentColor;
  color: inherit;
}
.btn--ghost:hover{ background: rgba(255,255,255,0.08); transform: translateY(-1px); }

/* ============================================================
   EYEBROW / LABELS
   ============================================================ */
.eyebrow{
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-2);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
}
.eyebrow--dark{ color: var(--orange); }
.eyebrow__tick{
  width: 22px; height: 1px; background: currentColor; display: inline-block;
}

/* ============================================================
   NAV
   ============================================================ */
.nav{
  position: sticky; top: 0; z-index: 100;
  background: rgba(243,238,227,0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-paper);
}
.nav__inner{
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand{ display: flex; align-items: center; gap: 12px; }
.brand__mark{ height: 28px; width: auto; }
.brand__type{ display: flex; flex-direction: column; line-height: 1; }
.brand__name{
  font-family: var(--display); font-weight: 700; font-size: 18px;
  letter-spacing: 0.03em; text-transform: uppercase; color: var(--ink);
}
.brand__sub{
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--orange); margin-top: 3px;
}
.nav__links{ display: flex; gap: 34px; }
.nav__links a{
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--ink); position: relative; padding: 4px 0;
}
.nav__links a::after{
  content:''; position:absolute; left:0; right:100%; bottom:-2px; height: 2px; background: var(--orange);
  transition: right 0.2s ease;
}
.nav__links a:hover::after{ right: 0; }
.nav__cta{ display: inline-flex; }
.nav__burger{
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: 1px solid var(--line-paper-strong); border-radius: 3px;
}
.nav__burger span{ height: 2px; background: var(--ink); width: 18px; margin: 0 auto; }
.mobile-nav{
  display: none; flex-direction: column; gap: 2px; padding: 10px 28px 22px;
  background: var(--paper); border-bottom: 1px solid var(--line-paper);
}
.mobile-nav a{
  font-family: var(--mono); font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 12px 0; border-bottom: 1px solid var(--line-paper);
}
.mobile-nav .btn{ margin-top: 14px; justify-content: center; }

@media (max-width: 880px){
  .nav__links, .nav__cta{ display: none; }
  .nav__burger{ display: flex; }
  .mobile-nav.is-open{ display: flex; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero{
  position: relative;
  background: var(--navy);
  color: var(--paper);
  overflow: hidden;
  padding-top: 30px;
}
.hero__grid{
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-navy) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-navy) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 40%, transparent 90%);
}
.hero__inner{
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 40px;
  padding-top: 72px;
  padding-bottom: 72px;
  min-height: 640px;
}
.hero__title{
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.1;
  max-width: 12.5ch;
  color: var(--paper);
}
.hero__sub{
  max-width: 46ch;
  margin: 26px 0 34px;
  color: rgba(243,238,227,0.72);
  font-size: 17px;
}
.hero__actions{ display: flex; flex-wrap: wrap; gap: 16px; }

.hero__diagram svg{ width: 100%; height: auto; }
.hero__diagram .draw{
  fill: none;
  stroke: var(--paper);
  stroke-opacity: 0.9;
}
.hero__diagram .ground{ stroke: var(--orange-2); stroke-width: 2; }
.hero__diagram .hatch line{ stroke: rgba(243,238,227,0.35); stroke-width: 1.4; }
.hero__diagram .body{ stroke-width: 2.5; }
.hero__diagram .wheel{ stroke-width: 2; }
.hero__diagram .track{ stroke-width: 3; }
.hero__diagram .cab{ stroke-width: 2.5; }
.hero__diagram .arm{ stroke: var(--orange-2); }
.hero__diagram .bucket{ stroke: var(--orange-2); }
.hero__diagram .pivot{ fill: var(--orange); stroke: none; }
.hero__diagram .angle{ stroke: rgba(243,238,227,0.5); stroke-width: 1.2; stroke-dasharray: 3 3; }
.hero__diagram .dimline{ stroke: rgba(243,238,227,0.45); stroke-width: 1; }
.hero__diagram .dimtick{ stroke: rgba(243,238,227,0.45); stroke-width: 1; }
.hero__diagram .label{
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em;
  fill: rgba(243,238,227,0.65);
}
.hero__diagram .label--tag{ fill: var(--orange-2); }

.hero__diagram .wall{ stroke-width: 3; }
.hero__diagram .roof{ stroke: var(--orange-2); }
.hero__diagram .door{ stroke-width: 2.5; }
.hero__diagram .window{ stroke-width: 2; }

@media (max-width: 980px){
  .hero__inner{ grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 44px; }
  .hero__diagram{ order: -1; max-width: 480px; margin: 0 auto; }
}

/* ============================================================
   SECTION HEAD (shared)
   ============================================================ */
.section-head{ max-width: 640px; margin-bottom: 56px; }
.section-head h2{ font-size: clamp(28px, 3.6vw, 42px); color: var(--ink); }
.section-head--light h2{ color: var(--paper); }
.section-head__sub{ margin: 20px 0 0; color: rgba(20,18,14,0.6); font-size: 16px; max-width: 52ch; }

/* ============================================================
   SECTORS
   ============================================================ */
.sectors{ padding: 110px 0; background: var(--paper); }
.cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-paper-strong);
  border: 1px solid var(--line-paper-strong);
}
.card{
  position: relative;
  background: var(--paper);
  padding: 40px 32px 36px;
}
.card__corner{
  position: absolute; top: 14px; right: 14px; width: 12px; height: 12px;
  border-top: 1px solid var(--line-paper-strong); border-right: 1px solid var(--line-paper-strong);
}
.card__icon{
  width: 58px; height: 58px; margin-bottom: 26px;
  stroke: var(--orange); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.card__tag{
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em;
  color: rgba(20,18,14,0.45); text-transform: uppercase; margin: 0 0 14px;
}
.card h3{ font-size: 21px; margin-bottom: 12px; color: var(--ink); }
.card p{ margin: 0; color: rgba(20,18,14,0.68); font-size: 15px; }

@media (max-width: 880px){
  .cards{ grid-template-columns: 1fr; }
  .sectors{ padding: 72px 0; }
}

/* ============================================================
   APPROACH — simple 3-step
   ============================================================ */
.approach{ padding: 100px 0 110px; background: var(--navy-deep); }
.steps{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}
.step__num{
  display: block;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em;
  color: var(--orange-2); margin-bottom: 16px;
}
.step h3{ font-size: 21px; margin-bottom: 10px; color: var(--paper); }
.step p{ margin: 0; color: rgba(243,238,227,0.7); font-size: 15px; }

@media (max-width: 880px){
  .steps{ grid-template-columns: 1fr; gap: 34px; }
  .approach{ padding: 72px 0 80px; }
}

/* ============================================================
   STATS
   ============================================================ */
.stats{ background: var(--paper); padding: 0 0 110px; }
.stats__inner{
  border-top: 1px solid var(--line-paper-strong);
  border-bottom: 1px solid var(--line-paper-strong);
  padding: 40px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}
.stats__item{ display: flex; flex-direction: column; gap: 8px; }
.stats__num{
  font-family: var(--display); font-weight: 600; font-size: 38px; color: var(--orange);
}
.stats__label{
  font-family: var(--mono); font-size: 12px; color: rgba(20,18,14,0.55);
  text-transform: uppercase; letter-spacing: 0.04em;
}

@media (max-width: 880px){
  .stats__inner{ grid-template-columns: 1fr; gap: 26px; padding: 34px 0; }
  .stats{ padding-bottom: 72px; }
}

/* ============================================================
   WHY US
   ============================================================ */
.why{ padding: 0 0 120px; background: var(--paper); }
.why__grid{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px;
}
.why__tag{
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; color: var(--orange);
  margin: 0 0 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line-paper-strong);
}
.why__item h3{ font-size: 20px; margin-bottom: 10px; color: var(--ink); }
.why__item p{ margin: 0; color: rgba(20,18,14,0.66); font-size: 15px; }

@media (max-width: 880px){
  .why__grid{ grid-template-columns: 1fr; gap: 40px; }
  .why{ padding-bottom: 80px; }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact{ position: relative; background: var(--navy); color: var(--paper); overflow: hidden; padding: 110px 0; }
.contact__inner{
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
}
.contact h2{ font-size: clamp(28px, 3.6vw, 42px); color: var(--paper); }
.contact__sub{ margin: 20px 0 32px; color: rgba(243,238,227,0.68); max-width: 42ch; }
.contact__list{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.contact__list li{
  display: flex; justify-content: space-between; gap: 20px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line-navy);
  font-size: 15px;
}
.contact__list span{ font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; color: var(--orange-2); text-transform: uppercase; align-self: center; }
.contact__list a{ text-align: right; }
.contact__list a:hover{ color: var(--orange-2); }

.contact__form{ display: flex; flex-direction: column; gap: 18px; }
.contact__form label{ display: flex; flex-direction: column; gap: 8px; }
.contact__form span{
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(243,238,227,0.6);
}
.contact__form input,
.contact__form textarea{
  background: var(--navy-2);
  border: 1px solid var(--line-navy-strong);
  border-radius: 3px;
  padding: 13px 14px;
  color: var(--paper);
  font-family: var(--body);
  font-size: 15px;
  resize: vertical;
}
.contact__form input::placeholder,
.contact__form textarea::placeholder{ color: rgba(243,238,227,0.35); }
.contact__form .btn{ align-self: flex-start; margin-top: 6px; }
.contact__note{ font-size: 12.5px; color: rgba(243,238,227,0.4); margin: 4px 0 0; }

@media (max-width: 880px){
  .contact__inner{ grid-template-columns: 1fr; gap: 44px; }
  .contact{ padding: 72px 0; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer{ background: var(--navy-deep); color: rgba(243,238,227,0.6); padding: 40px 0; }
.footer__inner{
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
.footer .brand__name{ color: var(--paper); }
.footer__links{ display: flex; gap: 26px; }
.footer__links a{ font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
.footer__links a:hover{ color: var(--orange-2); }
.footer__copy{ font-family: var(--mono); font-size: 11.5px; margin: 0; }

@media (max-width: 700px){
  .footer__inner{ flex-direction: column; align-items: flex-start; }
}
