/* Entrance effects use the Web Animations API; content is visible without JS. */
body.project-open { overflow: hidden; }
.project-housing-interiors { margin-top: 24px; }
.project-detail-gallery.project-housing-interiors img { height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.service-back { display: inline-block; margin-bottom: 26px; font-size: .85rem; color: #626565; }
.service-back:hover { color: #202222; }
.service-redesign .service-page .section-heading { margin-bottom: 56px; }
.service-redesign .service-scope h2 { margin: 0 0 24px; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.service-redesign .check-list { margin-bottom: 30px; }
.service-photo-link { display: block; position: relative; overflow: hidden; }
.service-photo { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s ease; }
.service-photo-link:hover .service-photo { transform: scale(1.025); }
.service-photo-link > span { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px 24px 20px; background: linear-gradient(transparent, rgba(0,0,0,.65)); color: #fff; font-size: .85rem; }
.services-service-copy .about-story-link { margin-top: 20px; font-size: .8rem; }
@media (max-width: 640px) {
  .service-redesign .service-page .section-heading { margin-bottom: 36px; }
  .project-detail-gallery.project-housing-interiors { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .service-photo { transition: none; }
  .service-photo-link:hover .service-photo { transform: none; }
}

.contact-redesign .page-top { padding-top: 0; }
.contact-redesign .section { padding: 55px 0 80px; }
.contact-redesign .contact-layout { gap: 32px; }
.contact-redesign .contact-header { max-width: 720px; }
.contact-redesign h1 { margin: 0 0 20px; font-size: clamp(2rem, 3.5vw, 3.5rem); font-weight: 500; line-height: 1.08; letter-spacing: -.05em; }
.contact-redesign .contact-header > p:not(.eyebrow) { max-width: 52ch; margin-inline: auto; color: #626565; font-size: .95rem; }
.contact-redesign .contact-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 36px; }
.contact-redesign .contact-link { font-size: .9rem; font-weight: 500; text-underline-offset: 6px; }
.contact-redesign .contact-link:hover { color: #000; }
.contact-redesign .form-card { background: #f1f2ef; border: 0; border-radius: 0; box-shadow: none; padding: clamp(24px, 4vw, 48px); scroll-margin-top: 110px; }
.contact-redesign .form-card h2 { font-size: 1.8rem; }
.contact-form-intro { margin: 8px 0 22px; }
.contact-redesign .contact-form { gap: 18px; }
.contact-methods { min-width: 0; margin: 0; padding: 0; border: 0; }
.contact-methods legend { padding: 0; margin-bottom: 12px; font-size: .85rem; font-weight: 500; }
.contact-methods-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.contact-methods-row label { min-width: 0; }
.contact-methods .field-hint { margin: 8px 0 0; }
.contact-redesign .contact-form.was-validated input[aria-invalid="true"],
.contact-redesign .contact-form.was-validated textarea[aria-invalid="true"] { border-color: #b43b3b; box-shadow: 0 0 0 2px rgba(180,59,59,.1); }
.contact-methods.has-error .field-hint { color: #b43b3b; }
.contact-redesign .contact-form label { font-size: .85rem; font-weight: 500; }
.contact-redesign .contact-form input,
.contact-redesign .contact-form select,
.contact-redesign .contact-form textarea { border-radius: 0; border: 1px solid #c7ccca; background: #fff; color: #202222; font-size: .95rem; }
.contact-redesign .contact-form input:focus-visible,
.contact-redesign .contact-form select:focus-visible,
.contact-redesign .contact-form textarea:focus-visible { outline: 2px solid #202222; outline-offset: 2px; }
.contact-redesign .contact-form .button { background: #232727; color: #fff; border: 1px solid #232727; font: inherit; font-size: .9rem; cursor: pointer; }
.contact-redesign .contact-form .button:hover { background: #000; transform: none; box-shadow: none; }
.contact-redesign .form-note { font-size: .78rem; color: #626565; }
.contact-form .contact-honeypot { display: none; }
.contact-redesign .contact-form .button:disabled { opacity: .65; cursor: wait; }
.contact-redesign .form-note[data-state="error"] { color: #a72c2c; }
.contact-redesign .form-note[data-state="success"] { color: #24533e; }
.contact-success { min-height: 320px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 20px; padding: 24px 0; }
.contact-success[hidden] { display: none; }
.contact-success-check { display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid #24533e; border-radius: 50%; color: #24533e; font-size: 1.75rem; }
.contact-redesign .contact-success h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.3rem); line-height: 1.15; }
.contact-success p { margin: 0; max-width: 42ch; font-size: 1rem; color: #626565; }
.contact-redesign .field-hint { font-size: .75rem; }
@media (max-width: 640px) {
  .contact-methods-row { grid-template-columns: 1fr; }
  .contact-redesign .section { padding: 48px 0 60px; }
  .contact-redesign .contact-layout { gap: 32px; }
  .contact-redesign .contact-links { flex-direction: column; gap: 16px; }
}

/* Shared monochrome design for the homepage and contact page. */
body.home-redesign,
body.home-redesign[data-theme] {
  --text: #202222;
  --muted: #626565;
  --accent: #202222;
  --container: 1280px;
  background: #fff;
  color: var(--text);
}
.home-redesign .container { width: min(90%, var(--container)); }
.home-redesign .site-header { background: #fff; backdrop-filter: none; }
.home-redesign .nav-wrap { min-height: 90px; }
.home-redesign .site-nav a { border-radius: 0; }
.home-redesign .button { border-radius: 0; box-shadow: none; background: #fff; color: #111; font-size: .9rem; }
.home-redesign a:focus-visible { outline: 3px solid #8eacbe; outline-offset: 5px; }
.home-hero { position: relative; isolation: isolate; color: #fff; background: #30393f; }
.home-hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; z-index: -2; }
.home-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,18,23,.77), rgba(10,18,23,.26) 65%, rgba(10,18,23,.1)); }
.home-hero-content { min-height: calc(100vh - 90px); min-height: calc(100svh - 90px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 75px 120px; }
.home-redesign .eyebrow { font-size: .7rem; letter-spacing: .19em; font-weight: 700; }
.home-hero .eyebrow, .home-contact .eyebrow { color: #d9dede; }
.home-hero h1 { font-size: clamp(3rem, 5.8vw, 6rem); line-height: 1.04; letter-spacing: -.055em; font-weight: 500; margin: 12px 0 24px; }
.home-hero-content > p:not(.eyebrow) { color: #e5e9eb; font-size: 1.05rem; line-height: 1.8; }
.home-hero-link { display: inline-flex; align-items: center; gap: 24px; border-bottom: 1px solid #a8afb1; padding: 12px 0; font-size: .9rem; }
.home-hero .hero-actions { align-items: center; gap: 30px; }
.home-hero-caption { position: absolute; bottom: 22px; right: 5%; font-size: .65rem; color: #e0e4e5; letter-spacing: .04em; }
.home-scroll-link { position: absolute; bottom: 22px; left: 5%; display: inline-flex; align-items: center; gap: 20px; min-height: 44px; color: #fff; font-size: .75rem; }
.home-scroll-link:hover { text-decoration: underline; text-underline-offset: 5px; }
#wybrane-realizacje { scroll-margin-top: 100px; }
.home-trust { border-bottom: 1px solid #dedfdf; }
.home-trust .container { display: flex; justify-content: space-between; gap: 24px; padding-block: 25px; font-size: .76rem; color: #5e6262; }
.home-section { padding: 100px 0; }
.home-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 44px; }
.home-redesign h2 { font-size: clamp(2rem, 3.2vw, 3.4rem); line-height: 1.12; letter-spacing: -.045em; font-weight: 500; margin: 0; }
.home-text-link { display: inline-block; padding-bottom: 7px; border-bottom: 1px solid #656969; font-size: .85rem; white-space: nowrap; }
.project-feature { display: grid; grid-template-columns: 1.25fr 1fr; background: #f1f2ef; }
.project-feature-image { display: block; min-width: 0; overflow: hidden; }
.project-feature-image img { display: block; width: 100%; height: 100%; min-height: 530px; object-fit: cover; object-position: center 65%; }
.project-feature-copy { align-self: center; padding: clamp(28px, 4vw, 64px); }
.project-kicker { color: #626565; text-transform: uppercase; font-size: .68rem; letter-spacing: .13em; margin: 0 0 22px; }
.project-feature h3, .project-renovation h3 { font-weight: 500; font-size: clamp(1.7rem, 2.5vw, 2.6rem); line-height: 1.15; letter-spacing: -.035em; margin: 0 0 22px; }
.project-feature-copy > p:not(.project-kicker), .project-renovation-heading > div > p:not(.project-kicker) { color: #626565; font-size: .9rem; line-height: 1.8; max-width: 52ch; }
.project-numbers { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; border-top: 1px solid #c7ccca; padding-top: 24px; margin: 30px 0; }
.project-numbers dt { font-size: .85rem; font-weight: 700; }
.project-numbers > div:first-child dt { font-size: 2.7rem; font-weight: 500; line-height: 1.15; letter-spacing: -.05em; }
.project-numbers dd { margin: 5px 0 0; color: #626565; font-size: .75rem; }
.project-renovation { margin-top: 70px; padding-top: 40px; border-top: 1px solid #dedfdf; }
.project-renovation-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 30px; }
.project-renovation-images { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.project-renovation figure { margin: 0; }
.project-renovation img { display: block; width: 100%; height: 430px; object-fit: cover; }
.project-renovation figcaption { padding-top: 14px; font-size: .7rem; color: #626565; }
@media (max-width: 760px) {
  .project-feature, .project-renovation-heading { grid-template-columns: 1fr; }
  .project-feature-image img { height: 420px; min-height: 0; }
  .project-renovation-heading { gap: 0; }
  .project-renovation { margin-top: 45px; }
  .project-renovation-images { grid-template-columns: 1fr 1fr; gap: 14px; }
  .project-renovation img { height: 280px; }
}
@media (max-width: 420px) {
  .project-feature-image img { height: 340px; }
  .project-renovation-images { grid-template-columns: 1fr; gap: 26px; }
  .project-renovation img { height: 350px; }
}
.portfolio-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 40px 24px; }
.portfolio-tile { display: block; min-width: 0; grid-column: span 2; }
.portfolio-image { aspect-ratio: 4 / 5; overflow: hidden; background: #eef0ed; }
.portfolio-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
#rydsgard-gods { scroll-margin-top: 100px; }
.portfolio-tile:hover img { transform: scale(1.025); }
.portfolio-caption { margin: 18px 0 10px; color: #626565; font-size: .65rem; letter-spacing: .06em; text-transform: uppercase; }
.portfolio-tile h3 { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 10px; font-size: 1rem; line-height: 1.4; font-weight: 600; }
.portfolio-description { margin: 0; color: #626565; font-size: .82rem; line-height: 1.75; }
@media (max-width: 980px) {
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .portfolio-tile { grid-column: auto; }
}
@media (max-width: 640px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-image { aspect-ratio: 4 / 3; }
}
.home-projects { display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; }
.home-photo-wrap { position: relative; overflow: hidden; height: 440px; background: #e7e9e8; }
.home-photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; display: block; transition: transform .5s; }
.home-project:hover img { transform: scale(1.025); }
.home-status { position: absolute; left: 18px; top: 18px; background: #fff; color: #222; padding: 7px 12px; font-size: .68rem; }
.home-project-title { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; }
.home-project h3 { font-size: 1.1rem; margin: 23px 0 8px; }
.home-project p, .home-about p:not(.eyebrow), .home-heading > p { color: #626565; font-size: .9rem; line-height: 1.8; max-width: 55ch; }
.home-project p { margin: 0; }
.home-services { background: #f1f2ef; }
.home-service-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 75px; align-items: stretch; }
.home-service-photo { position: relative; min-height: 440px; }
.home-service-photo img { width: 100%; height: 100%; position: absolute; object-fit: cover; }
.home-service-photo > span { position: absolute; bottom: 0; left: 0; right: 0; color: #fff; padding: 48px 24px 24px; background: linear-gradient(transparent, #000b); font-size: .85rem; }
.home-service-list a { display: grid; grid-template-columns: 26px 1fr 20px; gap: 18px; align-items: center; padding: 24px 0; border-top: 1px solid #c7ccca; }
.home-service-list a:last-child { border-bottom: 1px solid #c7ccca; }
.home-service-list h3 { font-size: 1.03rem; font-weight: 500; margin: 0; }
.home-service-list a > span:first-child { font-size: .65rem; color: #717675; }
.home-service-list a:hover { background: #e7eae6; }
.home-about { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.home-about img { width: 100%; display: block; }
.home-about .home-text-link { margin-top: 14px; }
.home-instagram { background: #fff; }
.instagram-intro, .instagram-note { color: #626565; font-size: .85rem; }
.instagram-intro { margin: 18px 0 0; }
.instagram-profile { display: inline-flex; align-items: center; gap: 14px; padding: 15px 20px; border: 1px solid #232727; font-size: .9rem; white-space: nowrap; transition: background .2s, color .2s; }
.instagram-profile:hover { background: #232727; color: #fff; }
.instagram-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.instagram-gallery > a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: #e9ece8; }
.instagram-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.instagram-gallery > a:hover img { transform: scale(1.035); }
.instagram-gallery > a > span { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; padding: 45px 20px 20px; background: linear-gradient(transparent, #000c); color: #fff; font-size: .85rem; }
.instagram-note { margin: 18px 0 0; font-size: .75rem; }
.instagram-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 640px) {
  .instagram-gallery { grid-template-columns: 1fr; gap: 16px; }
}
.home-contact { background: #232727; color: #fff; padding: 80px 0; }
.home-contact .home-heading { margin-bottom: 0; align-items: center; }
.home-contact-link { display: block; width: fit-content; margin-top: 20px; text-decoration: underline; text-underline-offset: 5px; font-size: .9rem; }
.home-redesign .site-footer { background: #f5f5f2; padding: 55px 0; }
.home-redesign .footer-links li { padding-left: 0; font-size: .85rem; }
.home-redesign .footer-links li::before { display: none; }
.home-redesign .nav-submenu { background: #f5f5f2; border-radius: 0; }
.home-redesign .nav-submenu-services { min-width: 0; width: min(1100px, 90vw); max-width: none; }
.home-redesign .nav-submenu-link { background: #fff; border-radius: 0; box-shadow: none; }
@media (max-width: 980px) {
  .home-redesign .site-nav { background: #fff; border-radius: 0; max-height: calc(100dvh - 110px); overflow-y: auto; }
  .home-redesign .nav-submenu-services { width: 100%; transform: none; }
  .home-redesign .nav-item:hover .nav-submenu-services, .home-redesign .nav-item:focus-within .nav-submenu-services { transform: none; }
  .home-photo-wrap { height: 350px; }
  .home-service-layout, .home-about { gap: 30px; }
  .home-heading { align-items: flex-start; }
}
@media (max-width: 640px) {
  .home-redesign .nav-wrap { min-height: 80px; }
  .home-redesign .site-nav { top: 80px; }
  .home-hero-content { min-height: calc(100vh - 80px); min-height: calc(100svh - 80px); padding-block: 60px 125px; }
  .home-scroll-link { bottom: 48px; }
  .home-hero h1 { font-size: clamp(2.7rem, 10vw, 3.8rem); }
  .home-hero-caption { left: 5%; font-size: .58rem; }
  .home-trust .container { flex-direction: column; gap: 9px; padding-block: 20px; }
  .home-section { padding: 60px 0; }
  .home-heading { flex-direction: column; gap: 24px; margin-bottom: 30px; }
  .home-projects, .home-service-layout, .home-about { grid-template-columns: 1fr; }
  .home-photo-wrap { height: 390px; }
  .home-service-photo { min-height: 340px; }
  .home-contact { padding: 60px 0; }
  .home-contact .home-heading { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .home-redesign *, .home-redesign *::before { transition: none; scroll-behavior: auto; }
}

:root {
  --bg: #f1ece3;
  --bg-soft: #e5ddd0;
  --surface: #fbf8f2;
  --surface-strong: #f4eee4;
  --border: rgba(32, 32, 29, 0.1);
  --text: #1d2421;
  --muted: #5e685f;
  --accent: #8a6a42;
  --accent-strong: #6f5435;
  --accent-soft: rgba(138, 106, 66, 0.12);
  --shadow: 0 16px 38px rgba(29, 36, 33, 0.07);
  --radius: 24px;
  --container: 1180px;
}

body[data-theme="graphite"] {
  --bg: #cfcfcd;
  --bg-soft: #b9b9b6;
  --surface: #e4e4e1;
  --surface-strong: #d7d7d3;
  --border: rgba(20, 23, 25, 0.16);
  --text: #14181a;
  --muted: #4b5357;
  --accent: #3d4348;
  --accent-strong: #2a2f33;
  --accent-soft: rgba(61, 67, 72, 0.14);
  --shadow: 0 20px 42px rgba(20, 23, 25, 0.12);
}

body[data-theme="nordic"] {
  --bg: #eef1ed;
  --bg-soft: #e0e6df;
  --surface: #f9fbf8;
  --surface-strong: #eef3ee;
  --border: rgba(35, 52, 43, 0.1);
  --text: #1f2a24;
  --muted: #627168;
  --accent: #5f7466;
  --accent-strong: #47584d;
  --accent-soft: rgba(95, 116, 102, 0.12);
  --shadow: 0 16px 36px rgba(31, 42, 36, 0.07);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(138, 106, 66, 0.08), transparent 26%),
    linear-gradient(180deg, #f6f1e8 0%, #f1ece3 46%, #ebe4d7 100%);
  color: var(--text);
  line-height: 1.6;
}

body[data-theme="graphite"] {
  background:
    radial-gradient(circle at top left, rgba(61, 67, 72, 0.1), transparent 26%),
    linear-gradient(180deg, #dbdbd8 0%, #cfcfcd 46%, #c0c0bd 100%);
}

body[data-theme="nordic"] {
  background:
    radial-gradient(circle at top left, rgba(95, 116, 102, 0.08), transparent 26%),
    linear-gradient(180deg, #f4f7f2 0%, #eef1ed 46%, #e4e9e2 100%);
}

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

img {
  max-width: 100%;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: rgba(241, 236, 227, 0.84);
  border-bottom: 1px solid rgba(32, 32, 29, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  gap: 1.25rem;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.brand-logo {
  display: block;
  width: 124px;
  height: auto;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0.35rem 0;
  background: transparent;
  border: 0;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
  padding-left: 0.9rem;
  border-left: 1px solid rgba(32, 32, 29, 0.12);
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #111;
  text-transform: uppercase;
}

.brand-subtitle {
  margin-top: 0.22rem;
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-logo {
  display: block;
  width: 170px;
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

.theme-switcher {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem;
  border-radius: 999px;
  background: rgba(251, 248, 242, 0.92);
  border: 1px solid rgba(32, 32, 29, 0.08);
  box-shadow: 0 14px 28px rgba(29, 36, 33, 0.1);
  backdrop-filter: blur(12px);
}

.theme-switcher-label {
  padding: 0 0.35rem 0 0.2rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.theme-option {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.theme-option:hover,
.theme-option:focus-visible,
.theme-option.is-active {
  background: rgba(32, 32, 29, 0.08);
  color: var(--text);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-item {
  position: relative;
}

.nav-item-services {
  position: static;
}

.site-nav a {
  color: var(--muted);
  padding: 0.8rem 1rem;
  border-radius: 999px;
  transition: 0.25s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
  background: rgba(32, 32, 29, 0.05);
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 0.8rem);
  left: 0;
  min-width: 280px;
  display: grid;
  gap: 0.42rem;
  padding: 0.95rem;
  border-radius: 24px;
  background: rgba(248, 242, 232, 0.98);
  border: 1px solid rgba(32, 32, 29, 0.06);
  box-shadow: 0 22px 48px rgba(29, 36, 33, 0.12);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.98);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  pointer-events: none;
  z-index: 25;
}

.nav-submenu-services {
  min-width: 960px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  left: 50%;
  transform: translateX(-50%) translateY(12px) scale(0.98);
  max-width: min(960px, calc(100vw - 10rem));
}

.nav-submenu-link {
  position: relative;
  display: grid;
  gap: 0.3rem;
  min-height: 118px;
  align-content: end;
  padding: 1rem 1.1rem;
  border-radius: 22px;
  color: #2a2f2b;
  font-weight: 600;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(242, 233, 220, 1)),
    linear-gradient(135deg, rgba(138, 106, 66, 0.08), rgba(255, 255, 255, 0));
  border: 1px solid rgba(138, 106, 66, 0.08);
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.nav-submenu-link::after {
  content: "›";
  position: absolute;
  top: 0.95rem;
  right: 1rem;
  color: rgba(32, 32, 29, 0.4);
  font-size: 1.15rem;
  line-height: 1;
}

.nav-submenu-link:hover,
.nav-submenu-link:focus-visible {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(240, 231, 218, 1)),
    linear-gradient(135deg, rgba(138, 106, 66, 0.1), rgba(255, 255, 255, 0));
  border-color: rgba(138, 106, 66, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(29, 36, 33, 0.08);
}

.nav-submenu-title {
  display: block;
  padding-right: 1.4rem;
  font-size: 1.02rem;
  font-weight: 700;
  white-space: normal;
}

.nav-submenu-description {
  display: block;
  max-width: 29ch;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
  font-weight: 500;
}

.nav-item:hover .nav-submenu,
.nav-item:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.nav-item:hover .nav-submenu-services,
.nav-item:focus-within .nav-submenu-services {
  transform: translateX(-50%) translateY(0) scale(1);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.4rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  margin: 6px 0;
  border-radius: 999px;
  background: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  box-shadow: 0 14px 26px rgba(138, 106, 66, 0.2);
}

.button:hover {
  transform: translateY(-2px);
  background: var(--accent-strong);
  box-shadow: 0 18px 34px rgba(138, 106, 66, 0.24);
}

.button-small {
  min-height: auto;
  padding: 0.8rem 1.05rem;
}

.button-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
}

.hero,
.page-top {
  padding-top: 2rem;
}

.hero {
  padding: 0.9rem 0 0.7rem;
}

.split-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.4rem;
  align-items: center;
}

.hero-panel {
  position: relative;
  display: block;
  min-height: 420px;
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 28px 56px rgba(29, 36, 33, 0.16);
}

.hero-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 22, 24, 0.76) 0%, rgba(18, 22, 24, 0.5) 38%, rgba(18, 22, 24, 0.18) 100%),
    linear-gradient(180deg, rgba(18, 22, 24, 0.1), rgba(18, 22, 24, 0.28));
}

.hero-copy h1,
.section-heading h1,
.section-heading h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.section-heading h1,
.section-heading h2 {
  font-size: clamp(2rem, 3vw, 3.4rem);
}

.lead,
.section-heading p,
.split-section p,
.card p {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

.hero-copy {
  padding: 1rem 0;
}

.hero-copy-overlay {
  position: relative;
  z-index: 1;
  max-width: 560px;
  min-height: 420px;
  padding: 0.95rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-copy-overlay h1 {
  font-size: clamp(1.65rem, 2.6vw, 2.5rem);
  max-width: 13ch;
}

.hero-copy-overlay h1,
.hero-copy-overlay .lead,
.hero-copy-overlay .hero-points li {
  color: #f4f3ef;
}

.hero-copy-overlay .lead {
  max-width: 36ch;
  margin-top: 0.55rem;
  font-size: 0.9rem;
}

.hero-copy-overlay .eyebrow {
  color: #d6c2a4;
}

.hero-actions .button:not(.button-secondary) {
  background: #fff;
  color: #000;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.12);
}

.hero-actions .button:not(.button-secondary):hover {
  background: #fff;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);
}

.hero-copy-overlay .button-secondary {
  color: #f4f3ef;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.hero-copy-overlay .hero-points li::before {
  background: #d6c2a4;
}

.hero-points,
.check-list,
.footer-links {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.hero-points li,
.check-list li,
.footer-links li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.hero-points li::before,
.check-list li::before,
.footer-links li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--accent);
}

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

.section {
  padding: 4.5rem 0;
}

.section-tight {
  padding-top: 0;
  padding-bottom: 1rem;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.42));
  border-top: 1px solid rgba(32, 32, 29, 0.05);
  border-bottom: 1px solid rgba(32, 32, 29, 0.05);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading.compact {
  margin-bottom: 2.8rem;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

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

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: linear-gradient(180deg, rgba(255, 251, 246, 0.98), rgba(245, 238, 228, 0.96));
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.feature-card,
.service-card,
.service-detail-card,
.info-card,
.project-card {
  min-height: 100%;
}

.project-card {
  padding: 0.35rem;
}

.service-card,
.service-detail-card {
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.service-card:hover,
.service-detail-card:hover {
  transform: translateY(-4px);
  border-color: rgba(138, 106, 66, 0.25);
  background: linear-gradient(180deg, rgba(255, 251, 246, 1), rgba(240, 231, 218, 0.98));
}

.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::after,
.service-detail-card::after {
  content: "Zobacz";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 1rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.85rem;
  font-weight: 800;
}

.image-placeholder {
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px dashed rgba(29, 36, 33, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 252, 248, 0.96), rgba(236, 228, 216, 0.85)),
    repeating-linear-gradient(
      -45deg,
      rgba(29, 36, 33, 0.02),
      rgba(29, 36, 33, 0.02) 12px,
      transparent 12px,
      transparent 24px
    );
  color: var(--muted);
  text-align: center;
  padding: 1rem;
}

.site-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(29, 36, 33, 0.08);
  border: 1px solid rgba(32, 32, 29, 0.08);
}

.image-tall {
  min-height: 420px;
  height: 420px;
}

.project-shot {
  margin: 0;
}

.project-image {
  height: 260px;
  margin-bottom: 0.6rem;
}

.image-link {
  position: relative;
  overflow: hidden;
  display: block;
  cursor: pointer;
}

.image-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(29, 36, 33, 0.02), rgba(29, 36, 33, 0.38));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.image-link-label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 1;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 800;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.image-link:hover::after,
.image-link:hover .image-link-label,
.image-link:focus-visible::after,
.image-link:focus-visible .image-link-label {
  opacity: 1;
}

.image-link:hover .image-link-label,
.image-link:focus-visible .image-link-label {
  transform: translateY(0);
}

.image-link:hover .site-image,
.image-link:focus-visible .site-image {
  transform: scale(1.02);
}

.site-image {
  transition: transform 0.3s ease;
}

.placeholder-link {
  position: relative;
}

.text-link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--accent);
  font-weight: 700;
}

.project-intro {
  margin-bottom: 1.5rem;
}

.project-flow {
  display: grid;
  gap: 2rem;
}

.project-stage {
  display: grid;
  gap: 1.25rem;
}

.project-stage-copy {
  max-width: 780px;
}

.project-facts {
  display: grid;
  gap: 0.85rem;
}

.project-facts p {
  margin: 0;
  color: var(--muted);
}

.project-facts strong {
  color: var(--text);
}

.vehicle-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem;
}

.vehicle-image {
  object-fit: contain;
  background: #fff;
}

.cta-band-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(135deg, rgba(197, 143, 71, 0.14), rgba(255, 255, 255, 0.55));
  border: 1px solid rgba(197, 143, 71, 0.18);
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem;
  border-radius: calc(var(--radius) + 2px);
  background: rgba(255, 250, 244, 0.7);
  border: 1px solid rgba(32, 32, 29, 0.07);
  box-shadow: var(--shadow);
}

.stats-strip div {
  padding: 1.2rem 1.25rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.65);
}

.stats-strip strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.stats-strip span {
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-layout {
  display: grid;
  gap: 2rem;
  justify-items: center;
}

.contact-header {
  max-width: 760px;
  text-align: center;
}

.contact-links {
  display: grid;
  justify-items: center;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.contact-link {
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2rem;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--accent-strong);
}

.contact-meta {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.form-card {
  width: min(100%, 680px);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 600;
}

.required-mark {
  color: #b43b3b;
}

.field-hint {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
  padding: 0.95rem 1rem;
  font: inherit;
}

.contact-form.was-validated input:required:invalid {
  border-color: rgba(180, 59, 59, 0.7);
  box-shadow: 0 0 0 3px rgba(180, 59, 59, 0.08);
}

.contact-form.was-validated input:required:invalid::placeholder {
  color: rgba(180, 59, 59, 0.75);
}

.contact-form.was-validated input:required:valid {
  border-color: rgba(64, 133, 87, 0.32);
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(32, 32, 29, 0.08);
  background: rgba(244, 237, 227, 0.55);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 1.5rem;
}

.footer-grid h3,
.footer-grid h4,
.card h2,
.card h3 {
  margin-top: 0;
}

.service-page h2 {
  margin-top: 0;
}

body.menu-open {
  overflow: hidden;
}

/* Shared visual system for the site's secondary pages. */
.content-redesign {
  --text: #202222;
  --muted: #626565;
  --accent: #202222;
  --container: 1280px;
  color: var(--text);
  background: #fff;
}
.content-redesign .container { width: min(90%, var(--container)); }
.content-redesign .site-header { background: #fff; backdrop-filter: none; }
.content-redesign .nav-wrap { min-height: 90px; }
.content-redesign .site-nav a { border-radius: 0; }
.content-redesign .button { border-radius: 0; box-shadow: none; }
.content-redesign a:focus-visible { outline: 3px solid #8eacbe; outline-offset: 5px; }
.content-redesign .page-top { padding-top: 0; }
.content-redesign .section { padding: 88px 0; }
.content-redesign .section-alt { background: #f5f5f2; }
.content-redesign .section-heading { max-width: 800px; margin-bottom: 42px; }
.content-redesign .section-heading.compact { margin-bottom: 0; }
.content-redesign .eyebrow { color: #555a5a; font-size: .7rem; letter-spacing: .19em; font-weight: 700; text-transform: uppercase; }
.content-redesign h1,
.content-redesign h2,
.content-redesign h3 { color: #202222; letter-spacing: -.045em; font-weight: 500; }
.content-redesign .section-heading h1,
.content-redesign .split-section h1 { max-width: 820px; font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.05; }
.content-redesign .section-heading h2,
.content-redesign .project-stage-copy h2 { font-size: clamp(2rem, 3.2vw, 3.25rem); line-height: 1.12; }
.content-redesign .section-heading > p:last-child,
.content-redesign .split-section p,
.content-redesign .project-intro > p:not(.eyebrow),
.content-redesign .project-stage-copy > p:not(.eyebrow),
.content-redesign .project-card > p { color: #626565; font-size: .98rem; line-height: 1.8; }
.content-redesign .section-heading > p:last-child { max-width: 68ch; }
.content-redesign .grid { gap: 22px; }
.content-redesign .card { border: 1px solid #dedfdd; border-radius: 0; background: #fff; box-shadow: none; }
.content-redesign .service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; margin-top: 54px; }
.content-redesign .service-detail-card { min-height: 0; padding: 27px 38px 28px 0; border-width: 1px 0 0; display: flex; flex-direction: column; align-items: flex-start; position: relative; transform: none; }
.content-redesign .service-detail-card:hover { transform: none; border-color: #dedfdd; background: #fff; }
.content-redesign .service-detail-card::after { content: "↗"; display: block; width: auto; margin: 0; padding: 0; border-radius: 0; background: transparent; color: #202222; font-size: 1.05rem; font-weight: 400; position: absolute; top: 27px; right: 2px; transition: transform .2s ease; }
.content-redesign .service-detail-card:hover::after { transform: translate(3px, -3px); }
.content-redesign .service-detail-card h2 { margin: 0 0 10px; font-size: 1.25rem; line-height: 1.35; }
.content-redesign .service-detail-card p { margin: 0; color: #626565; line-height: 1.75; }
.content-redesign .split-section { align-items: center; gap: clamp(48px, 8vw, 120px); }
.content-redesign .split-section > div:first-child { max-width: 650px; }
.content-redesign .about-photo { display: block; width: 100%; height: auto; object-fit: contain; object-position: center; }
.content-redesign .about-photo-frame { overflow: hidden; border: 1px solid #e6e6e3; background: #fff; }
.content-redesign .info-card { min-height: 180px; padding: 30px; }
.content-redesign .info-card h3 { font-size: 1.25rem; }
.content-redesign .info-card p { color: #626565; line-height: 1.75; }
.content-redesign .project-intro.card { padding: 0 0 34px; margin-bottom: 34px; border-width: 0 0 1px; background: transparent; }
.content-redesign .project-intro h2 { max-width: 850px; font-size: clamp(2rem, 3.5vw, 3.35rem); line-height: 1.1; }
.content-redesign .project-intro > p:not(.eyebrow) { max-width: 78ch; }
.content-redesign .project-card { overflow: hidden; padding: 0 0 24px; }
.content-redesign .project-card > h3,
.content-redesign .project-card > p { margin-left: 24px; margin-right: 24px; }
.content-redesign .project-card > h3 { margin-top: 22px; font-size: 1.25rem; }
.content-redesign .project-image { display: block; width: 100%; height: 310px; object-fit: cover; border-radius: 0; }
.content-redesign .project-facts { padding: 20px 24px; }
.content-redesign .project-stage { padding: 56px 0; border-top: 1px solid #dedfdd; }
.content-redesign .project-stage-copy { max-width: 760px; margin-bottom: 28px; }
.content-redesign .project-stage-copy h2 { margin: 10px 0 14px; }
.content-redesign .site-footer { background: #f5f5f2; padding: 55px 0; }
.content-redesign .footer-links li { padding-left: 0; font-size: .85rem; }
.content-redesign .footer-links li::before { display: none; }
@media (max-width: 900px) {
  .content-redesign .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .content-redesign .nav-wrap { min-height: 80px; }
  .content-redesign .site-nav { top: 80px; background: #fff; border-radius: 0; max-height: calc(100dvh - 100px); overflow-y: auto; }
  .content-redesign .section { padding: 64px 0; }
  .content-redesign .section-heading h1,
  .content-redesign .split-section h1 { font-size: clamp(2.35rem, 11vw, 3.35rem); }
  .content-redesign .service-grid { grid-template-columns: 1fr; margin-top: 34px; }
  .content-redesign .project-image { height: 260px; }
  .content-redesign .project-card > h3,
  .content-redesign .project-card > p { margin-left: 18px; margin-right: 18px; }
  .content-redesign .project-facts { padding: 18px; }
}

/* A clearer service journey: context, grouped work, process, contact. */
.services-redesign .services-hero { padding: 74px 0 72px; background: #fff; }
.services-redesign .services-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr); align-items: center; gap: clamp(48px, 8vw, 118px); }
.services-redesign .services-hero-copy h1 { max-width: 760px; margin: 18px 0 22px; font-size: clamp(3.1rem, 6vw, 5.6rem); line-height: .99; letter-spacing: -.065em; font-weight: 500; }
.services-redesign .services-lead { max-width: 60ch; margin: 0; color: #626565; font-size: 1.05rem; line-height: 1.8; }
.services-redesign .services-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 30px; }
.services-redesign .services-button { display: inline-flex; align-items: center; gap: 24px; min-height: 52px; padding: 0 20px; color: #fff; background: #202222; text-decoration: none; font-size: .9rem; font-weight: 700; }
.services-redesign .services-button:hover { background: #3b4141; }
.services-redesign .services-text-link { color: #202222; font-size: .9rem; text-decoration: underline; text-underline-offset: 5px; }
.services-redesign .services-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 54px; padding-top: 18px; border-top: 1px solid #dedfdd; }
.services-redesign .services-facts div { display: flex; flex-direction: column; gap: 6px; }
.services-redesign .services-facts strong { font-size: .9rem; font-weight: 700; }
.services-redesign .services-facts span { color: #737777; font-size: .75rem; line-height: 1.5; }
.services-redesign .services-feature { min-height: 440px; display: flex; align-items: flex-end; position: relative; overflow: hidden; color: #fff; background: #222; text-decoration: none; }
.services-redesign .services-feature::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.72)); }
.services-redesign .services-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.services-redesign .services-feature:hover img { transform: scale(1.025); }
.services-redesign .services-feature-caption { z-index: 1; display: flex; flex-direction: column; gap: 8px; padding: 26px; }
.services-redesign .services-feature-caption > span { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; }
.services-redesign .services-feature-caption strong { font-size: 1.2rem; font-weight: 500; }
.services-redesign .services-offer { padding: 96px 0 104px; background: #f5f5f2; }
.services-redesign .services-section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 40px; }
.services-redesign .services-section-heading h2,
.services-redesign .services-process-intro h2,
.services-redesign .services-contact h2 { max-width: 760px; margin: 12px 0 0; font-size: clamp(2.2rem, 4vw, 3.8rem); line-height: 1.07; letter-spacing: -.05em; font-weight: 500; }
.services-redesign .services-section-heading > p { max-width: 390px; margin: 0 0 4px; color: #626565; font-size: .92rem; line-height: 1.75; }
.services-redesign .services-categories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 42px; }
.services-redesign .service-category { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 30px 0 34px; border-top: 1px solid #cfd1cf; }
.services-redesign .service-category-number { padding-top: 3px; color: #737777; font-size: .75rem; letter-spacing: .1em; }
.services-redesign .service-category .eyebrow { margin: 0 0 8px; font-size: .65rem; }
.services-redesign .service-category h3 { margin: 0 0 12px; font-size: clamp(1.2rem, 1.8vw, 1.55rem); line-height: 1.3; letter-spacing: -.035em; }
.services-redesign .service-category > div > p:not(.eyebrow) { max-width: 58ch; margin: 0; color: #626565; font-size: .9rem; line-height: 1.75; }
.services-redesign .service-category ul { display: grid; gap: 0; padding: 0; margin: 20px 0 0; list-style: none; }
.services-redesign .service-category li { border-top: 1px solid #dedfdd; }
.services-redesign .service-category li a { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; color: #202222; font-size: .86rem; text-decoration: none; }
.services-redesign .service-category li a:hover { text-decoration: underline; text-underline-offset: 4px; }
.services-redesign .service-category li a span { flex: 0 0 auto; }
.services-redesign .services-open-scope { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; align-items: center; gap: 22px; margin-top: 16px; padding: 28px 30px; background: #fff; border: 1px solid #dedfdd; }
.services-redesign .services-open-scope > span { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #dedfdd; font-size: 1.4rem; }
.services-redesign .services-open-scope .eyebrow { margin: 0 0 7px; font-size: .65rem; }
.services-redesign .services-open-scope h3 { margin: 0 0 6px; font-size: 1.25rem; }
.services-redesign .services-open-scope p:not(.eyebrow) { max-width: 70ch; margin: 0; color: #626565; font-size: .88rem; line-height: 1.7; }
.services-redesign .services-open-scope > a { color: #202222; font-size: .87rem; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.services-redesign .services-process { padding: 88px 0 98px; background: #fff; }
.services-redesign .services-process-intro { max-width: 730px; margin-bottom: 44px; }
.services-redesign .services-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.services-redesign .services-steps article { padding-top: 18px; border-top: 1px solid #cfd1cf; }
.services-redesign .services-steps article > span { color: #737777; font-size: .67rem; letter-spacing: .14em; text-transform: uppercase; }
.services-redesign .services-steps h3 { margin: 22px 0 8px; font-size: 1.2rem; }
.services-redesign .services-steps p { max-width: 38ch; margin: 0; color: #626565; font-size: .9rem; line-height: 1.75; }
.services-redesign .services-contact { padding: 74px 0; background: #232727; color: #fff; }
.services-redesign .services-contact-inner { display: flex; justify-content: space-between; align-items: center; gap: 42px; }
.services-redesign .services-contact .eyebrow { margin: 0; color: #c6cdcd; }
.services-redesign .services-contact h2 { margin-top: 12px; color: #fff; }
.services-redesign .services-contact-inner > div > p:last-child { margin: 14px 0 0; color: #c6cdcd; font-size: .92rem; }
.services-redesign .services-button-light { flex: 0 0 auto; color: #202222; background: #fff; }
.services-redesign .services-button-light:hover { background: #e8e9e7; }

/* About page: a concise, full-width story with the company van as its backdrop. */
.about-redesign .page-top { padding-top: 0; }
.about-story { position: relative; isolation: isolate; display: flex; align-items: center; min-height: min(780px, calc(100vh - 90px)); min-height: min(780px, calc(100svh - 90px)); overflow: hidden; background: #fff; }
.about-story-photo { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 54% 56%; }
.about-story::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.99) 31%, rgba(255,255,255,.92) 45%, rgba(255,255,255,.58) 59%, rgba(255,255,255,.04) 81%); }
.about-story-content { padding-block: 86px; }
.about-story-content .eyebrow { margin-bottom: 20px; color: #555a5a; }
.about-story h1 { max-width: 670px; margin: 0 0 24px; color: #202222; font-size: clamp(3rem, 5.8vw, 6rem); line-height: 1.04; letter-spacing: -.055em; font-weight: 500; }
.about-story-content > p:not(.eyebrow) { max-width: 580px; margin: 0 0 12px; color: #535858; font-size: 1rem; line-height: 1.75; }
.about-story-link { display: inline-block; margin-top: 15px; padding: 10px 0 7px; border-bottom: 1px solid #656969; color: #202222; font-size: .9rem; text-decoration: none; }
.about-story-link:hover { border-color: #202222; }
.home-about-story { min-height: min(690px, calc(100vh - 90px)); min-height: min(690px, calc(100svh - 90px)); }
.home-about-story h2 { max-width: 670px; margin: 0 0 24px; color: #202222; font-size: clamp(3rem, 5.8vw, 5rem); line-height: 1.04; letter-spacing: -.055em; font-weight: 500; }
.home-about-section { position: relative; isolation: isolate; display: flex; align-items: center; min-height: min(780px, calc(100vh - 90px)); min-height: min(780px, calc(100svh - 90px)); overflow: hidden; background: #fff; }
.home-about-section::before { position: absolute; z-index: -1; inset: 0; background: linear-gradient(270deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.92) 31%, rgba(255,255,255,.68) 53%, rgba(255,255,255,.08) 100%); content: ""; }
.home-about-background { position: absolute; z-index: -2; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 29% 48%; }
.home-about-layout { display: grid; width: 100%; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(48px, 7vw, 100px); padding-block: 70px; }
.home-about-copy { max-width: 590px; }
.home-about-copy { grid-column: 2; }
.home-about-copy .eyebrow { margin: 0 0 18px; color: #555a5a; }
.home-about-copy h2 { max-width: 670px; margin: 0 0 24px; color: #202222; font-size: clamp(3rem, 5.2vw, 5rem); line-height: 1.04; letter-spacing: -.055em; font-weight: 500; }
.home-about-copy > p:not(.eyebrow) { max-width: 580px; margin: 0 0 12px; color: #535858; font-size: 1rem; line-height: 1.75; }
.about-why { padding: 92px 0 102px; background: #f3f3f0; }
.about-why-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr); align-items: start; gap: clamp(40px, 8vw, 120px); }
.about-why .eyebrow { margin: 0 0 18px; color: #626565; }
.about-why h2 { max-width: 650px; margin: 0; color: #202222; font-size: clamp(2.6rem, 4.8vw, 4.6rem); line-height: 1.04; letter-spacing: -.055em; font-weight: 500; }
.about-why-copy { padding-top: 28px; }
.about-why-copy p { margin: 0 0 16px; color: #535858; font-size: 1rem; line-height: 1.8; }
.about-why-copy p:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .about-why-layout { grid-template-columns: 1fr; gap: 24px; }
  .about-why-copy { padding-top: 0; }
  .services-redesign .services-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr); gap: 36px; }
  .services-redesign .services-feature { min-height: 390px; }
  .services-redesign .services-facts { grid-template-columns: 1fr 1fr; }
  .services-redesign .services-facts div:last-child { grid-column: 1 / -1; }
  .services-redesign .services-categories { column-gap: 24px; }
  .services-redesign .services-open-scope { grid-template-columns: 44px minmax(0, 1fr); }
  .services-redesign .services-open-scope > a { grid-column: 2; }
}
@media (max-width: 640px) {
  .home-about-section { min-height: 0; align-items: stretch; }
  .home-about-section::before { background: linear-gradient(180deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.52) 25%, rgba(255,255,255,.94) 43%, #fff 58%); }
  .home-about-background { object-position: center top; }
  .home-about-layout { grid-template-columns: 1fr; gap: 30px; padding-block: 300px 58px; }
  .home-about-copy { grid-column: 1; }
  .home-about-copy h2 { margin-bottom: 18px; font-size: clamp(2.7rem, 11vw, 3.8rem); }
  .home-about-copy > p:not(.eyebrow) { font-size: .98rem; }
  .about-why { padding: 66px 0 74px; }
  .about-why-layout { grid-template-columns: 1fr; gap: 24px; }
  .about-why-copy { padding-top: 0; }
  .about-story { min-height: 760px; min-height: max(760px, calc(100svh - 80px)); align-items: flex-end; }
  .about-story-photo { object-position: 58% 18%; }
  .about-story::before { background: linear-gradient(180deg, rgba(255,255,255,.02) 0%, rgba(255,255,255,.12) 29%, rgba(255,255,255,.88) 48%, #fff 62%); }
  .about-story-content { padding-block: 0 56px; }
  .about-story-content .eyebrow { margin-bottom: 14px; }
  .about-story h1 { margin-bottom: 18px; font-size: clamp(2.7rem, 11vw, 3.8rem); }
  .home-about-story { min-height: 700px; min-height: max(700px, calc(100svh - 80px)); }
  .home-about-story h2 { margin-bottom: 18px; font-size: clamp(2.7rem, 11vw, 3.8rem); }
  .about-story-content > p:not(.eyebrow) { font-size: .98rem; }
  .services-redesign .services-hero { padding: 54px 0 60px; }
  .services-redesign .services-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .services-redesign .services-hero-copy h1 { font-size: clamp(2.8rem, 12vw, 4rem); }
  .services-redesign .services-lead { font-size: .97rem; }
  .services-redesign .services-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .services-redesign .services-facts { margin-top: 36px; }
  .services-redesign .services-feature { min-height: 340px; }
  .services-redesign .services-offer,
  .services-redesign .services-process { padding: 64px 0; }
  .services-redesign .services-section-heading { display: block; margin-bottom: 26px; }
  .services-redesign .services-section-heading > p { margin-top: 14px; }
  .services-redesign .services-categories { grid-template-columns: 1fr; }
  .services-redesign .service-category { padding: 26px 0 30px; }
  .services-redesign .services-open-scope { grid-template-columns: 38px minmax(0, 1fr); gap: 14px; padding: 22px 18px; }
  .services-redesign .services-open-scope > span { width: 34px; height: 34px; }
  .services-redesign .services-open-scope > a { grid-column: 2; }
  .services-redesign .services-process-intro { margin-bottom: 30px; }
  .services-redesign .services-steps { grid-template-columns: 1fr; gap: 28px; }
  .services-redesign .services-steps h3 { margin-top: 14px; }
  .services-redesign .services-contact { padding: 60px 0; }
  .services-redesign .services-contact-inner { align-items: flex-start; flex-direction: column; gap: 28px; }
}

@media (max-width: 980px) {
  .split-section,
  .grid-3,
  .grid-4,
  .footer-grid,
  .cta-band-wrap,
  .stats-strip {
    grid-template-columns: 1fr;
  }

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

  .site-nav {
    position: fixed;
    inset: 94px 1rem auto 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: rgba(246, 241, 232, 0.98);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .nav-item {
    width: 100%;
  }

  .nav-submenu {
    position: static;
    min-width: 0;
    padding: 0 0 0.45rem;
    margin-top: 0.15rem;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .nav-submenu-services {
    min-width: 0;
    grid-template-columns: 1fr;
    max-width: none;
  }

  .nav-submenu-link {
    gap: 0.15rem;
    min-height: 0;
    padding: 0.55rem 1rem 0.55rem 1.4rem;
    background: transparent;
    border: 0;
    transform: none;
    box-shadow: none;
  }

  .nav-submenu-link::after {
    content: "";
  }

  .nav-submenu-title {
    white-space: normal;
    padding-right: 0;
  }

  .nav-submenu-description {
    max-width: none;
    font-size: 0.8rem;
  }

  .nav-toggle {
    display: inline-block;
  }

  .button-small {
    width: 100%;
  }

  .brand {
    max-width: calc(100% - 76px);
    gap: 0.65rem;
  }

  .brand-logo {
    width: 92px;
  }

  .brand-badge {
    padding: 0.2rem 0;
  }

  .brand-name {
    font-size: 0.86rem;
  }

  .brand-subtitle {
    font-size: 0.68rem;
    letter-spacing: 0.04em;
  }

  .theme-switcher {
    left: 50%;
    right: auto;
    bottom: 0.8rem;
    transform: translateX(-50%);
    max-width: calc(100vw - 1rem);
    overflow-x: auto;
  }
}

@media (max-width: 640px) {
  .hero-panel,
  .hero-copy-overlay {
    min-height: 320px;
  }

  .hero-copy-overlay {
    padding: 0.85rem 0.9rem;
  }

  .hero-copy-overlay h1 {
    font-size: clamp(1.25rem, 7vw, 1.65rem);
  }

  .brand-subtitle {
    display: none;
  }

  .brand-name {
    font-size: 0.8rem;
  }

  .brand-copy {
    padding-left: 0.7rem;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 3.6rem 0;
  }

  .container {
    width: min(calc(100% - 1.2rem), var(--container));
  }

  .hero-copy h1,
  .section-heading h1,
  .section-heading h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .card,
  .cta-band-wrap {
    padding: 1.2rem;
  }
}

/* Service pages: four clear categories with a real project photo beside each. */
.services-redesign .services-hero-copy h1 { font-size: clamp(3rem, 5.1vw, 4.8rem); letter-spacing: -.06em; }
.services-redesign .services-categories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.services-redesign .services-service-card { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1fr); min-height: 290px; overflow: hidden; border: 1px solid #dedfdd; background: #fff; }
.services-redesign .services-service-card > img { grid-column: 1; grid-row: 1; display: block; width: 100%; height: 100%; min-height: 290px; object-fit: cover; }
.services-redesign .services-service-copy { grid-column: 2; grid-row: 1; align-self: center; padding: 26px; }
.services-redesign .services-service-card:nth-child(even) > img { grid-column: 2; }
.services-redesign .services-service-card:nth-child(even) .services-service-copy { grid-column: 1; grid-row: 1; }
.services-redesign .services-service-copy .eyebrow { margin: 0 0 12px; font-size: .65rem; }
.services-redesign .services-service-copy h3 { margin: 0 0 12px; font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.2; letter-spacing: -.04em; }
.services-redesign .services-service-copy p:last-child { margin: 0; color: #626565; font-size: .9rem; line-height: 1.75; }
.services-redesign .services-open-scope { grid-template-columns: minmax(0, 1fr) auto; gap: 24px; padding: 26px 30px; }
.services-redesign .services-open-scope > div { grid-column: 1; }
.services-redesign .services-open-scope h3 { margin: 0 0 7px; }
.services-redesign .services-open-scope p { margin: 0; color: #626565; font-size: .9rem; line-height: 1.65; }
.services-redesign .services-open-scope > a { grid-column: 2; }
@media (max-width: 900px) {
  .services-redesign .services-categories { grid-template-columns: 1fr; }
  .services-redesign .services-service-card { min-height: 300px; }
  .services-redesign .services-open-scope { grid-template-columns: 1fr auto; }
  .services-redesign .services-open-scope > a { grid-column: 2; }
}
@media (max-width: 640px) {
  .services-redesign .services-hero-copy h1 { font-size: clamp(2.7rem, 11vw, 3.7rem); }
  .services-redesign .services-categories { gap: 16px; }
  .services-redesign .services-service-card { grid-template-columns: 1fr; min-height: 0; }
  .services-redesign .services-service-card > img,
  .services-redesign .services-service-card:nth-child(even) > img { grid-column: 1; grid-row: 1; height: 245px; min-height: 245px; }
  .services-redesign .services-service-copy,
  .services-redesign .services-service-card:nth-child(even) .services-service-copy { grid-column: 1; grid-row: 2; padding: 22px; }
  .services-redesign .services-open-scope { grid-template-columns: 1fr; gap: 18px; padding: 22px; }
  .services-redesign .services-open-scope > div,
  .services-redesign .services-open-scope > a { grid-column: 1; }
}

/* Shared professional footer on every site page. */
.site-footer {
  padding: 58px 0 22px;
  border-top: 1px solid #dedfdd;
  background: #f5f5f2;
  color: #202222;
}
.footer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(150px, .65fr) minmax(190px, .8fr);
  gap: clamp(32px, 7vw, 100px);
}
.footer-brand .footer-logo { width: 142px; margin: 0 0 18px; }
.footer-description { max-width: 43ch; margin: 0; color: #626565; font-size: .88rem; line-height: 1.75; }
.footer-navigation h2,
.footer-contact h2 { margin: 4px 0 18px; font-size: .78rem; font-weight: 650; letter-spacing: .04em; }
.site-footer .footer-links { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.site-footer .footer-links li { margin: 0; padding: 0; color: #626565; font-size: .84rem; line-height: 1.5; }
.site-footer .footer-links li::before { display: none; }
.site-footer .footer-links a { color: inherit; text-decoration: none; text-underline-offset: 4px; transition: color .2s; }
.site-footer .footer-links a:hover { color: #202222; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; margin-top: 42px; padding-top: 17px; border-top: 1px solid #dedfdd; }
.footer-bottom p { margin: 0; color: #747775; font-size: .72rem; line-height: 1.55; }
@media (max-width: 700px) {
  .site-footer { padding: 44px 0 20px; }
  .footer-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 22px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 7px; margin-top: 30px; }
}

/* Project-first portfolio with complete realizations in accessible dialogs. */
.portfolio-page { background: #fff; }
.portfolio-hero { padding: 96px 0 58px; background-color: #f5f6f3; background-image: linear-gradient(90deg, rgba(245,246,243,.99) 0%, rgba(245,246,243,.96) 37%, rgba(245,246,243,.76) 61%, rgba(245,246,243,.28) 100%), url("../images/rydsgard-komin-fasada.jpeg"); background-size: cover, auto 132%; background-position: center, right center; background-repeat: no-repeat; }
.portfolio-hero h1 { max-width: 900px; margin: 14px 0 32px; font-size: clamp(3rem, 6vw, 5.8rem); line-height: .99; letter-spacing: -.065em; font-weight: 500; }
.portfolio-hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.portfolio-hero-bottom p { max-width: 58ch; margin: 0; color: #626565; font-size: .98rem; line-height: 1.8; }
.portfolio-hero-bottom > span { color: #626565; font-size: .66rem; letter-spacing: .12em; white-space: nowrap; }
.portfolio-hero-bottom > span span { margin-left: 10px; font-size: 1rem; }
.portfolio-section { padding: 56px 0 104px; }
.portfolio-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 34px; }
.portfolio-toolbar > .eyebrow { margin: 0; white-space: nowrap; }
.portfolio-gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 44px 24px; }
.portfolio-project { grid-column: span 2; display: block; min-width: 0; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; font: inherit; cursor: pointer; }
.portfolio-project[hidden] { display: none; }
.portfolio-project-image { position: relative; display: block; aspect-ratio: 4 / 4.7; overflow: hidden; background: #e9ece8; }
.portfolio-project-image::after { position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.48)); content: ""; opacity: .72; transition: opacity .25s; }
.portfolio-project-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.portfolio-project:hover .portfolio-project-image img,
.portfolio-project:focus-visible .portfolio-project-image img { transform: scale(1.035); }
.portfolio-project:hover .portfolio-project-image::after { opacity: 1; }
.portfolio-project-open { position: absolute; z-index: 1; right: 18px; bottom: 17px; left: 18px; display: flex; justify-content: space-between; color: #fff; font-size: .78rem; opacity: 0; transform: translateY(5px); transition: opacity .25s, transform .25s; }
.portfolio-project:hover .portfolio-project-open,
.portfolio-project:focus-visible .portfolio-project-open { opacity: 1; transform: translateY(0); }
.portfolio-project-status { position: absolute; z-index: 1; top: 14px; left: 14px; padding: 7px 10px; background: #fff; color: #202222; font-size: .67rem; }
.portfolio-project-meta { margin: 17px 0 9px; color: #626565; font-size: .64rem; letter-spacing: .07em; text-transform: uppercase; }
.portfolio-project-title { display: block; font-size: 1.12rem; font-weight: 600; line-height: 1.35; letter-spacing: -.02em; }
.portfolio-project-summary { display: block; max-width: 48ch; margin-top: 8px; color: #626565; font-size: .83rem; line-height: 1.7; }
.portfolio-project:focus-visible,
.project-dialog-close:focus-visible { outline: 2px solid #1c64ed; outline-offset: 4px; }
.project-dialog { width: min(1080px, calc(100% - 40px)); max-width: none; max-height: min(92dvh, 980px); padding: 0; overflow: hidden; border: 0; background: #fff; color: #202222; box-shadow: 0 20px 80px rgba(0,0,0,.28); }
.project-dialog::backdrop { background: rgba(18,20,20,.76); backdrop-filter: blur(3px); }
.project-dialog-shell { display: flex; max-height: min(92dvh, 980px); flex-direction: column; }
.project-dialog-header { position: sticky; z-index: 2; top: 0; display: flex; flex: 0 0 auto; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 26px clamp(22px, 5vw, 58px) 22px; border-bottom: 1px solid #dedfdd; background: rgba(255,255,255,.97); }
.project-dialog-header .eyebrow { margin: 0 0 8px; color: #626565; font-size: .64rem; letter-spacing: .11em; text-transform: uppercase; }
.project-dialog-header h2 { max-width: 760px; margin: 0; font-size: clamp(1.6rem, 3.4vw, 2.55rem); font-weight: 500; line-height: 1.1; letter-spacing: -.045em; }
.project-dialog-close { flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid #dedfdd; background: #fff; color: #202222; font-size: 1.7rem; line-height: 1; cursor: pointer; }
.project-dialog-close:hover { background: #f1f2ef; }
.project-dialog-content { overflow: auto; overscroll-behavior: contain; padding: 0 clamp(22px, 5vw, 58px) 52px; }
.project-detail-intro { max-width: 780px; padding: 27px 0 24px; border-bottom: 1px solid #dedfdd; }
.project-detail-intro p { margin: 0 0 12px; color: #555a58; font-size: .94rem; line-height: 1.8; }
.project-detail-intro p:last-child { margin-bottom: 0; }
.project-detail-facts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin: 0; padding: 24px 0 30px; border-bottom: 1px solid #dedfdd; }
.project-detail-facts div { min-width: 0; }
.project-detail-facts dt { margin-bottom: 7px; color: #777d79; font-size: .64rem; letter-spacing: .09em; text-transform: uppercase; }
.project-detail-facts dd { margin: 0; font-size: .85rem; line-height: 1.5; }
.project-detail-image { margin: 28px 0 0; }
.project-detail-image img { display: block; width: 100%; max-height: 570px; object-fit: cover; }
.project-detail-image figcaption,
.project-detail-gallery figcaption { padding-top: 10px; color: #626565; font-size: .75rem; }
.project-detail-stage { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); gap: clamp(24px, 4vw, 52px); padding: 34px 0; border-bottom: 1px solid #dedfdd; }
.project-detail-stage > div:first-child h3 { margin: 8px 0 12px; font-size: clamp(1.3rem, 2vw, 1.8rem); font-weight: 500; line-height: 1.2; letter-spacing: -.035em; }
.project-detail-stage > div:first-child > p:last-child { margin: 0; color: #626565; font-size: .86rem; line-height: 1.75; }
.project-detail-gallery { display: grid; align-content: start; gap: 16px; }
.project-detail-gallery.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.project-detail-gallery.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.project-detail-gallery figure { min-width: 0; margin: 0; }
.project-detail-gallery img { display: block; width: 100%; height: clamp(160px, 22vw, 280px); object-fit: cover; background: #e9ece8; }
@media (max-width: 900px) {
  .project-detail-stage { grid-template-columns: 1fr; }
  .project-detail-facts { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .portfolio-hero { padding: 68px 0 36px; background-image: linear-gradient(90deg, rgba(245,246,243,.99) 0%, rgba(245,246,243,.94) 50%, rgba(245,246,243,.65) 100%), url("../images/rydsgard-komin-fasada.jpeg"); background-size: cover, auto 100%; background-position: center, right bottom; }
  .portfolio-hero h1 { font-size: clamp(2.9rem, 12vw, 4rem); }
  .portfolio-hero-bottom { align-items: flex-start; flex-direction: column; gap: 16px; }
  .portfolio-section { padding: 38px 0 68px; }
  .portfolio-toolbar { margin-bottom: 24px; }
  .portfolio-gallery { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 30px 14px; }
  .portfolio-project { grid-column: auto; }
  .portfolio-project:last-child:nth-child(odd) { grid-column: 1 / -1; width: min(100%, 420px); justify-self: center; }
  .portfolio-project-image { aspect-ratio: 4 / 4.8; }
  .portfolio-project-open { right: 10px; bottom: 10px; left: 10px; font-size: .68rem; }
  .portfolio-project-meta { flex-direction: column; gap: 4px; margin-top: 12px; font-size: .58rem; }
  .portfolio-project-title { font-size: .95rem; }
  .portfolio-project-summary { font-size: .76rem; }
  .project-dialog { width: 100%; max-height: 100dvh; height: 100dvh; margin: 0; }
  .project-dialog-shell { max-height: 100dvh; height: 100dvh; }
  .project-dialog-header { padding: 18px 18px 16px; }
  .project-dialog-content { padding: 0 18px 32px; }
  .project-detail-gallery.two, .project-detail-gallery.three { grid-template-columns: 1fr 1fr; }
  .project-detail-gallery.three figure:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .project-detail-gallery img { height: 190px; }
}
@media (prefers-reduced-motion: reduce) {
  .portfolio-project-image img,
  .portfolio-project-image::after,
  .portfolio-project-open { transition: none; }
  .portfolio-project:hover .portfolio-project-image img,
  .portfolio-project:focus-visible .portfolio-project-image img { transform: none; }
}

.services-additional { display: flex; flex-wrap: wrap; gap: 20px 36px; padding-top: 36px; }
.services-additional a { margin: 0; }
/* Keep mobile images separate from the copy so neither obscures the other. */
@media (max-width: 640px) {
  .about-story { display: block; min-height: 0; }
  .about-story-photo { height: 300px; object-position: 62% 60%; }
  .about-story::before { background: linear-gradient(180deg, transparent 200px, #fff 300px); }
  .about-story-content { padding-block: 310px 56px; }
  .project-detail-gallery.two.project-housing-interiors { grid-template-columns: 1fr; }
}
@media (hover: none) {
  .portfolio-project-open { opacity: 1; transform: none; }
}

/* Repeat a visible, timed entrance on every page and in project galleries. */
.scroll-motion {
  opacity: 0;
  translate: 0 var(--reveal-offset, 40px);
  transition: opacity .8s ease, translate .8s cubic-bezier(.22, 1, .36, 1);
}
.scroll-motion.is-in-view { opacity: 1; translate: 0 0; }
.scroll-motion:focus-within { opacity: 1; translate: none; }
@media (prefers-reduced-motion: reduce), print {
  .scroll-motion { opacity: 1; translate: none; transition: none; }
}

/* Full-width photographic introductions share a soft transition under the copy. */
.services-redesign .services-hero {
  position: relative;
  isolation: isolate;
  padding: 90px 0 64px;
  overflow: hidden;
  background: #f5f6f3;
}
.services-hero-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 58%;
}
.services-redesign .services-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(245,246,243,.96), rgba(245,246,243,.91) 35%, rgba(245,246,243,.65) 59%, rgba(245,246,243,.12));
}
.services-redesign .services-hero-grid { display: block; }
.services-redesign .services-hero-copy { max-width: 790px; }
.services-redesign .services-lead { max-width: 58ch; color: #444b48; }
.services-redesign .services-feature {
  width: fit-content;
  min-height: 0;
  margin: 40px 0 0 auto;
  overflow: visible;
  color: #202222;
  background: rgba(245,246,243,.86);
  padding: 14px 18px;
}
.services-redesign .services-feature::after { display: none; }
.services-redesign .services-feature-caption { padding: 0; gap: 6px; }
.services-redesign .services-feature-caption strong { font-size: .95rem; }
.services-redesign .services-feature:hover { background: #f5f6f3; }
.portfolio-hero {
  background-size: cover, cover;
  background-position: center, 50% 14%;
  background-image: linear-gradient(90deg, rgba(245,246,243,.96), rgba(245,246,243,.91) 35%, rgba(245,246,243,.65) 59%, rgba(245,246,243,.12)), url("../images/rydsgard-komin-fasada.jpeg");
}
.portfolio-hero-bottom p { color: #444b48; }
.portfolio-hero-bottom > span { color: #202222; }
@media (max-width: 640px) {
  .services-redesign .services-hero { padding: 54px 0 40px; }
  .services-hero-photo { object-position: 62% center; }
  .services-redesign .services-hero::before {
    background: linear-gradient(90deg, rgba(245,246,243,.96), rgba(245,246,243,.88) 54%, rgba(245,246,243,.66));
  }
  .services-redesign .services-feature { margin-top: 28px; margin-left: 0; }
  .portfolio-hero {
    background-size: cover, cover;
    background-position: center, 52% center;
    background-image: linear-gradient(90deg, rgba(245,246,243,.96), rgba(245,246,243,.88) 54%, rgba(245,246,243,.66)), url("../images/rydsgard-komin-fasada.jpeg");
  }
}

/* Swedish compounds must fit narrow service headings. */
.service-page h1 {
  hyphens: auto;
  overflow-wrap: anywhere;
}

/* A direct route to the page content for keyboard navigation. */
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 10000; padding: 12px 18px; color: #202222; background: #fff; border: 2px solid #202222; transform: translateY(-200%); font-weight: 700; }
.skip-link:focus { transform: none; }

/* Readable privacy information, in the same monochrome design. */
.privacy-page { max-width: 900px; }
.privacy-page .section-heading { max-width: 760px; }
.privacy-page .privacy-updated { font-size: .8rem; margin-top: 22px; }
.privacy-toc { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px 24px; padding: 26px; margin-bottom: 42px; border: 1px solid #dedfdd; background: #f5f5f2; font-size: .9rem; }
.privacy-toc a, .privacy-section a, .form-privacy a { text-decoration: underline; text-underline-offset: 4px; }
.privacy-section { padding: 30px 0; border-top: 1px solid #dedfdd; scroll-margin-top: 115px; }
.privacy-page .privacy-section h2 { font-size: clamp(1.45rem, 3vw, 2rem); margin: 0 0 20px; line-height: 1.2; }
.privacy-section p, .privacy-source-links { color: #626565; font-size: .96rem; line-height: 1.85; }
.privacy-section p { max-width: 76ch; margin: 0 0 16px; }
.privacy-source-links { padding-left: 20px; margin: 18px 0 0; }
.privacy-source-links li { margin-block: 8px; }
.privacy-page > .about-story-link { margin-top: 22px; }
.form-privacy { margin: 0; color: #626565; font-size: .78rem; line-height: 1.7; }
@media (max-width: 640px) { .privacy-redesign .section { padding: 48px 0 60px; } .privacy-toc { padding: 20px; gap: 12px; font-size: .8rem; } .privacy-section { padding-block: 26px; } }

/* Company information uses the same spacing and typography as service content. */
.company-credentials { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.company-credential { padding: clamp(24px, 3vw, 40px); border: 1px solid #dedfdd; background: #f6f6f3; }
.company-credential h3 { margin: 0 0 16px; font-size: clamp(1.35rem, 2.2vw, 1.8rem); font-weight: 500; letter-spacing: -.04em; }
.company-credential p { margin: 0 0 18px; }
.optional-mark { color: #626565; font-weight: 400; }
.contact-form [data-contact-location][hidden] { display: none; }
@media (max-width: 700px) { .company-credentials { grid-template-columns: 1fr; } }
