/* ============================================================
   GEWA Germany -- GLOBAL stylesheet
   global.css
   Design tokens, reset, typography scale, shared page components,
   navigation + mega menus, mobile nav, demo content.
   Loaded on every page, before any page-specific stylesheet.
   ============================================================ */

/* ============================================================
   GEWA Germany — Shared Stylesheet
   gewa.css
   
   Sections:
   01. Custom properties (design tokens)
   02. Reset & base
   03. Typography scale
   04. Navigation (shared across all pages)
   05. Mega menu — Instruments (Option B hybrid)
   06. Mega menu — Accessories
   07. Mega menu — Information
   08. Mobile navigation
   09. Page header & breadcrumbs
   10. Active filters bar
   11. Sidebar filters
   12. Product grid & cards
   13. Sort bar & view toggle
   14. Pagination
   15. Hero sections
   16. Page nav strip (About Us)
   17. Brand statement section
   18. Heritage section
   19. People / team section
   20. Made in Germany section
   21. Series overview section
   22. Instruments strip (homepage)
   23. Craftsmanship section (homepage)
   24. Origin / quote bar (homepage)
   25. Instagram section
   26. Newsletter section
   27. Footer
   28. Reveal animations
   29. Responsive overrides
   30. About Us page (about.html.twig)
   31. Product detail page (product.html.twig)
   32. FAQ page (faq.html.twig)
   33. Downloads page (downloads.html.twig)
   ============================================================ */

/* ── 01. CUSTOM PROPERTIES ── */
:root {
  /* Brand colours */
  --gold:          #c9a84c;
  --gold-light:    #e8d5a3;
  --gold-dim:      rgba(201,168,76,0.3);
  --gold-faint:    rgba(201,168,76,0.08);

  /* Backgrounds */
  --ink:           #0e0d0b;
  --ink-mid:       #13120f;
  --ink-soft:      #1a1812;

  /* Text */
  --cream:         #f2ead8;
  --cream-dim:     rgba(242,234,216,0.6);

  /* White alphas */
  --w04:           rgba(255,255,255,0.04);
  --w06:           rgba(255,255,255,0.06);
  --w10:           rgba(255,255,255,0.10);
  --w20:           rgba(255,255,255,0.20);
  --w30:           rgba(255,255,255,0.30);
  --w40:           rgba(255,255,255,0.40);
  --w45:           rgba(255,255,255,0.45);
  --w55:           rgba(255,255,255,0.55);
  --w60:           rgba(255,255,255,0.60);
  --w65:           rgba(255,255,255,0.65);
  --w70:           rgba(255,255,255,0.70);

  /* Typography */
  --font-serif:    'Cormorant Garamond', Georgia, serif;
  --font-sans:     'Barlow Condensed', Arial Narrow, sans-serif;

  /* Layout */
  --nav-h:         64px;
  --max-w:         1280px;
  --side-pad:      56px;
  --bottom-nav-h:  62px;

  /* Transitions */
  --t-fast:        0.15s ease;
  --t-mid:         0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow:        0.4s ease-out;

  /* Feature flags */
  --show-prices:   1; /* set to 0 via CMS to hide all prices */
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background:              var(--ink);
  color:                   var(--cream);
  font-family:             var(--font-sans);
  font-weight:             300;
  -webkit-font-smoothing:  antialiased;
  /* overflow-x: hidden removed — breaks position:sticky on descendants.
     html { overflow-x: hidden } above is sufficient. */
}

/* ── 03. TYPOGRAPHY SCALE ── */
/* Eyebrows / uppercase labels — intentionally small */
.t-eyebrow {
  font-size:       9px;
  letter-spacing:  0.24em;
  text-transform:  uppercase;
  color:           var(--gold);
  display:         flex;
  align-items:     center;
  gap:             12px;
}
.t-eyebrow::before {
  content:    '';
  display:    block;
  width:      28px;
  height:     0.5px;
  background: var(--gold);
  flex-shrink: 0;
}

/* Section headings */
.t-heading {
  font-family:  var(--font-serif);
  font-size:    clamp(36px, 4.5vw, 62px);
  font-weight:  300;
  line-height:  1.0;
  color:        var(--cream);
}
.t-heading em { font-style: italic; color: var(--gold); }

/* Body / paragraph text */
.t-body {
  font-size:    18px;
  line-height:  1.55;
  color:        var(--w65);
  font-weight:  300;
}

.mw-560 {
  max-width: 560px;
}

.mt-20 {
  margin-top: 20px;
}

/* ── SCROLL INDICATOR ── */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateX(-50%) translateY(12px);
  animation: scrollHintFadeUp 1s 1.2s ease-out forwards;
}

/* Dedicated keyframe — reusing the shared fadeUp here would clobber the
    translateX(-50%) centering above (CSS transform values don't merge;
    an animation's `to` replaces the whole property), which is what was
    making this element visibly slide off-centre as it faded in. */
@keyframes scrollHintFadeUp {
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.scroll-hint span {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--w30);
}

.scroll-line {
  width: 0.5px;
  height: 40px;
  background: var(--w30);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold);
  animation: scrollDrop 2s 1.5s ease-in-out infinite;
}

@keyframes scrollDrop {
  0%   { top: -100%; }
  100% { top: 200%; }
}

/* ── 03b. SHARED PAGE COMPONENTS (Artists, About Us, Dealers, etc.) ── */

/* Centered content column — puts --max-w / --side-pad to use */
.section-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}

/* First section on a page — offsets the fixed top nav */
.page-intro {
  padding-top: var(--nav-h);
  border-bottom: 0.5px solid var(--w06);
}

/* Vertical padding pairs for .section-wrap, named after their px values
   (top-bottom), same convention as .mw-560 / .mt-20 */
.py-64-48 { padding-top: 64px; padding-bottom: 48px; }
.py-64-80 { padding-top: 64px; padding-bottom: 80px; }
.py-48    { padding-top: 48px; padding-bottom: 48px; }

.mt-16 { margin-top: 16px; }

/* Completes .person-photo (defined later) for its <img> child */
.person-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }

/* ── Shared person-card component ──
   Used by two different pages: about.html.twig's "People" section AND
   artists.html.twig (the artist directory listing). Originally only
   defined inside about-detail.css (About page's own CSS) — moved here
   during the file split once that cross-page dependency became obvious.
   .person-role / .person-title (no suffix) are what artists.html.twig
   actually uses; about.html.twig's own People section uses the separate
   .person-role-label / .person-title-label classes instead (still in
   about-detail.css) — different class names, not a duplicate. */
.person-card { padding: 28px 22px; border-right: 0.5px solid var(--w06); position: relative; overflow: hidden; }
.person-card:last-child { border-right: none; }
.person-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
.person-card:hover::before { transform: scaleX(1); }
.person-photo { width: 100%; aspect-ratio: 3/4; background: var(--ink-soft); margin-bottom: 18px; overflow: hidden; }
.person-card:hover .person-photo img { transform: scale(1.04); }
.person-photo-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.person-photo-placeholder span { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--w20); text-align: center; padding: 16px; }
.person-name { font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 300; color: var(--cream); margin-bottom: 10px; line-height: 1.1; }
.person-quote { font-family: 'Cormorant Garamond', serif; 
  font-size: 19px; 
  font-style: italic; 
  color: var(--w65); 
  line-height: 1.55; 
  border-top: 0.5px solid var(--w06); 
  padding-top: 14px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  overflow: hidden; 
}
.person-role { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.person-title { font-size: 16px; letter-spacing: 0.08em; color: var(--w55); margin-bottom: 18px; }

/* Social links row under a person/artist card */
.person-social {
  display: flex; gap: 12px; margin-top: 16px; padding-top: 14px;
  border-top: 0.5px solid var(--w06);
}
.person-social a {
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--w45); text-decoration: none; transition: color 0.2s;
}
.person-social a:hover, .person-social a:focus-visible { color: var(--gold); }

.artists-grid .person-social { margin-top: auto; }

/* Responsive artists grid (auto-fill columns). Border + spacing live on
   each card rather than the grid container — with auto-fill, this avoids
   a large empty bordered box when there are fewer artists than columns. */
.artists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.artists-grid .person-card {
  border: 0.5px solid var(--w06);
  display: flex;
  flex-direction: column;
}

/* Artist card → detail page link. Wraps photo/role/name/title/bio inside
   the card; without this, the <a> falls back to default browser link
   styling (underline + link-blue) on every line of text inside it. */
.person-card-link {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding-bottom: 16px;
  color: inherit;
  text-decoration: none;
}
.person-card-link:hover,
.person-card-link:visited,
.person-card-link:focus {
  color: inherit;
  text-decoration: none;
}
.person-card:hover .person-name { color: var(--gold-light); }

/* Empty-state placeholder ("coming soon" etc.) */
.empty-state { text-align: center; padding: 80px 0; border: 0.5px solid var(--w06); }
.empty-state-title { font-family: var(--font-serif); font-size: 28px; font-weight: 300; color: var(--cream); margin-bottom: 12px; }
.empty-state-text { font-size: 13px; color: var(--w55); }

/* ── Shared "back" link ──
   Used by artist.html.twig (back to artists list) AND
   dealersByCountry.html.twig (back to all countries) — genuinely a
   generic back-link style despite the .artist- prefixed name (kept
   as-is rather than renamed, to avoid touching template markup that
   isn't broken). Originally only lived in artist.css. */
.artist-back {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--w55);
  text-decoration: none;
  margin-bottom: 32px;
  transition: color 0.2s;
}
.artist-back:hover { color: var(--gold); }

/* ── Shared hero headline ──
   Used by home.html.twig's hero AND brand.html.twig's series hero
   (.series-hero-content .hero-headline in brand-series.css only adds a
   margin-bottom override — it always assumed this base rule existed
   somewhere. It didn't, since brand.html.twig never loads homepage.css —
   so the headline was falling back to unstyled browser-default <h1>
   until now. */
.hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(52px, 7vw, 96px);
  line-height: 0.92;
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 24px;
}
.hero-headline em {
  font-style: italic;
  color: var(--gold);
}
@media (max-width: 600px) {
  .hero-headline { font-size: 42px; }
}

/* ── Shared series-card component ──
   Used by home.html.twig's "Die Serien" section AND about.html.twig's
   own Series section (about-detail.css only carries a mobile !important
   override for this, not the base rules — it was always relying on this
   block existing elsewhere). Originally only in the old about-page
   prototype block. Distinct from brand-series.css's own .series-grid,
   which is a different component (.series-tile cards, used only by
   brands.html.twig) that happens to share the outer class name. */
.series-overview { padding: 100px 56px; border-bottom: 0.5px solid var(--w06); }
.series-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; margin-top: 56px; border: 0.5px solid var(--w06); max-width: var(--max-w); margin-left: auto; margin-right: auto; }
.series-card { padding: 40px 32px; border-right: 0.5px solid var(--w06); position: relative; overflow: hidden; display: flex; flex-direction: column; }
.series-card:last-child { border-right: none; }
.sc-accent { position: absolute; top: 0; left: 0; right: 0; height: 1px; }
.sc-accent.ambition { background: rgba(255,255,255,0.15); }
.sc-accent.vision { background: rgba(232,200,106,0.5); }
.sc-accent.artist { background: var(--gold); }
.sc-level { font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--w55); margin-bottom: 16px; }
.sc-name { font-family: 'Cormorant Garamond', serif; font-size: 47px; font-weight: 300; color: var(--cream); margin-bottom: 8px; line-height: 1; }
.sc-name em { font-style: italic; }
.sc-tagline { font-size: 15px; letter-spacing: 0.08em; color: var(--gold); margin-bottom: 20px; }
.sc-desc { font-size: 18px; color: var(--w60); line-height: 1.75; font-weight: 300; margin-bottom: 28px; }
.sc-details { display: flex; flex-direction: column; gap: 6px; border-top: 0.5px solid var(--w06); padding-top: 20px; margin-bottom: 20px; }
.scd-item { font-size: 17px; color: var(--w60); display: flex; align-items: center; gap: 8px; }
.scd-item::before { content: ''; display: block; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); flex-shrink: 0; opacity: 0.5; }
.sc-cta { display: inline-block; margin-top: auto; padding-top: 24px; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); background: var(--gold); padding: 10px 24px; text-decoration: none; font-weight: 600; transition: background 0.2s; align-self: flex-start; }
.sc-cta:hover { background: var(--gold-light); }

/* ── Shared scroll-reveal utility ──
   Driven by the generic IntersectionObserver in gewagermany.js — applies
   to any page, not just the homepage. Originally its own numbered
   section (28) in the unsplit file, sibling to the design tokens, not
   grouped with anything homepage-specific — moved here accordingly.
   Used by about.html.twig (6+ places) among others. */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Shared footer ──
   Rendered from layout.html.twig on every page — was mistakenly only
   defined in homepage.css, so every other page got zero footer styling
   (plain blue links). Moved here accordingly. */
footer {
  background: #080807;
  border-top: 0.5px solid rgba(255,255,255,0.05);
}
.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 80px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand-name {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.26em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}
.footer-brand-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-style: italic;
  color: var(--w65);
  line-height: 1.6;
  max-width: 255px;
}
.footer-col-title {
  font-size: 15px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 16px;
  letter-spacing: 0.08em;
  color: var(--w60);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 80px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 0.5px solid rgba(255,255,255,0.04);
}
.footer-copy {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--w55);
  text-transform: uppercase;
}
.footer-legal {
  display: flex;
  gap: 24px;
}
.footer-legal a {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--w55);
  text-decoration: none;
}
.footer-legal a:hover { color: var(--w45); }

@media (max-width: 960px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; padding: 48px 32px 32px; }
  .footer-bottom { padding: 16px 32px 24px; flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 960px) {
  .series-overview { padding: 60px 24px; }
  .series-grid { grid-template-columns: 1fr; }
  .series-card { border-right: none; border-bottom: 0.5px solid var(--w06); }
}

/* CTA strip — title + text + button */
.cta-strip { background: var(--ink-mid); border-top: 0.5px solid var(--w06); border-bottom: 0.5px solid var(--w06); }
.cta-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-strip-title { font-family: var(--font-serif); font-size: 28px; font-weight: 300; color: var(--cream); }
.cta-strip-text { font-size: 17px; color: var(--w55); margin-top: 10px; }

/* ── Shared buttons ──
   Used across multiple pages (homepage hero actions, artists.html.twig's
   .cta-strip CTA link, product-detail's actions, likely others) — was
   only defined in homepage.css, so any other page's button silently fell
   back to a plain unstyled link (this is what caused "Kontakt aufnehmen"
   to render as a default blue link on the artists page). */
.btn-primary {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  border: none;
  padding: 14px 32px;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-ghost {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--w65);
  background: none;
  border: 0.5px solid rgba(255,255,255,0.25);
  padding: 14px 28px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: var(--gold); border-color: var(--gold-dim); }

/* ── Shared section header (eyebrow + heading) ──
   Used by handler.html.twig / dealersByCountry.html.twig (dealers),
   artists.html.twig, and the brand overview/detail pages — was only ever
   defined in the quarantined legacy file, never actually migrated out.
   brand-series.css's two narrow overrides (.brand-desc-text
   .section-eyebrow, .series-hero-content .section-eyebrow) only adjust
   margin and silently assumed this base rule existed elsewhere — it
   didn't, hence the eyebrow rendering as plain grey text with no gold
   color, letter-spacing, or leading dash. */
.section-eyebrow { font-size: 14px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: nowrap; }
.section-eyebrow::before { content: ''; flex-grow: 0; flex-shrink: 0; flex-basis: 28px; width: 28px; min-width: 28px; display: block; height: 0.5px; background: var(--gold); }
.section-heading { font-family: 'Cormorant Garamond', serif; font-size: clamp(36px, 4.5vw, 62px); font-weight: 300; line-height: 1.0; color: var(--cream); }
.section-heading em { font-style: italic; color: var(--gold); }

@media (max-width: 600px) {
  .btn-primary, .btn-ghost { width: 100%; text-align: center; }
}



/* ── 04-08. NAVIGATION & MEGA MENUS ── */


/* ═══════════════════════════════════
   MAIN NAV
═══════════════════════════════════ */
.gewa-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(14,13,11,0.96);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 0.5px solid var(--w10);
  display: flex; align-items: stretch;
  transition: background 0.3s;
  overflow: hidden;
}

.nav-logo-wrap {
  display: flex; align-items: center;
  padding: 0 28px 0 40px;
  border-right: 0.5px solid var(--w06);
  text-decoration: none; flex-shrink: 0;
}

.nav-logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.nav-logo-gold {
  filter: sepia(1) saturate(1.2) hue-rotate(5deg) brightness(0.9);
}

.nav-logo {
  font-weight: 700; font-size: 13px; letter-spacing: 0.32em;
  color: var(--gold-light); text-transform: uppercase;
  transition: color 0.2s;
}
.nav-logo-wrap:hover .nav-logo { color: var(--gold); }

.nav-items { display: flex; align-items: stretch; flex: 1; }

.nav-item {
  position: relative;
  display: flex; align-items: center; gap: 5px;
  padding: 0 20px;
  font-size: 15px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--w65); text-decoration: none;
  border-bottom: 2px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
  user-select: none;
}
.nav-item:hover, .nav-item.open { color: var(--cream); }
.nav-item.open { border-bottom-color: var(--gold); color: var(--gold); }
.nav-item svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s; flex-shrink: 0; }
.nav-item.open svg { transform: rotate(180deg); }

.nav-right {
  display: flex; align-items: center; gap: 0;
  padding: 0 8px 0 0;
  margin-left: auto; border-left: 0.5px solid var(--w06);
}
.lang-item {
  display: flex; align-items: center;
  height: 100%; padding: 0 16px;
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--w45); cursor: pointer;
  border-right: 0.5px solid var(--w06);
  transition: color 0.2s;
}
.lang-item:hover { color: var(--w65); }
.lang-item .lang-active { color: var(--gold); }
/* EN/DE are real <a> links now (so unlinked languages can still show as
   plain text via the fallback span) — anchors carry their own default
   color/underline that wins over the inherited color above unless
   overridden explicitly here. */
#lang-en, #lang-de { color: inherit; text-decoration: none; }
.lang-divider { margin: 0 6px; color: var(--w55); }
.nav-search {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 100%; cursor: pointer;
  color: var(--w30); transition: color 0.2s;
  border: none; background: none;
}
.nav-search:hover { color: var(--gold); }
.nav-search svg { width: 16px; height: 16px; }

/* HAMBURGER */
.nav-hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 48px; height: var(--nav-h); padding: 0 14px;
  cursor: pointer; border: none; background: none;
}
.ham-line { width: 20px; height: 1.5px; background: var(--w55); transition: all 0.25s; transform-origin: center; }
.nav-hamburger.open .ham-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open .ham-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open .ham-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ═══════════════════════════════════
   MEGA MENU SHARED
═══════════════════════════════════ */
.mega-backdrop {
  position: fixed; inset: 0; top: var(--nav-h); z-index: 998;
  background: rgba(0,0,0,0); pointer-events: none;
  transition: background var(--mega-transition);
}
.mega-backdrop.visible { background: rgba(0,0,0,0.55); pointer-events: all; }

.mega-panel {
  /* fixed (not absolute) — absolute scrolled away with the page content,
     so opening the menu while scrolled down made the panel appear to be
     missing (it was rendering off-screen, above the viewport). fixed
     anchors it to the viewport like .gewa-nav itself. */
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 999;
  background: var(--ink-mid);
  border-bottom: 0.5px solid var(--w10);
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: transform var(--mega-transition), opacity var(--mega-transition);
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}
.mega-panel.open { transform: translateY(0); opacity: 1; pointer-events: all; }

.mega-inner { max-width: 1280px; margin: 0 auto; }

/* ═══════════════════════════════════
   INSTRUMENTS MEGA — OPTION B HYBRID
═══════════════════════════════════ */
.mega-instruments { }
.mega-instruments .mega-inner {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 0;
}

.mega-left {
  padding: 36px 40px 36px 40px;
  border-right: 0.5px solid var(--w06);
}
.mega-col-label {
  font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--w45); margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
}
.mega-col-label::after { content: ''; flex: 1; height: 0.5px; background: var(--w06); }

.inst-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }

.inst-family { }
.inst-family-head {
  font-size: 14px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); padding: 0 0 10px; margin-bottom: 4px;
  border-bottom: 0.5px solid rgba(201,168,76,0.15);
  display: flex; align-items: center; gap: 8px;
}
.inst-family-head::before { content: ''; display: block; width: 16px; height: 0.5px; background: var(--gold); }
.inst-links { display: flex; flex-direction: column; gap: 0; padding: 6px 0 20px; }
.inst-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 10px 7px 0; text-decoration: none;
  font-size: 16px; letter-spacing: 0.06em; color: var(--w65);
  border-bottom: 0.5px solid var(--w06);
  transition: color 0.15s, padding-left 0.15s, background 0.15s;
  position: relative;
}
.inst-link:last-child { border-bottom: none; }
.inst-link:hover { color: var(--cream); padding-left: 8px; }
.inst-link:hover .inst-link-arrow { opacity: 1; transform: translateX(0); }
.inst-link-arrow {
  font-size: 11px; color: var(--gold);
  opacity: 0; transform: translateX(-4px);
  transition: opacity 0.15s, transform 0.15s;
}

.mega-right {
  padding: 36px 32px;
  background: rgba(14,13,11,0.4);
}
.series-list { display: flex; flex-direction: column; gap: 0; margin-top: 4px; }
.series-entry {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 0; border-bottom: 0.5px solid var(--w06);
  text-decoration: none; cursor: pointer;
  transition: background 0.15s;
  position: relative;
}
.series-entry:last-child { border-bottom: none; }
.series-entry::before {
  content: ''; position: absolute; left: -32px; top: 0; bottom: 0; width: 2px;
  background: var(--gold); transform: scaleY(0); transform-origin: top;
  transition: transform 0.2s;
}
.series-entry:hover::before { transform: scaleY(1); }
.se-dot {
  width: 8px; height: 8px; border-radius: 50%;
  flex-shrink: 0; margin-top: 5px;
}
.se-dot.ambition { background: rgba(255,255,255,0.2); }
.se-dot.vision { background: #e8c86a; }
.se-dot.artist { background: var(--gold); }
.se-content { flex: 1; }
.se-level { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--w55); margin-bottom: 6px; }
.se-name { font-family: 'Cormorant Garamond', serif; font-size: 27px; font-weight: 300; color: var(--cream); line-height: 1; margin-bottom: 8px; }
.se-name em { font-style: italic; color: var(--gold); }
.se-desc { font-size: 15px; letter-spacing: 0.04em; color: var(--w55); line-height: 1.5; }
.se-arrow { font-size: 15px; color: var(--w55); align-self: center; transition: color 0.15s, transform 0.15s; }
.series-entry:hover .se-arrow { color: var(--gold); transform: translateX(3px); }

.mega-footer-strip {
  border-top: 0.5px solid var(--w06);
  padding: 14px 40px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(14,13,11,0.3);
}
.mfs-left { font-size: 14px; letter-spacing: 0.12em; color: var(--w55); }
.mfs-left a { color: var(--gold); text-decoration: none; }
.mfs-left a:hover { color: var(--gold-light); }
.mfs-right {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink); background: var(--gold); padding: 7px 20px;
  text-decoration: none; font-weight: 600; transition: background 0.2s;
}
.mfs-right:hover { background: var(--gold-light); }

/* ═══════════════════════════════════
   ACCESSORIES DROPDOWN
   Rebuilt to share the Instruments mega-menu's classes (.inst-family,
   .inst-family-head, .inst-links, .inst-link, .inst-link-arrow) so both
   menus look and behave identically. Accessories has no "series" sidebar,
   so .mega-inner here uses a 4-column family grid spanning the full width
   instead of Instruments' 1fr/280px left+right split.
═══════════════════════════════════ */
.mega-accessories .mega-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 36px 40px;
}
.mega-accessories .inst-family {
  padding-right: 28px;
  border-right: 0.5px solid var(--w06);
}
.mega-accessories .inst-family:last-child { border-right: none; padding-right: 0; }
.mega-accessories .inst-family + .inst-family { padding-left: 28px; }

/* Second-tier heading inside a family column (e.g. "Gig Bags" / "Hard
   Cases" nested under the "Bags & Cases" column) — smaller and dimmer
   than .inst-family-head since it's one level down, but keeps the same
   gold-dash motif for visual consistency. */
.inst-subfamily { margin-top: 18px; }
.inst-subfamily:first-of-type { margin-top: 0; }
.inst-subfamily-head {
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--w55); padding: 0 0 8px; margin-bottom: 2px;
  display: flex; align-items: center; gap: 6px;
}
.inst-subfamily-head::before { content: ''; display: block; width: 10px; height: 0.5px; background: var(--w30); }
.inst-subfamily .inst-links { padding: 4px 0 12px; }
.inst-subfamily .inst-link { font-size: 15px; padding: 5px 10px 5px 0; }

/* ═══════════════════════════════════
   INFORMATION DROPDOWN
   Rebuilt to share the Instruments mega-menu's classes (.inst-family,
   .inst-family-head, .inst-links, .inst-link, .inst-link-arrow), same as
   Accessories — so all three mega menus look and behave identically.
═══════════════════════════════════ */
.mega-information .mega-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 36px 40px;
}
.mega-information .inst-family {
  padding-right: 28px;
  border-right: 0.5px solid var(--w06);
}
.mega-information .inst-family:last-child { border-right: none; padding-right: 0; }
.mega-information .inst-family + .inst-family { padding-left: 28px; }

/* Optional short descriptive line under a family heading (e.g. for the
   "Trade" column) — kept as its own class since not every information
   mega menu use case needs one. */
.inst-family-desc { font-size: 13px; color: var(--w55); line-height: 1.6; margin: -4px 0 14px; }

/* ═══════════════════════════════════
   MOBILE NAV — BOTTOM SHEET
═══════════════════════════════════ */
.mob-backdrop {
  position: fixed; inset: 0; z-index: 996;
  background: rgba(0,0,0,0); pointer-events: none;
  transition: background 0.3s ease;
}
.mob-backdrop.visible { background: rgba(0,0,0,0.55); pointer-events: all; }

/* Lock background scroll while the bottom sheet or search overlay is open */
body.nav-open { overflow: hidden; }

.mobile-nav {
  position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 999;
  height: 86vh; max-height: 760px;
  background: var(--ink-mid);
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -16px 48px rgba(0,0,0,0.55);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: none;
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav-handle {
  width: 36px; height: 4px; border-radius: 2px;
  background: var(--w20);
  margin: 12px auto 4px;
}
.mobile-nav-inner { padding: 4px 0 calc(var(--bottom-nav-h) + 24px); }
.mob-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; border-bottom: 0.5px solid var(--w06);
  font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--w65); cursor: pointer; text-decoration: none;
  transition: color 0.15s;
}
.mob-item:hover, .mob-item.mob-open { color: var(--gold); }
.mob-item svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s; }
.mob-item.mob-open svg { transform: rotate(180deg); }
.mob-sub { display: none; background: rgba(14,13,11,0.5); }
.mob-sub.open { display: block; }
.mob-sub-head { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); padding: 14px 24px 8px 32px; }
.mob-sub-link { display: flex; justify-content: space-between; align-items: center; padding: 10px 24px 10px 32px; font-size: 16px; letter-spacing: 0.08em; color: var(--w55); text-decoration: none; border-bottom: 0.5px solid var(--w06); transition: color 0.15s; }
.mob-sub-link:hover { color: var(--cream); }
.mob-sub-link span { font-size: 10px; color: var(--gold); opacity: 0.6; }
.mob-series-entry { padding: 12px 24px 12px 32px; border-bottom: 0.5px solid var(--w06); text-decoration: none; display: block; }
.mob-series-name { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 300; color: var(--cream); }
.mob-series-level { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--w40); margin-top: 5px; }
.mob-lang { display: flex; gap: 0; padding: 20px 24px; }
.mob-lang-btn { padding: 10px 20px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--w55); border: 0.5px solid var(--w10); background: none; cursor: pointer; transition: all 0.15s; }
.mob-lang-btn.active { color: var(--gold); border-color: var(--gold-dim); background: rgba(201,168,76,0.06); }

/* ═══════════════════════════════════
   MOBILE BOTTOM TAB BAR
═══════════════════════════════════ */
.mobile-bottom-nav {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 997;
  height: var(--bottom-nav-h);
  background: rgba(14,13,11,0.97);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-top: 0.5px solid var(--w10);
  align-items: stretch;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.mbn-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; padding: 8px 4px 6px;
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--w55); text-decoration: none; background: none; border: none;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: color 0.2s;
}
.mbn-item svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.2s; }
.mbn-item.active, .mbn-item:active { color: var(--gold); }

/* ═══════════════════════════════════
   MOBILE SEARCH OVERLAY
═══════════════════════════════════ */
.mobile-search-overlay {
  position: fixed; inset: 0; z-index: 1001;
  background: rgba(10,9,8,0.97);
  display: flex; flex-direction: column;
  padding: 20px 20px 24px;
  transform: translateY(-100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.mobile-search-overlay.open { transform: translateY(0); }
.mobile-search-form {
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--w20);
  padding-bottom: 14px; margin-top: 24px;
}
.mobile-search-input {
  flex: 1; background: none; border: none; color: var(--cream);
  font-size: 18px; font-family: var(--font-sans); letter-spacing: 0.04em;
  outline: none;
}
.mobile-search-input::placeholder { color: var(--w30); }
.mobile-search-close, .mobile-search-submit {
  background: none; border: none; color: var(--w55); cursor: pointer; padding: 4px;
  display: flex; align-items: center; justify-content: center;
}
.mobile-search-close svg, .mobile-search-submit svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }


/* ═══════════════════════════════════
   DEMO PAGE CONTENT
═══════════════════════════════════ */
.demo-content { padding: calc(var(--nav-h) + 80px) 56px 80px; }
.demo-label { font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--w55); margin-bottom: 16px; }
.demo-headline { font-family: 'Cormorant Garamond', serif; font-size: clamp(40px,5vw,72px); font-weight: 300; color: var(--cream); line-height: 1.0; margin-bottom: 24px; }
.demo-headline em { font-style: italic; color: var(--gold); }
.demo-hint { display: flex; flex-direction: column; gap: 10px; }
.demo-hint-item { display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: 0.08em; color: var(--w55); }
.demo-hint-key { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); background: rgba(201,168,76,0.08); border: 0.5px solid var(--gold-dim); padding: 3px 10px; }

/* ═══════════════════════════════════
   RESPONSIVE
═══════════════════════════════════ */
@media (max-width: 960px) {
  /* The desktop mega-menu top nav is fully replaced on mobile by the
     bottom tab bar (.mobile-bottom-nav) + bottom-sheet menu (.mobile-nav).
     Hiding .gewa-nav (rather than just its children) also removes the
     mega-panels from layout, which previously overflowed horizontally
     on narrow viewports. */
  .gewa-nav { display: none; }
  .mega-panel,
  .mega-backdrop { display: none; }

  .mobile-nav { display: block; }
  .mobile-bottom-nav { display: flex; }

  /* The desktop scroll-hint is absolutely positioned to the bottom of
     .hero; on mobile the hero is short relative to its content and this
     ends up overlapping the hero stats box. Not needed on mobile anyway —
     the stats box + bottom nav already signal there's more below. */
  .scroll-hint { display: none; }

  body { padding-bottom: var(--bottom-nav-h); }

  .demo-content { padding: 40px 24px calc(var(--bottom-nav-h) + 40px); }
}


/* -- Moved here from further down the original file: these are global components/rules (scroll-to-top button appears on every page; .hero desktop nav offset applies to both homepage and About Us hero sections) -- */
/* ═══════════════════════════════════
   SCROLL-TO-TOP BUTTON (with progress ring)
═══════════════════════════════════ */
.scroll-top-btn {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 500;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--ink-mid);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.scroll-top-btn.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top-btn:hover { background: var(--ink); }

.scroll-top-btn svg.stb-ring {
  position: absolute; inset: 0;
  width: 52px; height: 52px;
  transform: rotate(-90deg);
}
.scroll-top-btn .stb-ring-bg { fill: none; stroke: var(--w10); stroke-width: 2; }
.scroll-top-btn .stb-ring-fg {
  fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round;
  transition: stroke-dashoffset 0.1s linear;
}
.scroll-top-btn .stb-icon {
  width: 16px; height: 16px;
  fill: none; stroke: var(--gold-light); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  position: relative; z-index: 1;
  transition: transform 0.2s ease;
}
.scroll-top-btn:hover .stb-icon { transform: translateY(-2px); }

/* Sit above the bottom tab bar on mobile, respecting the safe-area inset
   already used for .mobile-bottom-nav */
@media (max-width: 960px) {
  .scroll-top-btn {
    right: 16px;
    bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0) + 16px);
    width: 46px; height: 46px;
  }
  .scroll-top-btn svg.stb-ring { width: 46px; height: 46px; }
}


/* ═══════════════════════════════════
   HERO — DESKTOP NAV OFFSET
   padding-top on .hero pushes the text content below the fixed nav.
   .hero-bg uses inset:0 + scale(1.06→1.00) so the image fills the
   full container edge-to-edge throughout the animation — no black
   strip can appear regardless of scale value.
═══════════════════════════════════ */
@media (min-width: 961px) {
  .hero { padding-top: var(--nav-h); }
}