/* ==========================================================================
   Campaign Push — "The Flight" design system
   Light campaign-flight board: bone / sand / ink / signal teal
   ========================================================================== */

:root {
  --bone: #EEEBE4;
  --sand: #E2DDD3;
  --ink: #121816;
  --teal: #0F9F8A;
  --ember: #E4572E;
  --grey: #7A7F78;

  --font-head: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  --header-height: 84px;
  --radius-sm: 3px;
  --radius-md: 8px;
  --radius-lg: 4px;
  --max-width: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

ul, ol { padding: 0; margin: 0; }
li { list-style: none; }

a { color: currentColor; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

input, textarea, select { font-family: inherit; font-size: 1rem; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.14;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-weight: 700; }
h3, h4 { font-weight: 600; }

p { margin: 0 0 1em; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.mono {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.teal-text { color: var(--teal); }
.ember-text { color: var(--ember); }

/* --------------------------------------------------------------------------
   Surfaces
   -------------------------------------------------------------------------- */

.surface-bone { background: var(--bone); color: var(--ink); }
.surface-ink  { background: var(--ink);  color: var(--bone); }
.surface-sand { background: var(--sand); color: var(--ink); }
.surface-teal { background: var(--teal); color: var(--ink); }

.surface-ink .eyebrow,
.surface-ink .lede,
.surface-ink .section-head p { color: rgba(238, 235, 228, 0.62); }

.surface-bone .eyebrow,
.surface-sand .eyebrow { color: var(--grey); }

/* --------------------------------------------------------------------------
   Header — horizontal underline nav (no rail)
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  background: transparent;
  color: var(--ink);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: var(--ink);
  color: var(--bone);
  box-shadow: 0 1px 0 rgba(0,0,0,0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-height);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  white-space: nowrap;
}

.brand-mono {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.82rem;
  background: var(--teal);
  color: var(--ink);
  padding: 3px 7px;
  border-radius: 3px;
  letter-spacing: 0.04em;
}

.brand-word {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.12rem;
}

.site-nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  position: relative;
  font-size: 0.94rem;
  font-weight: 600;
  padding-bottom: 6px;
  opacity: 0.86;
  transition: opacity 0.2s;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--teal);
  transition: right 0.28s var(--ease);
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active { opacity: 1; }

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.is-active::after { right: 0; }

.header-cta { white-space: nowrap; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px; height: 24px;
  background: none; border: none; padding: 0;
}

.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: currentColor; border-radius: 2px;
}

@media (max-width: 920px) {
  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 0; right: 0;
    background: var(--ink);
    color: var(--bone);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 24px;
    transform: translateY(-8px);
    opacity: 0; visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }
  .site-nav.is-open { opacity: 1; transform: translateY(0); visibility: visible; }
  .nav-link { padding: 14px 0; width: 100%; border-bottom: 1px solid rgba(238,235,228,0.1); }
  .nav-link::after { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.94rem;
  border: 1.5px solid transparent;
  transition: transform 0.2s var(--ease), background-color 0.2s, border-color 0.2s, opacity 0.2s;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--teal);
  color: var(--ink);
  border-color: var(--teal);
}

.btn-primary:hover { opacity: 0.9; }

.btn-secondary {
  background: transparent;
  border-color: currentColor;
  color: currentColor;
}

.btn-secondary:hover { border-color: var(--teal); color: var(--teal); }

.btn-ghost {
  background: transparent;
  color: currentColor;
  text-decoration: underline;
  padding: 14px 6px;
}

.btn-block { width: 100%; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

section { padding: 100px 0; }

@media (max-width: 700px) { section { padding: 68px 0; } }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}

.section-head { max-width: 760px; margin-bottom: 52px; }

.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); }

.section-head p {
  color: var(--grey);
  font-size: 1.06rem;
  max-width: 620px;
}

/* --------------------------------------------------------------------------
   Hero — the flight board
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding-top: calc(var(--header-height) + 28px);
  padding-bottom: 56px;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 34px;
}

@media (max-width: 700px) { .hero { min-height: 80vh; padding-bottom: 40px; } }

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
}

.hero-hairline {
  height: 1px;
  background: var(--ink);
  position: relative;
  margin: 0 24px;
}

.hero-hairline::before,
.hero-hairline::after {
  content: "";
  position: absolute;
  top: -3px;
  width: 2px;
  height: 7px;
  background: var(--teal);
}

.hero-hairline::before { left: 8%; }
.hero-hairline::after { left: 32%; }

.hero-body h1 {
  font-size: clamp(2.2rem, 5.4vw, 4.2rem);
  max-width: 980px;
}

.hero-standfirst {
  font-size: 1.16rem;
  color: var(--grey);
  max-width: 600px;
  margin-top: 20px;
}

.hero-baseline {
  margin-top: 34px;
  position: relative;
}

.baseline-track {
  height: 3px;
  background: var(--teal);
  border-radius: 2px;
  margin-bottom: 12px;
}

.stage-ticks {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.stage-ticks li { position: relative; padding-left: 14px; }

.stage-ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ember);
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-plate { margin-top: 10px; }

.flight-plate {
  position: relative;
  margin: 0;
  border: 1px solid var(--ink);
  border-radius: var(--radius-md);
  overflow: hidden;
  isolation: isolate;
}

.flight-plate img {
  width: 100%;
  height: clamp(240px, 44vw, 480px);
  object-fit: cover;
  display: block;
}

.plate-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15,159,138,0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,159,138,0.16) 1px, transparent 1px);
  background-size: 48px 48px;
  mix-blend-mode: normal;
  pointer-events: none;
}

.plate-tick {
  position: absolute;
  width: 22px; height: 22px;
  pointer-events: none;
}

.plate-tick::before,
.plate-tick::after {
  content: "";
  position: absolute;
  background: var(--teal);
}

.tick-tl { top: 10px; left: 10px; }
.tick-tr { top: 10px; right: 10px; }
.tick-bl { bottom: 10px; left: 10px; }
.tick-br { bottom: 10px; right: 10px; }

.tick-tl::before, .tick-tr::before, .tick-bl::before, .tick-br::before { width: 100%; height: 2px; top: 0; }
.tick-tl::after, .tick-tr::after, .tick-bl::after, .tick-br::after { width: 2px; height: 100%; left: 0; }

.tick-bl::before, .tick-br::before { top: auto; bottom: 0; }
.tick-tr::after, .tick-br::after { left: auto; right: 0; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey);
  border-top: 1px solid rgba(18,24,22,0.14);
  padding-top: 18px;
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   Metric trio
   -------------------------------------------------------------------------- */

.metric-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 700px) { .metric-trio { grid-template-columns: 1fr; } }

.metric-card {
  padding: 30px;
  border: 1px solid rgba(18,24,22,0.16);
  border-radius: var(--radius-md);
}

.metric-card .value {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 2.4rem;
  color: var(--teal);
  letter-spacing: -0.01em;
}

.metric-card .label { font-weight: 600; margin-top: 8px; }

.metric-note { margin-top: 22px; font-size: 0.85rem; color: var(--grey); }

/* --------------------------------------------------------------------------
   Grids / cards
   -------------------------------------------------------------------------- */

.grid { display: grid; gap: 24px; }

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 920px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.stage-card, .capability-card, .disc-card, .faq-item, .work-card, .value-card, .engagement-card {
  border: 1px solid rgba(18,24,22,0.16);
  border-radius: var(--radius-md);
  padding: 30px;
}

.surface-ink .stage-card,
.surface-ink .capability-card { border-color: rgba(238,235,228,0.18); }

.stage-card .num, .capability-card .num {
  font-family: var(--font-mono);
  color: var(--teal);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 16px;
}

.card-photo { border-radius: var(--radius-md); overflow: hidden; margin-bottom: 20px; border: 1px solid rgba(18,24,22,0.16); }

.card-photo img { width: 100%; height: 230px; object-fit: cover; }

/* --------------------------------------------------------------------------
   Method / editorial split (stacked, not 50/50 console)
   -------------------------------------------------------------------------- */

.editorial-stack { display: flex; flex-direction: column; gap: 44px; }

.method-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 900px) { .method-row { grid-template-columns: 1fr; } }

.method-row img {
  border-radius: var(--radius-md);
  border: 1px solid rgba(18,24,22,0.16);
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.surface-ink .method-row img { border-color: rgba(238,235,228,0.18); }

.method-list { display: flex; flex-direction: column; gap: 18px; margin-top: 26px; }

.method-list li { display: flex; gap: 14px; align-items: flex-start; }

.method-list .tick { font-family: var(--font-mono); color: var(--teal); font-size: 0.82rem; margin-top: 3px; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-head);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary .plus { font-family: var(--font-mono); color: var(--teal); flex-shrink: 0; }

.faq-item[open] summary .plus { color: var(--ember); }

.faq-item p { margin-top: 16px; color: var(--grey); }

.faq-list { display: flex; flex-direction: column; gap: 16px; }

/* --------------------------------------------------------------------------
   Closing CTA band
   -------------------------------------------------------------------------- */

.cta-band { text-align: center; }

.cta-band h2 { font-size: clamp(1.9rem, 4vw, 3rem); max-width: 780px; margin: 0 auto 20px; }

.cta-band .hero-ctas { justify-content: center; margin-top: 30px; }

.cta-band p.lede { max-width: 580px; margin: 0 auto; }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.form-grid { display: grid; gap: 22px; }

.field { display: flex; flex-direction: column; gap: 8px; }

.field label { font-weight: 600; font-size: 0.92rem; }

.field input, .field textarea, .field select {
  padding: 14px 15px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(18,24,22,0.22);
  background: #fff;
  color: var(--ink);
}

.field input:focus, .field textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}

.field-check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; }

.field-check input { margin-top: 4px; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note { font-size: 0.85rem; color: var(--grey); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer { padding: 76px 0 32px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(238,235,228,0.16);
}

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

.footer-brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.footer-brand-mark span.brand-mono { background: var(--teal); color: var(--ink); }

.footer-col p { color: rgba(238,235,228,0.7); font-size: 0.94rem; margin-bottom: 6px; }

.footer-col a:hover { color: var(--teal); }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(238,235,228,0.55);
  margin-bottom: 14px;
  font-weight: 500;
}

.footer-col .links-list { display: flex; flex-direction: column; gap: 10px; font-size: 0.94rem; }

.footer-legal { max-width: var(--max-width); margin: 0 auto; padding: 24px 0 0; }

.footer-legal p { color: rgba(238,235,228,0.55); font-size: 0.82rem; max-width: 920px; margin-bottom: 8px; }

/* --------------------------------------------------------------------------
   Cookie banner
   -------------------------------------------------------------------------- */

.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: var(--ink);
  color: var(--bone);
  border-top: 2px solid var(--teal);
  padding: 22px 24px;
}

.cookie-banner[hidden] { display: none; }

.cookie-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie-banner-inner p { margin: 0; max-width: 640px; font-size: 0.92rem; color: rgba(238,235,228,0.72); }

.cookie-banner-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.cookie-banner-panel {
  max-width: var(--max-width);
  margin: 18px auto 0;
  border-top: 1px solid rgba(238,235,228,0.16);
  padding-top: 18px;
  display: grid;
  gap: 12px;
}

.cookie-banner-panel[hidden] { display: none; }

.cookie-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 0.9rem; }

.cookie-row strong { display: block; }

.cookie-row span.desc { color: rgba(238,235,228,0.55); font-size: 0.85rem; }

/* --------------------------------------------------------------------------
   Reveal animations
   -------------------------------------------------------------------------- */

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }

.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* --------------------------------------------------------------------------
   Page furniture
   -------------------------------------------------------------------------- */

.page-header { padding: calc(var(--header-height) + 60px) 0 56px; }

.page-header h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); max-width: 840px; }

.page-header p.lede { max-width: 640px; font-size: 1.1rem; color: var(--grey); }

.divider { height: 1px; background: rgba(18,24,22,0.12); margin: 56px 0; }

.surface-ink .divider { background: rgba(238,235,228,0.16); }

.pricing-table { width: 100%; border-collapse: collapse; margin-top: 18px; }

.pricing-table th, .pricing-table td {
  text-align: left;
  padding: 15px 10px;
  border-bottom: 1px solid rgba(18,24,22,0.12);
  font-size: 0.95rem;
}

.pricing-table th {
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--grey);
}

.flight-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--teal);
  color: var(--teal);
  margin-bottom: 14px;
}

.disclaimer-box {
  border: 1px dashed rgba(18,24,22,0.3);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  font-size: 0.9rem;
  color: #4c5350;
  margin-top: 36px;
  background: rgba(255,255,255,0.35);
}

.surface-ink .disclaimer-box { border-color: rgba(238,235,228,0.3); color: rgba(238,235,228,0.7); background: rgba(255,255,255,0.03); }

.legal-content h2 { margin-top: 46px; font-size: 1.4rem; }
.legal-content h3 { margin-top: 30px; font-size: 1.1rem; }
.legal-content ul, .legal-content ol { margin: 0 0 1em; padding-left: 22px; }
.legal-content li { list-style: disc; margin-bottom: 8px; }
.legal-content ol li { list-style: decimal; }
.legal-content .lane-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
  margin: 40px 0 6px;
}

.contact-block { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }

@media (max-width: 900px) { .contact-block { grid-template-columns: 1fr; } }

.address-card { border-radius: var(--radius-md); overflow: hidden; border: 1px solid rgba(18,24,22,0.16); }

.address-card img { width: 100%; height: 220px; object-fit: cover; }

.address-card .address-body { padding: 28px; }

.address-body dt {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--grey);
  text-transform: uppercase;
  margin-top: 16px;
}

.address-body dt:first-child { margin-top: 0; }

.address-body dd { margin: 4px 0 0; font-weight: 600; }

.not-found {
  min-height: 68vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-height);
}

.not-found h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); max-width: 700px; }

.not-found .code { font-family: var(--font-mono); color: var(--teal); letter-spacing: 0.12em; }

.tag-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }

.tag-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(18,24,22,0.25);
  color: var(--grey);
}
