/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-text {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'DM Serif Display', serif;
  font-size: clamp(120px, 20vw, 280px);
  color: var(--linen);
  opacity: 0.5;
  white-space: nowrap;
  user-select: none;
  letter-spacing: -0.02em;
  z-index: 0;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  width: 100%;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--thread-red);
  margin-bottom: 20px;
}

.hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 1.0;
  margin-bottom: 8px;
}

.hero-subtitle {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: clamp(20px, 2.5vw, 32px);
  color: var(--taupe);
  margin-bottom: 32px;
}

.hero-desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--taupe);
  max-width: 420px;
  border-left: 2px solid var(--thread-red);
  padding-left: 20px;
}

.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Thread draw-on animation (replaces SMIL) */
@keyframes thread-draw {
  from { stroke-dashoffset: 96; }
  to { stroke-dashoffset: 0; }
}

.thread-b {
  stroke-dasharray: 96;
  stroke-dashoffset: 0;
  animation: thread-draw 0.5s ease-out 0.3s backwards;
}

@keyframes gentle-float {
  0%, 100% { transform: translateY(0px) rotate(8deg); }
  50% { transform: translateY(-12px) rotate(8deg); }
}

.hero-mascot {
  width: min(400px, 50vw);
  height: auto;
  filter: drop-shadow(0 32px 64px rgba(74, 55, 40, 0.15));
  animation: gentle-float 6s ease-in-out infinite;
}

@media (prefers-color-scheme: dark) {
  .hero-mascot { filter: drop-shadow(0 32px 64px rgba(0,0,0,0.35)); }
}

/* ===== SECTION LAYOUT ===== */
.section {
  padding: 120px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--taupe);
}

.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 24px;
}

/* em in headings defaults to italic taupe — NOT red.
   Red is reserved for ONE element per screen viewport. */
.section-title em {
  font-style: italic;
  color: var(--taupe);
}

/* Only use .accent for the single red-per-screen element */
.section-title em.accent {
  color: var(--thread-red);
}

.section-body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--taupe);
  max-width: 640px;
}

.section-body strong { color: var(--walnut); }

/* ===== DARK SECTION ===== */
.dark-section {
  background: var(--walnut);
  color: var(--parchment);
  max-width: none;
  padding: 120px 48px;
}

.dark-section .section-label { color: var(--taupe-light); }
.dark-section .section-label::before { background: var(--taupe-light); }
.dark-section .section-title { color: var(--parchment); max-width: 800px; }
.dark-section .section-body { color: var(--taupe-light); }

/* ===== ESSENCE CARDS ===== */
.essence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 64px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.essence-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  padding: 48px 40px;
}

.essence-number {
  font-family: 'DM Serif Display', serif;
  font-size: 60px;
  color: var(--thread-red);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 16px;
}

.essence-card-title {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  color: var(--parchment);
  margin-bottom: 12px;
}

.essence-card-body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--taupe-light);
}

/* ===== PULL QUOTE ===== */
.pull-quote {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 48px;
}

.pull-quote blockquote {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.3;
  max-width: 900px;
}

.pull-quote blockquote em {
  color: var(--walnut);
  font-style: normal;
  font-weight: 400;
}

.pull-quote cite {
  display: block;
  margin-top: 24px;
  font-size: 13px;
  font-style: normal;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--taupe);
}

/* ===== SCATTER ON DARK ===== */
.button-showcase {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 32px);
  flex-wrap: wrap;
  padding: 48px 0;
}

.button-showcase img {
  width: clamp(48px, 8vw, 80px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.3));
}

.button-showcase img:nth-child(odd) { transform: rotate(-6deg); }
.button-showcase img:nth-child(even) { transform: rotate(4deg); }
.button-showcase img:nth-child(3) { transform: rotate(0deg) scale(1.1); }

/* ===== VOICE / BENTOS ===== */
.voice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 64px;
  border-radius: 4px;
  overflow: hidden;
}

.voice-card {
  background: var(--linen);
  padding: 48px;
}

.voice-card.dark {
  background: var(--walnut);
}

.voice-card-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 20px;
}

.voice-card.dark .voice-card-label { color: var(--taupe-light); }

.voice-examples {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.voice-example {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 20px;
  color: var(--walnut);
  line-height: 1.4;
  padding: 16px 20px;
  background: var(--parchment);
  border-left: 3px solid var(--thread-red);
  border-radius: 0 4px 4px 0;
}

.voice-example.bad {
  border-left-color: var(--taupe-light);
  text-decoration: line-through;
  opacity: 0.5;
}

.voice-card.dark .voice-example {
  background: var(--walnut-light);
  color: var(--parchment);
}

.voice-card.dark .voice-example.bad {
  background: rgba(255,255,255,0.05);
  color: var(--taupe-light);
}

.mini-bentos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 24px;
  border-radius: 4px;
  overflow: hidden;
}

.mini-bento {
  background: var(--linen);
  padding: 22px 22px;
}

.mini-bento h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--thread-red);
  margin-bottom: 8px;
}

.mini-bento p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--taupe);
}

/* ===== CTA SECTION ===== */
.cta-section {
  text-align: center;
  padding: 80px 48px 120px;
  max-width: 640px;
  margin: 0 auto;
}

.cta-section .cta-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  margin-bottom: 16px;
}

.cta-section .cta-title em.accent {
  color: var(--thread-red);
  font-style: italic;
}

.cta-section .cta-sub {
  font-size: 16px;
  color: var(--taupe);
  margin-bottom: 32px;
}

.cta-btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--walnut);
  color: var(--parchment);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s var(--ease-settle), box-shadow 0.2s var(--ease-settle);
}

.cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(74,55,40,0.2);
}

/* ===== DIVIDER ===== */
.section-divider {
  max-width: 1200px;
  margin: 0 auto;
  border: 0;
  border-top: 1px solid var(--linen-dark);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 24px;
  }

  .hero-mascot { width: min(280px, 70vw); }

  .section { padding: 80px 24px; }

  .dark-section { padding: 80px 24px; }

  .essence-grid { grid-template-columns: 1fr; }

  .voice-grid { grid-template-columns: 1fr; }

  .mini-bentos { grid-template-columns: 1fr 1fr; }

  .pull-quote { padding: 48px 24px; }

  .cta-section { padding: 48px 24px 80px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-mascot { animation: none; }
}
