:root {
  --ink: #11191d;
  --soft-ink: #26343b;
  --muted: #6b777e;
  --paper: #f3fbf8;
  --white: #ffffff;
  --line: #d7e8e5;
  --smoke: #eef7f2;
  --steel: #2f6f78;
  --deep: #eaf5f4;
  --rust: #2f8f83;
  --sage: #5f8f6c;
  --aqua: #2f8fa3;
  --gold: #a7b85d;
  --rose: #7fb3a7;
  --mint: #dcefe6;
  --sky: #dff2f6;
  --butter: #eef3d2;
  --shadow: 0 22px 60px rgba(38, 95, 91, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #edf8f6 0%, #fbfffd 36%, #eef7f2 100%);
  font-family: Inter, Arial, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

.is-lightbox-trigger {
  cursor: zoom-in;
}

.hero,
.intervention-hero {
  cursor: default;
}

.hero a,
.intervention-hero a {
  cursor: pointer;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(18, 24, 27, 0.62);
}

.image-lightbox.is-open {
  display: flex;
}

.image-lightbox img {
  width: auto;
  max-width: 75vw;
  max-height: 75vh;
  object-fit: contain;
  border: 2px solid #777;
  background: #f2f2f2;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
  cursor: zoom-out;
}

.cookie-consent {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(38, 95, 91, 0.12);
  font-size: 12px;
  font-weight: 800;
}

.cookie-consent button {
  min-height: 24px;
  padding: 0 8px;
  color: var(--white);
  background: var(--rust);
  border: 0;
  font: inherit;
  cursor: pointer;
}

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

p,
dd {
  color: var(--muted);
  line-height: 1.68;
}

h1,
h2,
h3,
p,
dl,
dd {
  margin-top: 0;
}

h1 {
  max-width: 980px;
  margin-bottom: 24px;
  color: var(--ink);
  font-size: clamp(32px, 5.55vw, 81px);
  line-height: 0.92;
}

h2 {
  max-width: 980px;
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 0.98;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(21px, 2vw, 30px);
  line-height: 1.1;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--ink);
  background: rgba(255, 252, 245, 0.9);
  border-bottom: 1px solid rgba(234, 223, 210, 0.95);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 320px;
  gap: 12px;
}

.brand-logo {
  width: clamp(190px, 20vw, 265px);
  height: auto;
  background: var(--white);
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: var(--rust);
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 2vw, 26px);
  color: var(--soft-ink);
  font-size: 14px;
  font-weight: 800;
}

nav a {
  padding: 8px 0;
}

.header-contact {
  padding: 10px 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--rust), #69a979);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 150px clamp(18px, 5vw, 72px) 72px;
  overflow: hidden;
  background: var(--deep);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  opacity: 0.7;
  filter: saturate(0.7) contrast(1.04);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(243, 251, 248, 0.96) 0%, rgba(220, 239, 230, 0.8) 44%, rgba(223, 242, 246, 0.34) 100%),
    linear-gradient(0deg, rgba(223, 242, 246, 0.58), rgba(238, 243, 210, 0.12));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1160px, 100%);
}

.hero-content p {
  max-width: 760px;
  color: var(--soft-ink);
  font-size: 18px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--rust);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--rust);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  font-weight: 900;
}

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--rust), #69a979);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(91, 158, 163, 0.3);
}

.hero-facts {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1120px, 100%);
  margin-top: 56px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-facts span {
  min-height: 78px;
  padding: 18px;
  color: var(--ink);
  border-right: 1px solid var(--line);
  font-weight: 800;
}

.hero-facts span:nth-child(1) {
  background: linear-gradient(180deg, rgba(255, 240, 201, 0.68), rgba(255, 255, 255, 0.72));
}

.hero-facts span:nth-child(2) {
  background: linear-gradient(180deg, rgba(225, 240, 243, 0.68), rgba(255, 255, 255, 0.72));
}

.hero-facts span:nth-child(3) {
  background: linear-gradient(180deg, rgba(223, 238, 221, 0.7), rgba(255, 255, 255, 0.72));
}

.hero-facts span:nth-child(4) {
  background: linear-gradient(180deg, rgba(250, 226, 218, 0.72), rgba(255, 255, 255, 0.72));
}

.hero-facts span:last-child {
  border-right: 0;
}

.projects,
.services,
.process,
.studio,
.contact {
  padding: clamp(64px, 9vw, 124px) clamp(18px, 5vw, 72px);
}

.section-title {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.6fr);
  align-items: end;
  gap: clamp(24px, 5vw, 72px);
  margin-bottom: clamp(34px, 6vw, 76px);
}

.section-title::after {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--aqua), var(--sage));
}

.section-title.narrow {
  display: block;
  max-width: 780px;
}

.section-title.narrow::after {
  display: none;
}

.featured-project {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  margin-bottom: clamp(28px, 5vw, 58px);
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-top: 6px solid var(--aqua);
  overflow: hidden;
}

.featured-project img {
  width: 100%;
  min-height: 520px;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.08);
  transition: transform 360ms ease, filter 360ms ease;
}

.featured-project:hover img {
  transform: scale(1.045);
  filter: saturate(0.92) contrast(1.08);
}

.featured-project > div {
  padding: clamp(26px, 5vw, 56px);
}

.featured-project h3 {
  color: var(--ink);
  font-size: clamp(30px, 4.5vw, 58px);
}

.featured-project p,
.featured-project dd {
  color: var(--muted);
}

dl {
  display: grid;
  gap: 18px;
  margin-bottom: 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

dt {
  margin-bottom: 4px;
  color: var(--rust);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

dd {
  margin-left: 0;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.project-grid article {
  min-height: 520px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--gold);
  overflow: hidden;
}

.project-grid article a {
  min-height: 520px;
  display: grid;
  grid-template-rows: 260px 1fr;
}

.project-grid article:nth-child(2) {
  border-top-color: var(--aqua);
}

.project-grid article:nth-child(3) {
  border-top-color: var(--sage);
}

.project-grid article:nth-child(4) {
  border-top-color: var(--rose);
}

.project-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  filter: saturate(0.82);
  transition: transform 320ms ease, filter 320ms ease;
}

.project-grid article:hover img {
  transform: scale(1.06);
  filter: saturate(0.94);
}

.project-grid div {
  padding: 24px;
}

.project-grid span,
.service-grid span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--sage);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.services {
  background: linear-gradient(180deg, var(--white), #eef8f4);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-grid article {
  min-height: 280px;
  background: var(--white);
}

.service-grid article:nth-child(1) {
  background: linear-gradient(180deg, rgba(255, 240, 201, 0.74), var(--white));
}

.service-grid article:nth-child(2) {
  background: linear-gradient(180deg, rgba(223, 238, 221, 0.78), var(--white));
}

.service-grid article:nth-child(3) {
  background: linear-gradient(180deg, rgba(225, 240, 243, 0.78), var(--white));
}

.service-grid article:nth-child(4) {
  background: linear-gradient(180deg, rgba(250, 226, 218, 0.78), var(--white));
}

.service-grid article:nth-child(5) {
  background: linear-gradient(180deg, rgba(255, 246, 213, 0.78), var(--white));
}

.service-grid article:nth-child(6) {
  background: linear-gradient(180deg, rgba(232, 239, 221, 0.78), var(--white));
}

.service-grid article a {
  display: block;
  min-height: 280px;
  padding: 28px;
}

.service-grid article a:hover h3 {
  color: var(--rust);
}

.service-grid p {
  margin-bottom: 0;
}

.intervention-hero {
  position: relative;
  min-height: 70vh;
  display: grid;
  align-items: end;
  padding: 150px clamp(18px, 5vw, 72px) 72px;
  overflow: hidden;
  background: var(--paper);
}

.intervention-hero img,
.intervention-hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.intervention-hero img {
  object-fit: cover;
  opacity: 0.56;
  filter: saturate(0.72) contrast(1.02);
  transition: transform 520ms ease, filter 520ms ease;
}

.intervention-hero:hover img {
  transform: scale(1.035);
  filter: saturate(0.86) contrast(1.04);
}

.intervention-hero::after {
  content: "";
  background: linear-gradient(90deg, rgba(243, 251, 248, 0.96) 0%, rgba(220, 239, 230, 0.82) 48%, rgba(223, 242, 246, 0.42) 100%);
}

.intervention-hero > div {
  position: relative;
  z-index: 1;
  max-width: 980px;
}

.breadcrumb {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--rust);
  font-size: 13px;
  font-weight: 900;
}

.intervention-hero p {
  max-width: 760px;
  color: var(--soft-ink);
  font-size: 18px;
}

.intervention-content,
.related-links {
  padding: clamp(58px, 8vw, 112px) clamp(18px, 5vw, 72px);
}

.intervention-content {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 86px);
  background: var(--white);
}

.intervention-copy {
  max-width: 640px;
}

.intervention-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  background: var(--line);
  list-style: none;
}

.intervention-list li {
  padding: 24px;
  background: var(--white);
  border-left: 5px solid rgba(91, 158, 163, 0.38);
}

.intervention-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

.intervention-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 0 clamp(18px, 5vw, 72px) clamp(58px, 8vw, 112px);
  background: var(--white);
}

.intervention-gallery img {
  position: relative;
  width: 100%;
  height: clamp(230px, 26vw, 360px);
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 rgba(35, 39, 43, 0);
  transition: transform 280ms ease, box-shadow 280ms ease, filter 280ms ease;
}

.intervention-gallery img:hover {
  z-index: 2;
  transform: scale(1.055);
  filter: saturate(0.96);
  box-shadow: 0 22px 42px rgba(35, 39, 43, 0.18);
}

.related-links {
  background: linear-gradient(180deg, var(--mint), var(--smoke));
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 30px;
  background: var(--line);
  border: 1px solid var(--line);
}

.related-grid a {
  min-height: 140px;
  padding: 24px;
  background: var(--white);
  font-weight: 900;
  border-top: 4px solid var(--gold);
}

.process {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1fr);
  gap: clamp(28px, 6vw, 90px);
  color: var(--ink);
  background: linear-gradient(135deg, #dff2f6, #eef7f2);
}

.process h2,
.contact h2 {
  color: var(--ink);
}

.process p,
.contact p {
  color: var(--soft-ink);
}

.steps {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  background: var(--line);
  list-style: none;
}

.steps li {
  min-height: 170px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.84);
  border-left: 5px solid var(--aqua);
}

.steps li:nth-child(2) {
  border-left-color: var(--gold);
}

.steps li:nth-child(3) {
  border-left-color: var(--sage);
}

.steps span {
  display: block;
  margin-bottom: 10px;
  color: var(--rust);
  font-weight: 900;
}

.steps p {
  margin-bottom: 0;
}

.studio {
  background: linear-gradient(180deg, #eef7f2, #f3fbf8);
}

.team {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.team article {
  min-height: 270px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--aqua);
}

.team article:nth-child(2) {
  border-top-color: var(--gold);
}

.team article:nth-child(3) {
  border-top-color: var(--sage);
}

.team article:nth-child(4) {
  border-top-color: var(--rose);
}

.team a {
  color: var(--rust);
  font-weight: 900;
  overflow-wrap: anywhere;
}
.team h3 {
  margin-bottom: 10px;
  font-size: 17px;
  line-height: 1.15;
  white-space: nowrap;
}

.team h3 a {
  color: inherit;
  text-decoration: none;
}

.team article > a {
  display: block;
  font-size: 12px;
  letter-spacing: 0;
  line-height: 1.3;
  white-space: nowrap;
  overflow-wrap: normal;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: clamp(24px, 5vw, 70px);
  align-items: end;
  background: linear-gradient(135deg, #eef3d2, #dcefe6 58%, #dff2f6);
}

.contact-details {
  display: grid;
  gap: 16px;
}

address {
  display: grid;
  gap: 12px;
  padding: 30px;
  color: var(--ink);
  background: var(--white);
  font-style: normal;
}

address span {
  color: var(--muted);
  line-height: 1.55;
}

address a {
  color: var(--rust);
  font-weight: 900;
}

.map-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.map-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1200 / 620;
  object-fit: cover;
}

.map-card a {
  display: flex;
  min-height: 48px;
  align-items: center;
  padding: 0 18px;
  color: var(--rust);
  border-top: 1px solid var(--line);
  font-weight: 900;
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero {
    min-height: 900px;
  }

  .hero-facts,
  .project-grid,
  .service-grid,
  .team {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-facts span:nth-child(2) {
    border-right: 0;
  }

  .hero-facts span:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .section-title,
  .featured-project,
  .process,
  .contact,
  .intervention-content {
    grid-template-columns: 1fr;
  }

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

  .featured-project img {
    min-height: 380px;
  }
}

@media (max-width: 640px) {
  .brand {
    min-width: 0;
  }

  .brand small {
    max-width: 210px;
  }

  nav {
    gap: 8px 14px;
    font-size: 13px;
  }

  .header-contact {
    padding: 8px 10px;
  }

  .hero {
    min-height: 940px;
    padding-top: 190px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-facts,
  .project-grid,
  .service-grid,
  .team,
  .intervention-gallery,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .hero-facts span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-facts span:last-child {
    border-bottom: 0;
  }

  .project-grid article,
  .service-grid article,
  .team article {
    min-height: auto;
  }

  .featured-project img,
  .project-grid img {
    min-height: 260px;
  }
}

