/* ===========================================================================
   Ulairat Terapeutisk Massasje
   Tokens and component classes are lifted from the "Organic" design system in
   design-source/_ds/. Only the parts this site actually uses are kept here;
   the untouched original stays in design-source/ for reference.
   =========================================================================== */

/* — self-hosted fonts (no Google Fonts request: faster, and no third-party
     transfer of visitor IPs, which matters for a Norwegian business) — */
@font-face {
  font-family: 'Caprasimo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/caprasimo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Caprasimo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/caprasimo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 700; /* variable font — one file covers 400/600/700 */
  font-display: swap;
  src: url('../fonts/figtree-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/figtree-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* — tokens — */
:root {
  --color-bg: #f5ead8;
  --color-surface: #ebddc5;
  --color-text: #201e1d;
  --color-accent: #c67139;
  --color-accent-2: #7a8a5e;
  --color-divider: color-mix(in srgb, #201e1d 16%, transparent);

  --color-neutral-100: #f9f4ed;

  --color-accent-100: #fff2eb;
  --color-accent-200: #ffe1d0;
  --color-accent-300: #ffc6a5;
  --color-accent-400: #f6a06b;
  --color-accent-600: #b2622d;
  --color-accent-700: #8c491a;
  --color-accent-800: #643312;

  --color-accent-2-100: #f0fae1;
  --color-accent-2-200: #e1eecc;
  --color-accent-2-500: #8fa073;
  --color-accent-2-800: #3d472b;

  --font-heading: 'Caprasimo', Georgia, serif;
  --font-body: 'Figtree', system-ui, -apple-system, sans-serif;

  --radius-md: 16px;

  --shadow-sm: 0 1px 2px color-mix(in srgb, #2e2b25 14%, transparent);
  --shadow-md: 0 3px 10px color-mix(in srgb, #2e2b25 16%, transparent);
  --shadow-lg: 0 12px 32px color-mix(in srgb, #2e2b25 22%, transparent);

  /* Horizontal page gutter — one knob, tightened at each breakpoint. */
  --gutter: 40px;
}

/* — base — */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0;
}

p { margin: 0; }
img { display: block; max-width: 100%; }

a { color: var(--color-accent-700); text-underline-offset: 3px; }
a:hover { color: var(--color-accent-800); }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent-700); outline-offset: 3px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--color-accent-800);
  color: var(--color-neutral-100);
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-md) 0;
}
.skip-link:focus { left: 0; color: var(--color-neutral-100); }

/* The design's photo treatment: desaturated and lifted so the warm ground reads
   through. Applied to photography only, never to the logo. */
.washed { filter: saturate(0.6) contrast(0.85) brightness(1.1) opacity(0.94); }

/* Hand-drawn-feeling asymmetric rounding, three variants so repeated images on
   one page do not read as the same stamped shape. */
.blob-a { border-radius: 52% 48% 44% 56% / 42% 40% 60% 58%; }
.blob-b { border-radius: 44% 56% 52% 48% / 50% 46% 54% 50%; }
.blob-c { border-radius: 48% 52% 46% 54% / 44% 42% 58% 56%; }
.blob-d { border-radius: 46% 54% 50% 50% / 48% 44% 56% 52%; }

/* — buttons — */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.2;
  color: var(--color-text);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 14px 28px;
  transition: background .25s ease, color .25s ease;
}
.btn-primary { background: var(--color-accent); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-accent-600); color: var(--color-bg); }
.btn-primary:active { background: var(--color-accent-700); }
.btn-secondary { border-color: var(--color-divider); color: var(--color-text); }
.btn-secondary:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); color: var(--color-text); }
.btn-ghost { color: var(--color-accent-700); padding: 8px 14px; }
.btn-ghost:hover { background: color-mix(in srgb, var(--color-accent) 12%, transparent); }
.btn-light { background: var(--color-accent-100); color: var(--color-accent-800); }
.btn-light:hover { background: var(--color-bg); color: var(--color-accent-800); }
.btn-sm { font-size: 14px; padding: 12px 22px; }
.btn-block { width: 100%; }

/* — tags — */
.tag {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 999px;
}
.tag-accent { background: var(--color-accent-100); color: var(--color-accent-800); }
.tag-accent-2 { background: var(--color-accent-2-100); color: var(--color-accent-2-800); }

/* — layout primitives — */
.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.band { padding-block: 84px; }
.band-surface { background: var(--color-surface); }
.band-sage { background: var(--color-accent-2-100); }
.section { padding-block: 92px; }

.eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent-700);
}
.section-title { font-size: clamp(30px, 3.3vw, 44px); margin-top: 14px; }
.section-lead {
  font-size: 18px;
  line-height: 1.6;
  max-width: 52ch;
  color: color-mix(in srgb, var(--color-text) 72%, transparent);
  margin-top: 14px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 46px;
}
/* Inside a head the title and lead sit on one baseline row, so they drop the
   stacked spacing they carry when used alone. */
.section-head > .section-title,
.section-head > .section-lead { margin-top: 0; }

/* — header — */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--color-bg) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-block: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  color: inherit;
  margin-right: auto;
}
.brand:hover { color: inherit; }
.brand__mark { width: 46px; height: 46px; object-fit: contain; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--font-heading);
  font-size: 19px;
  letter-spacing: 0.04em;
}
.brand__tag {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  color: color-mix(in srgb, var(--color-text) 52%, transparent);
}

.nav { display: flex; align-items: center; gap: 34px; }
.nav__link {
  text-decoration: none;
  color: inherit;
  font-size: 14px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nav__link:hover { color: var(--color-accent-700); }
/* Underline is always in the DOM so the link does not shift on activation. */
.nav__link::after {
  content: '';
  height: 2px;
  border-radius: 999px;
  background: var(--color-accent);
  opacity: 0;
  transition: opacity .35s ease;
}
.nav__link[aria-current='page']::after { opacity: 1; }
.nav__link--alt[aria-current='page']::after { background: var(--color-accent-2-500); }

.header__cta { flex: none; font-size: 13px; letter-spacing: 0.08em; padding: 11px 22px; }

/* — hero — */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
  padding-block: 88px 96px;
}
.hero__body { position: relative; animation: riseIn .8s ease-out both; }
.hero__figure { position: relative; animation: riseIn 1s ease-out .12s both; }
.hero__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}
.hero__kicker::before {
  content: '';
  height: 1px;
  width: 44px;
  flex: none;
  background: var(--color-accent);
}
.hero__title {
  font-size: clamp(40px, 5.1vw, 74px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  text-wrap: balance;
}
.hero__lead {
  font-size: 20px;
  line-height: 1.62;
  max-width: 34ch;
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
  margin-bottom: 36px;
  text-wrap: pretty;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__contact {
  margin-top: 26px;
  font-size: 15.5px;
  color: color-mix(in srgb, var(--color-text) 58%, transparent);
}
.hero__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.hero__badge {
  position: absolute;
  bottom: -18px;
  left: -22px;
  background: var(--color-bg);
  border-radius: 999px;
  padding: 14px 26px 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero__badge img { width: 42px; height: 42px; object-fit: cover; border-radius: 50%; }
/* Direct child only — the wrapper stacks, and the muted colour must land on the
   caption line without dragging the "20+ år" figure down with it. */
.hero__badge > span { display: flex; flex-direction: column; line-height: 1.2; }
.hero__badge strong { font-family: var(--font-heading); font-weight: 400; font-size: 17px; }
.hero__badge > span > span {
  font-size: 12px;
  color: color-mix(in srgb, var(--color-text) 58%, transparent);
}

/* Soft drifting colour fields behind the hero. Decorative only. */
.blur-field {
  position: absolute;
  border-radius: 50%;
  filter: blur(34px);
  pointer-events: none;
}
.blur-field--a {
  width: 520px;
  height: 520px;
  right: -140px;
  top: -60px;
  background: radial-gradient(circle at 40% 40%, var(--color-accent-2-200), transparent 68%);
  opacity: .72;
  animation: driftA 22s ease-in-out infinite;
}
.blur-field--b {
  width: 320px;
  height: 320px;
  left: -160px;
  bottom: -80px;
  background: radial-gradient(circle at 50% 50%, var(--color-accent-200), transparent 68%);
  opacity: .8;
  animation: driftB 26s ease-in-out infinite;
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes driftA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-18px, 22px) scale(1.06); }
}
@keyframes driftB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -16px) scale(0.95); }
}

/* — awards — */
.awards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.award {
  background: var(--color-bg);
  border-radius: 34px;
  padding: 34px 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  transition: transform .4s ease, box-shadow .4s ease;
}
.award:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.band-surface .award { background: var(--color-bg); }
.section .award { background: var(--color-surface); box-shadow: none; }
.award__rank {
  font-family: var(--font-heading);
  font-size: 54px;
  line-height: 1;
  color: var(--color-accent);
}
.award__place {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
}
.award p { font-size: 17px; line-height: 1.5; margin-top: 6px; }

/* — treatment teaser cards — */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--color-surface);
  border-radius: 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .45s ease, box-shadow .45s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card__img { width: 100%; height: 210px; object-fit: cover; }
.card__body {
  padding: 26px 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.card__dur {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent-700);
}
.card__body h3 { font-size: 23px; }
.card__body p {
  font-size: 15.5px;
  line-height: 1.62;
  color: color-mix(in srgb, var(--color-text) 74%, transparent);
}

/* — split feature (image + steps) — */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.split--wide { grid-template-columns: 1fr 0.85fr; }
.split--flip { grid-template-columns: 0.85fr 1.15fr; }
.split__img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; box-shadow: var(--shadow-md); }
.split__img--tall { aspect-ratio: 3 / 4; box-shadow: var(--shadow-lg); }
.split__img--wide { aspect-ratio: 4 / 3; }
.split__img--portrait { aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); }

.steps { display: flex; flex-direction: column; gap: 22px; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step__n {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-accent-2-200);
  color: var(--color-accent-2-800);
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-size: 18px;
}
.step h4 { font-size: 19px; margin: 6px 0 5px; }
.step p {
  font-size: 16px;
  line-height: 1.6;
  max-width: 44ch;
  color: color-mix(in srgb, var(--color-text) 72%, transparent);
}

/* — clinics — */
.clinics { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.clinic {
  background: var(--color-bg);
  border-radius: 38px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.clinic__img { width: 100%; height: 240px; object-fit: cover; }
.clinic__body {
  padding: 32px 34px 34px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.clinic__body > .tag, .clinic-row__body > .tag { align-self: flex-start; }
.clinic__body h3 { font-size: 27px; }
.clinic__body p { font-size: 16px; line-height: 1.6; color: color-mix(in srgb, var(--color-text) 74%, transparent); }
.clinic__body p.clinic__addr { white-space: pre-line; color: var(--color-text); font-size: 15px; }
.clinic__body p.clinic__phone { font-size: 15px; color: color-mix(in srgb, var(--color-text) 58%, transparent); }
.clinic__actions {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Full-width clinic rows on the Klinikkene page. */
.clinic-rows { display: flex; flex-direction: column; gap: 28px; }
.clinic-row {
  background: var(--color-surface);
  border-radius: 40px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
}
.clinic-row__img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.clinic-row__body {
  padding: 46px 50px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.clinic-row__body h2 { font-size: clamp(28px, 3vw, 38px); }
.clinic-row__body > p {
  font-size: 18px;
  line-height: 1.62;
  max-width: 48ch;
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
}
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 12px;
  padding-top: 24px;
  border-top: 1px solid color-mix(in srgb, var(--color-text) 12%, transparent);
}
.facts__label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--color-text) 52%, transparent);
  margin-bottom: 8px;
}
.facts p { font-size: 16.5px; line-height: 1.5; white-space: pre-line; }
.facts .muted { color: color-mix(in srgb, var(--color-text) 62%, transparent); }

/* — gallery — */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 28px;
  transition: transform .5s ease;
}
.gallery img:hover { transform: scale(1.03); }

/* — treatment list (Behandlinger) — */
.treatments { display: flex; flex-direction: column; margin-top: 56px; }
.treatment {
  display: grid;
  grid-template-columns: 76px 1fr 300px;
  gap: 40px;
  align-items: start;
  padding: 42px 0;
  border-top: 1px solid color-mix(in srgb, var(--color-text) 12%, transparent);
}
.treatment__n {
  font-family: var(--font-heading);
  font-size: 34px;
  color: var(--color-accent-300);
  line-height: 1;
}
.treatment h2 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 6px; }
.treatment__en {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--color-text) 50%, transparent);
  margin-bottom: 16px;
}
.treatment__body {
  font-size: 18px;
  line-height: 1.66;
  max-width: 56ch;
  color: color-mix(in srgb, var(--color-text) 80%, transparent);
}
.treatment__tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.treatment__aside {
  background: var(--color-surface);
  border-radius: 30px;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.treatment__aside .facts__label { margin-bottom: 0; }
.treatment__dur { font-family: var(--font-heading); font-size: 22px; }
.prices {
  border-top: 1px solid color-mix(in srgb, var(--color-text) 12%, transparent);
  padding-top: 14px;
  margin-top: 2px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.price {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 16px;
}
.price dt { color: color-mix(in srgb, var(--color-text) 62%, transparent); }
.price dd { margin: 0; font-family: var(--font-heading); }
.note {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid color-mix(in srgb, var(--color-text) 12%, transparent);
  font-size: 16px;
  color: color-mix(in srgb, var(--color-text) 60%, transparent);
}

/* — page intro (inner pages) — */
.page-head { padding-block: 76px 20px; }
.page-head h1 {
  font-size: clamp(36px, 4.6vw, 62px);
  margin: 16px 0 22px;
  line-height: 1.04;
}
.page-head p {
  font-size: 19px;
  line-height: 1.62;
  color: color-mix(in srgb, var(--color-text) 76%, transparent);
}
.measure-40 { max-width: 40ch; }
.measure-44 { max-width: 44ch; }

.prose p {
  font-size: 19px;
  line-height: 1.68;
  max-width: 52ch;
  color: color-mix(in srgb, var(--color-text) 80%, transparent);
}
.prose p + p { margin-top: 20px; }

/* — areas grid — */
.areas { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.area {
  background: var(--color-bg);
  border-radius: 26px;
  padding: 24px 26px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 17px;
  line-height: 1.35;
}
.area::before {
  content: '';
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent-2-500);
}

/* — closing CTA — */
.cta {
  background: var(--color-accent-800);
  color: var(--color-accent-100);
  padding-block: 90px;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  right: -110px;
  top: -140px;
  border-radius: 50%;
  background: radial-gradient(circle at 45% 45%, color-mix(in srgb, var(--color-accent-400) 34%, transparent), transparent 70%);
  filter: blur(28px);
  animation: driftB 24s ease-in-out infinite;
  pointer-events: none;
}
.cta__inner {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}
.cta h2 {
  font-size: clamp(30px, 3.6vw, 48px);
  margin-bottom: 14px;
  color: var(--color-neutral-100);
  max-width: 18ch;
}
.cta p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 44ch;
  color: color-mix(in srgb, var(--color-accent-100) 82%, transparent);
}
.cta__btn { font-size: 16px; padding: 18px 38px; }

/* — footer — */
.site-footer { padding-block: 64px 40px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.footer__logo { width: 190px; margin-bottom: 18px; }
.footer__about {
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 34ch;
  color: color-mix(in srgb, var(--color-text) 66%, transparent);
}
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__head {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--color-text) 50%, transparent);
  margin-bottom: 4px;
}
.footer__col p { font-size: 15.5px; line-height: 1.55; }
.footer__col p span { color: color-mix(in srgb, var(--color-text) 62%, transparent); }
.footer__col a {
  font-size: 15.5px;
  text-decoration: none;
  color: inherit;
}
.footer__col a:hover { color: var(--color-accent-700); }
.footer__col a.is-accent { color: var(--color-accent-700); }
.footer__legal {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid color-mix(in srgb, var(--color-text) 10%, transparent);
  font-size: 13.5px;
  color: color-mix(in srgb, var(--color-text) 52%, transparent);
}

/* ===========================================================================
   Responsive. The source design was fixed-width desktop only; most visitors to
   a local massage clinic arrive on a phone, so every multi-column grid below
   collapses and the header reflows to a stacked bar.
   =========================================================================== */

@media (max-width: 1100px) {
  :root { --gutter: 28px; }
  .nav { gap: 22px; }
  .site-header__inner { gap: 24px; }
  .split, .split--wide, .split--flip { gap: 44px; }
  .hero { gap: 44px; }
}

@media (max-width: 940px) {
  .awards, .cards { grid-template-columns: 1fr 1fr; }
  .treatment { grid-template-columns: 56px 1fr; gap: 24px; }
  .treatment__aside { grid-column: 2; max-width: 340px; }
  .clinic-row { grid-template-columns: 1fr; }
  .clinic-row__img { min-height: 260px; }
  .clinic-row__body { padding: 36px 32px; }
}

@media (max-width: 860px) {
  /* Header stacks: brand + booking on top, nav as its own scrollable row.
     Keeps the booking CTA visible at all times, which is the whole point. */
  .site-header__inner {
    flex-wrap: wrap;
    gap: 12px 16px;
    padding-block: 12px;
  }
  .nav {
    order: 3;
    width: 100%;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav__link { font-size: 13px; }
  .brand__mark { width: 40px; height: 40px; }
  .brand__name { font-size: 17px; }

  .hero, .split, .split--wide, .split--flip { grid-template-columns: 1fr; }
  .hero { padding-block: 56px 64px; gap: 48px; }
  /* Image first on the hero would push the headline below the fold. */
  .hero__figure { order: 2; }
  .hero__lead, .section-lead, .prose p, .treatment__body, .step p { max-width: none; }
  .split__img, .split__img--tall, .split__img--portrait { aspect-ratio: 4 / 3; }
  .clinics { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .band, .section { padding-block: 64px; }
  .page-head { padding-block: 52px 12px; }
  .cta { padding-block: 68px; }
  .cta__inner { gap: 28px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__about { max-width: none; }
}

@media (max-width: 620px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .awards, .cards, .areas, .facts { grid-template-columns: 1fr; }
  .treatment { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
  .treatment__n { font-size: 28px; }
  .treatment__aside { grid-column: 1; max-width: none; }
  .hero__badge { left: 0; bottom: -14px; padding: 12px 20px 12px 14px; }
  .hero__title { font-size: clamp(34px, 9vw, 46px); }
  .hero__lead { font-size: 18px; }
  .clinic-row__body { padding: 28px 24px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .btn { padding: 13px 24px; }
  .cta__inner { display: block; }
  .cta__inner .btn { margin-top: 26px; }
  .section-head { margin-bottom: 32px; }
}

@media (max-width: 420px) {
  .gallery { grid-template-columns: 1fr; }
  .hero__actions .btn, .clinic__actions .btn { width: 100%; }
}

/* Respect a reduced-motion preference: the drifting fields and rise-in are
   decorative, and continuous ambient motion is a vestibular trigger. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .hero__body, .hero__figure { opacity: 1; transform: none; }
}

@media print {
  .site-header, .cta, .blur-field, .skip-link { display: none; }
  body { background: #fff; font-size: 12pt; }
  .washed { filter: none; }
}

/* ===========================================================================
   Benja Siam only — the brand mark is an inline SVG rather than a raster logo,
   and the Heimdal page has a price menu the spa pages do not use.
   =========================================================================== */

.brand__mark--svg { width: 40px; height: 40px; flex: none; }
.brand__name--wide { font-size: 21px; letter-spacing: 0.005em; }
.brand__tag--wide { font-size: 9.5px; letter-spacing: 0.24em; }

.back-link {
  display: inline-block;
  font-size: 14px;
  text-decoration: none;
  color: var(--color-accent-2-800);
  letter-spacing: 0.06em;
}
.back-link:hover { color: var(--color-accent-800); }

/* Heimdal price menu — title/blurb, duration, price, on one row. */
.menu { display: flex; flex-direction: column; margin-top: 44px; }
.menu-row {
  display: grid;
  grid-template-columns: 1fr 210px 200px;
  gap: 36px;
  align-items: center;
  padding: 30px 0;
  border-top: 1px solid color-mix(in srgb, var(--color-text) 12%, transparent);
}
.menu-row h3 { font-size: 25px; margin-bottom: 8px; }
.menu-row__blurb {
  font-size: 16.5px;
  line-height: 1.6;
  max-width: 58ch;
  color: color-mix(in srgb, var(--color-text) 74%, transparent);
}
.menu-row__dur {
  font-size: 16px;
  letter-spacing: 0.04em;
  color: color-mix(in srgb, var(--color-text) 62%, transparent);
}
.menu-row__price { text-align: right; }
.menu-row__price strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 21px;
  color: var(--color-accent-800);
}
.menu-row__price span {
  display: block;
  font-size: 14.5px;
  line-height: 1.4;
  white-space: nowrap;
  color: color-mix(in srgb, var(--color-text) 52%, transparent);
}

.facts-card {
  background: var(--color-surface);
  border-radius: 40px;
  padding: 48px 52px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  align-items: start;
}
.facts-card p { font-size: 17px; line-height: 1.55; }

@media (max-width: 940px) {
  .menu-row { grid-template-columns: 1fr 160px; row-gap: 12px; }
  .menu-row__price { grid-column: 2; text-align: left; }
  .facts-card { grid-template-columns: 1fr 1fr; gap: 32px; padding: 40px 36px; }
}

@media (max-width: 620px) {
  .menu-row { grid-template-columns: 1fr; gap: 10px; padding: 26px 0; }
  .menu-row__price { grid-column: 1; }
  .menu-row__blurb { max-width: none; }
  .facts-card { grid-template-columns: 1fr; padding: 32px 26px; }
}
