/* Alpha Tile Co - Los Osos - spec build #58
   ---------------------------------------------------------------------------
   PALETTE SAMPLED OFF HIS HEX FLOOR (p01): median of the lit teal tile
   pixels = #99C4B7, used as a ground (#93C4BB); darkened to #23615F for
   text and buttons. The wood #8A3E1A is the floor the tile runs into in the
   same photo. No logo exists.

   Structure, unlike #46-#57: a split hero with the PHOTO LEFT and full
   height, type on the teal right; a five-across shower row (the showers are
   the work); two reviews side by side; a two-photo room row; the license.
   A hex motif (clip-path) marks the license number. No eyebrows.

   ⚠ EVERY RATIO BELOW WAS COMPUTED, NOT ESTIMATED.
     #14201F ink on teal 8.55 | on grout 15.26
     #23615F tealD on grout 6.50 | white on it 7.13
     #A8D5D2 tealL on ink 10.44                 DARK GROUNDS ONLY
     #50605E muted on grout 6.03
     #8A3E1A wood on grout 6.88 | white on it 7.54
   --------------------------------------------------------------------------- */

:root {
  --teal:  #93C4BB;
  --tealD: #23615F;
  --tealL: #A8D5D2;   /* DARK GROUNDS ONLY */
  --ink:   #14201F;
  --grout: #F3F5F3;
  --white: #FFFFFF;
  --wood:  #8A3E1A;
  --muted: #50605E;
  --rule:  #D8DFDC;
  --wide: 1180px;
  --sect: clamp(64px, 9vw, 108px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--grout); color: var(--ink);
  font-family: ui-sans-serif, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}

/* Browser surfaces. The parts you did not draw still carry the design, and
   this is the cheapest signal that a page was built rather than assembled. */
::selection      { background: var(--tealD); color: var(--white); }
:root            { caret-color: var(--tealD); accent-color: var(--tealD); }
:focus-visible   { outline: 2px solid var(--tealD); outline-offset: 3px; }
a                { color: var(--tealD); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.tabular, time, dd { font-variant-numeric: tabular-nums; }
@supports (scrollbar-color: auto) {
  html { scrollbar-color: var(--tealD) var(--grout); scrollbar-width: thin; }
}

img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
.wrap { width: 100%; max-width: var(--wide); margin-inline: auto; padding-inline: 24px; }
.muted { color: var(--muted); }
h1, h2 { letter-spacing: -0.03em; line-height: 1.06; font-weight: 800; }
h2 { font-size: clamp(28px, 3.6vw, 42px); margin: 0 0 12px; }
.intro { color: var(--muted); max-width: 60ch; margin: 0 0 30px; }

.btn { display: inline-block; background: var(--tealD); color: var(--white); font-weight: 700;
  text-decoration: none; padding: 15px 26px; border-radius: 6px; white-space: nowrap; }
.btn:hover { background: var(--ink); }

/* ── Masthead ─────────────────────────────────────────────────────────── */
.mast { background: var(--white); border-bottom: 1px solid var(--rule); }
.mast .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center;
  justify-content: space-between; padding-block: 16px; }
.mark { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.mark span { display: block; font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.mast .tel { color: var(--tealD); font-weight: 700; text-decoration: none; white-space: nowrap; }

/* ── Hero: photo left, teal right ─────────────────────────────────────── */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 600px; }
.hero-photo { position: relative; overflow: hidden; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.hero-text { background: var(--teal); display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: clamp(40px, 6vw, 80px) max(24px, calc((100vw - var(--wide)) / 2 + 24px)) clamp(40px, 6vw, 80px) clamp(28px, 5vw, 64px); }
.hero h1 { font-size: clamp(36px, 4.8vw, 60px); margin: 0 0 20px; }
.lede { font-size: 19px; max-width: 38ch; margin: 0 0 26px; }
.hours { margin: 12px 0 0; font-size: 15px; font-weight: 600; }

/* ── Showers ──────────────────────────────────────────────────────────── */
.showers { padding-block: var(--sect); }
.row5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.row5 img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; border-radius: 6px; }
.row5 figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* ── Reviews ──────────────────────────────────────────────────────────── */
.reviews { background: var(--ink); color: var(--grout); padding-block: var(--sect); }
.reviews .wrap { display: grid; grid-template-columns: 3fr 2fr; gap: 28px; align-items: start; }
.review { margin: 0; border-top: 3px solid var(--teal); padding-top: 20px; }
.review blockquote { margin: 0; }
.review p { font-size: clamp(18px, 1.8vw, 21px); line-height: 1.6; margin: 0; }
.review figcaption { margin-top: 14px; font-size: 15px; color: var(--tealL); }
.review figcaption b { color: var(--white); }

/* ── Rooms ────────────────────────────────────────────────────────────── */
.rooms { padding-block: var(--sect); }
.rooms .wrap { display: grid; grid-template-columns: 3fr 2fr; gap: 14px; align-items: end; }
.rooms img { border-radius: 6px; }
.rooms figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* ── License ──────────────────────────────────────────────────────────── */
.license { padding-block: var(--sect); background: var(--white); }
.license .wrap { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(28px, 5vw, 72px); }
.record { margin: 0; border-top: 3px solid var(--tealD); }
.record div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); align-items: center; }
.record dt { color: var(--muted); font-size: 15px; }
.record dd { margin: 0; }
.record .hi dd { font-weight: 800; font-size: 21px; color: var(--tealD); }
.record div:first-child dd { display: inline-flex; align-items: center; gap: 12px; }
.record div:first-child dd::before { content: ""; width: 26px; height: 30px; background: var(--teal);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }

/* ── Reach ────────────────────────────────────────────────────────────── */
.reach { background: var(--teal); padding-block: clamp(48px, 7vw, 80px); }
.reach .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.reach h2 { margin-bottom: 6px; }
.reach .muted { color: var(--ink); margin: 0; }
.big { margin: 0; font-size: clamp(30px, 4vw, 46px); font-weight: 900; letter-spacing: -0.02em; }
.big a { color: var(--ink); text-decoration: none; }

/* ── Letter ───────────────────────────────────────────────────────────── */
.letter { padding-block: var(--sect); }
.letter .wrap { max-width: 700px; }
.letter p { font-size: 18px; margin: 0 0 18px; }
.sign { margin-top: 26px !important; font-weight: 700; }

/* ── Footer ───────────────────────────────────────────────────────────── */
footer { background: var(--ink); color: var(--grout); padding-block: 56px 96px; }
footer .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
footer h4 { margin: 0 0 8px; font-size: 17px; }
footer p { margin: 0 0 4px; color: var(--tealL); font-size: 15px; }
footer a { color: var(--tealL); }
footer .legal { grid-column: 1 / -1; margin-top: 18px; padding-top: 18px; border-top: 1px solid #2E3D3B; font-size: 13px; line-height: 1.6; }

.callbar { display: none; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { height: 420px; }
  .hero-text { padding: 44px 24px; }
  .row5 { grid-template-columns: repeat(3, 1fr); }
  .reviews .wrap, .license .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .row5 { grid-template-columns: 1fr 1fr; }
  .row5 figure:last-child { grid-column: 1 / -1; } .row5 figure:last-child img { aspect-ratio: 4 / 3; }
  .rooms .wrap, footer .wrap { grid-template-columns: 1fr; }
  .record div { grid-template-columns: 1fr; gap: 2px; }
  .mast .tel { display: none; }
  .callbar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--ink);
  }
  .callbar a { display: block; text-align: center; background: var(--teal); color: var(--ink);
    font-weight: 800; text-decoration: none; border-radius: 6px; padding: 14px; }
}
