/* =============================================================
   HT Hälsoterapeuten – site styles
   World: "Kvällsljus" – the salon at dusk. A dark plum room lit
   by soft lilac light, content in calm rounded boxes, motion as
   slow as breathing. Dark is default; light mode via data-theme.
   ============================================================= */

/* ---------- Tokens ---------- */
:root,
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #130c17;
  --bg-2: #1a1120;
  --surface: #211628;
  --surface-2: #2a1d32;
  --surface-3: #34253d;
  --border: rgba(236, 214, 244, 0.1);
  --border-strong: rgba(236, 214, 244, 0.22);
  --text: #f5edf6;
  --text-soft: #cdbcd2;
  --text-faint: #a593ab;
  --accent: #e3b8e0;
  --accent-hi: #efcdec;
  --on-accent: #1d1224;
  --accent-ink: #e3b8e0;
  --glow-1: rgba(178, 104, 214, 0.38);
  --glow-2: rgba(232, 138, 182, 0.24);
  --glow-3: rgba(112, 122, 232, 0.2);
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.75);
  --shadow-soft: 0 12px 30px -18px rgba(0, 0, 0, 0.6);
  --header-bg: rgba(19, 12, 23, 0.74);
  --focus: #efcdec;
  --success: #8fd0bd;
  --error: #ff9cab;
  --warn-bg: rgba(255, 156, 171, 0.08);
  --hue-sage: #8fd0bd;
  --hue-ansikte: #eaa6c2;
  --hue-fot: #a9bdf2;
  --hue-manikyr: #f0b9a2;
  --hue-lavasten: #cbc1b8;
  --map-ground: #1d1424;
  --map-street: #2d2135;
  --map-edge: #3b2d45;
  --map-bldg: #3a2b44;
  --map-square: #261a2d;
  --map-park: rgba(143, 208, 189, 0.16);
  --img-dim: 0.92;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f8f3f9;
  --bg-2: #f1e8f3;
  --surface: #ffffff;
  --surface-2: #faf5fb;
  --surface-3: #f2e9f4;
  --border: rgba(52, 22, 62, 0.1);
  --border-strong: rgba(52, 22, 62, 0.2);
  --text: #23142a;
  --text-soft: #574660;
  --text-faint: #6f5e76;
  --accent: #7d3f92;
  --accent-hi: #69307f;
  --on-accent: #ffffff;
  --accent-ink: #7d3f92;
  --glow-1: rgba(178, 104, 214, 0.2);
  --glow-2: rgba(232, 138, 182, 0.18);
  --glow-3: rgba(112, 122, 232, 0.12);
  --shadow: 0 24px 60px -30px rgba(60, 20, 70, 0.35);
  --shadow-soft: 0 12px 30px -20px rgba(60, 20, 70, 0.3);
  --header-bg: rgba(248, 243, 249, 0.82);
  --focus: #7d3f92;
  --success: #2d7a68;
  --error: #b0203a;
  --warn-bg: rgba(176, 32, 58, 0.06);
  --hue-sage: #2d7a68;
  --hue-ansikte: #ad4870;
  --hue-fot: #3d5ca8;
  --hue-manikyr: #b2553a;
  --hue-lavasten: #6c625a;
  --map-ground: #f3ecf5;
  --map-street: #ffffff;
  --map-edge: #e3d7e6;
  --map-bldg: #dccbe0;
  --map-square: #ebe1ee;
  --map-park: rgba(45, 122, 104, 0.14);
  --img-dim: 1;
}

:root {
  --font-display: "Marcellus", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-body: clamp(1.0625rem, 0.35vw + 0.98rem, 1.1875rem);
  --fs-lead: clamp(1.15rem, 0.6vw + 1rem, 1.375rem);
  --fs-small: 1rem;
  --fs-h1: clamp(2.75rem, 5vw + 1rem, 5.5rem);
  --fs-h2: clamp(2.1rem, 2.4vw + 1.1rem, 3.4rem);
  --fs-h3: clamp(1.4rem, 0.7vw + 1.15rem, 1.75rem);

  --s1: 0.5rem;
  --s2: 1rem;
  --s3: 1.5rem;
  --s4: 2rem;
  --s5: 3rem;
  --s6: 4rem;
  --s7: 6rem;

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --maxw: 76rem;
  --header-h: 4.75rem;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 24px;
  --r-xl: 32px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-calm: cubic-bezier(0.45, 0, 0.25, 1);
}

.swatch--bambu { --hue: var(--hue-sage); }
.swatch--ansikte { --hue: var(--hue-ansikte); }
.swatch--fot { --hue: var(--hue-fot); }
.swatch--manikyr { --hue: var(--hue-manikyr); }
.swatch--lavasten { --hue: var(--hue-lavasten); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.25rem);
  scrollbar-color: var(--surface-3) var(--bg);
  background: var(--bg);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  caret-color: var(--accent);
  overflow-x: clip;
  transition: background-color 400ms ease, color 400ms ease;
}

::selection { background: var(--accent); color: var(--on-accent); }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: 1.04; letter-spacing: -0.015em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; }

p { margin: 0; text-wrap: pretty; }
p + p { margin-top: 0.85em; }

a {
  color: inherit;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.22em;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
  transition: color 200ms ease, text-decoration-color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  a:hover { text-decoration-color: currentColor; }
}

:focus-visible {
  outline: 2.5px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: var(--s2);
  top: -100px;
  z-index: 100;
  background: var(--accent);
  color: var(--on-accent);
  padding: 0.75rem 1.25rem;
  border-radius: var(--r-sm);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: var(--s2); }

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.tnum { font-variant-numeric: tabular-nums; }
.accent { color: var(--accent-ink); }

.icon {
  width: 1.35em;
  height: 1.35em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.5rem;
  padding: 0.85rem 1.5rem;
  border: 1.5px solid transparent;
  border-radius: var(--r-md);
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition:
    transform 160ms var(--ease-out),
    background-color 240ms ease,
    border-color 240ms ease,
    color 240ms ease,
    box-shadow 240ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.32) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform 800ms var(--ease-out);
}
.btn .icon { width: 1.25em; height: 1.25em; }
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--accent-hi); }
  .btn:hover::after { transform: translateX(110%); }
}
.btn--lg { min-height: 3.875rem; padding-inline: 1.9rem; font-size: 1.1875rem; }
.btn--sm { min-height: 2.75rem; padding: 0.55rem 1rem; font-size: 1rem; border-radius: var(--r-sm); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
  box-shadow: none;
}
.btn--ghost::after { background: linear-gradient(110deg, transparent 30%, var(--glow-2) 50%, transparent 70%); }
@media (hover: hover) and (pointer: fine) {
  .btn--ghost:hover { background: var(--surface-2); border-color: var(--accent); box-shadow: none; }
}
.btn--soft {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--border);
  box-shadow: none;
}
@media (hover: hover) and (pointer: fine) {
  .btn--soft:hover { background: var(--surface-3); border-color: var(--border-strong); box-shadow: none; }
}
.btn[disabled], .btn[aria-disabled="true"] { cursor: not-allowed; opacity: 0.45; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .btn::after { display: none; }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  color: var(--accent-ink);
  font-weight: 600;
  text-decoration: none;
}
.link-arrow .icon { transition: transform 260ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .link-arrow:hover .icon { transform: translateX(4px); }
  .link-arrow:hover span { text-decoration: underline; text-underline-offset: 0.22em; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 300ms ease, background-color 400ms ease;
}
.site-header.is-scrolled { border-bottom-color: var(--border); }
.site-header__bar {
  display: flex;
  align-items: center;
  gap: var(--s3);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: auto;
  min-height: 3rem;
  text-decoration: none;
  color: var(--text);
}
.brand__mark { width: 2.4rem; height: 2.4rem; color: var(--accent); flex: none; }
.brand__name { font-family: var(--font-display); font-size: 1.4rem; line-height: 1; white-space: nowrap; }

.main-nav ul { display: flex; gap: 0.25rem; margin: 0; padding: 0; list-style: none; }
.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.25rem 0.85rem;
  border-radius: var(--r-sm);
  color: var(--text-soft);
  font-size: 1.05rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 200ms ease, background-color 200ms ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.3rem;
  width: 1.25rem;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: translateX(-50%) scaleX(0);
  transition: transform 300ms var(--ease-out);
}
.main-nav a[aria-current="page"] { color: var(--text); }
.main-nav a[aria-current="page"]::after { transform: translateX(-50%) scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .main-nav a:hover { color: var(--text); background: var(--surface); }
}

.header-actions { display: flex; align-items: center; gap: 0.6rem; }
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 2.875rem;
  height: 2.875rem;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out);
}
.icon-btn:active { transform: scale(0.95); }
.icon-btn .icon { width: 1.35rem; height: 1.35rem; }
@media (hover: hover) and (pointer: fine) {
  .icon-btn:hover { background: var(--surface-2); border-color: var(--accent); }
}
.theme-toggle .i-sun, :root[data-theme="light"] .theme-toggle .i-moon { display: none; }
:root[data-theme="light"] .theme-toggle .i-sun { display: block; }

.menu-toggle { display: none; gap: 0.5rem; width: auto; padding-inline: 0.9rem; font: 600 1.05rem/1 var(--font-body); }

@media (max-width: 1080px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; }
}
@media (max-width: 720px) {
  :root { --header-h: 4.25rem; }
  .header-book, .header-actions .theme-toggle { display: none; }
  .brand__mark { width: 2.1rem; height: 2.1rem; }
  .brand__name { font-size: 1.2rem; }
}

/* Mobile menu: native <dialog> sheet */
.menu-sheet {
  width: min(26rem, 100vw);
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0 0 0 auto;
  padding: 0;
  border: 0;
  border-left: 1px solid var(--border);
  background: var(--bg-2);
  color: var(--text);
  transform: translateX(0);
  transition: transform 460ms var(--ease-drawer), overlay 460ms allow-discrete, display 460ms allow-discrete;
}
.menu-sheet:not([open]) { transform: translateX(100%); }
@starting-style { .menu-sheet[open] { transform: translateX(100%); } }
.menu-sheet::backdrop {
  background: rgba(8, 4, 10, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 1;
  transition: opacity 460ms var(--ease-out), overlay 460ms allow-discrete, display 460ms allow-discrete;
}
.menu-sheet:not([open])::backdrop { opacity: 0; }
@starting-style { .menu-sheet[open]::backdrop { opacity: 0; } }
.menu-sheet__inner { display: flex; flex-direction: column; min-height: 100%; padding: var(--s3) var(--s3) var(--s4); }
.menu-sheet__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s3); }
.menu-sheet__title { font-family: var(--font-display); font-size: 1.5rem; }
.menu-sheet nav ul { list-style: none; margin: 0; padding: 0; }
.menu-sheet[open] nav li { animation: menu-item 520ms var(--ease-out) both; animation-delay: calc(120ms + var(--i, 0) * 50ms); }
@keyframes menu-item { from { opacity: 0; transform: translateX(18px); } }
.menu-sheet nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.75rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 1.6rem;
  text-decoration: none;
}
.menu-sheet nav a[aria-current="page"] { color: var(--accent-ink); }
.menu-sheet nav a .icon { color: var(--text-faint); }
.theme-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  margin-top: var(--s4);
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--text);
  font: 600 1.05rem/1.2 var(--font-body);
  text-align: left;
  cursor: pointer;
}
.theme-row__label { display: inline-flex; align-items: center; gap: 0.7rem; }
.switch {
  position: relative;
  width: 3.25rem;
  height: 1.9rem;
  flex: none;
  border-radius: 1rem;
  background: var(--surface-3);
  border: 1px solid var(--border-strong);
  transition: background-color 260ms ease;
}
.switch::after {
  content: "";
  position: absolute;
  top: 0.2rem;
  left: 0.2rem;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: var(--text);
  transition: transform 320ms var(--ease-out);
}
.theme-row[aria-checked="true"] .switch { background: var(--accent); }
.theme-row[aria-checked="true"] .switch::after { transform: translateX(1.35rem); background: var(--on-accent); }
.menu-sheet__actions { display: grid; gap: 0.7rem; margin-top: auto; padding-top: var(--s4); }
.menu-sheet__actions .btn { width: 100%; }
@media (prefers-reduced-motion: reduce) {
  .menu-sheet, .menu-sheet::backdrop { transition-property: opacity, overlay, display; }
  .menu-sheet:not([open]) { transform: none; opacity: 0; }
  @starting-style { .menu-sheet[open] { transform: none; opacity: 0; } }
  .menu-sheet[open] nav li { animation: none; }
}

/* Floating call/book bar on phones */
.action-bar {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: calc(0.75rem + env(safe-area-inset-bottom));
  z-index: 40;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--r-md) + 0.5rem);
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  transform: translateY(0);
  transition: transform 400ms var(--ease-out);
}
.action-bar.is-hidden { transform: translateY(140%); }
.action-bar .btn { min-height: 3.25rem; font-size: 1.1rem; padding-inline: 0.5rem; }
@media (max-width: 720px) {
  .action-bar { display: grid; }
  body { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
}

/* ---------- Ambient light (hero + closing) ---------- */
.ambient {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.ambient__blob {
  position: absolute;
  width: clamp(22rem, 48vw, 46rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--glow-1), transparent 64%);
  filter: blur(30px);
  opacity: 0.9;
  animation: drift 28s var(--ease-calm) infinite alternate;
}
.ambient__blob:nth-child(1) { top: -18%; left: -12%; }
.ambient__blob:nth-child(2) { top: 18%; right: -16%; background: radial-gradient(circle, var(--glow-2), transparent 64%); animation-duration: 34s; animation-delay: -8s; }
.ambient__blob:nth-child(3) { bottom: -30%; left: 30%; background: radial-gradient(circle, var(--glow-3), transparent 64%); animation-duration: 40s; animation-delay: -16s; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(6%, 4%, 0) scale(1.08); }
  100% { transform: translate3d(-4%, 8%, 0) scale(0.96); }
}
.ambient canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (prefers-reduced-motion: reduce) {
  .ambient__blob { animation: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3.5rem, 7vw, 6rem);
}
.hero__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--s4);
  align-items: center;
  min-height: min(calc(100svh - var(--header-h) - 6rem), 46rem);
}
.hero__copy { grid-column: 1 / span 7; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero h1 .line > span { display: inline-block; }
.hero__lead {
  margin-top: var(--s3);
  max-width: 34ch;
  color: var(--text-soft);
  font-size: var(--fs-lead);
  line-height: 1.5;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: var(--s4); }
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: var(--s4) 0 0;
  padding: 0;
  list-style: none;
}
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.3;
}
.chips .icon { color: var(--accent-ink); width: 1.2rem; height: 1.2rem; }

.hero__media { grid-column: 8 / span 5; position: relative; }
.portrait { position: relative; margin: 0; }
.portrait::before {
  /* the breathing halo */
  content: "";
  position: absolute;
  inset: -12% -10%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow-1), transparent 72%);
  animation: breathe 8s var(--ease-calm) infinite;
}
@keyframes breathe {
  0%, 100% { transform: scale(0.92); opacity: 0.65; }
  50% { transform: scale(1.06); opacity: 1; }
}
.portrait__frame {
  overflow: hidden;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
}
.portrait__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  filter: brightness(var(--img-dim));
}
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
  font-size: 0.98rem;
  line-height: 1.3;
}
.float-card > div, .float-card > span { animation: none; }
.float-card strong { display: block; font-weight: 600; color: var(--text); }
.float-card span { color: var(--text-soft); }
.float-card--name { left: -1.75rem; bottom: 2rem; }
.float-card--status { right: -1.25rem; top: 2rem; }
.float-card.is-floating { animation: float 7s var(--ease-calm) infinite; }
.float-card--status.is-floating { animation-delay: -3.5s; }
@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

.dot {
  width: 0.7rem;
  height: 0.7rem;
  flex: none;
  border-radius: 50%;
  background: var(--text-faint);
}
.open-status[data-open="true"] .dot { background: var(--success); box-shadow: 0 0 0 4px color-mix(in srgb, var(--success) 25%, transparent); }
.open-status[data-open="false"] .dot { background: var(--error); }

/* hero intro choreography (CSS only, runs once on load) */
.intro-rise { animation: rise 1100ms var(--ease-out) both; animation-delay: var(--delay, 0ms); }
.intro-fade { animation: fade-up 1000ms var(--ease-out) both; animation-delay: var(--delay, 0ms); }
.intro-reveal { animation: reveal 1500ms var(--ease-in-out) both; animation-delay: var(--delay, 0ms); }
.intro-reveal img { animation: settle 2600ms var(--ease-out) both; animation-delay: var(--delay, 0ms); }
.intro-pop { animation: pop 900ms var(--ease-out) both; animation-delay: var(--delay, 0ms); }
@keyframes rise { from { transform: translateY(110%); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } }
@keyframes reveal { from { clip-path: inset(100% 0 0 0 round var(--r-xl)); } to { clip-path: inset(0 0 0 0 round var(--r-xl)); } }
@keyframes settle { from { transform: scale(1.14); } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(0.96); } }
@media (prefers-reduced-motion: reduce) {
  .intro-rise, .intro-fade, .intro-reveal, .intro-reveal img, .intro-pop { animation: intro-plain 400ms ease both; }
  @keyframes intro-plain { from { opacity: 0; } }
  .portrait::before, .float-card.is-floating { animation: none; }
}

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; row-gap: var(--s5); }
  .hero__copy, .hero__media { grid-column: 1 / -1; }
  .hero__media { max-width: 30rem; width: 100%; margin-inline: auto; }
}
@media (max-width: 720px) {
  .hero__actions .btn { flex: 1 1 100%; }
  .float-card--name { left: 0.75rem; bottom: 0.75rem; }
  .float-card--status { right: 0.75rem; top: 0.75rem; }
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem);
}
.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: var(--s4);
  align-items: end;
}
.page-hero h1 { max-width: 16ch; }
.page-hero__lead { margin-top: var(--s3); max-width: 40ch; color: var(--text-soft); font-size: var(--fs-lead); line-height: 1.5; }
.page-hero__aside { justify-self: end; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.page-hero .chips { margin-top: var(--s3); }
.page-hero .ambient__blob { opacity: 0.6; }
@media (max-width: 860px) {
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__aside { justify-self: start; }
}

/* ---------- Sections & boxes ---------- */
.section { position: relative; padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--alt { background: var(--bg-2); }
.page-hero + .section { padding-top: clamp(1rem, 2vw, 1.5rem); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: var(--s2) var(--s4);
  margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
}
.section-head h2 { max-width: 18ch; }
.section-head p { max-width: 36ch; color: var(--text-soft); font-size: var(--fs-lead); line-height: 1.45; }

.box {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  padding: clamp(1.4rem, 3vw, 2.5rem);
}
.box h2 { font-size: clamp(1.9rem, 2vw + 1rem, 2.75rem); }
.box h3 { font-size: var(--fs-h3); }
.box-title { margin-bottom: var(--s2); }
.box-text { color: var(--text-soft); max-width: 52ch; }

.duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }

/* ---------- Treatment cards (home) ---------- */
.t-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.t-grid > li { grid-column: span 3; display: flex; }
.t-grid > li.is-wide { grid-column: span 6; }
.t-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: translate 500ms var(--ease-out), border-color 300ms ease, box-shadow 500ms var(--ease-out);
}
.t-card__img { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface-2); }
.t-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(var(--img-dim));
  transition: scale 900ms var(--ease-out);
}
.t-card__art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 30% 30%, color-mix(in srgb, var(--hue) 45%, transparent), transparent 70%),
    radial-gradient(60% 80% at 75% 75%, var(--glow-1), transparent 70%),
    var(--surface-2);
}
.t-card__art svg { width: 34%; height: auto; color: var(--text); opacity: 0.85; }
.t-card__body { display: flex; flex-direction: column; gap: 0.5rem; flex: 1; padding: 1.25rem 1.4rem 1.4rem; }
.t-card__body h3 { font-size: clamp(1.5rem, 0.8vw + 1.2rem, 1.9rem); }
.t-card__body p { color: var(--text-soft); font-size: 1.02rem; line-height: 1.45; }
.t-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.75rem;
  font-variant-numeric: tabular-nums;
}
.t-card__price { font-weight: 700; font-size: 1.12rem; }
.t-card__time { color: var(--text-faint); font-size: 1rem; }
.t-card__hue { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--hue); flex: none; }
.t-card__go {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-left: auto;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  color: var(--accent-ink);
  transition: transform 400ms var(--ease-out), background-color 300ms ease, color 300ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .t-card:hover { translate: 0 -6px; border-color: var(--border-strong); box-shadow: var(--shadow); }
  .t-card:hover .t-card__img img { scale: 1.06; }
  .t-card:hover .t-card__go { background: var(--accent); color: var(--on-accent); transform: translateX(3px); }
}
@media (max-width: 1100px) {
  .t-grid > li, .t-grid > li.is-wide { grid-column: span 6; }
}
@media (max-width: 620px) {
  .t-grid > li, .t-grid > li.is-wide { grid-column: 1 / -1; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .t-card__img img, .parallax img {
      scale: 1.12;
      animation: parallax linear both;
      animation-timeline: view();
    }
    @keyframes parallax {
      from { translate: 0 -5%; }
      to { translate: 0 5%; }
    }
    .t-card:hover .t-card__img img { scale: 1.18; }
  }
}

/* ---------- Feature box (photo + content) ---------- */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.feature--flip > .feature__media { order: 2; }
.feature__media { position: relative; margin: 0; min-height: 22rem; overflow: hidden; }
.feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(var(--img-dim)); }
.feature__body { padding: clamp(1.6rem, 4vw, 3.25rem); display: flex; flex-direction: column; justify-content: center; }
.feature__body h2 { font-size: clamp(2rem, 2.2vw + 1rem, 3rem); }
.feature__lead { margin-top: 0.75rem; color: var(--text-soft); font-size: var(--fs-lead); line-height: 1.45; max-width: 34ch; }
.feature__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; margin-top: var(--s4); }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature--flip > .feature__media { order: 0; }
  .feature__media { min-height: 0; aspect-ratio: 4 / 3; }
}

.price-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.6rem 0.95rem;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 1.15rem;
  font-variant-numeric: tabular-nums;
}
.price-pill small { font-weight: 500; font-size: 0.98rem; color: var(--text-faint); }

/* ---------- Steps ---------- */
.steps {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 0.75rem;
  margin: var(--s4) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps::before {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: 1rem;
  height: 1px;
  background: var(--border-strong);
}
.steps li { position: relative; padding-top: 2.75rem; counter-increment: step; color: var(--text-soft); font-size: 0.98rem; line-height: 1.35; }
.steps li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--hue, var(--accent));
  background: var(--surface);
  color: var(--hue, var(--accent));
  font-weight: 700;
  font-size: 0.95rem;
}
.steps strong { display: block; color: var(--text); font-weight: 600; font-size: 1.05rem; }
.steps--stack { grid-auto-flow: row; gap: 1.1rem; }
.steps--stack::before { left: 1rem; right: auto; top: 1rem; bottom: 1rem; width: 1px; height: auto; }
.steps--stack li { padding-top: 0.15rem; padding-left: 3rem; min-height: 2rem; }
@media (max-width: 760px) {
  .steps { grid-auto-flow: row; gap: 1.1rem; }
  .steps::before { left: 1rem; right: auto; top: 1rem; bottom: 1rem; width: 1px; height: auto; }
  .steps li { padding-top: 0.15rem; padding-left: 3rem; min-height: 2rem; }
}

/* ---------- Ticks, tags, notes ---------- */
.ticks { list-style: none; margin: var(--s3) 0 0; padding: 0; display: grid; gap: 0.6rem; }
.ticks li { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start; color: var(--text-soft); line-height: 1.45; }
.ticks .icon { color: var(--hue, var(--accent-ink)); width: 1.3rem; height: 1.3rem; margin-top: 0.12rem; }
.ticks strong { color: var(--text); font-weight: 600; }
.ticks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s4); }
@media (max-width: 620px) { .ticks--2 { grid-template-columns: 1fr; } }

.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: var(--s3) 0 0; padding: 0; list-style: none; }
.tags li {
  padding: 0.45rem 0.85rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  font-weight: 600;
  font-size: 1rem;
}

.note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  margin-top: var(--s3);
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface-2);
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.5;
}
.note .icon { color: var(--accent-ink); width: 1.3rem; height: 1.3rem; margin-top: 0.1rem; }
.note strong { color: var(--text); font-weight: 600; }
.note--warn { background: var(--warn-bg); }
.note--warn .icon { color: var(--error); }

/* ---------- Find us ---------- */
.find {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: stretch;
}
.map-box { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.map { width: 100%; height: auto; }
.map text { font-family: var(--font-body); }
.m-ground { fill: var(--map-ground); }
.m-street { fill: var(--map-street); stroke: var(--map-edge); stroke-width: 2; }
.m-bldg { fill: var(--map-bldg); }
.m-square { fill: var(--map-square); stroke: var(--map-edge); stroke-width: 2; }
.m-park { fill: var(--map-park); stroke: var(--hue-sage); stroke-width: 1.5; }
.m-salon { fill: var(--accent); }
.m-pin { fill: var(--accent); stroke: var(--bg); stroke-width: 3; }
.m-pulse { fill: none; stroke: var(--accent); stroke-width: 3; transform-box: fill-box; transform-origin: center; animation: m-pulse 2.8s var(--ease-out) infinite; }
@keyframes m-pulse { 0% { transform: scale(0.5); opacity: 0.9; } 100% { transform: scale(1.8); opacity: 0; } }
.m-lbl { font-size: 18px; fill: var(--text-soft); }
.m-street-lbl { font-size: 15px; fill: var(--text-faint); letter-spacing: 0.02em; }
.m-park-lbl { font-size: 18px; font-weight: 600; fill: var(--hue-sage); text-anchor: middle; }
.map .m-sq-lbl { font-family: var(--font-display); font-size: 24px; fill: var(--text); }
.m-p { fill: var(--hue-fot); }
.m-p-lbl { font-size: 20px; font-weight: 700; fill: var(--bg); }
.m-callout { fill: var(--text); }
.m-callout-t { font-size: 20px; font-weight: 700; fill: var(--bg); }
.m-callout-s { font-size: 16px; fill: var(--bg); opacity: 0.8; }
.m-n { font-size: 18px; font-weight: 700; fill: var(--text-soft); }
.m-n-arrow { fill: var(--text-soft); }
@media (prefers-reduced-motion: reduce) { .m-pulse { animation: none; opacity: 0.6; } }
.map-box__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-top: auto;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 1rem;
  color: var(--text-soft);
}
.map-box__foot a { color: var(--accent-ink); font-weight: 600; }
.ways { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; align-content: start; }
.ways li {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
}
.ways__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  color: var(--accent-ink);
}
.ways strong { display: block; font-weight: 600; font-size: 1.08rem; }
.ways span { color: var(--text-soft); font-size: 1rem; line-height: 1.45; }
.ways li.doorbell { grid-template-columns: 4.5rem 1fr; align-items: center; }
.doorbell img { width: 4.5rem; height: 5.5rem; object-fit: cover; object-position: 50% 40%; border-radius: var(--r-sm); }
@media (max-width: 900px) { .find { grid-template-columns: 1fr; } }

/* ---------- Hours ---------- */
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 0.75rem 0; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours th { font-weight: 500; color: var(--text-soft); }
.hours td { text-align: right; font-weight: 700; }
.hours td small { display: block; font-weight: 400; color: var(--text-faint); font-size: 0.95rem; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--accent-ink); }
.hours tr.is-today th::after { content: " · idag"; font-weight: 700; }

/* ---------- Gift / friskvård duo ---------- */
.gift { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.gift__media { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; }
.gift__media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 35%; filter: brightness(var(--img-dim)); }
.gift__body { padding: clamp(1.4rem, 3vw, 2.25rem); display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.gift__body p { color: var(--text-soft); }
.gift__body .btn { margin-top: var(--s2); align-self: flex-start; }
.frisk { display: flex; flex-direction: column; gap: 0.6rem; overflow: hidden; }
.frisk > * { position: relative; }
.frisk p { color: var(--text-soft); }
.frisk .btn { margin-top: auto; align-self: flex-start; }
.frisk__glow {
  position: absolute !important;
  right: -20%;
  top: -30%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--hue-sage) 26%, transparent), transparent 65%);
  pointer-events: none;
}
.frisk__list { list-style: none; margin: var(--s2) 0 var(--s3); padding: 0; display: grid; gap: 0.5rem; }
.frisk__list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.frisk__list b { font-weight: 600; }
.frisk__list span { color: var(--text-faint); }

/* ---------- About teaser ---------- */
.creds { list-style: none; margin: var(--s3) 0 0; padding: 0; display: grid; gap: 0.6rem; }
.creds li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
  padding: 0.85rem 1rem;
  border-radius: var(--r-md);
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.creds .icon { color: var(--accent-ink); margin-top: 0.1rem; }
.creds strong { display: block; font-weight: 600; line-height: 1.3; }
.creds span { color: var(--text-faint); font-size: 0.98rem; }

/* ---------- Closing ---------- */
.close { position: relative; isolation: isolate; overflow: hidden; text-align: center; }
.close__orb {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: min(44rem, 120vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow-1), var(--glow-2) 45%, transparent 72%);
  transform: translate(-50%, -50%);
  animation: breathe-orb 8s var(--ease-calm) infinite;
}
@keyframes breathe-orb {
  0%, 100% { transform: translate(-50%, -50%) scale(0.85); opacity: 0.6; }
  50% { transform: translate(-50%, -50%) scale(1.05); opacity: 1; }
}
.close h2 { font-size: clamp(2.6rem, 4vw + 1rem, 4.75rem); }
.close__lead { margin: var(--s3) auto 0; max-width: 34ch; color: var(--text-soft); font-size: var(--fs-lead); }
.close__breath { margin-top: var(--s2); color: var(--text-faint); font-size: 1rem; letter-spacing: 0.04em; }
.close__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: var(--s4); }
@media (prefers-reduced-motion: reduce) { .close__orb { animation: none; } }
@media (max-width: 720px) { .close__actions .btn { flex: 1 1 100%; } }

/* ---------- Treatments page ---------- */
.tabs {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  padding-block: 0.6rem;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-block: 1px solid var(--border);
}
.tabs ul {
  display: flex;
  gap: 0.4rem;
  margin: 0;
  padding: 0.1rem;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs ul::-webkit-scrollbar { display: none; }
.tabs a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.4rem 1rem;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  color: var(--text-soft);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 240ms ease, color 240ms ease, border-color 240ms ease;
}
.tabs a::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--hue); }
.tabs a.is-active { background: var(--surface-2); border-color: var(--border-strong); color: var(--text); }
@media (hover: hover) and (pointer: fine) {
  .tabs a:hover { color: var(--text); background: var(--surface); }
}

.treatments { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); }
.t-box {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3.5vw, 3rem);
  overflow: hidden;
  scroll-margin-top: calc(var(--header-h) + 5rem);
}
.t-box::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -15%;
  width: 55%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--hue) 16%, transparent), transparent 65%);
  pointer-events: none;
}
.t-box > * { position: relative; }
.t-box__head { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 0.75rem; }
.t-box__badge {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--hue) 18%, transparent);
  color: var(--hue);
}
.t-box__lead { color: var(--text-soft); font-size: var(--fs-lead); line-height: 1.45; max-width: 40ch; }
.t-box__side { display: flex; flex-direction: column; gap: var(--s3); }
.t-box__photo { margin: 0; overflow: hidden; border-radius: var(--r-md); border: 1px solid var(--border); aspect-ratio: 3 / 2; }
.t-box__photo img { width: 100%; height: 100%; object-fit: cover; filter: brightness(var(--img-dim)); }
.t-sub { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; line-height: 1.3; margin: var(--s4) 0 0; color: var(--text); letter-spacing: 0; }
.t-sub:first-child { margin-top: 0; }
.t-sub + .ticks, .t-sub + .tags, .t-sub + .steps, .t-sub + .price-list { margin-top: 0.75rem; }
@media (max-width: 900px) {
  .t-box { grid-template-columns: 1fr; }
}

/* price list */
.price-list { list-style: none; margin: var(--s3) 0 0; padding: 0; display: grid; gap: 0.5rem; }
.price-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.5rem 1rem;
  padding: 0.8rem 0.8rem 0.8rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface-2);
  transition: border-color 240ms ease, background-color 240ms ease;
}
.price-list__name { font-weight: 600; line-height: 1.3; }
.price-list__name small { display: block; font-weight: 400; color: var(--text-faint); font-size: 0.95rem; margin-top: 0.1rem; }
.price-list__fig { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; line-height: 1.25; }
.price-list__fig b { display: block; font-size: 1.12rem; }
.price-list__fig span { color: var(--text-faint); font-size: 0.95rem; }
@media (hover: hover) and (pointer: fine) {
  .price-list li:hover { border-color: var(--border-strong); background: var(--surface-3); }
}
@media (max-width: 560px) {
  .price-list li { grid-template-columns: minmax(0, 1fr) auto; }
  .price-list li .btn { grid-column: 1 / -1; width: 100%; }
}

/* ---------- About page ---------- */
.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about-hero .portrait { max-width: 26rem; width: 100%; justify-self: end; }
.thai-hello { display: inline-block; margin-top: var(--s2); color: var(--accent-ink); font-size: 1.15rem; }
@media (max-width: 900px) {
  .about-hero { grid-template-columns: 1fr; }
  .about-hero .portrait { justify-self: center; }
}

.story { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.story .box h3 { margin-bottom: 0.5rem; }
.story .box p { color: var(--text-soft); }
.story__icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-bottom: var(--s2); border-radius: var(--r-sm); background: var(--surface-2); color: var(--accent-ink); }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.timeline li {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  grid-template-areas: "when h" "when p";
  gap: 0.25rem 1.5rem;
  align-items: baseline;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
}
.timeline .when { grid-area: when; color: var(--accent-ink); font-weight: 600; font-size: 1rem; }
.timeline h3 { grid-area: h; font-size: 1.35rem; }
.timeline p:not(.when) { grid-area: p; color: var(--text-soft); font-size: 1rem; }
@media (max-width: 640px) {
  .timeline li { grid-template-columns: 1fr; grid-template-areas: "h" "when" "p"; }
}

.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(0.75rem, 1.5vw, 1.25rem); }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--border); min-height: 16rem; }
.gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(var(--img-dim)); transition: scale 900ms var(--ease-out); }
.gallery figcaption {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
}
.gallery figure:nth-child(1) { grid-column: span 7; aspect-ratio: 16 / 10; }
.gallery figure:nth-child(2) { grid-column: span 5; }
.gallery figure:nth-child(3) { grid-column: span 5; }
.gallery figure:nth-child(4) { grid-column: span 7; aspect-ratio: 16 / 10; }
@media (hover: hover) and (pointer: fine) {
  .gallery figure:hover img { scale: 1.04; }
}
@media (max-width: 720px) {
  .gallery figure:nth-child(n) { grid-column: 1 / -1; aspect-ratio: 4 / 3; min-height: 0; }
}

.signature { margin-top: var(--s3); font-family: var(--font-display); font-size: 1.6rem; }
.signature small { display: block; margin-top: 0.2rem; font-family: var(--font-body); font-size: 1rem; color: var(--text-faint); }

/* ---------- Forms ---------- */
.field { display: grid; gap: 0.45rem; }
.field + .field { margin-top: var(--s3); }
.field label, .field .label { font-weight: 600; font-size: 1.05rem; }
.field .hint { font-size: 0.98rem; color: var(--text-faint); font-weight: 400; }
.input, .textarea {
  width: 100%;
  min-height: 3.5rem;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-md);
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
  font-size: 1.1rem;
  transition: border-color 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}
.textarea { min-height: 8.5rem; resize: vertical; line-height: 1.5; }
.input::placeholder, .textarea::placeholder { color: var(--text-faint); }
.input:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); background: var(--surface); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--error); }
.field__error { display: none; color: var(--error); font-weight: 600; font-size: 1rem; }
.field__error .icon { display: inline; vertical-align: -0.3em; width: 1.2em; height: 1.2em; margin-right: 0.3rem; }
[aria-invalid="true"] ~ .field__error, .field.is-invalid .field__error { display: block; }
.req { color: var(--accent-ink); }
.check { display: grid; grid-template-columns: auto 1fr; gap: 0.8rem; align-items: start; font-size: 1.05rem; cursor: pointer; color: var(--text-soft); }
.check input { width: 1.5rem; height: 1.5rem; margin: 0.12rem 0 0; accent-color: var(--accent); }
.form-status { display: none; margin-top: var(--s3); padding: 1rem 1.2rem; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--surface-2); }
.form-status.is-shown { display: block; }
.form-status--ok { border-color: var(--success); }
.form-fineprint { margin: var(--s3) 0; font-size: 0.98rem; color: var(--text-faint); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(1rem, 2vw, 1.5rem); align-items: start; }
.contact-col { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.contact-ways { display: grid; gap: 0.6rem; }
.contact-way {
  display: grid;
  grid-template-columns: 2.75rem 1fr auto;
  gap: 0.9rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface-2);
  text-decoration: none;
  transition: border-color 240ms ease, background-color 240ms ease, translate 300ms var(--ease-out);
}
.contact-way strong { display: block; font-weight: 600; font-size: 1.1rem; }
.contact-way span { color: var(--text-faint); font-size: 0.98rem; }
.contact-way > .icon:last-child { color: var(--text-faint); }
@media (hover: hover) and (pointer: fine) {
  a.contact-way:hover { border-color: var(--accent); translate: 3px 0; }
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-2); }
.footer-main { padding-block: clamp(2.75rem, 5vw, 4rem) var(--s3); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: var(--s4); }
.footer-grid h2 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: 0.02em; color: var(--text); margin-bottom: 0.75rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.2rem; }
.footer-grid a { display: inline-flex; align-items: center; min-height: 2.5rem; color: var(--text-soft); text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
  .footer-grid a:hover { color: var(--text); }
}
.footer-brand p { margin-top: 0.9rem; max-width: 28ch; color: var(--text-soft); }
.footer-hours { display: grid; gap: 0.4rem; color: var(--text-soft); font-variant-numeric: tabular-nums; }
.footer-hours b { color: var(--text); font-weight: 600; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-top: var(--s5);
  padding-top: var(--s3);
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 0.95rem;
}
.footer-bottom [lang="th"] { color: var(--accent-ink); }
.footer-staff { display: inline-flex; align-items: center; gap: 0.4rem; color: inherit; text-decoration: none; }
.footer-staff .icon { width: 1rem; height: 1rem; }
@media (hover: hover) and (pointer: fine) {
  .footer-staff:hover { color: var(--text); text-decoration: underline; text-underline-offset: 0.2em; }
}
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* theme switch: circular wipe via View Transitions */
::view-transition-old(root),
::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* ---------- Booking ---------- */
.booking-shell { display: grid; grid-template-columns: minmax(0, 1fr) 22rem; gap: clamp(1rem, 2.5vw, 1.75rem); align-items: start; }
.booking-main { min-width: 0; }
@media (max-width: 1000px) { .booking-shell { grid-template-columns: 1fr; } }

/* honeypot for bots – never shown */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.stepper { position: relative; margin: 0 0 var(--s4); }
.stepper ol { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.stepper__track, .stepper__fill { position: absolute; top: 1.1rem; left: 10%; right: 10%; height: 2px; border-radius: 2px; }
.stepper__track { background: var(--border-strong); }
.stepper__fill { background: var(--accent); transform-origin: left center; transform: scaleX(var(--progress, 0)); transition: transform 600ms var(--ease-in-out); }
.stepper li { position: relative; display: grid; justify-items: center; text-align: center; }
.stepper button { display: grid; justify-items: center; gap: 0.5rem; padding: 0; border: 0; background: none; color: var(--text-faint); font: inherit; font-size: 0.98rem; line-height: 1.2; cursor: pointer; min-height: 3rem; }
.stepper button:disabled { cursor: default; }
.stepper__knot {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border-strong);
  background: var(--bg);
  color: var(--text-faint);
  font-weight: 700;
  font-size: 1rem;
  transition: background-color 300ms ease, border-color 300ms ease, color 300ms ease, transform 300ms var(--ease-out);
}
.stepper li.is-done .stepper__knot { background: var(--surface-3); border-color: var(--accent); color: var(--accent-ink); }
.stepper li.is-done button { color: var(--text-soft); }
.stepper li.is-current .stepper__knot { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: scale(1.1); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 18%, transparent); }
.stepper li.is-current button { color: var(--text); font-weight: 600; }
@media (max-width: 640px) {
  .stepper__label { display: none; }
  .stepper li.is-current .stepper__label { display: block; position: absolute; top: 2.9rem; white-space: nowrap; }
  .stepper { margin-bottom: var(--s5); }
}
@media (prefers-reduced-motion: reduce) { .stepper__fill { transition: none; } }

.step-panel { animation: panel-in 450ms var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateX(16px); } }
@media (prefers-reduced-motion: reduce) {
  .step-panel { animation: panel-fade 200ms ease; }
  @keyframes panel-fade { from { opacity: 0; } }
}
.step-panel h2 { font-size: clamp(1.75rem, 1.4vw + 1.2rem, 2.4rem); margin-bottom: 0.5rem; }
.step-intro { color: var(--text-soft); margin-bottom: var(--s3); }

.toggle-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: center;
  margin-bottom: var(--s3);
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface-2);
  cursor: pointer;
}
.toggle-row input { width: 1.5rem; height: 1.5rem; margin: 0; accent-color: var(--accent); }
.toggle-row strong { display: block; font-weight: 600; }
.toggle-row span span { color: var(--text-faint); font-size: 0.98rem; }

.svc-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.svc-group + .svc-group { margin-top: var(--s4); }
.svc-group h3 { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.75rem; font-size: 1.4rem; }
.svc-group h3::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--hue); }
.svc-list { display: grid; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.svc {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.9rem;
  align-items: center;
  min-height: 4.25rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface-2);
  cursor: pointer;
  transition: border-color 200ms ease, background-color 200ms ease;
}
.svc input { width: 1.4rem; height: 1.4rem; margin: 0; accent-color: var(--accent); }
.svc__name { font-weight: 600; line-height: 1.3; }
.svc__sub { display: block; font-weight: 400; font-size: 0.95rem; color: var(--text-faint); }
.svc__price { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.svc__price b { display: block; font-size: 1.1rem; }
.svc__price span { font-size: 0.95rem; color: var(--text-faint); }
.svc:has(input:checked) { border-color: var(--accent); background: var(--surface-3); }
.svc:has(input:focus-visible) { outline: 2.5px solid var(--focus); outline-offset: 2px; }
.svc--phone { cursor: default; border-style: dashed; }
.svc--phone .svc__price a { color: var(--accent-ink); font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  .svc:not(.svc--phone):hover { border-color: var(--border-strong); }
}

.times-label { font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; margin: var(--s3) 0 0.7rem; letter-spacing: 0; }
.days { display: flex; gap: 0.5rem; margin: 0 0 var(--s2); padding: 0.25rem 0.1rem 0.75rem; overflow-x: auto; scroll-snap-type: x proximity; list-style: none; scrollbar-width: thin; }
.day {
  scroll-snap-align: start;
  display: grid;
  justify-items: center;
  gap: 0.15rem;
  min-width: 5rem;
  padding: 0.7rem 0.5rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
  cursor: pointer;
  transition: border-color 200ms ease, background-color 200ms ease, color 200ms ease, transform 200ms var(--ease-out);
}
.day:active { transform: scale(0.96); }
.day__wd { font-size: 0.92rem; color: var(--text-faint); white-space: nowrap; }
.day__d { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.1; }
.day__m { font-size: 0.92rem; color: var(--text-faint); }
.day[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.day[aria-pressed="true"] .day__wd, .day[aria-pressed="true"] .day__m { color: var(--on-accent); opacity: 0.85; }
.day:disabled { cursor: not-allowed; opacity: 0.4; }
@media (hover: hover) and (pointer: fine) {
  .day:not(:disabled):not([aria-pressed="true"]):hover { border-color: var(--border-strong); }
}
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr)); gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.times li { animation: fade-up 450ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 25ms); }
@media (prefers-reduced-motion: reduce) { .times li { animation: none; } }
.time {
  width: 100%;
  min-height: 3.25rem;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-md);
  background: var(--surface-2);
  color: var(--text);
  font: 600 1.15rem/1 var(--font-body);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: border-color 200ms ease, background-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out);
}
.time:active { transform: scale(0.96); }
.time[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
@media (hover: hover) and (pointer: fine) {
  .time:not([aria-pressed="true"]):hover { border-color: var(--accent); }
}
.empty-times { padding: 1.1rem; border: 1px dashed var(--border-strong); border-radius: var(--r-md); color: var(--text-soft); }

.pay-options { display: grid; gap: 0.6rem; border: 0; margin: 0; padding: 0; }
.pay-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1rem 1.1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface-2);
  cursor: pointer;
  transition: border-color 200ms ease, background-color 200ms ease;
}
.pay-option input { width: 1.4rem; height: 1.4rem; margin: 0.15rem 0 0; accent-color: var(--accent); }
.pay-option strong { display: block; font-weight: 600; font-size: 1.1rem; }
.pay-option span span { color: var(--text-faint); font-size: 0.98rem; }
.pay-option:has(input:checked) { border-color: var(--accent); background: var(--surface-3); }
.pay-option:has(input:focus-visible) { outline: 2.5px solid var(--focus); outline-offset: 2px; }

.stripe-box { margin-top: var(--s3); padding: 1.2rem; border: 1.5px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
.stripe-box__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 0.9rem; }
.stripe-box__head strong { font-weight: 600; }
.stripe-box__lock { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--text-faint); font-size: 0.95rem; }
#payment-element { min-height: 9rem; }
.stripe-box__test { margin-bottom: 0.9rem; padding: 0.7rem 0.9rem; border: 1px dashed var(--accent); border-radius: var(--r-sm); color: var(--text-soft); font-size: 0.98rem; }
.stripe-box__test strong { color: var(--accent-ink); }
.stripe-box__loading, .days__loading { color: var(--text-faint); animation: breathe-text 1.6s ease-in-out infinite alternate; }
.days__loading { padding: 1rem 0.25rem; }
@keyframes breathe-text { from { opacity: 0.55; } to { opacity: 1; } }
.pay-options + .note { margin-top: var(--s3); }
.pay-frisk-off { margin-top: 0.7rem; color: var(--text-faint); font-size: 0.98rem; }
.code-box { margin-top: var(--s3); padding: 1.2rem; border: 1.5px solid var(--border); border-radius: var(--r-md); background: var(--surface); animation: fade-up 350ms var(--ease-out) both; }
.code-box .input { font-variant-numeric: tabular-nums; letter-spacing: 0.06em; text-transform: uppercase; }
.code-box__help { margin-top: 0.8rem; color: var(--text-soft); font-size: 0.98rem; }
#salon-note { margin-top: var(--s3); }
.stripe-box__note { margin-top: 0.8rem; color: var(--text-faint); font-size: 0.95rem; }

.step-hint { display: flex; align-items: center; gap: 0.5rem; margin-top: var(--s3); color: var(--error); font-weight: 600; }
.step-panel .note { margin: 0 0 var(--s3); }
.flow-error { margin: 0 0 var(--s3); }
.step-nav { display: flex; justify-content: space-between; gap: 0.75rem; margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--border); }
.step-nav .btn:only-child { margin-left: auto; }

.summary { position: sticky; top: calc(var(--header-h) + 1.25rem); padding: 0; overflow: hidden; }
.summary__body { padding: 1.4rem; }
.summary h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.summary dl { margin: 0; display: grid; gap: 0.8rem; }
.summary dt { font-size: 0.92rem; color: var(--text-faint); }
.summary dd { margin: 0.1rem 0 0; font-weight: 600; line-height: 1.35; }
.summary dd.is-empty { font-weight: 400; color: var(--text-faint); }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.summary__total b { font-family: var(--font-display); font-size: 1.9rem; font-weight: 400; font-variant-numeric: tabular-nums; }
.summary__phone { padding: 1rem 1.4rem 1.2rem; border-top: 1px solid var(--border); background: var(--surface-2); color: var(--text-soft); font-size: 0.98rem; }
.summary__phone a { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.2rem; min-height: 2.75rem; color: var(--text); font-weight: 700; font-size: 1.2rem; text-decoration: none; }
.summary__phone .icon { color: var(--accent-ink); }
@media (max-width: 1000px) { .summary { position: static; } }

.confirm { text-align: left; }
.confirm__mark { width: 4rem; height: 4rem; margin-bottom: var(--s2); color: var(--success); }
.confirm__mark path, .confirm__mark circle { stroke-dasharray: 80; stroke-dashoffset: 80; animation: draw 1100ms var(--ease-out) 150ms forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .confirm__mark path, .confirm__mark circle { animation: none; stroke-dashoffset: 0; } }
.confirm h2 { margin-bottom: 0.5rem; }
.confirm > p { color: var(--text-soft); }
.confirm dl { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1.5rem; margin: var(--s3) 0; padding: 1rem 1.2rem; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--border); }
.confirm dt { color: var(--text-faint); }
.confirm dd { margin: 0; font-weight: 600; }
.confirm__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Manage booking (avboka.html) ---------- */
.manage { max-width: 40rem; margin-inline: auto; padding: clamp(1.25rem, 3vw, 2.25rem); }
.manage__loading { color: var(--text-faint); animation: breathe-text 1.6s ease-in-out infinite alternate; }
.manage__status { display: inline-block; margin-bottom: var(--s2); padding: 0.3rem 0.7rem; border-radius: var(--r-sm); border: 1px solid var(--border-strong); font-size: 0.95rem; font-weight: 600; color: var(--text-soft); }
.manage__status.is-ok { color: var(--success); border-color: currentColor; }
.manage__status.is-off { color: var(--text-faint); }
.manage__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: var(--s3); }
.manage__ask { margin-top: var(--s3); padding: 1.1rem 1.2rem; border-radius: var(--r-md); border: 1px solid var(--border-strong); background: var(--surface-2); animation: fade-up 350ms var(--ease-out) both; }
.manage__ask p { color: var(--text-soft); }
.manage__ask strong { color: var(--text); }
.manage__foot { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--border); }

.policy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.policy-grid .box h3 { margin-bottom: 0.5rem; }
.policy-grid .box p { color: var(--text-soft); }
@media (max-width: 900px) { .policy-grid { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.notfound { min-height: 62vh; display: grid; align-items: center; }

/* ---------- Print ---------- */
@media print {
  .site-header, .action-bar, .menu-sheet, .tabs, .ambient { display: none !important; }
  body { padding: 0; background: #fff; color: #000; }
}

/* ---------- Small pieces ---------- */
.section-foot { margin-top: var(--s4); }
.page-hero--compact { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2rem); }
.float-card__icon {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  flex: none;
  border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--accent) 20%, transparent);
  color: var(--accent-ink);
}
.float-card__icon .icon { width: 1.25rem; height: 1.25rem; }
.float-card > span:last-child { display: grid; }
.status-box { display: inline-flex; align-items: center; gap: 0.8rem; padding: 0.9rem 1.2rem; }
.status-box > span:last-child { display: grid; line-height: 1.3; }
.status-box strong { font-weight: 600; }
.status-box .open-status__sub { color: var(--text-soft); font-size: 0.98rem; }

.feature__media--art {
  display: grid;
  place-items: center;
  background:
    radial-gradient(55% 65% at 35% 35%, color-mix(in srgb, var(--hue) 40%, transparent), transparent 70%),
    radial-gradient(55% 65% at 70% 70%, var(--glow-1), transparent 70%),
    var(--surface-2);
}
.feature__media--art .icon {
  position: relative;
  width: 34%;
  height: auto;
  max-width: 11rem;
  color: var(--text);
  opacity: 0.8;
  stroke-width: 1;
  animation: breathe-icon 8s var(--ease-calm) infinite;
}
@keyframes breathe-icon { 0%, 100% { scale: 0.94; } 50% { scale: 1.04; } }
@media (prefers-reduced-motion: reduce) { .feature__media--art .icon { animation: none; } }
.t-card__art .icon { stroke-width: 1.1; }

.box--inset {
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface-2);
}
.box--inset p { color: var(--text-soft); font-size: 1rem; }
.box--inset .t-sub { margin: 0 0 0.6rem; }
.box--inset .tags, .box--inset .ticks { margin-top: 0.6rem; }
.box--inset .tags li { background: var(--surface); }

.fr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); align-items: start; }
.fr-card { display: flex; flex-direction: column; gap: 0.6rem; }
.fr-card h2 { font-size: clamp(1.6rem, 1vw + 1.2rem, 2rem); margin-top: 0.5rem; }
.fr-card > p { color: var(--text-soft); }
.fr-card .price-list { margin-top: var(--s2); }
.fr-card .note { margin-top: 0.4rem; }
@media (max-width: 960px) { .fr-grid { grid-template-columns: 1fr; } }

.booking-main.box { padding: clamp(1.25rem, 3vw, 2.25rem); }
.contact-form { margin-top: var(--s3); }
.box > .note:first-of-type { margin-top: var(--s3); }
.hero .ambient__blob:nth-child(1) { opacity: 1; }
/* ---------- Läs mer (benefits disclosure) ---------- */
.more {
  margin-top: var(--s3);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface-2);
  overflow: hidden;
  transition: border-color 240ms ease;
}
.more[open] { border-color: var(--border-strong); }
.more summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.25rem;
  padding: 0.75rem 1.1rem;
  color: var(--accent-ink);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: background-color 200ms ease;
}
.more summary::-webkit-details-marker { display: none; }
.more summary .icon { transition: transform 360ms var(--ease-out); }
.more[open] summary .icon { transform: rotate(180deg); }
.more .when-open { display: none; }
.more[open] .when-open { display: inline; }
.more[open] .when-closed { display: none; }
@media (hover: hover) and (pointer: fine) {
  .more summary:hover { background: var(--surface-3); }
}
.more__body { overflow: hidden; }
.more__inner { padding: 0.25rem 1.1rem 1.15rem; }
.more__inner > p { color: var(--text-soft); font-size: 1rem; }
.more__inner .ticks { margin-top: 0.85rem; }

/* card "Läs mer" label */
.t-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
}
.t-card__more .icon { width: 1.1rem; height: 1.1rem; transition: transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .t-card:hover .t-card__more .icon { transform: translateX(4px); }
}
.t-grid > li { grid-column: span 4; }
.t-grid > li.is-wide { grid-column: span 6; }
@media (max-width: 1100px) { .t-grid > li, .t-grid > li.is-wide { grid-column: span 6; } .t-grid > li:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 620px) { .t-grid > li, .t-grid > li.is-wide, .t-grid > li:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* accepted-payment logos */
.logos { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: var(--s3) 0 0; padding: 0; list-style: none; }
.logos li { display: grid; place-items: center; height: 4.25rem; padding: 0; border-radius: var(--r-sm); overflow: hidden; background: #fff; border: 1px solid var(--border); }
.logos img { height: 100%; width: auto; }
.logos--lg li { height: 5.5rem; }

/* payment-method boxes (friskvård page) */
.pay-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); align-items: stretch; }
.pay-card { display: flex; flex-direction: column; gap: 0.6rem; }
.pay-card h3 { margin-top: 0.4rem; }
.pay-card > p { color: var(--text-soft); }
.pay-card__logo { height: 4.75rem; display: flex; align-items: center; }
.pay-card__logo img { height: 100%; width: auto; border-radius: var(--r-sm); }
.pay-card .ticks { margin-top: 0.4rem; }
.pay-card .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 960px) { .pay-grid { grid-template-columns: 1fr; } }

.gallery--3 figure:nth-child(n) { grid-column: span 4; aspect-ratio: 3 / 4; min-height: 0; }
@media (max-width: 720px) { .gallery--3 figure:nth-child(n) { grid-column: 1 / -1; aspect-ratio: 4 / 5; } }
.fr-card h3 { font-size: clamp(1.6rem, 1vw + 1.2rem, 2rem); margin-top: 0.5rem; }
.fr-card .link-arrow { margin-top: auto; padding-top: 0.5rem; }
.section-head--inbox { margin-bottom: var(--s3); align-items: center; }
.creds--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .creds--grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .creds--grid { grid-template-columns: 1fr; } }
.feature__body .more + .more { margin-top: 0.6rem; }
.feature__body h2 + .more { margin-top: var(--s3); }
.pay-card__logo .story__icon { margin: 0; width: 4.75rem; height: 4.75rem; border-radius: var(--r-sm); }
.pay-card__logo .story__icon .icon { width: 2rem; height: 2rem; }