/* Calder Reformer: terracotta, espresso, sandy cream, sage */

:root {
  --terra: #C45C3E;
  --terra-deep: #A34830;
  --espresso: #2A2118;
  --espresso-soft: #3D3228;
  --cream: #F3EDE2;
  --cream-deep: #E8DFD0;
  --sage: #6B8F7A;
  --sage-bright: #88A994;
  --ink: #2A2118;
  --muted: #6E6256;
  --stroke: rgba(42, 33, 24, 0.08);
  --elev: 0 20px 40px rgba(0, 0, 0, 0.06);
  --elev-strong: 0 18px 40px rgba(42, 33, 24, 0.14);
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --wrap: min(1120px, calc(100% - 2rem));
  --radius: 20px;
  --radius-sm: 14px;
  --pill: 999px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0;
  color: inherit;
  overflow: visible;
  padding-bottom: 0.05em;
}
p { margin: 0; }

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 80;
  background: var(--espresso);
  color: var(--cream);
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  font-weight: 600;
  transform: translateY(-220%);
}
.skip:focus-visible { transform: none; outline: 2px solid var(--sage); outline-offset: 2px; }

.demo-notice {
  position: relative;
  z-index: 60;
  background: var(--espresso);
  color: rgba(243, 237, 226, 0.88);
  font-size: 13px;
  text-align: center;
  padding: 9px 16px;
  line-height: 1.45;
}
.demo-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 7px;
  margin-right: 8px;
  border: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: inherit;
  white-space: nowrap;
  vertical-align: 1px;
}
.demo-notice a {
  color: #E8A090;
  font-weight: 600;
  margin-left: 0.35em;
  white-space: nowrap;
}
.demo-notice a:hover { text-decoration: underline; }

.eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
}

.section-head {
  max-width: 36rem;
  margin-bottom: 1.35rem;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  color: var(--espresso);
  margin-bottom: 0.4rem;
}
.section-head > p:last-child {
  color: var(--muted);
  font-size: 0.98rem;
}
.section-head.light h2 { color: var(--cream); }
.section-head.light > p:last-child { color: rgba(243, 237, 226, 0.7); }
.section-head.light .eyebrow { color: var(--sage-bright); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.78rem 1.35rem;
  border-radius: var(--pill);
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn-terra {
  background: var(--terra);
  color: #FFF8F4;
  box-shadow: 0 12px 28px rgba(196, 92, 62, 0.28);
}
.btn-terra:hover {
  background: var(--terra-deep);
  box-shadow: 0 16px 32px rgba(196, 92, 62, 0.34);
}
.btn-ghost {
  background: #fff;
  border-color: var(--stroke);
  color: var(--espresso);
  box-shadow: var(--elev);
}
.btn-ghost:hover { border-color: rgba(42, 33, 24, 0.16); }
.btn-lift:hover { transform: translateY(-2px); }
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.2rem 0 1.25rem;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 237, 226, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stroke);
}
.nav-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 3.9rem;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--espresso);
  margin-right: auto;
}
.nav-logo span { color: var(--terra); font-weight: 600; }
.nav-links { display: flex; gap: 1.1rem; }
.nav-links a {
  position: relative;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 1.5px;
  background: var(--terra);
  transition: width 0.2s ease;
}
.nav-links a:hover { color: var(--espresso); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { padding: 0.55rem 1.05rem; font-size: 0.82rem; }

.nav-drawer {
  display: none;
  flex-direction: column;
  gap: 0.8rem;
  padding: 0.4rem var(--wrap) 1.1rem;
  width: min(1120px, 100%);
  margin-inline: auto;
}
.nav-drawer a { font-weight: 600; color: var(--espresso); }
.nav-drawer-phone { color: var(--terra) !important; }
.nav-drawer-cta { align-self: flex-start; }
details.nav-menu[open] + .nav-drawer { display: flex; }
.nav .nav-toggle-bars span { background: var(--espresso); }

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
}

/* Hero: full-bleed studio photo */
.hero {
  position: relative;
  isolation: isolate;
  min-height: min(92vh, 760px);
  display: flex;
  align-items: center;
  padding: 5.5rem 0 4rem;
  overflow: hidden;
  background: var(--espresso);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  filter: contrast(1.06) saturate(0.92) brightness(0.92);
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(42, 33, 24, 0.78) 0%, rgba(42, 33, 24, 0.55) 38%, rgba(42, 33, 24, 0.18) 68%, rgba(196, 92, 62, 0.12) 100%),
    linear-gradient(180deg, rgba(42, 33, 24, 0.28) 0%, transparent 32%, rgba(42, 33, 24, 0.45) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: var(--wrap);
  margin-inline: auto;
  margin-top: -2.5rem;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  max-width: 34rem;
  padding: 0;
}
.hero .eyebrow {
  display: inline-block;
  width: fit-content;
  margin: 0 0 0.9rem;
  padding: 0.42rem 0.8rem;
  border-radius: 8px;
  background: var(--cream);
  color: var(--espresso);
  box-shadow: 0 10px 28px rgba(42, 33, 24, 0.22);
}
.hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 3.85rem);
  line-height: 1.22;
  overflow: visible;
  color: var(--cream);
  margin-bottom: 0.7rem;
  text-shadow: 0 12px 40px rgba(42, 33, 24, 0.35);
}
.hero .lead {
  max-width: 38ch;
  color: rgba(243, 237, 226, 0.86);
  font-size: 1.05rem;
}
.btn-ghost-on-photo {
  background: rgba(243, 237, 226, 0.14);
  border-color: rgba(243, 237, 226, 0.35);
  color: var(--cream);
  backdrop-filter: blur(8px);
}
.btn-ghost-on-photo:hover {
  background: rgba(243, 237, 226, 0.22);
  border-color: rgba(243, 237, 226, 0.5);
}
.hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}
.hero-signals li {
  padding: 0.4rem 0.75rem;
  border-radius: var(--pill);
  background: rgba(243, 237, 226, 0.12);
  border: 1px solid rgba(243, 237, 226, 0.28);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 28px rgba(42, 33, 24, 0.18);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cream);
}

/* Classes */
.classes {
  padding: 3rem 0 2.85rem;
  background: var(--cream-deep);
}
.class-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
}
.class-tab {
  appearance: none;
  border: 1px solid var(--stroke);
  background: #fff;
  color: var(--muted);
  padding: 0.55rem 1rem;
  border-radius: var(--pill);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--elev);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.class-tab:hover { color: var(--espresso); }
.class-tab.is-active {
  background: var(--espresso);
  border-color: var(--espresso);
  color: var(--cream);
  box-shadow: 0 10px 24px rgba(42, 33, 24, 0.2);
}

.class-board {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr;
  gap: 0.85rem;
}
.class-main,
.class-aside {
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  box-shadow: var(--elev);
}
.class-main {
  padding: 1.35rem 1.3rem 1.4rem;
  background: #fff;
}
.class-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 0.35rem;
}
.class-main h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  color: var(--espresso);
  margin-bottom: 0.45rem;
}
.class-main > p {
  color: var(--muted);
  margin-bottom: 0.9rem;
  max-width: 46ch;
}
.class-meta {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.class-meta li {
  padding: 0.35rem 0.7rem;
  border-radius: var(--pill);
  background: var(--cream);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--espresso-soft);
}
.class-aside {
  padding: 1.35rem 1.25rem;
  background: var(--espresso);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
}
.spots {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}
.spots strong { color: #F0B5A4; }
.spots-note {
  color: rgba(243, 237, 226, 0.7);
  margin-bottom: 0.85rem;
  font-size: 0.92rem;
}

/* Equipment: deep espresso band */
.equipment {
  padding: 3rem 0;
  background:
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(196, 92, 62, 0.18), transparent 55%),
    linear-gradient(165deg, var(--espresso) 0%, var(--espresso-soft) 100%);
  color: var(--cream);
}
.equipment .eyebrow { color: var(--sage-bright); }
.equipment h2 { color: #fff; margin-bottom: 0.4rem; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.equipment-copy > p:last-of-type {
  color: rgba(243, 237, 226, 0.7);
  max-width: 36ch;
  margin-bottom: 1.25rem;
}
.equipment-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.25fr;
  gap: 1.4rem;
  align-items: center;
}
.equip-stage {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
  background: #1a1511;
  min-height: 360px;
}
.equip-stage > img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  filter: brightness(0.72) contrast(1.05) saturate(0.9);
}
.hotspot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(243, 237, 226, 0.9);
  background: rgba(196, 92, 62, 0.92);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hotspot:hover,
.hotspot.is-active {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 0 0 6px rgba(196, 92, 62, 0.28), 0 10px 24px rgba(0, 0, 0, 0.35);
}
.hot-card {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 0.95rem 1.05rem;
  border-radius: 14px;
  background: rgba(26, 21, 17, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}
.hot-label {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}
.hot-copy {
  font-size: 0.88rem;
  color: rgba(243, 237, 226, 0.75);
}

/* Proof */
.proof {
  padding: 3rem 0;
  background:
    radial-gradient(ellipse 40% 40% at 0% 0%, rgba(107, 143, 122, 0.12), transparent 50%),
    var(--cream);
}
.proof .section-head.light h2 { color: var(--espresso); }
.proof .section-head.light > p:last-child { color: var(--muted); }
.proof .section-head.light .eyebrow { color: var(--sage); }
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}
.proof-card {
  padding: 1.25rem 1.15rem 1.3rem;
  border-radius: var(--radius);
  background: var(--cream-deep);
  border: 1px solid var(--stroke);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.proof-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
}
.proof-metric {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--terra);
  margin-bottom: 0.2rem;
}
.proof-line {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--espresso);
  margin-bottom: 0.75rem;
}
.proof-quote {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 0.85rem;
}
.proof-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--sage);
}

/* Booking: soft terracotta wash */
.book {
  padding: 3rem 0 3.5rem;
  background:
    linear-gradient(180deg, rgba(196, 92, 62, 0.12), rgba(196, 92, 62, 0.18));
}
.book-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.15fr;
  gap: 1.5rem;
  align-items: start;
}
.book-intro h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  color: var(--espresso);
  margin-bottom: 0.45rem;
}
.book-intro > p {
  color: var(--muted);
  margin-bottom: 0.75rem;
  max-width: 34ch;
}
.book-phone {
  font-weight: 600;
  color: var(--espresso);
}
.book-phone a {
  color: var(--terra);
  text-decoration: underline;
}

.book-widget {
  padding: 1.3rem 1.25rem 1.25rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--elev-strong);
  backdrop-filter: blur(10px);
}
.book-progress {
  height: 3px;
  border-radius: var(--pill);
  background: rgba(42, 33, 24, 0.08);
  margin-bottom: 0.85rem;
  overflow: hidden;
}
.book-progress span {
  display: block;
  height: 100%;
  width: 33%;
  background: var(--terra);
  border-radius: inherit;
  transition: width 0.25s ease;
}
.book-step {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.55rem;
}
.book-panel {
  margin: 0;
  padding: 0;
  border: none;
  display: none;
  gap: 0.45rem;
}
.book-panel.is-active { display: grid; }
.book-panel legend {
  padding: 0;
  margin-bottom: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--espresso);
}
.chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.72rem 0.9rem;
  border-radius: var(--pill);
  border: 1px solid var(--stroke);
  background: #fff;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--elev);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.chip:hover { border-color: rgba(42, 33, 24, 0.14); }
.chip:has(input:checked) {
  border-color: rgba(196, 92, 62, 0.45);
  background: rgba(196, 92, 62, 0.08);
  box-shadow: 0 10px 22px rgba(196, 92, 62, 0.12);
}
.chip input { accent-color: var(--terra); }
.book-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.foot {
  padding: 1.35rem 0 1.75rem;
  background: var(--espresso);
  color: rgba(243, 237, 226, 0.7);
}
.foot-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: start;
}
.foot-brand {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cream);
  margin: 0;
}
.foot-note { margin: 0; font-size: 0.78rem; }
.foot a {
  font-size: 0.86rem;
  font-weight: 600;
  color: #E8A090;
}

@media (prefers-reduced-motion: reduce) {
  .btn-lift:hover,
  .proof-card:hover,
  .hotspot:hover,
  .hotspot.is-active { transform: none; }
}

@media (max-width: 900px) {
  .class-board,
  .equipment-grid,
  .proof-grid,
  .book-grid,
  .foot-row {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: min(88vh, 680px);
    padding: 4rem 0 3rem;
  }
  .hero-inner { margin-top: -1.25rem; }
  .hero-bg img { object-position: 62% 22%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
  .equip-stage,
  .equip-stage > img { min-height: 300px; }
}

@media (max-width: 560px) {
  .class-tabs { flex-direction: column; }
  .class-tab { width: 100%; text-align: center; }
}


/* --- Accessibility baseline (Web Interface Guidelines) --- */
.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 1000;
  padding: 10px 14px;
  background: #111;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-radius: 6px;
  transform: translateY(-200%);
}
.skip-link:focus { outline: none; }
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
[id] {
  scroll-margin-top: calc(5.5rem + env(safe-area-inset-top, 0px));
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Safe-area gutters on sticky chrome; contain scroll chaining in drawers/overlays */
.nav, .nav-min, .masthead, .bar {
  padding-left: max(0px, env(safe-area-inset-left, 0px));
  padding-right: max(0px, env(safe-area-inset-right, 0px));
}
.nav-drawer {
  overscroll-behavior: contain;
}

/* --- Web Interface Guidelines extras --- */
a, button, summary, input, select, textarea, label, [role="button"], [role="tab"] {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.08);
}
h1, h2, h3 { text-wrap: pretty; }
