/* Självhostade typsnitt (SIL Open Font License) – inga anrop till Google vid sidvisning */
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-italic.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/hanken-grotesk-var.woff2") format("woff2"); }

/* ==========================================================================
   Viksjös Herrklippotek — designtokens
   Accentfärgen (bärnsten) är hämtad från salongens egen miljö: varmt trä
   och de bärnstensbelysta speglarna. Byt mot logotypens färg om en sådan finns.
   ========================================================================== */
:root {
  --ivory: #f4f0e8;
  --ivory-2: #ebe5da;
  --stone: #d9d1c3;
  --ink: #1b1916;
  --ink-2: #4a453d;
  --ink-3: #6f685d;
  --char: #161412;
  --char-2: #221f1b;
  --char-line: rgba(244, 240, 232, 0.14);
  --line: rgba(27, 25, 22, 0.14);
  --amber: #b97a3e;        /* dekor, ytor */
  --amber-ink: #8c5523;    /* text/länkar på ljus bakgrund (AA) */
  --amber-light: #dca56c;  /* text på mörk bakgrund (AA) */

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --section: clamp(80px, 11vw, 160px);
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Bas ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, dl, dd, ol, ul, address { margin: 0; }
ol, ul { padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
em { font-style: italic; }

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

.sr-only {
  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: 16px; top: -60px; z-index: 100;
  background: var(--char); color: var(--ivory); padding: 10px 16px; text-decoration: none;
  transition: top .2s;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--ink-3); }
.small { font-size: 15px; line-height: 1.55; }
.ico { width: 18px; height: 18px; fill: currentColor; flex: none; }

/* Typografi ------------------------------------------------------------- */
.eyebrow {
  font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--amber-ink); margin-bottom: 22px;
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow-light { color: var(--amber-light); }

.h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 5.2vw, 72px); line-height: 1.02; letter-spacing: -0.01em;
}
.h2 em, .hero-title em, .final-title em { color: var(--amber-ink); }
.section-lede { font-size: 18px; color: var(--ink-2); max-width: 34ch; margin-top: 22px; }
.label {
  font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px;
}

/* Knappar --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  font-size: 15.5px; font-weight: 600; letter-spacing: .01em; text-decoration: none;
  border: 1px solid transparent; border-radius: 999px;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn-block { width: 100%; }
.btn-solid { background: var(--char); color: var(--ivory); }
.btn-solid:hover { background: var(--amber-ink); }
.btn-line { border-color: rgba(27,25,22,.35); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); background: var(--ink); color: var(--ivory); }
.btn-accent { background: var(--amber-light); color: var(--char); }
.btn-accent:hover { background: var(--ivory); }
.btn-ghost-light { border-color: rgba(244,240,232,.4); color: var(--ivory); }
.btn-ghost-light:hover { border-color: var(--ivory); background: var(--ivory); color: var(--char); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
  font-weight: 600; font-size: 15.5px; text-decoration: none; color: var(--amber-ink);
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* Header ---------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(244, 240, 232, 0.86);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 25px; letter-spacing: -0.005em; }
.brand-name-lg { font-size: clamp(34px, 4vw, 46px); line-height: 1; margin-bottom: 12px; }
.brand-sub { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); margin-top: 4px; }

.nav ul { display: flex; gap: clamp(18px, 2.4vw, 36px); }
.nav a {
  position: relative; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2);
  padding: 8px 0; transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--amber);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--ink); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%;
  background: transparent; cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle-bars, .menu-toggle-bars::before {
  display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative;
}
.menu-toggle-bars::before { content: ""; position: absolute; top: 6px; width: 12px; }
.menu-toggle-bars { transform: translateY(-3px); }

/* Mobilmeny */
.mobile-menu {
  position: fixed; inset: 0; z-index: 60; background: var(--char); color: var(--ivory);
  display: flex; flex-direction: column; overflow-y: auto;
  opacity: 0; transition: opacity .3s var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { opacity: 1; }
.mobile-menu-top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--char-line); }
.menu-close {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px;
  border: 1px solid var(--char-line); border-radius: 999px; background: transparent; cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--ivory);
}
.mobile-links { padding-block: 20px 28px; }
.mobile-links a {
  display: flex; align-items: baseline; gap: 18px; padding: 14px 0; text-decoration: none;
  font-family: var(--serif); font-size: clamp(38px, 11vw, 52px); line-height: 1.05;
  border-bottom: 1px solid var(--char-line);
  transform: translateY(12px); opacity: 0; transition: transform .5s var(--ease), opacity .5s var(--ease), color .2s;
}
.mobile-links a span { font-family: var(--sans); font-size: 12px; letter-spacing: .14em; color: var(--amber-light); }
.mobile-links a:hover { color: var(--amber-light); }
.mobile-menu.is-open .mobile-links a { transform: none; opacity: 1; }
.mobile-menu.is-open .mobile-links li:nth-child(2) a { transition-delay: .04s; }
.mobile-menu.is-open .mobile-links li:nth-child(3) a { transition-delay: .08s; }
.mobile-menu.is-open .mobile-links li:nth-child(4) a { transition-delay: .12s; }
.mobile-menu.is-open .mobile-links li:nth-child(5) a { transition-delay: .16s; }
.mobile-menu-foot { margin-top: auto; padding-bottom: 28px; display: grid; gap: 10px; }
.mobile-menu-foot .status { font-size: 14px; color: rgba(244,240,232,.7); margin-bottom: 6px; }

/* Hero ------------------------------------------------------------------ */
.hero { padding-top: clamp(28px, 5vw, 64px); padding-bottom: clamp(64px, 8vw, 120px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.hero-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(56px, 8.2vw, 124px); line-height: .94; letter-spacing: -0.02em;
}
.hero-title em { display: inline-block; }
.hero-lede { font-size: clamp(18px, 1.5vw, 20px); color: var(--ink-2); max-width: 30ch; margin-top: 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-facts {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0;
  margin-top: 52px; border-top: 1px solid var(--line); padding-top: 22px;
}
.hero-facts > div { padding-right: clamp(20px, 3vw, 44px); margin-right: clamp(20px, 3vw, 44px); border-right: 1px solid var(--line); }
.hero-facts > div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-facts dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.hero-facts dd { font-size: 16px; font-weight: 600; }
.hero-facts dd a { text-decoration: none; border-bottom: 1px solid var(--stone); }
.hero-facts dd a:hover { border-color: var(--amber); }

.hero-media { position: relative; padding-left: clamp(0px, 3vw, 40px); }
.hero-frame { overflow: hidden; aspect-ratio: 4 / 5; background: var(--stone); }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; animation: heroIn 1.6s var(--ease) both; }
.hero-tag {
  position: absolute; right: -6px; top: 32px; writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-3);
}

@keyframes heroIn { from { transform: scale(1.06); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fadeUp { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Band ------------------------------------------------------------------ */
.band { background: var(--char); color: var(--ivory); }
.band-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.band-inner p {
  padding: 26px 0; font-size: 16px; font-weight: 500; display: flex; align-items: baseline; gap: 14px;
  border-left: 1px solid var(--char-line); padding-left: clamp(16px, 2.5vw, 36px);
}
.band-inner p:first-child { border-left: 0; padding-left: 0; }
.band-num { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--amber-light); }

/* Sektioner ------------------------------------------------------------- */
.section { padding-block: var(--section); }

/* Behandlingar */
.services-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(40px, 7vw, 120px); align-items: start; }
.services-head { position: sticky; top: calc(var(--header-h) + 32px); }
.services-photo { margin-top: 44px; overflow: hidden; aspect-ratio: 5 / 4; background: var(--stone); }
.services-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.service-list { border-top: 1px solid var(--ink); counter-reset: s; }
.service {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 0 24px; align-items: baseline;
  padding: 34px 0 36px; border-bottom: 1px solid var(--line);
}
.service-num { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--amber-ink); }
.service-name { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.4vw, 46px); line-height: 1.05; }
.service-desc { color: var(--ink-2); margin-top: 12px; max-width: 46ch; }
.service-price {
  font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink-2); white-space: nowrap;
  border-bottom: 1px solid var(--stone); padding-bottom: 2px; transition: color .2s, border-color .2s;
}
.service-price:hover { color: var(--amber-ink); border-color: var(--amber-ink); }
.services-note { grid-column: 2; margin-top: 26px; font-size: 15px; color: var(--ink-3); }
.services-note a { color: var(--ink); font-weight: 600; text-decoration-color: var(--stone); text-underline-offset: 3px; }

/* Salongen / hantverk */
.craft { background: var(--char); color: var(--ivory); padding-block: 0; }
.craft-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); min-height: 100%; }
.craft-media { position: relative; min-height: 560px; overflow: hidden; }
.craft-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.craft-copy { padding: var(--section) var(--gutter); padding-left: clamp(32px, 6vw, 96px); max-width: 680px; }
.craft-copy .h2 em { color: var(--amber-light); }
.craft-copy > p { color: rgba(244,240,232,.78); font-size: 18px; margin-top: 26px; max-width: 44ch; }
.steps { margin-top: 48px; border-top: 1px solid var(--char-line); }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--char-line); }
.step-num { font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--amber-light); }
.steps h3 { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.steps p { color: rgba(244,240,232,.7); font-size: 15.5px; }

/* Salongen */
.salon-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.salon-portrait { aspect-ratio: 2 / 3; overflow: hidden; background: var(--stone); }
.salon-portrait img, .salon-room img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.salon-portrait img { object-position: 50% 20%; }
.salon-portrait:hover img, .salon-room:hover img { transform: scale(1.03); }
.salon-room { margin-top: clamp(40px, 5vw, 64px); aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); max-width: 560px; }

/* Omdömen */
.reviews { background: var(--ivory-2); }
.reviews-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.score { display: flex; align-items: baseline; gap: 18px; }
.score-num { font-family: var(--serif); font-size: clamp(120px, 16vw, 220px); line-height: .8; letter-spacing: -0.03em; }
.score-of { font-family: var(--serif); font-style: italic; font-size: clamp(28px, 3vw, 40px); color: var(--amber-ink); }
.score-meta { margin-top: 24px; color: var(--ink-3); font-size: 15px; max-width: 30ch; }
.dist-intro { font-size: 18px; color: var(--ink-2); max-width: 40ch; margin-bottom: 28px; }
.dist-intro strong { color: var(--ink); }
.dist li { display: grid; grid-template-columns: 90px 1fr 28px; align-items: center; gap: 16px; padding: 9px 0; font-size: 14.5px; }
.dist-label { color: var(--ink-2); }
.dist-bar { height: 4px; background: rgba(27,25,22,.1); position: relative; overflow: hidden; }
.dist-bar span { position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--ink); transform-origin: left; transition: transform 1.2s var(--ease); }
.dist-n { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.js .reviews-dist:not(.is-in) .dist-bar span { transform: scaleX(0); }

/* Hitta hit */
.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 5vw, 64px); }
.visit-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.visit-head .eyebrow { width: 100%; margin-bottom: 0; }
.status-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line); font-size: 14.5px; font-weight: 600;
}
.status-pill::before, .status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); flex: none; }
.status { display: flex; align-items: center; gap: 10px; }
[data-open="true"]::before { background: #3f8a52; box-shadow: 0 0 0 4px rgba(63,138,82,.18); }
[data-open="false"]::before { background: #a3473b; }
.visit-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.visit-block { padding: 32px clamp(16px, 3vw, 44px) 8px 0; }
.visit-block + .visit-block { border-left: 1px solid var(--line); padding-left: clamp(16px, 3vw, 44px); }
.visit-block address { font-size: 20px; line-height: 1.5; }
.hours { border-collapse: collapse; width: 100%; max-width: 320px; margin-bottom: 16px; }
.hours th, .hours td { text-align: left; font-weight: 400; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 600; }
.hours tr.is-today th::after { content: " · idag"; color: var(--amber-ink); font-weight: 500; font-size: 14px; }
.phone-big {
  display: inline-block; font-family: var(--serif); font-size: clamp(34px, 3.4vw, 46px); line-height: 1.1;
  text-decoration: none; border-bottom: 1px solid var(--stone); margin-bottom: 16px; transition: color .2s, border-color .2s;
}
.phone-big:hover { color: var(--amber-ink); border-color: var(--amber-ink); }
.visit-block .small + .small { margin-top: 10px; }

.map { position: relative; aspect-ratio: 21 / 8; background: var(--ivory-2); border: 1px solid var(--line); }
.map[data-view] { margin-top: 52px; }
.map-placeholder, .map iframe { overflow: hidden; }
.map-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 24px; gap: 6px; color: var(--ink-3);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px; background-position: center;
}
.map-placeholder::before {
  content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--amber);
  box-shadow: 0 0 0 8px rgba(185,122,62,.18), 0 0 0 18px rgba(185,122,62,.08); margin-bottom: 18px;
}
.map-title { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 34px); color: var(--ink); line-height: 1.1; }
.map-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map[data-view="karta"] iframe { filter: grayscale(.35) contrast(1.02); }
.map-switch {
  position: absolute; z-index: 2; bottom: calc(100% + 12px); right: 0; display: flex; padding: 4px; gap: 4px;
  background: var(--char); border-radius: 999px;
}
.map-switch[hidden] { display: none; }
.map-switch button {
  min-height: 38px; padding: 0 16px; border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; color: rgba(244,240,232,.75); font-size: 14px; font-weight: 600;
  transition: background-color .2s, color .2s;
}
.map-switch button:hover { color: var(--ivory); }
.map-switch button[aria-pressed="true"] { background: var(--amber-light); color: var(--char); }
.visit-hint { margin-top: 12px; }
.visit-hint em { font-style: normal; color: var(--ink); font-weight: 600; }

/* FAQ */
.faq-aside { margin-top: 28px; color: var(--ink-2); }
.faq-aside a { color: var(--ink); font-weight: 600; text-decoration-color: var(--amber); text-underline-offset: 4px; }
.faq { padding-top: 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); border-top: 1px solid var(--line); padding-top: var(--section); }
.faq-list { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item h3 { font-size: inherit; font-weight: inherit; }
.faq-item button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2;
  transition: color .2s;
}
.faq-item button:hover { color: var(--amber-ink); }
.faq-icon { position: relative; width: 16px; height: 16px; flex: none; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; left: 0; top: 50%; width: 16px; height: 1.5px; background: currentColor;
  transition: transform .35s var(--ease);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item button[aria-expanded="true"] .faq-icon::after { transform: rotate(0); }
.faq-panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .4s var(--ease); }
.faq-panel > div { overflow: hidden; }
.faq-panel p { padding-bottom: 26px; color: var(--ink-2); max-width: 56ch; }
.faq-panel a { color: var(--amber-ink); font-weight: 600; }
.js .faq-panel { grid-template-rows: 0fr; }
.js .faq-panel.is-open { grid-template-rows: 1fr; }
.js .faq-panel:not(.is-open) > div { visibility: hidden; transition: visibility 0s .4s; }

/* Avslutande CTA */
.final { position: relative; color: var(--ivory); background: var(--char); overflow: hidden; border-bottom: 1px solid var(--char-line); }
.final-inner { padding-block: clamp(110px, 14vw, 200px); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 120px); align-items: end; }
.final-info { border-top: 1px solid var(--char-line); padding-top: 24px; font-size: 16px; }
.final-info .status { font-weight: 600; margin-bottom: 18px; }
.final-info dl div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--char-line); }
.final-info dt { color: rgba(244,240,232,.7); }
.final-info dd { font-variant-numeric: tabular-nums; }
.final-address { margin-top: 20px; color: rgba(244,240,232,.7); line-height: 1.55; }
.final-title { font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 7.4vw, 112px); line-height: .96; letter-spacing: -0.02em; }
.final-title em { color: var(--amber-light); }
.final-lede { margin-top: 26px; font-size: 19px; color: rgba(244,240,232,.8); max-width: 36ch; }
.final-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* Sidfot */
.site-footer { background: var(--char-2); color: rgba(244,240,232,.86); padding-top: clamp(64px, 8vw, 104px); font-size: 15.5px; }
.site-footer .label { color: rgba(244,240,232,.5); }
.site-footer .muted { color: rgba(244,240,232,.6); }
.site-footer a { text-decoration: none; border-bottom: 1px solid rgba(244,240,232,.2); transition: border-color .2s, color .2s; }
.site-footer a:hover { color: var(--amber-light); border-color: var(--amber-light); }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 40px; padding-bottom: 56px; }
.footer-brand .brand-name { color: var(--ivory); }
.footer-nav li + li { margin-top: 6px; }
.site-footer p + p { margin-top: 6px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-block: 24px 32px; border-top: 1px solid var(--char-line); font-size: 13.5px; color: rgba(244,240,232,.5); }

/* Undersidor (integritet, 404) */
.page-header { border-bottom: 1px solid var(--line); }
.page-header .wrap { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.page-header .back { font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.page-header .back:hover { color: var(--amber-ink); }
.legal { padding-block: clamp(48px, 7vw, 96px); }
.legal .wrap { max-width: 760px; }
.legal h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 6vw, 64px); line-height: 1.04; margin-bottom: 16px; }
.legal h2 { font-size: 18px; font-weight: 600; margin: 36px 0 8px; }
.legal p + p, .legal ul { margin-top: 12px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 20px; list-style: disc; }
.legal a { color: var(--amber-ink); font-weight: 600; }
.notfound { min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; padding-block: 64px; }
.notfound h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 9vw, 96px); line-height: 1; margin-bottom: 20px; }
.notfound p { color: var(--ink-2); max-width: 38ch; }
.notfound .hero-ctas { margin-top: 28px; }

/* Mobil ringknapp */
.mobile-call { display: none; }

.intro { animation: fadeUp .9s var(--ease) both; animation-delay: calc(var(--d, 0ms) + 150ms); }

/* Reveal ---------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Responsivt ------------------------------------------------------------ */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 959px) {
  :root { --header-h: 64px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; padding-left: 0; padding-bottom: 0; margin-inline: calc(var(--gutter) * -1); }
  .hero-frame { aspect-ratio: auto; height: min(52vh, 520px); }
  .hero-tag { display: none; }
  .hero-copy { padding-top: 4px; }

  .band-inner { grid-template-columns: 1fr; }
  .band-inner p { border-left: 0; padding-left: 0; padding-block: 16px; border-top: 1px solid var(--char-line); }
  .band-inner p:first-child { border-top: 0; }

  .services-grid { grid-template-columns: 1fr; }
  .services-head { position: static; margin-bottom: 40px; }
  .services-photo { display: none; }
  .services-note { grid-column: 1; }

  .craft-grid { grid-template-columns: 1fr; }
  .craft-media { min-height: 0; aspect-ratio: 4 / 3; }
  .craft-copy { padding-left: var(--gutter); max-width: none; }

  .salon-grid { grid-template-columns: 1fr; }
  .salon-portrait { aspect-ratio: 4 / 5; max-width: 560px; }
  .salon-copy { order: -1; }
  .salon-room { max-width: none; }

  .reviews-grid { grid-template-columns: 1fr; }

  .visit-cols { grid-template-columns: 1fr; }
  .visit-block { padding: 28px 0; }
  .visit-block + .visit-block { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }

  .faq-grid { grid-template-columns: 1fr; }
  .final-inner { grid-template-columns: 1fr; align-items: start; }
  .map { aspect-ratio: 1 / 1; }
}

@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .brand-name { font-size: 21px; }
  .brand-sub { display: none; }
  .header-call { width: 46px; min-height: 46px; padding: 0; }
  .header-call-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

  .hero { padding-top: 0; }
  .hero-frame { aspect-ratio: auto; height: min(42vh, 360px); }
  .hero-copy { padding-top: 24px; }
  .hero .eyebrow { font-size: 11px; letter-spacing: .12em; margin-bottom: 16px; }
  .hero .eyebrow::before { width: 20px; }
  .hero-title { font-size: clamp(54px, 15.5vw, 76px); }
  .hero-lede { margin-top: 20px; }
  .hero-ctas { margin-top: 28px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 36px; }
  .hero-facts > div { padding-right: 12px; margin-right: 12px; }
  .hero-facts dt { font-size: 10.5px; letter-spacing: .1em; }
  .hero-facts dd { font-size: 14.5px; }

  .service { grid-template-columns: 40px minmax(0, 1fr); padding: 26px 0 28px; }
  .service-price { grid-column: 2; justify-self: start; margin-top: 16px; }

  .score-num { font-size: 132px; }
  .dist li { grid-template-columns: 78px 1fr 24px; gap: 12px; }

  .final-ctas .btn { flex: 1 1 100%; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-bottom { flex-direction: column; padding-bottom: 96px; }

  .mobile-call {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    position: fixed; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 30;
    min-height: 54px; border-radius: 999px; background: var(--char); color: var(--ivory);
    font-weight: 600; text-decoration: none; box-shadow: 0 10px 30px rgba(22,20,18,.28);
    transform: translateY(140%); transition: transform .4s var(--ease);
  }
  .mobile-call.is-visible { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}
