/* ==========================================================================
   SPEAK / SPEAKsystems - Shared Stylesheet
   Design tokens: monochrome core, single hi-vis accent, hazard-stripe motif
   ========================================================================== */

/* If you have licensed Monument Extended font files, drop the .woff2 files into
   /assets/fonts/ and uncomment the @font-face blocks below. Until then, the
   stack falls back to Unbounded (a free, visually-close extended geometric
   face) so the site still renders correctly without the licensed files. */

/*
@font-face{
  font-family: "Monument Extended";
  src: url("assets/fonts/MonumentExtended-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: "Monument Extended";
  src: url("assets/fonts/MonumentExtended-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
*/

:root{
  --black: #0a0a0a;
  --white: #ffffff;
  --paper: #f4f4f2;
  --gray-700: #4a4a48;
  --gray-500: #7a7a76;
  --gray-300: #c9c9c4;
  --line: #d9d9d4;
  --line-dark: #2a2a28;
  --hivis: #d7ff3d;
  --hivis-dim: #a8cc2c;

  --font-display: "Monument Extended", "Unbounded", "Archivo Black", "Helvetica Neue", sans-serif;
  --font-body: "Monument Extended", "Unbounded", "Helvetica Neue", Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);

  --ease: cubic-bezier(.16,.84,.44,1);
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -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; }

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

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

.wrap{
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

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

.eyebrow{
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-500);
  display:flex;
  align-items:center;
  gap: 10px;
}
.section--black .eyebrow{ color: var(--gray-300); }
.eyebrow::before{
  content:"";
  width: 18px; height: 2px;
  background: var(--hivis);
  display:inline-block;
}

p{ margin:0; }
.lede{
  font-size: clamp(18px, 2.1vw, 22px);
  line-height: 1.5;
  color: var(--gray-700);
  max-width: 620px;
}
.section--black .lede{ color: var(--gray-300); }

/* ---------- Hazard divider (signature motif) ---------- */
.hazard{
  height: 10px;
  width: 100%;
  background-image: repeating-linear-gradient(
    -45deg,
    var(--black) 0 14px,
    var(--hivis) 14px 28px
  );
}
.hazard--thin{ height: 4px; }
.section--black .hazard-line{
  height:1px; background: var(--line-dark); border:0; margin:0;
}
.hazard-line{
  height:1px; background: var(--line); border:0; margin:0;
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 2px solid var(--black);
  border-radius: 0;
  background: var(--black);
  color: var(--white);
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover{ background: var(--hivis); color: var(--black); border-color: var(--hivis); transform: translate(-2px,-2px); }
.btn::after{ content:"→"; transition: transform .25s var(--ease); }
.btn:hover::after{ transform: translateX(4px); }

.btn--ghost{
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn--ghost:hover{ background: var(--black); color: var(--white); border-color: var(--black); }

.section--black .btn--ghost{
  color: var(--white);
  border-color: var(--white);
}
.section--black .btn--ghost:hover{ background: var(--white); color: var(--black); }

.btn--accent{
  background: var(--hivis);
  color: var(--black);
  border-color: var(--hivis);
}
.btn--accent:hover{ background: var(--black); color: var(--hivis); border-color: var(--black); }

.btn--sm{ padding: 12px 20px; font-size: 12px; }

/* ---------- Nav ---------- */
.nav{
  position: sticky; top:0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner{
  display:flex; align-items:center; justify-content: space-between;
  padding: 18px var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}
.nav__logo{
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  display:flex;
  align-items:center;
}
.nav__logo span{ color: var(--hivis-dim); }
.nav__logo img{
  height: 30px;
  width: auto;
  display:block;
}
.nav__links{
  display:flex; align-items:center; gap: 30px;
}
.nav__links a{
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}
.nav__links a::after{
  content:""; position:absolute; left:0; bottom:0; height:2px; width:0;
  background: var(--hivis-dim); transition: width .25s var(--ease);
}
.nav__links a:hover::after{ width:100%; }
.nav__links a.is-active::after{ width:100%; background: var(--black); }
.nav__cta{ margin-left: 8px; }
.nav__burger{ display:none; background:none; border:0; padding:8px; }
.nav__burger span{ display:block; width:24px; height:2px; background:var(--black); margin:5px 0; }

@media (max-width: 900px){
  .nav__links{
    position:fixed; inset: 68px 0 0 0; background: var(--white);
    flex-direction: column; align-items:flex-start; justify-content:flex-start;
    padding: 30px var(--gutter); gap: 22px;
    transform: translateX(100%); transition: transform .35s var(--ease);
    border-top: 1px solid var(--line);
  }
  .nav__links.is-open{ transform: translateX(0); }
  .nav__links a{ font-size: 20px; }
  .nav__burger{ display:block; }
  .nav__cta{ margin-left:0; margin-top: 10px; }
}

/* ---------- Sections ---------- */
.section{
  padding: clamp(64px, 9vw, 120px) 0;
  position: relative;
}
.section--black{ background: var(--black); color: var(--white); }
.section--paper{ background: var(--paper); }
.section--tight{ padding: clamp(40px,6vw,72px) 0; }

/* ---------- Hero ---------- */
.hero{
  padding-top: clamp(70px, 10vw, 120px);
  padding-bottom: clamp(60px, 8vw, 100px);
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero__grid-overlay{
  position:absolute; inset:0; opacity:.35; pointer-events:none;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent 80%);
}
.hero__content{ position:relative; z-index:2; }
.hero__sup{
  font-size: 12px; font-weight:700; letter-spacing:.18em; text-transform:uppercase;
  color: var(--hivis); margin-bottom: 20px; display:flex; align-items:center; gap:10px;
}
.hero__sup::before{ content:""; width:28px; height:2px; background:var(--hivis); }
.hero h1{
  font-size: clamp(38px, 6.4vw, 84px);
  max-width: 16ch;
  color: var(--white);
}
.hero__sub{
  margin-top: 26px;
  font-size: clamp(17px, 1.9vw, 21px);
  color: var(--gray-300);
  max-width: 620px;
  line-height: 1.55;
}
.hero__note{
  margin-top: 14px;
  font-size: 14px;
  color: var(--gray-500);
  max-width: 520px;
  font-style: normal;
}
.hero__ctas{ margin-top: 40px; display:flex; gap:16px; flex-wrap:wrap; }

/* ---------- Data / stats ---------- */
.stats{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
}
.stat{
  padding: 30px 22px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.stat:nth-child(4n){ border-right:0; }
.stat__num{
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 40px);
  color: var(--hivis);
  line-height:1;
}
.stat__label{
  margin-top:10px; font-size:12px; letter-spacing:.04em; color: var(--gray-300);
  text-transform: uppercase; font-weight:600;
}
@media (max-width: 800px){
  .stats{ grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(2n){ border-right:0; }
  .stat:nth-child(4n){ border-right: 1px solid var(--line-dark); }
  .stat:nth-child(2n){ border-right:0 !important; }
}

/* ---------- Logo strip ---------- */
.logostrip{
  display:flex; align-items:center; justify-content:space-between; gap: 40px;
  flex-wrap: wrap;
  padding: 34px 0;
}
.logostrip__item{
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--gray-500);
  opacity: .8;
  transition: opacity .2s var(--ease), color .2s var(--ease);
}
.logostrip__item:hover{ opacity:1; color: var(--black); }

/* ---------- Grid layouts ---------- */
.grid{ display:grid; gap: var(--gutter); }
.grid-2{ grid-template-columns: 1fr 1fr; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px){
  .grid-2, .grid-3{ grid-template-columns: 1fr; }
}

.head-row{
  display:flex; justify-content:space-between; align-items:flex-end; gap: 30px;
  margin-bottom: 48px; flex-wrap: wrap;
}
.head-row h2{ max-width: 14ch; }

/* ---------- Problem blocks / numbered cards ---------- */
.card{
  border: 1px solid var(--line);
  padding: 32px 28px;
  background: var(--white);
  position: relative;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.card:hover{ border-color: var(--black); transform: translateY(-4px); }
.section--black .card{ border-color: var(--line-dark); background: #131311; }
.section--black .card:hover{ border-color: var(--hivis); }
.card__tag{
  font-size: 11px; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
  color: var(--hivis-dim); margin-bottom: 18px; display:block;
}
.card h3{ font-size: 20px; margin-bottom: 14px; text-transform:none; letter-spacing:0; }
.card p{ color: var(--gray-700); font-size: 15px; line-height:1.6; }
.section--black .card p{ color: var(--gray-300); }

.list-check{ margin-top: 18px; }
.list-check li{
  padding-left: 22px; position:relative; font-size:15px; color:var(--gray-700);
  margin-bottom: 10px; line-height:1.5;
}
.section--black .list-check li{ color: var(--gray-300); }
.list-check li::before{
  content:""; position:absolute; left:0; top:7px; width:10px; height:10px;
  background: var(--hivis);
}

/* ---------- Pathway cards ---------- */
.path-card{
  border: 1px solid var(--line);
  padding: 40px 32px;
  display:flex; flex-direction:column; height:100%;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.path-card:hover{ transform: translateY(-6px); box-shadow: 0 24px 48px rgba(0,0,0,0.08); }
.path-card__num{
  font-family: var(--font-display); font-size:14px; color: var(--gray-500);
  margin-bottom: 20px; letter-spacing:.1em;
}
.path-card h3{ font-size: 26px; margin-bottom: 14px; }
.path-card p.who{ font-size:13px; text-transform:uppercase; letter-spacing:.04em; color: var(--gray-500); font-weight:700; margin-bottom: 18px; }
.path-card .list-check{ flex:1; margin-bottom: 26px; }
.path-card .btn{ align-self:flex-start; }

/* ---------- Case study cards ---------- */
.case-card{
  border: 1px solid var(--line);
  padding: 30px;
  background: var(--white);
}
.case-card__head{
  display:flex; justify-content:space-between; align-items:center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px; margin-bottom: 20px;
  flex-wrap: wrap; gap: 10px 14px;
}
.case-card__name{ font-family: var(--font-display); font-size: 17px; text-transform: uppercase; line-height:1.25; }
.case-card__badge{
  font-size: 10px; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  background: var(--black); color: var(--hivis); padding: 5px 10px; white-space:nowrap;
}
.case-card dl{ margin:0; }
.case-card dt{
  font-size: 11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  color: var(--gray-500); margin-top: 16px;
}
.case-card dt:first-child{ margin-top:0; }
.case-card dd{ margin: 6px 0 0; font-size: 14.5px; color: var(--gray-700); line-height:1.55; }

/* ---------- Quote / statement ---------- */
.statement{
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 48px);
  text-transform: uppercase;
  line-height: 1.15;
  max-width: 20ch;
}
.statement--center{ margin: 0 auto; text-align:center; max-width: 18ch; }
.statement .hi{ color: var(--hivis-dim); }
.section--black .statement .hi{ color: var(--hivis); }

/* ---------- Form ---------- */
.form-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.form-grid--full{ grid-column: 1 / -1; }
@media (max-width: 700px){ .form-grid{ grid-template-columns: 1fr; } }
.field{ display:flex; flex-direction:column; gap:8px; }
.field label{
  font-size: 12px; font-weight:700; letter-spacing:.06em; text-transform: uppercase;
  color: var(--gray-500);
}
.field input, .field select, .field textarea{
  font-family: var(--font-body); font-size: 15px; padding: 14px 16px;
  border: 1px solid var(--line); background: var(--white); color: var(--black);
  border-radius:0; outline:none; transition: border-color .2s var(--ease);
}
.section--black .field input, .section--black .field select, .section--black .field textarea{
  background:#141412; border-color: var(--line-dark); color: var(--white);
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color: var(--black); }
.section--black .field input:focus, .section--black .field select:focus, .section--black .field textarea:focus{ border-color: var(--hivis); }
.field textarea{ resize: vertical; min-height: 110px; }
.form-note{ font-size:13px; color: var(--gray-500); margin-top:18px; }

/* ---------- Footer ---------- */
.footer{ background: var(--black); color: var(--white); padding: 64px 0 30px; }
.footer__top{
  display:flex; justify-content:space-between; gap:40px; flex-wrap:wrap;
  padding-bottom: 44px; border-bottom: 1px solid var(--line-dark);
}
.footer__brand{ max-width: 380px; }
.footer__brand h3{ font-size: 26px; color: var(--white); }
.footer__brand img{ height: 34px; width: auto; display:block; }

.systems-mark{ margin-bottom: 26px; }
.systems-mark img{ height: 88px; width: auto; display:block; }
.systems-mark--sm img{ height: 44px; }
.footer__brand p{ margin-top: 16px; color: var(--gray-500); font-size: 14px; line-height:1.6; }
.footer__cols{ display:flex; gap: 60px; flex-wrap: wrap; }
.footer__col h4{
  font-size: 11px; letter-spacing:.1em; text-transform:uppercase; color: var(--gray-500);
  margin-bottom: 16px; font-family: var(--font-body); font-weight:700;
}
.footer__col a, .footer__col span{ display:block; font-size:14px; color: var(--gray-300); margin-bottom:10px; }
.footer__col a:hover{ color: var(--hivis); }
.footer__bottom{
  display:flex; justify-content:space-between; padding-top:26px; flex-wrap:wrap; gap:10px;
  font-size:12px; color: var(--gray-500);
}

.brand-mark{
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* ---------- Utility ---------- */
.mt-8{ margin-top:8px;} .mt-12{margin-top:12px;} .mt-16{margin-top:16px;} .mt-24{margin-top:24px;}
.mt-32{margin-top:32px;} .mt-48{margin-top:48px;} .mt-64{margin-top:64px;}
.center{ text-align:center; }
.max-w-content{ max-width: 720px; }
.reveal{ opacity:0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible{ opacity:1; transform:none; }
.tag-row{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 20px; }
.tag{
  font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  border: 1px solid var(--line); padding: 6px 12px; color: var(--gray-700);
}
.section--black .tag{ border-color: var(--line-dark); color: var(--gray-300); }

.page-hero{
  padding: clamp(90px,12vw,140px) 0 clamp(50px,7vw,80px);
  background: var(--black); color: var(--white);
}
.page-hero h1{ font-size: clamp(34px,5.6vw,64px); max-width: 18ch; color:var(--white); }
.page-hero .lede{ margin-top: 22px; color: var(--gray-300); max-width:640px; }

.split-media{
  aspect-ratio: 4/3; background: #17171533;
  border: 1px solid var(--line-dark);
  background-image: repeating-linear-gradient(135deg, #1c1c19 0 2px, #0f0f0d 2px 42px);
  position:relative;
}
.split-media::after{
  content: attr(data-label);
  position:absolute; bottom:16px; left:16px;
  font-size: 11px; letter-spacing:.08em; text-transform:uppercase; color: var(--gray-500);
}
