/* Stora Ekeberg – webbplats
   Ren CSS utan byggsteg. Moderna funktioner används som progressiv förbättring:
   scroll-drivna animationer, view transitions, popover, :has(), container queries, oklch(). */

@layer reset, base, layout, components, pages, motion;

/* ---------- Typsnitt (självhostade, SIL OFL) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Designtokens ---------- */
:root {
  color-scheme: light;

  /* Färger hämtade ur huset: putsad fasad, tegeltak, tallskog, mässingslampor */
  --paper: oklch(97.2% 0.011 85);
  --cream: oklch(94.2% 0.024 84);
  --sand: oklch(89% 0.038 80);
  --ink: oklch(23% 0.026 165);
  --ink-soft: oklch(40% 0.022 165);
  --forest: oklch(31% 0.045 162);
  --forest-deep: oklch(24% 0.036 165);
  --sage: oklch(86% 0.035 145);
  --tegel: oklch(54% 0.14 38);
  --tegel-deep: oklch(46% 0.13 36);
  --brass: oklch(76% 0.1 80);
  --line: color-mix(in oklch, var(--ink) 13%, transparent);
  --line-strong: color-mix(in oklch, var(--ink) 22%, transparent);

  --font-display: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  --font-body: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--2: clamp(0.74rem, 0.72rem + 0.1vw, 0.8rem);
  --step--1: clamp(0.85rem, 0.82rem + 0.15vw, 0.95rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.18rem, 1.1rem + 0.4vw, 1.42rem);
  --step-2: clamp(1.42rem, 1.26rem + 0.8vw, 1.95rem);
  --step-3: clamp(1.72rem, 1.42rem + 1.5vw, 2.7rem);
  --step-4: clamp(2.1rem, 1.55rem + 2.7vw, 3.8rem);
  --step-5: clamp(2.6rem, 1.6rem + 5vw, 5.6rem);
  --step-6: clamp(3rem, 1.5rem + 7.4vw, 7.6rem);

  --space-2xs: 0.375rem;
  --space-xs: 0.625rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  --space-xl: clamp(3.5rem, 2.4rem + 5vw, 7rem);
  --space-2xl: clamp(5rem, 3rem + 8vw, 10rem);

  --gutter: clamp(1.25rem, 0.6rem + 3.2vw, 3rem);
  --max: 84rem;
  --narrow: 46rem;
  --radius-s: 0.625rem;
  --radius: 1.125rem;
  --radius-l: 1.75rem;
  --header-h: 4.75rem;

  --shadow-s: 0 1px 2px oklch(20% 0.03 160 / 0.06), 0 4px 12px -4px oklch(20% 0.03 160 / 0.12);
  --shadow: 0 1px 2px oklch(20% 0.03 160 / 0.06), 0 18px 40px -16px oklch(20% 0.04 160 / 0.28);
  --shadow-l: 0 2px 6px oklch(20% 0.03 160 / 0.08), 0 40px 80px -30px oklch(20% 0.05 160 / 0.45);

  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.5, 1);
}

/* ---------- Reset ---------- */
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  * { margin: 0; }
  html {
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
    interpolate-size: allow-keywords;
    scroll-padding-top: calc(var(--header-h) + 1rem);
  }
  body { min-height: 100svh; }
  img, picture, svg, video, iframe { display: block; max-width: 100%; }
  img { height: auto; }
  input, button, textarea, select { font: inherit; color: inherit; }
  button { cursor: pointer; }
  p, h1, h2, h3, h4, li, dd, figcaption { overflow-wrap: break-word; }
  ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
  table { border-collapse: collapse; }
}

/* ---------- Bas ---------- */
@layer base {
  html { background: var(--paper); }
  @media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
  }
  body {
    font-family: var(--font-body);
    font-size: var(--step-0);
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    font-kerning: normal;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
  }
  h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 480;
    line-height: 1.08;
    letter-spacing: -0.015em;
    text-wrap: balance;
    font-optical-sizing: auto;
  }
  h1 { font-size: var(--step-5); }
  h2 { font-size: var(--step-4); }
  h3 { font-size: var(--step-2); line-height: 1.15; }
  h4 { font-size: var(--step-1); }
  :is(h1, h2, h3) em { font-style: italic; font-weight: 400; color: var(--accent-em, var(--tegel)); }
  p { text-wrap: pretty; }
  a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
  a:hover { text-decoration-thickness: 2px; }
  strong { font-weight: 650; }
  ::selection { background: var(--tegel); color: var(--paper); }
  :focus-visible {
    outline: 2.5px solid var(--tegel);
    outline-offset: 3px;
    border-radius: 4px;
  }
  .icon {
    width: 1.25em;
    height: 1.25em;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .skip-link {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 100;
    padding: 0.75rem 1.1rem;
    background: var(--ink);
    color: var(--paper);
    border-radius: var(--radius-s);
    font-weight: 600;
    text-decoration: none;
    translate: 0 -200%;
    transition: translate 0.2s var(--ease-out);
  }
  .skip-link:focus-visible { translate: 0 0; }
}

/* ---------- Layout ---------- */
@layer layout {
  .container {
    width: min(100% - 2 * var(--gutter), var(--max));
    margin-inline: auto;
  }
  .container--narrow { width: min(100% - 2 * var(--gutter), var(--narrow)); }
  .section { padding-block: var(--space-xl); }
  .section--tight { padding-block: var(--space-l); }
  .section + .section--flush { padding-top: 0; }
  .band--cream { background: var(--cream); }
  .band--cream .room-card { background: var(--paper); }
  .stack > * + * { margin-top: var(--stack, 1em); }
  .section-head {
    display: grid;
    gap: var(--space-s);
    max-width: 44rem;
    margin-bottom: var(--space-l);
  }
  .section-head--split {
    max-width: none;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: end;
    gap: var(--space-m) var(--space-l);
  }
  @media (max-width: 52rem) {
    .section-head--split { grid-template-columns: 1fr; }
  }
  main { display: block; }
  main:not(:has(> .hero:first-child)) { padding-top: var(--header-h); }
}

/* ---------- Komponenter ---------- */
@layer components {
  /* Ögonbryn & ingress */
  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    font-size: var(--step--1);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--eyebrow, var(--tegel-deep));
  }
  .eyebrow::before {
    content: "";
    width: 1.75em;
    height: 1px;
    background: currentColor;
  }
  .lead {
    font-size: var(--step-1);
    line-height: 1.5;
    color: var(--lead, var(--ink-soft));
    max-width: 40rem;
  }

  /* Knappar */
  .btn {
    --btn-bg: var(--ink);
    --btn-fg: var(--paper);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55em;
    min-height: 3rem;
    padding: 0.8em 1.45em;
    border: 1.5px solid var(--btn-border, transparent);
    border-radius: 999px;
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-weight: 600;
    font-size: var(--step-0);
    line-height: 1.1;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.25s var(--ease-out), color 0.25s, border-color 0.25s, translate 0.25s var(--ease-out), box-shadow 0.25s;
  }
  .btn:hover { translate: 0 -2px; box-shadow: var(--shadow-s); }
  .btn:active { translate: 0 0; }
  .btn .icon { transition: translate 0.25s var(--ease-out); }
  .btn:hover .icon--arrow { translate: 3px 0; }
  .btn--primary { --btn-bg: var(--tegel); --btn-fg: oklch(99% 0.005 85); }
  .btn--primary:hover { --btn-bg: var(--tegel-deep); }
  .btn--light { --btn-bg: var(--paper); --btn-fg: var(--ink); }
  .btn--ghost { --btn-bg: transparent; --btn-fg: currentColor; --btn-border: var(--line-strong); }
  .btn--ghost:hover { --btn-border: currentColor; }
  .btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--paper); --btn-border: color-mix(in oklch, var(--paper) 45%, transparent); }
  .btn--ghost-light:hover { --btn-border: var(--paper); }
  .btn--small { min-height: 2.6rem; padding: 0.6em 1.15em; font-size: var(--step--1); }
  .btn-row { display: flex; flex-wrap: wrap; gap: var(--space-xs); align-items: center; }

  .text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45em;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: color-mix(in oklch, currentColor 35%, transparent);
    text-underline-offset: 0.3em;
  }
  .text-link:hover { text-decoration-color: currentColor; }
  .text-link .icon { width: 1.1em; height: 1.1em; transition: translate 0.25s var(--ease-out); }
  .text-link:hover .icon { translate: 3px 0; }

  /* ---------- Sidhuvud ---------- */
  .site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    view-transition-name: site-header;
    color: var(--ink);
    background: color-mix(in oklch, var(--paper) 86%, transparent);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    backdrop-filter: blur(16px) saturate(1.4);
    box-shadow: 0 1px 0 var(--line);
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
  }
  .site-header__inner {
    display: flex;
    align-items: center;
    gap: var(--space-m);
    height: var(--header-h);
  }
  .brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    margin-right: auto;
  }
  .brand__mark { width: 2.35rem; height: 2.35rem; flex: none; }
  .brand__mark .gable { fill: var(--tegel); }
  .brand__mark .detail { fill: var(--paper); }
  .brand__text { display: grid; line-height: 1; }
  .brand__name {
    font-family: var(--font-display);
    font-size: 1.32rem;
    font-weight: 560;
    letter-spacing: -0.01em;
  }
  .brand__tag {
    margin-top: 0.3rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0.75;
  }
  .nav { display: flex; align-items: center; gap: 0.25rem; }
  .nav__link {
    position: relative;
    padding: 0.55rem 0.85rem;
    font-weight: 550;
    text-decoration: none;
    border-radius: 999px;
    transition: background-color 0.2s;
  }
  .nav__link:hover { background: color-mix(in oklch, currentColor 9%, transparent); }
  .nav__link[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.2rem;
    height: 2px;
    border-radius: 2px;
    background: var(--tegel);
  }
  .header-cta { margin-left: 0.5rem; }
  .menu-toggle {
    display: none;
    place-items: center;
    width: 2.9rem;
    height: 2.9rem;
    border: 1.5px solid color-mix(in oklch, currentColor 30%, transparent);
    border-radius: 999px;
    background: transparent;
  }
  .menu-toggle .icon { width: 1.4rem; height: 1.4rem; }
  @media (max-width: 62rem) {
    .nav { display: none; }
    .menu-toggle { display: grid; }
  }
  @media (max-width: 30rem) {
    .brand__tag { display: none; }
    .site-header__inner { gap: var(--space-s); }
  }
  @media (max-width: 21rem) {
    .header-cta { display: none; }
  }

  /* Header ovanpå hero: transparent tills man skrollar */
  :root:has(.hero) .site-header {
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
    color: oklch(99% 0.004 85);
  }
  :root:has(.hero) .site-header::before {
    content: "";
    position: absolute;
    inset: 0 0 -3rem;
    z-index: -1;
    background: linear-gradient(to bottom, oklch(18% 0.02 165 / 0.55), transparent);
    pointer-events: none;
    transition: opacity 0.3s;
  }
  :root:has(.hero) .site-header.is-scrolled {
    background: color-mix(in oklch, var(--paper) 86%, transparent);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    backdrop-filter: blur(16px) saturate(1.4);
    box-shadow: 0 1px 0 var(--line);
    color: var(--ink);
  }
  :root:has(.hero) .site-header.is-scrolled::before { opacity: 0; }
  @supports (animation-timeline: scroll()) {
    :root:has(.hero) .site-header {
      animation: header-solid linear both;
      animation-timeline: scroll(root);
      animation-range: 4rem 9rem;
    }
    :root:has(.hero) .site-header::before {
      animation: fade-out linear both;
      animation-timeline: scroll(root);
      animation-range: 4rem 9rem;
    }
  }
  @keyframes header-solid {
    to {
      background: color-mix(in oklch, var(--paper) 86%, transparent);
      -webkit-backdrop-filter: blur(16px) saturate(1.4);
      backdrop-filter: blur(16px) saturate(1.4);
      box-shadow: 0 1px 0 var(--line);
      color: var(--ink);
    }
  }
  @keyframes fade-out { to { opacity: 0; } }

  /* Mobilmeny (Popover API) */
  .mobile-nav {
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: var(--space-s) var(--gutter) var(--space-l);
    border: 0;
    background: var(--forest-deep);
    color: var(--paper);
    display: none;
    flex-direction: column;
    opacity: 0;
    translate: 0 -1.5rem;
    transition: opacity 0.3s var(--ease-out), translate 0.35s var(--ease-out), display 0.35s allow-discrete, overlay 0.35s allow-discrete;
  }
  .mobile-nav:popover-open {
    display: flex;
    opacity: 1;
    translate: 0 0;
  }
  @starting-style {
    .mobile-nav:popover-open { opacity: 0; translate: 0 -1.5rem; }
  }
  .mobile-nav::backdrop { background: oklch(15% 0.02 165 / 0.4); }
  .mobile-nav__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: calc(var(--header-h) - var(--space-s));
  }
  .mobile-nav .mobile-nav__close { display: grid; color: var(--paper); }
  .mobile-nav__links {
    display: grid;
    gap: 0.2rem;
    margin-block: var(--space-l) auto;
    padding: 0;
    list-style: none;
  }
  .mobile-nav__links a {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding-block: 0.65rem;
    border-bottom: 1px solid color-mix(in oklch, var(--paper) 14%, transparent);
    font-family: var(--font-display);
    font-size: var(--step-3);
    text-decoration: none;
  }
  .mobile-nav__links a span { font-family: var(--font-body); font-size: var(--step--1); opacity: 0.6; }
  .mobile-nav__footer { display: grid; gap: var(--space-s); margin-top: var(--space-l); }
  .mobile-nav__footer .btn { width: 100%; }

  /* ---------- Hero ---------- */
  .hero {
    position: relative;
    isolation: isolate;
    display: grid;
    align-items: end;
    min-height: max(40rem, 100svh);
    padding-block: calc(var(--header-h) + var(--space-l)) var(--space-l);
    color: oklch(99% 0.004 85);
    overflow: clip;
  }
  .hero__media {
    position: absolute;
    inset: 0;
    z-index: -10;
  }
  .hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 62% 30%;
  }
  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -9;
    background:
      linear-gradient(to top, oklch(17% 0.025 165 / 0.5) 0%, oklch(17% 0.025 165 / 0.42) 30%, oklch(17% 0.025 165 / 0.16) 60%, oklch(17% 0.025 165 / 0) 80%),
      linear-gradient(100deg, oklch(17% 0.025 165 / 0.62) 0%, oklch(17% 0.025 165 / 0.3) 40%, transparent 66%);
  }

  /* Rörelsegrafik i hero: ljusstrålar, skog i tre djup, dimma, ljuspartiklar och gavelklockan.
     Alla kontinuerliga animationer använder bara transform/opacity och körs i kompositorn. */
  .hero__light {
    position: absolute;
    inset: 0;
    z-index: -8;
    overflow: hidden;
    pointer-events: none;
  }
  .hero__light span {
    position: absolute;
    top: -35%;
    right: 6%;
    width: 22vmax;
    height: 160%;
    background: radial-gradient(50% 55% at 50% 0%, oklch(97% 0.06 85 / 0.6), oklch(97% 0.06 85 / 0) 72%);
    transform-origin: 50% 0;
    rotate: var(--r);
    opacity: 0.45;
    --r: 34deg;
  }
  .hero__light span:nth-child(2) { right: 20%; width: 13vmax; opacity: 0.35; --r: 40deg; }
  .hero__light span:nth-child(3) { right: -8%; width: 30vmax; opacity: 0.3; --r: 26deg; }

  .hero__forest {
    position: absolute;
    inset: auto 0 0;
    height: 40%;
    z-index: -7;
    pointer-events: none;
  }
  .hero__layer { position: absolute; inset: auto 0 0; }
  .hero__layer--back { height: 88%; color: oklch(40% 0.03 165 / 0.55); --shift: 12px; }
  .hero__layer--mid { height: 66%; color: oklch(26% 0.035 163 / 0.92); --shift: 26px; }
  .hero__layer--front { height: 58%; color: oklch(15% 0.025 165); --shift: 46px; }
  .hero__sway { position: absolute; inset: 0; transform-origin: 50% 100%; }
  /* Lite överbredd så att skogen kan följa muspekaren i sidled utan att kanterna syns */
  .hero__forest-svg {
    display: block;
    width: calc(100% + 2 * var(--shift));
    height: 100%;
    margin-left: calc(-1 * var(--shift));
    fill: currentColor;
    translate: calc(var(--px, 0) * var(--shift) * -2) calc(var(--py, 0) * var(--shift) * -0.4);
    transition: translate 1.1s var(--ease-out);
  }
  .hero__mist {
    position: absolute;
    left: 0;
    bottom: 26%;
    width: 200%;
    height: 40%;
    background:
      radial-gradient(38% 50% at 25% 55%, oklch(96% 0.02 85 / 0.28), transparent 70%),
      radial-gradient(30% 42% at 72% 45%, oklch(96% 0.02 85 / 0.2), transparent 70%);
    background-size: 50% 100%;
  }
  .hero__mist--front {
    bottom: -4%;
    height: 34%;
    opacity: 0.6;
  }

  .hero__motes {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -6;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1.6s var(--ease-out);
  }
  .hero__motes.is-on { opacity: 1; }

  .hero__clock {
    position: absolute;
    right: var(--gutter);
    bottom: var(--space-l);
    width: 8.5rem;
    aspect-ratio: 1;
    color: var(--ink);
  }
  .hero__clock-dial { width: 100%; height: 100%; overflow: visible; }
  .clock-bg { fill: oklch(97% 0.012 85 / 0.9); }
  .clock-text { font: 600 9px/1 var(--font-body); letter-spacing: 0.2em; text-transform: uppercase; fill: var(--forest); }
  .clock-ticks line { stroke: var(--ink-soft); stroke-width: 1.2; stroke-linecap: round; }
  .clock-ticks .major { stroke: var(--tegel); stroke-width: 2; }
  .hand {
    position: absolute;
    left: 50%;
    bottom: 50%;
    width: 3px;
    margin-left: -1.5px;
    border-radius: 3px;
    background: var(--ink);
    transform-origin: 50% 100%;
  }
  .hand--h { height: 17%; rotate: var(--hour, 304deg); }
  .hand--m { height: 25%; width: 2px; margin-left: -1px; rotate: var(--min, 48deg); }
  .hand--s { height: 28%; width: 1px; margin-left: -0.5px; background: var(--tegel); rotate: var(--sec, 180deg); }
  .clock-pin {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 7px;
    height: 7px;
    margin: -3.5px 0 0 -3.5px;
    border-radius: 50%;
    background: var(--tegel);
  }
  @media (max-width: 64rem) { .hero__clock { display: none; } }

  /* Paus/spela för heroens rörelse (WCAG 2.2.2) */
  .hero__toggle {
    position: absolute;
    right: calc(var(--gutter) + 9.25rem);
    bottom: var(--space-l);
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid oklch(99% 0.005 85 / 0.35);
    border-radius: 50%;
    background: oklch(20% 0.03 165 / 0.35);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: oklch(99% 0.005 85);
    transition: background-color 0.25s, border-color 0.25s;
  }
  .hero__toggle:hover { background: oklch(20% 0.03 165 / 0.6); border-color: oklch(99% 0.005 85 / 0.7); }
  .hero__toggle .icon { width: 1.15rem; height: 1.15rem; stroke-width: 2.2; }
  .hero__toggle .icon--play { fill: currentColor; stroke-width: 1.2; }
  .hero[data-motion="on"] .hero__toggle .icon--play,
  .hero:not([data-motion="on"]) .hero__toggle .icon--pause { display: none; }
  @media (max-width: 64rem) {
    .hero__toggle { right: var(--gutter); bottom: auto; top: calc(var(--header-h) + 0.75rem); }
  }
  /* ---------- Hero-intro: en kort film (Skaraborg, rum, närområde) innan heron landar ----------
     Visas bara när <html data-intro="play">, vilket inline-skriptet i head avgör före första
     renderingen. Rubriken målas direkt under filmen och bokningsfältet ligger ovanpå den. */
  .hero-intro, .hero-intro__skip { display: none; }
  :root[data-intro="play"] .hero-intro {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    overflow: hidden;
    container-type: size;
    pointer-events: none;
    color: var(--cream);
    background:
      radial-gradient(60rem 40rem at 80% 15%, oklch(36% 0.05 160 / 0.75), transparent 70%),
      radial-gradient(50rem 36rem at 5% 95%, oklch(40% 0.06 60 / 0.25), transparent 70%),
      var(--forest-deep);
  }
  :root[data-intro="play"] :is(.hero .booking-bar, .hero__usps) { position: relative; z-index: 2; }
  :root[data-intro="play"] .hero-intro__skip {
    position: absolute;
    right: var(--gutter);
    bottom: var(--space-l);
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0.45em;
    padding: 0.55em 1.05em;
    border: 1px solid oklch(99% 0.005 85 / 0.35);
    border-radius: 999px;
    background: oklch(20% 0.03 165 / 0.4);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: oklch(99% 0.005 85);
    font-size: var(--step--1);
    font-weight: 600;
  }
  .hero-intro__skip:hover { border-color: oklch(99% 0.005 85); }
  .hero-intro__skip .icon { width: 1rem; height: 1rem; }
  @media (max-width: 64rem) {
    :root[data-intro="play"] .hero-intro__skip { bottom: auto; top: calc(var(--header-h) + 0.9rem); }
  }

  .hero-intro__scene { position: absolute; inset: 0; opacity: 0; }
  .hero-intro__caption {
    position: absolute;
    z-index: 1;
    top: calc(var(--header-h) + clamp(2.5rem, 9cqh, 7rem));
    left: max(var(--gutter), calc((100cqw - var(--max)) / 2));
    display: grid;
    gap: 0.7rem;
    justify-items: start;
    max-width: min(34rem, 100cqw - 2 * var(--gutter));
  }
  .hero-intro .eyebrow { --eyebrow: var(--brass); }
  .hero-intro__title {
    font-family: var(--font-display);
    font-size: var(--step-5);
    font-weight: 430;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--paper);
    text-wrap: balance;
  }
  .hero-intro__title em { font-style: italic; font-weight: 400; color: var(--brass); }
  .hero-intro__sub { font-size: var(--step-1); color: oklch(90% 0.02 85); }

  /* Scen 1: Skaraborg mellan Vänern och Vättern */
  .hero-intro__scene--region::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, oklch(20% 0.03 165 / 0.9) 0%, oklch(20% 0.03 165 / 0.45) 40%, transparent 62%);
  }
  .hero-intro__map {
    --s: max(100cqw / 1600, 100cqh / 1254);
    position: absolute;
    inset: 0;
    /* zooma mot Stora Ekeberg (668, 635 i kartans koordinater) oavsett beskärning */
    transform-origin: calc(50% + (668 - 800) * var(--s)) calc(50% + (635 - 627) * var(--s));
  }
  .rmap { display: block; width: 100%; height: 100%; }
  .rmap-lake { fill: oklch(46% 0.05 228 / 0.6); stroke: oklch(82% 0.04 225 / 0.45); stroke-width: 1.5; }
  .rmap-road { fill: none; stroke: oklch(92% 0.03 85 / 0.42); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
  .rmap-town { fill: var(--cream); }
  .rmap-label {
    font: 600 20px var(--font-body);
    letter-spacing: 0.02em;
    fill: oklch(94% 0.02 85 / 0.92);
    paint-order: stroke;
    stroke: oklch(22% 0.03 165 / 0.8);
    stroke-width: 5px;
    stroke-linejoin: round;
  }
  .rmap-lake-label { font: italic 400 40px var(--font-display); letter-spacing: 0.05em; fill: oklch(86% 0.04 225 / 0.85); }
  .rmap-home { fill: var(--tegel); stroke: var(--paper); stroke-width: 4; }
  .rmap-home-pulse { fill: var(--tegel); opacity: 0.35; transform-box: fill-box; transform-origin: center; }
  .rmap-home-label {
    font: 600 30px var(--font-display);
    fill: var(--paper);
    paint-order: stroke;
    stroke: oklch(22% 0.03 165 / 0.85);
    stroke-width: 6px;
    stroke-linejoin: round;
  }

  /* Scen 2: rummen */
  .hero-intro__cards {
    position: absolute;
    top: calc(var(--header-h) + 2rem);
    right: max(var(--gutter), calc((100cqw - var(--max)) / 2));
    display: grid;
    grid-template-columns: repeat(2, 12.5rem);
    gap: 1.1rem;
    padding: 0;
    list-style: none;
  }
  .hero-intro__card {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-l);
    overflow: hidden;
    box-shadow: var(--shadow-l);
    rotate: var(--tilt);
  }
  .hero-intro__card:nth-child(even) { translate: 0 2.2rem; }
  .hero-intro__card picture { height: 100%; }
  .hero-intro__card img { width: 100%; height: 100%; object-fit: cover; }
  .hero-intro__card span {
    position: absolute;
    left: 0.7rem;
    right: 0.7rem;
    bottom: 0.7rem;
    display: grid;
    padding: 0.5rem 0.75rem;
    border-radius: 0.8rem;
    background: oklch(97% 0.012 85 / 0.92);
    color: var(--ink);
    font-size: var(--step--1);
    font-weight: 650;
    line-height: 1.25;
  }
  .hero-intro__card b { font-family: var(--font-display); font-size: var(--step-0); font-weight: 500; }

  /* Scen 3: närområdet på kartan */
  .hero-intro__local {
    position: absolute;
    top: calc(var(--header-h) + 2.5rem);
    right: max(var(--gutter), calc((100cqw - var(--max)) / 2));
    width: min(46rem, 54cqw);
    border-radius: var(--radius-l);
    overflow: hidden;
    background:
      radial-gradient(circle at 1px 1px, color-mix(in oklch, var(--ink) 12%, transparent) 1px, transparent 0) 0 0 / 22px 22px,
      var(--cream);
    box-shadow: var(--shadow-l);
  }
  .hero-intro__local .area-map { width: 100%; min-width: 0; height: auto; aspect-ratio: 8 / 5; }

  .hero-intro__progress {
    position: absolute;
    top: calc(var(--header-h) + 0.3rem);
    left: max(var(--gutter), calc((100cqw - var(--max)) / 2));
    right: max(var(--gutter), calc((100cqw - var(--max)) / 2));
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
  }
  .hero-intro__progress i { height: 3px; border-radius: 3px; overflow: hidden; background: oklch(95% 0.01 85 / 0.22); }
  .hero-intro__progress i::after {
    content: "";
    display: block;
    height: 100%;
    background: var(--cream);
    transform-origin: left;
    scale: 0 1;
  }

  /* Smala skärmar: bildtexten överst, bilderna under den, ovanför bokningsfältet */
  @container (max-width: 64rem) {
    .hero-intro__caption { top: calc(var(--header-h) + 3.75rem); gap: 0.5rem; }
    .hero-intro__title { font-size: var(--step-4); }
    .hero-intro__sub { font-size: var(--step-0); }
    .hero-intro__cards {
      top: calc(var(--header-h) + 14rem);
      left: var(--gutter);
      right: var(--gutter);
      grid-template-columns: repeat(4, 1fr);
      gap: 0.5rem;
    }
    .hero-intro__card { border-radius: var(--radius); }
    .hero-intro__card:nth-child(even) { translate: 0 0.8rem; }
    .hero-intro__card span { display: none; }
    .hero-intro__local { top: calc(var(--header-h) + 14rem); left: var(--gutter); right: var(--gutter); width: auto; border-radius: var(--radius); }
    .hero-intro__local .area-map { aspect-ratio: auto; height: 10.5rem; }
  }

  .hero__content {
    display: grid;
    gap: var(--space-m);
    justify-items: start;
  }
  .hero__title {
    font-size: var(--step-6);
    font-weight: 430;
    line-height: 0.98;
    letter-spacing: -0.025em;
    max-width: 14ch;
    --accent-em: var(--brass);
  }
  .hero__title em { display: inline-block; }
  /* Kinetisk rubrik: varje ord glider upp ur en egen klippyta */
  .hero__title .w {
    display: inline-block;
    overflow: clip;
    padding: 0.06em 0.14em 0.16em;
    margin: -0.06em -0.14em -0.16em;
    vertical-align: top;
  }
  .hero__title .w > span { display: inline-block; }
  .hero .lead { --lead: oklch(95% 0.01 85); max-width: 36rem; }
  .hero .eyebrow { --eyebrow: oklch(90% 0.07 85); text-shadow: 0 1px 12px oklch(15% 0.02 165 / 0.6); }
  .hero__title, .hero .lead { text-shadow: 0 2px 28px oklch(15% 0.02 165 / 0.35); }
  .hero__usps {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.4rem;
    padding: 0;
    list-style: none;
    font-size: var(--step--1);
    font-weight: 550;
  }
  .hero__usps li { display: inline-flex; align-items: center; gap: 0.5em; }
  .hero__usps .icon { color: var(--brass); }

  /* ---------- Bokningsfält ---------- */
  .booking-bar {
    width: min(100%, 60rem);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    align-items: stretch;
    gap: 0.4rem;
    padding: 0.5rem;
    border-radius: var(--radius-l);
    background: color-mix(in oklch, var(--paper) 90%, transparent);
    -webkit-backdrop-filter: blur(18px) saturate(1.5);
    backdrop-filter: blur(18px) saturate(1.5);
    color: var(--ink);
    box-shadow: var(--shadow-l);
  }
  .booking-bar--plain {
    background: var(--paper);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
  }
  .field {
    position: relative;
    display: grid;
    gap: 0.15rem;
    padding: 0.6rem 1rem 0.55rem;
    border-radius: calc(var(--radius-l) - 0.5rem);
    transition: background-color 0.2s;
  }
  .field:hover { background: color-mix(in oklch, var(--ink) 5%, transparent); }
  .field:focus-within { background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--tegel); }
  .field + .field::before {
    content: "";
    position: absolute;
    left: -0.2rem;
    top: 22%;
    bottom: 22%;
    width: 1px;
    background: var(--line);
  }
  .field__label {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    font-size: var(--step--2);
    font-weight: 650;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-soft);
  }
  .field__label .icon { width: 1.05rem; height: 1.05rem; color: var(--tegel); }
  .field__control {
    width: 100%;
    min-width: 0;
    min-height: 2rem;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: var(--step-0);
    font-weight: 600;
    outline: none;
    appearance: none;
  }
  .field__control::-webkit-calendar-picker-indicator {
    opacity: 0.55;
    cursor: pointer;
  }
  select.field__control { cursor: pointer; }
  .field--select::after {
    content: "";
    position: absolute;
    right: 1rem;
    bottom: 1.05rem;
    width: 0.5rem;
    height: 0.5rem;
    border-right: 1.75px solid var(--ink-soft);
    border-bottom: 1.75px solid var(--ink-soft);
    rotate: 45deg;
    pointer-events: none;
  }
  .booking-bar .btn { min-height: 100%; padding-inline: 1.8em; border-radius: calc(var(--radius-l) - 0.5rem); }
  .booking-bar__error {
    grid-column: 1 / -1;
    padding: 0.2rem 1rem 0.4rem;
    color: var(--tegel-deep);
    font-size: var(--step--1);
    font-weight: 600;
  }
  .booking-bar__error:empty { display: none; }
  @media (max-width: 52rem) {
    .booking-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .field--guests { grid-column: 1 / -1; }
    .field--guests::before { display: none; }
    .booking-bar .btn { grid-column: 1 / -1; min-height: 3.4rem; }
  }

  /* ---------- Intro ---------- */
  .intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: var(--space-xl);
    align-items: center;
  }
  .intro__text { --stack: 1.25rem; }
  .intro__media {
    position: relative;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(12, minmax(0, 2.6rem));
  }
  .intro__media .photo--tall { grid-column: 1 / 8; grid-row: 1 / 13; }
  .intro__media .photo--wide { grid-column: 6 / 13; grid-row: 7 / 13; z-index: 1; outline: 0.5rem solid var(--paper); }
  @keyframes spin { to { rotate: 360deg; } }
  @media (max-width: 56rem) {
    .intro { grid-template-columns: 1fr; gap: var(--space-l); }
    .intro__media { grid-template-rows: repeat(12, minmax(0, 2.1rem)); }
  }

  .photo {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-l);
    background: var(--sand);
    box-shadow: var(--shadow);
  }
  .photo > picture, .split-banner__media > picture, .page-hero__media > picture { height: 100%; }
  .photo img { width: 100%; height: 100%; object-fit: cover; }

  /* Siffror */
  .stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: var(--space-xl);
    border-top: 1px solid var(--line);
  }
  .stat {
    display: grid;
    gap: 0.35rem;
    align-content: start;
    padding: var(--space-m) var(--space-m) 0 0;
  }
  .stat + .stat { padding-left: var(--space-m); border-left: 1px solid var(--line); }
  .stat__value {
    font-family: var(--font-display);
    font-size: var(--step-5);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: var(--forest);
  }
  .stat__value small { font-size: 0.45em; letter-spacing: 0; margin-left: 0.1em; }
  .stat__label { color: var(--ink-soft); font-size: var(--step--1); max-width: 14rem; }
  @media (max-width: 52rem) {
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat:nth-child(3) { padding-left: 0; border-left: 0; }
    .stat:nth-child(n + 3) { border-top: 1px solid var(--line); margin-top: var(--space-m); }
  }

  /* ---------- Rumskort ---------- */
  .rooms {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-m);
    padding: 0;
    list-style: none;
  }
  @media (max-width: 64rem) { .rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 40rem) { .rooms { grid-template-columns: 1fr; } }
  .room-card {
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr;
    border-radius: var(--radius-l);
    background: var(--paper);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: translate 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s;
  }
  .room-card:hover { translate: 0 -4px; box-shadow: var(--shadow); border-color: transparent; }
  .room-card__photo { position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; background: var(--sand); }
  .room-card__photo > picture { height: 100%; }
  .room-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: scale 0.8s var(--ease-out); }
  .room-card:hover .room-card__photo img { scale: 1.05; }
  .room-card__badge {
    position: absolute;
    left: 0.9rem;
    top: 0.9rem;
    padding: 0.35em 0.8em;
    border-radius: 999px;
    background: color-mix(in oklch, var(--paper) 88%, transparent);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    font-size: var(--step--2);
    font-weight: 650;
    letter-spacing: 0.04em;
    color: var(--ink);
  }
  .room-card__body {
    display: grid;
    align-content: start;
    gap: 0.6rem;
    padding: 1.35rem 1.35rem 1.5rem;
  }
  .room-card__body h3 { font-size: var(--step-2); }
  .room-card__body p { color: var(--ink-soft); font-size: var(--step--1); line-height: 1.55; }
  .specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0;
    list-style: none;
  }
  .specs li {
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
    padding: 0.28em 0.7em;
    border-radius: 999px;
    background: color-mix(in oklch, var(--ink) 6%, transparent);
    font-size: var(--step--2);
    font-weight: 600;
    letter-spacing: 0.02em;
  }
  .specs .icon { width: 1rem; height: 1rem; }
  .price {
    display: flex;
    align-items: baseline;
    gap: 0.35em;
    margin-top: auto;
    padding-top: 0.6rem;
    font-size: var(--step--1);
    color: var(--ink-soft);
  }
  .price strong {
    font-family: var(--font-display);
    font-size: var(--step-2);
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.01em;
  }
  .stretched-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
  .room-card__link { text-decoration: none; }
  .room-card__link:focus-visible { outline: none; }
  .room-card:has(.room-card__link:focus-visible) { outline: 2.5px solid var(--tegel); outline-offset: 3px; }
  .room-card__more {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    font-size: var(--step--1);
    font-weight: 650;
    color: var(--tegel-deep);
  }
  .room-card__more .icon { width: 1.05em; height: 1.05em; transition: translate 0.3s var(--ease-out); }
  .room-card:hover .room-card__more .icon { translate: 3px 0; }
  .price-row { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-top: auto; }

  .note {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1.1rem 1.25rem;
    border-radius: var(--radius);
    background: var(--cream);
    color: var(--ink-soft);
    font-size: var(--step--1);
  }
  .note .icon { color: var(--tegel); margin-top: 0.15em; }
  .note strong { color: var(--ink); }

  /* ---------- Villavagn & ställplats ---------- */
  .duo {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-m);
  }
  @media (max-width: 52rem) { .duo { grid-template-columns: 1fr; } }
  .feature-card {
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr;
    border-radius: var(--radius-l);
    overflow: hidden;
    background: var(--feature-bg, var(--forest));
    color: var(--feature-fg, var(--paper));
    isolation: isolate;
  }
  .feature-card--light { --feature-bg: var(--cream); --feature-fg: var(--ink); }
  .feature-card__art { aspect-ratio: 16 / 9; }
  .feature-card__art svg { width: 100%; height: 100%; }
  .feature-card__body {
    display: grid;
    align-content: start;
    gap: 0.9rem;
    padding: var(--space-m) clamp(1.35rem, 1rem + 1.5vw, 2.25rem) clamp(1.5rem, 1rem + 2vw, 2.5rem);
  }
  .feature-card__body h3 { font-size: var(--step-3); }
  .feature-card__body p { opacity: 0.85; max-width: 32rem; }
  .feature-card .eyebrow { --eyebrow: var(--brass); }
  .feature-card--light .eyebrow { --eyebrow: var(--tegel-deep); }
  .feature-card .specs li { background: color-mix(in oklch, currentColor 11%, transparent); }
  .feature-card .btn-row { margin-top: 0.4rem; }

  /* Illustrationer */
  .ill-sun { fill: var(--brass); }
  .ill-body { fill: oklch(97% 0.01 85); }
  .ill-shade { fill: oklch(88% 0.025 80); }
  .ill-accent { fill: var(--tegel); }
  .ill-window { fill: oklch(70% 0.06 235); }
  .ill-glow { fill: oklch(86% 0.1 85); }
  .ill-dark { fill: oklch(26% 0.025 165); }

  /* ---------- Bekvämligheter ---------- */
  .amenities {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: dense;
    gap: var(--space-s);
  }
  .amenity {
    display: grid;
    align-content: start;
    gap: 0.75rem;
    padding: 1.35rem 1.35rem 1.45rem;
    border-radius: var(--radius-l);
    background: var(--paper);
    border: 1px solid var(--line);
  }
  .amenity__icon {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    background: var(--cream);
    color: var(--forest);
  }
  .amenity__icon .icon { width: 1.45rem; height: 1.45rem; }
  .amenity h3 { font-family: var(--font-body); font-size: var(--step-0); font-weight: 650; letter-spacing: 0; line-height: 1.3; }
  .amenity p { color: var(--ink-soft); font-size: var(--step--1); line-height: 1.5; }
  .amenity--photo {
    grid-column: span 2;
    grid-row: span 2;
    position: relative;
    padding: 0;
    overflow: hidden;
    border: 0;
    min-height: 22rem;
    color: var(--paper);
    isolation: isolate;
    align-content: end;
  }
  .amenity--photo picture { position: absolute; inset: 0; z-index: -2; }
  .amenity--photo img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease-out); }
  .amenity--photo:hover img { scale: 1.04; }
  .amenity--photo::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to top, oklch(16% 0.03 165 / 0.92) 0%, oklch(16% 0.03 165 / 0.55) 35%, oklch(16% 0.03 165 / 0) 65%);
  }
  .amenity--photo .amenity__text { display: grid; gap: 0.4rem; padding: 1.6rem 1.75rem; }
  .amenity--photo h3 { font-family: var(--font-display); font-size: var(--step-3); font-weight: 450; letter-spacing: -0.01em; }
  .amenity--photo p { color: oklch(93% 0.01 85); font-size: var(--step-0); max-width: 30rem; }
  .amenity--highlight {
    grid-column: span 2;
    background: var(--tegel);
    color: oklch(99% 0.005 85);
    border: 0;
  }
  .amenity--highlight .amenity__icon { background: color-mix(in oklch, var(--paper) 18%, transparent); color: var(--paper); }
  .amenity--highlight h3 { font-family: var(--font-display); font-size: var(--step-2); font-weight: 480; }
  .amenity--highlight p { color: oklch(95% 0.02 60); font-size: var(--step-0); }
  @media (max-width: 64rem) { .amenities { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 34rem) {
    .amenities { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
    .amenity { padding: 1.1rem; }
    .amenity--photo, .amenity--highlight { grid-column: 1 / -1; }
    .amenity--photo { grid-row: auto; min-height: 19rem; }
  }

  /* ---------- Historia ---------- */
  .history {
    position: relative;
    background: var(--forest-deep);
    color: var(--cream);
    overflow: clip;
    isolation: isolate;
  }
  .history::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
      radial-gradient(60rem 40rem at 85% 10%, oklch(40% 0.05 160 / 0.55), transparent 70%),
      radial-gradient(40rem 30rem at 0% 100%, oklch(45% 0.07 60 / 0.25), transparent 70%);
  }
  .history .eyebrow { --eyebrow: var(--brass); }
  .history h2 { color: var(--paper); --accent-em: var(--brass); }
  .history .lead { --lead: oklch(88% 0.02 85); }
  .history__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: var(--space-xl);
    align-items: center;
  }
  @media (max-width: 58rem) { .history__grid { grid-template-columns: 1fr; gap: var(--space-l); } }
  .postcard {
    position: relative;
    margin: 0;
    padding: clamp(0.6rem, 0.4rem + 0.8vw, 1rem);
    padding-bottom: clamp(2.6rem, 2rem + 2vw, 3.6rem);
    background: oklch(95% 0.02 80);
    border-radius: 4px;
    box-shadow: var(--shadow-l);
    rotate: -2.2deg;
    color: oklch(35% 0.03 60);
  }
  .postcard img { width: 100%; filter: sepia(0.2) contrast(1.02); border-radius: 2px; }
  .postcard figcaption {
    position: absolute;
    left: clamp(0.8rem, 0.5rem + 1vw, 1.2rem);
    right: clamp(0.8rem, 0.5rem + 1vw, 1.2rem);
    bottom: clamp(0.7rem, 0.5rem + 0.6vw, 1rem);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: var(--step--2);
    letter-spacing: 0.04em;
  }
  .postcard figcaption em { font-family: var(--font-display); font-size: var(--step--1); letter-spacing: 0; }
  .stamp {
    position: absolute;
    right: -1.6rem;
    top: -1.8rem;
    display: grid;
    place-items: center;
    width: 6.4rem;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--tegel);
    color: var(--paper);
    rotate: 10deg;
    box-shadow: var(--shadow);
    text-align: center;
    line-height: 1;
  }
  .stamp span { display: block; font-size: 0.62rem; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; }
  .stamp strong { display: block; margin-block: 0.15rem; font-family: var(--font-display); font-size: 1.85rem; font-weight: 500; font-style: italic; }
  .mini-timeline {
    display: grid;
    gap: 0;
    margin: var(--space-m) 0 var(--space-m);
    padding: 0;
    list-style: none;
    border-top: 1px solid color-mix(in oklch, var(--cream) 18%, transparent);
  }
  .mini-timeline li {
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    gap: 1rem;
    padding-block: 0.8rem;
    border-bottom: 1px solid color-mix(in oklch, var(--cream) 18%, transparent);
  }
  .mini-timeline b {
    font-family: var(--font-display);
    font-size: var(--step-1);
    font-weight: 450;
    font-style: italic;
    color: var(--brass);
  }
  .mini-timeline span { color: oklch(90% 0.015 85); }
  .history .text-link { color: var(--paper); }

  /* ---------- Närområdet ---------- */
  .nearby {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: var(--space-l);
    align-items: start;
  }
  @media (max-width: 60rem) { .nearby { grid-template-columns: 1fr; } }
  .map-card {
    margin: 0;
    border-radius: var(--radius-l);
    background:
      radial-gradient(circle at 1px 1px, color-mix(in oklch, var(--ink) 12%, transparent) 1px, transparent 0) 0 0 / 22px 22px,
      var(--cream);
    border: 1px solid var(--line);
    overflow: hidden;
  }
  .map-scroller { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
  .area-map { width: 100%; min-width: 40rem; height: auto; }
  .map-card figcaption {
    padding: 0.7rem 1.1rem;
    border-top: 1px solid var(--line);
    font-size: var(--step--2);
    color: var(--ink-soft);
  }
  .map-lake { fill: oklch(84% 0.05 228); stroke: oklch(72% 0.06 232); stroke-width: 1.2; }
  .map-water-label { font: italic 400 15px var(--font-display); fill: oklch(42% 0.07 240); letter-spacing: 0.04em; }
  .map-route-casing { fill: none; stroke: var(--cream); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
  .map-route { fill: none; stroke: var(--tegel); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; opacity: 0.85; }
  .map-dot { fill: var(--paper); stroke: var(--forest); stroke-width: 2.5; }
  .map-label__title { font: 650 15px var(--font-body); fill: var(--ink); paint-order: stroke; stroke: var(--cream); stroke-width: 4px; stroke-linejoin: round; }
  .map-label__sub { font: 500 12.5px var(--font-body); fill: var(--ink-soft); paint-order: stroke; stroke: var(--cream); stroke-width: 4px; stroke-linejoin: round; }
  .map-label--home .map-label__title { font: 600 19px var(--font-display); fill: var(--forest); }
  .map-home__dot { fill: var(--tegel); stroke: var(--paper); stroke-width: 3; }
  .map-home__pulse { fill: var(--tegel); opacity: 0.2; transform-box: fill-box; transform-origin: center; }
  .map-north path { fill: var(--forest); }
  .map-north text, .map-scale text { font: 650 12px var(--font-body); fill: var(--ink-soft); }
  .map-scale path { fill: none; stroke: var(--ink-soft); stroke-width: 1.5; }

  .places {
    display: grid;
    gap: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
  }
  .place {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.15rem 1rem;
    align-items: baseline;
    padding-block: 0.95rem;
    border-bottom: 1px solid var(--line);
  }
  .place h3 { font-family: var(--font-body); font-size: var(--step-0); font-weight: 650; letter-spacing: 0; }
  .place p { grid-column: 1; color: var(--ink-soft); font-size: var(--step--1); }
  .place__time {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    padding: 0.3em 0.75em;
    border-radius: 999px;
    background: var(--cream);
    font-size: var(--step--1);
    font-weight: 650;
    white-space: nowrap;
    color: var(--forest);
  }
  .place--home .place__time { background: var(--tegel); color: var(--paper); }

  /* ---------- Grupper ---------- */
  .split-banner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    border-radius: var(--radius-l);
    overflow: hidden;
    background: var(--sage);
  }
  .split-banner__media { position: relative; min-height: 22rem; }
  .split-banner__media > picture { position: absolute; inset: 0; }
  .split-banner__media img { width: 100%; height: 100%; object-fit: cover; }
  .split-banner__body {
    display: grid;
    align-content: center;
    gap: 1rem;
    padding: var(--space-l) clamp(1.5rem, 1rem + 3vw, 4rem);
  }
  .split-banner__body h2 { font-size: var(--step-4); }
  .split-banner__body p { color: oklch(32% 0.03 160); max-width: 34rem; }
  .check-list { display: grid; gap: 0.55rem; padding: 0; list-style: none; }
  .check-list li { display: flex; gap: 0.6rem; align-items: flex-start; }
  .check-list .icon { color: var(--tegel-deep); margin-top: 0.2em; }
  @media (max-width: 52rem) {
    .split-banner { grid-template-columns: 1fr; }
    .split-banner__media { min-height: 0; min-width: 0; aspect-ratio: 16 / 10; }
  }

  /* ---------- CTA ---------- */
  .cta {
    position: relative;
    display: grid;
    justify-items: center;
    gap: var(--space-m);
    padding: var(--space-xl) var(--gutter);
    border-radius: var(--radius-l);
    background: var(--tegel);
    color: oklch(99% 0.005 85);
    text-align: center;
    overflow: hidden;
    isolation: isolate;
  }
  .cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
      radial-gradient(40rem 22rem at 15% 0%, oklch(62% 0.13 45 / 0.9), transparent 70%),
      radial-gradient(36rem 20rem at 100% 100%, oklch(40% 0.11 30 / 0.85), transparent 70%);
  }
  .cta .branch { position: absolute; z-index: -1; width: 24rem; color: oklch(99% 0.01 60 / 0.16); }
  .cta .branch--l { left: -5rem; bottom: -4rem; rotate: 160deg; }
  .cta .branch--r { right: -4rem; top: -3rem; rotate: -20deg; }
  .cta h2 { font-size: var(--step-5); max-width: 16ch; --accent-em: oklch(92% 0.08 85); }
  .cta p { max-width: 34rem; font-size: var(--step-1); color: oklch(95% 0.03 60); }
  .cta .booking-bar { width: 100%; margin-top: var(--space-s); text-align: left; }

  /* ---------- Sidfot ---------- */
  .site-footer {
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    background: var(--forest-deep);
    color: oklch(88% 0.02 85);
  }
  .site-footer a { text-decoration: none; }
  .site-footer a:hover { color: var(--paper); text-decoration: underline; }
  .footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
    gap: var(--space-l);
  }
  @media (max-width: 60rem) { .footer-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 34rem) { .footer-grid { grid-template-columns: 1fr; } }
  .footer-brand { display: grid; gap: var(--space-s); align-content: start; }
  .footer-brand .brand { color: var(--paper); }
  .footer-brand p { max-width: 22rem; }
  .footer-col h2 {
    margin-bottom: 0.9rem;
    font-family: var(--font-body);
    font-size: var(--step--1);
    font-weight: 650;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brass);
  }
  .footer-col ul { display: grid; gap: 0.55rem; padding: 0; list-style: none; }
  .footer-col li { display: flex; gap: 0.6rem; align-items: flex-start; }
  .footer-col .icon { margin-top: 0.2em; color: var(--brass); }
  .footer-wordmark {
    margin-top: var(--space-xl);
    font-family: var(--font-display);
    font-size: min(13.5rem, 12.4vw);
    font-weight: 400;
    font-style: italic;
    line-height: 1;
    padding-bottom: 0.16em;
    letter-spacing: -0.045em;
    color: oklch(36% 0.045 162);
    white-space: nowrap;
    text-align: center;
    user-select: none;
  }
  .footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    padding-block: var(--space-m);
    border-top: 1px solid color-mix(in oklch, var(--cream) 14%, transparent);
    font-size: var(--step--1);
    color: oklch(75% 0.02 85);
  }

  /* ---------- Undersidor ---------- */
  .page-hero {
    padding-block: var(--space-l) var(--space-xl);
    background:
      radial-gradient(50rem 26rem at 100% 0%, color-mix(in oklch, var(--sage) 55%, transparent), transparent 70%),
      var(--paper);
  }
  .page-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: var(--space-l) var(--space-xl);
    align-items: center;
  }
  .page-hero__text { display: grid; gap: var(--space-s); justify-items: start; }
  .page-hero__text h1 { margin-top: 0.25rem; }
  .page-hero__media { aspect-ratio: 4 / 3.2; }
  .page-hero__media.photo { border-radius: var(--radius-l) var(--radius-l) var(--radius-l) 7rem; }
  .page-hero--compact .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero--compact { padding-bottom: var(--space-l); }
  .page-hero > .container > .postcard { justify-self: center; width: min(100%, 36rem); }
  @media (max-width: 56rem) {
    .page-hero__grid { grid-template-columns: 1fr; }
    .page-hero__media { aspect-ratio: 16 / 10; }
  }
  .breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0; list-style: none; font-size: var(--step--1); color: var(--ink-soft); }
  .breadcrumbs li + li::before { content: "/"; margin-right: 0.4rem; opacity: 0.5; }
  .breadcrumbs a { text-decoration: none; }
  .breadcrumbs a:hover { text-decoration: underline; }

  .chips { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; list-style: none; }
  .chips li {
    display: inline-flex;
    align-items: center;
    gap: 0.45em;
    padding: 0.45em 0.95em;
    border-radius: 999px;
    background: var(--paper);
    border: 1px solid var(--line);
    font-size: var(--step--1);
    font-weight: 600;
  }
  .chips .icon { color: var(--tegel); width: 1.1rem; height: 1.1rem; }

  .included {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
    gap: 0.6rem;
    padding: 0;
    list-style: none;
  }
  .included li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1rem 1.1rem;
    border-radius: var(--radius);
    background: var(--cream);
    font-weight: 600;
  }
  .included .icon { color: var(--tegel); width: 1.4rem; height: 1.4rem; }

  .room-detail {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: var(--space-l);
    align-items: center;
    padding-block: var(--space-l);
    border-top: 1px solid var(--line);
    scroll-margin-top: calc(var(--header-h) + 1rem);
  }
  .room-detail:nth-of-type(even) .room-detail__visual { order: 2; }
  @media (max-width: 52rem) {
    .room-detail { grid-template-columns: 1fr; }
    .room-detail:nth-of-type(even) .room-detail__visual { order: 0; }
  }
  .room-detail__visual { border-radius: var(--radius-l); overflow: hidden; }
  .feature-card__photo > picture { height: 100%; }
  .feature-card__photo img { width: 100%; height: 100%; object-fit: cover; }
  .room-detail__visual .photo-fill { aspect-ratio: 16 / 10; }
  .room-detail__visual .photo-fill > picture { height: 100%; }
  .room-detail__visual .photo-fill img { width: 100%; height: 100%; object-fit: cover; }

  /* Historiesidan */
  .history-page {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: var(--space-xl);
    align-items: start;
  }
  .history-page__intro { position: sticky; top: calc(var(--header-h) + 2rem); }
  .history-page__intro p:not(.eyebrow) { color: var(--ink-soft); }
  @media (max-width: 56rem) {
    .history-page { grid-template-columns: 1fr; gap: var(--space-l); }
    .history-page__intro { position: static; }
  }
  .source-note { margin-top: var(--space-m); font-size: var(--step--2); color: var(--ink-soft); }
  .room-detail__body { display: grid; gap: 0.9rem; justify-items: start; }
  .room-detail__body h2 { font-size: var(--step-4); }
  .room-detail__body > p { color: var(--ink-soft); max-width: 36rem; }
  .facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr));
    gap: 0.25rem 1.5rem;
    width: 100%;
    max-width: 36rem;
    margin: 0.2rem 0;
  }
  .facts div { padding-block: 0.55rem; border-bottom: 1px solid var(--line); }
  .facts dt { font-size: var(--step--2); font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
  .facts dd { font-weight: 600; }
  .price--large { padding-top: 0.2rem; }
  .price--large strong { font-size: var(--step-3); }

  .callout {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    align-items: start;
    padding: clamp(1.4rem, 1rem + 2vw, 2.4rem);
    border-radius: var(--radius-l);
    background: var(--forest);
    color: var(--cream);
  }
  .callout__icon {
    display: grid;
    place-items: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    background: color-mix(in oklch, var(--paper) 12%, transparent);
    color: var(--brass);
  }
  .callout__icon .icon { width: 1.6rem; height: 1.6rem; }
  .callout h2, .callout h3 { color: var(--paper); font-size: var(--step-2); margin-bottom: 0.4rem; }
  .callout p { color: oklch(88% 0.02 85); }

  .info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
    gap: var(--space-m);
  }
  .info-card {
    display: grid;
    align-content: start;
    gap: 0.6rem;
    padding: 1.5rem;
    border-radius: var(--radius-l);
    background: var(--paper);
    border: 1px solid var(--line);
  }
  .info-card h3 { font-size: var(--step-1); }
  .info-card p { color: var(--ink-soft); font-size: var(--step--1); }
  .info-card .amenity__icon { margin-bottom: 0.2rem; }

  /* Ställplats-fakta */
  .fact-tiles {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-s);
    padding: 0;
    list-style: none;
  }
  @media (max-width: 60rem) { .fact-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  .fact-tiles li {
    display: grid;
    gap: 0.35rem;
    align-content: start;
    padding: 1.4rem;
    border-radius: var(--radius-l);
    background: var(--cream);
  }
  .fact-tiles b { font-family: var(--font-display); font-size: var(--step-4); font-weight: 420; line-height: 1; color: var(--forest); letter-spacing: -0.02em; }
  .fact-tiles span { color: var(--ink-soft); font-size: var(--step--1); }

  .steps { counter-reset: step; display: grid; gap: var(--space-s); padding: 0; list-style: none; }
  .steps li {
    counter-increment: step;
    display: grid;
    grid-template-columns: 3rem 1fr;
    gap: 1rem;
    align-items: start;
  }
  .steps li::before {
    content: counter(step);
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--tegel);
    color: var(--paper);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-style: italic;
  }
  .steps h3 { font-family: var(--font-body); font-size: var(--step-0); font-weight: 650; letter-spacing: 0; padding-top: 0.2rem; }
  .steps p { color: var(--ink-soft); font-size: var(--step--1); }

  /* Tidslinje (Om oss) */
  .timeline {
    position: relative;
    display: grid;
    gap: var(--space-l);
    padding: 0 0 0 2.75rem;
    list-style: none;
  }
  .timeline::before,
  .timeline::after {
    content: "";
    position: absolute;
    left: 0.6rem;
    top: 0.6rem;
    bottom: 0.6rem;
    width: 2px;
    border-radius: 2px;
    background: var(--line-strong);
  }
  .timeline::after { background: var(--tegel); transform-origin: top; scale: 1 1; }
  .timeline__item { position: relative; display: grid; gap: 0.4rem; }
  .timeline__item::before {
    content: "";
    position: absolute;
    left: -2.75rem;
    top: 0.45rem;
    width: 1.3rem;
    height: 1.3rem;
    border-radius: 50%;
    background: var(--paper);
    border: 3px solid var(--tegel);
    z-index: 1;
  }
  .timeline__year { font-family: var(--font-display); font-style: italic; font-size: var(--step-3); font-weight: 420; line-height: 1; color: var(--tegel-deep); }
  .timeline__item h3 { font-family: var(--font-body); font-size: var(--step-1); font-weight: 650; letter-spacing: 0; }
  .timeline__item p { color: var(--ink-soft); max-width: 38rem; }
  .timeline__item--now::before { background: var(--tegel); }

  .then-now {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-m);
  }
  @media (max-width: 46rem) { .then-now { grid-template-columns: 1fr; } }
  .then-now figure { margin: 0; display: grid; gap: 0.7rem; }
  .then-now .photo { aspect-ratio: 4 / 3; }
  .then-now figcaption { font-size: var(--step--1); color: var(--ink-soft); }
  .then-now figcaption b { display: block; font-family: var(--font-display); font-size: var(--step-1); font-weight: 480; font-style: italic; color: var(--ink); }

  /* Kontakt */
  .contact-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-m);
    padding: 0;
    list-style: none;
  }
  @media (max-width: 56rem) { .contact-cards { grid-template-columns: 1fr; } }
  .contact-card {
    position: relative;
    display: grid;
    gap: 0.5rem;
    align-content: start;
    padding: 1.6rem;
    border-radius: var(--radius-l);
    background: var(--paper);
    border: 1px solid var(--line);
    transition: translate 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s;
  }
  .contact-card:hover { translate: 0 -3px; box-shadow: var(--shadow); border-color: transparent; }
  .contact-card .amenity__icon { background: var(--tegel); color: var(--paper); margin-bottom: 0.4rem; }
  .contact-card h2 { font-family: var(--font-body); font-size: var(--step--1); font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
  .contact-card > a { font-family: var(--font-display); font-size: var(--step-2); font-weight: 470; text-decoration: none; letter-spacing: -0.01em; }
  .contact-card .text-link { position: relative; z-index: 2; }
  .company-card { max-width: 44rem; }
  .company-card .facts { max-width: none; }
  .faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: var(--space-l) var(--space-xl);
    align-items: start;
  }
  .faq-layout > .stack { position: sticky; top: calc(var(--header-h) + 2rem); }
  @media (max-width: 56rem) {
    .faq-layout { grid-template-columns: 1fr; }
    .faq-layout > .stack { position: static; }
  }
  .contact-card address { font-style: normal; font-family: var(--font-display); font-size: var(--step-2); font-weight: 470; line-height: 1.2; }
  .contact-card p { color: var(--ink-soft); font-size: var(--step--1); }

  /* FAQ – exklusiva <details> med animerad höjd */
  .faq { display: grid; gap: 0.6rem; }
  .faq details {
    border-radius: var(--radius);
    background: var(--paper);
    border: 1px solid var(--line);
    transition: background-color 0.3s, border-color 0.3s;
  }
  .faq details[open] { background: var(--cream); border-color: transparent; }
  .faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.35rem;
    font-weight: 650;
    font-size: var(--step-0);
    cursor: pointer;
    list-style: none;
  }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after {
    content: "";
    flex: none;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 50%;
    background:
      linear-gradient(currentColor, currentColor) center / 0.75rem 1.75px no-repeat,
      linear-gradient(currentColor, currentColor) center / 1.75px 0.75rem no-repeat,
      color-mix(in oklch, var(--ink) 7%, transparent);
    transition: rotate 0.35s var(--ease-out);
  }
  .faq details[open] summary::after { rotate: 135deg; }
  .faq details::details-content {
    block-size: 0;
    overflow-y: clip;
    transition: block-size 0.4s var(--ease-out), content-visibility 0.4s allow-discrete;
  }
  .faq details[open]::details-content { block-size: auto; }
  .faq .faq__answer { padding: 0 1.35rem 1.25rem; color: var(--ink-soft); max-width: 46rem; }
  .faq .faq__answer p + p { margin-top: 0.6rem; }

  /* Löptext (villkor, policy) */
  .prose { --stack: 1em; max-width: 44rem; }
  .prose > * + * { margin-top: var(--stack); }
  .prose h2 { font-size: var(--step-3); margin-top: 2.2em; }
  .prose > :first-child { margin-top: 0; }
  .company-card h2 { font-size: var(--step-2); }
  .prose h3 { font-size: var(--step-1); font-family: var(--font-body); font-weight: 650; letter-spacing: 0; margin-top: 1.8em; }
  .prose ul { padding-left: 1.2em; }
  .prose li + li { margin-top: 0.35em; }
  .prose li::marker { color: var(--tegel); }
  .prose a { color: var(--tegel-deep); }

  /* Bokningssidan */
  .booking-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 20rem;
    gap: var(--space-l);
    align-items: start;
  }
  @media (max-width: 72rem) { .booking-layout { grid-template-columns: 1fr; } }
  .booking-frame {
    position: relative;
    min-height: 32rem;
    padding: clamp(0.5rem, 0.2rem + 1vw, 1.25rem);
    border-radius: var(--radius-l);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  /* Laddningsläge tills Sirvoy-widgeten har injicerat sin iframe (ren CSS via :has) */
  .booking-frame__loading {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 1rem;
    color: var(--ink-soft);
    font-weight: 600;
    pointer-events: none;
  }
  .booking-frame__loading::before {
    content: "";
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    border: 3px solid var(--sand);
    border-top-color: var(--tegel);
    animation: spin 0.9s linear infinite;
  }
  .booking-frame:has(iframe) .booking-frame__loading { display: none; }
  .booking-frame iframe { width: 100%; border: 0; }
  .booking-frame__fallback { padding: 2rem; text-align: center; }
  .booking-frame__fallback a { color: var(--tegel-deep); font-weight: 650; }
  .booking-aside { display: grid; gap: var(--space-s); position: sticky; top: calc(var(--header-h) + 1.5rem); }
  @media (max-width: 72rem) { .booking-aside { position: static; } }
  .aside-card {
    display: grid;
    gap: 0.9rem;
    padding: 1.4rem;
    border-radius: var(--radius-l);
    background: var(--cream);
  }
  .aside-card h2 { font-size: var(--step-1); }
  .aside-card ul { display: grid; gap: 0.8rem; padding: 0; list-style: none; font-size: var(--step--1); color: var(--ink-soft); }
  .aside-card li { display: grid; grid-template-columns: auto 1fr; gap: 0.65rem; align-items: start; }
  .aside-card li strong { display: block; color: var(--ink); font-size: var(--step-0); }
  .aside-card .icon { color: var(--tegel); margin-top: 0.15em; }
  .aside-card--dark { background: var(--forest); color: var(--cream); }
  .aside-card--dark h2 { color: var(--paper); }
  .aside-card--dark p { color: oklch(88% 0.02 85); font-size: var(--step--1); }

  /* 404 */
  .not-found {
    min-height: 70svh;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: var(--space-m);
    text-align: center;
    padding-block: var(--space-xl);
  }
  .not-found__code { font-family: var(--font-display); font-style: italic; font-size: clamp(6rem, 3rem + 14vw, 14rem); line-height: 0.85; color: var(--tegel); letter-spacing: -0.05em; }
}

/* ---------- Rörelse (progressiv förbättring) ---------- */
@layer motion {
  ::view-transition-old(root),
  ::view-transition-new(root) { animation-duration: 0.32s; animation-timing-function: var(--ease-out); }

  /* ---------- Heroens loopar ----------
     Körs när systemet tillåter rörelse eller när besökaren startat dem med knappen. Pausas med
     knappen och när hero inte syns. Bara transform/opacity, så allt går i kompositorn. */
  .hero { --loop: paused; }
  @media (prefers-reduced-motion: no-preference) { .hero { --loop: running; } }
  .hero[data-motion="on"] { --loop: running; }
  .hero[data-motion="off"], .hero[data-paused] { --loop: paused; }

  .hero__media img { animation: drift 24s ease-in-out infinite alternate; }
  @keyframes drift { from { scale: 1.03; translate: 1% 0; } to { scale: 1.15; translate: -3% -1.5%; } }

  .hero__light span { animation: beam 9s ease-in-out infinite; }
  .hero__light span:nth-child(2) { animation-duration: 12s; animation-delay: -4s; }
  .hero__light span:nth-child(3) { animation-duration: 15s; animation-delay: -9s; }
  @keyframes beam {
    0%, 100% { opacity: 0.4; rotate: var(--r); }
    35% { opacity: 0.9; rotate: calc(var(--r) + 5deg); }
    70% { opacity: 0.15; rotate: calc(var(--r) - 4deg); }
  }

  .hero__layer--back .hero__sway { animation: sway 9s ease-in-out infinite; --sway: 1.8deg; }
  .hero__layer--mid .hero__sway { animation: sway 7s ease-in-out -2.5s infinite; --sway: 2.8deg; }
  .hero__layer--front .hero__sway { animation: sway 5.5s ease-in-out -1s infinite; --sway: 3.8deg; }
  @keyframes sway {
    0%, 100% { transform: skewX(0deg); }
    30% { transform: skewX(var(--sway)); }
    70% { transform: skewX(calc(var(--sway) * -1)); }
  }

  .hero__mist { animation: mist 30s linear infinite; }
  .hero__mist--front { animation-duration: 46s; animation-direction: reverse; }
  @keyframes mist { to { translate: -50% 0; } }

  /* Gavelklockan går i svensk tid (startvinklarna sätts av site.js) */
  .hero__clock.is-live .hand--s { animation: hand-s 60s linear infinite; }
  .hero__clock.is-live .hand--m { animation: hand-m 3600s linear infinite; }
  .hero__clock.is-live .hand--h { animation: hand-h 43200s linear infinite; }
  @keyframes hand-s { from { rotate: var(--sec); } to { rotate: calc(var(--sec) + 360deg); } }
  @keyframes hand-m { from { rotate: var(--min); } to { rotate: calc(var(--min) + 360deg); } }
  @keyframes hand-h { from { rotate: var(--hour); } to { rotate: calc(var(--hour) + 360deg); } }

  /* ---------- Hero-intro: tidslinje ----------
     0–4,6 s Skaraborg · 4,2–8,8 s rummen · 8,4–13,8 s närområdet · 12,9–15 s heron landar */
  :root[data-intro="play"] .hero-intro { animation: intro-out 1s var(--ease-out) 12.85s forwards; }
  :root[data-intro="play"] .hero-intro__skip { animation: intro-out 0.6s var(--ease-out) 12.85s forwards; }
  @keyframes intro-out { to { opacity: 0; visibility: hidden; } }

  .hero-intro__scene--region { --t0: 0s; }
  .hero-intro__scene--rooms { --t0: 4.2s; }
  .hero-intro__scene--near { --t0: 8.4s; }
  :root[data-intro="play"] .hero-intro__scene { animation: scene 4.6s linear var(--t0) both; }
  :root[data-intro="play"] .hero-intro__scene--near { animation-name: scene-last; }
  @keyframes scene { 0% { opacity: 0; } 9%, 91% { opacity: 1; } 100% { opacity: 0; } }
  @keyframes scene-last { 0% { opacity: 0; } 9%, 100% { opacity: 1; } }

  :root[data-intro="play"] .hero-intro__caption > * { animation: caption-in 0.8s var(--ease-out) both; animation-delay: calc(var(--t0) + 0.2s); }
  :root[data-intro="play"] .hero-intro__caption > :nth-child(2) { animation-delay: calc(var(--t0) + 0.32s); }
  :root[data-intro="play"] .hero-intro__caption > :nth-child(3) { animation-delay: calc(var(--t0) + 0.48s); }
  @keyframes caption-in { from { opacity: 0; translate: 0 1.2rem; } }

  /* Kartan ritas upp: sjöar, vägar, orter och sist Stora Ekeberg, medan kameran zoomar in */
  :root[data-intro="play"] .hero-intro__map { animation: map-zoom 4.6s cubic-bezier(0.45, 0, 0.2, 1) both; }
  @keyframes map-zoom { from { scale: 1.02; } to { scale: 1.32; } }
  :root[data-intro="play"] .rmap-lake { animation: fade-in 1.2s var(--ease-out) 0.1s both; }
  :root[data-intro="play"] .rmap-lake-label { animation: fade-in 1s var(--ease-out) 0.5s both; }
  :root[data-intro="play"] .rmap-road { animation: draw-in 1.3s var(--ease-out) both; animation-delay: calc(0.4s + var(--k) * 0.09s); }
  :root[data-intro="play"] .rmap-town-g { animation: fade-in 0.5s var(--ease-out) both; animation-delay: calc(0.9s + var(--k) * 0.08s); }
  :root[data-intro="play"] .rmap-home-g { animation: fade-in 0.5s var(--ease-out) 1.8s both; }
  :root[data-intro="play"] .rmap-home-pulse { animation: ring 1.4s var(--ease-out) 2s 2 both; }
  @keyframes fade-in { from { opacity: 0; } }
  @keyframes draw-in { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
  @keyframes ring { from { scale: 0.4; opacity: 0.6; } to { scale: 2.2; opacity: 0; } }

  /* Rummen fälls ut som kort */
  :root[data-intro="play"] .hero-intro__card { animation: card-in 0.9s var(--ease-spring) both; animation-delay: calc(4.4s + var(--n) * 0.13s); }
  @keyframes card-in { from { opacity: 0; scale: 0.8; rotate: calc(var(--tilt) * -2.5); } }
  :root[data-intro="play"] .hero-intro__card img { animation: card-zoom 5s linear 4.4s both; }
  @keyframes card-zoom { from { scale: 1.15; } }

  /* Närområdet: vägarna ritas ut från Stora Ekeberg, närmast först */
  :root[data-intro="play"] .hero-intro__local { animation: rise 0.9s var(--ease-out) 8.5s both; }
  :root[data-intro="play"] .hero-intro__local .map-route { animation: draw-in 1s var(--ease-out) both; animation-delay: calc(8.9s + var(--k) * 0.32s); }
  :root[data-intro="play"] .hero-intro__local :is(.map-dot, .map-label) { animation: fade-in 0.5s var(--ease-out) both; animation-delay: calc(9.3s + var(--k, -1) * 0.32s); }

  :root[data-intro="play"] .hero-intro__progress i::after { animation: progress 4.2s linear both; }
  :root[data-intro="play"] .hero-intro__progress i:nth-child(2)::after { animation-delay: 4.2s; }
  :root[data-intro="play"] .hero-intro__progress i:nth-child(3)::after { animation-delay: 8.4s; animation-duration: 4.45s; }
  @keyframes progress { to { scale: 1 1; } }

  /* Heron landar: fotot zoomar ut, skogen reser sig, rubriken glider fram */
  :root[data-intro="play"] .hero__media img { animation: arrive 2.6s var(--ease-out) 12.5s both, drift 24s ease-in-out 15.1s infinite alternate; animation-play-state: var(--loop); }
  @keyframes arrive { from { scale: 1.32; translate: 0 2%; } to { scale: 1.03; translate: 1% 0; } }
  :root[data-intro="play"] .hero__forest { animation: forest-rise 1.7s var(--ease-out) 12.8s backwards; }
  @keyframes forest-rise { from { translate: 0 45%; opacity: 0; } }
  :root[data-intro="play"] :is(.hero__light span, .hero__sway, .hero__mist) { animation-delay: 12.6s; }
  :root[data-intro="play"] .hero__content > .eyebrow { animation: rise 0.9s var(--ease-out) 12.95s; }
  :root[data-intro="play"] .hero__content > .lead { animation: rise 0.9s var(--ease-out) 13.5s; }
  :root[data-intro="play"] .hero__title .w > span { animation-delay: calc(13s + var(--i) * 0.09s); animation-fill-mode: none; }
  :root[data-intro="play"] :is(.hero__clock, .hero__toggle) { animation-delay: 13.6s; }

  /* Måste stå sist: animation-förkortningarna ovan nollställer annars play-state */
  :is(.hero__media img, .hero__light span, .hero__sway, .hero__mist, .hero__clock.is-live .hand) { animation-play-state: var(--loop); }

  @media (prefers-reduced-motion: no-preference) {
    .hero__content > :not(.hero__title) { animation: rise 0.9s var(--ease-out) both; }
    .hero__content > :nth-child(2) { animation-delay: 0.08s; }
    .hero__content > :nth-child(3) { animation-delay: 0.16s; }
    .hero__content > :nth-child(4) { animation-delay: 0.24s; }
    .hero__content > :nth-child(5) { animation-delay: 0.32s; }
    @keyframes rise { from { opacity: 0; translate: 0 1.5rem; } }

    /* Rubriken: orden glider upp i tur och ordning */
    .hero__title .w > span { animation: word-up 1.05s var(--ease-out) both; animation-delay: calc(0.12s + var(--i) * 0.09s); }
    @keyframes word-up { from { translate: 0 110%; } }

    /* Klockan och paus-knappen tonar in efter rubriken */
    .hero__clock, .hero__toggle { animation: rise 1s var(--ease-out) 0.5s both; }

    @supports (animation-timeline: view()) {
      .hero__media {
        animation: hero-parallax linear both;
        animation-timeline: scroll(root);
        animation-range: 0 100svh;
      }
      @keyframes hero-parallax { to { translate: 0 22svh; } }

      /* Skogen i tre djup rör sig olika fort när man skrollar */
      .hero__layer {
        animation: forest-depth linear both;
        animation-timeline: scroll(root);
        animation-range: 0 100svh;
      }
      .hero__layer--back { --depth: 15svh; }
      .hero__layer--mid { --depth: 8svh; }
      .hero__layer--front { --depth: 2svh; }
      @keyframes forest-depth { to { translate: 0 var(--depth); } }

      [data-reveal] {
        animation: reveal linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 55%;
      }
      @keyframes reveal { from { opacity: 0; translate: 0 2.5rem; } }

      [data-reveal="scale"] { animation-name: reveal-scale; }
      @keyframes reveal-scale { from { opacity: 0; scale: 0.94; } }

      .rooms > *, .amenities > *, .info-grid > *, .contact-cards > *, .fact-tiles > * {
        animation: reveal linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 45%;
      }

      .postcard {
        animation: postcard-tilt linear both;
        animation-timeline: view();
        animation-range: entry 0% cover 50%;
      }
      @keyframes postcard-tilt { from { rotate: 4deg; translate: 0 3rem; } to { rotate: -2.2deg; translate: 0 0; } }

      .map-route {
        stroke-dashoffset: 1;
        animation: draw linear both;
        animation-timeline: view();
        animation-range: entry 20% cover 45%;
      }
      @keyframes draw { to { stroke-dashoffset: 0; } }

      .map-home__pulse {
        animation: pulse linear both;
        animation-timeline: view();
        animation-range: entry 30% cover 55%;
      }
      @keyframes pulse { from { scale: 0.4; opacity: 0.5; } to { scale: 1.6; opacity: 0.15; } }

      .timeline::after {
        animation: grow linear both;
        animation-timeline: view();
        animation-range: entry 30% exit 40%;
      }
      @keyframes grow { from { scale: 1 0; } }
    }
  }

  @media (prefers-reduced-motion: reduce) {
    :not(.hero[data-motion="on"] *), :not(.hero[data-motion="on"] *)::before, :not(.hero[data-motion="on"] *)::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }
}

/* View transitions mellan sidor (top-nivå, utanför lager) */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}
