/* =================================================================
   Fönsterplatsen i syd — warm, down-to-earth, family-owned
   Reference language: ysb.se — sand palette, serif w/ italic emphasis,
   pill buttons, wide-tracked micro-labels, soft rounded cards.
   ================================================================= */

:root {
  /* ---- earth palette ---- */
  --cream:   #FBF7F0;   /* page */
  --sand:    #F3EBDD;   /* alternating panels */
  --clay:    #E7DAC5;   /* card fills, soft borders */
  --clay-2:  #D9C8AC;   /* stronger border */
  --bark:    #4A3B2A;   /* primary dark brown — buttons, display */
  --bark-2:  #3A2E20;   /* hover */
  --ink:     #33291E;   /* headings */
  --body:    #574A3B;   /* body copy */
  --mute:    #756653;   /* secondary / captions — 5.2:1 on cream, 4.7:1 on sand (WCAG AA) */
  --sage:    #6E7A56;   /* garden green accent */
  --terra:   #B0603C;   /* terracotta accent — large text & graphics only */
  --terra-ink: #99502F;  /* terracotta for small text — 5.5:1 on cream */

  --white:   #FFFFFF;   /* behind supplier cut-out images */

  --line:      #E0D2BB;
  --line-soft: #EDE3D2;

  --font-display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, sans-serif;

  --wrap: 1200px;
  --wrap-narrow: 720px;
  --pad: clamp(20px, 4vw, 40px);
  --sec: clamp(56px, 8vw, 120px);

  --r-sm: 8px;
  --r:    16px;
  --r-lg: 24px;
  --pill: 999px;

  --utility-h: 40px;   /* contact bar height (sticky, desktop/tablet) */
  --header-h:  74px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--utility-h) + var(--header-h) + 16px); }
@media (max-width: 720px)  { html { scroll-padding-top: 84px; } }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--cream);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.wrap-narrow { max-width: var(--wrap-narrow); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--sec); }
.bg-sand { background: var(--sand); }
.bg-clay { background: var(--clay); }
.bg-bark { background: var(--bark); color: var(--sand); }

/* ================================================== TICKER BAR */
.ticker {
  background: var(--sand);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 9px 0;
}
.ticker-track {
  display: flex;
  gap: 56px;
  width: max-content;
  padding-right: 56px; /* = gap, so half the track is exactly two copies */
  animation: ticker 84s linear infinite;
  white-space: nowrap;
}
.ticker span {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--mute);
  letter-spacing: 0.02em;
}
.ticker em {
  font-style: italic;
  color: var(--terra-ink);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ================================================== HEADER */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 240, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}
.logo {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
  line-height: 1.05;
  flex-shrink: 0;
}
.logo em {
  display: block;
  font-style: italic;
  font-size: 15px;
  color: var(--terra);
  font-variation-settings: "opsz" 144, "SOFT" 100;
  letter-spacing: 0.06em;
  margin-top: 1px;
}

.nav-menu {
  display: flex; align-items: center;
  list-style: none; margin: 0; padding: 0;
  gap: 6px;
}
.nav-menu a {
  display: inline-block;
  padding: 9px 15px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--body);
  text-decoration: none;
  border-radius: var(--pill);
  transition: background 180ms ease, color 180ms ease;
  white-space: nowrap;
}
.nav-menu a:hover { background: var(--clay); color: var(--ink); }
.nav-menu li.cta a {
  background: var(--bark);
  color: var(--cream);
  padding: 13px 24px;
  margin-left: 10px;
}
.nav-menu li.cta a:hover { background: var(--terra-ink); color: #fff; }

.nav-toggle {
  display: none; background: transparent; border: 0;
  cursor: pointer; color: var(--ink); padding: 10px 4px;
}
@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu { display: none; }
  .nav-menu.is-open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 10px var(--pad) 22px;
    gap: 0;
    max-height: 78vh; overflow-y: auto;
  }
  .nav-menu.is-open a {
    padding: 14px 6px; font-size: 12px; border-radius: 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav-menu.is-open li.cta a {
    margin: 14px 0 0; border-radius: var(--pill);
    text-align: center; border-bottom: 0;
  }
}

/* ================================================== TYPE */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 400;
  margin: 0;
  line-height: 1.12;
  font-variation-settings: "opsz" 144, "SOFT" 40;
}
/* the ysb move: bold-italic emphasis inside a serif headline */
h1 em, h2 em, h3 em, .em {
  font-style: italic;
  font-weight: 600;
  color: var(--terra);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }
h4 { font-size: 1.1rem; font-weight: 500; }

.label {
  display: block;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 18px;
}
.label.center { text-align: center; }

.lead {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.45;
  font-weight: 300;
  color: var(--body);
  font-variation-settings: "opsz" 144, "SOFT" 60;
}
.lead.center { text-align: center; margin-inline: auto; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
.muted { color: var(--mute); }
.small { font-size: 0.9rem; }
.center { text-align: center; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(40px, 5vw, 64px); }
.section-head .lead { margin-top: 14px; }

/* ================================================== BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  text-align: center;
  padding: 15px 30px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--bark);
  border: 1px solid var(--bark);
  border-radius: var(--pill);
  text-decoration: none;
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.btn:hover { background: var(--terra-ink); border-color: var(--terra-ink); }
.btn.ghost { background: transparent; color: var(--bark); border-color: var(--clay-2); }
.btn.ghost:hover { background: var(--bark); color: var(--cream); border-color: var(--bark); }
.btn.on-dark { background: var(--sand); color: var(--bark); border-color: var(--sand); }
.btn.on-dark:hover { background: #fff; border-color: #fff; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.19em; text-transform: uppercase;
  color: var(--bark); text-decoration: none;
  transition: gap 200ms ease, color 180ms ease;
}
.text-link::after { content: "→"; transition: transform 200ms ease; }
.text-link:hover { color: var(--terra-ink); gap: 12px; }

/* ================================================== HERO */
.hero { background: var(--sand); border-bottom: 1px solid var(--line); }
.hero-grid {
  display: grid; grid-template-columns: 1fr; gap: 40px;
  align-items: center;
  padding-block: clamp(44px, 6vw, 84px);
}
@media (min-width: 940px) {
  .hero-grid { grid-template-columns: 1fr 1.15fr; gap: 56px; }
}
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 30px; max-width: 30ch; }
.hero-art { display: flex; align-items: center; justify-content: center; }
.hero-art svg { width: 100%; max-width: 620px; }
.hero-art img {
  width: 100%;
  max-width: 660px;
  border-radius: var(--r);
  /* the illustration is drawn on warm paper — a hairline keeps it from
     floating on the sand background without boxing it in */
  border: 1px solid var(--line);
  mix-blend-mode: multiply;
}

.check-list { list-style: none; padding: 0; margin: 0 0 34px; display: grid; gap: 13px; }
.check-list li {
  display: grid; grid-template-columns: 26px 1fr; gap: 10px;
  align-items: start; font-size: 1rem; color: var(--body);
}
.check-list li svg { width: 17px; height: 17px; color: var(--sage); margin-top: 5px; }

/* ================================================== SORTIMENT CARDS */
.card-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 600px)  { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid.five { grid-template-columns: repeat(5, 1fr); gap: 14px; } }
@media (min-width: 1000px) { .card-grid.three { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px 20px 26px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--clay-2);
  box-shadow: 0 14px 30px -22px rgba(74, 59, 42, 0.5);
}
.card .icon { color: var(--bark); }
.card .icon svg { width: 76px; height: 62px; }
.card h3 { font-size: 1.12rem; font-weight: 500; margin-top: 2px; }
.card p { font-size: 0.87rem; color: var(--mute); line-height: 1.45; margin: 0; }
.card .text-link { margin-top: auto; padding-top: 10px; font-size: 9.5px; }

/* ================================================== EDITORIAL / MANIFESTO */
.editorial { max-width: var(--wrap-narrow); margin-inline: auto; }
.editorial > h2 { text-align: center; }
.editorial .lead { text-align: center; margin: 16px auto 44px; max-width: 34ch; }
.editorial h3 {
  margin: 40px 0 14px;
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--ink);
}
.editorial p { font-size: 1.04rem; line-height: 1.72; }
.editorial p.lead { font-size: clamp(1.15rem, 1.7vw, 1.45rem); line-height: 1.45; max-width: 40ch; }

.dash-list { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 14px; }
.dash-list li {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px;
  align-items: start; line-height: 1.6; font-size: 1.01rem;
}
.dash-list li::before {
  content: ""; display: block; width: 14px; height: 2px;
  background: var(--sage); border-radius: 2px; margin-top: 13px;
}

.pullquote {
  margin: 48px auto 0;
  padding: 30px 32px;
  max-width: 560px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.45;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

/* ================================================== REFERENSER */
.ref-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 800px) { .ref-grid { grid-template-columns: repeat(4, 1fr); } }
.ref-item {
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--clay);
}
.ref-item:first-child { grid-column: span 2; aspect-ratio: 8/3; }
@media (max-width: 799px) { .ref-item:first-child { grid-column: span 2; aspect-ratio: 16/9; } }
.ref-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms ease; }
.ref-item:hover img { transform: scale(1.04); }

/* ================================================== BEFORE / AFTER */
.ba-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 960px) { .ba-grid { grid-template-columns: 1fr 1fr; gap: 26px; } }

.ba-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.bg-sand .ba-card { background: var(--cream); }

.ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
}
.ba-shot { position: relative; background: var(--stone, #f2efe9); }
.ba-shot { background: var(--sand); }
.ba-shot img {
  width: 100%;
  aspect-ratio: 3 / 4;
  /* each card's frame matches its photos (3:4, or 4:3 on .wide), so cover only trims a few % */
  object-fit: cover;
  background: var(--sand);
  display: block;
}
.ba-tag {
  position: absolute; top: 10px; left: 10px;
  font-family: var(--font-body);
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 5px 11px; border-radius: var(--pill);
  background: rgba(251, 247, 240, 0.92);
  color: var(--mute);
  backdrop-filter: blur(4px);
}
.ba-tag.after { background: var(--bark); color: var(--sand); }

.ba-caption {
  padding: 20px 22px 24px;
  font-size: 0.97rem;
  line-height: 1.55;
  color: var(--body);
  border-top: 1px solid var(--line-soft);
}
.ba-caption .ba-num {
  display: block;
  font-family: var(--font-body);
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--mute); margin-bottom: 8px;
}

/* ================================================== PROCESS */
.process { display: grid; gap: 28px 18px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px)  { .process { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .process { grid-template-columns: repeat(6, 1fr); gap: 14px; } }
.process-step {
  text-align: center; position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 9px;
}
.process-step .icon {
  width: 74px; height: 74px; border-radius: var(--pill);
  background: var(--cream); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--bark);
}
.bg-sand .process-step .icon { background: var(--cream); }
.process-step .icon svg { width: 34px; height: 34px; }
.process-step .num {
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--mute);
}
.process-step h3 { font-size: 1rem; font-weight: 500; }
@media (min-width: 1080px) {
  .process-step:not(:last-child)::after {
    content: ""; position: absolute; top: 37px; right: -11px;
    width: 22px; height: 1px; background: var(--clay-2);
  }
}

/* ================================================== FAQ */
.faq { max-width: var(--wrap-narrow); margin-inline: auto; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 22px 40px 22px 0;
  position: relative;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  transition: color 180ms ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-body); font-size: 22px; font-weight: 400;
  color: var(--terra); transition: transform 240ms ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { color: var(--terra-ink); }
.faq .answer { padding: 0 48px 24px 0; color: var(--body); }

/* ================================================== BRANDS */
.brand-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 16px 26px;
}
.brand-chip {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px 30px;
  min-width: 168px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  line-height: 1.15;
  transition: border-color 200ms ease, transform 200ms ease;
}
.brand-chip:hover { border-color: var(--clay-2); transform: translateY(-2px); }
.brand-chip.script {
  font-style: italic; font-weight: 500; letter-spacing: 0.01em;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.brand-chip small {
  display: block;
  font-family: var(--font-body);
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--mute); margin-top: 6px;
}

/* ================================================== CONTACT */
.contact-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 920px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 60px; } }

/* single-column contact — form only, no duplicate phone CTA */
.contact-single {
  max-width: 640px;
  margin-inline: auto;
  background: var(--sand);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 46px);
}
.contact-single .field { background: var(--cream); }

.field-label {
  display: block; font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--mute); margin-bottom: 7px;
}
.field {
  display: block; width: 100%;
  padding: 14px 16px;
  background: var(--cream);
  color: var(--ink);
  border: 1px solid #8C7C64;
  border-radius: var(--r-sm);
  font: inherit; font-size: 15.5px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.field:focus {
  outline: none; border-color: var(--bark);
  box-shadow: 0 0 0 3px rgba(74, 59, 42, 0.10);
}
textarea.field { resize: vertical; min-height: 120px; }
.form-row { display: grid; gap: 16px; margin-bottom: 16px; }
@media (min-width: 620px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.consent {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: 12.5px; color: var(--mute); line-height: 1.5;
  margin: 6px 0 22px;
}
.consent a { color: var(--terra-ink); }

.contact-card {
  background: var(--sand);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 44px);
}
.kv { display: grid; gap: 16px; margin-top: 24px; }
.kv-row { display: grid; grid-template-columns: 22px 1fr; gap: 13px; align-items: center; }
.kv-row svg { width: 17px; height: 17px; color: var(--terra); }
.kv-row a { text-decoration: none; color: var(--ink); }
.kv-row a:hover { color: var(--terra-ink); }

/* ================================================== FOOTER */
.site-footer { background: var(--bark); color: var(--clay); padding-block: clamp(48px, 6vw, 76px) 0; }
.site-footer h2 {
  font-family: var(--font-body);
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--sand); margin-bottom: 18px;
}
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 640px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 44px; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.2fr 0.9fr 1.1fr 1fr; gap: 44px; } }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { font-size: 0.95rem; }
.site-footer p { color: rgba(231, 218, 197, 0.82); font-size: 0.95rem; }
.site-footer a { color: rgba(231, 218, 197, 0.82); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .kv-row svg { color: var(--sand); opacity: 0.75; }
.site-footer .kv-row a, .site-footer .kv-row span { color: rgba(231, 218, 197, 0.9); font-size: 0.95rem; }
.site-footer .text-link { color: var(--sand); }
.site-footer .text-link:hover { color: #fff; }

.colophon {
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid rgba(231, 218, 197, 0.18);
  padding-block: 22px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(231, 218, 197, 0.78);
}
.colophon a { color: rgba(231, 218, 197, 0.78); }

/* ================================================== MAP */
.map-art { color: var(--sand); opacity: 0.85; flex-shrink: 0; width: 86px; height: auto; }

/* ================================================== PHONE CTA BAND */
.call-band {
  background: var(--bark);
  color: var(--sand);
  border-radius: var(--r-lg);
  padding: clamp(30px, 4vw, 48px);
  display: grid; gap: 24px;
  align-items: center;
  text-align: center;
}
@media (min-width: 860px) {
  .call-band { grid-template-columns: 1fr auto; text-align: left; gap: 40px; }
}
.call-band h2,
.call-band h3 { color: var(--sand); font-size: clamp(1.4rem, 2.4vw, 2rem); }
.call-band h2 em,
.call-band h3 em { color: #E9A17C; }
.call-band p { color: rgba(231,218,197,0.8); margin: 10px 0 0; max-width: 52ch; }
.call-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.call-number {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  color: var(--sand); text-decoration: none;
  white-space: nowrap;
}
.call-number svg { width: 22px; height: 22px; opacity: 0.75; }
.call-number:hover { color: #fff; }

/* hero secondary phone link */
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.phone-link {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--clay-2);
  padding-bottom: 3px;
  transition: color 180ms ease, border-color 180ms ease;
}
.phone-link svg { width: 17px; height: 17px; color: var(--terra); }
.phone-link:hover { color: var(--terra); border-color: var(--terra); }
.phone-link small {
  display: block; font-family: var(--font-body);
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--mute); margin-bottom: 1px;
}

/* ================================================== PRICE CARDS */
.price-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 760px)  { .price-grid { grid-template-columns: repeat(3, 1fr); } }

.price-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 26px 30px;
  display: flex; flex-direction: column; gap: 10px;
  position: relative;
}
.price-card.featured { border-color: var(--terra); border-width: 1.5px; }
.price-card .tag {
  position: absolute; top: -11px; left: 26px;
  background: var(--terra); color: #fff;
  font-size: 9px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; padding: 5px 12px; border-radius: var(--pill);
}
.price-card h3 { font-size: 1.2rem; font-weight: 500; }
.price-card .price {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.05rem);
  font-weight: 600; color: var(--ink);
  line-height: 1.1; letter-spacing: -0.015em;
}
.price-card .price small {
  display: block; font-family: var(--font-body);
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--mute); margin-top: 7px;
}
.price-card p { font-size: 0.92rem; color: var(--mute); margin: 0; }

.rot-note {
  margin-top: 26px;
  background: var(--sand);
  border-radius: var(--r);
  padding: 22px 26px;
  display: grid; gap: 14px; align-items: center;
}
@media (min-width: 780px) { .rot-note { grid-template-columns: auto 1fr; gap: 22px; } }
.rot-badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--sage); color: #fff;
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 600;
  padding: 12px 20px; border-radius: var(--pill); white-space: nowrap;
}
.rot-note p { margin: 0; font-size: 0.95rem; }

.price-disclaimer {
  margin-top: 20px; text-align: center;
  font-size: 0.86rem; color: var(--mute); font-style: italic;
}

/* ================================================== INCLUDED / VALUE STACK */
.phase { border-top: 1px solid var(--line); padding: 34px 0; }
.phase:last-child { border-bottom: 1px solid var(--line); }
.phase-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .phase-grid { grid-template-columns: 260px 1fr; gap: 40px; } }

.phase-head { display: flex; align-items: baseline; gap: 14px; }
.phase-num {
  font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 500; font-style: italic;
  color: var(--clay-2); line-height: 1;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.phase-head h3 { font-size: 1.3rem; font-weight: 500; }
.phase-head p { font-size: 0.88rem; color: var(--mute); margin: 5px 0 0; }

.incl-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 11px 26px; grid-template-columns: 1fr;
}
@media (min-width: 620px) { .incl-list { grid-template-columns: 1fr 1fr; } }
.incl-list li {
  display: grid; grid-template-columns: 20px 1fr; gap: 10px;
  align-items: start; font-size: 0.97rem; line-height: 1.5;
}
.incl-list li svg { width: 14px; height: 14px; color: var(--sage); margin-top: 6px; flex-shrink: 0; }

.value-close {
  margin-top: 40px; text-align: center;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 44px);
}
.bg-sand .value-close { background: var(--cream); }
.value-close.on-cream { background: var(--sand); border-color: transparent; }

/* ================================================== PAGE HEADER (subpages) */
.page-head {
  background: var(--sand);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(44px, 6vw, 84px);
  text-align: center;
}
.page-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-bottom: 18px; }
.page-head .lead { max-width: 46ch; margin-inline: auto; }
.crumb {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--mute);
  margin-bottom: 20px; display: block;
}
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--terra-ink); }

/* ================================================== SUPPORT / BIDRAG CARDS */
.support-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .support-grid { grid-template-columns: 1fr 1fr; } }

.support-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 30px;
  display: flex; flex-direction: column; gap: 12px;
}
.support-card .badge {
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 600;
  color: #fff; background: var(--sage);
  padding: 8px 18px; border-radius: var(--pill);
}
.support-card .badge.rot { background: var(--bark); }
.support-card h3 { font-size: 1.3rem; font-weight: 500; }
.support-card .amount {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  font-weight: 600; color: var(--ink); letter-spacing: -0.015em;
  line-height: 1.15;
}
.support-card p { font-size: 0.95rem; margin: 0; }
.support-card ul {
  list-style: none; margin: 6px 0 0; padding: 0;
  display: grid; gap: 8px;
}
.support-card ul li {
  display: grid; grid-template-columns: 18px 1fr; gap: 9px;
  font-size: 0.9rem; color: var(--mute); line-height: 1.45;
  align-items: start;
}
.support-card ul li::before {
  content: ""; width: 11px; height: 2px; border-radius: 2px;
  background: var(--clay-2); margin-top: 9px;
}

.stack-note {
  margin-top: 18px;
  background: var(--bark); color: var(--sand);
  border-radius: var(--r-lg);
  padding: clamp(26px, 3.5vw, 38px);
  text-align: center;
}
.stack-note h3 { color: var(--sand); font-size: clamp(1.3rem, 2.2vw, 1.8rem); margin-bottom: 12px; }
.stack-note h3 em { color: #E9A17C; }
.stack-note p { color: rgba(231,218,197,0.82); max-width: 60ch; margin: 0 auto; }

.fine-print {
  margin-top: 22px; text-align: center;
  font-size: 0.84rem; color: var(--mute); font-style: italic;
  max-width: 64ch; margin-inline: auto; line-height: 1.55;
}
.fine-print a { color: var(--terra-ink); }

/* ================================================== PRICE EXAMPLE (single) */
.example {
  max-width: 780px; margin-inline: auto;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.example-body { padding: clamp(28px, 4vw, 44px); }
.example-spec { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.example-spec li {
  display: flex; justify-content: space-between; gap: 20px;
  padding-bottom: 12px; border-bottom: 1px solid var(--line-soft);
  font-size: 1rem;
}
.example-spec li:last-child { border-bottom: 0; padding-bottom: 0; }
.example-spec .qty { color: var(--mute); white-space: nowrap; font-variant-numeric: tabular-nums; }
.example-total {
  background: var(--sand);
  padding: clamp(24px, 3.5vw, 34px);
  text-align: center;
}
.example-total .amount {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 600; color: var(--ink);
  letter-spacing: -0.02em; line-height: 1;
}
.example-total .amount-label {
  display: block; font-family: var(--font-body);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--mute); margin-top: 12px;
}

/* ================================================== PROSE (text pages) */
.prose { max-width: 720px; margin-inline: auto; }
.prose p { font-size: 1.04rem; line-height: 1.72; margin-bottom: 1.15em; }
.prose h2,
.prose h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  margin: 42px 0 14px;
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--ink);
}
.prose h4,
.prose h3.sub { margin: 30px 0 10px; font-size: 1.1rem; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.15em; }
.prose li { margin-bottom: 0.55em; line-height: 1.65; }
.prose a { color: var(--terra-ink); }

/* ================================================== PRODUCT GRID */
.product-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 620px)  { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px)  { .product-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1160px) { .product-grid { grid-template-columns: repeat(5, 1fr); } }

.product-item {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.product-item:hover {
  border-color: var(--clay-2);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -20px rgba(74, 59, 42, 0.45);
}
.product-thumb {
  aspect-ratio: 3 / 4;
  /* min-height:0 stops tall images (doors) from stretching the box past 3:4 */
  min-height: 0;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 22px 24px;
  background: var(--white);
}
.product-thumb img {
  width: 100%; height: 100%;
  max-width: none;
  object-fit: contain;
}
.product-label {
  display: block;
  padding: 12px 14px 16px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  text-align: center;
  line-height: 1.3;
  border-top: 1px solid var(--line-soft);
}

/* ================================================== TEASER STRIP */
.teaser-strip {
  background: var(--sand);
  border-radius: var(--r-lg);
  padding: clamp(30px, 4.5vw, 52px);
  text-align: center;
}
.teaser-strip h2 { margin-bottom: 16px; }
.teaser-strip p {
  max-width: 54ch; margin: 0 auto 26px;
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.1rem, 1.7vw, 1.35rem); line-height: 1.45;
  color: var(--body);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.value-close p {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.15rem, 1.9vw, 1.45rem); line-height: 1.45;
  color: var(--ink); max-width: 46ch; margin: 0 auto;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

/* ============================== EXPANDABLE PRODUCT CARDS (details/summary) */
details.product-item { cursor: pointer; }
details.product-item > summary {
  list-style: none;
  display: flex; flex-direction: column;
}
details.product-item > summary::-webkit-details-marker { display: none; }

.product-more {
  display: block;
  font-family: var(--font-body);
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--terra-ink);
  margin-top: 7px;
  transition: color 180ms ease;
}
.product-more::after { content: " +"; }
details.product-item[open] .product-more::after { content: " –"; }
details.product-item:hover .product-more { color: var(--bark); }

.product-desc {
  padding: 0 16px 18px;
  border-top: 1px solid var(--line-soft);
  margin-top: -1px;
}
.product-desc p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--body);
  margin: 14px 0 0;
}
/* an opened card spans the full row so the grid doesn't jump (phones too) */
details.product-item[open] { grid-column: 1 / -1; }
details.product-item[open] > summary { flex-direction: row; align-items: center; gap: 20px; }
details.product-item[open] .product-thumb { flex: 0 0 200px; aspect-ratio: 3/4; }
details.product-item[open] .product-label { border-top: 0; text-align: left; padding-left: 0; }
details.product-item[open] .product-desc { border-top: 1px solid var(--line-soft); padding: 0 22px 22px; }
@media (max-width: 619px) {
  details.product-item[open] > summary { gap: 14px; }
  details.product-item[open] .product-thumb { flex-basis: 38%; padding: 12px 14px; }
  details.product-item[open] .product-desc { padding: 0 16px 18px; }
}

/* ============================== LOGO MARK (F from the Fönsterplatsen logo) */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-mark { width: 42px; height: 42px; flex-shrink: 0; color: var(--ink); }
.logo-text { display: block; }
@media (max-width: 720px) { .logo-mark { width: 36px; height: 36px; } .logo { gap: 10px; } }

/* signpost under a card grid (e.g. altandörrar -> Våra fönster) */
.signpost { text-align: center; margin: 28px auto 0; color: var(--mute); font-size: 0.95rem; }
.signpost a { color: var(--terra-ink); }

/* spam honeypot for the contact form — hidden from people, visible to bots */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.site-footer .social { margin-top: 14px; font-size: 0.9rem; }
.site-footer .social a { text-decoration: underline; text-underline-offset: 3px; }

/* =================================================================
   2026-10 — always-visible contact, new nav, hub and feature pages
   ================================================================= */

/* ---------- skip link (keyboard users jump past the menu) */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--bark); color: var(--cream); padding: 10px 18px;
  border-radius: var(--pill); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- contact bar: ticker + phone/e-mail, sticky above the header */
.utility-bar {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: stretch;
  height: var(--utility-h);
  background: var(--sand);
  border-bottom: 1px solid var(--line);
}
.utility-bar .ticker {
  flex: 1 1 auto; min-width: 0;
  display: flex; align-items: center;
  padding: 0; border-bottom: 0; background: transparent;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 94%, transparent 100%);
}
.utility-contact {
  flex: 0 0 auto;
  display: flex; align-items: center; gap: 22px;
  padding: 0 var(--pad) 0 20px;
  white-space: nowrap;
}
.utility-contact a {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.01em;
  color: var(--ink); text-decoration: none;
}
.utility-contact a:hover { color: var(--terra-ink); }
.utility-contact svg { width: 15px; height: 15px; color: var(--terra-ink); }
.site-header { top: var(--utility-h); }
.header-inner { min-height: var(--header-h); }

/* ---------- navigation: active page, tighter spacing for more items */
.nav-menu { gap: 2px; }
.nav-menu a { padding: 9px 8px; letter-spacing: 0.1em; }
/* the header runs wider than the page content so all eight items fit on one row */
.header-inner { max-width: 1340px; }
.nav-menu a[aria-current="page"],
.nav-menu a.is-active { background: var(--clay); color: var(--ink); }
.nav-menu li.cta a { margin-left: 8px; }
.logo { display: inline-flex; align-items: center; gap: 12px; }
/* button comes first in the markup (it controls the menu) but sits at the right edge */
.header-inner > nav { order: 2; }
.nav-toggle { order: 3; margin-right: -4px; }

/* the full menu (logo + 8 items + button, header padding, 17px scrollbar) needs a ~1240px window;
   below 1260px use the menu button (~20px safety margin; 1280px laptops get the full menu) */
@media (max-width: 1259px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu { display: none; }
  .nav-menu.is-open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 10px var(--pad) 22px; gap: 0;
    max-height: calc(100vh - var(--utility-h) - var(--header-h));
    overflow-y: auto;
    box-shadow: 0 18px 30px -22px rgba(74, 59, 42, 0.45);
  }
  .nav-menu.is-open a {
    display: block;
    padding: 14px 6px; font-size: 12px; border-radius: 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav-menu.is-open a[aria-current="page"],
  .nav-menu.is-open a.is-active { background: transparent; color: var(--terra-ink); }
  .nav-menu.is-open li.cta a { margin: 14px 0 0; border-radius: var(--pill); text-align: center; border-bottom: 0; }
}

/* ---------- phones: contact bar scrolls away, action bar pinned to the bottom */
.action-bar { display: none; }
@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .utility-bar { position: static; }
  .utility-contact { display: none; }
  .site-header { top: 0; }
  .nav-menu.is-open { max-height: calc(100vh - var(--header-h) - 88px); }

  .action-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    display: flex; gap: 8px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
    background: rgba(251, 247, 240, 0.97);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 20px -14px rgba(74, 59, 42, 0.4);
  }
  .action-bar a {
    display: flex; align-items: center; gap: 10px;
    min-height: 50px; min-width: 0;
    padding: 7px 14px; border-radius: 14px;
    text-decoration: none; line-height: 1.2;
  }
  .action-bar svg { width: 19px; height: 19px; flex-shrink: 0; }
  .action-bar a > span { display: block; min-width: 0; }
  .action-bar small {
    display: block; font-size: 9.5px; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.85;
  }
  .action-bar .val {
    display: block; font-size: 13px; font-weight: 700;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .action-call { flex: 0 0 auto; background: var(--bark); color: var(--cream); }
  .action-mail { flex: 1 1 auto; background: var(--cream); color: var(--ink); border: 1px solid var(--clay-2); }
  .action-mail svg { color: var(--terra-ink); }
  /* the full address must stay readable: break after the @ instead of truncating */
  .action-mail .val { white-space: normal; overflow: visible; text-overflow: clip; font-size: 12.5px; line-height: 1.25; }
  body { padding-bottom: 88px; }
}
@media (max-width: 380px) {
  .action-bar svg { display: none; }
  .action-bar a { padding: 7px 12px; }
}

/* ---------- boxes inside sand sections need a cream fill to stay visible */
.bg-sand .teaser-strip,
.bg-sand .contact-single,
.bg-sand .contact-card,
.bg-sand .rot-note { background: var(--cream); border: 1px solid var(--line); }
.bg-sand .contact-single .field { background: var(--white); }

/* ---------- Våra fönster hub: step 1 (material) */
.choice-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .choice-grid { grid-template-columns: 1.15fr 1fr 1fr; align-items: stretch; } }
.choice-card {
  position: relative;
  display: flex; flex-direction: column; gap: 12px;
  background: var(--cream);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px 28px 28px;
  color: inherit; text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.choice-card:hover { transform: translateY(-3px); border-color: var(--clay-2); box-shadow: 0 14px 30px -22px rgba(74, 59, 42, 0.5); }
.choice-card.featured { border: 1.5px solid var(--terra); }
.choice-card .tag {
  position: absolute; top: -11px; left: 28px;
  background: var(--terra-ink); color: #fff;
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 5px 12px; border-radius: var(--pill);
}
.choice-card .icon { color: var(--bark); }
.choice-card .icon svg { width: 72px; height: 58px; }
.choice-card h3 { font-size: 1.45rem; }
.choice-card > p { margin: 0; color: var(--body); }
.choice-points { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 8px; }
.choice-points li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; font-size: 0.92rem; color: var(--body); line-height: 1.45; }
.choice-points svg { width: 14px; height: 14px; color: var(--sage); margin-top: 4px; }
.choice-card .text-link { margin-top: auto; }

/* ---------- Våra fönster hub: step 2 (utförande) */
.type-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px)  { .type-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .type-grid { grid-template-columns: repeat(5, 1fr); } }
.type-item {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px 20px;
}
.type-item h3 { font-size: 1.12rem; font-weight: 500; margin-bottom: 8px; }
.type-item p { font-size: 0.9rem; color: var(--mute); line-height: 1.5; margin: 0; }

/* ---------- single-product feature (Takfönster, Altandörrar) */
.feature {
  display: grid; gap: 32px; grid-template-columns: 1fr;
  align-items: center; max-width: 1000px; margin-inline: auto;
}
@media (min-width: 860px) { .feature { grid-template-columns: 340px 1fr; gap: 56px; } }
.feature-img {
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  aspect-ratio: 3 / 4; padding: 28px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; max-width: 380px; width: 100%; margin-inline: auto;
}
.feature-img img { width: 100%; height: 100%; object-fit: contain; }
.feature-text p { font-size: 1.02rem; line-height: 1.7; }
.incl-list.one { grid-template-columns: 1fr; margin-top: 22px; }

/* ---------- home: one featured before/after */
.ba-grid.one { grid-template-columns: 1fr; max-width: 820px; margin-inline: auto; }

/* ---------- Om oss contact card */
.about-card { max-width: 560px; margin-inline: auto; text-align: left; }
.about-card .role { color: var(--mute); margin: 4px 0 0; font-size: 0.95rem; }

/* ---------- footer: four columns, sub-links, area map under contact */
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.25fr 0.9fr 0.8fr 1.2fr; gap: 40px; } }
.footer-links li.sub { padding-left: 14px; }
.footer-links li.sub a { font-size: 0.9rem; }
.footer-area { display: flex; gap: 18px; align-items: center; margin-top: 26px; }
.site-footer .footer-area p { font-size: 0.92rem; }

/* ---------- crumbs with links */
.crumb a { color: inherit; }

/* =================================================================
   2026-10-15 review fixes
   ================================================================= */

/* menu button: 44px tap target, hamburger <-> close icon */
.nav-toggle { min-width: 44px; min-height: 44px; padding: 10px; justify-content: center; align-items: center; margin-right: -10px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ticker: stops after a few rounds, pauses on hover / focus / tap */
.utility-bar .ticker-track { animation-iteration-count: 1.5; animation-fill-mode: forwards; }
.utility-bar:hover .ticker-track,
.utility-bar:focus-within .ticker-track,
.utility-bar.is-paused .ticker-track { animation-play-state: paused; }

/* breadcrumbs: links look like links */
.crumb a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--clay-2); }
.crumb a:hover { text-decoration-color: currentColor; }

/* links inside the ROT / bidrag note */
.rot-note a { color: var(--terra-ink); }

/* required form fields */
.req { color: var(--terra-ink); font-weight: 700; }
.form-note { font-size: 0.85rem; color: var(--mute); margin: 0 0 18px; }

/* Om oss contact card: long e-mail address may wrap on small phones */
.about-card .kv a { overflow-wrap: anywhere; }
.about-card > p { margin: 18px 0 0; }

/* home: the featured project's photos are landscape */
.ba-grid.one .ba-shot img { aspect-ratio: 4 / 3; }

/* tablets: no lonely last card */
@media (min-width: 720px) { .card-grid.three { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 600px) and (max-width: 999px) { .card-grid.five > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 600px) and (max-width: 719px) { .card-grid.three > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 640px) and (max-width: 999px) { .type-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* single-product image: follow the image's own shape on phones */
@media (max-width: 859px) {
  .feature-img { aspect-ratio: auto; max-width: 320px; padding: 20px; }
  .feature-img img { height: auto; }
}

/* phones: footer (not body) reserves room for the action bar, so no cream strip shows;
   hide the bar while the menu is open; menu height follows the visible viewport */
@media (max-width: 720px) {
  body { padding-bottom: 0; }
  .site-footer { padding-bottom: 88px; }
  body.menu-open .action-bar { display: none; }
  .nav-menu.is-open { max-height: calc(100vh - var(--header-h) - var(--utility-h)); max-height: calc(100dvh - var(--header-h) - var(--utility-h)); }
}

/* short screens (landscape phones, big zoom): only the slim contact bar stays pinned */
@media (min-width: 721px) and (max-height: 500px) {
  .site-header { position: relative; top: auto; }
  html { scroll-padding-top: calc(var(--utility-h) + 16px); }
}
@media (max-width: 720px) and (max-height: 500px) {
  .site-header { position: relative; top: auto; }
  html { scroll-padding-top: 16px; }
  .action-bar small { display: none; }
  .action-bar a { min-height: 44px; padding: 4px 12px; }
  .site-footer { padding-bottom: 64px; }
}

/* =================================================================
   2026-10-15 live-review fixes
   ================================================================= */

/* headings: no single-word last lines */
h1, h2, h3 { text-wrap: balance; }

/* Referenser: projects 01-03 side by side, 04 (landscape photos) full width */
@media (min-width: 960px) { .ba-grid.three { grid-template-columns: repeat(3, 1fr); } }
.ba-card.wide { grid-column: 1 / -1; }
.ba-card.wide .ba-shot img { aspect-ratio: 4 / 3; }

/* wide banner product images (skjut-/vikpartier): 4:3 boxes, three per row */
.product-grid.wide .product-thumb { aspect-ratio: 4 / 3; padding: 12px; }
@media (min-width: 900px) { .product-grid.wide { grid-template-columns: repeat(3, 1fr); } }

/* Sortiment: category groups + jump links */
.jump-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px;
  margin: calc(-1 * clamp(16px, 2.5vw, 32px)) auto clamp(36px, 5vw, 56px);
}
.jump-links a {
  padding: 9px 16px;
  border: 1px solid var(--line); border-radius: var(--pill);
  background: var(--cream);
  font-family: var(--font-body); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--bark); text-decoration: none;
  transition: border-color 180ms ease, color 180ms ease;
}
.jump-links a:hover { border-color: var(--clay-2); color: var(--terra-ink); }
.product-group + .product-group { margin-top: clamp(48px, 6vw, 76px); }
.group-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px;
  padding-bottom: 14px; margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.group-head h3 { margin: 0; }
.group-count {
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 400;
  letter-spacing: 0; color: var(--mute); margin-left: 6px; white-space: nowrap;
}

/* =================================================================
   2026-10-22 photo-led home page (Charlotte, 21 Oct)
   ================================================================= */

/* hero: one big before/after pair instead of the name + drawing */
.hero-photo { padding: clamp(16px, 2.4vw, 28px) 0 clamp(40px, 5.5vw, 68px); }
.hero-ba {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--clay);
}
.hero-shot { position: relative; margin: 0; }
.hero-shot img {
  display: block; width: 100%;
  height: clamp(230px, 38vw, 540px); max-height: 62vh;
  object-fit: cover;
}
.hero-shot .ba-tag { top: 14px; left: 14px; font-size: 10.5px; padding: 6px 13px; }
.hero-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 28px; margin-top: clamp(18px, 2.5vw, 30px);
}
.hero-line {
  margin: 0; max-width: 36ch;
  font-family: var(--font-display); font-size: clamp(1.25rem, 2.2vw, 1.8rem); line-height: 1.3;
  color: var(--ink); text-wrap: balance;
}
.hero-line em { font-style: italic; color: var(--terra-ink); font-variation-settings: "opsz" 144, "SOFT" 100; }
@media (max-width: 639px) {
  .hero-bar { flex-direction: column; align-items: stretch; text-align: center; }
  .hero-line { max-width: none; }
}

/* three more projects right under the hero */
.ba-strip-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 8px 24px; margin: clamp(44px, 6vw, 72px) 0 20px;
}
.ba-strip-head h2 { margin: 0; font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.ba-strip { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.ba-card.compact .ba-shot img { aspect-ratio: 4 / 5; }
.ba-card.compact .ba-caption { padding: 13px 16px 15px; }
.ba-card.compact .ba-num { margin: 0; }
/* phones and small tablets: swipe sideways instead of a long stack */
@media (max-width: 759px) {
  .ba-strip {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(250px, 82%);
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    padding-bottom: 10px; margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad);
    scroll-padding-inline: var(--pad);
  }
  .ba-strip > * { scroll-snap-align: start; }
}

/* contact section: the drawn skånelänga as a soft background at the bottom */
.has-drawing { position: relative; isolation: isolate; padding-bottom: calc(clamp(56px, 7vw, 96px) + min(24vw, 420px)); }
.has-drawing::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url(../img/hero-skanelanga.jpg) center bottom / 100% auto no-repeat;
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 45%, #000 82%);
          mask-image: linear-gradient(to bottom, transparent 0%, transparent 45%, #000 82%);
}
.has-drawing .signpost {
  display: table; margin-inline: auto; padding: 6px 16px;
  background: rgba(251, 247, 240, 0.9); border-radius: var(--r);
}
/* hero crops: keep the roof and dormer in both shots */
.hero-shot img { object-position: 50% 40%; }

/* Referenser: landscape projects show before above after; portrait projects side by side */
.ba-card.land .ba-pair { grid-template-columns: 1fr; }
.ba-card.land .ba-shot img { aspect-ratio: 4 / 3; }
@media (max-width: 959px) { .ba-grid.three { max-width: 600px; margin-inline: auto; } }

/* =================================================================
   2026-11-01 Charlotte (30 Oct): smaller hero + energy badge, photo cards, social, Om oss
   ================================================================= */

/* hero: before/after takes 3/4 of the width, the energy-grant badge the last quarter */
.hero-top { display: grid; gap: 14px; }
@media (min-width: 900px) { .hero-top { grid-template-columns: 3fr 1fr; gap: 18px; align-items: stretch; } }
.hero-photo .hero-shot img { height: clamp(175px, 28.5vw, 405px); max-height: 47vh; }
.hero-shot:first-child img { object-position: 50% 15%; }
.hero-shot:last-child img { object-position: 50% 70%; }

.energy-card {
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: clamp(18px, 2vw, 26px);
  background: var(--sage); color: #fff;
  border-radius: var(--r-lg); text-decoration: none;
  transition: background 200ms ease, transform 200ms ease;
}
.energy-card:hover { background: #5E6948; transform: translateY(-2px); }
.energy-icon svg { width: 42px; height: 42px; display: block; }
.energy-kicker { font-size: 10.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.9; margin-top: 4px; }
.energy-amount { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.35rem, 2vw, 1.85rem); line-height: 1.15; }
.energy-text { font-size: 0.88rem; line-height: 1.45; }
.energy-card .text-link { color: #fff; margin-top: 8px; }
@media (max-width: 899px) {
  .energy-card { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 2px; align-items: center; }
  .energy-icon { grid-row: 1 / span 4; }
  .energy-kicker { margin-top: 0; }
}

/* category cards: a real photo instead of the line drawing.
   Whole photo always visible (Charlotte, 1 Nov): square frame, capped at 420px tall on wide
   one-column cards; non-square photos get a sand mat. No hover zoom, it would crop the edges. */
.card .card-photo,
.choice-card .card-photo {
  display: block; align-self: stretch; overflow: hidden;
  aspect-ratio: 1 / 1; max-height: 420px; background: var(--sand);
}
.card .card-photo { margin: -30px -20px 6px; border-radius: calc(var(--r) - 1px) calc(var(--r) - 1px) 0 0; }
.choice-card .card-photo { margin: -32px -28px 6px; border-radius: calc(var(--r-lg) - 1px) calc(var(--r-lg) - 1px) 0 0; }
.card-photo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.card-photo img[src*="velux"] { object-fit: contain; padding: 14px; background: #fff; }
.choice-card .tag { z-index: 2; }

/* filosofi teaser with the villa photo */
.teaser-strip.with-photo { display: grid; padding: 0; overflow: hidden; text-align: left; }
.teaser-strip.with-photo .teaser-photo img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.teaser-strip.with-photo .teaser-body { padding: clamp(28px, 4vw, 52px); }
.teaser-strip.with-photo .label.center { text-align: left; }
.teaser-strip.with-photo p { margin-left: 0; }
@media (min-width: 860px) {
  .teaser-strip.with-photo { grid-template-columns: 1fr 1.1fr; align-items: stretch; }
  .teaser-strip.with-photo .teaser-photo img { aspect-ratio: auto; min-height: 360px; }
  .teaser-strip.with-photo .teaser-body { align-self: center; }
}

/* brand logos and grant badges are links now */
a.brand-chip { color: var(--ink); text-decoration: none; }
.support-card a.badge { text-decoration: none; transition: filter 180ms ease; }
.support-card a.badge:hover { filter: brightness(1.12); }

/* Om oss: Charlotte (with photo) and Ulf side by side */
.about-cards { display: grid; gap: 22px; max-width: 1020px; margin-inline: auto; align-items: start; }
@media (min-width: 820px) { .about-cards { grid-template-columns: 1.35fr 1fr; } }
.about-cards .about-card { max-width: none; margin: 0; }
.about-photo {
  display: block; max-width: none;
  width: calc(100% + 2 * clamp(28px, 4vw, 44px));
  margin: calc(-1 * clamp(28px, 4vw, 44px)) calc(-1 * clamp(28px, 4vw, 44px)) 24px;
  aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}

/* "Följ oss": top contact bar, phone menu, footer */
.utility-social { display: inline-flex; align-items: center; gap: 10px; padding-left: 18px; border-left: 1px solid var(--line); }
.utility-social .follow-label { font-size: 12px; font-weight: 700; color: var(--mute); }
.utility-contact .utility-social a { gap: 0; color: var(--ink); }
.utility-contact .utility-social a:hover { color: var(--terra-ink); }
.utility-contact .utility-social svg { width: 16px; height: 16px; color: currentColor; }
@media (max-width: 1000px) { .utility-social .follow-label { display: none; } }

.nav-menu li.nav-social { display: none; }
@media (max-width: 1259px) {
  .nav-menu.is-open li.nav-social {
    display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 18px;
    font-size: 10.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute);
  }
  .nav-menu.is-open li.nav-social a {
    display: inline-flex; padding: 10px; color: var(--ink);
    border: 1px solid var(--line); border-radius: 50%;
  }
  .nav-menu.is-open li.nav-social svg { width: 20px; height: 20px; }
}

.site-footer .follow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 24px; }
.site-footer .follow-label { width: 100%; font-size: 10.5px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sand); }
.site-footer .follow-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px;
  border: 1px solid rgba(231, 218, 197, 0.35); border-radius: var(--pill);
  color: var(--sand); font-size: 0.9rem;
}
.site-footer .follow-btn:hover { color: #fff; border-color: rgba(255, 255, 255, 0.7); background: rgba(255, 255, 255, 0.06); }
.site-footer .follow-btn svg { width: 17px; height: 17px; }
