/* Salon Zeewind · pakket Basis — split stage, Frost and slate, Erode */
:root {
  --bg: #f7f9fa;
  --surface: #e6edf0;
  --ink: #1f3038;
  --muted: #4f5e66;
  --accent: #0d7480;
  --accent-ink: #ffffff;
  --paper: #ffffff;
  --radius: 14px;
  --gap: 12px;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 2.2vw, 3.25rem);
  --font: 'Erode', Georgia, 'Times New Roman', serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--step-body); line-height: 1.5; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--paper); padding: 12px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* ---------- the stage: reading column left, photograph right ---------- */
.stage { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); padding: var(--gap); }
.column { min-width: 0; }
.frame { position: sticky; top: var(--gap); height: calc(100svh - 2 * var(--gap)); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 1.6s var(--ease), transform 7s linear; }
.frame img.is-on { opacity: 1; transform: scale(1); }
.m-photo { display: none; }

/* ---------- the striped card ---------- */
.stripes { height: 56px; background-color: var(--paper); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='8' preserveAspectRatio='none'%3E%3Crect width='28' height='8' fill='%231f3038'/%3E%3C/svg%3E"); background-size: 56px 100%; background-repeat: repeat-x; }
.card { min-height: calc(100svh - 2 * var(--gap)); background: var(--surface); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card__body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 56px clamp(24px, 4vw, 64px) 28px; gap: 0; }
.wordmark { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.01em; margin-bottom: 40px; }
.card__title { font-weight: 500; font-size: clamp(2.75rem, 5.6vw, 6rem); line-height: 0.95; letter-spacing: -0.025em; max-width: 11ch; }
.card__lead { margin-top: 32px; max-width: 36ch; }
.card__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.card__status { margin-top: 22px; font-size: var(--step-small); display: flex; align-items: center; gap: 8px; color: var(--muted); }
.card__links { margin-top: auto; padding-top: 48px; display: flex; gap: 28px; font-size: var(--step-small); }
.card__links a { text-decoration: none; padding: 10px 0; border-bottom: 2px solid transparent; transition: border-color .25s; }
.card__links a:hover { border-color: var(--ink); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 600; font-size: var(--step-body); transition: transform .2s var(--ease), background-color .2s; }
.button:hover { background: #0a5f69; transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(.98); }
.button--ghost { background: var(--paper); color: var(--ink); }
.button--ghost:hover { background: var(--ink); color: var(--paper); }

.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); flex: none; }
.is-open ~ .dot, .dot:has(+ .is-open) { background: #1f9d6a; }
.dot:has(+ .is-open) { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.5); opacity: .55; } }

/* ---------- sections in the reading column ---------- */
.block, .letter, .route { padding: clamp(96px, 12vw, 168px) clamp(24px, 4vw, 64px) 0; }
.head { font-weight: 500; font-size: var(--step-head); line-height: 1; letter-spacing: -0.025em; }
.block__lead { margin-top: 20px; max-width: 46ch; }
.block__note { margin-top: 28px; max-width: 46ch; color: var(--muted); }

.prices { margin-top: 40px; }
.prices li { border-radius: 10px; transition: background-color .3s; }
.prices__row { all: unset; box-sizing: border-box; width: 100%; min-height: 58px; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 14px; cursor: pointer; font-size: var(--step-lead); color: var(--muted); transition: color .25s, transform .25s var(--ease); }
.prices__row:focus-visible { outline: 3px solid var(--accent); outline-offset: 0; border-radius: 10px; }
.prices__row:hover { color: var(--ink); transform: translateX(4px); }
.prices__price { font-size: var(--step-small); font-variant-numeric: tabular-nums; white-space: nowrap; }
.prices__desc { max-width: 40ch; padding: 0 14px 18px; font-size: var(--step-body); color: var(--ink); display: none; }
.prices li.is-active { background: var(--surface); }
.prices li.is-active .prices__row { color: var(--ink); font-weight: 600; }
.prices li.is-active .prices__desc { display: block; animation: rise .45s var(--ease) both; }

.block--tint { margin-top: clamp(96px, 12vw, 168px); background: var(--ink); color: var(--paper); border-radius: var(--radius); padding-bottom: clamp(56px, 6vw, 88px); }
.block--tint .block__note { color: #c6d3d8; }
.now { margin-top: 24px; display: flex; align-items: center; gap: 10px; font-size: var(--step-lead); }
.block--tint .dot { background: #8fa3ab; }
.block--tint .dot:has(+ .is-open) { background: #4fd39e; }
.hours { margin-top: 32px; width: 100%; max-width: 520px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; font-weight: 400; padding: 12px 0; border-bottom: 1px solid rgb(255 255 255 / .16); }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 600; color: #a6eef3; }

.letter { max-width: 640px; }
.letter__face { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; margin-bottom: 28px; }
.letter p { margin-bottom: 1.1em; max-width: 52ch; }
.letter mark { background: #c9eef1; color: var(--ink); padding: 0 .15em; }
.letter__sign { font-style: italic; font-size: var(--step-lead); margin-top: 12px; }
.letter__sign span { display: block; font-style: normal; font-size: var(--step-small); color: var(--muted); }

.route { padding-bottom: clamp(96px, 12vw, 160px); }
.route__statement { margin-top: 24px; font-size: var(--step-lead); line-height: 1.15; letter-spacing: -0.015em; max-width: 24ch; }
.route__row { margin-top: 40px; display: flex; gap: 28px; align-items: flex-start; }
.route__photo { width: 168px; height: 168px; object-fit: cover; border-radius: var(--radius); flex: none; }
.route__links { display: flex; flex-direction: column; gap: 10px; }
.route__q { font-weight: 600; margin-bottom: 6px; }
.route__links a { text-underline-offset: 4px; text-decoration-thickness: 2px; padding: 4px 0; transition: color .2s; }
.route__links a:hover { color: var(--accent); }
.route__facts { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; }
.route__facts div { background: var(--surface); border-radius: 10px; padding: 16px 18px; }
.route__facts dt { font-size: var(--step-small); color: var(--muted); }
.route__facts dd { font-size: var(--step-body); }

/* ---------- footer: the last photograph, full bleed ---------- */
.stripes--thin { height: 8px; margin: 0 var(--gap); border-radius: 4px 4px 0 0; }
.foot { position: relative; min-height: 100svh; color: var(--paper); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 32px clamp(20px, 3vw, 40px) 24px; }
.foot__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.6); z-index: -1; transform: scale(1.06); transition: transform 2s var(--ease); }
.foot.is-in .foot__photo { transform: scale(1); }
.foot__top { display: flex; justify-content: space-between; gap: 24px; }
.foot__top ul { display: flex; flex-direction: column; gap: 6px; }
.foot__contact { text-align: right; }
.foot a { text-decoration: none; padding: 4px 0; display: inline-block; }
.foot a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot__name { font-weight: 500; font-size: 21.5vw; line-height: .78; letter-spacing: -0.045em; margin: 0 0 18px -0.06em; white-space: nowrap; }
.foot__legal { font-size: var(--step-small); color: #e3ebee; }
.callbar { display: none; }

/* ---------- motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.js [data-rise] { animation: rise .8s var(--ease) both; animation-delay: calc(var(--i, 0) * 80ms + 100ms); }
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.stripes:not(.stripes--thin) { animation: slide 1.2s var(--ease) both; }
@keyframes slide { from { background-position: -56px 0; opacity: 0; } to { background-position: 0 0; opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .js [data-rise], .stripes, .dot { animation: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .frame img { transition: opacity .01s; transform: none; }
}

/* ---------- phone: its own composition ---------- */
@media (max-width: 860px) {
  .stage { display: block; padding: var(--gap); }
  .frame { display: none; }
  .m-photo { display: block; margin: var(--gap) 0; border-radius: var(--radius); overflow: hidden; }
  .m-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
  .m-photo--hero { order: -1; margin: 0; }
  .m-photo--hero img { aspect-ratio: auto; height: 48svh; object-position: 50% 30%; }
  .column { display: flex; flex-direction: column; }
  .card { min-height: 0; margin-top: -24px; position: relative; z-index: 1; order: 0; }
  .m-photo--hero { margin-top: 0; }
  .stripes:not(.stripes--thin) { height: 40px; }
  .card__body { padding: 40px 20px 20px; }
  .wordmark { margin-bottom: 24px; }
  .card__title { font-size: 11vw; }
  .card__lead { margin-top: 20px; }
  .foot__name { font-size: 27vw; }
  .card__actions { margin-top: 28px; width: 100%; }
  .card__actions .button { flex: 1 1 100%; }
  .card__links { padding-top: 28px; gap: 22px; }
  .block, .letter, .route { padding-left: 8px; padding-right: 8px; padding-top: 88px; }
  .block--tint { padding: 56px 20px; margin-top: 88px; }
  .prices__row { padding: 14px 10px; }
  .route__row { gap: 18px; }
  .route__photo { width: 104px; height: 104px; }
  .route__facts { grid-template-columns: 1fr; gap: 10px; }
  .foot { min-height: 88svh; padding-bottom: 88px; }
  .foot__top { flex-direction: column; }
  .foot__contact { text-align: left; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 8px var(--gap) calc(8px + env(safe-area-inset-bottom)); background: var(--ink); transform: translateY(110%); transition: transform .35s var(--ease); }
  .callbar.is-on { transform: none; }
  .callbar a { min-height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 600; }
  .callbar a + a { background: var(--paper); color: var(--ink); }
}
