/* Kumo Fitness — public site (Kumo OS Phase 1, M1).
   Light, sophisticated, black on white. Modern minimalist:
   generous whitespace, hairline rules, refined thin type,
   one idea per screen, one button per screen.
   Simplicity rule applies to design: if it needs explaining, cut it. */
:root {
  --bg: #ffffff;
  --panel: #fafafa;
  --panel2: #f4f4f4;
  --text: #111111;
  --muted: #707070;
  --accent: #111111; /* black — links, ticks, stars */
  --accent-text: #ffffff;
  --line: #e7e7e7;
  --radius: 6px;
  /* Spacing scale — one rhythm for the whole site (Nov 8 look pass).
     beat: inside a beat (head to its body, field to its label);
     block: between beats inside a section;
     section: between sections — the dramatic pause lives HERE,
     between beats, never inside one. */
  --space-beat: 8px;
  --space-block: 24px;
  --space-section: 56px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-underline-offset: 3px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 22px; padding-top: 10px; padding-bottom: 10px; }
.logo { display: flex; align-items: center; color: var(--text); text-decoration: none; }
.logo-img { height: 72px; width: auto; display: block; }
.main-nav { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
.main-nav a {
  color: var(--text); text-decoration: none; font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase;
}
.main-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.lang-toggle {
  background: #fff; color: var(--text); border: 1px solid var(--line);
  border-radius: 4px; padding: 7px 13px; cursor: pointer; font-size: 13px;
  letter-spacing: .04em;
}
.lang-toggle:hover { border-color: var(--text); }
.btn {
  display: inline-block; background: var(--text); color: var(--accent-text);
  font-weight: 600; text-decoration: none; border: 1px solid var(--text); cursor: pointer;
  padding: 15px 30px; border-radius: 4px; font-size: 14px;
  letter-spacing: .08em; text-transform: uppercase;
}
.btn:hover { background: #333; border-color: #333; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--text); }
.btn.ghost:hover { background: var(--text); color: var(--accent-text); }
.btn.small { padding: 10px 18px; font-size: 13px; }

/* Hero + sections — the beat system: a head, its body close under
   it (beat gap), real air (block/section gap), then the next beat. */
.hero { padding: 88px 0 64px; text-align: left; }
.hero h1 { font-size: clamp(36px, 6vw, 60px); font-weight: 300; line-height: 1.08; margin: 0 0 18px; letter-spacing: -.02em; }
.hero p { font-size: 19px; font-weight: 300; color: var(--muted); max-width: 620px; margin: 0 0 30px; }
.hero p:last-child { margin-bottom: 0; }
/* Positioning statement: sits directly under the hero as a
   supporting line — strong, but never a second headline. */
.statement { padding: 0 0 var(--space-section); }
.statement-line { font-size: clamp(24px, 3.2vw, 32px); font-weight: 600; line-height: 1.25; letter-spacing: -.01em; margin: 0 0 var(--space-beat); max-width: 780px; }
.statement-proof { font-size: 17px; font-weight: 300; color: var(--muted); margin: 0; max-width: 620px; }
section.block { padding: var(--space-section) 0; border-top: 1px solid var(--line); }
section.block h2 { font-size: 28px; font-weight: 400; margin: 0 0 var(--space-beat); letter-spacing: -.01em; line-height: 1.2; }
section.block .lede { color: var(--muted); max-width: 640px; margin: 0 0 var(--space-block); font-weight: 300; }
/* A sub-head inside a section is its own beat: real air before it,
   its body tight under it. (FAQ questions are the proof case.) */
section.block h3 { font-size: 20px; font-weight: 600; line-height: 1.3; margin: var(--space-block) 0 var(--space-beat); }
section.block h3:first-child { margin-top: 0; }
section.block h3 + .lede, section.block h3 + p { margin-bottom: var(--space-block); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; align-items: stretch; }
/* Cards are flex columns: the body grows, the action (when a card
   has one) sits on the shared bottom baseline of the row, so every
   row of cards ends on one line. */
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; text-decoration: none; color: var(--text);
  display: flex; flex-direction: column;
  transition: border-color .2s ease;
}
.card h3 { margin: 0 0 var(--space-beat); font-size: 17px; font-weight: 600; letter-spacing: .01em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
/* Card actions sit on the row's shared bottom baseline: the
   action zone (.card-actions for grouped buttons, or a lone
   trailing .btn) is pushed down by the flex column; the card body's
   own bottom margin keeps the minimum gap under it. */
.card .btn { align-self: flex-start; }
.card > .btn:last-child { margin-top: auto; }
.card > ul.ticks { margin: 14px 0 16px; }
.card > ul.ticks:last-child { margin-bottom: 0; }
.card .card-actions { margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.card:hover { border-color: var(--text); }
.price { font-size: 30px; font-weight: 600; letter-spacing: -.01em; }
.price small { font-size: 14px; color: var(--muted); font-weight: 400; }
/* Plan badge (0046): the owner's pill label on a plan card
   (e.g. "MOST MEMBERS PICK THIS"). Sits above the plan name. */
.plan-badge { display: inline-block; align-self: flex-start; background: var(--text); color: var(--bg); border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 700; letter-spacing: .04em; margin: 0 0 10px; }
ul.ticks { list-style: none; padding: 0; margin: 14px 0; }
ul.ticks li { padding: 5px 0 5px 26px; position: relative; color: var(--muted); }
ul.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* Reviews */
.review { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.review .stars { color: var(--accent); letter-spacing: 2px; }
.review p { margin: 8px 0; }
.review .who { color: var(--muted); font-size: 14px; }
.review .review-photo { display: block; width: 100%; max-height: 260px; object-fit: cover; border-radius: 8px; margin-bottom: 10px; }
.review-photo-preview { display: block; max-width: 180px; max-height: 180px; border-radius: 8px; margin: 6px 0; }

/* Forms */
form.lead { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; max-width: 560px; }
form.lead label {
  display: block; font-size: 11px; font-weight: 600; margin: var(--space-block) 0 6px;
  color: var(--muted); letter-spacing: .12em; text-transform: uppercase;
}
form.lead > label:first-child, form.lead .row > div > label:first-child { margin-top: 0; }
form.lead input, form.lead select, form.lead textarea {
  width: 100%; padding: 12px 14px; border-radius: 4px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text); font-size: 16px;
}
form.lead input:focus, form.lead select:focus, form.lead textarea:focus {
  outline: none; border-color: var(--text);
}
form.lead .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
form.lead .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin-top: 12px; text-transform: none; letter-spacing: normal; font-weight: 400; }
form.lead .consent input { width: auto; margin-top: 3px; }
form.lead .hp { position: absolute; left: -9999px; }
.form-ok { background: var(--panel); border: 1px solid var(--text); color: var(--text); padding: 16px; border-radius: 4px; }
.form-err { background: #fdf7f6; border: 1px solid #b3261e; color: #8c1d18; padding: 16px; border-radius: 4px; }

/* Scan slot picker (self-booking): day strip + time buttons. */
.slot-picker { margin-top: 6px; }
.slot-days { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0 10px; }
.slot-day {
  font: inherit; font-size: 13px; padding: 8px 10px; cursor: pointer;
  background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: 999px;
  display: inline-flex; flex-direction: column; align-items: center; line-height: 1.25;
}
.slot-day small { font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.slot-day.is-picked { background: var(--text); color: var(--accent-text); border-color: var(--text); }
.slot-day.is-picked small { color: var(--accent-text); }
.slot-day.is-soon { opacity: .45; }
.slot-times { display: flex; gap: 6px; flex-wrap: wrap; }
.slot-time {
  font: inherit; font-size: 14px; padding: 9px 14px; cursor: pointer;
  background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: 999px;
}
.slot-time:hover { border-color: var(--text); }
.slot-time.is-picked { background: var(--text); color: var(--accent-text); border-color: var(--text); }
.slot-time.is-full { opacity: .45; cursor: default; text-decoration: line-through; }
.slot-note { color: var(--muted); font-size: 14px; padding: 6px 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 52px; color: var(--muted); font-size: 15px; background: var(--bg); }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
.site-footer a { color: #444; }
.site-footer a:hover { color: var(--text); }
.footer-logo { height: 48px; width: auto; display: block; margin-bottom: 14px; }
.notice { background: var(--panel); border: 1px solid var(--text); border-radius: var(--radius); padding: 20px 24px; margin: 24px 0; }
/* Facility photos: hero shot, card images, gallery strip. */
.hero-img { width: 100%; height: auto; display: block; border: 1px solid var(--line); border-radius: 6px; margin: 8px 0 40px; }
.card img.card-img { width: 100%; height: 190px; object-fit: cover; display: block; border-radius: 4px; margin: 0 0 12px; border: 1px solid var(--line); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery img { width: 100%; height: 180px; object-fit: cover; display: block; border-radius: 6px; border: 1px solid var(--line); }
@media (max-width: 720px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 640px) { .main-nav { display: none; } form.lead .row { grid-template-columns: 1fr; } }

/* Photo elegance pass (Nov 10): photo-led components in the same
   black-on-white system — full-bleed bands, a consistent gallery
   grid, and alternating photo/text rows. Additive only. */
.band {
  position: relative; left: 50%; width: 100vw; max-width: 100vw;
  margin-left: -50vw; margin-top: var(--space-section); margin-bottom: var(--space-section);
}
main.wrap > .band:first-child { margin-top: 0; }
.band img { width: 100%; height: clamp(300px, 52vw, 620px); object-fit: cover; display: block; }
.band.tall img { height: clamp(380px, 62vw, 760px); }
.band figcaption {
  max-width: 1080px; margin: 10px auto 0; padding: 0 24px;
  color: var(--muted); font-size: 14px; font-weight: 300;
}
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-grid figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; }
.gallery-grid img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
  transition: transform .5s ease;
}
.gallery-grid figure:hover img { transform: scale(1.03); }
.gallery-grid figcaption { padding: 10px 14px 12px; color: var(--muted); font-size: 14px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split .split-photo { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; }
.split .split-photo img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.split.flip .split-photo { order: 2; }
.split h2 { margin-top: 0; }
@media (max-width: 720px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 20px; }
  .split.flip .split-photo { order: 0; }
}
