@font-face {
  font-family: 'Elms Sans';
  src: url('fonts/ElmsSans-Variable.ttf') format('truetype-variations'),
       url('fonts/ElmsSans-Variable.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Elms Sans';
  src: url('fonts/ElmsSans-Italic-Variable.ttf') format('truetype-variations'),
       url('fonts/ElmsSans-Italic-Variable.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #1b1919;
  --paper: #ffffff;
  --paper-alt: #f6f5f3;
  --line: #e5e3e0;
  --accent: #ff9193;
  --accent-dark: #393b60;
  --muted: #6f6d6d;
  --font-serif: 'Elms Sans', sans-serif;
  --font-sans: 'Elms Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body { overflow-x: hidden; }

img { max-width: 100%; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-weight: 350;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
}

a { color: inherit; text-decoration: none; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--accent-dark);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

/* Nav */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.7rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { display: flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
  font-size: 0.9rem;
}

.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--accent-dark); }

.nav-cta {
  background: var(--accent-dark);
  color: var(--paper) !important;
  padding: 0.55rem 1.2rem;
  border-radius: 2px;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--ink); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--ink);
}

/* Video hero */
.hero-video {
  position: relative;
  width: 100%;
  /* taller on desktop: the footage is portrait, so a shallow hero would crop
     it to a narrow band. 92vh shows ~38% of the frame instead of ~30%.
     plain vh first so browsers without dvh still get a height */
  height: 92vh;
  height: 92dvh;
  max-height: 900px;
  overflow: hidden;
  background: var(--ink);
}

/* Hero media — real video, hardware-decoded so playback is smooth */
.hero-media {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* bias the crop upward so it lands on torso and equipment rather than
     slicing through the middle of the body */
  object-position: center 38%;
  display: block;
}

@supports (aspect-ratio: 1/1) {
  .gallery-grid img,
  .instructor-photo-main { height: auto; }
}

.hero-video-scrim {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  /* the studio shot is bright, so the wash carries more weight than before —
     otherwise the white logo and headline wash out against the white wall */
  background: linear-gradient(to bottom, rgba(20,19,19,0.42), rgba(20,19,19,0.56));
  pointer-events: none;
}

.hero-video-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
}
.hero-video-logo {
  width: min(340px, 62vw);
  height: auto;
  display: block;
  margin-bottom: 1.75rem;
  filter: drop-shadow(0 2px 18px rgba(0,0,0,0.28));
}
.hero-video-content h1 {
  color: #fff;
  font-size: clamp(2rem, 5.2vw, 4.2rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.16;
  text-shadow: 0 2px 24px rgba(0,0,0,0.30);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img { animation: none; }
}

/* Hero */
.hero {
  padding: 4.5rem 2rem 5rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
}

.hero-sub {
  max-width: 560px;
  margin: 0 auto 2.2rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  border-radius: 2px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent-dark);
  color: var(--paper);
}
.btn-primary:hover { background: var(--ink); }

.btn-ghost {
  border-color: var(--accent-dark);
}
.btn-ghost:hover { background: var(--accent-dark); color: var(--paper); }

.btn-outline {
  border-color: var(--line);
  display: block;
  text-align: center;
  margin-top: 1.5rem;
}
.btn-outline:hover { border-color: var(--accent-dark); }

/* Divider */
.divider {
  max-width: 1180px;
  margin: 0 auto;
  height: 1px;
  background: var(--line);
}

/* Sections */
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 6rem 2rem;
}
.section-alt { background: var(--paper-alt); max-width: 100%; }
.section-alt > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
.section-alt .section-head,
.section-alt .price-rows,
.section-alt .about-grid,
.section-alt .contact-grid,
.section-alt .faq-list { max-width: 1180px; margin-left: auto; margin-right: auto; padding-left: 0; padding-right: 0; }

.section-head {
  text-align: center;
  margin-bottom: 3rem;
}
.section-head h2 { font-size: 2.2rem; }

/* Pricing — horizontal rows */
.price-rows { display: flex; flex-direction: column; gap: 1rem; }

.price-row {
  display: grid;
  grid-template-columns: 1.15fr 1.35fr auto auto;
  align-items: center;
  gap: 2.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 1.75rem 2rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.price-row:hover { box-shadow: 0 10px 22px rgba(0,0,0,0.04); }
.price-row.featured { border-color: var(--accent-dark); }

.price-row-id h3 {
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.badge-inline {
  background: var(--accent);
  color: var(--accent-dark);
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.22rem 0.6rem;
  border-radius: 20px;
  white-space: nowrap;
}
.price-meta { font-size: 0.8rem; color: var(--muted); line-height: 1.45; }

.price-row-list { list-style: none; }
.price-row-list li {
  font-size: 0.86rem;
  color: var(--muted);
  padding: 0.16rem 0 0.16rem 0.95rem;
  position: relative;
}
.price-row-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.price-row-price { text-align: right; white-space: nowrap; }
.price {
  font-family: var(--font-serif);
  font-size: 2.15rem;
  line-height: 1;
}
.price-unit { font-size: 0.82rem; color: var(--muted); margin-left: 0.15rem; }

/* Single / package switch. Only one price is visible at a time, so the reader
   compares 45 EUR against 50 EUR — per lesson against per lesson — instead of
   450 EUR against 50 EUR, which just reads as expensive. */
.price-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.price-toggle-btn {
  font-family: inherit;
  font-size: 0.85rem;
  color: var(--muted);
  background: var(--paper);
  border: 0;
  padding: 0.6rem 1.15rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.price-toggle-btn + .price-toggle-btn { border-left: 1px solid var(--line); }
.price-toggle-btn:hover { color: var(--ink); }
.price-toggle-btn.is-active {
  background: var(--accent-dark);
  color: #fff;
}
.price-toggle-save {
  font-size: 0.72rem;
  color: var(--accent-dark);
  margin-left: 0.4rem;
}
.price-toggle-btn.is-active .price-toggle-save { color: var(--accent); }

/* the package figure replaces the single-lesson one in the same slot */
.price-pack { display: none; }
.price-rows.show-pack .price-single { display: none; }
.price-rows.show-pack .price-pack { display: block; }
.price-per {
  display: block;
  font-size: 0.74rem;
  color: var(--accent-dark);
  margin-top: 0.2rem;
}

.price-note {
  display: none;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 1.1rem;
}
.price-note.is-visible { display: block; }

/* reset the block/margin the outline button carries elsewhere */
.price-row-cta { display: inline-block; margin: 0; }


/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  gap: 4rem;
  align-items: start;
}
.about-copy p { color: var(--muted); margin-bottom: 1rem; }

/* the story runs as one uniform block — same font, size, weight and colour throughout */
.about-hook {
  border-left: 2px solid var(--accent);
  padding: 0.2rem 0 0.2rem 1.4rem;
  margin: 1.9rem 0;
}
/* both lines of the hook flow with the same leading as sentences inside a
   paragraph — no extra gap between them */
.about-hook p { margin-bottom: 0; }
.about-hook-line { margin-bottom: 0 !important; }
.about-cta { margin-top: 0.6rem; }

.instructor-spotlight {
  max-width: 280px;
  margin: 0 auto;
  text-align: center;
  position: sticky;
  top: 120px;
}
.instructor-photo-main {
  width: 100%;
  height: 340px;             /* fallback for browsers without aspect-ratio */
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 3px;
  margin-bottom: 1rem;
  display: block;
}
.instructor-spotlight h4 { font-size: 1.2rem; font-weight: 500; }
.instructor-spotlight p { font-size: 0.85rem; color: var(--muted); letter-spacing: 0.03em; }

/* Gallery */
.gallery-section { padding-top: 0; }

.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.tab-btn {
  background: none;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 0.5rem 1.3rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
}
.tab-btn:hover { border-color: var(--accent-dark); color: var(--accent-dark); }
.tab-btn.active {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--paper);
}
.gallery-grid img.is-hidden { display: none; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.75rem;
}
.gallery-grid img {
  width: 100%;
  height: 260px;              /* fallback for browsers without aspect-ratio */
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 3px;
  display: block;
}
.gallery-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}
.info-block { margin-bottom: 1.8rem; }
.info-block h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
  margin-bottom: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 500;
}
.info-block p { color: var(--muted); font-size: 0.95rem; }
.info-block a:hover { color: var(--accent-dark); }

.map-embed {
  width: 100%;
  min-height: 360px;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.map-embed iframe { display: block; width: 100%; height: 100%; min-height: inherit; }

/* Trust / Why us */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  text-align: center;
}
.trust-item svg {
  width: 30px;
  height: 30px;
  color: var(--accent-dark);
  margin-bottom: 1.1rem;
}
.trust-item h4 { font-size: 1rem; font-weight: 500; margin-bottom: 0.5rem; }
.trust-item p { font-size: 0.85rem; color: var(--muted); }

.trust-cta { text-align: center; margin-top: 3rem; }
.trust-cta p { font-size: 0.82rem; color: var(--muted); margin-top: 0.85rem; }

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  padding: 1.3rem 0;
  cursor: pointer;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent-dark);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--accent-dark); }
.faq-item p {
  color: var(--muted);
  font-size: 0.92rem;
  padding-bottom: 1.4rem;
  max-width: 620px;
}

/* Footer */
.footer {
  background: var(--paper-alt);
  color: var(--ink);
  /* the BASI mark now closes the footer, so it needs room under it */
  padding: 3.5rem 2rem 2.75rem;
  border-top: 1px solid var(--line);
}
.footer-top {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.5fr 1.1fr;
  gap: 2.5rem;
}
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-dark);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.55rem; font-size: 0.85rem; color: var(--muted); line-height: 1.5; }
.footer-col a { color: var(--muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--accent-dark); }
.footer-col li span {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0.1rem 0.3rem;
  margin-left: 0.35rem;
  white-space: nowrap;
}

.footer-logo { height: 46px; width: auto; display: block; margin-bottom: 0.9rem; }
.footer-tag {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  line-height: 1.6;
  margin-bottom: 1.1rem;
}
.footer-social { display: flex; align-items: center; gap: 0.9rem; }
.footer-social a { color: var(--muted); transition: color 0.2s; }
.footer-social a:hover { color: var(--accent-dark); }
.footer-social svg { width: 19px; height: 19px; display: block; }

/* BASI certification mark — now the last element in the footer */
.footer-cert {
  max-width: 1180px;
  margin: 2.75rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  text-align: center;
}
.footer-cert-logo {
  width: 110px;
  height: auto;
  display: block;
  margin: 0 auto 0.7rem;
  opacity: 0.75;
}
.footer-cert p {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Responsive ---------- */

/* Tablet — landscape & large portrait */
@media (max-width: 1024px) {
  .section { padding: 4.5rem 1.75rem; }
  .hero { padding: 5rem 1.75rem 4rem; }
  .nav { padding: 0.6rem 1.75rem; }
  .logo img { height: 60px; }
  .nav-links { gap: 1.5rem; font-size: 0.85rem; }

  .about-grid { gap: 3rem; }
  .contact-grid { gap: 2.5rem; }
  .footer-top { gap: 1.75rem; }
  .price-row { grid-template-columns: 1fr 1.1fr auto auto; gap: 1.5rem; padding: 1.5rem; }
  .price-row-list li { font-size: 0.82rem; }
  .trust-grid { grid-template-columns: repeat(4, 1fr); gap: 1.75rem; }
  .gallery-grid,
  .gallery-grid-4 { grid-template-columns: repeat(3, 1fr); }
  .map-embed { min-height: 320px; }

  .hero-video { height: 86vh; height: 86dvh; max-height: 800px; }
}

/* Mobile — phones & small tablets */
@media (max-width: 860px) {
  .nav { padding: 0.5rem 1.25rem; }
  .logo img { height: 52px; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 1.5rem 1.75rem;
    gap: 1.1rem;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 20px rgba(0,0,0,0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-links li { width: 100%; }
  .nav-cta { display: inline-block; margin-top: 0.3rem; }
  .nav-toggle { display: flex; padding: 0.5rem; margin: -0.5rem; }

  .section { padding: 3.5rem 1.25rem; }
  .hero { padding: 2.75rem 1.25rem 3rem; }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); }

  .hero-video { height: 64vh; height: 64dvh; max-height: 560px; }
  .hero-video-logo { width: min(280px, 62vw); margin-bottom: 1.4rem; }
  .hero-sub { font-size: 1rem; }
  .section-head { margin-bottom: 2.25rem; }
  .section-head h2 { font-size: 1.8rem; }

  /* price rows stack into blocks on small screens */
  /* the toggle spans the full width and splits evenly so both halves stay tappable */
  .price-toggle { display: flex; width: 100%; }
  .price-toggle-btn { flex: 1; padding: 0.6rem 0.5rem; font-size: 0.8rem; white-space: normal; }
  .price-toggle-save { display: block; margin-left: 0; margin-top: 0.15rem; font-size: 0.68rem; }

  .price-row {
    grid-template-columns: 1fr auto;
    gap: 1rem 1.25rem;
    padding: 1.5rem 1.25rem;
  }
  .price-row-id { grid-column: 1; }
  .price-row-price { grid-column: 2; grid-row: 1; align-self: start; }
  .price-row-list { grid-column: 1 / -1; }
  .price-row-cta { grid-column: 1 / -1; text-align: center; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  /* portrait first on mobile — face before the long read */
  .instructor-spotlight { max-width: 240px; position: static; order: -1; }
  .about-hook { margin: 1.5rem 0; padding-left: 1.1rem; }
  .about-cta { display: block; text-align: center; }

  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 2.2rem; }
  .map-embed { min-height: 280px; }

  .footer { padding: 2.5rem 1.25rem 1.5rem; }
  .footer-top { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
  .footer-col-brand { grid-column: 1 / -1; }
}

/* Large phones / small tablets */
@media (max-width: 620px) {
  .gallery-grid,
  .gallery-grid-4 { grid-template-columns: repeat(2, 1fr); }

  /* Single clip on phones — portrait 9:16 fills the frame naturally */
  .hero-video { height: 78vh; height: 78dvh; max-height: 640px; }
}

/* Small phones */
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .btn { padding: 0.9rem 1.4rem; }

  .gallery-grid,
  .gallery-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .trust-grid { grid-template-columns: 1fr; gap: 2rem; }
  .gallery-tabs { gap: 0.4rem; }
  .tab-btn { padding: 0.45rem 1rem; font-size: 0.78rem; }

  .faq-item summary { font-size: 0.98rem; }
  .map-embed { min-height: 240px; }
  .hero-video-logo { width: min(230px, 68vw); margin-bottom: 1.2rem; }
  .footer-top { grid-template-columns: 1fr; gap: 1.75rem; }
}

/* Phones in landscape — very short viewports would clip the hero */
@media (max-height: 520px) and (orientation: landscape) {
  .hero-video { height: 94vh; height: 94dvh; max-height: none; }
  .hero-video-content { padding: 1.25rem 1rem; }
  .hero-video-logo { width: min(190px, 26vw); margin-bottom: 0.75rem; }
  .hero-video-content h1 { font-size: clamp(1.3rem, 3.4vw, 1.9rem); }
  .nav-links { max-height: 78vh; overflow-y: auto; }
}

/* Comfortable tap targets on touch devices */
@media (hover: none) and (pointer: coarse) {
  .tab-btn { min-height: 44px; padding-inline: 1.15rem; }
  .nav-links a { display: inline-block; padding: 0.35rem 0; }
  .footer-social a { padding: 0.4rem; margin: -0.4rem; }
  .price-row:hover { box-shadow: none; }
}
