@font-face {
  font-family: "Euclid Circular A";
  src: url("fonts/EuclidCircularA-Regular-WebXL.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Euclid Circular A";
  src: url("fonts/EuclidCircularA-Medium-WebXL.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Euclid Circular A";
  src: url("fonts/EuclidCircularA-Semibold-WebXL.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Euclid Circular A";
  src: url("fonts/EuclidCircularA-Bold-WebXL.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Euclid Flex";
  src: url("fonts/EuclidFlex-Ultralight-WebXL.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Euclid Flex";
  src: url("fonts/EuclidFlex-Light-WebXL.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Euclid Circular B";
  src: url("fonts/EuclidCircularB-Light-WebXL.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Euclid Circular B";
  src: url("fonts/EuclidCircularB-Regular-WebXL.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Euclid Circular B";
  src: url("fonts/EuclidCircularB-Medium-WebXL.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Euclid Circular B";
  src: url("fonts/EuclidCircularB-Semibold-WebXL.woff2") format("woff2");
  font-weight: 650;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Euclid Flex";
  src: url("fonts/EuclidFlex-Regular-WebXL.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Euclid Flex";
  src: url("fonts/EuclidFlex-Medium-WebXL.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Euclid Flex";
  src: url("fonts/EuclidFlex-Bold-WebXL.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Euclid Square";
  src: url("fonts/EuclidSquare-Light-WebXL.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Euclid Square";
  src: url("fonts/EuclidSquare-Regular-WebXL.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Euclid Square";
  src: url("fonts/EuclidSquare-Medium-WebXL.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Euclid Triangle";
  src: url("fonts/EuclidTriangle-Bold-WebXL.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f5f1e5;
  --paper-soft: #f5f1e5;
  --paper-deep: #f5f1e5;
  --ink: #171713;
  --muted: #6d685f;
  --line: rgba(23, 23, 19, 0.16);
  --line-strong: rgba(23, 23, 19, 0.32);
  --shadow: 0 28px 90px rgba(23, 23, 19, 0.12);
  --display: "Euclid Flex", "Euclid Circular A", Arial, sans-serif;
  --text: "Euclid Circular B", "Euclid Circular A", Arial, sans-serif;
  --caption: "Euclid Square", "Euclid Circular B", Arial, sans-serif;
  --sans: "Euclid Circular A", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 0;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-weight: 400;
  font-synthesis: none;
  text-rendering: geometricPrecision;
}

body.is-menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  min-width: 0;
  height: auto;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

figure {
  margin: 0;
}

button,
input,
textarea,
select {
  font: inherit;
  max-width: 100%;
  min-width: 0;
}

.site-header {
  position: fixed;
  top: 0;
  z-index: 40;
  isolation: isolate;
  width: 100%;
  border-bottom: 1px solid transparent;
  background: var(--paper);
  backdrop-filter: none;
  box-shadow: 0 0 0 rgba(23, 23, 19, 0);
  transition: background 240ms ease, border-color 240ms ease, color 240ms ease, backdrop-filter 240ms ease;
}

.site-header.has-premium-header {
  transition: none;
}

.site-header::before,
.site-header::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.site-header::before {
  inset: 0;
  z-index: -1;
  opacity: var(--header-glow-opacity, 0);
  background:
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.32) 48%, transparent 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0));
}

.site-header::after {
  display: none;
}

.site-header__inner {
  position: relative;
  z-index: 70;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  width: min(100%, 1680px);
  min-height: 72px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4.5vw, 76px);
}

.brand {
  display: inline-flex;
  justify-self: start;
  align-items: center;
  gap: 0.5em;
  color: var(--footer-cta-bg, currentColor);
  font-family: var(--display);
  font-size: clamp(1.08rem, 1.35vw, 1.45rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1;
}

.brand::before {
  display: block;
  flex: 0 0 auto;
  width: 0.82em;
  height: 1.1em;
  background: currentColor;
  transform: translateY(-0.03em);
  -webkit-mask: url("assets/block_shape_empty_cutouts.svg?v=3") 0 0 / 100% 100% no-repeat;
  mask: url("assets/block_shape_empty_cutouts.svg?v=3") 0 0 / 100% 100% no-repeat;
  content: "";
}

.brand--byggsikt {
  display: inline-flex;
  align-items: center;
  gap: 0.18em;
  width: auto;
  height: auto;
  color: #173a56;
  font-family: "Euclid Triangle", var(--display);
  font-size: clamp(1.18rem, 1.35vw, 1.62rem);
  font-weight: 800;
  letter-spacing: 0.095em;
  line-height: 1;
  -webkit-text-stroke: 0;
  text-shadow: none;
}

.brand--byggsikt::before {
  display: none;
}

.brand__mark {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 1.55em;
  height: 1.62em;
  overflow: visible;
  transform: translateY(-0.01em);
}

.brand__mark--full-logo {
  width: clamp(44px, 4.2vw, 60px);
  height: auto;
  aspect-ratio: 1;
  transform: none;
}

.brand__mark-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  overflow: hidden;
}

.brand__mark-image--dark {
  opacity: 1;
}

.brand__mark-image--light {
  opacity: 0;
}

.brand__text {
  display: block;
  transform: translateY(0.02em);
}

.site-nav {
  display: flex;
  justify-self: center;
  align-items: center;
  gap: clamp(22px, 2.7vw, 40px);
  color: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 0.42rem 0;
}

.site-nav a::after {
  display: none;
  content: none;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  display: none;
}

.menu-button {
  display: none;
  justify-self: end;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 2px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  position: relative;
  z-index: 60;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.is-menu-open .menu-button span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.is-menu-open .menu-button span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  gap: 32px;
  min-height: 100svh;
  max-height: 100svh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(92px, 13vh, 150px) clamp(22px, 7vw, 120px) clamp(28px, 6vw, 72px);
  background: rgba(245, 241, 229, 0.98);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-14px);
  transition: opacity 260ms ease, transform 260ms ease;
}

.is-menu-open .menu-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.is-menu-closing-fast .menu-panel {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(0) !important;
  transition: none !important;
}

.is-menu-navigating .menu-panel {
  opacity: 1 !important;
  pointer-events: none !important;
  transform: translateY(0) !important;
  transition: none !important;
}

.is-menu-navigating .menu-button {
  pointer-events: none;
}

.menu-panel__nav {
  display: grid;
  align-content: start;
  gap: clamp(20px, 4vh, 36px);
  color: rgba(23, 23, 19, 0.48);
}

.menu-panel__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(23, 23, 19, 0.08);
  font-family: var(--display);
  font-size: clamp(2.2rem, 7vw, 6.8rem);
  font-weight: 300;
  letter-spacing: 0.18em;
  line-height: 0.98;
  text-transform: uppercase;
  transition: color 180ms ease, letter-spacing 180ms ease;
}

.menu-panel__nav a::after {
  content: "+";
  font-family: var(--sans);
  font-size: clamp(1.1rem, 2vw, 1.8rem);
  font-weight: 400;
  letter-spacing: 0;
}

.menu-panel__nav a:hover {
  color: var(--ink);
  letter-spacing: 0.14em;
}

.menu-panel__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  min-width: 0;
  max-width: 100%;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.menu-panel__foot span {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.site-main {
  min-height: 100vh;
  padding-top: 73px;
}

.section {
  width: min(100%, 1680px);
  margin: 0 auto;
  padding: clamp(76px, 9vw, 154px) clamp(22px, 5vw, 96px);
}

.site-main,
.section,
.section > *,
.project-feature,
.project-feature__copy,
.project-feature__media,
.project-index__intro,
.project-index__layout,
.contact-hero,
.contact-hero__copy,
.contact-visual,
.contact-brief,
.contact-brief__notes,
.contact-form,
.contact-note,
.field,
.footer-card-shell {
  min-width: 0;
  max-width: 100%;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 300;
  letter-spacing: -0.07em;
  line-height: 0.88;
}

h1 {
  max-width: 820px;
  font-size: clamp(5.4rem, 12vw, 13rem);
}

h2 {
  font-size: clamp(3.8rem, 7.8vw, 8rem);
}

p {
  margin: 0;
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(1rem, 1.16vw, 1.18rem);
  font-weight: 500;
  line-height: 1.42;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  width: fit-content;
  padding: 0 28px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.button {
  background: var(--ink);
  color: var(--paper-soft);
}

.button:hover {
  transform: translateY(-2px);
}

.project-index {
  padding-top: clamp(70px, 7vw, 126px);
  padding-bottom: clamp(78px, 7.4vw, 132px);
}

.project-index__intro {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(280px, 0.42fr);
  gap: clamp(34px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(30px, 4vw, 62px);
  padding-bottom: clamp(22px, 2.8vw, 38px);
  border-bottom: 1px solid var(--line);
}

.project-index__intro h2 {
  font-size: clamp(3rem, 5.4vw, 6.3rem);
  max-width: 980px;
}

.project-index__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(340px, 0.46fr);
  gap: clamp(24px, 4vw, 70px);
  align-items: start;
}

.project-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(360px, 0.46fr);
  min-height: clamp(430px, 38vw, 620px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-soft);
  transition: transform 260ms ease, border-color 260ms ease;
}

.project-feature:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}

.project-feature__media {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 0;
}

.project-feature__media img,
.project-line img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-feature__media img {
  object-position: center bottom;
}

.project-feature__copy {
  position: relative;
  min-width: 0;
  container-type: inline-size;
  display: grid;
  grid-template-rows: auto minmax(120px, 1fr) auto auto;
  align-content: stretch;
  gap: clamp(18px, 2.1vw, 30px);
  padding: clamp(28px, 3vw, 48px);
  border-left: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(250, 246, 237, 0.94), rgba(238, 231, 216, 0.72)),
    radial-gradient(circle at 100% 0%, rgba(23, 23, 19, 0.075), transparent 34%);
  overflow: hidden;
}

.project-feature__copy::before {
  position: absolute;
  top: clamp(18px, 2vw, 34px);
  right: clamp(18px, 2vw, 32px);
  content: "01";
  color: rgba(23, 23, 19, 0.055);
  font-family: var(--display);
  font-size: clamp(7rem, 10vw, 12rem);
  font-weight: 300;
  letter-spacing: -0.08em;
  line-height: 0.72;
  pointer-events: none;
}

.project-feature__copy::after {
  position: absolute;
  right: clamp(28px, 3vw, 48px);
  bottom: clamp(28px, 3vw, 48px);
  left: clamp(28px, 3vw, 48px);
  height: 1px;
  background: var(--line);
  content: "";
  opacity: 0.72;
  transform: translateY(clamp(-48px, -4vw, -30px));
}

.project-feature__copy .project-meta {
  position: relative;
  z-index: 1;
  align-self: start;
  padding-bottom: clamp(18px, 2.2vw, 32px);
  border-bottom: 1px solid var(--line);
}

.project-feature__copy strong {
  position: relative;
  z-index: 1;
  align-self: center;
  display: block;
  max-width: 100%;
  font-family: var(--display);
  font-size: clamp(3rem, 4.1vw, 4.75rem);
  font-weight: 300;
  letter-spacing: -0.06em;
  line-height: 0.86;
  overflow-wrap: normal;
  white-space: nowrap;
}

@supports (font-size: 1cqw) {
  .project-feature__copy strong {
    font-size: clamp(3.1rem, 17cqw, 4.75rem);
  }
}

.project-feature__copy span:not(.project-meta):not(.project-feature__cta) {
  position: relative;
  z-index: 1;
  align-self: end;
  max-width: 360px;
  color: var(--muted);
  font-size: clamp(0.95rem, 1vw, 1.08rem);
  font-weight: 600;
  line-height: 1.45;
}

.project-feature__cta {
  position: relative;
  z-index: 1;
  align-self: end;
  width: fit-content;
  margin-top: clamp(12px, 1.4vw, 24px);
  padding-top: 14px;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
}

.project-feature__cta::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0.72);
  transform-origin: left;
  transition: transform 220ms ease;
}

.project-feature:hover .project-feature__cta::before {
  transform: scaleX(1);
}

.project-index__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.project-line {
  position: relative;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  grid-template-rows: minmax(92px, auto);
  gap: 10px;
  align-items: center;
  min-height: 108px;
  padding: 0;
  border: 1px solid var(--line);
  background: rgba(250, 246, 237, 0.52);
  transition: color 220ms ease, border-color 220ms ease, transform 220ms ease, background 220ms ease;
}

.project-line:hover {
  border-color: var(--line-strong);
  background: var(--paper-soft);
  color: var(--muted);
  transform: translateY(-5px);
}

.project-line span,
.project-line em {
  color: var(--muted);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-line span {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  padding: 18px 0 0 18px;
}

.project-line strong {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  padding: 0;
  font-family: var(--display);
  font-size: clamp(2.1rem, 2.7vw, 3.8rem);
  font-weight: 300;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.project-line em {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  justify-self: end;
  padding: 0 0 18px;
}

.project-line img {
  grid-column: 3;
  grid-row: 1;
  width: 92px;
  height: 76px;
  margin-right: 16px;
  border: 0;
  border-left: 1px solid var(--line);
  opacity: 1;
  pointer-events: none;
  transform: scale(1);
  transition: transform 260ms ease;
}

.project-line:hover img {
  transform: scale(1.045);
}


.project-meta {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link {
  width: fit-content;
  margin-top: 8px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
}

/* Standard placement for new image-led project heroes. */

.about-page .site-main {
  background:
    linear-gradient(90deg, rgba(23, 52, 82, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(23, 52, 82, 0.03) 1px, transparent 1px),
    var(--paper);
  background-size: 76px 76px;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(380px, 0.72fr);
  gap: clamp(44px, 6vw, 106px);
  align-items: end;
  padding-top: clamp(132px, 11vw, 190px);
  padding-bottom: clamp(70px, 8vw, 132px);
}

.about-hero__copy {
  display: grid;
  gap: clamp(20px, 2.2vw, 34px);
  align-content: end;
}

.about-hero h1,
.about-section-head h2,
.about-process__copy h2,
.about-region h2 {
  max-width: 980px;
  letter-spacing: 0;
  line-height: 0.92;
  text-wrap: balance;
}

.about-hero h1 {
  font-size: 6.4rem;
}

.about-hero__lead {
  max-width: 620px;
  margin: 0;
  color: rgba(23, 23, 19, 0.72);
  font-size: 1.14rem;
  line-height: 1.58;
}

.about-hero__signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 760px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-hero__signals span {
  display: grid;
  gap: 0.42rem;
  min-width: 0;
  padding: 1rem clamp(0.9rem, 1.2vw, 1.3rem);
  color: rgba(23, 23, 19, 0.7);
  font-family: var(--caption);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.35;
  text-transform: uppercase;
}

.about-hero__signals span + span {
  border-left: 1px solid var(--line);
}

.about-hero__signals strong {
  color: #173452;
  font-size: 0.64rem;
}

.about-hero__media {
  display: grid;
  align-items: end;
  min-width: 0;
}

.about-hero__image,
.about-process__image,
.about-image-band figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(23, 23, 19, 0.14);
  background: #e9e2d3;
}

.about-hero__image img,
.about-process__image img,
.about-image-band img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero__image--main {
  aspect-ratio: 1 / 1.08;
}

.about-hero__image--detail {
  justify-self: end;
  width: min(66%, 360px);
  aspect-ratio: 4 / 5.1;
  margin-top: clamp(-118px, -7vw, -72px);
  margin-right: clamp(18px, 3vw, 46px);
  border-color: rgba(250, 246, 237, 0.9);
  box-shadow: 0 28px 76px rgba(23, 23, 19, 0.22);
}

.about-statement {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: clamp(34px, 5vw, 86px);
  align-items: start;
  padding-top: clamp(48px, 6vw, 88px);
  padding-bottom: clamp(48px, 6vw, 88px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-statement > p {
  max-width: 1080px;
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: 3.35rem;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.04;
  text-wrap: balance;
}

.about-statement__list {
  display: grid;
  border-top: 1px solid var(--line);
}

.about-statement__list span {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  color: rgba(23, 23, 19, 0.7);
  font-size: 0.9rem;
  font-weight: 850;
}

.about-principles {
  display: grid;
  gap: clamp(34px, 5vw, 76px);
}

.about-section-head {
  display: grid;
  gap: 18px;
  max-width: 940px;
}

.about-section-head h2,
.about-process__copy h2,
.about-region h2 {
  font-size: 4.8rem;
}

.about-principles__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.about-principles__grid article {
  display: grid;
  align-content: space-between;
  gap: clamp(24px, 4vw, 72px);
  min-height: 360px;
  padding: clamp(24px, 3.2vw, 46px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(250, 246, 237, 0.7);
}

.about-principles__grid span,
.about-process__steps span {
  color: #173452;
  font-family: var(--caption);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.about-principles__grid strong {
  font-family: var(--display);
  font-size: 2.28rem;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1;
}

.about-principles__grid p {
  margin: 0;
  color: rgba(23, 23, 19, 0.68);
  line-height: 1.58;
}

.about-process {
  display: grid;
  grid-template-columns: minmax(340px, 0.55fr) minmax(0, 0.85fr);
  gap: clamp(34px, 6vw, 96px);
  align-items: stretch;
}

.about-process__image {
  min-height: 620px;
}

.about-process__copy {
  display: grid;
  align-content: center;
  gap: clamp(20px, 2.4vw, 34px);
  padding: clamp(32px, 5vw, 76px) 0 clamp(32px, 5vw, 76px) clamp(26px, 4vw, 68px);
  border-left: 1px solid var(--line);
}

.about-process__copy > p:not(.eyebrow) {
  max-width: 610px;
  margin: 0;
  color: rgba(23, 23, 19, 0.72);
  font-size: 1.04rem;
  line-height: 1.62;
}

.about-process__steps {
  display: grid;
  gap: 0;
  max-width: 720px;
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.about-process__steps li {
  display: grid;
  grid-template-columns: minmax(130px, 0.28fr) minmax(0, 1fr);
  gap: 22px;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
}

.about-process__steps p {
  margin: 0;
  color: rgba(23, 23, 19, 0.68);
  line-height: 1.5;
}

.about-image-band {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 46px);
  align-items: end;
  padding-top: clamp(40px, 5vw, 72px);
}

.about-image-band figure {
  display: grid;
  gap: 0;
  background: transparent;
}

.about-image-band figure:first-child {
  aspect-ratio: 4 / 5.35;
}

.about-image-band figure:last-child {
  aspect-ratio: 16 / 10;
}

.about-image-band figcaption {
  padding: 0.9rem 0 0;
  color: rgba(23, 23, 19, 0.68);
  font-size: 0.88rem;
  font-weight: 780;
  line-height: 1.45;
}

.about-region {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.5fr);
  gap: clamp(30px, 5vw, 84px);
  align-items: end;
  margin-bottom: clamp(46px, 6vw, 92px);
  background: #173452;
  color: var(--paper);
}

.about-region .eyebrow,
.about-region p {
  color: rgba(250, 246, 237, 0.72);
}

.about-region p {
  max-width: 560px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
}

@media (max-width: 1180px) {
  .about-hero,
  .about-statement,
  .about-process,
  .about-region {
    grid-template-columns: 1fr;
  }

  .about-hero {
    align-items: start;
  }

  .about-hero__copy {
    max-width: 900px;
  }

  .about-hero__media {
    width: min(100%, 760px);
  }

  .about-principles__grid {
    grid-template-columns: 1fr;
  }

  .about-principles__grid article {
    min-height: 280px;
  }

  .about-process__copy {
    padding: 0;
    border-left: 0;
  }
}

@media (max-width: 760px) {
  .about-hero {
    gap: 34px;
    padding-top: 112px;
  }

  .about-hero h1 {
    font-size: 3.85rem;
    line-height: 0.94;
  }

  .about-hero__lead {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .about-hero__signals {
    grid-template-columns: 1fr;
  }

  .about-hero__signals span {
    padding: 0.82rem 0;
  }

  .about-hero__signals span + span {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .about-hero__image--main {
    aspect-ratio: 4 / 4.8;
  }

  .about-hero__image--detail {
    width: min(74%, 280px);
    margin-top: -54px;
    margin-right: 14px;
  }

  .about-statement > p {
    font-size: 2.2rem;
    line-height: 1.08;
  }

  .about-section-head h2,
  .about-process__copy h2,
  .about-region h2 {
    font-size: 3rem;
    line-height: 0.98;
  }

  .about-principles__grid article {
    min-height: auto;
    gap: 28px;
    padding: 24px 0;
    border-right: 0;
    background: transparent;
  }

  .about-principles__grid {
    border-left: 0;
  }

  .about-principles__grid strong {
    font-size: 2rem;
  }

  .about-process__image {
    min-height: 420px;
  }

  .about-process__steps li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .about-image-band {
    grid-template-columns: 1fr;
  }

  .about-image-band figure:first-child,
  .about-image-band figure:last-child {
    aspect-ratio: 4 / 4.8;
  }

  .about-region {
    margin-bottom: 42px;
    padding-top: 54px;
    padding-bottom: 54px;
  }
}

@media (max-width: 360px) {
  .about-hero h1 {
    font-size: 3.1rem;
  }

  .about-section-head h2,
  .about-process__copy h2,
  .about-region h2 {
    font-size: 2.55rem;
  }

  .about-statement > p {
    font-size: 1.9rem;
  }
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.72fr);
  gap: clamp(40px, 7vw, 126px);
  align-items: end;
  padding-top: clamp(126px, 10vw, 188px);
  padding-bottom: clamp(48px, 5vw, 90px);
}

.contact-hero__copy {
  display: grid;
  gap: clamp(24px, 2.5vw, 38px);
  max-width: 980px;
}

.contact-hero__copy h1 {
  max-width: 980px;
  font-size: clamp(4.5rem, 8.8vw, 12.4rem);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 0.92;
}

.contact-hero__copy > p {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.35vw, 1.45rem);
  font-weight: 450;
  line-height: 1.52;
}

.contact-hero__meta {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: 18px;
  max-width: 760px;
  padding-top: clamp(20px, 2.4vw, 34px);
  border-top: 1px solid var(--line);
  color: rgba(23, 23, 19, 0.74);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  line-height: 1.45;
  text-transform: uppercase;
}

.contact-hero__meta a {
  width: fit-content;
  border-bottom: 1px solid currentColor;
}

.contact-visual {
  position: relative;
  min-height: clamp(520px, 48vw, 760px);
  overflow: hidden;
  border: 0;
  background: var(--paper-deep);
}

.contact-visual::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(23, 23, 19, 0.18), rgba(23, 23, 19, 0.02) 34%, rgba(23, 23, 19, 0.46)),
    linear-gradient(90deg, rgba(23, 23, 19, 0.16), transparent 44%);
  content: "";
  pointer-events: none;
}

.contact-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(0.96) brightness(0.88);
}

.contact-visual figcaption {
  position: absolute;
  left: clamp(22px, 3vw, 48px);
  right: clamp(22px, 3vw, 48px);
  bottom: clamp(22px, 3vw, 48px);
  z-index: 2;
  color: rgba(250, 246, 237, 0.86);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-brief {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.76fr);
  gap: clamp(46px, 7vw, 132px);
  align-items: start;
  padding-top: clamp(48px, 5vw, 86px);
}

.contact-brief__notes {
  display: grid;
  gap: clamp(22px, 2.4vw, 34px);
  position: sticky;
  top: 120px;
  padding-top: 4px;
}

.contact-brief__notes h2 {
  max-width: 560px;
  font-family: var(--display);
  font-size: clamp(2.55rem, 4.5vw, 6.1rem);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 0.98;
}

.contact-note {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: clamp(18px, 2vw, 30px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.contact-note span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.contact-note p {
  max-width: 520px;
  color: rgba(23, 23, 19, 0.68);
  font-size: clamp(0.98rem, 1.02vw, 1.12rem);
  font-weight: 500;
  line-height: 1.55;
}

.contact-form--premium {
  background:
    linear-gradient(180deg, rgba(250, 246, 237, 0.72), rgba(245, 241, 229, 0.46)),
    var(--paper);
  box-shadow: none;
}

.contact-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 3vw, 52px);
  border-top: 1px solid var(--line-strong);
  background: transparent;
}

.contact-form__head {
  display: grid;
  grid-template-columns: minmax(120px, 0.3fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 92px);
  padding-top: clamp(22px, 2.4vw, 36px);
}

.contact-form__head p:last-child {
  max-width: 760px;
  color: rgba(23, 23, 19, 0.68);
  font-size: clamp(1rem, 1.16vw, 1.28rem);
  font-weight: 500;
  line-height: 1.58;
}

.contact-form__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(28px, 4vw, 72px);
  border-top: 1px solid var(--line);
}

.field {
  display: grid;
  gap: 13px;
  min-width: 0;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.field--wide {
  grid-column: 1 / -1;
}

.field label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.18vw, 1.28rem);
  font-weight: 400;
  line-height: 1.35;
  outline: none;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(23, 23, 19, 0.42);
}

.field select {
  appearance: none;
  cursor: pointer;
}

.field textarea {
  min-height: 164px;
  resize: vertical;
}

.form-status {
  max-width: 720px;
  margin: -16px 0 0;
  padding: 18px 20px;
  border: 1px solid rgba(23, 52, 82, 0.24);
  background: rgba(23, 52, 82, 0.08);
  color: #173452;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.5;
}

.form-status.is-error {
  border-color: rgba(139, 37, 27, 0.28);
  background: rgba(139, 37, 27, 0.08);
  color: #8b251b;
}

.contact-form .contact-submit-button.is-sent {
  border-color: #5d5549 !important;
  background: #5d5549 !important;
  color: #fffaf0 !important;
}

.page-footer {
  --footer-frame-inset: 0px;
  --footer-frame-bottom-inset: 0px;
  --footer-text: #fff5e6;
  --footer-muted: rgba(255, 245, 230, 0.78);
  --footer-soft: rgba(255, 245, 230, 0.62);
  --footer-heading: #f4d89b;
  --footer-rule: rgba(255, 245, 230, 0.18);
  position: relative;
  isolation: isolate;
  overflow: visible;
  padding: 0;
  border-top: 0;
  background: var(--paper);
  color: #f7efe2;
}

.page-footer::before {
  content: none;
}

.footer-card-shell {
  --footer-ribbon-left: -58px;
  --footer-ribbon-top: 105.7%;
  --footer-ribbon-height: 86%;
  --footer-ribbon-bleed: 0px;
  --footer-f-clearance: clamp(360px, 29vw, 450px);
  --footer-logo-size: clamp(140px, 9.8vw, 184px);
  position: relative;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  overflow: hidden;
  width: calc(100% - var(--footer-frame-inset) - var(--footer-frame-inset));
  min-height: clamp(340px, 40vh, 430px);
  margin: 0 var(--footer-frame-inset) var(--footer-frame-bottom-inset);
  border: 0;
  border-radius: 0;
  background: var(--footer-cta-bg, var(--paper));
  box-shadow: none;
}

.footer-card-shell::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 13% 18%, rgba(48, 151, 190, 0.28), rgba(48, 151, 190, 0) 30%),
    radial-gradient(circle at 61% 18%, rgba(244, 216, 155, 0.14), rgba(10, 9, 7, 0) 38%),
    linear-gradient(90deg, rgba(5, 7, 8, 0.94), rgba(7, 24, 31, 0.76) 45%, rgba(5, 6, 5, 0.92)),
    linear-gradient(180deg, rgba(20, 45, 70, 0.48), rgba(7, 7, 6, 0.92)),
    url("assets/footer-wood-cv6.webp") center / cover no-repeat;
  -webkit-mask: url("assets/footer-wood-cutout.svg?v=13") 0 0 / 100% 100% no-repeat;
  mask: url("assets/footer-wood-cutout.svg?v=13") 0 0 / 100% 100% no-repeat;
  content: "";
}

.footer-card-shell::after {
  position: absolute;
  top: var(--footer-ribbon-top);
  bottom: auto;
  left: var(--footer-ribbon-left);
  z-index: 2;
  width: auto;
  height: var(--footer-ribbon-height);
  aspect-ratio: 655 / 465;
  pointer-events: none;
  background: url("assets/brand/byggsikt-footer-ribbon-only-true-cutouts-extended-source.svg?v=12") 0 0 / 100% 100% no-repeat;
  opacity: 1;
  transform: rotate(-90deg);
  transform-origin: 0 0;
  content: "";
}

.footer-cta {
  position: relative;
  isolation: isolate;
  background: var(--footer-cta-bg, #dfd8ca);
  color: var(--footer-cta-ink, #171510);
  border-top: 1px solid var(--footer-cta-line, rgba(23, 21, 16, 0.08));
}

.footer-cta__inner {
  display: grid;
  grid-template-columns: minmax(112px, 0.18fr) minmax(0, 0.78fr) minmax(180px, 0.24fr);
  gap: clamp(52px, 6.8vw, 136px);
  align-items: end;
  max-width: none;
  min-height: 0;
  padding-top: clamp(58px, 5.8vw, 96px);
  padding-bottom: clamp(86px, 7.2vw, 128px);
}

.footer-cta__eyebrow {
  margin: 0;
  color: var(--footer-cta-faint, rgba(23, 21, 16, 0.58));
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.footer-cta__copy {
  display: grid;
  gap: clamp(18px, 1.9vw, 28px);
}

.footer-cta__copy h2 {
  margin: 0;
  max-width: 840px;
  color: var(--footer-cta-ink, #171510);
  font-family: var(--display);
  font-size: clamp(4rem, 6.35vw, 7.4rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.92;
  text-wrap: balance;
}

.footer-cta__copy p {
  margin: 0;
  max-width: 640px;
  color: var(--footer-cta-muted, rgba(23, 21, 16, 0.62));
  font-size: clamp(1rem, 1.18vw, 1.14rem);
  font-weight: 560;
  line-height: 1.68;
}

.footer-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  margin-bottom: clamp(6px, 0.8vw, 14px);
  min-width: 174px;
  min-height: 46px;
  padding: 0.98rem 1.48rem 0.92rem;
  border: 1px solid var(--footer-cta-ink, #171510);
  border-radius: 2px;
  background: transparent;
  color: var(--footer-cta-ink, #171510);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(23, 21, 16, 0);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.footer-cta__button:hover,
.footer-cta__button:focus-visible {
  transform: translateY(-1px);
  background: var(--footer-cta-ink, #171510);
  color: var(--footer-cta-bg, var(--paper-soft));
  box-shadow: inset 0 0 0 1px rgba(243, 238, 226, 0.18);
}

@media (max-width: 1180px) {
  .footer-cta__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(24px, 5vw, 52px);
    padding-top: clamp(58px, 7vw, 84px);
    padding-bottom: clamp(72px, 8vw, 96px);
  }

  .footer-cta__eyebrow {
    grid-column: 1 / -1;
  }

  .footer-cta__copy h2 {
    font-size: clamp(3.7rem, 10vw, 6.8rem);
  }

  .footer-mark::before {
    top: calc(0px - var(--footer-logo-size) - clamp(42px, 7vw, 64px));
    left: 0;
  }
}

@media (max-width: 760px) {
  .footer-cta__inner {
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: 58px;
    padding-bottom: 72px;
  }

  .footer-cta__copy h2 {
    font-size: clamp(3rem, 17vw, 4.6rem);
  }

  .footer-cta__copy p {
    font-size: 0.98rem;
  }

  .footer-cta__button {
    justify-self: start;
    min-width: 164px;
  }
}

.page-footer .section {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: none;
  padding: clamp(42px, 4.6vw, 72px) clamp(34px, 7vw, 132px);
}

.page-footer .footer-grid {
  padding-top: clamp(72px, 8vh, 104px);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(360px, 1.08fr) repeat(3, minmax(150px, 0.42fr));
  gap: clamp(36px, 4.8vw, 96px);
  align-items: start;
}

.footer-mark {
  box-sizing: border-box;
  position: relative;
  display: grid;
  gap: 18px;
  max-width: 560px;
}

.footer-mark::before {
  position: absolute;
  top: clamp(-22px, -1.35vw, -8px);
  left: clamp(-292px, -15.6vw, -216px);
  z-index: 1;
  width: var(--footer-logo-size);
  height: var(--footer-logo-size);
  pointer-events: none;
  background:
    url("assets/brand/mw-logo-light-footer.webp") center / 92% auto no-repeat,
    radial-gradient(circle at 50% 52%, rgba(49, 151, 185, 0.1), rgba(20, 52, 82, 0.05) 46%, rgba(0, 0, 0, 0) 70%);
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.44));
  mix-blend-mode: normal;
  opacity: 0.9;
  content: "";
}

.footer-mark strong {
  font-family: var(--sans);
  font-size: clamp(0.94rem, 0.92vw, 1.08rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--footer-text);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.05), 0 10px 30px rgba(8, 7, 6, 0.34);
  white-space: nowrap;
}

.footer-mark p {
  color: var(--footer-muted);
  max-width: 480px;
  font-size: clamp(0.94rem, 0.95vw, 1.02rem);
  font-weight: 570;
  line-height: 1.72;
}

.footer-col {
  display: grid;
  gap: 13px;
  padding-left: clamp(14px, 1.3vw, 22px);
  border-left: 1px solid var(--footer-rule);
  color: var(--footer-muted);
  font-size: 0.84rem;
  font-weight: 680;
}

.footer-col h2 {
  margin: 0 0 12px;
  color: var(--footer-heading);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
}

.footer-col a {
  width: fit-content;
  color: var(--footer-muted);
  line-height: 1.28;
  transition: color 220ms ease, transform 220ms ease;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--footer-text);
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 245, 230, 0.12);
  color: var(--footer-soft);
  font-size: 0.78rem;
  font-weight: 680;
  padding-top: clamp(22px, 2.4vw, 38px);
  padding-bottom: clamp(24px, 2.8vw, 42px);
}

.footer-bottom span:last-child {
  color: var(--footer-muted);
}

.split-line {
  overflow: hidden;
  padding-top: 0.18em;
  padding-bottom: 0.16em;
  margin-top: -0.18em;
  margin-bottom: -0.16em;
}

.js body:not(.blog-index-page):not(.blog-article-page) [data-reveal]:not([data-motion-played]) {
  opacity: 0;
  transform: translate3d(0, 44px, 0);
  will-change: transform, opacity;
}

.js body:not(.blog-index-page):not(.blog-article-page) [data-reveal].project-line:not([data-motion-played]) {
  transform: translate3d(0, 28px, 0);
}

.js body:not(.blog-index-page):not(.blog-article-page) [data-reveal].contact-visual:not([data-motion-played]),
.js body:not(.blog-index-page):not(.blog-article-page) [data-reveal].contact-page-hero__media:not([data-motion-played]),
.js body:not(.blog-index-page):not(.blog-article-page) [data-reveal].services-hero__media:not([data-motion-played]),
.js body:not(.blog-index-page):not(.blog-article-page) [data-reveal].about-hero__media:not([data-motion-played]) {
  transform: translate3d(0, 58px, 0);
}

.js body:not(.blog-index-page):not(.blog-article-page) [data-split]:not([data-motion-prepared]):not([data-motion-played]) {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  will-change: transform, opacity;
}

.js body:not(.blog-index-page):not(.blog-article-page) [data-reveal] [data-split]:not([data-motion-prepared]):not([data-motion-played]) {
  opacity: 1;
  transform: none;
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  .js body:not(.blog-index-page):not(.blog-article-page) [data-reveal]:not([data-motion-played]),
  .js body:not(.blog-index-page):not(.blog-article-page) [data-split]:not([data-motion-prepared]):not([data-motion-played]) {
    opacity: 1;
    transform: none;
    will-change: auto;
  }
}

@media (max-width: 1180px) {
  
  .contact-hero,
  .contact-brief,
  .project-index__intro,
  .project-index__layout,
  .project-feature {
    grid-template-columns: 1fr;
  }

  .project-feature__copy {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  
  .project-index__list {
    grid-template-columns: 1fr;
  }

  .contact-brief__notes {
    position: static;
  }

  .contact-visual {
    min-height: 520px;
  }
}

@media (max-width: 760px) {
  .site-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 70px;
    padding: 0 16px;
  }

  .brand {
    font-size: clamp(1.05rem, 5.2vw, 1.45rem);
    letter-spacing: 0.05em;
  }

  .brand--byggsikt {
    font-size: clamp(1.02rem, 4.8vw, 1.28rem);
    letter-spacing: 0.11em;
  }

.brand__mark--full-logo {
    width: clamp(38px, 10.5vw, 48px);
    max-width: calc(100vw - 76px);
  }

  .menu-button {
    display: inline-grid;
    place-content: center;
    width: 40px;
    height: 40px;
  }

  .site-nav {
    display: none;
  }

  .site-nav a {
    padding: 0;
    border-bottom: 0;
  }

  .section {
    padding: 54px 16px;
  }

  .menu-panel {
    gap: 24px;
    padding: 88px 18px 24px;
  }

  .menu-panel__nav {
    gap: clamp(12px, 2.6vh, 22px);
  }

  .menu-panel__nav a {
    min-height: 54px;
    padding: 0.2em 0 0.34em;
    font-size: clamp(1.65rem, 11vw, 3.2rem);
    letter-spacing: 0.08em;
    line-height: 1.02;
  }

  .menu-panel__foot {
    font-size: 0.64rem;
  }

  .contact-hero {
    gap: 34px;
    padding-top: 112px;
  }

  .contact-hero__copy h1 {
    font-size: clamp(3.1rem, 14vw, 5.2rem);
  }

  .contact-hero__meta,
  .contact-form__head,
  .contact-form__fields {
    grid-template-columns: 1fr;
  }

  .contact-visual {
    height: min(58svh, 480px);
    min-height: 340px;
  }

  .contact-brief {
    gap: 38px;
  }

  h1 {
    font-size: clamp(4.6rem, 21vw, 7rem);
  }

  h2 {
    font-size: clamp(3.2rem, 15vw, 5.1rem);
  }

  .project-feature {
    min-height: 0;
  }

  .project-feature__media {
    aspect-ratio: 4 / 5;
  }

  .project-line {
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 12px 14px;
    min-height: 0;
    padding: 16px;
  }

  .project-line span {
    grid-column: 1;
    grid-row: 1;
    padding: 0;
  }

  .project-line strong {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    min-width: 0;
    padding: 0;
    line-height: 0.94;
    overflow-wrap: anywhere;
  }

  .project-line em {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    justify-self: start;
    padding: 0;
  }

  .project-line img {
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
    height: 180px;
    margin: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .project-line strong {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .page-footer {
    padding: 0;
    background: var(--footer-cta-bg, #173452);
  }

  .footer-card-shell {
    width: 100%;
    min-height: clamp(650px, 82svh, 760px);
    margin: 0;
    border-radius: 0;
  }

  .page-footer .section {
    padding: 54px 22px;
  }

  .page-footer .footer-grid {
    padding-top: clamp(210px, 38vw, 270px);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-bottom {
    align-items: start;
    flex-direction: column;
    padding-top: 44px;
  }
}

@media (max-width: 1000px) {
  .footer-card-shell {
    --footer-ribbon-left: -58px;
    --footer-ribbon-top: 105.7%;
    --footer-ribbon-height: 86%;
    --footer-ribbon-bleed: 0px;
    --footer-f-clearance: clamp(330px, 56vw, 430px);
    --footer-logo-size: clamp(132px, 21vw, 174px);
    min-height: auto;
  }

  .page-footer .section {
    padding-right: clamp(18px, 5vw, 42px);
    padding-left: clamp(18px, 5vw, 42px);
  }

  .page-footer .footer-grid {
    padding-top: calc(var(--footer-f-clearance) + clamp(26px, 5vw, 48px));
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(28px, 5vw, 46px) clamp(22px, 5vw, 44px);
  }

  .footer-mark {
    grid-column: 1 / -1;
    max-width: min(100%, 520px);
  }

  .footer-mark::before {
    top: calc(0px - var(--footer-logo-size) - clamp(42px, 7vw, 64px));
    left: 0;
  }

  .footer-mark p {
    max-width: min(100%, 420px);
  }

  .footer-bottom {
    padding-top: clamp(34px, 7vw, 56px);
  }
}

@media (max-width: 760px) {
  .footer-card-shell {
    --footer-ribbon-left: -58px;
    --footer-ribbon-top: 105.7%;
    --footer-ribbon-height: 86%;
    --footer-ribbon-bleed: 0px;
    --footer-f-clearance: clamp(320px, 92vw, 410px);
    --footer-logo-size: clamp(172px, 50vw, 210px);
  }

  .page-footer .footer-grid {
    padding-top: calc(var(--footer-f-clearance) + 30px);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-col {
    gap: 12px;
    padding-top: 20px;
    padding-left: 0;
    border-top: 1px solid var(--footer-rule);
    border-left: 0;
  }

  .footer-mark strong {
    font-size: 0.92rem;
    letter-spacing: 0.14em;
  }

  .footer-mark::before {
    top: calc(0px - var(--footer-logo-size) - clamp(104px, 28vw, 142px));
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.82;
  }
}

@media (max-width: 360px) {
  .site-header__inner {
    min-height: 62px;
    padding: 0 12px;
  }

  .brand {
    font-size: clamp(0.86rem, 6.2vw, 1.08rem);
    letter-spacing: 0.02em;
  }

  .menu-button {
    width: 34px;
    height: 34px;
  }

  .menu-button span {
    width: 15px;
    margin: 4px auto;
  }

  .site-main {
    padding-top: 63px;
  }

  .section {
    padding: 42px 12px;
  }

  .menu-panel {
    gap: 18px;
    padding: 76px 12px 18px;
  }

  .menu-panel__nav a {
    min-height: 44px;
    font-size: clamp(1.15rem, 11vw, 2.05rem);
    letter-spacing: 0.03em;
    line-height: 1.06;
    overflow-wrap: anywhere;
  }

  .project-feature__copy > * {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .project-feature__copy strong {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  h1 {
    font-size: clamp(2.3rem, 18vw, 4rem);
  }

  h2,
  .contact-hero__copy h1 {
    font-size: clamp(2rem, 16vw, 3.4rem);
    letter-spacing: 0;
    line-height: 1.02;
  }

  .eyebrow,
  .project-meta,
  .contact-hero__meta,
  .contact-visual figcaption,
  .text-link {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }

  .split-line,
  [data-split] .split-line,
  [data-split] .split-line > * {
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .section h1,
  .section h2,
  .section p,
  .section span,
  .section strong,
  .section a,
  .section div,
  .page-footer h2,
  .page-footer p,
  .page-footer span,
  .page-footer strong,
  .page-footer a,
  .contact-brief__notes > *,
  .footer-mark,
  .footer-mark > *,
  .footer-col,
  .footer-col > * {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .project-feature__copy {
    padding: 22px;
  }

  .project-feature__media,
  .contact-visual {
    min-height: 0;
    height: auto;
    max-height: none;
  }

  .project-feature__media,
  .contact-visual {
    aspect-ratio: 4 / 5;
  }

  .project-line {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px 12px;
    padding: 12px;
  }

  .project-line img {
    height: 150px;
  }

  .contact-note {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-form__head,
  .contact-form__fields,
  .contact-hero__meta {
    grid-template-columns: 1fr;
  }

  .field {
    padding: 18px 0;
  }

  .field input,
  .field textarea,
  .field select {
    font-size: 0.95rem;
  }

  .page-footer {
    padding: 0;
  }

  .page-footer .section {
    padding: 42px 12px;
  }

  .footer-grid {
    gap: 30px;
  }

  .footer-mark {
    gap: 16px;
  }

  .footer-mark strong {
    font-size: clamp(0.72rem, 5.2vw, 0.96rem);
    letter-spacing: 0.12em;
  }

  .footer-mark p,
  .footer-col,
  .footer-bottom {
    font-size: clamp(0.66rem, 4.6vw, 0.84rem);
  }

  .footer-col h2 {
    font-size: clamp(0.58rem, 4vw, 0.72rem);
    letter-spacing: 0.1em;
  }
}

@media (max-width: 240px) {
  .site-header__inner {
    min-height: 56px;
    padding: 0 8px;
  }

  .brand {
    font-size: 0.82rem;
    letter-spacing: 0;
  }

  .menu-button {
    width: 31px;
    height: 31px;
  }

  .site-main {
    padding-top: 57px;
  }

  .section {
    padding: 34px 8px;
  }

  .menu-panel {
    padding: 66px 8px 14px;
  }

  h1,
  h2,
  .contact-hero__copy h1 {
    font-size: clamp(1.72rem, 16vw, 2.55rem);
  }

  .project-feature__copy {
    padding: 16px;
  }

  .eyebrow,
  .project-meta,
  .contact-hero__meta,
  .contact-visual figcaption,
  .text-link,
  .field label {
    font-size: 0.56rem;
    letter-spacing: 0.06em;
  }

  .page-footer .section {
    padding: 32px 8px;
  }

  .footer-grid,
  .footer-mark,
  .footer-col {
    gap: 12px;
  }

  .footer-bottom {
    gap: 12px;
    padding-top: 28px;
    padding-bottom: 34px;
  }
}

@media (max-width: 180px) {
  .site-header__inner {
    min-height: 50px;
    padding: 0 6px;
  }

  .brand {
    font-size: 0.68rem;
    line-height: 1.05;
  }

  .menu-button {
    width: 28px;
    height: 28px;
  }

  .menu-button span {
    width: 12px;
  }

  .site-main {
    padding-top: 51px;
  }

  .section {
    padding: 28px 6px;
  }

  .menu-panel {
    padding: 58px 6px 12px;
  }

  .menu-panel__nav a {
    min-height: 34px;
    font-size: clamp(0.92rem, 12vw, 1.35rem);
    letter-spacing: 0;
  }

  .menu-panel__nav,
  .menu-panel__nav a,
  .contact-form,
  .contact-form__head,
  .contact-form__fields,
  .contact-form__head > *,
  .contact-form__fields > *,
  .field,
  .field > *,
  .footer-card-shell,
  .footer-card-shell * {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere;
  }

  .project-feature__copy,
  .project-feature__copy > *,
  .project-feature__media,
  .project-feature__media img {
    clip-path: none !important;
    transform: none !important;
  }

  .project-feature__copy {
    grid-template-rows: auto;
  }

  .project-feature__copy::after {
    display: none;
  }

  .project-feature__copy strong {
    font-size: clamp(1.1rem, 14vw, 1.6rem);
    letter-spacing: -0.02em;
    line-height: 1;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .project-feature__copy span:not(.project-meta):not(.project-feature__cta),
  .project-feature__cta {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .contact-form,
  .contact-form__head,
  .contact-form__fields,
  .field {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  h1,
  h2,
  .contact-hero__copy h1 {
    font-size: clamp(1.32rem, 15vw, 2rem);
    line-height: 1.04;
  }

  p,
  .field input,
  .field textarea,
  .field select,
  .footer-mark p,
  .footer-col,
  .footer-bottom {
    font-size: 0.58rem;
    line-height: 1.42;
  }

  .project-feature__copy {
    padding: 12px;
  }

  .project-feature__media,
  .contact-visual {
    min-height: 120px;
  }

  .project-line {
    grid-template-columns: 1fr;
  }

  .project-line span,
  .project-line strong,
  .project-line em,
  .project-line img {
    grid-column: 1;
  }

  .project-line img {
    height: 112px;
  }

  .page-footer .section {
    padding: 26px 6px;
  }

  .footer-mark strong {
    font-size: 0.62rem;
    letter-spacing: 0.06em;
  }
}

@media (max-width: 120px) {
  .site-header__inner {
    min-height: 42px;
    padding: 0 4px;
  }

  .brand {
    font-size: 0.52rem;
  }

  .menu-button {
    width: 24px;
    height: 24px;
  }

  .menu-button span {
    width: 10px;
    margin: 3px auto;
  }

  .site-main {
    padding-top: 43px;
  }

  .section {
    padding: 22px 4px;
  }

  
  .menu-panel {
    padding-left: 4px;
    padding-right: 4px;
  }

  
  .contact-form > *,
  .contact-form__head > *,
  .contact-form__fields > *,
  .field > *,
  .footer-card-shell,
  .footer-card-shell * {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere;
  }

  h1,
  h2,
  strong,
  a,
  span,
  p {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .menu-panel {
    padding-top: 48px;
  }

  .menu-panel__nav {
    gap: 7px;
  }

  .menu-panel__nav a {
    min-height: 26px;
    font-size: 0.7rem;
    line-height: 1.05;
  }

  .menu-panel__nav a::after {
    display: none;
  }

  .menu-panel__foot {
    gap: 4px 6px;
    font-size: 0.44rem;
    letter-spacing: 0.03em;
  }

  
  h1,
  h2,
  .contact-hero__copy h1 {
    font-size: clamp(0.9rem, 15vw, 1.25rem);
    line-height: 1.08;
  }

  .eyebrow,
  .project-meta,
  .text-link,
  .field label,
  .footer-col h2 {
    font-size: 0.45rem;
    letter-spacing: 0.03em;
  }

  p,
  .field input,
  .field textarea,
  .field select,
  .footer-mark p,
  .footer-col,
  .footer-bottom {
    font-size: 0.48rem;
  }

  .project-feature__copy {
    padding: 8px;
  }

  .project-feature__media,
  .contact-visual {
    min-height: 82px;
  }

  .project-line img {
    height: 74px;
  }

  .page-footer .section {
    padding: 20px 4px;
  }
}

@media (max-width: 70px) {
  .site-header__inner {
    min-height: 34px;
    padding: 0 2px;
  }

  .brand {
    font-size: 0.38rem;
  }

  .menu-button {
    width: 18px;
    height: 18px;
  }

  .menu-button span {
    width: 8px;
    margin: 2px auto;
  }

  .site-main {
    padding-top: 35px;
  }

  .section {
    padding: 16px 2px;
  }

  
  .contact-form,
  .contact-form > *,
  .contact-form__head,
  .contact-form__head > *,
  .contact-form__fields,
  .contact-form__fields > *,
  .field,
  .field > *,
  .footer-card-shell,
  .footer-card-shell * {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere;
  }

  
  .contact-visual img {
    transform: none !important;
  }

  .project-feature__copy,
  .project-feature__copy > *,
  .project-feature__media,
  .project-feature__media img {
    clip-path: none !important;
    transform: none !important;
  }

  .project-feature__copy::after {
    display: none;
  }

  .project-feature__copy strong {
    font-size: 0.52rem;
    letter-spacing: 0;
    line-height: 1.08;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .project-feature__copy span:not(.project-meta):not(.project-feature__cta),
  .project-feature__cta {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .button {
    width: 100%;
    min-width: 0;
    padding: 4px 1px;
    font-size: 0.32rem;
    letter-spacing: 0;
    line-height: 1.15;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .contact-visual figcaption {
    right: 4px;
    bottom: 4px;
    left: 4px;
    width: auto;
    max-width: calc(100% - 8px);
    font-size: 0.3rem;
    letter-spacing: 0;
    line-height: 1.15;
    overflow-wrap: anywhere;
  }

  .menu-panel {
    padding: 40px 2px 8px;
  }

  .menu-panel__nav {
    gap: 4px;
  }

  .menu-panel__nav a {
    min-height: 18px;
    font-size: 0.34rem;
    line-height: 1.08;
  }

  .menu-panel__foot {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
    font-size: 0.28rem;
    letter-spacing: 0;
  }

  
  h1,
  h2,
  .contact-hero__copy h1 {
    font-size: 0.62rem;
    line-height: 1.12;
  }

  .eyebrow,
  .project-meta,
  .text-link,
  .field label,
  .footer-col h2 {
    font-size: 0.34rem;
    letter-spacing: 0;
  }

  p,
  .field input,
  .field textarea,
  .field select,
  .footer-mark p,
  .footer-col,
  .footer-bottom {
    font-size: 0.36rem;
    line-height: 1.28;
  }

  .project-feature__copy {
    padding: 4px;
  }

  .project-feature__media,
  .contact-visual {
    min-height: 46px;
  }

  .project-line {
    padding: 4px;
  }

  .project-line img {
    height: 40px;
  }

  .page-footer .section {
    padding: 14px 2px;
  }
}

@media (min-width: 761px) {
  .menu-panel {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}


/* MW adaptation: keep the renovation framework, adjust only brand and remodeling tone. */
:root {
  --paper: #f5f1e5;
  --paper-soft: #f5f1e5;
  --paper-deep: #f5f1e5;
  --ink: #161815;
  --muted: #65665d;
  --line: rgba(22, 24, 21, 0.16);
  --line-strong: rgba(22, 24, 21, 0.34);
  --footer-cta-bg: #173452;
  --footer-cta-ink: #f6efe3;
  --footer-cta-muted: rgba(246, 239, 227, 0.72);
  --footer-cta-faint: rgba(246, 239, 227, 0.54);
  --footer-cta-line: rgba(246, 239, 227, 0.16);
}

.brand {
  text-transform: uppercase;
}

.header-action {
  display: flex;
  justify-self: end;
  align-items: center;
  min-width: 0;
}

.header-cta {
  --header-cta-hover-bg: #173452;
  --header-cta-hover-ink: #fff5e6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.82rem 1.12rem 0.76rem;
  border: 1px solid currentColor;
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

button,
.button,
.header-cta,
.project-feature__cta,
a[class*="button"],
a[class*="cta"],
input[type="button"],
input[type="submit"] {
  border-radius: 2px !important;
}

.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-1px);
  border-color: var(--header-cta-hover-bg);
  background: var(--header-cta-hover-bg);
  color: var(--header-cta-hover-ink);
}

/* Archive and long-form article system */

.contact-form__fields select {
  cursor: pointer;
}

@media (max-width: 760px) {
  .header-action {
    display: none;
  }

  .brand {
    font-size: clamp(0.88rem, 3.3vw, 1.05rem);
    letter-spacing: 0.045em;
  }

  .brand--byggsikt {
    font-size: clamp(0.95rem, 4.4vw, 1.16rem);
    letter-spacing: 0.1em;
  }
}

@media (max-width: 180px) {
  .header-action {
    display: none !important;
  }
}

/* Home project showcase redesign */
.project-index {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  padding: clamp(84px, 9vw, 154px) clamp(18px, 5vw, 96px) clamp(86px, 9vw, 150px);
  background:
    linear-gradient(180deg, rgba(23, 23, 19, 0.075) 0, rgba(23, 23, 19, 0) 160px),
    radial-gradient(circle at 78% 10%, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0) 30%),
    linear-gradient(135deg, #f4efe4 0%, #ece4d3 100%);
}

.project-index::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(23, 23, 19, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(23, 23, 19, 0.04) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.62), transparent 72%);
  pointer-events: none;
}

.project-index__intro,
.project-index__layout {
  width: min(100%, 1490px);
  margin-inline: auto;
}

.project-index__intro {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.45fr);
  gap: clamp(34px, 6vw, 118px);
  align-items: end;
  margin-bottom: clamp(34px, 5vw, 76px);
  padding-bottom: clamp(30px, 3.5vw, 52px);
  border-bottom: 1px solid rgba(23, 23, 19, 0.22);
}

.project-index__intro h2 {
  max-width: 820px;
  font-size: clamp(3.45rem, 5.55vw, 6.85rem);
  letter-spacing: -0.074em;
  line-height: 0.88;
}

.project-index__summary {
  display: grid;
  gap: clamp(22px, 2.6vw, 34px);
  align-self: stretch;
}

.project-index__summary > p {
  max-width: 460px;
  margin: 0;
  color: rgba(23, 23, 19, 0.68);
  font-size: clamp(1rem, 1.15vw, 1.18rem);
  font-weight: 650;
  line-height: 1.42;
}

.project-index__layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.48fr);
  grid-template-rows: auto auto;
  gap: clamp(18px, 2.6vw, 36px);
  align-items: stretch;
}

.project-feature {
  position: relative;
  top: auto;
  grid-column: 1;
  grid-row: 1;
  display: block;
  align-self: stretch;
  height: auto;
  min-height: clamp(560px, 43vw, 780px);
  overflow: hidden;
  border: 1px solid rgba(23, 23, 19, 0.28);
  border-radius: 2px;
  background: #14120d;
  color: var(--paper-soft);
  box-shadow: 0 34px 92px rgba(23, 23, 19, 0.18);
}

.project-feature:hover {
  border-color: rgba(23, 23, 19, 0.52);
  transform: translateY(-3px);
}

.project-feature::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(180deg, rgba(12, 10, 7, 0) 36%, rgba(12, 10, 7, 0.38) 63%, rgba(12, 10, 7, 0.9) 100%),
    linear-gradient(90deg, rgba(12, 10, 7, 0.42), rgba(12, 10, 7, 0) 48%);
  pointer-events: none;
}

.project-feature__media {
  position: absolute;
  inset: 0;
  height: auto;
  min-height: 100%;
}

.project-feature__media img {
  height: 100%;
  object-position: center;
  filter: saturate(0.96) contrast(1.04);
  transform: scale(1.01);
  transition: transform 650ms ease, filter 650ms ease;
}

.project-feature:hover .project-feature__media img {
  filter: saturate(1.02) contrast(1.07);
  transform: scale(1.045);
}

.project-feature__copy {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.34fr);
  grid-template-rows: auto auto;
  gap: clamp(16px, 2.2vw, 34px) clamp(24px, 4vw, 76px);
  min-height: auto;
  padding: clamp(28px, 4vw, 62px);
  border: 0;
  background: linear-gradient(180deg, rgba(14, 12, 8, 0), rgba(14, 12, 8, 0.74) 22%, rgba(14, 12, 8, 0.94));
  color: inherit;
  container-type: normal;
}

.project-feature__copy::before {
  top: auto;
  right: clamp(28px, 4vw, 64px);
  bottom: clamp(24px, 3vw, 42px);
  color: rgba(250, 246, 237, 0.09);
  font-size: clamp(8rem, 15vw, 18rem);
  line-height: 0.68;
}

.project-feature__copy::after {
  display: none;
}

.project-feature__copy .project-meta {
  grid-column: 1 / -1;
  padding: 0 0 16px;
  border-bottom: 1px solid rgba(250, 246, 237, 0.36);
  color: rgba(250, 246, 237, 0.76);
}

.project-feature__copy strong {
  grid-column: 1;
  align-self: end;
  max-width: 780px;
  color: var(--paper-soft);
  font-size: clamp(3.2rem, 5.4vw, 7.2rem);
  letter-spacing: -0.075em;
  line-height: 0.84;
  white-space: normal;
  overflow-wrap: anywhere;
}

.project-feature__copy span:not(.project-meta):not(.project-feature__cta) {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  max-width: 320px;
  color: rgba(250, 246, 237, 0.78);
  font-size: clamp(0.88rem, 0.95vw, 1rem);
  font-weight: 650;
  line-height: 1.45;
}

.project-feature__cta {
  grid-column: 2;
  align-self: end;
  margin-top: 0;
  padding: 13px 16px 12px;
  border: 1px solid rgba(250, 246, 237, 0.58);
  border-radius: 2px;
  color: var(--paper-soft);
  background: rgba(250, 246, 237, 0.08);
}

.project-feature__cta::before {
  display: none;
}

.project-index__list {
  position: static;
  top: auto;
  grid-column: 2;
  grid-row: 1;
  display: grid;
  gap: 10px;
}

.project-index__list .project-line:nth-child(n + 7) {
  display: none;
}

.project-line {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) clamp(88px, 7vw, 112px);
  grid-template-rows: auto auto auto;
  gap: 7px 16px;
  align-items: start;
  min-height: 122px;
  padding: clamp(15px, 1.3vw, 20px);
  overflow: hidden;
  border: 1px solid rgba(23, 23, 19, 0.22);
  border-radius: 2px;
  background: rgba(250, 246, 237, 0.66);
  color: var(--ink);
  transition: transform 240ms ease, background 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.project-line::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: #171713;
  content: "";
  opacity: 0;
  transform: scaleX(0.28);
  transform-origin: left;
  transition: opacity 240ms ease, transform 240ms ease;
}

.project-line:hover,
.project-line:focus-visible {
  border-color: rgba(23, 23, 19, 0.42);
  background: rgba(255, 252, 245, 0.92);
  box-shadow: 0 18px 38px rgba(23, 23, 19, 0.1);
  color: var(--ink);
  transform: translateY(-3px);
}

.project-line:hover::before,
.project-line:focus-visible::before {
  opacity: 1;
  transform: scaleX(1);
}

.project-line span,
.project-line em,
.project-line small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.project-line span,
.project-line em {
  color: rgba(23, 23, 19, 0.58);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
}

.project-line span {
  grid-column: 1;
  grid-row: 1;
  padding: 4px 0 0;
}

.project-line strong {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  padding: 0;
  font-family: var(--display);
  font-size: clamp(1.48rem, 1.82vw, 2.4rem);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.project-line small {
  grid-column: 2;
  grid-row: 2;
  max-width: 360px;
  color: rgba(23, 23, 19, 0.6);
  font-size: 0.74rem;
  font-weight: 650;
  line-height: 1.32;
}

.project-line em {
  grid-column: 2;
  grid-row: 3;
  align-self: end;
  justify-self: start;
  padding: 6px 0 0;
}

.project-line img {
  grid-column: 3;
  grid-row: 1 / span 3;
  width: 100%;
  height: 100%;
  min-height: 88px;
  margin: 0;
  border: 0;
  object-fit: cover;
  opacity: 1;
  transform: scale(1.01);
  transition: transform 380ms ease, filter 380ms ease;
}

.project-line:hover img,
.project-line:focus-visible img {
  filter: saturate(1.05) contrast(1.03);
  transform: scale(1.08);
}

@media (max-width: 1120px) {
  .project-index__intro,
  .project-index__layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .project-feature,
  .project-index__list {
    grid-column: 1;
    grid-row: auto;
  }

  .project-index__summary {
    max-width: 760px;
  }

  .project-index__list {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-feature {
    position: relative;
    top: auto;
    height: auto;
    min-height: 620px;
  }

  .project-line {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .project-line img {
    grid-column: 1 / -1;
    grid-row: 4;
    height: 170px;
  }
}

@media (max-width: 760px) {
  .project-index {
    padding: clamp(54px, 14vw, 84px) 14px clamp(62px, 16vw, 92px);
  }

  .project-index__intro {
    gap: 24px;
    margin-bottom: 26px;
    padding-bottom: 24px;
  }

  .project-index__intro h2 {
    font-size: clamp(2.45rem, 11.4vw, 3.8rem);
    letter-spacing: -0.072em;
    line-height: 0.92;
  }

  
  .project-index__list {
    grid-template-columns: 1fr;
  }

  .project-feature {
    min-height: 640px;
  }

  .project-feature__copy {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px;
  }

  .project-feature__copy .project-meta,
  .project-feature__copy strong,
  .project-feature__copy span:not(.project-meta):not(.project-feature__cta),
  .project-feature__cta {
    grid-column: 1;
  }

  .project-feature__copy strong {
    font-size: clamp(2.35rem, 12vw, 3.85rem);
    line-height: 0.92;
  }

  .project-feature__copy span:not(.project-meta):not(.project-feature__cta) {
    grid-row: auto;
    max-width: 100%;
  }

  .project-feature__cta {
    width: fit-content;
  }

  .project-line {
    min-height: 0;
    padding: 16px;
  }

  .project-line strong {
    font-size: clamp(1.65rem, 8vw, 2.55rem);
    line-height: 1;
  }

  .project-line img {
    height: 190px;
  }
}

@media (max-width: 380px) {
  .project-index {
    padding-right: 10px;
    padding-left: 10px;
  }

  .project-feature {
    min-height: 560px;
  }

  .project-feature__copy {
    padding: 18px;
  }

  .project-line {
    padding: 12px;
  }

  .project-line img {
    height: 140px;
  }
}

/* Project archive editorial refinements. Kept late to override earlier archive layout safely. */

/* Full image-led project archive hero. */

@media (min-width: 1001px) {
  body.byggsikt-frame-page {
    position: relative;
    --frame-line: rgba(17, 16, 13, 0.98);
    --frame-line-soft: rgba(17, 16, 13, 0.98);
    --frame-gap-fill: var(--paper);
    --frame-stroke: 2px;
    --frame-middle: 3px;
    --frame-gap: calc(var(--frame-stroke) + var(--frame-middle));
    --frame-x-outer: 20px;
    --frame-x-inner: calc(var(--frame-x-outer) + var(--frame-gap));
    --frame-top-outer: 32px;
    --frame-top-inner: calc(var(--frame-top-outer) + var(--frame-gap));
    --frame-bottom-outer: clamp(26px, 3.2vw, 54px);
    --frame-bottom-inner: calc(var(--frame-bottom-outer) + var(--frame-gap));
    --frame-rail-bottom-outer: 0px;
    --frame-rail-bottom-inner: 0px;
    --frame-footer-cap-top: calc(100vh + 100px);
    --frame-left-cap-outer: clamp(96px, 7.2vw, 154px);
    --frame-left-cap-inner: calc(var(--frame-left-cap-outer) - var(--frame-gap));
    --frame-right-cap-outer: clamp(96px, 7.2vw, 154px);
    --frame-right-cap-inner: calc(var(--frame-right-cap-outer) - var(--frame-gap));
  }

  body.byggsikt-frame-page::before,
  body.byggsikt-frame-page::after {
    pointer-events: none;
    content: "";
  }

  body.byggsikt-frame-page .page-footer {
    --footer-frame-inset: calc(var(--frame-x-outer) + var(--frame-stroke) + var(--frame-middle) + var(--frame-stroke));
    --footer-frame-bottom-inset: var(--footer-frame-inset);
  }

  body.byggsikt-frame-page .footer-cta {
    margin-right: calc(var(--frame-x-outer) + var(--frame-stroke) + var(--frame-middle) + var(--frame-stroke));
    margin-left: calc(var(--frame-x-outer) + var(--frame-stroke) + var(--frame-middle) + var(--frame-stroke));
    border-top-color: rgba(23, 21, 16, 0.1);
  }

  body.byggsikt-frame-page .footer-cta + .page-footer {
    margin-top: 0;
  }

  body.byggsikt-frame-page .footer-card-shell {
    box-shadow: none;
  }

  body.byggsikt-frame-page::before {
    position: fixed;
    inset: 0;
    z-index: 91;
    background:
      linear-gradient(var(--frame-line), var(--frame-line)) left var(--frame-x-outer) top var(--frame-top-outer) / var(--frame-stroke) calc(100vh - var(--frame-top-outer) - var(--frame-rail-bottom-outer)) no-repeat,
      linear-gradient(var(--frame-line-soft), var(--frame-line-soft)) left var(--frame-x-inner) top var(--frame-top-inner) / var(--frame-stroke) calc(100vh - var(--frame-top-inner) - var(--frame-rail-bottom-inner)) no-repeat,
      linear-gradient(var(--frame-line), var(--frame-line)) right var(--frame-x-outer) top var(--frame-top-outer) / var(--frame-stroke) calc(100vh - var(--frame-top-outer) - var(--frame-rail-bottom-outer)) no-repeat,
      linear-gradient(var(--frame-line-soft), var(--frame-line-soft)) right var(--frame-x-inner) top var(--frame-top-inner) / var(--frame-stroke) calc(100vh - var(--frame-top-inner) - var(--frame-rail-bottom-inner)) no-repeat,
      linear-gradient(var(--frame-gap-fill), var(--frame-gap-fill)) left calc(var(--frame-x-outer) + var(--frame-stroke)) top var(--frame-top-outer) / var(--frame-middle) calc(100vh - var(--frame-top-outer) - var(--frame-rail-bottom-outer)) no-repeat,
      linear-gradient(var(--frame-gap-fill), var(--frame-gap-fill)) right calc(var(--frame-x-outer) + var(--frame-stroke)) top var(--frame-top-outer) / var(--frame-middle) calc(100vh - var(--frame-top-outer) - var(--frame-rail-bottom-outer)) no-repeat;
  }

  body.byggsikt-frame-page::after {
    position: fixed;
    inset: 0;
    z-index: 92;
    background:
      linear-gradient(90deg, var(--frame-line), var(--frame-line)) left var(--frame-x-outer) top calc(var(--frame-footer-cap-top) + var(--frame-stroke) + var(--frame-middle)) / calc(100% - var(--frame-x-outer) - var(--frame-x-outer)) var(--frame-stroke) no-repeat,
      linear-gradient(90deg, var(--frame-gap-fill), var(--frame-gap-fill)) left calc(var(--frame-x-outer) + var(--frame-stroke)) top calc(var(--frame-footer-cap-top) + var(--frame-stroke)) / calc(100% - var(--frame-x-outer) - var(--frame-x-outer) - var(--frame-stroke) - var(--frame-stroke)) var(--frame-middle) no-repeat,
      linear-gradient(90deg, var(--frame-line-soft), var(--frame-line-soft)) left var(--frame-x-inner) top var(--frame-footer-cap-top) / calc(100% - var(--frame-x-inner) - var(--frame-x-inner)) var(--frame-stroke) no-repeat,
      linear-gradient(90deg, var(--frame-line), var(--frame-line)) left var(--frame-x-outer) top var(--frame-top-outer) / var(--frame-left-cap-outer) var(--frame-stroke) no-repeat,
      linear-gradient(90deg, var(--frame-line-soft), var(--frame-line-soft)) left var(--frame-x-inner) top var(--frame-top-inner) / var(--frame-left-cap-inner) var(--frame-stroke) no-repeat,
      linear-gradient(90deg, var(--frame-line), var(--frame-line)) right var(--frame-x-outer) top var(--frame-top-outer) / var(--frame-right-cap-outer) var(--frame-stroke) no-repeat,
      linear-gradient(90deg, var(--frame-line-soft), var(--frame-line-soft)) right var(--frame-x-inner) top var(--frame-top-inner) / var(--frame-right-cap-inner) var(--frame-stroke) no-repeat,
      linear-gradient(90deg, var(--frame-gap-fill), var(--frame-gap-fill)) left calc(var(--frame-x-outer) + var(--frame-stroke)) top calc(var(--frame-top-outer) + var(--frame-stroke)) / calc(var(--frame-left-cap-outer) - var(--frame-stroke)) var(--frame-middle) no-repeat,
      linear-gradient(90deg, var(--frame-gap-fill), var(--frame-gap-fill)) right calc(var(--frame-x-outer) + var(--frame-stroke)) top calc(var(--frame-top-outer) + var(--frame-stroke)) / calc(var(--frame-right-cap-outer) - var(--frame-stroke)) var(--frame-middle) no-repeat;
  }

  body.byggsikt-frame-page .page-footer::after {
    content: none;
  }

  body.byggsikt-frame-page .page-footer .footer-grid {
    padding-top: clamp(104px, 12vh, 148px);
  }

  body.byggsikt-frame-page .page-footer .footer-mark {
    margin-left: clamp(210px, 17vw, 300px);
    max-width: clamp(330px, 24vw, 430px);
  }

  body.byggsikt-frame-page .page-footer .footer-bottom > span:first-child {
    margin-left: clamp(210px, 17vw, 300px);
  }
}

@media (min-width: 1181px) and (max-width: 1500px) {
  body.byggsikt-frame-page .footer-card-shell {
    --footer-ribbon-left: -58px;
    --footer-ribbon-top: 105.7%;
    --footer-ribbon-height: 86%;
    --footer-ribbon-bleed: 0px;
    --footer-f-clearance: clamp(340px, 29vw, 430px);
    --footer-logo-size: clamp(132px, 9.8vw, 170px);
  }

  body.byggsikt-frame-page .footer-grid {
    grid-template-columns: minmax(clamp(570px, 43vw, 650px), 0.95fr) repeat(3, minmax(128px, 0.34fr));
    gap: clamp(26px, 3.2vw, 58px);
  }

  body.byggsikt-frame-page .page-footer .footer-mark {
    margin-left: clamp(190px, 18vw, 270px);
    max-width: clamp(320px, 26vw, 380px);
  }

  body.byggsikt-frame-page .page-footer .footer-mark p {
    max-width: clamp(300px, 24vw, 360px);
  }

  body.byggsikt-frame-page .page-footer .footer-bottom > span:first-child {
    margin-left: clamp(190px, 18vw, 270px);
  }
}

@media (min-width: 1001px) and (max-width: 1180px) {
  body.byggsikt-frame-page .footer-card-shell {
    --footer-ribbon-left: -58px;
    --footer-ribbon-top: 105.7%;
    --footer-ribbon-height: 86%;
    --footer-ribbon-bleed: 0px;
    --footer-f-clearance: clamp(330px, 38vw, 420px);
    --footer-logo-size: clamp(132px, 16vw, 170px);
    min-height: auto;
  }

  body.byggsikt-frame-page .page-footer .footer-grid {
    padding-top: calc(var(--footer-f-clearance) + 46px);
  }

  body.byggsikt-frame-page .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 42px;
  }

  body.byggsikt-frame-page .page-footer .footer-mark {
    grid-column: 1 / -1;
    margin-left: 0;
    max-width: 560px;
  }

  body.byggsikt-frame-page .page-footer .footer-mark::before {
    top: calc(0px - var(--footer-logo-size) - clamp(42px, 7vw, 64px));
    left: 0;
    transform: none;
    opacity: 0.9;
  }

  body.byggsikt-frame-page .page-footer .footer-mark p {
    max-width: 440px;
  }

  body.byggsikt-frame-page .page-footer .footer-bottom > span:first-child {
    margin-left: 0;
  }
}

@media (max-width: 1000px) {
  body.byggsikt-frame-page::before,
  body.byggsikt-frame-page::after {
    display: none;
    content: none;
  }

  body.byggsikt-frame-page .footer-cta {
    margin: 0;
    border-top: 0;
    border-bottom: 0;
  }

  body.byggsikt-frame-page .footer-cta + .page-footer {
    margin-top: 0;
  }

  body.byggsikt-frame-page .footer-cta__inner {
    grid-template-columns: 1fr;
    align-items: start;
    gap: clamp(20px, 4vw, 34px);
    width: 100%;
    max-width: none;
    padding: clamp(54px, 9vw, 84px) clamp(20px, 5vw, 46px) clamp(58px, 10vw, 88px);
  }

  body.byggsikt-frame-page .footer-cta__eyebrow,
  body.byggsikt-frame-page .footer-cta__copy,
  body.byggsikt-frame-page .footer-cta__button {
    grid-column: 1;
  }

  body.byggsikt-frame-page .footer-cta__copy {
    max-width: 720px;
    gap: clamp(16px, 3vw, 24px);
  }

  body.byggsikt-frame-page .footer-cta__copy h2 {
    max-width: 720px;
    font-size: clamp(3.35rem, 9.4vw, 6.1rem);
    line-height: 0.94;
  }

  body.byggsikt-frame-page .footer-cta__copy p {
    max-width: 650px;
    font-size: clamp(1rem, 1.9vw, 1.1rem);
    line-height: 1.62;
  }

  body.byggsikt-frame-page .footer-cta__button {
    justify-self: start;
    margin-top: 4px;
    margin-bottom: 0;
  }

  body.byggsikt-frame-page .page-footer {
    --footer-frame-inset: 0px;
    --footer-frame-bottom-inset: 0px;
    margin: 0;
    padding: 0;
    background: var(--footer-cta-bg, #173452);
  }

  body.byggsikt-frame-page .footer-card-shell {
    width: 100%;
    margin: 0;
    border-radius: 0;
  }

  body.byggsikt-frame-page .page-footer .section {
    padding-right: clamp(18px, 5vw, 42px);
    padding-left: clamp(18px, 5vw, 42px);
  }
}

@media (max-width: 760px) {
  body.byggsikt-frame-page .footer-cta__inner {
    padding: clamp(48px, 12vw, 70px) clamp(18px, 5vw, 28px) clamp(54px, 12vw, 74px);
  }

  body.byggsikt-frame-page .footer-cta__copy h2 {
    font-size: clamp(2.9rem, 13.6vw, 4.6rem);
  }

  body.byggsikt-frame-page .footer-cta__copy p {
    font-size: clamp(0.96rem, 3.5vw, 1.02rem);
    line-height: 1.58;
  }

  body.byggsikt-frame-page .footer-cta__button {
    min-width: 164px;
    min-height: 46px;
  }

  body.byggsikt-frame-page .page-footer .footer-grid {
    padding-top: calc(var(--footer-f-clearance) + 30px);
  }
}

@media (max-width: 380px) {
  body.byggsikt-frame-page .footer-cta__copy h2 {
    font-size: clamp(2.62rem, 13.2vw, 3.1rem);
  }

  body.byggsikt-frame-page .footer-cta__button {
    width: 100%;
  }

  body.byggsikt-frame-page .page-footer .footer-grid {
    padding-top: calc(var(--footer-f-clearance) + 42px);
  }
}

/* Keep the drainage article in the same light editorial palette. */

/* Compact drainage graphics: same information, less vertical scrolling. */

/* Requested drainage palette: match the compact dark-blue kitchen panels. */

/* Replace the placeholder-looking number boxes with integrated step labels. */

/* Scoped final layer for the 2026 price-guide articles only. */

/* Restore the generasjonsbolig infographic reference treatment. */

/* Final guard: generasjonsbolig follows the same scoped icon and width rules. */

/* Cool accent guard for the owned 2026 price-guide visuals only. */

/* Final generasjonsbolig ladder/card guard: readable, dark, wrapped cards. */

/* Generasjonsbolig final QA guard: no injected icons, no pale text, no skinny cards. */

/* Final guard: blue palette, readable cards, normal article width. */

/* Generasjonsbolig v258 guard: keep generated article infographics readable and not skinny. */

/* Generated price-guide v260: compact document panels, scoped to owned price articles only. */

/* Generated price-guide v260: make related-guide panels short document sections. */

/* Owned article infographic hard reset v259: scoped to generated price-guide articles only. */

/* Authored article related-guide infographic v262: compact document block only. */

/* Generated price-guide v263: stable body infographic cards only. */

/* Generated price-guide v264: keep long Norwegian card text inside cards. */

/* Nybygg price infographic v265: cleaner price cards without forced icons. */

/* Tomannsbolig v268: subdued grid and balanced economy model. */

/* Funkishus v267: repair look-vs-technical infographic list layout and quiet grid. */
/* Authored article infographic backgrounds v269: matte architectural paper, no grid overload. */

/* Generated price-guide v272: matte blue paper surface and stable card lists. */

/* Authored article infographic backgrounds v271: quiet blue paper grain, no visible grid. */

/* Generated price-guide v273: final scoped polish for owned article infographics. */

/* Generated price-guide v274: responsive no-bleed card layout for owned infographics. */

/* Generated price-guide v275: remove artificial left gutters and prevent narrow copy columns. */

/* Generated price-guide v276: premium price cards without inherited narrow columns. */

/* Generated price-guide v277: restore full-width composition in non-price infographics. */

/* Generated price-guide v278: final precedence guard against old icon-column rules. */

/* Generated price-guide v279: remove the inherited narrow card grid completely. */

/* Heritage renovation article v280. */

/* Hytte price guide v280: scoped premium document infographics. */

/* Hytte guide v281: compact document links and photo/text article plates. */

/* Hytte guide v282: mobile infographic quality pass. */

/* Verneverdig guide v283: align infographic quality with hytte article, scoped only here. */

/* Verneverdig guide v284: final contrast pass for infographic icons and chips. */

/* MW badge header logo */
.brand--byggsikt {
  gap: clamp(8px, 0.75vw, 12px);
  width: auto;
  max-width: min(31vw, 270px);
  min-width: 0;
  font-size: 1rem;
  letter-spacing: 0;
}

.brand--byggsikt .brand__mark {
  width: clamp(44px, 4.2vw, 60px);
  height: auto;
  aspect-ratio: 1;
  transform: none;
}

.brand--byggsikt .brand__text {
  display: block;
  min-width: 0;
  max-width: 190px;
  overflow: hidden;
  color: currentColor;
  font-family: "Euclid Triangle", var(--sans);
  font-size: clamp(0.68rem, 0.78vw, 0.86rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.05;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .brand--byggsikt {
    gap: clamp(7px, 2.2vw, 10px);
    width: auto;
    max-width: calc(100vw - 82px);
  }

  .brand--byggsikt .brand__mark {
    width: clamp(38px, 10.5vw, 48px);
  }

  .brand--byggsikt .brand__text {
    max-width: clamp(134px, 48vw, 192px);
    font-size: clamp(0.78rem, 3.2vw, 0.88rem);
    letter-spacing: 0.045em;
  }
}

@media (min-width: 761px) and (max-width: 860px) {
  .brand--byggsikt {
    gap: 7px;
    max-width: 154px;
  }

  .brand--byggsikt .brand__mark {
    width: 42px;
  }

  .brand--byggsikt .brand__text {
    max-width: 105px;
    font-size: 0.58rem;
    letter-spacing: 0.055em;
  }
}

@media (max-width: 360px) {
  .brand--byggsikt .brand__text {
    max-width: clamp(112px, 43vw, 144px);
    font-size: clamp(0.69rem, 3.1vw, 0.78rem);
    letter-spacing: 0.03em;
  }
}

@media (max-width: 280px) {
  .brand--byggsikt {
    gap: 6px;
  }

  .brand--byggsikt .brand__text {
    max-width: clamp(92px, 39vw, 106px);
    font-size: 0.6rem;
    letter-spacing: 0;
  }
}

/* MW Construction blog variation */

/* Final MW paper/color alignment */
body,
.site-main,
.about-page .site-main,
.contact-page .site-main,
.services-page .site-main,
.contact-route__card,
.contact-form--refined,
.service-planning {
  background-color: var(--paper);
}

.contact-page .site-main,
.services-page .site-main,
.about-page .site-main {
  background-image: none;
}


.contact-page .site-header,
.services-page .site-header,
.about-page .site-header {
  border-bottom-color: var(--line) !important;
  background: var(--paper) !important;
  color: var(--ink) !important;
  backdrop-filter: none !important;
}

.service-planning {
  margin-bottom: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.service-planning__copy p:not(.eyebrow),
.service-planning__steps p {
  color: rgba(23, 23, 19, 0.68);
}

.service-planning__steps,
.service-planning__steps article {
  border-color: var(--line);
}

.service-planning__steps strong {
  color: var(--ink);
}

.service-planning .text-link {
  color: #173452;
}

/* MW page refinements: About, Contact, and Services */
.about-page .site-main,
.contact-page .site-main,
.services-page .site-main {
  overflow: clip;
}

.about-hero {
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 0.68fr);
  align-items: center;
  padding-top: clamp(120px, 9vw, 164px);
  padding-bottom: clamp(58px, 6vw, 104px);
}

.about-hero h1 {
  font-size: clamp(4.8rem, 6.4vw, 7.4rem);
}

.about-hero__image--main {
  aspect-ratio: 4 / 3.55;
}

.about-hero__image--detail {
  width: min(54%, 310px);
  aspect-ratio: 4 / 4.55;
  margin-top: clamp(-82px, -5vw, -48px);
}

.contact-page .site-main,
.services-page .site-main {
  background: var(--paper);
}

.contact-page-hero,
.services-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 0.62fr);
  gap: clamp(36px, 6vw, 104px);
  align-items: end;
  padding-top: clamp(122px, 9vw, 172px);
  padding-bottom: clamp(46px, 6vw, 92px);
}

.contact-page-hero__copy,
.services-hero__copy {
  display: grid;
  gap: clamp(20px, 2.2vw, 34px);
  min-width: 0;
}

.contact-page-hero h1,
.services-hero h1 {
  max-width: 1080px;
  margin: 0;
  font-size: clamp(4.3rem, 7.2vw, 9.4rem);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 0.92;
  text-wrap: balance;
}

.contact-page-hero__copy > p,
.services-hero__copy > p {
  max-width: 680px;
  margin: 0;
  color: rgba(23, 23, 19, 0.72);
  font-size: clamp(1.04rem, 1.22vw, 1.34rem);
  font-weight: 500;
  line-height: 1.58;
}

.contact-page-hero__actions,
.services-hero__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 760px;
}

.contact-action,
.services-hero__links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.9rem 1.05rem 0.82rem;
  border: 1px solid rgba(23, 23, 19, 0.22);
  color: #173452;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.contact-action--primary,
.contact-action:hover,
.contact-action:focus-visible,
.services-hero__links a:hover,
.services-hero__links a:focus-visible {
  border-color: #173452;
  background: #173452;
  color: #fff5e6;
  transform: translateY(-1px);
}

.contact-action--primary:hover,
.contact-action--primary:focus-visible {
  background: #0d243b;
}

.contact-page-hero__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 12px clamp(20px, 3vw, 44px);
  max-width: 760px;
  padding-top: clamp(18px, 2vw, 28px);
  border-top: 1px solid var(--line);
  color: rgba(23, 23, 19, 0.7);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  line-height: 1.45;
  text-transform: uppercase;
}

.contact-page-hero__meta a {
  width: fit-content;
  max-width: 100%;
  overflow-wrap: anywhere;
  border-bottom: 1px solid currentColor;
}

.contact-page-hero__media {
  position: relative;
  min-height: clamp(520px, 44vw, 720px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(23, 23, 19, 0.14);
  background: var(--paper);
}

.contact-page-hero__media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 13, 12, 0.02) 35%, rgba(11, 13, 12, 0.62)),
    linear-gradient(90deg, rgba(11, 13, 12, 0.16), transparent 48%);
  content: "";
  pointer-events: none;
}

.contact-page-hero__media img,
.services-hero__image img,
.service-panel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-page-hero__media img {
  object-position: center;
  filter: saturate(0.94) contrast(0.98) brightness(0.94);
}

.contact-page-hero__media figcaption {
  position: absolute;
  right: clamp(18px, 2.4vw, 34px);
  bottom: clamp(18px, 2.6vw, 38px);
  left: clamp(18px, 2.6vw, 38px);
  z-index: 2;
  display: grid;
  gap: 10px;
  max-width: 460px;
  color: rgba(250, 246, 237, 0.9);
}

.contact-page-hero__media figcaption span,
.contact-route__card span,
.service-panel span,
.service-planning__steps span {
  color: #d8b35e;
  font-family: var(--caption);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
}

.contact-page-hero__media figcaption strong {
  max-width: 420px;
  font-family: var(--sans);
  font-size: clamp(1rem, 1.2vw, 1.22rem);
  font-weight: 760;
  line-height: 1.35;
}

.contact-route {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding-top: clamp(30px, 4vw, 62px);
  padding-bottom: clamp(30px, 4vw, 62px);
}

.contact-route__card {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 230px;
  padding: clamp(24px, 3vw, 42px);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.contact-route__card:first-child {
  border-left: 1px solid var(--line);
}

.contact-route__card strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(2rem, 2.6vw, 3.1rem);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1;
}

.contact-route__card p {
  max-width: 360px;
  margin: 0;
  color: rgba(23, 23, 19, 0.66);
  font-weight: 560;
  line-height: 1.55;
}

.contact-brief--refined {
  padding-top: clamp(58px, 6vw, 98px);
  padding-bottom: clamp(78px, 8vw, 136px);
}

.contact-brief--refined .contact-brief__notes h2 {
  font-size: clamp(2.8rem, 4.2vw, 5.4rem);
}

.contact-form--refined {
  padding: clamp(24px, 3vw, 44px);
  border: 1px solid rgba(23, 23, 19, 0.14);
  background: var(--paper);
}

.contact-form--refined .contact-submit-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  justify-self: start;
  width: fit-content;
  min-width: 178px;
  min-height: 52px;
  margin-bottom: 0;
  padding: 0.98rem 1.48rem 0.92rem;
  border: 1px solid #173452 !important;
  border-radius: 2px;
  background: #173452 !important;
  color: #fffaf0 !important;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 1 !important;
  visibility: visible !important;
  box-shadow: 0 16px 34px rgba(23, 52, 82, 0.18);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.contact-form--refined .contact-submit-button:hover,
.contact-form--refined .contact-submit-button:focus-visible {
  border-color: #0d243b !important;
  background: #0d243b !important;
  color: #fffaf0 !important;
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(13, 36, 59, 0.2);
}

.services-hero {
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 0.72fr);
  align-items: center;
}

.services-hero__media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.38fr);
  gap: clamp(14px, 2vw, 26px);
  align-items: end;
  min-width: 0;
}

.services-hero__image {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(23, 23, 19, 0.14);
  background: var(--paper);
}

.services-hero__image--wide {
  aspect-ratio: 4 / 4.45;
}

.services-hero__image--small {
  aspect-ratio: 3 / 4.4;
  transform: translateY(clamp(22px, 4vw, 54px));
}

.services-grid {
  display: grid;
  gap: 0;
  padding-top: clamp(36px, 5vw, 72px);
  padding-bottom: clamp(42px, 6vw, 86px);
}

.service-panel {
  display: grid;
  grid-template-columns: minmax(270px, 0.42fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 86px);
  align-items: center;
  padding: clamp(28px, 4vw, 58px) 0;
  border-top: 1px solid var(--line);
}

.service-panel:last-child {
  border-bottom: 1px solid var(--line);
}

.service-panel figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3.15;
  border: 1px solid rgba(23, 23, 19, 0.14);
  background: var(--paper);
}

.service-panel:nth-child(2) figure {
  aspect-ratio: 4 / 4.8;
}

.service-panel div {
  display: grid;
  gap: clamp(14px, 2vw, 24px);
  min-width: 0;
  max-width: 860px;
}

.service-panel h2 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(2.8rem, 4.4vw, 5.8rem);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 0.96;
  text-wrap: balance;
}

.service-panel p {
  max-width: 660px;
  margin: 0;
  color: rgba(23, 23, 19, 0.68);
  font-size: clamp(1rem, 1.1vw, 1.16rem);
  font-weight: 520;
  line-height: 1.6;
}

.service-planning {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 0.62fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
  margin-bottom: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.service-planning__copy {
  display: grid;
  gap: clamp(18px, 2.4vw, 30px);
  min-width: 0;
}

.service-planning__copy h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3.4rem, 5.8vw, 7rem);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 0.94;
  text-wrap: balance;
}

.service-planning__copy p:not(.eyebrow) {
  max-width: 620px;
  margin: 0;
  color: rgba(23, 23, 19, 0.68);
  font-size: 1.02rem;
  line-height: 1.62;
}

.service-planning .text-link {
  width: fit-content;
  color: #173452;
}

.service-planning__steps {
  display: grid;
  border-top: 1px solid var(--line);
}

.service-planning__steps article {
  display: grid;
  gap: 12px;
  padding: clamp(18px, 2.3vw, 28px) 0;
  border-bottom: 1px solid var(--line);
}

.service-planning__steps strong {
  color: var(--ink);
  font-size: clamp(1.24rem, 1.5vw, 1.62rem);
  font-weight: 780;
}

.service-planning__steps p {
  max-width: 520px;
  margin: 0;
  color: rgba(23, 23, 19, 0.68);
  line-height: 1.5;
}

@media (max-width: 1180px) {
  .about-hero,
  .contact-page-hero,
  .services-hero,
  .service-planning {
    grid-template-columns: 1fr;
  }

  .about-hero__media,
  .contact-page-hero__media,
  .services-hero__media {
    width: min(100%, 760px);
  }

  .contact-route {
    grid-template-columns: 1fr;
  }

  .contact-route__card,
  .contact-route__card:first-child {
    border-right: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .contact-route__card + .contact-route__card {
    border-top: 0;
  }

  .service-panel {
    grid-template-columns: minmax(240px, 0.5fr) minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .about-hero,
  .contact-page-hero,
  .services-hero {
    gap: 30px;
    padding-top: 100px;
    padding-bottom: 42px;
  }

  .about-hero h1,
  .contact-page-hero h1,
  .services-hero h1 {
    font-size: clamp(3rem, 12.6vw, 4rem);
    line-height: 0.96;
  }

  .about-hero__image--main {
    aspect-ratio: 4 / 3.7;
  }

  .about-hero__image--detail {
    width: min(66%, 236px);
    margin-top: -38px;
    margin-right: 12px;
  }

  .contact-page-hero__copy > p,
  .services-hero__copy > p {
    font-size: 0.98rem;
  }

  .contact-page-hero__actions,
  .services-hero__links {
    display: grid;
    grid-template-columns: 1fr;
  }

  .contact-action,
  .services-hero__links a {
    width: 100%;
  }

  .contact-page-hero__meta {
    grid-template-columns: 1fr;
    gap: 10px;
    letter-spacing: 0.06em;
  }

  .contact-page-hero__media {
    width: 100%;
    min-height: 380px;
  }

  .contact-route__card {
    min-height: auto;
    padding: 24px 0;
    border-right: 0;
    border-left: 0;
    background: transparent;
  }

  .contact-route__card:first-child {
    border-left: 0;
  }

  .contact-brief--refined {
    padding-top: 46px;
    padding-bottom: 66px;
  }

  .contact-form--refined {
    padding: 20px 16px;
  }

  .services-hero__media {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .services-hero__image--wide {
    aspect-ratio: 4 / 3.55;
  }

  .services-hero__image--small {
    width: min(68%, 250px);
    aspect-ratio: 3 / 3.7;
    justify-self: end;
    margin-top: -70px;
    transform: none;
  }

  .service-panel {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .service-panel figure,
  .service-panel:nth-child(2) figure {
    aspect-ratio: 4 / 3.45;
  }

  .service-panel h2 {
    font-size: clamp(2.55rem, 11.4vw, 3.7rem);
    line-height: 0.98;
  }

  .service-planning {
    gap: 30px;
    margin-bottom: 42px;
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .service-planning__copy h2 {
    font-size: clamp(3rem, 12vw, 4.2rem);
    line-height: 0.96;
  }
}

@media (max-width: 360px) {
  .about-hero h1,
  .contact-page-hero h1,
  .services-hero h1 {
    font-size: 2.75rem;
  }

  .contact-page-hero__media {
    min-height: 340px;
  }

  .service-panel h2,
  .service-planning__copy h2 {
    font-size: 2.55rem;
  }
}

/* Footer responsive brand lockup: crisp logo, no clipped side placement. */
.page-footer {
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

.footer-mark::before {
  background:
    url("assets/brand/mw-logo-light-footer.webp") center / 92% auto no-repeat,
    radial-gradient(circle at 50% 52%, rgba(49, 151, 185, 0.1), rgba(20, 52, 82, 0.05) 46%, rgba(0, 0, 0, 0) 70%);
  mix-blend-mode: normal;
  opacity: 0.9;
}

@media (max-width: 1280px) {
  .footer-card-shell,
  body.byggsikt-frame-page .footer-card-shell {
    --footer-f-clearance: 0px;
    --footer-logo-size: clamp(132px, 17vw, 178px);
    min-height: auto;
  }

  .page-footer .footer-grid,
  body.byggsikt-frame-page .page-footer .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(26px, 4vw, 48px) clamp(22px, 3.2vw, 40px);
    padding-top: clamp(56px, 7vw, 86px);
  }

  .footer-mark,
  body.byggsikt-frame-page .page-footer .footer-mark {
    grid-column: 1 / -1;
    grid-template-columns: var(--footer-logo-size) minmax(0, 520px);
    gap: clamp(24px, 4vw, 42px);
    align-items: center;
    max-width: min(100%, 760px);
    margin-left: 0;
  }

  .footer-mark::before,
  body.byggsikt-frame-page .page-footer .footer-mark::before {
    position: static;
    display: block;
    width: var(--footer-logo-size);
    height: var(--footer-logo-size);
    transform: none;
  }

  .footer-mark strong,
  .footer-mark p {
    grid-column: 2;
  }

  .footer-mark p,
  body.byggsikt-frame-page .page-footer .footer-mark p {
    max-width: 520px;
  }

  .footer-col,
  body.byggsikt-frame-page .page-footer .footer-col {
    min-width: 0;
  }

  .footer-col a,
  body.byggsikt-frame-page .page-footer .footer-col a {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 760px) {
  .page-footer {
    contain-intrinsic-size: 1120px;
  }

  .footer-card-shell,
  body.byggsikt-frame-page .footer-card-shell {
    --footer-logo-size: clamp(136px, 34vw, 184px);
  }

  .page-footer .footer-grid,
  body.byggsikt-frame-page .page-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: clamp(44px, 10vw, 68px);
  }

  .footer-mark,
  body.byggsikt-frame-page .page-footer .footer-mark {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 16px;
    text-align: center;
  }

  .footer-mark strong,
  .footer-mark p {
    grid-column: 1;
  }

  .footer-mark p,
  body.byggsikt-frame-page .page-footer .footer-mark p {
    max-width: 420px;
  }

  .footer-col {
    gap: 10px;
  }
}
