/* That's So Cee — editorial salon site.
   Tokens from the approved brief (see DESIGN.md). One radius: 6px.
   One motion idea: hero fades up once on load + button glint on hover. */

:root {
  --bg: #0B0B0C;
  --ink: #FFFFFF;
  --paper: #FFFFFF;
  --smoke: #F7F2F5;
  --accent: #F3A6C9;
  --rose: #E5447C;
  --ink-on-light: #211D20;
  --soft-on-light: #5C545A;
  --muted-on-dark: #C9C2C7;
  --line-on-dark: #2E2A2D;
  --line-on-light: #E3D8DE;
  --radius: 6px;
  --display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --body: "Jost", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-on-light);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--bg); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; }
h2 { font-size: clamp(38px, 5.4vw, 58px); margin-bottom: 18px; }
section { scroll-margin-top: 84px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 720px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 14px var(--gutter);
  background: var(--bg);
  border-bottom: 1px solid var(--line-on-dark);
}
.wordmark {
  font-family: var(--display);
  font-size: 27px; font-weight: 700;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.site-nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 34px); }
.site-nav a {
  color: var(--muted-on-dark); text-decoration: none;
  font-size: 15px; letter-spacing: .08em; text-transform: uppercase;
}
.site-nav a:hover { color: var(--accent); }
.site-nav a.nav-book {
  color: var(--bg); background: var(--accent);
  padding: 9px 18px; border-radius: var(--radius);
  font-weight: 600;
}
.site-nav a.nav-book:hover { background: var(--rose); color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-family: var(--body); font-size: 17px; font-weight: 600;
  letter-spacing: .03em; padding: 14px 30px;
  border-radius: var(--radius); border: 1px solid transparent;
  position: relative; overflow: hidden;
}
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: var(--rose); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--muted-on-dark); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
/* sparkle glint — seasoning, hover only */
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -70%;
  width: 45%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg); transition: left .55s ease;
  pointer-events: none;
}
.btn-primary:hover::after { left: 130%; }

/* ---------- hero ---------- */
.hero {
  background: var(--bg); color: var(--ink);
  position: relative; overflow: hidden;
}
/* light sparkle — tiny glint dots on the hero ground only, never over the photo */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(243,166,201,.5) 1px, transparent 1.7px),
    radial-gradient(circle, rgba(243,166,201,.28) 1px, transparent 1.7px),
    radial-gradient(circle, rgba(229,68,124,.3) 1px, transparent 1.7px);
  background-size: 110px 110px, 170px 170px, 230px 230px;
  background-position: 14px 30px, 70px 110px, 150px 60px;
}
.hero-inner {
  max-width: 1180px; margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) var(--gutter) clamp(56px, 7vw, 100px);
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 5vw, 72px); align-items: start;
  position: relative;
}
.hero-copy { padding-top: clamp(8px, 3vw, 44px); }
.hero h1 { font-size: clamp(58px, 8.6vw, 108px); letter-spacing: -.01em; }
.hero-sub {
  font-size: clamp(19px, 2.2vw, 23px); line-height: 1.55;
  color: var(--muted-on-dark); max-width: 30ch; margin: 22px 0 32px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 26px; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-on-dark); }
.hero-photo { margin-top: clamp(24px, 4vw, 56px); }
.hero-photo img {
  width: 100%; height: auto; border-radius: var(--radius);
  aspect-ratio: 3 / 3.4; object-fit: cover; object-position: center 18%;
}

/* the one motion idea — hero entrance, once */
.rise { opacity: 0; transform: translateY(14px); animation: rise .38s ease-out forwards; }
.rise.d1 { animation-delay: .08s; }
.rise.d2 { animation-delay: .16s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .rise { animation: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- welcome ---------- */
.welcome { background: var(--smoke); padding: clamp(64px, 9vw, 110px) 0; }
.welcome h2 { color: var(--ink-on-light); }
.welcome p { font-size: 20px; color: var(--soft-on-light); }

/* ---------- featured ---------- */
.featured { background: var(--paper); padding: clamp(56px, 8vw, 96px) 0; }
.featured-photos {
  display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 16px; align-items: start;
}
.featured-photos img { width: 100%; height: auto; border-radius: var(--radius); }
.featured-photos img:nth-child(2) { margin-top: 34px; }
.specials-line {
  margin-top: 34px; font-size: 20px; color: var(--ink-on-light);
}
.specials-line strong { color: var(--rose); font-weight: 600; }

/* ---------- services ---------- */
.services { background: var(--bg); color: var(--ink); padding: clamp(64px, 9vw, 110px) 0; }
.services h2 { color: var(--ink); }
.section-lede { max-width: 56ch; margin-bottom: 40px; }
.services .section-lede { color: var(--muted-on-dark); }
.menu-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 44px 72px; margin-bottom: 48px;
}
.menu-group h3 {
  font-size: 30px; color: var(--accent); margin-bottom: 16px;
}
.price-list { list-style: none; }
.price-list li {
  display: flex; align-items: baseline; gap: 10px;
  padding: 9px 0; font-size: 18px;
}
.price-list .svc em {
  font-style: normal; color: var(--muted-on-dark); font-size: 15px; display: block;
}
.services .price-list .svc em { color: var(--muted-on-dark); }
.price-list .dots { flex: 1; border-bottom: 1px dotted #6E656C; transform: translateY(-4px); }
.price-list .price { font-weight: 600; color: var(--accent); white-space: nowrap; }
.group-note { margin-top: 12px; font-size: 16px; color: var(--muted-on-dark); max-width: 44ch; }

/* ---------- gallery ---------- */
.gallery { background: var(--smoke); padding: clamp(64px, 9vw, 110px) 0; }
.gallery .section-lede { color: var(--soft-on-light); }
.gallery-grid { columns: 3; column-gap: 16px; }
.g-item {
  display: block; width: 100%; margin: 0 0 16px; padding: 0;
  border: none; background: none; cursor: zoom-in;
  border-radius: var(--radius); overflow: hidden;
  break-inside: avoid;
}
.g-item img, .g-item video { width: 100%; height: auto; border-radius: var(--radius); }
.g-video { cursor: default; position: relative; }
.g-video video { display: block; }
.g-cap {
  display: block; padding: 10px 4px 2px; font-size: 15px; color: var(--soft-on-light);
  text-align: left;
}

/* ---------- about ---------- */
.about { background: var(--paper); padding: clamp(64px, 9vw, 110px) 0; }
.about-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: .85fr 1.15fr;
  gap: clamp(28px, 5vw, 72px); align-items: center;
}
.about-photo img { width: 100%; height: auto; border-radius: var(--radius); }
.about-copy p { margin-bottom: 18px; color: var(--soft-on-light); font-size: 19px; }
.about-copy p:first-of-type { color: var(--ink-on-light); }
.text-link { color: var(--rose); font-weight: 500; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---------- info ---------- */
.info { background: var(--bg); color: var(--ink); padding: clamp(52px, 7vw, 84px) 0; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.info h3 { font-size: 27px; color: var(--accent); margin-bottom: 12px; }
.info p { color: var(--muted-on-dark); margin-bottom: 8px; }
.info a { color: var(--ink); text-decoration: none; }
.info a:hover { color: var(--accent); }

/* ---------- book ---------- */
.book { background: var(--smoke); padding: clamp(64px, 9vw, 110px) 0; }
.book .section-lede { color: var(--soft-on-light); }
.book .section-lede a { color: var(--rose); font-weight: 600; }
.book-panel {
  background: var(--bg); color: var(--ink);
  border-radius: var(--radius);
  max-width: 680px; padding: clamp(26px, 4vw, 44px);
  position: relative;
}
.book-panel label {
  display: block; font-size: 13px; letter-spacing: .07em; text-transform: uppercase;
  color: var(--accent); margin: 18px 0 7px; font-weight: 500;
}
.book-panel label .opt { color: var(--muted-on-dark); text-transform: none; letter-spacing: 0; }
.book-panel input, .book-panel select, .book-panel textarea {
  width: 100%; padding: 13px 14px; font-size: 17px;
  font-family: var(--body); color: var(--ink-on-light);
  background: var(--paper); border: 2px solid transparent;
  border-radius: var(--radius);
}
.book-panel input:focus, .book-panel select:focus, .book-panel textarea:focus {
  outline: none; border-color: var(--accent);
}
.book-panel .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.book-panel textarea { min-height: 96px; resize: vertical; }
.book-panel .hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.btn-submit { margin-top: 26px; width: 100%; border: none; font-size: 18px; }
.btn-submit:disabled { opacity: .6; cursor: default; }
.form-error { display: none; color: #FF9DBD; font-size: 16px; margin-top: 16px; }
.success { text-align: center; padding: 36px 8px; }
.success h3 { font-size: 36px; color: var(--accent); margin-bottom: 12px; }
.success p { color: var(--muted-on-dark); }

/* ---------- footer ---------- */
.site-foot { background: var(--bg); color: var(--muted-on-dark); border-top: 1px solid var(--line-on-dark); padding: 40px 0 30px; }
.foot-grid {
  display: flex; flex-wrap: wrap; gap: 12px 30px; align-items: baseline;
}
.foot-brand { font-family: var(--display); font-size: 24px; font-weight: 700; color: var(--ink); }
.site-foot a { color: var(--muted-on-dark); text-decoration: none; }
.site-foot a:hover { color: var(--accent); }
.foot-fine { max-width: 1180px; margin: 22px auto 0; padding: 0 var(--gutter); font-size: 14px; color: #8A8288; }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(11,11,12,.94);
  display: flex; align-items: center; justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(92vw, 900px); max-height: 88vh; width: auto; height: auto; border-radius: var(--radius); }
.lb-close, .lb-nav {
  position: absolute; background: none; border: none; cursor: pointer;
  color: var(--ink); font-family: var(--body); line-height: 1;
}
.lb-close { top: 18px; right: 22px; font-size: 42px; }
.lb-nav { top: 50%; transform: translateY(-50%); font-size: 54px; padding: 10px 16px; }
.lb-prev { left: 8px; } .lb-next { right: 8px; }
.lb-close:hover, .lb-nav:hover { color: var(--accent); }

/* ---------- scroll reveal (the one system, used everywhere) ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .55s ease-out, transform .55s ease-out; }
html.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- header state on scroll ---------- */
.site-head { transition: box-shadow .3s ease, padding .3s ease; }
.site-head.is-scrolled { box-shadow: 0 8px 22px rgba(0,0,0,.26); padding-top: 9px; padding-bottom: 9px; }
.site-nav a { transition: color .25s ease; }
.site-nav a.nav-book { transition: background .25s ease, color .25s ease, transform .25s ease; }
.site-nav a.nav-book:hover { transform: translateY(-1px); }

/* ---------- hero stack + glints ---------- */
.hero h1 em { font-style: italic; color: var(--accent); }
.glint-field { position: absolute; inset: 0; pointer-events: none; }
.glint {
  position: absolute; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); opacity: .5;
  box-shadow: 0 0 0 3px rgba(243,166,201,.12);
  transition: transform .6s ease-out, opacity .6s ease;
}
.glint.g1 { top: 18%; left: 6%; } .glint.g2 { top: 64%; left: 3.5%; background: var(--rose); }
.glint.g3 { top: 30%; left: 44%; width: 5px; height: 5px; } .glint.g4 { top: 82%; left: 40%; width: 5px; height: 5px; background: var(--rose); }
.glint.g5 { top: 12%; right: 5%; } .glint.g6 { top: 88%; right: 8%; width: 5px; height: 5px; }
.hero-stack { position: relative; }
.hero-photo { margin-top: clamp(24px, 4vw, 56px); }
.hero-photo img { border: 1px solid var(--line-on-dark); }
.hero-photo-2 {
  position: absolute; left: -46px; bottom: -30px; width: 46%;
  border: 6px solid var(--bg); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 18px 44px rgba(0,0,0,.5);
}
.hero-photo-2 img { width: 100%; aspect-ratio: 3 / 3.1; object-fit: cover; object-position: center 16%; }

/* ---------- open-now ---------- */
.open-now { display: none; align-items: center; gap: 9px; font-size: 15.5px; letter-spacing: .02em; margin-top: 14px; }
.open-now.is-set { display: flex; }
.open-now .dot { width: 9px; height: 9px; border-radius: 50%; background: #8A8288; flex: none; }
.open-now.is-open .dot { background: var(--accent); box-shadow: 0 0 0 4px rgba(243,166,201,.18); }
.hero .open-now { color: var(--muted-on-dark); text-transform: none; letter-spacing: .02em; }
.info .open-now, .site-foot .open-now { color: var(--muted-on-dark); }
.open-now-book { color: var(--soft-on-light); margin: -22px 0 26px; }

/* ---------- services: tappable rows + finder ---------- */
.svc-row {
  display: flex; align-items: baseline; gap: 10px; width: 100%;
  background: none; border: none; cursor: pointer; text-align: left;
  font: inherit; color: inherit; padding: 10px 10px; margin: 0 -10px;
  border-radius: var(--radius); position: relative;
  transition: background .25s ease;
  width: calc(100% + 20px);
}
.price-list li { padding: 0; }
.svc-row:hover, .svc-row:focus-visible { background: rgba(243,166,201,.09); outline: none; }
.svc-row:hover .price, .svc-row:focus-visible .price { color: var(--ink); }
.book-hint {
  font-size: 12.5px; letter-spacing: .09em; text-transform: uppercase; font-weight: 600;
  color: var(--rose); opacity: 0; transform: translateX(-4px);
  transition: opacity .25s ease, transform .25s ease; white-space: nowrap;
}
.svc-row:hover .book-hint, .svc-row:focus-visible .book-hint, .svc-row:focus .book-hint { opacity: 1; transform: none; }
@media (hover: none) { .book-hint { opacity: .75; transform: none; } }

.finder {
  border: 1px solid var(--line-on-dark); border-radius: var(--radius);
  padding: clamp(22px, 3.4vw, 34px); margin-bottom: 52px; background: #121013;
}
.finder-q { font-size: clamp(27px, 3.4vw, 34px); color: var(--ink); margin-bottom: 18px; }
.finder-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.finder-choice {
  font-family: var(--body); font-size: 16.5px; font-weight: 500; cursor: pointer;
  color: var(--ink); background: transparent; border: 1px solid #57505A;
  padding: 11px 20px; border-radius: 999px;
  transition: border-color .25s ease, background .25s ease, color .25s ease;
}
.finder-choice:hover { border-color: var(--accent); color: var(--accent); }
.finder-choice.is-active { background: var(--accent); border-color: var(--accent); color: var(--bg); font-weight: 600; }
.finder-result { margin-top: 24px; border-top: 1px solid var(--line-on-dark); padding-top: 20px; }
.finder-head { color: var(--muted-on-dark); margin-bottom: 12px; font-size: 17px; }
.finder-list { list-style: none; }
.finder-list li {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 9px 0; border-bottom: 1px dotted #4A444B;
}
.finder-list li:last-child { border-bottom: none; }
.finder-list .f-name { font-size: 18.5px; }
.finder-list .f-name em { font-style: normal; display: block; font-size: 14.5px; color: var(--muted-on-dark); }
.finder-list .f-price { margin-left: auto; font-weight: 600; color: var(--accent); white-space: nowrap; }
.finder-book {
  font-family: var(--body); font-size: 14.5px; font-weight: 600; cursor: pointer;
  background: transparent; color: var(--accent); border: 1px solid var(--accent);
  padding: 7px 15px; border-radius: var(--radius);
  transition: background .25s ease, color .25s ease;
}
.finder-book:hover { background: var(--accent); color: var(--bg); }

/* form flash when a service is preselected */
.book-panel.flash { animation: panelFlash 1.1s ease-out; }
@keyframes panelFlash {
  0% { box-shadow: 0 0 0 0 rgba(243,166,201,0); }
  25% { box-shadow: 0 0 0 3px var(--accent), 0 18px 50px rgba(229,68,124,.25); }
  100% { box-shadow: 0 0 0 0 rgba(243,166,201,0); }
}
@media (prefers-reduced-motion: reduce) { .book-panel.flash { animation: none; outline: 2px solid var(--accent); } }

/* ---------- gallery: filters + name overlays ---------- */
.g-filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; }
.g-filter {
  font-family: var(--body); font-size: 15.5px; font-weight: 500; cursor: pointer;
  background: transparent; color: var(--ink-on-light); border: 1px solid #C9BCC4;
  padding: 9px 18px; border-radius: 999px;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.g-filter:hover { border-color: var(--rose); color: var(--rose); }
.g-filter.is-active { background: var(--bg); border-color: var(--bg); color: var(--accent); }
.g-item { position: relative; }
.g-item .g-name {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 26px 14px 11px; text-align: left;
  font-family: var(--body); font-size: 15px; font-weight: 500; letter-spacing: .03em; color: #fff;
  background: linear-gradient(to top, rgba(11,11,12,.72), rgba(11,11,12,0));
  opacity: 0; transform: translateY(5px);
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}
.g-item:hover .g-name, .g-item:focus-visible .g-name { opacity: 1; transform: none; }
.g-item:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }
.g-item img { transition: transform .5s ease-out; }
.g-item:hover img { transform: scale(1.025); }
@media (hover: none) { .g-item .g-name { opacity: 1; transform: none; } }
.g-item.is-hidden { display: none; }
.g-video .g-name { bottom: 34px; }

/* ---------- lightbox stage/caption ---------- */
.lb-stage { max-width: min(92vw, 900px); text-align: center; }
.lb-stage img { max-width: 100%; max-height: 80vh; margin: 0 auto; }
.lb-bar {
  display: flex; justify-content: space-between; gap: 18px;
  margin-top: 14px; color: var(--ink); font-size: 16.5px;
}
#lbCount { color: var(--muted-on-dark); white-space: nowrap; }

/* ---------- footer finish ---------- */
.foot-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr .85fr; gap: 34px; align-items: start; }
.foot-col h4 {
  font-family: var(--body); font-size: 13.5px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 13px;
}
.foot-col p { margin-bottom: 8px; font-size: 16px; line-height: 1.55; }
.foot-tag { max-width: 30ch; margin: 10px 0 18px; font-size: 16px; }
.foot-brand em { font-style: italic; color: var(--accent); }
.foot-book { padding: 11px 22px; font-size: 15.5px; }

/* ---------- privacy ---------- */
.privacy-main { max-width: 700px; margin: 0 auto; padding: clamp(48px, 8vw, 88px) var(--gutter); }
.privacy-main h1 { font-size: clamp(40px, 6vw, 56px); margin-bottom: 26px; }
.privacy-main h2 { font-size: 28px; margin: 30px 0 10px; }
.privacy-main p { color: var(--soft-on-light); margin-bottom: 16px; }
.privacy-main a { color: var(--rose); }

/* ---------- mobile ---------- */
@media (max-width: 760px) {
  body { font-size: 17px; }
  .site-nav a:not(.nav-book) { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { margin-top: 6px; }
  .hero-photo img { aspect-ratio: 3 / 2.9; object-position: center 16%; }
  .featured-photos { grid-template-columns: 1fr 1fr; }
  .featured-photos img:nth-child(2) { margin-top: 0; }
  .featured-photos img:nth-child(3) { display: none; }
  .menu-grid { grid-template-columns: 1fr; gap: 36px; }
  .gallery-grid { columns: 2; column-gap: 12px; }
  .g-item { margin-bottom: 12px; }
  .about-inner { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; gap: 26px; }
  .book-panel .row { grid-template-columns: 1fr; }
  .lb-nav { font-size: 42px; }
  .hero-photo-2 { left: -8px; bottom: -14px; width: 44%; border-width: 4px; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .finder-list .f-price { margin-left: 0; }
  .open-now-book { margin-top: -14px; }
}
