@charset "UTF-8";
/* ==========================================================================
   Joga Studio Konstancin — design system
   Direction: quiet, editorial, photographic. Cream paper, deep forest green,
   warm wood in the photographs. Large serif set with confidence, generous
   air, hairlines instead of boxes. The photos carry the atmosphere.
   ========================================================================== */

:root {
  /* --- colour ------------------------------------------------------------ */
  --paper:      #F5F1EA;   /* cream */
  --paper-2:    #EDE7DC;   /* deeper cream for alternate bands */
  --ink:        #1F221E;   /* near-black with green in it */
  --ink-2:      #4A4D46;   /* secondary text */
  --slate:      #7C7F76;   /* tertiary */
  --hair:       #D9D2C4;   /* hairlines */
  --hair-2:     #E7E1D5;
  --forest:     #1F3327;   /* deep green: dark bands, footer, best price */
  --forest-2:   #2B4436;
  --moss:       #7E9382;   /* soft green tint for spine class */
  --moss-2:     #DCE3D8;
  --gold:       #B08556;   /* warm accent: rules, small marks, hover */
  --gold-2:     #D6B58C;
  --sand:       #EBDFC9;   /* gentle-class fill */
  --white:      #FBF9F5;

  /* --- type -------------------------------------------------------------- */
  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --body:    "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono:    var(--body);

  --t-hero:  clamp(3rem, 1.2rem + 7vw, 7.5rem);
  --t-h2:    clamp(2.1rem, 1.2rem + 3.2vw, 3.9rem);
  --t-h3:    clamp(1.25rem, 1rem + 0.8vw, 1.7rem);
  --t-lead:  clamp(1.08rem, 1rem + 0.45vw, 1.3rem);
  --t-body:  1.0625rem;
  --t-small: 0.9rem;
  --t-micro: 0.74rem;

  /* --- metrics ----------------------------------------------------------- */
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --maxw: 1440px;
  --rule: 1px solid var(--hair);
  --radius: 2px;

  /* week grid: pixels per minute (drawn to scale) */
  --ppm: 1.1px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--t-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, ul, ol, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
table { border-collapse: collapse; }
::selection { background: var(--gold-2); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute; left: 0; top: 0; z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--ink); color: var(--paper);
  font-size: var(--t-small);
  transform: translateY(-120%);
}
.skip:focus { transform: none; }

/* --------------------------------------------------------------------------
   type primitives
   -------------------------------------------------------------------------- */
.display {
  font-family: var(--display);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 1;
  letter-spacing: -0.025em;
  line-height: 0.98;
}
.display em { font-style: italic; font-weight: 300; color: inherit; }
.eyebrow {
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow-mark { color: var(--hair); margin-inline: 0.15em; }
.lead { font-size: var(--t-lead); line-height: 1.55; color: var(--ink-2); font-weight: 400; }
.mono { font-variant-numeric: tabular-nums; }
.muted { color: var(--slate); }

/* --------------------------------------------------------------------------
   layout primitives
   -------------------------------------------------------------------------- */
[id] { scroll-margin-top: 90px; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 880px; }

.band { padding-block: clamp(4.5rem, 9vw, 9rem); }
.band-tight { padding-block: clamp(3rem, 6vw, 6rem); }
.band-panel { background: var(--paper-2); }
.band-dark { background: var(--forest); color: #E6E1D6; }
.band-dark .muted { color: #A9B3A8; }
.band-dark .eyebrow { color: var(--gold-2); }
.band-dark .display { color: var(--paper); }
.band-dark .lead { color: #C9CFC4; }

/* section heading block — eyebrow, big serif, a short lead */
.head { max-width: 60rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.head h2 { font-size: var(--t-h2); max-width: 18ch; margin-top: 1.25rem !important; }
.head p { margin-top: 1.4rem; max-width: 46ch; }

/* --------------------------------------------------------------------------
   buttons — quiet, typographic
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.7em;
  white-space: nowrap;
  padding: 1em 1.7em;
  font-size: var(--t-small); font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn-mark { background: var(--ink); color: var(--paper); }
.btn-mark:hover { background: var(--forest); }
.btn-line { border-color: currentColor; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-ghost { border-color: rgba(245,241,234,0.4); color: var(--paper); }
.btn-ghost:hover { background: var(--paper); color: var(--forest); border-color: var(--paper); }
.btn:active { transform: translateY(1px); }

.arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* text link with a hairline that darkens */
.link {
  text-decoration: none; font-weight: 500;
  background-image: linear-gradient(var(--ink), var(--ink));
  background-size: 0% 1px; background-position: 0 100%; background-repeat: no-repeat;
  border-bottom: 1px solid var(--hair);
  transition: background-size 0.35s var(--ease-out);
}
.link:hover { background-size: 100% 1px; }

/* --------------------------------------------------------------------------
   header — cream by default; transparent over the home hero until scrolled
   -------------------------------------------------------------------------- */
.masthead {
  position: sticky; top: 0; z-index: 60;
  background: rgba(245, 241, 234, 0.88);
  backdrop-filter: saturate(120%) blur(14px);
  border-bottom: 1px solid rgba(217, 210, 196, 0.6);
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
}
.masthead-in {
  display: flex; align-items: center; gap: 1.75rem;
  min-height: 84px;
}
.brand { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; margin-right: auto; }
.brand-glyph { width: 26px; height: 26px; flex: none; color: currentColor; }
.brand-name {
  font-family: var(--display); font-weight: 400;
  font-variation-settings: "opsz" 24, "SOFT" 30;
  font-size: 1.3rem; letter-spacing: -0.01em;
  line-height: 1; display: block;
}
.brand-sub {
  display: block;
  font-size: 0.64rem; letter-spacing: 0.2em; font-weight: 600;
  opacity: 0.7; text-transform: uppercase; margin-top: 0.3rem;
}

.nav { display: flex; align-items: center; gap: 0.15rem; }
.nav a {
  padding: 0.55rem 0.9rem;
  font-size: var(--t-small); font-weight: 500;
  text-decoration: none; color: inherit;
  position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.2rem; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.tel {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: var(--t-small); font-weight: 600; font-variant-numeric: tabular-nums;
  text-decoration: none; white-space: nowrap;
}
.tel svg { width: 14px; height: 14px; opacity: 0.7; }

.masthead .btn-mark { padding: 0.8em 1.4em; }

.burger {
  display: none;
  width: 44px; height: 44px; padding: 0;
  background: none; border: 1px solid currentColor; border-radius: 50%;
  cursor: pointer; opacity: 0.85;
}
.burger svg { width: 18px; height: 18px; margin-inline: auto; }

.drawer {
  display: none;
  background: var(--paper); color: var(--ink);
  border-bottom: 1px solid var(--hair);
}
.drawer[data-open="true"] { display: block; }
.drawer ul { padding: 0.5rem var(--gutter) 1.5rem; }
.drawer li + li { border-top: var(--rule); }
.drawer a {
  display: block; padding: 1rem 0;
  font-family: var(--display); font-size: 1.5rem; text-decoration: none; font-weight: 300;
  font-variation-settings: "opsz" 48, "SOFT" 30;
}
.drawer a[aria-current="page"] { color: var(--gold); }

/* transparent state over the hero */
.cover .masthead:not(.is-solid) {
  position: fixed; left: 0; right: 0;
  background: transparent; backdrop-filter: none;
  border-bottom-color: transparent;
  color: var(--paper);
}
.cover .masthead:not(.is-solid) .btn-mark { background: var(--paper); color: var(--ink); }
.cover .masthead:not(.is-solid) .btn-mark:hover { background: var(--white); }
.cover .masthead.is-solid { position: fixed; left: 0; right: 0; color: var(--ink); }
.cover main { padding-top: 0; }

@media (max-width: 1080px) {
  .nav, .masthead .tel { display: none; }
  .burger { display: block; }
}
@media (max-width: 620px) {
  .masthead-in { gap: 0.75rem; min-height: 68px; }
  .brand-sub { display: none; }
  .brand-name { font-size: 1.15rem; }
  .masthead .btn-mark { padding: 0.75em 1.1em; font-size: 0.72rem; }
}

/* --------------------------------------------------------------------------
   hero — one full-bleed photograph, the headline set into it
   -------------------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(100svh, 920px);
  display: flex; align-items: flex-end;
  padding-block: clamp(7rem, 14vw, 10rem) clamp(2.5rem, 6vw, 5rem);
  color: var(--paper);
  overflow: hidden;
}
.hero-img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%;
}
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(18, 22, 18, 0.82) 0%, rgba(18, 22, 18, 0.35) 45%, rgba(18, 22, 18, 0.15) 100%),
    linear-gradient(to right, rgba(18, 22, 18, 0.5), rgba(18, 22, 18, 0.15) 55%, transparent 75%);
}
.hero-in { display: block; }
.hero .eyebrow { color: var(--gold-2); }
.hero h1 {
  font-size: var(--t-hero);
  margin-top: 1.5rem;
  max-width: 11ch;
  color: var(--paper);
  text-wrap: balance;
}
.hero-lead { margin-top: 2rem; max-width: 46ch; color: rgba(245, 241, 234, 0.86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.5rem; }
.hero .btn-mark { background: var(--paper); color: var(--ink); }
.hero .btn-mark:hover { background: var(--white); }
.hero .btn-line { color: var(--paper); border-color: rgba(245,241,234,0.5); }
.hero .btn-line:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.hero-meta {
  position: absolute; right: var(--gutter); bottom: clamp(2.5rem, 6vw, 5rem); z-index: 1;
  display: grid; gap: 0.3rem; text-align: right;
  font-size: var(--t-micro); letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
  color: rgba(245, 241, 234, 0.7);
}
.hero-meta b { font-family: var(--display); font-weight: 300; font-size: 2.6rem; letter-spacing: -0.02em; text-transform: none; color: var(--paper); line-height: 1; font-variation-settings: "opsz" 72, "SOFT" 30; }
@media (max-width: 900px) {
  .hero-meta { display: none; }
  .hero { min-height: min(92svh, 760px); }
  .hero-img { object-position: 55% 40%; }
}

/* the photo slowly settles when the page opens */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-img { animation: settle 2.4s var(--ease-out) both; }
  @keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }
}

/* --------------------------------------------------------------------------
   photo primitives
   -------------------------------------------------------------------------- */
.photo { position: relative; overflow: hidden; background: var(--paper-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--tall { aspect-ratio: 4 / 5; }
.photo figcaption {
  position: absolute; left: 1.25rem; bottom: 1.1rem;
  font-size: var(--t-micro); letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
  color: rgba(245,241,234,0.85);
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

/* split: text column + tall photo */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
}
.split .head { margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
@media (max-width: 960px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split .photo { order: -1; aspect-ratio: 16 / 10; }
}

/* full-bleed quotation over a photograph */
.quoteband {
  position: relative; isolation: isolate; color: var(--paper);
  padding-block: clamp(6rem, 14vw, 12rem);
  overflow: hidden;
}
.quoteband img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
}
.quoteband::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to right, rgba(20, 24, 20, 0.7), rgba(20, 24, 20, 0.25));
}
.quoteband blockquote { font-size: clamp(1.7rem, 1rem + 2.8vw, 3.4rem); max-width: 22ch; color: var(--paper); text-wrap: balance; }
.quoteband cite { display: block; margin-top: 1.75rem; font-style: normal; font-size: var(--t-micro); letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; color: var(--gold-2); }

/* --------------------------------------------------------------------------
   week grid — the signature. Blocks are sized by real class duration.
   -------------------------------------------------------------------------- */
.week { border-top: 1px solid var(--ink); padding-top: 1.5rem; }
.week-head {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: 0.75rem 1.5rem; margin-bottom: 2rem;
}
.week-head h2 { font-family: var(--display); font-weight: 300; font-size: var(--t-h3); font-variation-settings: "opsz" 48, "SOFT" 30; letter-spacing: -0.01em; }
.week-note { font-size: var(--t-micro); color: var(--slate); letter-spacing: 0.04em; }

.legend { display: flex; flex-wrap: wrap; gap: 0.35rem 1.2rem; margin-left: auto; }
.legend span { display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--t-micro); color: var(--slate); letter-spacing: 0.04em; }
.legend i { width: 12px; height: 12px; border: 1px solid var(--hair); }
.key-iyengar  { background: var(--white); }
.key-lagodna  { background: var(--sand); }
.key-kregoslup{ background: var(--moss-2); }
.key-online   { background: transparent; border-style: dashed !important; }
.key-begin    { background: var(--gold) !important; border: 0 !important; border-radius: 50% !important; width: 7px !important; height: 7px !important; }

.grid {
  --dayhead-h: 2.6rem;
  --band-h: calc(240 * var(--ppm));
  --gap-h: 3.5rem;
  position: relative;
  display: grid;
  grid-template-columns: 3.5rem repeat(5, minmax(0, 1fr));
  column-gap: 6px;
}
.grid-day { min-width: 0; }
.grid-dayhead {
  height: var(--dayhead-h);
  font-size: var(--t-small); font-weight: 400;
  border-bottom: 1px solid var(--ink);
  display: flex; align-items: baseline; gap: 0.5rem;
}
.grid-dayhead b { font-weight: 500; }
.grid-dayhead s { text-decoration: none; color: var(--slate); font-size: var(--t-micro); }
.grid-day[data-today="true"] .grid-dayhead { color: var(--gold); border-bottom-color: var(--gold); }

/* time rail mirrors the day column structure so labels self-align */
.grid-rail { position: relative; }
.rail-head { height: var(--dayhead-h); border-bottom: 1px solid var(--ink); }
.rail-band { position: relative; height: var(--band-h); }
.rail-band span {
  position: absolute; right: 0.7rem; transform: translateY(-0.6em);
  top: calc(var(--m) * var(--ppm));
  font-size: var(--t-micro); color: var(--slate); font-variant-numeric: tabular-nums;
}
.rail-gap { height: var(--gap-h); }

/* a band = a continuous stretch of the day, drawn to scale */
.band-col {
  position: relative;
  height: var(--band-h);
  border-right: 1px solid var(--hair-2);
  background-image: repeating-linear-gradient(
    to bottom,
    var(--hair-2) 0 1px,
    transparent 1px calc(60 * var(--ppm))
  );
}
.grid-day:last-child .band-col { border-right: 0; }
.grid-day[data-today="true"] .band-col { background-color: rgba(176, 133, 86, 0.06); }
.band-gap { height: var(--gap-h); }

.grid-break {
  position: absolute; left: 0; right: 0;
  top: calc(var(--dayhead-h) + var(--band-h));
  height: var(--gap-h);
  display: flex; align-items: center; gap: 1rem;
  font-size: var(--t-micro); color: var(--slate); letter-spacing: 0.08em; text-transform: uppercase;
  pointer-events: none;
}
.grid-break::before, .grid-break::after { content: ""; height: 1px; background: var(--hair); flex: 1; }

.slot {
  position: absolute;
  left: 2px; right: 2px;
  top: calc(var(--s) * var(--ppm));
  height: calc(var(--d) * var(--ppm) - 4px);
  padding: 0.55rem 0.7rem;
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.slot:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(31, 34, 30, 0.12); border-color: var(--gold-2); z-index: 3; }
.slot--lagodna   { background: var(--sand); border-color: #E0D0B4; }
.slot--kregoslup { background: var(--moss-2); border-color: #C8D2C3; }
.slot--online    { background: transparent; border-style: dashed; }
.slot--a { right: 51%; }
.slot--b { left: 51%; }
.slot--a, .slot--b { padding: 0.4rem 0.45rem; }
.slot--a .slot-time, .slot--b .slot-time { font-size: 0.62rem; }
.slot--a .slot-name, .slot--b .slot-name { font-size: 0.8rem; line-height: 1.1; margin-top: 0.12rem; }
.slot--a .slot-who,  .slot--b .slot-who  { font-size: 0.6rem; margin-top: 0.14rem; }

.slot-time { font-size: 0.7rem; color: var(--slate); display: block; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.slot-name {
  font-family: var(--display); font-weight: 400; font-variation-settings: "opsz" 18, "SOFT" 30;
  font-size: 1rem; line-height: 1.15; margin-top: 0.25rem;
  display: flex; align-items: baseline; gap: 0.35rem;
}
.slot-name::before {
  content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%;
  background: transparent; transform: translateY(-1px);
}
.slot[data-begin="true"] .slot-name::before { background: var(--gold); }
.slot-who { font-size: 0.7rem; color: var(--slate); margin-top: 0.3rem; display: block; }

/* the "now" line */
.now { position: absolute; left: 0; right: 0; z-index: 4; pointer-events: none; }
.now::before { content: ""; display: block; height: 1px; background: var(--gold); }
.now::after {
  content: attr(data-label);
  position: absolute; right: 0; top: -0.6rem;
  background: var(--gold); color: var(--white);
  font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
  padding: 2px 8px;
}

.week-foot {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  margin-top: 2rem; padding-top: 1.5rem; border-top: var(--rule);
}

/* mobile: same DOM re-flows into a stacked day list */
@media (max-width: 880px) {
  .grid { display: block; }
  .grid-rail, .grid-break, .band-gap { display: none; }
  .grid-day + .grid-day { margin-top: 2rem; }
  .grid-dayhead { height: auto; padding-bottom: 0.5rem; }
  .band-col {
    position: static; height: auto; border-right: 0; background-image: none;
    display: grid; gap: 0.5rem;
  }
  .band-col:empty { display: none; }
  .band-col:not(:empty) + .band-col:not(:empty) { margin-top: 0.5rem; }
  .grid-day[data-today="true"] .band-col { background-color: transparent; }
  .band-am { margin-top: 0.75rem; }
  .band-pm:not(:empty) { margin-top: 0.5rem; }
  .slot {
    position: static; left: auto; right: auto; top: auto; height: auto;
    display: grid; grid-template-columns: 5.5rem 1fr; gap: 0.1rem 0.75rem;
    align-items: baseline; padding: 0.85rem 1rem;
  }
  .slot--a, .slot--b { left: auto; right: auto; }
  .slot-time { grid-row: 1 / 3; font-size: 0.8rem; align-self: center; }
  .slot-name { font-size: 1.1rem; margin-top: 0; }
  .slot-who { margin-top: 0; }
  .legend { margin-left: 0; }
}

/* --------------------------------------------------------------------------
   props — an editorial list, each object drawn small beside its name
   -------------------------------------------------------------------------- */
.props { display: grid; border-top: 1px solid var(--ink); }
.prop {
  display: grid; grid-template-columns: 4.5rem minmax(0, 11rem) minmax(0, 1fr);
  gap: 0.5rem 1.5rem; align-items: center;
  padding: 1.15rem 0; border-bottom: var(--rule);
}
.prop svg { width: 100%; height: 40px; color: var(--gold); margin: 0; }
.prop h3 { font-family: var(--display); font-size: 1.35rem; font-weight: 400; font-variation-settings: "opsz" 24, "SOFT" 30; letter-spacing: -0.01em; }
.prop p { font-size: 0.97rem; color: var(--ink-2); margin: 0; }
@media (max-width: 560px) {
  .prop { grid-template-columns: 3.5rem minmax(0, 1fr); }
  .prop p { grid-column: 2; }
}

/* --------------------------------------------------------------------------
   teachers on the home page — a ranked list with large numerals
   -------------------------------------------------------------------------- */
.ladder { border-top: 1px solid var(--ink); }
.rung {
  display: grid;
  grid-template-columns: 6rem minmax(0, 18rem) minmax(0, 1fr);
  gap: 0.75rem 2rem;
  align-items: baseline;
  padding-block: 1.75rem;
  border-bottom: var(--rule);
  transition: background-color 0.3s var(--ease);
}
.rung-step { font-size: var(--t-micro); color: var(--slate); letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; }
.rung-step b {
  display: block; font-family: var(--display); font-size: 2.6rem; font-weight: 300; color: var(--ink);
  font-variation-settings: "opsz" 96, "SOFT" 30; letter-spacing: -0.03em; line-height: 1; margin-top: 0.3rem;
}
.rung-name { font-family: var(--display); font-weight: 400; font-variation-settings: "opsz" 32, "SOFT" 30; font-size: 1.55rem; letter-spacing: -0.015em; }
.rung-cert { font-size: var(--t-micro); color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; margin-top: 0.45rem; display: block; }
.rung-bio { font-size: 0.99rem; color: var(--ink-2); max-width: 58ch; }
.rung-bio b { font-weight: 600; color: var(--ink); }
@media (max-width: 760px) {
  .rung { grid-template-columns: minmax(0, 1fr); gap: 0.5rem; }
  .rung-step b { display: inline; font-size: 1.6rem; margin: 0 0.5rem 0 0; }
}

/* --------------------------------------------------------------------------
   two practices — dark band, hairline columns
   -------------------------------------------------------------------------- */
.two {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid rgba(245,241,234,0.25);
}
.practice { padding: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 3rem) clamp(2rem, 4vw, 3.5rem) 0; }
.practice + .practice { border-left: 1px solid rgba(245,241,234,0.18); padding-left: clamp(1.5rem, 3vw, 3rem); }
.practice h3 { font-family: var(--display); font-weight: 300; font-variation-settings: "opsz" 64, "SOFT" 30; font-size: 2.2rem; letter-spacing: -0.02em; margin-top: 1rem; color: var(--paper); }
.practice p { margin-top: 1rem; color: #C9CFC4; font-size: 1rem; max-width: 44ch; }
.practice dl { margin: 1.75rem 0 0; display: grid; gap: 0.6rem; max-width: 30rem; }
.practice div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 0.6rem; border-bottom: 1px solid rgba(245,241,234,0.14); }
.practice dt { font-size: var(--t-small); color: #A9B3A8; }
.practice dd { margin: 0; font-size: var(--t-small); font-weight: 600; color: var(--paper); font-variant-numeric: tabular-nums; }
.practice .btn { margin-top: 2rem; }
@media (max-width: 700px) {
  .practice + .practice { border-left: 0; border-top: 1px solid rgba(245,241,234,0.18); padding-left: 0; }
}

/* --------------------------------------------------------------------------
   price ladder — a descending series drawn as one row
   -------------------------------------------------------------------------- */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border-top: 1px solid var(--ink); }
.price { padding: 1.75rem 1.4rem 1.75rem 0; display: flex; flex-direction: column; border-bottom: var(--rule); }
.price + .price { padding-left: 1.4rem; border-left: var(--rule); }
.price-label { font-size: var(--t-micro); letter-spacing: 0.18em; text-transform: uppercase; color: var(--slate); font-weight: 600; }
.price-per { font-family: var(--display); font-weight: 300; font-variation-settings: "opsz" 96, "SOFT" 30; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; margin-top: 1.1rem; letter-spacing: -0.03em; }
.price-per small { font-size: 0.36em; letter-spacing: 0; margin-left: 0.2em; color: var(--slate); font-family: var(--body); font-weight: 500; }
.price-bar { height: 2px; background: var(--hair); margin-top: 1.1rem; width: var(--w); }
.price-total { font-size: var(--t-micro); color: var(--slate); margin-top: 0.85rem; letter-spacing: 0.04em; }
.price[data-best="true"] { background: var(--forest); color: var(--paper); padding-left: 1.4rem; padding-right: 1.4rem; margin-block: -1px; border-color: var(--forest); }
.price[data-best="true"] .price-label { color: var(--gold-2) !important; }
.price[data-best="true"] .price-per small, .price[data-best="true"] .price-total { color: #B7C1B4; }
.price[data-best="true"] .price-bar { background: var(--gold-2); }

/* --------------------------------------------------------------------------
   visit / footer
   -------------------------------------------------------------------------- */
.visit { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.visit h2 { font-size: var(--t-h2); margin-top: 1.25rem !important; }
.visit address { font-style: normal; margin-top: 1.75rem; font-size: var(--t-lead); line-height: 1.5; }
.visit .mono { display: block; margin-top: 1rem; font-size: var(--t-small); color: var(--slate); letter-spacing: 0.04em; }
.visit ul { margin-top: 1.5rem !important; border-top: 1px solid var(--ink); }
.visit ul li { padding: 1.1rem 0 !important; border-bottom: var(--rule) !important; }
.visit ul strong { display: block; font-family: var(--display); font-weight: 400; font-variation-settings: "opsz" 24, "SOFT" 30; font-size: 1.3rem; margin-bottom: 0.2rem; }

.foot { background: var(--forest); color: #B7C1B4; padding-block: clamp(4rem, 7vw, 6rem) 2rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.foot h4 { font-family: var(--display); font-size: 1.35rem; font-weight: 300; font-variation-settings: "opsz" 32, "SOFT" 30; color: var(--paper); margin-bottom: 1.1rem; }
.foot li + li { margin-top: 0.6rem; }
.foot a { text-decoration: none; font-size: 0.95rem; transition: color 0.2s var(--ease); }
.foot a:hover { color: var(--gold-2); }
.foot-bar {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between;
  margin-top: clamp(3rem, 5vw, 4.5rem); padding-top: 1.5rem;
  border-top: 1px solid rgba(245,241,234,0.14);
  font-size: var(--t-micro); color: #7F8C7E; letter-spacing: 0.06em;
}
@media (max-width: 900px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }

/* --------------------------------------------------------------------------
   entrance
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal > *,
  .js .week .slot {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
    transition-delay: calc(var(--i, 0) * 90ms);
  }
  .js .reveal.is-in > *,
  .js .week.is-in .slot {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Subpage components
   ========================================================================== */

/* --- page header: a full-width band, dark or photographic ---------------- */
.pagehead {
  position: relative; isolation: isolate;
  background: var(--forest); color: var(--paper);
  padding-block: clamp(4.5rem, 9vw, 8rem) clamp(3rem, 6vw, 5.5rem);
}
.pagehead h1 { font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5.8rem); margin-top: 1.25rem; max-width: 15ch; text-wrap: balance; color: var(--paper); }
.pagehead p.lead { margin-top: 1.6rem; max-width: 52ch; color: rgba(245, 241, 234, 0.82); }
.crumb { font-size: var(--t-micro); color: var(--gold-2); letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--paper); }

.pagehead--photo {
  overflow: hidden;
  min-height: min(72svh, 720px);
  display: flex; align-items: flex-end;
  padding-top: clamp(8rem, 16vw, 12rem);
}
.pagehead--photo > .wrap { position: relative; z-index: 2; }
.pagehead-img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center);
}
.pagehead-shade {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, rgba(18, 22, 18, 0.85) 0%, rgba(18, 22, 18, 0.4) 50%, rgba(18, 22, 18, 0.2) 100%),
    linear-gradient(to right, rgba(18, 22, 18, 0.45), rgba(18, 22, 18, 0.1) 60%, transparent 80%);
}
@media (max-width: 700px) { .pagehead--photo { min-height: min(60svh, 560px); } }

/* closing call — the same dark register as the home page */
.callband { background: var(--forest); color: var(--paper); padding-block: clamp(4rem, 8vw, 7rem); }
.callband-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.callband h2 { font-size: var(--t-h2); max-width: 16ch; margin-top: 1.25rem; color: var(--paper); text-wrap: balance; }
.callband p { color: #C9CFC4; max-width: 46ch; margin-top: 1.25rem; }
.callband .hero-actions { margin-top: 0; justify-content: flex-end; }
.callband .btn-mark { background: var(--paper); color: var(--ink); }
.callband .btn-mark:hover { background: var(--white); }
@media (max-width: 800px) {
  .callband-in { grid-template-columns: minmax(0, 1fr); }
  .callband .hero-actions { justify-content: flex-start; margin-top: 1.5rem; }
}

/* --- long-form article ---------------------------------------------------- */
.prose { max-width: 66ch; font-size: 1.12rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.4rem; }
.prose h2 {
  font-family: var(--display); font-weight: 300; font-variation-settings: "opsz" 64, "SOFT" 30;
  font-size: 2.1rem; letter-spacing: -0.02em; line-height: 1.1;
  margin-top: 3.25rem;
}
.prose h3 { font-family: var(--display); font-size: 1.4rem; font-weight: 400; font-variation-settings: "opsz" 24, "SOFT" 30; margin-top: 2.25rem; }
.prose strong { font-weight: 600; }
.prose ul { display: grid; gap: 0.65rem; }
.prose ul li { padding-left: 1.5rem; position: relative; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.78em; width: 10px; height: 1px; background: var(--gold); }
.prose figure { margin: 2.5rem 0; padding: 2rem 0; border-top: 1px solid var(--ink); border-bottom: var(--rule); }
.prose blockquote { margin: 0; font-family: var(--display); font-style: italic; font-weight: 300; font-variation-settings: "opsz" 48, "SOFT" 30; font-size: 1.6rem; line-height: 1.35; letter-spacing: -0.01em; }
.prose figcaption { margin-top: 1rem; font-size: var(--t-micro); color: var(--slate); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }
.source { font-size: var(--t-micro); color: var(--slate); letter-spacing: 0.06em; }

/* --- rules / definition rows ---------------------------------------------- */
.rules { border-top: 1px solid var(--ink); }
.rules > div { display: grid; grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); gap: 0.5rem 2.5rem; padding-block: 1.5rem; border-bottom: var(--rule); }
.rules dt { font-family: var(--display); font-weight: 400; font-variation-settings: "opsz" 24, "SOFT" 30; font-size: 1.3rem; letter-spacing: -0.01em; }
.rules dd { margin: 0; color: var(--ink-2); }
.rules--stack > div { grid-template-columns: minmax(0, 1fr); gap: 0.35rem; }
@media (max-width: 700px) { .rules > div { grid-template-columns: minmax(0, 1fr); } }

/* --- full price table ----------------------------------------------------- */
.ptable { width: 100%; max-width: 60rem; font-size: 0.99rem; }
.ptable th { text-align: left; font-size: var(--t-micro); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); padding: 0 1rem 0.9rem 0; border-bottom: 1px solid var(--ink); }
.ptable td { padding: 1.1rem 1rem 1.1rem 0; border-bottom: var(--rule); vertical-align: baseline; }
.ptable .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.ptable .name { font-family: var(--display); font-weight: 400; font-variation-settings: "opsz" 24, "SOFT" 30; font-size: 1.25rem; letter-spacing: -0.01em; }
.ptable tr[data-best="true"] td { background: var(--forest); color: var(--paper); }
.ptable tr[data-best="true"] td:first-child { padding-left: 1rem; }
.ptable tr[data-best="true"] .muted { color: #B7C1B4; }
.tag { display: inline-block; margin-left: 0.6rem; padding: 2px 9px; border-radius: 999px; background: var(--gold); color: var(--white); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; vertical-align: 2px; }
.tablescroll { overflow-x: auto; }

/* --- person ---------------------------------------------------------------- */
.people { border-top: 1px solid var(--ink); }
.person {
  display: grid; grid-template-columns: 180px minmax(0, 18rem) minmax(0, 1fr);
  gap: 1rem 2.5rem; padding: clamp(1.75rem, 3vw, 2.5rem) 0; align-items: start;
  border-bottom: var(--rule);
}
.person img {
  width: 180px; height: 220px; object-fit: cover; background: var(--paper-2);
  filter: grayscale(1) contrast(1.02);
  transition: filter 0.6s var(--ease);
}
.person:hover img { filter: grayscale(0) contrast(1); }
.person h2 { font-family: var(--display); font-weight: 300; font-variation-settings: "opsz" 48, "SOFT" 30; font-size: 2rem; letter-spacing: -0.02em; line-height: 1.05; }
.person .cert { display: block; margin-top: 0.6rem; font-size: var(--t-micro); color: var(--gold); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }
.person p { color: var(--ink-2); max-width: 62ch; }
.person .tel { margin-top: 1.25rem; }
@media (max-width: 1000px) {
  .person { grid-template-columns: 160px minmax(0, 1fr); }
  .person img { width: 160px; height: 195px; }
  .person .bio { grid-column: 2; }
}
@media (max-width: 640px) {
  .person { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
  .person img { width: 130px; height: 158px; }
  .person .bio { grid-column: 1; }
}

/* --- forms ----------------------------------------------------------------- */
.form { display: grid; gap: 1.25rem; max-width: 34rem; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.25rem; }
.field { display: grid; gap: 0.5rem; }
.field label { font-size: var(--t-micro); letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); font-weight: 600; }
.field input, .field select, .field textarea {
  font-family: var(--body); font-size: 1rem; color: var(--ink);
  padding: 0.85rem 0;
  background: transparent;
  border: 0; border-bottom: 1px solid var(--ink);
  border-radius: 0;
  transition: border-color 0.2s var(--ease);
  width: 100%;
}
.field select { padding-right: 1.5rem; }
.field textarea { resize: vertical; min-height: 7rem; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); border-bottom-width: 2px; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-bottom-color: #A8432F; }
.field .err { font-size: var(--t-micro); color: #A8432F; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.formstate { font-size: var(--t-small); padding: 1rem 1.2rem; display: none; }
.formstate[data-show="ok"]  { display: block; background: var(--moss-2); color: var(--forest); }
.formstate[data-show="err"] { display: block; background: #F1DED8; color: #7A2E1F; }
.btn[data-busy="true"] { opacity: 0.6; pointer-events: none; }

/* --- steps ------------------------------------------------------------------ */
.steps { counter-reset: step; display: grid; border-top: 1px solid var(--ink); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: 1.25rem; align-items: baseline; padding-block: 1.25rem; border-bottom: var(--rule); }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--display); font-size: 1.6rem; font-weight: 300; color: var(--gold); font-variation-settings: "opsz" 48, "SOFT" 30; line-height: 1; }

/* --- callout / map ---------------------------------------------------------- */
.note { padding: 1.6rem 1.75rem; background: var(--paper-2); border-left: 2px solid var(--gold); }
.band-panel .note { background: var(--white); }
.note h3 { font-family: var(--display); font-size: 1.3rem; font-weight: 400; font-variation-settings: "opsz" 24, "SOFT" 30; margin-bottom: 0.6rem; }
.note--yes { border-left-color: var(--moss); }
.note--no  { border-left-color: #A8432F; }

.mapframe { overflow: hidden; background: var(--paper-2); }
.mapframe iframe { display: block; width: 100%; height: 400px; border: 0; filter: grayscale(1) contrast(1.05) sepia(0.15); }
.maplink { padding: 1rem 0; border-bottom: var(--rule); font-size: 0.95rem; }

/* --- product ---------------------------------------------------------------- */
.product { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.product img { width: 100%; }
.spec { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); margin-top: 2rem; border-top: 1px solid var(--ink); }
.spec div { padding: 1rem 1.25rem 1rem 0; border-bottom: var(--rule); }
.spec div + div { padding-left: 1.25rem; border-left: var(--rule); }
.spec dt { font-size: var(--t-micro); letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); font-weight: 600; }
.spec dd { margin: 0.4rem 0 0; font-family: var(--display); font-weight: 400; font-variation-settings: "opsz" 24, "SOFT" 30; font-size: 1.3rem; }
@media (max-width: 760px) { .product { grid-template-columns: minmax(0, 1fr); } .product img { max-width: 300px; } }

/* --- two-column text ---------------------------------------------------------- */
.cols2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(2rem, 5vw, 4.5rem); }
.stack { display: grid; gap: 1.1rem; align-content: start; }
