/* ============================================================
   Repos — Hair & Shaving Salon
   Natural / wellness / organic — neutral palette
   ============================================================ */

:root {
  --bg:        #F6F1E8;   /* warm cream */
  --bg-2:      #ECE3D2;   /* light greige */
  --bg-3:      #E2D6C0;   /* deeper sand */
  --paper:     #FBF7EE;   /* paper white */
  --ink:       #2A2722;   /* warm dark */
  --ink-2:     #4A4339;   /* secondary */
  --muted:     #8A8276;   /* greige text */
  --hair:      rgba(42,39,34,.12);
  --hair-2:    rgba(42,39,34,.06);
  --accent:    #8F9D85;   /* soft sage */
  --accent-2:  #B89A6F;   /* warm tan */
  --line-grn:  #06C755;

  --serif-jp:  "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans-jp:   "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  --serif-en:  "Italiana", "Shippori Mincho", serif;
  --sans-en:   "Jost", "Zen Kaku Gothic New", system-ui, sans-serif;
}

* { box-sizing: border-box; }

/* Smooth in-page navigation (used by LINE rich-menu deep links to
   #campaign / #availability / #shop / #training etc.) */
html { scroll-behavior: smooth; }

/* Offset every linkable section so the fixed top nav doesn't cover its
   heading when jumped to via an anchor. */
section[id] { scroll-margin-top: 92px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}


html, body {
  margin: 0; padding: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans-jp);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: .03em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button { font: inherit; cursor: pointer; }

::selection { background: var(--ink); color: var(--paper); }

/* ── Type rhythm ───────────────────────────────────────────── */

.eyebrow {
  font-family: var(--sans-en);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

.h-display {
  font-family: var(--serif-jp);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.45;
  letter-spacing: .08em;
  margin: 0;
  text-wrap: balance;
}

.h-section {
  font-family: var(--serif-jp);
  font-weight: 500;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.5;
  letter-spacing: .12em;
  margin: 0;
}

.h-en {
  font-family: var(--serif-en);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 92px);
  letter-spacing: .04em;
  line-height: 1;
  margin: 0;
}

p { margin: 0; text-wrap: pretty; }

.lede {
  font-size: 15px;
  line-height: 2.1;
  color: var(--ink-2);
  letter-spacing: .04em;
}

.mono {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Layout ────────────────────────────────────────────────── */

.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.wrap-narrow {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 32px;
}

section {
  padding: clamp(80px, 11vw, 140px) 0;
  position: relative;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 64px;
}

.section-head .row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.section-head .num {
  font-family: var(--sans-en);
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--muted);
}

.divider {
  width: 100%;
  height: 1px;
  background: var(--hair);
  margin: 0;
}

/* ── Sticky top nav ────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  border-bottom: 1px solid var(--hair-2);
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--serif-en);
  font-size: 26px;
  letter-spacing: .08em;
  line-height: 1;
}

.brand small {
  font-family: var(--sans-en);
  font-size: 9px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0; padding: 0;
}

.nav-links li { flex: 0 0 auto; }

.nav-links a {
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--ink-2);
  transition: color .2s;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--ink); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--line-grn);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .02em;
  transition: transform .15s, box-shadow .15s, background .15s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  background: #05b54d;
  box-shadow: 0 8px 20px rgba(6,199,85,.28);
}

/* Hamburger toggle — hidden on desktop */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  margin: -8px -8px -8px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: 0 0 auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .28s ease, opacity .2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer + scrim */
.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 48;
  background: rgba(20, 16, 12, .38);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.nav-scrim.is-open { opacity: 1; pointer-events: auto; }

.nav-drawer {
  position: fixed;
  top: 74px;
  left: 0;
  right: 0;
  z-index: 49;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 74px);
  padding: 22px clamp(20px, 5vw, 56px) 26px;
  box-sizing: border-box;
  background: var(--bg);
  border-left: 0;
  border-top: 1px solid var(--hair-2);
  box-shadow: 0 18px 40px rgba(28,23,18,.14);
  transform: translateY(-110%);
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 6px;
  overflow-y: auto;
}
.nav-drawer.is-open { transform: translateY(0); }

.nav-drawer-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 4vw, 56px);
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}
.nav-drawer-group h5 {
  font-family: var(--sans-en);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 8px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--hair-2);
  font-weight: 600;
}
.nav-drawer-group ul { list-style: none; margin: 0; padding: 0; }
.nav-drawer-group li { border-bottom: 1px solid var(--hair); }
.nav-drawer-group li:last-child { border-bottom: 0; }
.nav-drawer-group a {
  display: block;
  padding: 6px 2px;
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--ink);
}
.nav-drawer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 18px auto 0;
  padding: 11px 26px;
  border-radius: 999px;
  background: var(--line-grn);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
}
.nav-drawer-note {
  max-width: 460px;
  margin: 14px auto 0;
  font-size: 11.5px;
  line-height: 1.85;
  color: var(--ink-2);
  text-align: center;
  letter-spacing: .02em;
}

/* Switch to the hamburger before the 9-item desktop row + CTA can overflow.
   The full row needs ~1150px; use the hamburger at ≤1200px so it never
   clips (covers iPad landscape 1024px and 1152/1180px laptops). */
@media (max-width: 1200px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
}

@media (min-width: 1201px) {
  /* Drawer never shows on desktop, even if state lingers */
  .nav-drawer, .nav-scrim { display: none; }
}

@media (max-width: 560px) {
  .nav-inner { padding: 15px 20px; gap: 14px; }
  .nav-cta { padding: 9px 15px; font-size: 11.5px; gap: 6px; }
  .wrap, .wrap-narrow { padding-left: 20px; padding-right: 20px; }
  .nav-drawer { top: 60px; max-height: calc(100vh - 60px); padding: 18px 18px 22px; }
  .nav-drawer-groups { gap: 14px; }
  .nav-drawer-group h5 { margin-bottom: 6px; padding-bottom: 6px; font-size: 9px; letter-spacing: .14em; }
  .nav-drawer-group a { font-size: 12px; padding: 5px 1px; letter-spacing: .02em; }
  .nav-drawer-cta { margin-top: 14px; padding: 10px 22px; }
  .nav-drawer-note { font-size: 10.5px; line-height: 1.7; margin-top: 10px; }
}

/* ── Hero (immersive full-bleed) ───────────────────────────── */

.hero {
  position: relative;
  min-height: 90vh;
  min-height: 90svh;
  display: flex;
  align-items: flex-end;
  padding: 0 0 clamp(48px, 7vw, 96px);
  overflow: hidden;
  isolation: isolate;
}

/* Full-bleed background photo */
image-slot.ph.hero-bg {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  aspect-ratio: auto !important;
  border-radius: 0 !important;
  background: var(--bg-3) !important;
  z-index: 0;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      to top,
      rgba(22,18,14,.90) 0%,
      rgba(22,18,14,.78) 26%,
      rgba(22,18,14,.60) 52%,
      rgba(22,18,14,.46) 78%,
      rgba(22,18,14,.52) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--paper);
  max-width: 600px;
  margin-left: auto;
  text-align: right;
}
.hero-eyebrow-row { justify-content: flex-end; }
.hero-content .btn-row { justify-content: flex-end; }
.hero-content .hero-meta { justify-content: flex-end; }
.hero-content h1,
.hero-content .hero-sub { margin-left: auto; }

@media (max-width: 760px) {
  .hero-content {
    max-width: 100%;
    margin-left: 0;
  }
}

.hero-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
}

.hero-eyebrow-row .line {
  flex: 0 0 48px;
  height: 1px;
  background: var(--accent-2);
}
.hero-content .eyebrow { color: rgba(251,247,238,.85); }

.hero h1 {
  font-family: var(--serif-jp);
  font-weight: 400;
  font-size: 34px;
  line-height: 1.5;
  letter-spacing: .1em;
  margin: 0 0 26px;
  color: var(--paper);
  text-shadow: 0 2px 24px rgba(0,0,0,.55), 0 1px 3px rgba(0,0,0,.4);
  max-width: 18em;
}

.hero h1 .em { color: #E8CCA0; }

.hero-sub {
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 2.1;
  color: rgba(251,247,238,.94);
  letter-spacing: .06em;
  max-width: 34em;
  margin: 0 0 38px;
  text-shadow: 0 1px 16px rgba(0,0,0,.55), 0 1px 2px rgba(0,0,0,.4);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid rgba(251,247,238,.24);
}

.hero-meta dt { font-size: 10px; letter-spacing: .26em; color: rgba(251,247,238,.6); margin-bottom: 5px; }
.hero-meta dd { font-family: var(--serif-jp); font-size: 14px; letter-spacing: .08em; margin: 0; color: var(--paper); }

/* Ghost button placed over the photo — light outline */
.btn.btn-on-photo {
  border-color: rgba(251,247,238,.6);
  color: var(--paper);
  background: rgba(251,247,238,.04);
  backdrop-filter: blur(2px);
}
.btn.btn-on-photo:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn.btn-on-photo .arrow { background: var(--paper); }
.btn.btn-on-photo .arrow::after { border-color: var(--paper); }
.btn.btn-on-photo:hover .arrow { background: var(--ink); }
.btn.btn-on-photo:hover .arrow::after { border-color: var(--ink); }

@media (max-width: 560px) {
  .hero { min-height: 92svh; padding-bottom: 44px; }
  .hero-meta { gap: 14px 28px; }
  /* On phones the portrait crop brings her face further into frame under
     the headline; add a left-side darken so the text stays legible without
     changing the copy layout. */
  .hero-scrim {
    background:
      linear-gradient(
        to top,
        rgba(22,18,14,.90) 0%,
        rgba(22,18,14,.78) 26%,
        rgba(22,18,14,.60) 52%,
        rgba(22,18,14,.46) 78%,
        rgba(22,18,14,.52) 100%
      ),
      linear-gradient(
        to right,
        rgba(22,18,14,.55) 0%,
        rgba(22,18,14,.22) 45%,
        rgba(22,18,14,0) 68%
      );
  }
}

/* "空席案内はこちら" — sits in the gap below the hero meta, on the photo.
   Light glassy pill that matches the on-photo button vocabulary. */
.hero-avail-link {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  border: 1px solid rgba(251, 247, 238, 0.55);
  border-radius: 999px;
  background: rgba(28, 23, 18, 0.28);
  backdrop-filter: blur(3px);
  color: var(--paper);
  font-family: var(--serif-jp);
  font-size: 14px;
  letter-spacing: 0.1em;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.hero-content .hero-avail-link { display: flex; width: fit-content; margin-left: auto; }
.hero-avail-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7cc6a0;
  box-shadow: 0 0 0 4px rgba(124, 198, 160, 0.3);
  flex: none;
  animation: heroAvailPulse 2.4s ease-in-out infinite;
}
.hero-avail-link .arrow { background: var(--paper); }
.hero-avail-link .arrow::after { border-color: var(--paper); }
.hero-avail-link:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.hero-avail-link:hover .arrow { background: var(--ink); }
.hero-avail-link:hover .arrow::after { border-color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  @keyframes heroAvailPulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(124, 198, 160, 0.28); }
    50% { box-shadow: 0 0 0 7px rgba(124, 198, 160, 0); }
  }
}

/* ── Placeholder imagery ───────────────────────────────────── */

.ph {
  position: relative;
  background:
    repeating-linear-gradient(
      135deg,
      var(--bg-3) 0 14px,
      var(--bg-2) 14px 28px
    );
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

.ph::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.35), transparent 60%);
  pointer-events: none;
}

.ph-label {
  position: relative;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(42,39,34,.55);
  padding: 7px 14px;
  background: rgba(251,247,238,.85);
  border: .5px solid rgba(42,39,34,.16);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.ph.tall   { aspect-ratio: 3 / 4; }
.ph.square { aspect-ratio: 1 / 1; }
.ph.wide   { aspect-ratio: 16 / 10; }
.ph.banner { aspect-ratio: 21 / 9; }

/* Fillable image-slot variant of .ph — drag & drop / click to fill.
   Unified size: 320×240 (4:3) on desktop, full-width 4:3 on mobile.
   !important neutralises the per-section .ph aspect-ratio / flex / min-height
   rules so every photo space is the same size. */
image-slot.ph {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 480px !important;
  min-height: 0 !important;
  flex: 0 0 auto !important;
  aspect-ratio: 4 / 3 !important;
  background: var(--bg-2);
  overflow: visible;
  border-radius: 4px;
}
image-slot.ph::after { display: none; }

/* Concept 01 — portrait frame on the right, show whole photo (no crop). */
image-slot#photo-concept.ph {
  aspect-ratio: 3 / 4 !important;
  width: 100% !important;
  max-width: 360px !important;
  margin: 0 0 0 auto !important;
  background: var(--bg-2) !important;
}
@media (max-width: 900px) {
  image-slot#photo-concept.ph { margin: 0 auto !important; }
}

/* ── Buttons ───────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  letter-spacing: .18em;
  transition: background .15s, color .15s, transform .15s;
}

.btn:hover { transform: translateY(-1px); }

.btn-line {
  background: var(--line-grn);
  border-color: var(--line-grn);
}
.btn-line:hover { background: #05b54c; border-color: #05b54c; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.btn .arrow {
  display: inline-block;
  width: 18px; height: 1px;
  background: currentColor;
  position: relative;
}
.btn .arrow::after {
  content: "";
  position: absolute;
  right: 0; top: -3px;
  width: 7px; height: 7px;
  border-right: 1px solid currentColor;
  border-top: 1px solid currentColor;
  transform: rotate(45deg);
}

.btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── Concept ───────────────────────────────────────────────── */

.concept {
  background: var(--paper);
  position: relative;
}

.concept-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 900px) {
  .concept-grid { grid-template-columns: 1fr; gap: 48px; }
}

.concept h2 .sm {
  display: block;
  font-size: 13px;
  letter-spacing: .3em;
  color: var(--accent);
  margin-bottom: 18px;
  font-family: var(--sans-en);
  text-transform: uppercase;
}

.concept-quote {
  font-family: var(--serif-jp);
  font-size: 17px;
  line-height: 2.4;
  letter-spacing: .12em;
}

.concept-quote em {
  font-style: normal;
  background: linear-gradient(transparent 60%, rgba(143,157,133,.32) 60%);
}

/* ── Reassure cards (初めての方へ) ───────────────────────────── */

.reassure-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .reassure-grid { grid-template-columns: 1fr; }
}

.reassure-card {
  background: var(--paper);
  border: 1px solid var(--hair-2);
  border-radius: 4px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 240px;
  position: relative;
}

.reassure-num {
  font-family: var(--serif-en);
  font-size: 38px;
  color: var(--accent);
  line-height: 1;
}

.reassure-card h3 {
  font-family: var(--serif-jp);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: .1em;
  line-height: 1.7;
  margin: 0;
}

.reassure-card p {
  font-size: 13.5px;
  line-height: 2;
  color: var(--ink-2);
}

/* ── Services ──────────────────────────────────────────────── */

.svc-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--hair);
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.svc-tab {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 18px 24px;
  font-family: var(--serif-jp);
  font-size: 14px;
  letter-spacing: .14em;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .2s, border-color .2s;
}

.svc-tab[aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.svc-tab small {
  display: block;
  font-family: var(--sans-en);
  font-size: 9px;
  letter-spacing: .28em;
  margin-top: 4px;
  color: var(--muted);
}

/* Card variant */
.svc-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* Lone last card in an odd count: center it at one-column width */
.svc-cards > .svc-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  width: calc(50% - 16px);
  max-width: calc(50% - 16px);
  justify-self: center;
}

@media (max-width: 900px) {
  .svc-cards { grid-template-columns: 1fr; }
  .svc-cards > .svc-card:last-child:nth-child(odd) {
    grid-column: auto;
    width: auto;
    max-width: none;
    justify-self: stretch;
  }
}

.svc-card {
  background: var(--paper);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.svc-card .ph { aspect-ratio: 4 / 3; }

.svc-card-body {
  padding: 32px 28px 36px;
}

.svc-card .label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}

.svc-card h3 {
  font-family: var(--serif-jp);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: .12em;
  line-height: 1.6;
  margin: 0 0 16px;
}

.svc-card p {
  font-size: 13.5px;
  line-height: 2;
  color: var(--ink-2);
}

.svc-meta {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--hair-2);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .08em;
}
.svc-meta b { color: var(--ink); font-weight: 500; }

/* Story variant — full-width alternating rows */
.svc-story {
  display: flex;
  flex-direction: column;
  gap: 110px;
}

.svc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.svc-row.reverse { direction: rtl; }
.svc-row.reverse > * { direction: ltr; }

@media (max-width: 900px) {
  .svc-row, .svc-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 32px;
  }
}

.svc-row h3 {
  font-family: var(--serif-jp);
  font-weight: 500;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: .12em;
  line-height: 1.6;
  margin: 18px 0 24px;
}

.svc-row .ph { aspect-ratio: 5 / 6; }

.svc-bullets {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--hair-2);
  padding-top: 24px;
}
.svc-bullets li {
  display: flex;
  gap: 12px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.9;
}
.svc-bullets li::before {
  content: "";
  flex: 0 0 6px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 12px;
}

/* Tab content */
.svc-tab-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 900px) {
  .svc-tab-panel { grid-template-columns: 1fr; gap: 32px; }
}

.svc-tab-panel .ph { aspect-ratio: 4 / 5; }

.svc-tab-panel h3 {
  font-family: var(--serif-jp);
  font-weight: 500;
  font-size: 30px;
  letter-spacing: .12em;
  line-height: 1.5;
  margin: 0 0 24px;
}

/* ── Product/Wellness blocks ────────────────────────────────── */

.product-section {
  background: var(--bg-2);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1000px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-card .ph { aspect-ratio: 4 / 5; background: var(--paper); }
.product-card .ph {
  background:
    repeating-linear-gradient(135deg, #E7DCC8 0 14px, #DBCEB4 14px 28px);
}

.product-card h4 {
  font-family: var(--serif-jp);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .1em;
  margin: 0;
}

.product-card .cat {
  font-family: var(--sans-en);
  font-size: 10px;
  letter-spacing: .26em;
  color: var(--muted);
  text-transform: uppercase;
}

.product-card .desc {
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--ink-2);
}

/* ── Wellness rail (fasting / underwear / gift) ─────────────── */

.wellness-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 760px;
}

@media (max-width: 900px) { .wellness-grid { grid-template-columns: 1fr; max-width: none; } }

.wellness-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  min-height: 460px;
}

.wellness-card .ph {
  flex: 1 1 auto;
  min-height: 300px;
}

.wellness-card .body {
  padding: 28px 28px 32px;
}

.wellness-card .cat {
  font-family: var(--sans-en);
  font-size: 10px;
  letter-spacing: .3em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.wellness-card h3 {
  font-family: var(--serif-jp);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: .12em;
  line-height: 1.6;
  margin: 0 0 12px;
}

.wellness-card p {
  font-size: 13px;
  line-height: 1.95;
  color: var(--ink-2);
}

/* ── Voice / reviews ───────────────────────────────────────── */

.voice-section { background: var(--paper); }

.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 900px) { .voice-grid { grid-template-columns: 1fr; } }

.voice-card {
  padding: 36px 30px;
  border: 1px solid var(--hair);
  border-radius: 4px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.voice-stars {
  letter-spacing: .2em;
  color: var(--accent-2);
  font-size: 14px;
}

.voice-card blockquote {
  margin: 0;
  font-family: var(--serif-jp);
  font-size: 15px;
  line-height: 2.1;
  letter-spacing: .06em;
}

.voice-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--hair-2);
  font-size: 12px;
  color: var(--muted);
}

.voice-meta .avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-3);
  position: relative;
  overflow: hidden;
}

/* ── Staff ─────────────────────────────────────────────────── */

.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 900px) { .staff-grid { grid-template-columns: 1fr; } }

.staff-card { display: flex; flex-direction: column; gap: 18px; }
.staff-card .ph { aspect-ratio: 3 / 4; }

.staff-card h4 {
  font-family: var(--serif-jp);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: .1em;
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.staff-card h4 small {
  font-family: var(--sans-en);
  font-size: 10px;
  letter-spacing: .26em;
  color: var(--muted);
  font-weight: 400;
  text-transform: uppercase;
}

.staff-card p {
  font-size: 13px;
  line-height: 1.95;
  color: var(--ink-2);
}

/* Single-owner profile layout */
.staff-solo {
  display: grid;
  grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  max-width: 900px;
}

.staff-solo-photo .ph { aspect-ratio: 3 / 4; }

.staff-solo-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.staff-solo-role {
  color: var(--accent);
}

.staff-solo-info h4 {
  font-family: var(--serif-jp);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: .08em;
  margin: 0;
  color: var(--ink);
}

.staff-solo-info p {
  font-size: 14px;
  line-height: 2;
  color: var(--ink-2);
  margin: 4px 0 0;
  max-width: 38ch;
}

@media (max-width: 720px) {
  .staff-solo {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 420px;
  }
}

/* ── Service menu (accordion) ──────────────────────────────── */
.svc-menu { border-top: 1px solid var(--hair); }

.svc-acc { border-bottom: 1px solid var(--hair); scroll-margin-top: 92px; }

.svc-acc-head {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: baseline;
  column-gap: 24px;
  padding: 42px 4px 24px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  position: relative;
}

.svc-acc-en {
  position: absolute;
  top: 18px;
  left: 4px;
  font-family: var(--sans-en);
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

.svc-acc-title {
  font-family: var(--serif-jp);
  font-size: clamp(20px, 2.1vw, 25px);
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--ink);
  transition: color .2s;
}

.svc-acc-head:hover .svc-acc-title { color: var(--accent); }

.svc-acc-from {
  font-family: var(--sans-en);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--ink-2);
  white-space: nowrap;
  align-self: center;
}

.svc-acc-toggle {
  position: relative;
  width: 15px;
  height: 15px;
  align-self: center;
}
.svc-acc-toggle::before,
.svc-acc-toggle::after {
  content: "";
  position: absolute;
  background: var(--ink-2);
  transition: transform .3s ease, opacity .3s ease;
}
.svc-acc-toggle::before { top: 7px; left: 0; width: 15px; height: 1.5px; }
.svc-acc-toggle::after  { top: 0; left: 7px; width: 1.5px; height: 15px; }
.svc-acc.is-open .svc-acc-toggle::after { transform: scaleY(0); }

.svc-acc-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s cubic-bezier(.22, .61, .36, 1);
}
.svc-acc.is-open .svc-acc-body { grid-template-rows: 1fr; }

.svc-acc-inner { overflow: hidden; }
.svc-acc.is-open .svc-acc-inner { padding-bottom: 40px; }

.svc-acc-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 480px;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  margin-bottom: 30px;
}

.svc-acc-tagline {
  font-size: 14px;
  line-height: 1.95;
  color: var(--ink-2);
  max-width: 52ch;
  margin: 0;
  padding-left: 4px;
}

.svc-acc-photo {
  display: block;
  width: 100%;
  height: 360px;
  border: 1px solid var(--hair-2);
  background: var(--bg-2);
}

@media (max-width: 760px) {
  .svc-acc-top { grid-template-columns: 1fr; }
  .svc-acc-photo { width: 100%; max-width: none; height: auto; aspect-ratio: 4 / 3; }
}

.svc-courses {
  list-style: none;
  margin: 0;
  padding: 0 4px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 48px;
}

.svc-course-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  border: none;
  border-bottom: 1px dotted var(--hair);
  padding: 0 0 9px;
  width: 100%;
  background: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}
.svc-course-top:disabled { cursor: default; }
.svc-course-name {
  font-family: var(--serif-jp);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.svc-course-more {
  flex: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  position: relative;
}
.svc-course-more::before,
.svc-course-more::after {
  content: "";
  position: absolute;
  background: var(--accent);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  transition: transform .25s ease, opacity .2s ease;
}
.svc-course-more::before { width: 7px; height: 1px; }
.svc-course-more::after { width: 1px; height: 7px; }
.svc-course.is-open .svc-course-more::after { opacity: 0; transform: translate(-50%, -50%) rotate(90deg); }
.svc-course-price {
  font-family: var(--sans-en);
  font-size: 15px;
  color: var(--ink);
  white-space: nowrap;
}
.svc-course-sub {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0 7px;
}
.svc-course-tag {
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 2px 11px;
  white-space: nowrap;
}
.svc-course-time {
  font-family: var(--sans-en);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--muted);
  white-space: nowrap;
}
.svc-course-desc {
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--ink-2);
  margin: 0;
}

/* Tap-to-expand detail: the course flow, revealed below the summary. */
.svc-course-detail {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s cubic-bezier(.22,.61,.36,1);
}
.svc-course.is-open .svc-course-detail { grid-template-rows: 1fr; }
.svc-course-detail-inner { overflow: hidden; }
.svc-course-flow-label {
  margin: 14px 0 8px;
  font-family: var(--sans-en);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}
.svc-course-flow {
  margin: 0;
  padding: 0 0 0 4px;
  list-style: none;
  counter-reset: flow;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.svc-course-flow li {
  counter-increment: flow;
  font-size: 12.5px;
  color: var(--ink-2);
  display: flex;
  gap: 9px;
}
.svc-course-flow li::before {
  content: counter(flow);
  flex: none;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--bg-2);
  color: var(--ink-2);
  font-family: var(--sans-en);
  font-size: 9.5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.svc-course-note {
  margin: 10px 0 0;
  font-size: 11.5px;
  color: var(--muted);
}

.svc-options {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding: 24px 26px;
  background: var(--bg-2);
  border-radius: 6px;
}
.svc-options-label { margin: 0 0 14px; }
.svc-options ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px 40px;
}
.svc-options li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: var(--ink-2);
  border-bottom: 1px dotted var(--hair);
  padding-bottom: 7px;
}

.svc-note {
  margin-top: 30px;
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--muted);
}

@media (max-width: 760px) {
  .svc-courses { grid-template-columns: 1fr; }
  .svc-options ul { grid-template-columns: 1fr; }
  .svc-acc-head { column-gap: 14px; }
}

/* ── FAQ ───────────────────────────────────────────────────── */

.faq {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--hair);
}

.faq details {
  border-bottom: 1px solid var(--hair);
}

.faq summary {
  display: flex;
  align-items: baseline;
  gap: 22px;
  padding: 26px 8px;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif-jp);
  font-size: 16px;
  letter-spacing: .08em;
  position: relative;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary .q {
  font-family: var(--serif-en);
  font-size: 22px;
  color: var(--accent);
  flex: 0 0 auto;
}

.faq summary .toggle {
  margin-left: auto;
  width: 14px; height: 14px;
  position: relative;
  flex: 0 0 auto;
}
.faq summary .toggle::before,
.faq summary .toggle::after {
  content: "";
  position: absolute;
  background: var(--ink);
}
.faq summary .toggle::before { top: 6px; left: 0; right: 0; height: 1px; }
.faq summary .toggle::after  { left: 6px; top: 0; bottom: 0; width: 1px; transition: transform .2s; }
.faq details[open] summary .toggle::after { transform: scaleY(0); }

.faq .a {
  padding: 0 8px 28px 56px;
  font-size: 13.5px;
  line-height: 2;
  color: var(--ink-2);
  white-space: pre-line;
}

/* ── Access ────────────────────────────────────────────────── */

.access-section { background: var(--paper); }

.access-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 900px) { .access-grid { grid-template-columns: 1fr; } }

/* Single-column variant: photo sits inline between the heading and lede. */
.access-grid-single { grid-template-columns: 1fr; max-width: 720px; }

.access-grid .ph { aspect-ratio: 4 / 3; }

/* Inline store photo between "ご来店について" and the lede copy. */
.access-media-inline {
  margin: 0 0 24px;
}
.access-media-inline .ph {
  width: 100%;
  max-width: 480px;
}

.access-media {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.access-map {
  width: 100%;
  max-width: 480px;
  border: 1px solid var(--hair-2);
  border-radius: 4px;
  overflow: hidden;
}
.access-map-frame {
  display: block;
  width: 100%;
  height: 360px;
}
.access-map-full {
  max-width: 100%;
  margin-top: 56px;
}
.access-map-full .access-map-frame { height: 420px; }
@media (max-width: 900px) {
  .access-map { width: 100%; }
  .access-map-full { margin-top: 36px; }
  .access-map-full .access-map-frame { height: 300px; }
}

.info-table {
  display: grid;
  grid-template-columns: 100px 1fr;
  row-gap: 18px;
  column-gap: 24px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--hair);
}
.info-table dt {
  font-family: var(--sans-en);
  font-size: 10px;
  letter-spacing: .26em;
  color: var(--muted);
  text-transform: uppercase;
  padding-top: 5px;
}
.info-table dd {
  margin: 0;
  font-family: var(--serif-jp);
  font-size: 14.5px;
  letter-spacing: .08em;
  line-height: 1.9;
}

/* ── Bazalt training (養成講座) ─────────────────────────────── */
.training-section { background: var(--bg-2); }

.training-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.training-visual { position: relative; }
.training-visual .ph { border-radius: 4px; }

.training-price {
  margin-top: 22px;
  padding: 30px 30px 34px;
  background: var(--paper);
  border: 1px solid var(--hair-2);
  border-radius: 4px;
  text-align: center;
}
.training-price .mono { color: var(--accent); }
.training-price h3 {
  font-family: var(--serif-jp);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .06em;
  margin: 10px 0 14px;
  color: var(--ink);
}
.training-fee {
  font-family: var(--sans-en);
  font-size: 44px;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 22px;
}
.training-fee span {
  font-family: var(--serif-jp);
  font-size: 15px;
  letter-spacing: .04em;
  margin-left: 4px;
}

.training-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.training-feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid var(--hair);
}
.training-feature:first-child { padding-top: 6px; }
.training-feature:last-child { border-bottom: 0; }
.training-feature-no {
  font-family: var(--sans-en);
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--accent);
  padding-top: 5px;
}
.training-feature h4 {
  font-family: var(--serif-jp);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: .05em;
  color: var(--ink);
  margin-bottom: 10px;
}
.training-feature p {
  font-size: 13.5px;
  line-height: 2;
  color: var(--ink-2);
}

/* ── Availability (空席案内) ────────────────────────────────── */
.avail-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.avail-legend {
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-2);
  text-align: center;
  margin: 0 0 22px;
  letter-spacing: .04em;
}

.avail-calendar {
  width: 100%;
  max-width: 608px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.avail-cal-img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--hair-2);
  border-radius: 4px;
  background: var(--paper);
}
image-slot.avail-cal-slot.ph {
  width: 100% !important;
  max-width: none !important;
  aspect-ratio: 1 / 1 !important;
  background: var(--paper) !important;
  border: 1px solid var(--hair-2);
}

/* Google Calendar embed — staff edit it from the Google Calendar app on
   their phone (signed in to the salon account); visitors see it read-only.
   Full-width, responsive aspect ratio so it fits mobile. */
.avail-gcal {
  width: 100%;
  max-width: 720px;
  border: 1px solid var(--hair-2);
  border-radius: 4px;
  overflow: hidden;
  background: var(--paper);
}
.avail-gcal iframe {
  display: block;
  width: 100%;
  height: 560px;
  border: 0;
}
@media (max-width: 600px) {
  .avail-gcal iframe { height: 460px; }
}

/* "Refresh calendar" button — reloads the embed so staff/visitors always
   see the latest availability without reloading the whole page. */
.avail-refresh {
  margin: 18px auto 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border: 1px solid var(--hair-2);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-2);
  font-family: inherit;
  font-size: 14px;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.avail-refresh:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.avail-refresh:active { transform: translateY(1px); }
.avail-update {
  margin: 22px 0 0;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--muted);
  text-align: center;
}

.avail-cta { margin-top: 32px; }

/* ── Campaign band (キャンペーン) ──────────────────────────── */
.campaign-section {
  background: var(--bg-3);
  overflow: hidden;
}
.campaign-inner {
  display: grid;
  grid-template-columns: 1fr minmax(0, 360px);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.campaign-copy .eyebrow { color: var(--ink-2); }
.campaign-visual .ph { border-radius: 4px; }
image-slot#photo-campaign.ph {
  background: transparent !important;
  aspect-ratio: 3 / 4 !important;
  width: 100% !important;
  max-width: 440px !important;
  height: auto !important;
}

@media (max-width: 900px) {
  .training-grid,
  .campaign-inner { grid-template-columns: 1fr; }
  .campaign-visual { max-width: 360px; }
}

/* ── Booking CTA (large) ───────────────────────────────────── */

.cta-section {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding: clamp(90px, 13vw, 160px) 0;
  position: relative;
  overflow: hidden;
}

.cta-section .h-en {
  color: var(--bg);
  opacity: .9;
}

.cta-section h2 {
  font-family: var(--serif-jp);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: .16em;
  line-height: 1.7;
  margin: 24px 0 32px;
  color: var(--paper);
}

.cta-section .lede {
  color: rgba(251,247,238,.7);
  max-width: 540px;
  margin: 0 auto 48px;
}

.cta-section .btn-line {
  font-size: 14px;
  padding: 20px 36px;
}

.cta-section .alt {
  display: block;
  margin-top: 22px;
  font-family: var(--sans-en);
  font-size: 11px;
  letter-spacing: .24em;
  color: rgba(251,247,238,.5);
}

/* ── Footer ────────────────────────────────────────────────── */

footer {
  background: var(--bg);
  padding: 28px 0;
  border-top: 1px solid var(--hair);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}

.foot-top { margin-bottom: 40px; }

/* Tablet: brand full-width header, 3 link columns below */
@media (max-width: 760px) {
  .foot-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 24px;
  }
  .foot-grid > div:first-child {
    grid-column: 1 / -1;
    margin-bottom: 4px;
  }
}

/* Phone: 2 link columns, brand still full-width on top */
@media (max-width: 460px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 26px 20px;
  }
}

.foot-grid h5 {
  font-family: var(--sans-en);
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
  font-weight: 500;
}

.foot-grid ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--sans-en);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--muted);
}

/* ── Floating mobile LINE bar ──────────────────────────────── */

.float-line {
  position: fixed;
  bottom: 16px;
  left: 16px; right: 16px;
  z-index: 40;
  display: none;
  background: var(--line-grn);
  color: #fff;
  padding: 14px 20px;
  border-radius: 999px;
  box-shadow: 0 14px 32px rgba(6,199,85,.32);
  font-size: 13px;
  letter-spacing: .14em;
  text-align: center;
  font-weight: 500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.float-line.is-visible { opacity: 1; visibility: visible; transform: none; }

@media (max-width: 720px) {
  .float-line { display: flex; align-items: center; justify-content: center; gap: 10px; }
  body { padding-bottom: 84px; }
}

/* ── Subtle decor ───────────────────────────────────────────── */

.sec-num {
  position: absolute;
  top: clamp(64px, 9vw, 100px);
  right: 32px;
  font-family: var(--serif-en);
  font-size: clamp(80px, 14vw, 200px);
  color: rgba(42,39,34,.05);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.sec-num + .wrap { position: relative; z-index: 1; }

/* ── Scroll-reveal motion ──────────────────────────────────────
   Refined fade-up + blur for text/cards, and a curtain-wipe + settle
   zoom for feature photos. Base state is the final, visible state so
   print / PDF / reduced-motion show content normally; the hidden
   pre-state only applies when motion is OK and JS has added the class. */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(32px);
    filter: blur(6px);
    transition:
      opacity 1.05s cubic-bezier(.2, .6, .2, 1),
      transform 1.15s cubic-bezier(.2, .6, .2, 1),
      filter .9s ease;
    will-change: opacity, transform, filter;
  }
  .reveal.reveal-in {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }

  /* Feature photos: a slow settle-zoom + fade. Avoids clip-path because
     the image-slot component owns clip-path for its masking. */
  .reveal-curtain {
    opacity: 0;
    transform: scale(1.08);
    transition:
      opacity 1.2s cubic-bezier(.2, .6, .2, 1),
      transform 1.7s cubic-bezier(.22, .61, .36, 1);
    will-change: opacity, transform;
  }
  .reveal-curtain.reveal-curtain-in {
    opacity: 1;
    transform: scale(1);
  }

  /* Decorative section numbers drift in from the side */
  .sec-num.reveal { transform: translateX(28px); }
  .sec-num.reveal.reveal-in { transform: none; }
}

