:root {
  --ink: #121212;
  --muted: #5e5a57;
  --line: #e7e2dc;
  --paper: #f4f1ec;
  --white: #ffffff;
  --primary: #8e1c2c;
  --primary-dark: #6e1421;
  --accent: #e12636;
  --dark: #101113;
  --dark-2: #1b1c1f;
  --header: 76px;
  --container: 1180px;
  --sans: "Manrope", system-ui, sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; }
button { cursor: pointer; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}
.kicker {
  display: inline-block;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
h1, h2, .display {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 0.92;
  text-transform: uppercase;
  margin: 0;
}
.section { padding: 92px 0; }
.section-head { margin-bottom: 42px; }
.section-head h2 {
  font-size: clamp(40px, 5vw, 62px);
  margin-top: 10px;
}
.center { text-align: center; }

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand-logo {
  width: 62px;
  height: 48px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  padding: 3px;
  flex: none;
}
.brand strong {
  display: block;
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.08em;
  line-height: 1.1;
}
.brand small {
  display: block;
  margin-top: 3px;
  color: rgba(255,255,255,0.62);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}
.nav a {
  color: rgba(255,255,255,0.88);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.nav a:hover,
.nav a.is-active { color: var(--accent); }
.menu-btn {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: #fff;
}
.menu-btn svg { width: 26px; height: 26px; }
.mobile-nav {
  display: none;
  background: var(--dark-2);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 8px 20px 18px;
}
.mobile-nav a {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 13px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-nav.is-open { display: block; }

section[id] { scroll-margin-top: calc(var(--header) + 12px); }
.hero {
  position: relative;
  min-height: calc(100vh - var(--header));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  overflow: hidden;
  background: var(--dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,12,0.88) 0%, rgba(10,10,12,0.62) 46%, rgba(10,10,12,0.28) 100%),
    linear-gradient(180deg, rgba(10,10,12,0.15) 0%, rgba(10,10,12,0.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 88px 0 54px;
}
.hero h1 {
  font-size: clamp(46px, 6vw, 78px);
  max-width: 740px;
}
.hero h1 span { color: var(--accent); }
.hero-lead {
  max-width: 540px;
  margin: 22px 0 0;
  color: rgba(255,255,255,0.84);
  font-size: 17px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  border: 1px solid transparent;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.45);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #000; }

.hero-bar {
  position: relative;
  z-index: 1;
  background: rgba(12,12,14,0.82);
  border-top: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
}
.hero-bar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.hero-point {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 18px;
}
.hero-point + .hero-point { border-left: 1px solid rgba(255,255,255,0.08); }
.hero-point i {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(142,28,44,0.22);
  color: var(--accent);
  flex: none;
}
.hero-point svg { width: 22px; height: 22px; }
.hero-point strong {
  display: block;
  font-size: 13px;
  letter-spacing: 0.06em;
}
.hero-point span {
  display: block;
  margin-top: 2px;
  color: rgba(255,255,255,0.62);
  font-size: 13px;
}

.services { background: var(--paper); }
.service-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 16px;
}
.service {
  flex: 0 0 calc((100% - 48px) / 4);
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 20px 22px;
}
.service-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  color: var(--ink);
}
.service h3 {
  margin: 0 0 10px;
  min-height: 2.6em;
  font-size: 14px;
  letter-spacing: 0.04em;
  line-height: 1.3;
}
.service p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.service:hover { border-color: #d9cfd0; }
.service:hover .service-icon { color: var(--primary); }

.about {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: var(--dark);
  color: #fff;
  min-height: 620px;
}
.about-photo {
  position: relative;
  min-height: 420px;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  position: absolute;
  inset: 0;
}
.about-copy {
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-copy h2 { font-size: clamp(38px, 4vw, 56px); }
.about-copy p {
  color: rgba(255,255,255,0.74);
  font-size: 15px;
  margin: 18px 0 0;
}
.band {
  background: var(--dark-2);
  color: rgba(255,255,255,0.78);
  padding: 18px 0;
}
.band-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.method { background: #fff; }
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.method article {
  padding: 8px 8px 0 0;
  border-top: 2px solid var(--primary);
}
.method em {
  display: block;
  margin-top: 18px;
  font-style: normal;
  font-family: var(--display);
  font-size: 42px;
  color: var(--primary);
  line-height: 1;
}
.method h3 {
  margin: 8px 0;
  font-size: 20px;
  letter-spacing: 0.03em;
}
.method p { margin: 0; color: var(--muted); font-size: 15px; }

.projects { background: var(--paper); }
.projects-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.filters {
  display: flex;
  gap: 4px;
  margin-bottom: 22px;
  border-bottom: 1px solid #d9d3cc;
  overflow-x: auto;
  scrollbar-width: none;
}
.filters::-webkit-scrollbar { display: none; }
.filters button {
  flex: 0 0 auto;
  margin-bottom: -1px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #6b6560;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 12px 16px 10px;
  white-space: nowrap;
}
.filters button:hover { color: var(--ink); }
.filters button.is-active,
.filters button.is-active:hover {
  background: transparent;
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.carousel-nav { display: flex; gap: 8px; margin-left: auto; flex: 0 0 auto; }
.carousel-nav button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #d9d3cc;
  background: #fff;
  display: grid;
  place-items: center;
}
.carousel-nav button:hover { border-color: var(--primary); color: var(--primary); }
.carousel-nav svg { width: 18px; height: 18px; }
.carousel {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.project {
  flex: 0 0 300px;
  scroll-snap-align: start;
}
.project figure {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #ddd;
  aspect-ratio: 4 / 3;
}
.project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.project:hover img { transform: scale(1.04); }
.project h3 { margin: 14px 0 0; font-size: 16px; }
.project p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }

.refs { background: var(--paper); }
.ref-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ref-grid li { display: flex; }
.ref-grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  min-height: 188px;
  padding: 28px 18px 20px;
  background: #fff;
  border: 1px solid #e4ddd4;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(16, 17, 19, 0.06);
  color: inherit;
  text-decoration: none;
}
.ref-grid a:hover {
  border-color: var(--primary);
  box-shadow: 0 14px 32px rgba(142, 28, 44, 0.12);
}
.ref-grid img {
  width: 100%;
  height: 78px;
  object-fit: contain;
}
.ref-grid img.is-mono { filter: invert(1); }
.ref-grid img.is-sm { transform: scale(0.82); }
.ref-grid span {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
  color: var(--ink);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery-grid button {
  padding: 0;
  border: 0;
  background: #ddd;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.gallery-grid button:hover img { transform: scale(1.05); }
.gallery-grid button:nth-child(1),
.gallery-grid button:nth-child(6) { grid-column: span 2; aspect-ratio: 16 / 10; }

.park { background: var(--dark); color: #fff; }
.park-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: start;
}
.park h2 { font-size: clamp(38px, 4vw, 56px); }
.park-lead { color: rgba(255,255,255,0.7); margin-top: 16px; }
.specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.specs li {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 14px 16px;
}
.specs strong { display: block; font-size: 14px; }
.specs span { display: block; margin-top: 3px; color: rgba(255,255,255,0.55); font-size: 12px; }

.cta {
  background: var(--primary);
  color: #fff;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta h2 { font-size: clamp(34px, 4vw, 52px); }
.cta p { margin: 10px 0 0; color: rgba(255,255,255,0.84); max-width: 520px; }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: #f7ecee; }

.footer { background: var(--dark); color: #fff; padding-top: 64px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr 1.3fr;
  gap: 36px;
}
.footer h2, .footer h3 {
  margin: 0 0 16px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer p, .footer li, .footer a { color: rgba(255,255,255,0.68); font-size: 14px; }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li + li { margin-top: 8px; }
.footer-brand p { margin: 14px 0 0; max-width: 320px; }
.contact-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.contact-list svg { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 3px; }
.legal {
  margin-top: 42px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255,255,255,0.42);
  font-size: 12px;
}

.contact-page { background: #fff; }
.contact-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 20px;
  align-items: stretch;
}
.reach-list {
  display: grid;
  gap: 12px;
}
.reach-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-height: 112px;
  padding: 20px 22px;
  border-radius: 16px;
  background: var(--paper);
  color: inherit;
  text-decoration: none;
}
.reach-card span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}
.reach-card strong {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
}
.reach-card.is-mail strong {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}
.reach-card:hover { background: #fff; box-shadow: 0 12px 28px rgba(16, 17, 19, 0.08); }
.reach-card:hover strong { color: var(--primary); }
.map-panel {
  position: relative;
  margin: 0;
  min-height: 520px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--dark);
}
.map-panel iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.map-panel figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  margin: 0;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(16, 17, 19, 0.9);
  color: #fff;
  font-size: 14px;
  line-height: 1.45;
}
.map-panel figcaption span {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.page-hero {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: var(--dark);
}
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,10,12,0.88), rgba(10,10,12,0.45));
}
.page-hero .container { position: relative; padding: 64px 0 48px; }
.page-hero h1 { font-size: clamp(42px, 6vw, 72px); max-width: 14ch; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: -48px;
  position: relative;
  z-index: 2;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 16px 40px rgba(16,17,19,0.06);
}
.card h2 {
  font-family: var(--sans);
  font-size: 18px;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.3;
  margin-bottom: 8px;
}
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.card a { color: var(--primary); font-weight: 700; }
.card .label {
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.reach {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}
.map-large {
  margin-top: 28px;
  border-radius: 12px;
  overflow: hidden;
  height: 440px;
  background: #ddd;
}
.map-large iframe { width: 100%; height: 100%; border: 0; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(8,8,10,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1100px, 100%); max-height: 86vh; object-fit: contain; }
.lightbox button {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  font-size: 22px;
}

@media (max-width: 1100px) {
  .service { flex-basis: calc((100% - 16px) / 2); }
}
@media (max-width: 1020px) {
  .nav { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .service-grid, .method-grid, .footer-grid, .cards { grid-template-columns: 1fr 1fr; }
  .service, .service:nth-child(n + 5) { grid-column: auto; }
  .about { grid-template-columns: 1fr; }
  .about-photo { min-height: 360px; }
  .about-copy { padding: 48px 24px 56px; }
  .park-grid, .contact-layout { grid-template-columns: 1fr; }
  .map-panel { min-height: 380px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .ref-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 720px) {
  .container { width: min(var(--container), calc(100% - 32px)); }
  .section { padding: 64px 0; }
  .hero { min-height: calc(100svh - var(--header)); }
  .hero-content { padding: 56px 0 36px; }
  .hero-bar-grid, .service-grid, .method-grid, .footer-grid, .cards, .reach, .specs {
    grid-template-columns: 1fr;
  }
  .hero-point + .hero-point { border-left: 0; border-top: 1px solid rgba(255,255,255,0.08); }
  .cta-inner, .legal { flex-direction: column; align-items: flex-start; }
  .projects-top { align-items: flex-end; }
  .ref-grid { grid-template-columns: 1fr 1fr; }
  .ref-grid a { min-height: 156px; padding: 18px 12px 14px; }
  .ref-grid img { height: 58px; }
  .ref-grid span { font-size: 13px; }
  .gallery-grid button:nth-child(1),
  .gallery-grid button:nth-child(6) { grid-column: auto; aspect-ratio: 1; }
  .map-panel { min-height: 360px; }
  .service { flex-basis: 100%; }
  .reach-card strong { font-size: 28px; }
}
