/* Le Petit Salon — closing edition */
@font-face {
  font-family: "Amsterdam One";
  src: url("../fonts/AmsterdamOne.woff2") format("woff2"), url("../fonts/AmsterdamOne.woff") format("woff");
  font-display: swap;
}
:root {
  --ink: #100429;
  --gold: #917414;
  --muted: #6d6a7a;
  --title: #555;           /* "Our final chapter" + quote marks */
  --gold-text: #7a6110;    /* darker gold for small text (contrast) */
  --pink: #ffefef;
  --card: rgba(246, 246, 246, .75);
  --radius: 24px;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --script: "Amsterdam One", "Brush Script MT", cursive;
  --wrap: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.6; color: var(--ink); background: #fff; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.script { font-family: var(--script); font-weight: 400; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

/* header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 70px; display: flex; align-items: center; padding: 0 24px;
  background: rgba(255, 255, 255, .72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(16, 4, 41, .06); }
.brand { display: inline-flex; }
.wordmark { height: 40px; width: auto; }
.page { padding-top: 126px; }   /* room for the fixed header */

/* hero */
.hero { position: relative; min-height: 560px; display: grid; place-items: center; padding: 130px 24px 90px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2;
  background: url("../img/salon-interior-1920.jpg") center / cover no-repeat;
  background-image: image-set(url("../img/salon-interior-1290.webp") 1x, url("../img/salon-interior-2560.webp") 2x);
  background-image: -webkit-image-set(url("../img/salon-interior-1290.webp") 1x, url("../img/salon-interior-2560.webp") 2x); }
@media (min-width: 1500px) { .hero-bg { background-image: image-set(url("../img/salon-interior-1920.webp") 1x, url("../img/salon-interior-2560.webp") 2x); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .58); }  /* same wash as the reviews section */
.notice { width: min(880px, 100%); text-align: center; background: rgba(246, 246, 246, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-radius: 30px; padding: 56px 40px 48px; }
.notice h1 { font-size: clamp(44px, 6vw, 60px); line-height: 1.45; margin: 0 0 14px; color: var(--title); }
.notice p { margin: 0; font-size: 16px; }
.notice .thanks { font-size: 22px; line-height: 1.6; margin-top: 24px; color: var(--ink); }

/* founder letter */
.letter { padding: 56px 24px 72px; background: #f4f2f3 url("../img/marble-1500.jpg") center / cover no-repeat; }
@supports (background-image: url("a.webp")) { .letter { background-image: url("../img/marble-1500.webp"); } }
.letter .wrap { max-width: 920px; }
.frame { border: 5px solid var(--gold); padding: 8px; background: rgba(255, 255, 255, .78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.frame-inner { border: 2px solid var(--gold); padding: 44px clamp(24px, 5vw, 56px) 52px; }
.letter h2 { text-align: center; font-weight: 300; font-size: clamp(30px, 4vw, 38px); line-height: 1.3; color: var(--gold); margin: 0 0 6px; letter-spacing: .2px; }
.letter .dateline { text-align: center; font-size: 13px; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); margin: 0 auto 30px; }
.letter p { margin: 0 0 18px; font-size: 16px; line-height: 1.7; }
.letter p:last-child { margin-bottom: 0; }

/* reviews */
.reviews { position: relative; padding: 56px 0 72px; isolation: isolate; }
.reviews::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("../img/salon-room-1000.jpg") center / cover no-repeat; }
@supports (background-image: url("a.webp")) { .reviews::before { background-image: url("../img/salon-room-1000.webp"); } }
.reviews::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .58); }
.badge { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; margin: 0 auto; width: max-content; max-width: 100%;
  padding: 16px 34px; border-radius: 999px; background: rgba(246, 246, 246, .8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #1c1c1c; }
.badge .stars { white-space: nowrap; margin-right: 12px; }
.badge .stars svg { display: inline-block; width: 16.6px; height: 16px; fill: var(--gold); vertical-align: -1px; margin-right: 7px; }  /* spans baseline→cap height, like a capital letter */  /* middle = x-height middle of the text */
.badge .stars svg:last-child { margin-right: 0; }
.badge .headline { font-size: 20px; font-weight: 700; letter-spacing: -.1px; text-align: center; }
.badge .yelp { display: inline-block; height: 19.5px; width: auto; overflow: visible; vertical-align: baseline; margin-left: 3px; }  /* "e" ink = text x-height ink (11px at 20px), on the baseline */  /* "e" = text x-height, sitting on the baseline */  /* box bottom = baseline of the "e" */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 34px 0 30px; }
.tag { font-size: 13px; background: rgba(255, 255, 255, .6); border: 1px solid var(--gold); border-radius: 999px; padding: 9px 18px; cursor: pointer;
  transition: background .15s, color .15s; }
.tag:hover { background: rgba(255, 255, 255, .9); }
.tag[aria-pressed="true"] { background: var(--gold); color: #fff; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.card { background: var(--card); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: var(--radius); padding: 30px 32px 26px; }
.card[hidden] { display: none; }
.quote { font-family: Georgia, "Times New Roman", serif; font-size: 56px; line-height: .55; color: var(--title); height: 26px; }
.text { margin: 0; min-height: calc(6 * 1.6em); white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.card.open .text, .text.measure { display: block; -webkit-line-clamp: unset; overflow: visible; }
.text.measure { min-height: 0; }
.grid .card { min-height: 0; }
.more { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--gold-text); background: none; border: 0; padding: 0; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; }
.more[hidden] { display: inline-block; visibility: hidden; }   /* keeps every card the same height */
.sig-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 34px; padding-bottom: 8px; }
.sig { font-family: var(--script); font-size: 22px; line-height: 1.2; white-space: nowrap; }
.date { font-size: 12px; color: var(--muted); white-space: nowrap; }
.loadwrap { text-align: center; margin-top: 40px; }
.load { font-size: 14px; background: rgba(255, 255, 255, .6); border: 1px solid var(--gold); border-radius: 999px; padding: 13px 30px; cursor: pointer; }
.load:hover { background: rgba(255, 255, 255, .9); }
.load[hidden] { display: none; }
.count { text-align: center; font-size: 12px; color: var(--muted); margin: 12px 0 0; }
.no-js .card[hidden] { display: block; }
.no-js .load, .no-js .filters, .no-js .count { display: none; }

/* gallery */
.gallery { padding: 48px 0 56px; background: #fff; }
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.tile { position: relative; padding: 0; border: 0; background: #f3efe9; border-radius: 4px; overflow: hidden; cursor: pointer; aspect-ratio: 1; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.03); }
.play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; }
.play svg { width: 52px; height: 52px; fill: #fff; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .35)); }
.play b { position: absolute; right: 10px; bottom: 8px; font-size: 12px; font-weight: 600; text-shadow: 0 1px 4px rgba(0, 0, 0, .5); }
/* caption on hover / focus — frosted panel rising from the bottom */
.cap { position: absolute; inset: auto 0 0 0; padding: 12px 14px 12px; text-align: left; color: var(--ink); font-size: 13px; line-height: 1.45;
  background: rgba(246, 246, 246, .88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transform: translateY(100%); transition: transform .28s ease; pointer-events: none; }
.cap b { display: block; font-size: 12px; margin-bottom: 4px; color: var(--muted); font-weight: 600; }
.cap > span { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; white-space: normal; }  /* teaser runs paragraphs together; full text with breaks shows in the viewer */
.tile:hover .cap, .tile:focus-visible .cap { transform: translateY(0); }
.tile:hover .play, .tile:focus-visible .play { opacity: .35; }
.play { transition: opacity .28s; }
@media (hover: none) { .cap { display: none; } }   /* touch screens: caption shows in the viewer instead */

/* lightbox */
.lightbox { position: fixed; inset: 0; margin: auto; width: min(94vw, 1100px); max-width: 94vw; max-height: 94vh;
  border: 0; padding: 0; background: transparent; overflow: visible; }
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.lightbox::backdrop { background: rgba(16, 4, 41, .82); }
.lightbox-body { display: flex; justify-content: center; width: 100%; }
.lightbox-body img, .lightbox-body video { display: block; max-width: 100%; max-height: 62vh; width: auto; height: auto; border-radius: 8px; background: #000; }
.lightbox-cap { width: min(100%, 720px); max-height: 28vh; overflow: auto; color: #fff; font-size: 14px; line-height: 1.5; text-align: left; padding: 0 8px; }
.lightbox-cap b { display: block; font-size: 12px; opacity: .75; margin-bottom: 4px; }
.lightbox-cap p { margin: 0; white-space: pre-line; }
.lightbox-cap[hidden] { display: none; }
.lightbox .close { position: fixed; top: 14px; right: 18px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .92); cursor: pointer; padding: 0; }
.lightbox .close svg { width: 18px; height: 18px; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; fill: none; }
.lightbox .close:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* footer */
.site-footer { background: var(--pink); padding: 56px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; align-items: start; }
.fulllogo { width: 184px; height: auto; }
.footer-col h2 { font-size: 20px; font-weight: 700; margin: 0 0 12px; }
.footer-col a { display: block; text-decoration: none; margin: 0 0 6px; }
.footer-col p a { display: inline; }
.footer-col p { margin: 0 0 12px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 44px; font-size: 12px; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 2px; }

/* text pages */
.page { padding: 56px 0 80px; }
.page { padding-top: 126px; }
.page h1 { font-size: clamp(30px, 4vw, 38px); font-weight: 300; color: var(--gold); margin: 0 0 8px; }
.page h2 { font-size: 20px; margin: 32px 0 8px; }
.page h3 { font-size: 16px; margin: 22px 0 6px; }
.page p { margin: 0 0 14px; }
.updated { color: var(--muted); font-size: 13px; margin-bottom: 28px !important; }
.lede { font-size: 17px; }
.contact-card { background: var(--card); border: 1px solid #f1e7e7; border-radius: var(--radius); padding: 28px 32px; display: inline-block; margin-top: 12px; }
.contact-card p { margin: 0 0 8px; }
.btn { display: inline-block; border: 1px solid var(--gold); border-radius: 999px; padding: 12px 26px; text-decoration: none; }

@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); }   /* 10 tiles: 2 columns avoids an orphan */
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-logo { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .hero { min-height: 520px; padding: 110px 16px 64px; }
  .notice { padding: 40px 24px 36px; border-radius: 24px; }
  .letter { padding: 40px 16px 56px; }
  .frame-inner { padding: 32px 20px 36px; }
  .reviews { padding: 48px 0 60px; }
  .badge { gap: 8px 12px; padding: 14px 22px; border-radius: 28px; }
  .badge .headline { font-size: 16px; line-height: 1.4; }
  .badge .yelp { height: 15.6px; }
  .badge .stars svg { width: 13.3px; height: 12.8px; vertical-align: -.8px; margin-right: 6px; }
  .grid { grid-template-columns: 1fr; gap: 16px; }
  .card { padding: 26px 24px 22px; }
  .filters { gap: 8px; }
  .tag { padding: 8px 14px; }
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
}
