:root {
  --bg: #f5f0e8;
  --surface: #fffdf8;
  --surface-strong: #e8ddcf;
  --surface-deep: #d9cfbf;
  --text: #1f241d;
  --muted: #5e6659;
  --line: rgba(31, 36, 29, 0.12);
  --accent: #315f52;
  --accent-deep: #27493f;
  --accent-soft: #e4ede9;
  --shadow: 0 20px 60px rgba(42, 45, 36, 0.12);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Sora", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(113, 143, 125, 0.18), transparent 26%),
    linear-gradient(180deg, #f7f4ee 0%, #f5f0e8 48%, #fbf8f2 100%);
}

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

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

button {
  font: inherit;
}

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

.cookie-slot:empty {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(253, 249, 242, 0.84);
  border-bottom: 1px solid rgba(31, 36, 29, 0.08);
}

.header-row,
.desktop-nav,
.hero-actions,
.logo-row,
.section-heading,
.feature-list,
.project-meta,
.contact-banner,
.footer-row,
.footer-links {
  display: flex;
}

.header-row {
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
}

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

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(49, 95, 82, 0.2), rgba(49, 95, 82, 0.92)),
    #315f52;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.brand-icon::before,
.brand-icon::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 999px;
}

.brand-icon::before {
  inset: 11px 24px 11px 8px;
  transform: skew(-18deg);
}

.brand-icon::after {
  inset: 11px 8px 11px 24px;
  transform: skew(18deg);
}

.brand-copy {
  display: grid;
  gap: 4px;
}

.brand-copy strong {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.brand-copy small {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.desktop-nav {
  align-items: center;
  gap: 30px;
}

.desktop-nav a,
.mobile-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}

.desktop-nav a.is-active,
.desktop-nav a:hover,
.mobile-nav a:hover {
  color: var(--accent);
}

.header-cta,
.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.header-cta,
.button-primary {
  background: var(--accent);
  color: #fff;
}

.header-cta {
  min-height: 52px;
  padding: 0 24px;
  font-size: 0.92rem;
  font-weight: 600;
}

.header-cta:hover,
.button-primary:hover {
  transform: translateY(-2px);
  background: var(--accent-deep);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 0 16px 20px;
}

.mobile-nav.is-open {
  display: flex;
}

.hero-section {
  position: relative;
  min-height: 760px;
  overflow: hidden;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  background:
    linear-gradient(120deg, rgba(28, 40, 28, 0.18), rgba(28, 40, 28, 0.02)),
    url("https://images.unsplash.com/photo-1494526585095-c41746248156?auto=format&fit=crop&w=1800&q=80") center center / cover no-repeat;
  transform: scale(1.03);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(25, 28, 22, 0.58) 0%, rgba(25, 28, 22, 0.24) 42%, rgba(25, 28, 22, 0.06) 72%, rgba(25, 28, 22, 0.18) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  min-height: 760px;
  display: grid;
  align-content: center;
  max-width: 760px;
  padding-top: 72px;
  padding-bottom: 72px;
  color: #fff;
}

.kicker,
.section-label,
.project-meta span,
.logo-row span {
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.kicker,
.section-label {
  margin: 0 0 18px;
  font-size: 0.75rem;
  font-weight: 600;
}

.hero-content h1,
.section-copy h2,
.section-heading h2,
.contact-banner h2,
.subpage-hero h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.hero-content h1 {
  max-width: 10ch;
  font-size: clamp(4.3rem, 10vw, 6.8rem);
  line-height: 0.92;
}

.hero-text {
  max-width: 620px;
  margin: 28px 0 0;
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.button-primary,
.button-secondary {
  min-height: 56px;
  padding: 0 26px;
  font-size: 0.92rem;
  font-weight: 600;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.button-secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.24);
}

.logo-strip {
  background: rgba(255, 253, 248, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(31, 36, 29, 0.08);
}

.logo-row {
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 120px;
  flex-wrap: wrap;
}

.logo-row span {
  color: rgba(31, 36, 29, 0.34);
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  font-weight: 700;
}

.section {
  padding: 100px 0;
}

.about-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 52px;
  align-items: center;
}

.section-copy h2,
.section-heading h2,
.contact-banner h2,
.subpage-hero h1 {
  font-size: clamp(3rem, 6vw, 4.6rem);
  line-height: 0.96;
}

.section-copy p,
.section-intro,
.project-content p,
.testimonial-quote blockquote,
.stats-panel span,
.contact-banner p,
.footer-row p,
.subpage-hero p,
.service-card p {
  color: var(--muted);
  line-height: 1.9;
}

.feature-list {
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.feature-list div,
.service-card,
.project-card,
.stats-panel,
.contact-banner,
.subpage-hero,
.mini-gallery img,
.mosaic-card {
  border-radius: var(--radius-md);
}

.feature-list div {
  min-width: 170px;
  padding: 18px 20px;
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid var(--line);
}

.feature-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.feature-list span {
  font-size: 0.9rem;
  color: var(--muted);
}

.mosaic-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
}

.mosaic-card {
  overflow: hidden;
  box-shadow: var(--shadow);
}

.mosaic-card img {
  height: 100%;
  object-fit: cover;
}

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

.section-heading {
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.section-intro {
  max-width: 440px;
  margin: 0;
}

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

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

.service-card {
  padding: 32px;
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid var(--line);
}

.service-card h3,
.project-content h3 {
  margin: 0 0 14px;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.project-card {
  overflow: hidden;
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.project-card img {
  aspect-ratio: 1.16;
  object-fit: cover;
}

.project-content {
  padding: 28px;
}

.project-meta {
  gap: 16px;
  margin-bottom: 16px;
}

.project-meta span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
}

.testimonial-grid {
  align-items: stretch;
}

.testimonial-quote,
.stats-panel {
  padding: 38px;
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid var(--line);
}

.testimonial-quote blockquote {
  margin: 0 0 18px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  color: var(--text);
}

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

.stats-panel {
  display: grid;
  gap: 22px;
}

.stats-panel strong {
  display: block;
  margin-bottom: 8px;
  font-size: 2rem;
  color: var(--accent);
}

.contact-banner {
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 44px 46px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(228, 237, 233, 0.92)),
    var(--accent-soft);
  border: 1px solid rgba(49, 95, 82, 0.15);
  box-shadow: var(--shadow);
}

.contact-banner p {
  max-width: 660px;
  margin-bottom: 0;
}

.site-footer {
  padding: 0 0 56px;
}

.footer-row {
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.footer-row strong {
  display: block;
  margin-bottom: 10px;
}

.footer-row p {
  max-width: 420px;
  margin: 0;
}

.footer-links {
  gap: 22px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
}

.subpage-shell {
  padding: 40px 0 80px;
}

.subpage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.back-link {
  color: var(--accent);
  font-weight: 600;
}

.subpage-hero {
  padding: 42px;
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.subpage-hero p:last-child {
  max-width: 760px;
  margin-bottom: 0;
}

.mini-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.mini-gallery img {
  aspect-ratio: 0.9;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 1080px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .hero-section,
  .hero-content {
    min-height: 680px;
  }

  .about-grid,
  .testimonial-grid,
  .project-grid,
  .services-grid,
  .mini-gallery {
    grid-template-columns: 1fr;
  }

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

  .mosaic-card.tall {
    min-height: 420px;
  }

  .contact-banner,
  .section-heading,
  .footer-row {
    flex-direction: column;
    align-items: start;
  }
}

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

  .header-row {
    min-height: 76px;
  }

  .brand-copy small {
    letter-spacing: 0.1em;
  }

  .hero-section,
  .hero-content {
    min-height: 640px;
  }

  .hero-content {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .hero-content h1 {
    max-width: 8.6ch;
    font-size: clamp(3.2rem, 16vw, 4.8rem);
  }

  .hero-text,
  .section-copy p,
  .section-intro,
  .project-content p,
  .contact-banner p,
  .subpage-hero p {
    font-size: 0.95rem;
    line-height: 1.8;
  }

  .logo-row {
    justify-content: center;
    min-height: auto;
    padding: 28px 0;
  }

  .logo-row span {
    font-size: 1rem;
  }

  .section {
    padding: 72px 0;
  }

  .section-copy h2,
  .section-heading h2,
  .contact-banner h2,
  .subpage-hero h1 {
    font-size: clamp(2.5rem, 12vw, 3.5rem);
  }

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

  .mosaic-card.tall {
    grid-row: auto;
    min-height: 340px;
  }

  .service-card,
  .project-content,
  .testimonial-quote,
  .stats-panel,
  .subpage-hero,
  .contact-banner {
    padding: 26px;
  }

  .hero-actions,
  .feature-list,
  .footer-links {
    width: 100%;
  }

  .button-primary,
  .button-secondary,
  .contact-banner .button-primary {
    width: 100%;
  }
}
