/*
  Infinite Touch of Chicago — THE TREATMENT ROOM
  Complete replacement of "The Infinite Line" (navy/Syne/meridian), which Robert
  rejected as templatey AI slop. Do not restyle that skeleton.

  Client: Infinite Touch of Chicago (Kimm Danzie, LMT) — a spa / therapeutic practice
  Industry: Independent spa-massage on Chicago’s South Side, King Drive
  Brand personality: Warm, quiet, skilled, neighborhood, luxurious in the room
  Primary persona: A body in pain who wants a beautiful, safe, licensed hour — not a chain
  Primary conversion: Book on Vagaro
  Secondary: Call (773) 842-2559
  Metaphor: THE TREATMENT ROOM — you enter a warm plaster room; the table is already made
  Layout DNA: Portrait photograph as architecture (full-height column), copy as a spa menu
    beside it — dense, not a 3-sentence cell. Then cinematic light, then oil, then rates.
    NOT: navy type poster, NOT: utility bar + overlay hero, NOT: 3 cards, NOT: Farm invitation card
  Opening: Table in window light | plaster column with headline + $75 + Book
  Proof: Beauty first (the room), then license, then named reviews
  Type: Gilda Display (soft high-contrast spa serif — not Syne, not Inter, not Playfair)
        + Karla (honest humanist sans for UI/body)
  Palette from the room photographs: plaster #f3e6d4 · honey #c17b32 · espresso #241911 · linen #faf6ef
  Signature: the circular oil still-life as a seal; the portrait table as the brand
  Swap-test: Farm invitation, Reel stagebill, Balzer desk, Infinite Line navy poster — all wrong here
*/

:root {
  --plaster: #f3e6d4;
  --linen: #faf6ef;
  --honey: #c17b32;
  --clay: #8d4e2f;
  --espresso: #241911;
  --ink: #2c2118;
  --muted: #6d5a4a;
  --font-d: "Gilda Display", Georgia, serif;
  --font-b: "Karla", sans-serif;
  --pad: clamp(1.25rem, 4vw, 2.6rem);
  --max: 78rem;
}

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

html, body { margin: 0; min-height: 100%; max-width: 100%; overflow-x: hidden; }
body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-b);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--espresso);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--honey); color: var(--espresso);
  padding: 0.5rem 0.8rem; z-index: 100;
}
.skip:focus { left: 1rem; }

/* ---------- header: plaster, not navy ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--plaster);
  color: var(--espresso);
  border-bottom: 1px solid rgba(36, 25, 17, 0.1);
  padding-block: 0.7rem;
}
.site-header__inner {
  width: 100%; max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}

.brand {
  display: flex; align-items: center; gap: 0.65rem;
  text-decoration: none; flex: 0 0 auto;
}
.brand-seal {
  width: 2.35rem; height: 2.35rem; border-radius: 50%;
  object-fit: cover; object-position: 50% 60%;
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--font-d);
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.brand-name em {
  display: block;
  font-style: italic;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
}

.nav-toggle {
  display: inline-flex; align-items: center;
  background: transparent; color: var(--espresso);
  border: 1px solid rgba(36, 25, 17, 0.28);
  padding: 0.45rem 0.75rem; cursor: pointer;
  letter-spacing: 0.14em; text-transform: uppercase;
  font-size: 0.68rem; font-weight: 700;
}
.nav-toggle:focus-visible { outline: 2px solid var(--honey); outline-offset: 3px; }
@media (min-width: 920px) { .nav-toggle { display: none; } }

.nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--linen);
  flex-direction: column;
  padding: 0.4rem var(--pad) 1.1rem;
  border-bottom: 1px solid var(--clay);
}
.nav.is-open { display: flex; }
.nav a {
  text-decoration: none; padding: 0.85rem 0;
  border-bottom: 1px solid rgba(36, 25, 17, 0.08);
  font-size: 1.05rem; font-weight: 600;
}
.nav a[aria-current="page"], .nav a:hover { color: var(--clay); }

@media (min-width: 920px) {
  .nav {
    display: flex !important; position: static;
    flex-direction: row; align-items: center; gap: 1.5rem;
    padding: 0; background: transparent; border: 0;
  }
  .nav a {
    padding: 0; border: 0;
    font-size: 0.78rem; letter-spacing: 0.12em;
    text-transform: uppercase; font-weight: 600;
  }
}

.header-cta { display: none !important; }
@media (min-width: 920px) { .header-cta { display: inline-flex !important; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  font-size: 0.72rem; padding: 0.95rem 1.3rem;
  border: 1px solid transparent; cursor: pointer; line-height: 1;
}
a.btn, a.btn:hover, .prose a.btn { color: inherit; }
.btn--honey {
  background: var(--honey); color: var(--espresso) !important;
  border-color: var(--honey);
}
.btn--honey:hover { background: #d08a3e; }
.btn--espresso {
  background: var(--espresso); color: var(--linen) !important;
  border-color: var(--espresso);
}
.btn--ghost {
  background: transparent; color: var(--espresso) !important;
  border-color: rgba(36, 25, 17, 0.35);
}
.btn--ghost-light {
  background: transparent; color: var(--linen) !important;
  border-color: rgba(250, 246, 239, 0.4);
}
.btn:focus-visible { outline: 2px solid var(--honey); outline-offset: 3px; }

.cta-row {
  display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1rem;
}
@media (max-width: 719px) {
  .cta-row { flex-direction: column; }
  .cta-row .btn { width: 100%; }
}

/* ---------- hero: photo as architecture ---------- */
main { flex: 1 0 auto; }
@media (max-width: 919px) { main { padding-bottom: 4.2rem; } }

.hero {
  background: var(--plaster);
  display: grid;
  min-width: 0;
  max-width: 100%;
}
.hero-photo { min-width: 0; overflow: hidden; }
.hero-photo img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  object-position: 70% 40%;
}
.hero-copy { padding: 1.15rem 1.35rem 1.4rem; }
@media (min-width: 720px) {
  .hero-copy { padding: 1.25rem var(--pad) 1.5rem; }
}
.kicker {
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--clay); font-weight: 700; margin: 0 0 0.4rem;
}
.hero h1 {
  font-family: var(--font-d);
  font-weight: 400;
  font-size: clamp(2rem, 7.2vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
  max-width: 14ch;
}
.lede {
  margin: 0; max-width: 34rem;
  color: var(--muted); font-size: 1.02rem;
}
.lede strong { color: var(--ink); font-weight: 700; }

.hero-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem 0.8rem;
  margin-top: 0.85rem;
  font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--clay); font-weight: 700;
}
.hero-meta span { min-width: 0; }
.hero-rates { margin: 0.7rem 0 0; }
.hero-rates li { padding: 0.35rem 0; align-items: baseline; }
.hero-rates .name { font-size: 1.12rem; }
.hero-rates .price { font-size: 1.2rem; padding-top: 0; }

@media (min-width: 960px) {
  .hero {
    grid-template-columns: 1.15fr 0.95fr;
    align-items: stretch;
  }
  .hero-photo img {
    height: 100%;
    object-fit: cover;
    object-position: 62% 42%;
  }
  .hero-copy {
    display: flex; flex-direction: column; justify-content: flex-start;
    padding: 1.35rem 2rem 1.5rem 1.8rem;
  }
  .hero h1 { font-size: clamp(2.35rem, 3.6vw, 3.35rem); }
}

/* ---------- cinema light band ---------- */
.lightband {
  background: var(--espresso);
  color: var(--linen);
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.lightband img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 38vh;
  object-fit: cover;
  object-position: 50% 60%;
}
.lightband p {
  font-family: var(--font-d);
  font-size: clamp(1.25rem, 2.8vw, 1.95rem);
  line-height: 1.3;
  margin: 0;
  padding: 0.85rem var(--pad) 1rem;
  max-width: 36rem;
  font-style: italic;
}

/* ---------- oil essay ---------- */
.essay {
  display: grid;
  background: var(--linen);
  min-width: 0;
  max-width: 100%;
}
.essay img { width: 100%; max-width: 100%; height: auto; object-fit: cover; }
.essay-copy { padding: 1.5rem var(--pad) 1.7rem; }
.essay h2 {
  font-family: var(--font-d);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.08;
  margin: 0 0 0.9rem;
}
.essay p { margin: 0 0 0.9rem; color: var(--muted); max-width: 36rem; }
.blend {
  list-style: none; margin: 1.2rem 0 0; padding: 0;
  border-top: 1px solid rgba(36, 25, 17, 0.12);
}
.blend li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(36, 25, 17, 0.1);
  display: grid; gap: 0.15rem;
}
.blend strong {
  font-family: var(--font-d);
  font-size: 1.15rem; font-weight: 400;
}
.blend span { color: var(--muted); font-size: 0.95rem; }

@media (min-width: 960px) {
  .essay { grid-template-columns: 0.95fr 1.05fr; align-items: stretch; }
  .essay img { height: 100%; object-fit: cover; object-position: 50% 70%; min-height: 0; }
  .essay-copy { padding: 1.6rem 2.2rem; display: flex; flex-direction: column; justify-content: flex-start; }
}

/* ---------- menu / rates ---------- */
.menu-block {
  display: grid;
  background: var(--plaster);
  min-width: 0;
  max-width: 100%;
}
.menu-block img { width: 100%; max-width: 100%; height: auto; object-fit: cover; }
.menu-copy { padding: 1.5rem var(--pad) 1.7rem; }
.menu-copy h2 {
  font-family: var(--font-d);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  margin: 0 0 0.4rem;
}
.menu-list { list-style: none; margin: 1.4rem 0 0; padding: 0; }
.menu-list li {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(36, 25, 17, 0.12);
}
.menu-list .name {
  font-family: var(--font-d);
  font-size: 1.25rem;
}
.menu-list .dur { display: block; font-family: var(--font-b); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--clay); font-weight: 700; margin-bottom: 0.15rem; }
.menu-list .price {
  font-family: var(--font-d);
  font-size: 1.35rem;
  color: var(--clay);
  flex: 0 0 auto;
}
.fine { margin: 1rem 0 0; font-size: 0.88rem; color: var(--muted); }

@media (min-width: 960px) {
  .menu-block { grid-template-columns: 0.8fr 1.2fr; }
  .menu-block img { height: 100%; min-height: 0; object-fit: cover; object-position: 50% 30%; }
  .menu-copy { padding: 1.6rem 2.2rem; }
}

/* ---------- letter ---------- */
.letters { background: var(--linen); padding: 1.8rem var(--pad) 2rem; }
.letter-feature {
  max-width: 40rem; margin: 0 auto;
  text-align: center;
}
.letter-feature blockquote {
  font-family: var(--font-d);
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  line-height: 1.3;
  font-style: italic;
  margin: 0;
}
.letter-feature footer {
  margin-top: 1rem;
  font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--clay); font-weight: 700;
}
.letter-row {
  display: grid; gap: 1rem; margin-top: 1.8rem;
  max-width: 52rem; margin-left: auto; margin-right: auto;
}
@media (min-width: 720px) { .letter-row { grid-template-columns: 1fr 1fr; } }
.letter-card {
  background: var(--plaster);
  padding: 1.2rem 1.15rem 1.25rem;
}
.letter-card p { margin: 0 0 0.6rem; }
.letter-card cite {
  font-style: normal; font-size: 0.72rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--clay); font-weight: 700;
}

/* ---------- events ---------- */
.event-hero img { width: 100%; height: auto; object-fit: cover; }
.event-copy { background: var(--espresso); color: var(--linen); padding: 1.5rem var(--pad) 1.7rem; }
.event-copy h1, .event-copy h2 {
  font-family: var(--font-d); font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.4rem); margin: 0 0 0.7rem; line-height: 1.05;
}
.event-copy p { color: rgba(250, 246, 239, 0.78); max-width: 36rem; }
.event-mosaic { display: grid; }
@media (min-width: 800px) { .event-mosaic { grid-template-columns: 1fr 1.1fr; } }
.event-mosaic img { width: 100%; height: 100%; object-fit: cover; min-height: 18rem; }
.include {
  list-style: none; margin: 1.2rem 0 0; padding: 0;
}
.include li {
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(250, 246, 239, 0.12);
}

/* ---------- interiors ---------- */
.mast {
  background: var(--plaster);
  padding: 1.4rem var(--pad) 1.3rem;
}
.mast h1 {
  font-family: var(--font-d); font-weight: 400;
  font-size: clamp(2.1rem, 6.5vw, 4rem);
  line-height: 1.05; margin: 0 0 0.7rem; max-width: 14ch;
}
.page-photo img { width: 100%; height: auto; object-fit: cover; max-height: 42vh; object-position: 50% 40%; }
.prose-wrap {
  background: var(--linen);
  padding: 1.5rem var(--pad) 2rem;
}
.prose { max-width: 40rem; }
.prose h2 {
  font-family: var(--font-d); font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 1.8rem 0 0.6rem;
}
.prose p { margin: 0 0 0.95rem; color: var(--muted); }
.prose a { color: var(--clay); font-weight: 700; }
.prose a.btn { color: var(--linen) !important; }

.cred-list { list-style: none; margin: 0; padding: 0; }
.cred-list li {
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(36, 25, 17, 0.1);
}
.cred-list strong { font-family: var(--font-d); font-size: 1.05rem; display: block; }
.amta img { width: 9.5rem; height: auto; margin-top: 1.2rem; }

.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td {
  text-align: left; padding: 0.5rem 0;
  border-bottom: 1px solid rgba(36, 25, 17, 0.1);
}
.hours th { font-weight: 700; width: 42%; }

.map-embed { width: 100%; min-height: 16rem; border: 0; filter: grayscale(0.2) sepia(0.12); }

.faq details { border-bottom: 1px solid rgba(36, 25, 17, 0.1); padding: 0.8rem 0; }
.faq summary { cursor: pointer; font-family: var(--font-d); font-size: 1.15rem; }
.faq p { margin: 0.5rem 0 0.15rem; }

.form { display: grid; gap: 0.8rem; max-width: 32rem; }
.form label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; display: grid; gap: 0.3rem; }
.form input, .form textarea, .form select {
  border: 1px solid rgba(36, 25, 17, 0.2);
  background: var(--linen); padding: 0.7rem 0.75rem; color: var(--ink);
}
.form textarea { min-height: 8rem; resize: vertical; }
.form button { justify-self: start; }
.form-note { font-size: 0.88rem; color: var(--muted); margin: 0; }
.form-success { display: none; background: var(--espresso); color: var(--linen); padding: 1.1rem; }
.form-success.is-on { display: block; }
.form.is-sent { display: none; }

.bookband {
  background: var(--clay);
  color: var(--linen);
  padding: 1.6rem var(--pad);
}
.bookband h2 {
  font-family: var(--font-d); font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 0 0 0.5rem;
}
.bookband p { margin: 0; max-width: 32rem; color: rgba(250, 246, 239, 0.82); }

/* ---------- footer ---------- */
.site-footer {
  background: var(--espresso);
  color: var(--linen);
  border-top: 4px solid var(--honey);
  padding: 2.4rem 0 0;
}
.foot-grid {
  display: grid; gap: 1.5rem;
  padding: 0 var(--pad) 2rem;
  max-width: var(--max); margin: 0 auto;
}
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer h2 {
  font-family: var(--font-d); font-size: 1.05rem;
  font-weight: 400; color: var(--honey); margin: 0 0 0.5rem;
}
.site-footer p, .site-footer li { margin: 0 0 0.3rem; color: rgba(250, 246, 239, 0.78); }
.site-footer a { color: var(--linen); text-decoration: none; }
.site-footer a:hover { color: var(--honey); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }

.foot-legal {
  background: #160f0b;
  color: rgba(250, 246, 239, 0.65);
  padding: 1.15rem var(--pad) 1.35rem;
  font-size: 0.82rem;
  border-top: 1px solid rgba(193, 123, 50, 0.25);
}
.foot-legal p { margin: 0 0 0.4rem; max-width: 52rem; }
.foot-legal__credit {
  font-family: var(--font-d); font-size: 0.95rem; color: var(--linen);
}
.foot-legal a { color: var(--honey); }

.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 35;
  padding: 0.65rem var(--pad) calc(0.65rem + env(safe-area-inset-bottom));
  background: var(--espresso);
  border-top: 1px solid var(--honey);
  display: none;
}
.sticky-cta.is-on { display: block; }
.sticky-cta .btn { width: 100%; }
@media (min-width: 920px) { .sticky-cta { display: none !important; } }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
