/* =========================================================
   Elly Kukk — test styles, shared structure
   Each test style (1-garden.css, 2-evening.css, 3-daylight.css)
   sets the colours and type and re-arranges a few sections.
   main.js and nav.js are unchanged copies of the live scripts.
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--body-size, 17px);
  line-height: 1.65;
  color: var(--page-ink);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, dl, dd, ol, ul { margin: 0; }
::selection { background: var(--select-bg); color: var(--select-ink); }
:focus-visible { outline: 2px solid var(--focus, currentColor); outline-offset: 3px; }
.defs { position: absolute; width: 0; height: 0; }
.tg-1 { stop-color: var(--t1); } .tg-2 { stop-color: var(--t2); } .tg-3 { stop-color: var(--t3); }
.tg-4 { stop-color: var(--t4); } .tg-5 { stop-color: var(--t5); } .tg-6 { stop-color: var(--t6); }

.wrap { position: relative; max-width: var(--max, 1240px); margin: 0 auto; padding: 0 var(--pad); }

/* Section tones. Components read --ink / --soft / --rule / --acc. */
.green { --bg: var(--green); --ink: var(--on-green); --soft: var(--on-green-soft); --rule: var(--rule-green); --acc: var(--acc-green); }
.paper { --bg: var(--paper); --ink: var(--on-paper); --soft: var(--on-paper-soft); --rule: var(--rule-paper); --acc: var(--acc-paper); }
.bark  { --bg: var(--bark);  --ink: var(--on-bark);  --soft: var(--on-bark-soft);  --rule: var(--rule-bark);  --acc: var(--acc-bark); }
.green, .paper, .bark { background: var(--bg); color: var(--ink); }

.eyebrow {
  font-family: var(--font-label);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--soft);
}
.display {
  font-family: var(--font-display);
  font-weight: var(--display-weight, 400);
  font-size: clamp(38px, 4.8vw, 68px);
  line-height: 1.04;
  letter-spacing: var(--display-track, -0.01em);
  text-wrap: balance;
}

/* Buttons and links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: var(--btn-radius, 999px);
  font-family: var(--font-label);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.1;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.btn svg { width: 22px; height: auto; flex: none; transition: transform 0.25s ease; }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--btn-bg); color: var(--btn-ink); }
.btn-primary:hover { background: var(--btn-bg-hover); }
.btn-outline { border-color: var(--btn-line, currentColor); }
.btn-outline:hover { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-ink); }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  font-family: var(--font-label);
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--rule);
  transition: border-color 0.25s ease, color 0.25s ease;
}
.link-arrow svg { width: 22px; height: auto; transition: transform 0.25s ease; }
.link-arrow:hover { border-color: currentColor; }
.link-arrow:hover svg { transform: translateX(4px); }

.photo { position: relative; overflow: hidden; border-radius: var(--photo-radius, 2px); background: rgba(0, 0, 0, 0.12); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 20px var(--pad);
  color: var(--nav-ink);
  transition: background 0.4s ease, padding 0.4s ease, color 0.3s ease, box-shadow 0.4s ease;
}
.nav.scrolled {
  padding-block: 12px;
  color: var(--nav-ink-scrolled, var(--nav-ink));
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--nav-line, transparent);
}
.nav-mark {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: var(--nav-name-size, 23px);
  letter-spacing: 0.005em;
  line-height: 1;
}
.nav-mark img { height: 28px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 38px; font-family: var(--font-label); font-size: 15px; font-weight: 500; }
.nav-links a { padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color 0.25s ease; }
.nav-links a:hover { border-color: currentColor; }
.nav-right { justify-self: end; display: flex; align-items: center; gap: 18px; }
.nav-account { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-label); font-size: 15px; font-weight: 500; }
.nav-account-icon { width: 28px; height: 28px; padding: 4px; border: 1px solid; border-color: color-mix(in oklab, currentColor 40%, transparent); border-radius: 50%; }
.nav-account:hover .nav-account-icon { border-color: currentColor; }
.nav-divider { width: 1px; height: 22px; background: currentColor; opacity: 0.25; }
.nav-cta { padding: 11px 22px; font-size: 14.5px; }

.nav-toggle { display: none; position: relative; width: 44px; height: 44px; margin-right: -10px; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform 0.35s ease, top 0.35s ease; }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 26px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  padding: calc(96px + env(safe-area-inset-top)) var(--pad) calc(32px + env(safe-area-inset-bottom));
  background: var(--menu-bg);
  color: var(--menu-ink);
  overflow-y: auto;
  animation: menuIn 0.35s ease both;
}
.mobile-menu[hidden] { display: none; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mm-links { display: flex; flex-direction: column; border-top: 1px solid var(--menu-rule); }
.mm-links a { padding: 16px 0; border-bottom: 1px solid var(--menu-rule); font-family: var(--font-display); font-weight: var(--display-weight, 400); font-size: 34px; line-height: 1.1; }
.mm-book { align-self: flex-start; margin-top: 32px; }
.mm-account { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-family: var(--font-label); font-size: 15px; font-weight: 500; }
.mm-contact { margin: auto 0 0; padding-top: 36px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; opacity: 0.75; }
.no-scroll, .no-scroll body { overflow: hidden; }
.nav.menu-open { background: var(--menu-bg); color: var(--menu-ink); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }

/* ---------- hero (each style lays this out itself) ---------- */
.hero { position: relative; overflow: hidden; min-height: 100vh; min-height: 100svh; background: var(--bg); color: var(--ink); }
.hero > * { position: relative; }
.hero-thread { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-thread path {
  fill: none;
  vector-effect: non-scaling-stroke;
  stroke-width: var(--thread-w, 1.5);
  stroke-linecap: round;
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
  animation: threadIn 2.8s 0.35s cubic-bezier(0.45, 0, 0.2, 1) forwards;
}
@keyframes threadIn { to { stroke-dashoffset: 0; } }
.hero-eyebrow { font-family: var(--font-label); font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.6; color: var(--soft); }
.hero-name { font-family: var(--font-display); font-weight: var(--display-weight, 400); line-height: 0.9; letter-spacing: -0.02em; }
.hero-lede { font-family: var(--font-display); font-weight: var(--display-weight, 400); font-size: clamp(24px, 2.2vw, 32px); line-height: 1.18; text-wrap: balance; }
.hero-sub { margin-top: 16px; max-width: 36ch; color: var(--soft); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 30px; }
.hero-facts { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 36px; font-family: var(--font-label); font-size: 14px; color: var(--soft); }
.hero-photo { animation: rise 1.3s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- mission ---------- */
.mission { position: relative; overflow: hidden; padding: clamp(120px, 14vw, 200px) 0 clamp(90px, 10vw, 150px); }
.thread { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
/* main.js writes --draw (0 → 1 → 2) and moves the gust dashes. */
.thread > path { fill: none; vector-effect: non-scaling-stroke; }
.thread > .line { stroke-width: var(--thread-w, 1.5); opacity: var(--thread-o, 0.9); stroke-dasharray: 1 1; stroke-dashoffset: calc(1 - var(--draw, 1)); }
.thread > .gust { stroke-width: 1; stroke-linecap: round; stroke-dasharray: var(--dash, 0.22) 2; stroke-dashoffset: 1; opacity: 0; }
.leaves { position: absolute; inset: 0; pointer-events: none; }
.leaf { position: absolute; top: 0; left: 0; opacity: 0; will-change: transform, opacity; }
.leaf svg { display: block; width: 100%; height: auto; overflow: visible; animation: flutter 2.4s ease-in-out infinite alternate; }
@keyframes flutter { from { transform: rotate(-8deg) scaleY(0.92); } to { transform: rotate(8deg) scaleY(1); } }

.mission-grid { display: grid; grid-template-columns: minmax(120px, 200px) 1fr; gap: 32px; align-items: start; }
.mission-grid .eyebrow { padding-top: 14px; }
.statement {
  font-family: var(--font-display);
  font-weight: var(--display-weight, 400);
  font-size: clamp(32px, 4.7vw, 70px);
  line-height: 1.1;
  letter-spacing: var(--display-track, -0.01em);
  color: var(--statement-ink, var(--ink));
}
.statement em { font-style: var(--em-style, normal); color: var(--em-ink, inherit); }
.chip { display: inline-block; width: 1.5em; height: 0.8em; margin: 0 0.08em; vertical-align: -0.05em; overflow: hidden; border-radius: var(--photo-radius, 2px); }
.chip img { width: 100%; height: 100%; object-fit: cover; }
.mission-foot { display: flex; justify-content: flex-end; margin-top: 52px; }
.mission-sub { max-width: 44ch; color: var(--soft); }
.values { list-style: none; margin-top: clamp(64px, 8vw, 110px); padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.4vw, 48px); }
.values li { padding-top: 22px; border-top: 1px solid var(--rule); }
.values h3 { font-family: var(--font-display); font-weight: var(--display-weight, 400); font-size: 30px; line-height: 1.1; }
.values p { margin-top: 10px; color: var(--soft); }
.values em { font-style: italic; color: var(--ink); }

/* ---------- garden: the photograph, framed by rails that open (--g from main.js) ---------- */
.garden { position: relative; height: 220vh; background: var(--garden-bg); --ink: var(--garden-ink); }
.garden-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; overflow: hidden; }
.garden-rail {
  flex: 0 0 auto;
  width: calc((1 - var(--g)) * 12.5vw);
  opacity: calc(1 - var(--g) * 1.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 96px 0 40px;
  color: var(--garden-ink);
  overflow: hidden;
  white-space: nowrap;
}
.garden-rail img { width: 76px; height: auto; }
.rail-line { flex: 1; width: 1px; margin: 28px 0; background: currentColor; opacity: 0.2; }
.garden-rail-right { justify-content: flex-end; align-items: flex-end; padding-right: calc((1 - var(--g)) * 28px); }
.rail-big { font-family: var(--font-display); font-weight: var(--display-weight, 400); font-size: clamp(17px, 1.5vw, 23px); line-height: 1.2; text-align: right; }
.garden-frame { flex: 1 1 auto; position: relative; margin: calc((1 - var(--g)) * 3vh) 0; overflow: hidden; border-radius: calc((1 - var(--g)) * var(--photo-radius, 2px)); }
.garden-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 55%; transform: scale(calc(1.12 - var(--g) * 0.12)); }

/* ---------- sessions ---------- */
.sessions { padding: clamp(96px, 11vw, 160px) 0 clamp(84px, 9vw, 130px); }
.offer-head, .classes-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 6vw, 96px);
  align-items: end;
  padding-bottom: clamp(48px, 6vw, 84px);
}
.offer-lead, .classes-lead { max-width: 46ch; font-size: 18px; line-height: 1.6; color: var(--soft); }

.plate {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 6.5vw, 104px);
  align-items: center;
  padding: clamp(44px, 5.5vw, 76px) 0;
  border-top: 1px solid var(--rule);
}
.plate-flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.plate-flip .plate-media { order: 2; }
.plate-media { width: 100%; aspect-ratio: 4 / 5; }
.plate-title { font-family: var(--font-display); font-weight: var(--display-weight, 400); font-size: clamp(30px, 3.2vw, 46px); line-height: 1.08; letter-spacing: var(--display-track, -0.01em); }
.plate-text { max-width: 54ch; margin-top: 20px; font-size: 18px; line-height: 1.6; }
.plate-ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 36px; max-width: 620px; margin-top: 28px; }
.plate-ways dt { font-family: var(--font-label); font-size: 12.5px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--acc); }
.plate-ways dd { margin-top: 8px; font-size: 16px; line-height: 1.6; color: var(--soft); }

.ledger { max-width: 620px; margin-top: 34px; border-top: 1px solid var(--rule); }
.ledger div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.ledger dt { font-family: var(--font-label); font-size: 15px; font-weight: 500; }
.ledger dd { font-family: var(--font-display); font-weight: var(--display-weight, 400); font-size: 28px; line-height: 1; color: var(--price-ink, var(--ink)); white-space: nowrap; font-variant-numeric: lining-nums; }
.ledger .is-main dd { font-size: 40px; }
.ledger dd small { margin-right: 8px; font-family: var(--font-label); font-size: 14px; font-weight: 400; color: var(--soft); }

.offer-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--rule); }
.offer-cta p { font-family: var(--font-display); font-weight: var(--display-weight, 400); font-size: clamp(24px, 2.3vw, 32px); line-height: 1.2; }

/* ---------- testimonials ---------- */
.testimonials { padding: clamp(88px, 10vw, 140px) 0; }
.t-grid { display: grid; grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1.58fr); gap: clamp(32px, 6vw, 96px); }
.t-side { display: flex; flex-direction: column; }
.t-mark { display: block; height: 0.5em; margin: 22px 0 0 -0.04em; font-family: var(--font-display); font-size: clamp(160px, 16vw, 260px); line-height: 0.85; color: var(--acc); }
.t-controls { display: flex; flex-direction: column; gap: 16px; margin-top: auto; }
.t-count { font-family: var(--font-label); font-size: 14px; color: var(--soft); font-variant-numeric: tabular-nums; }
.t-nav { display: flex; align-items: center; gap: 10px; }
.arrow-btn, .t-pause {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  color: var(--ink);
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.arrow-btn svg { width: 18px; height: auto; }
.t-pause svg { width: 20px; height: 20px; }
.arrow-btn:hover, .t-pause:hover { border-color: var(--ink); }
.t-pause .i-play, .t-pause[aria-pressed="true"] .i-pause { display: none; }
.t-pause[aria-pressed="true"] .i-play { display: block; }

.t-track { display: grid; outline: none; touch-action: pan-y; }
.t-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s linear 0.8s;
}
.t-slide.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0.15s, 0.15s, 0s; }
.t-slide blockquote { margin: 0; max-width: 24em; font-family: var(--font-display); font-weight: var(--display-weight, 400); font-size: clamp(25px, 2.8vw, 40px); line-height: 1.28; text-wrap: pretty; }
.t-slide figcaption { display: flex; align-items: baseline; gap: 12px; margin-top: 30px; font-family: var(--font-label); font-size: 15px; font-weight: 600; }
.t-slide figcaption span { font-weight: 400; color: var(--soft); }
.t-progress { position: relative; height: 1px; margin-top: 48px; background: var(--rule); }
.t-progress span { position: absolute; inset: -0.5px auto -0.5px 0; width: 100%; background: var(--progress, var(--acc)); transform-origin: left center; animation: tProgress 9s linear both; }
.t-main.is-paused .t-progress span { animation-play-state: paused; }
@keyframes tProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.t-names { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 26px; padding: 20px 0 0; }
.t-names button { padding: 6px 0; font-family: var(--font-label); font-size: 15px; color: var(--soft); border-bottom: 1px solid transparent; transition: color 0.25s ease, border-color 0.25s ease; }
.t-names button:hover { color: var(--ink); }
.t-names button[aria-current="true"] { color: var(--ink); border-color: var(--acc); }

/* ---------- classes ---------- */
.classes { padding: clamp(96px, 11vw, 160px) 0; }
.path-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 40px; padding-bottom: 18px; border-bottom: 1px solid var(--rule); }
.list-title { font-family: var(--font-display); font-weight: var(--display-weight, 400); font-size: clamp(28px, 2.8vw, 38px); line-height: 1.1; }
.path-note { color: var(--soft); }
.path { list-style: none; padding: 0; margin-bottom: clamp(72px, 8vw, 120px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
.step-dot { display: block; font-family: var(--font-display); font-size: 20px; line-height: 1; color: var(--acc); }
.step-meta { font-family: var(--font-label); font-size: 14px; color: var(--soft); }
.step-name { font-family: var(--font-display); font-weight: var(--display-weight, 400); font-size: clamp(23px, 2vw, 28px); line-height: 1.15; }
.step-price { font-family: var(--font-display); font-weight: var(--display-weight, 400); font-size: 32px; line-height: 1; color: var(--price-ink, var(--ink)); font-variant-numeric: lining-nums; }
.step-text { font-size: 16px; line-height: 1.6; color: var(--soft); }
.step { display: flex; flex-direction: column; gap: 10px; }
.step .step-text { margin-top: 6px; }

.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 72px); }
.duo-item { padding-top: 22px; border-top: 1px solid var(--rule); }
.duo-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.duo .step-name { margin-top: 6px; }
.duo .step-text { margin-top: 14px; }
.register { margin-top: clamp(52px, 6vw, 80px); padding-top: 26px; border-top: 1px solid var(--rule); font-size: 18px; text-align: center; }
.register a { color: var(--link, var(--acc)); white-space: nowrap; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* ---------- about ---------- */
.about { padding: clamp(96px, 11vw, 160px) 0; }
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(44px, 7vw, 112px); align-items: start; }
.about-photo { aspect-ratio: 4 / 5; }
.glance { margin-top: 40px; }
.glance dl { margin-top: 14px; }
.glance dl div { display: grid; grid-template-columns: 76px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--rule); }
.glance dt { font-family: var(--font-display); font-size: 21px; line-height: 1.25; color: var(--acc); font-variant-numeric: lining-nums; }
.glance dd { font-size: 15.5px; color: var(--soft); }
.prose { margin-top: 28px; max-width: 58ch; }
.prose p { margin-bottom: 1.15em; font-size: 18px; color: var(--soft); }
.prose p:first-child { font-family: var(--font-display); font-weight: var(--display-weight, 400); font-size: clamp(22px, 1.9vw, 27px); line-height: 1.38; color: var(--ink); }
.creds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 36px; padding-top: 30px; border-top: 1px solid var(--rule); }
.cred { display: flex; align-items: center; gap: 16px; }
.cred p { font-size: 15.5px; line-height: 1.45; color: var(--ink); }
.cred .eyebrow { display: block; margin-bottom: 3px; font-size: 11.5px; color: var(--acc); }
.cred-oval { flex-shrink: 0; width: 56px; height: 72px; border-radius: var(--photo-radius, 2px); object-fit: cover; }
.cred-badge { flex-shrink: 0; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #fbf8ec; }
.cred-badge img { width: 40px; height: auto; }
a.cred:hover p { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ---------- contact & footer ---------- */
.contact { padding: clamp(96px, 11vw, 160px) 0 clamp(70px, 8vw, 110px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.contact-title { font-family: var(--font-display); font-weight: var(--display-weight, 400); font-size: clamp(48px, 6.8vw, 104px); line-height: 0.98; letter-spacing: var(--display-track, -0.015em); text-wrap: balance; }
.contact-lead { max-width: 44ch; margin-top: 24px; font-size: 18px; color: var(--soft); }
.contact .btn { margin-top: 32px; }
.book-note { margin-top: 14px; font-size: 14px; color: var(--soft); }
.contact-media { width: 100%; max-width: 360px; aspect-ratio: 4 / 5; justify-self: end; }
.contact-rows { margin-top: clamp(60px, 7vw, 100px); border-bottom: 1px solid var(--rule); }
.contact-row { display: grid; grid-template-columns: 120px 1fr 40px; align-items: center; gap: 20px; padding: 22px 0; border-top: 1px solid var(--rule); }
.contact-value { font-family: var(--font-display); font-weight: var(--display-weight, 400); font-size: clamp(26px, 3.2vw, 46px); line-height: 1.1; overflow-wrap: anywhere; font-variant-numeric: lining-nums; }
.row-arrow { justify-self: end; width: 26px; transition: transform 0.3s ease; }
.row-arrow svg { display: block; width: 100%; height: auto; }
a.contact-row:hover .row-arrow { transform: translateX(6px); }
a.contact-row:hover .contact-value { color: var(--acc); }

.footer { padding: clamp(60px, 7vw, 92px) 0 36px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-logo { width: auto; height: 36px; }
.footer-name { margin: 16px 0 4px; font-family: var(--font-display); font-weight: var(--display-weight, 400); font-size: 30px; line-height: 1.1; }
.footer-tag { font-size: 14px; color: var(--soft); }
.footer-links { display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 40px; align-content: start; color: var(--soft); }
.footer-contact { display: flex; flex-direction: column; gap: 8px; font-family: var(--font-display); font-size: 21px; font-variant-numeric: lining-nums; }
.footer-links a:hover, .footer-contact a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; border-top: 1px solid var(--rule); font-size: 13.5px; color: var(--soft); }
.footer-sub { max-width: 520px; }

/* ---------- reveal (classes added by main.js) ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s ease, transform 1s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .offer-head, .classes-head { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 20px; }
  .path { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .nav-links { gap: 26px; }
}

@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .nav { grid-template-columns: 1fr auto; padding: calc(10px + env(safe-area-inset-top)) 16px 10px; }
  .nav.scrolled { padding-block: calc(8px + env(safe-area-inset-top)) 8px; }
  .nav-links, .nav-account, .nav-divider { display: none; }
  .nav-toggle { display: block; }
  .nav-right { gap: 8px; }
  .nav-mark { gap: 10px; font-size: 19px; white-space: nowrap; }
  .nav-mark img { height: 21px; }
  .nav-cta { padding: 9px 18px; font-size: 14px; }

  .hero-lede { font-size: 24px; }
  .hero-eyebrow > span[aria-hidden] { display: none; }
  .hero-place { display: block; }
  .hero-facts { flex-direction: column; gap: 4px; font-size: 13.5px; }

  .mission { padding-block: 96px 72px; }
  .thread, .leaves { display: none; }
  .mission-grid { grid-template-columns: 1fr; gap: 16px; }
  .mission-grid .eyebrow { padding-top: 0; }
  .statement { font-size: clamp(30px, 8.4vw, 40px); }
  .mission-foot { justify-content: flex-start; margin-top: 32px; }
  .values { grid-template-columns: 1fr; gap: 26px; margin-top: 56px; }

  .garden { height: auto; }
  .garden-sticky { position: relative; height: auto; }
  .garden-rail { display: none; }
  .garden-frame { margin: 0; aspect-ratio: 4 / 5; border-radius: 0; }
  .garden-frame img { transform: none; object-position: 38% 50%; }

  .sessions, .classes, .about { padding-block: 76px; }
  .offer-head, .classes-head { padding-bottom: 36px; }
  .plate, .plate-flip { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 40px 0 48px; }
  .plate-flip .plate-media { order: 0; }
  .plate-media { aspect-ratio: 4 / 3.4; }
  .plate-text { font-size: 17px; }
  .plate-ways { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .ledger .is-main dd { font-size: 36px; }
  .offer-cta { flex-direction: column; align-items: flex-start; }

  .testimonials { padding-block: 68px; }
  .t-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .t-side { flex-direction: row; align-items: center; justify-content: space-between; }
  .t-mark { display: none; }
  .t-controls { flex-direction: row; align-items: center; gap: 16px; margin-top: 0; }
  .arrow-btn, .t-pause { width: 40px; height: 40px; }
  .t-slide blockquote { font-size: 23px; }
  .t-progress { margin-top: 32px; }
  .t-names { gap: 2px 20px; padding-top: 14px; }

  .path { grid-template-columns: minmax(0, 1fr); row-gap: 36px; }
  .path-head { margin-bottom: 28px; }
  .duo { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .register { font-size: 17px; text-align: left; }

  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .about-media { display: contents; }
  .about-photo { width: 100%; max-width: 420px; }
  .about-copy { order: 1; }
  .glance { order: 2; margin-top: 0; }
  .creds { grid-template-columns: minmax(0, 1fr); gap: 20px; }

  .contact { padding-block: 80px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .contact-title { font-size: clamp(44px, 12.5vw, 60px); }
  .contact-media { max-width: 240px; justify-self: start; }
  .contact-rows { margin-top: 52px; }
  .contact-row { grid-template-columns: 1fr 26px; gap: 4px 16px; padding: 18px 0; }
  .contact-row .eyebrow { grid-column: 1 / -1; }
  .contact-value { font-size: 27px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-bottom: 34px; }
  .footer-base { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-photo, .leaf svg { animation: none; }
  .hero-thread path { animation: none; stroke-dashoffset: 0; }
  .t-slide { transition: none; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 360px) {
  .nav-mark span { display: none; }
}
