:root {
  --white: #ffffff;
  --ink: #050806;
  --muted: #5f6862;
  --line: rgba(5, 8, 6, 0.13);
  --line-strong: rgba(5, 8, 6, 0.24);
  --green: #0b3b2e;
  --green-deep: #06281f;
  --green-soft: #e6f0eb;
  --wash: #f7faf8;
  --shadow: 0 22px 70px rgba(5, 8, 6, 0.1);
  --glass: rgba(255, 255, 255, 0.74);
  --glass-border: rgba(5, 8, 6, 0.08);
  --glass-shadow: 0 20px 52px rgba(5, 8, 6, 0.12);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gutter: 38px;
  --radius: 8px;
  --header-height: 88px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--white);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

body.auth-locked {
  overflow: hidden;
}

body.auth-locked .site-header,
body.auth-locked .menu-panel,
body.auth-locked main,
body.auth-locked .site-footer,
body.auth-locked .skip-link {
  visibility: hidden;
  pointer-events: none;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button {
  font: inherit;
  letter-spacing: 0;
}

svg path,
svg rect,
svg circle,
svg line,
svg polyline {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

::selection {
  background: var(--green);
  color: var(--white);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 14px;
  left: 14px;
  transform: translateY(-180%);
  padding: 10px 14px;
  border: 1px solid var(--green);
  background: var(--white);
  color: var(--green);
}

.skip-link:focus {
  transform: translateY(0);
}

.login-gate {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: none;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.88), #fff 42%),
    url("./assets/aluminium-doors-exterior.jpg") center / cover;
}

body.auth-locked .login-gate {
  display: grid;
}

.login-gate::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, #fff 0%, rgba(255, 255, 255, 0.92) 26%, rgba(255, 255, 255, 0.78) 100%),
    linear-gradient(to bottom, #fff 0%, rgba(255, 255, 255, 0.7) 100%);
}

.login-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 24px;
  width: min(100%, 430px);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.login-card__brand {
  margin-bottom: 16px;
}

.login-card h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: 50px;
  line-height: 0.95;
  font-weight: 600;
}

.login-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.login-field {
  display: grid;
  gap: 9px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}

.login-field input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font: 600 18px/1 var(--sans);
}

.login-field input:focus {
  outline: 2px solid rgba(11, 59, 46, 0.2);
  outline-offset: 2px;
  border-color: var(--green);
}

.login-message {
  min-height: 20px;
  margin: -8px 0 0;
  color: #8f2d1f;
  font-size: 13px;
}

.login-log-panel {
  position: fixed;
  z-index: 210;
  right: 24px;
  bottom: 24px;
  width: min(480px, calc(100vw - 48px));
  max-height: min(640px, calc(100vh - 48px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.login-log-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.login-log-panel__head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
}

.login-log-panel__head button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--green);
  cursor: pointer;
}

.login-log-panel__head span {
  display: block;
  grid-area: 1 / 1;
  width: 22px;
  height: 2px;
  background: currentColor;
}

.login-log-panel__head span:first-child {
  transform: rotate(45deg);
}

.login-log-panel__head span:last-child {
  transform: rotate(-45deg);
}

.login-log-panel__body {
  display: grid;
  max-height: 520px;
  overflow: auto;
}

.login-log-item {
  display: grid;
  gap: 6px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.login-log-item:last-child {
  border-bottom: 0;
}

.login-log-item strong {
  color: var(--green);
  font-size: 14px;
}

.login-log-item span {
  color: var(--muted);
  font-size: 13px;
}

.site-header {
  position: fixed;
  z-index: 70;
  top: 22px;
  left: var(--gutter);
  right: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0;
  pointer-events: auto;
  transition: transform 420ms cubic-bezier(0.2, 0.78, 0.18, 1), opacity 260ms ease;
}

.site-header.is-scrolled {
  transform: translateY(-4px);
}

.site-header.is-collapsed {
  transform: translateY(-14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.site-header .brand {
  min-height: 64px;
  max-width: 270px;
  padding: 9px 18px 9px 12px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  background: var(--glass);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(22px) saturate(1.24);
  -webkit-backdrop-filter: blur(22px) saturate(1.24);
  pointer-events: auto;
  transition:
    max-width 420ms cubic-bezier(0.2, 0.78, 0.18, 1),
    padding 420ms cubic-bezier(0.2, 0.78, 0.18, 1),
    border-radius 260ms ease,
    transform 260ms ease;
}

.site-header .brand:hover {
  transform: translateY(-1px);
}

.site-header.is-collapsed .brand {
  max-width: 86px;
  padding-right: 12px;
  border-radius: 22px;
}

.brand__mark {
  width: 70px;
  height: auto;
  flex: 0 0 auto;
}

.brand__text {
  color: var(--green);
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  transition: max-width 360ms ease, opacity 260ms ease, transform 260ms ease;
}

.site-header .brand__text {
  max-width: 180px;
}

.site-header.is-collapsed .brand__text {
  max-width: 0;
  opacity: 0;
  transform: translateX(-8px);
}

.nav-inline {
  display: flex;
  align-items: center;
  gap: 54px;
  margin-left: auto;
  margin-right: 18px;
  min-height: 58px;
  max-width: 560px;
  padding: 0 28px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: var(--glass);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(22px) saturate(1.22);
  -webkit-backdrop-filter: blur(22px) saturate(1.22);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  pointer-events: auto;
  transition:
    max-width 420ms cubic-bezier(0.2, 0.78, 0.18, 1),
    padding 420ms cubic-bezier(0.2, 0.78, 0.18, 1),
    margin 420ms cubic-bezier(0.2, 0.78, 0.18, 1),
    opacity 220ms ease,
    transform 260ms ease;
}

.site-header.is-collapsed .nav-inline {
  width: 0;
  min-width: 0;
  max-width: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px) scale(0.94);
}

.nav-inline a {
  position: relative;
  padding: 10px 0;
  white-space: nowrap;
}

.nav-inline a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 1px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms ease;
}

.nav-inline a:hover::after,
.nav-inline a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle,
.menu-close {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--glass-border);
  border-radius: 19px;
  background: var(--glass);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  color: var(--green);
  cursor: pointer;
  pointer-events: auto;
  transition:
    background 260ms ease,
    border-color 260ms ease,
    color 260ms ease,
    transform 260ms ease,
    box-shadow 260ms ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 22px 58px rgba(11, 59, 46, 0.22);
}

.menu-close {
  background: rgba(255, 255, 255, 0.82);
}

.menu-toggle span,
.menu-close span {
  display: block;
  grid-area: 1 / 1;
  width: 28px;
  height: 2px;
  background: currentColor;
  transform-origin: center;
  transition: transform 260ms ease, opacity 260ms ease;
}

.menu-toggle span:first-child {
  transform: translateY(-5px);
}

.menu-toggle span:last-child {
  transform: translateY(5px);
}

.menu-toggle:hover span:first-child {
  transform: translateY(-7px);
}

.menu-toggle:hover span:last-child {
  transform: translateY(7px);
}

.menu-close span:first-child {
  transform: rotate(45deg);
}

.menu-close span:last-child {
  transform: rotate(-45deg);
}

.menu-panel {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 24px var(--gutter) 38px;
  background: var(--white);
  color: var(--ink);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-16px);
  transition: opacity 280ms ease, transform 360ms ease;
}

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

.menu-panel:not(.is-open) .menu-close {
  pointer-events: none;
}

.menu-panel__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.menu-panel__grid {
  display: grid;
  grid-template-columns: minmax(160px, 0.72fr) minmax(300px, 1.7fr) minmax(220px, 0.8fr);
  gap: 34px;
  align-items: end;
  height: 100%;
}

.menu-panel__meta,
.menu-panel__note {
  color: var(--muted);
  font-size: 14px;
}

.menu-panel__meta {
  display: grid;
  gap: 10px;
  align-self: start;
  padding-top: 38px;
}

.menu-panel__meta button {
  width: fit-content;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--green);
  background: transparent;
  color: var(--green);
  cursor: pointer;
}

.menu-panel__nav {
  display: grid;
  gap: 8px;
}

.menu-panel__nav a {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 22px;
  overflow: hidden;
  padding: 7px 0;
  font-family: var(--serif);
  font-size: 82px;
  line-height: 0.95;
  font-weight: 600;
}

.menu-panel__nav a span {
  min-width: 32px;
  color: var(--green);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
}

.menu-panel__nav a::after {
  content: "";
  position: absolute;
  left: 58px;
  right: 0;
  bottom: 5px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 300ms ease;
}

.menu-panel__nav a:hover::after,
.menu-panel__nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.1fr);
  gap: 28px;
  min-height: 100svh;
  padding: 156px var(--gutter) 76px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 190px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
  pointer-events: none;
}

.hero__copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding-bottom: 104px;
}

.display,
.serif-heading {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0;
}

.display {
  max-width: 680px;
  font-size: 86px;
  line-height: 0.92;
}

.serif-heading {
  font-size: 64px;
  line-height: 0.98;
}

.split-text .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.65em);
  transition: opacity 700ms ease, transform 800ms cubic-bezier(0.2, 0.78, 0.18, 1);
  transition-delay: calc(var(--word-index, 0) * 55ms);
}

.split-text.is-visible .word {
  opacity: 1;
  transform: translateY(0);
}

.hero__lead {
  max-width: 440px;
  margin: 26px 0 0;
  color: var(--ink);
  font-size: 18px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid var(--green);
  border-radius: 0;
  font-size: 14px;
  font-weight: 600;
  transition: color 260ms ease, background 260ms ease, border-color 260ms ease, transform 260ms ease;
}

.btn svg {
  width: 22px;
  height: 22px;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--green);
  color: var(--white);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--green-deep);
  border-color: var(--green-deep);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--green-soft);
  color: var(--green);
}

.hero__media {
  align-self: center;
  min-height: 540px;
  transform: translateX(-48px);
}

.hero__media img {
  height: 100%;
  min-height: 540px;
}

.image-fade {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
}

.image-fade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-fade::before,
.image-fade::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.image-fade::before {
  background:
    linear-gradient(to right, #fff 0%, rgba(255, 255, 255, 0.82) 8%, rgba(255, 255, 255, 0) 25%, rgba(255, 255, 255, 0) 72%, rgba(255, 255, 255, 0.85) 93%, #fff 100%),
    linear-gradient(to bottom, #fff 0%, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0) 75%, #fff 100%);
}

.image-fade::after {
  box-shadow: inset 0 0 80px rgba(255, 255, 255, 0.84);
}

.media-reveal {
  --reveal: 1;
  --parallax: 0;
  opacity: calc(0.42 + (var(--reveal) * 0.58));
  filter: blur(calc((1 - var(--reveal)) * 12px));
  transform: translate3d(0, calc(var(--parallax) * 1px), 0);
  transition: opacity 120ms linear, filter 120ms linear;
}

.next-cue {
  position: absolute;
  z-index: 4;
  right: max(var(--gutter), 250px);
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
}

.next-cue svg {
  width: 20px;
  height: 20px;
  color: var(--green);
}

.section {
  scroll-margin-top: 96px;
  padding: 118px var(--gutter);
  background: var(--white);
}

.section__intro {
  display: grid;
  grid-template-columns: 0.45fr minmax(0, 1fr);
  gap: 42px;
  align-items: start;
  margin-bottom: 64px;
}

.section-number {
  margin: 0;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-detail {
  scroll-margin-top: 96px;
  min-height: 310px;
  padding: 34px 28px;
  border-right: 1px solid var(--line);
}

.service-detail:last-child {
  border-right: 0;
}

.service-detail__index {
  display: block;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 70px;
}

.service-detail h3,
.feature-copy h3,
.process-steps h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.15;
}

.service-detail p,
.feature-copy p,
.process-steps p,
.gallery-copy p {
  margin: 14px 0 0;
  color: var(--muted);
}

.services__feature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.75fr);
  gap: 58px;
  align-items: center;
  margin-top: 88px;
}

.services__feature figure {
  height: 570px;
  margin: 0;
}

.feature-copy {
  max-width: 420px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 620ms ease, transform 760ms cubic-bezier(0.2, 0.78, 0.18, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.realisations {
  overflow: hidden;
  scroll-margin-top: 14px;
  padding-top: 90px;
  padding-bottom: 90px;
}

.gallery-layout {
  display: grid;
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.gallery-copy {
  position: sticky;
  top: 108px;
  min-height: 640px;
}

.gallery-copy .serif-heading {
  margin-top: 124px;
  font-size: 78px;
  line-height: 0.9;
}

.gallery-copy > p:not(.section-number) {
  max-width: 330px;
  font-size: 17px;
}

.gallery-tabs {
  display: grid;
  margin-top: 42px;
  border-top: 1px solid var(--line-strong);
}

.gallery-tabs button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.gallery-tabs button::after {
  content: "";
  width: 15px;
  height: 15px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(-45deg);
}

.gallery-tabs button.is-active {
  color: var(--green);
  font-weight: 700;
}

.gallery-tabs span {
  margin-left: auto;
  margin-right: 14px;
  color: var(--green);
  font-size: 13px;
}

.gallery-cta {
  width: 100%;
  margin-top: 34px;
}

.gallery-stage {
  min-width: 0;
}

.gallery-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, 470px);
  gap: 26px;
  min-height: 660px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 54px 0 46px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.gallery-rail:active {
  cursor: grabbing;
}

.gallery-rail::-webkit-scrollbar {
  display: none;
}

.gallery-card {
  position: relative;
  scroll-snap-align: center;
  display: grid;
  align-content: end;
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--wash);
  isolation: isolate;
  user-select: none;
  -webkit-user-select: none;
}

.gallery-card:nth-child(2n) {
  margin-top: -42px;
  min-height: 640px;
}

.gallery-card:nth-child(3n) {
  margin-top: 38px;
}

.gallery-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
}

.gallery-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 18%, rgba(255, 255, 255, 0) 68%, #fff 100%),
    linear-gradient(to right, #fff 0%, rgba(255, 255, 255, 0) 18%, rgba(255, 255, 255, 0) 82%, #fff 100%);
}

.gallery-card--open-right::before {
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 18%, rgba(255, 255, 255, 0) 68%, #fff 100%),
    linear-gradient(to right, #fff 0%, rgba(255, 255, 255, 0) 18%, rgba(255, 255, 255, 0) 100%);
}

.gallery-card--open-left::before {
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 18%, rgba(255, 255, 255, 0) 68%, #fff 100%),
    linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 82%, #fff 100%);
}

.gallery-card--open-left.gallery-card--open-right::before {
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 18%, rgba(255, 255, 255, 0) 68%, #fff 100%);
}

.gallery-card__caption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  color: var(--ink);
  background: linear-gradient(to top, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0));
  user-select: none;
  -webkit-user-select: none;
}

.gallery-card__caption strong {
  display: block;
  font-size: 16px;
}

.gallery-card__caption span {
  color: var(--muted);
  font-size: 13px;
}

.gallery-card--framed {
  border: 1px solid rgba(5, 8, 6, 0.1);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(5, 8, 6, 0.05);
  opacity: 1;
  filter: none;
  transform: none;
}

.gallery-card--framed::before {
  display: none;
}

.gallery-card--framed img {
  z-index: -1;
}

.gallery-card--framed .gallery-card__caption {
  background: linear-gradient(to top, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.22));
}

.gallery-card--soon {
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(11, 59, 46, 0.08), rgba(255, 255, 255, 0)),
    var(--white);
}

.gallery-card--soon::before {
  display: none;
}

.gallery-card--soon .gallery-card__caption {
  background: transparent;
}

.soon-word {
  position: absolute;
  top: 50%;
  left: 50%;
  color: var(--green);
  font-family: var(--serif);
  font-size: 72px;
  font-weight: 600;
  transform: translate(-50%, -50%);
}

.gallery-controls {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.gallery-controls button {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 1px solid var(--green);
  border-radius: 999px;
  background: var(--white);
  color: var(--green);
  cursor: pointer;
  transition: background 220ms ease, transform 220ms ease;
}

.gallery-controls button:hover,
.gallery-controls button:focus-visible {
  background: var(--green-soft);
  transform: translateY(-2px);
}

.gallery-controls svg {
  width: 26px;
  height: 26px;
}

.process {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.92fr);
  gap: 70px;
  align-items: center;
  padding-top: 110px;
}

.process__media {
  height: 690px;
}

.process__copy .serif-heading {
  margin-top: 28px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 54px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.process-steps article {
  min-height: 210px;
  padding: 25px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-steps span {
  display: block;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 44px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  gap: 58px;
  align-items: start;
  padding-bottom: 128px;
}

.contact__headline .serif-heading {
  margin-top: 30px;
  max-width: 560px;
}

.contact-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.contact-card > div {
  min-height: 182px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-card > div:nth-child(3) {
  grid-column: span 2;
}

.contact-label {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}

.contact-card p {
  margin: 0;
}

.contact-card a:not(.btn) {
  border-bottom: 1px solid rgba(11, 59, 46, 0.35);
}

.contact-card .btn {
  grid-column: span 2;
  min-height: 70px;
  border-top: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px var(--gutter);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.site-footer span:first-child {
  color: var(--green);
  font-weight: 700;
}

.site-footer a {
  color: var(--green);
  font-weight: 700;
}

@media (max-width: 1160px) {
  :root {
    --gutter: 28px;
  }

  .display {
    font-size: 72px;
  }

  .serif-heading {
    font-size: 56px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 132px;
  }

  .hero__copy {
    padding-bottom: 0;
  }

  .hero__media {
    transform: none;
    min-height: 460px;
  }

  .hero__media img {
    min-height: 460px;
  }

  .next-cue {
    display: none;
  }

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

  .service-detail:nth-child(2n) {
    border-right: 0;
  }

  .services__feature,
  .process,
  .contact {
    grid-template-columns: 1fr;
  }

  .gallery-layout {
    grid-template-columns: 1fr;
  }

  .gallery-copy {
    position: relative;
    top: auto;
    min-height: auto;
  }

  .gallery-copy .serif-heading {
    margin-top: 34px;
  }
}

@media (max-width: 820px) {
  :root {
    --gutter: 20px;
    --header-height: 76px;
  }

  .site-header {
    top: 14px;
    min-height: 56px;
  }

  .site-header .brand {
    min-height: 56px;
    max-width: 220px;
    padding: 7px 14px 7px 10px;
    border-radius: 20px;
  }

  .site-header.is-collapsed .brand {
    max-width: 74px;
    padding-right: 10px;
    border-radius: 18px;
  }

  .brand__mark {
    width: 58px;
  }

  .brand__text {
    font-size: 15px;
  }

  .nav-inline {
    display: none;
  }

  .menu-panel {
    padding: 18px 20px 28px;
  }

  .menu-panel__grid {
    grid-template-columns: 1fr;
    align-content: space-between;
    gap: 28px;
    padding-top: 26px;
  }

  .menu-panel__meta {
    grid-template-columns: auto auto 1fr;
    align-items: center;
    padding-top: 0;
  }

  .menu-panel__nav a {
    gap: 16px;
    font-size: 54px;
  }

  .menu-panel__nav a::after {
    left: 48px;
  }

  .menu-panel__note {
    max-width: 320px;
  }

  .hero {
    gap: 30px;
    padding: 116px var(--gutter) 54px;
  }

  .display {
    font-size: 48px;
    line-height: 0.96;
  }

  .serif-heading {
    font-size: 42px;
    line-height: 1;
  }

  .hero__lead {
    max-width: none;
    font-size: 16px;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
    min-height: 52px;
  }

  .hero__media,
  .hero__media img {
    min-height: 380px;
  }

  .section {
    padding: 86px var(--gutter);
  }

  .section__intro {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 42px;
  }

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

  .service-detail,
  .service-detail:nth-child(2n) {
    min-height: auto;
    padding: 28px 0;
    border-right: 0;
  }

  .service-detail__index {
    margin-bottom: 38px;
  }

  .services__feature {
    gap: 32px;
    margin-top: 58px;
  }

  .services__feature figure,
  .process__media {
    height: 420px;
  }

  .gallery-copy .serif-heading {
    font-size: 52px;
  }

  .gallery-tabs {
    margin-top: 30px;
  }

  .gallery-rail {
    grid-auto-columns: minmax(265px, 82vw);
    gap: 16px;
    min-height: 520px;
    padding: 34px 0 34px;
  }

  .gallery-card,
  .gallery-card:nth-child(2n),
  .gallery-card:nth-child(3n) {
    min-height: 480px;
    margin-top: 0;
  }

  .gallery-rail .gallery-card:not(.gallery-card--soon) {
    border: 1px solid rgba(5, 8, 6, 0.1);
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0 14px 34px rgba(5, 8, 6, 0.05);
    opacity: 1;
    filter: none;
    transform: none;
  }

  .gallery-rail .gallery-card:not(.gallery-card--soon)::before {
    display: none;
  }

  .gallery-rail .gallery-card:not(.gallery-card--soon) img {
    z-index: -1;
  }

  .gallery-rail .gallery-card:not(.gallery-card--soon) .gallery-card__caption {
    background: linear-gradient(to top, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.22));
  }

  .gallery-controls {
    gap: 14px;
  }

  .gallery-controls button {
    width: 50px;
    height: 50px;
  }

  .process {
    gap: 34px;
  }

  .process-steps,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .process-steps article {
    min-height: auto;
  }

  .contact {
    gap: 38px;
  }

  .contact-card > div,
  .contact-card > div:nth-child(3),
  .contact-card .btn {
    grid-column: auto;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 420px) {
  .site-header {
    left: 14px;
    right: 14px;
  }

  .site-header .brand {
    max-width: 196px;
  }

  .site-header.is-collapsed .brand {
    max-width: 66px;
  }

  .brand__mark {
    width: 52px;
  }

  .brand__text {
    font-size: 14px;
  }

  .menu-toggle,
  .menu-close {
    width: 42px;
    height: 42px;
  }

  .display {
    font-size: 43px;
  }

  .serif-heading {
    font-size: 39px;
  }

}

/* Inner pages, filtered gallery and service mosaics */
body.lightbox-open {
  overflow: hidden;
}

.inner-page {
  min-height: 100svh;
  padding: 166px var(--gutter) 120px;
}

.page-intro {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1.35fr);
  gap: 38px;
  align-items: end;
  max-width: 1380px;
  margin: 0 auto 86px;
}

.page-intro .display {
  max-width: 1040px;
}

.page-intro__lead {
  grid-column: 2;
  max-width: 600px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.gallery-filters {
  position: sticky;
  z-index: 10;
  top: 98px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 54px;
  padding: 8px;
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 42px rgba(5, 8, 6, 0.08);
  backdrop-filter: blur(20px) saturate(1.18);
  -webkit-backdrop-filter: blur(20px) saturate(1.18);
}

.gallery-filters button {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: color 220ms ease, background 220ms ease;
}

.gallery-filters button:hover,
.gallery-filters button:focus-visible,
.gallery-filters button.is-active {
  background: var(--green);
  color: var(--white);
}

.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 18px;
  max-width: 1380px;
  margin: 0 auto;
}

.mosaic-card {
  --gallery-delay: 0ms;
  grid-column: span 4;
  position: relative;
  min-height: 360px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: var(--wash);
  color: var(--white);
  cursor: zoom-in;
  opacity: 0;
  filter: blur(7px);
  transform: translate3d(0, 30px, 0) scale(0.986);
  transition:
    opacity 700ms cubic-bezier(0.4, 0, 0.2, 1),
    filter 760ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 880ms cubic-bezier(0.16, 0.82, 0.22, 1);
  transition-delay: 0ms;
  will-change: opacity, filter, transform;
}

.mosaic-card.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
  transition-delay: var(--gallery-delay);
}

.mosaic-card.is-motion-resetting,
.mosaic-card.is-motion-resetting > span {
  transition: none !important;
}

.mosaic-card[hidden] {
  display: none;
}

.mosaic-card--wide {
  grid-column: span 8;
}

.mosaic-card--portrait {
  min-height: 520px;
}

.mosaic-card--tall {
  grid-row: span 2;
  min-height: 620px;
}

.mosaic-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.78, 0.18, 1), filter 300ms ease;
}

.mosaic-card > span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 54px 18px 18px;
  background: linear-gradient(to top, rgba(6, 40, 31, 0.82), rgba(6, 40, 31, 0));
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition: opacity 460ms ease, transform 620ms cubic-bezier(0.16, 0.82, 0.22, 1);
  transition-delay: 0ms;
}

.mosaic-card.is-visible > span {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition-delay: calc(var(--gallery-delay) + 120ms);
}

.mosaic-card:hover img,
.mosaic-card:focus-visible img {
  transform: scale(1.025);
}

.lightbox {
  position: fixed;
  z-index: 160;
  inset: 0;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 76px;
  align-items: center;
  gap: 18px;
  padding: 28px;
  background: rgba(5, 8, 6, 0.94);
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox figure {
  display: grid;
  place-items: center;
  gap: 14px;
  max-width: 1380px;
  max-height: calc(100svh - 70px);
  margin: 0 auto;
}

.lightbox figure img {
  width: auto;
  max-width: 100%;
  max-height: calc(100svh - 110px);
  border-radius: 8px;
  object-fit: contain;
}

.lightbox figcaption {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.lightbox__nav,
.lightbox__close {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
  transition: background 220ms ease, transform 220ms ease;
}

.lightbox__nav:hover,
.lightbox__nav:focus-visible,
.lightbox__close:hover,
.lightbox__close:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  transform: scale(1.04);
}

.lightbox__nav--prev {
  justify-self: end;
}

.lightbox__close {
  position: absolute;
  z-index: 2;
  top: 24px;
  right: 24px;
}

.lightbox__close span {
  grid-area: 1 / 1;
  width: 24px;
  height: 1px;
  background: currentColor;
}

.lightbox__close span:first-child { transform: rotate(45deg); }
.lightbox__close span:last-child { transform: rotate(-45deg); }

.service-page {
  min-height: 100svh;
  padding: 166px var(--gutter) 120px;
}

.service-page__layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.74fr) minmax(0, 1.45fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: start;
  max-width: 1380px;
  margin: 0 auto;
}

.service-page__copy {
  position: sticky;
  top: 118px;
}

.service-page__copy .display {
  margin-top: 54px;
  font-size: clamp(58px, 6.5vw, 100px);
}

.service-page__lead {
  max-width: 520px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.service-page__details {
  display: grid;
  gap: 12px;
  margin: 42px 0 0;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
}

.service-page__actions {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.service-mosaic {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  padding-top: 8px;
}

.service-mosaic .mosaic-card {
  grid-column: span 3;
  min-height: 390px;
}

.service-mosaic .mosaic-card:nth-child(3n + 1) {
  grid-column: span 4;
  min-height: 500px;
}

.service-mosaic .mosaic-card:nth-child(3n + 2) {
  grid-column: span 2;
  min-height: 430px;
  margin-top: 74px;
}

.legal-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 168px var(--gutter) 120px;
}

.legal-page h1 {
  margin: 26px 0 54px;
  font-family: var(--serif);
  font-size: clamp(56px, 7vw, 92px);
  line-height: 0.95;
}

.legal-page h2 {
  margin: 42px 0 12px;
  color: var(--green);
  font-size: 20px;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
}

@media (max-width: 980px) {
  .page-intro,
  .service-page__layout {
    grid-template-columns: 1fr;
  }

  .page-intro__lead {
    grid-column: auto;
  }

  .service-page__copy {
    position: relative;
    top: auto;
  }
}

/* Interaction refinement: supplied icons, smooth galleries and compact navigation */
.page-transition-layer {
  position: fixed;
  z-index: 190;
  inset: 0;
  pointer-events: none;
  background: var(--white);
  transform: translate3d(0, 101%, 0);
  transition: transform 560ms cubic-bezier(0.72, 0, 0.18, 1);
}

body.page-leaving .page-transition-layer {
  transform: translate3d(0, 0, 0);
}

body.page-entering .page-transition-layer {
  animation: page-enter-wipe 720ms cubic-bezier(0.72, 0, 0.18, 1) both;
}

@keyframes page-enter-wipe {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, -101%, 0); }
}

.fensa-badge {
  overflow: hidden;
  isolation: isolate;
  transition: transform 680ms cubic-bezier(0.2, 0.78, 0.18, 1), filter 520ms ease;
}

.fensa-badge::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: -35%;
  background: linear-gradient(112deg, transparent 35%, rgba(255, 255, 255, 0.18) 44%, rgba(255, 255, 255, 0.92) 50%, rgba(255, 255, 255, 0.22) 56%, transparent 65%);
  transform: translate3d(-105%, 0, 0) rotate(8deg);
  transition: transform 920ms cubic-bezier(0.2, 0.78, 0.18, 1);
  pointer-events: none;
}

.fensa-badge img {
  transition: transform 760ms cubic-bezier(0.2, 0.78, 0.18, 1);
}

.fensa-badge:hover,
.fensa-badge:focus-visible {
  transform: scale(1.045);
}

.fensa-badge:hover img,
.fensa-badge:focus-visible img {
  transform: scale(1.055);
}

.fensa-badge:hover::after,
.fensa-badge:focus-visible::after {
  transform: translate3d(105%, 0, 0) rotate(8deg);
}

.service-detail__icon {
  display: block;
  overflow: hidden;
  width: 112px;
  height: 96px;
}

.service-detail__icon img {
  display: block;
  width: 200%;
  max-width: none;
  height: auto;
  transform: translate3d(-1px, -6px, 0);
  transform-origin: left top;
  transition: filter 380ms ease, transform 520ms cubic-bezier(0.2, 0.78, 0.18, 1);
}

.service-detail:hover .service-detail__icon img,
.service-detail:focus-visible .service-detail__icon img {
  filter: brightness(0) invert(1);
  transform: translate3d(-1px, -6px, 0) scale(1.025);
}

.gallery-copy .serif-heading {
  display: flex;
  align-items: flex-end;
  min-height: 1.95em;
  font-size: clamp(50px, 5vw, 74px);
  transition: opacity 300ms ease, transform 460ms cubic-bezier(0.2, 0.78, 0.18, 1);
}

.gallery-copy > p:not(.section-number) {
  min-height: 78px;
  transition: opacity 300ms ease, transform 460ms cubic-bezier(0.2, 0.78, 0.18, 1);
}

.gallery-stage {
  overflow: hidden;
}

.gallery-rail {
  display: flex;
  grid-template-columns: none;
  grid-auto-flow: initial;
  gap: 14px;
  overflow: hidden;
  transition: opacity 340ms ease, transform 520ms cubic-bezier(0.2, 0.78, 0.18, 1);
}

.gallery-card,
.gallery-card:nth-child(2n),
.gallery-card:nth-child(3n) {
  flex: 1 1 0;
  min-width: 0;
  margin-top: 0;
  transform: translate3d(0, 0, 0);
  transition:
    flex-grow 720ms cubic-bezier(0.2, 0.78, 0.18, 1),
    opacity 480ms ease,
    transform 620ms cubic-bezier(0.2, 0.78, 0.18, 1),
    box-shadow 420ms ease;
}

.gallery-card:hover,
.gallery-card.is-pointer-active,
.gallery-card:focus-visible {
  z-index: 2;
  flex-grow: 1.72;
  transform: translate3d(0, -8px, 0);
  box-shadow: 0 26px 58px rgba(5, 8, 6, 0.12);
}

.gallery-rail:has(.gallery-card:hover) .gallery-card:not(:hover),
.gallery-rail:has(.gallery-card.is-pointer-active) .gallery-card:not(.is-pointer-active),
.gallery-rail:not(:has(.gallery-card:hover)):not(:has(.gallery-card.is-pointer-active)):has(.gallery-card:focus-visible) .gallery-card:not(:focus-visible) {
  flex-grow: 0.78;
  opacity: 0.78;
}

.gallery-card img {
  transition: transform 760ms cubic-bezier(0.2, 0.78, 0.18, 1);
}

.gallery-card:hover img,
.gallery-card.is-pointer-active img,
.gallery-card:focus-visible img {
  transform: scale(1.035);
}

.gallery-layout.is-gallery-out .gallery-rail {
  opacity: 0;
  transform: translate3d(-22px, 0, 0);
}

.gallery-layout.is-gallery-out .gallery-copy .serif-heading,
.gallery-layout.is-gallery-out .gallery-copy > p:not(.section-number) {
  opacity: 0;
  transform: translate3d(0, -8px, 0);
}

.gallery-layout.is-gallery-enter .gallery-rail {
  opacity: 0;
  transform: translate3d(24px, 0, 0);
  transition: none;
}

.gallery-layout.is-gallery-enter .gallery-copy .serif-heading,
.gallery-layout.is-gallery-enter .gallery-copy > p:not(.section-number) {
  opacity: 0;
  transform: translate3d(0, 8px, 0);
  transition: none;
}

.process-slider {
  padding: 0 24px;
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(22px) saturate(1.18);
  -webkit-backdrop-filter: blur(22px) saturate(1.18);
}

.process-slide {
  padding-right: 14px;
  padding-left: 14px;
  transform: translate3d(18px, 0, 0);
  transition: opacity 620ms ease, transform 820ms cubic-bezier(0.2, 0.78, 0.18, 1);
}

.process-slide.is-exiting {
  opacity: 0;
  transform: translate3d(-12px, 0, 0);
}

.process-slider.is-reverse .process-slide {
  transform: translate3d(-18px, 0, 0);
}

.process-slider.is-reverse .process-slide.is-exiting {
  transform: translate3d(12px, 0, 0);
}

.process-slide.is-active {
  transform: translate3d(0, 0, 0);
}

/* Service pages keep the other categories within reach while scrolling */
.service-switcher {
  position: fixed;
  z-index: 67;
  left: 50%;
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: max-content;
  max-width: min(620px, calc(100vw - 280px));
  padding: 8px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, 22px, 0) scale(0.96);
  transition: opacity 300ms ease, transform 460ms cubic-bezier(0.2, 0.78, 0.18, 1);
}

.service-switcher.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(-50%, 0, 0) scale(1);
}

.service-switcher a {
  padding: 12px 15px;
  border-radius: 15px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 240ms ease, color 240ms ease, transform 240ms ease;
}

.service-switcher a:hover,
.service-switcher a:focus-visible {
  background: var(--green);
  color: var(--white);
  transform: translateY(-1px);
}

@media (max-width: 820px) {
  .service-switcher {
    right: 12px;
    bottom: 12px;
    left: 12px;
    justify-content: flex-start;
    width: auto;
    max-width: none;
    overflow-x: auto;
    transform: translate3d(0, 22px, 0) scale(0.96);
    scrollbar-width: none;
  }

  .service-switcher::-webkit-scrollbar {
    display: none;
  }

  .service-switcher.is-visible {
    transform: translate3d(0, 0, 0) scale(1);
  }

  .service-switcher a {
    flex: 0 0 auto;
    padding: 11px 13px;
  }

  body:has(.service-switcher) .estimate-float {
    bottom: 82px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-switcher {
    transition: none;
  }
}

.process-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 0 14px 22px;
}

.process-dots {
  align-items: center;
  padding: 0;
}

.process-arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid var(--green);
  border-radius: 50%;
  background: transparent;
  color: var(--green);
  cursor: pointer;
  transition: color 260ms ease, background 260ms ease, transform 260ms ease;
}

.process-arrow:hover,
.process-arrow:focus-visible {
  background: var(--green);
  color: var(--white);
  transform: translateY(-2px);
}

.contact__headline,
.estimate-form {
  overflow: hidden;
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(22px) saturate(1.18);
  -webkit-backdrop-filter: blur(22px) saturate(1.18);
}

.contact__headline {
  padding: 36px;
}

.contact-facts {
  margin-top: 42px;
  border-left: 0;
}

.contact-facts > div:nth-child(odd) {
  border-left: 1px solid var(--line);
}

.estimate-form {
  border-top: 1px solid var(--glass-border);
  border-left: 1px solid var(--glass-border);
}

.service-mosaic {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
}

.service-mosaic .mosaic-card,
.service-mosaic .mosaic-card:nth-child(3n + 1),
.service-mosaic .mosaic-card:nth-child(3n + 2) {
  grid-column: span 1;
  min-height: 420px;
  margin-top: 0;
}

.service-mosaic .mosaic-card:nth-child(1),
.service-mosaic .mosaic-card:nth-child(4) {
  grid-column: 1 / -1;
  min-height: 520px;
}

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

  .site-header.is-menu-expanded .nav-inline {
    display: flex;
    visibility: visible;
    width: auto;
    min-width: 0;
    max-width: 560px;
    margin-right: 18px;
    padding-right: 28px;
    padding-left: 28px;
    border-color: var(--glass-border);
    background: var(--glass);
    box-shadow: var(--glass-shadow);
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-header.is-menu-expanded .menu-toggle span:first-child {
    transform: rotate(45deg);
  }

  .site-header.is-menu-expanded .menu-toggle span:last-child {
    transform: rotate(-45deg);
  }
}

@media (max-width: 820px) {
  .gallery-copy .serif-heading {
    min-height: auto;
  }

  .gallery-copy > p:not(.section-number) {
    min-height: auto;
  }

  .gallery-rail {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 82vw;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .gallery-card,
  .gallery-card:nth-child(2n),
  .gallery-card:nth-child(3n),
  .gallery-card:hover,
  .gallery-card.is-pointer-active,
  .gallery-card:focus-visible {
    min-width: 0;
    transform: none;
  }

  .gallery-rail:has(.gallery-card:hover) .gallery-card:not(:hover),
  .gallery-rail:has(.gallery-card.is-pointer-active) .gallery-card:not(.is-pointer-active),
  .gallery-rail:not(:has(.gallery-card:hover)):not(:has(.gallery-card.is-pointer-active)):has(.gallery-card:focus-visible) .gallery-card:not(:focus-visible) {
    opacity: 1;
  }

  .service-detail__icon {
    width: 96px;
    height: 82px;
  }

  .contact__headline {
    padding: 24px;
  }

  .contact__headline,
  .estimate-form,
  .process-slider {
    border-radius: 18px;
  }

  .service-mosaic,
  .service-mosaic .mosaic-card,
  .service-mosaic .mosaic-card:nth-child(3n + 1),
  .service-mosaic .mosaic-card:nth-child(3n + 2),
  .service-mosaic .mosaic-card:nth-child(1),
  .service-mosaic .mosaic-card:nth-child(4) {
    grid-column: auto;
    min-height: 360px;
  }
}

@media (max-width: 820px) {
  .inner-page,
  .service-page,
  .legal-page {
    padding-top: 126px;
    padding-bottom: 88px;
  }

  .page-intro {
    gap: 24px;
    margin-bottom: 52px;
  }

  .page-intro .display {
    font-size: 48px;
  }

  .gallery-filters {
    top: 82px;
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
  }

  .gallery-filters button {
    flex: 0 0 auto;
  }

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

  .mosaic-card,
  .mosaic-card--wide,
  .mosaic-card--portrait,
  .mosaic-card--tall {
    grid-column: span 1;
    grid-row: auto;
    min-height: 290px;
  }

  .mosaic-card:nth-child(4n + 1) {
    grid-column: 1 / -1;
    min-height: 420px;
  }

  .lightbox {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    gap: 6px;
    padding: 12px;
  }

  .lightbox__nav {
    width: 44px;
    height: 44px;
  }

  .lightbox__close {
    top: 14px;
    right: 14px;
  }

  .service-page__copy .display {
    margin-top: 34px;
    font-size: 58px;
  }

  .service-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .service-mosaic .mosaic-card,
  .service-mosaic .mosaic-card:nth-child(3n + 1),
  .service-mosaic .mosaic-card:nth-child(3n + 2) {
    grid-column: span 1;
    min-height: 300px;
    margin-top: 0;
  }

  .service-mosaic .mosaic-card:nth-child(3n + 1) {
    grid-column: 1 / -1;
    min-height: 430px;
  }
}

@media (max-width: 520px) {
  .mosaic-grid,
  .service-mosaic {
    grid-template-columns: 1fr;
  }

  .mosaic-card,
  .mosaic-card--wide,
  .mosaic-card--portrait,
  .mosaic-card--tall,
  .mosaic-card:nth-child(4n + 1),
  .service-mosaic .mosaic-card,
  .service-mosaic .mosaic-card:nth-child(3n + 1),
  .service-mosaic .mosaic-card:nth-child(3n + 2) {
    grid-column: auto;
    min-height: 360px;
  }

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

  .lightbox__nav {
    position: absolute;
    z-index: 2;
    bottom: 24px;
  }

  .lightbox__nav--prev { left: 24px; }
  .lightbox__nav--next { right: 24px; }
}

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

  .reveal,
  .split-text .word,
  .media-reveal,
  .mosaic-card {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
}

/* 2026 premium content update */
body.auth-locked .estimate-float,
body.auth-locked .cookie-banner {
  visibility: hidden;
  pointer-events: none;
}

.brand__copy {
  display: grid;
  min-width: 0;
  overflow: hidden;
  line-height: 1.05;
  transition: max-width 360ms ease, opacity 260ms ease, transform 260ms ease;
}

.brand__copy .brand__text {
  overflow: visible;
}

.brand__tagline {
  min-height: 14px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  text-transform: lowercase;
  white-space: nowrap;
}

.brand__tagline::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 0.9em;
  margin-left: 3px;
  background: var(--green);
  animation: type-caret 780ms steps(1) infinite;
}

@keyframes type-caret {
  50% { opacity: 0; }
}

.site-header .brand {
  max-width: 320px;
}

.site-header .brand__copy {
  max-width: 210px;
}

.site-header.is-collapsed .brand__copy {
  max-width: 0;
  opacity: 0;
  transform: translateX(-8px);
}

.site-header.is-collapsed .nav-inline {
  display: none;
  visibility: hidden;
}

.menu-toggle {
  position: relative;
  z-index: 3;
  flex: 0 0 auto;
}

.hero {
  min-height: auto;
  padding-top: 132px;
  padding-bottom: 48px;
}

.hero__media,
.hero__media img {
  min-height: 500px;
}

.hero__copy {
  padding-bottom: 0;
}

.hero__eyebrow {
  margin: 0 0 24px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero__lead {
  max-width: 530px;
}

.fensa-badge {
  position: absolute;
  z-index: 5;
  top: 112px;
  right: calc(var(--gutter) + 8px);
  display: block;
  width: clamp(104px, 10vw, 154px);
  border-radius: 50%;
  filter: drop-shadow(0 18px 28px rgba(6, 40, 31, 0.14));
  animation: fensa-enter 900ms 220ms cubic-bezier(0.2, 0.78, 0.18, 1) both;
  transition: transform 260ms ease, filter 260ms ease;
}

.fensa-badge img {
  width: 100%;
  border-radius: 50%;
}

.fensa-badge:hover,
.fensa-badge:focus-visible {
  transform: scale(1.055);
  filter: drop-shadow(0 24px 36px rgba(6, 40, 31, 0.2));
}

@keyframes fensa-enter {
  from { opacity: 0; transform: translate3d(70px, 0, 0) scale(0.94); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

.estimate-float {
  position: fixed;
  z-index: 68;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  text-transform: lowercase;
  transition: color 240ms ease, background 240ms ease, transform 240ms ease;
}

.estimate-float:hover,
.estimate-float:focus-visible {
  background: var(--green);
  color: var(--white);
  transform: translateY(-3px);
}

.services__grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  border: 0;
  background: var(--line);
}

.service-detail,
.service-detail:last-child {
  position: relative;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: 30px;
  border: 0;
  background: var(--white);
  color: var(--ink);
  overflow: hidden;
  transition: background 280ms ease, color 280ms ease, transform 280ms ease;
}

.service-detail:nth-child(n + 4) {
  grid-column: span 3;
}

.service-detail:hover,
.service-detail:focus-visible {
  z-index: 2;
  background: var(--green);
  color: var(--white);
  transform: translateY(-4px);
}

.service-detail__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}

.service-detail:hover .service-detail__top,
.service-detail:focus-visible .service-detail__top,
.service-detail:hover p,
.service-detail:focus-visible p {
  color: rgba(255, 255, 255, 0.76);
}

.service-detail__index {
  margin: 0;
}

.service-detail__icon {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  margin: 48px 0 42px;
  color: var(--green);
  transition: color 280ms ease, transform 280ms ease;
}

.service-detail__icon svg {
  width: 100%;
  height: 100%;
}

.service-detail:hover .service-detail__icon,
.service-detail:focus-visible .service-detail__icon {
  color: var(--white);
  transform: scale(1.04);
}

.service-detail h3 {
  margin-top: auto;
}

.service-detail p {
  max-width: 48ch;
}

.feature-copy .section-number {
  margin-bottom: 20px;
}

.gallery-layout {
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
}

.gallery-rail {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: row;
  grid-auto-columns: auto;
  gap: 14px;
  min-height: 590px;
  overflow: visible;
  padding: 48px 0 38px;
  cursor: default;
  touch-action: auto;
}

.gallery-rail:active {
  cursor: default;
}

.gallery-card,
.gallery-card:nth-child(2n),
.gallery-card:nth-child(3n) {
  min-height: 510px;
  margin-top: 0;
  border: 1px solid rgba(5, 8, 6, 0.1);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(5, 8, 6, 0.05);
}

.gallery-card:nth-child(2) {
  transform: translateY(-24px);
}

.gallery-card:nth-child(3) {
  transform: translateY(24px);
}

.gallery-card::before {
  display: none;
}

.gallery-card img {
  z-index: -1;
}

.gallery-card__caption {
  display: grid;
  padding: 20px 16px;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.18));
}

.gallery-controls a {
  margin-left: 4px;
  border-bottom: 1px solid rgba(11, 59, 46, 0.35);
  color: var(--green);
  font-weight: 600;
}

.process-slider {
  margin-top: 54px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-slides {
  position: relative;
  min-height: 320px;
}

.process-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 8px;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(48px, 0, 0);
  transition: opacity 520ms ease, transform 650ms cubic-bezier(0.2, 0.78, 0.18, 1);
}

.process-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.process-slide > span {
  margin-bottom: 44px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}

.process-slide h3 {
  max-width: 520px;
  margin: 0;
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1;
  font-weight: 600;
}

.process-slide p {
  max-width: 560px;
  margin: 20px 0 0;
  color: var(--muted);
}

.process-dots {
  display: flex;
  gap: 10px;
  padding: 22px 0;
}

.process-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid var(--green);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 220ms ease, transform 220ms ease;
}

.process-dots button.is-active {
  background: var(--green);
  transform: scale(1.22);
}

.contact {
  grid-template-columns: minmax(300px, 0.78fr) minmax(440px, 1.08fr);
  gap: 72px;
}

.contact__promise {
  max-width: 420px;
  margin: 30px 0 0;
  color: var(--green);
  font-size: 17px;
  font-weight: 600;
}

.contact-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 52px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.contact-facts > div {
  min-height: 160px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-facts p {
  margin: 0;
}

.contact-facts a {
  border-bottom: 1px solid rgba(11, 59, 46, 0.35);
}

.estimate-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.estimate-form__head,
.estimate-form label,
.estimate-form .form-status,
.estimate-form > .btn {
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.estimate-form__head {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}

.estimate-form__head > span {
  color: var(--green);
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 600;
}

.estimate-form__head p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.estimate-form label {
  display: grid;
  gap: 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}

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

.estimate-form input,
.estimate-form select,
.estimate-form textarea {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: 500 16px/1.45 var(--sans);
}

.estimate-form input,
.estimate-form select {
  min-height: 34px;
}

.estimate-form textarea {
  resize: vertical;
}

.estimate-form label:focus-within {
  background: var(--wash);
  box-shadow: inset 0 0 0 1px rgba(11, 59, 46, 0.26);
}

.estimate-form .form-consent {
  display: flex;
  grid-template-columns: none;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
  font-weight: 500;
}

.form-consent input {
  width: 18px;
  min-height: 18px;
  margin: 1px 0 0;
  accent-color: var(--green);
}

.form-status {
  min-height: 0;
  margin: 0;
  color: var(--green);
  font-size: 13px;
}

.form-status:empty {
  display: none;
}

.estimate-form > .btn {
  grid-column: 1 / -1;
  min-height: 70px;
}

.cookie-banner {
  position: fixed;
  z-index: 120;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: rgba(6, 40, 31, 0.96);
  box-shadow: 0 24px 70px rgba(6, 40, 31, 0.28);
  color: var(--white);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner strong {
  display: block;
  font-family: var(--serif);
  font-size: 24px;
}

.cookie-banner p {
  max-width: 760px;
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.cookie-banner .btn {
  min-height: 44px;
  padding: 0 18px;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.cookie-banner .btn--primary {
  border-color: var(--white);
  background: var(--white);
  color: var(--green);
}

.cookie-banner__actions > a {
  margin-left: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

@media (max-width: 1160px) {
  .services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-detail,
  .service-detail:nth-child(n + 4) {
    grid-column: auto;
  }

  .service-detail:last-child {
    grid-column: 1 / -1;
  }

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

  .gallery-card:nth-child(2),
  .gallery-card:nth-child(3) {
    transform: none;
  }
}

@media (max-width: 820px) {
  .gallery-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-stage {
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .site-header .brand {
    max-width: 240px;
  }

  .site-header .brand__copy {
    max-width: 154px;
  }

  .brand__tagline {
    font-size: 9px;
  }

  .hero {
    display: block;
    min-height: calc(100svh - 26px);
    padding-bottom: 58px;
    isolation: isolate;
  }

  .hero::before {
    z-index: 1;
    height: 100%;
    background:
      linear-gradient(to bottom, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 48%, rgba(255, 255, 255, 0.45) 72%, #fff 100%),
      linear-gradient(to right, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.12));
  }

  .hero__copy {
    position: relative;
    z-index: 2;
    padding-bottom: 0;
  }

  .hero__media,
  .hero__media img {
    min-height: 0;
  }

  .hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    height: 100%;
    border-radius: 0;
    transform: none;
  }

  .hero__media img {
    height: 100%;
    object-position: 58% center;
  }

  .hero__media::before,
  .hero__media::after {
    display: none;
  }

  .hero__eyebrow {
    margin-bottom: 18px;
  }

  .fensa-badge {
    top: auto;
    right: 28px;
    bottom: 72px;
    width: 88px;
  }

  .estimate-float {
    right: 14px;
    bottom: 14px;
    min-height: 50px;
    padding: 0 17px;
    border-radius: 17px;
  }

  .services__grid,
  .contact-facts,
  .estimate-form {
    grid-template-columns: 1fr;
  }

  .service-detail,
  .service-detail:nth-child(n + 4),
  .service-detail:last-child {
    grid-column: auto;
    min-height: 340px;
    padding: 26px;
  }

  .service-detail__icon {
    width: 82px;
    height: 82px;
    margin: 38px 0 32px;
  }

  .gallery-rail {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 82vw;
    gap: 16px;
    min-height: 520px;
    overflow-x: auto;
    padding: 34px 1px;
    scroll-snap-type: x mandatory;
    cursor: grab;
    touch-action: pan-y;
  }

  .gallery-card,
  .gallery-card:nth-child(2n),
  .gallery-card:nth-child(3n) {
    min-height: 480px;
    transform: none;
  }

  .process-slides {
    min-height: 390px;
  }

  .process-slide h3 {
    font-size: 36px;
  }

  .contact {
    grid-template-columns: minmax(0, 1fr);
    gap: 54px;
  }

  .estimate-form {
    min-width: 0;
  }

  .contact-facts > div {
    min-height: auto;
  }

  .estimate-form__head,
  .estimate-form label,
  .estimate-form .field-wide,
  .estimate-form .form-status,
  .estimate-form > .btn {
    grid-column: auto;
  }

  .estimate-form__head {
    display: grid;
  }

  .cookie-banner {
    display: grid;
    gap: 18px;
  }

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

  .cookie-banner__actions > a {
    grid-column: 1 / -1;
    width: fit-content;
    margin: 0;
  }
}

@media (max-width: 420px) {
  .site-header .brand {
    max-width: 220px;
  }

  .site-header .brand__copy {
    max-width: 142px;
  }

  .brand__text {
    font-size: 13px;
  }

  .fensa-badge {
    right: 22px;
    width: 78px;
  }

  .cookie-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }
}

/* Final motion priority after all responsive content rules */
.fensa-badge {
  overflow: hidden;
  transition: transform 680ms cubic-bezier(0.2, 0.78, 0.18, 1), filter 520ms ease;
}

.fensa-badge:hover,
.fensa-badge:focus-visible {
  transform: scale(1.045);
}

.process-slider {
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--glass-shadow);
}

.process-slide {
  transform: translate3d(18px, 0, 0);
  transition: opacity 620ms ease, transform 820ms cubic-bezier(0.2, 0.78, 0.18, 1);
}

.process-slide.is-exiting {
  opacity: 0;
  transform: translate3d(-12px, 0, 0);
}

.process-slider.is-reverse .process-slide {
  transform: translate3d(-18px, 0, 0);
}

.process-slider.is-reverse .process-slide.is-exiting {
  transform: translate3d(12px, 0, 0);
}

.process-slide.is-active {
  transform: translate3d(0, 0, 0);
}

.process-dots {
  padding: 0;
}

@media (min-width: 821px) {
  .gallery-card,
  .gallery-card:nth-child(2n),
  .gallery-card:nth-child(3n) {
    transform: translate3d(0, 0, 0);
  }

  .gallery-card:hover,
  .gallery-card.is-pointer-active,
  .gallery-card:focus-visible {
    transform: translate3d(0, -8px, 0);
  }
}

@media (max-width: 820px) {
  .process-slider {
    border-radius: 18px;
  }
}

.service-mosaic .mosaic-card,
.service-mosaic .mosaic-card:nth-child(3n + 1),
.service-mosaic .mosaic-card:nth-child(3n + 2) {
  height: 420px;
  min-height: 0;
}

.service-mosaic .mosaic-card:nth-child(1),
.service-mosaic .mosaic-card:nth-child(4) {
  height: 520px;
  min-height: 0;
}

@media (max-width: 820px) {
  .service-mosaic .mosaic-card,
  .service-mosaic .mosaic-card:nth-child(3n + 1),
  .service-mosaic .mosaic-card:nth-child(3n + 2),
  .service-mosaic .mosaic-card:nth-child(1),
  .service-mosaic .mosaic-card:nth-child(4) {
    height: 360px;
    min-height: 0;
  }
}

/* Final service icon framing: complete source artwork at every viewport */
.service-detail__icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 190px;
  height: 112px;
  overflow: visible;
}

.service-detail__icon img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  transform: none;
  transition: transform 560ms cubic-bezier(0.2, 0.78, 0.18, 1), filter 360ms ease;
}

.service-detail:hover .service-detail__icon img,
.service-detail:focus-visible .service-detail__icon img {
  transform: scale(1.025);
}

@media (max-width: 820px) {
  .service-detail__icon {
    width: 168px;
    height: 102px;
  }
}

/* Align project photography with the active realisation title on desktop */
@media (min-width: 821px) {
  .gallery-rail {
    padding-top: 150px;
  }

  .gallery-copy .serif-heading {
    align-items: flex-start;
  }
}

/* Process content stays part of the page instead of sitting in another card */
.process-slider {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.process-slide {
  padding-right: 0;
  padding-left: 0;
}

.process-navigation {
  gap: 12px;
  padding: 0 0 18px;
}

.process-arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 42px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--green);
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  transition: transform 320ms cubic-bezier(0.2, 0.78, 0.18, 1), color 240ms ease;
}

.process-arrow:hover,
.process-arrow:focus-visible {
  background: transparent;
  color: var(--ink);
}

.process-arrow--previous:hover,
.process-arrow--previous:focus-visible {
  transform: translateX(-3px);
}

.process-arrow--next:hover,
.process-arrow--next:focus-visible {
  transform: translateX(3px);
}

/* Contact details breathe inside the frosted panel without a second grid */
.contact-facts {
  gap: 30px 26px;
  border: 0;
}

.contact-facts > div,
.contact-facts > div:nth-child(odd) {
  min-height: 0;
  padding: 0;
  border: 0;
}

@media (max-width: 820px) {
  .contact-facts {
    gap: 24px;
  }
}

/* Desktop navigation swaps between the full pill and a compact trigger */
@media (min-width: 821px) {
  .site-header .menu-toggle {
    width: 0;
    max-width: 0;
    margin: 0;
    overflow: hidden;
    border-width: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-5px) scale(0.88);
    transition:
      width 420ms cubic-bezier(0.2, 0.78, 0.18, 1),
      max-width 420ms cubic-bezier(0.2, 0.78, 0.18, 1),
      opacity 220ms ease,
      transform 320ms cubic-bezier(0.2, 0.78, 0.18, 1),
      background 260ms ease,
      color 260ms ease;
  }

  .site-header.is-collapsed:not(.is-menu-expanded) .menu-toggle {
    width: 48px;
    max-width: 48px;
    border-width: 1px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .site-header:not(.is-collapsed) .nav-inline,
  .site-header.is-menu-expanded .nav-inline {
    margin-right: 0;
  }

  .site-header.is-menu-expanded .menu-toggle {
    width: 0;
    max-width: 0;
    border-width: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

/* Match the two contact panels without making the form feel oversized */
@media (min-width: 1001px) {
  .contact {
    align-items: stretch;
  }

  .contact__headline,
  .estimate-form {
    height: 680px;
  }

  .estimate-form {
    grid-template-rows: 82px 72px 72px 72px 78px minmax(150px, 1fr) 52px 62px;
  }

  .estimate-form__head,
  .estimate-form label,
  .estimate-form .form-status,
  .estimate-form > .btn {
    padding: 10px 20px;
  }

  .estimate-form label {
    gap: 6px;
  }

  .estimate-form input,
  .estimate-form select {
    min-height: 24px;
  }

  .estimate-form > .btn {
    min-height: 0;
  }
}

/* Keep desktop navigation in the layout while it animates between states */
@media (min-width: 821px) {
  .site-header:not(.is-collapsed) .nav-inline,
  .site-header.is-menu-expanded .nav-inline {
    width: clamp(360px, 32vw, 466px);
  }

  .site-header.is-collapsed .nav-inline {
    display: flex;
    width: 0;
    visibility: hidden;
    transition:
      width 580ms cubic-bezier(0.25, 0.1, 0.25, 1),
      max-width 520ms cubic-bezier(0.2, 0.78, 0.18, 1),
      padding 520ms cubic-bezier(0.2, 0.78, 0.18, 1),
      margin 520ms cubic-bezier(0.2, 0.78, 0.18, 1),
      opacity 340ms ease,
      transform 420ms cubic-bezier(0.2, 0.78, 0.18, 1),
      visibility 0s linear 520ms;
  }

  .site-header:not(.is-collapsed) .nav-inline,
  .site-header.is-menu-expanded .nav-inline {
    visibility: visible;
    transition:
      width 580ms cubic-bezier(0.25, 0.1, 0.25, 1),
      max-width 520ms cubic-bezier(0.2, 0.78, 0.18, 1),
      padding 520ms cubic-bezier(0.2, 0.78, 0.18, 1),
      margin 520ms cubic-bezier(0.2, 0.78, 0.18, 1),
      opacity 380ms ease 80ms,
      transform 440ms cubic-bezier(0.2, 0.78, 0.18, 1),
      visibility 0s linear 0s;
  }

  .site-header .menu-toggle {
    transition:
      width 420ms cubic-bezier(0.2, 0.78, 0.18, 1),
      max-width 420ms cubic-bezier(0.2, 0.78, 0.18, 1),
      border-width 360ms ease,
      opacity 260ms ease,
      transform 360ms cubic-bezier(0.2, 0.78, 0.18, 1),
      background 260ms ease,
      color 260ms ease,
      visibility 0s linear 420ms;
  }

  .site-header.is-collapsed:not(.is-menu-expanded) .menu-toggle {
    transition-delay: 0s;
  }
}

/* Client revision: clearer navigation, stronger estimate CTA and compact contact details */
.nav-inline {
  gap: clamp(18px, 2.2vw, 34px);
  max-width: 600px;
}

.menu-toggle::before {
  content: "";
  display: block;
  grid-area: 1 / 1;
  width: 28px;
  height: 2px;
  background: currentColor;
  transform-origin: center;
  transition: transform 260ms ease, opacity 260ms ease;
}

.menu-toggle:hover::before,
.menu-toggle:focus-visible::before {
  transform: scaleX(0.76);
}

.estimate-float {
  min-width: 194px;
  min-height: 68px;
  justify-content: center;
  gap: 18px;
  padding: 0 28px;
  border-color: var(--green);
  border-radius: 22px;
  background: var(--green);
  box-shadow: 0 18px 46px rgba(11, 59, 46, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  color: var(--white);
  font-size: 15px;
  animation: estimate-pulse 2.9s ease-in-out infinite;
  transition: color 240ms ease, background 240ms ease, transform 360ms cubic-bezier(0.2, 0.78, 0.18, 1), box-shadow 360ms ease;
}

.estimate-float:hover,
.estimate-float:focus-visible {
  background: var(--green);
  color: var(--white);
  animation-play-state: paused;
  transform: translateY(-3px) scale(1.045);
  box-shadow: 0 24px 62px rgba(11, 59, 46, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

@keyframes estimate-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 18px 46px rgba(11, 59, 46, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.14); }
  50% { transform: scale(1.035); box-shadow: 0 22px 58px rgba(11, 59, 46, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
}

.contact-phone-list {
  display: grid;
  gap: 8px;
}

.contact-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  border-bottom: 0 !important;
  line-height: 1.2;
}

.contact-phone:not(.contact-phone--whatsapp) {
  padding-left: 25px;
}

.contact-phone span {
  min-width: 66px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.contact-phone strong {
  border-bottom: 1px solid rgba(11, 59, 46, 0.35);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}

.contact-phone--whatsapp span {
  min-width: 66px;
  color: var(--green);
}

.whatsapp-icon {
  display: block;
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  object-fit: contain;
}

@media (min-width: 821px) {
  .site-header:not(.is-collapsed) .nav-inline,
  .site-header.is-menu-expanded .nav-inline {
    width: clamp(470px, 44vw, 560px);
  }
}

@media (max-width: 820px) {
  .estimate-float {
    right: 14px;
    bottom: 14px;
    min-width: 176px;
    min-height: 60px;
    padding: 0 22px;
    border-radius: 20px;
    font-size: 14px;
  }

  .contact-phone strong {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .estimate-float {
    animation: none;
  }
}

/* Process copy moves in the open page area and pauses while it is being read */
.process-slider,
.process-slides {
  overflow: visible;
}

.process-slide {
  transform: translate3d(0, 14px, 0);
  transition: opacity 680ms ease, transform 780ms cubic-bezier(0.2, 0.78, 0.18, 1);
}

.process-slide.is-exiting {
  opacity: 0;
  transform: translate3d(0, -10px, 0);
}

.process-slider.is-reverse .process-slide {
  transform: translate3d(0, -14px, 0);
}

.process-slider.is-reverse .process-slide.is-exiting {
  transform: translate3d(0, 10px, 0);
}

.process-slide.is-active {
  transform: translate3d(0, 0, 0);
}
