/* ==========================================================================
   Salon Cerchio — 02 霞 (Airy)
   Soft light, spa-like mesh gradient, frosted glass nav, bento menu.
   Consumes ../shared/content.js, ../shared/booking.js, ../shared/placeholder.css
   ========================================================================== */

:root {
  --bg: #FBFAF8;
  --text: #2A2530;
  --blush: #F1D9D3;
  --lav: #DDD5EA;
  --sage: #DCE6DF;
  --accent: #6E4B6B;
  --accent-dark: #593C57;
  --muted: #7E7684;
  --line: rgba(42, 37, 48, 0.10);
  --glass: rgba(251, 250, 248, 0.62);
  --white: #FFFFFF;
  --error: #B3261E;
  --ph-bg: #EFEAE6;
  --ph-fg: rgba(42, 37, 48, 0.42);

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-jp: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", sans-serif;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: clamp(16px, 5vw, 48px);
}

/* ---------- reset ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-jp);
  font-weight: 400;
  font-size: 16px;
  line-height: 2;
  letter-spacing: .05em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: inherit; }
p { margin: 0; }
dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
input, textarea { font: inherit; color: inherit; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- focus ---------- */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- skip link ---------- */

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--accent);
  color: #fff;
  padding: 14px 24px;
  border-radius: 0 0 12px 0;
  font-size: .9rem;
  letter-spacing: .05em;
}
.skip:focus {
  left: 0;
}

/* ---------- layout helpers ---------- */

section[id] { scroll-margin-top: 88px; }

.section-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* top-level page sections only; the booking widget nests its own <section>s */
main > section {
  padding: clamp(72px, 12vw, 128px) 0;
}

.eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: .2em;
  color: var(--accent);
  margin: 0 0 14px;
}

h2 {
  font-family: var(--font-jp);
  font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: .18em;
  margin: 0 0 40px;
  color: var(--text);
}

/* ---------- section reveal (signature motion is the mesh drift; this is a
   subtle supporting fade, opacity-only, per brief) ---------- */

@media (prefers-reduced-motion: no-preference) {
  main > section {
    opacity: 0;
    transition: opacity .6s var(--ease);
  }
  main > section.in {
    opacity: 1;
  }
}

/* ---------- header / frosted nav ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--gutter);
}

.wordmark-link {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: .03em;
  flex-shrink: 0;
  transition: color .25s var(--ease);
}
.wordmark-link:hover { color: var(--accent); }

.site-nav {
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.site-nav::-webkit-scrollbar { display: none; }
/* single-page site: on phones the wordmark + ご予約 pill are enough */
@media (max-width: 767px) {
  .site-nav { display: none; }
}
.site-nav ul {
  display: flex;
  gap: 2px;
  white-space: nowrap;
  padding: 0 4px;
}
.site-nav a {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: .82rem;
  letter-spacing: .05em;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.site-nav a:hover {
  background: rgba(110, 75, 107, .10);
  color: var(--accent);
}

.nav-cta {
  flex-shrink: 0;
  padding: 9px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: .82rem;
  letter-spacing: .05em;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.nav-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

/* ---------- hero + mesh ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* 74px fixed header above, 56px booking bar below on phones */
  padding-top: calc(74px + 20px);
  padding-bottom: calc(24px + 56px);
  overflow: visible;
}

.mesh {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .75;
  mix-blend-mode: multiply;
}
.blob-a {
  width: 62vw; height: 62vw;
  top: -18%; left: -14%;
  background: var(--blush);
}
.blob-b {
  width: 56vw; height: 56vw;
  bottom: -22%; right: -14%;
  background: var(--lav);
}
.blob-c {
  width: 40vw; height: 40vw;
  top: 32%; left: 58%;
  background: var(--sage);
}

@media (prefers-reduced-motion: no-preference) {
  .blob-a { animation: driftA 22s ease-in-out infinite; }
  .blob-b { animation: driftB 20s ease-in-out infinite; }
  .blob-c { animation: driftC 24s ease-in-out infinite; }
}

@keyframes driftA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(9%, 11%) scale(1.15); }
}
@keyframes driftB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-10%, -8%) scale(1.12); }
}
@keyframes driftC {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-8%, 10%) scale(1.15); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.hero-wordmark {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3.6rem, 12vw, 8.5rem);
  letter-spacing: .02em;
  line-height: 1;
  color: var(--text);
  margin: 0 0 .18em;
}

.hero h1 {
  font-family: var(--font-jp);
  font-weight: 400;
  font-size: clamp(1.25rem, 3.4vw, 1.8rem);
  letter-spacing: .1em;
  line-height: 1.7;
  margin: 0 0 12px;
  color: var(--text);
}

.hero-sub {
  color: var(--muted);
  font-size: .92rem;
  letter-spacing: .05em;
  max-width: 34em;
  margin: 0 auto 22px;
}
/* phones: both CTAs on one row */
@media (max-width: 480px) {
  .hero-cta .btn { padding: 12px 20px; font-size: .84rem; }
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 34px;
  border-radius: 999px;
  font-size: .92rem;
  letter-spacing: .06em;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.hero-photo {
  position: relative;
  z-index: 3;
  width: min(560px, calc(100% - 2 * var(--gutter)));
  margin: 28px auto 0;
}

@media (min-width: 768px) {
  .hero { padding-bottom: 40px; }
}
@media (min-width: 1080px) {
  /* stays in flow so it never covers the headline; height capped so the
     whole hero fits a 768px-tall laptop screen */
  .hero-photo {
    width: 56%;
    max-width: 760px;
    margin: 32px auto 0;
  }
  .hero-photo .ph {
    aspect-ratio: auto;
    height: clamp(180px, 30vh, 360px);
  }
}

/* ---------- concept ---------- */

.concept .section-inner {
  text-align: center;
}
@media (min-width: 1080px) {
  .concept .section-inner {
    padding-top: 200px;
  }
}

.concept h2 { max-width: 34em; margin-left: auto; margin-right: auto; }

.concept-body {
  max-width: 34em;
  margin: 0 auto 56px;
  color: var(--text);
}
.concept-body p { margin: 0 0 .4em; }

.concept-photo {
  width: 60%;
  min-width: 220px;
  margin-left: auto;
  margin-right: 0;
}
@media (max-width: 767px) {
  .concept-photo {
    width: 80%;
    margin: 0 auto;
  }
}

/* ---------- menu ---------- */

.menu-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 40px;
}
@media (min-width: 768px) {
  .menu-bento { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}
@media (min-width: 1080px) {
  .menu-bento { grid-template-columns: repeat(3, 1fr); }
}

.menu-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  padding: 28px;
  min-height: 168px;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.menu-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.menu-card-name {
  font-size: 1rem;
  letter-spacing: .04em;
  margin-bottom: 10px;
}
.menu-card-time {
  color: var(--muted);
  font-size: .82rem;
  letter-spacing: .04em;
}
.menu-card-price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--accent);
  margin-top: auto;
  align-self: flex-end;
  padding-top: 16px;
}

.menu-groups {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 32px;
}
@media (min-width: 768px) {
  .menu-groups { grid-template-columns: repeat(3, 1fr); }
}

.menu-group {
  background: rgba(241, 217, 211, .32);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.menu-group-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: .06em;
  margin-bottom: 14px;
  color: var(--text);
}
.menu-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: .88rem;
}
.menu-row:last-child { border-bottom: none; }
.menu-row-name { flex: 1; min-width: 0; }
.menu-row-time { color: var(--muted); font-size: .78rem; white-space: nowrap; }
.menu-row-price {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--accent);
  white-space: nowrap;
}

.menu-note {
  color: var(--muted);
  font-size: .82rem;
  letter-spacing: .03em;
  max-width: 46em;
}

/* ---------- stylist ---------- */

.stylist-inner {
  text-align: center;
  max-width: 620px;
}

.stylist-photo {
  width: 220px;
  margin: 0 auto 32px;
}
@media (min-width: 768px) {
  .stylist-photo { width: 240px; }
}

.stylist-name {
  font-size: 1.4rem;
  letter-spacing: .06em;
  margin-bottom: 6px;
}
.stylist-name-en {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1rem;
  color: var(--muted);
  letter-spacing: .04em;
  margin-top: 4px;
}
.stylist-role {
  color: var(--accent);
  font-size: .85rem;
  letter-spacing: .1em;
  margin-bottom: 24px;
}
.stylist-bio {
  color: var(--text);
  margin-bottom: 24px;
}
.stylist-bio p { margin: 0 0 .3em; }
.stylist-instagram {
  display: inline-block;
  font-size: .85rem;
  letter-spacing: .06em;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: opacity .25s var(--ease);
}
.stylist-instagram:hover { opacity: .7; }

/* ---------- gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 1080px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .gallery-grid > *:nth-child(3n + 2) {
    transform: translateY(48px);
  }
}
/* eight photos: two even rows of four, every other one nudged down */
@media (min-width: 1080px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid > *:nth-child(3n + 2) { transform: none; }
  .gallery-grid > *:nth-child(even) { transform: translateY(40px); }
}
.gallery-grid .ph {
  border-radius: 20px;
}

/* ---------- reserve ---------- */

.reserve-lead {
  color: var(--muted);
  margin-bottom: 40px;
  max-width: 36em;
}

.reserve-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(24px, 5vw, 56px);
}

/* -- booking widget skin (.bk-* from shared/booking.js) -- */

.bk-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.bk-step {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(42, 37, 48, .05);
  color: var(--muted);
  font-size: .82rem;
  letter-spacing: .04em;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.bk-step.is-active {
  background: var(--accent);
  color: #fff;
}
.bk-step.is-done {
  background: rgba(110, 75, 107, .14);
  color: var(--accent);
}
.bk-step-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: .8rem;
}

.bk-panel {
  display: block;
}
@media (prefers-reduced-motion: no-preference) {
  .bk-panel {
    animation: bkPanelIn .4s var(--ease);
  }
}
@keyframes bkPanelIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.bk-step-name {
  letter-spacing: .04em;
}

.bk-title {
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: .06em;
  margin-bottom: 10px;
}
.bk-hint {
  color: var(--muted);
  font-size: .88rem;
  margin-bottom: 24px;
}

.bk-cat { margin-bottom: 32px; padding: 0; }
.bk-cat:last-of-type { margin-bottom: 0; }
.bk-cat-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: .06em;
  margin-bottom: 14px;
}
.bk-cat.is-featured .bk-cat-title { color: var(--accent); }

.bk-menu-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.bk-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 260px;
  padding: 14px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  cursor: pointer;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.bk-menu-item:hover { border-color: var(--accent); }
.bk-menu-item.is-selected {
  background: rgba(110, 75, 107, .12);
  border-color: var(--accent);
}
.bk-check {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--accent);
}
.bk-menu-name {
  flex: 1;
  min-width: 0;
  font-size: .92rem;
}
.bk-menu-meta {
  display: flex;
  gap: 12px;
  font-size: .78rem;
  color: var(--muted);
  flex-shrink: 0;
}
.bk-menu-time { color: var(--muted); }
.bk-menu-price { color: var(--accent); font-weight: 500; }
/* phones: keep the name on one line, drop time + price underneath */
@media (max-width: 480px) {
  .bk-menu-item { flex-wrap: wrap; row-gap: 4px; border-radius: 22px; padding: 12px 18px; }
  .bk-menu-name { flex: 1 1 auto; }
  .bk-menu-meta { flex: 0 0 100%; padding-left: 28px; }
}

.bk-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin: 28px 0 8px;
  padding: 18px 22px;
  border-radius: 16px;
  background: rgba(110, 75, 107, .07);
  font-size: .9rem;
}
.bk-summary-count { color: var(--muted); }
.bk-summary-time { color: var(--text); }
.bk-summary-price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--accent);
}

.bk-error {
  color: var(--error);
  font-size: .82rem;
  margin-top: 8px;
}

.bk-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.bk-btn {
  appearance: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-jp);
  font-size: .92rem;
  letter-spacing: .05em;
  padding: 15px 32px;
  border-radius: 999px;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.bk-btn-primary {
  background: var(--accent);
  color: #fff;
}
.bk-btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.bk-btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.bk-btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.bk-dates {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 24px;
}
.bk-date {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 66px;
  padding: 14px 10px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.bk-date:hover:not(:disabled) { border-color: var(--accent); }
.bk-date.is-selected {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.bk-date.is-closed { opacity: .35; cursor: not-allowed; }
.bk-date-month { font-size: .68rem; opacity: .75; }
.bk-date-day { font-family: var(--font-display); font-size: 1.35rem; line-height: 1; }
.bk-date-wd { font-size: .68rem; }

.bk-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}
.bk-slot {
  padding: 11px 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  font-size: .85rem;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.bk-slot:hover:not(:disabled) { border-color: var(--accent); }
.bk-slot.is-selected {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.bk-slot.is-busy {
  opacity: .35;
  text-decoration: line-through;
  cursor: not-allowed;
}
.bk-slots-hint {
  color: var(--muted);
  font-size: .85rem;
  margin-bottom: 14px;
}
.bk-empty {
  color: var(--muted);
  font-size: .9rem;
}

.bk-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 22px;
}
.bk-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  letter-spacing: .04em;
}
.bk-req {
  font-size: .62rem;
  letter-spacing: .06em;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 2px 8px;
}
.bk-input {
  font-family: var(--font-jp);
  font-size: 1rem;
  padding: 13px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.bk-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(110, 75, 107, .18);
}
.bk-field.has-error .bk-input { border-color: var(--error); }
textarea.bk-input { resize: vertical; min-height: 96px; }

.bk-confirm {
  margin: 24px 0 8px;
}
.bk-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.bk-key { color: var(--muted); font-size: .84rem; flex-shrink: 0; }
.bk-val { text-align: right; font-size: .94rem; }

.bk-done {
  text-align: center;
  padding: 16px 0 8px;
}
.bk-done-eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  font-size: .82rem;
  margin-bottom: 12px;
}
.bk-done-text {
  color: var(--muted);
  margin: 14px auto 0;
  max-width: 30em;
}
.bk-done-label {
  color: var(--muted);
  font-size: .8rem;
  margin-top: 28px;
}
.bk-done-id {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: var(--accent);
  letter-spacing: .04em;
  margin: 6px 0 14px;
}
.bk-done-meta { color: var(--muted); }
.bk-done .bk-actions { justify-content: center; }

/* ---------- access ---------- */

.access-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(24px, 5vw, 48px);
}
.access-dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}
@media (min-width: 768px) {
  .access-dl {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 48px;
  }
}
.access-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.access-row dt {
  font-size: .78rem;
  letter-spacing: .1em;
  color: var(--muted);
}
.access-row dd {
  font-size: 1rem;
  letter-spacing: .03em;
}
.access-row a { color: var(--accent); }
.access-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
}
.access-links a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  font-size: .9rem;
  transition: opacity .25s var(--ease);
}
.access-links a:hover { opacity: .7; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 56px var(--gutter) 96px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
@media (min-width: 768px) {
  .site-footer { padding-bottom: 56px; }
}
.footer-wordmark {
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: .03em;
  transition: color .25s var(--ease);
}
.footer-wordmark:hover { color: var(--accent); }
.footer-links {
  display: flex;
  gap: 22px;
}
.footer-links a {
  color: var(--muted);
  font-size: .85rem;
  letter-spacing: .04em;
  transition: color .25s var(--ease);
}
.footer-links a:hover { color: var(--accent); }
.footer-copyright {
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .03em;
}

/* ---------- sticky CTA ---------- */

.sticky-cta {
  position: fixed;
  z-index: 60;
  font-family: var(--font-jp);
  letter-spacing: .05em;
  font-size: .92rem;
  text-align: center;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 16px;
  background: var(--accent);
  color: #fff;
}
.sticky-cta.is-hidden {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}

@media (min-width: 768px) {
  .sticky-cta {
    left: auto;
    right: 32px;
    bottom: 32px;
    padding: 17px 34px;
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(110, 75, 107, .25);
  }
  .sticky-cta.is-hidden {
    transform: translateY(16px);
  }
}

/* ---------- Booking on phones ---------- */
.bk-dates { scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.bk-date { scroll-snap-align: start; }

/* ---------- Wordmark: champagne gold (matches brand/cerchio-logo-gold) ---------- */
.wordmark, .wordmark-link, .hero-wordmark, .footer-wordmark {
  color: #C8B078;
  background-image: linear-gradient(135deg, #E6D3A3 0%, #C8B078 50%, #A98F52 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Booking bar + selected state (see ../shared/booking.css) ---------- */
:root { --bk-bar-bg: #FFFFFF; --bk-bar-line: var(--line); --bk-check: var(--accent); }
.bk-menu-item.is-selected { background: rgba(110, 75, 107, .2); border-color: var(--accent); border-width: 2px; }
.bk-menu-item.is-selected .bk-menu-name { color: var(--accent); font-weight: 500; }

/* Wordmark weight: client asked for more thickness */
.wordmark-link, .hero-wordmark, .footer-wordmark { font-weight: 700; }

/* ---------- Menu layout for the salon's real menu (3 sets, 2 groups) ---------- */
@media (min-width: 768px) {
  .menu-bento { grid-template-columns: repeat(3, 1fr); }
  .menu-groups { grid-template-columns: 3fr 2fr; }
}
.menu-card { min-height: 140px; }

/* ---------- Hero gradient: slow flowing mesh ----------
   Organic (non-circular) blobs that travel, morph and turn on long, staggered
   loops (31–45s) so the colours drift into each other. Transform/opacity only.
   Reduced-motion users get the still version above. */
:root { --peach: #F6E3CF; }
.blob {
  border-radius: 42% 58% 63% 37% / 44% 41% 59% 56%;
  opacity: .8;
  will-change: transform;
}
.blob-d {
  width: 46vw; height: 46vw;
  top: -10%; left: 44%;
  background: var(--peach);
}
@media (max-width: 767px) {
  /* phones: bigger blobs so the flow fills the tall screen */
  .blob-a { width: 110vw; height: 110vw; }
  .blob-b { width: 100vw; height: 100vw; }
  .blob-c { width: 80vw;  height: 80vw; }
  .blob-d { width: 90vw;  height: 90vw; }
}
@media (prefers-reduced-motion: no-preference) {
  .blob-a { animation: flowA 37s ease-in-out infinite alternate; }
  .blob-b { animation: flowB 43s ease-in-out infinite alternate; }
  .blob-c { animation: flowC 31s ease-in-out infinite alternate; }
  .blob-d { animation: flowD 45s ease-in-out infinite alternate; }
}
@keyframes flowA {
  0%   { transform: translate(0, 0)      rotate(0deg)   scale(1); }
  33%  { transform: translate(28%, 18%)  rotate(70deg)  scale(1.2); }
  66%  { transform: translate(12%, 42%)  rotate(150deg) scale(.92); }
  100% { transform: translate(38%, 8%)   rotate(220deg) scale(1.12); }
}
@keyframes flowB {
  0%   { transform: translate(0, 0)      rotate(0deg)    scale(1.05); }
  33%  { transform: translate(-30%, -12%) rotate(-60deg) scale(.9); }
  66%  { transform: translate(-14%, -38%) rotate(-140deg) scale(1.22); }
  100% { transform: translate(-40%, -20%) rotate(-210deg) scale(1); }
}
@keyframes flowC {
  0%   { transform: translate(0, 0)       rotate(0deg)   scale(1); }
  50%  { transform: translate(-60%, -30%) rotate(120deg) scale(1.3); }
  100% { transform: translate(-20%, 40%)  rotate(240deg) scale(.95); }
}
@keyframes flowD {
  0%   { transform: translate(0, 0)      rotate(0deg)    scale(.9); }
  50%  { transform: translate(-50%, 50%) rotate(-100deg) scale(1.25); }
  100% { transform: translate(20%, 70%)  rotate(-200deg) scale(1); }
}
/* overlaps stay pastel: normal blending instead of multiply (multiply turned peach+lavender grey) */
.blob { mix-blend-mode: normal; opacity: .62; }

/* ---------- Hero gradient: midway between the light (v1) and darker (v2) looks, faster flow (2026-09-25) ---------- */
.hero .mesh {
  --blush: #F0CFC7;
  --lav: #D8CCEB;
  --sage: #D4E3D8;
  --peach: #F5DBC0;
}
.blob { opacity: .72; filter: blur(80px); }
@media (prefers-reduced-motion: no-preference) {
  .blob-a { animation-duration: 12s; }
  .blob-b { animation-duration: 14s; }
  .blob-c { animation-duration: 10s; }
  .blob-d { animation-duration: 16s; }
}

/* ---------- Hero slideshow (hair photos), slides right-to-left ---------- */
.hero-slides { --visible: 2; }
@media (min-width: 768px) { .hero-slides { --visible: 3; } }
.hero-slides .hs-track {
  position: absolute;
  inset: 0;
  display: flex;
  will-change: transform;
}
.hs-slide {
  flex: 0 0 calc(100% / var(--visible));
  height: 100%;
  padding: 0 3px;
  box-sizing: border-box;
}
.hs-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

/* ---------- Gallery: before/after photos (square, never cropped) ---------- */
.gallery-note {
  color: var(--muted);
  font-size: .85rem;
  letter-spacing: .06em;
  margin: -16px 0 24px;
}
.gallery-ba .ph { aspect-ratio: 1 / 1; }
/* before/after cards sit in an even grid (no staggered offset) */
.gallery-ba > * { transform: none !important; }
@media (min-width: 1080px) { .gallery-ba { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Concept: photo centred under the centred text (was offset right) ---------- */
.concept-photo {
  width: min(640px, 100%);
  min-width: 0;
  margin-left: auto;
  margin-right: auto;
}

/* Optical centring for the Concept text: every line ends in 、or 。 (blank right
   half of the glyph) plus trailing letter-spacing, which pushed the visible text
   left of centre. A matching left pad re-centres the ink. */
.concept .eyebrow { padding-left: .2em; }
.concept h2 { padding-left: .62em; }
.concept-body p { padding-left: .62em; }

/* ---------- Coming-soon gate (password curtain over a blurred page) ---------- */
.gate { display: none; }
html.gated { overflow: hidden; }
html.gated body { overflow: hidden; height: 100svh; }
html.gated body > :not(.gate):not(script) {
  filter: blur(14px) saturate(1.05);
  pointer-events: none;
  user-select: none;
  transition: filter .7s var(--ease);
}
html.gated.ungating body > :not(.gate):not(script) { filter: none; }
html.gated .gate {
  display: grid;
  place-items: center;
  position: fixed;
  inset: 0;
  z-index: 1000;
  padding: 24px 16px;
  background: rgba(251, 250, 248, .38);
  transition: opacity .6s var(--ease);
}
html.gated.ungating .gate { opacity: 0; pointer-events: none; }
.gate-card {
  width: min(400px, 100%);
  padding: clamp(28px, 6vw, 44px) clamp(22px, 6vw, 40px);
  border-radius: 28px;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px -30px rgba(42, 37, 48, .35);
  text-align: center;
}
.gate-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 11vw, 3.2rem);
  line-height: 1;
  margin: 0 0 18px;
  color: #C8B078;
  background-image: linear-gradient(135deg, #E6D3A3 0%, #C8B078 50%, #A98F52 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.gate-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: .28em;
  padding-left: .28em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 6px;
}
.gate-sub { font-size: .9rem; color: var(--muted); letter-spacing: .12em; margin: 0 0 26px; }
.gate-desc { font-size: .85rem; color: var(--text); margin: 0 0 10px; }
.gate-label {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.gate-input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  font-size: 16px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  text-align: center;
  letter-spacing: .12em;
  outline: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.gate-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(110, 75, 107, .15); }
.gate-error { min-height: 1.6em; margin: 8px 0 6px; font-size: .82rem; color: #B3261E; }
.gate-btn {
  width: 100%;
  padding: 14px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: .95rem;
  letter-spacing: .2em;
  cursor: pointer;
  touch-action: manipulation;
  transition: background .25s var(--ease);
}
.gate-btn:hover { background: var(--accent-dark); }
.gate-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .gate.shake .gate-card { animation: gateShake .45s var(--ease); }
}
@keyframes gateShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-10px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(3px); }
}
.gate-input:focus-visible { outline: none; }


/* ---------- Gallery groups: ヘアスタイル + ヒゲ脱毛 (2026-10-01) ---------- */
.gallery-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.15rem;
  letter-spacing: .12em;
  color: var(--accent);
  margin: 0 0 18px;
}
.gallery-hair { margin-bottom: clamp(48px, 8vw, 80px); }
.gallery-hair > * { transform: none !important; }
@media (min-width: 1080px) { .gallery-hair { grid-template-columns: repeat(4, 1fr); } }
.gallery-sub + .gallery-note { margin-top: -8px; }

/* 頭浸浴 gallery group: same tiles and grid as ヘアスタイル */
.gallery-spa { margin-bottom: clamp(48px, 8vw, 80px); }
.gallery-spa > * { transform: none !important; }
@media (min-width: 1080px) { .gallery-spa { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Stylist bio: owner's own text, three paragraphs (2026-10-01) ---------- */
.stylist-bio p { margin: 0 0 1.4em; line-height: 2; word-break: auto-phrase; text-wrap: pretty; }
.stylist-bio p:last-child { margin-bottom: 0; }
.stylist-bio strong { font-weight: 600; letter-spacing: .04em; }

/* ---------- Menu: per-group caution (脱毛は都度払い) (2026-10-03) ---------- */
.menu-group-note {
  margin: 12px 0 0;
  font-size: .82rem;
  letter-spacing: .03em;
  color: var(--accent);
}
.bk-cat-note {
  white-space: pre-line;
  margin: 8px 0 0;
  font-size: .8rem;
  letter-spacing: .03em;
  color: var(--accent);
}

/* ---------- Menu: treatment times in their own aligned column (2026-10-03) ---------- */
.menu-row-time { min-width: 5.4em; text-align: left; letter-spacing: .04em; }
.menu-row-price { min-width: 4.6em; text-align: right; }
.menu-card-time { margin: -2px 0 0; }

/* ---------- Concept copy: owner's text — heading line + four paragraphs (2026-10-03) ---------- */
.concept h2 { line-height: 1.8; word-break: keep-all; overflow-wrap: anywhere; }
@media (max-width: 480px) { .concept h2 { font-size: 1.35rem; letter-spacing: .1em; } }
.concept-body p { margin: 0 0 1.4em; line-height: 2; word-break: keep-all; overflow-wrap: anywhere; }
.concept-body p:last-child { margin-bottom: 0; }

/* Concept photo removed (2026-10-03): text is the last element, no trailing gap */
.concept-body { margin-bottom: 0; }

/* ---------- Booking: live availability states (2026-10-03) ---------- */
.bk-loading {
  display: flex; align-items: center; gap: 12px;
  color: var(--muted); font-size: .9rem; min-height: 52px;
}
.bk-loading::before {
  content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%;
  border: 2px solid rgba(110, 75, 107, .2); border-top-color: var(--accent);
  animation: bk-spin .8s linear infinite;
}
@keyframes bk-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .bk-loading::before { animation-duration: 2.4s; } }
.bk-notice, .bk-fail {
  border: 1px solid rgba(179, 38, 30, .25);
  background: rgba(179, 38, 30, .05);
  color: var(--text);
  border-radius: 14px;
  padding: 14px 18px;
  font-size: .88rem;
  line-height: 1.8;
  margin: 0 0 20px;
}
.bk-fail p { margin: 0 0 6px; }
.bk-fail .bk-btn { margin-top: 8px; padding: 10px 22px; }
.bk-fail-phone { color: var(--muted); }
.bk-date.is-closed .bk-date-wd { color: var(--muted); font-weight: 500; }
.bk-btn:disabled { opacity: .55; cursor: default; transform: none; }
.bk-btn.is-busy { cursor: progress; }
.bk-privacy { color: var(--muted); font-size: .78rem; line-height: 1.8; margin: 4px 0 20px; }
.bk-done-sub { color: var(--muted); font-size: .82rem; line-height: 1.8; margin: 10px auto 0; max-width: 30em; }
/* spam trap: off-screen, never visible or focusable for people */
.bk-hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
