/* Williams Hårstudio — designsystem "Slingor & lager" (visual-direction revision 2, L1–L8, komponenter C1–C19).
   Mobile-first. Milk/stone/ink med en rouge accent; karamell bara i slingorna. Instrument Serif + Familjen Grotesk. */

/* ---------------- typsnitt (självhostade, OFL) ---------------- */
@font-face {
  font-family: 'Instrument Serif';
  src: url('/assets/fonts/instrument-serif-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('/assets/fonts/instrument-serif-latin-400-italic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Familjen Grotesk';
  src: url('/assets/fonts/familjen-grotesk-latin-wght-normal.woff2') format('woff2');
  font-weight: 400 700; font-style: normal; font-display: swap;
}
/* metrikjusterade reserver — mindre layoutskift när webbtypsnitten laddas */
@font-face { font-family: 'Serif Fallback'; src: local('Georgia'), local('Times New Roman'); size-adjust: 88%; ascent-override: 102%; descent-override: 27%; line-gap-override: 0%; }
@font-face { font-family: 'Sans Fallback'; src: local('Arial'), local('Helvetica'); size-adjust: 97%; ascent-override: 98%; descent-override: 26%; line-gap-override: 0%; }

/* ---------------- tokens ---------------- */
:root {
  --milk: #FAF8F5;
  --stone: #EEEBE6;
  --stone-deep: #E3DFD8;
  --ink: #16131A;
  --ink-2: #221E27;
  --ink-soft: #37323A;
  --graphite: #5C5760;
  --fog: #B9B3BC;
  --rouge: #C3173A;
  --rouge-deep: #9E1230;
  --caramel: #C49163;
  --blond: #E9D6B4;
  --cream: #F4EFE8;
  --hair: rgba(22, 19, 26, 0.13);
  --hair-strong: rgba(22, 19, 26, 0.26);
  --hair-light: rgba(244, 239, 232, 0.18);

  --serif: 'Instrument Serif', 'Serif Fallback', Georgia, 'Times New Roman', serif;
  --sans: 'Familjen Grotesk', 'Sans Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --wrap: 1360px;
  --gutter: clamp(18px, 5vw, 48px);
  --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  --header-h: 68px;
  --section: clamp(72px, 11vw, 152px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  color-scheme: light;
}
@media (min-width: 1100px) { :root { --header-h: 84px; } }

/* ---------------- bas ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--milk);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
dl, dd { margin: 0; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.7rem, 1.4rem + 4.4vw, 5.6rem); line-height: 0.95; }
h2 { font-size: clamp(2.4rem, 1.4rem + 3.4vw, 4.6rem); line-height: 0.98; }
h3 { font-family: var(--sans); font-weight: 600; font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem); line-height: 1.25; letter-spacing: -0.005em; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--rouge); }
strong { font-weight: 600; }
::selection { background: var(--rouge); color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--ink); color: var(--cream); padding: 12px 18px; text-decoration: none; font-weight: 600; border-radius: 999px;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--rouge); outline-offset: 3px; border-radius: 2px; }
.band--dark :focus-visible, .site-footer :focus-visible, .ord :focus-visible { outline-color: var(--blond); }
.book-band :focus-visible { outline-color: var(--milk); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--stone { background: var(--stone); }
.section--tight { padding-block: clamp(48px, 7vw, 88px); }
.section--flush { padding-top: 0; }
.band--dark { background: var(--ink); color: var(--cream); }
.band--dark h2 em, .band--dark h3 em { color: var(--blond); }

.eyebrow {
  font-family: var(--sans); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.4;
  color: var(--graphite); margin: 0 0 20px; display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--rouge); flex: none; }
.eyebrow--light { color: var(--fog); }
.lead { font-size: clamp(1.08rem, 1rem + 0.35vw, 1.24rem); line-height: 1.6; color: var(--ink-soft); max-width: 33em; }
.muted { color: var(--graphite); }

/* scroll-sentinel för header-läget (script.js) */
.scroll-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 8px; pointer-events: none; }
@media (max-width: 767px) { .hero__media--desk { display: none; } }

/* ---------------- ikoner ---------------- */
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.glyph { width: 20px; height: 20px; flex: none; fill: currentColor; stroke: none; }

/* ---------------- knappar och länkar (mikrointeraktioner) ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  border: 1px solid transparent; border-radius: 999px;
  font-family: var(--sans); font-size: 0.98rem; font-weight: 600; letter-spacing: 0.005em; line-height: 1.1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  background-repeat: no-repeat; background-size: 0% 100%; background-position: 0 0;
  transition: background-size 0.45s var(--ease-out), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.15s var(--ease);
}
.btn .icon { width: 19px; height: 19px; transition: transform 0.3s var(--ease-out); }
.btn:hover { background-size: 100% 100%; }
.btn:active { transform: translateY(1px); }
.btn--solid { background-color: var(--rouge); background-image: linear-gradient(var(--rouge-deep), var(--rouge-deep)); color: #fff; }
.btn--line { border-color: var(--hair-strong); color: var(--ink); background-color: transparent; background-image: linear-gradient(var(--ink), var(--ink)); }
.btn--line:hover { border-color: var(--ink); color: var(--milk); }
.btn--light { background-color: var(--milk); background-image: linear-gradient(var(--ink), var(--ink)); color: var(--ink); }
.btn--light:hover { color: var(--milk); }
.btn--ghost { border-color: rgba(250, 248, 245, 0.6); color: var(--milk); background-color: transparent; background-image: linear-gradient(var(--milk), var(--milk)); }
.btn--ghost:hover { border-color: var(--milk); color: var(--rouge-deep); }
.band--dark .btn--ghost:hover { color: var(--ink); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 0.92rem; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1rem; }
@media (hover: hover) { .btn:hover .icon--arrow { transform: translateX(4px); } .btn:hover .icon:not(.icon--arrow) { transform: rotate(-8deg); } }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.tlink {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink); font-weight: 600; text-decoration: none;
  padding-block: 6px;
  background-image: linear-gradient(var(--rouge), var(--rouge)), linear-gradient(var(--hair-strong), var(--hair-strong));
  background-size: 0 1px, 100% 1px; background-position: 0 100%, 0 100%; background-repeat: no-repeat;
  transition: background-size 0.35s var(--ease-out), color 0.2s var(--ease);
}
.tlink:hover { background-size: 100% 1px, 100% 1px; color: var(--rouge-deep); }
.tlink .icon { width: 17px; height: 17px; transition: transform 0.3s var(--ease-out); }
@media (hover: hover) { .tlink:hover .icon--arrow { transform: translateX(4px); } }
.band--dark .tlink { color: var(--cream); background-image: linear-gradient(var(--blond), var(--blond)), linear-gradient(var(--hair-light), var(--hair-light)); }
.band--dark .tlink:hover { color: var(--blond); }
.prose a:not(.btn):not(.tlink) { color: var(--rouge-deep); text-decoration-color: var(--rouge); text-underline-offset: 0.2em; }

/* ---------------- sociala ikoner (C17): monokrom → varumärkesversion med fjäder ---------------- */
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.social {
  position: relative; display: block; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--hair-strong); color: var(--ink); overflow: hidden; isolation: isolate;
  transition: transform 0.45s var(--spring), border-color 0.3s var(--ease);
}
.social__face {
  position: absolute; inset: 0; display: grid; place-items: center; border-radius: inherit;
  transition: transform 0.55s var(--spring), opacity 0.3s var(--ease);
}
.social__face .glyph { width: 20px; height: 20px; }
.social--bokadirekt .glyph { width: 22px; height: 22px; }
.social__face--brand { color: #fff; opacity: 0; transform: translate(-72%, 72%) rotate(-24deg) scale(0.6); }
.social--instagram .social__face--brand { background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FDF497 5%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }
.social--facebook .social__face--brand { background: #0866FF; }
.social--bokadirekt .social__face--brand { background: #001A33; color: #51A492; }
.social:focus-visible { transform: translateY(-3px); border-color: transparent; }
.social:focus-visible .social__face--base { opacity: 0; transform: translate(72%, -72%) rotate(24deg) scale(0.6); }
.social:focus-visible .social__face--brand { opacity: 1; transform: none; }
@media (hover: hover) {
  .social:hover { transform: translateY(-3px); border-color: transparent; }
  .social:hover .social__face--base { opacity: 0; transform: translate(72%, -72%) rotate(24deg) scale(0.6); }
  .social:hover .social__face--brand { opacity: 1; transform: none; }
}
.socials--dark .social { border-color: rgba(244, 239, 232, 0.32); color: var(--cream); }

/* ---------------- header + navigation ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 245, 0);
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(250, 248, 245, 0.88); border-bottom-color: var(--hair);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
}
html.menu-open .site-header { background: var(--milk); }
.site-header__bar { height: var(--header-h); display: flex; align-items: center; gap: 16px; }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink); margin-right: auto; }
.logo { display: block; width: clamp(150px, 47vw, 190px); height: auto; fill: currentColor; overflow: visible; }
.logo__sub { fill: #947D5C; }
.wordmark--light { color: var(--cream); }
.wordmark--light .logo__sub { fill: #E5D3B3; }
.site-nav { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 10px; }
.header-tel { display: none; }
.menu-toggle {
  display: inline-grid; place-items: center; width: 46px; height: 46px; padding: 0;
  border: 1px solid var(--hair-strong); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer;
}
.menu-toggle__lines { position: relative; width: 18px; height: 10px; }
.menu-toggle__lines::before, .menu-toggle__lines::after {
  content: ''; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform 0.3s var(--ease-out);
}
.menu-toggle__lines::before { top: 1px; }
.menu-toggle__lines::after { top: 8px; }
.menu-toggle[aria-expanded='true'] .menu-toggle__lines::before { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] .menu-toggle__lines::after { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 379px) {
  .site-header__actions .btn--sm { padding: 0 14px; }
}
/* 1100–1279: telefonnumret som ikon med dold text, så att sex navigationsposter ryms */
@media (min-width: 1100px) and (max-width: 1279px) { .header-tel__num { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
@media (min-width: 1100px) {
  .site-nav { display: block; }
  .site-nav ul { display: flex; gap: clamp(18px, 2vw, 34px); }
  .site-nav a {
    text-decoration: none; font-weight: 500; font-size: 0.97rem; padding: 8px 0; position: relative;
    background-image: linear-gradient(var(--rouge), var(--rouge)); background-size: 0 1.5px; background-position: 0 100%; background-repeat: no-repeat;
    transition: background-size 0.35s var(--ease-out);
  }
  .site-nav a:hover, .site-nav a[aria-current='page'] { background-size: 100% 1.5px; }
  .site-nav { margin-right: clamp(12px, 2vw, 32px); }
  .header-tel { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 8px 4px; }
  .header-tel .icon { width: 18px; height: 18px; color: var(--rouge); }
  .menu-toggle { display: none; }
  .logo { width: 230px; }
}

.menu-panel {
  /* bottom -8px: panelen täcker hela vyn även under den 8 px långa inglidningen */
  position: fixed; left: 0; right: 0; bottom: -8px; top: var(--header-h); z-index: 45;
  background: var(--milk); border-top: 1px solid var(--hair);
  overflow-y: auto; overscroll-behavior: contain;
  padding: 8px var(--gutter) calc(36px + env(safe-area-inset-bottom, 0px));
}
.menu-panel[hidden] { display: none; }
.menu-panel:not([hidden]) { animation: panel-in 0.28s var(--ease-out) both; }
/* panelen är helt ogenomskinlig från första bildrutan — rörelsen är bara en kort glidning */
@keyframes panel-in { from { transform: translateY(-8px); } to { transform: none; } }
.menu-panel__nav li { border-bottom: 1px solid var(--hair); }
.menu-panel__nav a { display: flex; align-items: center; justify-content: space-between; min-height: 62px; font-family: var(--serif); font-size: 2.1rem; line-height: 1; text-decoration: none; }
.menu-panel__nav a .icon { color: var(--rouge); }
.menu-panel__ctas { display: grid; gap: 10px; margin: 26px 0 22px; }
.menu-panel__info { display: grid; gap: 4px; color: var(--graphite); font-size: 0.98rem; }
.menu-panel__info a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--ink); }
.menu-panel__info p { display: flex; gap: 10px; align-items: center; margin: 0; min-height: 40px; }
.menu-panel__info .icon { color: var(--rouge); }
.socials--menu { margin-top: 18px; }
html.menu-open { overflow: hidden; }
@media (min-width: 1100px) { .menu-panel { display: none !important; } }

/* ---------------- brödsmulor (C13) ---------------- */
.crumbs { padding-top: clamp(18px, 3vw, 30px); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--graphite); }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: ''; width: 14px; height: 1px; background: var(--rouge); margin: 0 12px; }
.crumbs a { text-decoration: none; padding: 8px 0; }
.crumbs a:hover { color: var(--rouge-deep); }
.crumbs [aria-current] { color: var(--ink); }

/* ---------------- redaktionell bildram (C1) ---------------- */
.shot { position: relative; }
.shot__img { position: relative; overflow: hidden; border-radius: 2px; background: var(--stone-deep); }
.shot--45 .shot__img { aspect-ratio: 4 / 5; }
.shot--34 .shot__img { aspect-ratio: 3 / 4; }
.shot--11 .shot__img { aspect-ratio: 1 / 1; }
.shot__img picture { width: 100%; height: 100%; }
.shot__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.caption { margin-top: 12px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--graphite); line-height: 1.45; }
.band--dark .caption { color: var(--fog); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .shot:hover img, a:hover .shot img { transform: scale(1.04); }
}

/* ---------------- slingorna (C2) ---------------- */
.strands { position: absolute; pointer-events: none; overflow: visible; }
.strands path { fill: none; stroke: var(--caramel); stroke-width: 1.15; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: 0.62; }
.strands path:nth-child(2n) { opacity: 0.38; }
.js .strands path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .strands.is-drawn path { stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s var(--ease-out); transition-delay: calc(var(--n, 0) * 0.12s); }

/* ---------------- hero: startsidan (C15 lagrade plan + C2 + C17) ---------------- */
.hero { position: relative; }
.hero--home { padding: clamp(14px, 2vw, 28px) 0 clamp(56px, 7vw, 104px); overflow: clip; }
.hero--home .hero__grid { position: relative; display: grid; gap: 30px; padding-inline: var(--gutter); }
.hero__text { position: relative; z-index: 3; max-width: 700px; }
.hero--home h1 { font-size: clamp(3.4rem, 0.9rem + 6.4vw, 7.6rem); line-height: 0.9; letter-spacing: -0.025em; margin-bottom: 24px; }
@media (min-width: 1024px) { .hero--home h1 { font-size: min(0.6rem + 5.8vw, 11.2vh, 7.4rem); } }
.h1-line { display: block; overflow: hidden; padding: 0 0.12em 0.14em 0; margin-bottom: -0.14em; }
.h1-line__in { display: inline-block; }
.hero--home .lead { margin-bottom: 28px; }
.hero__meta { display: grid; gap: 10px; margin-top: 24px; font-size: 0.95rem; color: var(--graphite); }
.hero__meta p { display: flex; align-items: center; gap: 10px; margin: 0; }
.hero__meta .icon { color: var(--rouge); width: 18px; height: 18px; }
.hero__social { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--hair); }
.hero__social-label { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.rating strong { color: var(--ink); font-weight: 700; }
.rating .stars { display: inline-flex; gap: 2px; color: var(--rouge); }
.rating .stars .icon { width: 15px; height: 15px; }
.band--dark .rating strong { color: var(--cream); }

.hero__stage { position: relative; order: -1; margin-inline: calc(var(--gutter) * -1); height: min(104vw, 470px); }
.hero__plane { position: absolute; top: 0; right: 0; bottom: 15%; width: 66%; background: var(--ink); z-index: 0; transform-origin: right center; }
.hero__tag { position: absolute; z-index: 1; right: 12px; top: 16px; margin: 0; writing-mode: vertical-rl; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--fog); }
.hero__main { position: absolute; z-index: 2; left: var(--gutter); top: 6%; width: 61%; }
.hero__inset { position: absolute; z-index: 3; right: calc(var(--gutter) + 18px); bottom: 0; width: 37%; }
.hero__inset .shot__img { outline: 6px solid var(--milk); box-shadow: 0 30px 50px -30px rgba(22, 19, 26, 0.55); }
.strands--hero { left: 0; width: 100%; top: 40px; height: min(80vw, 360px); z-index: 1; -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 70%); mask-image: linear-gradient(90deg, transparent 20%, #000 70%); }
@media (min-width: 600px) and (max-width: 1023px) {
  .hero__stage { height: min(86vw, 700px); }
  .hero__main { width: 54%; }
  .hero__inset { width: 32%; right: calc(var(--gutter) + 28px); }
  .hero__plane { width: 62%; }
}
@media (min-width: 1024px) {
  .hero--home .hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 4vw, 72px); padding-left: var(--edge); padding-right: 0; }
  .hero__stage { order: 0; margin: 0; height: clamp(520px, 64vw, 640px); }
  .hero__main { left: 0; top: 7%; width: 66%; }
  .hero__inset { right: 9%; bottom: 3%; width: 36%; }
  .hero__inset .shot__img { outline-width: 8px; }
  .hero__plane { width: 72%; bottom: 13%; }
  .strands--hero { top: 26%; height: 58%; -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 60%); mask-image: linear-gradient(90deg, transparent 30%, #000 60%); }
}
@media (min-width: 1024px) {
  .hero__stage { height: clamp(560px, calc(100svh - var(--header-h) - 48px), 840px); }
  .hero__tag { right: 20px; top: 26px; font-size: 0.7rem; }
}
@media (max-width: 520px) { .hero--home .actions .btn { flex: 1 1 auto; } }

/* ---------------- hero: undersidor (C15) ---------------- */
.hero--page { padding: clamp(12px, 2vw, 24px) 0 clamp(64px, 8vw, 120px); overflow: clip; }
.hero--page .hero__grid { display: grid; gap: 44px; position: relative; }
.hero--page h1 { margin-bottom: 22px; }
.hero--page .lead { margin-bottom: 28px; }
.page-stage { position: relative; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 9% 14%; }
.page-stage__plane { position: absolute; top: 14%; right: 0; bottom: 0; left: 0; background: var(--stone); }
.page-stage__shot { position: relative; z-index: 2; max-width: 520px; }
.strands--stage { left: 0; width: 100%; top: 30%; height: 60%; z-index: 1; }
@media (min-width: 900px) {
  .hero--page .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: clamp(32px, 5vw, 88px); }
  .page-stage { margin: 0 calc(var(--edge) * -1) 0 0; padding: 0 var(--edge) 10% 18%; }
  .page-stage__plane { top: 16%; left: 0; }
}

/* ---------------- förtroendelinje (C6) ---------------- */
.trust { border-block: 1px solid var(--hair); position: relative; z-index: 2; }
.trust__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.trust__item { display: grid; gap: 4px; padding: 22px 12px 22px 0; align-content: start; }
.trust__item:nth-child(odd) { border-right: 1px solid var(--hair); }
.trust__item:nth-child(even) { padding-left: 18px; }
.trust__item:nth-child(-n+2) { border-bottom: 1px solid var(--hair); }
.trust__item .icon { color: var(--rouge); margin-bottom: 6px; }
.trust__big { font-family: var(--serif); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); line-height: 1; }
.trust__small { font-size: 0.88rem; color: var(--graphite); line-height: 1.45; }
@media (min-width: 900px) {
  .trust__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .trust__item { padding: 30px 24px; border-bottom: 0 !important; border-right: 1px solid var(--hair); }
  .trust__item:nth-child(even) { padding-left: 24px; }
  .trust__item:first-child { padding-left: 0; }
  .trust__item:last-child { border-right: 0; }
}

/* ---------------- typografiskt band (C16) ----------------
   Två rader som glider kontinuerligt: den övre åt vänster, den undre åt höger. Varje rad består av två identiska
   halvor, så en förflyttning på exakt -50 % loopar sömlöst. Dekorativt (aria-hidden); pausar vid hover och när
   bandet inte syns (script.js), står still vid reducerad rörelse. */
.ord { background: var(--ink); color: var(--cream); overflow: hidden; padding-block: clamp(26px, 4vw, 52px); display: grid; gap: 0.06em; }
.ord__row {
  margin: 0; display: flex; align-items: center; white-space: nowrap; width: max-content;
  font-family: var(--serif); font-style: italic; font-size: clamp(3rem, 1.6rem + 5.6vw, 8.4rem); line-height: 1.08; letter-spacing: -0.02em;
}
.ord__item { display: inline-flex; align-items: center; gap: 0.32em; padding-right: 0.32em; }
.ord__row--b { color: transparent; -webkit-text-stroke: 1px rgba(244, 239, 232, 0.55); transform: translateX(-25%); }
.ord__mark { width: 0.42em; height: 0.42em; flex: none; fill: none; stroke: var(--rouge); stroke-width: 1.6; stroke-linecap: round; }
.ord__row--b .ord__mark { stroke: var(--caramel); }

/* ---------------- kapitelhuvud ---------------- */
.chapter-head { display: grid; gap: 20px; margin-bottom: clamp(44px, 6vw, 96px); max-width: 1000px; }
.chapter-head h2 { font-size: clamp(2.6rem, 1.3rem + 4.4vw, 5.6rem); line-height: 0.94; }
.chapter-head p { color: var(--graphite); max-width: 34em; font-size: 1.06rem; }
.band--dark .chapter-head p { color: var(--fog); }
@media (min-width: 900px) {
  .chapter-head--split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 56px; max-width: none; }
  .chapter-head--split p { justify-self: end; }
}

/* ---------------- tjänstepaneler (C3) ----------------
   A: bild vänster inom satsytan · B: text vänster, bild i kant till höger över stone-plan ·
   C: spegling av B — bild i kant till vänster över stone-plan, text höger. */
.panels { display: grid; gap: clamp(80px, 11vw, 176px); }
.panel { display: grid; gap: 30px; position: relative; }
.panel__media { position: relative; margin-inline: calc(var(--gutter) * -1); }
.panel__media .shot__img { border-radius: 0; }
.panel__title { font-family: var(--serif); font-weight: 400; font-size: clamp(3.4rem, 1.4rem + 7vw, 8.6rem); line-height: 0.86; letter-spacing: -0.03em; margin-bottom: 20px; }
.panel__body p { max-width: 31em; }
.panel__meta {
  display: flex; align-items: center; gap: 10px; padding-top: 14px; margin-top: 20px;
  border-top: 1px solid var(--hair-strong); font-size: 0.95rem; color: var(--ink-soft); font-variant-numeric: tabular-nums;
}
.panel__meta .icon { width: 18px; height: 18px; color: var(--rouge); }
.panel__links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 24px; }
.panel__plane { display: none; }
.panel__media .caption { padding-inline: var(--gutter); }
@media (max-width: 899px) {
  .panel--b .panel__media { padding: 28px 0 0 16%; }
  .panel--b .panel__plane { display: block; position: absolute; left: 0; top: 0; bottom: 36px; width: 62%; background: var(--stone); }
  .panel--b .panel__media .caption { padding-left: 0; }
  .panel--c .panel__media { padding: 28px 16% 0 0; }
  .panel--c .panel__plane { display: block; position: absolute; right: 0; top: 0; bottom: 36px; width: 62%; background: var(--stone); }
  .panel--b .panel__shot, .panel--c .panel__shot { position: relative; z-index: 1; }
}
.price-note { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; margin-top: clamp(56px, 7vw, 96px); font-size: 0.88rem; color: var(--graphite); }
@media (min-width: 600px) and (max-width: 899px) {
  .panel__media { margin-inline: 0; }
  .panel__media .shot__img { border-radius: 2px; }
  .panel__media .caption { padding-inline: 0; }
}
@media (min-width: 900px) {
  .panel { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(20px, 2.4vw, 40px); align-items: center; }
  .panel__media { margin: 0; }
  .panel__media .shot__img { border-radius: 2px; }
  .panel--a .panel__media { grid-column: 1 / 8; grid-row: 1; }
  .panel--a .panel__body { grid-column: 8 / 13; grid-row: 1; align-self: end; padding-bottom: 4%; }
  .panel--b .panel__body { grid-column: 1 / 6; grid-row: 1; }
  .panel--b .panel__media { grid-column: 6 / 13; grid-row: 1; margin-right: calc(var(--edge) * -1); padding: 9% var(--edge) 9% 11%; }
  .panel--b .panel__plane { display: block; position: absolute; top: 0; bottom: 0; left: 32%; right: 0; background: var(--stone); }
  .panel--b .panel__shot { position: relative; z-index: 1; max-width: 560px; }
  .panel--c .panel__media { grid-column: 1 / 8; grid-row: 1; margin-left: calc(var(--edge) * -1); padding: 9% 11% 9% var(--edge); }
  .panel--c .panel__plane { display: block; position: absolute; top: 0; bottom: 0; left: 0; right: 32%; background: var(--stone); }
  .panel--c .panel__shot { position: relative; z-index: 1; max-width: 560px; margin-left: auto; }
  .panel--c .panel__body { grid-column: 8 / 13; grid-row: 1; }
}

/* ---------------- resultatflöde (C4) ---------------- */
.section--feed { overflow: clip; }
.strands--feed { left: 0; width: 100%; top: 0; height: 280px; opacity: 0.8; }
.section--feed .wrap { position: relative; timeline-scope: --feed; }
.feed {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 10px; scroll-padding-inline: var(--gutter);
  scrollbar-width: none; scroll-timeline: --feed x; align-items: flex-start;
}
.feed::-webkit-scrollbar { display: none; }
.feed:focus-visible { outline-offset: -2px; }
.feed__item { flex: 0 0 78%; scroll-snap-align: start; }
@media (min-width: 600px) { .feed__item { flex-basis: 46%; } }
.feed__ig {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  aspect-ratio: 4 / 5; padding: clamp(22px, 3vw, 40px); border-radius: 2px;
  background: var(--ink); color: var(--cream); text-decoration: none; overflow: hidden; isolation: isolate;
}
.feed__ig::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.5s var(--ease);
  background: radial-gradient(circle at 20% 110%, rgba(253, 89, 73, 0.55), rgba(214, 36, 159, 0.4) 45%, rgba(40, 90, 235, 0.25) 80%, transparent 100%);
}
.feed__ig:hover::before, .feed__ig:focus-visible::before { opacity: 1; }
.feed__ig-glyph { position: absolute; top: clamp(22px, 3vw, 40px); left: clamp(22px, 3vw, 40px); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(244, 239, 232, 0.35); }
.feed__ig-glyph .glyph { width: 24px; height: 24px; }
.feed__ig-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fog); }
.feed__ig-handle { font-family: var(--serif); font-size: clamp(2rem, 1.4rem + 1.8vw, 3.2rem); line-height: 1; overflow-wrap: anywhere; }
.feed__ig-text { color: var(--fog); max-width: 22em; }
.feed__ig-cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; margin-top: 6px; }
.feed__ig-cta .icon { width: 18px; height: 18px; transition: transform 0.3s var(--ease-out); }
@media (hover: hover) { .feed__ig:hover .feed__ig-cta .icon { transform: translateX(4px); } }
.feed__progress { display: none; }
@supports (animation-timeline: scroll()) {
  .feed__progress { display: block; position: relative; height: 2px; margin-top: 18px; background: var(--hair); overflow: hidden; }
  .feed__progress span { position: absolute; inset: 0; background: var(--rouge); transform-origin: left; transform: scaleX(0.2); animation: feed-progress linear both; animation-timeline: --feed; }
  @keyframes feed-progress { from { transform: scaleX(0.2); } to { transform: scaleX(1); } }
}
@media (min-width: 1024px) {
  .feed {
    display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(18px, 2vw, 32px); row-gap: clamp(30px, 3vw, 48px);
    overflow: visible; margin: 0; padding: 0; scroll-snap-type: none;
  }
  .feed__item { flex: none; }
  .feed__item--a { grid-column: 1 / 6; grid-row: 1; align-self: end; }
  .feed__item--b { grid-column: 6 / 10; grid-row: 1; align-self: end; }
  .feed__item--c { grid-column: 10 / 13; grid-row: 1; align-self: end; }
  .feed__item--d { grid-column: 2 / 6; grid-row: 2; align-self: start; }
  .feed__ig { grid-column: 7 / 13; grid-row: 2; align-self: start; aspect-ratio: 5 / 4; }
  .feed__progress { display: none; }
}

/* ---------------- hos oss: helbild i kant (C1) ---------------- */
.section--salon { padding-block: 0; }
.salon { display: grid; }
.salon__media .shot__img { border-radius: 0; }
.salon__media .caption { padding-inline: var(--gutter); }
.salon__text { padding: clamp(48px, 9vw, 120px) var(--gutter); }
.salon__text h2 { margin-bottom: 26px; }
.salon__text > p { max-width: 32em; color: var(--ink-soft); }
.points { display: grid; margin-top: 34px; }
.points > div { padding: 18px 0; border-top: 1px solid var(--hair-strong); display: grid; gap: 4px; }
.points > div:last-child { border-bottom: 1px solid var(--hair-strong); }
.points dt { font-weight: 600; font-size: 1.08rem; }
.points dd { color: var(--graphite); }
@media (min-width: 900px) {
  .salon { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .salon__media { align-self: stretch; display: flex; flex-direction: column; }
  .salon__media .shot__img { aspect-ratio: auto; flex: 1; min-height: 640px; }
  .salon__media .caption { padding: 0 0 14px var(--edge); }
  .salon__text { padding: clamp(80px, 10vw, 140px) var(--edge) clamp(80px, 10vw, 140px) clamp(48px, 6vw, 112px); max-width: calc(560px + var(--edge) + 112px); }
}

/* ---------------- behandlingsindex (C19) ---------------- */
.index-wrap { display: grid; gap: 40px; }
.index-head { display: grid; gap: 18px; align-content: start; }
.index-head p { color: var(--graphite); max-width: 26em; }
.index-head .tlink { justify-self: start; }
.index { display: grid; }
.index > div { position: relative; padding: 20px 0; border-top: 1px solid var(--hair-strong); }
.index > div::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--rouge); transform: scaleX(0); transform-origin: left; }
.js .index.is-lit > div::before { transform: scaleX(1); transition: transform 0.9s var(--ease-out); transition-delay: calc(var(--k, 0) * 70ms); }
.index dt { font-family: var(--serif); font-size: clamp(1.6rem, 1.3rem + 0.9vw, 2.15rem); line-height: 1.05; }
.index dd { color: var(--graphite); font-size: 0.97rem; margin-top: 6px; }
@media (min-width: 700px) { .index { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; } }
@media (min-width: 900px) {
  .index-wrap { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(48px, 7vw, 120px); }
  .index-head { position: sticky; top: calc(var(--header-h) + 40px); }
}

/* ---------------- omdömen: jättesiffra + citat + rail (C6 + C5 + C18) ---------------- */
.reviews__top { display: grid; gap: 44px; }
.score .eyebrow { margin-bottom: 8px; }
.score__num { font-family: var(--serif); font-size: clamp(8.5rem, 4rem + 15vw, 18rem); line-height: 0.78; letter-spacing: -0.05em; color: var(--blond); margin: 18px 0 0.3em; }
.score__line { color: var(--cream); margin: 0 0 18px; font-size: 0.97rem; }
.score__line .stars { color: var(--blond); }
.reviews .quote__text { font-size: clamp(1.7rem, 1.1rem + 2.1vw, 3.2rem); }
@media (min-width: 900px) { .reviews__top { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: end; gap: clamp(48px, 7vw, 120px); } }
.rail-wrap { margin-top: clamp(52px, 7vw, 96px); padding-top: 32px; border-top: 1px solid var(--hair-light); }
.rail {
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter); scroll-padding-inline: var(--gutter);
}
.rail::-webkit-scrollbar { display: none; }
.rail:focus-visible { outline-offset: -2px; }
.rail__list { display: flex; width: max-content; }
.rail__item--clone { display: none !important; }
.rail__item { width: min(80vw, 380px); margin-right: 16px; scroll-snap-align: start; padding: 26px 26px 24px; border: 1px solid var(--hair-light); border-radius: 4px; background: rgba(244, 239, 232, 0.04); display: flex; }
.rail__item .quote { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.rail__item blockquote p { font-family: var(--serif); font-size: 1.5rem; line-height: 1.22; }
.rail__item blockquote p::before { content: '\201D'; display: block; font-size: 2.6rem; line-height: 0.6; height: 20px; color: var(--rouge); }
.rail__item .quote__by { margin-top: 0; }
.reviews__note { margin-top: 28px; font-size: 0.86rem; color: var(--fog); }

/* ---------------- citat (C5) ---------------- */
.quote { position: relative; max-width: 980px; }
.quote blockquote { margin: 0; }
.quote__text { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 1.15rem + 1.9vw, 2.8rem); line-height: 1.16; letter-spacing: -0.01em; }
.quote__text::before { content: '\201D'; display: block; font-family: var(--serif); font-style: normal; font-size: 5rem; line-height: 0.6; height: 40px; color: var(--rouge); margin-bottom: 12px; }
.band--dark .quote__text::before { color: var(--rouge); }
.quote__by { margin-top: 22px; font-size: 0.9rem; letter-spacing: 0.01em; color: var(--graphite); }
.band--dark .quote__by { color: var(--fog); }
.quote__by strong { color: inherit; font-weight: 600; }
.band--dark .quote__by strong { color: var(--cream); }
.quote-section .quote { margin-inline: auto; }
.quote-section.band--dark { padding-block: clamp(72px, 10vw, 128px); }

/* ---------------- hitta hit (C8 + C9) ---------------- */
.address-mega { font-family: var(--serif); font-size: clamp(3.6rem, 0.6rem + 11vw, 11.5rem); line-height: 0.86; letter-spacing: -0.035em; margin: 6px 0 clamp(40px, 6vw, 80px); }
.address-mega span { display: block; font-family: var(--sans); font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.45rem); letter-spacing: 0.01em; color: var(--graphite); margin-top: 18px; line-height: 1.3; }
.visit { display: grid; gap: 52px; }
@media (min-width: 900px) { .visit { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 120px); } }
.visit__place { max-width: 30em; color: var(--ink-soft); }
.visit .tlink { margin-top: 10px; }
.visit__h3 { margin-bottom: 10px; }
.visit__all { margin-top: 24px; }
.address-big { font-family: var(--serif); font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); line-height: 1.05; margin: 14px 0 12px; }
.hours { margin-top: 32px; }
.hours h3 { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--graphite); margin-bottom: 10px; }
.hours dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--hair); font-variant-numeric: tabular-nums; }
.hours dt { font-weight: 500; }
.hours__note { margin-top: 12px; font-size: 0.88rem; color: var(--graphite); }
.hours__line { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 500; }
.hours__line .icon { color: var(--rouge); width: 18px; height: 18px; }

.area-rows { display: grid; margin-top: 18px; }
.area-row {
  display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 4px 16px; align-items: center;
  padding: 18px 0; border-top: 1px solid var(--hair-strong); text-decoration: none; color: inherit;
}
.area-rows > li:last-child .area-row { border-bottom: 1px solid var(--hair-strong); }
.area-row__name { font-family: var(--serif); font-size: clamp(1.7rem, 1.4rem + 1vw, 2.3rem); line-height: 1.05; transition: color 0.2s var(--ease); }
.area-row__rel { grid-column: 1; color: var(--graphite); font-size: 0.95rem; }
.area-row .icon { grid-column: 2; grid-row: 1 / span 2; justify-self: end; color: var(--rouge); transition: transform 0.3s var(--ease-out); }
.area-row:hover .area-row__name { color: var(--rouge-deep); }
@media (hover: hover) { .area-row:hover .icon { transform: translateX(5px); } }

/* ---------------- resväg (C14) ---------------- */
.route { display: grid; }
.route li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 14px; align-items: start; padding: 18px 0; border-top: 1px solid var(--hair-strong); }
.route li:last-child { border-bottom: 1px solid var(--hair-strong); }
.route__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--milk); border: 1px solid var(--hair-strong); color: var(--rouge); }
.section:not(.section--stone) .route__icon { background: var(--stone); border-color: transparent; }
.route__icon .icon { width: 19px; height: 19px; }
.route p { margin: 0; padding-top: 10px; }
.route a { color: var(--ink); font-weight: 600; text-decoration-color: var(--rouge); text-underline-offset: 0.2em; }
.route-hours { margin-top: 14px; }
.route-panel { display: grid; gap: 40px; }
@media (min-width: 900px) { .route-panel { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 6vw, 96px); align-items: start; } }
.info-card { padding: clamp(24px, 3vw, 36px); display: grid; gap: 6px; background: var(--milk); border-radius: 4px; }
.info-card h3 { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--graphite); }
.info-card .address-big { font-size: 1.7rem; margin: 6px 0 4px; }
.info-card .hours { margin-top: 18px; }

/* ---------------- områdesindex (C9) ---------------- */
.area-index { display: grid; }
.area-entry { display: grid; gap: 16px; padding: clamp(30px, 4vw, 52px) 0; border-top: 1px solid var(--hair-strong); }
.area-entry:last-child { border-bottom: 1px solid var(--hair-strong); }
.area-entry h2 { font-size: clamp(2.6rem, 1.6rem + 3.6vw, 5rem); line-height: 0.92; }
.area-entry h2 a { text-decoration: none; transition: color 0.2s var(--ease); }
.area-entry h2 a:hover { color: var(--rouge); }
.area-entry__rel { color: var(--graphite); max-width: 30em; }
.area-entry__rel strong { color: var(--ink); font-weight: 600; }
.area-entry__links { display: grid; gap: 2px; }
.area-entry__links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 6px 0; border-bottom: 1px solid var(--hair); text-decoration: none; font-weight: 500; }
.area-entry__links a .icon { color: var(--rouge); transition: transform 0.3s var(--ease-out); }
.area-entry__links a:hover { color: var(--rouge-deep); }
@media (hover: hover) { .area-entry__links a:hover .icon { transform: translateX(5px); } }
.area-entry__links a.area-entry__hub { font-weight: 700; }
@media (min-width: 900px) {
  .area-entry { grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 4fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
  .area-entry__rel { padding-top: 12px; }
}

/* ---------------- split (områdeshubb + vinkel) ---------------- */
.split { display: grid; gap: 44px; }
.split__text h2 { margin-bottom: 22px; }
.split__text > p { max-width: 34em; }
.split__addr { display: flex; gap: 10px; align-items: center; }
.split__addr .icon { color: var(--rouge); }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: clamp(48px, 7vw, 112px); }
  .split--rev { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .split--rev .split__media { order: 2; }
  .split__media { max-width: 520px; }
  .split--rev .split__media { justify-self: end; width: 100%; }
  .split--quote .split__media { max-width: none; }
}

/* redaktionell rubrik/text-split utan bild (vinkel) */
.angle { display: grid; gap: 24px; }
.angle__body p { font-size: 1.08rem; }
@media (min-width: 900px) {
  .angle { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 7vw, 112px); align-items: start; }
  .angle h2 { position: sticky; top: calc(var(--header-h) + 32px); }
}
.angle__points { display: grid; }
.angle__points li { padding: 16px 0 16px 34px; border-top: 1px solid var(--hair-strong); position: relative; }
.angle__points li:last-child { border-bottom: 1px solid var(--hair-strong); }
.angle__points li::before { content: ''; position: absolute; left: 0; top: 29px; width: 18px; height: 1.5px; background: var(--rouge); }

/* ---------------- liggare + pris (C8, C12) ---------------- */
.ledger-wrap { display: grid; gap: 36px; }
@media (min-width: 900px) { .ledger-wrap { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 112px); } .ledger-wrap .chapter-head { margin: 0; align-content: start; } .ledger-wrap .chapter-head h2 { font-size: clamp(2.4rem, 1.4rem + 3vw, 4.2rem); } }
.ledger-foot { margin-top: 10px; }
.price-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price-table caption { text-align: left; }
.price-table th, .price-table td { text-align: left; padding: 16px 0; border-bottom: 1px solid var(--hair-strong); vertical-align: top; }
.price-table thead th { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--graphite); padding-top: 0; }
.price-table tbody th { font-weight: 500; padding-right: 16px; }
.price-table td { color: var(--graphite); white-space: nowrap; padding-left: 14px; }
.price-table td:last-child { color: var(--ink); font-weight: 700; text-align: right; }
.price-table thead th:last-child { text-align: right; }
@media (max-width: 520px) {
  .price-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .price-table tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; padding: 14px 0; border-bottom: 1px solid var(--hair-strong); }
  .price-table th, .price-table td { border: 0; padding: 0; }
  .price-table tbody th { grid-column: 1 / -1; }
  .price-table td { padding-left: 0; }
}
.facts-foot { margin-top: 18px; font-size: 0.88rem; color: var(--graphite); }

.steps { display: grid; }
.steps li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-top: 1px solid var(--hair-strong); }
.steps li:last-child { border-bottom: 1px solid var(--hair-strong); }
.steps__mark { width: 12px; height: 12px; margin-top: 7px; border-radius: 50%; background: var(--rouge); box-shadow: 0 0 0 6px rgba(195, 23, 58, 0.12); }
.steps h3 { margin-bottom: 4px; }
.steps p { margin: 0; color: var(--graphite); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; } .steps li:nth-last-child(2) { border-bottom: 1px solid var(--hair-strong); } }

/* ---------------- tjänsteserie på områdessidor ---------------- */
.triptych { display: grid; gap: 56px; }
.service { display: grid; align-content: start; gap: 14px; }
.service__img { margin-bottom: 8px; }
.service h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 1.5rem + 1.4vw, 2.8rem); line-height: 1; letter-spacing: -0.015em; }
.service p { margin: 0; color: var(--ink-soft); }
.service .tlink { justify-self: start; margin-top: 4px; }
@media (min-width: 600px) and (max-width: 899px) {
  .service { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: 28px; align-items: start; }
  .service > :not(.service__img) { grid-column: 2; }
  .service__img { grid-column: 1; grid-row: 1 / span 6; margin: 0; }
}
@media (min-width: 900px) {
  .triptych { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px); }
  .triptych > :nth-child(2) { margin-top: 96px; }
}

.diptych { display: grid; gap: 22px; }
@media (min-width: 700px) {
  .diptych { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 40px); align-items: end; }
}

/* ---------------- kort (mer i området) ---------------- */
.cards { display: grid; gap: 16px; }
.card {
  position: relative; display: grid; gap: 10px; align-content: start;
  padding: clamp(24px, 3vw, 34px); text-decoration: none; color: inherit;
  transition: color 0.25s var(--ease);
}
.card h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 1.3rem + 0.9vw, 2.1rem); line-height: 1.05; transition: color 0.2s var(--ease); }
.card p { color: var(--graphite); margin: 0; }
.card__go { display: inline-flex; align-items: center; color: var(--rouge); }
.card__go .icon { width: 20px; height: 20px; transition: transform 0.3s var(--ease-out); }
.cards--more { gap: 0; }
.cards--more .card { border-bottom: 1px solid var(--hair-strong); padding-inline: 0; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; }
.cards--more .card:first-child { border-top: 1px solid var(--hair-strong); }
.cards--more .card > h3, .cards--more .card > p { grid-column: 1; }
.cards--more .card .card__go { grid-column: 2; grid-row: 1; align-self: center; }
.cards--more .card:hover h3 { color: var(--rouge-deep); }
@media (hover: hover) { .cards--more .card:hover .card__go .icon { transform: translateX(5px); } }
@media (min-width: 800px) {
  .cards--more { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
  .cards--more .card:nth-child(2) { border-top: 1px solid var(--hair-strong); }
}

/* ---------------- FAQ-dragspel (C10) ---------------- */
.faq-wrap { display: grid; gap: 32px; }
@media (min-width: 900px) { .faq-wrap { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 112px); } }
.faq { border-top: 1px solid var(--hair-strong); }
.faq__item { border-bottom: 1px solid var(--hair-strong); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 2px; min-height: 66px; font-weight: 600; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); line-height: 1.35; color: var(--ink);
  transition: color 0.2s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--rouge-deep); }
.faq__icon { position: relative; width: 34px; height: 34px; flex: none; border: 1px solid var(--hair-strong); border-radius: 50%; color: var(--rouge); transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -0.75px 0 0 -6px; background: currentColor; border-radius: 1px; transition: transform 0.35s var(--ease-out); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--rouge); border-color: var(--rouge); color: #fff; }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__item[open] summary { color: var(--ink); }
.faq__a { padding: 0 2px 24px; color: var(--ink-soft); max-width: 40em; }
.faq__a p { margin: 0; }
@media (prefers-reduced-motion: no-preference) {
  .faq__item[open] .faq__a { animation: faq-in 0.32s var(--ease-out) both; }
  @keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
}

/* ---------------- kontakt + formulär ---------------- */
.contact { display: grid; gap: 40px; }
.contact h2 { margin-bottom: 20px; }
@media (min-width: 900px) { .contact { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 7vw, 112px); align-items: start; } }
.contact__direct { display: grid; gap: 2px; margin-top: 28px; }
.contact__direct h3 { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--graphite); margin-bottom: 8px; }
.contact__direct a, .contact__direct p { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; margin: 0; }
.contact__direct a:hover { color: var(--rouge-deep); }
.contact__direct .icon { color: var(--rouge); }
.form-panel { padding: clamp(22px, 4vw, 44px); background: #fff; border: 1px solid var(--hair); border-radius: 4px; position: relative; }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .field--wide { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field__opt { font-weight: 400; color: var(--graphite); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--milk); border: 1px solid var(--hair-strong); border-radius: 4px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C3173A' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; padding-right: 40px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--rouge); box-shadow: 0 0 0 3px rgba(195, 23, 58, 0.16); }
.field [aria-invalid='true'] { border-color: #A3341F; box-shadow: 0 0 0 3px rgba(163, 52, 31, 0.12); }
.field-error { color: #9A2F1B; font-size: 0.88rem; min-height: 0; }
.field-error:empty { display: none; }
.consent { display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; line-height: 1.5; cursor: pointer; }
.field .consent { font-weight: 400; }
.consent input { width: 22px; height: 22px; min-height: 0; padding: 0; margin: 1px 0 0; accent-color: var(--rouge); flex: none; box-shadow: none; }
.consent a { color: var(--rouge-deep); text-decoration-color: var(--rouge); text-underline-offset: 0.2em; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.lead-form [data-sending='true'] { opacity: 0.7; cursor: progress; }
.lead-form button[data-sending='true'] { pointer-events: none; }
.form-status { margin: 18px 0 0; padding: 14px 16px; border-left: 3px solid var(--caramel); background: var(--milk); font-size: 0.97rem; }
.form-status--ok { border-left-color: #3F6B45; }
.form-status--error { border-left-color: #9A2F1B; }
.form-status--info { border-left-color: var(--caramel); }

/* ---------------- bokningsband (C7) ---------------- */
.book-band { position: relative; overflow: hidden; background: var(--rouge); color: var(--milk); padding-block: clamp(84px, 12vw, 168px); }
.book-band__inner { position: relative; z-index: 1; display: grid; gap: 32px; }
.book-band h2 { font-size: clamp(3.1rem, 1.2rem + 6.4vw, 8rem); line-height: 0.9; letter-spacing: -0.03em; max-width: 9.5em; }
.book-band h2 em { color: var(--milk); }
.book-band__text { color: rgba(250, 248, 245, 0.92); max-width: 30em; font-size: 1.1rem; margin: 22px 0 0; }
.book-band__more { margin-top: 22px; }
.book-band .tlink { color: var(--milk); background-image: linear-gradient(var(--milk), var(--milk)), linear-gradient(rgba(250, 248, 245, 0.4), rgba(250, 248, 245, 0.4)); }
.book-band .tlink:hover { color: var(--milk); }
.book-band .strands--band { left: 0; width: 100%; bottom: -26%; height: 62%; -webkit-mask-image: linear-gradient(90deg, transparent 10%, #000 55%); mask-image: linear-gradient(90deg, transparent 10%, #000 55%); }
.book-band .strands path { stroke: rgba(250, 248, 245, 0.5); opacity: 0.7; }
@media (min-width: 900px) { .book-band__inner { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: end; gap: 48px; } .book-band .actions { justify-content: flex-end; } }

/* ---------------- sidfot ---------------- */
.site-footer { background: var(--ink); color: var(--cream); padding: clamp(64px, 8vw, 112px) 0 calc(28px + env(safe-area-inset-bottom, 0px)); font-size: 0.97rem; overflow: hidden; }
.site-footer__top { display: grid; gap: 36px; padding-bottom: 44px; border-bottom: 1px solid var(--hair-light); }
@media (min-width: 900px) { .site-footer__top { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }
.site-footer .wordmark { margin: 0 0 16px; }
.site-footer .logo { width: clamp(220px, 60vw, 300px); }
.site-footer__tag { color: var(--fog); max-width: 24em; }
.site-footer__brand .actions { margin-top: 22px; }
.site-footer h2 { font-family: var(--sans); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fog); margin-bottom: 14px; line-height: 1.4; }
.site-footer__grid { display: grid; gap: 40px; padding-top: 44px; }
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; } }
.site-footer__list { display: grid; gap: 2px; }
.site-footer__list a, .site-footer__list p { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; text-decoration: none; margin: 0; color: var(--cream); }
.site-footer__list a:hover { color: var(--blond); text-decoration: underline; text-decoration-color: var(--blond); text-underline-offset: 0.2em; }
.site-footer__list .icon { color: var(--blond); width: 18px; height: 18px; }
.site-footer__list--nav a { min-height: 36px; }
.site-footer .hours__note { margin-top: 8px; max-width: 22em; color: var(--fog); }
.site-footer__sign {
  margin: clamp(40px, 6vw, 72px) 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(5.5rem, 24vw, 25rem);
  line-height: 0.74; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1px rgba(244, 239, 232, 0.3); white-space: nowrap; user-select: none;
}
.site-footer__legal { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--hair-light); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 0.86rem; color: var(--fog); }
.site-footer__legal p { margin: 0; }
.site-footer .tlink { color: var(--cream); }

/* ---------------- fast bokningsrad (C11, mobil) ---------------- */
.book-bar { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
  .book-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 44;
    display: grid; grid-template-columns: 2fr 1fr; gap: 10px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(250, 248, 245, 0.94); border-top: 1px solid var(--hair);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  }
  .book-bar .btn { min-height: 48px; padding-inline: 10px; }
  html.menu-open .book-bar { display: none; }
  .js .book-bar { transform: translateY(110%); visibility: hidden; transition: transform 0.28s var(--ease-out), visibility 0s linear 0.28s; }
  .js.book-bar-on .book-bar { transform: none; visibility: visible; transition: transform 0.28s var(--ease-out), visibility 0s; }
}

/* ---------------- textsidor (policy, 404) ---------------- */
.prose { max-width: 44em; }
.prose h2 { font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.6rem); margin: 2em 0 0.5em; }
.prose h3 { margin: 1.8em 0 0.5em; }
.prose ul { list-style: disc; padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.4em; }
.page-intro { padding-block: clamp(20px, 3vw, 40px) clamp(24px, 4vw, 48px); }
.page-intro h1 { margin-bottom: 20px; }
.notfound { min-height: 56vh; display: grid; align-content: center; padding-block: clamp(56px, 10vw, 120px); }
.notfound .lead { margin-top: 18px; }
.notfound__links { display: grid; gap: 4px; margin-top: 28px; max-width: 420px; }

/* ---------------- rörelse (skill motion-quality) ----------------
   Dolt utgångsläge endast bakom .js (satt i <head> före första målningen). En gång per element — aldrig dolt igen.
   Scrollkopplade effekter animerar bara transform/translate (aldrig opacitet) och finns bara med stöd + utan reducerad rörelse. */
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.is-visible { opacity: 1; transform: none; transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal-mask { clip-path: inset(0 0 100% 0); }
.js .reveal-mask img { transform: scale(1.08); }
.js .reveal-mask.is-visible { clip-path: inset(0 0 0 0); transition: clip-path 0.95s var(--ease-out); }
.js .reveal-mask.is-visible img { transform: none; }

@media (prefers-reduced-motion: no-preference) {
  /* hero-entré: ren CSS, inget som väntar på JavaScript */
  .js .h1-line__in { animation: line-up 0.95s var(--ease-out) both; animation-delay: calc(0.1s + var(--i, 0) * 0.08s); }
  .js .rise { animation: rise 0.85s var(--ease-out) both; animation-delay: calc(0.12s + var(--i, 0) * 0.07s); }
  .js .hero__plane { animation: plane-in 1.15s var(--ease-out) both; }
  .js .hero__main .shot__img::after { content: ''; position: absolute; inset: 0; background: var(--milk); transform-origin: bottom center; animation: curtain 1.1s 0.18s var(--ease-out) both; }
  .js .hero__inset { animation: rise 1s 0.55s var(--ease-out) both; }
  @keyframes line-up { from { transform: translateY(105%); } to { transform: none; } }
  @keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
  @keyframes plane-in { from { transform: scaleX(0); } to { transform: none; } }
  @keyframes curtain { from { transform: scaleY(1); } to { transform: scaleY(0); } }

  /* citatrail: glider långsamt åt vänster, stannar vid hover, fokus och utanför vyn; utan rörelse är den en vanlig sidledsrail */
  .rail { overflow: hidden; scroll-snap-type: none; margin-inline: calc(var(--edge) * -1); padding-inline: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
  .rail__item--clone { display: flex !important; }
  .rail__list { animation: rail-left 100s linear infinite; will-change: transform; }
  .rail:hover .rail__list, .rail:focus-within .rail__list, .rail.is-paused .rail__list { animation-play-state: paused; }
  @keyframes rail-left { from { transform: translateX(0); } to { transform: translateX(calc(-100% / 3)); } }
  /* typografiskt band: kontinuerlig, långsam glidning — övre raden åt vänster, undre åt höger */
  .ord__row { animation: ord-left 90s linear infinite; will-change: transform; }
  .ord__row--b { animation-name: ord-right; animation-duration: 105s; }
  .ord:hover .ord__row, .ord.is-paused .ord__row { animation-play-state: paused; }
  @keyframes ord-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  @keyframes ord-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
  @supports (animation-timeline: scroll()) {
    @media (min-width: 768px) {
      .hero__inset .shot__img { animation: drift linear both; animation-timeline: scroll(root); animation-range: 0 90vh; }
      @keyframes drift { from { translate: 0 0; } to { translate: 0 -64px; } }
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal.is-visible { opacity: 1; transform: none; transition: none; }
  .js .reveal-mask, .js .reveal-mask.is-visible { clip-path: none; transition: none; }
  .js .reveal-mask img, .shot__img img { transform: none; transition: none; }
  .js .strands path, .js .strands.is-drawn path { stroke-dashoffset: 0; transition: none; }
  .js .index > div::before, .js .index.is-lit > div::before { transform: scaleX(1); transition: none; }
  .menu-panel:not([hidden]) { animation: none; }
  .js .book-bar, .js.book-bar-on .book-bar { transition: none; }
  .btn, .tlink, .card, .faq__item, .site-header, .menu-toggle__lines::before, .menu-toggle__lines::after, .area-row .icon { transition: none; }
  .social, .social__face { transition: opacity 0.2s linear; }
  .social:hover, .social:focus-visible { transform: none; }
  .social__face--brand, .social:hover .social__face--base, .social:focus-visible .social__face--base { transform: none; }
}

/* ---------------- utskrift ---------------- */
@media print {
  .site-header, .menu-panel, .book-bar, .book-band, .strands, .ord, .site-footer__sign { display: none !important; }
  body { background: #fff; padding: 0; }
}
