/* ===========================================================
   Yagoda Studio — natural, earthy yoga studio theme
   Palette: olive, sage, cream, forest, warm terracotta accent
   =========================================================== */

:root {
  --olive:      #6b7250;
  --olive-dark: #545b3e;
  --sage:       #a3b18a;
  --sage-soft:  #c6cfb4;
  --forest:     #3a4a3f;
  --cream:      #f4f1ea;
  --cream-deep: #ebe6d9;
  --sand:       #e3dccb;
  --terracotta: #c08457;
  --ink:        #2f332b;
  --muted:      #6c6f63;
  --white:      #fffdf8;

  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans:  "Mulish", "Helvetica Neue", Arial, sans-serif;

  --radius: 14px;
  --radius-lg: 24px;
  --shadow-soft: 0 18px 50px -24px rgba(58, 74, 63, 0.45);
  --shadow-card: 0 10px 30px -18px rgba(58, 74, 63, 0.4);
  --maxw: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* guard against off-canvas accents causing horizontal scroll */
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.1;
  color: var(--forest);
  margin: 0 0 0.4em;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }

p { margin: 0 0 1rem; }

a { color: var(--olive-dark); text-decoration: none; transition: color 0.25s var(--ease); }
a:hover { color: var(--terracotta); }

img { max-width: 100%; display: block; }

.container { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--terracotta);
  margin: 0 0 0.9rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
              color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--olive); color: var(--white); }
.btn-primary:hover { background: var(--olive-dark); color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-ghost:hover { background: rgba(255,255,255,0.14); color: var(--white); }
.btn-block { width: 100%; text-align: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 241, 234, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(107, 114, 80, 0.12);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}
.brand { display: flex; align-items: center; gap: 0.6rem; color: var(--forest); }
.brand-mark { color: var(--olive); display: inline-flex; }
.brand-text { font-family: var(--font-serif); font-size: 1.55rem; font-weight: 600; line-height: 1; }
.brand-sub { font-style: italic; font-weight: 400; color: var(--olive); margin-left: 2px; }

.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.9rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  color: var(--forest);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.nav-menu a:hover { color: var(--terracotta); }
.nav-cta {
  background: var(--olive);
  color: var(--white) !important;
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--olive-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--forest);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  min-height: 92svh; /* stable height on mobile browsers (ignores collapsing toolbars) */
  display: flex;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(58,74,63,0.15), rgba(58,74,63,0.55)),
    radial-gradient(120% 120% at 70% 10%, #8a9470 0%, #6b7250 35%, #4a5340 70%, #3a4a3f 100%);
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(closest-side, rgba(255,255,255,0.10), transparent 70%),
    radial-gradient(closest-side, rgba(255,255,255,0.08), transparent 70%);
  background-size: 55% 55%, 40% 40%;
  background-position: 85% 20%, 10% 80%;
  background-repeat: no-repeat;
  opacity: 0.9;
}
.hero-content { position: relative; max-width: 720px; padding: 6rem 0; }
.hero .eyebrow { color: var(--sage-soft); }
.hero h1 { color: var(--white); }
.hero-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  max-width: 34rem;
  color: rgba(255,255,255,0.92);
  margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.scroll-cue {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 999px;
}
.scroll-cue span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  80%, 100% { opacity: 0; transform: translateY(14px); }
}

/* ---------- Strip ---------- */
.strip { background: var(--cream-deep); padding: 3.5rem 0; }
.strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}
.strip-item h3 { color: var(--olive-dark); margin-bottom: 0.3rem; }
.strip-item p { color: var(--muted); margin: 0; }

/* ---------- Sections ---------- */
section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 3rem; }
.section-sub { color: var(--muted); font-size: 1.05rem; }

/* ---------- About ---------- */
.about { background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}
.about-media { position: relative; }
.media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.media-placeholder {
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  background:
    linear-gradient(135deg, rgba(58,74,63,0.25), rgba(107,114,80,0.15)),
    repeating-linear-gradient(45deg, #8a9470 0 22px, #7f8a67 22px 44px);
}
.leaf-accent {
  position: absolute;
  bottom: -22px; left: -22px;
  width: 110px; height: 110px;
  background: var(--sage);
  border-radius: 60% 40% 55% 45% / 55% 50% 50% 45%;
  opacity: 0.55;
  z-index: -1;
}
.signature { font-family: var(--font-serif); font-style: italic; font-size: 1.25rem; color: var(--olive-dark); margin-top: 1.4rem; }
.contact-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--olive-dark);
  margin: 1.2rem 0 0.4rem;
  padding-left: 1rem;
  border-left: 3px solid var(--sage);
}
.media-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
/* Logo graphic: show the full square artwork without cropping */
.media-img.is-logo {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--cream, #faf4e8);
}

/* ---------- Meet Agnieszka ---------- */
.meet { background: var(--cream-deep); }
.meet-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}
.meet-portrait { position: relative; }
.meet-portrait .media-frame { position: sticky; top: 100px; }
.meet-text p { margin-bottom: 1rem; color: var(--ink); }
.meet-text .eyebrow { color: var(--terracotta); }
.meet-text .signature { display: block; }
.meet-quote {
  position: relative;
  margin: 3.5rem auto 0;
  max-width: 1120px;
  min-height: 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-soft);
  background: var(--forest);
}
.meet-quote-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}
.meet-quote figcaption {
  position: relative;
  z-index: 1;
  padding: 3rem 1.5rem;
  text-align: center;
}
.meet-quote blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-style: italic;
  line-height: 1.3;
  color: var(--white);
  max-width: 16ch;
}
.meet-quote.no-img { background: linear-gradient(135deg, var(--forest), var(--olive)); }

/* ---------- Gallery ---------- */
.gallery { background: var(--cream); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}
.gallery-item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--cream-deep);
  aspect-ratio: 1 / 1;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item.is-empty { display: none; }

/* ---------- Yoga Retreat ---------- */
.retreat { background: var(--cream-deep); }
.retreat-intro {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}
.retreat-intro p { color: var(--ink); font-size: 1.05rem; }
.retreat-intro .retreat-note {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--olive-dark);
  margin-top: 1.4rem;
  margin-bottom: 0;
}
/* Retreat gallery: 6 images in a 3-up grid on desktop */
.retreat-gallery { grid-template-columns: repeat(3, 1fr); }

/* ---------- Classes ---------- */
.classes { background: var(--cream-deep); }
.class-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.class-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(107,114,80,0.08);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.class-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px -22px rgba(58,74,63,0.5);
}
.class-icon {
  font-size: 1.8rem;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--cream);
  border-radius: 50%;
  margin-bottom: 1rem;
}
.class-card h3 { color: var(--olive-dark); margin-bottom: 0.5rem; }
.class-card p { color: var(--muted); font-size: 0.97rem; }
.class-meta {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
}

/* ---------- Schedule ---------- */
.schedule { background: var(--forest); color: var(--cream); }
.schedule .eyebrow { color: var(--sage-soft); }
.schedule h2 { color: var(--white); }
.schedule .section-sub { color: rgba(244,241,234,0.75); }
.schedule-table {
  max-width: 820px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
}
.schedule-row {
  display: grid;
  grid-template-columns: 1fr 2fr 2fr;
  align-items: center;
  padding: 1rem 1.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.schedule-row:last-child { border-bottom: none; }
.schedule-row span:first-child { font-weight: 600; color: var(--sage-soft); }
.schedule-head {
  background: rgba(255,255,255,0.06);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  font-weight: 600;
}
.schedule-head span { color: var(--white) !important; }
.schedule-note { text-align: center; margin-top: 1.6rem; color: rgba(244,241,234,0.75); font-style: italic; }

/* ---------- Pricing ---------- */
.pricing { background: var(--cream); }
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.price-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.1rem 1.8rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(107,114,80,0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px -22px rgba(58,74,63,0.5);
}
.price-card--feature {
  border-color: var(--sage);
  box-shadow: 0 18px 40px -24px rgba(58,74,63,0.45);
}
.price-badge {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--terracotta);
  color: var(--white);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
}
.price-card h3 { color: var(--olive-dark); margin-bottom: 0.8rem; }
.price-amount {
  margin: 0 0 0.9rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}
.price-figure {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--forest);
  line-height: 1;
}
.price-period { font-size: 0.95rem; color: var(--muted); }
.price-note { color: var(--muted); font-size: 0.95rem; margin-top: auto; }
.price-private {
  text-align: center;
  margin-top: 2.5rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  color: var(--ink);
  font-weight: 500;
}
.price-disclaimer {
  text-align: center;
  margin-top: 1rem;
  color: var(--muted);
  font-style: italic;
}

/* ---------- Testimonials ---------- */
.testimonials { background: var(--cream); }
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.quote {
  background: var(--white);
  margin: 0;
  padding: 2rem 1.8rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border-left: 3px solid var(--sage);
}
.quote p { font-family: var(--font-serif); font-size: 1.3rem; font-style: italic; color: var(--forest); line-height: 1.4; }
.quote cite { display: block; margin-top: 1rem; font-style: normal; font-weight: 600; color: var(--olive-dark); }

/* ---------- Contact ---------- */
.contact { background: var(--cream-deep); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
.contact-list { list-style: none; padding: 0; margin: 1.8rem 0 0; }
.contact-list li { display: flex; flex-direction: column; margin-bottom: 1.1rem; }
.contact-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--terracotta);
  margin-bottom: 2px;
}
.contact-form {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  color: var(--forest);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid rgba(107,114,80,0.2);
  border-radius: 10px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(107,114,80,0.15);
}
.field textarea { resize: vertical; }
.form-note { text-align: center; font-size: 0.8rem; color: var(--muted); margin: 0.9rem 0 0; }
.contact-cta {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.4rem;
}
.contact-cta p { margin: 0; color: var(--ink); }

/* ---- Waiver block (inside the contact CTA card) ---- */
.waiver-block {
  margin-top: 0.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(107,114,80,0.15);
}
.waiver-text { font-size: 0.95rem; color: var(--muted); margin-bottom: 1rem !important; }
/* Override the hero-style ghost button so it's readable on the light card */
.waiver-btn {
  color: var(--olive-dark);
  border-color: var(--olive);
}
.waiver-btn:hover {
  background: var(--olive);
  color: var(--white);
  border-color: var(--olive);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--forest); color: var(--cream); padding: 3rem 0 1.5rem; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand .brand-text { color: var(--white); }
.footer-brand .brand-sub { color: var(--sage-soft); }
.footer-brand p { color: rgba(244,241,234,0.7); margin: 0.4rem 0 0; font-style: italic; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-nav a { color: rgba(244,241,234,0.85); font-size: 0.9rem; }
.footer-nav a:hover { color: var(--sage-soft); }
.footer-bottom { text-align: center; padding-top: 1.4rem; }
.footer-bottom p { margin: 0; font-size: 0.82rem; color: rgba(244,241,234,0.6); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-grid, .contact-grid, .meet-grid { grid-template-columns: 1fr; }
  .class-grid, .quote-grid, .price-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid, .retreat-gallery { grid-template-columns: repeat(3, 1fr); }
  .about-media, .meet-portrait { max-width: 420px; }
  .meet-portrait .media-frame { position: static; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; z-index: 60; }
  .nav-menu {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78%, 320px);
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
    padding: 6rem 2rem 2rem;
    background: var(--cream);
    box-shadow: -20px 0 50px -30px rgba(0,0,0,0.5);
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
  }
  .nav-menu.open { transform: translateX(0); }
  .strip-grid, .class-grid, .quote-grid, .price-grid { grid-template-columns: 1fr; }
  .gallery-grid, .retreat-gallery { grid-template-columns: repeat(2, 1fr); }
  .strip-grid { gap: 1.6rem; }

  /* Larger, easier tap targets for nav links in the slide-out menu */
  .nav-menu a { font-size: 1.05rem; padding: 0.35rem 0; }
  .nav-cta { padding: 0.7rem 1.4rem; }

  /* Hero: full-width stacked buttons are easier to tap with a thumb */
  .hero-content { padding: 4.5rem 0; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; text-align: center; padding: 0.95rem 1.6rem; }

  /* Comfortable minimum tap height on all buttons */
  .btn { min-height: 44px; }

  /* Keep the decorative leaf from pushing the layout sideways */
  .leaf-accent { left: auto; right: -10px; width: 80px; height: 80px; }

  /* Gallery hover has no meaning on touch — keep images steady */
  .gallery-item:hover img { transform: none; }

  /* Testimonials read better at a slightly smaller serif size on phones */
  .quote p { font-size: 1.15rem; }
  .quote { padding: 1.6rem 1.4rem; }

  .schedule-table { border: none; }
  .schedule-head { display: none; }
  .schedule-row {
    grid-template-columns: 1fr;
    gap: 0.3rem;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    margin-bottom: 0.8rem;
    border: 1px solid rgba(255,255,255,0.1);
  }
  .schedule-row span { display: flex; justify-content: space-between; }
  .schedule-row span[data-label]::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--sage-soft);
    margin-right: 1rem;
  }
  .schedule-row span:first-child::before { content: ""; }
}

/* ---- Small phones ---- */
@media (max-width: 480px) {
  /* Reclaim horizontal space — the default 2.5rem gutter is a lot on a phone */
  .container { width: min(100% - 2rem, var(--maxw)); }

  /* Tighten vertical rhythm so sections don't feel endlessly long */
  section { padding: 3rem 0; }
  .section-head { margin-bottom: 2rem; }

  /* Two-up gallery is a nicer, larger-image layout than cramped columns */
  .gallery-grid, .retreat-gallery { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }

  /* Give cards a touch more room to breathe */
  .class-card, .price-card { padding: 1.7rem 1.4rem; }
  .contact-form, .contact-cta { padding: 1.6rem 1.3rem; }

  /* Brand mark scales down so the header doesn't feel crowded */
  .brand-text { font-size: 1.35rem; }

  /* Prevent iOS from zooming when a form field is focused (needs >=16px) */
  .field input, .field select, .field textarea { font-size: 16px; }

  /* Headline sizing already uses clamp(); nudge lead text for readability */
  .hero-lead { font-size: 1.05rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue span { animation: none; }
}

/* ---------- Language switch (sliding pill toggle) ---------- */
.lang-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 3px;
  background: rgba(107, 114, 80, 0.12);
  border: 1px solid rgba(107, 114, 80, 0.18);
  border-radius: 999px;
}
.lang-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  transition: color 0.25s var(--ease);
}
.lang-flag { font-size: 0.95rem; line-height: 1; }
.lang-btn:hover { color: var(--olive-dark); }
.lang-btn.is-active { color: var(--forest); }

/* The sliding "thumb" that sits behind the active button */
.lang-thumb {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  background: var(--white);
  border-radius: 999px;
  box-shadow: 0 2px 8px -3px rgba(58, 74, 63, 0.5);
  transition: transform 0.3s var(--ease);
  z-index: 0;
}
/* When Polish is active, slide the thumb to the right half */
.lang-switch.pl-active .lang-thumb { transform: translateX(100%); }

/* On desktop, nudge the switch away from the CTA for breathing room */
@media (min-width: 721px) {
  .nav-menu .lang-switch { margin-left: 0.4rem; }
}

/* The mobile-only language switch lives in the header bar (next to the
   hamburger) so language is always reachable without opening the menu.
   It is hidden on desktop, where the in-menu switch is used instead. */
.lang-switch--mobile { display: none; }
@media (max-width: 720px) {
  .lang-switch--mobile {
    display: inline-flex;
    margin-right: 0.75rem;
  }
  /* Avoid a duplicate switch inside the open slide-out menu on mobile */
  .nav-menu .lang-switch { display: none; }
}
