/* ============================================================
   zone2fitness.com — Stylesheet v2
   Design: Clean, warm, minimal. Understated authority.
   Palette: Cream, stone, charcoal. Single red-orange accent.
   Type: Inter + Fraunces display
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,600;1,9..144,300;1,9..144,400&family=Inter:wght@300;400;500;600&display=swap');

/* --- Tokens --- */
:root {
  /* Palette — warm neutrals */
  --ink:          #1a1a18;   /* near-black, warm */
  --ink-mid:      #4a4845;   /* secondary text */
  --ink-light:    #9a9590;   /* captions, meta */
  --cream:        #faf8f4;   /* page background */
  --warm-white:   #ffffff;   /* card backgrounds */
  --stone-100:    #f2ede6;   /* subtle section bg */
  --stone-200:    #e5dfd6;   /* borders, rules */
  --stone-300:    #cdc6bb;   /* stronger rules */
  --charcoal:     #2e2c29;   /* dark sections */
  --charcoal-mid: #3d3b37;   /* dark section secondary */

  /* Single accent — warm red-orange, used sparingly */
  --accent:       #c0392b;   /* links, CTAs, highlights */
  --accent-hover: #a93226;

  /* Type */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Scale */
  --text-xs:   0.6875rem;
  --text-sm:   0.8125rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  2rem;
  --text-4xl:  2.75rem;
  --text-5xl:  3.75rem;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;

  /* Layout */
  --max-width:     1100px;
  --content-width: 680px;
  --gutter:        clamp(1.25rem, 5vw, 2.5rem);

  /* Effects */
  --radius-sm: 3px;
  --radius:    6px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 4px rgba(26,26,24,0.06);
  --shadow:    0 4px 20px rgba(26,26,24,0.08);
  --transition: 180ms ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.content-container {
  width: 100%;
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* --- Navigation --- */
.site-nav {
  background: var(--warm-white);
  border-bottom: 1px solid var(--stone-200);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.nav-logo:hover { color: var(--accent); }

.nav-logo .logo-pulse { display: inline-block; width: 24px; height: 16px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-mid);
  letter-spacing: 0.01em;
  transition: color var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--ink); }

.nav-cta {
  color: var(--accent) !important;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
}
.nav-cta:hover { color: var(--accent-hover) !important; border-color: var(--accent-hover); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: var(--space-2);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: var(--transition);
}

/* --- Hero --- */
.hero {
  background: var(--charcoal);
  color: var(--cream);
  padding: var(--space-24) 0 var(--space-16);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--stone-200);
}

.hero-pulse {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  opacity: 0.06;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.hero-label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone-300);
  margin-bottom: var(--space-4);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 6vw, var(--text-5xl));
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
  max-width: 680px;
  color: var(--cream);
}

.hero h1 em {
  font-style: italic;
  color: rgba(250,248,244,0.6);
}

.hero-sub {
  font-size: var(--text-lg);
  font-weight: 300;
  color: rgba(250,248,244,0.65);
  max-width: 520px;
  margin-bottom: var(--space-8);
  line-height: 1.65;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(250,248,244,0.1);
}

.hero-stat .stat-number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 300;
  color: var(--cream);
  line-height: 1;
  display: block;
  letter-spacing: -0.02em;
}

.hero-stat .stat-label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250,248,244,0.45);
  margin-top: var(--space-1);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
  text-decoration: none;
}

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

.btn-outline {
  background: transparent;
  color: rgba(250,248,244,0.8);
  border-color: rgba(250,248,244,0.25);
}
.btn-outline:hover {
  border-color: rgba(250,248,244,0.6);
  color: var(--cream);
}

.btn-green {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.btn-green:hover {
  background: var(--charcoal-mid);
  border-color: var(--charcoal-mid);
  color: var(--cream);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border-color: var(--stone-200);
}
.btn-ghost:hover {
  border-color: var(--accent);
  background: transparent;
}

/* --- Section spacing --- */
.section { padding: var(--space-16) 0; }
.section-lg { padding: var(--space-24) 0; }

.section-label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: var(--space-3);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: var(--space-4);
}

.section-intro {
  font-size: var(--text-lg);
  font-weight: 300;
  color: var(--ink-mid);
  max-width: 520px;
  line-height: 1.65;
}

/* --- Cards --- */
.card {
  background: var(--warm-white);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.card-body { padding: var(--space-6); }

.card-label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: var(--space-2);
}

.card-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
}
.card-title a { color: inherit; }
.card-title a:hover { color: var(--accent); }

.card-text {
  font-size: var(--text-sm);
  color: var(--ink-mid);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.card-meta {
  font-size: var(--text-xs);
  color: var(--ink-light);
  letter-spacing: 0.02em;
}

/* --- Grids --- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

/* --- Prose / Article content --- */
.prose {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--ink);
}

.prose h2 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-top: var(--space-12);
  margin-bottom: var(--space-4);
}

.prose h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

.prose h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mid);
  margin-top: var(--space-6);
  margin-bottom: var(--space-2);
}

.prose p { margin-bottom: var(--space-6); }

.prose ul, .prose ol {
  margin-bottom: var(--space-6);
  padding-left: var(--space-6);
}
.prose li { margin-bottom: var(--space-2); }

.prose strong { font-weight: 600; }
.prose em { font-style: italic; }

.prose a {
  color: var(--accent);
  border-bottom: 1px solid rgba(192,57,43,0.25);
}
.prose a:hover {
  color: var(--accent-hover);
  border-bottom-color: var(--accent);
}

.prose blockquote {
  border-left: 2px solid var(--stone-300);
  padding: var(--space-4) var(--space-6);
  margin: var(--space-8) 0;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 300;
  font-style: italic;
  color: var(--ink-mid);
  line-height: 1.55;
}

.prose blockquote cite {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: var(--text-xs);
  color: var(--ink-light);
  margin-top: var(--space-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* --- Stat boxes --- */
.stat-box {
  background: var(--charcoal);
  color: var(--cream);
  border-radius: var(--radius);
  padding: var(--space-6);
  text-align: center;
}
.stat-box .number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 300;
  color: var(--cream);
  line-height: 1;
  display: block;
  letter-spacing: -0.02em;
}
.stat-box .label {
  font-size: var(--text-xs);
  font-weight: 500;
  color: rgba(250,248,244,0.5);
  margin-top: var(--space-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --- Tags --- */
.tag {
  display: inline-block;
  padding: 0.2em 0.65em;
  background: var(--stone-100);
  color: var(--ink-mid);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--stone-200);
}
.tag-amber {
  background: #fdf4ee;
  color: #b35c1e;
  border-color: #f0d5bb;
}

/* --- Ad slots --- */
.ad-slot {
  background: var(--stone-100);
  border: 1px dashed var(--stone-300);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-light);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ad-slot-banner { width: 100%; height: 90px; margin: var(--space-8) 0; }
.ad-slot-rectangle { width: 300px; height: 250px; }
.ad-slot-sidebar { width: 100%; height: 600px; max-width: 300px; }

/* --- Sidebar layout --- */
.layout-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--space-16);
  align-items: start;
}
.sidebar { position: sticky; top: 80px; }

.sidebar-widget {
  background: var(--warm-white);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  padding: var(--space-6);
  margin-bottom: var(--space-6);
}
.sidebar-widget-title {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--stone-200);
}

/* --- Zone indicator --- */
.zone-indicator {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: var(--stone-100);
  border-radius: var(--radius);
  border-left: 2px solid var(--stone-300);
  margin: var(--space-6) 0;
}
.zone-indicator .zone-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: pulse-dot 2.5s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.zone-indicator .zone-text {
  font-size: var(--text-sm);
  color: var(--ink-mid);
  line-height: 1.6;
}

/* --- Breadcrumb --- */
.breadcrumb {
  font-size: var(--text-xs);
  color: var(--ink-light);
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--stone-200);
  margin-bottom: var(--space-8);
}
.breadcrumb a { color: var(--ink-light); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { margin: 0 var(--space-2); color: var(--stone-300); }

/* --- Page header (interior pages) --- */
.page-header {
  background: var(--charcoal);
  color: var(--cream);
  padding: var(--space-16) 0 var(--space-12);
  position: relative;
}
.page-header-inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 5vw, var(--text-4xl));
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-4);
  color: var(--cream);
}
.page-header .page-intro {
  font-size: var(--text-lg);
  font-weight: 300;
  color: rgba(250,248,244,0.6);
  max-width: 540px;
  line-height: 1.65;
}
.page-header .hero-label {
  color: rgba(250,248,244,0.4);
}

/* --- Footer --- */
.site-footer {
  background: var(--charcoal);
  color: rgba(250,248,244,0.55);
  padding: var(--space-16) 0 var(--space-8);
  margin-top: var(--space-24);
  border-top: 1px solid var(--stone-200);
}
.footer-inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}
.footer-brand .footer-logo {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 300;
  color: var(--cream);
  margin-bottom: var(--space-3);
  display: block;
  letter-spacing: -0.01em;
}
.footer-brand p {
  font-size: var(--text-sm);
  line-height: 1.7;
  max-width: 280px;
}
.footer-col-title {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250,248,244,0.35);
  margin-bottom: var(--space-4);
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.footer-links a {
  font-size: var(--text-sm);
  color: rgba(250,248,244,0.5);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--cream); }
.footer-bottom {
  border-top: 1px solid rgba(250,248,244,0.08);
  padding-top: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: var(--text-xs);
  letter-spacing: 0.02em;
}
.footer-bottom a { color: rgba(250,248,244,0.4); }
.footer-bottom a:hover { color: var(--cream); }

/* --- Divider --- */
hr { border: none; border-top: 1px solid var(--stone-200); margin: var(--space-8) 0; }

/* --- Utilities --- */
.text-center { text-align: center; }
.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; }

/* --- Responsive: Tablet --- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .layout-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* --- Responsive: Mobile --- */
@media (max-width: 600px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .hero { padding: var(--space-16) 0 var(--space-12); }
  .hero-stats { gap: var(--space-6); }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px; left: 0; right: 0;
    background: var(--warm-white);
    padding: var(--space-6) var(--gutter);
    gap: var(--space-4);
    border-top: 1px solid var(--stone-200);
    border-bottom: 1px solid var(--stone-200);
    box-shadow: var(--shadow);
  }
  .nav-open .nav-links a { color: var(--ink-mid); }
  .ad-slot-rectangle { width: 100%; }
}

/* --- Print --- */
@media print {
  .site-nav, .site-footer, .ad-slot, .sidebar { display: none; }
  body { background: white; color: black; font-size: 12pt; }
}
