:root {
  --bg: #f4efe7;
  --surface: #fbf8f3;
  --surface-strong: #e4d4bf;
  --text: #171411;
  --muted: #6f6559;
  --line: rgba(23, 20, 17, 0.12);
  --dark: #151515;
  --dark-soft: #221f1b;
  --accent: #970767;
  --accent-strong: #7b0554;
  --brand-green: #024F25;
  --brand-green-strong: #01381a;
  --brand-tint: rgba(151, 7, 103, 0.1);
  --green-tint: rgba(2, 79, 37, 0.12);
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(27, 22, 16, 0.12);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --container: 1240px;
  --transition: 240ms ease;
}

@font-face {
  font-family: "Museo Sans";
  src: url("../fonts/MuseoSans-300.eot");
  src: url("../fonts/MuseoSans-300.eot?#iefix") format("embedded-opentype"), url("../fonts/MuseoSans-300.woff2") format("woff2"), url("../fonts/MuseoSans-300.woff") format("woff"), url("../fonts/MuseoSans-300.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Museo Sans";
  src: url("../fonts/MuseoSans-700.eot");
  src: url("../fonts/MuseoSans-700.eot?#iefix") format("embedded-opentype"), url("../fonts/MuseoSans-700.woff2") format("woff2"), url("../fonts/MuseoSans-700.woff") format("woff"), url("../fonts/MuseoSans-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Museo Sans";
  src: url("../fonts/MuseoSans-900.eot");
  src: url("../fonts/MuseoSans-900.eot?#iefix") format("embedded-opentype"), url("../fonts/MuseoSans-900.woff2") format("woff2"), url("../fonts/MuseoSans-900.woff") format("woff"), url("../fonts/MuseoSans-900.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: "Museo Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(151, 7, 103, 0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(2, 79, 37, 0.09), transparent 26%),
    linear-gradient(180deg, #f7f2ea 0%, #f2ece3 100%);
  line-height: 1.65;
  overflow-x: clip;
}

body.nav-open {
  overflow: hidden;
}

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

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

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 1rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

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

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 6px 0;
  overflow: visible;
  background: rgba(244, 239, 231, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(23, 20, 17, 0.06);
}

.site-header__bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
}

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

.site-brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.site-header .site-brand img {
  width: 88px;
  height: 88px;
  transform: scale(1.7);
  transform-origin: left center;
}

.site-brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.site-brand__text strong {
  font-size: 1rem;
}

.site-brand__text small {
  color: var(--muted);
  font-size: 0.85rem;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.site-nav a {
  position: relative;
  font-weight: 700;
  font-size: 0.95rem;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--brand-green);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--transition);
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.site-header__meta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.site-phone {
  font-weight: 900;
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
}

.site-main {
  padding-bottom: 40px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-green);
  font-weight: 900;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.78);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: var(--white);
  font-weight: 900;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  border: 1px solid transparent;
}

.button:hover {
  transform: translateY(-2px);
  color: var(--white);
}

.button--ghost {
  background: transparent;
  color: var(--brand-green);
  border-color: rgba(2, 79, 37, 0.22);
}

.button--ghost:hover {
  background: rgba(2, 79, 37, 0.08);
  color: var(--brand-green);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: var(--accent);
}

.text-link::after {
  content: "→";
}

.text-link--light {
  color: rgba(255, 255, 255, 0.84);
}

.hero,
.page-hero {
  padding: 64px 0 32px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(420px, 0.78fr);
  gap: 30px;
  align-items: stretch;
}

.hero__content {
  padding: 34px 24px 34px 0;
}

.hero__content h1,
.page-hero h1 {
  font-size: clamp(2.8rem, 5vw, 5.5rem);
  max-width: 12ch;
}

.hero__content p,
.page-hero p {
  max-width: 70ch;
  font-size: 1.06rem;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
}

.hero__stats article {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow);
}

.hero__stats strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.5rem;
  color: var(--brand-green);
}

.hero__stats span {
  font-size: 0.92rem;
  color: var(--muted);
}

.hero__visual {
  padding-left: 28px;
  min-width: 0;
  overflow: hidden;
}

.hero__visual .swiper {
  overflow: hidden;
  padding-bottom: 0;
}

.hero__visual .swiper-slide {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  position: relative;
  min-height: 660px;
  width: min(100%, 520px);
  margin-left: auto;
  border-radius: 36px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.hero-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 15, 15, 0.1) 0%, rgba(15, 15, 15, 0.78) 100%);
}

.hero-card__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 32px;
  color: var(--white);
}

.hero-card__body .text-link {
  color: #f6d7ec;
}

.hero-card__body h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  max-width: 10ch;
}

.hero-card__body p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 44ch;
}

.hero-slider__nav {
  position: absolute;
  top: 50%;
  z-index: 12;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(23, 20, 17, 0.08);
  border-radius: 999px;
  background: rgba(251, 248, 243, 0.9);
  color: var(--brand-green);
  box-shadow: 0 18px 34px rgba(23, 20, 17, 0.16);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-slider__nav:hover {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: var(--white);
  box-shadow: 0 22px 42px rgba(2, 79, 37, 0.28);
}

.hero-slider__nav:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.hero-slider__nav--prev {
  left: 18px;
}

.hero-slider__nav--next {
  right: 18px;
}

.hero-slider__nav span {
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
}

.swiper-pagination-bullet {
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.45);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: var(--accent);
}

.section {
  padding: 92px 0;
}

.section--surface {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.42));
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(23, 20, 17, 0.06);
}

.section--accent {
  background:
    linear-gradient(135deg, rgba(151, 7, 103, 0.14), rgba(2, 79, 37, 0.16)),
    linear-gradient(135deg, #171410 0%, #2a221b 100%);
  color: var(--white);
}

.section--flush-top {
  padding-top: 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 42px;
}

.section-heading h2 {
  max-width: 12ch;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.section-heading p {
  max-width: 46ch;
}

.section-heading--light p,
.section-heading--light h2 {
  color: var(--white);
}

.feature-grid,
.principles-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card,
.principle-card,
.contact-card,
.info-panel,
.archive-card,
.project-card {
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.principle-card:nth-child(2),
.contact-card:nth-child(2) {
  background: linear-gradient(180deg, var(--green-tint), rgba(255, 255, 255, 0.84));
}

.principle-card:nth-child(3),
.contact-card:nth-child(3) {
  background: linear-gradient(180deg, var(--brand-tint), rgba(255, 255, 255, 0.84));
}

.feature-card,
.principle-card,
.contact-card {
  padding: 28px;
}

.feature-card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--brand-tint);
  color: var(--accent);
  font-weight: 900;
  margin-bottom: 18px;
}

.story-block {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 38px;
  align-items: center;
}

.story-block__media {
  position: relative;
}

.story-block__media img {
  width: 100%;
  min-height: 560px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.story-block__content h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  max-width: 12ch;
}

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

.project-card,
.archive-card {
  overflow: hidden;
  height: 100%;
}

.archive-card.is-hidden {
  display: none;
}

.project-card__image,
.archive-card__image {
  position: relative;
}

.project-card__image::after,
.archive-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(2, 79, 37, 0.18) 100%);
  opacity: 0.65;
  pointer-events: none;
}

.project-card__image,
.archive-card__image {
  display: block;
  overflow: hidden;
}

.project-card img,
.archive-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 500ms ease;
}

.project-card:hover img,
.archive-card:hover img {
  transform: scale(1.04);
}

.project-card__body,
.archive-card__body {
  padding: 22px;
}

.project-card__body span,
.archive-card__body span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--brand-green);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.project-card__body h3,
.archive-card__body h2 {
  font-size: 1.6rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.filter-chip {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--text);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.filter-chip.is-active,
.filter-chip:hover {
  background: var(--brand-green);
  color: var(--white);
  border-color: var(--brand-green);
}

.page-hero--compact {
  padding-bottom: 0;
}

.project-hero {
  padding-bottom: 16px;
}

.breadcrumb-line {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
  color: var(--muted);
}

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

.project-gallery__item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.project-gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(21, 21, 21, 0.22) 100%);
  opacity: 0;
  transition: opacity var(--transition);
}

.project-gallery__item:hover::after {
  opacity: 1;
}

.project-gallery__item img,
.post-cover img {
  width: 100%;
  min-height: 220px;
  height: 220px;
  object-fit: cover;
  transition: transform 500ms ease;
}

.project-gallery__item:hover img {
  transform: scale(1.04);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 360px;
  gap: 28px;
  align-items: start;
}

.detail-grid--single {
  grid-template-columns: minmax(0, 820px);
  justify-content: center;
}

.detail-content {
  padding: 38px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.detail-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.detail-content p:last-child {
  margin-bottom: 0;
}

.detail-sidebar {
  display: grid;
  gap: 20px;
}

.info-panel {
  padding: 26px;
}

.info-panel h3 {
  font-size: 1.3rem;
}

.info-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.info-panel li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.info-panel li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.info-panel li span {
  color: var(--muted);
}

.info-panel--accent {
  background: linear-gradient(180deg, rgba(151, 7, 103, 0.12), rgba(255, 255, 255, 0.92));
}

.related-navigation {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.related-navigation__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.map-frame {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.map-frame iframe {
  width: 100%;
  height: 560px;
  border: 0;
}

.site-footer {
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(151, 7, 103, 0.08), rgba(2, 79, 37, 0.12)),
    linear-gradient(180deg, #16130f 0%, #0f0e0d 100%);
}

.footer-cta {
  padding: 54px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-cta__grid,
.footer-main,
.footer-bottom {
  display: grid;
  gap: 24px;
}

.footer-cta__grid {
  grid-template-columns: 1.2fr auto;
  align-items: center;
}

.footer-cta__grid h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  max-width: 14ch;
}

.footer-cta__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-main {
  grid-template-columns: 1.2fr 0.7fr 0.8fr;
  padding: 54px 0 28px;
}

.site-brand--footer .site-brand__text small,
.footer-copy,
.footer-links li,
.footer-links a,
.footer-bottom {
  color: rgba(255, 255, 255, 0.68);
}

.footer-main h3 {
  margin-bottom: 18px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.footer-bottom {
  grid-template-columns: 1fr auto;
  padding: 18px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.scroll-top {
  font-weight: 900;
}

@media (max-width: 1100px) {
  .site-header__bar,
  .hero__grid,
  .story-block,
  .detail-grid,
  .footer-main,
  .footer-cta__grid,
  .section-heading,
  .related-navigation {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .principles-grid,
  .contact-grid,
  .project-grid,
  .archive-grid,
  .project-gallery-grid,
  .hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-nav {
    justify-content: flex-start;
  }

  .site-header__meta {
    justify-content: flex-start;
  }

  .hero__content {
    padding-right: 0;
  }

  .hero__visual {
    padding-left: 0;
  }

  .hero-card {
    width: 100%;
  }
}

@media (max-width: 820px) {
  .site-header__bar {
    grid-template-columns: auto auto;
  }

  .site-header .site-brand img {
    width: auto;
    height: 92px;
    transform: none;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .site-nav,
  .site-header__meta {
    display: none;
  }

  .site-nav.is-open {
    display: grid;
    grid-column: 1 / -1;
    gap: 18px;
    padding: 18px 0 8px;
  }

  .site-nav.is-open a {
    font-size: 1.1rem;
  }

  .feature-grid,
  .principles-grid,
  .contact-grid,
  .project-grid,
  .archive-grid,
  .project-gallery-grid,
  .hero__stats {
    grid-template-columns: 1fr;
  }

  .hero__content {
    padding: 12px 0 0;
    max-width: 680px;
  }

  .hero-card {
    min-height: 520px;
  }

  .hero__stats {
    max-width: 420px;
  }

  .hero__stats article {
    max-width: 420px;
  }

  .hero-slider__nav {
    width: 50px;
    height: 50px;
  }

  .hero__content h1,
  .page-hero h1 {
    max-width: none;
  }

  .project-gallery__item img,
  .story-block__media img {
    min-height: 260px;
  }

  .detail-content {
    padding: 28px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .hero,
  .page-hero,
  .section {
    padding: 72px 0;
  }

  .site-header {
    padding: 4px 0;
  }

  .site-brand img {
    width: auto;
    height: 64px;
  }

  .site-header .site-brand img {
    width: auto;
    height: 84px;
    transform: none;
  }

  .hero__actions,
  .footer-cta__actions,
  .related-navigation__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions {
    align-items: flex-start;
  }

  .hero__content {
    max-width: none;
  }

  .hero-card {
    max-width: 340px;
  }

  .hero__stats {
    max-width: 340px;
    margin-left: 0;
    margin-right: 0;
  }

  .hero__stats article {
    max-width: 340px;
  }

  .hero__content p,
  .page-hero p,
  .hero-card__body p {
    max-width: 28ch;
  }

  .hero__content h1,
  .page-hero h1,
  .hero-card__body h2 {
    max-width: 9ch;
  }

  .hero__actions .button {
    width: auto;
  }

  .hero-card__body,
  .feature-card,
  .principle-card,
  .contact-card,
  .project-card__body,
  .archive-card__body,
  .info-panel {
    padding: 22px;
  }

  .hero-slider__nav {
    top: auto;
    bottom: 22px;
    transform: none;
    display: none;
  }

  .hero-slider__nav--prev {
    left: 14px;
  }

  .hero-slider__nav--next {
    right: 14px;
  }
}

.text-link::after {
  content: "\2192";
}
