/* Saga Hårstudio — demo site. Fonts are self-hosted (SIL Open Font License). */
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --cream: #f7f2ec;
  --sand: #efe5da;
  --ink: #2a2320;
  --ink-soft: #5e534d;
  --accent: #9a5135;
  --accent-dark: #7f4129;
  --accent-light: #e5aa8c;
  --line: #e2d6c8;
  --white: #fffdfa;
  --star: #b7802a;
  --good: #3f7d4f;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 18px 50px rgba(42, 35, 32, .12);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--cream); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 560; line-height: 1.12; margin: 0 0 16px; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.3rem); }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--accent); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 16px; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.muted { color: var(--ink-soft); }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 36em; }
.center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px;
  background: var(--accent); color: var(--white); border: 2px solid var(--accent);
  font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(154, 81, 53, .28); }
.btn:disabled { opacity: .6; cursor: default; transform: none; box-shadow: none; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-small { padding: 9px 18px; font-size: .92rem; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); box-shadow: none; }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-light:hover { background: var(--sand); border-color: var(--sand); box-shadow: none; }
.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255, 253, 250, .55); }
.btn-ghost-light:hover { background: rgba(255, 253, 250, .1); border-color: var(--white); box-shadow: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; text-decoration: none; }
.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(247, 242, 236, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(42, 35, 32, .06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; text-decoration: none; letter-spacing: -.01em; }
.logo span { font-weight: 400; font-style: italic; color: var(--accent); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { position: relative; text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink-soft); padding: 6px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu-toggle { display: none; }

/* Open-now status */
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 500; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ink-soft); flex: none; }
.status.is-open::before { background: var(--good); box-shadow: 0 0 0 4px rgba(63, 125, 79, .18); }
.status.is-closed::before { background: #b5493b; }

/* Hero */
.hero { padding: 64px 0 72px; }
.hero-inner { display: grid; grid-template-columns: 1fr 1.08fr; gap: 64px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 28px; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; color: var(--ink-soft); font-size: .95rem; }
.rating { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.rating strong { color: var(--ink); }
.stars { color: var(--star); letter-spacing: 2px; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.float-card { position: absolute; background: var(--white); border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow); font-size: .9rem; line-height: 1.35; }
.float-card strong { display: block; font-family: var(--serif); font-size: 1.5rem; font-weight: 560; }
.float-rating { left: -28px; bottom: 36px; max-width: 270px; }
.float-rating strong { font-size: 1.2rem; font-style: italic; margin: 4px 0 2px; }
.float-status { right: 20px; top: 20px; padding: 10px 16px; }

/* Highlights */
.highlights { border-block: 1px solid var(--line); background: var(--white); }
.highlights-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.highlights-grid div { padding: 26px 28px; display: flex; flex-direction: column; }
.highlights-grid div + div { border-left: 1px solid var(--line); }
.highlights-grid strong { font-weight: 600; }
.highlights-grid span { color: var(--ink-soft); font-size: .93rem; }

/* Sections */
.section { padding: 104px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head h2 { margin-bottom: 0; max-width: 16em; }
.section-tinted { background: var(--sand); }
.section-dark { background: var(--ink); color: var(--white); }
.section-dark .eyebrow { color: var(--accent-light); }
.section-dark p { color: rgba(255, 253, 250, .78); }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-img { overflow: hidden; }
.card-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--ink-soft); font-size: .97rem; }
.card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 8px; }
.price-from { font-weight: 600; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .7s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(255, 253, 250, .92); color: var(--ink); padding: 6px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; box-shadow: 0 2px 10px rgba(42, 35, 32, .22); }

/* About */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: center; }
.about-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 32px 0; padding: 24px 0; border-block: 1px solid var(--line); }
.stats strong { display: block; font-family: var(--serif); font-size: 1.9rem; font-weight: 560; line-height: 1.1; }
.stats span { color: var(--ink-soft); font-size: .9rem; }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.person { background: var(--white); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.person > div { display: flex; flex-direction: column; }
.person strong { font-weight: 600; }
.person span:last-child { color: var(--ink-soft); font-size: .88rem; line-height: 1.4; }
.avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(160deg, #d7b49e, var(--accent)); color: var(--white); font-family: var(--serif); font-size: 1.25rem; }

/* Reviews */
.review-summary { display: flex; align-items: center; gap: 14px; }
.review-summary .big { font-family: var(--serif); font-size: 3rem; font-weight: 560; line-height: 1; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; }
.review blockquote { margin: 14px 0 20px; font-family: var(--serif); font-size: 1.18rem; line-height: 1.45; }
.review figcaption { margin-top: auto; font-size: .88rem; color: var(--ink-soft); }
.review figcaption strong { color: var(--ink); font-weight: 600; }
.review-cta { margin-top: 40px; padding: 34px 40px; border-radius: var(--radius-lg); background: var(--accent); color: var(--white); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.review-cta h3 { margin-bottom: 6px; }
.review-cta p { margin: 0; opacity: .92; }

/* Booking + signup */
.book-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.signup { background: rgba(255, 253, 250, .06); border: 1px solid rgba(255, 253, 250, .14); border-radius: var(--radius-lg); padding: 34px; }
.signup-row { display: flex; gap: 10px; margin: 20px 0 14px; }
.signup-row input { flex: 1; min-width: 0; }
input, textarea { font: inherit; font-size: 1rem; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); color: var(--ink); width: 100%; }
input:focus, textarea:focus { outline: 3px solid var(--accent-light); outline-offset: 1px; border-color: var(--accent); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: rgba(255, 253, 250, .78); }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.form-done { margin: 14px 0 0; font-weight: 600; color: var(--accent); }
.section-dark .form-done { color: var(--accent-light); }

/* Find us */
.find-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.address { font-size: 1.2rem; font-weight: 500; }
.hours { border-collapse: collapse; width: 100%; max-width: 380px; margin: 8px 0 24px; }
.hours th, .hours td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours td { text-align: right; font-weight: 600; }
.hours tr.today { background: var(--white); }
.hours tr.today th { font-weight: 600; }
.hours tr.today th::after { content: " · idag"; color: var(--accent); font-weight: 600; }
.map { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background:
  linear-gradient(var(--sand) 2px, transparent 2px) 0 0 / 44px 44px,
  linear-gradient(90deg, var(--sand) 2px, transparent 2px) 0 0 / 44px 44px, #f3ebe1; border: 1px solid var(--line); }
.map-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 24px; }
.map-pin { width: 44px; height: 44px; color: var(--accent); }
.map-placeholder p { margin: 0; font-size: .85rem; color: var(--ink-soft); max-width: 26em; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.contact-form { display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-weight: 500; font-size: .95rem; }
.contact-form .btn { justify-self: start; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 64px; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.contact-card h2 { font-size: 1.15rem; margin-bottom: 6px; }
.contact-card p { margin: 0 0 10px; color: var(--ink-soft); }

/* Page header (subpages) */
.page-head { padding: 56px 0 40px; }
.page-head .lead { margin-bottom: 0; }
.banner img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--radius-lg); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chips a { text-decoration: none; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: .92rem; font-weight: 500; transition: border-color .2s, color .2s; }
.chips a:hover { border-color: var(--accent); color: var(--accent); }

/* Price lists (services page) */
.service-block { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; padding: 56px 0; border-top: 1px solid var(--line); }
.service-block:first-of-type { border-top: 0; }
.service-block .side img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); margin-top: 8px; }
.price-list { list-style: none; margin: 0; padding: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 8px 28px; }
.price-list li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.price-list li:last-child { border-bottom: 0; }
.price-list .name { font-weight: 600; }
.price-list .price { font-weight: 600; white-space: nowrap; }
.price-list .desc { grid-column: 1 / -1; color: var(--ink-soft); font-size: .92rem; }

/* FAQ */
.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--accent); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-right: 40px; }

/* Prose (privacy policy) */
.prose { max-width: 720px; }
.prose h2 { font-size: 1.6rem; margin-top: 44px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 253, 250, .75); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .logo { color: var(--white); }
.site-footer .logo span { color: var(--accent-light); }
.site-footer h3 { font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: 14px; }
.site-footer p, .site-footer li { font-size: .93rem; margin: 0 0 8px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.demo-note { text-align: center; font-size: .8rem; margin: 48px 0 0 !important; padding-top: 24px; border-top: 1px solid rgba(255, 253, 250, .12); opacity: .7; }

.mobile-bar { display: none; }

/* Scroll reveal (only when JS runs and motion is allowed) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .reveal-delay-1 { transition-delay: .08s; }
  .js .reveal-delay-2 { transition-delay: .16s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Tablet */
@media (max-width: 960px) {
  .hero-inner, .about-grid, .book-grid, .find-grid, .contact-grid, .service-block { grid-template-columns: 1fr; gap: 40px; }
  .float-rating { left: 16px; bottom: 16px; }
  .cards, .review-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 80px 0; }
  .about-media { max-width: 460px; }
  .service-block .side img { max-width: 420px; }
}

/* Phone */
@media (max-width: 720px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .header-inner { height: 64px; }
  .menu-toggle { display: grid; gap: 6px; background: none; border: 0; padding: 12px; margin-right: -12px; cursor: pointer; }
  .menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); transition: transform .3s var(--ease); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav { position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; display: none; box-shadow: 0 18px 30px rgba(42, 35, 32, .08); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 16px; justify-content: center; }
  .hero { padding: 24px 0 56px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .hero-inner { gap: 32px; }
  .hero-actions { margin: 24px 0 20px; }
  .float-rating { left: 12px; bottom: 12px; padding: 10px 14px; max-width: 220px; font-size: .8rem; }
  .float-rating strong { font-size: 1rem; }
  .highlights-grid { grid-template-columns: 1fr; }
  .highlights-grid div { padding: 18px 0; }
  .highlights-grid div + div { border-left: 0; border-top: 1px solid var(--line); }
  .cards, .review-grid, .contact-cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery figcaption { left: 8px; bottom: 8px; font-size: .78rem; padding: 4px 10px; }
  .team { grid-template-columns: 1fr; }
  .person { flex-direction: row; align-items: center; }
  .person > div { display: flex; flex-direction: column; }
  .stats strong { font-size: 1.5rem; }
  .signup { padding: 26px; }
  .signup-row { flex-direction: column; }
  .review-cta { padding: 28px; }
  .price-list { padding: 4px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 68px 0; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 253, 250, .96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-top: 1px solid var(--line); }
  .mobile-bar a { text-align: center; padding: 13px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid var(--ink); }
  .mobile-bar a.primary { background: var(--accent); border-color: var(--accent); color: var(--white); }
}
