/* ==========================================================================
   WENDORFF BROS. CO., INC.
   Corporate Website Redesign — Pure HTML/CSS/Vanilla JS
   Strategy: Family Heritage + Modern Investment (Deep Blue + Heritage Red)
   ========================================================================== */

/* ==========================================================================
   DESIGN TOKENS (Aligned to “13家美国公司官网专业重构方案_v2.md”)
   ========================================================================== */
:root {
  /* Brand colors */
  --primary: #1E3A5F;        /* 传承深蓝 */
  --primary-light: #2D5A8A;  /* 深蓝浅阶 */
  --heritage: #7F1D1D;       /* 成熟酒红 */

  /* Surfaces */
  --surface: #FAFAF9;
  --surface-2: #F5F6F4;
  --white: #FFFFFF;

  /* Text */
  --text: #0F172A;
  --text-muted: #475569;
  --text-subtle: #64748B;

  /* Borders */
  --border: #E2E8F0;
  --border-strong: #CBD5E1;

  /* Functional */
  --success: #166534;
  --warning: #92400E;
  --danger: #991B1B;

  /* Spacing system */
  --space-xs: 0.25rem;   /* 4px */
  --space-sm: 0.5rem;    /* 8px */
  --space-md: 1rem;      /* 16px */
  --space-lg: 1.5rem;    /* 24px */
  --space-xl: 2rem;      /* 32px */
  --space-2xl: 3rem;     /* 48px */
  --space-3xl: 4rem;     /* 64px */

  /* Radius (avoid over-rounded) */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;

  /* Shadows (restrained) */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 16px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 18px 40px rgba(15, 23, 42, 0.12);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;

  /* Containers */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;

  /* Typography */
  --font-display: ui-serif, Georgia, "Times New Roman", Times, serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  --text-base: 1rem;
  --text-sm: 0.9375rem;
  --text-xs: 0.875rem;

  /* Type scale */
  --h1: clamp(2rem, 4vw, 3rem);
  --h2: clamp(1.5rem, 2.6vw, 2.25rem);
  --h3: clamp(1.25rem, 2vw, 1.625rem);
  --h4: 1.125rem;

  /* Legacy aliases (keep existing markup compatible) */
  --color-primary: var(--primary);
  --color-secondary: var(--primary-light);
  --color-accent: var(--heritage);
  --color-text-primary: var(--text);
  --color-text-secondary: var(--text-muted);
  --color-background: var(--white);
  --color-background-alt: var(--surface);
  --color-border: var(--border);
  --color-hover: #16324d;
}

/* ==========================================================================
   BASE / RESET
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

svg {
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  text-underline-offset: 0.15em;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-hover);
  text-decoration: underline;
}

strong {
  font-weight: 700;
}

/* Focus (WCAG) */
:focus-visible {
  outline: 3px solid rgba(127, 29, 29, 0.35);
  outline-offset: 3px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  transform: translateY(-200%);
  transition: transform var(--transition-base);
  z-index: 1000;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 var(--space-lg);
  font-family: var(--font-display);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--primary);
}

h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
h4 { font-size: var(--h4); }

p {
  margin: 0 0 var(--space-md);
  color: var(--text);
}

.lede {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 70ch;
}

.muted {
  color: var(--text-muted);
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

main {
  min-height: 70vh;
}

section {
  padding: var(--space-3xl) 0;
}

section.alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.row-2,
.row-3,
.row-4 {
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .row-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .row-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.site-header,
header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--primary);
}

.logo:hover {
  color: var(--heritage);
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
  line-height: 1;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.nav-toggle:hover {
  background: var(--surface);
  border-color: var(--border-strong);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
}

.site-nav,
nav {
  position: fixed;
  inset: 0 0 auto 0;
  top: 72px;
  padding: var(--space-md);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transform: translateY(-140%);
  transition: transform var(--transition-base);
}

body.nav-open .site-nav,
body.nav-open nav {
  transform: translateY(0);
}

.nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin: 0;
  padding: 0;
}

.nav-link {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  font-weight: 600;
  color: var(--text);
  background: transparent;
  border: 1px solid transparent;
}

.nav-link:hover {
  text-decoration: none;
  background: var(--surface);
  border-color: var(--border);
  color: var(--primary);
}

.nav-link[aria-current="page"] {
  color: var(--primary);
  background: rgba(30, 58, 95, 0.06);
  border-color: rgba(30, 58, 95, 0.2);
}

.nav-trigger {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.nav-caret {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: var(--text-subtle);
  transition: transform var(--transition-fast);
}

.nav-trigger[aria-expanded="true"] .nav-caret {
  transform: rotate(180deg);
}

.dropdown-menu {
  list-style: none;
  margin: 0;
  padding: 0 var(--space-md) var(--space-sm);
  display: none;
}

.dropdown-menu a {
  display: block;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  color: var(--text);
}

.dropdown-menu a:hover {
  background: var(--surface);
  text-decoration: none;
  color: var(--primary);
}

.nav-trigger[aria-expanded="true"] + .dropdown-menu {
  display: block;
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }

  .site-nav,
  nav {
    position: static;
    padding: 0;
    border: 0;
    box-shadow: none;
    transform: none;
    background: transparent;
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: var(--space-sm);
  }

  .nav-link {
    width: auto;
    padding: var(--space-sm) var(--space-sm);
    border-radius: var(--radius-sm);
    border: 0;
  }

  .nav-item {
    position: relative;
  }

  .dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 240px;
    padding: var(--space-sm);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  }

  .nav-item:hover .dropdown-menu,
  .nav-item:focus-within .dropdown-menu,
  .nav-item[data-open="true"] .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .dropdown-menu a {
    padding: var(--space-sm) var(--space-md);
  }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  padding: var(--space-3xl) 0;
  background: var(--primary);
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-image, url("images/hero-industrial-facility.jpg"));
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 58, 95, 0.84);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.hero p {
  color: rgba(255, 255, 255, 0.92);
  max-width: 70ch;
  font-size: 1.125rem;
}

.hero-actions {
  margin-top: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: flex-start;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn,
button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-weight: 700;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn:focus-visible {
  outline-color: rgba(127, 29, 29, 0.45);
}

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

.btn-primary:hover {
  background: var(--color-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
  text-decoration: none;
  color: var(--white);
}

.btn-secondary {
  background: var(--primary-light);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
  text-decoration: none;
  color: var(--white);
}

.btn-accent {
  background: var(--heritage);
  color: var(--white);
}

.btn-accent:hover {
  background: #6a1616;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
  text-decoration: none;
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.65);
  color: var(--white);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--primary);
}

.btn-outline-dark:hover {
  background: var(--surface);
  text-decoration: none;
  color: var(--primary);
}

.btn-large {
  padding: var(--space-md) var(--space-xl);
  font-size: 1rem;
}

/* ==========================================================================
   CARDS / MEDIA
   ========================================================================== */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-xl);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
}

.card-title {
  margin-bottom: var(--space-sm);
}

.card-description {
  color: var(--text-muted);
}

/* ==========================================================================
   ARTICLES / INSIGHTS
   ========================================================================== */
.article-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 900px) {
  .article-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-xl);
  display: grid;
  gap: var(--space-md);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  height: 100%;
}

.article-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.article-meta {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  color: var(--text-subtle);
  font-size: var(--text-xs);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.article-tags {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: var(--text-xs);
  letter-spacing: 0.01em;
}

/* ==========================================================================
   FEATURES / STATS / TEAM
   ========================================================================== */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 900px) {
  .features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.feature-item {
  padding: var(--space-xl);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(127, 29, 29, 0.08);
  color: var(--heritage);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-title {
  margin-bottom: var(--space-sm);
}

.feature-description {
  color: var(--text-muted);
  margin: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-lg);
}

@media (min-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.stat-item {
  text-align: left;
  padding: var(--space-lg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.stat-item h3 {
  margin: 0 0 var(--space-xs);
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 2.3vw, 2.25rem);
  color: var(--heritage);
  letter-spacing: -0.02em;
}

.stat-item p {
  margin: 0;
  color: var(--text-muted);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.team-member {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.team-member:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.team-member-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  background: var(--surface);
}

.team-member-info {
  padding: var(--space-lg);
}

.team-member-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: var(--space-xs);
}

.team-member-title {
  color: var(--heritage);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  font-size: var(--text-sm);
}

.team-member-bio {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--text-sm);
}

/* ==========================================================================
   LISTS & HELPERS
   ========================================================================== */
.content-narrow {
  max-width: 880px;
  margin: 0 auto;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 900px) {
  .info-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.info-card {
  padding: var(--space-xl);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.info-card h3 {
  margin-bottom: var(--space-xs);
}

.info-card p {
  margin: 0;
  color: var(--text-muted);
}

.map-placeholder {
  width: 100%;
  min-height: 340px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-muted);
  padding: var(--space-xl);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-sm);
}

.check-list li {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  color: var(--text-muted);
}

.check-list svg {
  width: 18px;
  height: 18px;
  color: var(--heritage);
  margin-top: 0.15rem;
}

/* ==========================================================================
   FORMS
   ========================================================================== */
form {
  max-width: 720px;
}

.form-group {
  margin-bottom: var(--space-lg);
}

label {
  display: block;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--text);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
textarea,
select {
  width: 100%;
  padding: var(--space-md);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(30, 58, 95, 0.65);
  box-shadow: 0 0 0 4px rgba(30, 58, 95, 0.12);
}

/* ==========================================================================
   TABLES
   ========================================================================== */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--white);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

th,
td {
  padding: var(--space-md);
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--surface);
  font-weight: 800;
  color: var(--primary);
}

tr:nth-child(even) td {
  background: #fbfbfa;
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-xs { margin-top: var(--space-xs); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mt-3xl { margin-top: var(--space-3xl); }
.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mb-3xl { margin-bottom: var(--space-3xl); }

.stack {
  display: grid;
  gap: var(--space-md);
}

.pill-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-sm);
}

.pill-list li {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  color: var(--text-muted);
}

.pill-list svg {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  flex: 0 0 18px;
  color: var(--heritage);
}

.faq-list {
  display: grid;
  gap: var(--space-md);
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.faq-list summary {
  font-weight: 800;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin: var(--space-sm) 0 0;
  color: var(--text-muted);
}

/* ==========================================================================
   TIMELINE
   ========================================================================== */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-lg);
}

.timeline-item {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: var(--space-md);
  padding: var(--space-lg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.timeline-year {
  font-weight: 900;
  font-family: var(--font-body);
  color: var(--heritage);
  letter-spacing: 0.02em;
}

.timeline-item h4 {
  margin: 0 0 var(--space-xs);
  color: var(--primary);
}

.timeline-item p {
  margin: 0;
  color: var(--text-muted);
}

@media (min-width: 640px) {
  .timeline-item {
    grid-template-columns: 110px 1fr;
  }
}

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta {
  background: var(--primary);
  color: var(--white);
  padding: var(--space-3xl) 0;
}

.cta h2,
.cta h3 {
  color: var(--white);
}

.cta p {
  color: rgba(255, 255, 255, 0.9);
}

.cta .btn-outline {
  border-color: rgba(255, 255, 255, 0.75);
}

/* ==========================================================================
   MEDIA FRAME
   ========================================================================== */
.media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--surface);
}

.media img {
  width: 100%;
  height: auto;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer,
footer {
  background: #0f2033;
  color: rgba(255, 255, 255, 0.92);
  padding: var(--space-3xl) 0 var(--space-xl);
  margin-top: var(--space-3xl);
}

.site-footer a,
footer a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration-color: rgba(255, 255, 255, 0.4);
}

.site-footer a:hover,
footer a:hover {
  color: var(--white);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 900px) {
  .footer-content {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.footer-section h4 {
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.footer-section p {
  color: rgba(255, 255, 255, 0.82);
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-sm);
}

.footer-bottom {
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--text-xs);
  text-align: center;
}

/* ==========================================================================
   PRINT
   ========================================================================== */
@media print {
  .site-header,
  header,
  .site-footer,
  footer,
  .nav-toggle,
  .no-print {
    display: none !important;
  }

  body {
    color: #000;
    font-size: 12pt;
  }
}
