:root {
  --ink: #17211d;
  --ink-soft: #4f5d56;
  --forest: #173f33;
  --forest-deep: #0d2b23;
  --forest-light: #e8f0ec;
  --gold: #c88a3d;
  --gold-dark: #9a6226;
  --cream: #f7f3eb;
  --paper: #fffdf8;
  --white: #ffffff;
  --line: #ddd8ce;
  --shadow: 0 18px 55px rgba(21, 48, 39, 0.12);
  --shadow-soft: 0 9px 30px rgba(21, 48, 39, 0.08);
  --radius: 1.25rem;
  --radius-sm: 0.75rem;
  --container: min(1160px, calc(100% - 2rem));
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(200, 138, 61, 0.7);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 999;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--forest-deep);
  border-radius: 0.4rem;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding: clamp(4.2rem, 8vw, 7rem) 0;
}

.section-sm {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.section-cream {
  background: var(--cream);
}

.section-forest {
  color: var(--white);
  background: var(--forest-deep);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.9rem;
  color: var(--gold-dark);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2.4rem;
  height: 2px;
  background: currentColor;
  content: "";
}

.section-forest .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow {
  color: #f0bd72;
}

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 5.65rem);
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(2.15rem, 4.8vw, 3.7rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  letter-spacing: -0.018em;
}

.lead {
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.8vw, 1.24rem);
  line-height: 1.72;
}

.section-forest .lead,
.page-hero .lead {
  color: rgba(255, 255, 255, 0.78);
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading.center .eyebrow {
  justify-content: center;
}

.section-heading.center .eyebrow::after {
  width: 2.4rem;
  height: 2px;
  background: currentColor;
  content: "";
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.25rem;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--forest-deep);
  background: #efb75f;
  box-shadow: 0 10px 26px rgba(200, 138, 61, 0.25);
}

.btn-primary:hover {
  background: #f6c779;
}

.btn-dark {
  color: var(--white);
  background: var(--forest);
}

.btn-dark:hover {
  background: var(--forest-deep);
  box-shadow: var(--shadow-soft);
}

.btn-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.btn-light:hover {
  color: var(--forest-deep);
  background: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--forest);
  font-weight: 800;
  text-underline-offset: 0.2em;
}

.text-link::after {
  content: "→";
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: translateX(0.25rem);
}

.topbar {
  color: rgba(255, 255, 255, 0.92);
  background: var(--forest-deep);
  font-size: 0.84rem;
}

.topbar-inner {
  display: flex;
  min-height: 2.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar a {
  font-weight: 750;
  text-decoration: none;
}

.topbar-rating {
  color: #f4c473;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 248, 0.96);
  border-bottom: 1px solid rgba(23, 63, 51, 0.1);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: 5.2rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand img {
  width: 3.15rem;
  height: 3.15rem;
  flex: 0 0 auto;
  border: 2px solid rgba(154, 98, 38, 0.24);
  border-radius: 50%;
  background: var(--cream);
}

.brand-name {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1rem, 2.2vw, 1.27rem);
  font-weight: 700;
  line-height: 1.05;
}

.brand-tagline {
  display: block;
  margin-top: 0.2rem;
  color: var(--ink-soft);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.1;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.site-nav > a:not(.btn) {
  position: relative;
  padding: 0.6rem 0;
  font-size: 0.91rem;
  font-weight: 750;
  text-decoration: none;
}

.site-nav > a:not(.btn)::after {
  position: absolute;
  right: 0;
  bottom: 0.3rem;
  left: 0;
  height: 2px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav > a:not(.btn):hover::after,
.site-nav > a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: var(--cream);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 1.25rem;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-open .nav-toggle span {
  opacity: 0;
}

.nav-open .nav-toggle::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle::after {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: clamp(640px, 79vh, 850px);
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--forest-deep);
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url("../images/project-02.webp") center 58% / cover no-repeat;
  content: "";
  transform: scale(1.015);
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 31, 25, 0.93) 0%, rgba(8, 31, 25, 0.75) 46%, rgba(8, 31, 25, 0.18) 78%),
    linear-gradient(0deg, rgba(8, 31, 25, 0.75) 0%, transparent 45%);
  content: "";
}

.hero-content {
  max-width: 780px;
  padding: clamp(5rem, 10vw, 8.5rem) 0 clamp(4rem, 8vw, 6rem);
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 1.4rem;
  text-wrap: balance;
}

.hero .lead {
  max-width: 650px;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.86);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.4rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-proof li::before {
  margin-right: 0.45rem;
  color: #f0bd72;
  content: "✓";
}

.trust-strip {
  position: relative;
  z-index: 5;
  margin-top: -1px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  display: flex;
  min-height: 7.3rem;
  align-items: center;
  gap: 0.8rem;
  padding: 1.3rem clamp(0.8rem, 2vw, 1.8rem);
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-number {
  color: var(--forest);
  font-family: var(--serif);
  font-size: 2.05rem;
  font-weight: 700;
  line-height: 1;
}

.trust-copy {
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-transform: uppercase;
}

.stars {
  color: #d89129;
  letter-spacing: 0.05em;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.service-card {
  position: relative;
  min-height: 100%;
  padding: clamp(1.4rem, 3vw, 2rem);
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(23, 63, 51, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.service-number {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  margin-bottom: 1.4rem;
  place-items: center;
  color: var(--forest);
  background: var(--forest-light);
  border-radius: 50%;
  font-family: var(--serif);
  font-weight: 700;
}

.service-card h3 {
  margin-bottom: 0.8rem;
}

.service-card p {
  color: var(--ink-soft);
}

.service-card .text-link {
  margin-top: 0.5rem;
}

.service-card--photo {
  min-height: 24rem;
  padding: 0;
  background: var(--forest-deep);
  border: 0;
  isolation: isolate;
}

.service-card--photo::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 43, 35, 0.04) 0%, rgba(13, 43, 35, 0.46) 48%, rgba(13, 43, 35, 0.97) 100%);
  content: "";
}

.service-card-photo {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.service-card--photo:nth-child(1) .service-card-photo {
  object-position: 45% center;
}

.service-card--photo:nth-child(2) .service-card-photo {
  object-position: 45% center;
}

.service-card--photo:nth-child(3) .service-card-photo {
  object-position: 48% center;
}

.service-card--photo:hover .service-card-photo {
  transform: scale(1.035);
}

.service-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 24rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}

.service-card--photo .service-number {
  margin-bottom: 1rem;
  color: var(--forest-deep);
  background: var(--gold);
}

.service-card--photo h3,
.service-card--photo p {
  color: var(--white);
}

.service-card--photo p {
  text-shadow: 0 1px 1px rgba(13, 43, 35, 0.24);
}

.service-card--photo .text-link {
  color: var(--gold);
}

@media (prefers-reduced-motion: reduce) {
  .service-card-photo {
    transition: none;
  }
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.2rem, 6vw, 5.5rem);
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.split-media {
  position: relative;
}

.split-media > img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split-media .portrait {
  aspect-ratio: 4 / 5;
}

.featured-transformation-images {
  display: grid;
  gap: 0.875rem;
  width: 100%;
  max-width: 400px;
  margin-inline: auto;
}

.featured-transformation-images img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 55%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-note {
  position: absolute;
  right: -1.2rem;
  bottom: 2rem;
  max-width: 250px;
  padding: 1.1rem 1.25rem;
  color: var(--white);
  background: var(--forest);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.media-note strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--serif);
  font-size: 1.15rem;
}

.media-note span {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
}

@media (min-width: 981px) {
  .featured-transformation-images {
    max-width: 300px;
  }
}

.check-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.5rem 0 2rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.check-list li::before {
  display: grid;
  width: 1.55rem;
  height: 1.55rem;
  flex: 0 0 auto;
  margin-top: 0.08rem;
  place-items: center;
  color: var(--forest);
  background: var(--forest-light);
  border-radius: 50%;
  content: "✓";
  font-size: 0.78rem;
  font-weight: 900;
}

.gallery-preview {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  grid-template-rows: repeat(2, minmax(190px, 1fr));
  gap: 0.75rem;
}

.gallery-preview a,
.gallery-item {
  position: relative;
  display: block;
  min-height: 100%;
  overflow: hidden;
  background: var(--forest-light);
  border-radius: var(--radius-sm);
}

.gallery-preview a:first-child {
  grid-row: 1 / 3;
}

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

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

.gallery-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 2.5rem 1rem 0.9rem;
  color: var(--white);
  background: linear-gradient(transparent, rgba(8, 31, 25, 0.84));
  font-size: 0.86rem;
  font-weight: 800;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: process;
}

.process-step {
  position: relative;
  padding-top: 4rem;
  counter-increment: process;
}

.process-step::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  color: var(--forest-deep);
  background: #efb75f;
  border-radius: 50%;
  content: counter(process, decimal-leading-zero);
  font-family: var(--serif);
  font-weight: 700;
}

.process-step:not(:last-child)::after {
  position: absolute;
  top: 1.5rem;
  left: 4rem;
  width: calc(100% - 4rem);
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
  content: "";
}

.process-step p {
  color: rgba(255, 255, 255, 0.7);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.quote-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--white);
  border: 1px solid rgba(23, 63, 51, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.quote-mark {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 4.5rem;
  line-height: 0.65;
}

.quote-card blockquote {
  flex: 1;
  margin: 1rem 0 1.4rem;
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.45;
}

.quote-card footer {
  color: var(--ink-soft);
  font-size: 0.87rem;
}

.quote-card footer strong {
  display: block;
  color: var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.review-carousel {
  --review-gap: 1rem;
  position: relative;
  width: 100%;
}

.review-carousel-toolbar {
  display: flex;
  min-height: 1.5rem;
  margin-bottom: 0.75rem;
  align-items: center;
  justify-content: center;
}

.review-carousel-status {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 800;
}

.review-carousel-stage {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) 3rem;
  align-items: center;
  gap: 0.8rem;
}

.review-carousel-button {
  display: grid;
  width: 3rem;
  height: 3rem;
  padding: 0;
  place-items: center;
  color: var(--white);
  background: var(--forest);
  border: 0;
  border-radius: 50%;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.review-carousel-button:hover {
  background: var(--forest-deep);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.review-carousel-button:focus-visible,
.review-carousel-viewport:focus-visible,
.review-read-more:focus-visible,
.google-review-link:focus-visible {
  outline: 3px solid rgba(200, 138, 61, 0.55);
  outline-offset: 3px;
}

.review-carousel-viewport {
  overflow: hidden;
  padding: 0.2rem 0 0.5rem;
  touch-action: pan-y;
}

.review-carousel-track {
  display: flex;
  align-items: stretch;
  gap: var(--review-gap);
  will-change: transform;
  transition: transform 420ms cubic-bezier(0.22, 0.72, 0.25, 1);
}

.review-carousel-track.is-jumping {
  transition: none;
}

.review-carousel-slide {
  display: flex;
  min-width: 0;
  flex: 0 0 calc((100% - (var(--review-gap) * 2)) / 3);
}

.review-card {
  display: flex;
  width: 100%;
  min-height: 20rem;
  padding: clamp(1.1rem, 2vw, 1.35rem);
  flex-direction: column;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(23, 63, 51, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.review-avatar {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  flex: 0 0 auto;
  place-items: center;
  color: var(--white);
  background: var(--forest);
  border: 2px solid rgba(200, 138, 61, 0.34);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.review-avatar[data-avatar-color="0"] {
  background: #173f33;
}

.review-avatar[data-avatar-color="1"] {
  background: #9a6226;
}

.review-avatar[data-avatar-color="2"] {
  background: #476a73;
}

.review-avatar[data-avatar-color="3"] {
  background: #7a4a45;
}

.review-avatar[data-avatar-color="4"] {
  background: #5f7042;
}

.review-avatar[data-avatar-color="5"] {
  background: #2f6a62;
}

.reviewer-details {
  min-width: 0;
}

.reviewer-details h3 {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.25;
}

.review-date {
  margin: 0.2rem 0 0;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.review-stars {
  margin: 0.8rem 0 0.65rem;
  color: #d89129;
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  line-height: 1;
}

.review-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}

.review-text {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 0.98rem;
  line-height: 1.48;
  white-space: pre-line;
}

.review-text.is-collapsed {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
}

.review-rating-only {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 0.98rem;
  font-style: italic;
  line-height: 1.52;
}

.review-read-more {
  margin-top: 0.75rem;
  padding: 0;
  color: var(--forest);
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.review-card-footer {
  margin-top: 0.85rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
}

.google-review-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--forest);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.055em;
  text-decoration: none;
  text-transform: uppercase;
}

.google-review-link::after {
  content: "↗";
  font-size: 0.9em;
}

.review-carousel-fallback {
  padding: 1rem;
  color: var(--ink-soft);
  background: var(--white);
  border-radius: var(--radius-sm);
}

@media (max-width: 1000px) {
  .review-carousel-slide {
    flex-basis: calc((100% - var(--review-gap)) / 2);
  }
}

@media (max-width: 720px) {
  .review-carousel-toolbar {
    justify-content: center;
  }

  .review-carousel-status {
    max-width: none;
    text-align: center;
  }

  .review-carousel-stage {
    grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem;
    gap: 0.45rem;
  }

  .review-carousel-button {
    width: 2.75rem;
    height: 2.75rem;
  }

  .review-carousel-slide {
    flex-basis: 100%;
  }

  .review-card {
    min-height: 19rem;
    padding: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .review-carousel-track,
  .review-carousel-button {
    transition: none;
  }
}

.area-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.town-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.town-list-compact {
  grid-template-columns: repeat(2, 1fr);
}

.town-list li {
  padding-bottom: 0.65rem;
  color: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.cta-band {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--forest);
  isolation: isolate;
}

.cta-band::after {
  position: absolute;
  z-index: -1;
  top: -8rem;
  right: -6rem;
  width: 28rem;
  height: 28rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 3rem rgba(255, 255, 255, 0.03), 0 0 0 7rem rgba(255, 255, 255, 0.02);
  content: "";
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.cta-inner h2 {
  max-width: 720px;
  margin-bottom: 0.8rem;
}

.cta-inner p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.page-hero {
  position: relative;
  display: grid;
  min-height: 440px;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--forest-deep);
  isolation: isolate;
}

.page-hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: var(--page-image, url("../images/project-01.webp")) center / cover no-repeat;
  content: "";
}

.page-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 31, 25, 0.93), rgba(8, 31, 25, 0.57) 60%, rgba(8, 31, 25, 0.25));
  content: "";
}

.page-hero-content {
  max-width: 790px;
  padding: clamp(4.2rem, 8vw, 6.5rem) 0;
}

.page-hero h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.75rem, 6vw, 4.85rem);
}

.page-hero .lead {
  max-width: 680px;
  margin-bottom: 0;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.service-detail {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--white);
  border: 1px solid rgba(23, 63, 51, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.service-detail--photo {
  position: relative;
  min-height: 465px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
  color: var(--white);
  background-color: var(--forest-deep);
  background-image: var(--service-image);
  background-position: var(--service-position, center);
  background-size: cover;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 18px 42px rgba(13, 43, 34, 0.18);
}

.service-detail--photo::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, rgba(13, 43, 34, 0.12) 0%, rgba(13, 43, 34, 0.38) 38%, rgba(13, 43, 34, 0.94) 100%);
}

.service-detail--photo h2 {
  color: var(--white);
}

.service-detail--photo p,
.service-detail--photo li {
  color: rgba(255, 255, 255, 0.9);
}

.service-detail.service-detail--photo .kicker {
  color: #ffd38c;
}

.service-detail--photo .check-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 0.8rem;
  margin-bottom: 0;
  font-size: 0.92rem;
}

.service-detail--photo .check-list li {
  gap: 0.5rem;
}

.service-detail--photo .check-list li::before {
  width: 1.35rem;
  height: 1.35rem;
  color: var(--forest-deep);
  background: var(--gold);
}

@media (max-width: 480px) {
  .service-detail--photo {
    min-height: 520px;
  }

  .service-detail--photo .check-list {
    grid-template-columns: 1fr;
  }
}

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

.service-detail .kicker {
  color: var(--gold-dark);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 1rem;
  color: var(--ink-soft);
  background: var(--cream);
  border-radius: var(--radius-sm);
}

.feature-list strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--ink);
}

.faq-list {
  display: grid;
  gap: 0.7rem;
  max-width: 860px;
  margin-inline: auto;
}

.faq-list details {
  padding: 1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list details p {
  margin: 1rem 0 0;
  color: var(--ink-soft);
}

.gallery-grid {
  columns: 3 260px;
  column-gap: 0.9rem;
}

.gallery-item {
  min-height: 0;
  margin: 0 0 0.9rem;
  break-inside: avoid;
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: auto;
  min-height: 220px;
  object-fit: cover;
}

.lightbox {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: none;
  padding: clamp(1rem, 3vw, 2rem);
  place-items: center;
  background: rgba(5, 18, 15, 0.94);
  overscroll-behavior: contain;
}

.lightbox.open {
  display: grid;
}

.lightbox-dialog {
  position: relative;
  display: grid;
  width: min(1280px, 100%);
  height: min(920px, 100%);
  place-items: center;
}

.lightbox-figure {
  display: grid;
  width: min(1100px, calc(100vw - 8rem));
  max-height: 90vh;
  margin: 0;
  grid-template-rows: minmax(0, 1fr) auto;
}

.lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 86vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.45);
}

.lightbox-figure img {
  width: 100%;
  max-width: none;
  min-height: 0;
}

.lightbox-caption {
  display: flex;
  min-height: 3rem;
  padding: 0.8rem 0.2rem 0;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
}

.lightbox-caption [data-lightbox-counter] {
  flex: 0 0 auto;
  color: #f0bd72;
  font-weight: 850;
}

.lightbox-counter-only {
  justify-content: center;
}

.lightbox-close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  color: var(--forest-deep);
  background: var(--white);
}

.lightbox-nav {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  padding: 0;
  place-items: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  font-size: 2.2rem;
  line-height: 1;
  transform: translateY(-50%);
}

.lightbox-nav[hidden] {
  display: none;
}

.lightbox-previous {
  left: 0;
}

.lightbox-next {
  right: 0;
}

.about-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.about-stat {
  padding: 1.25rem;
  background: var(--cream);
  border-radius: var(--radius-sm);
}

.about-stat strong {
  display: block;
  color: var(--forest);
  font-family: var(--serif);
  font-size: 1.8rem;
  line-height: 1;
}

.about-stat span {
  color: var(--ink-soft);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.contact-card {
  padding: 1.7rem;
  color: var(--white);
  background: var(--forest-deep);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-card h2 {
  font-size: 2rem;
}

.contact-list {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-list a {
  color: var(--white);
  font-weight: 750;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
}

.contact-list small {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.estimate-form {
  padding: clamp(1.4rem, 4vw, 2.5rem);
  background: var(--white);
  border: 1px solid rgba(23, 63, 51, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field.full {
  grid-column: 1 / -1;
}

.field label,
.fieldset-title {
  color: var(--ink);
  font-size: 0.87rem;
  font-weight: 800;
}

.field input:not([type="checkbox"]):not([type="radio"]),
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #cfc9bd;
  border-radius: 0.55rem;
}

.field input:not([type="checkbox"]):not([type="radio"]):focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(200, 138, 61, 0.5);
  border-color: var(--gold);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field-note {
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.optional-fields {
  grid-column: 1 / -1;
  margin-top: 0.25rem;
  padding: 1rem 1.1rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.optional-fields summary {
  color: var(--forest);
  cursor: pointer;
  font-weight: 850;
}

.optional-fields > .field-note {
  margin: 0.45rem 0 1rem;
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.radio-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 0.75rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 700;
}

.form-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.form-consent input {
  margin-top: 0.25rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 1.25rem;
}

.form-actions small {
  color: var(--ink-soft);
}

.form-disclaimer {
  margin: 0.85rem 0 0;
  color: var(--ink-soft);
  font-size: 0.74rem;
  line-height: 1.5;
}

.privacy-content {
  max-width: 820px;
  margin-inline: auto;
}

.privacy-content h2 {
  margin-top: 2.5rem;
  font-size: 1.75rem;
}

.site-footer {
  padding: 4rem 0 1.5rem;
  color: rgba(255, 255, 255, 0.76);
  background: #071d17;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.85fr 1fr;
  gap: 2.5rem;
}

.footer-brand .brand-name,
.footer-brand .brand-tagline {
  color: var(--white);
}

.footer-brand p {
  max-width: 360px;
  margin-top: 1.2rem;
}

.footer-title {
  margin-bottom: 1rem;
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.79rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer-bottom {
  display: flex;
  margin-top: 3rem;
  padding-top: 1.2rem;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
}

.footer-bottom a {
  color: inherit;
}

.mobile-call-bar {
  display: none;
}

@media (max-width: 1000px) {
  .site-nav {
    position: fixed;
    top: calc(2.5rem + 5.2rem);
    right: 0;
    bottom: auto;
    left: auto;
    z-index: 99;
    display: flex;
    width: min(100%, 420px);
    height: calc(100dvh - 7.7rem);
    padding: 2rem 1.2rem 6rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    box-shadow: -18px 0 50px rgba(7, 29, 23, 0.16);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 180ms ease, visibility 180ms ease;
    overflow-y: auto;
  }

  .nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .site-nav > a:not(.btn) {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--serif);
    font-size: 1.45rem;
  }

  .site-nav .btn {
    margin-top: 1.3rem;
  }

  .nav-toggle {
    display: block;
  }

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

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .service-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-grid .quote-card:last-child {
    grid-column: 1 / -1;
  }

  .split,
  .split.reverse,
  .area-grid,
  .form-layout {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-media {
    order: -1;
  }

  .area-grid {
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 4.55rem;
  }

  .topbar-inner {
    justify-content: center;
    text-align: center;
  }

  .topbar-rating {
    display: none;
  }

  .header-inner {
    min-height: 4.65rem;
  }

  .brand img {
    width: 2.8rem;
    height: 2.8rem;
  }

  .brand-tagline {
    display: none;
  }

  .site-nav {
    top: calc(2.5rem + 4.65rem);
    height: calc(100dvh - 7.15rem);
  }

  .hero {
    min-height: 680px;
  }

  .hero::before {
    background-position: 58% center;
  }

  .hero::after {
    background: linear-gradient(0deg, rgba(8, 31, 25, 0.96) 0%, rgba(8, 31, 25, 0.77) 62%, rgba(8, 31, 25, 0.3) 100%);
  }

  .hero-content {
    padding-bottom: 3rem;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 14vw, 4rem);
  }

  .hero .btn-row .btn {
    width: 100%;
  }

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

  .trust-item {
    min-height: 6.4rem;
    padding: 1rem;
  }

  .trust-number {
    font-size: 1.6rem;
  }

  .service-grid,
  .testimonial-grid,
  .service-detail-grid,
  .process-grid,
  .feature-list,
  .form-grid,
  .about-stat-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-grid .quote-card:last-child {
    grid-column: auto;
  }

  .split-media > img {
    min-height: 390px;
  }

  .media-note {
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .gallery-preview {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 190px 190px;
  }

  .gallery-preview a:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .process-step:not(:last-child)::after {
    top: 3.5rem;
    left: 1.5rem;
    width: 1px;
    height: calc(100% - 2rem);
  }

  .town-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-inner {
    grid-template-columns: 1fr;
  }

  .cta-inner .btn-row {
    align-items: stretch;
    flex-direction: column;
  }

  .page-hero {
    min-height: 390px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

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

  .field.full,
  .field {
    grid-column: 1;
  }

  .mobile-call-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 200;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding: 0.65rem;
    background: rgba(7, 29, 23, 0.97);
    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(12px);
  }

  .mobile-call-bar .btn {
    min-height: 3.15rem;
    padding: 0.75rem;
    font-size: 0.84rem;
  }
}

@media (max-width: 430px) {
  .brand-name {
    font-size: 0.94rem;
  }

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

  .trust-item,
  .trust-item:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .hero-proof,
  .town-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .gallery-preview {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 230px);
  }

  .gallery-preview a:first-child {
    grid-column: auto;
  }
}

/* Portfolio archive and reusable project pages */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.portfolio-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(23, 63, 51, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.portfolio-card:hover {
  border-color: rgba(200, 138, 61, 0.5);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.portfolio-card-media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--forest-light);
}

.portfolio-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms ease;
}

.portfolio-card:hover .portfolio-card-media img {
  transform: scale(1.05);
}

.portfolio-card-content {
  display: flex;
  min-height: 18.25rem;
  padding: 1.35rem;
  flex: 1;
  flex-direction: column;
}

.portfolio-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.portfolio-card-meta span {
  padding: 0.32rem 0.55rem;
  color: var(--forest);
  background: var(--forest-light);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.055em;
  line-height: 1.25;
  text-transform: uppercase;
}

.portfolio-card-title {
  display: block;
  margin-bottom: 0.7rem;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.12;
}

.portfolio-card-description {
  display: block;
  margin-bottom: 1.35rem;
  color: var(--ink-soft);
  line-height: 1.62;
}

.portfolio-card-footer {
  display: flex;
  margin-top: auto;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.portfolio-card-location {
  position: relative;
  display: block;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 750;
}

.portfolio-card-location::before {
  position: absolute;
  top: 0.52rem;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--gold);
  border-radius: 50%;
  content: "";
}

.portfolio-card-action {
  display: inline-flex;
  min-height: 2.65rem;
  flex: 0 0 auto;
  align-items: center;
  padding: 0.65rem 0.9rem;
  color: var(--white);
  background: var(--forest);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1;
}

.portfolio-card-action::after {
  margin-left: 0.42rem;
  content: "→";
}

.portfolio-card:hover .portfolio-card-action {
  background: var(--forest-deep);
}

.finished-floor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.finished-floor-section .section-heading {
  margin-bottom: 2rem;
}

.finished-floor-heading {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
}

.finished-floor-card {
  display: flex;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  flex-direction: column;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(23, 63, 51, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  font: inherit;
  text-align: left;
  cursor: zoom-in;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.finished-floor-card:hover,
.finished-floor-card:focus-visible {
  border-color: rgba(200, 138, 61, 0.5);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.finished-floor-card:focus-visible {
  outline: 3px solid rgba(200, 138, 61, 0.45);
  outline-offset: 3px;
}

.finished-floor-media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--forest-light);
}

.finished-floor-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms ease;
}

.finished-floor-card:hover .finished-floor-media img {
  transform: scale(1.045);
}

.finished-floor-content {
  display: grid;
  gap: 0.8rem;
  padding: 1rem 1.05rem 1.1rem;
}

.finished-floor-caption {
  display: block;
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.3;
}

.finished-floor-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.finished-floor-meta span {
  padding: 0.3rem 0.52rem;
  color: var(--forest);
  background: var(--forest-light);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.045em;
  line-height: 1.25;
  text-transform: uppercase;
}

.portfolio-empty {
  grid-column: 1 / -1;
  color: var(--ink-soft);
  text-align: center;
}

.project-hero-actions {
  margin-top: 1.75rem;
}

.project-hero {
  min-height: 370px;
}

.project-hero .page-hero-content {
  padding: clamp(2.8rem, 5vw, 4.25rem) 0;
}

.project-hero h1 {
  max-width: 940px;
  font-size: clamp(2.25rem, 4.6vw, 3.75rem);
  letter-spacing: -0.035em;
}

.project-content-section {
  padding: clamp(2.75rem, 5vw, 4.25rem) 0;
}

.project-page-cta {
  padding: clamp(3rem, 5vw, 4.5rem) 0;
}

.project-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
}

.project-overview-item {
  min-width: 0;
  padding: 1.35rem;
  background: var(--white);
  border: 1px solid rgba(23, 63, 51, 0.1);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
}

.project-overview dt {
  margin-bottom: 0.35rem;
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}

.project-overview dd {
  margin: 0;
  color: var(--ink);
  font-weight: 750;
  line-height: 1.45;
}

.project-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(270px, 0.7fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}

.project-main-column {
  min-width: 0;
}

.project-main-column > .section-heading {
  margin-bottom: 1.5rem;
}

.project-gallery-section {
  margin-top: clamp(1.25rem, 2.5vw, 2rem);
  padding: clamp(0.9rem, 2.25vw, 1.5rem);
  background: var(--cream);
  border: 1px solid rgba(23, 63, 51, 0.1);
  border-radius: var(--radius);
}

.project-story {
  display: grid;
  gap: 0;
}

.project-story-block {
  display: grid;
  grid-template-columns: minmax(145px, 0.4fr) minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
}

.project-story-block:first-child {
  padding-top: 0;
  border-top: 0;
}

.project-story-block h3,
.project-story-block p {
  margin: 0;
}

.project-story-block h3 {
  color: var(--forest);
  font-size: 1.2rem;
}

.project-story-block p {
  color: var(--ink-soft);
  font-size: 1.15rem;
}

.project-work-panel {
  position: sticky;
  top: 6rem;
  align-self: start;
  height: max-content;
  padding: 1.1rem 1.2rem;
  color: var(--white);
  background: var(--forest-deep);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.project-work-panel h2 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.55rem, 2.2vw, 1.95rem);
}

.project-work-panel > .eyebrow {
  margin-bottom: 0.4rem;
  font-size: 0.68rem;
}

.project-work-panel .project-overview {
  grid-template-columns: 1fr;
  gap: 0;
}

.project-work-panel .project-overview-item {
  padding: 0.52rem 0;
  color: var(--white);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;
  box-shadow: none;
}

.project-work-panel .project-overview dt {
  margin-bottom: 0.15rem;
  color: #f0bd72;
  font-size: 0.64rem;
  letter-spacing: 0.07em;
}

.project-work-panel .project-overview dd {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.32;
}

.project-photo-experience {
  display: grid;
  gap: clamp(1rem, 2.25vw, 1.5rem);
}

.project-featured-image,
.project-gallery-item {
  position: relative;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  cursor: zoom-in;
}

.project-featured-image {
  display: block;
  width: min(88%, 42rem);
  margin-inline: auto;
  background: var(--forest-deep);
}

.project-featured-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(8, 31, 25, 0.48));
  content: "";
  pointer-events: none;
}

.project-featured-image img,
.project-gallery-item img {
  width: 100%;
  height: 100%;
  transition: transform 500ms ease;
}

.project-featured-image img {
  display: block;
  height: auto;
  object-fit: contain;
}

.project-featured-image:hover img {
  transform: scale(1.018);
}

.project-featured-badge,
.project-featured-open {
  position: absolute;
  z-index: 1;
  bottom: 1rem;
  display: inline-flex;
  min-height: 2.25rem;
  align-items: center;
  padding: 0.45rem 0.8rem;
  color: var(--white);
  background: rgba(8, 31, 25, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 850;
}

.project-featured-badge {
  left: 1rem;
}

.project-featured-open {
  right: 1rem;
}

.project-featured-open::after {
  margin-left: 0.42rem;
  content: "↗";
}

.project-gallery-header {
  display: flex;
  margin-bottom: -1rem;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.project-gallery-header h3,
.project-gallery-header p {
  margin: 0;
}

.project-gallery-header h3 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.project-gallery-header p {
  color: var(--ink-soft);
}

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

.project-gallery-item {
  aspect-ratio: 4 / 3;
  background: var(--forest-light);
}

.project-gallery-item img {
  object-fit: cover;
  transition: transform 500ms ease;
}

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

.project-photo-label {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
  padding: 0.4rem 0.72rem;
  color: var(--white);
  background: rgba(8, 31, 25, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.2);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.before-after-section {
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--white);
  border: 1px solid rgba(23, 63, 51, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.before-after-section[hidden] {
  display: none;
}

.before-after-heading {
  display: flex;
  margin-bottom: 1.35rem;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
}

.before-after-heading .eyebrow {
  margin-bottom: 0.45rem;
}

.before-after-heading h3,
.before-after-heading p {
  margin: 0;
}

.before-after-heading h3 {
  font-size: clamp(1.8rem, 3vw, 2.45rem);
}

.before-after-heading > p {
  max-width: 460px;
  color: var(--ink-soft);
}

.before-after-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.before-after-card h4 {
  margin: 0 0 0.75rem;
  color: var(--forest);
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.2;
}

.before-after-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--comparison-aspect, 16 / 10);
  background: var(--forest-deep);
  border-radius: var(--radius-sm);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  touch-action: pan-y;
}

.before-after-frame:focus-within {
  outline: 3px solid rgba(200, 138, 61, 0.72);
  outline-offset: 3px;
}

.before-after-image {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}

.before-after-before {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--comparison-position)) 0 0);
}

.before-after-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--comparison-position);
  width: 3px;
  background: var(--white);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.36);
  transform: translateX(-50%);
  pointer-events: none;
}

.before-after-divider span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  color: var(--forest-deep);
  background: var(--white);
  border: 4px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  box-shadow: 0 5px 22px rgba(0, 0, 0, 0.3);
  font-size: 1.1rem;
  font-weight: 900;
  transform: translate(-50%, -50%);
}

.before-after-label {
  position: absolute;
  top: 1rem;
  z-index: 1;
  padding: 0.42rem 0.72rem;
  color: var(--white);
  background: rgba(8, 31, 25, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  pointer-events: none;
}

.before-after-label-before {
  left: 1rem;
}

.before-after-label-after {
  right: 1rem;
}

.before-after-range {
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  inset: 0;
  opacity: 0;
  cursor: ew-resize;
}

.project-not-found {
  min-height: 58vh;
  display: grid;
  align-items: center;
}

.project-not-found .section-heading {
  margin-bottom: 0;
}

@media (max-width: 1000px) {
  .portfolio-grid,
  .finished-floor-grid,
  .project-overview,
  .project-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 720px) {
  .portfolio-grid,
  .finished-floor-grid,
  .project-overview,
  .project-gallery {
    grid-template-columns: 1fr;
  }

  .portfolio-card-content {
    min-height: 0;
  }

  .project-detail-layout {
    grid-template-columns: 1fr;
  }

  .project-featured-image {
    width: 100%;
  }

  .project-work-panel {
    position: static;
  }

  .portfolio-card-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .portfolio-card-action {
    width: 100%;
    justify-content: center;
  }

  .project-story-block {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .project-hero-actions .btn {
    width: 100%;
  }

  .before-after-list {
    grid-template-columns: 1fr;
  }

  .project-gallery-header,
  .before-after-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .lightbox {
    padding: max(0.65rem, env(safe-area-inset-top)) max(0.65rem, env(safe-area-inset-right)) max(0.65rem, env(safe-area-inset-bottom)) max(0.65rem, env(safe-area-inset-left));
  }

  .lightbox-dialog {
    width: 100%;
    height: 100%;
    touch-action: pan-y;
  }

  .lightbox-figure {
    width: 100%;
    max-height: 100%;
  }

  .lightbox-figure img {
    max-height: 78vh;
  }

  .lightbox-close {
    top: 0.2rem;
    right: 0.2rem;
  }

  .lightbox-nav {
    width: 2.8rem;
    height: 2.8rem;
    background: rgba(5, 18, 15, 0.72);
    font-size: 1.85rem;
  }

  .lightbox-previous {
    left: 0.2rem;
  }

  .lightbox-next {
    right: 0.2rem;
  }
}

@media (max-width: 430px) {
  .project-featured-badge {
    display: none;
  }

  .project-featured-open {
    right: 0.65rem;
    bottom: 0.65rem;
  }

  .before-after-label {
    top: 0.65rem;
  }

  .before-after-label-before {
    left: 0.65rem;
  }

  .before-after-label-after {
    right: 0.65rem;
  }

  .lightbox-caption {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
