/* =============================================
   FUNKI — Global Design System
   ============================================= */

/* --- Fonts --- */
@font-face {
  font-family: 'VAG Rounded Next';
  src: url('/fonts/vag-rounded-regular.woff2') format('woff2'),
       url('/fonts/vag-rounded-regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'VAG Rounded Next';
  src: url('/fonts/vag-rounded-medium.woff2') format('woff2'),
       url('/fonts/vag-rounded-medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'VAG Rounded Next';
  src: url('/fonts/vag-rounded-semibold.woff2') format('woff2'),
       url('/fonts/vag-rounded-semibold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'VAG Rounded Next';
  src: url('/fonts/vag-rounded-bold.woff2') format('woff2'),
       url('/fonts/vag-rounded-bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'VAG Rounded Next';
  src: url('/fonts/vag-rounded-heavy.woff2') format('woff2'),
       url('/fonts/vag-rounded-heavy.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* Inter Tight — self-hosted (was Google Fonts; removed for GDPR + performance) */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-tight/inter-tight-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-tight/inter-tight-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter-tight/inter-tight-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter-tight/inter-tight-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-tight/inter-tight-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-tight/inter-tight-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/inter-tight/inter-tight-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/inter-tight/inter-tight-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/inter-tight/inter-tight-800-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/inter-tight/inter-tight-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Design Tokens --- */
:root {
  --color-orange:  #E84F27;
  --color-yellow:  #FEE57B;
  --color-green:   #D5E6C3;
  --color-cream:   #F9F7F4;
  --color-olive:   #6E6166; /* muted brand text (warm brown-grey, brand-dark family) */
  --color-dark:    #3D2E34;
  --color-white:   #FFFFFF;

  /* Instrument accent colors */
  --color-ac:      #E84F27;
  --color-titti:   #FEE57B;
  --color-ove:     #F5F2EE;
  --color-kay:     #D5E6C3;

  --font: 'VAG Rounded Next', system-ui, sans-serif;
  --font-body: 'Inter Tight', system-ui, sans-serif;

  --radius-sm:  12px;
  --radius-md:  20px;
  --radius-lg:  28px;
  --radius-xl:  40px;
  --radius-pill: 100px;

  /* Unified hero height — total rendered height of every page hero.
     Overlay heroes use it directly; heroes that start below the fixed nav
     use calc(var(--hero-h) - var(--nav-h)) so totals match site-wide. */
  --hero-h: 800px;

  --space-2:   2px;
  --space-4:   4px;
  --space-8:   8px;
  --space-12:  12px;
  --space-16:  16px;
  --space-20:  20px;
  --space-24:  24px;
  --space-32:  32px;
  --space-40:  40px;
  --space-48:  48px;
  --space-64:  64px;
  --space-80:  80px;
  --space-96:  96px;
  --space-120: 120px;

  --max-w: 1280px;
  --nav-h: 72px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-dark);
  background: var(--color-cream);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, .section__title, .section__label {
  font-family: var(--font);
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--space-24);
}
@media (max-width: 768px) {
  .container { padding-inline: var(--space-16); }
}

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1100;             /* above Leaflet controls (z-index 1000) */
  height: var(--nav-h);
  background: #ffffff;
  border-bottom: 1.5px solid rgba(61,46,52,.08);
  transition: background .2s;
}
/* Keep Leaflet maps contained in their own stacking context so their
   panes/controls (which use z-index up to 1000) never bleed above the nav.
   Any container holding a Leaflet map gets isolated below. */
.leaflet-container { isolation: isolate; }
.nav--scrolled { background: rgba(255,255,255,.95); backdrop-filter: blur(12px); }
.nav__inner {
  display: flex;
  align-items: center;
  gap: var(--space-32);
  height: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--space-24);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  font-weight: 700;
  font-size: 22px;
  color: var(--color-orange);
  flex-shrink: 0;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-left: auto;
}
.nav__links a {
  font-weight: 500;
  font-size: 15px;
  color: var(--color-dark);
  padding: var(--space-8) var(--space-12);
  border-radius: var(--radius-pill);
  transition: background .15s, color .15s;
}
.nav__links a:hover { background: rgba(61,46,52,.07); }
.nav__links a.active {
  background: none;
  color: var(--color-orange);
  font-weight: 700;
}
.nav__lang {
  display: flex;
  gap: var(--space-4);
  margin-left: var(--space-16);
}
.lang-btn {
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  color: var(--color-dark);
  opacity: .5;
  transition: opacity .15s;
}
.lang-btn.active { opacity: 1; background: var(--color-dark); color: var(--color-white); }
.nav__cta {
  background: var(--color-orange);
  color: var(--color-white) !important;
  padding: var(--space-8) var(--space-20) !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 600;
}
.nav__cta:hover { background: #d04420 !important; }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-8);
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__lang  { display: none; }
  .nav__burger { display: flex; }
}

/* Burger → X animation */
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* FullScreen overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--color-dark);
  display: flex;
  flex-direction: column;
  padding-top: var(--nav-h);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.nav-overlay.open {
  opacity: 1;
  pointer-events: all;
}
/* Hide newsletter bubble when mobile nav is open */
body.no-newsletter .nsl-bubble,
body.no-newsletter .nsl-card,
.nav-overlay.open ~ * .nsl-bubble,
body:has(.nav-overlay.open) .nsl-bubble {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: scale(0) !important;
}
.nav-overlay__inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 20px var(--space-24) 32px;
}
.nav-overlay__links {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  justify-content: center;
  gap: 0;
}
.nav-overlay__links a {
  font-size: clamp(20px, 5vw, 26px);
  font-weight: 700;
  color: rgba(255,255,255,.6);
  padding: 14px 0;
  display: block;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: color .15s;
  line-height: 1.25;
}
.nav-overlay__links li:first-child a { border-top: 1px solid rgba(255,255,255,.08); }
.nav-overlay__links a:hover,
.nav-overlay__links a.active { color: var(--color-white); }
.nav-overlay__links a.active { color: var(--color-orange); }
.nav-overlay__footer {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
  flex-shrink: 0;
}
.nav-overlay__lang {
  display: flex;
  gap: var(--space-8);
}
.nav-overlay__lang .lang-btn {
  font-size: 15px;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.08);
}
.nav-overlay__lang .lang-btn.active {
  background: var(--color-white);
  color: var(--color-dark);
  opacity: 1;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--color-orange);
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}
/* Photo hero variant */
.hero--photo {
  background: #1a1a1a url('/images/hero-bg.webp') center/cover no-repeat;
  padding-top: var(--nav-h);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-64);
  align-items: center;
  padding-block: var(--space-80);
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  background: rgba(255,255,255,.15);
  color: var(--color-white);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-24);
}
.hero__title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: var(--space-24);
}
.hero__sub {
  font-size: 18px;
  color: rgba(255,255,255,.85);
  max-width: 480px;
  margin-bottom: var(--space-40);
}
.hero__actions {
  display: flex;
  gap: var(--space-16);
  flex-wrap: wrap;
}
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero__stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  margin-top: var(--space-48);
}
.stat-block {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  background: rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  padding: var(--space-16) var(--space-20);
}
.stat-block--green { background: var(--color-green); }
.stat-block--orange { background: rgba(255,255,255,.2); }
.stat-block__num {
  font-size: 36px;
  font-weight: 800;
  color: var(--color-white);
  white-space: nowrap;
}
.stat-block--green .stat-block__num { color: var(--color-olive); }
.stat-block__text {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,.9);
}
.stat-block--green .stat-block__text { color: var(--color-dark); }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--space-48); }
  .hero__visual { display: none; }
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  font-family: var(--font);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 10px;
  transition: transform .15s, box-shadow .15s, background .15s;
  cursor: pointer;
  border: none;
}
.btn:active { transform: scale(.97); }
.btn--white {
  background: var(--color-white);
  color: var(--color-orange);
}
.btn--white:hover { box-shadow: 0 4px 20px rgba(0,0,0,.15); }
.btn--outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,.5);
}
.btn--outline:hover { border-color: var(--color-white); background: rgba(255,255,255,.1); }
.btn--dark {
  background: var(--color-dark);
  color: var(--color-white);
}
.btn--dark:hover { background: #2a1f24; }
.btn--orange {
  background: var(--color-orange);
  color: var(--color-white);
}
.btn--orange:hover { background: #d04420; }

/* =============================================
   SECTION COMMON
   ============================================= */
.section { padding-block: var(--space-96); }
.section--cream { background: var(--color-cream); }
.section--white { background: var(--color-white); }
.section--orange { background: var(--color-orange); }
.section--green { background: var(--color-green); }
.section--dark { background: var(--color-dark); }
.section__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: var(--space-12);
}
.section--orange .section__label { color: rgba(255,255,255,.7); }
.section__title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-dark);
  margin-bottom: var(--space-16);
}
.section--orange .section__title { color: var(--color-white); }
.section--dark .section__title { color: var(--color-white); }
.section__body {
  font-size: 17px;
  color: rgba(61,46,52,.7);
  max-width: 560px;
  margin-bottom: var(--space-48);
}
.section--orange .section__body { color: rgba(255,255,255,.8); }

/* =============================================
   INSTRUMENTS GRID
   ============================================= */
.instruments-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-20);
}
@media (max-width: 640px) {
  .instruments-grid { grid-template-columns: 1fr; }
}
.instrument-card {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
  min-height: 320px;
}
.instrument-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.12); }
.instrument-card__image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-40);
}
.instrument-card__image img { max-height: 180px; object-fit: contain; }
.instrument-card__footer {
  padding: var(--space-20) var(--space-24);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.instrument-card__name {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-dark);
}
.instrument-card__tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-olive);
  background: var(--color-cream);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}
.instrument-card__arrow {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--color-cream);
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.instrument-card:hover .instrument-card__arrow { background: var(--color-orange); color: white; }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-20);
}
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr; } }
.testimonial-card {
  border-radius: var(--radius-lg);
  padding: var(--space-32);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
}
.testimonial-card--green { background: var(--color-green); }
.testimonial-card--yellow { background: var(--color-yellow); }
.testimonial-card--cream { background: var(--color-white); border: 1.5px solid rgba(61,46,52,.1); }
.testimonial-card--orange { background: var(--color-orange); }
.testimonial-card__quote-mark {
  font-size: 40px;
  line-height: 1;
  margin-bottom: var(--space-16);
}
.testimonial-card--green .testimonial-card__quote-mark { color: var(--color-olive); }
.testimonial-card--yellow .testimonial-card__quote-mark { color: var(--color-orange); }
.testimonial-card--cream .testimonial-card__quote-mark { color: var(--color-orange); }
.testimonial-card--orange .testimonial-card__quote-mark { color: rgba(255,255,255,.5); }
.testimonial-card__text {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  flex: 1;
}
.testimonial-card--green .testimonial-card__text { color: var(--color-dark); }
.testimonial-card--yellow .testimonial-card__text { color: var(--color-orange); font-weight: 600; }
.testimonial-card--cream .testimonial-card__text { color: var(--color-dark); }
.testimonial-card--orange .testimonial-card__text { color: var(--color-white); }
.testimonial-card__author {
  margin-top: var(--space-24);
  display: flex;
  align-items: center;
  gap: var(--space-12);
}
.testimonial-card__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,.1);
  object-fit: cover;
  flex-shrink: 0;
}
.testimonial-card__name { font-size: 14px; font-weight: 600; }
.testimonial-card__role { font-size: 13px; opacity: .7; }

/* =============================================
   STATS SECTION
   ============================================= */
.stats-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  max-width: 640px;
}
.stat-row-item {
  display: flex;
  align-items: center;
  gap: var(--space-20);
  border-radius: var(--radius-md);
  padding: var(--space-20) var(--space-24);
}
.stat-row-item--orange { background: var(--color-orange); }
.stat-row-item--green { background: var(--color-green); }
.stat-row-item__num {
  font-size: 40px;
  font-weight: 800;
  white-space: nowrap;
  min-width: 90px;
}
.stat-row-item--orange .stat-row-item__num { color: var(--color-white); }
.stat-row-item--green .stat-row-item__num { color: var(--color-olive); }
.stat-row-item__text { font-size: 16px; font-weight: 500; }
.stat-row-item--orange .stat-row-item__text { color: rgba(255,255,255,.9); }
.stat-row-item--green .stat-row-item__text { color: var(--color-dark); }
.stat-source { font-size: 12px; opacity: .5; margin-top: var(--space-8); }

/* =============================================
   MAP TEASER
   ============================================= */
.map-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-64);
  align-items: center;
}
@media (max-width: 768px) { .map-teaser { grid-template-columns: 1fr; } }
.map-teaser__stat-big {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 800;
  color: var(--color-orange);
  line-height: 1;
}
.map-teaser__label { font-size: 18px; font-weight: 500; color: var(--color-dark); margin-top: var(--space-8); }
.map-teaser__map {
  background: var(--color-green);
  border-radius: var(--radius-lg);
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

/* =============================================
   FULL MAP PAGE
   ============================================= */
#map { width: 100%; height: 70vh; border-radius: var(--radius-lg); overflow: hidden; }
.map-popup {
  font-family: var(--font);
  font-size: 14px;
  color: var(--color-dark);
}
.map-popup h3 { font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.map-popup p { opacity: .7; margin-bottom: 2px; }
.map-popup a { color: var(--color-orange); font-weight: 600; }

/* =============================================
   INSTRUMENT PLAYER
   ============================================= */
.player {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-48);
  margin-block: var(--space-64);
  box-shadow: 0 8px 48px rgba(0,0,0,.08);
}
.player__header {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  margin-bottom: var(--space-40);
}
.player__title { font-size: 24px; font-weight: 700; }
.player__badge {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--color-cream);
  color: var(--color-olive);
}

/* AC Player — 2 buttons */
.player-ac {
  display: flex;
  gap: var(--space-40);
  justify-content: center;
  align-items: center;
  padding: var(--space-48) 0;
}
.player-ac__btn {
  width: 140px; height: 140px;
  border-radius: 50%;
  background: var(--color-orange);
  box-shadow: 0 8px 0 #b03516, 0 12px 32px rgba(232,79,39,.3);
  cursor: pointer;
  transition: transform .1s, box-shadow .1s;
  display: flex; align-items: center; justify-content: center;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.player-ac__btn:active, .player-ac__btn.pressed {
  transform: translateY(6px);
  box-shadow: 0 2px 0 #b03516, 0 4px 16px rgba(232,79,39,.2);
}
.player-ac__btn svg { width: 48px; height: 48px; color: rgba(255,255,255,.4); }

/* KAY Player — 3×4 grid */
.player-kay {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-12);
  max-width: 480px;
  margin-inline: auto;
  padding: var(--space-32) 0;
}
.player-kay__pad {
  aspect-ratio: 1;
  background: var(--color-green);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform .1s, background .1s;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-olive);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.player-kay__pad:active, .player-kay__pad.pressed {
  background: var(--color-olive);
  color: var(--color-white);
  transform: scale(.94);
}

/* OVE Player — 2 joysticks */
.player-ove {
  display: flex;
  gap: var(--space-64);
  justify-content: center;
  padding: var(--space-32) 0;
}
.joystick-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-12);
}
.joystick-label { font-size: 13px; font-weight: 600; color: var(--color-olive); }
.joystick-base {
  width: 160px; height: 160px;
  border-radius: 50%;
  background: var(--color-cream);
  border: 3px solid rgba(61,46,52,.1);
  position: relative;
  cursor: grab;
  display: grid;
  place-items: center;
}
.joystick-base:active { cursor: grabbing; }
.joystick-stick {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--color-dark);
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  transition: transform .1s;
  pointer-events: none;
}
.joystick-dirs {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  pointer-events: none;
}
.joystick-dir {
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; opacity: .2;
}
.joystick-dir.active { opacity: 1; }

/* TITTI Player — touchpad + joystick */
.player-titti {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-32);
  align-items: center;
  padding: var(--space-32) 0;
}
.titti-touchpad {
  background: var(--color-yellow);
  border-radius: var(--radius-lg);
  height: 200px;
  cursor: crosshair;
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.titti-cursor {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(61,46,52,.3);
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: width .1s, height .1s;
}
.titti-touchpad.pressing .titti-cursor {
  width: 48px; height: 48px;
  background: rgba(61,46,52,.5);
}

/* Sound wave visualization */
.player__wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 48px;
  margin-top: var(--space-24);
}
.wave-bar {
  width: 4px;
  background: var(--color-orange);
  border-radius: 2px;
  height: 4px;
  transition: height .1s;
}
.wave-bar.active { animation: wave .6s ease infinite; }
@keyframes wave {
  0%, 100% { height: 4px; }
  50% { height: 32px; }
}

/* Map page layout */
.map-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 900px) {
  .map-layout { grid-template-columns: 1fr; }
  .map-layout > div:first-child { max-height: 280px !important; }
  .map-layout > #map { height: 60vh !important; min-height: 360px; }
}

/* Player mobile stacking */
@media (max-width: 600px) {
  .player { padding: var(--space-24); gap: var(--space-24); }
  .player-ove {
    flex-direction: column;
    gap: var(--space-24);
    padding: var(--space-16) 0;
  }
  .player-titti {
    grid-template-columns: 1fr;
    gap: var(--space-20);
    padding: var(--space-16) 0;
  }
  .joystick-base { width: 140px; height: 140px; }
}

/* =============================================
   BLOG
   ============================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-24);
}
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.1); }
.blog-card__img {
  height: 200px;
  background: var(--color-green);
  overflow: hidden;
}
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__body { padding: var(--space-24); flex: 1; display: flex; flex-direction: column; }
.blog-card__cat {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: var(--space-8);
}
.blog-card__title { font-size: 18px; font-weight: 700; line-height: 1.3; margin-bottom: var(--space-8); }
.blog-card__excerpt { font-size: 14px; color: rgba(61,46,52,.6); flex: 1; }
.blog-card__date { font-size: 13px; color: rgba(61,46,52,.4); margin-top: var(--space-16); }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--color-dark);
  color: var(--color-white);
  padding-block: var(--space-64);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1fr 1fr 1fr;
  gap: var(--space-32);
}
@media (max-width: 1100px) { .footer__inner { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 720px)  { .footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px)  { .footer__inner { grid-template-columns: 1fr; } }
.footer__credit { font-size: 12px; color: rgba(255,255,255,.35); }
.footer__credit a { color: rgba(255,255,255,.6); text-decoration: none; transition: color .15s; }
.footer__credit a:hover { color: var(--color-orange); }
.footer__logo { font-size: 24px; font-weight: 700; color: var(--color-orange); margin-bottom: var(--space-12); }
.footer__desc { font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.7; max-width: 280px; }
.footer__col-title { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-bottom: var(--space-16); }
.footer__links { display: flex; flex-direction: column; gap: var(--space-8); }
.footer__links a { font-size: 14px; color: rgba(255,255,255,.7); transition: color .15s; }
.footer__links a:hover { color: var(--color-white); }
.footer__contact { display: flex; flex-direction: column; gap: var(--space-8); font-size: 14px; color: rgba(255,255,255,.7); align-items: flex-start; }
.footer__contact a { color: rgba(255,255,255,.7); transition: color .15s; }
.footer__contact a:hover { color: var(--color-white); }
.footer__email { background: none; border: none; padding: 0; margin: 0; font: inherit; color: rgba(255,255,255,.7); cursor: pointer; text-align: left; transition: color .15s; }
.footer__email:hover { color: var(--color-white); }
.footer__bottom {
  margin-top: var(--space-48);
  padding-top: var(--space-24);
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,.3);
  flex-wrap: wrap;
  gap: var(--space-8);
}
.footer__social { display: flex; gap: var(--space-12); }
.footer__social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.footer__social a:hover { background: var(--color-orange); }
.footer__social svg { width: 16px; height: 16px; }

/* =============================================
   CONTACT FORM
   ============================================= */
.form { display: flex; flex-direction: column; gap: var(--space-16); max-width: 560px; }
/* Submit button stretches full width inside the column flex — keep its label centered */
.form .btn { justify-content: center; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-16); }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.form__group { display: flex; flex-direction: column; gap: var(--space-8); }
.form__label { font-size: 14px; font-weight: 600; }
.form__input, .form__select, .form__textarea {
  font-family: var(--font);
  font-size: 15px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(61,46,52,.15);
  background: var(--color-white);
  color: var(--color-dark);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
.form__input:focus, .form__select:focus, .form__textarea:focus {
  border-color: var(--color-orange);
  box-shadow: 0 0 0 4px rgba(232,79,39,.10);
}
.form__textarea { min-height: 140px; resize: vertical; }

/* Custom select — strip native chrome, add chevron */
.form__select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233D2E34' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}
.form__select:focus {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23E84F27' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
}
.form__select::-ms-expand { display: none; }
.form__select option { color: var(--color-dark); }
.form__success {
  background: var(--color-green);
  color: var(--color-dark);
  border-radius: var(--radius-md);
  padding: var(--space-16) var(--space-20);
  font-weight: 600;
  display: none;
}
.form__success.visible { display: block; }

/* =============================================
   AWARDS STRIP
   ============================================= */
.awards-strip {
  display: flex;
  gap: var(--space-24);
  flex-wrap: wrap;
  align-items: center;
}
.award-pill {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  background: var(--color-white);
  border: 1.5px solid rgba(61,46,52,.1);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-dark);
}
.award-pill__icon { font-size: 16px; }

/* =============================================
   TIMELINE
   ============================================= */
.timeline {
  display: flex;
  gap: var(--space-16);
  overflow-x: auto;
  padding-bottom: var(--space-8);
  scrollbar-width: none;
}
.timeline::-webkit-scrollbar { display: none; }
.timeline-item {
  flex-shrink: 0;
  width: 200px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-white);
}
.timeline-item__img { height: 140px; background: var(--color-cream); overflow: hidden; }
.timeline-item__img img { width: 100%; height: 100%; object-fit: cover; }
.timeline-item__year {
  padding: var(--space-12) var(--space-16);
  font-size: 18px;
  font-weight: 800;
  color: var(--color-orange);
}

/* =============================================
   PARTNERS STRIP
   ============================================= */
.partners-strip {
  display: flex;
  gap: var(--space-32);
  align-items: center;
  flex-wrap: wrap;
}
.partner-logo {
  filter: grayscale(1);
  opacity: .5;
  transition: opacity .15s, filter .15s;
  height: 32px;
  object-fit: contain;
}
.partner-logo:hover { filter: none; opacity: 1; }

/* =============================================
   ADDA BANNER (reusable across pages)
   ============================================= */
.adda-banner {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #D5E6C3;
  border: 1.5px solid var(--color-green);
  border-radius: 20px;
  padding: 28px 32px;
}
.adda-banner__icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.adda-banner__icon img { max-width: 100%; max-height: 100%; object-fit: contain; }
.adda-banner__title { font-size: 17px; font-weight: 800; color: #6F7965; margin-bottom: 6px; }
.adda-banner__text  { font-size: 14px; color: rgba(61,46,52,.7); line-height: 1.6; margin-bottom: 10px; }
.adda-banner__link  { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--color-orange); text-decoration: none; }
.adda-banner__link:hover { text-decoration: underline; }
@media (max-width: 600px) {
  .adda-banner { flex-direction: column; gap: 14px; padding: 22px; }
}
/* =============================================
   NEWSLETTER INLINE
   ============================================= */
.newsletter-inline {
  display: flex;
  gap: var(--space-8);
  max-width: 420px;
}
.newsletter-inline input {
  flex: 1;
  font-family: var(--font);
  font-size: 15px;
  padding: 12px 16px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.1);
  color: var(--color-white);
  outline: none;
}
.newsletter-inline input::placeholder { color: rgba(255,255,255,.6); }
.newsletter-inline input:focus { border-color: rgba(255,255,255,.6); }

/* =============================================
   INSTRUMENT PAGE HERO
   ============================================= */
.instrument-hero {
  padding-top: var(--nav-h);
  padding-block: var(--space-80) var(--space-64);
  position: relative;
  overflow: hidden;
}
.instrument-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-64);
  align-items: center;
}
@media (max-width: 768px) {
  .instrument-hero__inner { grid-template-columns: 1fr; }
}
.instrument-hero__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .6;
  margin-bottom: var(--space-12);
}
.instrument-hero__title {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 800;
  line-height: 1;
  margin-bottom: var(--space-16);
}
.instrument-hero__tagline {
  font-size: 20px;
  font-weight: 500;
  opacity: .8;
  max-width: 440px;
  margin-bottom: var(--space-32);
}
.instrument-hero__img {
  display: flex;
  align-items: center;
  justify-content: center;
}
.instrument-hero__img img {
  max-height: 300px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.15));
}

/* =============================================
   PAGE HERO (consistent padding for all inner pages)
   ============================================= */
.page-hero {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 80px;
}
@media (max-width: 768px) {
  .page-hero {
    padding-top: calc(var(--nav-h) + 48px);
    padding-bottom: 48px;
  }
}

/* =============================================
   COMPREHENSIVE MOBILE (max 768px)
   ============================================= */
@media (max-width: 768px) {
  /* Reduce section padding */
  .section { padding-block: var(--space-64); }

  /* Collapse 2-column grids in containers to 1 */
  .container > div[style*="grid-template-columns:1fr 1fr"],
  .container > div[style*="grid-template-columns: 1fr 1fr"],
  .container > div[style*="grid-template-columns:1fr 1fr;"],
  .container > div[style*="grid-template-columns: 1fr 1fr;"] {
    grid-template-columns: 1fr !important;
    gap: var(--space-32) !important;
  }

  /* Collapse 3-column grids */
  .container > div[style*="grid-template-columns:repeat(3"],
  .container > div[style*="grid-template-columns: repeat(3"],
  .container > div[style*="grid-template-columns:repeat(2"],
  .container > div[style*="grid-template-columns: repeat(2"] {
    grid-template-columns: 1fr !important;
    gap: var(--space-16) !important;
  }

  /* Hero section on mobile */
  .hero { min-height: auto; }
  .hero__inner { padding-block: var(--space-48); }

  /* Reduce large font on mobile */
  .section__title { font-size: clamp(24px, 6vw, 40px); }

  /* Map layout */
  #map { height: 55vw !important; min-height: 280px; }

  /* Contact grid */
  .contact-grid { grid-template-columns: 1fr !important; }

  /* Buttons full width on very small */
  .hero__actions { flex-direction: column; gap: var(--space-12); }
  .hero__actions .btn { width: 100%; justify-content: center; }
}

/* Extra small (max 480px) */
@media (max-width: 480px) {
  .section { padding-block: var(--space-48); }
  .container { padding-inline: var(--space-16); }

  /* Collapse ALL grids on very small screens */
  div[style*="display:grid"],
  div[style*="display: grid"] {
    grid-template-columns: 1fr !important;
  }

  /* Map sidebar hidden on very small */
  div[style*="grid-template-columns:300px"] {
    grid-template-columns: 1fr !important;
  }
}

/* =============================================
   UTILITY
   ============================================= */
.pt-nav { padding-top: var(--nav-h); }
.text-orange { color: var(--color-orange); }
.text-white { color: var(--color-white); }
.text-center { text-align: center; }
.mt-8  { margin-top: var(--space-8); }
.mt-16 { margin-top: var(--space-16); }
.mt-24 { margin-top: var(--space-24); }
.mt-32 { margin-top: var(--space-32); }
.mt-48 { margin-top: var(--space-48); }
.mt-64 { margin-top: var(--space-64); }
.mb-16 { margin-bottom: var(--space-16); }
.mb-24 { margin-bottom: var(--space-24); }
.mb-32 { margin-bottom: var(--space-32); }
.mb-48 { margin-bottom: var(--space-48); }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8  { gap: var(--space-8); }
.gap-16 { gap: var(--space-16); }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
