:root {
  --ink: #202a26;
  --muted: #66736d;
  --moss: #5f7f71;
  --moss-dark: #38564b;
  --aqua: #d7ece4;
  --clay: #9f735d;
  --sand: #e9decd;
  --cream: #f8f5ee;
  --paper: #fffdf8;
  --line: rgba(56, 86, 75, 0.16);
  --shadow: 0 24px 70px rgba(32, 42, 38, 0.14);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 64px);
  background: rgba(248, 245, 238, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand-area {
  display: grid;
  gap: 3px;
  justify-items: start;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--paper);
  background: var(--moss);
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand small {
  margin-top: 4px;
  color: var(--clay);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-appointment {
  margin-left: 56px;
  color: var(--moss-dark);
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1;
}

nav {
  display: flex;
  justify-content: center;
  justify-self: center;
  gap: clamp(18px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.94rem;
}

nav a {
  padding: 9px 0;
}

.menu-toggle {
  display: none;
  justify-self: end;
  min-height: 42px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 850;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  color: var(--paper);
  background: var(--moss);
  box-shadow: 0 16px 34px rgba(95, 127, 113, 0.24);
}

.secondary {
  color: var(--paper);
  border: 1px solid rgba(255, 253, 248, 0.5);
  background: rgba(255, 253, 248, 0.12);
  backdrop-filter: blur(14px);
}

.hero {
  position: relative;
  min-height: calc(100svh - 73px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.9fr);
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(32, 42, 38, 0.92), rgba(32, 42, 38, 0.68) 48%, rgba(32, 42, 38, 0.16)),
    linear-gradient(180deg, transparent 78%, var(--cream));
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("assets/reformer-studio.jpg");
  background-position: 62% center;
  background-size: cover;
  filter: saturate(0.82);
}

.hero-content {
  align-self: center;
  width: min(660px, calc(100vw - 36px));
  padding: clamp(84px, 10vw, 132px) 0 clamp(90px, 12vw, 150px) clamp(18px, 7vw, 96px);
  color: var(--paper);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--aqua);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

h1 {
  max-width: 650px;
  margin-bottom: 24px;
  font-size: clamp(3.8rem, 7vw, 6.4rem);
  line-height: 0.88;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 3.8vw, 4.1rem);
  line-height: 1;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.25rem, 1.8vw, 1.48rem);
  line-height: 1.16;
}

.hero-content p {
  max-width: 620px;
  color: rgba(255, 253, 248, 0.86);
  font-size: clamp(1.06rem, 1.7vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 430px;
  margin-top: 32px;
}

.hero-card {
  align-self: end;
  justify-self: end;
  width: min(340px, calc(100% - 36px));
  margin: 0 clamp(18px, 5vw, 72px) clamp(24px, 5vw, 72px) 0;
  padding: 26px;
  color: var(--paper);
  background: rgba(32, 42, 38, 0.66);
  border: 1px solid rgba(255, 253, 248, 0.22);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--aqua);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2vw, 2.05rem);
  line-height: 1;
}

.section {
  padding: clamp(72px, 9vw, 124px) clamp(18px, 5vw, 72px);
}

.approach {
  background: var(--cream);
}

.approach-grid,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(300px, 420px);
  justify-content: center;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.approach p,
.contact p,
.section-heading.split p,
.discipline-card p,
.process p,
.faq p {
  color: var(--muted);
  font-size: 1.05rem;
}

.clean-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.clean-list li {
  position: relative;
  padding-left: 24px;
  color: var(--ink);
  font-weight: 760;
}

.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 9px;
  height: 9px;
  background: var(--moss);
  border-radius: 50%;
}

.disciplines {
  background: linear-gradient(180deg, var(--aqua), var(--cream));
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 1040px;
  margin-right: auto;
  margin-bottom: 34px;
  margin-left: auto;
}

.section-heading.split {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: end;
}

.heading-link,
.section-kicker a {
  transition: color 180ms ease;
}

.heading-link:hover,
.section-kicker a:hover {
  color: var(--moss);
}

.section-side {
  display: grid;
  gap: 12px;
}

.text-action {
  width: max-content;
  color: var(--moss-dark);
  font-weight: 900;
  border-bottom: 1px solid currentColor;
}

.discipline-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
}

.discipline-card {
  min-height: 250px;
  display: grid;
  align-content: start;
  padding: clamp(24px, 3vw, 32px);
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(32, 42, 38, 0.08);
}

.discipline-card span,
.process strong {
  display: block;
  margin-bottom: 34px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.process {
  color: var(--paper);
  background: var(--moss-dark);
}

.process .section-kicker {
  color: var(--aqua);
}

.process-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 960px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 253, 248, 0.22);
  border-left: 1px solid rgba(255, 253, 248, 0.22);
}

.process article {
  min-height: 210px;
  display: grid;
  align-content: space-between;
  padding: 28px;
  border-right: 1px solid rgba(255, 253, 248, 0.22);
  border-bottom: 1px solid rgba(255, 253, 248, 0.22);
}

.process p {
  color: rgba(255, 253, 248, 0.75);
}

.portfolio {
  background: var(--paper);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: 232px;
  gap: 14px;
  max-width: 1080px;
  margin: 0 auto;
}

.portfolio-item {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 0;
  color: var(--paper);
  background: var(--sand);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(32, 42, 38, 0.1);
  cursor: pointer;
}

.portfolio-item.tall {
  grid-row: span 2;
}

.portfolio-item.wide-photo {
  grid-column: span 2;
}

.portfolio-item img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.86);
  transition: transform 460ms ease, filter 460ms ease;
}

.portfolio-item.focus-top img {
  object-position: center top;
}

.portfolio-item.focus-high img {
  object-position: center 28%;
}

.portfolio-item:hover img {
  transform: scale(1.04);
  filter: saturate(1);
}

.portfolio-item span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 12px 14px;
  background: rgba(32, 42, 38, 0.62);
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 8px;
  backdrop-filter: blur(12px);
  font-weight: 850;
}

.faq {
  background: var(--cream);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}

.faq-list details {
  background: rgba(255, 253, 248, 0.76);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 22px;
  color: var(--ink);
  font-weight: 900;
}

.faq-list p {
  padding: 0 22px 22px;
}

.contact {
  background: linear-gradient(135deg, var(--paper), var(--sand));
}

.contact-form {
  display: grid;
  gap: 14px;
  width: min(100%, 420px);
  padding: clamp(24px, 4vw, 38px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--moss-dark);
  font-size: 0.9rem;
  font-weight: 850;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbf8f0;
  border: 1px solid rgba(56, 86, 75, 0.2);
  border-radius: 8px;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.full {
  width: 100%;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(32, 42, 38, 0.9);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(1080px, 92vw);
  max-height: 78vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.lightbox p {
  margin: 16px 0 0;
  color: var(--paper);
  font-weight: 850;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  min-height: 42px;
  padding: 0 16px;
  color: var(--paper);
  background: rgba(255, 253, 248, 0.14);
  border: 1px solid rgba(255, 253, 248, 0.28);
  border-radius: 999px;
  font: inherit;
  font-weight: 850;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: var(--cream);
}

.site-footer p {
  margin: 0;
  color: var(--ink);
  font-weight: 850;
}

.site-footer div {
  display: flex;
  gap: 16px;
}

.blog-page {
  background: var(--cream);
}

.blog-hero {
  padding-bottom: clamp(42px, 6vw, 72px);
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(32, 42, 38, 0.9), rgba(56, 86, 75, 0.72)),
    url("assets/ballet-mirror-class.jpg") center 22% / cover;
}

.blog-hero h1 {
  max-width: 860px;
}

.blog-hero p:not(.section-kicker) {
  max-width: 620px;
  color: rgba(255, 253, 248, 0.78);
  font-size: 1.12rem;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
}

.blog-card {
  display: grid;
  align-content: start;
  min-height: 320px;
  padding: clamp(24px, 3vw, 32px);
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(32, 42, 38, 0.08);
}

.blog-card span {
  margin-bottom: 24px;
  color: var(--clay);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blog-card h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 2.5vw, 2.7rem);
}

.blog-card p {
  color: var(--muted);
}

.blog-card a {
  align-self: end;
  width: max-content;
  margin-top: 20px;
  color: var(--moss-dark);
  font-weight: 900;
  border-bottom: 1px solid currentColor;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 50;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  color: var(--paper);
  background: #25d366;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 50%;
  box-shadow: 0 18px 42px rgba(32, 42, 38, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(32, 42, 38, 0.28);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.panel-page {
  background:
    linear-gradient(180deg, rgba(215, 236, 228, 0.72), rgba(248, 245, 238, 0.96) 42%),
    var(--cream);
}

.panel-shell {
  min-height: calc(100svh - 73px);
  padding: clamp(48px, 7vw, 84px) clamp(18px, 5vw, 72px);
}

.panel-login {
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(300px, 420px);
  justify-content: center;
  gap: clamp(30px, 6vw, 72px);
  align-items: center;
}

.panel-copy h1,
.dashboard-head h1 {
  color: var(--ink);
  font-size: clamp(3rem, 6vw, 5.8rem);
}

.panel-copy p,
.dashboard-head p,
.panel-message {
  color: var(--muted);
  font-size: 1.06rem;
}

.panel-form,
.panel-card,
.metric-card,
.appointment-card {
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(32, 42, 38, 0.09);
}

.panel-form {
  display: grid;
  gap: 15px;
  padding: clamp(24px, 4vw, 38px);
}

.panel-form h2 {
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.panel-form label {
  display: grid;
  gap: 7px;
  color: var(--moss-dark);
  font-size: 0.9rem;
  font-weight: 850;
}

.panel-form input {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbf8f0;
  border: 1px solid rgba(56, 86, 75, 0.2);
  border-radius: 8px;
  font: inherit;
}

.panel-message {
  min-height: 1.5em;
  margin: 0;
}

.dashboard {
  max-width: 1080px;
  margin: 0 auto;
}

.dashboard-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  margin-bottom: 28px;
}

.panel-logout {
  color: var(--moss-dark);
  background: var(--paper);
  border: 1px solid var(--line);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: clamp(42px, 6vw, 72px);
}

.metric-card {
  padding: 20px;
}

.metric-card span,
.appointment-card span,
.panel-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--clay);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.metric-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  line-height: 1;
}

.panel-section {
  margin-top: clamp(42px, 6vw, 72px);
}

.panel-section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.panel-section-head h2 {
  font-size: clamp(2rem, 3.4vw, 3.4rem);
}

.appointment-list {
  display: grid;
  gap: 12px;
}

.appointment-card {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) 110px minmax(0, 1.2fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
}

.appointment-card strong {
  display: block;
  color: var(--ink);
}

.appointment-card p {
  margin: 0;
  color: var(--muted);
}

.appointment-card em {
  justify-self: end;
  padding: 8px 12px;
  color: var(--moss-dark);
  background: var(--aqua);
  border-radius: 999px;
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 850;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.panel-card {
  padding: 22px;
}

.panel-card ul {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.panel-card li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}

.panel-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  background: var(--moss);
  border-radius: 50%;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.legal-page h1 {
  color: var(--ink);
  font-size: clamp(3rem, 8vw, 6rem);
}

.legal-page h2 {
  margin-top: 34px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.legal-page p {
  max-width: 850px;
  color: var(--muted);
  font-size: 1.08rem;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-card {
    justify-self: start;
    margin: -80px 18px 38px;
  }

  .discipline-grid,
  .process-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-grid,
  .program-grid,
  .blog-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .appointment-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .appointment-card em {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
  }

  #site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 14px;
    left: 14px;
    display: none;
    padding: 18px;
    background: rgba(248, 245, 238, 0.98);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  body.nav-open #site-nav {
    display: grid;
    gap: 8px;
  }

  .brand small {
    font-size: 0.66rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    width: min(100%, 520px);
    padding: 104px 18px 116px;
  }

  h1 {
    font-size: clamp(3.1rem, 15vw, 5.3rem);
  }

  h2 {
    font-size: clamp(2.1rem, 10vw, 3.5rem);
  }

  .hero-actions {
    flex-direction: column;
    max-width: 360px;
  }

  .button {
    width: 100%;
  }

  .hero-card {
    width: min(420px, calc(100% - 36px));
    margin: -68px 18px 28px;
  }

  .approach-grid,
  .contact,
  .panel-login,
  .dashboard-head,
  .section-heading.split,
  .process-row,
  .portfolio-grid,
  .two-column,
  .blog-list {
    grid-template-columns: 1fr;
  }

  .discipline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-grid {
    grid-auto-rows: auto;
  }

  .portfolio-item.wide-photo {
    grid-column: auto;
  }

  .portfolio-item img {
    min-height: 330px;
  }

  .panel-shell {
    padding: 48px 18px 64px;
  }

  .appointment-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand strong {
    max-width: 124px;
    line-height: 1.1;
  }

  .brand-appointment {
    margin-left: 49px;
  }

  .section {
    padding: 64px 18px;
  }

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

  .metric-grid,
  .program-grid {
    grid-template-columns: 1fr;
  }

  .site-footer,
  .site-footer div {
    flex-direction: column;
    align-items: flex-start;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
  }
}
