:root {
  --font-main: Inter, "Segoe UI", Arial, sans-serif;
  --ink: #17201d;
  --muted: #66726d;
  --line: #dde5df;
  --paper: #f7f8f4;
  --white: #ffffff;
  --green: #53745e;
  --deep: #243c34;
  --clay: #c77a58;
  --gold: #c9a55f;
  --shadow: 0 24px 80px rgba(23, 32, 29, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.62;
  font-weight: 500;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  background: rgba(247, 248, 244, 0.78);
  color: var(--ink);
  box-shadow: 0 10px 34px rgba(23, 32, 29, 0.07);
  backdrop-filter: blur(12px);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled,
.site-header.open {
  background: rgba(247, 248, 244, 0.98);
  color: var(--ink);
  box-shadow: 0 12px 34px rgba(23, 32, 29, 0.1);
  backdrop-filter: blur(16px);
}

.brand img {
  width: 210px;
  height: auto;
}

.nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.nav a,
.phone-link {
  position: relative;
  white-space: nowrap;
}

.nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  content: "";
}

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

.phone-link {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 9px 15px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.15;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 120px clamp(20px, 6vw, 78px) 64px;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
}

.hero::before {
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 255, 255, 0.1), transparent 28%),
    linear-gradient(90deg, rgba(14, 23, 20, 0.42), rgba(14, 23, 20, 0.14) 34%, rgba(14, 23, 20, 0.02) 54%);
}

.hero::after {
  background:
    linear-gradient(135deg, rgba(13, 24, 20, 0.78) 0 29%, rgba(13, 24, 20, 0.42) 29.2% 42.5%, rgba(13, 24, 20, 0.06) 42.7% 100%),
    linear-gradient(180deg, rgba(17, 28, 24, 0.06), rgba(17, 28, 24, 0.34));
}

.property-hero::before,
.property-hero::after {
  display: none;
}

.property-hero .hero-content {
  width: min(720px, 100%);
  padding: clamp(22px, 3.5vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, rgba(13, 24, 20, 0.62), rgba(13, 24, 20, 0.34));
  box-shadow: 0 28px 70px rgba(10, 15, 13, 0.2);
  backdrop-filter: blur(3px);
  text-shadow: 0 2px 16px rgba(10, 15, 13, 0.52);
}

.property-hero h1 {
  font-size: clamp(42px, 5.8vw, 78px);
  line-height: 0.98;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f1c494;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(48px, 7.2vw, 104px);
  line-height: 0.95;
  font-weight: 900;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1.08;
  font-weight: 800;
}

h3 {
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.18;
  font-weight: 800;
}

.hero p:not(.eyebrow) {
  width: min(560px, 100%);
  font-size: clamp(18px, 1.85vw, 22px);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.15;
}

.button.primary {
  background: var(--green);
  color: var(--white);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.58);
  color: var(--white);
}

.button.ghost {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.quick-facts article {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 2.3vw, 26px);
  min-height: 132px;
  padding: clamp(22px, 4vw, 42px);
  background: var(--white);
  overflow: hidden;
  transition: transform 180ms ease;
}

.quick-facts article:hover,
.quick-facts article:focus-within {
  z-index: 1;
  transform: translateY(-4px);
}

.quick-facts article.quick-fact-link {
  cursor: pointer;
}

.quick-fact-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  color: inherit;
  text-decoration: none;
}

.quick-fact-overlay:focus-visible {
  outline: 3px solid rgba(206, 117, 74, 0.58);
  outline-offset: -8px;
}

.fact-icon {
  display: grid;
  place-items: center;
  width: clamp(46px, 5vw, 62px);
  height: clamp(46px, 5vw, 62px);
  border: 1px solid rgba(83, 116, 94, 0.28);
  border-radius: 50%;
  color: var(--green);
  background: rgba(83, 116, 94, 0.06);
  transition: transform 180ms ease;
}

.quick-facts article:hover .fact-icon,
.quick-facts article:focus-within .fact-icon {
  transform: translateY(-2px) scale(1.06);
}

.fact-icon svg {
  width: 52%;
  height: 52%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quick-facts strong {
  display: block;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.05;
  font-weight: 800;
}

.quick-facts span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.section,
.contact-section {
  padding: clamp(72px, 9vw, 132px) clamp(20px, 6vw, 78px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(32px, 7vw, 86px);
  align-items: start;
}

.property-description {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(23, 32, 29, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(23, 32, 29, 0.025) 1px, transparent 1px),
    linear-gradient(135deg, transparent 0 63%, rgba(206, 117, 74, 0.12) 63.1% 63.45%, transparent 63.55% 100%),
    #f7f8f4;
  background-size: 46px 46px, 46px 46px, 100% 100%, auto;
}

.property-description::before {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, transparent 0 34px, rgba(23, 32, 29, 0.035) 35px, transparent 36px),
    linear-gradient(90deg, rgba(247, 248, 244, 0.84), rgba(247, 248, 244, 0.54) 46%, rgba(247, 248, 244, 0.9));
  content: "";
  pointer-events: none;
}

.property-description > * {
  position: relative;
  z-index: 1;
}

.section-copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.feature-panel {
  position: sticky;
  top: 110px;
  border-left: 4px solid var(--green);
  background: var(--white);
  padding: clamp(24px, 4vw, 38px);
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.55;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 8px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--clay);
  border-radius: 50%;
  content: "";
}

.gallery-section,
.projects {
  background: var(--white);
}

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

.section-heading h2 {
  width: min(820px, 100%);
  margin-bottom: 0;
}

.projects .section-heading {
  position: relative;
  justify-content: flex-start;
  align-items: center;
  gap: 18px;
  padding-bottom: 22px;
}

.projects .section-heading::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--clay), rgba(83, 116, 94, 0.22), transparent 78%);
  content: "";
}

.projects .section-heading h2 {
  position: relative;
  padding-left: 24px;
}

.projects .section-heading h2::before {
  position: absolute;
  left: 0;
  top: 0.1em;
  bottom: 0.08em;
  width: 7px;
  background: linear-gradient(180deg, var(--green), var(--clay));
  content: "";
}

.title-accent,
.about-intro h2 strong {
  color: var(--green);
}

.about-intro h2 strong {
  background: linear-gradient(180deg, transparent 58%, rgba(199, 122, 88, 0.2) 58%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.title-accent {
  position: relative;
  display: inline-block;
}

.title-accent::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.08em;
  height: 0.12em;
  background: rgba(199, 122, 88, 0.42);
  content: "";
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.tab {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  padding: 10px 18px;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.15;
  cursor: pointer;
}

.tab.active {
  background: var(--deep);
  color: var(--white);
  border-color: var(--deep);
}

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

.gallery-grid.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-grid.compact.work-gallery {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.gallery-item {
  position: relative;
  min-height: 0;
  border: 0;
  background: var(--line);
  padding: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.gallery-item:hover img {
  transform: scale(1.045);
}

.gallery-item span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  width: fit-content;
  max-width: calc(100% - 24px);
  background: rgba(23, 32, 29, 0.78);
  color: var(--white);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.work-gallery .gallery-item {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  aspect-ratio: auto;
  min-height: 246px;
  background: #eef0e9;
  border: 1px solid rgba(23, 32, 29, 0.1);
  overflow: hidden;
}

.work-gallery .gallery-item img {
  height: 188px;
  padding: 4px;
  object-fit: contain;
  background: #f7f8f4;
}

.work-gallery .gallery-item:hover img {
  transform: none;
}

.work-gallery .gallery-item span {
  position: static;
  display: flex;
  align-items: center;
  width: auto;
  max-width: none;
  min-height: 54px;
  margin: 0;
  padding: 11px 12px;
  background: #17201d;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.gallery-actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.gallery-actions[hidden] {
  display: none;
}

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

.video-grid video {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--ink);
  object-fit: cover;
}

.project-showcase {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr;
  grid-template-rows: repeat(2, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.project-card {
  position: relative;
  min-height: 260px;
  color: var(--white);
  overflow: hidden;
}

.project-card.large {
  grid-row: span 2;
}

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

.project-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(13, 20, 17, 0.78));
  content: "";
}

.project-card div {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 1;
}

.project-card span {
  color: #f1c494;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.project-card h3 {
  margin-bottom: 0;
}

.about {
  background:
    linear-gradient(90deg, rgba(83, 116, 94, 0.1), rgba(255, 255, 255, 0) 44%),
    var(--paper);
}

.about-text-only .section-copy {
  width: min(1040px, 100%);
}

.about-feature {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: clamp(18px, 3.2vw, 42px) clamp(24px, 5vw, 64px);
  align-items: start;
  padding-top: clamp(56px, 6.5vw, 92px);
  padding-bottom: clamp(56px, 6.5vw, 92px);
  background:
    linear-gradient(90deg, rgba(23, 32, 29, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(23, 32, 29, 0.025) 1px, transparent 1px),
    linear-gradient(135deg, transparent 0 63%, rgba(206, 117, 74, 0.12) 63.1% 63.45%, transparent 63.55% 100%),
    #f7f8f4;
  background-size: 46px 46px, 46px 46px, 100% 100%, auto;
}

.about-feature::before {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, transparent 0 34px, rgba(23, 32, 29, 0.035) 35px, transparent 36px),
    linear-gradient(90deg, rgba(247, 248, 244, 0.82), rgba(247, 248, 244, 0.42) 44%, rgba(247, 248, 244, 0.86));
  content: "";
  pointer-events: none;
}

.about-feature > * {
  position: relative;
  z-index: 1;
}

.about-intro {
  max-width: 880px;
}

.about-side {
  display: grid;
  gap: 12px;
}

.about-side article {
  border-left: 4px solid var(--clay);
  background: var(--white);
  padding: 16px 20px;
  box-shadow: 0 14px 42px rgba(23, 32, 29, 0.09);
}

.about-side span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.about-side strong {
  display: block;
  font-size: clamp(19px, 1.5vw, 22px);
  line-height: 1.18;
  font-weight: 800;
}

.about-copy {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  box-shadow: 0 18px 64px rgba(23, 32, 29, 0.08);
}

.about-copy p {
  margin: 0;
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
  padding: clamp(20px, 3vw, 30px);
  font-size: 16px;
  line-height: 1.72;
}

.about-image img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: clamp(34px, 6vw, 78px);
  background: var(--deep);
  color: var(--white);
}

.contact-section.contact-simple {
  position: relative;
  overflow: hidden;
  grid-template-columns: minmax(0, 1344px);
  justify-content: center;
  gap: 28px;
  background:
    linear-gradient(135deg, rgba(241, 196, 148, 0.08) 0 28%, transparent 28% 100%),
    linear-gradient(135deg, #111714 0%, #1c2d27 54%, #151f1b 100%);
}

.contact-section.contact-simple::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(46vw, 560px);
  height: 1px;
  background: rgba(241, 196, 148, 0.38);
}

.contact-heading {
  position: relative;
  z-index: 1;
}

.contact-section .eyebrow {
  color: #f1c494;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.contact-grid a {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
}

.contact-grid a {
  display: grid;
  gap: 4px;
  padding: 18px;
}

.contact-grid span,
.contact-grid small {
  color: rgba(255, 255, 255, 0.68);
}

.contact-grid strong {
  font-size: 18px;
}

.contact-details {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

.contact-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  min-height: 260px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.2);
}

.person-card {
  grid-column: auto;
}

.office-card {
  grid-column: auto;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  min-height: 260px;
}

.contact-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(241, 196, 148, 0.44);
  border-radius: 50%;
  background: rgba(241, 196, 148, 0.12);
  color: #f1c494;
  font-size: 13px;
  font-weight: 800;
}

.contact-label {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-card h3 {
  margin-bottom: 8px;
  color: var(--white);
  font-size: clamp(24px, 1.8vw, 30px);
  line-height: 1.08;
  font-weight: 800;
}

.contact-card p {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1.55;
}

.contact-links {
  grid-column: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-self: end;
  margin-top: 24px;
  width: 100%;
}

.office-card .contact-links {
  grid-column: 2;
  margin-top: 24px;
}

.contact-links span,
.contact-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
}

.contact-links a {
  color: var(--white);
  font-size: clamp(13px, 0.9vw, 15px);
  font-weight: 800;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.contact-links span {
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(13px, 0.9vw, 15px);
  font-weight: 700;
  line-height: 1.15;
}

.contact-map-card {
  position: relative;
  z-index: 1;
  display: block;
  width: 100vw;
  min-height: 420px;
  margin-inline: calc(50% - 50vw);
  border-block: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.035)),
    radial-gradient(circle at 12% 18%, rgba(241, 196, 148, 0.18), transparent 30%);
  box-shadow: 0 30px 78px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.contact-map-card::before {
  content: "";
  position: absolute;
  inset: auto auto -38% -18%;
  width: 42%;
  aspect-ratio: 1;
  border: 1px solid rgba(241, 196, 148, 0.22);
  border-radius: 50%;
  pointer-events: none;
}

.map-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(241, 196, 148, 0.44);
  border-radius: 50%;
  background: rgba(241, 196, 148, 0.13);
  color: #f1c494;
}

.map-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.map-frame {
  position: relative;
  min-height: 420px;
  background:
    linear-gradient(135deg, rgba(17, 23, 20, 0.42) 0 48%, rgba(241, 196, 148, 0.05) 48.2% 48.8%, rgba(18, 38, 32, 0.72) 49% 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 42px);
  overflow: hidden;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.map-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  padding: clamp(34px, 6vw, 76px) 24px;
  background:
    radial-gradient(ellipse at center, rgba(13, 24, 20, 0.62) 0%, rgba(13, 24, 20, 0.42) 34%, rgba(13, 24, 20, 0) 68%);
  text-align: center;
}

.map-placeholder .map-icon {
  width: 72px;
  height: 72px;
}

.map-placeholder-copy {
  display: grid;
  justify-items: center;
  gap: 8px;
  max-width: 520px;
}

.map-placeholder-copy h3 {
  color: var(--white);
  font-size: clamp(24px, 2.15vw, 34px);
  line-height: 1.08;
  text-shadow: 0 2px 14px rgba(8, 14, 12, 0.45);
}

.map-placeholder-copy p:not(.contact-label) {
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.55;
  text-shadow: 0 2px 12px rgba(8, 14, 12, 0.36);
}

.map-actions {
  display: grid;
  justify-content: center;
  align-items: center;
  justify-items: center;
  gap: 12px;
}

.map-actions a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(8, 14, 12, 0.34);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: center;
  background: rgba(10, 15, 13, 0.94);
  padding: 68px 20px 38px;
}

.lightbox.open {
  display: grid;
}

.lightbox img {
  max-height: 78vh;
  width: auto;
  object-fit: contain;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.42);
}

.lightbox p {
  color: var(--white);
  font-weight: 900;
  text-align: center;
}

.lightbox button {
  position: fixed;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 0;
  line-height: 0;
}

.lightbox-close {
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
}

.lightbox-close::before,
.lightbox-close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transform-origin: center;
}

.lightbox-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.lightbox-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  width: 52px;
  height: 52px;
}

.lightbox-prev::before,
.lightbox-next::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 15px;
  border-top: 4px solid currentColor;
  border-right: 4px solid currentColor;
  border-radius: 2px;
  content: "";
  transform-origin: center;
}

.lightbox-prev {
  left: 22px;
}

.lightbox-prev::before {
  transform: translate(-40%, -50%) rotate(-135deg);
}

.lightbox-next {
  right: 22px;
}

.lightbox-next::before {
  transform: translate(-60%, -50%) rotate(45deg);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(20px, 6vw, 78px);
  background: #111714;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px 18px;
}

.footer-links a,
.footer-links button {
  color: rgba(255, 255, 255, 0.78);
}

.footer-links button {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--white);
}

.cookie-banner {
  position: fixed;
  left: clamp(14px, 3vw, 28px);
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 90;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(17, 23, 20, 0.96);
  color: rgba(255, 255, 255, 0.78);
  padding: clamp(18px, 2.4vw, 24px);
  box-shadow: 0 24px 80px rgba(10, 15, 13, 0.28);
}

.cookie-title {
  margin-bottom: 6px;
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
}

.cookie-banner p:not(.cookie-title) {
  margin-bottom: 10px;
  max-width: 820px;
  font-size: 14px;
  line-height: 1.5;
}

.cookie-links,
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.cookie-links {
  font-size: 13px;
  font-weight: 800;
}

.cookie-links a {
  color: #f1c494;
}

.cookie-actions {
  justify-content: flex-end;
}

.cookie-actions .button.ghost {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
}

.legal-page {
  padding-top: 130px;
  background:
    linear-gradient(90deg, rgba(83, 116, 94, 0.08), rgba(255, 255, 255, 0) 44%),
    var(--paper);
}

.legal-content {
  width: min(980px, 100%);
  margin: 0 auto;
}

.legal-content h1 {
  color: var(--ink);
  font-size: clamp(38px, 5vw, 72px);
  line-height: 0.98;
}

.legal-content h2 {
  margin-top: 34px;
  font-size: clamp(22px, 2.5vw, 32px);
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.legal-content ul {
  display: grid;
  gap: 8px;
  padding-left: 22px;
}

.legal-content code {
  border: 1px solid rgba(23, 32, 29, 0.1);
  background: rgba(83, 116, 94, 0.08);
  padding: 2px 6px;
  font: 700 0.92em Consolas, "Courier New", monospace;
}

.legal-card {
  margin-top: 28px;
  border-left: 4px solid var(--green);
  background: var(--white);
  padding: clamp(22px, 4vw, 34px);
  box-shadow: var(--shadow);
}

@media (prefers-reduced-motion: reduce) {
  .quick-facts article,
  .fact-icon {
    transition: none;
  }

  .quick-facts article:hover,
  .quick-facts article:focus-within,
  .quick-facts article:hover .fact-icon,
  .quick-facts article:focus-within .fact-icon {
    transform: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    justify-items: start;
    gap: 0;
    background: rgba(247, 248, 244, 0.98);
    color: var(--ink);
    padding: 12px 22px 24px;
    box-shadow: 0 18px 36px rgba(23, 32, 29, 0.1);
  }

  .nav.open {
    display: grid;
  }

  .nav a {
    width: 100%;
    padding: 12px 0;
  }

  .phone-link {
    justify-self: end;
  }

  .menu-toggle {
    display: block;
  }

  .split,
  .contact-section,
  .about-feature {
    grid-template-columns: 1fr;
  }

  .about-copy {
    grid-template-columns: 1fr;
  }

  .feature-panel {
    position: static;
  }

  .gallery-grid,
  .gallery-grid.compact,
  .video-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .work-gallery .gallery-item {
    min-height: 300px;
  }

  .work-gallery .gallery-item img {
    height: 244px;
  }

  .project-showcase {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .contact-details {
    grid-template-columns: 1fr;
  }

  .person-card,
  .office-card {
    grid-column: auto;
  }

  .office-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .office-card .contact-links {
    grid-column: 2;
    justify-content: flex-start;
    margin-top: 20px;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 360px;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 12px;
    padding: 14px 16px;
  }

  .brand img {
    width: 158px;
  }

  .phone-link {
    display: none;
  }

  .hero {
    min-height: 86vh;
    padding: 96px 18px 42px;
  }

  h1 {
    font-size: 36px;
    line-height: 1;
    overflow-wrap: normal;
  }

  .hero-content {
    width: 100%;
  }

  .hero p:not(.eyebrow) {
    font-size: 18px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero::after {
    background:
      linear-gradient(145deg, rgba(13, 24, 20, 0.72) 0 49%, rgba(13, 24, 20, 0.36) 49.2% 70%, rgba(13, 24, 20, 0.12) 70.2% 100%),
      linear-gradient(180deg, rgba(18, 28, 25, 0.32), rgba(18, 28, 25, 0.82));
  }

  .quick-facts,
  .gallery-grid,
  .gallery-grid.compact,
  .video-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid.compact.work-gallery {
    grid-template-columns: 1fr;
  }

  .section,
  .contact-section {
    padding: 62px 18px;
  }

  .contact-card,
  .office-card {
    grid-template-columns: 1fr;
  }

  .contact-mark {
    width: 50px;
    height: 50px;
  }

  .contact-links,
  .office-card .contact-links {
    grid-column: auto;
    margin-top: 18px;
  }

  .contact-map-card {
    min-height: 0;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 340px;
  }

  .map-actions {
    display: grid;
    width: min(100%, 280px);
  }

  .map-actions .button {
    width: 100%;
  }

  .contact-links a,
  .contact-links span {
    width: 100%;
    justify-content: center;
  }

  .site-footer,
  .footer-links,
  .cookie-actions {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .site-footer {
    flex-direction: column;
  }

  .cookie-actions .button {
    width: 100%;
  }

  .section-heading {
    display: block;
  }

  .lightbox-prev,
  .lightbox-next {
    top: auto;
    bottom: 22px;
  }
}
