/* Estetic Walk-In Göteborg — "Ljuslinjen". Editorial beauty × clinical precision.
   Tokens trace to pipeline/visual-direction.json (palette, typography, C1–C13). */

@font-face { font-family: 'Bodoni Moda'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/Bodoni-Moda-normal-latin.woff2') format('woff2'); }
@font-face { font-family: 'Bodoni Moda'; font-style: italic; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/Bodoni-Moda-italic-latin.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300 600; font-display: swap; src: url('/assets/fonts/Jost-normal-latin.woff2') format('woff2'); }

:root {
  --white: #ffffff;
  --silk: #f7f4f0;
  --champ: #dccdbe;
  --champ-soft: #e8ddd2;
  --silver: #c0c0c0;
  --grey: #808080;
  --ink: #232427;
  --ink-2: #55585c;
  --graphite: #1e1f22;
  --gold: #ddb45f;
  --gold-ink: #7d5f22;
  --rule: rgba(35, 36, 39, 0.16);
  --rule-strong: rgba(35, 36, 39, 0.32);
  --light-line: linear-gradient(90deg, #ddb45f 0%, #e7c98c 55%, rgba(220, 205, 190, 0.2) 100%);
  --serif: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --sans: 'Jost', 'Futura', 'Century Gothic', system-ui, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(72px, 10vw, 136px);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--sans); font-weight: 400; font-size: 1.0625rem; line-height: 1.72;
  font-feature-settings: 'kern' 1; text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
/* Bodoni Moda's optical-size axis runs 6–96. With font-optical-sizing:auto a 64px heading gets the opsz-64
   display cut, whose hairlines vanish on screens and on dark grounds. Each role pins a lower optical size
   instead: the same didone, with hairlines sturdy enough to read. --opsz is set per role below. */
h1, h2, h3, .display, .serif { font-family: var(--serif); font-variation-settings: 'opsz' var(--opsz, 28); }
h1, h2, .display { letter-spacing: -0.01em; line-height: 1.06; }
h1 { font-size: clamp(2.45rem, 4.7vw, 4.45rem); font-weight: 500; --opsz: 30; }
h2 { font-size: clamp(2rem, 3.8vw, 3.35rem); --opsz: 26; }
h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); line-height: 1.2; --opsz: 14; }
/* The longest H1 word ("laserbehandlingar") is ~8.4em in Bodoni: on narrow phones the H1 scales so it always fits. */
@media (max-width: 430px) { h1, .phero h1 { font-size: min(2.45rem, calc((100vw - 2 * var(--gutter)) / 8.6)); } }
:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; }
.sr { position: absolute !important; 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: 100; background: var(--ink); color: var(--white); padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }

/* ---------- labels, ticks, light line (C1) ---------- */
.dash { font-family: var(--sans); font-weight: 300; font-style: normal; }
.label { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2); }
.tick { display: inline-block; width: 28px; height: 1px; background: var(--light-line); position: relative; flex: none; }
.tick::before, .tick::after { content: ''; position: absolute; top: -3px; width: 1px; height: 7px; background: var(--gold); }
.tick::before { left: 0; } .tick::after { right: 0; background: var(--silver); }
.tick--long { width: 64px; margin-right: 18px; vertical-align: middle; }
.ll { display: block; height: 7px; margin-top: clamp(40px, 6vw, 72px); background:
  linear-gradient(var(--gold), var(--gold)) left 3px / 100% 1px no-repeat,
  repeating-linear-gradient(90deg, var(--silver) 0 1px, transparent 1px 64px) left top / 100% 7px no-repeat; opacity: 0.9; }

.lead { font-size: clamp(1.1rem, 1.45vw, 1.3rem); line-height: 1.6; color: var(--ink); max-width: 38em; font-weight: 400; }
.lead--sm { font-size: 1.08rem; color: var(--ink-2); max-width: 44em; }

/* ---------- buttons & links ---------- */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 28px; font: 500 0.8125rem/1.2 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: #000; }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--champ); }
/* Secondary booking path (all treatments in Bokadirekt): same weight family, outlined so the consultation stays first. */
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--white); }
.btn--line-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.7); }
.btn--line-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--line-light:focus-visible { outline-color: var(--gold); }
.link { display: inline-flex; gap: 8px; align-items: baseline; font-weight: 500; font-size: 0.98rem; color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 6px; padding: 6px 0; transition: text-decoration-color .2s var(--ease); }
.link:hover { text-decoration-color: var(--ink); }
.link--light { color: var(--white); }
.link--light:hover { text-decoration-color: var(--white); }

/* ---------- header ---------- */
/* The frosted background lives on ::before. backdrop-filter on the header itself makes the header the
   containing block for its position:fixed descendants — the mobile menu panel then resolved against the
   64px header instead of the viewport and collapsed to a 48px strip (human review 01). */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--rule); }
.site-header::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: saturate(140%) blur(8px); backdrop-filter: saturate(140%) blur(8px); transition: background-color .25s var(--ease); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { width: 168px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav ul { display: flex; gap: 26px; }
.site-nav ul a { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; color: var(--ink); padding: 10px 0; position: relative; }
.site-nav ul a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.site-nav ul a:hover::after, .site-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.nav-book { min-height: 44px; padding: 10px 20px; }
.nav-toggle { display: none; }
.nav-call { display: none; }
@media (min-width: 960px) { .nav-foot { display: contents; } }

@media (max-width: 1080px) {
  .site-nav ul { gap: 18px; }
}
/* Mobile navigation — "Ljuslinjen": the menu is a white panel under the header in which the gold light
   line runs down the destinations like stations, with booking and phone anchored at the bottom. */
@media (max-width: 959px) {
  :root { --header-h: 64px; }
  .brand img { width: 140px; }
  .js .nav-toggle { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; min-width: 44px; padding: 8px 0 8px 12px; background: none; border: 0; font: 500 0.78rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); cursor: pointer; }
  .nav-toggle-label { min-width: 3.9em; text-align: right; }
  .nav-toggle-icon { position: relative; width: 24px; height: 10px; flex: none; }
  .nav-toggle-icon span { position: absolute; left: 0; right: 0; height: 1px; background: var(--ink); transition: transform .3s var(--ease); }
  .nav-toggle-icon span:first-child { top: 0; }
  .nav-toggle-icon span:last-child { top: 9px; }
  .js [data-header].is-open .nav-toggle-icon span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .js [data-header].is-open .nav-toggle-icon span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

  .site-nav { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav ul.nav-list { position: relative; flex-direction: column; gap: 0; padding-left: 34px; }
  .nav-list::before { content: ''; position: absolute; left: 4px; top: 22px; bottom: 22px; width: 1px; background: linear-gradient(180deg, var(--gold), var(--champ)); transform-origin: top; }
  .site-nav ul.nav-list a { display: block; position: relative; padding: clamp(6px, 1.4vh, 12px) 0; font-family: var(--serif); font-variation-settings: 'opsz' 22; font-size: clamp(1.65rem, 7.4vw, 2.2rem); font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; text-transform: none; }
  .site-nav ul.nav-list a::after { content: ''; display: block; position: absolute; left: -34px; top: 50%; right: auto; bottom: auto; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; border: 1px solid var(--gold-ink); background: var(--white); transform: none; transition: background-color .2s var(--ease); }
  .site-nav ul.nav-list a[aria-current="page"]::after, .site-nav ul.nav-list a:hover::after { background: var(--gold); border-color: var(--gold); transform: none; }
  .nav-foot { display: grid; gap: 6px; margin-top: auto; padding-top: clamp(20px, 4vh, 36px); }
  .nav-book { min-height: 52px; margin-top: 0; }
  .nav-call { display: flex; align-items: center; justify-content: center; min-height: 48px; font-weight: 500; font-size: 0.98rem; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; }

  /* no JS: the menu is a plain list under the logo (links stay crawlable and usable) */
  html:not(.js) .header-inner { flex-wrap: wrap; }
  html:not(.js) .site-nav { width: 100%; padding-bottom: 20px; }
  html:not(.js) .nav-foot { padding-top: 16px; }

  /* with JS: a panel that fills the viewport under the header. It fades in on open and hides at once on close,
     so the panel never stays visible after aria-expanded has turned false. */
  .js .site-nav { position: fixed; top: calc(var(--header-h) + 1px); left: 0; right: 0; height: calc(100vh - var(--header-h) - 1px); height: calc(100dvh - var(--header-h) - 1px); display: flex; background: var(--white); padding: clamp(18px, 4vh, 40px) var(--gutter) calc(20px + env(safe-area-inset-bottom, 0px)); overflow-y: auto; overscroll-behavior: contain; visibility: hidden; opacity: 0; transition: none; }
  .js [data-header].is-open .site-nav { visibility: visible; opacity: 1; transition: opacity .25s var(--ease); }
  .js [data-header].is-open::before { background: var(--white); }
  /* Lock the root only: overflow on <body> as well would make body a scroll container and unstick the header. */
  html.nav-open { overflow: hidden; }
}
@media (max-width: 959px) and (prefers-reduced-motion: no-preference) {
  .js .nav-list::before { transform: scaleY(0); transition: transform .5s var(--ease) .05s; }
  .js [data-header].is-open .nav-list::before { transform: scaleY(1); }
  .js .nav-list li, .js .nav-foot { opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
  .js [data-header].is-open .nav-list li, .js [data-header].is-open .nav-foot { opacity: 1; transform: none; transition-delay: calc(0.06s + var(--i, 6) * 0.035s); }
}

/* ---------- hero (C3) ---------- */
.hero { position: relative; background: var(--silk); overflow: hidden; }
.hero-media img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 22%; }
.hero-inner { position: relative; }
.hero-copy { padding: 36px 0 48px; }
.hero h1 { max-width: 11.5em; }
.hero .lead { margin-top: 24px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; font-size: 0.74rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
.hero-meta li { display: flex; align-items: center; gap: 10px; }
.hero-meta li + li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.hero-line { position: absolute; left: 0; right: 0; top: calc(62.5vw - 1px); height: 1px; background: var(--light-line); transform-origin: left; z-index: 2; }
@media (prefers-reduced-motion: no-preference) {
  .hero-line { animation: sweep-x 1.1s var(--ease) .25s backwards; }
}
@keyframes sweep-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes sweep-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }

@media (min-width: 960px) {
  .hero { min-height: min(86vh, 820px); display: flex; align-items: center; background: #eef3f3; }
  .hero-media { position: absolute; inset: 0; }
  .hero-media img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 28% 30%; }
  .hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.78) 34%, rgba(255,255,255,0.18) 52%, rgba(255,255,255,0) 62%); }
  .hero-inner { z-index: 3; width: 100%; }
  .hero-copy { max-width: 640px; padding: 88px 0 96px; }
  .hero-line { left: calc(max(var(--gutter), (100% - var(--wrap)) / 2) + 700px); right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, rgba(221,180,95,0) 0%, #ddb45f 18%, #ddb45f 70%, rgba(221,180,95,0) 100%); transform-origin: top; }
  .hero-line::before, .hero-line::after { content: ''; position: absolute; left: -4px; width: 9px; height: 1px; background: var(--gold); }
  .hero-line::before { top: 30%; } .hero-line::after { top: 62%; background: var(--silver); }
}
@media (min-width: 960px) and (prefers-reduced-motion: no-preference) {
  .hero-line { animation-name: sweep-y; }
}

/* ---------- inner page hero (C1) ---------- */
.phero { padding: clamp(40px, 6vw, 88px) 0 0; background: var(--white); }
.phero-inner { display: grid; gap: 40px; }
.phero h1 { font-size: clamp(2.2rem, 4.6vw, 4.1rem); max-width: 16em; }
.phero .lead { margin-top: 24px; }
.phero .ll { margin-top: clamp(44px, 6vw, 80px); }
.phero-media { margin: 0; }
.phero-media img { width: 100%; max-width: 320px; }
@media (min-width: 960px) {
  .phero--media .phero-inner { grid-template-columns: minmax(0, 1fr) 320px; align-items: end; gap: 64px; }
}
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 28px; font-size: 0.82rem; color: var(--ink-2); }
.crumbs li + li::before { content: '/'; margin-right: 10px; color: var(--silver); }
.crumbs a { color: var(--ink-2); text-underline-offset: 4px; }
.crumbs a:hover { color: var(--ink); }

/* ---------- behandlingsindex (C2) + pristabell (C13) ---------- */
.index { background: var(--champ); }
.index-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.index-head h2 { margin-bottom: 20px; }
.index .lead--sm, .index .tx-group-head p, .index .tx-for, .index .source { color: #45474b; }
.tx-group { display: grid; gap: 22px; padding-top: 28px; border-top: 1px solid var(--rule-strong); }
.tx-group + .tx-group { margin-top: clamp(48px, 6vw, 72px); }
.tx-group-title { font-size: clamp(1.5rem, 2.2vw, 1.95rem); margin-bottom: 10px; }
.tx-group-head p { margin: 0; max-width: 30em; font-size: 0.98rem; }
.tx-group-link { margin-top: 14px; font-size: 0.95rem; }
.tx { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'main main' 'time time' 'price book'; gap: 8px 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); align-items: center; }
.tx:first-child { border-top: 1px solid var(--rule); }
.tx-main { grid-area: main; }
.tx-name { font-family: var(--serif); font-size: 1.28rem; line-height: 1.25; font-weight: 500; --opsz: 11; }
.tx-for { margin: 6px 0 0; font-size: 0.95rem; line-height: 1.55; }
.tx-time { grid-area: time; display: flex; align-items: center; gap: 12px; font-size: 0.82rem; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.tx-track { position: relative; display: inline-block; width: 120px; height: 7px; flex: none; background: repeating-linear-gradient(90deg, rgba(35,36,39,0.35) 0 1px, transparent 1px 20px) left top / 121px 7px no-repeat; }
.tx-line { position: absolute; left: 0; top: 3px; height: 1px; width: calc(var(--m) / 90 * 120px); background: var(--light-line); background: linear-gradient(90deg, #b88a2c, #ddb45f); transition: transform .35s var(--ease); transform-origin: left; }
.tx-line::after { content: ''; position: absolute; right: -2px; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: #b88a2c; }
.tx-price { grid-area: price; margin: 0; align-self: center; font-variant-numeric: tabular-nums; font-weight: 500; font-size: 1.05rem; white-space: nowrap; }
.from { font-weight: 400; font-size: 0.82em; color: var(--ink-2); }
.tx-book { grid-area: book; justify-self: end; align-self: center; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; font: 500 0.76rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; color: var(--ink); border: 1px solid var(--ink); transition: background-color .2s var(--ease), color .2s var(--ease); white-space: nowrap; }
.tx-book:hover { background: var(--ink); color: var(--white); }
.index-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 32px; margin-top: 36px; }
.source { margin: 0; font-size: 0.86rem; color: var(--ink-2); max-width: 46em; }
/* Price snapshot notice: quiet, next to the list, never a warning banner. */
.price-note { display: flex; align-items: center; gap: 12px; margin: 22px 0 0; font-size: 0.92rem; line-height: 1.5; color: #3b3d41; }
.index-head h2 + .price-note { margin-top: 0; }
/* Scope note under an inner-page lead (e.g. "medicinsk" = skin, not pain therapy): quiet, same tick grammar. */
.scope-note { display: flex; align-items: flex-start; gap: 12px; margin: 18px 0 0; max-width: 38em; font-size: 0.95rem; line-height: 1.55; color: var(--ink-2); }
.scope-note .tick { margin-top: 0.72em; }

/* Duration line draws in once when its row reaches the screen (one-shot; decorative, never hides text). */
@media (prefers-reduced-motion: no-preference) {
  .js [data-draw] .tx-line { clip-path: inset(-4px 100% -4px -4px); transition: clip-path 1s var(--ease) .12s, transform .35s var(--ease); }
  .js [data-draw] .is-in .tx-line { clip-path: inset(-4px -6px -4px -4px); }
}

@media (min-width: 760px) {
  .tx { grid-template-columns: minmax(0, 1fr) 190px 120px auto; grid-template-areas: 'main time price book'; align-items: center; gap: 24px; padding: 22px 0; }
  .tx:hover .tx-line { transform: scaleX(1.06); }
}
@media (min-width: 1100px) {
  .tx-group { grid-template-columns: 4fr 8fr; gap: 48px; }
  .tx-group-head { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
}

/* compact rows */
.tx-list--compact .tx { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: 'main price book'; align-items: center; }
.tx--compact .tx-name { font-size: 1.12rem; }
@media (max-width: 559px) { .tx-list--compact .tx { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'main main' 'price book'; } }
/* Small serif roles use the text optical size: sturdier hairlines, same didone. */
.tx-name, .pt-name, .faq-q, .city-name, .sheet-title, .footer-name, .ptable caption, .tx-group-title { --opsz: 11; font-variation-settings: 'opsz' var(--opsz); }
.tx-group-title, .ptable caption { --opsz: 16; }

/* pristabell */
.ptable { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ptable + .ptable { margin-top: clamp(48px, 6vw, 72px); }
.ptable caption { text-align: left; font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 1.95rem); font-weight: 500; padding: 26px 0 18px; border-top: 1px solid var(--rule-strong); }
.ptable thead th { text-align: left; font: 500 0.72rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: #45474b; padding: 0 16px 14px 0; border-bottom: 1px solid var(--rule-strong); }
.ptable tbody th, .ptable td { text-align: left; vertical-align: middle; padding: 18px 16px 18px 0; border-bottom: 1px solid var(--rule); font-weight: 400; }
.pt-name { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 500; line-height: 1.25; }
.pt-for { display: block; margin-top: 4px; font-size: 0.9rem; line-height: 1.5; color: #45474b; max-width: 30em; }
.ptable td[data-l="Tid"] { white-space: nowrap; font-size: 0.86rem; color: var(--ink-2); }
.ptable td[data-l="Tid"] .tx-track { margin-right: 12px; vertical-align: middle; width: 90px; background-size: 91px 7px; }
.ptable td[data-l="Tid"] .tx-line { width: calc(var(--m) / 90 * 90px); }
.pt-price { font-weight: 500; white-space: nowrap; }
.pt-book { text-align: right; padding-right: 0; }
@media (max-width: 859px) {
  .ptable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ptable, .ptable tbody, .ptable tr, .ptable th, .ptable td { display: block; }
  .ptable tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'name name' 'area area' 'time time' 'price book'; gap: 8px 16px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
  .ptable tbody th, .ptable td { padding: 0; border: 0; }
  .ptable tbody th { grid-area: name; }
  .ptable td[data-l="Område"] { grid-area: area; font-size: 0.86rem; color: #45474b; }
  .ptable td[data-l="Tid"] { grid-area: time; }
  .ptable td.pt-price { grid-area: price; align-self: center; }
  .ptable td.pt-book { grid-area: book; }
}

/* ---------- quote (C4) ---------- */
.quote-grid { display: grid; gap: 40px; align-items: center; }
.quote-media img { width: 100%; filter: grayscale(1) contrast(1.02); }
blockquote { margin: 0 0 28px; }
blockquote p { font-family: var(--serif); font-variation-settings: 'opsz' 20; font-style: italic; font-size: clamp(1.75rem, 3.2vw, 2.85rem); line-height: 1.18; letter-spacing: -0.01em; margin: 0 0 20px; position: relative; padding-top: 34px; }
blockquote p::before { content: ''; position: absolute; top: 0; left: 0; width: 64px; height: 1px; background: var(--light-line); }
blockquote footer { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
.quote-body > p { color: var(--ink-2); max-width: 34em; }
@media (min-width: 960px) {
  .quote-grid { grid-template-columns: 5fr 6fr; gap: clamp(48px, 7vw, 112px); }
}

/* ---------- process ruler (C5) ---------- */
.process { background: var(--white); padding-top: 0; }
.process--assess { padding-top: var(--section); }
.process-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.ruler { position: relative; display: grid; gap: 0; counter-reset: step; }
.ruler-step { position: relative; padding: 0 0 36px 36px; }
.ruler-step::before { content: ''; position: absolute; left: 4px; top: 12px; bottom: 0; width: 1px; background: linear-gradient(180deg, var(--gold), var(--champ)); }
.ruler-step:last-child::before { display: none; }
.ruler-step::after { content: ''; position: absolute; left: 0; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--white); border: 1px solid var(--gold-ink); }
.ruler-step h3 { margin-bottom: 10px; }
.ruler-step p { color: var(--ink-2); margin: 0; max-width: 26em; }
@media (min-width: 900px) {
  .ruler { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-top: 32px; }
  .ruler--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ruler::before { content: ''; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: var(--light-line); }
  .ruler-step { padding: 0; }
  .ruler-step::before { display: none; }
  .ruler-step::after { top: -32px; }
}

/* ---------- expectations / fact sheets (C6) ---------- */
.expect { background: var(--silk); }
.expect-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.expect-head h2 { margin-bottom: 18px; }
.sheets { display: grid; gap: 40px; }
@media (min-width: 900px) { .sheets { grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 80px); } }
.sheet-title { font-size: 1.35rem; margin-bottom: 8px; }
.sheet dl { margin: 0; }
.sheet-row { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.sheet-row:first-child { border-top: 1px solid var(--rule-strong); }
.sheet dt { font-size: 0.74rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); padding-top: 4px; }
.sheet dd { margin: 0; font-size: 1rem; }
.sheet dd a { text-underline-offset: 4px; }
@media (min-width: 560px) { .sheet-row { grid-template-columns: 11em 1fr; gap: 20px; } }
.caveat { margin: 36px 0 0; padding-left: 20px; border-left: 1px solid var(--gold); color: var(--ink-2); max-width: 46em; }

/* ---------- clinic / graphite panel (C7) ---------- */
.clinic { background: var(--graphite); color: #ecebe8; overflow: hidden; }
.clinic .label { color: #c9c6c0; }
.rays path { stroke: var(--gold); stroke-width: 0.8; fill: none; }
.clinic-grid { position: relative; display: grid; gap: 40px; }
.clinic h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); color: var(--white); --opsz: 20; }
/* Portrait medallion: Camilia's own portrait (estetic.se/goteborg) set inside the emblem's sunburst.
   The ray ring (viewBox 400, inner radius 120) is sized so the portrait sits just inside it. */
.clinic-name { display: grid; gap: clamp(28px, 4vw, 44px); justify-items: center; }
.medallion { --d: 168px; position: relative; width: var(--d); height: var(--d); margin: calc(var(--d) * 0.45) 0 calc(var(--d) * 0.3); }
.medallion .rays { position: absolute; left: 50%; top: 50%; width: calc(var(--d) * 1.9); height: calc(var(--d) * 1.9); max-width: none; margin: calc(var(--d) * -0.95) 0 0 calc(var(--d) * -0.95); opacity: 0.6; pointer-events: none; }
.medallion picture { position: relative; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px rgba(221, 180, 95, 0.55), 0 0 0 9px var(--graphite), 0 0 0 10px rgba(221, 180, 95, 0.28); }
.medallion img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; filter: grayscale(1) sepia(0.12) contrast(1.05); }
.clinic-id { justify-self: stretch; }
@media (min-width: 960px) {
  .clinic-name { justify-items: start; }
  .medallion { --d: 212px; margin-left: calc(var(--d) * 0.45); margin-bottom: calc(var(--d) * 0.25); }
}
@media (prefers-reduced-motion: no-preference) {
  .js .medallion .rays { opacity: 0; transform: rotate(-14deg) scale(0.94); transition: opacity 1.4s var(--ease), transform 1.8s var(--ease); }
  .js .medallion.is-in .rays { opacity: 0.6; transform: none; }
}
.clinic-role { margin-top: 18px; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.clinic-body > p { font-size: 1.1rem; line-height: 1.7; max-width: 34em; color: #ecebe8; }
.clinic-also { font-family: var(--sans); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: #c9c6c0; margin: 32px 0 12px; }
.also { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-bottom: 28px; }
.also li { padding: 7px 14px; border: 1px solid rgba(236, 235, 232, 0.28); font-size: 0.9rem; }
@media (min-width: 960px) { .clinic-grid { grid-template-columns: 5fr 6fr; gap: clamp(48px, 7vw, 112px); align-items: center; } }

/* ---------- before/after (C8) ---------- */
.ba-head { margin-bottom: 36px; }
.ba-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding-bottom: 12px; margin: 0 calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); scrollbar-width: thin; }
.ba-fig { margin: 0; scroll-snap-align: start; background: var(--silk); }
.ba-fig img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1; }
@media (min-width: 960px) {
  .ba-strip { grid-auto-flow: row; grid-template-columns: 1fr 1fr 1.77fr; overflow: visible; margin: 0; padding: 0; align-items: start; }
  .ba-fig--fe-ansikte img { aspect-ratio: auto; }
}
.caption { margin: 22px 0 0; font-size: 0.9rem; color: var(--ink-2); max-width: 52em; }

/* ---------- areas mini ---------- */
.areas-mini { padding-top: 0; }
.areas-mini-inner { border-top: 1px solid var(--rule-strong); padding-top: 48px; display: grid; gap: 14px; }
.areas-mini h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
.areas-mini p { margin: 0; color: var(--ink-2); max-width: 40em; }
.areas-names { display: flex; flex-wrap: wrap; gap: 6px 0; margin: 10px 0 4px !important; font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 2rem); color: var(--ink) !important; }
.areas-names li { display: inline-flex; align-items: center; }
.areas-names a { color: var(--ink); text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) left bottom / 0 1px no-repeat; padding-bottom: 2px; transition: background-size .35s var(--ease); }
.areas-names a:hover, .areas-names a:focus-visible { background-size: 100% 1px; }
.areas-names li + li::before { content: ''; display: inline-block; width: clamp(28px, 6vw, 96px); height: 1px; margin: 0 18px; background: var(--light-line); }
/* Narrow screens: the three destinations stack, each on its own light-line tick, so a wrapped row never starts with a connector. */
@media (max-width: 559px) {
  .areas-names { flex-direction: column; gap: 4px; }
  .areas-names li::before, .areas-names li + li::before { content: ''; display: inline-block; width: 22px; height: 1px; margin: 0 14px 0 0; background: var(--light-line); }
}
@media (min-width: 960px) { .areas-mini-inner { grid-template-columns: 1fr 1fr; column-gap: 64px; } .areas-mini-inner h2 { grid-row: span 2; } }

/* ---------- FAQ (C9) ---------- */
.faq { background: var(--white); }
.faq-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: 4fr 8fr; gap: 64px; } .faq-head { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item:first-child { border-top: 1px solid var(--rule-strong); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 64px; padding: 18px 0; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font-family: var(--serif); font-size: clamp(1.15rem, 1.6vw, 1.38rem); line-height: 1.3; color: var(--ink); }
.faq-plus { position: relative; flex: none; width: 18px; height: 18px; }
.faq-plus::before, .faq-plus::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--ink); transition: transform .3s var(--ease); }
.faq-plus::after { transform: rotate(90deg); }
.faq-item[open] .faq-plus::after { transform: rotate(0deg); }
.faq-item summary:hover .faq-q { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; text-decoration-thickness: 1px; }
.faq-a { padding: 0 0 24px; max-width: 42em; }
.faq-a p { margin: 0; color: var(--ink-2); }

/* ---------- contact + form (C11) ---------- */
.contact { background: var(--champ); }
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: clamp(48px, 7vw, 112px); } }
.contact-info h2 { margin-bottom: 20px; }
.contact-info > p { color: #3b3d41; max-width: 30em; }
.contact-list { margin: 28px 0; border-top: 1px solid var(--rule-strong); }
.contact-list li { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.contact-list span { font-size: 0.74rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: #3b3d41; }
.contact-list a { font-weight: 500; text-underline-offset: 4px; overflow-wrap: anywhere; }
.contact-note { font-size: 0.92rem; }
.contact-form { background: var(--white); padding: clamp(24px, 4vw, 48px); }
.form-title { font-size: 1.5rem; margin-bottom: 24px; }
.lead-form { display: grid; gap: 22px 24px; }
@media (min-width: 640px) { .lead-form { grid-template-columns: 1fr 1fr; } .field--full, .lead-form .form-status { grid-column: 1 / -1; } }
.field { display: grid; gap: 8px; align-content: start; }
.field label { font-size: 0.76rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.opt { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; font: 400 1rem/1.5 var(--sans); color: var(--ink); background: var(--white); border: 0; border-bottom: 1px solid var(--rule-strong); border-radius: 0; padding: 10px 0; min-height: 46px; appearance: none; -webkit-appearance: none; transition: border-color .2s var(--ease); }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 28px; }
.field textarea { border: 1px solid var(--rule-strong); padding: 12px 14px; resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 1px 0 0 var(--ink); }
.field textarea:focus { box-shadow: 0 0 0 1px var(--ink); }
.field-help { margin: 0; font-size: 0.86rem; color: var(--ink-2); }
.field-error { font-size: 0.86rem; color: #9b2c2c; min-height: 0; }
.field-error:empty { display: none; }
[aria-invalid="true"] { border-color: #9b2c2c !important; }
.consent label { display: flex; gap: 12px; align-items: flex-start; text-transform: none; letter-spacing: 0; font-size: 0.92rem; font-weight: 400; line-height: 1.5; cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; padding: 0; border: 1px solid var(--ink); appearance: none; -webkit-appearance: none; background: var(--white); display: grid; place-content: center; }
.consent input::after { content: ''; width: 10px; height: 10px; background: var(--ink); transform: scale(0); transition: transform .15s var(--ease); }
.consent input:checked::after { transform: scale(1); }
.consent a { text-underline-offset: 3px; }
.form-actions { margin-top: 4px; }
[data-sending="true"] { opacity: 0.6; pointer-events: none; }
.form-status { margin: 0; padding: 14px 16px; font-size: 0.95rem; border-left: 2px solid var(--gold); background: var(--silk); }
.form-status--ok { border-left-color: #2f6b45; }
.form-status--error { border-left-color: #9b2c2c; }

/* ---------- inner-page sections ---------- */
.choose-grid, .series-grid, .local-grid, .short-grid { display: grid; gap: 36px; }
@media (min-width: 960px) {
  .choose-grid, .series-grid { grid-template-columns: 4fr 8fr; gap: 64px; }
  .local-grid, .short-grid { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
}
.choose h2, .series h2, .local h2, .short h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 18px; }
.series { background: var(--silk); }
.series-grid p { color: var(--ink-2); }
.choose .sheet dt, .series .sheet dt { color: var(--ink); }
.statement { padding: clamp(56px, 8vw, 104px) 0; }
.statement-text { font-family: var(--serif); font-variation-settings: 'opsz' 20; font-style: italic; font-size: clamp(1.7rem, 3.4vw, 3rem); line-height: 1.2; max-width: 22em; margin: 0; }
.short p { color: var(--ink-2); }
.local { border-top: 1px solid var(--rule); }
.local p { color: var(--ink-2); max-width: 34em; }

/* ---------- stadslinjen (C12) ---------- */
.city { position: relative; display: grid; gap: 0; }
.city-stop { position: relative; padding: 0 0 28px 34px; }
.city-stop::before { content: ''; position: absolute; left: 4px; top: 14px; bottom: 0; width: 1px; background: linear-gradient(180deg, var(--gold), var(--champ)); }
.city-stop:last-child::before { display: none; }
.city-dot { position: absolute; left: 0; top: 10px; width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--gold-ink); background: var(--white); }
.city-stop.is-current .city-dot { background: var(--gold); border-color: var(--gold); }
.city-name { font-family: var(--serif); font-size: 1.4rem; line-height: 1.3; margin: 0 0 4px; }
.city-here { font-size: 0.74rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-ink); margin: 0; }
.city--big .city-stop { padding-bottom: 44px; }
.city--big .city-name { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 14px; }
.city--big p { color: var(--ink-2); max-width: 26em; }
@media (min-width: 900px) {
  .city--big { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding-top: 40px; }
  .city--big::before { content: ''; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: var(--light-line); }
  .city--big .city-stop { padding: 0; }
  .city--big .city-stop::before { display: none; }
  .city--big .city-dot { top: -40px; }
}
.stations { padding-top: clamp(48px, 7vw, 96px); }

/* ---------- area hub: three destinations on one light line ---------- */
/* One gold line runs down the page; each area branches off it one step further in, set in large Bodoni. */
.dest-section { padding-top: clamp(64px, 9vw, 120px); }
.dest-kicker { font-family: var(--sans); font-variation-settings: normal; font-size: 0.78rem; font-weight: 500; line-height: 1.5; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 clamp(40px, 6vw, 72px); }
.dest-kicker .dash { color: var(--gold-ink); }
.dest-list { position: relative; padding-left: 34px; }
.dest-list::before { content: ''; position: absolute; left: 4px; top: 10px; bottom: clamp(56px, 8vw, 120px); width: 1px; background: linear-gradient(180deg, var(--gold) 0%, #e7c98c 60%, var(--champ) 100%); transform-origin: top; }
.dest { --step: 0px; position: relative; padding: 0 0 clamp(64px, 9vw, 128px) var(--step); }
.dest-mark { position: absolute; left: -34px; top: 5px; width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--gold-ink); background: var(--white); transition: background-color .3s var(--ease), border-color .3s var(--ease); }
.dest-mark::after { content: ''; position: absolute; left: 8px; top: 3px; height: 1px; width: calc(var(--step) + 16px); background: linear-gradient(90deg, var(--gold), rgba(220, 205, 190, 0.3)); transform-origin: left; }
.dest-focus { margin: 0 0 10px; font-size: 0.75rem; font-weight: 500; line-height: 1.4; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-ink); }
.dest-name { --opsz: 30; font-size: clamp(2.7rem, 7.4vw, 6.2rem); font-weight: 500; line-height: 0.98; letter-spacing: -0.02em; margin: 0 0 clamp(20px, 3vw, 32px); transition: color .3s var(--ease); }
.dest-body { display: grid; gap: 18px; max-width: 34em; }
.dest-body p { margin: 0; color: var(--ink-2); }
.dest-links { display: grid; gap: 4px; align-content: start; }
.dest-links .link { display: inline; line-height: 1.6; }
.dest-links .link > span[aria-hidden] { margin-left: 0.4em; }
.dest:hover .dest-mark, .dest:focus-within .dest-mark { background: var(--gold); border-color: var(--gold); }
@media (min-width: 900px) {
  .dest { --step: calc(var(--i, 0) * clamp(64px, 10vw, 160px)); }
  .dest-body { max-width: 58em; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); column-gap: clamp(32px, 4vw, 56px); align-items: start; }
  .dest-body p { grid-row: span 2; }
}

/* ---------- band (C10) ---------- */
.band { background: var(--graphite); color: var(--white); padding: clamp(56px, 8vw, 96px) 0; }
.band-inner { display: grid; gap: 24px; align-items: center; }
.band-text { font-family: var(--serif); font-variation-settings: 'opsz' 18; font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.2; margin: 0; max-width: 20em; }
.band .actions { margin-top: 0; }
@media (min-width: 960px) { .band-inner { grid-template-columns: 1fr auto; gap: 64px; } }

/* ---------- policy ---------- */
.policy-body { max-width: 760px; }
.policy-body h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 40px 0 14px; }
.policy-body h3 { margin: 28px 0 10px; }
.policy-body p, .policy-body li { color: #3b3d41; }
.policy-body ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }

/* ---------- footer ---------- */
.site-footer { background: var(--graphite); color: #d9d7d2; padding: clamp(56px, 7vw, 88px) 0 28px; border-top: 1px solid rgba(221, 180, 95, 0.35); }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; } }
.footer-emblem { width: 72px; height: 72px; margin-bottom: 18px; }
.footer-name { font-family: var(--serif); font-size: 1.5rem; color: var(--white); margin-bottom: 8px; }
.footer-brand p { max-width: 22em; }
.footer-h { font-family: var(--sans); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-list li { margin-bottom: 10px; }
.footer-list a { color: #f1efeb; text-decoration: none; border-bottom: 1px solid rgba(241, 239, 235, 0.28); padding-bottom: 2px; overflow-wrap: anywhere; }
.footer-list a:hover { border-bottom-color: var(--gold); }
.footer-note { font-size: 0.88rem; color: #bdbab4; }
.footer-legal { margin-top: 56px; font-size: 0.82rem; color: #aaa7a1; }
.footer-legal p { margin: 0; padding-top: 22px; border-top: 1px solid rgba(241, 239, 235, 0.14); }

/* ---------- mobile booking bar (C10) ---------- */
.book-bar { display: none; }
@media (max-width: 959px) {
  body { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  .book-bar { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 40; display: grid; grid-template-columns: 1fr auto; background: var(--ink); color: var(--white); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18); overflow: hidden; transition: transform .3s var(--ease), opacity .3s var(--ease); }
  .book-bar a { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; color: var(--white); text-decoration: none; font: 500 0.78rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; }
  .book-bar-call { border-left: 1px solid rgba(255, 255, 255, 0.22); }
  .js .book-bar:not(.is-shown), html.nav-open .book-bar { transform: translateY(140%); opacity: 0; pointer-events: none; }
  .book-bar a { transition: background-color .2s var(--ease); }
  .book-bar a:active { background: rgba(255, 255, 255, 0.1); }
  .book-bar a:focus-visible { outline: 2px solid var(--gold); outline-offset: -6px; border-radius: 999px; }
}
@media (max-width: 359px) { .book-bar a { padding: 0 15px; letter-spacing: 0.1em; } }
@media (min-width: 600px) and (max-width: 959px) { .book-bar { left: auto; right: 24px; width: 400px; } }

/* ---------- reveal (motion-quality: one-shot, gate before first paint) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: min(calc(var(--i, 0) * 90ms), 360ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  /* Ljuslinjen, drawn once: label ticks, the process ruler, the area line and its branches.
     Every hook is decorative — text never depends on it; the hidden start state sits behind the .js gate. */
  .js [data-reveal] .tick { transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease) .25s; }
  .js [data-reveal].is-in .tick { transform: none; }
  .js .ruler[data-draw]::before, .js .dest-list[data-draw]::before { transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) .1s; }
  .js .dest-list[data-draw]::before { transform: scaleY(0); transform-origin: top; transition-duration: 1.6s; }
  .js .ruler[data-draw].is-in::before { transform: none; }
  .js .dest-list[data-draw].is-in::before { transform: none; }
  .js .ruler-step[data-reveal]::before { transform: scaleY(0); transform-origin: top; transition: transform .9s var(--ease) .3s; }
  .js .ruler-step[data-reveal].is-in::before { transform: none; }
  .js .dest[data-reveal] .dest-mark::after { transform: scaleX(0); transition: transform .9s var(--ease) .35s; }
  .js .dest[data-reveal].is-in .dest-mark::after { transform: none; }

  /* Editorial image reveal: the frame opens upward while the image settles. */
  .js .img-reveal img { clip-path: inset(0 0 12% 0); transform: scale(1.035); transition: clip-path 1.1s var(--ease), transform 1.4s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }
  .js .img-reveal.is-in img { clip-path: inset(0); transform: none; }

  /* Small responses around booking and navigation. */
  .link > span[aria-hidden], .tx-book > span[aria-hidden] { display: inline-block; transition: transform .25s var(--ease); }
  .link:hover > span[aria-hidden], .tx-book:hover > span[aria-hidden] { transform: translateX(4px); }
}
.quote-media, .ba-fig { overflow: hidden; }
