/* Ljus premiumdesign för hela sajten. Laddas efter site.css och
   site-header.css på alla sidor och skriver över den mörka paletten.
   Ta bort <link>-raden till light.css för att gå tillbaka till mörkt.

   Palett: vit #FFFFFF, ljus #F5F5F3, text #1A1A1A, sekundär text #666666,
   linjer #E8E8E5, accent #B6A18B (används bara för små detaljer, aldrig som
   textfärg på vitt). Mörka partier: #1A1A1A (avslutning, footer, bildband). */

:root {
  --ui: #1A1A1A;
  --bg: #FFFFFF;
  --bg-alt: #F5F5F3;
  --card: #FFFFFF;
  --line: #E8E8E5;
  --muted: #666666;
  --ink: #1A1A1A;
  --accent: #B6A18B;

  --vs: #1A1A1A; --vs-hover: #3a3a3a; --vs-edge: #1A1A1A; --vs-text: #666666; --vs-rgb: 26, 26, 26;
  --hs: #1A1A1A; --hs-hover: #3a3a3a; --hs-soft: #3a3a3a; --hs-rgb: 26, 26, 26; --on-hs: #FFFFFF;
  --star-gold: #B6A18B;

  --tx: #1A1A1A; --tx-soft: #4a4a4a; --tx-dim: #666666; --tx-faint: #757575;
  --chip-bg: #F5F5F3; --chip-line: #E8E8E5;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sec-y: clamp(80px, 10vw, 136px);
  --gutter: clamp(20px, 4.4vw, 48px);
}
[data-salon="vasastan"]  { --a: #1A1A1A; --a-text: #1A1A1A; --a-rgb: 26, 26, 26; }
[data-salon="hornstull"] { --a: #B6A18B; --a-text: #1A1A1A; --a-rgb: 182, 161, 139; }

html { scrollbar-color: #c9c9c4 #ffffff; }
body, .page { background: #fff; color: var(--ink); }
.eyebrow { color: var(--muted); letter-spacing: 0.18em; }
::selection { background: #1A1A1A; color: #fff; }

/* Mörka partier: avslutning, footer, bildband och bildvisning läser vit text. */
.final, footer.foot, .band, #lightbox { --ui: #fff; --tx: #fff; --tx-soft: rgba(255,255,255,0.8); --tx-dim: rgba(255,255,255,0.7); color: #fff; }
.final .eyebrow, .band .eyebrow, footer.foot .eyebrow { color: var(--accent) !important; }

/* ---------- Knappar ---------- */
.btn { min-height: 50px; padding: 0 30px; border-radius: 2px; transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease; }
.btn--vs, .btn--hs { background: #1A1A1A; color: #fff; border-color: #1A1A1A; }
.btn--vs:hover, .btn--hs:hover { background: #3a3a3a; border-color: #3a3a3a; color: #fff; }
.btn--ghost { background: transparent; color: #1A1A1A; border-color: #1A1A1A; }
.btn--ghost:hover { background: #1A1A1A; color: #fff; border-color: #1A1A1A; }
.btn:focus-visible, .tab:focus-visible, .svc-more:focus-visible { outline: 2px solid #1A1A1A; outline-offset: 3px; }
a:focus-visible, button:focus-visible { outline-color: #1A1A1A; }
a:not(.btn):not(.sh-link):not(.sh-btn):not(.pick):not(.svc-card):not(.bar-chip):not(.sh-brand):hover { text-underline-offset: 4px; }
.arr { display: inline-block; transition: transform 0.5s var(--ease); }
a:hover > .arr, .btn:hover .arr { transform: translateX(5px); }

/* ---------- Header ---------- */
.sh { background: rgba(255,255,255,0.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); color: #1A1A1A; padding: 10px 48px; }
.sh-progress { background: #1A1A1A; height: 2px; }
.sh-brand, .sh-brand:hover { color: #1A1A1A; }
.sh-brand img { width: 48px; height: 48px; }
.sh-link { color: #1A1A1A; background-image: linear-gradient(#1A1A1A, #1A1A1A); }
.sh-link:hover, .sh-link:focus-visible { color: #1A1A1A; }
.sh-btn { min-height: 44px; padding: 0 20px; }
.sh-btn--vs, .sh-btn--hs { background: #1A1A1A; border-color: #1A1A1A; color: #fff; }
.sh-btn--vs:hover, .sh-btn--hs:hover { background: #3a3a3a; border-color: #3a3a3a; color: #fff; }
.sh-btn:focus-visible, .sh-link:focus-visible, .sh-brand:focus-visible, .sh-burger:focus-visible, .sh-drop a:focus-visible { outline-color: #1A1A1A; }
.sh-drop { background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(26,26,26,0.1); }
.sh-drop a { color: #1A1A1A; }
.sh-drop a + a { border-top-color: var(--line); }
.sh-drop a:hover, .sh-drop a:focus-visible { background: #F5F5F3; color: #1A1A1A; }
.sh-drop span { color: var(--muted); }
.sh-drop a[data-book="hornstull"] strong { color: #1A1A1A; }
.sh-burger { border-color: #1A1A1A; background: #fff; }
.sh-burger span { background: #1A1A1A; }
.sh-mobile { background: rgba(255,255,255,0.99); }
.sh-mobile a.sh-m { color: #1A1A1A; }
.sh-mobile .sh-btn { min-height: 52px; padding: 0 30px; }
@media (max-width: 860px) { .sh { padding: 8px 20px; } .sh-brand img { width: 40px; height: 40px; } }

/* ---------- Hero: text till vänster, bild till höger ---------- */
.curtain { position: static; }
.hero { position: relative; top: auto; min-height: 0; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 88px); padding: clamp(40px, 6vw, 88px) var(--gutter) clamp(56px, 7vw, 104px); background: #fff; overflow: visible; max-width: 1344px; margin: 0 auto; }
.hero-inner { grid-column: 1; grid-row: 1; width: 100%; padding: 0; will-change: auto; }
.hero:not(.hero--home) .hero-inner { transform: none !important; opacity: 1 !important; }
.hero-bg { grid-column: 2; grid-row: 1; position: relative; inset: auto; width: 100%; aspect-ratio: 4 / 4.7; max-height: 78vh; background-image: var(--hero-img, url('uploads/heronew.jpg')); background-size: cover; background-color: var(--bg-alt); will-change: auto; animation: lightFade 1.4s var(--ease) both; }
.hero:not(.hero--home) .hero-bg { transform: none !important; }
@keyframes lightFade { from { opacity: 0; transform: scale(1.02); } to { opacity: 1; transform: none; } }
.hero h1 { color: #1A1A1A; font-size: clamp(48px, 6.4vw, 104px); line-height: 0.96; letter-spacing: 0.005em; max-width: 12ch; text-wrap: balance; }
.hero p.lead { color: var(--muted); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.65; max-width: 30em; margin-top: 24px; }
.hero .eyebrow { color: var(--muted) !important; }
.hero-actions { margin-top: 36px; }
.hero--home .hero-bg { background-position: 60% 40%; }

.hero-pick { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 40px; max-width: 520px; }
.pick { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 20px; row-gap: 2px; padding: 18px 20px 18px 22px; color: #1A1A1A; background: #fff; border: 1px solid var(--line); border-radius: 2px; transition: border-color 0.35s ease, background-color 0.35s ease; }
.pick, .pick:hover { text-decoration: none; }
.pick:hover, .pick:focus-visible { border-color: #1A1A1A; background: #fff; }
.pick-tag { grid-column: 1; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.pick-tag::before { content: ''; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid #1A1A1A; }
.pick--hs .pick-tag::before { background: var(--accent); border-color: var(--accent); }
.pick-name { grid-column: 1; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 28px; line-height: 1.05; text-transform: uppercase; letter-spacing: 0.015em; margin-top: 4px; }
.pick-addr { grid-column: 1; font-size: 14px; color: var(--muted); }
.pick-go { grid-column: 2; grid-row: 1 / span 3; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; background: #1A1A1A; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; border-radius: 2px; transition: background-color 0.3s ease; }
.pick:hover .pick-go, .pick:focus-visible .pick-go { background: #3a3a3a; }
.hero-in > * { animation: lightRise 0.9s var(--ease) both; animation-delay: calc(var(--i, 0) * 100ms + 100ms); }
@keyframes lightRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding: 28px var(--gutter) 56px; }
  .hero-inner, .hero-bg { grid-column: 1; }
  .hero-bg { grid-row: 2; aspect-ratio: 4 / 3.6; max-height: none; }
  .hero h1 { font-size: clamp(46px, 13.4vw, 76px); }
  .hero-pick { margin-top: 30px; max-width: none; }
}

/* ---------- Sektioner ---------- */
.sec { padding: var(--sec-y) var(--gutter); }
.sec--alt { background: var(--bg-alt); border-top: 0; border-bottom: 0; }
.sec-head { margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head h2 { color: #1A1A1A; font-weight: 700; font-size: clamp(38px, 5vw, 66px); line-height: 1.02; }
.sec-head p, .bar-intro { color: var(--muted); font-size: 17px; line-height: 1.7; }
.sec-head .eyebrow::before, .sec-head .eyebrow::after { background: #1A1A1A; opacity: 0.35; }
.sec-head .eyebrow { color: var(--muted) !important; }
#salongerna, #galleri, #behandlingar, #hitta-hit { background: #fff; }
#omdomen, #barberarna { background: var(--bg-alt); }

/* ---------- Salongskort ---------- */
.salon-cards { gap: clamp(24px, 3vw, 40px); }
.salon-card { background: #fff; border: 1px solid var(--line); border-radius: 0; }
.salon-card .media { height: clamp(240px, 26vw, 360px); }
.salon-card .body { padding: 30px 30px 32px; gap: 12px; }
.salon-card h2 { color: #1A1A1A; }
.salon-card dl { color: var(--muted); }
.salon-card dt { color: #1A1A1A; }
.salon-card dd a { color: #1A1A1A; text-decoration: underline; text-decoration-color: #c9c9c4; text-underline-offset: 4px; }
.salon-card .actions { padding-top: 22px; }

/* ---------- Historia: mörkare neutral bakgrund, kvar som redaktionell del ---------- */
.hist { background: #ECEBE7; box-shadow: none; border-top: 0; color: #1A1A1A; }
.hist--plain { background: #ECEBE7; }
.hist-copy h2 { color: #1A1A1A; }
.hist-lead { color: #1A1A1A; }
.hist-body, .hist-cap, .hist-col p { color: var(--muted); }
.hist-rule { background: #1A1A1A; }
.hist-frame::before { display: none; }
.hist-photo { box-shadow: none; background: #dcdbd6; }
.hist-photo::after { background: none; }
.hist-badge { background: #fff; box-shadow: 0 0 0 1px var(--line); }
.hist-badge text { fill: #1A1A1A; }
.hist-line { background: #1A1A1A; }
.hist-col + .hist-col { border-left-color: #cfcec9; }
.hist-col::before { background: #ECEBE7; border-color: #1A1A1A; }
.hist-time.in .hist-col::before { background: #1A1A1A; box-shadow: 0 0 0 5px rgba(26,26,26,0.1); }
.hist-col b { color: #1A1A1A; }
.hist-more { color: #1A1A1A; border-bottom-color: #1A1A1A; }
.hist-more:hover { border-color: #1A1A1A; }
.hist .eyebrow { color: var(--muted) !important; }

/* ---------- Flikar ---------- */
.tabs { border-color: var(--line); background: #fff; }
.tab { color: var(--muted); }
.tab:hover { color: #1A1A1A; }
.tab::before { background: transparent; border: 1.5px solid currentColor; }
.tab[data-salon="hornstull"]::before { background: var(--accent); border-color: var(--accent); }
.tab[aria-selected="true"], .tab[data-salon="hornstull"][aria-selected="true"] { color: #fff; }
.tab-pill, .tabs[data-active="hornstull"] .tab-pill { background: #1A1A1A; box-shadow: none; }

/* ---------- Behandlingar & priser: minimal prislista ---------- */
.svc-wrap { max-width: 980px; }
.svc-feature { display: block; border-top: 1px solid var(--line); }
.svc-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 48px; row-gap: 8px; align-items: center; padding: 30px 0; background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; overflow: visible; color: #1A1A1A; box-shadow: none; transition: padding 0.5s var(--ease), border-color 0.4s ease; }
.svc-card::after { display: none; }
.svc-card .num { display: none; }
.svc-card:hover, .svc-card:focus-visible, .svc-card.rv.in:hover, .svc-card.rv.in:focus-visible { transform: none; box-shadow: none; border-color: #1A1A1A; padding-left: 14px; }
.svc-card:focus-visible { outline-offset: 2px; }
.svc-card .svc-name { grid-column: 1; grid-row: 1; font-size: clamp(26px, 3vw, 36px); max-width: none; margin: 0; color: #1A1A1A; }
.svc-card .svc-desc { grid-column: 1; grid-row: 2; color: var(--muted); max-width: 46ch; font-size: 15px; }
.svc-card .foot { grid-column: 2; grid-row: 1 / span 2; margin: 0; padding: 0; border: 0; display: flex; align-items: center; gap: 32px; }
.svc-card .dur { color: var(--muted); }
.svc-card .price { color: #1A1A1A; font-size: 34px; min-width: 104px; text-align: right; }
.svc-card .go { color: #1A1A1A; }
.svc-card .tag { background: transparent; color: #1A1A1A; border: 1px solid #1A1A1A; align-self: flex-start; }
.svc-card--sig { grid-column: auto; padding: 30px 0; background: none; border-color: var(--line); gap: 0 48px; flex-direction: row; }
.svc-card--sig .sig-main { grid-column: 1; grid-row: 1 / span 2; display: flex; flex-direction: column; gap: 8px; }
.svc-card--sig .svc-name { font-size: clamp(26px, 3vw, 36px); margin: 0; }
.svc-card--sig .svc-desc { grid-column: auto; grid-row: auto; font-size: 15px; max-width: 46ch; }
.svc-card--sig .foot { padding: 0; border: 0; flex-direction: row; align-items: center; min-width: 0; gap: 32px; }
.svc-card--sig .price { font-size: 34px; }
@media (max-width: 860px) {
  .svc-card, .svc-card--sig { grid-template-columns: 1fr; padding: 24px 0; gap: 8px; }
  .svc-card .foot, .svc-card--sig .foot { grid-column: 1; grid-row: 3; justify-content: space-between; gap: 16px; padding-top: 8px; }
  .svc-card--sig .sig-main { grid-row: 1 / span 2; }
  .svc-card .price { min-width: 0; }
  .svc-card:hover, .svc-card.rv.in:hover { padding-left: 0; }
}
.cat-title::after { background: var(--line); }
.svc-line .lead { border-bottom-color: #d4d4d0; }
.svc-line .mt, .svc-line .d { color: var(--muted); }
.svc-more { color: #1A1A1A; border-bottom-color: #1A1A1A; }
.svc-more:hover { color: var(--muted); }
.svc-foot p { color: var(--muted); }
.campaign-note { color: #1A1A1A; }

/* ---------- Galleri: bilderna i centrum ---------- */
.gal { background: #fff; border-top: 0; }
.gal-intro p { color: var(--muted); }
.gal-intro h2 { color: #1A1A1A; }
.gal-intro .eyebrow { color: var(--muted) !important; }
.gal-hint { color: #1A1A1A; }
.gal-fig { transform: translateY(var(--dy, 0px)); }
.gal-frame { background: #fff; padding: 4px; border-radius: 10px; box-shadow: 0 0 0 1px rgba(26,26,26,0.07), 0 8px 24px rgba(0,0,0,0.08); transition: box-shadow 0.5s ease; }
.gal-frame img, .gal-frame video { border-radius: 7px; }
.gal-frame img, .gal-frame video { height: min(var(--h, 54vh), 640px); background: var(--bg-alt); transition: transform 1.2s var(--ease), filter 0.6s ease; }
.gal-fig:hover .gal-frame, .gal-fig:focus-visible .gal-frame { transform: none; box-shadow: 0 0 0 1px rgba(26,26,26,0.14), 0 14px 32px rgba(0,0,0,0.13); }
.gal-fig:hover .gal-frame img { transform: scale(1.015); }
.gal-fig:focus-visible { outline-color: #1A1A1A; }
.gal-cap { color: #1A1A1A; }
.gal-cap span:last-child { color: var(--muted); }
.gal-progress { background: var(--line); }
.gal-progress i { background: #1A1A1A; }
@media (max-width: 860px) { .gal-frame img, .gal-frame video { height: min(var(--hm, 40vh), 440px); } }
#lightbox { background: rgba(10,10,10,0.94); }
#lightbox button { color: #fff; min-width: 48px; min-height: 48px; }
#lightbox button:focus-visible { outline-color: #fff; }

/* ---------- Omdömen ---------- */
.src-panel { background: #fff; border: 1px solid var(--line); }
.review-card { background: #fff; border: 1px solid var(--line); }
.review-card:hover { border-color: #1A1A1A; }
.review-card a { color: #1A1A1A !important; }
.skeleton { background: #fff; border-color: var(--line); }

/* ---------- Barberarna ---------- */
.bar-photo { background: var(--bg-alt); box-shadow: none; }
.bar-photo::before { display: none; }
.bar-mono { -webkit-text-stroke: 1px #cfcec9; }
.bar-photo img { object-position: 50% 20%; }
.bar-no { display: none; }
.bar-name { color: #1A1A1A; }
.bar-role { color: var(--muted); }
.bar-role::before { background: #1A1A1A; }
.bar-card:hover .bar-role { padding-left: 0; }
.bar-card:hover .bar-role::before { width: 0; }
.bar-text { color: var(--muted); }
.bar-chip { color: #1A1A1A; border-color: var(--line); min-height: 44px; padding: 0 16px; background: #fff; }
.bar-chip::before { background: transparent; border: 1.5px solid #1A1A1A; }
.bar-chip[data-s="hornstull"]::before { background: var(--accent); border-color: var(--accent); }
.bar-chip:hover { background: #fff; border-color: #1A1A1A; }

/* ---------- Hitta hit ---------- */
.find-card, .find-one { background: #fff; border: 1px solid var(--line); border-radius: 0; }
.find-card dl, .find-one dl { color: var(--muted); }
.find-card dt, .find-one dt { color: #1A1A1A; }
.find-card dd a, .find-one dd a { color: #1A1A1A; text-decoration: underline; text-decoration-color: #c9c9c4; text-underline-offset: 4px; }
.find-card iframe, .find-one iframe { filter: grayscale(1) contrast(0.95); }
.find-card h3, .find-one h3 { color: #1A1A1A; }
.notes { color: var(--muted); }
.notes strong { color: #1A1A1A; }

/* ---------- Bildband ---------- */
.band { border-top: 0; }
.band::after { background: linear-gradient(rgba(26,26,26,0.58), rgba(26,26,26,0.8)); }

/* ---------- Avslutande bokning + footer (mörka) ---------- */
.final, .sec--alt.final { background: #1A1A1A; border: 0; padding: var(--sec-y) var(--gutter); }
.final::before { display: none; }
.final h2 { color: #fff; }
.final .final-sub, .final .phones, .final .phones a { color: rgba(255,255,255,0.72); }
.final .btn--vs, .final .btn--hs { background: #fff; color: #1A1A1A; border-color: #fff; }
.final .btn--vs:hover, .final .btn--hs:hover { background: #E8E8E5; border-color: #E8E8E5; color: #1A1A1A; }
.final .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.6); }
.final a:focus-visible, .final .btn:focus-visible { outline-color: #fff; }
footer.foot { background: #1A1A1A; border-top: 1px solid rgba(255,255,255,0.14); }
.foot-grid { border-bottom-color: rgba(255,255,255,0.14); }
.foot-col h4 { color: var(--accent); }
.foot-col, .foot-col a { color: rgba(255,255,255,0.78); }
.foot-word span { color: rgba(255,255,255,0.07); }
.foot-bar { border-top-color: rgba(255,255,255,0.12); color: rgba(255,255,255,0.62); }
.foot-bar a { color: rgba(255,255,255,0.62); }
footer.foot a:focus-visible { outline-color: #fff; }

/* ---------- Textsidor ---------- */
.prose-wrap { background: #fff; }
.prose { color: #444; }
.prose h1, .prose h2, .prose h3, .prose strong { color: #1A1A1A; }
.prose h2 { border-top-color: var(--line); }
.prose a { color: #1A1A1A; }
.hist-time--words .hist-col b { color: #1A1A1A; }

/* ---------- Mjuka övergångar / reducerad rörelse ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-bg, .hero-in > * { animation: none; }
}

/* ---------- Startsidans stora hero: helbild med vit text, salongsvalen kvar ---------- */
.hero--home { display: flex; align-items: flex-end; max-width: none; margin: 0; min-height: min(calc(100svh - 66px), 920px); padding: clamp(96px, 14vh, 160px) var(--gutter) clamp(36px, 6vh, 64px); isolation: isolate; overflow: hidden; background: #1A1A1A; gap: 0; }
.hero--home .hero-bg { position: absolute; inset: 0; z-index: -2; grid-column: auto; grid-row: auto; width: auto; aspect-ratio: auto; max-height: none; background-position: center 40%; }
.hero--home::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(26,26,26,0.38) 0%, rgba(26,26,26,0.5) 45%, rgba(26,26,26,0.82) 100%); }
.hero--home .hero-inner { max-width: 1264px; margin: 0 auto; }
.hero--home h1 { color: #fff; font-size: clamp(56px, min(10.4vw, 17vh), 156px); line-height: 0.94; max-width: none; }
.hero--home p.lead { color: rgba(255,255,255,0.88); }
.hero--home .eyebrow { color: rgba(255,255,255,0.82) !important; }
.hero--home .hero-pick { max-width: 560px; margin-top: clamp(28px, 5vh, 48px); }
.hero--home .pick { background: #fff; }
.hero--home .pick:hover { border-color: #1A1A1A; }
@media (min-width: 861px) { .hero--home .hero-pick { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .hero--home { min-height: 0; padding-top: 88px; padding-bottom: 28px; }
  .hero--home h1 { font-size: clamp(52px, 15vw, 88px); }
  .hero--home .hero-pick { max-width: none; }
}

/* Salongsvalen i hero: två glaskort sida vid sida som ligger på bilden */
.hero--home .hero-pick { grid-template-columns: 1fr 1fr; gap: 14px; max-width: 760px; }
.hero--home .pick { grid-template-columns: 1fr auto; align-items: end; row-gap: 2px; padding: 20px 20px 18px 22px; background: rgba(20,20,20,0.42); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,0.28); color: #fff; transition: background-color 0.35s ease, border-color 0.35s ease; }
.hero--home .pick:hover, .hero--home .pick:focus-visible { background: rgba(20,20,20,0.62); border-color: #fff; }
.hero--home .pick-tag { color: rgba(255,255,255,0.8); grid-column: 1 / -1; }
.hero--home .pick-tag::before { border-color: #fff; }
.hero--home .pick--hs .pick-tag::before { background: var(--accent); border-color: var(--accent); }
.hero--home .pick-name { grid-column: 1 / -1; font-size: clamp(24px, 2.4vw, 30px); margin-top: 6px; }
.hero--home .pick-addr { grid-column: 1; grid-row: 3; color: rgba(255,255,255,0.78); align-self: center; }
.hero--home .pick-go { grid-column: 2; grid-row: 3; min-height: 40px; padding: 0 16px; background: #fff; color: #1A1A1A; }
.hero--home .pick:hover .pick-go, .hero--home .pick:focus-visible .pick-go { background: #E8E8E5; }
.hero--home .pick:focus-visible { outline-color: #fff; }
@media (max-width: 860px) {
  .hero--home .hero-pick { grid-template-columns: 1fr; gap: 10px; }
  .hero--home .pick { padding: 16px 16px 14px 18px; }
}

/* ---------- Mjukare hörn: 4 px på bilder, kort, knappar och rutor ---------- */
:root { --r: 4px; }
.btn, .sh-btn, .sh-burger, .sh-drop, .pick, .pick-go,
.salon-card, .find-card, .find-one, .review-card, .src-panel, .skeleton, .svc-card .tag,
.hist-photo, .hist-frame, .bar-photo, .bar-chip, .band, .prose img,
.hero:not(.hero--home) .hero-bg, .gal-frame, .gal-frame img, .media-img,
.find-card iframe, .find-one iframe, #lb-image, .skip { border-radius: var(--r); }
.salon-card, .find-card, .find-one, .hist-photo, .bar-photo, .gal-frame { overflow: hidden; }
.bar-chip { border-radius: 999px; }
.tabs, .tab, .tab-pill { border-radius: 999px; }

/* Slankare salongskort i hero: "Boka tid" som diskret textlänk i stället för knapp */
.hero--home .hero-pick { max-width: 680px; gap: 12px; }
.hero--home .pick { padding: 16px 18px 14px; row-gap: 0; }
.hero--home .pick-name { font-size: clamp(22px, 2vw, 26px); margin-top: 4px; }
.hero--home .pick-addr { font-size: 13px; margin-top: 2px; }
.hero--home .pick-go { min-height: 0; padding: 0 0 2px; background: none; border-radius: 0; color: #fff; font-size: 11px; border-bottom: 1px solid rgba(255,255,255,0.7); align-self: end; transition: border-color 0.3s ease, gap 0.4s var(--ease); }
.hero--home .pick:hover .pick-go, .hero--home .pick:focus-visible .pick-go { background: none; border-color: #fff; gap: 12px; }

/* Footerord: två rader som skärps upp och tonas in medan man scrollar mot sidans slut */
.foot-word { padding: 24px var(--gutter) 28px; overflow: hidden; }
.foot-word span { clip-path: none; transition: none; white-space: nowrap; font-size: clamp(30px, 8.6vw, 132px); line-height: 0.92; color: #fff; letter-spacing: -0.005em; }
.foot-word span:nth-child(1) { opacity: calc(0.06 + var(--fw, 1) * 0.94); filter: blur(calc((1 - var(--fw, 1)) * 7px)); }
.foot-word span:nth-child(2) { opacity: calc(0.06 + var(--fw2, 1) * 0.94); filter: blur(calc((1 - var(--fw2, 1)) * 7px)); }
@media (max-width: 860px) { .foot-word { padding: 20px var(--gutter) 24px; } .foot-word span { white-space: nowrap; font-size: 10.4vw; line-height: 0.95; } }
@media (prefers-reduced-motion: reduce) { .foot-word span { opacity: 1 !important; filter: none !important; } }

/* Footerord på en rad: konturtext som fylls med vitt från vänster till höger medan man scrollar */
.foot-word { padding: 28px var(--gutter) 32px; }
.foot-word span, .foot-word span:nth-child(1) { display: block; text-align: center; opacity: 1; filter: none; font-size: clamp(14px, 4.2vw, 64px); line-height: 1; letter-spacing: 0.01em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.32); background-image: linear-gradient(90deg, #fff 0, #fff calc(var(--fw, 1) * 112% - 12%), transparent calc(var(--fw, 1) * 112%)); -webkit-background-clip: text; background-clip: text; }
@media (max-width: 860px) { .foot-word span, .foot-word span:nth-child(1) { font-size: 4.3vw; } }
@media (prefers-reduced-motion: reduce) { .foot-word span, .foot-word span:nth-child(1) { background-image: none; color: #fff; -webkit-text-stroke: 0; } }

/* Footerord: två rader, vänsterställda, samma uppfyllnad från vänster till höger */
.foot-word span, .foot-word span:nth-child(1), .foot-word span:nth-child(2) { text-align: left; font-size: clamp(30px, 8.6vw, 132px); line-height: 0.95; }
.foot-word span:nth-child(2) { background-image: linear-gradient(90deg, #fff 0, #fff calc(var(--fw2, 1) * 112% - 12%), transparent calc(var(--fw2, 1) * 112%)); }
@media (max-width: 860px) { .foot-word span, .foot-word span:nth-child(1), .foot-word span:nth-child(2) { font-size: 10.4vw; } }
@media (prefers-reduced-motion: reduce) { .foot-word span:nth-child(2) { background-image: none; } }

/* Footerord: en rad, vänsterställd, så stor som ryms */
.foot-word span, .foot-word span:nth-child(1) { text-align: left; font-size: clamp(16px, 4.6vw, 72px); line-height: 1; }
@media (max-width: 860px) { .foot-word span, .foot-word span:nth-child(1) { font-size: 4.5vw; } }

/* =====================================================================
   Flytande mörk navigation
   Fast (out of flow) pill som svävar över sidan. Eftersom den inte tar
   plats i flödet ändras ingenting i layouten när den krymper vid scroll.
   ===================================================================== */
:root { --nav-top: 16px; --nav-h: 74px; --nav-bg: #1B1B1B; }
.page { padding-top: calc(var(--nav-top) + var(--nav-h)); }
.home .page { padding-top: 0; }
section[id], .anchor-alias { scroll-margin-top: 108px; }

.sh { position: fixed; top: var(--nav-top); left: 0; right: 0; width: min(1360px, calc(100% - 48px)); height: var(--nav-h); margin: 0 auto; padding: 0 28px; z-index: 50;
  background: var(--nav-bg); color: #fff; border: 0; border-radius: 18px; box-shadow: 0 6px 22px rgba(0,0,0,0.16);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  transition: height 0.4s var(--ease), top 0.4s var(--ease), box-shadow 0.4s ease; }
.sh.is-scrolled { --nav-h: 64px; height: 64px; top: 12px; box-shadow: 0 8px 26px rgba(0,0,0,0.22); }
.sh-progress { left: 22px; right: 22px; width: auto; bottom: 0; background: rgba(255,255,255,0.5); height: 2px; }
.sh-brand, .sh-brand:hover { color: #fff; }
.sh-brand img { width: 48px; height: 48px; transition: width 0.4s var(--ease), height 0.4s var(--ease); }
.sh.is-scrolled .sh-brand img { width: 40px; height: 40px; }
.sh-brand-name { color: #fff; }

/* Länkarna mitt i pillen */
.sh-right { flex: 1; justify-content: space-between; gap: 24px; }
.sh-nav { margin: 0 auto; gap: 30px; }
.sh-link { color: rgba(255,255,255,0.78); background-image: linear-gradient(#fff, #fff); transition: color 0.3s ease, background-size 0.4s var(--ease); }
.sh-link:hover, .sh-link:focus-visible, .sh-link[aria-current] { color: #fff; }
.sh-link[aria-current] { background-size: 100% 1px; }

/* Bokningsknappen: vit med mörk text och pil */
.sh-btn { min-height: 44px; padding: 0 20px; font-size: 14px; font-weight: 600; letter-spacing: 0.01em; text-transform: none; border-radius: 10px; transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s var(--ease); }
.sh-btn--vs, .sh-btn--hs { background: #fff; border-color: #fff; color: #1B1B1B; }
.sh-btn--vs:hover, .sh-btn--hs:hover { background: #E8E8E5; border-color: #E8E8E5; color: #1B1B1B; }
.sh-right > .sh-btn::after, .sh-mobile .sh-btn::after { content: '→'; display: inline-block; margin-left: 8px; transition: transform 0.4s var(--ease); }
.sh-right > .sh-btn:hover::after, .sh-mobile .sh-btn:hover::after { transform: translateX(4px); }
.sh-chev { margin-left: 2px; }
.sh-btn:focus-visible, .sh-link:focus-visible, .sh-brand:focus-visible, .sh-burger:focus-visible, .sh-drop a:focus-visible, .sh-m:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.sh-btn--vs:focus-visible, .sh-btn--hs:focus-visible { outline-color: #fff; box-shadow: 0 0 0 2px #1B1B1B, 0 0 0 4px #fff; outline: none; }

/* Bokningsval (popover) */
.sh-drop { top: calc(100% + 14px); min-width: 270px; background: var(--nav-bg); border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; box-shadow: 0 14px 36px rgba(0,0,0,0.28); overflow: hidden; animation: navIn 0.25s var(--ease); }
.sh-drop a { color: #fff; padding: 16px 20px; }
.sh-drop a + a { border-top-color: rgba(255,255,255,0.1); }
.sh-drop a:hover, .sh-drop a:focus-visible { background: rgba(255,255,255,0.08); color: #fff; }
.sh-drop strong { font-size: 14px; font-weight: 600; letter-spacing: 0.02em; text-transform: none; }
.sh-drop span { color: rgba(255,255,255,0.65); }
.sh-drop a[data-book="hornstull"] strong { color: #fff; }
.sh-drop a:focus-visible { outline-offset: -3px; }
@keyframes navIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Hamburgare + mobilmeny: en förlängning av den mörka pillen */
.sh-burger { width: 44px; height: 44px; background: transparent; border: 1px solid rgba(255,255,255,0.28); border-radius: 10px; }
.sh-burger span { background: #fff; }
.sh-mobile { position: fixed; inset: auto; top: calc(var(--nav-top) + var(--nav-h) + 10px); left: 0; right: 0; width: min(1280px, calc(100% - 64px)); margin: 0 auto; z-index: 49; max-height: calc(100svh - var(--nav-top) - var(--nav-h) - 24px); overflow-y: auto;
  background: var(--nav-bg); border-radius: 18px; box-shadow: 0 14px 36px rgba(0,0,0,0.28); padding: 12px 28px 28px; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; animation: navIn 0.3s var(--ease); }
.sh-mobile a.sh-m { color: #fff; font-size: 26px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.1); text-align: left; }
.sh-mobile a.sh-m:hover { color: rgba(255,255,255,0.8); }
.sh-mobile .sh-btn { min-height: 52px; width: 100%; margin-top: 12px; justify-content: space-between; font-size: 15px; }
.sh-mobile a.sh-m:first-child + a.sh-m { }
.sh-mobile .sh-btn:first-of-type { margin-top: 22px; }
@media (max-width: 860px) {
  :root { --nav-top: 10px; --nav-h: 60px; }
  .sh { width: calc(100% - 24px); padding: 0 12px 0 16px; border-radius: 16px; }
  .sh.is-scrolled { --nav-h: 56px; height: 56px; top: 8px; }
  .sh-brand img, .sh.is-scrolled .sh-brand img { width: 38px; height: 38px; }
  .sh-right { gap: 10px; justify-content: flex-end; }
  .sh-btn { padding: 0 14px; font-size: 13px; min-height: 42px; }
  .sh-right > .sh-btn::after { margin-left: 6px; }
  .sh-progress { left: 16px; right: 16px; }
  .sh-mobile { width: calc(100% - 24px); padding: 8px 20px 22px; }
  .home .hero--home { padding-top: calc(var(--nav-top) + var(--nav-h) + 32px); }
}
@media (max-width: 380px) { .sh-right > .sh-btn::after { display: none; } .sh-brand-name { display: none; } }
@media (prefers-reduced-motion: reduce) { .sh, .sh-brand img, .sh-drop, .sh-mobile, .sh-btn, .sh-link { transition: none; animation: none; } }

/* Hero på startsidan ligger bakom navigationen */
.hero--home { min-height: min(100svh, 940px); padding-top: clamp(120px, 17vh, 176px); }
@media (max-width: 1400px) { .sh-right { justify-content: flex-end; } }
.sh-nav { gap: clamp(14px, 1.6vw, 30px); } .sh-right { gap: clamp(12px, 1.4vw, 24px); }
@media (max-width: 860px) { .hero:not(.hero--home) h1 { font-size: clamp(36px, 10.2vw, 72px); overflow-wrap: break-word; } }
.sh-progress { display: none; }

/* Glaseffekt på navigationen: mörkt, halvgenomskinligt glas med oskärpa bakom */
.sh { background: rgba(27,27,27,0.66); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); border: 1px solid rgba(255,255,255,0.16); box-shadow: 0 8px 28px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.12); }
.sh.is-scrolled { box-shadow: 0 10px 30px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.12); }
.sh-drop, .sh-mobile { background: rgba(27,27,27,0.84); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); border: 1px solid rgba(255,255,255,0.14); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .sh, .sh-drop, .sh-mobile { background: #1B1B1B; } }

/* Sociala länkar i footern: tydligare och med Instagram-ikon (alla sidor) */
.foot-bar { align-items: center; padding-top: 18px; padding-bottom: 18px; }
.foot-bar .social { gap: 22px; flex-wrap: wrap; }
.foot-bar .social a { color: #fff; font-size: 14px; font-weight: 600; min-height: 44px; align-items: center; gap: 8px; border-bottom: 1px solid transparent; transition: border-color 0.3s ease; }
.foot-bar .social a:hover { text-decoration: none; border-bottom-color: rgba(255,255,255,0.7); }
.foot-bar .social a[aria-label="Instagram"]::before { content: ''; width: 18px; height: 18px; flex: none; background: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='1' fill='black'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='1' fill='black'/%3E%3C/svg%3E") center / contain no-repeat; }
.foot-bar .social a:last-child { color: rgba(255,255,255,0.62); font-weight: 500; font-size: 12px; }
.foot-col a[href*="instagram"] { color: #fff; font-weight: 600; }

/* Instagram i footern: samma textstil som övriga länkar, utan ikon */
.foot-col a[href*="instagram"] { color: rgba(255,255,255,0.78); font-weight: inherit; }
.foot-bar .social a[aria-label="Instagram"]::before { display: none; }
.foot-bar .social a, .foot-bar .social a:last-child { color: rgba(255,255,255,0.78); font-size: 14px; font-weight: 500; }

/* Sociala ikoner i menyn, bredvid "Boka tid" */
.sh-social { display: flex; align-items: center; gap: 2px; }
.sh-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; color: rgba(255,255,255,0.78); transition: color 0.3s ease, background-color 0.3s ease; }
.sh-social a:hover, .sh-social a:focus-visible { color: #fff; background: rgba(255,255,255,0.1); text-decoration: none; }
.sh-social a:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
.sh-right > .sh-social { margin-right: -6px; }
@media (max-width: 860px) { .sh-right > .sh-social { display: none; } }
.sh-social--m { justify-content: flex-start; gap: 6px; margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.1); }
.sh-social--m a { width: 46px; height: 46px; border: 1px solid rgba(255,255,255,0.2); color: #fff; }
@media (min-width: 861px) { .sh-social--m { display: none; } }


/* Startsidans hero: längre, och nästa sektion glider upp över den som ett ark */
.hero--home { position: sticky; top: 0; z-index: 0; min-height: max(100svh, 760px); padding-bottom: clamp(88px, 13vh, 150px); }
.hero--home .hero-bg { inset: -8% 0; will-change: transform; }
.hero--home .hero-inner { will-change: transform, opacity; }
#salongerna { position: relative; z-index: 2; border-radius: 24px 24px 0 0; box-shadow: 0 -24px 60px rgba(0,0,0,0.22); }
@media (max-width: 860px) { .hero--home { min-height: max(100svh, 640px); padding-bottom: 72px; } #salongerna { border-radius: 18px 18px 0 0; } }
@media (prefers-reduced-motion: reduce) { .hero--home { position: relative; } #salongerna { box-shadow: none; } }

/* Avslutningen och andra knapppar: exakt lika stora */
.final .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: min(560px, 100%); }
.final .pair .btn { width: 100%; padding: 0 20px; }
.find-card .actions, .find-one .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.find-card .actions .btn, .find-one .actions .btn { width: 100%; padding: 0 12px; }
.salon-card .actions { display: grid; grid-template-columns: 1fr 1fr; }
.salon-card .actions .btn { width: 100%; flex: none; }
.hero-actions { display: flex; flex-wrap: wrap; }
.hero-actions .btn { min-width: 210px; }
@media (max-width: 560px) {
  .final .pair { grid-template-columns: 1fr; max-width: 360px; }
  .find-card .actions, .find-one .actions { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* Bildspelet: räknare och bildtexter som hoppar upp */
.gal-counter { position: absolute; left: clamp(24px, 6vw, 96px); bottom: 44px; display: flex; align-items: baseline; gap: 10px; z-index: 2; pointer-events: none; font-family: 'Barlow Condensed', sans-serif; color: #1A1A1A; }
.gal-num { display: inline-block; overflow: hidden; height: 1em; font-size: clamp(34px, 5vw, 56px); line-height: 1; font-weight: 700; }
.gal-num b { display: block; font-weight: 700; }
.gal-num b.roll { animation: galRoll 0.55s var(--ease); }
@keyframes galRoll { from { transform: translateY(100%); opacity: 0; } to { transform: none; opacity: 1; } }
.gal-of { font-size: 18px; font-weight: 600; color: var(--muted); letter-spacing: 0.06em; }
.gal-cap { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.7s var(--ease); }
.gal-fig.is-on .gal-cap { opacity: 1; transform: none; }
.gal.is-static .gal-counter { display: none; }
.gal.is-static .gal-cap { opacity: 1; transform: none; }
@media (max-width: 860px) { .gal-counter { bottom: 30px; } .gal-progress { bottom: 18px; } }
@media (prefers-reduced-motion: reduce) { .gal-cap { opacity: 1; transform: none; transition: none; } .gal-num b.roll { animation: none; } }

/* "Hantverket i bild": en rad som ligger över bilderna medan de rullar förbi.
   mix-blend-mode gör texten svart mot vitt och vit mot mörka bilder. */
.gal-title { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); z-index: 3; margin: 0; padding: 0 clamp(20px, 4vw, 56px); white-space: nowrap; text-align: center; font-weight: 700; font-size: clamp(34px, 9.4vw, 180px); line-height: 1; letter-spacing: 0.005em; color: #fff; mix-blend-mode: difference; pointer-events: none; }
.gal.is-static .gal-title { position: static; transform: none; mix-blend-mode: normal; color: #1A1A1A; padding: 0 24px 24px; text-align: left; white-space: normal; }
@media (prefers-reduced-motion: reduce) { .gal-title { mix-blend-mode: normal; color: #1A1A1A; } }

/* "Se på Google" / "Se på Bokadirekt": exakt lika stora */
#reviews-cta-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 260px); justify-content: center; gap: 14px; }
#reviews-cta-row .btn { width: 100%; padding: 0 16px; }
@media (max-width: 560px) { #reviews-cta-row { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; } }

/* "Boka tid" i menyn: lägre knapp på mobil */
@media (max-width: 860px) { .sh-right > .sh-btn, .sh-toggle { min-height: 36px; padding: 0 12px; font-size: 13px; border-radius: 9px; } .sh-burger { width: 40px; height: 40px; } }
.gal-title { top: 63%; }
.gal-sticky { background: #fff; }

/* Rubriken ligger ovanpå bilderna: solid svart text med vit kontur, ingen blandning */
.gal-title { mix-blend-mode: normal; color: #1A1A1A; -webkit-text-stroke: 0.14em #fff; paint-order: stroke fill; top: 36%; font-size: clamp(40px, 11vw, 200px); text-shadow: 0 2px 30px rgba(255,255,255,0.35); }
@media (prefers-reduced-motion: reduce) { .gal-title { -webkit-text-stroke: 0; text-shadow: none; } }

/* Rubriken ligger ÖVER bildraden (ovanför bilderna), inte på dem */
.gal-title { position: static; transform: none; left: auto; right: auto; top: auto; mix-blend-mode: normal; -webkit-text-stroke: 0; paint-order: normal; text-shadow: none; color: #1A1A1A; text-align: left; white-space: nowrap; z-index: auto; padding: 0 clamp(24px, 6vw, 96px); margin: 0 0 clamp(18px, 3.4vh, 38px); font-size: clamp(34px, 7.6vw, 124px); line-height: 1; will-change: transform; align-self: flex-start; }
.gal.is-static .gal-title { white-space: normal; padding: 0 24px 24px; font-size: clamp(34px, 8vw, 80px); }
@media (max-width: 860px) { .gal-title { font-size: clamp(32px, 9.4vw, 60px); } }

/* Rubriken står kvar i mitten tills man börjar scrolla, och flyttar då mjukt upp över bildraden */
.gal-sticky { --gh: min(54vh, 560px); }
@media (max-width: 860px) { .gal-sticky { --gh: min(46vh, 420px); } }
.gal-title { position: absolute; left: 0; top: 50%; margin: 0; align-self: auto; transform: translate3d(var(--tx, 0px), -50%, 0); -webkit-text-stroke: 0.12em #fff; paint-order: stroke fill; transition: top 0.9s var(--ease), transform 0.9s var(--ease); z-index: 3; }
.gal.is-moved .gal-title { top: calc(50% - (var(--gh) + 36px) / 2 - 16px); transform: translate3d(var(--tx, 0px), -100%, 0); }
.gal-intro { transform: translateY(clamp(80px, 13vh, 120px)); }
.gal.is-static .gal-title { position: static; transform: none; -webkit-text-stroke: 0; }
.gal.is-static .gal-intro { transform: none; }
@media (prefers-reduced-motion: reduce) { .gal-title { transition: none; -webkit-text-stroke: 0; } }

/* Rubrikens färd uppåt styrs av scrollen (--t 0→1) i stället för en fast övergång */
.gal-title, .gal.is-moved .gal-title { transition: none; transform-origin: left center; top: calc(50% - var(--t, 0) * ((var(--gh) + 36px) / 2 + 16px)); transform: translate3d(var(--tx, 0px), calc(-50% - var(--t, 0) * 50%), 0) scale(calc(1 - var(--t, 0) * 0.1)); will-change: transform, top; }
.gal.is-static .gal-title { top: auto; transform: none; }

/* Slutläge: rubriken ligger ÖVER bildernas övre kant (överlappar dem) och stannar där */
.gal-title, .gal.is-moved .gal-title { z-index: 5; -webkit-text-stroke: 0.12em #fff; paint-order: stroke fill; top: calc(50% - var(--t, 0) * ((var(--gh) + 36px) / 2)); transform: translate3d(0, calc(-50% - var(--t, 0) * 6%), 0) scale(calc(1 - var(--t, 0) * 0.06)); }
.gal-fig { position: relative; z-index: 1; }
.gal.is-static .gal-title { top: auto; transform: none; -webkit-text-stroke: 0; }
.gal-title, .gal.is-moved .gal-title { transform: translate3d(0, calc(-50% + var(--t, 0) * 33%), 0) scale(calc(1 - var(--t, 0) * 0.06)); }

/* Slutläge: rubriken ligger HELT ovanför bildraden, i det vita, utan att röra bilderna */
.gal-title, .gal.is-moved .gal-title { top: calc(50% - var(--t, 0) * ((var(--gh) + 36px) / 2 + 20px)); transform: translate3d(0, calc(-50% - var(--t, 0) * 50%), 0) scale(calc(1 - var(--t, 0) * 0.06)); transform-origin: left bottom; }

/* Rubriken är så stor att den ryms BREDVID första bilden i startläget (ingen överlappning), och åker sedan upp */
.gal-title { font-size: clamp(30px, 4.6vw, 80px); }
@media (max-width: 860px) { .gal-title { font-size: clamp(30px, 8.4vw, 54px); } }

/* Sidbyten och inkomst vid scroll */
.page { animation: pageIn 0.6s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
html.is-leaving .page { opacity: 0; transition: opacity 0.26s ease; }
.js-motion [data-reveal] { transform: translateY(34px) scale(0.99); transition-duration: 1s; }
.js-motion [data-reveal].in { transform: none; }
.js-motion .mv { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--mv, 0ms); }
.js-motion .mv.mv-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .page { animation: none; } html.is-leaving .page { opacity: 1; transition: none; } .js-motion .mv, .js-motion [data-reveal] { opacity: 1; transform: none; transition: none; } }
.gal-title { font-size: clamp(30px, min(4.6vw, calc((5vw + 370px) / 7.4)), 80px); }
@media (max-width: 860px) { .gal-title { font-size: clamp(30px, 8.4vw, 54px); } }
.gal-title { font-size: clamp(30px, min(4.4vw, calc((5vw + 320px) / 7.7)), 76px); }
@media (max-width: 860px) { .gal-title { font-size: clamp(30px, 8.4vw, 54px); } }
.page { animation: pageIn 0.6s var(--ease) backwards; }

/* Avslutningens knappar: centrerade oavsett om det är en eller två */
.final .pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 270px)); justify-content: center; width: 100%; max-width: 560px; margin-left: auto; margin-right: auto; }
.final .pair .btn { width: 100%; }
.final h2 { text-wrap: balance; }
@media (max-width: 560px) { .final .pair { grid-template-columns: 1fr; max-width: 360px; } }

/* Hero-rubriker på undersidor: får aldrig skära över bilden. Storleken följer kolumnens bredd. */
.hero:not(.hero--home) h1 { font-size: clamp(34px, min(4.4vw, calc((100vw - 2 * var(--gutter) - clamp(32px, 5vw, 88px)) * 0.5 / 7.4)), 84px); max-width: 100%; overflow-wrap: break-word; hyphens: auto; }
.hero:not(.hero--home) .hero-inner { min-width: 0; }
.hero:not(.hero--home) { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); }
@media (max-width: 860px) { .hero:not(.hero--home) h1 { font-size: clamp(34px, 10.2vw, 72px); } }

/* Upp till toppen-knapp i footern */
.to-top { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border: 1px solid rgba(255,255,255,0.35); border-radius: 999px; color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease; }
.to-top, .to-top:hover { text-decoration: none; }
.to-top:hover, .to-top:focus-visible { background: #fff; color: #1A1A1A; border-color: #fff; }
.to-top:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.to-top-arr { display: inline-block; transition: transform 0.45s var(--ease); }
.to-top:hover .to-top-arr { transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) { .to-top-arr { transition: none; } }
@media (max-width: 860px) { .foot-bar { gap: 14px; } .to-top { order: -1; width: 100%; justify-content: center; } }

/* Flytande till-toppen-knapp: liten rund glasknapp nere till höger */
.float-top { position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: rgba(27,27,27,0.78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,0.2); opacity: 0; transform: translateY(14px) scale(0.9); pointer-events: none; transition: opacity 0.45s var(--ease), transform 0.5s var(--ease), background-color 0.3s ease; }
.float-top, .float-top:hover { text-decoration: none; }
.float-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.float-top:hover, .float-top:focus-visible { background: #1A1A1A; }
.float-top:focus-visible { outline: 2px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 4px #1A1A1A; }
.float-top svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.float-top circle { fill: none; stroke-width: 1.5; }
.float-top .ft-track { stroke: rgba(255,255,255,0.22); }
.float-top .ft-ring { stroke: #fff; stroke-linecap: round; }
.float-top .ft-arr { position: absolute; inset: 0; margin: auto; width: 20px; height: 20px; transform: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.45s var(--ease); }
.float-top:hover .ft-arr { transform: translateY(-3px); }
@media (max-width: 860px) { .float-top { right: 14px; bottom: 16px; width: 44px; height: 44px; } }
@media (prefers-reduced-motion: reduce) { .float-top, .ft-arr { transition: none; } }

/* Mobil: hero på undersidorna är en kolumn (text, sedan bild), full bredd */
@media (max-width: 860px) {
  .hero:not(.hero--home) { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero:not(.hero--home) .hero-inner, .hero:not(.hero--home) .hero-bg { grid-column: 1; width: 100%; }
  .hero:not(.hero--home) .hero-bg { grid-row: 2; }
  .hero:not(.hero--home) h1 { font-size: clamp(36px, 11vw, 64px); overflow-wrap: normal; hyphens: manual; }
}

/* Mobilmeny: glider ner/upp med stegvis inkomst och dämpande ridå */
.nav-scrim { position: fixed; inset: 0; z-index: 48; background: rgba(10,10,10,0.42); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity 0.4s ease; }
.nav-scrim.is-on { opacity: 1; pointer-events: auto; }
html.nav-open { overflow: hidden; }
.sh-mobile { animation: menuIn 0.5s var(--ease) both; transform-origin: top center; }
.sh-mobile > * { animation: menuItem 0.55s var(--ease) both; }
.sh-mobile > :nth-child(1) { animation-delay: 0.08s; } .sh-mobile > :nth-child(2) { animation-delay: 0.12s; } .sh-mobile > :nth-child(3) { animation-delay: 0.16s; }
.sh-mobile > :nth-child(4) { animation-delay: 0.2s; } .sh-mobile > :nth-child(5) { animation-delay: 0.24s; } .sh-mobile > :nth-child(6) { animation-delay: 0.28s; }
.sh-mobile > :nth-child(n+7) { animation-delay: 0.34s; }
.sh-mobile.is-closing { animation: menuOut 0.3s cubic-bezier(0.5, 0, 0.75, 0) both; pointer-events: none; }
.sh-mobile.is-closing > * { animation: none; opacity: 0; transition: opacity 0.18s ease; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-14px) scale(0.97); clip-path: inset(0 0 100% 0 round 18px); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 18px); } }
@keyframes menuOut { from { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 18px); } to { opacity: 0; transform: translateY(-14px) scale(0.97); clip-path: inset(0 0 100% 0 round 18px); } }
@keyframes menuItem { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .sh-mobile, .sh-mobile > *, .nav-scrim { animation: none; transition: none; } }

/* Mobil: salongens namn syns alltid bredvid logotypen */
@media (max-width: 860px) {
  .sh-brand { min-width: 0; gap: 9px; flex: 1 1 auto; }
  .sh-brand-name { display: block !important; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 16px; letter-spacing: 0.03em; color: #fff; }
  .sh-right { flex: 0 0 auto; gap: 8px; }
}
@media (max-width: 400px) {
  .sh-brand-name { font-size: 14.5px; letter-spacing: 0.02em; }
  .sh-right > .sh-btn::after { display: none; }
  .sh-right > .sh-btn { padding: 0 11px; }
}
@media (max-width: 380px) {
  .sh { padding: 0 8px 0 12px; }
  .sh-brand { gap: 7px; }
  .sh-brand img, .sh.is-scrolled .sh-brand img { width: 34px; height: 34px; }
  .sh-brand-name { font-size: 12.5px; letter-spacing: 0.005em; }
  .sh-right { gap: 6px; }
  .sh-right > .sh-btn { padding: 0 10px; font-size: 12.5px; }
  .sh-burger { width: 38px; height: 38px; }
}
@media (max-width: 350px) {
  .sh-brand-name { font-size: 11.5px; }
  .sh-brand img, .sh.is-scrolled .sh-brand img { width: 30px; height: 30px; }
  .sh-right > .sh-btn { padding: 0 8px; font-size: 12px; gap: 4px; }
  .sh-burger { width: 36px; height: 36px; }
  .sh { padding: 0 6px 0 10px; }
}

/* Mobil: ingen pil i knappen, namnet skalar med bredden så det alltid ryms helt */
@media (max-width: 860px) {
  .sh-right > .sh-btn::after { display: none; }
  .sh-brand-name { font-size: min(16px, 3.7vw); letter-spacing: 0.02em; }
  .sh-right > .sh-btn { padding: 0 12px; }
}
@media (max-width: 360px) {
  .sh-brand-name { font-size: 3.25vw; letter-spacing: 0; }
  .sh-chev { display: none; }
  .sh-right > .sh-btn { padding: 0 9px; }
}

/* Mobil: samma storlek på knapparna överallt */
@media (max-width: 860px) {
  .sh-right > .sh-btn { min-width: 94px; justify-content: center; }
  .svc-foot { flex-direction: column; align-items: stretch; gap: 14px; text-align: center; }
  .svc-foot .btn { width: 100%; }
  .final .pair { max-width: 100%; }
}
@media (max-width: 860px) {
  .sh-right .sh-btn { min-width: 94px; justify-content: center; }
  .sh-right .sh-toggle { gap: 6px; }
}
@media (max-width: 860px) { .prose h1 { font-size: clamp(30px, 10.4vw, 64px); overflow-wrap: anywhere; } }

/* Å, Ä och Ö: prickarna/ringen klipps inte av ordmasken (utrymme ovanför, tas tillbaka med negativ marginal) */
.w { padding-top: 0.3em; margin-top: -0.3em; }
.mask { padding-top: 0.3em; margin-top: -0.3em; }
.sec-head h2 .w { padding-top: 0.3em; margin-top: -0.3em; }

/* Barberarsektion på salongssidorna */
.bar-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; margin-left: auto; margin-right: auto; }
@media (max-width: 860px) { .bar-grid--2, .bar-grid--3 { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; } }

/* Tvåradig hero-rubrik (Vasastan): varje rad står på en egen rad */
.hero h1.h1-2l { max-width: none; text-wrap: nowrap; white-space: nowrap; font-size: clamp(30px, 3.7vw, 60px); line-height: 1.04; }
@media (max-width: 860px) { .hero h1.h1-2l { font-size: clamp(26px, 8.4vw, 56px); } }

/* Galleriramar: mjukare hörn än resten av sidan (efter den globala --r-regeln) */
.gal-frame { border-radius: 8px; }
.gal-frame img, .gal-frame video { border-radius: 4px; }

/* "Hantverket i bild": slutläget i scrolleffekten 74 px högre (startläget oförändrat) */
.gal-title, .gal.is-moved .gal-title { top: calc(50% - var(--t, 0) * ((var(--gh) + 36px) / 2 + 20px) - var(--t, 0) * 74px); }

/* Följ oss på Instagram */
#instagram { position: relative; overflow: hidden; isolation: isolate; }
#instagram .wrap { position: relative; z-index: 1; }
/* Bakgrund: prickraster som tonar ut + två mjuka ljusfläckar som långsamt driver */
#instagram::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(26,26,26,0.16) 1px, transparent 1.4px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 55%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 70% 80% at 50% 55%, #000 10%, transparent 75%); }
#instagram::after { content: ''; position: absolute; z-index: -1; width: 520px; height: 520px; left: -140px; top: -180px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,0.95), rgba(255,255,255,0)); animation: ig-drift 16s ease-in-out infinite alternate; }
@keyframes ig-drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(calc(100vw - 300px), 120px, 0); } }
.ig-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ig-card { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; gap: 22px; min-height: 150px; padding: 32px 34px; background: rgba(255,255,255,0.9); border: 1px solid rgba(26,26,26,0.1); border-radius: 8px; box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, 0 14px 34px rgba(0,0,0,0.06); color: #1A1A1A; text-decoration: none; transition: opacity 0.9s var(--ease), color 0.45s ease, transform 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.45s ease; }
/* Svart yta som fylls upp underifrån vid hover */
.ig-card::before { content: ''; position: absolute; inset: 0; z-index: -2; background: #1A1A1A; transform: translateY(101%); transition: transform 0.6s var(--ease); }
/* Stor kamerasymbol i bakgrunden */
.ig-card::after { content: ''; position: absolute; z-index: -1; right: -34px; bottom: -48px; width: 190px; height: 190px; border: 2px solid rgba(26,26,26,0.07); border-radius: 56px; transform: rotate(-12deg); transition: transform 0.8s var(--ease), border-color 0.45s ease; }
.ig-grid .ig-card:hover, .ig-grid .ig-card:focus-visible { color: #fff; transform: translateY(-5px); border-color: #1A1A1A; box-shadow: 0 24px 50px rgba(0,0,0,0.2); }
.ig-card:hover::before, .ig-card:focus-visible::before { transform: none; }
.ig-card:hover::after, .ig-card:focus-visible::after { transform: rotate(0deg) scale(1.12); border-color: rgba(255,255,255,0.14); }
.ig-card:focus-visible { outline: 2px solid #1A1A1A; outline-offset: 4px; }
.ig-ico { position: relative; flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #1A1A1A; color: #fff; transition: background-color 0.45s ease, color 0.45s ease, transform 0.6s var(--ease); }
/* Ring som snurrar runt ikonen vid hover */
.ig-ico::before { content: ''; position: absolute; inset: -6px; border-radius: 50%; background: conic-gradient(from 0deg, rgba(255,255,255,0), #fff 40%, rgba(255,255,255,0) 75%); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px)); opacity: 0; transition: opacity 0.4s ease; }
.ig-card:hover .ig-ico, .ig-card:focus-visible .ig-ico { background: #fff; color: #1A1A1A; transform: scale(1.06); }
.ig-card:hover .ig-ico::before, .ig-card:focus-visible .ig-ico::before { opacity: 1; animation: ig-spin 2.4s linear infinite; }
@keyframes ig-spin { to { transform: rotate(360deg); } }
.ig-txt { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ig-txt .eyebrow { color: var(--muted); transition: color 0.45s ease; }
.ig-txt strong { font-size: clamp(18px, 2.1vw, 25px); font-weight: 700; letter-spacing: 0.01em; overflow-wrap: anywhere; }
.ig-card:hover .ig-txt .eyebrow, .ig-card:focus-visible .ig-txt .eyebrow { color: rgba(255,255,255,0.7); }
.ig-go { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border: 1px solid currentColor; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease; }
.ig-card:hover .ig-go, .ig-card:focus-visible .ig-go { background: #fff; color: #1A1A1A; border-color: #fff; }
.ig-card:hover .arr { transform: translateX(5px); }
@media (max-width: 860px) { .ig-grid { grid-template-columns: 1fr; } .ig-card { min-height: 0; padding: 22px 20px; gap: 16px; } .ig-ico { width: 54px; height: 54px; } .ig-go { padding: 10px 14px; } }
@media (max-width: 420px) { .ig-go { display: none; } }
@media (prefers-reduced-motion: reduce) { #instagram::after, .ig-card:hover .ig-ico::before { animation: none; } .ig-card, .ig-card::before, .ig-card::after { transition: none; } }

/* Instagram-sektionen: effekt när man scrollar fram till den */
#instagram::before { opacity: 0; transform: scale(1.08); transition: opacity 1.6s ease, transform 2.2s var(--ease); }
#instagram:has(.ig-card.in)::before { opacity: 1; transform: none; }
.js-motion #instagram .ig-card.in:nth-child(1) { animation: ig-in-l 1.1s var(--ease) backwards; }
.js-motion #instagram .ig-card.in:nth-child(2) { animation: ig-in-r 1.1s var(--ease) 0.14s backwards; }
@keyframes ig-in-l { from { opacity: 0; transform: translateX(-90px) rotate(-1.5deg); } }
@keyframes ig-in-r { from { opacity: 0; transform: translateX(90px) rotate(1.5deg); } }
/* Ikonerna "ploppar" in och sänder ut en ring en gång */
.js-motion #instagram .ig-card.in .ig-ico { animation: ig-pop 0.9s var(--ease) 0.5s backwards; }
.js-motion #instagram .ig-card.in .ig-ico::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1A1A1A; opacity: 0; animation: ig-ping 1.4s ease-out 0.9s backwards; pointer-events: none; }
@keyframes ig-pop { from { transform: scale(0.3) rotate(-90deg); opacity: 0; } }
@keyframes ig-ping { 0% { transform: scale(1); opacity: 0.55; } 100% { transform: scale(1.9); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { #instagram::before { opacity: 1; transform: none; transition: none; } .js-motion #instagram .ig-card, .js-motion #instagram .ig-ico, .js-motion #instagram .ig-ico::after { animation: none !important; } }
