/* Ira Menon — sample Pilates site. Her own look: pale sage ground, terracotta
   accent, Fraunces for headings, Karla for text. Not Speedrun's violet. */
:root {
  --sand: #e6eee8;
  --paper: #f3f7f4;
  --ink: #1e2a23;
  --soft: #44544a;
  --line: #c9d6cd;
  --clay: #a5482a;
  --clay-dark: #8a3a20;
  --bar: 44px;
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-padding-top: calc(var(--bar) + 72px); -webkit-text-size-adjust: 100%; }
body { background: var(--sand); color: var(--ink); font: 400 1.0625rem/1.65 "Karla", system-ui, sans-serif; padding-top: var(--bar); }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
a { color: var(--clay-dark); }
:focus-visible { outline: 2px solid var(--clay-dark); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; }
.skip:focus-visible { left: 12px; top: calc(var(--bar) + 8px); z-index: 10; background: var(--ink); color: var(--paper); padding: 10px 14px; }

.top { position: sticky; top: var(--bar); z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px clamp(16px, 4vw, 48px); background: rgba(230, 238, 232, 0.94); border-bottom: 1px solid var(--line); }
.name { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.25rem; color: var(--ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.top nav { display: flex; gap: 4px; }
.top nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--soft); text-decoration: none; font-weight: 600; font-size: 0.9375rem; }
.top nav a:hover { color: var(--clay-dark); }
@media (max-width: 719px) { .top nav { display: none; } }

section { padding: clamp(56px, 9vw, 112px) clamp(16px, 4vw, 48px); }
h2 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.8rem); margin-bottom: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 26px; border-radius: 999px; background: var(--clay); color: #fff; font-weight: 600; text-decoration: none; transition: background-color 180ms ease; }
.btn:hover { background: var(--clay-dark); }
.btn:active { transform: scale(0.98); }

.hero { display: grid; gap: 32px; align-items: center; padding-top: 32px; }
.about, .book { justify-items: center; }
.about > *, .book-text { width: 100%; max-width: 760px; margin-inline: auto; }
.place { font-weight: 600; color: var(--clay-dark); margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.3rem, 1.6rem + 3.4vw, 4.2rem); max-width: 13em; }
.lede { font-size: 1.15rem; color: var(--soft); margin: 20px 0 28px; max-width: 34em; }
.hero-photo { aspect-ratio: 4 / 3; border-radius: 28px 28px 28px 120px; overflow: hidden; }
@media (min-width: 960px) {
  .hero { grid-template-columns: 1.05fr 1fr; gap: 64px; padding-block: 56px 72px; }
}

.who { background: var(--paper); }
.who-list { list-style: none; display: grid; gap: 20px; }
.who-list li { padding: 26px; border-radius: 20px; background: var(--sand); }
.who-list h3 { font-size: 1.35rem; margin-bottom: 8px; }
.who-list p { color: var(--soft); }
@media (min-width: 840px) { .who-list { grid-template-columns: repeat(3, 1fr); } }

.classes { display: grid; gap: 40px; align-items: center; }
.classes-photo { aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; max-height: 620px; }
.formats { display: grid; gap: 18px; }
.formats div { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.formats dt { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.25rem; }
.formats dd { color: var(--soft); margin-top: 4px; }
.times { margin-top: 20px; font-weight: 600; }
@media (min-width: 900px) { .classes { grid-template-columns: 0.8fr 1fr; gap: 72px; } }

.about { background: var(--paper); }
.timeline { list-style: none; display: grid; gap: 18px; max-width: 40em; }
.timeline li { display: grid; grid-template-columns: 5.5em 1fr; gap: 16px; color: var(--soft); }
.timeline span { font-family: "Fraunces", Georgia, serif; font-weight: 600; color: var(--clay-dark); }

.book { display: grid; gap: 36px; }
.book-photo { aspect-ratio: 16 / 7; border-radius: 24px; overflow: hidden; }
.steps { margin: 0 0 28px 1.2em; display: grid; gap: 12px; max-width: 40em; color: var(--soft); }
.steps li::marker { color: var(--clay-dark); font-weight: 600; }

.foot { padding: 40px clamp(16px, 4vw, 48px) 56px; border-top: 1px solid var(--line); color: var(--soft); font-size: 0.9375rem; }
.foot-note { margin-top: 6px; }

/* The Speedrun bar's longer label wraps to two lines on narrow phones */
@media (max-width: 599px) {
  :root { --bar: 64px; }
  .sr-sample-bar-wrap { height: var(--bar); }
  .sr-sample-bar-wrap .sr-sample-label { white-space: normal; text-align: right; line-height: 1.3; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .btn:active { transform: none; }
}
