/* ============================================================
   JOSEPH BOBAY — COMPONENTS
   All reusable components, layout patterns, and page sections.
   ============================================================

   TABLE OF CONTENTS
   1.  Layout primitives
   2.  Phrase mark (brand signature)
   3.  Eyebrow
   4.  Image / video placeholder
   5.  Buttons
   6.  Navigation
   7.  Hero
   8.  Voice note
   9.  Problem section
   10. Interactive experience
   11. Method section
   12. Story section
   13. Instrument section
   14. Offers section
   15. Final CTA section
   16. Footer
   ============================================================ */

/* ============================================================
   1. LAYOUT PRIMITIVES
   ============================================================ */

.section {
  padding-top:    clamp(80px, 11vw, 144px);
  padding-bottom: clamp(80px, 11vw, 144px);
}

.section-container {
  max-width: var(--content-max);
  margin-left:  auto;
  margin-right: auto;
  padding-left:  var(--side-pad);
  padding-right: var(--side-pad);
}

/* ============================================================
   2. PHRASE MARK — THE BRAND SIGNATURE
   Four dots representing the melodic contour of our signature
   4-note phrase: A4 → C#5 → B4 → A4
   (low → high → mid-high → resolve)
   Positions: (6,21) (22,5) (38,13) (54,21) in a 60×24 viewBox

   This mark appears in: eyebrows, interactive section,
   footer, social graphics, and eventually lesson progress.
   ============================================================ */

.phrase-mark {
  display: block;
  flex-shrink: 0;
}
.phrase-mark--xs {
  width: 30px;
  height: 12px;
  color: var(--forest);
}
.phrase-mark--sm {
  width: 48px;
  height: 19px;
  color: var(--forest);
}
.phrase-mark--lg {
  width: 80px;
  height: 32px;
  color: var(--on-forest);
  opacity: 0.55;
}

/* ============================================================
   3. EYEBROW
   Space Mono label with phrase mark — appears above section
   headlines to orient the reader.
   ============================================================ */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: clamp(20px, 3vw, 32px);
}

/* ============================================================
   4. IMAGE / VIDEO PLACEHOLDERS
   Warm, designed placeholders — not gray broken boxes.
   Label specifies the exact shot needed.
   ============================================================ */

.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: var(--smoke);
}

.placeholder-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  text-align: center;
  padding: 16px;
  line-height: 2;
  opacity: 0.7;
}

/* ============================================================
   5. BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
  white-space: nowrap;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 17px 36px;
  font-size: 0.95rem;
}

/* Primary: forest fill */
.btn-primary {
  background: var(--forest);
  color: var(--on-forest);
  border-color: var(--forest);
}
.btn-primary:hover {
  background: var(--canopy);
  border-color: var(--canopy);
}

/* Secondary: outlined */
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-md);
}
.btn-secondary:hover {
  border-color: var(--ink);
}

/* Ghost: text + underline, used on dark backgrounds */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(245, 240, 230, 0.65);
  cursor: pointer;
  transition: color 0.15s;
}
.btn-ghost:hover { color: var(--on-forest); }

.watch-dot { font-size: 0.65rem; }

/* ============================================================
   6. NAVIGATION
   ============================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--side-pad);
  background: rgba(245, 240, 230, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.04em;
  color: var(--ink);
  flex-shrink: 0;
}
.nav-logo span { color: var(--forest); }

.nav-links {
  display: flex;
  gap: 2.25rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.8125rem;
  color: var(--stone);
  transition: color 0.15s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--ink); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px 4px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: var(--sp-2);
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.nav-overlay-close {
  position: absolute;
  top: 20px;
  right: var(--side-pad);
  background: none;
  border: none;
  color: rgba(245, 240, 230, 0.5);
  font-size: 1.25rem;
  padding: 8px;
  cursor: pointer;
  transition: color 0.15s;
}
.nav-overlay-close:hover { color: var(--on-forest); }

.nav-overlay-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
  text-align: center;
}
.nav-overlay-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 8vw, 3.5rem);
  letter-spacing: -0.05em;
  color: var(--on-forest);
  opacity: 0.55;
  transition: opacity 0.15s;
}
.nav-overlay-link:hover { opacity: 1; }

.nav-overlay-cta {
  margin-top: var(--sp-3);
}

/* Responsive: collapse nav at 700px */
@media (max-width: 700px) {
  .nav-links  { display: none; }
  .nav-cta    { display: none; }
  .nav-hamburger { display: flex; }
}

/* ============================================================
   7. HERO
   ============================================================ */

.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Dark warm gradient placeholder (replace with real media) */
.hero-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #1c1a16 0%, #2a2720 55%, #141210 100%);
}
.hero-placeholder .placeholder-label {
  color: rgba(245, 240, 230, 0.18);
  font-size: 0.6rem;
}

/* Real image/video treatment */
.hero-img,
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gradient overlay — ensures headline readability */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(14, 13, 11, 0)    0%,
    rgba(14, 13, 11, 0.08) 40%,
    rgba(14, 13, 11, 0.75) 80%,
    rgba(14, 13, 11, 0.94) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 var(--side-pad) clamp(48px, 8vh, 80px);
  max-width: min(800px, 70vw);
}
@media (max-width: 640px) {
  .hero-content { max-width: 100%; }
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.75rem, 10vw, 8.5rem);
  letter-spacing: -0.065em;
  line-height: 0.87;
  color: #fff;
  margin-bottom: clamp(20px, 3vw, 32px);
}
/* Each word on its own line */
.hero-headline span { display: block; }

.hero-body {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: rgba(245, 240, 230, 0.75);
  line-height: 1.7;
  margin-bottom: 10px;
  font-weight: 300;
}

.hero-sub {
  font-size: 0.8125rem;
  color: rgba(245, 240, 230, 0.45);
  font-style: italic;
  margin-bottom: clamp(24px, 4vw, 36px);
  font-weight: 300;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* ============================================================
   8. VOICE NOTE
   Subtle first-person lines between sections.
   Not a quote block — just Joseph's voice appearing in the flow.
   ============================================================ */

.voice-note {
  padding: clamp(28px, 4.5vw, 52px) var(--side-pad);
  border-top:    1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.voice-note p {
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  font-weight: 300;
  font-style: italic;
  color: var(--stone);
  max-width: 520px;
  margin: 0 auto;
}

/* ============================================================
   9. PROBLEM SECTION
   ============================================================ */

.section-problem {
  border-bottom: 1px solid var(--border);
}

.problem-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 768px) {
  .problem-layout { grid-template-columns: 1fr; }
}

.problem-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.05em;
  line-height: 1.0;
  color: var(--ink);
}

.problem-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.problem-body p {
  font-size: 0.9375rem;
  color: var(--stone);
  line-height: 1.9;
}
.problem-body p strong {
  color: var(--ink);
  font-weight: 500;
}

/* ============================================================
   10. INTERACTIVE EXPERIENCE — HEAR → FIND → PLAY
   Dark full-width section. The signature brand interaction.
   ============================================================ */

.section-interactive {
  background: var(--ink);
  padding: clamp(80px, 14vw, 160px) var(--side-pad);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72vh;
  border-top:    1px solid rgba(14, 13, 11, 0.3);
  border-bottom: 1px solid rgba(14, 13, 11, 0.3);
}

/* Grid stack: phases occupy same area, only active one shows */
.exp-wrap {
  display: grid;
  grid-template-areas: "stack";
  align-items: center;
  justify-items: center;
  width: 100%;
  max-width: 640px;
  min-height: 480px;
  position: relative;
}

.exp-phase {
  grid-area: stack;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 40px);
  text-align: center;
  opacity: 0;
  pointer-events: none;
}

/* Show only active phase */
[data-phase="0"] .exp-phase--0,
[data-phase="1"] .exp-phase--1,
[data-phase="2"] .exp-phase--2,
[data-phase="3"] .exp-phase--3 {
  opacity: 1;
  pointer-events: auto;
}

/* Phase 0: Invitation */
.exp-invite {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(245, 240, 230, 0.45);
}

.exp-play-btn {
  padding: 14px 36px;
  border: 1px solid rgba(245, 240, 230, 0.2);
  border-radius: var(--r-md);
  background: transparent;
  color: rgba(245, 240, 230, 0.75);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
  min-height: 52px;
  min-width: 140px;
}
.exp-play-btn:hover {
  background: rgba(245, 240, 230, 0.06);
  border-color: rgba(245, 240, 230, 0.35);
  color: var(--on-forest);
}

/* Phases 1-3: The WORD */
.exp-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4rem, 13vw, 8rem);
  letter-spacing: -0.055em;
  line-height: 1;
  color: var(--on-forest);
}

/* Phase 1: Wave visual */
.exp-wave {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 28px;
}
.exp-wave span {
  display: block;
  width: 3px;
  height: 6px;
  background: rgba(245, 240, 230, 0.35);
  border-radius: 2px;
}

/* Phase 2: Contour visualization */
.exp-contour {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  padding: 8px 0;
}
.contour-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

/* Phase 2/3: Caption */
.exp-caption {
  font-size: 0.875rem;
  color: rgba(245, 240, 230, 0.4);
  line-height: 1.75;
  font-style: italic;
  max-width: 340px;
}

/* Phase 3: Video area */
.exp-video-area {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}
.exp-video-placeholder {
  aspect-ratio: 16 / 9;
  background: rgba(245, 240, 230, 0.04);
  border: 1px solid rgba(245, 240, 230, 0.1);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.exp-video-placeholder .placeholder-label {
  color: rgba(245, 240, 230, 0.2);
}

/* Phase 3: Replay */
.exp-replay {
  background: none;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 240, 230, 0.35);
  cursor: pointer;
  padding: 8px;
  transition: color 0.15s;
  min-height: 44px;
}
.exp-replay:hover { color: rgba(245, 240, 230, 0.75); }

/* ============================================================
   11. METHOD SECTION
   ============================================================ */

.section-method {
  border-bottom: 1px solid var(--border);
}

.section-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  letter-spacing: -0.055em;
  line-height: 0.95;
  color: var(--ink);
  margin-bottom: clamp(40px, 6vw, 72px);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}
@media (max-width: 680px) {
  .method-grid { grid-template-columns: 1fr; }
}

.method-step {
  padding: clamp(32px, 4vw, 52px) clamp(24px, 3vw, 44px);
  border-right: 1px solid var(--border);
}
.method-step:last-child { border-right: none; }

@media (max-width: 680px) {
  .method-step {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-left: 0;
    padding-right: 0;
  }
  .method-step:last-child { border-bottom: none; }
}

.method-num {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--forest);
  margin-bottom: var(--sp-3);
}

.method-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: var(--sp-3);
}

.method-desc {
  font-size: 0.9rem;
  color: var(--stone);
  line-height: 1.85;
}

/* ============================================================
   12. STORY SECTION
   Full-bleed image left, content right.
   ============================================================ */

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

.story-layout {
  display: grid;
  grid-template-columns: 52fr 48fr;
  min-height: clamp(520px, 60vw, 760px);
}
@media (max-width: 800px) {
  .story-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}

.story-media {
  position: relative;
  overflow: hidden;
  background: var(--smoke);
}

.story-media .img-placeholder {
  position: absolute;
  inset: 0;
  background: var(--smoke);
}
.story-media .placeholder-label {
  font-size: 0.6rem;
  opacity: 0.6;
}

@media (max-width: 800px) {
  .story-media {
    height: 68vw;
    min-height: 280px;
  }
}

.story-content {
  padding: clamp(56px, 7vw, 96px) var(--side-pad) clamp(56px, 7vw, 96px) clamp(48px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--sp-4);
}
@media (max-width: 800px) {
  .story-content {
    padding: clamp(40px, 7vw, 64px) var(--side-pad);
  }
}

.story-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.story-body p {
  font-size: 0.9375rem;
  color: var(--stone);
  line-height: 1.9;
}
.story-body p strong {
  color: var(--ink);
  font-weight: 500;
}

/* ============================================================
   13. INSTRUMENT SECTION
   ============================================================ */

.section-instruments {
  border-bottom: 1px solid var(--border);
}

.instruments-sub {
  font-size: 0.9375rem;
  color: var(--stone);
  line-height: 1.85;
  max-width: var(--prose-max);
  margin-top: -20px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.instruments-vision {
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  gap: clamp(32px, 6vw, 80px);
  flex-wrap: wrap;
}

.instruments-primary {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.instruments-primary-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  letter-spacing: -0.055em;
  color: var(--ink);
  line-height: 1;
}

.instruments-primary-note {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--forest);
}

.instruments-also {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  letter-spacing: -0.03em;
  color: var(--stone);
  opacity: 0.55;
  align-self: center;
}

/* ============================================================
   14. OFFERS SECTION
   Course is hero. Sessions are secondary.
   ============================================================ */

.section-offers {
  border-bottom: 1px solid var(--border);
}

/* Featured offer: The Course */
.offer-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding: clamp(40px, 5vw, 60px);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  margin-top: clamp(36px, 5vw, 56px);
  margin-bottom: clamp(28px, 4vw, 44px);
  transition: border-color 0.2s;
}
.offer-featured:hover { border-color: var(--border-md); }

@media (max-width: 800px) {
  .offer-featured {
    grid-template-columns: 1fr;
    padding: clamp(28px, 5vw, 40px);
  }
}

.offer-tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: var(--sp-3);
}

.offer-featured-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: var(--sp-3);
}

.offer-featured-desc {
  font-size: 0.9rem;
  color: var(--stone);
  line-height: 1.85;
  margin-bottom: var(--sp-4);
  max-width: 420px;
}

.offer-featured-meta {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: var(--sp-5);
  flex-wrap: wrap;
}

.offer-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.25rem;
  letter-spacing: -0.05em;
  color: var(--ink);
}

.offer-price-note {
  font-size: 0.8rem;
  color: var(--stone);
  line-height: 1.6;
}

.offer-media {
  position: relative;
}
.offer-placeholder {
  aspect-ratio: 4 / 3;
  background: var(--smoke);
  border-radius: var(--r-lg);
  overflow: hidden;
}

/* Secondary offers */
.offer-secondary {
  padding-top: clamp(24px, 4vw, 40px);
  border-top: 1px solid var(--border);
}

.offer-secondary-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: var(--sp-4);
  display: block;
}

.offer-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}
@media (max-width: 560px) {
  .offer-pair { grid-template-columns: 1fr; }
}

.offer-card {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color 0.18s;
}
.offer-card:hover { border-color: var(--border-md); }

.offer-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
  color: var(--ink);
}

.offer-card-desc {
  font-size: 0.875rem;
  color: var(--stone);
  line-height: 1.6;
  margin-bottom: var(--sp-4);
}

/* ============================================================
   15. FINAL CTA SECTION — DARK
   ============================================================ */

.section-cta {
  background: var(--ink);
  padding: clamp(96px, 15vw, 176px) var(--side-pad);
  text-align: center;
}

.cta-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 7.5vw, 6.5rem);
  letter-spacing: -0.06em;
  line-height: 0.9;
  color: var(--on-forest);
  margin-bottom: clamp(40px, 6vw, 64px);
}

/* The payoff word — the one green moment on dark */
.cta-accent {
  color: var(--forest-lt);
}

/* ============================================================
   16. FOOTER
   ============================================================ */

.footer {
  background: var(--ink);
  border-top: 1px solid rgba(14, 13, 11, 0.5);
  padding: clamp(32px, 5vw, 56px) var(--side-pad);
}

.footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
@media (max-width: 800px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
  }
}
@media (max-width: 480px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.04em;
  color: var(--on-forest);
  opacity: 0.7;
  transition: opacity 0.15s;
}
.footer-logo:hover { opacity: 1; }
.footer-logo span { color: var(--forest-lt); }

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 240, 230, 0.2);
}

.footer-nav ul {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
@media (max-width: 480px) {
  .footer-nav ul { justify-content: center; }
}
.footer-nav a {
  font-size: 0.8125rem;
  color: rgba(245, 240, 230, 0.35);
  transition: color 0.15s;
}
.footer-nav a:hover { color: rgba(245, 240, 230, 0.75); }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
}
@media (max-width: 480px) {
  .footer-contact { text-align: center; }
}
.footer-link {
  font-size: 0.8125rem;
  color: rgba(245, 240, 230, 0.35);
  transition: color 0.15s;
}
.footer-link:hover { color: rgba(245, 240, 230, 0.7); }

.footer-copy {
  font-size: 0.75rem;
  color: rgba(245, 240, 230, 0.2);
  grid-column: 1 / -1;
  margin-top: clamp(16px, 2vw, 28px);
  padding-top: clamp(16px, 2vw, 24px);
  border-top: 1px solid rgba(245, 240, 230, 0.07);
}
@media (max-width: 480px) {
  .footer-copy { text-align: center; }
}
