.branch-page {
  --section-gap: clamp(50px, 6.3vw, 90px);
  --card: #211e18;
  --heading-fill: #2b251b;
  --fee-bg: #242018;
  --hero-shade: 21 20 14;
}

/* The reception sign stays visible through the photo crop. */
.branch-page .hero-amber { min-height: clamp(525px, 46vw, 675px); }
.branch-page .hero-photo { z-index: auto; }
.branch-page .hero-photo img { object-position: 50% 42%; }
.branch-page .hero-photo::after {
  background: linear-gradient(90deg, rgb(var(--hero-shade) / .92) 0%, rgb(var(--hero-shade) / .73) 26%, rgb(var(--hero-shade) / .16) 57%, transparent 84%),
              linear-gradient(0deg, rgb(var(--hero-shade) / .65) 0%, transparent 42%);
}
.branch-page .hero-copy {
  position: relative;
  z-index: 2;
  padding-block: 72px clamp(55px, 7vw, 92px);
}
.branch-page .hero h1 {
  font-size: clamp(3.25rem, 5.6vw, 5.5rem);
  letter-spacing: -.047em;
  line-height: 1.035;
}
.branch-page .hero-description { margin-top: 18px; }
.branch-page .hero-photo figcaption {
  z-index: 3;
  padding: 0;
  background: rgb(var(--hero-shade) / .88);
  border: 1px solid #fff4;
  border-radius: 30px;
}
.branch-page .hero-photo figcaption a {
  display: block;
  min-height: 36px;
  padding: 8px 12px;
  color: #faf3e5;
}
.branch-page .hero-photo figcaption a:hover { text-decoration: underline; text-underline-offset: 3px; }

.king-jump {
  position: sticky;
  z-index: 4;
  top: 0;
  background: color-mix(in srgb, var(--page) 95%, transparent);
  backdrop-filter: blur(16px);
  border-block: 1px solid var(--rule);
}
.king-jump nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: clamp(7px, 3.3vw, 52px);
}
.king-jump a {
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: .94rem;
  font-weight: 600;
  padding: 13px 8px 11px;
}
.king-jump a:hover, .king-jump a:focus-visible { border-color: var(--accent); color: var(--accent); }
.branch-page .king-menu, .king-section { scroll-margin-top: 59px; }
.branch-page .king-menu { display: block; margin-top: clamp(40px, 5.8vw, 78px); }
.king-section { margin-top: var(--section-gap); }
.branch-page .section-head { margin-bottom: 21px; }
.branch-page .section-head p { white-space: normal; }
.branch-page .section-head div p { margin-top: 8px; }

.duration-tables, .note-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.king-prices {
  width: 100%;
  table-layout: fixed;
  border: 1px solid var(--rule);
  border-radius: 0 0 12px 12px;
  border-spacing: 0;
  overflow: hidden;
  background: var(--card);
}
.king-prices caption {
  border: 1px solid var(--rule);
  border-bottom: 0;
  padding: 10px 17px;
  border-radius: 12px 12px 0 0;
  background: var(--heading-fill);
  text-align: start;
  color: var(--ink);
  font-weight: 715;
  font-size: 1.26rem;
}
.king-prices caption span { font-size: .83em; font-weight: 550; }
.king-prices th, .king-prices td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--rule);
  text-align: right;
  vertical-align: middle;
}
.king-prices tr > :first-child { width: 40%; text-align: left; }
.king-prices thead th { color: var(--muted); font-weight: 580; font-size: .875rem; }
.king-prices tbody th { font-weight: 625; font-size: .99rem; }
.king-prices tbody th a { display: inline-block; }
.king-prices tbody th a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.king-prices tbody tr:last-child > * { border-bottom: 0; }
.king-prices td, .single-list dd {
  color: var(--accent);
  font-size: clamp(.975rem, 1.5vw, 1.22rem);
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.025em;
}
.king-fees {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: baseline;
  margin-top: 14px;
  padding: 12px 16px;
  color: var(--ink);
  background: var(--fee-bg);
  border: 1px solid var(--rule);
  border-radius: 10px;
  font-size: .925rem;
}

.package-cards {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 1fr));
  gap: 13px;
}
.package-card {
  min-width: 0;
  scroll-margin-top: 65px;
  border: 1px solid var(--rule);
  background: var(--card);
  border-radius: 13px;
  padding: clamp(17px, 2.3vw, 28px);
}
.package-card:target { border-color: var(--accent); }
.package-name { font-size: .77rem; color: var(--accent); font-weight: 650; letter-spacing: .062em; }
.package-card h3 { margin: 6px 0 12px; font-size: clamp(1.15rem, 2.0vw, 1.5rem); line-height: 1.34; }
.package-card ul { padding-left: 1.18em; margin: 0; color: var(--ink); }
.package-card li + li { margin-top: 4px; }
.package-card li::marker { color: var(--accent); }
.package-note, .king-footnote { color: var(--muted); font-size: .92rem; margin-top: 14px; }
.single-section, .routine-section {
  display: grid;
  grid-template-columns: minmax(160px, .55fr) minmax(0, 1.45fr);
  gap: clamp(22px, 6vw, 88px);
}
.single-list { border-top: 1px solid var(--rule); }
.single-list div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--rule);
}
.single-list dt { font-weight: 600; }
.routine-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 25px;
  margin: 0;
  padding-left: 1.6rem;
}
.routine-list li { padding: 9px 1px; border-top: 1px solid var(--rule); }
.routine-list li::marker { color: var(--accent); font-weight: 660; font-variant-numeric: tabular-nums; }

.branch-page .space-photos {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 14px;
}
.branch-page .photo-tile a {
  aspect-ratio: auto;
  height: clamp(215px, 29vw, 355px);
  border-radius: 10px;
}
.branch-page .photo-tile figcaption {
  color: var(--ink);
  font-size: .9rem;
  margin-top: 8px;
}
.branch-page .wide-photo { grid-column: span 2; }
.branch-page .frame-stair img { object-position: 49% 27%; }
.branch-page .frame-suite img { object-position: 50% 66%; }
.branch-page .frame-face-care img { object-position: 50% 64%; }
.branch-page .frame-upper-stair img { object-position: 50% 41%; }
.branch-page .frame-salon img { object-position: 50% 42%; }
.branch-page .frame-treatment-room img { object-position: 48% 64%; }
.branch-page .frame-team img { object-position: 50% 35%; }

.branch-page .photo-dialog img { max-height: min(66vh, 850px); background: var(--page); }
.photo-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  margin-top: 9px;
  padding-inline: 4px;
  font-variant-numeric: tabular-nums;
  font-size: .92rem;
}
.photo-controls button {
  min-height: 40px;
  padding: 6px 14px;
  border: 1px solid var(--rule);
  border-radius: 100px;
  color: var(--ink);
  background: transparent;
}
.photo-controls button:hover { border-color: var(--accent); color: var(--accent); }

.note-grid > div {
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: clamp(16px, 2.2vw, 25px);
  background: var(--card);
}
.note-grid dt { font-size: 1.02rem; font-weight: 670; color: var(--ink); }
.note-grid dd { color: var(--muted); margin-top: 6px; }
.king-contact { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.king-contact .secondary { border-color: var(--rule); }
.king-contact .secondary:hover { color: var(--accent); border-color: var(--accent); }

@media (max-width: 735px) {
  .branch-page .hero-amber { min-height: 545px; }
  .branch-page .hero-photo img { object-position: 53% 50%; }
  .branch-page .hero-photo::after {
    background: linear-gradient(0deg, rgb(var(--hero-shade) / .98) 0%, rgb(var(--hero-shade) / .76) 28%, rgb(var(--hero-shade) / .21) 59%, transparent 81%),
                linear-gradient(90deg, rgb(var(--hero-shade) / .17) 0%, transparent 70%);
  }
  .branch-page .hero-copy { padding-block: 200px 60px; }
  .branch-page .hero h1 { font-size: clamp(2.65rem, 9.9vw, 4.25rem); }
  .branch-page .hero-description { margin-top: 11px; }
  .duration-tables, .package-cards { grid-template-columns: minmax(0, 1fr); gap: 11px; }
  .king-fees { gap: 5px 14px; }
  .branch-page .section-head { margin-bottom: 16px; }
  .single-section, .routine-section { display: block; }
  .branch-page .space-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 9px; }
  .branch-page .wide-photo { grid-column: auto; }
  .branch-page .photo-tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .branch-page .photo-tile a { height: auto; aspect-ratio: 1.07; }
  .branch-page .photo-tile:last-child:nth-child(odd) a { aspect-ratio: 1.76; }
}
@media (max-width: 560px) {
  .note-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .king-prices th, .king-prices td { padding-inline: 11px; }
  .routine-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .branch-page .hero-amber { min-height: 509px; }
  .branch-page .hero-copy { padding-bottom: 57px; }
  .branch-page .hero-photo figcaption a { min-height: 31px; padding: 5px 9px; }
  .king-jump nav { column-gap: 3px; }
  .king-jump a { padding-inline: 7px; font-size: .87rem; }
  .king-prices tbody th { font-size: .92rem; }
}

.branch-jade {
  --page: #111d18;
  --surface: #1a2922;
  --ink: #f1f7ec;
  --muted: #c3d1c6;
  --rule: #344b3e;
  --accent: #addfbb;
  --solid: #b6e4ba;
  --on-solid: #183425;
  --logo-line: #b7d6bb;
  --card: #192720;
  --heading-fill: #24372c;
  --fee-bg: #1e3228;
  --hero-shade: 14 25 19;
}
.branch-indigo {
  --page: #161c2c;
  --surface: #212b42;
  --ink: #edf2fc;
  --muted: #c4d0e6;
  --rule: #37455f;
  --accent: #b3d2fb;
  --solid: #b5d3ff;
  --on-solid: #182f51;
  --logo-line: #b7cceb;
  --card: #1c263b;
  --heading-fill: #253551;
  --fee-bg: #202e48;
  --hero-shade: 16 24 39;
}
.branch-teal {
  --page: #14262c;
  --surface: #20363f;
  --ink: #eef7f8;
  --muted: #c2d9dc;
  --rule: #39545d;
  --accent: #abe2e5;
  --solid: #b0e6e5;
  --on-solid: #19363b;
  --logo-line: #a8d2d5;
  --card: #1a3038;
  --heading-fill: #263f49;
  --fee-bg: #213b43;
  --hero-shade: 14 29 34;
}
.branch-teal .hero-photo img { object-position: 65% 52%; }
.branch-page .flag-badge {
  color: var(--accent);
  border-color: var(--rule);
  background: var(--heading-fill);
}
.branch-page .branch-contact { color: var(--on-solid); background: var(--solid); border-color: var(--solid); }
.branch-page .branch-contact:hover { background: color-mix(in srgb, var(--solid) 88%, var(--surface)); color: var(--on-solid); }
.branch-page .hero-description { color: var(--ink); max-width: 33ch; }
.branch-jade .hero-photo img { object-position: 55% 51%; }
.branch-indigo .hero-photo img { object-position: 55% 51%; }
.branch-indigo .frame-lobby img { object-position: 55% 53%; }

.branch-alias {
  display: block;
  block-size: 0;
  scroll-margin-top: 59px;
}
.branch-page :is(.branch-menu, .branch-notes, .menu-group) { scroll-margin-top: 59px; }
.branch-menu { margin-top: clamp(40px, 5.8vw, 78px); }
.branch-page .menu-heading { margin-bottom: 18px; }
.branch-page .menu-heading > p { color: var(--muted); margin-top: 9px; }
.branch-page .menu-jump {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 17px;
}
.branch-page .menu-jump a {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  min-height: 36px;
  border-radius: 100px;
  border: 1px solid var(--rule);
  color: var(--ink);
  background: var(--card);
  font-size: .9rem;
}
.branch-page .menu-jump a:hover { border-color: var(--accent); color: var(--accent); }
.branch-page .menu-group {
  min-width: 0;
  margin: 27px 0 0;
  border: 1px solid var(--rule);
  border-radius: 13px;
  background: var(--card);
  padding: clamp(15px, 2.35vw, 29px);
}
.branch-page .menu-group h3 {
  margin: 0 0 9px;
  font: 690 clamp(1.16rem, 2vw, 1.5rem)/1.35 var(--serif);
  color: var(--ink);
}
.branch-page .menu-group > p:not(.note-line) { color: var(--muted); margin: 8px 0 11px; }
.branch-page .note-line {
  background: var(--fee-bg);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--ink);
  font-size: .925rem;
  margin: 10px 0;
}
.branch-page .price-matrix {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 10px;
  margin: 9px 0;
}
.branch-page .price-matrix :is(th, td) {
  padding: 10px 14px;
  text-align: right;
  border-bottom: 1px solid var(--rule);
}
.branch-page .price-matrix tr > :first-child { text-align: left; }
.branch-page .price-matrix thead { color: var(--muted); background: var(--heading-fill); }
.branch-page .price-matrix th { font-size: .9rem; font-weight: 620; }
.branch-page .price-matrix td { color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums; }
.branch-page .price-matrix tbody tr:last-child > * { border-bottom: 0; }

.branch-page .price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(88px, auto) minmax(124px, auto);
  gap: 6px 19px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid var(--rule);
  list-style: none;
}
.branch-page .item-title { font-weight: 640; color: var(--ink); overflow-wrap: anywhere; }
.branch-page .item-time { color: var(--muted); font-size: .9rem; }
.branch-page .item-price {
  justify-self: end;
  text-align: end;
  color: var(--accent);
  font-weight: 710;
  font-size: clamp(.91rem, 1.45vw, 1.13rem);
  line-height: 1.46;
  letter-spacing: -.025em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.branch-page .menu-item { margin: 0; border-bottom: 1px solid var(--rule); }
.branch-page .menu-item summary.price-row { border: 0; cursor: pointer; }
.branch-page .menu-item summary::-webkit-details-marker { display: none; }
.branch-page .menu-item summary .item-title::after {
  content: "+";
  display: inline-flex;
  width: 1.15em;
  height: 1.15em;
  justify-content: center;
  align-items: center;
  margin-left: .45em;
  border: 1px solid var(--rule);
  border-radius: 50%;
  color: var(--accent);
  font-size: .85em;
  font-weight: 500;
}
.branch-page .menu-item[open] summary .item-title::after { content: "−"; }
.branch-page .menu-item summary:hover .item-title { color: var(--accent); }
.branch-page .menu-item > p { font-size: .94rem; color: var(--muted); margin: 0 0 7px; }
.branch-page .menu-item > p:last-child { margin-bottom: 13px; }
.branch-page .menu-detail > summary { width: fit-content; cursor: pointer; padding: 9px 1px; color: var(--accent); font-weight: 570; }
.branch-page .menu-detail > p { color: var(--muted); margin: 0 0 9px; }
.branch-page .fee-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 18px;
  margin: 13px 0;
}
.branch-page .fee-list > dt {
  grid-column: 1;
  color: var(--ink);
  font-weight: 680;
  align-self: center;
}
.branch-page .fee-list > dd { margin: 0 0 10px; grid-column: 2; color: var(--muted); }
.branch-page .branch-notes > .fee-list,
.branch-page .branch-notes .menu-detail {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 13px;
  padding: clamp(15px, 2.25vw, 24px);
}
.branch-page .branch-notes > .fee-list { grid-template-columns: minmax(155px, .52fr) minmax(0, 1.48fr); }
.branch-page .branch-notes .menu-detail { margin-top: 11px; }
.branch-page .branch-notes .menu-detail > summary { padding-block: 2px; }

.branch-page .branch-booking {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: start;
  gap: 24px 30px;
  padding: clamp(17px, 3vw, 36px);
  border-radius: 15px;
  border: 1px solid var(--rule);
  background: var(--card);
  color: var(--ink);
}
.branch-page .branch-booking h2 { font-size: clamp(1.55rem, 3vw, 2.3rem); }
.booking-intro > p { margin: 8px 0 16px; color: var(--muted); }
.booking-fields { border-top: 1px solid var(--rule); }
.booking-fields:has(form[hidden]) { display: none; }
.booking-fields > summary {
  cursor: pointer;
  color: var(--accent);
  padding: 12px 0;
  font-weight: 630;
}
.branch-booking .vb-grid { margin: 5px 0; }
.branch-page .vb-book form label { color: var(--ink); }
.branch-page .vb-book small, .branch-page .vb-notes summary, .branch-page .vb-draft p { color: var(--muted); }
.branch-page .vb-book :is(input, select, textarea, .vb-stepper) { background-color: var(--surface); border-color: var(--rule); color: var(--ink); border-radius: 9px; }
.branch-page .vb-book :is(input, textarea)::placeholder { color: var(--muted); }
.branch-page .vb-book .vb-stepper input { background: transparent; }
.branch-page .vb-book .vb-stepper button:disabled { color: var(--muted); opacity: .55; }
.branch-page .vb-book .vb-submit, .branch-page .vb-draft-actions > a {
  color: var(--on-solid);
  background: var(--solid);
  border-color: var(--solid);
  border-radius: 100px;
}
.branch-page .vb-book .vb-submit:hover, .branch-page .vb-draft-actions > a:hover {
  background: color-mix(in srgb, var(--solid) 88%, var(--surface));
}
.branch-page .vb-draft { border-color: var(--rule); }
.branch-page .vb-book :focus-visible { outline-color: var(--accent); }
.branch-page .vb-draft-actions button { color: var(--accent); }

@media (max-width:735px) {
  .branch-page .branch-booking { grid-template-columns: 1fr; gap: 16px; }
  .branch-page .price-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1px 9px;
    padding: 10px 0;
  }
  .branch-page .price-row > .item-title { grid-column: 1; grid-row: 1; }
  .branch-page .price-row > .item-time { grid-column: 1; grid-row: 2; }
  .branch-page .price-row > .item-price { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .branch-page .fee-list, .branch-page .branch-notes > .fee-list {
    grid-template-columns: 1fr;
    row-gap: 3px;
  }
  .branch-page .fee-list > dd { grid-column: 1; }
}
@media (max-width:390px) {
  .branch-page .price-matrix :is(th, td) { padding-inline: 7px; }
  .branch-page .item-time { font-size: .82rem; }
  .branch-page .mast .review-link { padding-inline: 7px; }
}

.branch-violet {
  --page: #21192d;
  --surface: #2f243e;
  --ink: #f8effe;
  --muted: #d8cbe9;
  --rule: #514265;
  --accent: #e2ccfd;
  --solid: #e4d0ff;
  --on-solid: #342144;
  --logo-line: #d3bae9;
  --card: #2b2239;
  --heading-fill: #3d3050;
  --fee-bg: #352942;
  --hero-shade: 26 17 36;
}
.branch-violet .hero-photo img { object-position: 60% 52%; }
.branch-violet .hero h1 { font-size: clamp(2.1rem, 4.95vw, 4.8rem); }
.branch-violet .king-prices tr > :first-child { width: 62%; }
.menu-original-links { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 4px 7px; }

.price-brief {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding: clamp(13px, 2vw, 21px);
  margin: 0 0 18px;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--fee-bg);
}
.price-brief div + div { border-left: 1px solid var(--rule); margin-left: 17px; padding-left: 17px; }
.price-brief strong { color: var(--accent); font-size: clamp(.99rem, 1.7vw, 1.14rem); }
.price-brief p { margin: 4px 0 0; color: var(--ink); line-height: 1.65; font-size: .92rem; }
.branch-page .menu-matrix { border-radius: 13px; }
.menu-matrix thead th { background: var(--heading-fill); }
.menu-matrix thead a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.branch-page .haoman-matrix tr > :first-child { width: 26%; }
.branch-teal .amun-matrix tr > :first-child { width: 31%; }
.branch-teal .amun-matrix tr > :nth-child(2) { width: 27%; text-align: center; }
.branch-teal .amun-matrix .amun-duration { color: var(--ink); font-weight: 570; }
.haoman-matrix tbody th small { display: block; color: var(--muted); font-size: .78rem; font-weight: 500; }
.branch-violet .top1-matrix tr > :first-child { width: 48%; }
.menu-money { white-space: nowrap; }
.branch-page .item-price small { display: block; color: var(--muted); font-size: .76rem; font-weight: 520; }
.branch-page .item-breakdown { grid-column: 1 / -1; font-size: .86rem; color: var(--muted); }
.branch-page .item-breakdown .menu-money { color: var(--ink); font-weight: 580; }
@media (min-width: 761px) {
  .amun-care-cards { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .price-brief { grid-template-columns: 1fr; gap: 10px; }
  .price-brief div + div { border-left: 0; margin-left: 0; padding: 9px 0 0; border-top: 1px solid var(--rule); }
  .price-brief p { font-size: .87rem; }
  .branch-page .menu-matrix :is(td, th) { padding-inline: 7px; }
  .branch-page .haoman-matrix thead th { white-space: nowrap; font-size: .79rem; }
  .branch-teal .amun-matrix :is(th, td) { font-size: .8rem; }
  .branch-page .haoman-matrix td { font-size: .9rem; }
}
