*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ── Palette — Apple Style Cinematic Modern ── */
  --white:    #FFFFFF;
  --bg:       #230D08;
  --surface:  #0E0603;
  --surface-elevated: #3D231C;
  --text-1:   #FFDBD2;
  --text-2:   #D1C4BB;
  --text-3:   #9a8e87;
  --accent:        #DAC2B1;
  --accent-hover:  #f0d9c9;
  --secondary:     #FFB4A4;
  --border:        rgba(255,219,210,0.12);

  /* Aliases */
  --espresso: #230D08;
  --cream:    #FAF5F1;
  --f5:       #0E0603;
  --f0:       #3D231C;
  --brown:    #4e322b;

  /* ── Button tokens ── */
  --btn-bg:      #DAC2B1;
  --btn-bg-hover:#f0d9c9;
  --btn-text:    #3C2D21;

  /* ── Eyebrow ── */
  --eyebrow-spacing: 0.18em;

  /* ── Typography ── */
  --font-ui:      'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --font-display: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

  /* ── Shadows ── */
  --shadow-card:       0 0 0 1px rgba(255,219,210,0.08), 0 2px 8px rgba(0,0,0,0.40);
  --shadow-card-hover: 0 0 0 1px rgba(255,219,210,0.12), 0 8px 24px rgba(0,0,0,0.55);
  --shadow-card-lift:  0 0 0 1px rgba(255,219,210,0.12), 0 16px 48px rgba(0,0,0,0.65);

  /* ── Easing ── */
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ui);
  background: var(--espresso);
  color: var(--text-1);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Image placeholder ── */
.ph {
  display: block;
  background: linear-gradient(145deg, #EDE6DC 0%, #C8B49A 100%);
  position: relative;
  overflow: hidden;
}
.ph.dark { background: linear-gradient(145deg, #3D2816 0%, #1A0F0A 100%); }
.ph.mid  { background: linear-gradient(145deg, #C8A880 0%, #7A5030 100%); }
.ph.pale { background: linear-gradient(145deg, #F0EBE3 0%, #DDD0BC 100%); }

/* ── Nav ── */
nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transition: background 0.4s var(--ease-out), backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
nav.nav-scrolled {
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  background: rgba(14,6,3,0.92);
  border-bottom-color: rgba(255,219,210,0.08);
}
nav.nav-scrolled.nav-on-dark {
  background: rgba(14,6,3,0.92);
  border-bottom-color: rgba(255,219,210,0.08);
}
nav.nav-scrolled.nav-on-espresso {
  background: rgba(35,13,8,0.92);
  border-bottom-color: rgba(255,219,210,0.08);
}
nav.nav-scrolled.nav-on-light {
  background: rgba(250,245,241,0.92);
  border-bottom-color: rgba(35,13,8,0.08);
}

/* Light sections (Cream) */
nav.nav-on-light .nav-logo { color: #230D08; }
nav.nav-on-light .nav-links a { color: rgba(35,13,8,0.50); }
nav.nav-on-light .nav-links a:hover { color: #230D08; }
nav.nav-on-light .nav-search { color: rgba(35,13,8,0.85); background: rgba(35,13,8,0.07); }
nav.nav-on-light .nav-search:hover { background: rgba(35,13,8,0.12); color: #230D08; }
nav.nav-on-light .nav-burger span { background: #230D08; }

.nav-inner {
  width: 100%;
  max-width: 1280px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--text-1);
  transition: color 0.35s, opacity 0.35s;
}
.nav-logo:hover { opacity: 0.7; }
nav.nav-on-dark .nav-logo { color: #FFFFFF; }

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}
.nav-links a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: rgba(255,219,210,0.50);
  transition: color 0.25s;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s var(--ease-spring);
}
.nav-links a:hover { color: var(--text-1); }
.nav-links a:hover::after { width: 100%; }
nav.nav-on-dark .nav-links a { color: rgba(255,219,210,0.50); }
nav.nav-on-dark .nav-links a:hover { color: #ffdbd2; }

.nav-search {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-2);
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(255,255,255,0.07);
  transition: color 0.25s, background 0.25s;
  letter-spacing: 0.01em;
}
.nav-search:hover { background: rgba(255,255,255,0.13); color: var(--text-1); }
nav.nav-on-dark .nav-search { color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.07); }
nav.nav-on-dark .nav-search:hover { background: rgba(255,255,255,0.13); color: #fff; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text-1);
  border-radius: 2px;
  transition: background 0.3s, transform 0.3s var(--ease-spring), opacity 0.2s;
  transform-origin: center;
}
nav.nav-on-dark .nav-burger span { background: #fff; }

/* ── Burger → X beim Öffnen ── */
nav.nav-open .nav-burger span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
nav.nav-open .nav-burger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
nav.nav-open .nav-burger span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
nav.nav-open .nav-burger span { background: rgba(255,219,210,0.72); }

/* ── Hero + Facts wrapper ── */
.hero-facts-wrap { position: relative; }

/* ── Hero ── */
.hero {
  height: 100svh;
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--espresso);
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
  pointer-events: none;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  opacity: 0.15;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  height: 100%;
  position: relative;
  z-index: 2;
  will-change: opacity, transform;
}

.hero::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(160,100,40,0.20) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--eyebrow-spacing);
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 32px;
  animation: heroRise 1.6s cubic-bezier(0.16,1,0.3,1) 0.20s both;
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(56px, 10.5vw, 114px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.06em;
  color: #FFFFFF;
  text-shadow: 0 2px 60px rgba(180,100,30,0.22);
  margin-bottom: 40px;
  animation: heroRise 1.8s cubic-bezier(0.16,1,0.3,1) 0.44s both;
}
.hero-h1 span { color: rgba(255,219,210,0.30); }

.hero-sub {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255,255,255,0.48);
  max-width: 480px;
  margin-bottom: 36px;
  animation: heroRise 1.8s cubic-bezier(0.16,1,0.3,1) 0.66s both;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  animation: heroRise 1.8s cubic-bezier(0.16,1,0.3,1) 0.86s both;
}

/* ── Primary Button — single source of truth ── */
.btn-fill,
.journal-cta,
.beg-cta-btn,
.cine-link-more,
.eq-light-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-size: 15px;
  font-weight: 600;
  border-radius: 9999px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s, gap 0.25s var(--ease-spring), transform 0.25s var(--ease-spring), box-shadow 0.25s;
}
.btn-fill:hover,
.journal-cta:hover,
.beg-cta-btn:hover,
.cine-link-more:hover,
.eq-light-cta:hover {
  background: var(--btn-bg-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.28);
  gap: 12px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: 1px solid rgba(255,219,210,0.12);
  color: #FFDBD2;
  font-size: 15px;
  font-weight: 600;
  border-radius: 9999px;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.btn-outline:hover { border-color: rgba(255,219,210,0.35); background: rgba(255,255,255,0.04); }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.18);
  overflow: hidden;
}
.hero-scroll-bar {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.55), transparent);
  animation: bar 2.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  transform-origin: top;
}
@keyframes bar {
  0%   { transform: translateY(-40px); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(40px); opacity: 0; }
}

@keyframes heroRise {
  0%   { opacity: 0; transform: translateY(18px); filter: blur(8px); }
  40%  { filter: blur(0); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes eqSlideUp {
  to { opacity: 1; transform: translateY(0); }
}


/* ── Facts section ── */
.facts-section {
  position: relative;
  z-index: 2;
  background: var(--f5);
  border-radius: 0;
  border: none;
  border-top: 1px solid rgba(255,219,210,0.08);
  height: 260svh;
}

.facts-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 72px 24px 48px;
}

.facts-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  text-align: center;
}

.facts-stage {
  position: relative;
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fact-item {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  max-width: 680px;
  padding: 0 16px;
  opacity: 0;
  transform: translateY(90px) scale(0.88);
  filter: blur(14px);
  transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1),
              transform 0.75s cubic-bezier(0.22,1,0.36,1),
              filter 0.75s cubic-bezier(0.22,1,0.36,1);
  pointer-events: none;
}

.fact-item.fact-active {
  opacity: 1;
  transform: none;
  filter: blur(0);
  pointer-events: auto;
}

.fact-item.fact-exit {
  opacity: 0;
  transform: translateY(-70px) scale(0.92);
  filter: blur(14px);
}

.fact-num {
  font-family: var(--font-display);
  font-size: clamp(72px, 11vw, 130px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: #FFFFFF;
}

.fact-desc {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255,255,255,0.48);
  max-width: 360px;
}

.facts-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.facts-dot {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  transition: background 0.35s, transform 0.35s;
}

.facts-dot.fact-dot-on {
  background: rgba(255,255,255,0.72);
  transform: scale(1.3);
}

/* ── Section shell ── */
.section {
  padding: 96px 64px;
  max-width: 1280px;
  margin: 0 auto;
}
.section-full { padding: 96px 64px; }
.section-full > * { max-width: 1280px; margin-left: auto; margin-right: auto; }

.section-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 10px;
}

.section-h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-1);
  margin-top: 0;
}

.journal-section {
  background: var(--cream);
}
.journal-section .section-head {
  align-items: center;
}

.journal-sub {
  font-size: 15px;
  color: rgba(60, 40, 20, 0.45);
  line-height: 1.6;
  margin-top: 10px;
  text-align: center;
}

.section-head.section-head-center {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0;
}

.journal-cta { margin-top: 8px; }

.journal-section .section-h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.04;
  color: var(--espresso);
  margin-bottom: 0;
}

.journal-section .section-eyebrow {
  color: rgba(90, 65, 55, 0.50);
}

.journal-section .link-more {
  color: rgba(60, 40, 30, 0.55);
}
.journal-section .link-more:hover {
  color: #230D08;
}

.journal-section .j-card {
  background: #FFFFFF;
  border: 1px solid rgba(60, 40, 30, 0.08);
  box-shadow: 0 2px 16px rgba(60, 40, 30, 0.06);
}
.journal-section .j-card:hover {
  box-shadow: 0 8px 32px rgba(60, 40, 30, 0.12);
}

.journal-section .j-cat {
  color: rgba(90, 65, 55, 0.50);
}

.journal-section .j-title {
  color: #230D08;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}

.link-more {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.25s, gap 0.25s var(--ease-spring);
  flex-shrink: 0;
  letter-spacing: 0.01em;
}
.link-more:hover { color: var(--text-1); gap: 9px; }

/* ── Shared backgrounds ── */
.bg-f5 { background: var(--f5); }

/* ── Guides section ── */
.guides-section {
  background-color: var(--espresso);
  background-image: var(--guides-bg, none);
  background-size: cover;
  background-position: center;
  position: relative;
}

.guides-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8,3,1,0.82);
  pointer-events: none;
}

.guides-section > .section {
  position: relative;
  z-index: 1;
}

.guides-section .section-eyebrow { color: rgba(255,255,255,0.28); }
.guides-section .section-h2      { color: #FFFFFF; }

/* ── Guides grid ── */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.guide-card {
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,219,210,0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: transform 0.4s var(--ease-spring), background 0.3s, box-shadow 0.4s;
}
.guide-card:hover {
  transform: scale(1.01) translateY(-6px);
  background: rgba(255,255,255,0.06);
  box-shadow: var(--shadow-card-lift);
}

.guide-card-img { aspect-ratio: 4/3; }
.guide-card-img.c1 { background: linear-gradient(145deg,#C8A070 0%,#4A2008 100%); }
.guide-card-img.c2 { background: linear-gradient(145deg,#A07050 0%,#2A1005 100%); }
.guide-card-img.c3 { background: linear-gradient(145deg,#D4B890 0%,#7A4520 100%); }

.guide-card-body { padding: 22px 24px 26px; }

.guide-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin-bottom: 8px;
}

.guide-title {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.90);
  margin-bottom: 8px;
}

.guide-meta { font-size: 13px; color: rgba(255,255,255,0.22); }

/* ── Brewing Methods — Tab Selector ── */
.brew-section {
  background: var(--espresso);
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.brew-section .section {
  width: 100%;
}

.brew-section .section-eyebrow { color: rgba(255,219,210,0.32); }
.brew-section .section-h2      { color: var(--text-1); }

/* ── Three-card grid ── */
.brew-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.brew-card {
  background: rgba(255,255,255,0.03);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-spring), border-color 0.3s;
}

.brew-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(26,15,10,0.12);
}

.brew-card.brew-card-active {
  border-color: rgba(116,51,37,0.60);
  box-shadow: 0 0 0 3px rgba(116,51,37,0.12), var(--shadow-card-hover);
}

/* Full-bleed square image at top of card */
.brew-card-img {
  width: 100%;
  aspect-ratio: 1;
  flex-shrink: 0;
}

.brew-c1 { background: linear-gradient(145deg,#C09070 0%,#3A1808 100%); }
.brew-c2 { background: linear-gradient(145deg,#C8A870 0%,#5A3018 100%); }
.brew-c3 { background: linear-gradient(145deg,#D0B080 0%,#6A4020 100%); }

.brew-card-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.brew-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.brew-card-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

.brew-card-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.brew-card-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-1);
  margin-bottom: 8px;
}

.brew-card-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-2);
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.brew-card-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.brew-chip {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 9999px;
  background: rgba(255,255,255,0.05);
  color: var(--text-2);
  border: 1px solid rgba(255,219,210,0.12);
}

.brew-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.01em;
  margin-top: auto;
  transition: gap 0.3s var(--ease-spring), color 0.25s;
}
.brew-card-link:hover { gap: 10px; color: var(--text-1); }


/* ── Beginner Hub ── */
.beg-section {
  position: relative;
  background: var(--espresso);
  height: 360svh;
}

.beg-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.beg-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 24px;
  width: 100%;
  align-items: center;
}

.beg-section .section-eyebrow { color: rgba(255,255,255,0.28); }
.beg-section .section-h2      { color: #FFFFFF; margin-top: 16px; font-size: clamp(42px, 6vw, 72px); font-weight: 800; letter-spacing: -0.04em; line-height: 0.96; }

.beg-thread {
  position: relative;
  padding-left: 28px;
}

.beg-thread::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: rgba(255,255,255,0.09);
}

.beg-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding-bottom: 40px;
  text-decoration: none;
  position: relative;
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.65s var(--ease-spring),
              transform 0.65s var(--ease-spring),
              filter 0.65s var(--ease-spring);
}
.beg-item:nth-child(odd)  { transform: translateX(-80px) translateY(14px); }
.beg-item:nth-child(even) { transform: translateX(80px) translateY(14px); }
.beg-item:last-child { padding-bottom: 0; }

.beg-item.beg-item-on              { opacity: 1; transform: none; filter: blur(0); }
.beg-item.beg-item-on .beg-item-dot         { background: rgba(232,216,196,0.40); border-color: rgba(232,216,196,0.52); }
.beg-item.beg-item-on:hover .beg-item-title { color: #fff; }
.beg-item.beg-item-on:hover .beg-item-dot   { background: #E8D8C4; border-color: #E8D8C4; }

.beg-item-dot {
  position: absolute;
  left: -28px;
  top: 13px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.20);
  transition: background 0.25s, border-color 0.25s;
}

.beg-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.beg-item-body { flex: 1; }

.beg-item-title {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.88);
  margin-bottom: 6px;
  transition: color 0.25s;
}

.beg-item-desc {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,0.32);
}

/* ── Beginner CTA ── */
.beg-cta-section {
  position: relative;
  z-index: 2;
  margin-top: -100svh;
  background: var(--f5);
  height: 130svh;
  border-radius: 0;
  border: none;
  border-top: 1px solid rgba(255,219,210,0.08);
  overflow: clip;
}

.beg-cta-section::before,
.beg-cta-section::after {
  display: none;
}

.beg-cta-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.048;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  animation: grainShift 0.09s steps(1) infinite;
}

@keyframes grainShift {
  0%   { background-position:   0%    0%; }
  20%  { background-position: -14%  -20%; }
  40%  { background-position:  24%    9%; }
  60%  { background-position:  -9%   30%; }
  80%  { background-position:  18%  -16%; }
  100% { background-position:   0%    0%; }
}

.beg-cta-sticky {
  position: sticky;
  top: 0;
  z-index: 3;
  height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0 24px;
  text-align: center;
}


.beg-cta-text-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 0;
}

.beg-cta-sub {
  font-size: clamp(14px, 1.4vw, 16px);
  font-weight: 400;
  line-height: 1.70;
  color: rgba(255,255,255,0.35);
  max-width: 460px;
  letter-spacing: 0.01em;
  text-align: center;
}

.beg-cta-action {
  position: absolute;
  bottom: clamp(64px, 12vh, 110px);
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.beg-cta-trust {
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,0.18);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.beg-cta-eyebrow {
  color: rgba(255,255,255,0.34);
  letter-spacing: var(--eyebrow-spacing);
}

.beg-cta-eyebrow-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.beg-cta-eyebrow-wrap::before,
.beg-cta-eyebrow-wrap::after {
  content: '';
  width: 56px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.18), transparent);
  flex-shrink: 0;
}

.beg-cta-headline {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: #FFFFFF;
  max-width: 820px;
  text-shadow: 0 0 80px rgba(192,104,28,0.25), 0 0 160px rgba(192,104,28,0.12);
}

.beg-cta-headline span {
  display: block;
  text-align: center;
  color: rgba(255,255,255,0.26);
  font-size: 0.45em;
  font-weight: 300;
  font-style: normal;
  margin-top: clamp(52px, 7vw, 96px);
}


/* ── CTA entrance animations ── */
.beg-cta-eyebrow-wrap,
.beg-cta-text-block,
.beg-cta-action { opacity: 0; will-change: transform, opacity, filter; }

@keyframes ctaSlideUp {
  from { opacity: 0; transform: translateY(56px) scale(0.97); filter: blur(8px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}

@keyframes ctaGlowPulse {
  0%,100% { opacity: 0.70; transform: translate(-50%,-50%) scale(1); }
  50%     { opacity: 1;    transform: translate(-50%,-50%) scale(1.22); }
}

.beg-cta-entered .beg-cta-eyebrow-wrap {
  animation: ctaSlideUp 1.1s cubic-bezier(0.16,1,0.3,1) both;
}
.beg-cta-entered .beg-cta-text-block {
  animation: ctaSlideUp 1.3s 0.18s cubic-bezier(0.16,1,0.3,1) both;
}
.beg-cta-entered .beg-cta-action {
  animation: ctaSlideUp 1.0s 0.42s cubic-bezier(0.16,1,0.3,1) both;
}

.beg-cta-entered .beg-cta-btn:hover {
  transition-delay: 0s;
  transition-duration: 0.25s;
}

@media (prefers-reduced-motion: reduce) {
  .beg-cta-grain { animation: none; }
  .beg-cta-section::before { animation: none; }
  .beg-cta-eyebrow-wrap,
  .beg-cta-text-block,
  .beg-cta-action { opacity: 1 !important; animation: none !important; }
}

/* ── Journal ── */
.journal-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
}

.j-card {
  border-radius: 28px;
  overflow: hidden;
  cursor: pointer;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,219,210,0.12);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s;
}
.j-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.j-img { overflow: hidden; }
.j-card .j-img    { aspect-ratio: 16/8; }
.j-card-lead {
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
}
.j-card-lead .j-img {
  aspect-ratio: unset;
  flex: 1;
  min-height: 0;
}
.j-card-lead .j-body {
  flex: 0 0 auto;
  padding: 18px 20px 20px;
}
.j-card:nth-child(2) .j-img { background: linear-gradient(145deg,#DDD0BC 0%,#9A7050 100%); }
.j-card:nth-child(3) .j-img { background: linear-gradient(145deg,#C8B09A 0%,#6A4028 100%); }
.j-card:nth-child(4) .j-img { background: linear-gradient(145deg,#E4D8C8 0%,#B09070 100%); }
.j-card:nth-child(5) .j-img { background: linear-gradient(145deg,#D0C0A8 0%,#806040 100%); }

.j-body { padding: 18px 20px 20px; min-height: 90px; }

.j-cat {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 6px;
}

.j-title {
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text-1);
}
.j-card      .j-title { font-size: 16px; }

/* ── Equipment ── */
.eq-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ── Equipment Cards — Apple style ── */
.eq-card {
  border-radius: 28px;
  overflow: hidden;
  background: #FFFFFF;
  border: none;
  box-shadow: 0 2px 20px rgba(0,0,0,0.10), 0 0 0 0.5px rgba(0,0,0,0.05);
  cursor: pointer;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s;
}
.eq-card:hover {
  box-shadow: 0 8px 40px rgba(0,0,0,0.16), 0 0 0 0.5px rgba(0,0,0,0.05);
}

.eq-img {
  position: relative;
  width: 100%;
  height: 200px;
  background: linear-gradient(155deg, #F5EDE6 0%, #E8DDD4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.eq-img-photo {
  width: 64%;
  height: 72%;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: drop-shadow(0 10px 24px rgba(80,40,20,0.18));
  transition: transform 0.5s var(--ease-spring);
}
.eq-card:hover .eq-img-photo { transform: translateY(-6px) scale(1.04); }

#eqc1 .eq-img-photo { width: 100%; height: 120%; }
#eqc2 .eq-img-photo { width: 100%; height: 90%; }
#eqc3 .eq-img-photo { width: 100%; height: 115%; }

.eq-body {
  padding: 22px 24px 26px;
  border-top: 1px solid rgba(0,0,0,0.07);
}
/* Eyebrow clings to the title — 4px keeps them as one visual unit */
.eq-cat  { font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #A07050; margin-bottom: 4px; }
/* Title to subtitle: 8px — same group, slight breath */
.eq-name { font-size: 20px; font-weight: 700; line-height: 1.25; letter-spacing: -0.025em; color: #1A0D06; margin-bottom: 8px; }
/* Meta to CTA: 20px — tier break, action lives in its own zone */
.eq-meta { font-size: 13px; line-height: 1.5; color: #7A5840; margin-bottom: 20px; }
.eq-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #8A5030;
  text-decoration: none;
  letter-spacing: 0.01em;
  opacity: 0.72;
  transition: opacity 0.2s, gap 0.25s var(--ease-spring);
}
.eq-card-cta:hover { opacity: 1; gap: 10px; }

/* Dark phase — warm frosted glass, elevated above the espresso background */
.eq-sticky:not(.eq-bright) .eq-card {
  background: rgba(255, 235, 215, 0.06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    0 8px 40px rgba(0,0,0,0.50),
    inset 0 1px 0 rgba(255,218,185,0.12),
    0 0 0 0.5px rgba(255,218,185,0.10);
}
.eq-sticky:not(.eq-bright) .eq-card:hover {
  box-shadow:
    0 16px 56px rgba(0,0,0,0.60),
    inset 0 1px 0 rgba(255,218,185,0.16),
    0 0 0 0.5px rgba(255,218,185,0.14);
}
.eq-sticky:not(.eq-bright) .eq-img {
  background: linear-gradient(155deg, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0.40) 100%);
}
.eq-sticky:not(.eq-bright) .eq-body {
  border-top-color: rgba(255,218,185,0.10);
}
.eq-sticky:not(.eq-bright) .eq-cat  { color: rgba(218,194,177,0.55); }
.eq-sticky:not(.eq-bright) .eq-name { color: rgba(255,248,242,0.92); }
.eq-sticky:not(.eq-bright) .eq-meta { color: rgba(218,194,177,0.48); }
.eq-sticky:not(.eq-bright) .eq-card-cta { color: rgba(218,194,177,0.70); }

/* Light phase — card already white, very soft shadow */
.eq-sticky.eq-bright .eq-card {
  box-shadow: 0 4px 24px rgba(60,30,10,0.10), 0 0 0 0.5px rgba(60,30,10,0.06);
}
.eq-sticky.eq-bright .eq-sticky-eyebrow { color: rgba(60,45,33,0.50); }
.eq-sticky.eq-bright .eq-sticky-h2      { color: #1E1008; }
.eq-sticky.eq-bright .eq-light-eyebrow  { color: #8A6040; }
.eq-sticky.eq-bright .eq-light-h2       { color: #1E1008; }
.eq-sticky.eq-bright .eq-light-desc     { color: #5A3820; }

/* ── Equipment section — scroll-driven card stack ── */
.eq-section {
  height: 240svh;
  position: relative;
  background: var(--f5);
}

.eq-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: var(--f5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.eq-sticky-header {
  position: absolute;
  top: calc(50% - 280px);
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
  pointer-events: none;
  will-change: opacity;
}

.eq-see-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 7px 16px;
  border-radius: 9999px;
  border: 1px solid rgba(255,219,210,0.20);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.55);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  pointer-events: auto;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.eq-see-all:hover {
  border-color: rgba(255,219,210,0.45);
  color: rgba(255,255,255,0.90);
  background: rgba(255,255,255,0.09);
}
.eq-sticky.eq-bright .eq-see-all {
  border-color: rgba(60,45,33,0.20);
  color: rgba(60,45,33,0.55);
  background: rgba(60,30,10,0.05);
}
.eq-sticky.eq-bright .eq-see-all:hover {
  border-color: rgba(60,45,33,0.40);
  color: rgba(60,45,33,0.90);
}

.eq-sticky-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--eyebrow-spacing);
  text-transform: uppercase;
  color: rgba(255,255,255,0.30);
  white-space: nowrap;
  margin-bottom: 8px;
}

.eq-sticky-h2 {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.96;
  color: #FFFFFF;
  white-space: nowrap;
}

.eq-sticky .eq-card {
  position: absolute;
  left: 50%;
  top: calc(50% + 65px);
  width: 300px;
  transform: translate(-50%, calc(-50% + 160vh));
  will-change: transform;
  transition: none;
}

.eq-sticky .eq-card:hover {
  box-shadow: 0 8px 40px rgba(0,0,0,0.16), 0 0 0 0.5px rgba(0,0,0,0.05);
}

.eq-light-content {
  position: absolute;
  top: calc(50% - 285px);
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  text-align: center;
  width: min(520px, 88vw);
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
}

.eq-light-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 8px;
}

.eq-light-h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.04;
  color: var(--text-1);
  margin-bottom: 16px;
}

.eq-light-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-2);
}

.eq-light-cta {
  position: absolute;
  top: calc(50% + 288px);
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
}
.eq-light-cta:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.40);
}


/* ── Stat Card Section ── */
.statcard-section {
  height: 320svh;
  position: relative;
  background: var(--f5);
}

.statcard-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: var(--espresso);
}

.statcard-eyebrow {
  position: absolute;
  top: clamp(44px, 8vh, 80px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--eyebrow-spacing);
  text-transform: uppercase;
  color: rgba(255,255,255,0.30);
  white-space: nowrap;
  pointer-events: none;
  z-index: 10;
}

.statcard {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 280px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,219,210,0.12);
  backdrop-filter: blur(20px);
  border-radius: 28px;
  padding: 36px 36px 32px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.45), 0 4px 16px rgba(0,0,0,0.22);
  will-change: transform;
  transform: translate(-50%, calc(-50% + 110vh));
}

.statcard-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: var(--eyebrow-spacing);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.statcard-num {
  display: block;
  font-size: clamp(44px, 7vw, 68px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text-1);
  margin-bottom: 14px;
}

.statcard-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
}

/* ── Tools Section ── */
.tools-section { background: var(--f5); }
.tools-section .section-eyebrow { color: rgba(255,255,255,0.26); }

.tools-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  margin-bottom: 48px;
}
.tools-h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin-top: 0;
  margin-bottom: 8px;
}
.tools-sub { font-size: 15px; color: rgba(255,255,255,0.35); line-height: 1.6; margin-bottom: 0; }

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 14px;
}

.tool-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,219,210,0.12);
  border-radius: 28px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
  transition: transform 0.4s var(--ease-spring),
              border-color 0.35s,
              background 0.35s,
              box-shadow 0.4s;
}
.tool-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 0% 0%, rgba(200,150,62,0.09) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.tool-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.13);
  background: rgba(255,255,255,0.055);
  box-shadow: var(--shadow-card-lift);
}
.tool-card:hover::before { opacity: 1; }

.tool-card-featured { grid-column: span 2; }

.tool-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tool-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.58);
  flex-shrink: 0;
}
.tool-badge {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(218,194,177,0.9);
  background: rgba(218,194,177,0.08);
  border: 1px solid rgba(218,194,177,0.20);
  padding: 4px 10px;
  border-radius: 8px;
}

.tool-name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}
.tool-desc {
  font-size: 14px;
  line-height: 1.68;
  color: rgba(255,255,255,0.36);
  flex: 1;
}

.tool-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
}
.tool-preview-val {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.82);
  font-variant-numeric: tabular-nums;
}
.tool-preview-sep { font-size: 18px; color: rgba(255,255,255,0.16); }
.tool-preview-ratio {
  margin-left: auto;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.22);
}
.tool-preview-mono {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: rgba(255,255,255,0.82);
  font-variant-numeric: tabular-nums;
}

.tool-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.28);
  margin-top: auto;
  transition: color 0.25s, gap 0.25s var(--ease-spring);
}
.tool-card:hover .tool-cta { color: rgba(255,255,255,0.80); gap: 9px; }

/* ── Newsletter ── */
.nl-section { background: var(--f5); padding: 96px 64px; text-align: center; }
.nl-inner { max-width: 540px; margin: 0 auto; }

.nl-eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.28); margin-bottom: 10px; }

.nl-h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.nl-sub { font-size: 17px; color: rgba(255,255,255,0.42); margin-bottom: 40px; line-height: 1.65; }

.nl-form {
  display: flex;
  align-items: center;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,219,210,0.25);
  border-radius: 0;
  overflow: visible;
  padding: 0 0 8px;
  gap: 16px;
  transition: border-color 0.25s;
}
.nl-form:focus-within {
  border-bottom-color: rgba(218,194,177,0.65);
}

.nl-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 15px;
  color: #FFFFFF;
  min-width: 0;
}
.nl-input::placeholder { color: rgba(255,255,255,0.28); }

.nl-btn {
  padding: 12px 24px;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-size: 15px;
  font-weight: 600;
  border-radius: 9999px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, transform 0.2s var(--ease-spring);
  white-space: nowrap;
  flex-shrink: 0;
}
.nl-btn:hover { background: var(--btn-bg-hover); transform: translateY(-2px); }

.nl-note { font-size: 12px; color: rgba(255,255,255,0.18); margin-top: 18px; letter-spacing: 0.01em; }

/* ── Footer ── */
footer { background: var(--espresso); padding: 56px 24px 32px; }
.footer-inner { max-width: 1280px; margin: 0 auto; }

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer-logo { font-size: 14px; font-weight: 600; letter-spacing: 0.14em; color: var(--text-1); margin-bottom: 10px; }
.footer-tagline { font-size: 13px; color: var(--text-3); line-height: 1.65; max-width: 200px; }

.footer-col-title { font-size: 11px; font-weight: 600; letter-spacing: 0.10em; text-transform: uppercase; color: var(--text-1); margin-bottom: 18px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-links a { font-size: 13px; color: var(--text-2); transition: color 0.2s; }
.footer-links a:hover { color: var(--text-1); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  font-size: 12px;
  color: var(--text-3);
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: var(--text-3); transition: color 0.2s; }
.footer-legal a:hover { color: var(--text-1); }

/* ════════════════════════════════════════════════
   ── Cinematic Brew Reveal ──
════════════════════════════════════════════════ */

/* Outer section — Hintergrund = finaler Zustand (Cream),
   verhindert dunklen Blitz wenn sticky unstuck wird */
.cine-section {
  height: 280svh;
  position: relative;
  background: var(--espresso);
}

.cine-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: var(--espresso); /* JS animiert zu Cream */
}

/* ── Headline ── */
.cine-headline {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  text-align: center;
  padding: 0 24px;
  pointer-events: none;
  will-change: filter, opacity, transform;
}

.cine-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--eyebrow-spacing);
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 28px;
}

.cine-h2 {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.96;
  color: #FFFFFF;
}

/* ── Bild-Container — startet als riesige Vollbild-Fläche ── */
.cine-img-wrap {
  position: absolute;
  top: 40%;
  left: 50%;
  width: min(400px, 56vw);
  /* Initaler Zustand (JS überschreibt) */
  transform: translate(-50%, -50%) scale(3.2);
  opacity: 0;
  border-radius: 0;
  z-index: 2;
  will-change: transform, opacity;
}

.cine-img {
  width: 100%;
  height: auto;
  display: block;
  will-change: filter;
  pointer-events: none;
}

/* ── Redaktioneller Text — erscheint am Ende der Animation ── */
.cine-editorial {
  position: absolute;
  bottom: clamp(48px, 8vh, 88px);
  left: 50%;
  transform: translateX(-50%) translateY(28px);
  width: min(480px, 88vw);
  text-align: center;
  z-index: 4;
  opacity: 0;
  will-change: opacity, transform;
  pointer-events: none;
}

.cine-editorial.cine-editorial-active { pointer-events: auto; }

.cine-editorial-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(90, 65, 55, 0.55);
  margin-bottom: 14px;
}

.cine-editorial-h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.04;
  color: #230D08;
  margin: 0 0 16px;
}

.cine-editorial-text {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(60, 40, 30, 0.70);
  margin: 0 0 22px;
}

.cine-editorial-hint {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.65;
  margin: 0 0 22px;
}

.cine-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: rgba(255,255,255,0.08);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  border-radius: 9999px;
  border: 1px solid rgba(255,219,210,0.12);
  text-decoration: none;
  transition: background 0.25s, transform 0.25s var(--ease-spring), box-shadow 0.25s;
}
.cine-btn:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.30);
}


/* ── Journal-Teaser Section ── */
.cine-articles-section {
  background: var(--f5);
  padding: 88px 0 100px;
}

.cine-articles-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.cine-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  nav { height: 56px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  /* ── Animiertes Einblenden des Menüs ── */
  @keyframes navMenuIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes navLinkIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  nav.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: rgba(12, 4, 2, 0.97);
    backdrop-filter: saturate(180%) blur(32px);
    -webkit-backdrop-filter: saturate(180%) blur(32px);
    padding: 4px 28px 36px;
    gap: 0;
    border-bottom: 1px solid rgba(218,194,177,0.07);
    box-shadow: 0 32px 80px rgba(0,0,0,0.55);
    z-index: 98;
    animation: navMenuIn 0.35s var(--ease-spring) both;
  }

  nav.nav-open .nav-links li {
    border-bottom: 1px solid rgba(218,194,177,0.07);
    animation: navLinkIn 0.45s var(--ease-spring) both;
  }
  nav.nav-open .nav-links li:nth-child(1) { animation-delay: 0.04s; }
  nav.nav-open .nav-links li:nth-child(2) { animation-delay: 0.08s; }
  nav.nav-open .nav-links li:nth-child(3) { animation-delay: 0.12s; }
  nav.nav-open .nav-links li:nth-child(4) { animation-delay: 0.16s; }
  nav.nav-open .nav-links li:nth-child(5) { animation-delay: 0.20s; }
  nav.nav-open .nav-links li:nth-child(6) { animation-delay: 0.24s; }
  nav.nav-open .nav-links li:last-child   { border-bottom: none; }

  nav.nav-open .nav-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 17px 0;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: rgba(255,219,210,0.40);
    transition: color 0.22s, padding-left 0.32s var(--ease-spring);
  }
  nav.nav-open .nav-links a::after {
    content: '→';
    display: block;
    font-size: 15px;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.22s, transform 0.32s var(--ease-spring);
  }
  nav.nav-open .nav-links a:hover {
    color: rgba(255,219,210,0.92);
    padding-left: 6px;
  }
  nav.nav-open .nav-links a:hover::after {
    opacity: 0.45;
    transform: translateX(0);
  }

  .nav-search span { display: none; }

  /* Hero — Tablet */
  .hero-content { padding: 100px 40px 72px; }
  .hero-eyebrow { margin-bottom: 24px; }
  .hero-h1 { margin-bottom: 28px; }
  .hero-sub { font-size: 17px; margin-bottom: 28px; }

  .facts-section { border-radius: 0; height: 240svh; }
  .facts-sticky { padding: 60px 40px 40px; }
  .section { padding: 100px 32px; }
  .section-full { padding: 100px 32px; }
  .guides-grid { grid-template-columns: 1fr 1fr; }
  .guides-grid > :last-child { display: none; }
  .brew-section { min-height: auto; }
  .brew-cards-grid { grid-template-columns: 1fr; gap: 16px; }
  .brew-card-img { aspect-ratio: 3 / 2; }
  .journal-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .j-card-lead { grid-row: auto; grid-column: 1/-1; }
  .eq-grid { grid-template-columns: 1fr 1fr; }
  /* Setup/Equipment — Tablet: breitere Cards */
  .eq-sticky .eq-card { width: 340px; }
  /* Tools — Tablet */
  .tools-grid { grid-template-columns: 1fr 1fr; }
  .tools-header { margin-bottom: 36px; }
  .tool-card { padding: 26px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .beg-layout { grid-template-columns: 1fr; gap: 48px; }
  .beg-section { height: 460svh; }
  .beg-cta-section { border-radius: 0; }
  .beg-cta-headline span { margin-top: clamp(36px, 5vw, 56px); }
  /* Beginner Hub — Tablet: headline zentrieren in Single-Column-Layout */
  .beg-left { text-align: center; }
  /* Cine section */
  .cine-articles-grid { grid-template-columns: 1fr 1fr; }
  .cine-articles-grid .blog-card:last-child { display: none; }
  .cine-section { height: 300svh; }
}

@media (max-width: 600px) {
  /* Facts — Mobile */
  .facts-section { border-radius: 20px 20px 0 0; height: 220svh; }
  .facts-sticky { padding: 52px 20px 36px; }
  .fact-item { gap: 14px; }
  .fact-num { font-size: clamp(48px, 14vw, 64px); }
  .fact-desc { font-size: 15px; max-width: 280px; }
  .section { padding: 72px 20px; }
  .section-full { padding: 72px 20px; }
  /* Hero — Mobile */
  .hero-content { padding: 88px 20px 60px; }
  .hero-eyebrow { margin-bottom: 14px; }
  .hero-h1 { font-size: clamp(38px, 10.5vw, 114px); letter-spacing: -0.015em; margin-bottom: 16px; }
  .hero-sub { font-size: 15px; max-width: 100%; margin-bottom: 18px; }
  .hero-ctas { gap: 10px; }
  .btn-fill, .btn-outline { padding: 12px 20px; font-size: 14px; }
  .hero-scroll { bottom: 20px; }
  .guides-grid { grid-template-columns: 1fr; }
  .guides-grid > :nth-child(2) { display: none; }
  .journal-grid { grid-template-columns: 1fr; }
  .eq-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .nl-form { flex-direction: column; border-radius: 16px; padding: 16px; gap: 10px; }
  .nl-btn { border-radius: 12px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-legal { flex-wrap: wrap; justify-content: center; }
  /* Setup/Equipment — Mobile: statisches vertikales Layout */
  .eq-section { height: auto; }
  .eq-sticky {
    position: relative;
    height: auto;
    overflow: visible;
    padding: 64px 20px 72px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    background: var(--cream) !important;
  }
  .eq-sticky-header {
    position: relative;
    top: auto; left: auto;
    transform: none;
    opacity: 1;
    text-align: center;
    pointer-events: auto;
    margin-bottom: 32px;
    width: 100%;
  }
  .eq-img { height: 160px; }
  .eq-sticky .eq-card {
    position: relative;
    top: auto; left: auto;
    width: 100%;
    transform: translateY(44px) !important;
    opacity: 0 !important;
    z-index: auto !important;
    margin-bottom: 14px;
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  .eq-sticky .eq-card.eq-mob-visible {
    transform: translateY(0) !important;
    opacity: 1 !important;
  }
  .eq-sticky .eq-card:last-of-type { margin-bottom: 0; }
  .eq-light-content { display: none !important; }
  .eq-light-cta {
    position: relative;
    top: auto; left: auto;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    margin-top: 40px;
    padding: 13px 28px;
    font-size: 14px;
    white-space: nowrap;
  }

  /* Tools — Mobile */
  .tools-grid { grid-template-columns: 1fr; gap: 12px; }
  .tool-card-featured { grid-column: span 1; }
  .tools-header { margin-bottom: 28px; }
  .tool-card { padding: 22px; border-radius: 20px; }
  /* Card radius — Mobile: alle Cards konsistent 20px */
  .guide-card, .brew-card, .j-card, .eq-card, .blog-card { border-radius: 20px; }
  .tool-preview-val { font-size: 18px; }
  .tool-preview-mono { font-size: 24px; }
  .tools-pills { gap: 8px; }
  .beg-cta-headline { letter-spacing: -0.02em; }
  .beg-cta-headline span { margin-top: 28px; }

  /* ── Beginner Hub — Mobile: sauberer Strang, nur vertikale Einblend-Animation ── */
  .beg-section { height: auto; }
  .beg-sticky {
    position: relative;
    height: auto;
    overflow: visible;
    padding: 64px 24px 120px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .beg-layout { gap: 24px; padding-inline: 0; }
  .beg-left { text-align: center; width: 100%; }
  .beg-section .section-h2 { font-size: clamp(34px, 9vw, 48px); }
  .beg-thread { padding-left: 32px; width: 100%; }
  .beg-thread::before { left: 6px; }
  .beg-item-dot { left: -30px; }
  .beg-item { padding-bottom: 24px; gap: 14px; }
  .beg-item:last-child { padding-bottom: 0; }
  .beg-item:nth-child(odd)  { transform: translateY(20px); }
  .beg-item:nth-child(even) { transform: translateY(20px); }
  /* CTA-Section: Overlap wie Desktop — schiebt sich über beg-section */
  .beg-cta-section {
    border-radius: 28px 28px 0 0;
    margin-top: -100px;
    height: auto;
    min-height: 100svh;
  }

  /* Cine section */
  .cine-articles-grid { grid-template-columns: 1fr; }
  .cine-articles-grid .blog-card:last-child { display: block; }
  .cine-articles-grid .blog-card:nth-child(2) { display: none; }
  .cine-editorial-actions { flex-direction: column; gap: 14px; }
}

/* Fade-in on scroll */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(44px) scale(0.96); filter: blur(10px); transition: opacity 0.80s var(--ease-spring), transform 0.80s var(--ease-spring), filter 0.80s var(--ease-spring); }
  .reveal.visible { opacity: 1; transform: none; filter: blur(0); }

}

/* Scroll progress bar */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(to right, var(--accent), rgba(184,108,48,0.55));
  box-shadow: 0 0 10px rgba(184,108,48,0.55);
  z-index: 9999;
  pointer-events: none;
}

/* ── Blog Card — shared across blog.html and artikel.html ── */
.blog-card {
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,219,210,0.12);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s, border-color 0.35s;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-lift);
  border-color: rgba(0,0,0,0.03);
}
.blog-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.blog-card-img .ph {
  width: 100%;
  height: 100%;
  transition: transform 0.55s var(--ease-spring);
}
.blog-card:hover .blog-card-img .ph { transform: scale(1.04); }
.blog-card-body {
  padding: 22px 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-cat {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 8px;
}
.blog-card-title {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text-1);
  margin-bottom: 8px;
  flex: 1;
}
.blog-card-excerpt {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 20px;
}
.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.blog-card-meta { font-size: 13px; color: var(--text-3); }
.blog-card-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--f5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, transform 0.25s var(--ease-spring);
}
.blog-card:hover .blog-card-arrow { background: var(--espresso); transform: translateX(2px); }
.blog-card:hover .blog-card-arrow svg { stroke: #fff; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .blog-card, .blog-card-img .ph {
    transition: none;
    animation: none;
  }
  /* Cine section: sofort finalen Zustand zeigen */
  .cine-sticky { background: var(--espresso) !important; }
  .cine-headline { opacity: 0 !important; }
  .cine-img-wrap {
    opacity: 1 !important;
    transform: translate(-50%, -50%) scale(1) !important;
    border-radius: 24px !important;
  }
  .cine-img { filter: none !important; }
  .cine-editorial {
    opacity: 1 !important;
    transform: translateX(-50%) !important;
    pointer-events: auto !important;
  }
}

/* ═══════════════════════════════════════
   ── Tool Pages (Shared) ──
═══════════════════════════════════════ */

.tp-hero {
  background: var(--espresso);
  padding: 110px 24px 56px;
  text-align: center;
}

.tp-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.36);
  text-decoration: none;
  margin-bottom: 36px;
  transition: color 0.22s, gap 0.22s var(--ease-spring);
}
.tp-back svg { transition: transform 0.22s var(--ease-spring); }
.tp-back:hover { color: rgba(255,255,255,0.72); gap: 2px; }
.tp-back:hover svg { transform: translateX(-3px); }

.tp-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--eyebrow-spacing);
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin-bottom: 16px;
}

.tp-h1 {
  font-size: clamp(40px, 5.5vw, 70px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.03;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.tp-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.36);
  max-width: 420px;
  margin: 0 auto;
  line-height: 1.70;
}

.tp-content {
  background: var(--f5);
  padding: 56px 24px 100px;
  min-height: 60vh;
}

.tp-panel {
  max-width: 720px;
  margin: 0 auto;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(20px);
  border-radius: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.tp-methods {
  display: flex;
  gap: 8px;
  padding: 20px 24px;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--border);
  background: var(--f5);
}
.tp-methods::-webkit-scrollbar { display: none; }

.tp-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.18s;
  user-select: none;
  flex-shrink: 0;
  font-family: inherit;
}
.tp-pill:hover { color: var(--text-1); background: rgba(255,255,255,0.09); }
.tp-pill.active {
  background: var(--btn-bg);
  color: var(--btn-text);
  border-color: var(--btn-bg);
}

.tp-body { padding: 36px 32px 40px; }

.tp-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 14px;
  display: block;
}

.tp-slider-row { display: flex; align-items: center; gap: 16px; }

input[type="range"].tp-slider {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--f0);
  outline: none;
  cursor: pointer;
}
input[type="range"].tp-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--espresso);
  box-shadow: 0 2px 8px rgba(0,0,0,0.22);
  cursor: pointer;
  transition: transform 0.18s var(--ease-spring);
}
input[type="range"].tp-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type="range"].tp-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: var(--espresso);
  box-shadow: 0 2px 8px rgba(0,0,0,0.22);
  cursor: pointer;
}

.tp-input {
  width: 76px;
  padding: 8px 10px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-1);
  text-align: center;
  outline: none;
  transition: border-color 0.18s;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.tp-input:focus { border-bottom-color: rgba(218,194,177,0.65); }

.tp-output {
  margin-top: 28px;
  background: var(--espresso);
  border-radius: 8px;
  border: 1px solid var(--border);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.tp-out-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: var(--eyebrow-spacing);
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin-bottom: 8px;
}
.tp-out-val {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #FFFFFF;
  font-variant-numeric: tabular-nums;
}
.tp-out-unit { font-size: 20px; font-weight: 400; color: rgba(255,255,255,0.40); margin-left: 3px; }

.tp-ratio-box {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,219,210,0.12);
  border-radius: 4px;
  padding: 16px 22px;
  text-align: center;
  flex-shrink: 0;
  min-width: 110px;
}
.tp-ratio-box-label { font-size: 10px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.28); margin-bottom: 7px; }
.tp-ratio-box-val { font-size: 19px; font-weight: 700; color: rgba(255,255,255,0.88); font-variant-numeric: tabular-nums; }

.tp-divider { height: 1px; background: var(--border); margin: 28px 0; }

.tp-hint { font-size: 13px; color: var(--text-3); line-height: 1.60; text-align: center; }

/* ── Timer ── */
.tp-timer-display { text-align: center; padding: 40px 32px 24px; }
.tp-timer-phase { font-size: 11px; font-weight: 600; letter-spacing: var(--eyebrow-spacing); text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; min-height: 18px; }
.tp-timer-clock { font-size: 88px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: var(--text-1); font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.tp-timer-total { font-size: 13px; color: var(--text-3); }

.tp-phases { padding: 0 32px 20px; display: flex; gap: 5px; }
.tp-phase-seg {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: var(--f0);
  transition: background 0.35s;
  min-width: 0;
}
.tp-phase-seg.active { background: var(--accent); }
.tp-phase-seg.done   { background: var(--text-3); }

.tp-timer-controls { display: flex; gap: 10px; padding: 0 32px 32px; justify-content: center; }
.tp-btn-primary {
  padding: 14px 40px;
  background: var(--btn-bg);
  color: var(--btn-text);
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: background 0.22s, transform 0.22s var(--ease-spring);
  min-width: 120px;
}
.tp-btn-primary:hover { background: var(--btn-bg-hover); transform: translateY(-2px); }
.tp-btn-secondary {
  padding: 14px 24px;
  background: transparent;
  color: var(--text-2);
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--border);
  font-family: inherit;
  transition: background 0.22s, color 0.22s;
}
.tp-btn-secondary:hover { background: rgba(255,255,255,0.04); color: var(--text-1); }

.tp-phase-list { border-top: 1px solid var(--border); list-style: none; }
.tp-phase-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 32px;
  border-bottom: 1px solid var(--border);
  transition: background 0.18s;
}
.tp-phase-item:last-child { border-bottom: none; }
.tp-phase-item.tp-ph-active { background: rgba(26,15,10,0.025); }
.tp-phase-item.tp-ph-done   { opacity: 0.42; }
.tp-phase-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--f0); flex-shrink: 0; transition: background 0.25s; }
.tp-phase-item.tp-ph-active .tp-phase-dot { background: var(--accent); }
.tp-phase-item.tp-ph-done   .tp-phase-dot { background: var(--text-3); }
.tp-phase-name { font-size: 14px; font-weight: 500; color: var(--text-1); flex: 1; }
.tp-phase-desc { font-size: 12px; color: var(--text-3); line-height: 1.4; }
.tp-phase-dur  { font-size: 13px; color: var(--text-3); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ── Grind Scale ── */
.tp-grind-scale { padding: 36px 32px 28px; }
.tp-grind-track {
  position: relative;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(to right, var(--espresso) 0%, #8B6040 40%, #C8A878 70%, var(--f0) 100%);
  margin-bottom: 28px;
}
.tp-grind-marker {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid var(--espresso);
  box-shadow: 0 2px 12px rgba(0,0,0,0.26);
  transition: left 0.55s var(--ease-spring);
  pointer-events: none;
}
.tp-grind-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-3);
  margin-top: -18px;
  margin-bottom: 28px;
}
.tp-grind-info { background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 8px; padding: 22px 24px; }
.tp-grind-name { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; color: var(--text-1); margin-bottom: 8px; }
.tp-grind-desc { font-size: 14px; line-height: 1.70; color: var(--text-2); }

/* ── Yield Calculator ── */
.tp-yield-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
.tp-yield-output {
  margin-top: 4px;
  background: var(--espresso);
  border-radius: 20px;
  padding: 24px 28px;
}
.tp-yield-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.tp-yield-cell { text-align: center; }
.tp-yield-cell-val { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; color: #FFFFFF; font-variant-numeric: tabular-nums; line-height: 1; margin-bottom: 6px; }
.tp-yield-cell-unit { font-size: 14px; color: rgba(255,255,255,0.40); }
.tp-yield-cell-label { font-size: 10px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.28); margin-bottom: 4px; }
.tp-yield-badge { display: inline-flex; flex-direction: column; align-items: center; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.10); border-radius: 14px; padding: 14px 20px; width: 100%; }
.tp-yield-badge-label { font-size: 10px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.28); margin-bottom: 6px; }
.tp-yield-badge-val { font-size: 16px; font-weight: 700; color: rgba(255,255,255,0.88); }
.tp-yield-badge-sub { font-size: 12px; color: rgba(255,255,255,0.36); margin-top: 2px; }

/* ── Quiz ── */
.tp-quiz { padding: 40px 32px; }
.tp-quiz-progress { display: flex; gap: 5px; margin-bottom: 36px; }
.tp-quiz-prog-seg { flex: 1; height: 3px; border-radius: 2px; background: var(--f0); transition: background 0.35s; }
.tp-quiz-prog-seg.done   { background: var(--espresso); }
.tp-quiz-prog-seg.active { background: var(--accent); }

.tp-quiz-q { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; color: var(--text-1); margin-bottom: 28px; }
.tp-quiz-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.tp-quiz-opt {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, transform 0.18s var(--ease-spring);
  text-align: left;
  font-family: inherit;
  width: 100%;
}
.tp-quiz-opt:hover { border-color: rgba(255,219,210,0.25); background: rgba(255,255,255,0.06); transform: translateX(3px); }
.tp-quiz-opt.selected { border-color: #743325; background: rgba(116,51,37,0.12); }
.tp-quiz-opt-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--f5);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.18s, border-color 0.18s;
  color: var(--text-2);
}
.tp-quiz-opt.selected .tp-quiz-opt-icon { background: var(--espresso); border-color: var(--espresso); color: #FFFFFF; }
.tp-quiz-opt-text { flex: 1; }
.tp-quiz-opt-title { font-size: 15px; font-weight: 600; color: var(--text-1); margin-bottom: 2px; }
.tp-quiz-opt-sub { font-size: 13px; color: var(--text-2); }

.tp-quiz-next {
  width: 100%;
  padding: 16px;
  background: var(--btn-bg);
  color: var(--btn-text);
  border: none;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.22s, transform 0.22s var(--ease-spring), opacity 0.22s;
  opacity: 0.35;
  pointer-events: none;
}
.tp-quiz-next.enabled { opacity: 1; pointer-events: auto; }
.tp-quiz-next.enabled:hover { background: var(--btn-bg-hover); transform: translateY(-2px); }

.tp-quiz-result { padding: 40px 32px; text-align: center; display: none; }
.tp-quiz-result.show { display: block; }
.tp-result-badge { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); background: rgba(218,194,177,0.08); border: 1px solid rgba(218,194,177,0.18); padding: 6px 14px; border-radius: 4px; margin-bottom: 18px; }
.tp-result-icon { width: 72px; height: 72px; border-radius: 8px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; color: var(--text-1); }
.tp-result-title { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; color: var(--text-1); margin-bottom: 10px; }
.tp-result-sub { font-size: 15px; line-height: 1.70; color: var(--text-2); max-width: 440px; margin: 0 auto 28px; }
.tp-result-cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 28px; }
.tp-result-card { background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 8px; padding: 16px 14px; text-align: center; }
.tp-result-card-label { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 7px; }
.tp-result-card-val { font-size: 13px; font-weight: 600; color: var(--text-1); line-height: 1.3; }
.tp-result-retry { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--text-3); cursor: pointer; background: none; border: none; font-family: inherit; transition: color 0.22s; }
.tp-result-retry:hover { color: var(--text-1); }

/* ── Tool page responsive ── */
@media (max-width: 1024px) {
  body.tp-page nav.nav-open .nav-links a { color: rgba(255,219,210,0.72) !important; }
  body.tp-page nav.nav-open .nav-links li { border-bottom-color: rgba(255,219,210,0.08) !important; }
}
@media (max-width: 768px) {
  .tp-content { padding: 40px 16px 80px; }
  .tp-panel { border-radius: 22px; }
  .tp-body { padding: 28px 20px 32px; }
  .tp-methods { padding: 14px 16px; gap: 6px; }
}
@media (max-width: 600px) {
  .tp-hero { padding: 90px 20px 44px; }
  .tp-h1 { font-size: 36px; }
  .tp-content { padding: 32px 16px 80px; }
  .tp-panel { border-radius: 20px; }
  .tp-body { padding: 24px 20px 28px; }
  .tp-methods { padding: 14px 16px; gap: 6px; }
  .tp-output { flex-direction: column; align-items: flex-start; gap: 14px; }
  .tp-out-val { font-size: 44px; }
  .tp-timer-clock { font-size: 68px; }
  .tp-timer-display { padding: 28px 20px 18px; }
  .tp-phases, .tp-timer-controls { padding-left: 20px; padding-right: 20px; }
  .tp-phase-item { padding: 12px 20px; }
  .tp-grind-scale { padding: 24px 20px 20px; }
  .tp-result-cards { grid-template-columns: 1fr; }
  .tp-yield-row { grid-template-columns: 1fr; gap: 20px; }
  .tp-quiz { padding: 28px 20px; }
  .tp-timer-controls { flex-direction: column; }
  .tp-btn-primary, .tp-btn-secondary { text-align: center; }
}

/* ── Tool pages — Light mode ─────────────────────────────── */
body.tp-page {
  background: var(--cream);
  color: #230D08;
  --text-1:  #230D08;
  --text-2:  rgba(35,13,8,0.62);
  --text-3:  rgba(35,13,8,0.38);
  --border:  rgba(35,13,8,0.10);
  --f0:      rgba(35,13,8,0.10);
  --f5:      var(--cream);
}

body.tp-page .tp-hero { background: var(--cream); }
body.tp-page .tp-back { color: rgba(35,13,8,0.38); }
body.tp-page .tp-back:hover { color: rgba(35,13,8,0.75); }
body.tp-page .tp-eyebrow { color: rgba(35,13,8,0.38); }
body.tp-page .tp-h1 { color: #230D08; }
body.tp-page .tp-sub { color: rgba(35,13,8,0.50); }

body.tp-page .tp-content { background: #FFFFFF; }

body.tp-page .tp-panel {
  background: #FFFFFF;
  border-color: rgba(35,13,8,0.08);
  box-shadow: 0 2px 20px rgba(35,13,8,0.06), 0 0 0 1px rgba(35,13,8,0.05);
}

body.tp-page .tp-methods { background: var(--cream); }

body.tp-page .tp-pill { color: rgba(35,13,8,0.55); background: transparent; }
body.tp-page .tp-pill:hover { color: #230D08; background: rgba(35,13,8,0.05); }

body.tp-page input[type="range"].tp-slider { background: rgba(35,13,8,0.12); }
body.tp-page .tp-input { color: #230D08; }

body.tp-page .tp-grind-info { background: rgba(35,13,8,0.03); }

body.tp-page .tp-quiz-opt { background: transparent; }
body.tp-page .tp-quiz-opt:hover { border-color: rgba(35,13,8,0.25); background: rgba(35,13,8,0.03); transform: translateX(3px); }
body.tp-page .tp-quiz-opt.selected { border-color: var(--btn-bg); background: rgba(218,194,177,0.15); }
body.tp-page .tp-quiz-opt-icon { background: rgba(35,13,8,0.05); color: rgba(35,13,8,0.55); }
body.tp-page .tp-quiz-opt.selected .tp-quiz-opt-icon { background: #230D08; border-color: #230D08; color: #FFFFFF; }

body.tp-page .tp-result-badge { color: rgba(35,13,8,0.70); background: rgba(35,13,8,0.05); border-color: rgba(35,13,8,0.14); }
body.tp-page .tp-result-icon { background: rgba(35,13,8,0.04); }
body.tp-page .tp-result-card { background: rgba(35,13,8,0.03); }

body.tp-page .tp-btn-secondary:hover { background: rgba(35,13,8,0.05); }
body.tp-page .tp-phase-item.tp-ph-active { background: rgba(35,13,8,0.03); }
