/* ==========================================================================
   yoursecondhome.co - Editorial Craft Design System
   Warm, Human, Authoritative, Non-AI Aesthetic
   ========================================================================== */

:root {
  /* Editorial Dark (Default) */
  --bg-page: #0d0f14;
  --bg-surface: #141720;
  --bg-surface-elevated: #1a1e2b;
  --bg-card: #131620;
  --bg-card-hover: #181c28;
  --bg-subtle: rgba(255, 255, 255, 0.03);
  --bg-badge: rgba(217, 119, 6, 0.1);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-active: #d97706;

  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-faint: #6b7280;
  --text-inverted: #0d0f14;

  /* Human Brand Colors: Warm Terracotta / Amber & Deep Indigo Ink */
  --accent-warm: #f59e0b;
  --accent-warm-hover: #d97706;
  --accent-terra: #ea580c;
  --accent-ink: #3b82f6;
  --accent-green: #10b981;

  --font-serif: "Newsreader", Georgia, Cambria, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.5);

  --container-max: 1140px;
  --transition: 0.2s ease-in-out;
}

[data-theme="light"] {
  --bg-page: #faf8f5;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f4f0ea;
  --bg-card: #ffffff;
  --bg-card-hover: #f9f7f3;
  --bg-subtle: rgba(0, 0, 0, 0.03);
  --bg-badge: rgba(217, 119, 6, 0.1);

  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-medium: rgba(0, 0, 0, 0.15);
  --border-active: #d97706;

  --text-main: #1c1917;
  --text-muted: #57534e;
  --text-faint: #857f77;
  --text-inverted: #ffffff;

  --shadow-sm: 0 1px 3px rgba(28, 25, 23, 0.06);
  --shadow-md: 0 8px 24px -4px rgba(28, 25, 23, 0.08);
  --shadow-lg: 0 20px 35px -8px rgba(28, 25, 23, 0.12);
}

/* Reset & Base Typography */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  transition: background-color var(--transition), color var(--transition);
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Subtle Texture Grid (warm, architectural) */
.bg-grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 600px;
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, var(--border-subtle) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border-subtle) 1px, transparent 1px);
  mask-image: linear-gradient(to bottom, black 30%, transparent 95%);
  -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 95%);
  pointer-events: none;
  opacity: 0.6;
}

/* Top Notification / Availability Bar */
.announcement-bar {
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.825rem;
  padding: 0.6rem 1rem;
  text-align: center;
  background: var(--bg-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--accent-green);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-green);
  display: inline-block;
  animation: gentlePulse 2.5s infinite;
}

@keyframes gentlePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.9); }
}

/* Navigation Bar */
.navbar-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(13, 15, 20, 0.85);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color var(--transition);
}

[data-theme="light"] .navbar-wrap {
  background: rgba(250, 248, 245, 0.88);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.logo-symbol {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-warm);
}

.logo span.tld {
  color: var(--text-muted);
  font-weight: 400;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-theme {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-theme:hover {
  color: var(--text-main);
  border-color: var(--border-medium);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Button System - Tactile, Clean, Intentional */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.3rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
  line-height: 1.2;
}

.btn-primary {
  background: var(--text-main);
  color: var(--text-inverted);
  border-color: var(--text-main);
}

.btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-warm {
  background: var(--accent-warm);
  color: #0d0f14;
  border-color: var(--accent-warm);
}

.btn-warm:hover {
  background: var(--accent-warm-hover);
  border-color: var(--accent-warm-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border-color: var(--border-medium);
}

.btn-outline:hover {
  background: var(--bg-subtle);
  border-color: var(--text-main);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.825rem;
}

.btn-lg {
  padding: 0.9rem 1.6rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--bg-badge);
  color: var(--accent-warm);
  border: 1px solid rgba(217, 119, 6, 0.25);
  margin-bottom: 1.25rem;
}

/* Hero Section */
.hero {
  padding: 5rem 0 4rem;
  position: relative;
}

.hero-layout {
  max-width: 860px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.hero-title em {
  font-style: italic;
  color: var(--accent-warm);
  font-weight: 400;
}

.hero-lead {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 2.5rem;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-callout {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.875rem;
  color: var(--text-faint);
  flex-wrap: wrap;
}

.hero-callout-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
}

.hero-callout-item svg {
  color: var(--accent-warm);
}

/* Section Common Styling */
section {
  padding: 5.5rem 0;
  border-top: 1px solid var(--border-subtle);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.775rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-warm);
  margin-bottom: 0.75rem;
  display: block;
}

.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.65;
}

/* The Story / Origin Section */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  margin-top: 3.5rem;
  align-items: center;
}

.story-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.story-text p strong {
  color: var(--text-main);
}

.story-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  position: relative;
}

.story-quote {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.story-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent-warm);
}

.author-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
}

.author-info span {
  font-size: 0.825rem;
  color: var(--text-faint);
}

/* Realistic What We Actually Build Section */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.work-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition);
}

.work-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.work-card-category {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.work-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-main);
  line-height: 1.35;
}

.work-card p {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.work-examples {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.work-examples li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.work-examples li::before {
  content: '—';
  color: var(--accent-warm);
  flex-shrink: 0;
}

/* Interactive Scope & Diagnostic Tool */
.diagnostic-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 2.75rem;
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  box-shadow: var(--shadow-md);
}

.diag-step-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.scenario-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.scenario-item {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition);
  user-select: none;
}

.scenario-item:hover {
  border-color: var(--border-medium);
}

.scenario-item.selected {
  border-color: var(--accent-warm);
  background: rgba(217, 119, 6, 0.05);
}

.scenario-item .checkbox {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #fff;
  transition: all var(--transition);
}

.scenario-item.selected .checkbox {
  background: var(--accent-warm);
  border-color: var(--accent-warm);
}

.diag-output-card {
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.diag-summary-header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.diag-summary-header h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.diag-summary-header span {
  font-size: 0.825rem;
  color: var(--text-faint);
}

.diag-deliverables {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.diag-deliverables li strong {
  color: var(--text-main);
  display: block;
  font-size: 0.9rem;
}

.time-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-warm);
  background: var(--bg-badge);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-xs);
  margin-bottom: 1.5rem;
}

/* Who We Are For / Who We Are NOT For */
.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3.5rem;
}

.fit-card {
  padding: 2.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

.fit-card.good {
  border-top: 3px solid var(--accent-green);
}

.fit-card.not {
  border-top: 3px solid #ef4444;
}

.fit-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.fit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.925rem;
  color: var(--text-muted);
}

.fit-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.fit-list li svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* Realistic Cadence / Process */
.cadence-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3.5rem;
}

.cadence-step {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.75rem 1.5rem;
}

.cadence-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-warm);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.cadence-step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.cadence-step p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Honest Engagements / Pricing */
.pricing-flex {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.price-card.featured {
  border-color: var(--border-medium);
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
}

.price-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.price-header p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  min-height: 40px;
}

.price-figure {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.price-term {
  font-size: 0.8rem;
  color: var(--text-faint);
  margin-bottom: 1.75rem;
  display: block;
}

.price-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.price-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.price-checklist li svg {
  color: var(--accent-warm);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* FAQs */
.faq-wrap {
  max-width: 780px;
  margin-top: 3rem;
}

.faq-row {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-row:first-child {
  border-top: 1px solid var(--border-subtle);
}

.faq-trigger {
  width: 100%;
  padding: 1.35rem 0;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-main);
  cursor: pointer;
}

.faq-trigger:hover {
  color: var(--accent-warm);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease-out;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-row.open .faq-body {
  padding-bottom: 1.35rem;
}

.faq-plus {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--text-faint);
  transition: transform 0.2s ease;
}

.faq-row.open .faq-plus {
  transform: rotate(45deg);
  color: var(--accent-warm);
}

/* Bottom Call to Action */
.cta-banner {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 4rem 2.5rem;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.cta-banner h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 400;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto 2rem;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2.5rem;
  background: var(--bg-page);
  font-size: 0.875rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h5 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text-main);
}

.footer-sub {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-faint);
  flex-wrap: wrap;
  gap: 1rem;
}

/* Modal */
dialog.contact-dialog {
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  color: var(--text-main);
  max-width: 520px;
  width: 90vw;
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
}

dialog.contact-dialog::backdrop {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
}

.dialog-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--text-faint);
  cursor: pointer;
  font-size: 1.25rem;
}

.dialog-close:hover {
  color: var(--text-main);
}

.form-field {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-input {
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-xs);
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  outline: none;
}

.form-input:focus {
  border-color: var(--accent-warm);
}

textarea.form-input {
  resize: vertical;
  min-height: 90px;
}

/* Recent Shipments / 90-Day Timeline */
.shipments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.shipment-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all var(--transition);
}

.shipment-card:hover {
  border-color: var(--border-active);
  transform: translateY(-2px);
}

.shipment-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-green);
  margin-bottom: 0.75rem;
}

.shipment-date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-faint);
  display: block;
  margin-bottom: 0.35rem;
}

.shipment-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-main);
  line-height: 1.35;
}

.shipment-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.shipment-metric {
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 0.65rem 0.85rem;
  font-size: 0.825rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.shipment-metric svg {
  color: var(--accent-warm);
  flex-shrink: 0;
}

/* 90-Day Stats Bar */
.first-quarter-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  padding: 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
}

.quarter-stat {
  text-align: left;
}

.quarter-stat-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--text-main);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.quarter-stat-label {
  font-size: 0.825rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .shipments-grid {
    grid-template-columns: 1fr;
  }
  .first-quarter-bar {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .first-quarter-bar {
    grid-template-columns: 1fr;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .story-grid {
    grid-template-columns: 1fr;
  }
  .work-grid {
    grid-template-columns: 1fr;
  }
  .diagnostic-box {
    grid-template-columns: 1fr;
  }
  .cadence-timeline {
    grid-template-columns: 1fr 1fr;
  }
  .pricing-flex {
    grid-template-columns: 1fr;
  }
  .fit-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .cadence-timeline {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
