/* ==========================================================================
   MEET & MOVE STUDIO — styles.css

   Colour scheme and typography follow rootsphysio.fi:
   Poppins (500 for headings, 300 for body text) and a monochrome palette.
   Change the variables in :root below to retune the whole site.
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --c-white:  #ffffff;
  --c-black:  #000000;
  --c-light:  #f5f5f5;   /* light section background        */
  --c-line:   #d9d9d9;   /* borders and dividers            */
  --c-grey:   #6e6e6e;   /* footer background               */
  --c-muted:  #6b6b6b;   /* secondary text                  */
  --c-field:  #fafafa;   /* form field fill                 */

  --font: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;

  --container: 1240px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --radius: 6px;
  --radius-lg: 16px;
  --header-h: 84px;

  --ease: cubic-bezier(.2, .65, .2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) - 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: var(--fw-light);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--c-black);
  background: var(--c-white);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.nav-open { overflow: hidden; }

h1, h2, h3, h4 {
  font-weight: var(--fw-medium);
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 1.25rem;
}
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); }

p { margin: 0 0 1.25rem; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
ul[role="list"] { list-style: none; margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
address { font-style: normal; }

::selection { background: var(--c-black); color: var(--c-white); }
.section--dark ::selection { background: var(--c-white); color: var(--c-black); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.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;
}
.skip-link {
  position: absolute; top: -100px; left: 1rem; z-index: 100;
  padding: .75rem 1rem; border-radius: var(--radius);
  background: var(--c-black); color: var(--c-white);
}
.skip-link:focus { top: 1rem; }

/* ---------- 3. Layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.narrow { max-width: 760px; text-align: center; }
.narrow .eyebrow { justify-content: center; }

.section { padding: var(--section) 0; }
.section--light { background: var(--c-light); }
.section--dark { background: var(--c-black); color: var(--c-white); }
.section-head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }

.grid-2 { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (min-width: 900px) {
  .grid-2 { grid-template-columns: 5fr 7fr; }
  .grid-2--tight { grid-template-columns: 1fr 1fr; }
  .sticky { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

/* ---------- 4. Typography helpers ---------- */
.eyebrow {
  display: flex; align-items: center; gap: .75rem;
  margin: 0 0 1.25rem;
  font-size: .72rem; font-weight: var(--fw-medium);
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--c-muted);
}
.eyebrow::before { content: ""; flex: 0 0 2rem; height: 1px; background: currentColor; }
.section--dark .eyebrow { color: rgba(255, 255, 255, .7); }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: var(--fw-regular); line-height: 1.65; }
.amp { font-weight: var(--fw-light); }

.text-link {
  position: relative; display: inline-flex; align-items: center; gap: .4rem;
  padding-bottom: 2px;
  font-size: .9rem; font-weight: var(--fw-medium); text-decoration: none;
}
.text-link::before, .text-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor;
}
.text-link::before { opacity: .3; }
.text-link::after { transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.text-link:hover::after, .text-link:focus-visible::after { transform: scaleX(1); transform-origin: left; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 1.05rem 2rem;
  border: 1px solid var(--c-black); border-radius: var(--radius);
  background: var(--c-black); color: var(--c-white);
  font-size: .78rem; font-weight: var(--fw-medium); letter-spacing: .12em; text-transform: uppercase;
  line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .5); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .6; cursor: default; transform: none; box-shadow: none; }
.btn--sm { padding: .8rem 1.4rem; }
.btn--ghost { background: transparent; color: var(--c-black); }
.btn--ghost:hover { background: var(--c-black); color: var(--c-white); }
.btn--outline-white { background: transparent; color: var(--c-white); border-color: rgba(255, 255, 255, .7); }
.btn--outline-white:hover { background: var(--c-white); color: var(--c-black); border-color: var(--c-white); box-shadow: none; }
.section--dark .btn { background: var(--c-white); color: var(--c-black); border-color: var(--c-white); }
.section--dark .btn:hover { box-shadow: 0 14px 28px -14px rgba(255, 255, 255, .45); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; }
.actions--center { justify-content: center; }

/* ---------- 6. Header & navigation ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: var(--header-h); display: flex; align-items: center;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.site-header.is-scrolled {
  height: 68px;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--c-line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.brand {
  font-size: .85rem; font-weight: var(--fw-medium); letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
}
.brand-studio { font-weight: var(--fw-light); }

.nav-list { display: flex; align-items: center; gap: 2.25rem; }
.nav-list a:not(.btn) {
  position: relative; padding: .25rem 0;
  font-size: .95rem; font-weight: var(--fw-light); text-decoration: none;
}
.nav-list a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav-list a:not(.btn):hover::after, .nav-list a:not(.btn):focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: none; }
.nav-toggle { display: none; }

@media (max-width: 899px) {
  .header-cta { display: none; }
  .brand, .nav-toggle { position: relative; z-index: 56; } /* keep logo and close button above the menu overlay */
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; padding: 0; margin-right: -8px;
    background: none; border: 0; cursor: pointer;
  }
  .nav-toggle-bar {
    display: block; width: 24px; height: 1.5px; margin-inline: auto; background: currentColor;
    transition: transform .35s var(--ease);
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child { transform: translateY(-3.75px) rotate(-45deg); }

  .nav {
    position: fixed; inset: 0; z-index: 55;
    display: flex; align-items: center;
    padding: var(--header-h) var(--gutter) 3rem;
    background: var(--c-white);
    visibility: hidden; opacity: 0;
    transition: opacity .4s var(--ease), visibility 0s .4s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transition: opacity .4s var(--ease), visibility 0s; }
  .nav-list { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .nav-list a:not(.btn) { font-size: clamp(1.75rem, 7vw, 2.5rem); font-weight: var(--fw-medium); letter-spacing: -.01em; }
  .nav-list li { opacity: 0; transform: translateY(16px); transition: transform .5s var(--ease), opacity .5s; }
  .nav.is-open li { opacity: 1; transform: none; }
  .nav.is-open li:nth-child(1) { transition-delay: .08s; }
  .nav.is-open li:nth-child(2) { transition-delay: .14s; }
  .nav.is-open li:nth-child(3) { transition-delay: .20s; }
  .nav.is-open li:nth-child(4) { transition-delay: .26s; }
  .nav.is-open li:nth-child(5) { transition-delay: .32s; }
  .nav-cta { display: block; margin-top: 1rem; }
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + clamp(1.5rem, 4vw, 3rem)) 0 clamp(4rem, 8vw, 5rem);
  background: var(--c-light);
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  transform: translate3d(calc(var(--mx, 0) * 40px), calc(var(--my, 0) * 40px), 0);
  transition: transform 1.2s var(--ease);
}
.hero-blob { position: absolute; border-radius: 50%; will-change: transform; }
.hero-blob--1 {
  width: 75vmax; height: 75vmax; left: -28vmax; top: -32vmax;
  background: radial-gradient(circle, #fff 0%, rgba(255, 255, 255, .9) 28%, rgba(255, 255, 255, 0) 66%);
  animation: blob-a 30s ease-in-out infinite alternate;
}
.hero-blob--2 {
  width: 60vmax; height: 60vmax; right: -24vmax; top: -12vmax;
  background: radial-gradient(circle, #dadada 0%, rgba(218, 218, 218, .75) 25%, rgba(218, 218, 218, 0) 66%);
  animation: blob-b 38s ease-in-out infinite alternate;
}
.hero-blob--3 {
  width: 55vmax; height: 55vmax; left: 18vw; bottom: -34vmax;
  background: radial-gradient(circle, #fff 0%, rgba(255, 255, 255, .8) 25%, rgba(255, 255, 255, 0) 66%);
  animation: blob-c 34s ease-in-out infinite alternate;
}
@keyframes blob-a { to { transform: translate(14vw, 10vh) scale(1.12); } }
@keyframes blob-b { to { transform: translate(-12vw, 16vh) scale(.92); } }
@keyframes blob-c { to { transform: translate(-16vw, -12vh) scale(1.15); } }

.hero-inner { position: relative; }

.badge {
  display: inline-flex; align-items: center; gap: .6rem;
  margin: 0 0 clamp(1.25rem, 2.5vw, 2rem);
  padding: .45rem .95rem .45rem .8rem;
  border: 1px solid rgba(0, 0, 0, .18); border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  font-size: .72rem; font-weight: var(--fw-medium); letter-spacing: .14em; text-transform: uppercase;
}
.badge-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--c-black); }
.badge-dot::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--c-black);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(.4); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }

.hero-title {
  margin: 0;
  font-size: clamp(2.75rem, 10vw, 8.5rem);
  line-height: .95; letter-spacing: -.025em; text-transform: uppercase;
}
.hero-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-line > span { display: block; }
.hero-line--light { font-weight: var(--fw-light); }

.hero-by {
  display: flex; align-items: center; gap: 1rem;
  margin: clamp(1rem, 2vw, 1.25rem) 0 0;
  font-style: italic; font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--c-muted);
}
.hero-by::before { content: ""; width: 3rem; height: 1px; background: currentColor; }

.hero-grid {
  display: grid; gap: 2rem 5rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid rgba(0, 0, 0, .14);
}
@media (min-width: 900px) { .hero-grid { grid-template-columns: 5fr 7fr; } }
.hero-lead {
  max-width: 18ch;
  font-size: clamp(1.3rem, 2.2vw, 1.85rem); font-weight: var(--fw-medium);
  line-height: 1.25; letter-spacing: -.01em;
}
.hero-col p:not(.hero-lead) { max-width: 52ch; }
.hero .actions { margin-top: 1.5rem; }

.scroll-cue {
  position: absolute; left: max(var(--gutter), (100% - var(--container)) / 2); bottom: 1.5rem;
  width: 1px; height: 64px; overflow: hidden;
  background: rgba(0, 0, 0, .14);
}
.scroll-cue::after {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 45%; background: var(--c-black);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue { 0% { transform: translateY(-110%); } 100% { transform: translateY(240%); } }
@media (max-width: 899px) { .scroll-cue { display: none; } }

/* Hero entrance (only when JavaScript is available) */
.js .hero-line > span { transform: translateY(110%); animation: rise 1.1s var(--ease) forwards; }
.js .hero-line--light > span { animation-delay: .12s; }
.js .hero-badge, .js .hero-by, .js .hero-grid { opacity: 0; animation: fade-up 1s var(--ease) forwards; }
.js .hero-badge { animation-delay: .05s; }
.js .hero-by { animation-delay: .45s; }
.js .hero-grid { animation-delay: .6s; }
@keyframes rise { to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- 8. Marquee strip ---------- */
.marquee { overflow: hidden; padding: 1.1rem 0; background: var(--c-black); color: var(--c-white); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee-group { display: flex; flex-shrink: 0; }
.marquee-group span {
  display: flex; align-items: center; padding-right: 3rem;
  font-size: .74rem; font-weight: var(--fw-medium); letter-spacing: .24em; text-transform: uppercase; white-space: nowrap;
}
.marquee-group span::after {
  content: ""; width: 5px; height: 5px; margin-left: 3rem; border-radius: 50%; background: currentColor; opacity: .55;
}
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- 9. Facts strip ---------- */
.facts {
  display: grid; grid-template-columns: repeat(2, 1fr);
  margin: clamp(3rem, 6vw, 5rem) 0 0; padding: 0;
  border-top: 1px solid var(--c-line);
}
.fact { padding: 1.5rem 1.5rem 1.5rem 0; border-bottom: 1px solid var(--c-line); }
.fact:nth-child(even) { padding-left: 1.5rem; border-left: 1px solid var(--c-line); }
.fact dt {
  margin-bottom: .35rem;
  font-size: .7rem; font-weight: var(--fw-medium); letter-spacing: .18em; text-transform: uppercase; color: var(--c-muted);
}
.fact dd { margin: 0; font-size: 1.15rem; font-weight: var(--fw-medium); line-height: 1.3; }
@media (min-width: 720px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .fact:nth-child(even) { padding-left: 0; border-left: 0; }
  .fact + .fact { padding-left: 1.5rem; border-left: 1px solid var(--c-line); }
}

/* ---------- 10. Instructor card ---------- */
.person {
  display: flex; align-items: center; gap: 1.25rem;
  margin-top: 2rem; padding-top: 1.75rem; border-top: 1px solid var(--c-line);
}
.person-avatar {
  flex: 0 0 auto; width: 96px; height: 96px; border-radius: 50%;
  object-fit: cover;
  background: var(--c-white); border: 1px solid var(--c-line);
}
div.person-avatar { /* fallback when initials are used instead of a photo */
  display: grid; place-items: center;
  font-size: 1rem; font-weight: var(--fw-medium); letter-spacing: .06em;
}
@media (max-width: 899px) { .person-avatar { width: 80px; height: 80px; } }

/* ---------- 10b. Full-width photo band ---------- */
.photo-band { margin: 0; overflow: hidden; background: #141414; }
.photo-band img {
  width: 100%; height: clamp(20rem, 62vh, 46rem);
  object-fit: cover; object-position: 85% 50%;   /* keeps the subject in frame on narrow screens */
}
@media (min-width: 900px) { .photo-band img { object-position: 50% 50%; } }
/* Reveal: the band fades in while the picture settles from a slight zoom */
.js .photo-band.reveal { translate: none; }
.js .photo-band img { transform: scale(1.06); transition: transform 1.8s var(--ease); }
.js .photo-band.is-visible img { transform: none; }
.person-name { margin: 0; font-weight: var(--fw-medium); line-height: 1.3; }
.person-role { margin: 0; font-size: .9rem; color: var(--c-muted); }

/* ---------- 11. Classes ---------- */
.barre-info {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line);
}
.barre-info h3 { margin: 0; }

/* Stacked class cards: each card sticks below the header and the next one slides over it.
   script.js sets --p (0 to 1) on a card as the next card covers it, which shrinks and dims it. */
.section--stack { padding-bottom: clamp(2rem, 5vw, 4rem); }
.stack {
  --stack-top: calc(var(--header-h) + .5rem);
  --stack-offset: .75rem;
  display: grid; gap: 1.25rem;
  padding-bottom: 18vh;
}
.stack-card {
  --i: 0; --p: 0;
  position: sticky; top: calc(var(--stack-top) + var(--i) * var(--stack-offset));
  display: grid; gap: 1.5rem;
  padding: clamp(1.5rem, 3.5vw, 3rem);
  border-radius: var(--radius-lg);
  background: var(--c-light);
  box-shadow: 0 -12px 36px -22px rgba(0, 0, 0, .3);
  transform: scale(calc(1 - var(--p) * .06)); transform-origin: 50% 0;
}
.stack-card:nth-child(2) { --i: 1; }
.stack-card:nth-child(3) { --i: 2; }
.stack-card:nth-child(4) { --i: 3; }
.stack-card:nth-child(5) { --i: 4; }
.stack-card:nth-child(6) { --i: 5; }
.stack-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: rgba(0, 0, 0, calc(var(--p) * .16));
}
.stack-card--mid { background: #e6e6e6; }
.stack-card--deep { background: #d6d6d6; }
.stack-card--mid .class-sub, .stack-card--mid .class-tag,
.stack-card--deep .class-sub, .stack-card--deep .class-tag { color: #4d4d4d; }
.stack-card--dark { background: var(--c-black); color: var(--c-white); }
.stack-card--dark::after { background: rgba(255, 255, 255, calc(var(--p) * .12)); }
.stack-card--dark .class-sub, .stack-card--dark .class-tag { color: rgba(255, 255, 255, .7); }

.stack-side { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.stack-num { font-size: clamp(3.5rem, 7vw, 6.5rem); font-weight: var(--fw-light); line-height: .85; letter-spacing: -.04em; opacity: .22; }
.stack-title .class-title { margin-bottom: .25rem; font-size: clamp(1.6rem, 3vw, 2.5rem); }
.stack-text { display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; }
.stack-text .text-link { align-self: flex-start; }
.class-tag {
  font-size: .68rem; font-weight: var(--fw-medium); letter-spacing: .16em; text-transform: uppercase;
  color: var(--c-muted); text-align: right;
}
.class-sub { margin: 0; font-size: 1rem; color: var(--c-muted); }

@media (min-width: 720px) {
  .stack-card { grid-template-columns: 1fr 1.3fr; column-gap: 3rem; }
  .stack-side { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .stack { --stack-offset: 1.25rem; gap: 2rem; }
  .stack-card { grid-template-columns: .8fr 1.2fr 1.5fr; min-height: 20rem; column-gap: 3rem; }
  .stack-side { grid-column: auto; flex-direction: column; align-items: flex-start; justify-content: space-between; }
  .stack-side .class-tag { text-align: left; }
}

/* ---------- 12. Forms ---------- */
.form { margin-top: 2rem; }
.form-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.form-row--end { justify-content: flex-end; margin-top: .75rem; }
.narrow .form-row { justify-content: center; max-width: 620px; margin-inline: auto; }

.input {
  flex: 1 1 260px; width: 100%; min-width: 0;
  padding: 1rem 1.25rem;
  border: 1px solid var(--c-line); border-radius: var(--radius);
  background: var(--c-field); color: var(--c-black);
  font-weight: var(--fw-light); line-height: 1.5;
  transition: border-color .25s, box-shadow .25s;
}
.input::placeholder { color: #8a8a8a; }
.input:focus { outline: none; border-color: var(--c-black); box-shadow: 0 0 0 3px rgba(0, 0, 0, .08); }
.input.is-invalid { border-color: #b42318; }
textarea.input { resize: vertical; min-height: 160px; }

.section--dark .input { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .35); color: var(--c-white); }
.section--dark .input::placeholder { color: rgba(255, 255, 255, .55); }
.section--dark .input:focus { border-color: var(--c-white); box-shadow: 0 0 0 3px rgba(255, 255, 255, .15); }

.form-note { max-width: 560px; margin: 1.25rem auto 0; font-size: .82rem; color: rgba(255, 255, 255, .65); }
.form-status { margin: 1rem 0 0; font-size: .92rem; font-weight: var(--fw-regular); }
.form-status:empty { display: none; }
.form-status.is-error { color: #b42318; }
.section--dark .form-status.is-error { color: #ffb4ab; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- 13. Cards & pills ---------- */
.card { padding: clamp(1.5rem, 3.5vw, 2.5rem); border-radius: var(--radius-lg); background: var(--c-light); }
.card--white { background: var(--c-white); border: 1px solid var(--c-line); }
.form.card { margin-top: 0; }

.pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.pills li {
  padding: .45rem .9rem; border: 1px solid rgba(0, 0, 0, .2); border-radius: 999px;
  font-size: .8rem; font-weight: var(--fw-regular);
}

/* ---------- 14. Address & map ---------- */
.address {
  display: flex; flex-direction: column;
  margin: 1.75rem 0; padding: 1.5rem 0;
  border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line);
  font-size: 1.05rem;
}
.address-street { font-size: clamp(1.35rem, 2.4vw, 1.9rem); font-weight: var(--fw-medium); line-height: 1.2; }

.map {
  position: relative; display: flex; aspect-ratio: 4 / 3; overflow: clip;
  border-radius: var(--radius-lg); border: 1px solid var(--c-line); background: var(--c-light);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }
.map-link { margin-top: 1rem; }

/* ---------- 15. Footer ---------- */
.site-footer { padding: var(--section) 0 2rem; background: var(--c-grey); color: var(--c-white); }
.footer-grid { display: grid; gap: 3rem; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 4rem; } }
.footer-brand {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: var(--fw-medium);
  letter-spacing: .04em; text-transform: uppercase; line-height: 1.1;
}
.footer-by { margin: .35rem 0 1.5rem; font-style: italic; opacity: .85; }
.footer-text { max-width: 46ch; margin-bottom: 2rem; }
.footer-heading {
  margin-bottom: 1.25rem;
  font-size: .7rem; font-weight: var(--fw-medium); letter-spacing: .2em; text-transform: uppercase; opacity: .8;
}
.footer-list li { margin-bottom: .6rem; }
.footer-list a, .footer-top { text-decoration: none; }
.footer-list a:hover, .footer-top:hover { text-decoration: underline; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  margin-top: clamp(3rem, 6vw, 5rem); padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .3);
  font-size: .82rem;
}
.footer-bottom p { margin: 0; }

/* ---------- 15b. Small screens ---------- */
@media (max-width: 480px) {
  .actions .btn, .form-row .btn { width: 100%; }
}

/* ---------- 16. Reveal on scroll ---------- */
.js .reveal {
  opacity: 0; translate: 0 28px;
  transition: opacity .9s ease, translate .9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-visible { opacity: 1; translate: 0 0; }

/* ---------- 17. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; translate: none; }
  .js .hero-line > span { transform: none; }
  .js .hero-badge, .js .hero-by, .js .hero-grid { opacity: 1; }
  .js .photo-band img { transform: none; }
  .marquee-track { width: auto; flex-wrap: wrap; animation: none; }
  .scroll-cue { display: none; }
  .stack { padding-bottom: 0; }
  .stack-card { position: static; transform: none; }
  .stack-card::after { display: none; }
  .hero-bg { transform: none; }
}

/* ---------- 18. Print ---------- */
@media print {
  .js .reveal, .js .hero-badge, .js .hero-by, .js .hero-grid { opacity: 1; translate: none; animation: none; }
  .js .hero-line > span { transform: none; animation: none; }
  .site-header, .scroll-cue, .marquee { display: none; }
}
