/* Plåt & Mek Fagersta — site system ("Ideallinjen", design-plan.json + visual-direction.json).
   Tokens → base → chrome → components C1–C16 → motion. Mobile first. */

@font-face { font-family: 'Teko'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/teko-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Teko'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/teko-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Heebo'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/heebo-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Heebo'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/heebo-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Heebo'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/heebo-latin-700-normal.woff2') format('woff2'); }

:root {
  --ink: #0D0E10;
  --graphite: #16181B;
  --card: #1E2125;
  --line: #2C3036;
  --orange: #FF8F1C;
  --orange-hi: #FFA548;
  --orange-ink: #A84E00;
  --white: #FFFFFF;
  --muted: #B7BCC3;
  --floor: #F3F2EE;
  --floor-line: #DEDBD2;
  --text-light: #16181B;
  --muted-light: #4A4F57;
  --display: 'Teko', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --body: 'Heebo', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --wrap: 1240px;
  --gutter: 20px;
  --pad: 60px;            /* section padding, mobile 56–64 */
  --head-gap: 40px;       /* section head → content */
  --radius: 4px;
  --skew: -12deg;
  --cut: 9;               /* image slant in % of width (mobile media bottom) */
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 18px 40px rgba(0, 0, 0, .35);
}
@media (min-width: 768px) { :root { --gutter: 32px; --pad: 80px; --head-gap: 48px; --header-h: 72px; } }
@media (min-width: 1024px) { :root { --pad: 96px; } }
@media (min-width: 1200px) { :root { --pad: 112px; --head-gap: 56px; --header-h: 84px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; background: var(--ink); color: var(--white); font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
@media (min-width: 1200px) { body { font-size: 1.125rem; } }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.02; margin: 0; text-transform: uppercase; letter-spacing: .01em; }
h1 { font-size: clamp(2.6rem, 1.6rem + 4.1vw, 4.6rem); }
h2 { font-size: clamp(2.15rem, 1.5rem + 2.4vw, 3.4rem); }
h3 { font-size: clamp(1.45rem, 1.2rem + .7vw, 1.75rem); line-height: 1.08; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--orange); color: var(--ink); padding: 10px 16px; font-weight: 700; text-decoration: none; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.floor :focus-visible { outline-color: var(--orange-ink); }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.nw { white-space: nowrap; }
.accent { color: var(--orange); }
.email { overflow-wrap: anywhere; }

/* ---------- surfaces ---------- */
.section { position: relative; padding: var(--pad) 0; }
.ink { background: var(--ink); }
.graphite { background: var(--graphite); }
.floor { background: var(--floor); color: var(--text-light); }
.ink.grain, .graphite.grain { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .035 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- section head (eyebrow → H2 → lead) ---------- */
p.eyebrow.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px; font-family: var(--display); font-weight: 500; font-size: 1.15rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); line-height: 1; }
.eyebrow::before { content: ''; width: 26px; height: 5px; background: currentColor; transform: skewX(var(--skew)); flex: none; }
.floor p.eyebrow.eyebrow { color: var(--orange-ink); }
.section-head { max-width: 760px; margin-bottom: var(--head-gap); }
.section-head h2 + .lead, .section-head h2 + p { margin-top: 20px; }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 62ch; }
.floor .lead { color: var(--muted-light); }
@media (min-width: 1200px) { .lead { font-size: 1.1875rem; } }
.section-head--split { display: grid; gap: 20px; max-width: none; }
@media (min-width: 1024px) { .section-head--split { grid-template-columns: 5fr 6fr; align-items: end; gap: 64px; } .section-head--split .lead { margin: 0; } }

/* parallelogram tag (guarantee label, step numbers) */
.tag { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 6px 18px 4px; font-family: var(--display); font-weight: 600; font-size: 1.2rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); line-height: 1.1; isolation: isolate; }
.tag::before { content: ''; position: absolute; inset: 0; background: var(--orange); transform: skewX(var(--skew)); border-radius: 2px; z-index: -1; }

/* ---------- buttons ---------- */
.btn { --bg: transparent; --fg: var(--white); position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 26px 10px; font-family: var(--display); font-weight: 600; font-size: 1.3rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1; text-decoration: none; color: var(--fg); border: 0; background: none; cursor: pointer; transition: color .2s var(--ease), transform .12s var(--ease); }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--bg); transform: skewX(var(--skew)); border-radius: 2px; transition: background-color .2s var(--ease), box-shadow .2s var(--ease); }
.btn .ic-arrow { width: 1.05em; height: 1.05em; transition: transform .2s var(--ease); }
.btn:hover .ic-arrow, .btn:focus-visible .ic-arrow { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn-primary { --bg: var(--orange); --fg: var(--ink); }
.btn-primary:hover { --bg: var(--orange-hi); }
.btn-primary:hover::before { box-shadow: 0 10px 28px rgba(255, 143, 28, .28); }
.btn-ghost { --fg: var(--white); }
.btn-ghost::before { border: 2px solid rgba(255, 255, 255, .85); }
.btn-ghost:hover::before { background: rgba(255, 255, 255, .1); border-color: var(--white); }
.btn-ghost .ic { color: var(--orange); }
.floor .btn-ghost { --fg: var(--text-light); }
.floor .btn-ghost::before { border-color: var(--text-light); }
.floor .btn-ghost .ic { color: var(--orange-ink); }
.btn-block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px 22px; }
@media (max-width: 479px) { .cta-row .btn { width: 100%; } }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 600; font-size: 1.2rem; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); text-decoration: none; line-height: 1; padding: 6px 0; }
.link-arrow .ic { width: 1.05em; height: 1.05em; transition: transform .2s var(--ease); }
.link-arrow:hover .ic, .link-arrow:focus-visible .ic { transform: translateX(4px); }
.floor .link-arrow { color: var(--orange-ink); }
.text-link { color: var(--orange); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.text-link:hover { text-decoration-thickness: 2px; }
.floor .text-link { color: var(--orange-ink); }

/* check list */
.checks { display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .ic { color: var(--orange); margin-top: .22em; width: 1.15em; height: 1.15em; }
.floor .checks .ic { color: var(--orange-ink); }

/* ================================================================== C1 header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(13, 14, 16, .97); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
/* compact state after scroll: the header keeps its height (it is sticky and in flow — a height change would shift the page); only the logo scales and a shadow appears */
.site-header { transition: box-shadow .25s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 10px 24px rgba(0, 0, 0, .35); }
.logo { display: block; flex: none; line-height: 0; }
.logo img { height: 40px; width: auto; transform-origin: left center; transition: transform .25s var(--ease); }
@media (min-width: 768px) { .logo img { height: 46px; } }
@media (min-width: 1200px) { .logo img { height: 54px; } .site-header.is-scrolled .logo img { transform: scale(.86); } }
.main-nav { display: none; margin-left: auto; }
.main-nav ul { display: flex; gap: 34px; }
.main-nav a { position: relative; display: block; padding: 10px 0 8px; font-family: var(--display); font-weight: 500; font-size: 1.25rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--white); line-height: 1; }
.main-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.main-nav a:hover::after, .main-nav a:focus-visible::after, .main-nav a.is-active::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.header-phone { display: none; align-items: center; gap: 10px; font-family: var(--display); font-weight: 500; font-size: 1.35rem; letter-spacing: .05em; text-decoration: none; color: var(--white); padding: 8px 4px; }
.header-phone .ic { color: var(--orange); width: 1.05em; height: 1.05em; }
.header-phone:hover { color: var(--orange-hi); }
.header-call { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--orange); color: var(--ink); }
.header-call .ic { width: 22px; height: 22px; }
.btn-header { display: none; min-height: 46px; font-size: 1.2rem; padding: 10px 22px 8px; }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; color: var(--white); cursor: pointer; }
.burger { position: relative; width: 22px; height: 14px; }
.burger i { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; transition: transform .25s var(--ease), opacity .2s; }
.burger i:nth-child(1) { top: 0; } .burger i:nth-child(2) { top: 6px; } .burger i:nth-child(3) { top: 12px; }
.menu-toggle[aria-expanded="true"] .burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .burger i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (min-width: 600px) { .btn-header { display: inline-flex; } }
@media (min-width: 1100px) {
  .main-nav { display: block; }
  .header-actions { margin-left: 28px; }
  .menu-toggle, .header-call { display: none; }
}
@media (min-width: 1360px) { .header-phone { display: inline-flex; } }

.menu-sheet { position: fixed; inset: var(--header-h) 0 0; z-index: 99; background: var(--graphite); overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid var(--line); }
.menu-sheet[hidden] { display: none; }
.menu-nav { display: flex; flex-direction: column; gap: 28px; min-height: 100%; padding: 28px var(--gutter) 40px; }
.menu-links li { border-bottom: 1px solid var(--line); }
.menu-links a { display: flex; align-items: center; justify-content: space-between; min-height: 60px; font-family: var(--display); font-weight: 600; font-size: 1.9rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--white); }
.menu-links a .ic { color: var(--orange); }
.menu-links a[aria-current="page"] { color: var(--orange); }
.menu-actions { display: grid; gap: 14px; margin-top: auto; }
.menu-contact { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 1rem; }
.menu-contact .ic { color: var(--orange); }
html.menu-open { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  /* menu items are readable and tappable from the first frame: the entrance only slides them, it never hides them */
  .menu-sheet:not([hidden]) .menu-links li { animation: sheet-in .24s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 30ms); }
  @keyframes sheet-in { from { transform: translateX(12px); } to { transform: none; } }
}

/* ================================================================== C2 vinkelhero + C14 sidhero */
.hero { position: relative; background: var(--ink); overflow: hidden; }
.hero-grid { display: grid; }
.hero-media { position: relative; order: -1; margin: 0 calc(-1 * var(--gutter)); height: 56vw; max-height: 380px; background: var(--orange); clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
.hero-media picture, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media picture { clip-path: polygon(0 0, 100% 0, 100% calc(86% - 6px), 0 calc(100% - 6px)); }
.hero-media--fasad img { object-position: 76% 40%; }
@media (min-width: 1024px) { .hero-media--fasad img { object-position: 96% 0; } } /* desktop loads the portrait crop fasad-hero: keep the whole AD sign in view from 1024 px */
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 14, 16, 0) 55%, rgba(13, 14, 16, .35)); pointer-events: none; }
.hero-media .curtain { position: absolute; inset: 0; z-index: 2; background: var(--ink); transform: scaleX(0); transform-origin: right center; pointer-events: none; }
.hero-copy { position: relative; z-index: 3; padding: 26px 0 56px; }
.hero-copy h1 { margin: 0; }
.hero-copy .hero-lead { margin: 22px 0 30px; font-size: 1.125rem; color: #D7DADF; max-width: 54ch; }
.hero .checks { margin-top: 30px; color: #E7E9EC; font-size: 1rem; grid-template-columns: 1fr; gap: 10px; }
.guarantee { position: absolute; left: 22px; bottom: 26px; z-index: 3; transform: rotate(-4deg); font-size: 1.05rem; padding: 7px 16px 5px; box-shadow: none; }
.guarantee::before { box-shadow: var(--shadow); }
.guarantee .ic { width: 1.1em; height: 1.1em; }
.crumbs { margin: 0 0 22px; font-size: .9375rem; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 4px; }
.crumbs li { display: inline-flex; align-items: center; gap: 4px; }
.crumbs a { color: var(--muted); text-decoration: none; padding: 6px 2px; }
.crumbs a:hover { color: var(--white); text-decoration: underline; }
.crumbs .ic { width: 14px; height: 14px; color: var(--orange); }
.crumbs [aria-current] { color: var(--white); }
@media (min-width: 640px) { .hero .checks { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); min-height: 660px; align-items: center; }
  .hero--page .hero-grid { min-height: 560px; }
  .hero-copy { grid-column: 1; grid-row: 1; padding: 96px 48px 96px 0; }
  .hero-media { order: 0; margin: 0; grid-column: 2; grid-row: 1; position: absolute; top: 0; bottom: 0; right: 0; width: 50vw; height: auto; max-height: none; clip-path: polygon(110px 0, 100% 0, 100% 100%, 0 100%); }
  .hero-media picture { clip-path: polygon(116px 0, 100% 0, 100% 100%, 6px 100%); }
  .hero-media::after { background: linear-gradient(90deg, rgba(13, 14, 16, .55) 0, rgba(13, 14, 16, 0) 38%); }
  .guarantee { left: auto; right: 56px; bottom: 48px; font-size: 1.2rem; padding: 9px 22px 7px; }
}
@media (min-width: 1200px) { .hero-copy { padding-right: 72px; } }
.hero--page .hero-copy h1 { font-size: clamp(2.5rem, 1.5rem + 3.6vw, 4.25rem); }
.hero--compact .hero-grid { min-height: 0; }
.hero--compact .hero-copy { padding: 56px 0 64px; max-width: 760px; }

/* ================================================================== C3 bevisband */
.proof { background: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-list { display: grid; grid-template-columns: 1fr 1fr; }
.proof-item { padding: 28px 16px 26px; border-left: 1px solid var(--line); }
.proof-item:nth-child(odd) { border-left: 0; padding-left: 0; }
.proof-item:nth-child(n+3) { border-top: 1px solid var(--line); }
.proof-value { display: block; font-family: var(--display); font-weight: 600; font-size: 2.6rem; line-height: .95; color: var(--orange); letter-spacing: .02em; }
.proof-value--sm { font-size: 1.75rem; line-height: 1.05; }
.proof-label { display: block; margin-top: 8px; font-family: var(--display); font-weight: 500; font-size: 1.2rem; letter-spacing: .08em; text-transform: uppercase; line-height: 1.1; }
.proof-note { display: block; margin-top: 6px; font-size: .9rem; color: var(--muted); line-height: 1.4; }
@media (min-width: 900px) {
  .proof-list { grid-template-columns: repeat(4, 1fr); }
  .proof-item { padding: 40px 32px 38px; border-left: 1px solid var(--line); border-top: 0 !important; }
  .proof-item:first-child { border-left: 0; padding-left: 0; }
  .proof-item:nth-child(odd):not(:first-child) { border-left: 1px solid var(--line); padding-left: 32px; }
  .proof-value { font-size: 3.4rem; }
  .proof-value--sm { font-size: 2.1rem; }
}

/* ================================================================== C4 huvudtjänstkort */
.svc-grid { display: grid; gap: 24px; }
@media (min-width: 720px) { .svc-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
@media (min-width: 1200px) { .svc-grid { gap: 32px; } }
.svc-card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.svc-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); border-radius: var(--radius) var(--radius) 0 0; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.svc-body { display: flex; flex-direction: column; flex: 1; padding: 0 26px 28px; }
.svc-icon { position: relative; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 52px; margin: -34px 0 18px; color: var(--ink); isolation: isolate; }
.svc-icon::before { content: ''; position: absolute; inset: 0; background: var(--orange); transform: skewX(var(--skew)); border-radius: 2px; z-index: -1; box-shadow: 0 8px 18px rgba(0, 0, 0, .35); }
.svc-icon .ic { width: 28px; height: 28px; }
.svc-card h3 { font-size: 2rem; }
.svc-card h3 a { text-decoration: none; color: inherit; }
.svc-card h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.svc-card p { margin: 12px 0 22px; color: var(--muted); }
.svc-card .link-arrow { margin-top: auto; }
@media (hover: hover) {
  .svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(255, 143, 28, .7); }
  .svc-card:hover .svc-media img { transform: scale(1.04); }
  .svc-card:hover .link-arrow .ic { transform: translateX(4px); }
}
.svc-card:focus-within { border-color: var(--orange); }
.svc-card:focus-within h3 a:focus-visible { outline: none; }
.svc-card:focus-within:has(a:focus-visible) { outline: 3px solid var(--orange); outline-offset: 3px; }

/* ================================================================== C5 tjänsteplattor */
.tiles-layout { display: grid; gap: 32px; }
@media (min-width: 1024px) { .tiles-layout { grid-template-columns: 4fr 8fr; gap: 64px; align-items: start; } .tiles-layout .section-head { margin: 0; position: sticky; top: calc(var(--header-h) + 32px); } }
.tiles { display: grid; gap: 14px; }
@media (min-width: 600px) { .tiles { grid-template-columns: 1fr 1fr; gap: 18px; } }
.tile { display: flex; gap: 16px; padding: 22px 22px 22px 20px; background: var(--white); border: 1px solid var(--floor-line); border-left: 4px solid var(--orange); border-radius: var(--radius); }
.tile .ic { width: 30px; height: 30px; color: var(--orange-ink); margin-top: 2px; }
.tile h3 { font-size: 1.5rem; color: var(--text-light); }
.tile p { margin: 6px 0 0; color: var(--muted-light); font-size: 1rem; line-height: 1.55; }
.graphite .tile, .ink .tile { background: var(--card); border-color: var(--line); border-left-color: var(--orange); }
.graphite .tile h3, .ink .tile h3 { color: var(--white); }
.graphite .tile p, .ink .tile p { color: var(--muted); }
.graphite .tile .ic, .ink .tile .ic { color: var(--orange); }
.tiles--four { gap: 16px; }
@media (min-width: 1100px) { .tiles--four { grid-template-columns: repeat(4, 1fr); } .tiles--four .tile { flex-direction: column; } }
.include-list { display: grid; gap: 12px 40px; }
@media (min-width: 720px) { .include-list { grid-template-columns: 1fr 1fr; } }
.include-list li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--floor-line); font-weight: 500; }
.include-list .ic { color: var(--orange-ink); margin-top: .2em; }

/* ================================================================== C6 berättelsesplit */
.story { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .story { grid-template-columns: 6fr 5fr; gap: 80px; } .story--flip .story-media { order: 2; } }
.story-media { position: relative; padding: 0 0 22% 0; }
.story-media .ph-main { position: relative; z-index: 1; width: 86%; }
.story-media .ph-main::before { content: ''; position: absolute; inset: 16px -16px -16px 16px; border: 2px solid var(--orange); border-radius: var(--radius); z-index: -1; }
.story-media .ph-main img, .story-media .ph-second img { border-radius: var(--radius); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.story-media .ph-second { position: absolute; right: 0; bottom: 0; z-index: 2; width: 52%; box-shadow: var(--shadow); border: 6px solid var(--ink); border-radius: 6px; }
.graphite .story-media .ph-second { border-color: var(--graphite); }
.story-media .ph-second img { aspect-ratio: 4 / 3; }
.story-media--single { padding: 0 16px 16px 0; }
.story-media--single .ph-main { width: 100%; }
.story-media--single .ph-main img { aspect-ratio: 4 / 5; max-height: 640px; }
.story-media--wide .ph-main img { aspect-ratio: 16 / 10; }
.story-copy h2 { margin-bottom: 24px; }
.story-copy p { color: #D2D5DA; }
.story-copy .checks { margin-top: 28px; }
.story-facts { display: grid; gap: 0; margin-top: 30px; border-top: 1px solid var(--line); }
.story-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.story-facts dt { color: var(--muted); }
.story-facts dd { margin: 0; font-weight: 500; text-align: right; }
.story-manager { margin-top: 26px; font-family: var(--display); font-size: 1.45rem; letter-spacing: .04em; text-transform: uppercase; color: var(--orange); line-height: 1.15; }

/* ================================================================== C7 löfteskort */
.promise-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .promise-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .promise-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } .promise-grid--four { grid-template-columns: repeat(4, 1fr); } }
.promise { position: relative; padding: 24px 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .25s var(--ease), transform .25s var(--ease); }
.promise::after { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--orange); transform: scaleX(.18); transform-origin: left; transition: transform .35s var(--ease); }
@media (hover: hover) { .promise:hover { border-color: #3d424a; transform: translateY(-2px); } .promise:hover::after { transform: scaleX(1); } }
.promise .ic { width: 34px; height: 34px; color: var(--orange); margin-bottom: 14px; }
@media (min-width: 1024px) { .promise { padding: 30px 28px; } .promise .ic { width: 38px; height: 38px; margin-bottom: 18px; } }
@media (max-width: 639px) { .promise { display: grid; grid-template-columns: 34px 1fr; column-gap: 16px; } .promise .ic { margin: 2px 0 0; grid-row: span 2; } .promise h3 { font-size: 1.45rem; } .promise p { margin-top: 6px; } }
.promise h3 { font-size: 1.65rem; }
.promise p { margin: 10px 0 0; color: var(--muted); font-size: 1rem; }
.awards { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 28px; margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--line); }
.awards ul { display: flex; gap: 18px; }
.awards li img { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; box-shadow: 0 10px 24px rgba(0, 0, 0, .35); }
.awards p { margin: 0; color: var(--muted); max-width: 40ch; }
@media (min-width: 1024px) { .awards li img { width: 120px; height: 120px; } }

/* ================================================================== C8 processräls */
.rail { position: relative; display: grid; gap: 28px; counter-reset: step; }
.rail::before, .rail::after { content: ''; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 3px; }
.rail::before { background: var(--floor-line); }
.rail::after { background: var(--orange); transform-origin: top; transform: scaleY(1); }
.ink .rail::before, .graphite .rail::before { background: var(--line); }
.rail li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 18px; }
.step-num { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 40px; font-family: var(--display); font-weight: 600; font-size: 1.35rem; color: var(--ink); isolation: isolate; }
.step-num::before { content: ''; position: absolute; inset: 0; background: var(--orange); transform: skewX(var(--skew)); border-radius: 2px; z-index: -1; }
.rail h3 { font-size: 1.6rem; margin-top: 6px; }
.rail p { margin: 8px 0 0; color: var(--muted-light); }
.ink .rail p, .graphite .rail p { color: var(--muted); }
@media (min-width: 900px) {
  .rail { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .rail::before, .rail::after { left: 0; right: 0; top: 19px; bottom: auto; width: auto; height: 3px; }
  .rail::after { transform-origin: left; transform: scaleX(1); }
  .rail li { grid-template-columns: 1fr; gap: 20px; }
}

/* ================================================================== C9 ortskort */
.town-grid { display: grid; gap: 18px; }
@media (min-width: 720px) { .town-grid { grid-template-columns: 1fr 1fr; } .town-grid .town-card:first-child { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .town-grid--home { grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: auto auto; } .town-grid--home .town-card:first-child { grid-column: 1; grid-row: 1 / span 2; } }
.town-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 240px; overflow: hidden; border-radius: var(--radius); background: var(--card); isolation: isolate; }
.town-card > picture { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.town-card picture img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.town-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 14, 16, .12) 0%, rgba(13, 14, 16, .6) 42%, rgba(13, 14, 16, .93) 82%); }
.town-body { padding: 26px 24px 22px; }
.town-card h3 { font-size: 2.4rem; }
.town-card h3 a { color: var(--white); text-decoration: none; }
.town-card h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.town-card p { margin: 8px 0 0; color: #DADDE1; max-width: 44ch; }
.town-card .town-go { display: inline-flex; margin-top: 14px; color: var(--orange); }
.town-card .town-go .ic { width: 1.4em; height: 1.4em; transition: transform .2s var(--ease); }
.credit { position: relative; z-index: 3; margin: 0; padding: 0 24px 14px; font-size: .75rem; color: #AEB3BA; line-height: 1.35; }
.credit a { color: inherit; }
@media (min-width: 720px) { .town-card { min-height: 300px; } }
@media (min-width: 1100px) { .town-grid--home .town-card:first-child { min-height: 620px; } .town-grid--home .town-card:first-child h3 { font-size: 3.2rem; } }
@media (hover: hover) { .town-card:hover picture img { transform: scale(1.04); } .town-card:hover .town-go .ic { transform: translateX(4px); } }
.town-card:has(h3 a:focus-visible) { outline: 3px solid var(--orange); outline-offset: 3px; }
.town-card h3 a:focus-visible { outline: none; }
.town-links { position: relative; z-index: 3; display: grid; gap: 2px; margin-top: 16px; }
.town-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; background: rgba(13, 14, 16, .72); border: 1px solid rgba(255, 255, 255, .14); border-radius: 2px; color: var(--white); text-decoration: none; font-weight: 500; transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.town-links a .ic { color: var(--orange); transition: transform .2s var(--ease); }
.town-links a:hover { background: rgba(255, 143, 28, .16); border-color: var(--orange); }
.town-links a:hover .ic { transform: translateX(3px); }
.town-grid--hub .town-card { min-height: 0; justify-content: flex-start; background: var(--card); border: 1px solid var(--line); }
.town-grid--hub .town-card::before { display: none; }
.town-grid--hub .town-card > picture { position: relative; z-index: 0; display: block; aspect-ratio: 16 / 9; height: auto; overflow: hidden; }
.town-grid--hub .town-card h3 a::after { display: none; }
.town-grid--hub .town-body { padding: 26px 24px 8px; }
.town-grid--hub .town-card p { color: #D2D5DA; }
.town-grid--hub .credit { order: 1; padding: 8px 24px 0; color: var(--muted); }
.town-grid--hub .town-body { order: 2; }
.town-grid--hub .town-links a { background: var(--ink); border-color: var(--line); }
.town-grid--hub .town-body { padding-bottom: 26px; }
@media (min-width: 1100px) {
  .town-grid--hub .town-card:first-child { display: grid; grid-template-columns: 7fr 5fr; grid-template-rows: auto auto; }
  .town-grid--hub .town-card:first-child > picture { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: auto; height: 100%; min-height: 440px; }
  .town-grid--hub .town-card:first-child .town-body { grid-column: 2; padding: 36px 36px 26px; }
  .town-grid--hub .town-card:first-child .credit { grid-column: 1; grid-row: 2; align-self: end; position: relative; z-index: 2; padding: 10px 16px; background: rgba(13, 14, 16, .75); justify-self: start; }
  .town-grid--hub .town-card:first-child h3 { font-size: 3rem; }
}

/* single town media (matrix pages) */
.town-feature { display: grid; gap: 0; align-items: stretch; }
.town-feature figure { margin: 0; position: relative; }
.town-feature picture img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.town-feature figcaption { margin-top: 10px; font-size: .78rem; color: var(--muted); }
.town-feature figcaption a { color: inherit; }
.town-panel { position: relative; z-index: 2; margin: 18px 0 0; padding: 30px 26px; background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--orange); border-radius: var(--radius); box-shadow: var(--shadow); }
.town-panel h2 { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.75rem); margin-bottom: 16px; }
.town-panel p { color: #D2D5DA; }
.town-panel .link-arrow { margin-top: 18px; }
@media (min-width: 1024px) { .town-feature { grid-template-columns: 7fr 5fr; align-items: center; } .town-panel { margin: 0 0 0 -72px; padding: 44px 40px; } }

/* ================================================================== C10 omdömeskort + C16 citatlyft */
.rating-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.rating-pill { display: inline-flex; align-items: baseline; gap: 10px; padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); text-decoration: none; color: var(--white); transition: border-color .2s var(--ease); }
.rating-pill strong { font-family: var(--display); font-size: 1.9rem; color: var(--orange); line-height: 1; }
.rating-pill span { color: var(--muted); font-size: .95rem; }
.rating-pill:hover { border-color: var(--orange); }
.review-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .review-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.review { display: flex; flex-direction: column; padding: 30px 28px 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.review .ic-quote { width: 34px; height: 34px; color: var(--orange); margin-bottom: 16px; }
.stars { display: flex; gap: 3px; color: var(--orange); margin-bottom: 14px; }
.stars .ic { width: 18px; height: 18px; }
.review blockquote { margin: 0 0 22px; font-size: 1.0625rem; color: #E3E5E8; }
.review blockquote p { margin: 0; }
.review-by { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: .95rem; color: var(--muted); }
.review-by strong { display: block; color: var(--white); font-weight: 500; }
.review-by a { color: var(--muted); }
.quote-lift { position: relative; max-width: 980px; margin: 0 auto; padding-left: 0; }
.quote-lift .ic-quote { width: 54px; height: 54px; color: var(--orange); margin-bottom: 18px; }
.quote-lift blockquote { margin: 0; font-family: var(--body); font-weight: 500; font-size: clamp(1.35rem, 1.05rem + 1.2vw, 2rem); line-height: 1.4; color: var(--white); }
.quote-lift blockquote p { margin: 0; }
.quote-lift .review-by { border: 0; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; }
.quote-lift .review-by strong { display: inline; font-family: var(--display); font-size: 1.4rem; letter-spacing: .05em; text-transform: uppercase; }
@media (min-width: 1024px) { .quote-lift { padding-left: 96px; } .quote-lift .ic-quote { position: absolute; left: 0; top: 0; } }

/* ================================================================== C11 FAQ */
.faq-layout { display: grid; gap: 32px; }
@media (min-width: 1024px) { .faq-layout { grid-template-columns: 4fr 8fr; gap: 64px; } .faq-layout .section-head { margin: 0; } }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 64px; padding: 18px 4px 18px 0; cursor: pointer; list-style: none; font-weight: 500; font-size: 1.125rem; line-height: 1.4; color: var(--white); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: ''; position: absolute; left: -18px; top: 14px; bottom: 14px; width: 4px; background: var(--orange); transform: scaleY(0); transition: transform .25s var(--ease); }
.faq-item summary .ic { width: 26px; height: 26px; flex: none; color: var(--orange); transition: transform .25s var(--ease); }
.faq-item[open] summary .ic { transform: rotate(45deg); }
.faq-item[open] summary::before { transform: scaleY(1); }
.faq-item summary:hover { color: var(--orange-hi); }
.faq-answer { padding: 0 44px 24px 0; color: #D2D5DA; }
.faq-answer p { margin: 0; }
@media (min-width: 1024px) { .faq-item summary::before { left: -22px; } }

/* ================================================================== C12 kontaktblock + form */
.contact { background: var(--graphite); }
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; } }
.contact-info h2 { margin-bottom: 20px; }
.contact-info > p { color: #D2D5DA; }
.contact-ways { display: grid; gap: 4px; margin-top: 30px; }
.contact-ways li { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.way-ic { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; flex: none; border: 1px solid var(--line); border-radius: 50%; color: var(--orange); }
.way-ic .ic { width: 22px; height: 22px; }
.contact-ways a { color: var(--white); text-decoration: none; }
.contact-ways a:hover { color: var(--orange-hi); text-decoration: underline; }
.contact-ways .big { font-family: var(--display); font-weight: 600; font-size: 2rem; letter-spacing: .03em; line-height: 1; }
.contact-ways small { display: block; color: var(--muted); font-size: .9rem; }
.contact-photo { margin-top: 30px; }
.contact-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.form-card { position: relative; padding: 30px 22px; background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--orange); border-radius: var(--radius); }
@media (min-width: 640px) { .form-card { padding: 40px 36px; } }
.form-title { font-size: 2rem; margin-bottom: 8px; }
.form-intro { color: var(--muted); margin-bottom: 26px; }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; gap: 20px 22px; } .field--wide { grid-column: 1 / -1; } }
.field label { display: block; margin-bottom: 8px; font-weight: 500; font-size: 1rem; color: var(--white); }
.field .req { color: var(--orange); }
.field .opt { color: var(--muted); font-weight: 400; font-size: .9rem; }
.field input:not([type="checkbox"]), .field select, .field textarea { width: 100%; min-height: 52px; padding: 13px 14px; font: inherit; font-size: 1rem; color: var(--white); background: var(--ink); border: 1px solid #3A3F46; border-radius: var(--radius); transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23FF8F1C' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #80868F; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #565c65; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 143, 28, .28); }
.field [aria-invalid="true"] { border-color: #FF6B6B; box-shadow: 0 0 0 3px rgba(255, 107, 107, .2); }
.field-error { display: block; min-height: 0; margin-top: 6px; color: #FF9B9B; font-size: .9rem; }
.field-error:empty { display: none; }
.field .consent { display: flex; margin: 0; font-weight: 400; gap: 14px; align-items: flex-start; cursor: pointer; font-size: .95rem; color: #D2D5DA; line-height: 1.5; }
.consent input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; }
.consent-box { position: relative; flex: none; width: 24px; height: 24px; margin-top: 1px; border: 2px solid #5B616A; border-radius: 3px; background: var(--ink); transition: background-color .15s, border-color .15s; }
.consent input:checked + .consent-box { background: var(--orange); border-color: var(--orange); }
.consent input:checked + .consent-box::after { content: ''; position: absolute; left: 6px; top: 1px; width: 7px; height: 13px; border: solid var(--ink); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.consent input:focus-visible + .consent-box { outline: 3px solid var(--orange); outline-offset: 2px; }
.consent input[aria-invalid="true"] + .consent-box { border-color: #FF6B6B; }
.consent a { color: var(--orange); }
.btn-submit { margin-top: 26px; }
.lead-form[data-sending="true"] .btn-submit { opacity: .75; pointer-events: none; }
.form-status { margin: 18px 0 0; padding: 14px 16px; border-radius: var(--radius); font-weight: 500; }
.form-status--ok { background: rgba(102, 205, 128, .14); border: 1px solid #66CD80; color: #CFF3D8; }
.form-status--error { background: rgba(255, 107, 107, .12); border: 1px solid #FF6B6B; color: #FFD6D6; }
.form-status--info { background: rgba(255, 143, 28, .12); border: 1px solid var(--orange); color: #FFE2C2; }
.form-note { margin: 14px 0 0; color: var(--muted); font-size: .875rem; }

/* ================================================================== C13 footer */
.site-footer { position: relative; background: var(--ink); color: var(--muted); font-size: 1rem; }
.checker { height: 10px; background: repeating-conic-gradient(var(--orange) 0 25%, var(--ink) 0 50%) 0 0 / 20px 20px; }
.footer-grid { display: grid; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 56px; padding-top: 88px; } }
.footer-brand .logo img { height: 64px; }
.footer-brand p { margin-top: 20px; max-width: 34ch; }
.footer-h { font-family: var(--display); font-weight: 600; font-size: 1.45rem; letter-spacing: .1em; color: var(--white); margin-bottom: 16px; }
.footer-links li + li { margin-top: 4px; }
.footer-links a, .footer-contact a { display: inline-block; padding: 6px 0; color: var(--muted); text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { color: var(--orange-hi); text-decoration: underline; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; padding: 6px 0; }
.footer-contact .ic { color: var(--orange); margin-top: .35em; width: 1.1em; height: 1.1em; }
.footer-contact li > span, .footer-contact li > a { padding: 0; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.social { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--white); overflow: hidden; isolation: isolate; transition: border-color .2s var(--ease), color .2s var(--ease); }
.social::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.social .ic { width: 22px; height: 22px; transition: transform .25s var(--ease); }
.social:hover, .social:focus-visible { color: var(--ink); border-color: var(--orange); }
.social:hover::before, .social:focus-visible::before { transform: scaleX(1); }
.social:hover .ic, .social:focus-visible .ic { transform: translate(2px, -2px); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid var(--line); font-size: .9rem; }
.footer-legal p { margin: 0; }
.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: var(--orange-hi); }

/* ================================================================== C15 relaterat-band */
.related { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 1100px) { .related { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; } .related a { min-height: 128px; } }
.related a { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; min-height: 96px; padding: 22px 22px 18px; background: var(--white); border: 1px solid var(--floor-line); border-radius: var(--radius); text-decoration: none; color: var(--text-light); transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.related h3 { font-size: 1.6rem; }
.related .ic { width: 26px; height: 26px; color: var(--orange-ink); transition: transform .2s var(--ease); }
@media (hover: hover) { .related a:hover { border-color: var(--orange); transform: translateY(-3px); box-shadow: 0 12px 26px rgba(22, 24, 27, .12); } .related a:hover .ic { transform: translateX(4px); } }

/* ---------- policy text ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.5rem); margin: 48px 0 16px; }
.prose h3 { font-size: 1.5rem; margin: 32px 0 12px; }
/* only the opening heading sits flush — every generated policy section wraps its own h2 */
.prose > h2:first-child, .prose > section:first-child > h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted-light); }
.prose ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; }
.prose a { color: var(--orange-ink); }
.policy-layout { display: grid; gap: 40px; }
@media (min-width: 1024px) { .policy-layout { grid-template-columns: 8fr 4fr; gap: 64px; align-items: start; } .policy-layout .tile { position: sticky; top: calc(var(--header-h) + 32px); } }

/* ---------- 404 ---------- */
.nf { min-height: 60vh; display: flex; align-items: center; }

/* ================================================================== motion: one-shot reveals (skill motion-quality) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .stagger > .reveal:nth-child(2) { transition-delay: 70ms; }
.js .stagger > .reveal:nth-child(3) { transition-delay: 140ms; }
.js .stagger > .reveal:nth-child(4) { transition-delay: 210ms; }
.js .stagger > .reveal:nth-child(5) { transition-delay: 280ms; }
.js .stagger > .reveal:nth-child(6) { transition-delay: 350ms; }
/* hero: copy staggers in and the photo is uncovered from the ideal line, once */
.js .hero-in { opacity: 0; transform: translateY(14px); transition: opacity .42s var(--ease), transform .42s var(--ease); }
.js .hero-in:nth-child(2) { transition-delay: 80ms; } .js .hero-in:nth-child(3) { transition-delay: 160ms; } .js .hero-in:nth-child(4) { transition-delay: 240ms; } .js .hero-in:nth-child(5) { transition-delay: 300ms; } .js .hero-in:nth-child(6) { transition-delay: 360ms; }
.js .hero.is-visible .hero-in { opacity: 1; transform: none; }
.js .hero-media .curtain { transform: scaleX(1); transition: transform .8s var(--ease) .1s; }
.js .hero.is-visible .hero-media .curtain { transform: scaleX(0); }
.js .guarantee { opacity: 0; transform: rotate(-4deg) translateY(12px); transition: opacity .4s var(--ease) .65s, transform .4s var(--ease) .65s; }
.js .hero.is-visible .guarantee { opacity: 1; transform: rotate(-4deg); }
/* process rail: the orange line fills once when the section is seen */
.js .rail.reveal { opacity: 1; transform: none; }
.js .rail.reveal::after { transform: scaleY(0); transition: transform 1.1s var(--ease) .15s; }
.js .rail.reveal.is-visible::after { transform: scaleY(1); }
@media (min-width: 900px) { .js .rail.reveal::after { transform: scaleX(0); } .js .rail.reveal.is-visible::after { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal.is-visible, .js .hero-in, .js .guarantee { opacity: 1; transform: none; transition: none; }
  .js .guarantee { transform: rotate(-4deg); }
  .js .hero-media .curtain { transform: scaleX(0); transition: none; }
  .js .rail.reveal::after { transform: none; transition: none; }
  .btn, .btn::before, .btn .ic-arrow, .link-arrow .ic, .svc-card, .svc-media img, .town-card picture img, .promise, .promise::after, .social, .social::before, .social .ic, .related a, .related .ic, .faq-item summary .ic, .faq-item summary::before, .main-nav a::after, .header-inner, .logo img { transition: none !important; }
  .svc-card:hover, .promise:hover, .related a:hover { transform: none; }
  .svc-card:hover .svc-media img, .town-card:hover picture img { transform: none; }
  .social:hover .ic, .social:focus-visible .ic { transform: none; }
}
@media print { .site-header, .menu-sheet, .contact form, .checker { display: none !important; } body { background: #fff; color: #000; } }
