/* Layout: a warm, sun-faded poster. Arched photo hero, one loud blue band for mission, quiet ruled lists elsewhere. */
:root {
  --bg: #fff3e2;
  --surface: #fbe6c8;
  --fg: #4a2a28;
  --muted: #7d5a54;
  --logo: #6e3f3c;
  --rule: #e6cfae;
  --yellow: #f9bf55;
  --blue: #6696f1;
  --blue-ink: #3f6bd0;
  --on-blue: #2e1a19;
  --display: "Bagel Fat One", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  --body: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --gutter: max(16px, 4vw);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #241413; --surface: #331e1c; --fg: #f6e7d0; --muted: #c9ab98;
    --logo: #f6e7d0; --rule: #4d3230; --yellow: #f9bf55; --blue: #6696f1; --blue-ink: #8fb0ff; --on-blue: #2e1a19;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #241413; --surface: #331e1c; --fg: #f6e7d0; --muted: #c9ab98;
  --logo: #f6e7d0; --rule: #4d3230; --yellow: #f9bf55; --blue: #6696f1; --blue-ink: #8fb0ff; --on-blue: #2e1a19;
  color-scheme: dark;
}

* { box-sizing: border-box; }
body { background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; }
h1, h2, h3, p, figure { margin: 0; }
h2, h3 { text-wrap: balance; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1120px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.display { font-family: var(--display); font-weight: 400; line-height: 1.02; letter-spacing: -0.005em; }

.logo { display: block; margin: 0; }
.logo img, .wordmark { display: block; width: 100%; height: auto; }
.logo .logo-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo .logo-light { display: none; }
  :root:not([data-theme="light"]) .logo .logo-dark { display: block; }
}
:root[data-theme="dark"] .logo .logo-light { display: none; }
:root[data-theme="dark"] .logo .logo-dark { display: block; }

/* Hero */
.hero { padding-block: clamp(28px, 6vw, 72px) clamp(40px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero .logo { width: min(100%, 520px); }
.hero-lead { font-size: clamp(1.7rem, 3.6vw, 2.6rem); max-width: 16ch; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.hero-art { position: relative; justify-self: center; width: min(100%, 440px); }
.sun { position: absolute; inset: auto -14% -7% auto; width: 56%; aspect-ratio: 1; border-radius: 50%; background: var(--yellow); z-index: 0; }
.arch { position: relative; z-index: 1; border-radius: 999px 999px 28px 28px; overflow: hidden; aspect-ratio: 840 / 1227; background: var(--surface); }
.arch img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ring { position: absolute; z-index: 2; left: -9%; top: 6%; width: 34%; aspect-ratio: 1; animation: spin 48s linear infinite; }
.ring text { font-family: var(--body); font-weight: 700; font-size: 11.2px; letter-spacing: 0.2em; text-transform: uppercase; fill: var(--on-blue); }
.ring .disc { fill: var(--blue); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ring { animation: none; } }

/* Link band */
.band { background: var(--yellow); color: #3a2120; }
.band ul { list-style: none; margin: 0; padding: 18px var(--gutter); display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 20px; border: 2px solid #3a2120; border-radius: 999px; color: #3a2120; font-weight: 700; font-size: 0.95rem; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; transition: background 0.15s ease, color 0.15s ease; }
.chip svg { width: 12px; height: 12px; flex: none; }
.chip:hover { background: #3a2120; color: var(--yellow); }
.band :focus-visible { outline-color: #3a2120; }
@media (prefers-reduced-motion: reduce) { .chip { transition: none; } }

/* Sections */
section { padding-block: clamp(52px, 8vw, 104px); }
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 6vw, 88px); }
.story h2 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
.story-body { display: flex; flex-direction: column; gap: 20px; max-width: 58ch; font-size: 1.125rem; }
.story-body .lede { font-size: 1.35rem; line-height: 1.45; font-weight: 500; }

.name { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border-radius: 28px; overflow: hidden; background: var(--blue); color: var(--on-blue); }
.name-art { display: grid; place-items: center; padding: clamp(28px, 5vw, 56px); }
.name-art .wordmark { width: min(100%, 360px); }
.name-copy { padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; gap: 18px; justify-content: center; background: color-mix(in srgb, var(--blue) 82%, white); }
.name-copy h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.name-copy p { font-size: 1.1rem; max-width: 40ch; }

.mission { background: var(--blue); color: var(--on-blue); }
.mission-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.mission .eyebrow { color: var(--on-blue); opacity: 0.8; }
.mission h2 { font-size: clamp(1.5rem, 3.2vw, 2.4rem); margin-top: 14px; }
.mission .short { margin-top: 22px; font-size: 1.2rem; font-weight: 500; max-width: 38ch; }
.vision { display: flex; flex-direction: column; gap: 14px; }
.vision p:not(.eyebrow) { font-size: 1.15rem; max-width: 36ch; }

.values-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: clamp(24px, 4vw, 44px); }
.values-head h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.values { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--fg); }
.values li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 4px 32px; padding-block: 18px; border-bottom: 1px solid var(--rule); align-items: baseline; }
.values .v { font-family: var(--display); font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.15; }
.values .q { font-style: italic; font-size: 1.15rem; color: var(--muted); }

.do-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); margin-top: clamp(24px, 4vw, 44px); }
.do { background: var(--surface); border-radius: 22px; padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 10px; }
.do h3 { font-family: var(--display); font-weight: 400; font-size: 1.7rem; line-height: 1.1; }
.do .when { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.do a.tag { text-decoration: none; }
.do .tag { align-self: flex-start; margin-top: auto; padding: 4px 12px; border-radius: 999px; background: var(--yellow); color: #3a2120; font-weight: 700; font-size: 0.85rem; }
.gear { margin-top: clamp(20px, 3vw, 32px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 40px); align-items: center; }
.gear img { display: block; width: 100%; border-radius: 22px; aspect-ratio: 760 / 613; object-fit: cover; }

.road { list-style: none; margin: clamp(24px, 4vw, 44px) 0 0; padding: 0; display: grid; gap: 0; }
.road li { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 8px 32px; padding-block: 24px; border-top: 1px solid var(--rule); }
.road li:last-child { border-bottom: 1px solid var(--rule); }
.road .when { font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.1; }
.road .what { display: flex; flex-direction: column; gap: 6px; max-width: 62ch; }
.road strong { font-size: 1.2rem; }
.road .soft { color: var(--muted); font-size: 0.98rem; }
.road li.far .when { color: var(--blue-ink); }

footer { background: var(--surface); padding-block: clamp(40px, 6vw, 72px); }
.foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; align-items: center; }
.foot .logo { width: min(100%, 260px); }
.foot-links { display: flex; flex-direction: column; gap: 6px; justify-self: end; text-align: right; }
.foot-links a { font-family: var(--display); font-size: 1.6rem; text-decoration: none; }
.foot-links a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 26px; border-radius: 999px; border: 2px solid var(--yellow); background: var(--yellow); color: #3a2120; font-family: var(--body); font-weight: 700; font-size: 1rem; text-decoration: none; transition: transform 0.15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn.ghost { background: transparent; border-color: var(--fg); color: var(--fg); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }

/* Rent */
.gear-copy { display: flex; flex-direction: column; gap: 28px; }
.gear-copy > p { font-size: 1.15rem; max-width: 40ch; }
.rent { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 24px; border-top: 1px solid var(--rule); }
.rent .display { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.rent-text { max-width: 38ch; }
.rent .btn { margin-top: 6px; }

/* Calendar */
#calendar { padding-top: 0; }
.cal { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 6vw, 88px); align-items: start; }
.cal-head { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.cal-head h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.cal-head .intro { max-width: 34ch; font-size: 1.1rem; }
.cal-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--fg); }
.cal-list li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 4px 24px; padding-block: 20px; border-bottom: 1px solid var(--rule); align-items: center; }
.cal-list .date { display: flex; flex-direction: column; line-height: 1; }
.cal-list .mo { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.cal-list .d { font-family: var(--display); font-size: 2.7rem; line-height: 1; margin-top: 4px; }
.cal-list strong { display: block; font-size: 1.2rem; }
.cal-list .sub { color: var(--muted); font-size: 0.98rem; }
.nexttag { display: inline-block; margin-left: 10px; padding: 2px 10px; border-radius: 999px; background: var(--yellow); color: #3a2120; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; vertical-align: middle; }

@media (max-width: 820px) {
  .hero-grid, .story, .name, .mission-grid, .gear, .foot, .cal { grid-template-columns: minmax(0, 1fr); }
  .hero-art { order: -1; width: min(100%, 340px); margin-bottom: 8px; }
  .hero-lead { max-width: 20ch; }
  .do-grid { grid-template-columns: minmax(0, 1fr); }
  .values li, .road li { grid-template-columns: minmax(0, 1fr); }
  .foot-links { justify-self: start; text-align: left; }
  .ring { left: -4%; }
  .sun { inset: auto -6% -5% auto; }
}

body { margin: 0; }

/* Sub-pages (rentals) */
.topbar { padding-block: 22px 8px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar .logo { width: 104px; }
.back { font-weight: 700; font-size: 0.95rem; text-decoration: none; letter-spacing: 0.04em; }
.back:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

.rent-hero { padding-block: clamp(20px, 4vw, 48px) clamp(36px, 6vw, 72px); }
.rent-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.rent-hero h1 { font-size: clamp(3.2rem, 10vw, 6.4rem); }
.rent-hero .lead { margin-top: 18px; font-size: 1.35rem; line-height: 1.45; font-weight: 500; max-width: 28ch; }
.rent-hero img { display: block; width: 100%; aspect-ratio: 760 / 613; object-fit: cover; border-radius: 28px; }

.sub-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: clamp(20px, 3vw, 36px); }
.sub-head h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.included { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--fg); }
.included li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 4px 32px; padding-block: 18px; border-bottom: 1px solid var(--rule); align-items: baseline; }
.included .v { font-family: var(--display); font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.15; }
.included .q { color: var(--muted); font-size: 1.1rem; }

.price { background: var(--blue); color: var(--on-blue); border-radius: 28px; padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 20px clamp(24px, 5vw, 72px); align-items: start; }
.price h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.price p { font-size: 1.15rem; max-width: 44ch; }

.form-band { background: var(--surface); }
.form-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 6vw, 88px); align-items: start; }
.form-grid h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.form-grid .intro { margin-top: 14px; max-width: 30ch; font-size: 1.1rem; }
.rform { display: flex; flex-direction: column; gap: 18px; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .checks legend { font-weight: 700; font-size: 0.95rem; }
.field input, .field textarea { font: inherit; color: var(--fg); background: var(--bg); border: 2px solid var(--fg); border-radius: 14px; padding: 12px 14px; min-height: 48px; width: 100%; }
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.checks { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.checks legend { padding: 0; margin-bottom: 8px; }
.check { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.check input { width: 22px; height: 22px; accent-color: var(--blue-ink); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rform .btn { align-self: flex-start; cursor: pointer; font-family: var(--body); }
.thanks { min-height: 60vh; display: grid; align-content: center; gap: 18px; justify-items: start; }
.thanks h1 { font-size: clamp(3rem, 9vw, 5.6rem); }
.thanks p { font-size: 1.25rem; max-width: 34ch; }

@media (max-width: 820px) {
  .rent-hero-grid, .price, .form-grid, .included li, .two { grid-template-columns: minmax(0, 1fr); }
  .rent-hero img { order: -1; }
}


/* Team page */
.team-hero { padding-block: clamp(20px, 4vw, 48px) clamp(28px, 5vw, 56px); }
.team-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 22ch; }
.team-hero .lead { margin-top: 18px; font-size: 1.3rem; line-height: 1.45; font-weight: 500; max-width: 34ch; }
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 3vw, 36px); }
.member h3 { font-family: var(--display); font-weight: 400; font-size: 1.5rem; line-height: 1.1; margin-top: 16px; }
.member .role { margin-top: 6px; color: var(--muted); font-weight: 500; }
.member .photo { aspect-ratio: 3 / 4; border-radius: 999px 999px 24px 24px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.member .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.member .photo.yellow { background: var(--yellow); }
.member .photo.blue { background: var(--blue); }
.member .photo.surface { background: var(--surface); border: 2px solid var(--rule); }
.member .init { font-family: var(--display); font-size: clamp(2.6rem, 6vw, 4rem); color: #3a2120; }
@media (max-width: 900px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.team-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 88px); align-items: center; }
.team-photo { margin: 0; border-radius: 999px 999px 28px 28px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface); }
.team-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.roster { list-style: none; margin: 0; padding: 0; }
.roster li { padding-block: 22px; border-top: 1px solid var(--rule); }
.roster li:last-child { border-bottom: 1px solid var(--rule); }
.roster h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.1; }
.roster .role { margin-top: 6px; color: var(--muted); font-weight: 500; font-size: 1.1rem; }
@media (max-width: 760px) { .team-grid { grid-template-columns: minmax(0, 1fr); } }

/* Miles tracker */
.trk { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.trk-panel { background: var(--blue); color: var(--on-blue); border-radius: 28px; padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 28px; }
.ring-wrap { position: relative; width: min(280px, 100%); aspect-ratio: 1; margin-inline: auto; }
.ring-svg { display: block; width: 100%; height: 100%; }
.ring-track { fill: none; stroke: rgba(255, 255, 255, 0.35); stroke-width: 12; }
.ring-bar { fill: none; stroke: var(--yellow); stroke-width: 12; stroke-linecap: round; transition: stroke-dashoffset 0.6s ease; }
.ring-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 22%; }
.ring-num { font-family: var(--display); font-size: clamp(3rem, 9vw, 4.4rem); line-height: 1; font-variant-numeric: tabular-nums; }
.ring-sub { font-weight: 700; font-size: 0.95rem; margin-top: 4px; }
.trk-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; border-top: 2px solid rgba(46, 26, 25, 0.25); padding-top: 22px; }
.stat-n { font-family: var(--display); font-size: 2.2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-l { margin-top: 6px; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.yoga { display: flex; align-items: center; gap: 16px; background: rgba(255, 255, 255, 0.28); border-radius: 18px; padding: 16px 18px; }
.yoga p { font-weight: 700; font-size: 1.05rem; }
.dots { display: flex; gap: 8px; flex-shrink: 0; }
.dots span { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--on-blue); }
.dots span.on { background: var(--yellow); }
.trk-side { display: flex; flex-direction: column; gap: 28px; }
.display.sm { font-size: clamp(1.7rem, 4vw, 2.2rem); }
.form-msg { min-height: 1.4em; font-weight: 700; color: var(--blue-ink); }
.goal-row { padding-top: 24px; border-top: 1px solid var(--rule); max-width: 260px; }
.log { list-style: none; margin: 0; padding: 0; }
.log li { display: grid; grid-template-columns: 90px 90px minmax(0, 1fr) auto; gap: 4px 20px; align-items: baseline; padding-block: 16px; border-top: 1px solid var(--rule); }
.log li:last-child { border-bottom: 1px solid var(--rule); }
.log-date { font-weight: 700; color: var(--muted); }
.log-miles { font-family: var(--display); font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.log-note { color: var(--muted); min-width: 0; overflow-wrap: anywhere; }
.log-del { font: inherit; font-weight: 700; font-size: 0.9rem; color: var(--fg); background: none; border: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 44px; padding: 0 4px; }
.log-empty { display: block !important; color: var(--muted); }
.trk-note { margin-top: 18px; color: var(--muted); font-size: 0.95rem; max-width: 56ch; }
@media (max-width: 760px) {
  .trk { grid-template-columns: minmax(0, 1fr); }
  .log li { grid-template-columns: 70px minmax(0, 1fr) auto; }
  .log-note { grid-column: 1 / -1; order: 4; }
}
@media (prefers-reduced-motion: reduce) { .ring-bar { transition: none; } }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.roster .mail { display: inline-block; margin-top: 8px; font-weight: 700; color: var(--blue-ink); text-underline-offset: 3px; overflow-wrap: anywhere; }
.roster .mail:hover { text-decoration-thickness: 2px; }
