/* ============================================================
   LINDKVIST MÅLERI · Warm Craft editorial
   paper #F5F0E6 · ink #2C2318 · accent dov grön #4D6650
   ============================================================ */

:root {
  --paper: #F5F0E6;
  --paper-warm: #EDE4D3;
  --ink: #2C2318;
  --ink-soft: #6B5C48;
  --green: #4D6650;
  --green-deep: #3D5341;
  --line: rgba(44, 35, 24, 0.16);
  --line-soft: rgba(44, 35, 24, 0.09);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Instrument Sans', 'Segoe UI', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --space-unit: clamp(4.5rem, 9vw, 8.5rem);
  --container: min(1240px, 92vw);
  --header-h: 76px;
  color-scheme: light;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; scrollbar-color: var(--green) var(--paper-warm); }
html, body { overflow-x: clip; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--green); color: var(--paper); }

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

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

.container { width: var(--container); margin: 0 auto; }
.section { padding: var(--space-unit) 0; }

/* ---------- chrome: grain + progress ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.045;
}

.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120;
  background: var(--green); transform: scaleX(0); transform-origin: left;
}

/* ---------- typografi ---------- */
.kicker {
  font-family: var(--font-body);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.19em; text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.4rem;
}
.kicker::before {
  content: ""; display: inline-block;
  width: 26px; height: 1px; background: var(--green);
  vertical-align: middle; margin-right: 0.7rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 480;
  font-variation-settings: 'opsz' 72;
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 1.04; letter-spacing: -0.02em;
  text-wrap: balance;
}
.section-title em { font-style: italic; font-weight: 420; color: var(--green); }

.section-intro {
  max-width: 56ch; color: var(--ink-soft);
  margin-top: 1.3rem; font-size: 1.06rem;
}

.section-head { margin-bottom: clamp(2.4rem, 5vw, 4rem); }

/* stora blekta indexsiffror bakom rubrikerna */
[data-no] { position: relative; }
[data-no]::before {
  content: attr(data-no);
  position: absolute; top: -0.42em; left: -0.04em; z-index: -1;
  font-family: var(--font-display); font-weight: 560;
  font-size: clamp(4.6rem, 9vw, 8rem); line-height: 1;
  color: var(--ink); opacity: 0.055;
  pointer-events: none; user-select: none;
}

/* ---------- knappar ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  padding: 0.85em 1.7em; border-radius: 4px;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background 0.35s var(--ease-out), color 0.35s var(--ease-out),
              border-color 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.btn-lg { padding: 1em 2em; font-size: 1rem; }
.btn-solid { background: var(--green); color: var(--paper); }
.btn-solid:hover { background: var(--green-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-arrow { display: inline-block; transition: transform 0.3s var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(4px); }

[hidden] { display: none !important; }

/* ---------- länkar (understrykning som glider) ---------- */
.site-nav a, .footer-col a, .contact-facts a, .form-done a {
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 0% 1px;
  background-position: left calc(100% - 1px);
  transition: background-size 0.35s var(--ease-out), color 0.3s;
}
.site-nav a:hover, .footer-col a:hover, .contact-facts a:hover, .form-done a:hover {
  background-size: 100% 1px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.site-header.scrolled {
  background: rgba(245, 240, 230, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line-soft);
}
.header-inner {
  width: var(--container); margin: 0 auto;
  height: var(--header-h);
  display: flex; align-items: center; gap: 2.4rem;
}

.wordmark { text-decoration: none; line-height: 1.15; }
.wordmark-name {
  display: block; font-family: var(--font-display);
  font-weight: 560; font-size: 1.18rem; letter-spacing: -0.01em;
}
.wordmark-est {
  display: block; font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft);
}

.site-nav { display: flex; gap: 1.7rem; margin-left: auto; }
.site-nav a { font-size: 0.92rem; font-weight: 500; }

.header-actions { display: flex; align-items: center; gap: 1.4rem; }
.header-phone {
  font-family: var(--font-display); font-style: italic;
  font-size: 1rem; text-decoration: none;
  transition: color 0.3s;
}
.header-phone:hover { color: var(--green); }

/* ============================================================
   HERO · statement-typografi i fullbredd
   ============================================================ */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(2.6rem, 6vh, 5rem)) 0 clamp(3rem, 6vw, 5rem);
  overflow: clip;
}
.hero-inner { position: relative; z-index: 2; }

.hero-kicker { margin-bottom: clamp(1.4rem, 3vw, 2.2rem); }

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: 'opsz' 144;
  font-size: clamp(3rem, 8.2vw, 7.6rem);
  line-height: 0.98; letter-spacing: -0.03em;
  max-width: 100%;
}
.hero-title em { font-style: italic; font-weight: 430; color: var(--green); }

.hero-em { position: relative; white-space: nowrap; }
.em-line {
  position: absolute; left: -3%; bottom: -0.1em;
  width: 106%; height: 0.2em; overflow: visible;
}
.em-line path {
  fill: none; stroke: var(--green); stroke-width: 6;
  stroke-linecap: round; vector-effect: non-scaling-stroke;
}
html.js .em-line path { stroke-dasharray: 200; stroke-dashoffset: 200; }
html.js.hero-in .em-line path {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.9s var(--ease-out) 0.95s;
}

.hero-row {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2.5vw, 2.5rem);
  align-items: end;
  margin-top: clamp(2.2rem, 4.5vw, 3.8rem);
}
.hero-side { grid-column: 1 / 5; padding-bottom: 0.4rem; }
.hero-media { grid-column: 5 / 13; }

.hero-sub {
  max-width: 34ch;
  font-size: clamp(1.05rem, 1.5vw, 1.18rem); color: var(--ink-soft);
}

.hero-ctas { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero-meta {
  margin-top: 2.2rem; list-style: none;
  display: flex; flex-wrap: wrap; gap: 0.55rem 1.5rem;
  font-size: 0.86rem; font-weight: 500; color: var(--ink-soft);
}
.hero-meta li { display: flex; align-items: center; gap: 0.55em; }
.hero-meta li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); flex: none;
}

.hero-media-frame {
  overflow: hidden; border-radius: 6px;
  aspect-ratio: 16 / 9.5;
}
.hero-media-frame img {
  width: 100%; height: 114%; object-fit: cover; object-position: 62% 38%;
  will-change: transform;
}
.hero-caption {
  margin-top: 0.9rem; font-size: 0.78rem; color: var(--ink-soft);
  letter-spacing: 0.04em;
}

.hero-year {
  position: absolute; bottom: -0.16em; left: -0.04em; z-index: 0;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(9rem, 24vw, 21rem); line-height: 1;
  color: var(--ink); opacity: 0.05; pointer-events: none; user-select: none;
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(0.9rem, 1.8vw, 1.3rem) 0;
}
.marquee-track { white-space: nowrap; will-change: transform; width: max-content; }
.mq {
  font-family: var(--font-display); font-style: italic; font-weight: 440;
  font-size: clamp(1.35rem, 2.6vw, 2.1rem); letter-spacing: -0.01em;
  color: var(--ink);
}
.mq i {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); margin: 0 1.7rem; vertical-align: middle;
}

/* ============================================================
   TJÄNSTER
   ============================================================ */
.service-list { list-style: none; border-top: 1px solid var(--line); }

.service-link {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  align-items: baseline; gap: 1.5rem;
  padding: clamp(1.6rem, 3vw, 2.4rem) clamp(0.4rem, 1.5vw, 1.4rem);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background 0.4s var(--ease-out);
}
.service-link:hover { background: var(--paper-warm); }

.service-no {
  font-family: var(--font-display); font-style: italic;
  font-size: 1rem; color: var(--green);
}

.service-name {
  display: block; font-family: var(--font-display);
  font-weight: 500; font-variation-settings: 'opsz' 60;
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  line-height: 1.06; letter-spacing: -0.015em;
  transition: color 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.service-link:hover .service-name { color: var(--green); transform: translateX(6px); }

.service-desc {
  display: block; margin-top: 0.7rem;
  max-width: 58ch; color: var(--ink-soft); font-size: 0.99rem;
}

.service-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.service-tags span {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: 99px;
  padding: 0.32em 0.9em;
}

.service-arrow {
  font-size: 1.5rem; color: var(--green);
  transition: transform 0.35s var(--ease-out);
  align-self: center;
}
.service-link:hover .service-arrow { transform: translateX(8px); }

/* svävande förhandsvisning som följer pekaren */
.svc-prev {
  position: fixed; top: 0; left: 0; z-index: 70;
  width: 290px; aspect-ratio: 4 / 3;
  border-radius: 8px; overflow: hidden;
  pointer-events: none;
  opacity: 0;
  box-shadow: 0 24px 60px rgba(44, 35, 24, 0.28);
  transition: opacity 0.35s var(--ease-out);
}
.svc-prev.on { opacity: 1; }
.svc-prev img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none), (pointer: coarse) { .svc-prev { display: none; } }

/* ============================================================
   BILD-BAND (macro / fasad)
   ============================================================ */
.band {
  position: relative; overflow: clip;
  height: clamp(340px, 62vh, 620px);
}
.band-media { position: absolute; inset: -12% 0; }
.band-media img {
  width: 100%; height: 100%; object-fit: cover; will-change: transform;
}
.band-overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: flex-end;
  background: linear-gradient(to top, rgba(30, 23, 14, 0.55), rgba(30, 23, 14, 0.05) 55%);
}
.band-claim {
  width: var(--container); margin: 0 auto;
  padding-bottom: clamp(2rem, 5vw, 3.6rem);
  font-family: var(--font-display); font-weight: 460;
  font-size: clamp(1.5rem, 3.4vw, 2.7rem);
  line-height: 1.15; letter-spacing: -0.015em;
  color: #F7F2E8; max-width: 100%;
}
.band-claim em { font-style: italic; font-weight: 400; }

/* ============================================================
   SIFFROR
   ============================================================ */
.stats {
  background: linear-gradient(135deg, #55735D 0%, var(--green) 45%, var(--green-deep) 100%);
  color: var(--paper);
}
.stats.section { padding: clamp(3.4rem, 6vw, 5.5rem) 0; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.6rem, 3vw, 2.5rem);
}
.stat { border-left: 1px solid rgba(245, 240, 230, 0.28); padding-left: clamp(1rem, 2vw, 1.6rem); }
.stat-num {
  display: block; font-family: var(--font-display);
  font-weight: 480; font-variation-settings: 'opsz' 100;
  font-size: clamp(2.6rem, 5.4vw, 4.4rem); line-height: 1;
  letter-spacing: -0.02em;
}
.stat-label {
  display: block; margin-top: 0.65rem;
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(245, 240, 230, 0.75);
}

/* ============================================================
   PROCESS + FÖRE/EFTER-SLIDER
   ============================================================ */
.process { background: var(--paper-warm); }
.process-grid {
  display: grid; grid-template-columns: 7fr 5fr;
  gap: clamp(2.5rem, 6vw, 6rem); align-items: start;
}

.steps { list-style: none; }
.step {
  display: grid; grid-template-columns: 4.5rem 1fr; gap: 1.5rem;
  padding: clamp(1.7rem, 3vw, 2.3rem) 0;
  border-top: 1px solid var(--line);
}
.step:first-child { border-top: 0; }
.step-no {
  font-family: var(--font-display); font-weight: 460;
  font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 0.9;
  color: var(--green); opacity: 0.85;
}
.step-name {
  font-family: var(--font-display); font-weight: 520;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem); letter-spacing: -0.01em;
  line-height: 1.15;
}
.step-desc { margin-top: 0.7rem; color: var(--ink-soft); font-size: 0.99rem; max-width: 52ch; }

.process-media { position: sticky; top: calc(var(--header-h) + 2rem); }
.media-frame { overflow: hidden; border-radius: 6px; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.media-frame:hover img { transform: scale(1.035); }
.media-caption { margin-top: 0.85rem; font-size: 0.78rem; color: var(--ink-soft); letter-spacing: 0.04em; }

/* före/efter */
.ba {
  position: relative; overflow: hidden; border-radius: 6px;
  aspect-ratio: 4 / 3.6;
  touch-action: pan-y;
  cursor: ew-resize;
}
.ba-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: 34% 62%;
}
.ba-before { filter: grayscale(0.85) brightness(1.04) contrast(0.88) sepia(0.12); }
.ba-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--x)); }
.ba-line {
  position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px;
  background: rgba(247, 242, 232, 0.95);
  box-shadow: 0 0 16px rgba(30, 23, 14, 0.35);
  transform: translateX(-1px);
}
.ba-handle {
  position: absolute; top: 50%; left: var(--x);
  transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(30, 23, 14, 0.25);
  cursor: ew-resize; touch-action: none;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.ba-handle span {
  width: 7px; height: 7px;
  border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
}
.ba-handle span:last-child { transform: rotate(225deg); }
.ba-tag {
  position: absolute; top: 14px;
  font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.13em; text-transform: uppercase;
  background: rgba(245, 240, 230, 0.88); color: var(--ink);
  padding: 0.4em 0.95em; border-radius: 99px;
  pointer-events: none;
}
.ba-tag-f { left: 14px; }
.ba-tag-e { right: 14px; }

/* ============================================================
   OM OSS + KULÖRPROVER
   ============================================================ */
.about-grid {
  display: grid; grid-template-columns: 6fr 6fr;
  gap: clamp(2.5rem, 6vw, 6rem); align-items: center;
}
.about-media { position: relative; padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.about-portrait { aspect-ratio: 3 / 4; max-width: 82%; }
.about-portrait img { height: 100%; }
.about-still {
  position: absolute; right: 0; bottom: 0;
  width: 52%; aspect-ratio: 3 / 2;
  border: 6px solid var(--paper); border-radius: 8px;
  box-shadow: 0 18px 44px rgba(44, 35, 24, 0.16);
}
.about-still img { height: 100%; }

.about-copy p { margin-top: 1.2rem; color: var(--ink-soft); max-width: 54ch; }
.about-copy .section-title { margin-bottom: 0.4rem; }

.swatch-row { margin-top: 2.2rem; }
.swatch-title {
  display: block;
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ink-soft);
}
.swatches {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0.6rem; margin-top: 0.85rem; max-width: 30rem;
}
.swatch i {
  display: block; height: 56px; border-radius: 5px;
  background: var(--c); border: 1px solid var(--line);
  transition: transform 0.35s var(--ease-out);
}
.swatch:hover i { transform: translateY(-4px); }
.swatch b {
  display: block; margin-top: 0.4rem; text-align: center;
  font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-soft);
}

.about-sign {
  margin-top: 2.2rem; padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.about-names {
  display: block; font-family: var(--font-display); font-style: italic;
  font-weight: 480; font-size: 1.5rem; letter-spacing: 0.01em;
}
.about-role {
  display: block; margin-top: 0.3rem;
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft);
}

/* ============================================================
   CITAT
   ============================================================ */
.quote-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 2.5vw, 2.2rem);
}
.quote {
  border-top: 2px solid var(--green);
  padding: 1.8rem 0 0;
  display: flex; flex-direction: column; gap: 1.6rem;
  transition: transform 0.45s var(--ease-out);
}
.quote:hover { transform: translateY(-4px); }
.quote-text {
  font-family: var(--font-display); font-weight: 440;
  font-size: clamp(1.08rem, 1.6vw, 1.28rem); line-height: 1.42;
  letter-spacing: -0.005em;
}
.quote-src { margin-top: auto; }
.quote-name { display: block; font-weight: 600; font-size: 0.95rem; }
.quote-area {
  display: block; margin-top: 0.15rem;
  font-size: 0.78rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-soft);
}

/* ============================================================
   OMRÅDEN
   ============================================================ */
.areas { background: var(--paper-warm); }
.areas-grid {
  display: grid; grid-template-columns: 5fr 7fr;
  gap: clamp(2.5rem, 6vw, 5rem); align-items: start;
}
.areas .section-head { margin-bottom: 0; }
.area-list {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.area-list li {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 1.05rem 1.1rem;
  font-size: 0.93rem; font-weight: 500;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.area-list li:hover { background: var(--green); color: var(--paper); }

/* ============================================================
   OFFERT
   ============================================================ */
.contact-grid {
  display: grid; grid-template-columns: 6fr 6fr;
  gap: clamp(2.5rem, 6vw, 6rem); align-items: start;
}

.contact-facts { margin-top: 2.4rem; border-top: 1px solid var(--line); }
.contact-facts > div {
  display: grid; grid-template-columns: 9rem 1fr; gap: 1rem;
  padding: 0.95rem 0; border-bottom: 1px solid var(--line);
}
.contact-facts dt {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft); align-self: center;
}
.contact-facts dd { font-weight: 500; }
.contact-rot {
  margin-top: 1.8rem; padding: 1.1rem 1.3rem;
  background: var(--paper-warm); border-left: 3px solid var(--green);
  border-radius: 0 6px 6px 0;
  font-size: 0.94rem; color: var(--ink-soft);
}

.quote-form {
  background: #FBF8F1;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
}
.field { margin-bottom: 1.4rem; }
.field label {
  display: block; margin-bottom: 0.5rem;
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.13em; text-transform: uppercase;
}
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line); border-radius: 4px;
  padding: 0.85em 1em;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(107, 92, 72, 0.55); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(77, 102, 80, 0.15);
}
.field textarea { resize: vertical; min-height: 120px; }

.btn-submit { width: 100%; justify-content: center; border: 0; }
.form-note {
  margin-top: 1rem; text-align: center;
  font-size: 0.82rem; color: var(--ink-soft);
}
.form-error {
  margin: -0.4rem 0 1rem; font-size: 0.88rem; font-weight: 500;
  color: #8A3B2E;
}
.form-done {
  margin-top: 1.6rem; padding: 1.4rem 1.5rem;
  background: rgba(77, 102, 80, 0.1);
  border: 1px solid rgba(77, 102, 80, 0.35); border-radius: 6px;
}
.form-done h3 { font-family: var(--font-display); font-weight: 520; font-size: 1.15rem; }
.form-done p { margin-top: 0.5rem; font-size: 0.92rem; color: var(--ink-soft); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink); color: #D9CFBE;
  padding: var(--space-unit) 0 clamp(1.5rem, 3vw, 2.5rem);
  overflow: clip;
}
.footer-grid {
  display: grid; grid-template-columns: 4fr 2.5fr 2.5fr 2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
}
.footer-name {
  font-family: var(--font-display); font-weight: 520;
  font-size: 1.4rem; color: #F5F0E6; letter-spacing: -0.01em;
}
.footer-tag { margin-top: 0.9rem; font-size: 0.93rem; max-width: 34ch; color: rgba(217, 207, 190, 0.8); }
.footer-col h4 {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(217, 207, 190, 0.55); margin-bottom: 1rem;
}
.footer-col p { font-size: 0.93rem; line-height: 1.8; }
.footer-col p + p { margin-top: 0.8rem; }
.footer-col a { text-decoration: none; color: #EDE4D3; }

.footer-mark {
  font-family: var(--font-display); font-weight: 560;
  font-size: clamp(4.5rem, 15vw, 13.5rem);
  line-height: 0.85; letter-spacing: -0.02em;
  color: rgba(245, 240, 230, 0.07);
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  white-space: nowrap;
  user-select: none;
  transition: color 0.6s var(--ease-out);
}
.footer-mark:hover { color: rgba(245, 240, 230, 0.13); }
.footer-legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 2rem;
  border-top: 1px solid rgba(245, 240, 230, 0.12);
  margin-top: clamp(1.5rem, 3vw, 2.2rem); padding-top: 1.3rem;
  font-size: 0.78rem; color: rgba(217, 207, 190, 0.55);
}

/* ============================================================
   STICKY MOBIL-BAR
   ============================================================ */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 110;
  display: none;
  grid-template-columns: 1fr 1fr;
  padding: 0.6rem 0.7rem calc(0.6rem + env(safe-area-inset-bottom));
  gap: 0.6rem;
  background: rgba(245, 240, 230, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.mobile-bar a {
  display: flex; align-items: center; justify-content: center;
  min-height: 48px; border-radius: 6px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
}
.mb-call { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.mb-quote { background: var(--green); color: var(--paper); }

/* ============================================================
   REVEALS + HERO-ENTRÉ (endast med JS)
   ============================================================ */
html.js .reveal { opacity: 0; transform: translateY(26px); }
html.js .reveal.in {
  opacity: 1; transform: none;
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}

/* ordkaskad i hero-rubriken */
html.js .hero-title .w { display: inline-block; opacity: 0; transform: translateY(0.55em); }
html.js.hero-in .hero-title .w {
  opacity: 1; transform: none;
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

html.js .hero-kicker, html.js .hero-sub, html.js .hero-ctas, html.js .hero-meta {
  opacity: 0; transform: translateY(22px);
}
html.js.hero-in .hero-kicker, html.js.hero-in .hero-sub,
html.js.hero-in .hero-ctas, html.js.hero-in .hero-meta {
  opacity: 1; transform: none;
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
html.js.hero-in .hero-kicker { transition-delay: 0.05s; }
html.js.hero-in .hero-sub { transition-delay: 0.55s; }
html.js.hero-in .hero-ctas { transition-delay: 0.68s; }
html.js.hero-in .hero-meta { transition-delay: 0.8s; }

html.js .hero-media { opacity: 0; clip-path: inset(0 0 6% 0); }
html.js.hero-in .hero-media {
  opacity: 1; clip-path: inset(0 0 0 0);
  transition: opacity 1.1s var(--ease-out) 0.4s, clip-path 1.1s var(--ease-out) 0.4s;
}

/* ============================================================
   RESPONSIVT
   ============================================================ */
@media (max-width: 1060px) {
  .site-nav { display: none; }
}

@media (max-width: 900px) {
  .hero-row { grid-template-columns: 1fr; align-items: start; }
  .hero-side, .hero-media { grid-column: 1 / -1; }
  .hero-media { margin-top: 2.4rem; }
  .hero-media-frame { aspect-ratio: 4 / 3; }
  .hero-sub { max-width: 44ch; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 2.6rem; }
  .process-grid, .about-grid, .contact-grid, .areas-grid { grid-template-columns: 1fr; }
  .process-media { position: static; }
  .area-list { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { padding-bottom: 74px; }
  .mobile-bar { display: grid; }
  .header-actions .btn { display: none; }
  .header-phone { margin-left: auto; }
  .service-link { grid-template-columns: 2.6rem 1fr auto; gap: 0.9rem; }
  .step { grid-template-columns: 3rem 1fr; gap: 1rem; }
  .area-list { grid-template-columns: repeat(2, 1fr); }
  .contact-facts > div { grid-template-columns: 7.2rem 1fr; gap: 0.7rem; }
  .about-portrait { max-width: 100%; }
  .about-still { width: 58%; }
  .quote-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-year { font-size: clamp(7rem, 30vw, 10rem); }
  .ba { aspect-ratio: 4 / 3.2; }
}

@media (max-width: 420px) {
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .service-tags { display: none; }
  .swatches { gap: 0.45rem; }
  .swatch i { height: 44px; }
}
