/* Salon Limfjorden — draft site. Tokens first, components use tokens only. */
:root {
  --bg: #F7F3EE;
  --surface: #FFFFFF;
  --fg: #1F2421;
  --muted: #545C56;
  --accent: #50645A;
  --accent-hover: #3F5148;
  --accent-soft: #E6ECE7;
  --deep: #26322C;
  --deep-fg: #F2EFE9;
  --line: #E2DCD2;
  --warn: #8A5A12;
  --ok: #2F6B45;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgb(31 36 33 / .06), 0 8px 24px -12px rgb(31 36 33 / .18);
  --f-display: "Fraunces", Georgia, serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--f-body); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
h1, h2, h3 { font-family: var(--f-display); font-weight: 500; line-height: 1.12; margin: 0 0 var(--s4); letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 1.5rem + 3.6vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.8rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 var(--s4); max-width: 65ch; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--fg); color: #fff; padding: var(--s2) var(--s4); border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.eyebrow { font-family: var(--f-body); font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 var(--s3); }
.lead { font-size: 1.15rem; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* Draft bar */
.udkast { background: var(--deep); color: var(--deep-fg); font-size: .86rem; padding: 8px 16px; display: flex; gap: 8px 16px; align-items: center; justify-content: center; flex-wrap: wrap; text-align: center; }
.udkast a { color: #fff; font-weight: 700; background: rgb(255 255 255 / .14); padding: 6px 12px; border-radius: 999px; text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.udkast a:hover { background: rgb(255 255 255 / .24); color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font: 600 1rem/1.2 var(--f-body); text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-light { background: #fff; color: var(--deep); }
.btn-light:hover { background: var(--accent-soft); color: var(--deep); }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Header */
.top { position: sticky; top: 0; z-index: 40; background: rgb(247 243 238 / .92); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s ease-out; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 72px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 46px; width: auto; }
.nav { display: none; gap: var(--s5); }
.nav a { color: var(--fg); text-decoration: none; font-weight: 500; padding: 10px 2px; }
.nav a:hover { color: var(--accent); }
.top-actions { display: flex; align-items: center; gap: var(--s3); }
.top-actions .btn { min-height: 44px; padding: 10px 18px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.status .dot { width: 9px; height: 9px; border-radius: 50%; background: #9AA19C; flex: none; }
.status.open .dot { background: #2E9E5B; box-shadow: 0 0 0 4px rgb(46 158 91 / .18); }
.status.open { color: var(--ok); }
.top .status { display: none; }
@media (min-width: 960px) { .nav { display: flex; } .top .status { display: inline-flex; } }

/* Hero */
.hero { padding: clamp(32px, 6vw, 72px) 0 clamp(48px, 7vw, 96px); }
.hero .wrap { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.1fr .9fr; } }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero .lead { margin-bottom: var(--s5); }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--s3); margin-bottom: var(--s5); }
.today { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; padding: var(--s3) var(--s4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); max-width: 520px; font-size: .95rem; }
.today strong { font-weight: 700; }
.duo { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.duo figure { margin: 0; background: var(--surface); border-radius: var(--radius); padding: 8px 8px 12px; box-shadow: var(--shadow); }
.duo figure:nth-child(2) { transform: translateY(32px); }
.duo img { border-radius: 10px; aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.duo figcaption { font-family: var(--f-display); font-size: 1.15rem; padding: 10px 6px 0; }
.duo figcaption span { display: block; font-family: var(--f-body); font-size: .85rem; color: var(--muted); }
.motto { margin-top: 56px; font-family: var(--f-display); font-style: italic; font-size: 1.2rem; color: var(--accent); text-align: center; }

/* Sections */
section { scroll-margin-top: 84px; }
.sec { padding: clamp(56px, 8vw, 112px) 0; }
.sec-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.alt { background: var(--surface); }
.dark { background: var(--deep); color: var(--deep-fg); }
.dark .eyebrow { color: #B9CBBF; }
.dark .muted, .dark .lead { color: #C9D0CB; }

/* Services */
.grid { display: grid; gap: var(--s4); }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5); }
.alt .card { background: var(--bg); }
.card h3 { margin-bottom: var(--s2); }
.card p:last-child { margin-bottom: 0; }
.ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: var(--s4); }
.ico svg { width: 22px; height: 22px; }
.tag { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: var(--s3); }
.book-strip { margin-top: var(--s6); display: flex; flex-wrap: wrap; gap: var(--s4); align-items: center; justify-content: space-between; padding: var(--s5); border-radius: var(--radius); background: var(--accent-soft); }
.book-strip p { margin: 0; font-weight: 600; }

/* Offers */
.offers { display: grid; gap: var(--s4); }
@media (min-width: 900px) { .offers { grid-template-columns: repeat(3, 1fr); } }
.offer { border-radius: var(--radius); padding: var(--s5); background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .14); }
.offer .big { font-family: var(--f-display); font-size: 2.6rem; line-height: 1; margin: 0 0 var(--s3); color: #fff; }
.offer h3 { color: #fff; font-size: 1.2rem; }
.offer p { color: #D5DBD7; margin: 0; }

/* Team */
.team { display: grid; gap: var(--s6); }
@media (min-width: 860px) { .team { grid-template-columns: 1fr 1fr; } }
.person { display: grid; gap: var(--s5); align-content: start; }
@media (min-width: 560px) { .person { grid-template-columns: 180px 1fr; } }
.person img { border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; width: 100%; max-width: 260px; }
.person .role { color: var(--accent); font-weight: 600; margin-bottom: var(--s3); }

/* News */
.news { display: grid; gap: var(--s4); }
@media (min-width: 760px) { .news { grid-template-columns: repeat(3, 1fr); } }
.news .card { display: flex; flex-direction: column; }
.news .card img { border-radius: 10px; aspect-ratio: 4/3; object-fit: cover; width: 100%; margin-bottom: var(--s4); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s3); margin-top: var(--s6); }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery figure { margin: 0; }
.gallery img { border-radius: 12px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.gallery figcaption { font-size: .88rem; color: var(--muted); padding-top: 6px; }
.fb-line { margin-top: var(--s5); display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }

/* Hours + find */
.visit { display: grid; gap: var(--s5); }
@media (min-width: 900px) { .visit { grid-template-columns: 1fr 1fr; } }
.hours { width: 100%; border-collapse: collapse; font-size: 1.02rem; }
.hours th, .hours td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); font-weight: 500; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--accent); font-weight: 700; }
.hours tr.is-today th::after { content: " · i dag"; font-weight: 500; font-size: .85rem; }
.facts { list-style: none; padding: 0; margin: 0 0 var(--s5); display: grid; gap: var(--s3); }
.facts li { display: flex; gap: var(--s3); align-items: flex-start; }
.facts svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 3px; }
.note { font-size: .92rem; color: var(--muted); border-left: 3px solid var(--line); padding-left: var(--s4); }

/* Final CTA + footer */
.final { text-align: center; }
.final p { margin-left: auto; margin-right: auto; }
.final .cta-row { justify-content: center; }
footer { background: var(--deep); color: var(--deep-fg); padding: var(--s7) 0 calc(var(--s7) + 72px); font-size: .95rem; }
footer .wrap { display: grid; gap: var(--s5); }
@media (min-width: 800px) { footer .wrap { grid-template-columns: 1.2fr 1fr 1fr; } footer { padding-bottom: var(--s7); } }
footer a { color: #fff; }
footer h3 { font-size: 1.1rem; color: #fff; }
footer p { margin-bottom: var(--s2); }
.foot-logo { background: #fff; border-radius: 12px; padding: 10px 14px; display: inline-block; margin-bottom: var(--s4); }
.foot-logo img { height: 40px; width: auto; }

/* Mobile action bar */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgb(247 243 238 / .96); border-top: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.mbar .btn { min-height: 48px; padding: 10px; }
@media (min-width: 800px) { .mbar { display: none; } }

/* Floating "see in Google" pill (draft chrome) */
.gpill { position: fixed; right: 16px; bottom: 88px; z-index: 44; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--fg); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 999px; padding: 10px 16px 10px 12px; font-weight: 600; text-decoration: none; min-height: 44px; }
.gpill:hover { color: var(--accent); }
.gpill svg { width: 20px; height: 20px; color: var(--accent); }
@media (min-width: 800px) { .gpill { bottom: 24px; right: 24px; } }

/* 404 */
.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: var(--s8) 0; }

/* QA round 1 fixes */
.news .card .tag { align-self: flex-start; }
.hours th { white-space: nowrap; }
@media (max-width: 639px) {
  #ydelser .card { display: grid; grid-template-columns: 44px 1fr; column-gap: var(--s4); padding: var(--s4); }
  #ydelser .card .ico { grid-row: span 2; margin-bottom: 0; }
  #ydelser .card h3 { align-self: center; margin-bottom: 4px; }
  .hours td { font-size: .95rem; }
  .duo figure:nth-child(2) { transform: translateY(20px); }
}
