/* =========================================================
   Laughing Water Global — design tokens
   Palette:
     --navy    #0F2438  primary dark / hero, footer
     --slate   #1E3F5C  secondary panels
     --fog     #F2F4F5  light section bg
     --paper   #FBFAF7  body bg (warm off-white)
     --amber   #D9A441  signal accent (caution/readiness)
     --ink     #10161C  text
     --ink-60  rgba(16,22,28,.6) muted text
   Type:
     Display  — 'Oswald' (condensed, stencil/signage feel)
     Body     — 'Source Sans 3'
     Utility  — 'JetBrains Mono' (timestamps, labels, data)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Source+Sans+3:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --navy: #0F2438;
  --slate: #1E3F5C;
  --fog: #F2F4F5;
  --paper: #FBFAF7;
  --amber: #D9A441;
  --amber-dim: #b98a2f;
  --ink: #10161C;
  --ink-60: rgba(16,22,28,.62);
  --white-60: rgba(255,255,255,.62);
  --white-40: rgba(255,255,255,.4);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: .01em;
  font-weight: 600;
  margin: 0;
  color: var(--navy);
}

.mono {
  font-family: 'JetBrains Mono', monospace;
}

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

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

/* ---------- top bar (incident-log strip) ---------- */
.topbar {
  background: var(--navy);
  color: var(--white-60);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .04em;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar .amber-dot {
  color: var(--amber);
}

/* ---------- nav ---------- */
header.site {
  background: var(--paper);
  border-bottom: 1px solid rgba(16,22,28,.1);
  position: sticky;
  top: 0;
  z-index: 50;
}
nav.wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  line-height: 1;
  text-decoration: none;
  color: var(--navy);
}
.brand-mark {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand .name {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 21px;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.brand .name span { color: var(--amber); }
.brand .tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-60);
  margin-top: 3px;
}

.navlinks {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.navlinks a {
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--navy);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color .15s ease;
}
.navlinks a:hover, .navlinks a[aria-current="page"] {
  border-bottom-color: var(--amber);
}
.navlinks .cta {
  background: var(--navy);
  color: #fff;
  padding: 10px 18px;
  border-bottom: none;
}
.navlinks .cta:hover {
  background: var(--slate);
}

.navtoggle {
  display: none;
  background: none;
  border: 1px solid var(--navy);
  padding: 8px 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  cursor: pointer;
}

@media (max-width: 860px) {
  .navtoggle { display: block; }
  .navlinks {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-bottom: 1px solid rgba(16,22,28,.1);
    display: none;
  }
  .navlinks.open { display: flex; }
  .navlinks li { width: 100%; }
  .navlinks a {
    display: block;
    width: 100%;
    padding: 16px 28px;
    border-bottom: 1px solid rgba(16,22,28,.06);
  }
  .navlinks .cta { text-align: center; }
}

/* ---------- hero (briefing header) ---------- */
.hero {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--amber);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 26px);
  pointer-events: none;
}
.hero .wrap {
  padding-top: 92px;
  padding-bottom: 92px;
  position: relative;
}
.hero .eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amber);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.hero .eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--amber);
  display: inline-block;
  border-radius: 50%;
}
.hero h1 {
  color: #fff;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.05;
  max-width: 15ch;
  margin-bottom: 26px;
}
.hero h1 em {
  font-style: normal;
  color: var(--amber);
}
.hero .lede {
  color: var(--white-60);
  font-size: 19px;
  max-width: 56ch;
  margin-bottom: 38px;
}
.hero .actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 14.5px;
  text-decoration: none;
  padding: 15px 26px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .15s ease;
}
.btn-primary {
  background: var(--amber);
  color: var(--navy);
  font-weight: 600;
}
.btn-primary:hover { background: #eab654; }
.btn-ghost {
  border-color: var(--white-40);
  color: #fff;
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-dark {
  background: var(--navy);
  color: #fff;
}
.btn-dark:hover { background: var(--slate); }

/* stat strip under hero */
.stat-strip {
  background: var(--slate);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.stat-strip .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-strip .stat {
  padding: 22px 24px;
  border-left: 1px solid rgba(255,255,255,.12);
  color: #fff;
}
.stat-strip .stat:first-child { border-left: none; }
.stat-strip .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 26px;
  color: var(--amber);
}
.stat-strip .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white-60);
  margin-top: 4px;
}
@media (max-width: 760px) {
  .stat-strip .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat-strip .stat:nth-child(3) { border-left: none; }
}

/* ---------- section framing ---------- */
section { padding: 88px 0; }
.section-fog { background: var(--fog); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2 { color: #fff; }

.kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber-dim);
  margin-bottom: 14px;
  display: block;
}
.section-navy .kicker { color: var(--amber); }

h2.headline {
  font-size: clamp(28px, 4vw, 42px);
  max-width: 20ch;
  margin-bottom: 18px;
}
.section-intro {
  max-width: 62ch;
  color: var(--ink-60);
  font-size: 18px;
  margin-bottom: 50px;
}
.section-navy .section-intro { color: var(--white-60); }

/* ---------- cards / grids ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid rgba(16,22,28,.08);
  border-top: 3px solid var(--amber);
  padding: 30px 26px;
}
.card h3 {
  font-size: 19px;
  margin-bottom: 12px;
}
.card p {
  color: var(--ink-60);
  font-size: 15.5px;
  margin: 0;
}
.card .idx {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--amber-dim);
  margin-bottom: 10px;
  display: block;
}

/* ---------- timeline (signature element) ---------- */
.timeline {
  border-left: 2px solid rgba(255,255,255,.16);
  margin-left: 6px;
  padding-left: 0;
  list-style: none;
}
.timeline li {
  position: relative;
  padding: 0 0 42px 34px;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  background: var(--amber);
  border: 2px solid var(--navy);
  border-radius: 50%;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline .t-date {
  font-family: 'JetBrains Mono', monospace;
  color: var(--amber);
  font-size: 13px;
  letter-spacing: .06em;
  margin-bottom: 6px;
  display: block;
}
.timeline h4 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 6px;
}
.timeline p {
  color: var(--white-60);
  margin: 0;
  max-width: 56ch;
  font-size: 15.5px;
}

/* ---------- testimonials ---------- */
.quote-card {
  background: #fff;
  border: 1px solid rgba(16,22,28,.08);
  padding: 34px 30px;
  position: relative;
}
.quote-card .mark {
  font-family: 'Oswald', sans-serif;
  font-size: 54px;
  color: var(--amber);
  line-height: .6;
  display: block;
  margin-bottom: 6px;
}
.quote-card p.q {
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 20px;
}
.quote-card .who {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  color: var(--ink-60);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.quote-card .who strong {
  display: block;
  font-family: 'Source Sans 3', sans-serif;
  text-transform: none;
  font-size: 15px;
  color: var(--navy);
  letter-spacing: 0;
  margin-bottom: 2px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--amber);
  color: var(--navy);
}
.cta-band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 48px 28px;
}
.cta-band h2 { color: var(--navy); font-size: 28px; }
.cta-band p { margin: 6px 0 0; color: rgba(15,36,56,.75); }

/* ---------- forms ---------- */
.form-panel {
  background: #fff;
  border: 1px solid rgba(16,22,28,.08);
  padding: 36px;
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-60);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid rgba(16,22,28,.2);
  background: var(--paper);
  padding: 13px 14px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 15.5px;
  color: var(--ink);
}
.field textarea { min-height: 130px; resize: vertical; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
footer.site {
  background: var(--navy);
  color: var(--white-60);
  padding: 60px 0 28px;
}
footer.site .wrap {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
footer.site h4 {
  color: #fff;
  font-size: 14px;
  letter-spacing: .08em;
  margin-bottom: 16px;
}
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site li { margin-bottom: 10px; font-size: 14.5px; }
footer.site a { text-decoration: none; }
footer.site a:hover { color: var(--amber); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 44px;
  padding-top: 22px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: var(--white-40);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 760px) {
  footer.site .wrap { grid-template-columns: 1fr; }
}

/* ---------- page header (interior pages) ---------- */
.page-head {
  background: var(--navy);
  color: #fff;
  border-bottom: 4px solid var(--amber);
  padding: 64px 0 54px;
}
.page-head h1 { color: #fff; font-size: clamp(32px, 5vw, 48px); }
.page-head p {
  color: var(--white-60);
  max-width: 60ch;
  margin-top: 16px;
  font-size: 17px;
}

/* utility */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.list-check { list-style: none; padding: 0; margin: 0; }
.list-check li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 14px;
  color: var(--ink-60);
}
.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--amber-dim);
  font-weight: 700;
}
.section-navy .list-check li {
  color: var(--white-60);
}
.section-navy .list-check li::before {
  color: var(--amber);
}
