@font-face {
  font-family: "Geometria";
  src: url("../fonts/Geometria.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geometria";
  src: url("../fonts/Geometria-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geometria";
  src: url("../fonts/Geometria-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geometria";
  src: url("../fonts/Geometria-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --teal: #166b72;
  --teal-deep: #0f4b51;
  --teal-light: #c5dde0;
  --black: #0c0c0c;
  --ink: #161616;
  --muted: #4a4a4a;
  --cream: #f6f3ef;
  --sand: #ece6db;
  --white: #ffffff;
  --header-h: 88px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Geometria, Montserrat, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.wrap { width: min(1240px, calc(100% - 56px)); margin-inline: auto; }

header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--black);
}
.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: white;
  flex-shrink: 0;
}
.brand img {
  width: 72px;
  height: 58px;
  object-fit: contain;
}
.brand-name {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.06em;
  line-height: 1.05;
  text-transform: uppercase;
}
.brand-name small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 600;
  opacity: 0.75;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: white;
}
.nav-links a:hover,
.nav-links a.active { color: var(--teal-light); }
.btn-contact {
  background: var(--teal);
  color: white !important;
  padding: 14px 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.btn-contact:hover { background: var(--teal-deep); }
.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: white;
  margin: 5px auto;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  color: white;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero.page-hero { min-height: 48vh; align-items: center; }
.hero-slide, .hero-media {
  position: absolute;
  inset: 0;
}
.hero-slide { opacity: 0; transition: opacity 0.7s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide img, .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slide::after, .hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,12,12,0.25) 0%, rgba(12,12,12,0.55) 50%, rgba(12,12,12,0.78) 100%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 56px));
  margin: 0 auto 90px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: end;
}
.page-hero .hero-copy {
  margin: 0 auto;
  grid-template-columns: 1fr;
}
.hero h1 {
  font-weight: 800;
  font-size: clamp(48px, 7.4vw, 104px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.hero h1 .accent { color: var(--teal-light); display: block; }
.hero-aside {
  border-left: 2px solid rgba(255,255,255,0.7);
  padding-left: 22px;
  font-size: 18px;
  font-weight: 400;
  max-width: 34ch;
  margin-bottom: 12px;
}
.hero-wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 70px;
  z-index: 3;
  color: var(--cream);
}
.hero-dots {
  position: absolute;
  z-index: 4;
  left: 28px;
  bottom: 88px;
  display: flex;
  gap: 8px;
}
.hero-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.35);
}
.hero-dots button.on { background: var(--teal-light); }

.about {
  padding: 90px 0 40px;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 20px;
}
.vlabel {
  font-weight: 800;
  font-size: clamp(42px, 5vw, 72px);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  line-height: 0.9;
}
.vlabel span { color: var(--teal); }
.about-copy { padding-top: 8px; max-width: 760px; }
.about-copy p { font-size: 20px; font-weight: 400; margin-bottom: 28px; }
.btn-dark {
  display: inline-block;
  background: var(--teal-deep);
  color: white;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 16px 22px;
}
.btn-dark:hover { background: var(--black); }

.stats {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 18px;
  padding: 36px 0 80px;
  align-items: stretch;
}
.stats.two { grid-template-columns: 1fr 1.6fr; }
.contact-lead {
  font-size: 18px;
  margin-bottom: 14px;
  max-width: 36ch;
}
.contact-actions { margin: 18px 0 8px; }

.stat {
  background: #fff;
  border: 1px solid rgba(12,12,12,0.08);
  border-radius: 10px;
  padding: 40px 32px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 4px solid #166b72;
}
.stat b {
  font-size: clamp(56px, 6vw, 84px);
  font-weight: 800;
  color: #166b72;
  display: block;
  line-height: 0.9;
  letter-spacing: -0.03em;
}
.stat span {
  display: block;
  margin-top: 16px;
  font-size: 15px;
  color: #3a3a3a;
  max-width: 18ch;
  line-height: 1.4;
}
.stat-photo { border-radius: 10px; overflow: hidden; min-height: 220px; }
.stat-photo img { width: 100%; height: 100%; object-fit: cover; }

.services-band {
  background: #d7e4e6;
  padding: 28px 0;
}
.services-band .wrap {
  display: flex;
  justify-content: flex-end;
  gap: 48px;
  flex-wrap: wrap;
}
.svc-tag {
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
}
.svc-tag i {
  width: 16px;
  height: 16px;
  background: #8aa0a3;
  display: inline-block;
}

.projects { padding: 100px 0 40px; }
.projects-top {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 36px;
}
.projects h2, .page-block h2 {
  font-weight: 800;
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.projects h2 .dim { color: #6b6b6b; }
.projects-top p { font-size: 18px; max-width: 36ch; margin-bottom: 24px; }
.proj-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 8px 0 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(12,12,12,0.15);
}
.count { letter-spacing: 0.08em; color: #555; }
.arrows { display: flex; gap: 18px; }
.arrows button { width: 44px; height: 36px; border: 0; background: transparent; font-size: 22px; }
.carousel {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.7fr;
  gap: 16px;
}
.card { display: block; }
.card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
}
.card h3 { font-size: 16px; font-weight: 700; margin-top: 14px; }
.card p { font-size: 14px; color: var(--muted); }

.contact { padding: 80px 0 90px; }
.contact-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.contact h2 {
  font-weight: 800;
  font-size: clamp(36px, 5vw, 64px);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.95;
}
.phone {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: var(--teal-deep);
}
address { font-style: normal; margin-top: 10px; color: var(--muted); }

footer {
  background: var(--black);
  color: rgba(255,255,255,0.7);
  padding: 28px 0;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.page-block { padding: 80px 0; }
.prose { max-width: 720px; }
.prose p { margin-bottom: 18px; font-size: 18px; color: var(--muted); }
.prose h3 {
  font-size: 22px;
  margin: 28px 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.people {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 28px;
}
.people.three { grid-template-columns: 1fr 1fr 1fr; }
.person {
  background: #f3efe8;
  border: 1px solid rgba(12,12,12,0.08);
  border-radius: 10px;
  padding: 32px;
}
.person h3 { font-size: 22px; text-transform: none; letter-spacing: 0; margin: 0 0 6px; }
.person .role { color: var(--teal); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }
.person p { color: var(--muted); font-size: 16px; }

.svc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 36px;
}
.svc-card {
  background: #f3efe8;
  border: 1px solid rgba(12,12,12,0.08);
  border-radius: 10px;
  padding: 32px;
}
.svc-card h3 { font-size: 20px; margin-bottom: 10px; }
.svc-card p { color: var(--muted); }

.project-detail {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  margin-top: 40px;
}
.project-detail .gallery { display: grid; gap: 12px; }
.project-detail .gallery img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
}
.project-detail .gallery img.tall { height: 420px; }
.facts { margin-top: 24px; display: grid; gap: 12px; }
.facts div { display: grid; grid-template-columns: 120px 1fr; gap: 10px; font-size: 15px; }
.facts dt { text-transform: uppercase; letter-spacing: 0.08em; font-size: 11px; color: var(--teal); padding-top: 3px; }

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--black);
    padding: 20px 28px 28px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .nav-links.open { display: flex; }
  .burger { display: block; }
  .hero-copy, .about, .stats, .projects-top, .carousel, .contact-box, .people, .svc-grid, .project-detail {
    grid-template-columns: 1fr;
  }
  .vlabel { writing-mode: horizontal-tb; transform: none; font-size: 28px; }
  .hero { min-height: 86vh; }
  .hero.page-hero { min-height: 38vh; }
  .card img, .project-detail .gallery img, .project-detail .gallery img.tall { height: 220px; }
}

.person {
  background: #f3efe8;
  border: 1px solid rgba(12,12,12,0.08);
  border-radius: 10px;
  padding: 0 0 24px;
  overflow: hidden;
  text-align: center;
}
.person img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  object-position: center top;
  background: #e8e2d8;
}
.person-ph {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8e2d8;
  color: #166b72;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: 0.08em;
}
.person h3 { font-size: 20px; margin: 18px 16px 4px; text-transform: none; letter-spacing: 0; }
.person .role { margin: 0 16px; }

.project-list { display: grid; gap: 64px; }
.project-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}
.project-row.reverse { grid-template-columns: 0.8fr 1.2fr; }
.project-row.reverse .copy { order: -1; }
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.pair.single { grid-template-columns: 1fr; }
.pair img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
}
.project-row h3 {
  font-size: clamp(22px, 3vw, 32px);
  text-transform: none;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.project-row .where {
  color: var(--teal);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.project-row p { color: var(--muted); font-size: 16px; }

@media (max-width: 900px) {
  .project-row, .project-row.reverse, .pair { grid-template-columns: 1fr; }
  .project-row.reverse .copy { order: 0; }
  .people.three { grid-template-columns: 1fr; }
  .person img, .person-ph { height: 200px; }
  .pair img { height: 220px; }
}

.svc-card { padding: 0 0 24px; overflow: hidden; }
.svc-card img { width: 100%; height: 180px; object-fit: cover; }
.svc-card h3 { margin: 18px 24px 8px; }
.svc-card p { margin: 0 24px; }

.office-map {
  width: 100%;
  height: 420px;
  background: #e6e6e6;
}
.office-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
@media (max-width: 900px) {
  .office-map { height: 320px; }
}

.project-row.extra { display: none; }
.project-row.extra.show { display: grid; }
.load-more-wrap { padding: 10px 0 20px; }

.cgu-form {
  display: grid;
  gap: 10px;
  margin: 18px 0 16px;
  max-width: 420px;
}
.cgu-form input,
.cgu-form textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid rgba(12,12,12,0.16);
  background: #fff;
  color: #0c0c0c;
  border-radius: 4px;
}
.cgu-form textarea { resize: vertical; min-height: 96px; }
.cgu-form .hp {
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
  opacity: 0;
}
.form-status { font-size: 14px; color: #166b72; margin: 0; }
