/* Max's Salon — Parisian editorial
   cream · ink · muted gold · Playfair Display + Lato · magazine layout */
:root {
  --cream: #f7f1e8;
  --cream-2: #efe6d8;
  --paper: #fbf8f3;
  --ink: #141210;
  --ink-2: #2a2622;
  --gold: #a8885a;
  --gold-dk: #86683f;
  --muted: #645b51;
  --rule: #d9cdbb;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Lato", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--cream); color: var(--ink); font-size: 17px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.12; }
em { font-style: italic; }

/* Issue line */
.issue-line { border-bottom: 1px solid var(--rule); font-size: 11.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.issue-line .wrap { display: flex; justify-content: space-between; gap: 14px; padding-top: 9px; padding-bottom: 9px; flex-wrap: wrap; }
.issue-line a { color: var(--ink); font-weight: 700; }

/* Header */
header.site { position: sticky; top: 0; z-index: 50; background: rgba(247,241,232,0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--ink); transition: box-shadow 0.3s; }
header.site.scrolled { box-shadow: 0 6px 24px rgba(20,18,16,0.08); }
header.site .wrap { display: flex; align-items: center; gap: 26px; height: 78px; }
.logo { font-family: var(--serif); font-size: 30px; font-style: italic; font-weight: 600; letter-spacing: -0.01em; line-height: 1; }
.logo span { display: block; font-family: var(--sans); font-style: normal; font-size: 10px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold-dk); margin-top: 5px; font-weight: 700; }
nav.main { display: flex; gap: 28px; margin-left: auto; }
nav.main a { font-size: 12.5px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700; padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color 0.25s, color 0.25s; }
nav.main a:hover, nav.main a.active { border-color: var(--gold); color: var(--gold-dk); }
.status-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: 0.06em; padding: 6px 12px; border: 1px solid var(--rule); border-radius: 999px; white-space: nowrap; color: var(--ink-2); background: var(--paper); }
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #a39a8e; }
.status-pill.open::before { background: #3f7d4e; animation: breathe 2.4s ease-in-out infinite; }
.status-pill.closed::before { background: #a33a2c; }
@keyframes breathe { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.call-btn { border: 1px solid var(--ink); padding: 10px 18px; font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; transition: background 0.25s, color 0.25s; white-space: nowrap; }
.call-btn:hover { background: var(--ink); color: var(--cream); }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--ink); width: 44px; height: 40px; font-size: 18px; cursor: pointer; color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; padding: 17px 30px; transition: background 0.3s, color 0.3s, letter-spacing 0.3s; }
.btn.primary { background: var(--ink); color: var(--cream); }
.btn.primary:hover { background: var(--gold-dk); letter-spacing: 0.24em; }
.btn.ghost { border: 1px solid var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--cream); }
.text-link { font-family: var(--serif); font-style: italic; font-size: 20px; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.text-link:hover { color: var(--gold-dk); }

/* Section numbering */
.secno { display: flex; align-items: center; gap: 16px; font-size: 11.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-dk); font-weight: 700; margin-bottom: 26px; }
.secno::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.secno b { font-family: var(--serif); font-style: italic; font-size: 30px; letter-spacing: 0; color: var(--ink); font-weight: 500; text-transform: none; }
.kicker { font-size: 11.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-dk); font-weight: 700; margin-bottom: 14px; }
h2.title { font-size: clamp(32px, 4.2vw, 52px); letter-spacing: -0.01em; }
h2.title em { color: var(--gold-dk); }
.dek { font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--muted); line-height: 1.5; margin-top: 16px; max-width: 640px; }

/* Cover hero */
.cover { padding: 56px 0 72px; border-bottom: 1px solid var(--ink); }
.cover .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.cover figure { position: relative; }
.cover figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.cover figure::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold); z-index: -1; }
.cover figcaption { font-size: 12px; letter-spacing: 0.08em; color: var(--muted); margin-top: 12px; font-style: italic; }
.cover .issue { font-size: 11.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-dk); font-weight: 700; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 22px; }
.cover h1 { font-size: clamp(44px, 6.4vw, 84px); line-height: 1.02; letter-spacing: -0.02em; }
.cover h1 em { color: var(--gold-dk); font-weight: 400; }
.cover .standfirst { font-size: 19px; color: var(--ink-2); margin: 26px 0 30px; max-width: 540px; }
.cover .standfirst::first-letter { font-family: var(--serif); float: left; font-size: 66px; line-height: 0.85; padding: 6px 10px 0 0; color: var(--gold-dk); }
.cover .byline { font-size: 13px; letter-spacing: 0.1em; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 16px; margin-top: 30px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.cover.inner .wrap { grid-template-columns: 1.15fr 1fr; }
.cover.inner figure img { aspect-ratio: 5 / 4; }

/* Hero entrance */
.cover .copy > * { animation: rise 1s cubic-bezier(0.22, 1, 0.36, 1) both; }
.cover .copy > *:nth-child(2) { animation-delay: 0.1s; }
.cover .copy > *:nth-child(3) { animation-delay: 0.2s; }
.cover .copy > *:nth-child(4) { animation-delay: 0.3s; }
.cover .copy > *:nth-child(5) { animation-delay: 0.4s; }
.cover figure img { animation: unveil 1.4s cubic-bezier(0.65, 0, 0.35, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes unveil { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }

/* Stats as a ruled "contents" row */
.stats { border-bottom: 1px solid var(--rule); background: var(--paper); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats .wrap > div { padding: 30px 22px; border-left: 1px solid var(--rule); text-align: center; }
.stats .wrap > div:first-child { border-left: 0; }
.stats b { display: block; font-family: var(--serif); font-size: 44px; font-weight: 500; line-height: 1; }
.stats span { display: block; font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); margin-top: 10px; font-weight: 700; }

/* Sections */
.block { padding: 96px 0; }
.block.paper { background: var(--paper); }
.block.ink { background: var(--ink); color: var(--cream); }
.block.ink .secno { color: #cdb58c; }
.block.ink .secno b { color: var(--cream); }
.block.ink .secno::after { background: #3d3732; }
.editorial { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.editorial.even { grid-template-columns: 1fr 1fr; }

/* Menu list (services) */
.menu { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 56px; border-top: 1px solid var(--ink); }
.menu .card { padding: 28px 0 26px; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 54px 1fr; gap: 6px 14px; align-content: start; }
.menu .card .rn { font-family: var(--serif); font-style: italic; color: var(--gold-dk); font-size: 22px; grid-row: span 2; }
.menu .card h3 { font-size: 25px; }
.menu .card p { color: var(--muted); font-size: 16px; }
.menu .card:hover h3 { color: var(--gold-dk); }
.menu .card h3 { transition: color 0.25s; }
.menu.long .card p { font-size: 16.5px; }

/* Prose in columns */
.prose p { margin-bottom: 18px; color: var(--ink-2); }
.prose a { border-bottom: 1px solid var(--gold); font-weight: 700; }
.prose.cols { column-count: 2; column-gap: 48px; column-rule: 1px solid var(--rule); }
.prose.cols p { break-inside: avoid; }
.prose.drop > p:first-child::first-letter { font-family: var(--serif); float: left; font-size: 64px; line-height: 0.85; padding: 6px 10px 0 0; color: var(--gold-dk); }
.pull { font-family: var(--serif); font-style: italic; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.25; text-align: center; max-width: 900px; margin: 60px auto; padding: 34px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.pull cite { display: block; font-family: var(--sans); font-style: normal; font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-dk); margin-top: 18px; font-weight: 700; }

/* Three-column feature with hairlines */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.trio .card { padding: 32px 30px 10px 0; }
.trio .card + .card { padding-left: 30px; border-left: 1px solid var(--rule); }
.trio .card .num { font-family: var(--serif); font-style: italic; font-size: 46px; color: var(--gold); line-height: 1; margin-bottom: 14px; }
.trio .card h3 { font-size: 24px; margin-bottom: 10px; }
.trio .card p { color: var(--muted); }
.block.ink .trio { border-color: #3d3732; }
.block.ink .trio .card + .card { border-color: #3d3732; }
.block.ink .trio .card p { color: #cfc6b8; }

/* Letters (reviews) */
.letters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid #3d3732; }
.letters .card { padding: 36px 30px 30px 0; }
.letters .card + .card { padding-left: 30px; border-left: 1px solid #3d3732; }
.letters .card p { font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.4; }
.letters .card p::before { content: "“"; display: block; font-size: 70px; line-height: 0.6; color: var(--gold); margin-bottom: 10px; font-style: normal; }
.letters cite { display: block; font-style: normal; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: #cdb58c; margin-top: 20px; font-weight: 700; }
.rating-line { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; margin: 10px 0 40px; }
.rating-line .big { font-family: var(--serif); font-size: 90px; line-height: 1; }
.rating-line .stars { color: var(--gold); letter-spacing: 6px; font-size: 22px; }
.rating-line p { color: #cfc6b8; max-width: 460px; }
.btn.light { border: 1px solid var(--cream); color: var(--cream); }
.btn.light:hover { background: var(--cream); color: var(--ink); }

/* FAQ */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 46px 22px 0; font-family: var(--serif); font-size: 22px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-family: var(--sans); font-weight: 300; font-size: 28px; color: var(--gold-dk); transition: transform 0.3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 24px; max-width: 760px; }

/* Panels */
.panel { background: var(--paper); border: 1px solid var(--rule); padding: 32px; }
.panel h3 { font-size: 26px; margin-bottom: 14px; }
.panel p { color: var(--muted); }
.panel .big-link { display: block; font-family: var(--serif); font-size: 30px; margin: 4px 0 8px; }
.panel .big-link:hover { color: var(--gold-dk); }
.hours-row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px dotted var(--rule); font-size: 16px; }
.hours-row:last-child { border-bottom: 0; }
.hours-row b { font-weight: 700; }
.list { list-style: none; border-top: 1px solid var(--rule); }
.list li { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.list li::before { content: "— "; color: var(--gold); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ph { overflow: hidden; aspect-ratio: 4 / 5; background: var(--cream-2); }
.ph img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9); transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s; }
.ph:hover img { transform: scale(1.05); filter: saturate(1.05); }
.caption { font-style: italic; color: var(--muted); font-size: 14px; margin-top: 16px; }

/* Map */
.map-embed { width: 100%; min-height: 460px; height: 100%; border: 0; display: block; filter: sepia(0.15) saturate(0.85); }
.map-frame { border: 1px solid var(--ink); padding: 10px; background: var(--paper); }

/* CTA */
.cta-band { text-align: center; padding: 100px 28px; background: var(--cream-2); border-top: 1px solid var(--ink); }
.cta-band .secno { justify-content: center; }
.cta-band .secno::after { display: none; }
.cta-band h2 { font-size: clamp(36px, 5vw, 64px); font-style: italic; margin-bottom: 16px; }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 30px; }

/* Footer */
footer.site { background: var(--ink); color: #cfc6b8; padding: 70px 0 0; font-size: 15px; }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 46px; }
footer.site h4 { font-size: 24px; font-style: italic; color: var(--cream); margin-bottom: 12px; }
footer.site .lbl { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: #cdb58c; font-weight: 700; margin-bottom: 12px; }
footer.site a { display: block; color: var(--cream); margin-bottom: 6px; }
footer.site a:hover { color: #cdb58c; }
.footnote { border-top: 1px solid #3d3732; padding: 20px 0 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.footnote .credit { display: inline; margin: 0; color: #cdb58c; letter-spacing: 0.06em; }

/* Reveal (app.js) */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in { opacity: 1; transform: none; }

/* Call bar (app.js) */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(20,18,16,0.96); }
.callbar a { flex: 1; text-align: center; padding: 13px 10px; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; }
.callbar .cb-call { background: var(--cream); color: var(--ink); }
.callbar .cb-dir { border: 1px solid #6b6259; color: var(--cream); }

@media (max-width: 1040px) {
  .header-pill { position: absolute; top: 100%; left: 0; right: 0; justify-content: center; border-radius: 0; border-width: 0 0 1px; margin-top: 1px; }
  .cover .wrap, .cover.inner .wrap, .editorial, .editorial.even { grid-template-columns: 1fr; gap: 40px; }
  .cover figure { max-width: 560px; }
  .letters, .trio { grid-template-columns: 1fr; }
  .letters .card + .card, .trio .card + .card { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .block.ink .letters .card + .card { border-top-color: #3d3732; }
  .trio .card, .letters .card { padding-right: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stats .wrap > div:nth-child(3) { border-left: 0; }
  .stats .wrap > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 860px) {
  nav.main { display: none; position: absolute; top: 78px; left: 0; right: 0; background: var(--cream); flex-direction: column; gap: 0; padding: 6px 28px 18px; border-bottom: 1px solid var(--ink); z-index: 3; }
  nav.main.open { display: flex; }
  nav.main a { padding: 14px 0; font-size: 14px; border-bottom: 1px solid var(--rule); }
  .menu-toggle { display: block; }
  header.site .call-btn { display: none; }
  .menu { grid-template-columns: 1fr; }
  .prose.cols { column-count: 1; }
  footer.site .cols { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 760px) {
  .callbar { display: flex; }
  body.has-callbar { padding-bottom: 72px; }
  .block { padding: 68px 0; }
  .cover { padding: 46px 0 56px; }
  .cover figure::before { inset: 12px -10px -12px 10px; }
  .issue-line .hide-sm { display: none; }
  .issue-line .wrap { justify-content: center; }
  .pull { margin: 40px auto; }
  .stats b { font-size: 36px; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 20px; }
  .gallery { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .logo { font-size: 26px; }
  .menu .card { grid-template-columns: 40px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
