/* ============================================
   TossBox — Design Tokens
   ============================================ */
:root {
  --ink: #15202B;
  --ink-soft: #45535F;
  --blue: #2D8FD6;
  --blue-deep: #1B5E86;
  --warm: #F7F6F2;
  --warm-dim: #ECE9E1;
  --black: #1B1F23;
  --white: #FFFFFF;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --container: 1180px;
  --radius: 4px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--warm);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.3rem; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-deep);
  display: inline-block;
  margin-bottom: 14px;
}

.mono-stat {
  font-family: var(--font-mono);
}

p.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 52ch;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue-deep); }

.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn-outline-dark {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline-dark:hover { background: var(--ink); color: var(--white); }

/* ============================================
   Header / Nav
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--warm);
  border-bottom: 1px solid var(--warm-dim);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  display: flex;
  align-items: center;
}
.logo img {
  height: 34px;
  width: auto;
  display: block;
}
.footer-logo-chip {
  display: inline-flex;
  padding: 10px 14px;
  background: var(--warm);
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.footer-logo-chip img { height: 30px; }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a { color: var(--ink-soft); transition: color 0.15s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); }

.nav-toggle { display: none; }

@media (max-width: 780px) {
  .nav-links {
    position: fixed;
    inset: 68px 0 0 0;
    background: var(--warm);
    flex-direction: column;
    padding: 32px 24px;
    gap: 22px;
    font-size: 1.2rem;
    transform: translateY(-110%);
    transition: transform 0.25s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
  }
  .nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ink);
    margin: 5px 0;
  }
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  background: var(--ink);
  overflow: hidden;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(21,32,43,0.92) 0%, rgba(21,32,43,0.55) 45%, rgba(21,32,43,0.25) 75%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 0 64px;
  color: var(--white);
}
.hero .eyebrow { color: #9FD3F7; }
.hero h1 { color: var(--white); max-width: 14ch; }
.hero p.lead { color: rgba(255,255,255,0.82); margin: 20px 0 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================
   Process strip (signature element)
   ============================================ */
.process {
  background: var(--ink);
  color: var(--white);
  padding: 0;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.process-step {
  padding: 44px 32px;
  border-right: 1px solid rgba(255,255,255,0.12);
  position: relative;
}
.process-step:last-child { border-right: none; }
.process-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--blue);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 14px;
}
.process-step h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.process-step p {
  color: rgba(255,255,255,0.68);
  font-size: 0.95rem;
}

@media (max-width: 780px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-step { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
}

/* ============================================
   About / split section
   ============================================ */
.split {
  padding: 96px 0;
}
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-grid img {
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  object-fit: cover;
}
.split-grid.reverse .img-col { order: 2; }

.stat-row {
  display: flex;
  gap: 28px;
  margin: 28px 0 30px;
  flex-wrap: wrap;
}
.stat {
  font-family: var(--font-mono);
}
.stat .num {
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--blue-deep);
  display: block;
}
.stat .label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.bullet-list { margin-top: 18px; }
.bullet-list li {
  list-style: none;
  padding-left: 26px;
  position: relative;
  margin-bottom: 10px;
  color: var(--ink-soft);
}
.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 1px;
}

@media (max-width: 860px) {
  .split-grid { grid-template-columns: 1fr; gap: 32px; }
  .split-grid.reverse .img-col { order: -1; }
}

/* ============================================
   Locations
   ============================================ */
.locations {
  padding: 96px 0;
  background: var(--warm-dim);
}
.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.loc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.loc-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 24px;
  border: 1px solid var(--warm-dim);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.loc-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.loc-card .loc-index {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--blue);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 10px;
}
.loc-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.loc-card address {
  font-style: normal;
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 14px;
}
.loc-card a.map-link {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--blue-deep);
  border-bottom: 1px solid var(--blue-deep);
  padding-bottom: 1px;
}

@media (max-width: 900px) {
  .loc-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .loc-grid { grid-template-columns: 1fr; }
}

/* ============================================
   Map embed section
   ============================================ */
.map-section {
  padding: 0;
}
.map-embed {
  width: 100%;
  height: 460px;
  border: none;
  display: block;
  filter: grayscale(0.15);
}

/* ============================================
   Video section
   ============================================ */
.video-section {
  padding: 96px 0;
}
.video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
}
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================
   CTA band
   ============================================ */
.cta-band {
  background: var(--blue-deep);
  color: var(--white);
  padding: 72px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.8); margin-bottom: 30px; }

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-grid .logo { color: var(--white); margin-bottom: 14px; }
.footer-grid p { font-size: 0.92rem; max-width: 34ch; }
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.75);
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.social-links a:hover {
  border-color: var(--blue);
  color: var(--white);
  background: var(--blue);
}
.social-links svg { width: 17px; height: 17px; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.78);
}
.footer-col a:hover { color: var(--blue); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: rgba(255,255,255,0.45);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================
   Page hero (interior pages)
   ============================================ */
.page-hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--warm-dim);
}
.page-hero h1 { max-width: 16ch; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .loc-card { transition: none; }
}

/* Focus visibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
