/* Kjærbyg ApS — redesign concept */
:root {
  --ink: #141614;
  --ink-2: #222622;
  --text: #474c46;
  --muted: #6b7069;
  --paper: #f5f4ef;
  --paper-2: #ecebe4;
  --white: #fff;
  --line: #e2e0d8;
  --line-dark: rgba(255, 255, 255, .12);
  --lime: #83d608;
  --lime-soft: #eef8de;
  --lime-deep: #4d7d00;
  --radius: 18px;
  --radius-sm: 12px;
  --wrap: 1240px;
  --head: "Archivo", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --shadow: 0 1px 2px rgba(20, 22, 20, .04), 0 12px 32px -12px rgba(20, 22, 20, .16);
  --shadow-lg: 0 2px 4px rgba(20, 22, 20, .04), 0 28px 60px -20px rgba(20, 22, 20, .28);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font: 400 17px/1.65 var(--body);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--head);
  font-variation-settings: "wdth" 112;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.02em;
  line-height: 1.06;
}
h1 { font-size: clamp(40px, 4.9vw, 70px); line-height: .98; letter-spacing: -.035em; }
h2 { font-size: clamp(32px, 3.9vw, 54px); letter-spacing: -.03em; }
h3 { font-size: 22px; line-height: 1.2; }
h4 { font-size: 18px; line-height: 1.25; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--lime-deep); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--ink); color: rgba(255, 255, 255, .72); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Eyebrow with the roof mark from the logo */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 22px;
}
.eyebrow svg { width: 22px; height: 13px; color: var(--lime); flex: none; }
.section--dark .eyebrow, .contact-info .eyebrow { color: rgba(255, 255, 255, .85); }
.lead { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.6; color: var(--text); }
.section--dark .lead { color: rgba(255, 255, 255, .72); }
.hl { position: relative; white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: .06em; height: .2em;
  background: var(--lime); z-index: -1; border-radius: 3px;
  transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease) .5s;
}
.hl { z-index: 0; display: inline-block; }
.is-in .hl::after, .hl.is-in::after, .loaded .hero .hl::after { transform: scaleX(1); }

/* Buttons */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 12px;
  height: 56px; padding: 0 12px 0 26px; border-radius: 999px;
  font: 600 16px/1 var(--body); letter-spacing: -.005em;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: color .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn .bi {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none;
  transition: background .45s var(--ease), color .45s var(--ease);
  overflow: hidden;
}
.btn .bi svg { width: 16px; height: 16px; transition: transform .45s var(--ease); }
.btn:hover .bi svg { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime .bi { background: var(--ink); color: var(--lime); }
.btn--lime::before { background: var(--ink); }
.btn--lime:hover { color: var(--white); }
.btn--lime:hover .bi { background: var(--lime); color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink .bi { background: var(--lime); color: var(--ink); }
.btn--ink::before { background: var(--lime); }
.btn--ink:hover { color: var(--ink); }
.btn--ink:hover .bi { background: var(--ink); color: var(--lime); }
.btn--line { border-color: var(--line); color: var(--ink); background: var(--white); padding: 0 24px; }
.btn--line::before { background: var(--ink); }
.btn--line:hover { color: var(--white); border-color: var(--ink); }
.btn--line .bi { width: auto; height: auto; }
.btn--line .bi svg { width: 18px; height: 18px; }
.btn--line:hover .bi svg { transform: rotate(-12deg); }
.section--dark .btn--line { background: transparent; border-color: rgba(255, 255, 255, .22); color: #fff; }
.section--dark .btn--line::before { background: var(--white); }
.section--dark .btn--line:hover { color: var(--ink); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink);
  background: linear-gradient(var(--lime), var(--lime)) left bottom / 0 2px no-repeat;
  padding-bottom: 4px; transition: background-size .5s var(--ease);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .45s var(--ease); }
.link-arrow:hover { background-size: 100% 2px; }
.link-arrow:hover svg { transform: translateX(4px); }
.section--dark .link-arrow { color: #fff; }

/* Topbar + header */
.topbar { background: var(--ink); color: rgba(255, 255, 255, .7); font-size: 13.5px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 42px; gap: 24px; }
.topbar ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.topbar li { display: flex; align-items: center; gap: 8px; }
.topbar svg { width: 15px; height: 15px; color: var(--lime); }
.topbar a { transition: color .3s; }
.topbar a:hover { color: var(--lime); }

.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: transform .55s var(--ease), border-color .4s, box-shadow .4s;
}
.header.scrolled { border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(0, 0, 0, .4); }
.header.hidden { transform: translateY(-100%); }
.header .wrap { display: flex; align-items: center; gap: 40px; height: 88px; transition: height .45s var(--ease); }
.header.scrolled .wrap { height: 74px; }
.logo { display: block; flex: none; }
.logo img { height: 60px; width: auto; transition: height .45s var(--ease), transform .45s var(--ease); }
.header.scrolled .logo img { height: 50px; }
.logo:hover img { transform: translateY(-2px); }
.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav > a, .nav .dd > button {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; font-weight: 500; font-size: 15.5px; color: var(--ink);
  background: none; border: 0; cursor: pointer;
}
.nav > a::after, .nav .dd > button::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--lime);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav > a:hover::after, .nav .dd:hover > button::after, .nav > a[aria-current]::after, .nav .dd.active > button::after { transform: scaleX(1); transform-origin: left; }
.nav .dd > button svg { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.dd { position: relative; }
.dd:hover > button svg, .dd:focus-within > button svg { transform: rotate(180deg); }
.dd-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; width: 560px; padding: 12px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px);
  transition: opacity .35s var(--ease), transform .45s var(--ease), visibility .35s;
}
.dd-menu::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dd-menu a { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 12px; transition: background .3s; }
.dd-menu a:hover, .dd-menu a[aria-current] { background: var(--paper); }
.dd-menu .di { width: 42px; height: 42px; border-radius: 11px; background: var(--paper); display: grid; place-items: center; flex: none; transition: background .3s, color .3s; color: var(--ink); }
.dd-menu a:hover .di { background: var(--lime); }
.dd-menu .di svg { width: 22px; height: 22px; }
.dd-menu strong { display: block; color: var(--ink); font-size: 15px; font-weight: 600; }
.dd-menu small { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; }
.head-cta { display: flex; align-items: center; gap: 22px; }
.head-phone { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.head-phone .pi { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: background .4s var(--ease), border-color .4s; }
.head-phone .pi svg { width: 18px; height: 18px; }
.head-phone:hover .pi { background: var(--lime); border-color: var(--lime); }
.head-phone small { display: block; font-size: 12px; color: var(--muted); line-height: 1.2; }
.head-phone strong { display: block; font-size: 16px; font-weight: 700; letter-spacing: .01em; }
.header .btn { height: 50px; }
.header .btn .bi { width: 30px; height: 30px; }
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white); cursor: pointer; position: relative; margin-left: auto; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .45s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 23px; }
.burger span:nth-child(3) { top: 28px; }
.menu-open .burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mmenu {
  position: fixed; inset: 0; z-index: 45; background: var(--white); padding: 120px 24px 32px;
  display: flex; flex-direction: column; overflow-y: auto;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-io); visibility: hidden;
}
.menu-open .mmenu { clip-path: inset(0 0 0 0); visibility: visible; }
.mmenu nav { display: flex; flex-direction: column; }
.mmenu nav a {
  font: 700 30px/1.15 var(--head); font-variation-settings: "wdth" 112; color: var(--ink); letter-spacing: -.02em;
  padding: 12px 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .6s var(--ease), color .3s;
}
.mmenu nav a.sub { font: 500 17px/1.3 var(--body); padding: 10px 0 10px 16px; color: var(--text); }
.mmenu nav a:hover { color: var(--lime-deep); }
.menu-open .mmenu nav a { opacity: 1; transform: none; transition-delay: calc(.2s + var(--i) * .04s); }
.mmenu .mm-foot { margin-top: auto; padding-top: 28px; display: grid; gap: 12px; }
.mmenu .btn { justify-content: space-between; }
.menu-open { overflow: hidden; }

/* Hero */
.hero { position: relative; padding: clamp(48px, 6vw, 88px) 0 clamp(72px, 8vw, 120px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 0 auto; width: 46%; background: var(--paper); z-index: -1;
  border-bottom-left-radius: 40px;
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { margin-bottom: 28px; }
.hero h1 .accent { color: var(--lime-deep); }
.hero .lead { max-width: 540px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.hero-trust { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line); max-width: 600px; }
.hero-trust .garanti { display: flex; align-items: center; gap: 14px; }
.hero-trust .garanti img { width: 56px; height: 56px; border-radius: 50%; object-fit: contain; transition: transform .6s var(--ease); }
.hero-trust .garanti:hover img { transform: rotate(-8deg) scale(1.06); }
.hero-trust strong { display: block; color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.3; }
.hero-trust small { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.hero-trust .sep { width: 1px; height: 40px; background: var(--line); }

.house { position: relative; }
.house-img {
  position: relative; aspect-ratio: 4 / 4.5; overflow: hidden;
  clip-path: polygon(50% 0, 100% 24%, 100% 100%, 0 100%, 0 24%);
  background: var(--paper-2);
}
.house-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); }
.house-roof { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.house-roof path { fill: none; stroke: var(--ink); stroke-width: 13; stroke-linecap: butt; stroke-linejoin: miter; }
.house-card {
  position: absolute; background: var(--white); border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 16px 20px; display: flex; align-items: center; gap: 14px;
  transition: transform .6s var(--ease);
}
.house-card:hover { transform: translateY(-4px); }
.house-card .hc-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--lime); display: grid; place-items: center; color: var(--ink); flex: none; }
.house-card .hc-ic svg { width: 22px; height: 22px; }
.house-card strong { display: block; font: 700 22px/1.1 var(--head); font-variation-settings: "wdth" 112; color: var(--ink); }
.house-card small { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.house-card--a { left: -34px; bottom: 56px; }
.house-card--b { right: -18px; bottom: -26px; }

/* Load animations for hero */
.js :is(.hero, .phero) [data-load] { opacity: 0; transform: translateY(26px); }
.js.loaded :is(.hero, .phero) [data-load] { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 1s); }
.js .house-img { clip-path: polygon(50% 100%, 100% 100%, 100% 100%, 0 100%, 0 100%); }
.js.loaded .house-img { clip-path: polygon(50% 0, 100% 24%, 100% 100%, 0 100%, 0 24%); transition: clip-path 1.5s var(--ease-io) .25s; }
.js .house-img img { transform: scale(1.3); }
.js.loaded .house-img img { transform: scale(1.14); transition: transform 2s var(--ease) .25s; }
.js .house-roof path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js.loaded .house-roof path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.3s var(--ease-io) 1.2s; }
.js.loaded .house-roof .r2 { transition-delay: 1.45s; }
.js .house-card { opacity: 0; translate: 0 20px; }
.js.loaded .house-card { opacity: 1; translate: 0 0; transition: opacity .8s var(--ease) 1.6s, translate .9s var(--ease) 1.6s, transform .6s var(--ease); }
.js.loaded .house-card--b { transition-delay: 1.8s, 1.8s, 0s; }

/* Word split reveal */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--wi) * .045s + var(--sd, 0s)); }
.split.is-in .w > span, .loaded .hero .split .w > span { transform: none; }
.no-js .split .w > span { transform: none; }

/* Stats */
.stats { border-block: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 40px 32px; border-left: 1px solid var(--line); position: relative; transition: background .5s var(--ease); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat:hover { background: var(--paper); }
.stat:first-child:hover { background: none; }
.stat .num { font: 700 clamp(40px, 4.4vw, 60px)/1 var(--head); font-variation-settings: "wdth" 112; color: var(--ink); letter-spacing: -.03em; display: flex; align-items: baseline; gap: 2px; }
.stat .num em { font-style: normal; color: var(--lime-deep); font-size: .62em; }
.stat p { margin: 10px 0 0; font-size: 15px; color: var(--muted); line-height: 1.45; }

/* Intro */
.intro-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.intro-media { position: relative; }
.frame { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame [data-parallax] { transform: scale(1.15); will-change: transform; }
.intro-media .frame { aspect-ratio: 4 / 5; }
.intro-media .tag {
  position: absolute; right: 24px; top: 24px; background: rgba(20, 22, 20, .72); color: #fff;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 10px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 500; display: flex; gap: 8px; align-items: center;
}
.intro-media .tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(131, 214, 8, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(131, 214, 8, 0); } 100% { box-shadow: 0 0 0 0 rgba(131, 214, 8, 0); } }
.intro-copy h2 { margin-bottom: 26px; }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 40px 0 36px; }
.mv-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color .5s var(--ease), transform .6s var(--ease), box-shadow .6s var(--ease); }
.mv-card:hover { border-color: var(--lime); transform: translateY(-6px); box-shadow: var(--shadow); }
.mv-card .ic { width: 48px; height: 48px; border-radius: 13px; background: var(--lime-soft); color: var(--lime-deep); display: grid; place-items: center; margin-bottom: 20px; transition: background .5s var(--ease), color .5s, transform .6s var(--ease); }
.mv-card:hover .ic { background: var(--lime); color: var(--ink); transform: rotate(-6deg); }
.mv-card .ic svg { width: 24px; height: 24px; }
.mv-card h3 { font-size: 19px; margin-bottom: 10px; }
.mv-card p { font-size: 15.5px; line-height: 1.6; }

/* Section heads */
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: clamp(44px, 5vw, 68px); }
.sec-head h2 { max-width: 720px; }
.sec-head p { max-width: 420px; margin: 0; }
.sec-head--center { flex-direction: column; align-items: center; text-align: center; }
.sec-head--center p { max-width: 600px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc {
  position: relative; display: flex; flex-direction: column; background: var(--white);
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  transition: transform .7s var(--ease), box-shadow .7s var(--ease), border-color .5s;
}
.svc:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-img { aspect-ratio: 16 / 11; overflow: hidden; position: relative; background: var(--paper-2); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc:hover .svc-img img { transform: scale(1.07); }
.svc-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(20, 22, 20, .35)); opacity: 0; transition: opacity .6s; }
.svc:hover .svc-img::after { opacity: 1; }
.svc-ic {
  position: absolute; left: 22px; top: -28px; z-index: 2; width: 56px; height: 56px; border-radius: 15px;
  background: var(--white); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow);
  transition: background .5s var(--ease), transform .6s var(--ease);
}
.svc-ic svg { width: 26px; height: 26px; }
.svc:hover .svc-ic { background: var(--lime); transform: translateY(-4px) rotate(-4deg); }
.svc-body { padding: 44px 26px 26px; display: flex; flex-direction: column; flex: 1; position: relative; }
.svc-num { position: absolute; right: 24px; top: 20px; font: 600 13px/1 var(--body); color: var(--muted); letter-spacing: .08em; }
.svc h3 { margin-bottom: 10px; }
.svc p { font-size: 15.5px; line-height: 1.6; margin-bottom: 22px; }
.svc .more { margin-top: auto; display: flex; align-items: center; justify-content: space-between; font-weight: 600; color: var(--ink); font-size: 15px; padding-top: 18px; border-top: 1px solid var(--line); }
.svc .more .ar { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: background .5s var(--ease), border-color .5s, transform .6s var(--ease); }
.svc .more .ar svg { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.svc:hover .more .ar { background: var(--ink); border-color: var(--ink); color: var(--lime); }
.svc:hover .more .ar svg { transform: rotate(-45deg); }

/* Feature (dark) */
.feature { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.feature .frame { aspect-ratio: 5 / 4; border-radius: 22px; }
.feature .badge {
  position: absolute; left: 24px; bottom: 24px; display: flex; align-items: center; gap: 12px;
  background: var(--lime); color: var(--ink); padding: 12px 18px 12px 12px; border-radius: 999px; font-weight: 600; font-size: 14.5px;
}
.feature .badge span { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--lime); display: grid; place-items: center; }
.feature .badge svg { width: 16px; height: 16px; }
.feature h2 { margin-bottom: 24px; }
.feature .lead { margin-bottom: 34px; }
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(70px, 8vw, 110px); border-top: 1px solid var(--line-dark); }
.promise { padding: 40px 36px 8px 0; position: relative; }
.promise + .promise { padding-left: 36px; border-left: 1px solid var(--line-dark); }
.promise::before {
  content: ""; position: absolute; top: -1px; left: 0; height: 2px; width: 100%; background: var(--lime);
  transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease);
}
.promise:hover::before { transform: scaleX(1); }
.promise .pn { font: 600 13px/1 var(--body); color: var(--lime); letter-spacing: .1em; margin-bottom: 26px; display: block; }
.promise h3 { margin-bottom: 14px; font-size: 21px; }
.promise p { font-size: 15.5px; line-height: 1.65; }

/* Projects */
.projects { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 120px; gap: 18px; }
.proj { position: relative; overflow: hidden; border-radius: var(--radius); cursor: zoom-in; background: var(--paper-2); border: 0; padding: 0; text-align: left; }
.proj img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .8s; }
.proj:hover img { transform: scale(1.06); }
.proj::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10, 12, 10, .7)); opacity: .55; transition: opacity .6s; }
.proj:hover::after { opacity: 1; }
.proj figcaption, .proj .cap {
  position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; color: #fff;
  display: flex; align-items: end; justify-content: space-between; gap: 12px;
}
.proj .cap strong { display: block; font: 600 17px/1.25 var(--body); }
.proj .cap small { display: block; font-size: 13px; opacity: .78; margin-top: 2px; }
.proj .cap .zoom { width: 40px; height: 40px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; flex: none; transform: scale(.6); opacity: 0; transition: transform .5s var(--ease), opacity .4s; }
.proj .cap .zoom svg { width: 18px; height: 18px; }
.proj:hover .zoom { transform: none; opacity: 1; }
.p1 { grid-column: 1 / 8; grid-row: span 4; }
.p2 { grid-column: 8 / 13; grid-row: span 2; }
.p3 { grid-column: 8 / 13; grid-row: span 2; }
.p4 { grid-column: 1 / 5; grid-row: span 3; }
.p5 { grid-column: 5 / 9; grid-row: span 3; }
.p6 { grid-column: 9 / 13; grid-row: span 3; }

/* Process */
.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.process-line { position: absolute; left: 0; right: 0; top: 31px; height: 2px; background: var(--line); }
.process-line i { position: absolute; inset: 0; background: var(--lime); transform-origin: left; transform: scaleX(var(--p, 0)); }
.step { position: relative; }
.step .sn {
  width: 64px; height: 64px; border-radius: 50%; background: var(--white); border: 2px solid var(--line);
  display: grid; place-items: center; font: 700 20px/1 var(--head); font-variation-settings: "wdth" 112; color: var(--ink);
  margin-bottom: 28px; position: relative; z-index: 1; transition: background .6s var(--ease), border-color .6s, transform .6s var(--ease);
}
.step.on .sn { background: var(--lime); border-color: var(--lime); }
.step:hover .sn { transform: scale(1.08); }
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { font-size: 15.5px; line-height: 1.6; }

/* Why */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.why-side { position: sticky; top: 120px; }
.why-side h2 { margin-bottom: 22px; }
.why-side .frame { aspect-ratio: 16 / 10; margin-top: 36px; }
.why-list { border-top: 1px solid var(--line); }
.why-item { display: grid; grid-template-columns: 60px 1fr; gap: 24px; padding: 34px 0; border-bottom: 1px solid var(--line); position: relative; transition: padding .6s var(--ease); }
.why-item::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.why-item:hover::before { transform: scaleX(1); }
.why-item:hover { padding-left: 12px; }
.why-item .ic { width: 60px; height: 60px; border-radius: 16px; background: var(--paper); display: grid; place-items: center; color: var(--ink); transition: background .5s var(--ease), transform .6s var(--ease); }
.why-item:hover .ic { background: var(--lime); transform: rotate(-6deg); }
.why-item .ic svg { width: 28px; height: 28px; }
.why-item h3 { font-size: 21px; margin: 4px 0 10px; }
.why-item p { font-size: 16px; line-height: 1.65; }

/* Contact */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; border-radius: 26px; overflow: hidden; background: var(--white); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.contact-info { background: var(--ink); color: rgba(255, 255, 255, .72); padding: clamp(36px, 4vw, 56px); position: relative; overflow: hidden; }
.contact-info::after {
  content: ""; position: absolute; right: -80px; bottom: -80px; width: 280px; height: 280px;
  background: var(--lime); opacity: .08;
  clip-path: polygon(50% 0, 100% 40%, 100% 100%, 0 100%, 0 40%);
}
.contact-info h2 { color: #fff; font-size: clamp(30px, 3vw, 42px); margin-bottom: 18px; }
.contact-info .lead { color: rgba(255, 255, 255, .7); font-size: 17px; margin-bottom: 34px; }
.cinfo { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; position: relative; z-index: 1; }
.cinfo a, .cinfo div { display: flex; align-items: center; gap: 16px; padding: 14px; margin: 0 -14px; border-radius: 14px; transition: background .4s var(--ease); }
.cinfo a:hover { background: rgba(255, 255, 255, .06); }
.cinfo .ci { width: 48px; height: 48px; border-radius: 13px; background: rgba(255, 255, 255, .07); color: var(--lime); display: grid; place-items: center; flex: none; transition: background .4s var(--ease), color .4s; }
.cinfo a:hover .ci { background: var(--lime); color: var(--ink); }
.cinfo .ci svg { width: 21px; height: 21px; }
.cinfo small { display: block; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.cinfo strong { display: block; color: #fff; font-weight: 600; font-size: 16.5px; }
.contact-form { padding: clamp(36px, 4vw, 56px); }
.contact-form h3 { font-size: 26px; margin-bottom: 8px; }
.contact-form > p { color: var(--muted); margin-bottom: 30px; font-size: 16px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { position: relative; display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper);
  padding: 15px 16px; font-size: 16px; outline: none; transition: border-color .35s, background .35s, box-shadow .35s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: #cfccc2; }
.field input:focus, .field textarea:focus { border-color: var(--ink); background: var(--white); box-shadow: 0 0 0 4px rgba(131, 214, 8, .25); }
.field .err { font-size: 13px; color: #b42318; display: none; }
.field.invalid input, .field.invalid textarea { border-color: #d92d20; background: #fff; }
.field.invalid .err { display: block; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 6px; }
.form-foot small { color: var(--muted); font-size: 13.5px; display: flex; align-items: center; gap: 8px; }
.form-foot small svg { width: 16px; height: 16px; color: var(--lime-deep); }
.form-ok { display: none; text-align: center; padding: 40px 10px; }
.form-ok .okc { width: 80px; height: 80px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; margin: 0 auto 24px; color: var(--ink); }
.form-ok .okc svg { width: 36px; height: 36px; stroke-dasharray: 30; stroke-dashoffset: 30; }
.sent .form-ok { display: block; animation: rise .7s var(--ease) both; }
.sent .form-ok .okc svg { animation: draw .7s var(--ease) .3s forwards; }
.sent .form, .sent > h3, .sent > p { display: none; }
.contact-form.sent { display: flex; flex-direction: column; justify-content: center; }
.form-ok h3 { margin-bottom: 10px; }
.form-ok p { color: var(--muted); margin-bottom: 26px; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

/* Page hero (inner pages) */
.phero { position: relative; padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 5vw, 72px); background: var(--paper); overflow: hidden; }
.phero--plain .wrap { position: relative; z-index: 1; }
.phero--plain::after {
  content: ""; position: absolute; right: -4%; bottom: -12%; width: 34%; aspect-ratio: 1; z-index: 0;
  border: 2px solid var(--line); border-bottom: 0;
  clip-path: polygon(50% 0, 100% 36%, 100% 100%, 0 100%, 0 36%);
  background: linear-gradient(var(--paper-2), var(--paper)); opacity: .9; pointer-events: none;
}
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 26px; position: relative; z-index: 1; }
.crumbs a { transition: color .3s; }
.crumbs a:hover { color: var(--ink); }
.crumbs svg { width: 14px; height: 14px; }
.crumbs span[aria-current] { color: var(--ink); font-weight: 500; }
.phero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: end; position: relative; z-index: 1; }
.phero h1 { font-size: clamp(40px, 5.4vw, 74px); }
.phero .lead { margin: 0; }
.banner { margin-top: -1px; }
.banner .frame { aspect-ratio: 21 / 8; border-radius: 0 0 26px 26px; }

/* Service article */
.article-grid { display: grid; grid-template-columns: 1fr 360px; gap: clamp(40px, 6vw, 90px); align-items: start; }
.article h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 26px; }
.article h3 { margin: 40px 0 14px; }
.article p { font-size: 17.5px; line-height: 1.75; }
.article .lead { font-size: 20px; color: var(--ink); line-height: 1.6; }
.checks { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; font-weight: 500; color: var(--ink); transition: border-color .4s, background .4s, transform .5s var(--ease); }
.checks li:hover { border-color: var(--lime); background: var(--lime-soft); transform: translateX(4px); }
.checks li span { width: 28px; height: 28px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; flex: none; }
.checks li svg { width: 15px; height: 15px; }
.quote-box { margin: 40px 0; padding: 30px 34px; border-left: 3px solid var(--lime); background: var(--paper); border-radius: 0 var(--radius) var(--radius) 0; font: 600 21px/1.45 var(--head); font-variation-settings: "wdth" 105; color: var(--ink); letter-spacing: -.01em; }
.aside { position: sticky; top: 110px; display: grid; gap: 20px; }
.aside-nav { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
.aside-nav h4 { padding: 14px 14px 10px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-family: var(--body); font-weight: 600; }
.aside-nav a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; border-radius: 12px; font-weight: 500; color: var(--ink); transition: background .35s, padding .5s var(--ease); }
.aside-nav a svg { width: 16px; height: 16px; opacity: .4; transition: transform .5s var(--ease), opacity .3s; }
.aside-nav a:hover { background: var(--paper); padding-left: 20px; }
.aside-nav a:hover svg { opacity: 1; transform: translateX(3px); }
.aside-nav a[aria-current] { background: var(--ink); color: #fff; }
.aside-nav a[aria-current] svg { opacity: 1; color: var(--lime); }
.aside-cta { background: var(--lime); border-radius: var(--radius); padding: 30px; color: var(--ink); position: relative; overflow: hidden; }
.aside-cta::after { content: ""; position: absolute; right: -50px; bottom: -60px; width: 170px; height: 170px; background: rgba(255, 255, 255, .22); clip-path: polygon(50% 0, 100% 40%, 100% 100%, 0 100%, 0 40%); transition: transform 1s var(--ease); }
.aside-cta:hover::after { transform: translate(-10px, 10px) rotate(-6deg); }
.aside-cta > * { position: relative; z-index: 1; }
.aside-cta h3 { font-size: 23px; margin-bottom: 12px; }
.aside-cta p { font-size: 15.5px; margin-bottom: 22px; color: rgba(20, 22, 20, .78); }
.aside-cta .btn { width: 100%; justify-content: space-between; }
.aside-cta .tel { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-weight: 700; font-size: 18px; }
.aside-cta .tel svg { width: 18px; height: 18px; }

.mini-gal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 20px; }
.mini-gal .proj { aspect-ratio: 4 / 3; border-radius: 14px; }
.mini-gal .cap { left: 14px; right: 14px; bottom: 12px; }
.mini-gal .cap strong { font-size: 13px; line-height: 1.3; }
.mini-gal .zoom { width: 32px; height: 32px; }
.phero .hero-grid { align-items: center; }
.phero .lead { margin-top: 24px; }
.phero .hero-actions { margin: 34px 0 0; }
.more-svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* About */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tl { padding: 34px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .5s; position: relative; overflow: hidden; }
.tl:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--lime); }
.tl .yr { font: 700 52px/1 var(--head); font-variation-settings: "wdth" 112; color: var(--ink); letter-spacing: -.03em; margin-bottom: 18px; display: block; }
.tl .yr em { font-style: normal; color: var(--lime-deep); }
.tl h3 { font-size: 20px; margin-bottom: 10px; }
.tl p { font-size: 15.5px; }
.area { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.area h2 { margin-bottom: 22px; }
.cities { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.city { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; color: var(--ink); background: var(--white); transition: background .4s var(--ease), border-color .4s, transform .5s var(--ease); }
.city i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background .4s; }
.city:hover { transform: translateY(-3px); border-color: var(--ink); }
.city:hover i, .city.base i { background: var(--lime); }
.city.base { background: var(--ink); color: #fff; border-color: var(--ink); }
.compass { position: relative; aspect-ratio: 1; max-width: 480px; margin-inline: auto; width: 100%; }
.compass svg { width: 100%; height: 100%; overflow: visible; }
.compass .ring { fill: none; stroke: var(--line); stroke-width: 1; }
.compass .route { fill: none; stroke: var(--lime); stroke-width: 2; stroke-dasharray: 4 6; }
.compass .dot { fill: var(--white); stroke: var(--ink); stroke-width: 2; transition: r .4s; }
.compass .home { fill: var(--lime); stroke: var(--ink); stroke-width: 2.5; }
.compass text { font: 600 14px var(--body); fill: var(--ink); }
.compass text.sub { font-weight: 500; font-size: 12px; fill: var(--muted); }
.compass .pulse { fill: var(--lime); opacity: .35; transform-origin: center; transform-box: fill-box; animation: ping 2.6s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.6); opacity: .5; } to { transform: scale(3.2); opacity: 0; } }
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.role { padding: 40px; border-radius: 22px; background: var(--paper); position: relative; overflow: hidden; transition: transform .6s var(--ease); }
.role:hover { transform: translateY(-6px); }
.role.dark { background: var(--ink); color: rgba(255, 255, 255, .72); }
.role.dark h3 { color: #fff; }
.role .ic { width: 56px; height: 56px; border-radius: 15px; background: var(--lime); color: var(--ink); display: grid; place-items: center; margin-bottom: 28px; }
.role .ic svg { width: 26px; height: 26px; }
.role h3 { font-size: 24px; margin-bottom: 14px; }

/* Contact page */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: -54px; position: relative; z-index: 2; }
.icard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: transform .6s var(--ease), border-color .4s, box-shadow .6s var(--ease); display: block; }
.icard:hover { transform: translateY(-6px); border-color: var(--lime); box-shadow: var(--shadow-lg); }
.icard .ic { width: 50px; height: 50px; border-radius: 14px; background: var(--lime-soft); color: var(--lime-deep); display: grid; place-items: center; margin-bottom: 22px; transition: background .4s var(--ease), color .4s, transform .6s var(--ease); }
.icard:hover .ic { background: var(--lime); color: var(--ink); transform: rotate(-6deg); }
.icard .ic svg { width: 23px; height: 23px; }
.icard small { display: block; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.icard strong { display: block; color: var(--ink); font-size: 17px; font-weight: 600; line-height: 1.4; }
.map { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 21 / 8; background: var(--paper-2); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); transition: filter .8s var(--ease); }
.map:hover iframe { filter: none; }

/* CTA band */
.cta-band { position: relative; border-radius: 28px; overflow: hidden; background: var(--ink); padding: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: url("../img/toemrer-vaerksted-sm.webp") center / cover; opacity: .16; }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 16px; }
.cta-band p { color: rgba(255, 255, 255, .72); margin: 0; font-size: 18px; }
.cta-band .acts { display: grid; gap: 12px; justify-items: end; }

/* Footer */
.footer { background: var(--ink); color: rgba(255, 255, 255, .6); padding: clamp(70px, 8vw, 110px) 0 0; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 60px; border-bottom: 1px solid var(--line-dark); }
.footer .flogo img { height: 64px; width: auto; margin-bottom: 26px; }
.footer p { font-size: 15.5px; line-height: 1.7; max-width: 380px; }
.footer h4 { color: #fff; font: 600 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 24px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer ul a { position: relative; transition: color .3s; display: inline-flex; align-items: center; }
.footer ul a::before { content: ""; width: 0; height: 2px; margin-right: 0; background: var(--lime); transition: width .45s var(--ease), margin .45s var(--ease); }
.footer ul a:hover { color: #fff; }
.footer ul a:hover::before { width: 12px; margin-right: 8px; }
.footer .fc li { display: flex; gap: 12px; align-items: flex-start; }
.footer .fc svg { width: 17px; height: 17px; color: var(--lime); margin-top: 4px; flex: none; }
.footer .fc a::before { display: none; }
.f-badges { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.f-badges a { display: grid; place-items: center; transition: transform .5s var(--ease); }
.f-badges a:hover { transform: translateY(-3px); }
.f-badges img { width: 58px; height: 58px; border-radius: 50%; background: #fff; }
.f-badges .fb { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line-dark); color: #fff; transition: background .4s, border-color .4s, color .4s, transform .5s var(--ease); }
.f-badges .fb:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.f-badges .fb svg { width: 19px; height: 19px; }
.footer-word {
  font: 800 clamp(52px, 14.6vw, 214px)/.8 var(--head); font-variation-settings: "wdth" 110; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .14); text-align: center; white-space: nowrap;
  margin: 50px 0 -0.08em; user-select: none; transition: -webkit-text-stroke-color .8s;
}
.footer-word span { color: rgba(131, 214, 8, .0); transition: color 1.2s var(--ease); }
.footer-word:hover span { color: rgba(131, 214, 8, .9); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 0 30px; font-size: 14px; border-top: 1px solid var(--line-dark); position: relative; background: var(--ink); }
.footer-bottom a:hover { color: #fff; }

/* Reveal on scroll */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 1s); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translateX(-34px); }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0 round var(--radius)); transition: clip-path 1.4s var(--ease-io); transition-delay: calc(var(--d, 0) * 1s); }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round var(--radius)); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(12, 13, 12, .92); display: grid; place-items: center; padding: 70px 80px; opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; display: grid; gap: 16px; justify-items: center; transform: scale(.94); transition: transform .6s var(--ease); }
.lightbox.open figure { transform: none; }
.lightbox img { max-height: calc(100vh - 180px); width: auto; max-width: 100%; border-radius: 14px; }
.lightbox figcaption { color: #fff; font-weight: 500; }
.lb-btn { position: absolute; width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .25); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .35s, color .35s, border-color .35s, transform .45s var(--ease); }
.lb-btn:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-close { top: 24px; right: 24px; }
.lb-close:hover { transform: rotate(90deg); }
.lb-prev { left: 20px; top: 50%; translate: 0 -50%; }
.lb-next { right: 20px; top: 50%; translate: 0 -50%; }

/* Toast + back to top + page transition */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 95; translate: -50% 140%; visibility: hidden; background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 999px; font-size: 15px; box-shadow: var(--shadow-lg); display: flex; gap: 10px; align-items: center; transition: translate .6s var(--ease), visibility .6s; max-width: calc(100% - 32px); }
.toast i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); flex: none; }
.toast.show { translate: -50% 0; visibility: visible; }
.totop { position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 54px; height: 54px; border-radius: 50%; border: 0; background: var(--white); box-shadow: var(--shadow); cursor: pointer; display: grid; place-items: center; color: var(--ink); opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .45s, visibility .45s, transform .5s var(--ease), background .35s; }
.totop.show { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--lime); }
.totop svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.totop .ring circle { fill: none; stroke: var(--lime-deep); stroke-width: 2; stroke-dasharray: 157; stroke-dashoffset: calc(157 - 157 * var(--p, 0)); }
.totop:hover .ring circle { stroke: var(--ink); }
.totop .ar { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.totop:hover .ar { transform: translateY(-3px); }
.curtain { position: fixed; inset: 0; z-index: 200; background: var(--ink); pointer-events: none; transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease-io); display: grid; place-items: center; }
.curtain svg { width: 64px; height: 38px; color: var(--lime); opacity: 0; transition: opacity .3s; }
.leaving .curtain { transform: scaleY(1); }
.leaving .curtain svg { opacity: 1; transition-delay: .25s; }
.entering .curtain { transform: scaleY(1); transform-origin: top; }
.entering .curtain svg { opacity: 1; }

/* Responsive */
@media (max-width: 1180px) {
  .head-phone div { display: none; }
  .header .wrap { gap: 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .nav, .head-cta .btn, .head-phone { display: none; }
  .burger { display: block; }
  .hero::before { display: none; }
  .hero-grid, .intro-grid, .feature, .why, .area, .phero-grid, .article-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 64px; }
  .house { max-width: 560px; width: 100%; margin-inline: auto; }
  .services, .more-svc { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .process-line { display: none; }
  .step .sn { background: var(--lime); border-color: var(--lime); }
  .why-side, .aside { position: static; }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .contact { grid-template-columns: 1fr; }
  .cards-4 { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band .acts { justify-items: start; }
  .timeline { grid-template-columns: 1fr; }
  .intro-media .frame { aspect-ratio: 16 / 11; }
  .phero-grid { gap: 24px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { width: min(100% - 32px, var(--wrap)); }
  .topbar { display: none; }
  .header .wrap { height: 72px; }
  .logo img { height: 42px; }
  .header.scrolled .logo img { height: 38px; }
  .hero-actions .btn { width: 100%; justify-content: space-between; }
  .hero-trust { gap: 18px; }
  .hero-trust .sep { display: none; }
  .house { width: 86%; }
  .house-card--a { left: -6px; bottom: 40px; padding: 12px 14px; }
  .house-card--b { right: -6px; bottom: -22px; padding: 12px 14px; }
  .house-card strong { font-size: 18px; }
  .house-card .hc-ic { width: 40px; height: 40px; }
  .stat { padding: 28px 16px; }
  .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .mini-gal { grid-template-columns: 1fr 1fr; }
  .mv, .services, .more-svc, .promises, .roles, .checks, .form, .cards-4 { grid-template-columns: 1fr; }
  .promise, .promise + .promise { padding: 32px 0 8px; border-left: 0; }
  .promise + .promise { border-top: 1px solid var(--line-dark); }
  .sec-head { flex-direction: column; align-items: start; gap: 18px; }
  .sec-head--center { align-items: center; }
  .projects { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 12px; }
  .p1 { grid-column: 1 / -1; grid-row: span 2; }
  .p2, .p3, .p4, .p5 { grid-column: span 1; grid-row: span 1; }
  .p6 { grid-column: 1 / -1; grid-row: span 2; }
  .proj .cap { left: 14px; right: 14px; bottom: 12px; }
  .proj .cap strong { font-size: 14px; }
  .proj .cap small, .proj .cap .zoom { display: none; }
  .process { grid-template-columns: 1fr; }
  .why-item { grid-template-columns: 48px 1fr; gap: 18px; }
  .why-item .ic { width: 48px; height: 48px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .banner .frame { aspect-ratio: 4 / 3; border-radius: 0 0 20px 20px; }
  .map { aspect-ratio: 4 / 3; }
  .cards-4 { margin-top: -36px; }
  .lightbox { padding: 70px 16px; }
  .lb-prev, .lb-next { top: auto; bottom: 20px; translate: none; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
  .totop { right: 16px; bottom: 16px; width: 48px; height: 48px; }
  .contact { border-radius: 20px; }
  .btn { height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js :is(.hero, .phero) [data-load], .split .w > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js .house-img { clip-path: polygon(50% 0, 100% 24%, 100% 100%, 0 100%, 0 24%) !important; }
  .js .house-roof path { stroke-dashoffset: 0 !important; }
  .js .house-card { opacity: 1 !important; translate: 0 0 !important; }
  .curtain { display: none; }
}
