/* ============================================
   THE AWAKE CLUB — style.css  v1.1
   QA: mobile quiz fix, checklist click fix,
       nav overflow, image crop improvements
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,300;0,400;0,600;0,700;0,900;1,700&family=Barlow:ital,wght@0,300;0,400;0,500;0,600;1,300&display=swap');

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:         #0c0c0c;
  --charcoal:      #141414;
  --dark:          #1a1a1a;
  --mid:           #242424;
  --rule:          #2c2c2c;
  --rule-light:    #363636;
  --muted:         #5a5a5a;
  --steel:         #8a8a8a;
  --silver:        #b8b4ae;
  --white:         #ede9e3;
  --orange:        #f55f0d;
  --orange-mid:    #c44d0a;
  --orange-glow:   rgba(245,95,13,0.15);
  --orange-border: rgba(245,95,13,0.28);
  --font-display:  'Barlow Condensed', sans-serif;
  --font-body:     'Barlow', sans-serif;
  --max-width:     1120px;
  --nav-height:    64px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- UTILITY ---- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 48px; }

.section-label {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 20px;
}
.section-label::before {
  content: ''; display: block; width: 28px; height: 1px;
  background: var(--orange); flex-shrink: 0;
}

.eyebrow { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--orange); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 14px 32px; cursor: pointer; border: none;
  transition: all 0.2s ease; position: relative; text-decoration: none;
}
.btn-primary { background: var(--orange); color: #000; }
.btn-primary:hover { background: #ff7228; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(245,95,13,0.3); }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid var(--rule-light); }
.btn-ghost:hover { border-color: var(--steel); background: rgba(255,255,255,0.04); }
.btn-outline-orange { background: transparent; color: var(--orange); border: 1px solid var(--orange-border); }
.btn-outline-orange:hover { background: var(--orange-glow); border-color: var(--orange); }
.btn-arrow::after { content: '→'; font-style: normal; }

/* ---- NAVIGATION ---- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-height);
  display: flex; align-items: center; justify-content: space-between;
  /* FIX: prevent overflow on narrow viewports */
  padding: 0 48px;
  min-width: 0;
  background: rgba(12,12,12,0.93);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  transition: background 0.3s;
}
.nav-logo {
  font-family: var(--font-display); font-weight: 900; font-size: 1.05rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--white);
  white-space: nowrap; flex-shrink: 0;
}
.nav-logo .accent { color: var(--orange); }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--steel); transition: color 0.2s; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-cta {
  background: var(--orange) !important; color: #000 !important;
  padding: 8px 20px;
  font-family: var(--font-display); font-weight: 700 !important;
  font-size: 0.78rem !important; letter-spacing: 0.1em !important;
}
.nav-cta:hover { background: #ff7228 !important; }

/* FIX: Hamburger — min tap target 44px */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none;
  padding: 10px; /* increases tap area */
  min-width: 44px; min-height: 44px;
  align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--white); transition: all 0.3s; }

/* Mobile nav — FIX: no overflow, properly contained */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height); left: 0; right: 0;
  /* FIX: full viewport width, no overflow */
  width: 100%; max-width: 100vw;
  background: var(--charcoal);
  border-bottom: 1px solid var(--rule);
  padding: 24px 20px;
  z-index: 199;
  flex-direction: column; gap: 4px;
  /* FIX: prevent body scroll when open */
  overflow-y: auto;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 1.05rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--silver); font-family: var(--font-display); font-weight: 700;
  transition: color 0.2s;
  /* FIX: 44px min tap target on mobile */
  padding: 12px 8px;
  border-bottom: 1px solid var(--rule);
  display: block;
  min-height: 44px;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--orange); }

/* ---- PAGE HERO ---- */
.page-hero {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 80px;
  border-bottom: 1px solid var(--rule);
}

/* ---- SECTION DEFAULTS ---- */
section { border-bottom: 1px solid var(--rule); }
.section-pad { padding: 96px 0; }
.section-pad-sm { padding: 64px 0; }

/* ---- TYPOGRAPHY ---- */
.display-xl {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(4rem, 8.5vw, 9rem);
  line-height: 0.9; text-transform: uppercase; letter-spacing: -0.01em;
}
.display-lg {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.93; text-transform: uppercase; letter-spacing: -0.01em;
}
.display-md {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  line-height: 0.95; text-transform: uppercase;
}
.display-sm {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1; text-transform: uppercase; letter-spacing: 0.03em;
}
.accent-orange { color: var(--orange); }

.lead { font-size: clamp(1rem, 1.4vw, 1.12rem); font-weight: 300; color: var(--silver); line-height: 1.78; }
.lead strong { color: var(--white); font-weight: 500; }
.body-text { font-size: 0.97rem; font-weight: 300; color: var(--steel); line-height: 1.8; }
.body-text strong { color: var(--silver); font-weight: 500; }

/* ---- DIVIDERS ---- */
.hr-rule { border: none; border-top: 1px solid var(--rule); margin: 48px 0; }

/* ---- PRINCIPLE STACK ---- */
.principle-stack {
  display: flex; flex-direction: column; gap: 1px;
  background: var(--rule); border: 1px solid var(--rule);
}
.principle-item { background: var(--charcoal); padding: 22px 28px; display: flex; flex-direction: column; gap: 4px; }
.principle-item:hover { background: var(--dark); }
.principle-word { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--white); line-height: 1; }
.principle-desc { font-size: 0.75rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }

/* ---- AWAKE CODE GRID ---- */
.code-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--rule); }
.code-card {
  background: var(--black); padding: 40px 28px 36px;
  position: relative; overflow: hidden; transition: background 0.25s;
}
.code-card:hover { background: var(--charcoal); }
.code-card::before {
  content: attr(data-num); position: absolute; top: 16px; right: 18px;
  font-family: var(--font-display); font-weight: 900; font-size: 5rem; line-height: 1;
  color: rgba(255,255,255,0.03); pointer-events: none;
}
.code-word { display: block; font-family: var(--font-display); font-weight: 900; font-size: 2.1rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--orange); margin-bottom: 14px; }
.code-tagline { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--white); margin-bottom: 14px; line-height: 1.3; }
.code-body { font-size: 0.86rem; font-weight: 300; color: var(--muted); line-height: 1.75; }

/* ---- GYM TENETS ---- */
.tenet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tenet-card { border: 1px solid var(--rule); padding: 32px 28px; transition: border-color 0.2s, background 0.2s; }
.tenet-card:hover { border-color: var(--rule-light); background: var(--charcoal); }
.tenet-hed { font-family: var(--font-display); font-weight: 900; font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--orange); margin-bottom: 14px; line-height: 1.1; }
.tenet-body { font-size: 0.88rem; font-weight: 300; color: var(--muted); line-height: 1.75; }

/* ---- TOOLS GRID ---- */
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.tool-card {
  background: var(--charcoal); padding: 32px 28px;
  display: flex; flex-direction: column; gap: 12px;
  transition: background 0.2s; position: relative;
  text-decoration: none; color: inherit;
}
.tool-card:hover { background: var(--dark); }
.tool-card.coming-soon { opacity: 0.5; pointer-events: none; }
.tool-icon { font-size: 1.4rem; line-height: 1; margin-bottom: 4px; color: var(--orange); }
.tool-name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--white); line-height: 1.2; }
.tool-desc { font-size: 0.84rem; font-weight: 300; color: var(--muted); line-height: 1.65; flex: 1; }
.tool-status { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); margin-top: auto; }
.tool-status.soon { color: var(--muted); }
.tool-arrow { position: absolute; top: 28px; right: 24px; font-size: 1rem; color: var(--rule-light); transition: color 0.2s, transform 0.2s; }
.tool-card:hover .tool-arrow { color: var(--orange); transform: translate(2px, -2px); }

/* ---- ARTICLE CARDS ---- */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-card {
  background: var(--charcoal); padding: 28px 24px;
  border: 1px solid var(--rule); display: flex; flex-direction: column; gap: 10px;
  transition: border-color 0.2s, background 0.2s; text-decoration: none; color: inherit;
  /* FIX: remove pointer cursor since cards don't navigate yet */
  cursor: default;
}
/* FIX: no hover highlight since cards don't go anywhere in V1 */
.article-cat { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); }
.article-title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--white); line-height: 1.2; }
.article-summary { font-size: 0.84rem; font-weight: 300; color: var(--muted); line-height: 1.7; flex: 1; }
/* FIX: "Coming Soon" label instead of fake "Read →" CTA */
.article-cta {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); margin-top: 4px;
}

/* ---- EMAIL CAPTURE ---- */
.email-section { background: var(--charcoal); }
.email-inner { max-width: 640px; margin: 0 auto; text-align: center; padding: 96px 48px; }
.email-form { display: flex; gap: 0; margin: 32px auto 12px; max-width: 500px; }
.email-form input[type="email"] {
  flex: 1; background: var(--mid); border: 1px solid var(--rule-light); border-right: none;
  color: var(--white); font-family: var(--font-body); font-size: 0.9rem;
  padding: 14px 20px; outline: none; transition: border-color 0.2s;
  /* FIX: prevent shrinking below readable size on mobile */
  min-width: 0;
}
.email-form input[type="email"]:focus { border-color: var(--orange); }
.email-form input[type="email"]::placeholder { color: var(--muted); }
.email-form button {
  background: var(--orange); color: #000; border: none;
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 14px 28px; cursor: pointer; white-space: nowrap;
  transition: background 0.2s;
  /* FIX: 44px min tap target */
  min-height: 44px;
}
.email-form button:hover { background: #ff7228; }
.email-fine { font-size: 0.73rem; color: var(--muted); letter-spacing: 0.06em; }

/* ---- BLOCKQUOTE / PULL QUOTE ---- */
.pull-quote { border-left: 3px solid var(--orange); padding: 16px 0 16px 28px; margin: 40px 0; }
.pull-quote p { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 2.2vw, 1.8rem); text-transform: uppercase; letter-spacing: 0.04em; color: var(--white); line-height: 1.25; }

/* ---- IMAGE TREATMENTS ---- */
.img-overlay { position: relative; overflow: hidden; }
.img-overlay img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-overlay::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(12,12,12,0.88) 0%, rgba(12,12,12,0.3) 60%, transparent 100%); pointer-events: none; }
.img-overlay.overlay-bottom::after { background: linear-gradient(to top, rgba(12,12,12,0.9) 0%, rgba(12,12,12,0.4) 50%, transparent 100%); }
.img-overlay.overlay-uniform::after { background: rgba(12,12,12,0.6); }

/* ============================================
   QUIZ — Mobile-first approach (FIX #1)
   ============================================ */
.quiz-question {
  border: 1px solid var(--rule);
  padding: 28px 24px 24px;
  margin-bottom: 16px;
  background: var(--charcoal);
}
.quiz-q-text {
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--white);
  margin-bottom: 16px; line-height: 1.3;
}
.quiz-q-num { color: var(--orange); margin-right: 8px; }

.quiz-options { display: flex; flex-direction: column; gap: 8px; }

/* FIX: quiz option rows — full width, proper tap targets, no cramping */
.quiz-option {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--rule); cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
  background: var(--dark);
  /* FIX: min tap target */
  min-height: 44px;
  width: 100%;
}
.quiz-option:hover { border-color: var(--orange-border); background: var(--orange-glow); }
.quiz-option input[type="radio"] {
  accent-color: var(--orange);
  /* FIX: larger click target for the radio itself */
  width: 18px; height: 18px;
  min-width: 18px; min-height: 18px;
  flex-shrink: 0; margin-top: 3px;
  cursor: pointer;
}
.quiz-option label {
  font-size: 0.88rem; color: var(--silver); cursor: pointer;
  line-height: 1.5;
  /* FIX: label takes full remaining width for click area */
  flex: 1;
  display: block;
}

/* FIX: quiz result card — full width, readable on mobile */
.quiz-result-card {
  background: var(--charcoal);
  border: 1px solid var(--orange-border);
  padding: 32px 24px;
  margin-top: 8px;
  /* FIX: no overflow, full width */
  width: 100%;
  box-sizing: border-box;
}

/* ---- CATEGORY PILLS ---- */
.category-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.category-tab {
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 8px 18px;
  border: 1px solid var(--rule); color: var(--steel); cursor: pointer;
  transition: all 0.18s; background: none;
  /* FIX: min tap target */
  min-height: 44px;
}
.category-tab:hover, .category-tab.active { border-color: var(--orange-border); color: var(--orange); background: var(--orange-glow); }

/* ---- COMMUNITY SECTION ---- */
.community-section { background: var(--dark); }
.check-in-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin: 40px 0; }
.check-item { background: var(--charcoal); padding: 24px 20px; text-align: center; }
.check-icon { font-size: 1.5rem; margin-bottom: 10px; display: block; }
.check-label { font-family: var(--font-display); font-weight: 700; font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--silver); }

/* ---- FOOTER ---- */
.site-footer { background: var(--charcoal); border-top: 1px solid var(--rule); padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--rule); margin-bottom: 36px; }
.footer-brand .nav-logo { font-size: 1.1rem; display: block; margin-bottom: 12px; }
.footer-tagline { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 20px; }
.footer-brand p { font-size: 0.82rem; color: var(--muted); line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-family: var(--font-display); font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--steel); margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a { font-size: 0.85rem; color: var(--muted); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.footer-disclaimer { font-size: 0.73rem; color: var(--muted); line-height: 1.7; max-width: 680px; }
.footer-copy { font-size: 0.72rem; color: var(--rule-light); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }

/* ---- HERO GHOST TEXT ---- */
.hero-ghost { position: absolute; pointer-events: none; user-select: none; font-family: var(--font-display); font-weight: 900; text-transform: uppercase; color: rgba(255,255,255,0.022); letter-spacing: -0.02em; line-height: 0.85; z-index: 0; }

/* ---- STAT/NUMBER CALLOUT ---- */
.stat-row { display: flex; gap: 0; border: 1px solid var(--rule); background: var(--rule); }
.stat-item { flex: 1; background: var(--charcoal); padding: 28px 24px; text-align: center; }
.stat-num { font-family: var(--font-display); font-weight: 900; font-size: 2.8rem; line-height: 1; color: var(--orange); margin-bottom: 6px; }
.stat-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ---- INDEX HERO ---- */
.hero-index {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: var(--nav-height); overflow: hidden;
}
.hero-index .hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-index .hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  /* FIX: center-top crop keeps subjects in frame */
  object-position: center 20%;
  filter: brightness(0.38) saturate(0.7);
}
.hero-index .hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(12,12,12,0.95) 30%, rgba(12,12,12,0.5) 65%, rgba(12,12,12,0.2) 100%),
    linear-gradient(to top, rgba(12,12,12,0.8) 0%, transparent 40%);
}
.hero-index .hero-content { position: relative; z-index: 1; padding: 80px 48px; max-width: 780px; }
.hero-index .hero-content .display-xl em { font-style: normal; color: var(--orange); }
.hero-scroll-hint { position: absolute; bottom: 36px; left: 48px; z-index: 2; display: flex; align-items: center; gap: 10px; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); writing-mode: vertical-rl; transform: rotate(180deg); }

/* ---- 4AM BRIDGE ---- */
.bridge-section { position: relative; overflow: hidden; background: var(--charcoal); }
.bridge-bg-num { position: absolute; right: -20px; top: 50%; transform: translateY(-50%); font-family: var(--font-display); font-weight: 900; font-size: clamp(12rem, 22vw, 26rem); color: rgba(245,95,13,0.04); line-height: 1; pointer-events: none; user-select: none; letter-spacing: -0.04em; }

/* ---- GYM SECTION ---- */
.gym-section { background: var(--charcoal); }
.gym-photo-panel { position: relative; overflow: hidden; }
.gym-photo-panel img {
  width: 100%; height: 100%; object-fit: cover;
  /* FIX: center-top keeps subjects visible */
  object-position: center 15%;
  display: block; min-height: 440px;
  filter: brightness(0.75) saturate(0.85);
}
.gym-photo-panel::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to right, transparent 40%, var(--charcoal) 100%); }

/* ---- FIND YOUR 4AM PAGE ---- */
.fam-hero { position: relative; overflow: hidden; background: var(--charcoal); }
.fam-hero-img { position: absolute; right: 0; top: 0; bottom: 0; width: 50%; overflow: hidden; }
.fam-hero-img img {
  width: 100%; height: 100%; object-fit: cover;
  /* FIX: center 20% keeps subjects in upper portion of frame */
  object-position: center 20%;
  filter: brightness(0.55) saturate(0.8);
}
.fam-hero-img::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to right, var(--charcoal) 0%, transparent 40%); }

/* ---- PERSONA CARDS ---- */
.persona-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.persona-card { background: var(--charcoal); padding: 28px 24px; }
.persona-type { font-family: var(--font-display); font-weight: 900; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--orange); margin-bottom: 8px; }
.persona-desc { font-size: 0.86rem; font-weight: 300; color: var(--muted); line-height: 1.65; }
.persona-4am { font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--white); margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--rule); }

/* ---- START HERE STEPS ---- */
.step-list { display: flex; flex-direction: column; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.step-item { background: var(--charcoal); padding: 32px 28px 28px; display: grid; grid-template-columns: 60px 1fr; gap: 24px; align-items: start; transition: background 0.2s; }
.step-item:hover { background: var(--dark); }
.step-num { font-family: var(--font-display); font-weight: 900; font-size: 2.8rem; color: var(--orange); line-height: 1; padding-top: 4px; }
.step-title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--white); margin-bottom: 8px; }
.step-body { font-size: 0.88rem; font-weight: 300; color: var(--muted); line-height: 1.75; }
.step-item .btn { margin-top: 16px; font-size: 0.82rem; padding: 10px 22px; }

/* ============================================
   CHECKLIST — FIX #2 (full-row click area)
   ============================================ */
.checklist-widget { background: var(--dark); border: 1px solid var(--rule); padding: 28px; }

/* FIX: whole row is a label for the checkbox — removes need for onclick */
.checklist-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--rule);
  /* FIX: make the entire row clickable */
  cursor: pointer;
  /* FIX: min tap target */
  min-height: 44px;
}
.checklist-item:last-child { border-bottom: none; }

.checklist-item input[type="checkbox"] {
  accent-color: var(--orange);
  /* FIX: larger hit area */
  width: 20px; height: 20px; min-width: 20px;
  flex-shrink: 0; margin-top: 2px;
  cursor: pointer;
}

.checklist-label {
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--white);
  transition: color 0.2s;
  /* FIX: label takes full width for pointer events */
  cursor: pointer; flex: 1;
  line-height: 1.3;
}
.checklist-item.checked .checklist-label { color: var(--muted); text-decoration: line-through; }

/* ---- TIMER WIDGET ---- */
.timer-widget { background: var(--dark); border: 1px solid var(--rule); padding: 36px 28px 32px; text-align: center; }
.timer-display { font-family: var(--font-display); font-weight: 900; font-size: clamp(3.5rem, 8vw, 6rem); color: var(--white); letter-spacing: 0.04em; line-height: 1; margin: 20px 0; font-variant-numeric: tabular-nums; }
.timer-display.running { color: var(--orange); }
.timer-display.done { color: #2a8a4a; }
.timer-presets { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.timer-preset {
  font-family: var(--font-display); font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 8px 16px;
  border: 1px solid var(--rule-light); background: var(--charcoal);
  color: var(--steel); cursor: pointer; transition: all 0.18s;
  min-height: 44px;
}
.timer-preset:hover, .timer-preset.active { border-color: var(--orange-border); color: var(--orange); background: var(--orange-glow); }
.timer-controls { display: flex; gap: 10px; justify-content: center; margin-top: 16px; }
.timer-cue { font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-top: 20px; min-height: 1.4rem; transition: color 0.3s; }
.timer-cue.active { color: var(--orange); }

/* ---- ANIMATIONS ---- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.anim-1 { animation: fadeUp 0.65s ease 0.1s both; }
.anim-2 { animation: fadeUp 0.65s ease 0.22s both; }
.anim-3 { animation: fadeUp 0.65s ease 0.38s both; }
.anim-4 { animation: fadeUp 0.65s ease 0.54s both; }
.anim-5 { animation: fadeUp 0.65s ease 0.68s both; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .code-grid { grid-template-columns: repeat(2, 1fr); }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   MOBILE BREAKPOINT — primary QA target
   ============================================ */
@media (max-width: 768px) {
  :root { --nav-height: 56px; }
  .container { padding: 0 20px; }
  .section-pad { padding: 64px 0; }

  .site-nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .display-xl { font-size: clamp(3rem, 12vw, 5rem); }
  .display-lg { font-size: clamp(2.2rem, 8vw, 3.2rem); }

  .hero-index .hero-content { padding: 60px 20px; }
  .hero-scroll-hint { display: none; }

  .code-grid { grid-template-columns: 1fr; }
  .tenet-grid { grid-template-columns: 1fr; gap: 12px; }
  .tools-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .check-in-grid { grid-template-columns: repeat(2, 1fr); }
  .persona-grid { grid-template-columns: 1fr; }
  .stat-row { flex-direction: column; }

  .email-inner { padding: 64px 20px; }
  /* FIX: email form stacks cleanly on mobile */
  .email-form { flex-direction: column; gap: 0; }
  .email-form input[type="email"] {
    border-right: 1px solid var(--rule-light);
    border-bottom: none;
  }
  .email-form button { width: 100%; justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; }
  .footer-brand p { max-width: 100%; }

  /* FIX: hide image panels on mobile that create the black column bug */
  .fam-hero-img { display: none; }
  .gym-photo-panel { display: none; }

  .step-item { grid-template-columns: 1fr; gap: 8px; }
  .step-num { font-size: 1.8rem; }

  /* ============================================
     FIX #1 — QUIZ MOBILE LAYOUT
     The quiz was in a 2-col grid on desktop.
     On mobile that left-column metadata squeezed
     the quiz form into a narrow column.
     Fix: collapse to single column, full width.
     ============================================ */

  /* Quiz page: the 2-col grid for intro + form */
  .quiz-layout-grid {
    display: block !important;
  }
  .quiz-layout-grid > *:first-child {
    margin-bottom: 40px;
  }

  /* Quiz questions fill full width */
  .quiz-question { padding: 20px 16px 18px; }
  .quiz-q-text { font-size: 0.96rem; }

  /* Quiz options — comfortable stacking */
  .quiz-option { padding: 12px 14px; gap: 12px; }
  .quiz-option label { font-size: 0.87rem; }

  /* Quiz submit button — full width */
  #quiz-form button[type="submit"] {
    width: 100%;
    justify-content: center;
  }

  /* FIX: result card — full width, proper padding */
  .quiz-result-card {
    padding: 24px 18px;
    margin-top: 24px;
  }
  .quiz-result-card .display-md {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }
  .quiz-result-card > div[style*="flex"] {
    flex-direction: column !important;
    gap: 10px !important;
  }
  .quiz-result-card .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-index .hero-content .display-xl { font-size: clamp(2.8rem, 14vw, 4rem); }
  .bridge-bg-num { display: none; }
  .category-tabs { gap: 6px; }
  .check-in-grid { grid-template-columns: repeat(2, 1fr); }

  /* FIX: quiz even tighter screens */
  .quiz-question { padding: 16px 14px 14px; }
  .quiz-q-text { font-size: 0.9rem; }
}
