/* Lens of Sam, direction A "Light and warm". Phone first: designed at 390px, widened from 1024px. */

@font-face { font-family: 'Bodoni Moda'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/shared/fonts/bodoni-moda/normal-400-700.woff2') format('woff2'); }
@font-face { font-family: 'Bodoni Moda'; font-style: italic; font-weight: 400 700; font-display: swap; src: url('/shared/fonts/bodoni-moda/italic-400-700.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 400; font-display: swap; src: url('/shared/fonts/poppins/normal-400.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 500; font-display: swap; src: url('/shared/fonts/poppins/normal-500.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 600; font-display: swap; src: url('/shared/fonts/poppins/normal-600.woff2') format('woff2'); }

:root {
  --paper: #f1efea;
  --ink: #141414;
  --muted: #5b5853;
  --card: #faf9f6;
  --line: rgba(20, 20, 20, 0.09);
  --ok: #2f7a4f;
  --warn: #a5631b;
  --serif: 'Bodoni Moda', 'Didot', 'Times New Roman', serif;
  --sans: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: 16px;
  --wide: 1180px;
  --radius-photo: 16px;
  --radius-card: 14px;
  --bar-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 72px; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul[class], ol[class] { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }

body {
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom));
  overflow-x: hidden;
}
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: #fff; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------------ type */
.serif, h1, h2, h3.serif { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 9vw, 4.4rem); line-height: 1.03; }
h2 { font-size: clamp(1.85rem, 6vw, 2.7rem); line-height: 1.08; }
h3 { font-size: 1.05rem; font-weight: 500; line-height: 1.35; }
.lead { color: var(--muted); font-size: 1rem; max-width: 34rem; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }

.wrap { width: min(var(--wide), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: 56px; }
.section--tight { padding-block: 32px; }
.section__head { margin-bottom: 22px; }
.section__head p { margin-top: 8px; }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 20px; border-radius: 999px;
  font-size: 0.95rem; font-weight: 500; text-decoration: none; border: 1px solid transparent;
  transition: transform 0.15s var(--ease), background-color 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover:not(:disabled):not([aria-disabled='true']) { background: #2d2d2d; }
.btn--line { border-color: rgba(20, 20, 20, 0.22); background: transparent; }
.btn[disabled], .btn[aria-disabled='true'] { opacity: 0.5; cursor: not-allowed; }
.glass {
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 6px 18px rgba(0, 0, 0, 0.08);
  color: var(--ink);
}
.glass--dark {
  background: rgba(20, 20, 20, 0.72);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 8px 22px rgba(0, 0, 0, 0.18);
  color: #fff;
}
.link { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ---------------------------------------------------------------- top bar */
.topbar { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
@supports ((backdrop-filter: blur(18px)) or (-webkit-backdrop-filter: blur(18px))) {
  .topbar {
    background: rgba(250, 249, 246, 0.52);
    -webkit-backdrop-filter: blur(14px) saturate(125%);
    backdrop-filter: blur(14px) saturate(125%);
  }
}
.topbar__in { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.wordmark { font-family: var(--serif); font-size: 1.3rem; text-decoration: none; letter-spacing: -0.01em; }
.wordmark--logo { display: flex; align-items: center; flex: none; width: clamp(138px, 14vw, 184px); min-height: 44px; }
.wordmark--logo picture, .wordmark--logo img { width: 100%; }
.topbar__nav { display: none; }
.topbar__book svg { width: 17px; height: 17px; flex: none; }
.menu-btn { width: 46px; height: 46px; display: grid; place-items: center; background: none; border: 0; margin-right: -10px; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 22px; height: 1.6px; background: currentColor; position: relative; content: ''; }
.menu-btn span::before { position: absolute; top: -7px; }
.menu-btn span::after { position: absolute; top: 7px; }
.topbar--over { position: absolute; inset: 0 0 auto 0; background: none; border-bottom: 0; backdrop-filter: none; -webkit-backdrop-filter: none; color: #fff; }

/* --------------------------------------------------------- menu (dialog) */
.menu {
  width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(241, 239, 234, 0.94); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
  color: var(--ink);
}
.menu::backdrop { background: transparent; }
.menu__in { min-height: 100%; display: flex; flex-direction: column; padding: 12px var(--gutter) calc(24px + env(safe-area-inset-bottom)); }
.menu__top { display: flex; justify-content: space-between; align-items: center; height: 48px; }
.menu__close { width: 46px; height: 46px; border: 0; background: none; font-size: 1.8rem; line-height: 1; margin-right: -10px; }
.menu__extra { display: flex; gap: 18px; margin: 18px 0 8px; font-size: 0.95rem; }
.walk { position: relative; margin: 16px 0 24px; }
.walk::before { content: ''; position: absolute; left: 7px; top: 14px; bottom: 14px; width: 1.5px; background: rgba(20, 20, 20, 0.14); }
.walk a { position: relative; display: block; padding: 10px 0 10px 32px; text-decoration: none; font-family: var(--serif); font-size: clamp(1.25rem, 6vw, 1.45rem); line-height: 1.2; }
.walk a small { display: block; font-family: var(--sans); font-size: 0.78rem; color: var(--muted); }
.walk a::before { content: ''; position: absolute; left: 0; top: 17px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 1.5px solid rgba(20, 20, 20, 0.45); }
.walk a.is-seen::before { background: var(--ink); border-color: var(--ink); }
.walk a[aria-current='page'] { font-weight: 600; }
.walk a[aria-current='page']::before { background: var(--paper); border: 4px solid var(--ink); }
.menu__contact { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.menu__contact .btn { flex: 1 1 30%; }

/* ------------------------------------------------------------ bottom bar */
.bar { position: fixed; z-index: 15; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; gap: 8px; }
.bar__book { flex: 1; min-height: 52px; font-size: 1rem; }
.bar__wa { width: 52px; min-height: 52px; padding: 0; }
.bar__wa svg { width: 22px; height: 22px; }

/* ------------------------------------------------------------ next card */
.next { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px; border-radius: var(--radius-card); background: var(--card); text-decoration: none; }
.next small { display: block; color: var(--muted); font-size: 0.8rem; }
.next strong { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; }
.next__arrow { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: #141414; color: #fdfcf9; }
.site-footer__in {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; padding-block: 40px 30px;
}
.site-footer__brand { grid-column: 1 / -1; min-width: 0; }
.site-footer__brand .wordmark--logo { width: clamp(180px, 19vw, 220px); margin-bottom: 16px; filter: invert(1) hue-rotate(180deg); }
.site-footer__brand p { max-width: 28ch; color: #d3cfc6; font-size: 0.9rem; }
.site-footer__brand .site-footer__cities { margin-top: 12px; color: #aba69d; font-size: 0.78rem; }
.site-footer__in h2 { margin-bottom: 12px; font: 500 0.75rem/1.5 var(--sans); color: #bcb6ac; letter-spacing: 0.09em; text-transform: uppercase; }
.site-footer__links { display: flex; flex-direction: column; align-items: start; min-width: 0; }
.site-footer__links > a, .site-footer__contact-link { display: flex; align-items: center; min-height: 44px; font-size: 0.85rem; text-decoration: none; }
.site-footer__links > a:hover, .site-footer__contact-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer__contact { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-content: start; }
.site-footer__contact > h2 { grid-column: 1 / -1; }
.site-footer__contact-link { grid-column: 1; }
.site-footer__contact .site-footer__social { grid-column: 2; grid-row: 2 / 4; align-self: center; }
.site-footer :focus-visible { outline-color: #fff; }
.site-footer__social { display: flex; gap: 8px; }
.site-footer__social .btn { min-width: 44px; min-height: 44px; padding: 0 9px; border-color: #686868; color: inherit; }
.site-footer__social .btn[href]:hover { background: #303030; }
.site-footer__social svg { width: 20px; height: 20px; }
.site-footer__base { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 8px; padding-block: 12px; border-top: 1px solid #454545; }
.site-footer__base small { grid-column: 2; color: #c1bdb5; text-align: center; font-size: 0.75rem; }
.site-footer__studio { position: relative; grid-column: 3; color: #c1bdb5; }
.site-footer__studio summary {
  display: grid; place-items: center; width: 44px; height: 44px; margin-inline-start: auto;
  cursor: pointer; border-radius: 50%; list-style: none;
}
.site-footer__studio summary::-webkit-details-marker { display: none; }
.site-footer__studio summary:hover { background: #303030; }
.site-footer__studio a { position: absolute; right: 0; bottom: 100%; display: flex; align-items: center; width: max-content; min-height: 44px; padding: 8px 16px; border-radius: 8px; background: #fff; color: #141414; }
.site-footer__studio a:focus-visible { outline-color: #141414; }
@media (min-width: 1024px) {
  .site-footer__in { grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr; gap: 36px; padding-top: 48px; }
  .site-footer__brand, .site-footer__contact { grid-column: auto; }
  .site-footer__contact { display: flex; flex-direction: column; align-items: start; }
  .site-footer__contact .site-footer__social { align-self: start; margin-top: 10px; }
}

/* ------------------------------------------------------- shared bits */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px var(--gutter); margin-inline: calc(-1 * var(--gutter)); scroll-snap-type: x proximity; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(20, 20, 20, 0.2); background: transparent; font-size: 0.9rem; white-space: nowrap; scroll-snap-align: start; }
.chip[aria-pressed='true'], .chip[aria-selected='true'] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip small { opacity: 0.65; margin-left: 4px; }
.card { background: var(--card); border-radius: var(--radius-card); padding: 18px; }
.notice { padding: 14px 16px; border-radius: 12px; background: var(--card); color: var(--muted); font-size: 0.92rem; }
.notice--warn { background: #f3e3cc; color: #6f420f; }
.notice button { margin-left: 8px; }

.photo { background: #e6e2da; border-radius: var(--radius-photo); overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.5s var(--ease); }
.photo img.is-loaded { opacity: 1; }


.promo { background: var(--ink); color: #fff; text-align: center; font-size: 0.85rem; padding: 8px var(--gutter); }

/* ------------------------------------------------------------- home: hero */
[data-page='home'] { --paper: #fdfcf9; --card: #f5f3ee; }
.hero { display: grid; gap: 26px; padding-block: 36px 20px; align-items: center; }
.hero__media { min-width: 0; }
.hero__hey { font-size: 0.95rem; color: var(--muted); }
.hero h1 { margin: 8px 0 16px; font-size: clamp(2.55rem, 10.8vw, 4.6rem); }
.rot { display: inline-grid; vertical-align: baseline; }
.rot i { grid-area: 1 / 1; opacity: 0; transition: opacity 240ms ease; }
.rot i.is-current { opacity: 1; }
.rot i:nth-child(1) { color: #a0442f; }
.rot i:nth-child(2) { color: #315d4a; }
.rot i:nth-child(3) { color: #315e82; }
.rot i:nth-child(4) { color: #79446a; }
.hero__lead { max-width: 30rem; font-size: 0.98rem; }
.hero__cta { margin-top: 18px; }
.hero__cta .btn { width: min(100%, 500px); }
.hero__cta .btn svg, .band__cta .btn svg, .bar__book svg { flex: none; width: 17px; height: 17px; }
[data-page='home'] .section { padding-block: clamp(36px, 4.6vw, 64px); }
.chapter-divider { display: grid; justify-items: center; width: min(760px, 100% - 2 * var(--gutter)); margin-block: -6px; color: #746d62; scroll-margin-top: clamp(100px, 20vh, 180px); }
.chapter-divider span { font: italic 400 clamp(1rem, 1.6vw, 1.25rem)/1.4 var(--serif); text-align: center; }
.chapter-divider svg { width: 100%; height: clamp(27px, 4vw, 38px); overflow: visible; color: #a79a87; }
.chapter-divider path { fill: none; stroke: currentColor; stroke-width: 1; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.chapter-divider--reverse svg { transform: scaleX(-1); }

@media (min-width: 840px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.16fr); gap: clamp(28px, 4vw, 56px); padding-block: 42px 26px; }
  .hero h1 { font-size: clamp(3.5rem, 5.3vw, 4.6rem); }
}

/* -------------------------------------------------------- home: kind of day */
.kind { margin-top: 18px; }
#kind .chips { flex-wrap: wrap; padding: 4px 0; margin-inline: 0; }
#kind .chip { min-height: 44px; padding-inline: 14px; }
.kind__media { min-width: 0; }
.kind__empty { padding: 32px 20px; background: var(--card); border-radius: var(--radius-card); }
.kind__empty p { margin-bottom: 12px; }
.carousel { position: relative; }
.carousel__track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; outline-offset: -3px; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.carousel__slide { flex: none; width: calc((100% - 10px) / 2); scroll-snap-align: start; }
.kind__photo { position: relative; aspect-ratio: 4 / 5; }
.carousel__count { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 500; color: #fff; background: rgba(20, 20, 20, 0.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); pointer-events: none; }
.carousel__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.7); display: grid; place-items: center; font-size: 1.6rem; line-height: 1; color: var(--ink); background: rgba(255, 255, 255, 0.72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14); transition: opacity 0.2s; }
.carousel__btn--prev { left: 10px; }
.carousel__btn--next { right: 10px; }
.carousel__btn[disabled] { opacity: 0; pointer-events: none; }
.carousel__dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.carousel__dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(20, 20, 20, 0.22); transition: width 0.25s var(--ease), background-color 0.25s; }
.carousel__dots i.is-on { width: 18px; background: var(--ink); }
.carousel__thumbs { display: none; }
.is-single .carousel__btn, .is-single .carousel__count { display: none; }
@media (hover: none) { .carousel__btn { display: none; } }

/* ------------------------------------------------- home: recent, experiences */
.recent__head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px;
  margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.recent__controls { display: flex; gap: 6px; }
.recent__controls button {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer;
}
.recent__controls button:disabled { opacity: 0.38; cursor: default; }
ul.recent {
  display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: clamp(12px, 1.6vw, 22px);
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; scrollbar-width: thin;
  padding: 5px 5px 10px; margin-inline: -5px; scroll-padding-inline: 5px;
}
.recent__item { min-width: 0; scroll-snap-align: start; }
.recent__item:last-child { scroll-snap-align: end; }
.recent__item a { display: block; color: inherit; text-decoration: none; border-radius: var(--radius-photo); }
.recent__item .photo { display: block; aspect-ratio: 5 / 4; }
.recent__caption { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; margin-top: 9px; overflow-wrap: anywhere; }
.recent__caption small { grid-row: 2; color: var(--muted); }
.recent__arrow { grid-area: 1 / 2; }
@media (min-width: 720px) { ul.recent { grid-auto-columns: 36%; } }
@media (hover: hover) {
  .recent__controls button:not(:disabled):hover { border-color: var(--ink); }
  .recent__item a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .recent__item a img { transition: opacity 0.5s var(--ease), transform 0.45s var(--ease); }
  .recent__item a:hover img { transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce) { .recent__controls [data-recent-toggle] { display: none; } }
.words { display: grid; gap: 20px; }
.words h2 { text-align: center; font-size: clamp(1.65rem, 3vw, 2.15rem); }
.review-deck { display: flex; flex-direction: column; min-width: 0; }
.review-deck .stack { flex: 1; }
.review-deck { min-width: 0; }
.stack { display: grid; isolation: isolate; padding-top: calc(var(--stack-layers, 0) * 9px); }
.review {
  grid-area: 1 / 1; display: flex; flex-direction: column;
  gap: 24px; padding: clamp(20px, 4vw, 30px); margin: 0;
  background: #fff; color: var(--ink);
  border: 1px solid #e2e2e2; border-radius: 20px;
  transition: transform 650ms var(--ease), opacity 450ms var(--ease);
  transform-origin: center top;
  overflow-wrap: anywhere;
}
.review[data-depth='0'] { z-index: 5; box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08); }
.review[data-depth='1'] { z-index: 4; transform: translateY(-9px) scale(0.965); }
.review[data-depth='2'] { z-index: 3; transform: translateY(-18px) scale(0.93); }
.review[data-depth='3'] { z-index: 2; transform: translateY(-27px) scale(0.895); }
.review[data-depth='4'] { z-index: 1; transform: translateY(-36px) scale(0.86); }
.review[data-depth='5'] { opacity: 0; transform: translateY(-36px) scale(0.86); }
.review[aria-hidden='true'] { pointer-events: none; }
.review[aria-hidden='true'] > * { visibility: hidden; }
.review[data-depth='0'] > * { animation: review-in 420ms var(--ease); }
@keyframes review-in { from { opacity: 0; transform: translateY(6px); } }
.review__quote { color: #525252; font-size: clamp(1rem, 2vw, 1.125rem); line-height: 1.65; }
.review__author { display: flex; align-items: center; gap: 12px; margin-top: auto; font-size: 0.9rem; }
.review__author div { display: grid; gap: 2px; min-width: 0; }
.review__author strong { font-weight: 600; }
.review__author div span { color: #595959; }
.review__avatar { flex: 0 0 44px; height: 44px; display: grid; place-items: center; border: 1px solid #e2e2e2; border-radius: 50%; color: var(--ink); }
.review__avatar svg { width: 33px; height: 33px; }
.review-deck__controls { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.review-deck__controls .btn { width: 44px; min-height: 44px; padding: 0; }
.review-deck__controls .btn:hover { background: var(--card); }
.review-deck__controls svg { width: 16px; height: 16px; }
@media (prefers-reduced-motion: reduce) {
  .review-deck .stack { padding-top: 0; }
  .review[data-depth]:not([data-depth='0']) { visibility: hidden; opacity: 0; }
}
.words__details { min-width: 0; }
.words__facts, .nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.num {
  display: grid; align-content: start; gap: 6px; padding: clamp(14px, 2.3vw, 24px);
  color: var(--muted); background: #fff; border: 1px solid #e2e2e2;
  border-radius: var(--radius-card); font-size: 0.85rem; overflow-wrap: anywhere;
}
.num svg { width: 34px; height: 34px; padding: 7px; margin-bottom: 5px; background: #f4f4f4; border-radius: 50%; color: var(--ink); }
.num strong { color: var(--ink); font-size: 1rem; font-weight: 600; line-height: 1.35; }
.nums .num strong { font-size: 1.9rem; font-weight: 500; }
.num a { color: var(--ink); }

@media (min-width: 840px) {
  .words:has(.review-deck:not([hidden])) {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: clamp(28px, 4vw, 48px);
  }
  .words:has(.review-deck:not([hidden])) h2 { grid-area: 1 / 2; }
  .words:has(.review-deck:not([hidden])) .words__details { grid-area: 1 / 1 / 3; align-self: stretch; display: grid; }
  .review-deck { grid-area: 2 / 2; }
}

/* -------------------------------------------------------- home: steps line */
ol.steps { position: relative; display: grid; gap: 18px; padding-left: 32px; }
.steps::before, .steps::after { content: ''; position: absolute; left: 7px; top: 8px; width: 2px; }
.steps::before { bottom: 8px; background: rgba(20, 20, 20, 0.12); }
.steps::after { height: 0; background: var(--ink); transition: height 1.6s var(--ease); }
.steps.is-in::after { height: calc(100% - 16px); }
.steps li { position: relative; z-index: 1; }
.steps li::before { content: ''; position: absolute; left: -32px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); }
.steps p { color: var(--muted); font-size: 0.95rem; }
.home-steps .steps::after { height: calc(100% - 16px); transform: scaleY(var(--steps-progress, 0)); transform-origin: top; transition: none; }

/* ------------------------------------------------------------------ faq */
.faq__heading { text-align: center; }
.faq, .faq__questions { display: grid; justify-items: center; gap: 20px; }
.faq__filters.chips { justify-content: center; flex-wrap: wrap; padding: 4px; margin-inline: 0; }
.faq__filters .chip { min-height: 44px; }
.faq__questions { width: 100%; }
.faq__list { width: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); }
.faq__item + .faq__item, #faq-extra { border-top: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; padding: 18px 48px 18px clamp(16px, 3vw, 28px); font-weight: 500; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ''; position: absolute; right: 22px; top: 27px; width: 8px; height: 8px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); transition: transform 180ms var(--ease);
}
.faq__item[open] summary::after { transform: rotate(-135deg); }
.faq__item p { max-width: 72ch; padding: 0 clamp(16px, 3vw, 28px) 18px; color: var(--muted); }

/* -------------------------------------------------------- closing band */
.band { position: relative; background: var(--ink); color: #fff; text-align: center; overflow: hidden; }
.band__photo { position: absolute; inset: 0; border-radius: 0; opacity: 0.32; background: none; }
.band__text { position: relative; padding-block: 72px; }
.band p { opacity: 0.85; margin-top: 10px; }
.band__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.band--skyline { color: var(--ink); background: #fdfcf9; border-top: 1px solid var(--line); }
.band--skyline .band__text { z-index: 1; padding-block: clamp(40px, 5vw, 64px) 18px; }
.band--skyline h2 { max-width: none; margin-inline: auto; font-size: clamp(2rem, 4vw, 3rem); }
.band__skyline { width: min(1180px, 100%); height: clamp(145px, 21vw, 270px); margin: 0 auto; overflow: hidden; mix-blend-mode: multiply; }
.band__skyline img { width: 100%; height: 100%; object-fit: cover; object-position: center 65%; }


/* ------------------------------------------------------------ page heads */
.page-head { padding-bottom: 24px; }
.page-head .lead { margin-top: 12px; }

/* ------------------------------------------------------------- portfolio */
.pf-grid { --pf-gap: 16px; columns: 2; column-gap: var(--pf-gap); margin-top: 20px; }
.pf-open {
  display: block; width: 100%; break-inside: avoid; margin-bottom: var(--pf-gap);
  padding: 0; border: 0; border-radius: 0; background: transparent;
}
.pf-open img { height: auto; }

/* ----------------------------------------------------------------- about */
[data-page='about'] { padding-bottom: 0; }
.about { display: grid; grid-template-areas: 'portrait' 'story'; gap: 22px; }
[data-page='about'] .about { padding-block: clamp(28px, 4.5vw, 64px); }
.about__portrait { grid-area: portrait; aspect-ratio: 1738 / 2000; max-width: 520px; }
.about__story { grid-area: story; display: grid; gap: 14px; font-size: 1.05rem; align-content: start; }
.about__copy { display: grid; gap: 14px; }
.timeline { display: grid; gap: 18px; border-left: 2px solid var(--line); padding-left: 18px; }

/* ------------------------------------------------------------- pricelist */
[data-page='pricing'] .page-head {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
  gap: 12px 32px; padding-block: clamp(32px, 5.5vw, 78px) clamp(22px, 4vw, 40px);
}
[data-page='pricing'] .page-head h1 { font-size: clamp(3.25rem, 7vw, 5.75rem); line-height: 0.98; }
[data-page='pricing'] .page-head .lead { margin-top: 12px; }
.pricing-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; color: var(--muted); font-size: 0.82rem; }
.pricing-meta__addons { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px; border: 1px solid #d5c5ae; border-radius: 999px; background: #f5eddf; color: var(--ink); font-weight: 500; text-decoration: none; }
.pricing-meta__addons::before { content: '+'; font-size: 1.2rem; }
.catalog { display: grid; }
.catalog__toolbar { padding-block: 8px; border-top: 1px solid var(--line); }
.catalog__filters.chips { flex-wrap: wrap; gap: 6px; padding: 4px; margin-inline: -4px; overflow: visible; }
.catalog__filters .chip { min-height: 44px; padding-inline: clamp(12px, 1.4vw, 18px); font-size: 0.85rem; }
.catalog__filters .chip:hover:not([aria-pressed='true']) { background: var(--card); }
.catalog__group {
  display: grid; gap: 14px 24px; align-items: start; padding-block: clamp(22px, 3vw, 38px);
  border-top: 1px solid var(--line);
}
.catalog__group h2 { font-size: clamp(1.8rem, 3vw, 2.55rem); }
.catalog.is-filtered .catalog__group { grid-template-columns: minmax(0, 1fr); }
.catalog.is-filtered .catalog__group > h2 { display: none; }
.catalog__list { display: grid; gap: 14px; min-width: 0; }
.price-card {
  --price-inset: clamp(14px, 2vw, 22px);
  display: flex; flex-direction: column;
  min-width: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--card);
}
.price-card__media {
  height: clamp(142px, 22vw, 196px); overflow: hidden;
  background: #e4e0d7; border-radius: 11px 11px 0 0;
}
.price-card__photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.price-card:focus-within { border-color: #a79a87; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .price-card { transition: transform 300ms var(--ease), box-shadow 300ms var(--ease), border-color 300ms ease; }
  .price-card__photo { transition: transform 550ms var(--ease); }
  .price-card:is(:hover, :focus-within) { transform: translateY(-4px); border-color: #b3a48f; box-shadow: 0 12px 26px rgb(20 20 20 / 8%); }
  .price-card:is(:hover, :focus-within) .price-card__photo { transform: scale(1.045); }
}
.price-card__summary {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px;
}
.price-card__name { font-size: clamp(1.6rem, 2.8vw, 2.15rem); line-height: 1.1; overflow-wrap: anywhere; }
.price-card__price { font-size: clamp(1.5rem, 2.5vw, 2rem); line-height: 1.1; overflow-wrap: anywhere; }
.price-card__body {
  display: flex; flex: 1; flex-direction: column; gap: 14px; min-width: 0; padding: 16px var(--price-inset);
}
.price-card__facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
  margin-top: auto; padding-block: 10px; border-block: 1px solid var(--line); overflow-wrap: anywhere;
}
.price-card__facts dt, .price-card__deposit { color: var(--muted); font-size: 0.8rem; }
.price-card__facts dd { margin-top: 2px; font-size: 0.875rem; font-weight: 500; }
.price-card__deposit strong { display: block; color: var(--ink); font-weight: 500; }
.price-card__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 9px 12px; }
.price-card__actions .btn { min-height: 44px; padding: 8px 15px; font-size: 0.85rem; }
.price-card__actions .btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.catalog__note { padding-block: 16px; border-top: 1px solid var(--line); }
[data-page='pricing'] #pricing-extras { padding-block: 14px 0; }
.pricing-extras { padding-inline: clamp(16px, 2.5vw, 28px); border: 1px solid #d5c5ae; border-radius: 14px; background: #f7f2e9; }
.pricing-extras summary {
  display: flex; align-items: center; gap: 12px; padding: 20px 0; cursor: pointer; list-style: none; font: 500 clamp(1.4rem, 3vw, 1.8rem)/1.2 var(--serif);
}
.pricing-extras summary::-webkit-details-marker { display: none; }
.pricing-extras summary::before { content: '+'; display: grid; place-items: center; flex: none; width: 32px; height: 32px; border: 1px solid #cab698; border-radius: 8px; font: 400 1.3rem/1 var(--sans); }
.pricing-extras summary::after { content: ''; width: 8px; height: 8px; margin-left: auto; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.pricing-extras[open] summary::after { transform: rotate(225deg); }
.pricing-extras summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.pricing-extras__body { display: grid; gap: 18px; padding: 0 0 24px; }
@media (prefers-reduced-motion: no-preference) {
  @supports selector(::details-content) and (interpolate-size: allow-keywords) and (transition-behavior: allow-discrete) {
    .pricing-extras { interpolate-size: allow-keywords; }
    .pricing-extras::details-content {
      block-size: 0;
      opacity: 0;
      overflow: clip;
      transition: block-size 280ms var(--ease), opacity 200ms ease, content-visibility 280ms allow-discrete;
    }
    .pricing-extras[open]::details-content { block-size: auto; opacity: 1; }
  }
  @supports not (selector(::details-content) and (interpolate-size: allow-keywords) and (transition-behavior: allow-discrete)) {
    .pricing-extras[open] .pricing-extras__body { animation: price-details-in 200ms ease; }
  }
}
@keyframes price-details-in { from { opacity: 0; } }
ul.addons { display: grid; gap: 10px; }
.addons li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px; border: 1px solid #e0d5c4; border-radius: 10px; background: #fffdf9; }
.addons__name { font-size: 0.9rem; font-weight: 500; }
.addons__price { flex: none; min-width: 72px; padding: 7px 12px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 1.45rem; text-align: center; }
@media (min-width: 760px) {
  ul.addons { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catalog__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .price-card:only-child { grid-column: 1 / -1; }
  .price-card:only-child:has(.price-card__photo) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-card:only-child .price-card__media { height: 100%; min-height: 210px; max-height: 300px; border-radius: 11px 0 0 11px; }
}
@media (min-width: 1040px) {
  .catalog__group { grid-template-columns: 12rem minmax(0, 1fr); }
  .catalog__group h2 { padding-top: 4px; }
}

/* ----------------------------------------------------------------- terms */
.terms { display: grid; gap: 30px; }
.terms__group h2 { font-size: clamp(1.4rem, 5vw, 1.9rem); margin-bottom: 10px; }
.terms dl { display: grid; gap: 2px; background: var(--line); border-radius: var(--radius-card); overflow: hidden; margin: 0; }
.terms dl div { background: var(--card); padding: 14px 16px; }
.terms dt { font-weight: 500; }
.terms dd { margin: 4px 0 0; color: var(--muted); }

/* --------------------------------------------------------------- stories */
.story { display: grid; gap: 18px; padding-block: 28px; border-top: 1px solid var(--line); }
.story__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: start; }
.story__text h2 { margin: 6px 0 12px; }

/* --------------------------------------------------------------- booking */
[data-page='booking'] { overflow-x: clip; }
.booking { padding-bottom: 40px; }
.booking > .wrap { max-width: 1040px; }
.booking__head { display: flex; justify-content: space-between; align-items: center; min-height: 48px; margin-top: 8px; }
.booking__back { border: 0; background: none; font-size: 0.95rem; min-height: 44px; padding: 0 12px 0 0; }
a.booking__back { display: inline-flex; align-items: center; text-decoration: none; }
.booking__count { margin-left: auto; }
.progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-bottom: 18px; }
.progress i { height: 3px; border-radius: 2px; background: rgba(20, 20, 20, 0.12); }
.progress i.is-on { background: var(--ink); }
.booking__notice { margin-bottom: 14px; }
.booking__layout { display: grid; align-items: start; gap: 20px; }
.booking__form { min-width: 0; }
.booking__title { font-size: clamp(2rem, 8vw, 2.8rem); margin-bottom: 16px; outline: none; }
.booking__sub { margin: 24px 0 10px; }
.booking__actions { display: flex; justify-content: end; }
.booking__go { min-height: 50px; width: 100%; }
.booking-summary {
  min-width: 0; padding: clamp(18px, 2.4vw, 26px); border: 1px solid var(--line);
  border-radius: var(--radius-card); background: #fff;
}
.booking-summary h2 { font-size: 2rem; margin-bottom: 14px; }
.booking-summary__package { font-weight: 600; margin-bottom: 4px; }
.booking-summary__package, .booking-summary dl > div { display: flex; justify-content: space-between; gap: 12px; }
.booking-summary dl { display: grid; gap: 8px; border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; }
.booking-summary dd { min-width: 0; text-align: right; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.booking-summary__rows dt { color: var(--muted); }
.booking-summary__totals { margin-bottom: 10px; font-weight: 600; }
.booking-summary__totals div:last-child { font-weight: 500; }
@media (min-width: 820px) {
  .booking__layout { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); column-gap: clamp(24px, 4vw, 44px); }
  .booking__form .chips { flex-wrap: wrap; margin-inline: 0; padding-inline: 3px; }
  .booking-summary { grid-area: 1 / 2 / 3; }
  .booking__go { width: auto; min-width: 170px; }
}
@media (min-width: 820px) and (min-height: 680px) {
  .booking-summary { position: sticky; top: 88px; }
}
.choices { display: grid; gap: 8px; margin-top: 14px; }
.choice { display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: left; min-height: 72px; padding: 14px 16px; border-radius: var(--radius-card); border: 1.5px solid transparent; background: var(--card); }
.choice > span:first-child { display: grid; gap: 2px; }
.choice[aria-checked='true'] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.choice__price { font-size: 1.5rem; white-space: nowrap; }
.addon-list { display: grid; gap: 8px; }
.addon-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--radius-card); background: var(--card); }
.addon-row > span:first-child { display: grid; }
.stepper { display: flex; align-items: center; gap: 4px; }
.stepper button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(20, 20, 20, 0.2); background: transparent; font-size: 1.2rem; }
.stepper output { min-width: 24px; text-align: center; font-weight: 500; }
.cal { display: grid; gap: 10px; }
.cal__nav { display: flex; justify-content: space-between; align-items: center; }
.cal__step { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(20, 20, 20, 0.2); background: transparent; font-size: 1.3rem; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal__wd { font-size: 0.72rem; color: var(--muted); padding: 4px 0; }
.day { min-height: 44px; border: 0; border-radius: 10px; background: var(--card); font-size: 0.95rem; }
.day[disabled] { background: transparent; color: rgba(20, 20, 20, 0.3); cursor: default; }
.day--full { text-decoration: line-through; }
.day[aria-pressed='true'] { background: var(--ink); color: #fff; }
.booking__package { margin-block: 12px 18px; }
.booking__package .btn { padding-inline: 12px; }
.booking__time { display: grid; gap: 10px; margin-top: 24px; }
.booking__time h2 { font: 500 1.05rem/1.35 var(--sans); letter-spacing: normal; }
.booking__periods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.booking__period { display: grid; align-content: center; gap: 2px; min-height: 64px; padding: 8px 4px; border: 1px solid #76736e; border-radius: 12px; background: var(--card); font-size: 0.875rem; }
.booking__period span { font-size: 0.75rem; }
.booking__period[aria-pressed='true'] { background: var(--ink); color: #fff; }
.booking__period:disabled { border-color: var(--line); color: var(--muted); cursor: default; }
.booking__exact-time.field { margin: 0; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 500; }
.field__hint { margin-top: -4px; }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(20, 20, 20, 0.22); background: #fff; font-size: 16px; }
.field [aria-invalid='true'] { border-color: #a33a2a; }
.field__error { color: #a33a2a; font-size: 0.88rem; }
.booking-references { display: grid; gap: 8px; }
.booking-references li { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.booking-references img { width: 54px; height: 54px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.booking-references span { overflow-wrap: anywhere; font-size: 0.875rem; }
.booking-references .btn { padding-inline: 12px; }
.booking__contact-title { font: 500 1rem/1.4 var(--sans); margin-bottom: 10px; }
.review-list { display: grid; gap: 2px; background: var(--line); border-radius: var(--radius-card); overflow: hidden; margin: 0 0 16px; }
.review-list div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; background: var(--card); padding: 12px 16px; }
.review-list dt { color: var(--muted); font-size: 0.9rem; }
.review-list dd { overflow-wrap: anywhere; white-space: pre-wrap; }
.lines { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.lines td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.lines td:last-child { text-align: right; white-space: nowrap; }

/* ------------------------------------------------- submitted and invoice */
:is([data-page='booking'], [data-page='submitted'], [data-page='invoice']) { --bar-h: 0px; }
:is([data-page='submitted'], [data-page='invoice']) .topbar { position: relative; }
.booking-flow {
  max-width: 1080px; padding-block: clamp(28px, 5vw, 64px) clamp(48px, 6vw, 80px);
}
.booking-flow__head { min-width: 0; overflow-wrap: anywhere; }
.booking-flow__head h1 { font-size: clamp(2.65rem, 6vw, 4.5rem); }
.booking-flow__head .lead { max-width: 42rem; margin-top: 10px; }
.booking-flow a.link { color: var(--ink); }
.booking-flow .btn--line:hover { background: var(--card); }

.confirmation { display: grid; gap: clamp(28px, 5vw, 64px); align-items: start; }
.confirmation__facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
  margin-top: 22px; padding-block: 14px; border-block: 1px solid var(--line);
}
.confirmation__facts dt { color: var(--muted); font-size: 0.82rem; }
.confirmation__facts dd { margin-top: 3px; font-size: 1.1rem; font-weight: 600; }
.sub-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.confirmation .sub-actions { margin-top: 20px; }
.confirmation__next {
  padding: clamp(16px, 3vw, 28px); border: 1px solid var(--line);
  border-radius: var(--radius-card); background: var(--card);
}
.confirmation__next h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
ol.confirmation__steps { margin-top: 20px; }
.confirmation__steps li { position: relative; padding: 0 0 16px 24px; }
.confirmation__steps li:last-child { padding-bottom: 0; }
.confirmation__steps li::before {
  content: ''; position: absolute; top: 7px; left: 0; width: 10px; height: 10px;
  border: 2px solid var(--ink); border-radius: 50%;
}
.confirmation__steps li:not(:last-child)::after {
  content: ''; position: absolute; top: 17px; bottom: -7px; left: 4px; width: 2px; background: rgba(20, 20, 20, 0.18);
}
.confirmation__steps h3 { font-size: 1rem; font-weight: 600; }
.confirmation__steps p { margin-top: 3px; color: var(--muted); font-size: 0.88rem; }

.invoice { display: grid; gap: 20px; margin-top: 22px; }
.invoice__topline {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  padding: 12px clamp(12px, 2vw, 20px); border-block: 1px solid var(--line); background: var(--card);
}
.inv-status { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pill { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; font-size: 0.85rem; font-weight: 500; background: #e6e3dd; color: var(--muted); }
.pill--deposit-paid, .pill--paid { background: #dcebe1; color: #28583b; }
.pill--unpaid, .pill--balance-due { background: #f3e3cc; color: #6f420f; }
.pill--overdue { background: #f4dcd7; color: #8a2f22; }
.pay-now { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.pay-now__amount { font-size: clamp(1.65rem, 4vw, 2.25rem); line-height: 1.1; overflow-wrap: anywhere; }
.pay-now__link { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.85rem; }
.invoice__layout, .invoice__document, .invoice__payment { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-content: start; }
.invoice__layout { align-items: start; gap: 20px; }
.invoice__document { min-width: 0; max-width: 700px; }
.inv-pdf { justify-self: start; }
.invoice__payment {
  padding: clamp(14px, 2.5vw, 22px); border: 1px solid var(--line);
  border-radius: var(--radius-card); background: var(--card);
}
.inv-block { display: grid; min-width: 0; gap: 10px; overflow-wrap: anywhere; }
.inv-block + .inv-block { padding-top: 14px; border-top: 1px solid var(--line); }
.inv-block h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); }
.inv-block > .muted { font-size: 0.875rem; }
.inv-contact { display: inline-flex; align-items: center; justify-self: start; min-height: 44px; font-size: 0.875rem; }
.qrs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); gap: 10px; }
.qr { display: grid; justify-items: center; gap: 4px; background: #fff; padding: 10px; border-radius: 8px; text-align: center; font-size: 0.85rem; }
.bank { padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.bank p { margin-top: 4px; font-size: 0.875rem; }
.proof { display: grid; gap: 8px; }
.proof .field { min-width: 0; margin: 0; gap: 4px; }
.proof .field label { font-size: 0.875rem; }
.proof__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 136px), 1fr)); gap: 8px; }
.field select { width: 100%; min-height: 48px; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(20, 20, 20, 0.22); background: #fff; font-size: 16px; }
.booking__time select { border-color: #76736e; }
.field input[type='file'] { padding: 10px; background: #fff; }
.proof__progress { height: 6px; border-radius: 3px; background: rgba(20, 20, 20, 0.1); overflow: hidden; margin-bottom: 8px; }
.proof__progress i { display: block; height: 100%; width: 0; background: var(--ink); transition: width 0.2s; }
.proof__msg { color: #8a2f22; font-size: 0.9rem; min-height: 1.2em; }
.proof .proof__msg:empty { display: none; }
.proof__send { justify-self: start; }
.inv-terms { max-width: 68ch; }
@media screen {
  .invoice__document .paper {
    max-width: none; padding: clamp(14px, 2.7vw, 28px); border: 1px solid var(--line);
    border-radius: 10px; box-shadow: none; overflow-wrap: anywhere;
  }
  .invoice__document .paper__no { flex: none; }
  .invoice__document .paper__title { white-space: nowrap; }
  .invoice__document .paper__k, .invoice__document th { color: var(--muted); }
  .invoice__document th.paper__r { text-align: right; }
}
@media screen and (max-width: 360px) {
  .invoice__document .paper__hd { display: grid; gap: 10px; margin-bottom: 16px; }
  .invoice__document .paper__no { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; text-align: left; }
}
@media (min-width: 820px) {
  .confirmation { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  .invoice__layout:has(.invoice__payment) { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
  .pay-now__link { display: none; }
}
@media print {
  [data-page='invoice'] > :not(main), [data-page='invoice'] .booking-flow__head,
  .invoice__topline, .invoice__payment, .inv-pdf, .inv-terms, .inv-feedback { display: none; }
}

/* --------------------------------------------------------------- gallery */
[data-page='gallery'] { --bar-h: 0px; }
[data-page='album'] { --bar-h: 0px; --album-bar-height: 72px; --album-gap: 16px; }
[data-page='gallery']:has(.galbar:not([hidden])) .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
.gallery { padding-bottom: clamp(36px, 6vw, 80px); }
.gallery.is-showcase { padding-bottom: 0; }
.gallery__head { display: grid; gap: 20px; padding-block: clamp(28px, 5vw, 64px) clamp(22px, 4vw, 36px); }
.gallery__head h1 { font-size: clamp(2.8rem, 8vw, 5.35rem); overflow-wrap: anywhere; }
.gallery__head h1:focus, .find__title:focus { outline: none; }
.gallery__head .lead { margin-top: 10px; }
.gallery:not(.is-showcase) .gallery__head h1 { font-size: clamp(2.3rem, 6vw, 4.25rem); }
.field input[type='date'] { display: block; text-align: left; }
.field input[type='date']::-webkit-date-and-time-value { text-align: left; }
.gallery__find { display: none; }
.gallery:not(.is-showcase) .gallery__find { display: none; }
.gallery.is-showcase .gallery__find { display: grid; }
.private-access { display: grid; align-items: center; justify-items: start; gap: 18px; margin-top: clamp(28px, 4vw, 52px); padding-block: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line); }
.private-access h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); }
.private-access p { margin-top: 8px; color: var(--muted); font-size: 0.85rem; }
.private-access > .btn { min-height: 48px; }
.gallery__find h2 { font-size: clamp(1.45rem, 3vw, 1.8rem); }
.gallery__find p { color: var(--muted); font-size: 0.85rem; }
.gallery__find .btn { margin-top: 4px; }
.gallery__sessions { display: grid; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.gallery__sessions h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
.gallery__filters.chips {
  flex-wrap: wrap; gap: 6px; overflow: visible; padding: 3px; margin-inline: -3px;
}
.gallery .chip { min-height: 44px; padding-inline: 12px; font-size: 0.84rem; }
.projects { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.projects li { min-width: 0; }
.project {
  display: grid; align-content: start; width: 100%; height: 100%; padding: 0;
  border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: inherit; text-align: left; text-decoration: none; cursor: pointer;
}
.project__cover { display: block; aspect-ratio: 4 / 3; border-radius: 9px 9px 0 0; }
.project__cover img { transition: opacity 0.35s var(--ease), transform 0.45s var(--ease); }
.project__info {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: baseline;
  padding: 10px 13px 12px; overflow-wrap: anywhere;
}
.project__name { font-size: clamp(1.4rem, 3vw, 1.8rem); line-height: 1.1; }
.project__meta { grid-row: 2; grid-column: 1 / -1; color: var(--muted); font-size: 0.82rem; }
.project__count { grid-area: 1 / 2; color: var(--muted); font-size: 0.78rem; white-space: nowrap; }
@media (hover: hover) {
  .project:hover { border-color: var(--ink); }
  .project:hover .project__cover img { transform: scale(1.03); }
}
@media (min-width: 560px) {
  .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 760px) { .private-access { grid-template-columns: minmax(0, 1fr) auto; } }
@media (min-width: 1024px) {
  .projects { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}

/* ------------------------------------------------------------ client album */
.album-bar { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.album-bar__in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(10px, 3vw, 40px); height: var(--album-bar-height); padding-inline: clamp(16px, 3vw, 48px); }
.album-bar__back { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: clamp(0.72rem, 1.2vw, 0.9rem); white-space: nowrap; }
.album-bar__back:hover { text-decoration: underline; text-underline-offset: 4px; }
.album-bar__identity { display: flex; justify-content: center; align-items: baseline; gap: 12px; min-width: 0; }
.album-bar__identity h1 { font-size: clamp(1rem, 2vw, 1.5rem); line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.album-bar__identity p { min-width: 0; font-size: 0.8rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.album-bar .wordmark--logo { width: clamp(100px, 13vw, 184px); }
.album-hero { position: relative; height: calc(100vh - var(--album-bar-height)); height: calc(100svh - var(--album-bar-height)); }
.album-hero__photo { position: absolute; inset: 0; border-radius: 0; }
.album-hero__photo > p { padding: 28px; }
.album-hero__photo img { object-position: center 45%; }
.album-hero__scroll { position: absolute; left: 50%; bottom: clamp(20px, 4vh, 40px); display: grid; justify-items: center; gap: 10px; padding: 12px 20px; color: #fff; text-decoration: none; text-shadow: 0 1px 6px rgb(0 0 0 / 70%); transform: translateX(-50%); }
.album-hero__scroll span { font: italic 400 1.1rem/1.3 var(--serif); white-space: nowrap; }
.album-hero__scroll svg { width: 26px; height: 32px; }
.album-hero__scroll:focus-visible { outline-color: #fff; }
.album-collection { width: min(1600px, 100% - 2 * clamp(16px, 4vw, 64px)); margin-inline: auto; padding-block: clamp(28px, 4vw, 56px); scroll-margin-top: calc(var(--album-bar-height) + 18px); }
.album-collection__head { display: flex; align-items: baseline; gap: 16px; margin-bottom: clamp(24px, 3vw, 40px); }
.album-collection__head h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); font-style: italic; }
.album-collection__head::after { content: ''; order: 1; flex: 1; align-self: center; height: 1px; background: var(--line); }
.album-collection__head p { order: 2; white-space: nowrap; }
.album-photos { columns: 2; column-gap: var(--album-gap); }
.album-photos > li { break-inside: avoid; margin-bottom: var(--album-gap); }
.album-photo { display: block; width: 100%; padding: 0; border: 0; border-radius: 5px; cursor: zoom-in; }
.album-photo img { height: auto; object-fit: contain; }
.album-collection__back { display: inline-flex; align-items: center; min-height: 44px; margin-top: 20px; font-size: 0.9rem; }
@media (max-width: 600px) { .album-bar__identity { display: block; text-align: center; } .album-bar__identity p { margin-top: 4px; font-size: 0.65rem; } }
@media (min-width: 640px) { [data-page='album'] { --album-gap: 24px; } }
@media (min-width: 1024px) { [data-page='album'] { --album-gap: 36px; } .album-photos { columns: 3; } }

.find {
  width: min(470px, calc(100% - 28px)); max-width: none; max-height: calc(100dvh - 28px);
  padding: 0; margin: auto; border: 0; border-radius: 14px; background: var(--card); color: var(--ink); overflow: auto;
}
.find[open] { display: grid; grid-template-columns: minmax(0, 1fr); }
.find::backdrop { background: rgba(20, 20, 20, 0.55); }
.find__photo { display: none; position: relative; border-radius: 0; }
.find__photo img { position: absolute; inset: 0; }
.find__body { display: grid; align-content: center; min-width: 0; gap: 8px; padding: 20px clamp(14px, 4vw, 36px); }
.find__title { padding-right: 44px; font-size: clamp(1.95rem, 4vw, 2.45rem); }
.find__lead { margin-bottom: 4px; color: var(--muted); font-size: 0.9rem; }
.unlock { display: grid; gap: 12px; }
.unlock .field { min-width: 0; margin-bottom: 0; }
.unlock .field input { min-width: 0; }
.unlock .proof__msg:empty { display: none; }
.find__password { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.find__password .btn { padding-inline: 12px; }
.find__close {
  position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); font-size: 1.5rem; line-height: 1;
}
@media (min-width: 768px) {
  .find[open]:has(.find__photo img) { width: min(820px, calc(100% - 32px)); grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .find__photo:has(img) { display: block; }
  .find__body { padding-block: 34px; }
}
.g-quota {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 7px 12px;
  margin-bottom: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card);
}
.g-quota__track { height: 5px; border-radius: 3px; background: var(--line); overflow: hidden; }
.g-quota__track i { display: block; height: 100%; background: var(--ink); }
.g-lock { grid-area: 1 / 2 / 3 / 3; min-height: 44px; padding: 6px 12px; font-size: 0.85rem; }
.gallery__tabs { position: sticky; top: 60px; z-index: 5; flex-wrap: nowrap; background: var(--paper); padding-block: 10px; margin-block: 8px; }
.g-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.g-item { position: relative; }
.g-open { display: block; width: 100%; padding: 0; border: 0; border-radius: 9px; aspect-ratio: 4 / 5; }
[data-private-preview] { -webkit-touch-callout: none; }
.g-heart { position: absolute; right: 6px; bottom: 6px; width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; background: #faf9f6; color: var(--ink); }
.g-heart svg { width: 20px; height: 20px; }
.g-heart.is-on { color: #b3261e; }
.galbar { position: fixed; z-index: 15; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--line); }
.galbar .btn { min-height: 46px; padding-inline: 12px; }
@media (min-width: 640px) { .g-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.viewer__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.viewer__actions svg { width: 18px; height: 18px; }

/* ---------------------------------------------------------------- viewer */
.viewer { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: #0d0d0d; color: #fff; overscroll-behavior: contain; touch-action: pan-y; }
.viewer::backdrop { background: #0d0d0d; }
.viewer__top { position: absolute; inset: 0 0 auto 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 8px 8px 8px var(--gutter); }
.viewer__count { font-size: 0.85rem; opacity: 0.8; }
.viewer__close { width: 48px; height: 48px; border: 0; background: none; color: #fff; font-size: 2rem; line-height: 1; }
.viewer__stage { position: absolute; inset: 64px 0 96px; display: grid; grid-template-rows: 1fr auto; place-items: center; margin: 0; }
.viewer__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; min-height: 0; }
.viewer__caption { padding: 10px var(--gutter) 0; font-size: 0.85rem; opacity: 0.8; text-align: center; }
.viewer__tools { position: absolute; left: 0; right: 0; bottom: calc(20px + env(safe-area-inset-bottom)); display: flex; justify-content: center; gap: 10px; padding-inline: var(--gutter); }
.viewer__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 64px; border: 0; background: rgba(255, 255, 255, 0.08); color: #fff; font-size: 2rem; border-radius: 12px; }
.viewer__nav--prev { left: 6px; }
.viewer__nav--next { right: 6px; }
.viewer :focus-visible { outline-color: #fff; }

/* --------------------------------------------------------------- desktop */
@media (min-width: 1024px) {
  :root { --gutter: 40px; }
  body { padding-bottom: 0; }
  .section { padding-block: 88px; }
  .topbar__in { height: 72px; }
  .wordmark { font-size: 1.45rem; }
  .menu-btn { display: none; }
  .topbar__nav { display: flex; align-items: center; gap: 26px; font-size: 0.92rem; }
  .topbar__nav a { text-decoration: none; }
  .topbar__nav a[aria-current='page'] { text-decoration: underline; text-underline-offset: 6px; }
  .bar { display: none; }
  .chips { margin-inline: 0; padding-inline: 0; flex-wrap: wrap; }

  .carousel__track { cursor: grab; }
  .carousel__slide { width: calc((100% - 30px) / 4); }
  .carousel__dots { display: none; }
  .carousel__thumbs { display: flex; gap: 8px; width: max-content; max-width: 100%; margin: 12px auto 0; overflow-x: auto; scrollbar-width: none; padding: 5px; }
  .carousel__thumb { flex: none; width: 60px; height: 60px; padding: 0; border: 0; border-radius: 8px; overflow: hidden; opacity: 0.5; transition: opacity 0.2s; background: #e6e2da; }
  .carousel__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .carousel__thumb[aria-current='true'] { opacity: 1; box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }
  .carousel__thumb:hover { opacity: 0.85; }
  ol.steps { grid-template-columns: repeat(4, 1fr); padding: 34px 0 0; gap: 24px; }
  .steps::before, .steps::after { left: 8px; top: 7px; height: 2px; width: auto; }
  .steps::before { right: 8px; bottom: auto; }
  .steps::after { width: 0; transition: width 1.6s var(--ease); }
  .steps.is-in::after { width: calc(100% - 16px); height: 2px; }
  .home-steps .steps::after { width: calc(100% - 16px); height: 2px; transform: scaleX(var(--steps-progress, 0)); transform-origin: left; }
  .steps li::before { left: 0; top: -34px; }
  .band__text { padding-block: 110px; }
  .pf-grid { --pf-gap: 36px; columns: 3; margin-top: 28px; }
  .about { grid-template-columns: 0.9fr 1.1fr; grid-template-rows: auto; grid-template-areas: 'portrait story'; column-gap: 56px; row-gap: 20px; align-items: start; }
  .about__story { align-self: end; padding-bottom: clamp(64px, 7vw, 96px); }
  .terms { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .story { grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding-block: 48px; }
  .story:nth-of-type(even) .story__photos { order: 2; }
  .g-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .gallery__tabs { top: 72px; }
  .galbar { left: 50%; right: auto; transform: translateX(-50%); width: min(720px, 100% - 2 * var(--gutter)); bottom: 16px; border: 1px solid var(--line); border-radius: 18px; }
  .viewer__stage { inset: 64px 72px 96px; }
  .viewer__nav { width: 56px; height: 80px; }
  .viewer__nav--prev { left: 12px; }
  .viewer__nav--next { right: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .photo img { opacity: 1; }
  .home-steps .steps::after { transform: none; }
}

.booking-summary__photo { display: block; width: 100%; height: 180px; object-fit: cover; border-radius: 8px; margin-bottom: 16px; }
@media (min-width: 760px) {
  .band--skyline h2 { font-size: clamp(1.5rem, 3.4vw, 3rem); white-space: nowrap; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .addons li { transition: transform 180ms ease; }
  .addons li:hover { transform: scale(1.035); }
}

@media (prefers-reduced-motion: no-preference) {
  .album-hero__scroll svg { animation: album-scroll-hint 2.4s ease-in-out infinite; }
  @supports (animation-timeline: view()) {
    .album-hero { overflow: clip; view-timeline-name: --album-cover; view-timeline-axis: block; }
    .album-hero__photo img {
      animation: album-cover-drift linear both;
      animation-timeline: --album-cover;
      animation-range: exit 0% exit 100%;
    }
    .album-hero__scroll {
      animation: album-scroll-away linear both;
      animation-timeline: --album-cover;
      animation-range: exit 0% exit 35%;
    }
    .album-hero__scroll:focus-visible { animation: none; opacity: 1; }
    .album-photos > li {
      animation: album-photo-arrive linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 45%;
    }
    .album-photos > li:focus-within { animation: none; opacity: 1; }
  }
}
@keyframes album-cover-drift {
  from { transform: translateY(0) scale(1.12); }
  to { transform: translateY(2.5%) scale(1.06); }
}
@keyframes album-scroll-away {
  to { opacity: 0; translate: 0 18px; }
}
@keyframes album-photo-arrive {
  from { opacity: 0.3; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes album-scroll-hint {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@media (max-width: 600px) {
  .about { grid-template-areas: 'title' 'portrait' 'story'; }
  .about__story { display: contents; }
  .about__story > h1 { grid-area: title; }
  .about__copy { grid-area: story; font-size: 1.05rem; }
}
