/* =========================================================
   BLACK METAL PILATES
   Monochrome & abstract: black, white, and greys, high contrast.
   Blackletter display type; the classical Pilates principles as
   the quiet motif. No color — the ink is white.
   ========================================================= */

:root {
  --ink:        #050506;   /* near-black background */
  --ink-2:      #0d0d10;   /* panel black */
  --ink-3:      #17171a;   /* raised black */
  --bone:       #f3f2ee;   /* bright headline white */
  --bone-dim:   #8c8c86;   /* muted grey body text */
  --chalk:      #ffffff;   /* the "ink" — pure white accent */
  --chalk-soft: #d9d9d4;
  --ink-on-chalk:#0a0a0a;  /* text color when sitting on white fills */
  --line:       #2a2a2f;   /* hairline borders */

  /* Blackletter = Adobe Fonts "Gothique MN" (kit hak7ozz). The Typekit CSS
     name is the slug 'gothique-mn'; the display name and UnifrakturMaguntia
     are kept as fallbacks. Once confirmed live, the fallbacks can be trimmed. */
  --font-display: 'gothique-mn', 'Gothique MN', 'UnifrakturMaguntia', serif;  /* blackletter — statement type */
  --font-black:   'gothique-mn', 'Gothique MN', 'UnifrakturMaguntia', serif;  /* blackletter — headings */
  --font-serif:   'Cormorant Garamond', 'Cormorant', Georgia, serif;          /* refined serif — the "PILATES" lockup */
  --font-ui:      'Oswald', 'Arial Narrow', sans-serif;                        /* clean sans — body & UI */

  --maxw: 1180px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1; }

/* ---------- Film grain overlay ---------- */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainshift 0.6s steps(2) infinite;
}
@keyframes grainshift {
  0% { transform: translate(0, 0); }
  50% { transform: translate(-3%, 2%); }
  100% { transform: translate(2%, -2%); }
}

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 0.7em;
  --pad-x: 1.4em;
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  padding: var(--pad-y) var(--pad-x);
  border: 1px solid var(--chalk);
  color: var(--bone);
  background: transparent;
  cursor: pointer;
  transition: color 0.35s var(--ease), background 0.35s var(--ease),
              box-shadow 0.35s var(--ease), transform 0.15s ease;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--chalk);
  transform: translateY(101%);
  transition: transform 0.35s var(--ease);
  z-index: -1;
}
.btn:hover { color: var(--ink-on-chalk); box-shadow: 0 0 22px rgba(255, 255, 255, 0.18); }
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: translateY(1px); }
.btn--ghost { border-color: var(--line); }
.btn--ghost::before { background: var(--bone); }
.btn--ghost:hover { color: var(--ink-on-chalk); }
.btn--lg { --pad-y: 1em; --pad-x: 2.2em; font-size: 0.85rem; }
.btn--sm { --pad-y: 0.5em; --pad-x: 1em; font-size: 0.7rem; }
.btn--book { --pad-y: 0.45em; --pad-x: 1.1em; font-size: 0.68rem; border-color: var(--line); }
.btn--book::before { background: var(--chalk); }
.btn--book:hover { color: var(--ink-on-chalk); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(5, 5, 6, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__logo { height: 40px; width: auto; display: block; }
.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.2rem);
}
.nav__menu a:not(.btn) {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--bone-dim);
  transition: color 0.25s;
  position: relative;
}
.nav__menu a:not(.btn):hover { color: var(--bone); }
.nav__menu a:not(.btn)::after {
  content: "";
  position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1px; background: var(--chalk);
  transition: width 0.3s var(--ease);
}
.nav__menu a:not(.btn):hover::after { width: 100%; }

.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(--bone);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem clamp(1rem, 5vw, 2rem) 3rem;
  overflow: hidden;
}
/* Stage lighting: a soft spotlight wash plus two crossing light beams
   raking down from the rig, like a small venue stage. */
.hero__glow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero__glow::before {
  /* spotlight pool */
  content: "";
  position: absolute;
  top: 28%; left: 50%;
  width: 70vw; height: 70vw; max-width: 820px; max-height: 820px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.10), transparent 62%);
  filter: blur(30px);
}
.hero__glow::after {
  /* crossing beams from the lighting rig */
  content: "";
  position: absolute;
  top: -14%; left: 50%;
  width: 140%; height: 130%;
  transform: translateX(-50%);
  background:
    linear-gradient(200deg, rgba(255, 255, 255, 0.07) 0 8%, transparent 22%),
    linear-gradient(160deg, rgba(236, 234, 217, 0.06) 0 8%, transparent 22%);
  mix-blend-mode: screen;
}
.hero__inner { position: relative; max-width: 900px; z-index: 1; }
.hero__eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--chalk);
  margin: 0 0 1.5rem;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 13vw, 9.5rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
  text-shadow: 0 0 46px rgba(255, 255, 255, 0.12);
  margin: 0 auto;
}
/* Brand logo lockup as the hero centerpiece */
.hero__logo {
  width: min(86vw, 560px);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 0 44px rgba(255, 255, 255, 0.12));
}
/* "PILATES" set as a wide-tracked serif caps line beneath the blackletter
   "Black Metal" — mirroring the brand logo lockup. */
.hero__title-alt {
  display: block;
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--chalk);
  text-transform: uppercase;
  font-size: clamp(1.4rem, 4.2vw, 3rem);
  letter-spacing: 0.5em;
  text-indent: 0.5em;            /* offset the trailing tracking so it stays centered */
  line-height: 1.1;
  margin-top: 0.6rem;
  text-shadow: none;
}
.hero__tagline {
  font-family: var(--font-black);
  font-size: clamp(1.3rem, 3.5vw, 2.1rem);
  letter-spacing: 0.05em;
  margin: 1.5rem 0 1rem;
}
.hero__sub {
  max-width: 560px;
  margin: 0 auto 2.4rem;
  color: var(--bone-dim);
  font-size: 1.02rem;
}
.hero__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero__scroll {
  position: absolute;
  bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  color: var(--bone-dim);
  font-size: 0.9rem;
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--ink-2);
  overflow: hidden;
  padding: 0.7rem 0;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: scroll-x 34s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  color: var(--bone);
  white-space: nowrap;
  padding-right: 1rem;
}
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Section scaffolding ---------- */
section { padding: clamp(4rem, 10vw, 8rem) clamp(1.2rem, 5vw, 2.5rem); }
.section__head { max-width: var(--maxw); margin: 0 auto 3.5rem; }
.section__kicker {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--chalk);
  margin-bottom: 1.2rem;
}
.section__title {
  font-family: var(--font-black);
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 0.95;
  color: rgba(140, 140, 134, 0.65);   /* dimmed base so the emphasis reads without color */
}
.section__title em {
  font-style: normal;
  color: var(--bone);        /* bright white emphasis against the grey base */
}
.section__note {
  margin-top: 1.2rem;
  color: var(--bone-dim);
  font-size: 0.95rem;
  max-width: 560px;
}

/* ---------- About ---------- */
.about__grid { max-width: var(--maxw); margin: 0 auto; }
/* Lead statement in the refined serif — blackletter is reserved for
   headings/short display; a paragraph this long needs a legible face. */
.about__lead {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 3.4vw, 2.45rem);
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--bone);
  max-width: 900px;
  margin: 0 0 3.5rem;
}
.about__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}
.about__col h3 {
  font-family: var(--font-ui);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 1.05rem;
  padding-bottom: 0.8rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--chalk);
}
.about__col p { color: var(--bone-dim); font-size: 0.98rem; margin: 0; }

/* ---------- Classes ---------- */
.classes__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.ritual {
  background: var(--ink);
  padding: 2.2rem 1.8rem 2rem;
  transition: background 0.4s var(--ease);
  position: relative;
}
.ritual:hover { background: var(--ink-2); }
.ritual__level {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--bone-dim);
  margin-bottom: 1.4rem;
}
.ritual__name {
  font-family: var(--font-black);
  font-size: 1.9rem;
  margin-bottom: 0.8rem;
  transition: color 0.3s;
}
.ritual:hover .ritual__name { color: var(--chalk); }
.ritual__desc { color: var(--bone-dim); font-size: 0.95rem; margin: 0 0 1.6rem; }
.ritual__meta {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0.3rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bone);
}
.ritual__meta li::before { content: "★ "; color: var(--chalk); }
.ritual--feature { background: var(--ink-3); }
.ritual--feature::after {
  content: "";
  position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: var(--chalk);
}

/* ---------- Schedule ---------- */
.schedule__table {
  max-width: var(--maxw);
  margin: 0 auto;
  border: 1px solid var(--line);
}
.sched-row {
  display: grid;
  grid-template-columns: 0.7fr 0.9fr 1.6fr 1fr 0.9fr;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s;
}
.sched-row:last-child { border-bottom: none; }
.sched-row:not(.sched-row--head) {
  position: relative;
  border-left: 3px solid transparent;
}
/* ticket-stub perforation on hover */
.sched-row:not(.sched-row--head):hover {
  background: var(--ink-2);
  border-left-color: var(--chalk);
}
.sched-row span[data-label="Day"] {
  font-family: var(--font-ui);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--bone);
}
.sched-row--head {
  background: var(--ink-2);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--bone-dim);
}
.sched-row span[data-label="Ritual"] {
  font-family: var(--font-black);
  font-size: 1.15rem;
  color: var(--bone);
}
.sched-row span[role="cell"] { font-size: 0.92rem; }
.schedule__cta {
  max-width: var(--maxw);
  margin: 3rem auto 0;
  text-align: center;
}
.schedule__cta p { color: var(--bone-dim); margin-bottom: 1.5rem; }

/* ---------- Instructor ---------- */
.instructor__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.instructor__photo { aspect-ratio: 4/5; position: relative; }
.instructor__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% center;   /* keep Anita framed when cropped to portrait */
  display: block;
  filter: grayscale(1) contrast(1.02);
  border: 1px solid var(--line);
}
/* backstage-laminate tag clipped to the corner of the portrait */
.photo-laminate {
  position: absolute;
  top: 1rem; left: -0.6rem;
  background: var(--chalk);
  color: var(--ink-on-chalk);
  font-family: var(--font-ui);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.66rem;
  padding: 0.4rem 0.9rem;
  transform: rotate(-4deg);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}
.photo-placeholder {
  width: 100%; height: 100%;
  border: 1px dashed var(--line);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.8rem;
  background:
    repeating-linear-gradient(45deg, transparent, transparent 18px, rgba(255,255,255,0.015) 18px, rgba(255,255,255,0.015) 36px),
    var(--ink-2);
  color: var(--bone-dim);
}
.photo-placeholder span {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.1em;
}
.photo-placeholder small { font-size: 0.7rem; text-align: center; opacity: 0.7; }
.instructor__name {
  font-family: var(--font-black);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}
.instructor__role {
  color: var(--chalk);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  margin: 0.6rem 0 1.8rem;
}
.instructor__bio p { color: var(--bone-dim); margin: 0 0 1.2rem; }
.instructor__creds {
  list-style: none; padding: 0;
  margin: 1.8rem 0 2rem;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.instructor__creds li {
  padding-left: 1.5rem; position: relative;
  font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em;
}
.instructor__creds li::before {
  content: "★"; position: absolute; left: 0; color: var(--chalk);
}

/* ---------- Soundtrack (Spotify) ---------- */
.soundtrack { text-align: center; border-top: 1px solid var(--line); }
.soundtrack__inner { max-width: 620px; margin: 0 auto; }
.soundtrack__title {
  font-family: var(--font-black);
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 0.95;
  margin: 0.4rem 0 0.8rem;
}
.soundtrack__note { color: var(--bone-dim); margin: 0 0 2.2rem; }
.soundtrack__player {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--ink-2);
}
.soundtrack__player iframe { display: block; width: 100%; border: 0; }
.soundtrack__cta { margin-top: 1.6rem; }

/* ---------- Contact ---------- */
.contact { background: var(--ink-2); border-top: 1px solid var(--line); }
.contact__inner { max-width: var(--maxw); margin: 0 auto; }
.contact__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
}
.contact__form { display: flex; flex-direction: column; gap: 1.2rem; }
.contact__form label { display: flex; flex-direction: column; gap: 0.5rem; }
.contact__form label span {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--bone-dim);
}
.contact__form input,
.contact__form textarea {
  background: var(--ink);
  border: 1px solid var(--line);
  color: var(--bone);
  padding: 0.85rem 1rem;
  font-family: var(--font-ui);
  font-size: 1rem;
  transition: border-color 0.25s;
  resize: vertical;
}
.contact__form input:focus,
.contact__form textarea:focus { outline: none; border-color: var(--chalk); }
.contact__form input::placeholder,
.contact__form textarea::placeholder { color: #55554e; }
.contact__form button { align-self: flex-start; margin-top: 0.5rem; }

.contact__block { margin-bottom: 2rem; }
.contact__block h4 {
  font-family: var(--font-ui);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
  color: var(--chalk);
  margin-bottom: 0.6rem;
}
.contact__block p { margin: 0; color: var(--bone-dim); }
.socials { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.socials a {
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.9rem;
  transition: color 0.25s;
}
.socials a:hover { color: var(--chalk); }

/* ---------- Footer ---------- */
.footer {
  text-align: center;
  padding: 4rem 1.5rem 3rem;
  border-top: 1px solid var(--line);
}
.footer__logo {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.5rem);
}
.footer__tag {
  color: var(--chalk);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  margin: 0.5rem 0 2rem;
}
.footer__nav {
  display: flex; gap: 1.8rem; justify-content: center; flex-wrap: wrap;
  margin-bottom: 2rem;
}
.footer__nav a {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--bone-dim); transition: color 0.25s;
}
.footer__nav a:hover { color: var(--bone); }
.footer__legal { font-size: 0.72rem; color: #55554e; letter-spacing: 0.1em; margin: 0; }

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

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about__cols { grid-template-columns: 1fr; }
  .classes__grid { grid-template-columns: 1fr 1fr; }
  .instructor__grid { grid-template-columns: 1fr; }
  .instructor__photo { max-width: 420px; }
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed;
    inset: 62px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: rgba(5,5,6,0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 1rem 0;
    transform: translateY(-120%);
    transition: transform 0.4s var(--ease);
  }
  .nav__menu.is-open { transform: translateY(0); }
  .nav__menu a:not(.btn) { padding: 1rem 2rem; width: 100%; }
  .nav__menu .btn { margin: 1rem 2rem; text-align: center; }

  .classes__grid { grid-template-columns: 1fr; }

  /* Schedule → stacked cards */
  .sched-row--head { display: none; }
  .sched-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 1.4rem 1.5rem;
  }
  .sched-row span[role="cell"] { display: flex; justify-content: space-between; }
  .sched-row span[data-label]::before {
    content: attr(data-label);
    color: var(--bone-dim);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.68rem;
  }
  .sched-row span[role="cell"]:last-child { margin-top: 0.6rem; }
}

/* ---------- Motion & accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
:focus-visible { outline: 2px solid var(--chalk); outline-offset: 3px; }
::selection { background: var(--chalk); color: var(--ink-on-chalk); }
