/* Yoga with Jenny — main stylesheet. Plain CSS, no framework, no build step. */
@import url("tokens.css");

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
}

/* ---------- Base type ---------- */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; font-weight: 600; }
h1 { font-size: var(--step-4); margin: 0 0 0.5em; letter-spacing: -0.01em; }
h2 { font-size: var(--step-3); margin: 0 0 0.6em; }
h3 { font-size: var(--step-1); margin: 0 0 0.4em; }
p  { margin: 0 0 1em; max-width: 62ch; }
ul, ol { max-width: 62ch; }
a  { color: var(--sage-700); text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
strong { font-weight: 650; }

/* Signature: the caption card — echoes Jenny's white sticker labels */
.caption {
  display: inline-block;
  background: var(--surface);
  font-family: var(--font-label);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35em 0.75em;
  box-shadow: var(--card-shadow);
  color: var(--ink);
}
.caption--accent { color: var(--accent); }

.pull-quote {
  font-family: var(--font-label);
  font-size: var(--step-1);
  background: var(--surface);
  box-shadow: var(--card-shadow);
  padding: var(--space) calc(var(--space) * 1.3);
  margin: calc(var(--space) * 1.6) 0;
  max-width: 34ch;
  border: 0;
}
.pull-quote footer { font-family: var(--font-body); font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.6em; }

/* Placeholder mark — deliberately loud so it cannot launch unnoticed */
mark.todo {
  background: var(--todo-bg);
  font-family: var(--font-label);
  font-size: 0.85em;
  padding: 0.1em 0.4em;
}

/* ---------- Layout chrome ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: var(--surface); padding: 0.6em 1em; z-index: 10;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--space); }

.site-header { border-bottom: 2px solid var(--ink); background: var(--paper); }
.site-header .container {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1.5rem;
  padding-top: 1rem; padding-bottom: 1rem;
}
.brand { font-family: var(--font-display); font-size: 1.35rem; font-weight: 650; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand span { color: var(--sage-700); }
.site-nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.1rem; }
.site-nav a { font-family: var(--font-label); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; text-decoration: none; padding: 0.2em 0; border-bottom: 2px solid transparent; }
.site-nav a[aria-current="page"] { border-bottom-color: var(--accent); color: var(--ink); }
.site-nav a:hover { border-bottom-color: var(--sage-300); }

main > section { padding: calc(var(--space) * 2.6) 0; }
main > section + section { border-top: 1px solid var(--sage-300); }
section.wash-sage { background: var(--sage-100); }
section.wash-wood { background: var(--wood-100); }

.site-footer { border-top: 2px solid var(--ink); padding: calc(var(--space) * 2) 0 calc(var(--space) * 2.5); font-size: 0.9rem; }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: var(--space) 3rem; }
.site-footer h3 { font-family: var(--font-label); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.35em; }

/* ---------- Components ---------- */
.button {
  display: inline-block;
  background: var(--sage-700);
  color: var(--surface);
  font-family: var(--font-label);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.8em 1.4em;
  border: 2px solid var(--sage-700);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
}
.button:hover, .button:focus-visible { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.button--ghost { background: transparent; color: var(--sage-700); }
.button--ghost:hover, .button--ghost:focus-visible { background: var(--sage-700); color: var(--surface); }

.hero { padding-top: calc(var(--space) * 2.2); }
.hero p.lede { font-size: var(--step-1); max-width: 46ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.4rem; }

.card-grid { display: grid; gap: calc(var(--space) * 1.4); grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); align-items: start; }
.card {
  background: var(--surface);
  border: 1px solid var(--sage-300);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: calc(var(--space) * 1.4);
}
.price {
  font-family: var(--font-label);
  font-size: 1.05rem;
  background: var(--wood-100);
  display: inline-block;
  padding: 0.25em 0.6em;
  margin: 0.2em 0 0.8em;
}
.card--featured { border: 2px solid var(--sage-700); }
.card ul { padding-left: 1.1rem; margin: 0 0 1em; }
.card li { margin-bottom: 0.35em; }
.badge { font-family: var(--font-label); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); }

table.timetable { border-collapse: collapse; width: 100%; background: var(--surface); box-shadow: var(--card-shadow); }
table.timetable caption { text-align: left; font-family: var(--font-label); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.6rem; }
table.timetable th, table.timetable td { border: 1px solid var(--sage-300); padding: 0.7em 0.9em; text-align: left; vertical-align: top; }
table.timetable thead th { background: var(--sage-100); font-family: var(--font-label); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }

.faq-item { border-bottom: 1px solid var(--sage-300); padding: 0.9em 0; max-width: 62ch; }
.faq-item h3 { margin-bottom: 0.3em; }

.notice {
  border: 2px dashed var(--wood-600);
  background: var(--wood-100);
  border-radius: var(--radius);
  padding: var(--space);
  max-width: 62ch;
}
.notice--draft { border-color: var(--accent); background: #FBEAF2; }

.contact-list { list-style: none; padding: 0; }
.contact-list li { margin-bottom: 0.5em; }
.contact-list .caption { margin-right: 0.6em; }

dl.compare { display: grid; grid-template-columns: auto 1fr; gap: 0.4em 1.2em; max-width: 62ch; }
dl.compare dt { font-family: var(--font-label); font-size: 0.85rem; }
dl.compare dd { margin: 0; }

@media (max-width: 40rem) {
  .site-header .container { padding-top: 0.8rem; padding-bottom: 0.8rem; }
  main > section { padding: calc(var(--space) * 1.8) 0; }
}

/* ---------- Photography ---------- */
figure { margin: 0 0 var(--space); }
.photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
}
.photo--hero { max-height: 30rem; object-fit: cover; object-position: center 40%; }
.media-row { display: grid; gap: calc(var(--space) * 1.4); grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); align-items: start; }
figcaption { font-family: var(--font-label); font-size: 0.78rem; color: var(--ink-soft); margin-top: 0.5em; }
.card .photo { margin-bottom: 1rem; box-shadow: none; }
