/* ==========================================================================
   ShipPoint Center — Design System
   Onest + dark sections + orange accent. Walk-in conversion-focused.
   Tokens at top. Legacy back-compat shims at bottom (marked DEPRECATED).
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Color — accent */
  --accent:         #E26310;
  --accent-hover:   #B54B0A;

  /* Color — ink (dark neutrals) */
  --ink-900:        #040404;
  --ink-800:        #070707;
  --ink-700:        #4B4B4B;
  --ink-600:        #757575;
  --ink-500:        #9F9F9F;

  /* Color — lines + paper */
  --line-400:       #CCCCCC;
  --line-300:       #ECECEC;
  --paper-200:      #F2F2F2;
  --paper-100:      #FFFFFF;

  /* Font */
  --font: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  /* Type scale (fluid) */
  --size-display-1: clamp(3rem, 6vw, 4.5rem);
  --size-display-2: clamp(2.25rem, 4vw, 2.75rem);
  --size-display-3: clamp(1.875rem, 3vw, 2.375rem);
  --size-h1:        clamp(2.25rem, 4vw, 3.375rem);
  --size-h2:        clamp(1.75rem, 3vw, 2.375rem);
  --size-h3:        1.5rem;
  --size-body:      1.125rem;
  --size-small:     0.875rem;

  /* Layout */
  --container:      1240px;
  --gutter:         clamp(1rem, 3vw, 2rem);
  --section-y:      clamp(4rem, 8vw, 7rem);

  /* Motion */
  --ease:           cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur-fast:       150ms;
  --dur:            220ms;
  --dur-slow:       800ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-weight: 400;
  font-size: var(--size-body);
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--paper-100);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.02em;
}
h1 { font-size: var(--size-display-1); letter-spacing: -0.035em; }
h2 { font-size: var(--size-h1); letter-spacing: -0.03em; }
h3 { font-size: var(--size-h3); }
h4 { font-size: 1.25rem; }
p  { margin: 0 0 1em; max-width: 62ch; }
p:last-child { margin-bottom: 0; }
.lead {
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--ink-700);
  max-width: 58ch;
}

.eyebrow,
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-600);
  margin-bottom: 0.75rem;
}
.section-dark .section-eyebrow,
.section-dark .eyebrow { color: var(--ink-500); }

a.inline-link {
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: color var(--dur) var(--ease);
}
a.inline-link:hover { color: var(--accent); }

/* ---------- Container / layout ---------- */
.container,
.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap-narrow {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: var(--section-y) 0; }
.section-dark {
  background: var(--ink-900);
  color: var(--paper-100);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}
@media (min-width: 900px) {
  .section-head {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
}
.section-title {
  font-size: var(--size-h1);
  letter-spacing: -0.03em;
  max-width: 18ch;
}
.section-intro {
  font-size: 1.125rem;
  color: var(--ink-700);
  line-height: 1.65;
  max-width: 48ch;
}
.section-dark .section-intro { color: var(--ink-500); }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: absolute;
  top: 0;
  left: 1rem;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  margin: 0;
  clip: auto;
  overflow: visible;
  white-space: normal;
  background: var(--accent);
  color: var(--paper-100);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0 0 8px 8px;
  z-index: 9999;
  text-decoration: none;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink-900);
  color: var(--ink-500);
  font-size: 0.8125rem;
  padding: 0.65rem 0;
}
.topbar-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.topbar-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.topbar-status::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--line-400);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(204, 204, 204, 0.2);
}
.topbar a { color: inherit; border-bottom: 1px dotted rgba(159, 159, 159, 0.4); }
.topbar a:hover { color: var(--paper-100); }

/* ---------- Nav ---------- */
.nav {
  background: var(--ink-900);
  color: var(--paper-100);
  border-bottom: 1px solid #1a1a1a;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--paper-100);
}
.brand-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
}
.nav-links {
  display: none;
  gap: 2rem;
  font-size: 0.9375rem;
  color: var(--ink-500);
  list-style: none;
}
.nav-links a {
  color: inherit;
  transition: color var(--dur) var(--ease);
  position: relative;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--paper-100); }
.nav-links a[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  background: var(--accent);
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
}
.nav-pointtech a { color: var(--accent); }
.nav-pointtech a:hover { color: var(--paper-100); }

/* Mobile hamburger */
.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--paper-100);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.menu-toggle:hover { border-color: var(--paper-100); }
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--paper-100);
  position: relative;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.menu-toggle span::before { content: ""; position: absolute; top: -5px; left: 0; }
.menu-toggle span::after  { content: ""; position: absolute; top:  5px; left: 0; }
@media (min-width: 960px) { .menu-toggle { display: none; } }

/* Mobile menu sheet (parallels modal behavior) */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  pointer-events: none;
  opacity: 0;
  transition: opacity 200ms var(--ease);
}
.mobile-menu[aria-hidden="false"] {
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  cursor: pointer;
}
.mobile-menu-sheet {
  position: relative;
  background: var(--ink-900);
  color: var(--paper-100);
  width: 100%;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 220ms var(--ease);
}
.mobile-menu[aria-hidden="false"] .mobile-menu-sheet {
  transform: translateY(0);
}
.mobile-menu-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem var(--gutter);
  border-bottom: 1px solid #1a1a1a;
}
.mobile-menu-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--paper-100);
  display: inline-grid;
  place-items: center;
  transition: background var(--dur-fast) var(--ease);
}
.mobile-menu-close:hover { background: rgba(255, 255, 255, 0.14); }
.mobile-menu-nav {
  flex: 1;
  padding: 2rem var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: auto;
}
.mobile-menu-nav a {
  display: block;
  padding: 0.85rem 0;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--paper-100);
  border-bottom: 1px solid #1a1a1a;
  transition: color var(--dur-fast) var(--ease);
}
.mobile-menu-nav a:hover,
.mobile-menu-nav a[aria-current="page"] { color: var(--accent); }
.mobile-menu-foot {
  padding: 1.5rem var(--gutter) 2rem;
  border-top: 1px solid #1a1a1a;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
body.menu-open,
body.modal-open { overflow: hidden; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
  font-family: inherit;
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.btn-primary {
  background: var(--accent);
  color: var(--paper-100);
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary {
  background: transparent;
  color: var(--paper-100);
  border-color: #2a2a2a;
}
.btn-secondary:hover { border-color: var(--paper-100); }
.btn-dark {
  background: var(--ink-900);
  color: var(--paper-100);
}
.btn-dark:hover { background: #1a1a1a; }
.btn-outline {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--line-400);
}
.btn-outline:hover { border-color: var(--ink-900); }
.btn-on-orange {
  background: var(--paper-100);
  color: var(--accent);
}
.btn-on-orange:hover { background: var(--ink-900); color: var(--paper-100); }
.btn-on-orange-outline {
  background: transparent;
  color: var(--paper-100);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-on-orange-outline:hover { border-color: var(--paper-100); }
.btn-arrow::after {
  content: '→';
  font-size: 1em;
  transition: transform var(--dur) var(--ease);
}
.btn-arrow:hover::after { transform: translateX(3px); }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.875rem; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  background: var(--ink-900);
  color: var(--paper-100);
  padding: calc(var(--section-y) * 0.7) 0 calc(var(--section-y) * 0.75);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(226, 99, 16, 0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-500);
  padding: 0.5rem 1rem;
  border: 1px solid #1f1f1f;
  border-radius: 999px;
  margin-bottom: 2rem;
}
.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.hero h1 {
  font-size: var(--size-display-1);
  max-width: 18ch;
  margin-bottom: 1.5rem;
  letter-spacing: -0.035em;
}
.hero h1 .accent { color: var(--accent); }
.hero-sub {
  font-size: 1.25rem;
  max-width: 58ch;
  color: var(--ink-500);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.hero-main .hero-sub {
  max-width: 38ch;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-lower {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
  margin-top: 1.5rem;
}
.hero-main {
  padding-top: 1.875rem;
}
.hero-pointtech {
  border-left: 1px solid rgba(255,255,255,0.1);
  padding-left: 3rem;
}
.hero-pt-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-500);
  margin-bottom: 0.5rem;
}
.hero-pt-name {
  display: block;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.hero-pt-name:hover {
  color: var(--paper-100);
}
.hero-pt-desc {
  font-size: 1.125rem;
  color: var(--ink-500);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.hero-pt-link {
  font-size: 0.9375rem;
  color: var(--paper-100);
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding-bottom: 2px;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.hero-pt-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}
@media (max-width: 768px) {
  .hero-lower {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-pointtech {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-left: 0;
    padding-top: 1.5rem;
  }
  .hero-pt-name { font-size: 1.125rem; }
  .hero-pt-desc { font-size: 0.875rem; }
}

/* ---------- Stats band ---------- */
.stats {
  background: var(--ink-800);
  color: var(--paper-100);
  padding: 2.5rem 0;
  border-top: 1px solid #1a1a1a;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 700px) {
  .stats-row { grid-template-columns: 1fr; gap: 1.5rem; }
}
.stat-label {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-500);
  margin-bottom: 0.5rem;
}
.stat-value {
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.stat-value .unit {
  font-size: 1rem;
  color: var(--ink-500);
  font-weight: 400;
}

/* ---------- Services grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.service-card {
  background: var(--paper-100);
  border: 1px solid var(--line-300);
  border-radius: 16px;
  padding: 2rem;
  transition: background var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: inherit;
}
/* Dark on hover or keyboard focus — only one card can be in this state at a time */
.service-card:hover,
.service-card:focus-visible,
.service-card:focus-within {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: var(--paper-100);
  transform: translateY(-2px);
}
.service-icon {
  width: 48px; height: 48px;
  background: #FDE8D3;
  color: var(--accent);
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 0.25rem;
  transition: background var(--dur) var(--ease);
}
.service-card:hover .service-icon,
.service-card:focus-visible .service-icon,
.service-card:focus-within .service-icon {
  background: rgba(226, 99, 16, 0.2);
}
.service-icon svg { width: 24px; height: 24px; stroke-width: 1.75; }
.service-num {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  font-size: 0.75rem;
  color: var(--ink-500);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.1em;
}
.service-badge {
  display: inline-block;
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--paper-100);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  align-self: flex-start;
}
.service-card h3 {
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.service-card p {
  color: var(--ink-700);
  font-size: 0.9375rem;
  line-height: 1.6;
  flex: 1;
  transition: color var(--dur) var(--ease);
}
.service-card:hover p,
.service-card:focus-visible p,
.service-card:focus-within p { color: var(--ink-500); }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--accent);
  margin-top: auto;
  transition: gap var(--dur) var(--ease), color var(--dur) var(--ease);
}
.service-link:hover { gap: 0.7rem; }
.service-card:hover .service-link,
.service-card:focus-visible .service-link,
.service-card:focus-within .service-link { color: var(--paper-100); }
.section-dark .service-card {
  background: var(--ink-800);
  border-color: var(--ink-700);
}
.section-dark .service-card h3 {
  color: var(--paper-100);
}
.section-dark .service-card p {
  color: var(--ink-500);
}
.section-dark .service-card .service-link {
  color: var(--accent);
}

/* ---------- Deep-dive (steps) ---------- */
.deep-dive {
  background: var(--paper-200);
  padding: var(--section-y) 0;
}
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.step {
  background: var(--paper-100);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--line-300);
}
.step-num {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.step h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.step p {
  color: var(--ink-700);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ---------- Orange CTA band ---------- */
.cta-band {
  background: var(--accent);
  color: var(--paper-100);
  padding: calc(var(--section-y) * 0.85) 0;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: '';
  position: absolute;
  bottom: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 900px) {
  .cta-band-inner { grid-template-columns: 1.3fr 1fr; gap: 3rem; }
}
.cta-band h2 {
  font-size: var(--size-h1);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.cta-band p {
  font-size: 1.125rem;
  opacity: 0.9;
  max-width: 42ch;
}
.cta-band-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---------- Why grid ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}
.why-card {
  padding: 2rem;
  border-top: 1px solid var(--line-400);
}
.why-num {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 500;
}
.why-card h3 {
  font-size: 1.375rem;
  margin-bottom: 0.75rem;
}
.why-card p {
  color: var(--ink-700);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ---------- Visit (dark) ---------- */
.visit {
  background: var(--ink-900);
  color: var(--paper-100);
  padding: var(--section-y) 0;
}
.visit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 900px) {
  .visit-grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
}
.visit-map {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #0d1a2e 0%, #142238 100%);
  border-radius: 16px;
  border: 1px solid #1a2438;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.visit-map::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(226, 99, 16, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226, 99, 16, 0.12) 1px, transparent 1px);
  background-size: 40px 40px;
}
.visit-pin {
  width: 18px; height: 18px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow:
    0 0 0 6px rgba(226, 99, 16, 0.3),
    0 0 0 14px rgba(226, 99, 16, 0.12);
  position: relative;
  z-index: 1;
}
.visit-details dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem 2rem;
  margin: 2rem 0;
  font-size: 1rem;
}
.visit-details dt {
  color: var(--ink-500);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-top: 0.15rem;
}
.visit-details dd { color: var(--paper-100); }

/* ---------- Footer ---------- */
footer,
.site-footer {
  background: var(--ink-900);
  color: var(--ink-500);
  padding: 4rem 0 2rem;
  border-top: 1px solid #1a1a1a;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.footer-brand {
  color: var(--paper-100);
  max-width: 34ch;
  line-height: 1.6;
  font-size: 0.9375rem;
}
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand p { color: var(--ink-500); margin-top: 0.5rem; }
.footer-col h5 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--paper-100);
  margin-bottom: 1rem;
  font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; font-size: 0.9375rem; }
.footer-col a { color: inherit; transition: color var(--dur) var(--ease); }
.footer-col a:hover { color: var(--paper-100); }
.footer-bottom {
  border-top: 1px solid #1a1a1a;
  padding-top: 2rem;
  font-size: 0.8125rem;
  color: var(--ink-600);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 200ms var(--ease);
}
.modal[aria-hidden="false"] {
  pointer-events: auto;
  opacity: 1;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  cursor: pointer;
}
.modal-sheet {
  position: relative;
  background: var(--ink-900);
  color: var(--paper-100);
  width: 100%;
  max-width: 560px;
  max-height: calc(100dvh - 2rem);
  margin: 1rem;
  border-radius: 20px;
  border: 1px solid #1f1f1f;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(16px) scale(0.98);
  transition: transform 220ms var(--ease);
}
.modal[aria-hidden="false"] .modal-sheet {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--paper-100);
  display: inline-grid;
  place-items: center;
  transition: background var(--dur-fast) var(--ease);
  z-index: 2;
}
.modal-close:hover { background: rgba(255, 255, 255, 0.14); }
.modal-content {
  padding: 2.25rem 2rem 2rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.modal-header {
  margin-bottom: 1.5rem;
  padding-right: 3rem;
}
.modal-header h2 {
  font-size: 1.625rem;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.modal-header p {
  color: var(--ink-500);
  font-size: 0.9375rem;
  line-height: 1.5;
}
@media (max-width: 640px) {
  .modal { align-items: stretch; }
  .modal-sheet {
    margin: 0;
    max-height: 100dvh;
    height: 100dvh;
    max-width: none;
    border-radius: 0;
    border: none;
    transform: translateY(100%);
  }
  .modal[aria-hidden="false"] .modal-sheet {
    transform: translateY(0);
  }
  .modal-content { padding: 4rem 1.25rem 2rem; }
  .modal-header { padding-right: 0; }
}

/* ---------- Waitlist form (inside modal on dark bg) ---------- */
.form-row { margin-bottom: 1rem; }
.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}
.form-label .optional {
  text-transform: none;
  letter-spacing: normal;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
  margin-left: 0.25rem;
}
.waitlist-form input[type="email"],
.waitlist-form input[type="text"] {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: var(--paper-100);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.waitlist-form input::placeholder { color: rgba(255, 255, 255, 0.4); }
.waitlist-form input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
}
.form-checks {
  border: 0;
  padding: 0;
  margin: 1.25rem 0;
}
.check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.5rem;
}
.check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  user-select: none;
}
.check:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}
.check:has(input:checked) {
  background: rgba(226, 99, 16, 0.15);
  border-color: var(--accent);
}
.check input[type="checkbox"] {
  accent-color: var(--accent);
  cursor: pointer;
  margin: 0;
}
.waitlist-form button[type="submit"] {
  width: 100%;
  justify-content: center;
  margin-top: 0.75rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}
.form-privacy {
  margin-top: 0.9rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

/* ---------- Page hero (sub-pages) ---------- */
.page-hero {
  background: var(--ink-900);
  color: var(--paper-100);
  padding: calc(var(--section-y) * 0.6) 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -150px; right: -150px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(226, 99, 16, 0.14) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .container,
.page-hero .wrap { position: relative; }
.page-hero .eyebrow {
  color: var(--ink-500);
  margin-bottom: 1rem;
}
.page-hero h1 {
  font-size: var(--size-h1);
  max-width: 22ch;
  margin-bottom: 1rem;
}
.page-hero .lead {
  color: var(--ink-500);
  margin-top: 1rem;
  max-width: 60ch;
}
.page-hero .hero-ctas { margin-top: 2rem; }

.breadcrumbs {
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 1.25rem;
}
.breadcrumbs a {
  color: inherit;
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.breadcrumbs a:hover {
  color: var(--paper-100);
  border-bottom-color: var(--paper-100);
}

/* ---------- Content + sidebar (sub-page backbone) ---------- */
.content {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 960px) {
  .content { grid-template-columns: 1.6fr 1fr; }
}
.content h2 { margin-top: 0; font-size: var(--size-h2); }
.content h3 { margin-top: 2rem; font-size: 1.5rem; }
.content p,
.content ul { font-size: 1.02rem; line-height: 1.65; }
.content p { color: var(--ink-700); }
.content ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0 0 1em;
  color: var(--ink-700);
}
.content ul li { padding: 0.2rem 0; }
.content > div > * + * { margin-top: 1em; }
.sidebar {
  display: grid;
  gap: 1.5rem;
  position: sticky;
  top: 100px;
}
@media (max-width: 959px) { .sidebar { position: static; } }

/* ---------- Info card / check-list / hours ---------- */
.info-card {
  padding: 1.75rem;
  background: var(--paper-200);
  border: 1px solid var(--line-300);
  border-radius: 16px;
}
.info-card h3 { margin-top: 0; font-size: 1.25rem; }
.info-card p { color: var(--ink-700); font-size: 0.9375rem; }
.info-card.dark {
  background: var(--ink-900);
  color: var(--paper-100);
  border-color: var(--ink-900);
}
.info-card.dark h3 { color: var(--paper-100); }
.info-card.dark p { color: var(--ink-500); }

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.check-list li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.6rem;
  border-bottom: 1px dashed var(--line-400);
  font-size: 0.9375rem;
  color: var(--ink-700);
}
.check-list li:last-child { border-bottom: 0; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.95rem;
  width: 10px; height: 10px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}
.info-card.dark .check-list li { border-color: rgba(255, 255, 255, 0.14); color: var(--ink-500); }

.hours {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1.25rem;
  font-size: 0.9rem;
}
.hours dt {
  color: var(--ink-600);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.74rem;
  padding-top: 0.15rem;
}
.hours dd { margin: 0; color: var(--ink-900); }
.info-card.dark .hours dt { color: var(--ink-500); }
.info-card.dark .hours dd { color: var(--paper-100); }

/* ---------- FAQ ---------- */
.faq details {
  border-bottom: 1px solid var(--line-300);
  padding: 1.25rem 0;
}
.faq details[open] { padding-bottom: 1.5rem; }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--accent);
  line-height: 1;
  transition: transform var(--dur) var(--ease);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 0.75rem; color: var(--ink-700); }

/* ---------- Pricing table ---------- */
.price-table {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .price-table { grid-template-columns: repeat(3, 1fr); } }
.price-card {
  padding: 1.75rem;
  background: var(--paper-100);
  border: 1px solid var(--line-300);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.price-card:hover { border-color: var(--ink-900); transform: translateY(-2px); }
.price-card.featured {
  background: var(--ink-900);
  color: var(--paper-100);
  border-color: var(--ink-900);
}
.price-card .tier {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-600);
}
.price-card.featured .tier { color: var(--accent); }
.price-card .price {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}
.price-card .price small {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--ink-600);
  margin-left: 0.25rem;
}
.price-card.featured .price small { color: var(--ink-500); }
.price-card ul { list-style: none; padding: 0; margin: 0; font-size: 0.9375rem; }
.price-card ul li { padding: 0.45rem 0; border-bottom: 1px dashed var(--line-300); }
.price-card.featured ul li { border-color: rgba(255, 255, 255, 0.14); }
.price-card ul li:last-child { border-bottom: 0; }

/* ---------- Location + map ---------- */
.location-card {
  padding: 1.75rem;
  background: var(--paper-200);
  border: 1px solid var(--line-300);
  border-radius: 16px;
  display: grid;
  gap: 1rem;
}
.map-embed {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line-300);
  aspect-ratio: 16 / 10;
  background: var(--paper-200);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Pills ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  background: var(--paper-200);
  color: var(--ink-700);
  border: 1px solid var(--line-300);
}
.pill.accent { background: var(--accent); color: var(--paper-100); border-color: var(--accent); }
.pill.ghost { background: transparent; }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.hide-mobile { display: none; }
@media (min-width: 760px) { .hide-mobile { display: initial; } }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-eyebrow, .hero h1, .hero-sub, .hero-ctas, .hero-pointtech, .stats {
    opacity: 0;
    transform: translateY(16px);
    animation: rise var(--dur-slow) var(--ease) forwards;
  }
  .hero-eyebrow    { animation-delay: 80ms; }
  .hero h1         { animation-delay: 160ms; }
  .hero-sub        { animation-delay: 260ms; }
  .hero-ctas       { animation-delay: 360ms; }
  .hero-pointtech  { animation-delay: 360ms; }
  .stats           { animation-delay: 500ms; }
}
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}
.btn { transition-property: background, color, border-color, transform; }

/* ---------- Focus ---------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Paper form (contact / inquiry forms) ---------- */
/* Used on contact.html, mailbox-rentals (mailbox-inquiry), and small-business-tech
   (pointtech-inquiry). Distinct from the dark .waitlist-form inside the modal. */
.form {
  display: grid;
  gap: 1rem;
  padding: 1.75rem;
  background: var(--paper-200);
  border: 1px solid var(--line-300);
  border-radius: 16px;
}
.form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-600);
}
.form input, .form select, .form textarea {
  font: inherit;
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-400);
  border-radius: 10px;
  background: var(--paper-100);
  color: var(--ink-900);
  transition: border-color var(--dur) var(--ease);
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--ink-900);
}
.form textarea { resize: vertical; min-height: 110px; }
.form .row-2 { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form .row-2 { grid-template-columns: 1fr 1fr; } }
.form .fine { font-size: 0.78rem; color: var(--ink-600); }

