@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/oswald.woff2") format("woff2");
}
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/rubik.woff2") format("woff2");
}


:root {
  /* Djup skifergrå til tekst og mørke flater, varm lys stein til bakgrunner */
  --ink: #20272d;
  --ink-2: #29323a;
  --ink-3: #3a454e;
  --text: #2c3338;
  --muted: #545c62;
  --line: #e2ddd5;
  --mist: #f5f2ed;
  --mist-2: #eae5de;
  --white: #fff;
  /* Terrakotta som aksent. 600 og mørkere holder AA mot hvitt og lys stein */
  --accent: #b5532f;
  --accent-600: #a64b29;
  --accent-700: #8f3f21;
  --accent-800: #77341b;
  --accent-300: #ec9a7d;
  --accent-50: #fbefe9;
  --on-dark: #cdd3d7;
  --on-dark-muted: #afb7bc;
  --focus: #8f3f21;

  --font-display: "Oswald", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --font-body: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 84px;
  --radius: 8px;
  --radius-lg: 12px;
  --gable: clamp(28px, 4.5vw, 72px);
  --shadow-sm: 0 1px 2px rgba(32, 39, 45, .06), 0 4px 12px rgba(32, 39, 45, .06);
  --shadow: 0 18px 40px -18px rgba(32, 39, 45, .35);
  --shadow-lg: 0 34px 70px -28px rgba(32, 39, 45, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (max-width: 1023px) {
  :root { --header-h: 68px; }
}


*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

a { color: var(--accent-600); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--accent-700); }

p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  overflow-wrap: break-word;
  hyphens: manual;
}

h1, h2 { font-family: var(--font-display); letter-spacing: .005em; }
h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
.nowrap { white-space: nowrap; }

h2 {
  font-size: clamp(2rem, 1.35rem + 2.3vw, 3.25rem);
  line-height: 1.08;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 3px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}


.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(72px, 8vw, 128px); position: relative; }
.section--mist { background: var(--mist); }
.section--dark {
  --focus: var(--accent-300);
  background: var(--ink);
  color: var(--on-dark);
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--accent {
  --focus: #fff;
  background: var(--accent-700);
  color: #fbede7;
}
.section--accent h2, .section--accent h3 { color: #fff; }


.section--gable {
  clip-path: polygon(0 var(--gable), 50% 0, 100% var(--gable), 100% 100%, 0 100%);
  margin-top: calc(var(--gable) * -1);
  padding-top: calc(clamp(72px, 8vw, 128px) + var(--gable));
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}


.roofmark {
  display: block;
  width: 46px;
  height: 18px;
  margin-bottom: 18px;
  color: var(--accent);
  overflow: visible;
}
.roofmark polyline { fill: none; stroke: currentColor; stroke-width: 3.5; stroke-linecap: square; stroke-linejoin: miter; }
.section--dark .roofmark { color: var(--accent-300); }
.section--accent .roofmark { color: #fff; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head .checklist { border-top: 1px solid var(--line); }
.section-head--row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.section-head p { margin: 20px 0 0; max-width: 36em; }

.lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.6; color: var(--muted); }

.accent { color: var(--accent-600); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-700);
}
.eyebrow .roofmark { width: 28px; height: 12px; margin: 0; }


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 52px;
  padding: .75em 1.35em;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font: 600 1rem/1.2 var(--font-body);
  letter-spacing: .01em;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn .icon { width: 1.2em; height: 1.2em; }
.btn .icon--arrow { transition: transform .25s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(4px); }

.btn--primary { background: var(--accent-600); color: #fff; box-shadow: 0 10px 24px -12px rgba(143, 63, 33, .6); }
.btn--primary:hover { background: var(--accent-700); color: #fff; }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }

.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }

.btn--light { background: #fff; color: var(--accent-800); }
.btn--light:hover { background: var(--accent-50); color: var(--accent-800); }

.btn--outline-light { border-color: rgba(255, 255, 255, .75); color: #fff; background: transparent; }
.btn--outline-light:hover { background: #fff; border-color: #fff; color: var(--ink); }

.btn--lg { min-height: 58px; padding: .9em 1.6em; font-size: 1.0625rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  min-height: 44px;
  font-weight: 600;
  color: var(--accent-600);
  text-decoration: none;
}
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--accent-700); text-decoration: underline; }
.link-arrow:hover .icon { transform: translateX(4px); }


.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -18px rgba(32, 39, 45, .35);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  min-height: 44px;
  border-radius: 4px;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--ink); }

.logo-mark { display: block; flex: none; overflow: visible; }
.logo-mark__roof { fill: none; stroke: var(--accent); stroke-width: 4.5; stroke-linecap: square; stroke-linejoin: miter; }
.logo-mark__wave { fill: none; stroke: currentColor; stroke-width: 3.5; stroke-linecap: round; }

.brand__mark { width: 48px; height: 40px; transform-origin: left center; transition: transform .3s var(--ease); }
.site-header.is-scrolled .brand__mark { transform: scale(.9); }
.brand__name {
  font: 600 1.75rem/1 var(--font-display);
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand__suffix {
  font-size: .5em;
  font-weight: 500;
  letter-spacing: .16em;
  color: var(--accent-700);
}

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav__item { position: relative; display: flex; align-items: center; }

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav__link:hover { color: var(--accent-700); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--accent-700); }

.nav__subtoggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: -16px;
  margin-right: -6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
}
.nav__subtoggle .icon { width: 16px; height: 16px; transition: transform .2s; }
.nav__subtoggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

.nav__sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 270px;
  padding: 8px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s, transform .2s var(--ease), visibility 0s linear .2s;
}
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-sub:not(.is-dismissed):hover .nav__sub,
.nav__subtoggle[aria-expanded="true"] + .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.nav__sub a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}
.nav__sub a:hover { background: var(--mist); color: var(--accent-700); }

.nav__contact { display: none; }

.header-cta { display: flex; align-items: center; gap: 10px; margin-left: 12px; }
.header-cta .btn { min-height: 48px; padding: .55em 1.05em; font-size: .9375rem; white-space: nowrap; }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-width: 48px;
  min-height: 48px;
  margin-left: auto;
  padding: 0 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font: 600 .9375rem/1 var(--font-body);
  color: var(--ink);
  cursor: pointer;
}
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle .icon--close { display: none; }
.menu-toggle[aria-expanded="true"] .icon--menu { display: none; }
.menu-toggle[aria-expanded="true"] .icon--close { display: block; }

@media (max-width: 1180px) and (min-width: 1024px) {
  .nav__link { padding: 0 9px; letter-spacing: .05em; }
  .nav__link::after { left: 9px; right: 9px; }
  .header-cta { margin-left: 6px; }
  .header-cta .btn { padding: .55em .85em; }
}

@media (max-width: 1023px) {
  .brand { gap: 10px; }
  .brand__mark, .site-header.is-scrolled .brand__mark { width: 40px; height: 34px; transform: none; }
  .brand__name { font-size: 1.5rem; }
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }

  .nav {
    position: fixed;
    z-index: 45;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 12px var(--gutter) 120px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff;
    border-top: 1px solid var(--line);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility 0s linear .25s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav__link {
    flex: 1;
    min-height: 60px;
    padding: 0;
    font: 500 1.625rem/1.2 var(--font-display);
    letter-spacing: .01em;
    text-transform: none;
  }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { color: var(--accent-700); }
  .nav__subtoggle { display: none; }
  .nav__sub {
    position: static;
    width: 100%;
    min-width: 0;
    padding: 0 0 12px 16px;
    border: 0;
    border-left: 2px solid var(--accent);
    border-radius: 0;
    margin: 0 0 14px 2px;
    box-shadow: none;
    opacity: 1;
    visibility: inherit;
    transform: none;
  }
  .has-sub:not(.is-dismissed):hover .nav__sub,
  .nav__subtoggle[aria-expanded="true"] + .nav__sub { visibility: inherit; }
  .nav__sub::before { display: none; }
  .nav__sub a { min-height: 48px; padding: 4px 12px; font-size: 1.0625rem; }

  .nav__contact {
    display: grid;
    gap: 6px;
    margin-top: 28px;
    list-style: none;
  }
  .nav__contact a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
  }
  .nav__contact .icon { color: var(--accent-600); }

  html.menu-open { overflow: hidden; }
}

/* De smaleste skjermene: menyknappen viser bare ikonet, teksten leses fortsatt opp */
@media (max-width: 359px) {
  .menu-toggle { padding: 0 12px; }
  .menu-toggle__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}


.hero {
  position: relative;
  background: var(--mist);
  padding-block: clamp(36px, 5.5vw, 88px) clamp(64px, 7vw, 112px);
  overflow: clip;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.hero__title {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: clamp(2.375rem, 1.2rem + 3.6vw, 4.25rem);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: .004em;
  text-transform: uppercase;
}
.hero__lead { max-width: 33em; margin: 0 0 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  list-style: none;
}
.facts li { display: flex; align-items: center; gap: 12px; font-weight: 500; line-height: 1.35; color: var(--ink); }
@media (min-width: 641px) {
  .facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 24px; }
}

.icon-badge {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: var(--accent-600);
  box-shadow: var(--shadow-sm);
}
.icon-badge .icon { width: 20px; height: 20px; }


.gable-media { position: relative; container-type: inline-size; }
.gable-media__frame {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: var(--mist-2);
  clip-path: polygon(0 10cqw, 50% 0, 100% 10cqw, 100% 100%, 0 100%);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.gable-media__frame img { width: 100%; height: 100%; object-fit: cover; }
.gable-media__roof {
  position: absolute;
  left: -3%;
  top: -22px;
  width: 106%;
  max-width: none;
  height: auto;
  overflow: visible;
  color: var(--accent);
  pointer-events: none;
}
.gable-media__roof polyline { fill: none; stroke: currentColor; stroke-width: 4; stroke-linejoin: miter; vector-effect: non-scaling-stroke; }
.gable-media__inset {
  position: absolute;
  left: -44px;
  bottom: -44px;
  width: 31%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 6px solid #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  background: var(--mist-2);
}
.gable-media__inset img { width: 100%; height: 100%; object-fit: cover; }

@media (prefers-reduced-motion: no-preference) {
  .gable-media__frame img { animation: hero-settle 1.6s var(--ease) both; }
  .gable-media__roof { animation: roof-draw 1.2s .2s var(--ease) both; }
  .gable-media__inset { animation: rise .9s .45s var(--ease) both; }
}
@keyframes hero-settle { from { transform: scale(1.07); } to { transform: scale(1); } }
@keyframes roof-draw {
  from { clip-path: inset(-12px 50% -12px 50%); }
  to { clip-path: inset(-12px -12px -12px -12px); }
}
@keyframes rise { from { transform: translateY(28px); } to { transform: none; } }

@media (max-width: 1023px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__media { order: -1; max-width: 720px; }
  .gable-media__inset { left: auto; right: 16px; bottom: -36px; width: 28%; }
}
@media (max-width: 1023px) {
  .hero__call { display: none; }
}
@media (max-width: 640px) {
  .hero { padding-top: 40px; }
  .hero__content .eyebrow { display: none; }
  .gable-media__frame { aspect-ratio: 16 / 10; }
  .gable-media__roof { top: -16px; }
  .gable-media__inset { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
  .facts { flex-direction: column; gap: 6px; }
}


.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  list-style: none;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
}
.checklist .icon { width: 20px; height: 20px; margin-top: 1px; color: var(--accent-600); stroke-width: 2.5; }


.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--shadow); }
.card:focus-within { border-color: var(--accent); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 18px;
  background: #fff;
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
}
.card__body { display: flex; flex-direction: column; flex: 1; padding: 14px 24px 24px; }
.card__title { margin: 0 0 10px; font: 500 1.5rem/1.15 var(--font-display); color: var(--ink); }
.card__text { margin: 0 0 18px; color: var(--muted); font-size: .98rem; line-height: 1.6; }
.card__link { margin-top: auto; }
.card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__link:focus-visible { outline: none; }
.card__link:focus-visible::after { outline: 3px solid var(--focus); outline-offset: -3px; border-radius: var(--radius-lg); }

@media (max-width: 1100px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .cards { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .card__media { aspect-ratio: 16 / 9; }
  .card__body { padding: 12px 20px 20px; }
}


.process {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 104px);
  align-items: start;
}
.process__aside { position: sticky; top: calc(var(--header-h) + 32px); }

.stack { position: relative; margin-top: 40px; padding-bottom: 40px; }
.stack__main { aspect-ratio: 4 / 4.4; overflow: hidden; border-radius: var(--radius-lg); background: var(--ink-2); }
.stack__main img { width: 100%; height: 100%; object-fit: cover; }
.stack__inset {
  position: absolute;
  right: -20px;
  bottom: 0;
  width: 50%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 6px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--ink-2);
}
.stack__inset img { width: 100%; height: 100%; object-fit: cover; }

.steps { position: relative; list-style: none; }
.steps::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 28px;
  bottom: 40px;
  width: 2px;
  background: var(--ink-3);
}
.steps::after {
  content: "";
  position: absolute;
  left: 27px;
  top: 28px;
  bottom: 40px;
  width: 2px;
  background: linear-gradient(var(--accent-300), var(--accent));
  transform-origin: top;
}
.step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 22px; padding-bottom: 40px; }
.step:last-child { padding-bottom: 0; }
.step__icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink-2);
  border: 2px solid var(--accent);
  color: var(--accent-300);
}
.step__icon .icon { width: 24px; height: 24px; }
.step h3 { margin: 12px 0 10px; font: 500 1.625rem/1.15 var(--font-display); color: #fff; }
.step p { margin: 0; }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .steps::after { animation: fill-line linear both; animation-timeline: view(); animation-range: entry 20% cover 70%; }
  }
}
@keyframes fill-line { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.why { margin-top: clamp(64px, 8vw, 112px); padding-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--ink-3); }
.why__title { font: 600 clamp(1.875rem, 1.4rem + 1.6vw, 2.75rem)/1.1 var(--font-display); color: #fff; }

.benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
  list-style: none;
}
.benefit {
  height: 100%;
  padding: 30px 28px;
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-radius: var(--radius-lg);
  transition: border-color .3s, transform .3s var(--ease);
}
.benefit:hover { border-color: rgba(236, 154, 125, .55); transform: translateY(-3px); }
.benefit__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: rgba(181, 83, 47, .2);
  color: var(--accent-300);
}
.benefit__icon .icon { width: 26px; height: 26px; }
.benefit h4 { margin: 0 0 10px; font-size: 1.1875rem; line-height: 1.3; color: #fff; }
.benefit p { margin: 0; font-size: 1rem; }

.cta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-top: 40px;
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3.5vw, 44px);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--accent-700), var(--accent-800));
  color: #fff;
  --focus: #fff;
}
.cta-strip p { margin: 0; max-width: 28em; font: 500 clamp(1.25rem, 1.05rem + .7vw, 1.625rem)/1.3 var(--font-display); color: #fff; }
.cta-strip__actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 1023px) {
  .process { grid-template-columns: minmax(0, 1fr); }
  .process__aside { position: static; }
  .stack { max-width: 640px; }
  .stack__main { aspect-ratio: 4 / 3; }
  .stack__inset { right: 12px; width: 42%; }
  .benefits { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .stack__inset { right: -8px; width: 46%; }
  .steps::before, .steps::after { left: 21px; top: 22px; }
  .step { grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding-bottom: 32px; }
  .step__icon { width: 44px; height: 44px; }
  .step__icon .icon { width: 20px; height: 20px; }
  .step h3 { margin-top: 6px; font-size: 1.5rem; }
  .cta-strip__actions, .cta-strip__actions .btn { width: 100%; }
}


.media-duo { position: relative; padding: 0 0 56px; }
.media-duo__main { aspect-ratio: 4 / 3.3; overflow: hidden; border-radius: var(--radius-lg); background: var(--mist-2); }
.media-duo__main img { width: 100%; height: 100%; object-fit: cover; }
.media-duo__inset {
  position: absolute;
  right: -20px;
  bottom: 0;
  width: 38%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 6px solid var(--mist);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: var(--mist-2);
}
.media-duo__inset img { width: 100%; height: 100%; object-fit: cover; }

.pull-quote {
  position: relative;
  margin: 32px 0;
  padding: 6px 0 6px 30px;
  border-left: 4px solid var(--accent);
}
.pull-quote p {
  margin: 0;
  font: 500 clamp(1.3rem, 1.1rem + .7vw, 1.7rem)/1.35 var(--font-display);
  color: var(--ink);
}
.prose-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 8px; }

@media (max-width: 1023px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .media-duo { max-width: 640px; }
  .media-duo__inset { right: 12px; }
}
@media (max-width: 640px) {
  .section-head { grid-template-columns: minmax(0, 1fr); }
  .checklist { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1023px) and (min-width: 641px) {
  .section-head { grid-template-columns: minmax(0, 1fr); }
}


.mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(150px, 15vw, 230px);
  gap: 12px;
  list-style: none;
}
.mosaic li { overflow: hidden; border-radius: var(--radius); background: var(--mist-2); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mosaic li:hover img { transform: scale(1.045); }
.mosaic .is-tall { grid-row: span 2; }
@media (max-width: 640px) {
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; gap: 8px; }
}


.contact { overflow: clip; }
.contact::before, .contact::after {
  content: "";
  position: absolute;
  width: 54vw;
  height: 54vw;
  border-left: 2px solid rgba(255, 255, 255, .09);
  border-top: 2px solid rgba(255, 255, 255, .09);
  transform: rotate(45deg);
  pointer-events: none;
}
.contact::before { left: 46vw; top: 58%; }
.contact::after { left: 46vw; top: calc(58% + 56px); }
.contact__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.contact__title { font-size: clamp(2rem, 1.3rem + 2.3vw, 3.25rem); line-height: 1.1; }
.contact__phone {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  min-height: 44px;
  font: 600 clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem)/1.1 var(--font-display);
  color: #fff;
  text-decoration: none;
  letter-spacing: .01em;
}
.contact__phone .icon-badge { width: 56px; height: 56px; background: #fff; color: var(--accent-700); }
.contact__phone .icon-badge .icon { width: 26px; height: 26px; }
.contact__phone:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.contact-card {
  --focus: var(--accent-700);
  padding: clamp(26px, 3vw, 40px);
  background: #fff;
  color: var(--text);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.contact-card h3 { margin: 0 0 8px; font: 500 1.625rem/1.2 var(--font-display); color: var(--ink); }
.contact-list { list-style: none; }
.contact-list li { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-list .icon-badge { width: 44px; height: 44px; background: var(--accent-50); color: var(--accent-700); box-shadow: none; }
.contact-list__label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-list__value { display: block; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }

@media (max-width: 1023px) {
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .contact__actions .btn { flex: 1 1 100%; }
  .contact__phone { gap: 12px; }
  .contact__phone .icon-badge { width: 48px; height: 48px; }
}


.site-footer {
  --focus: var(--accent-300);
  background: var(--ink);
  color: var(--on-dark);
  padding-top: clamp(64px, 7vw, 96px);
  font-size: 1rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.25fr) repeat(2, minmax(0, 1fr));
  gap: 40px clamp(28px, 4vw, 56px);
}
.footer-mark { width: 60px; height: 50px; margin-bottom: 20px; color: #fff; }
.footer-mark .logo-mark__roof { stroke: var(--accent-300); }
.site-footer h2 {
  margin: 0 0 18px;
  font: 500 1.25rem/1.2 var(--font-display);
  letter-spacing: .03em;
  color: #fff;
}
.site-footer p { margin: 0 0 18px; max-width: 30em; }
.site-footer .footer-tagline { margin: -6px 0 14px; font: 500 1.0625rem/1.35 var(--font-display); letter-spacing: .02em; color: var(--accent-300); text-wrap: balance; }
.site-footer .footer-bottom p { margin: 0; }
.footer-list { display: grid; gap: 2px; list-style: none; }
.footer-list li { display: flex; align-items: center; gap: 12px; }
.footer-list .icon { width: 18px; height: 18px; color: var(--accent-300); }
.footer-list a, .footer-list span.footer-list__text { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-dark); text-decoration: none; }
.footer-list a { min-width: 44px; }
.footer-list a:hover { color: #fff; text-decoration: underline; }
.footer-list__text { min-height: 44px; display: inline-flex; align-items: center; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 28px;
  margin-top: clamp(48px, 6vw, 72px);
  padding-block: 20px;
  border-top: 1px solid var(--ink-3);
  font-size: .9375rem;
  color: var(--on-dark-muted);
}
.footer-bottom ul { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; list-style: none; }
.footer-bottom li { display: inline-flex; align-items: center; min-height: 44px; }
.footer-bottom a { color: var(--on-dark); display: inline-flex; align-items: center; min-height: 44px; }
.footer-bottom a:hover { color: #fff; }

@media (max-width: 1023px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-bottom ul { flex-direction: column; align-items: flex-start; }
}


.callbar { display: none; }
@media (max-width: 1023px) {
  .callbar {
    --focus: #fff;
    position: fixed;
    z-index: 60;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 56px;
    padding: 8px 20px;
    border-radius: var(--radius-lg);
    background: var(--accent-600);
    color: #fff;
    font: 600 1.0625rem/1.2 var(--font-body);
    text-decoration: none;
    box-shadow: 0 16px 34px -10px rgba(78, 32, 14, .5), 0 0 0 1px rgba(255, 255, 255, .18) inset;
  }
  .callbar:hover, .callbar:focus-visible { background: var(--accent-700); color: #fff; }
  .callbar:focus-visible { outline-offset: -6px; }
  .callbar .icon { width: 22px; height: 22px; }
  html.menu-open .callbar { display: none; }
  .site-footer { padding-bottom: 84px; }
}


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
