/*
Theme Name: K-Ballero’s Painting
Theme URI: https://example.com/kballeros-painting
Author: Codex
Description: Premium homepage theme for K-Ballero’s Painting.
Version: 1.0.11
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: kballeros-painting
*/

:root {
  --bg: #F7F3EE;
  --bg-soft: #F7F3EE;
  --card-bg: #FFFFFF;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: #FFFFFF;
  --panel-warm-top: #F1ECE6;
  --panel-warm-bottom: #F1ECE6;
  --panel-warm-soft: #F1ECE6;
  --panel-border: #E6DED5;
  --beige: #F1ECE6;
  --stone: #E6DED5;
  --taupe: #9A948C;
  --charcoal: #2B2B2B;
  --muted: #6B6B6B;
  --bronze: #C8A97E;
  --bronze-deep: #B8956A;
  --line: rgba(230, 222, 213, 0.9);
  --shadow-soft: 0 14px 30px rgba(43, 43, 43, 0.045);
  --shadow-large: 0 24px 56px rgba(43, 43, 43, 0.07);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --shell: 1240px;
  --section-space: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--charcoal);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(200, 169, 126, 0.04), transparent 24%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 46%, var(--bg) 100%);
}

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

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

figure,
figcaption {
  margin: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(246, 243, 238, 0.97);
  border-bottom: 1px solid var(--panel-border);
  box-shadow: 0 10px 26px rgba(32, 28, 24, 0.06);
  transition: background 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}

.site-header.is-scrolled {
  background: rgba(246, 243, 238, 1);
  box-shadow: 0 14px 30px rgba(32, 28, 24, 0.08);
  border-bottom-color: var(--panel-border);
}

main {
  padding-top: 24px;
}

.header-bar {
  min-height: 102px;
  display: grid;
  grid-template-columns: max-content 1fr max-content;
  align-items: center;
  gap: 24px;
  padding: 4px 0;
}

.logo {
  display: flex;
  align-items: center;
  justify-self: start;
  align-self: center;
  line-height: 0;
  width: auto;
  height: auto;
  overflow: visible;
  flex: 0 0 auto;
}

.logo img {
  height: 58px;
  width: auto;
  display: block;
  min-width: 0;
  min-height: 0;
  max-height: none;
  max-width: none;
  object-fit: contain;
}

.header-nav a,
.footer-layout p,
.footer-bottom p {
  color: var(--muted);
}

.header-nav a,
.site-nav a,
nav a {
  letter-spacing: 0.02em;
  font-weight: 400;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 48px;
  flex-wrap: nowrap;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  min-width: 0;
  width: auto;
  margin-left: 0;
  padding-left: 0;
  justify-self: end;
  transform: none;
  align-self: center;
}

.header-nav a {
  position: relative;
}

.header-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.header-nav a:hover::after,
.header-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-self: end;
  flex: 0 0 auto;
}

.button-header-cta {
  min-height: 38px;
  padding: 0 15px;
  border-radius: 14px;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(44, 42, 40, 0.76);
  background: linear-gradient(180deg, var(--panel-warm-top), var(--panel-warm-bottom));
  border-color: var(--panel-border);
  box-shadow: 0 6px 14px rgba(43, 32, 20, 0.04);
}

.button-header-cta:hover,
.button-header-cta:focus-visible {
  background: linear-gradient(180deg, rgba(237, 231, 223, 0.98), rgba(232, 224, 214, 0.92));
  border-color: rgba(198, 168, 122, 0.18);
}

.header-phone {
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 0 34px;
  border-radius: 18px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 280ms ease, box-shadow 280ms ease, background-color 280ms ease, border-color 280ms ease, color 280ms ease, filter 280ms ease;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
}

.button-primary {
  padding: 14px 26px;
  border-radius: 14px;
  background: linear-gradient(135deg, #C6A87A 0%, #BE9F70 52%, #B89563 100%);
  color: var(--surface-strong);
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow:
    0 14px 28px rgba(198, 168, 122, 0.16),
    0 6px 16px rgba(114, 96, 72, 0.1);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: linear-gradient(135deg, #CFB088 0%, #C3A16F 52%, #B89563 100%);
  box-shadow:
    0 20px 38px rgba(198, 168, 122, 0.2),
    0 10px 22px rgba(114, 96, 72, 0.12);
  filter: saturate(1.03);
}

.button-secondary {
  background: rgba(237, 231, 223, 0.82);
  border-color: var(--line);
  color: var(--charcoal);
  box-shadow: inset 0 0 0 1px rgba(246, 243, 238, 0.22);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(237, 231, 223, 0.96);
  border-color: rgba(198, 168, 122, 0.24);
  color: var(--charcoal);
}

.hero,
.section {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}

.hero {
  padding-top: 192px;
}

.hero-layout,
.brand-layout,
.designer-layout,
.areas-layout,
.contact-layout,
.footer-layout {
  display: grid;
  gap: 24px;
}

.hero-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
  gap: 32px;
}

.hero-copy,
.hero-visual,
.brand-copy-panel,
.brand-quote-panel,
.service-card,
.project-card,
.feature-card,
.designer-copy,
.designer-image,
.testimonial-card,
.contact-copy,
.contact-form,
.areas-grid span {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.section-services,
.section-services .service-card,
.section-services .section-heading {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

.hero-copy,
.hero-visual,
.brand-copy-panel,
.brand-quote-panel,
.designer-copy,
.designer-image,
.contact-copy,
.contact-form {
  border-radius: var(--radius-xl);
}

.hero-copy,
.brand-copy-panel,
.designer-copy,
.contact-copy,
.contact-form {
  padding: 44px;
}

.hero-copy {
  padding: 48px 48px;
  padding-top: 48px;
  padding-bottom: 34px;
}

.hero-copy > * {
  opacity: 1;
  transform: none;
  transition: opacity 920ms ease, transform 920ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-copy.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.hero-copy[data-reveal],
.hero-visual[data-reveal],
.hero-copy[data-reveal] > * {
  opacity: 1 !important;
  transform: none !important;
}

.hero-copy.is-visible > :nth-child(1) {
  transition-delay: 60ms;
}

.hero-copy.is-visible > :nth-child(2) {
  transition-delay: 130ms;
}

.hero-copy.is-visible > :nth-child(3) {
  transition-delay: 210ms;
}

.hero-copy.is-visible > :nth-child(4) {
  transition-delay: 280ms;
}

.hero-copy.is-visible > :nth-child(5) {
  transition-delay: 360ms;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--bronze-deep);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 14px;
  font-weight: 800;
}

.hero-positioning {
  margin: 0 0 18px;
  color: rgba(32, 28, 24, 0.66);
  font-size: 0.78rem;
  line-height: 1.45;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.hero-positioning-line,
.hero-positioning-separator,
.hero-positioning-tertiary {
  display: inline;
}

.limewash-page .hero-positioning-service {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 0.42rem;
  row-gap: 0.12rem;
  max-width: 32ch;
  margin-bottom: 14px;
  text-wrap: pretty;
}

.limewash-page .hero-positioning-service .hero-positioning-line,
.limewash-page .hero-positioning-service .hero-positioning-separator {
  display: inline;
}

.page-back-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  color: rgba(118, 102, 84, 0.88);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.page-back-link:hover,
.page-back-link:focus-visible {
  color: rgba(85, 71, 57, 0.96);
}

h1,
h2,
h3 {
  margin: 0;
}

h1,
h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 15ch;
  font-size: 56px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 600;
}

h2 {
  max-width: 15ch;
  font-size: clamp(2.5rem, 4.4vw, 3rem);
  line-height: 1.02;
}

h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
}

p {
  margin: 0;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.78;
}

.hero-subheadline {
  margin-top: 8px;
  max-width: 420px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}

.hero-trust {
  margin-top: 14px;
  color: rgba(32, 28, 24, 0.68);
  font-size: 0.9rem;
  line-height: 1.65;
  letter-spacing: 0.01em;
}

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

.hero-note strong,
.contact-copy strong,
.footer-layout strong {
  display: block;
  margin-bottom: 6px;
  color: var(--charcoal);
}

.hero-visual {
  padding: 10px;
  border-color: rgba(32, 28, 24, 0.05);
  background: rgba(237, 231, 223, 0.44);
  box-shadow: 0 10px 24px rgba(43, 32, 20, 0.04);
}

.hero-image,
.hero-visual,
.project-image,
.designer-image {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 28px;
}

.hero-image,
.designer-image {
  min-height: 700px;
  border-radius: 28px;
}

.hero-image {
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 252, 247, 0.44);
  --hero-shift: 0px;
  --hero-scale: 1.028;
}

.project-lime,
.project-roman,
.project-exterior,
.project-cabinet,
.designer-image {
  background: rgba(255, 252, 247, 0.44);
}

.designer-image {
  background:
    linear-gradient(180deg, rgba(31, 26, 22, 0.06), rgba(31, 26, 22, 0.64)),
    linear-gradient(135deg, #e6d9cb, #b39b84 50%, #665547 100%);
}

.image-surface {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  border-radius: inherit;
  overflow: hidden;
  transform: scale(1);
  transition: transform 280ms ease;
}

.image-surface img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
  transition: transform 1400ms cubic-bezier(0.22, 1, 0.36, 1), filter 420ms ease;
}

.hero-image img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
  transform: translate3d(0, var(--hero-shift), 0) scale(var(--hero-scale));
  opacity: 0.92;
  will-change: transform, opacity;
  animation: heroFloat 10s ease-in-out infinite;
  transition: transform 820ms cubic-bezier(0.22, 1, 0.36, 1), opacity 1000ms ease, filter 520ms ease;
}

.image-surface {
  background: rgba(255, 252, 247, 0.44);
}

.image-surface img {
  position: absolute;
  inset: 0;
}

.designer-image img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
}

.hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(18, 15, 12, 0.02) 0%, rgba(18, 15, 12, 0.08) 52%, rgba(18, 15, 12, 0.42) 100%);
}

.image-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(31, 26, 22, 0.04), rgba(31, 26, 22, 0.16) 45%, rgba(31, 26, 22, 0.46) 100%);
  transition: transform 420ms ease;
  transform: scale(1);
  z-index: 1;
}

.project-lime .image-surface::before {
  background: linear-gradient(180deg, rgba(31, 26, 22, 0.03), rgba(31, 26, 22, 0.14) 45%, rgba(31, 26, 22, 0.44) 100%);
}

.project-roman .image-surface::before {
  background: linear-gradient(180deg, rgba(31, 26, 22, 0.03), rgba(31, 26, 22, 0.14) 45%, rgba(31, 26, 22, 0.42) 100%);
}

.project-interior .image-surface::before {
  background: linear-gradient(180deg, rgba(31, 26, 22, 0.03), rgba(31, 26, 22, 0.12) 45%, rgba(31, 26, 22, 0.4) 100%);
}

.project-exterior .image-surface::before {
  background: linear-gradient(180deg, rgba(31, 26, 22, 0.03), rgba(31, 26, 22, 0.12) 45%, rgba(31, 26, 22, 0.38) 100%);
}

.project-cabinet .image-surface::before {
  background: linear-gradient(180deg, rgba(31, 26, 22, 0.03), rgba(31, 26, 22, 0.14) 45%, rgba(31, 26, 22, 0.42) 100%);
}

.designer-image::before,
.image-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 48%);
}

.project-image:hover .image-surface,
.project-image:focus-within .image-surface {
  transform: scale(1.012);
}

.project-image:hover .image-surface img,
.project-image:focus-within .image-surface img {
  transform: scale(1.05);
  filter: saturate(0.94) contrast(0.99) brightness(0.97);
}

.project-image:hover .image-surface::before,
.project-image:focus-within .image-surface::before {
  transform: scale(1.04);
}

.hero-image.is-ready img {
  opacity: 1;
}

.hero-image:hover img,
.hero-image:focus-within img {
  --hero-scale: 1.032;
  filter: saturate(0.98) contrast(1.01);
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translate3d(0, var(--hero-shift), 0) scale(var(--hero-scale));
  }
  50% {
    transform: translate3d(0, calc(var(--hero-shift) - 5px), 0) scale(calc(var(--hero-scale) + 0.004));
  }
}

@keyframes mediaFloat {
  0%,
  100% {
    transform: translate3d(0, var(--media-shift), 0) scale(var(--gallery-scale, 1.012));
  }
  50% {
    transform: translate3d(0, calc(var(--media-shift) - 5px), 0) scale(calc(var(--gallery-scale, 1.012) + 0.003));
  }
}

@keyframes videoFloat {
  0%,
  100% {
    transform: translate3d(0, var(--video-shift), 0) scale(1.016);
  }
  50% {
    transform: translate3d(0, calc(var(--video-shift) - 4px), 0) scale(1.019);
  }
}

.image-label {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.86);
  color: var(--charcoal);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.image-panel {
  position: absolute;
  left: 30px;
  bottom: 30px;
  z-index: 2;
  max-width: 320px;
  width: min(320px, calc(100% - 60px));
  padding: 0;
  background: transparent;
  backdrop-filter: none;
}

.image-panel p {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  color: rgba(255, 252, 247, 0.9);
  line-height: 1.1;
  text-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.gallery-panel {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  padding: 18px 20px 19px;
  border-radius: 22px;
  background: rgba(30, 25, 21, 0.42);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 252, 247, 0.08);
  box-shadow: 0 18px 28px rgba(18, 15, 12, 0.1);
}

.gallery-panel p {
  color: rgba(255, 252, 247, 0.86);
  font-weight: 600;
  line-height: 1.5;
}

.section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 30px;
}

.section-heading-centered {
  justify-items: center;
  text-align: center;
}

.section-heading-centered h2 {
  max-width: none;
}

.section-heading h2,
.contact-copy h2,
.collaboration-panel h2 {
  font-size: 36px;
  line-height: 1.2;
  margin-bottom: 24px;
}

.section-subtitle {
  max-width: 680px;
  margin-inline: auto;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.02rem, 1.35vw, 1.08rem);
  line-height: 1.8;
  color: rgba(32, 28, 24, 0.76);
  font-weight: 500;
}

.section-subtitle-narrow {
  max-width: 44rem;
}

.section-intro {
  max-width: 680px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.02rem, 1.35vw, 1.08rem);
  line-height: 1.8;
  color: rgba(32, 28, 24, 0.76);
  font-weight: 500;
}

.section-intro p + p {
  margin-top: 14px;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.78fr);
  align-items: stretch;
  gap: 40px;
}

.about-copy {
  width: 100%;
  max-width: 520px;
  justify-self: center;
}

.about-copy .section-heading {
  max-width: 520px;
}

.about-copy .section-intro {
  max-width: 520px;
}

.about-image {
  min-height: 420px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.limewash-page .hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(4.4rem, 7.5vw, 5.9rem);
  line-height: 0.98;
  font-weight: 600;
}

.landing-hero .hero-copy .section-intro {
  margin-top: 18px;
  max-width: 42ch;
}

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

.landing-project-grid-single {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

.landing-project-card {
  display: grid;
  gap: 16px;
  margin: 0;
}

.landing-project-media {
  min-height: 320px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(32, 28, 24, 0.08);
  background: rgba(255, 252, 247, 0.72);
  box-shadow: var(--shadow-soft);
}

.landing-project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  image-rendering: auto;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.landing-project-card figcaption {
  display: grid;
  gap: 6px;
  color: rgba(32, 28, 24, 0.82);
  font-weight: 600;
  line-height: 1.5;
}

.landing-project-card figcaption strong {
  font-size: 1rem;
  line-height: 1.35;
}

.landing-project-card figcaption span {
  font-size: 0.96rem;
  font-weight: 500;
  color: rgba(32, 28, 24, 0.72);
  line-height: 1.65;
}

.landing-cta-panel {
  padding: 34px 36px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--panel-border);
  background: var(--card-bg);
  box-shadow: var(--shadow-soft);
}

.landing-cta-actions {
  display: flex;
  justify-content: center;
}

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

.before-after-card {
  display: grid;
  gap: 18px;
}

.before-after-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.before-after-media figure {
  position: relative;
  margin: 0;
  min-height: 320px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(32, 28, 24, 0.08);
  background: rgba(255, 252, 247, 0.72);
  box-shadow: var(--shadow-soft);
}

.before-after-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  image-rendering: auto;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.before-after-label {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.9);
  color: var(--charcoal);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.before-after-card h3 {
  margin: 0;
}

.section-heading.compact h2 {
  max-width: 12ch;
}

.section-heading-reviews .eyebrow {
  margin-bottom: 10px;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
}

.section-heading-reviews h2,
.section-heading-trust h2,
.contact-copy h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: clamp(2.5rem, 4.4vw, 3rem);
  line-height: 1.02;
}

.section-heading-reviews h2 {
  max-width: 15ch;
}

.services-grid,
.features-grid,
.areas-grid {
  display: grid;
  gap: 40px;
}

.services-grid-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 40px;
  grid-auto-flow: dense;
  align-items: start;
}

.gallery-card {
  display: grid;
  grid-column: span 4;
  align-self: start;
  width: 100%;
  height: auto;
  gap: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.gallery-card-static {
  cursor: default;
}

.gallery-card-large {
  grid-column: span 7;
  grid-row: span 2;
}

.gallery-card-tall {
  grid-column: span 5;
  grid-row: span 2;
}

.gallery-card-wide {
  grid-column: span 7;
}

.gallery-media {
  position: relative;
  margin: 0;
  min-height: 320px;
  height: 100%;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 252, 247, 0.72);
  box-shadow: var(--shadow-soft);
  --media-shift: 0px;
}

.gallery-card:not(.gallery-card-large):not(.gallery-card-tall) .gallery-media {
  min-height: 0;
  aspect-ratio: 4 / 5;
}

.gallery-card-wide .gallery-media {
  aspect-ratio: 16 / 10;
}

.gallery-card-large .gallery-media,
.gallery-card-tall .gallery-media {
  min-height: 520px;
  --gallery-scale: 1.022;
}

.gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  image-rendering: auto;
  backface-visibility: hidden;
  transform: translate3d(0, var(--media-shift), 0) scale(var(--gallery-scale, 1.012));
  will-change: transform;
  transition: transform 720ms cubic-bezier(0.22, 1, 0.36, 1), filter 480ms ease;
}

.gallery-card-large .gallery-media img,
.gallery-card-tall .gallery-media img {
  animation: mediaFloat 9s ease-in-out infinite;
}

.gallery-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(24, 20, 17, 0.02), rgba(24, 20, 17, 0.08) 48%, rgba(24, 20, 17, 0.28) 100%);
  opacity: 0;
  transition: opacity 420ms ease;
}

.gallery-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  display: grid;
  gap: 4px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 420ms ease, transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-caption strong,
.gallery-caption span {
  color: rgba(255, 252, 247, 0.92);
}

.gallery-caption strong {
  font-size: 1.1rem;
  line-height: 1.2;
}

.gallery-caption span {
  font-size: 0.92rem;
  color: rgba(255, 252, 247, 0.78);
  max-width: 38ch;
}

.gallery-card:hover .gallery-media img,
.gallery-card:focus-visible .gallery-media img {
  transform: translate3d(0, var(--media-shift), 0) scale(calc(var(--gallery-scale, 1.012) + 0.03));
  filter: saturate(0.98);
}

.gallery-card-static:hover .gallery-media img,
.gallery-card-static:focus-visible .gallery-media img {
  transform: translate3d(0, var(--media-shift), 0) scale(var(--gallery-scale, 1.012));
  filter: none;
}

.gallery-card:hover .gallery-media::before,
.gallery-card:focus-visible .gallery-media::before {
  opacity: 1;
}

.gallery-card:hover .gallery-caption,
.gallery-card:focus-visible .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-card:focus-visible {
  outline: none;
}

.gallery-card:focus-visible .gallery-media {
  box-shadow: 0 0 0 3px rgba(168, 130, 86, 0.2), var(--shadow-soft);
}

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

.video-card {
  display: grid;
  gap: 22px;
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.video-card:hover,
.video-card:focus-within {
  transform: translateY(-6px);
}

.video-media {
  position: relative;
  margin: 0;
  min-height: 420px;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 252, 247, 0.76);
  box-shadow: var(--shadow-soft);
  --video-shift: 0px;
}

.video-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(24, 20, 17, 0.03), rgba(24, 20, 17, 0.12) 42%, rgba(24, 20, 17, 0.32) 100%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 24%);
  pointer-events: none;
}

.video-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  transform: translate3d(0, var(--video-shift), 0) scale(1.016);
  filter: saturate(0.92) contrast(0.97) brightness(0.95);
  transition: transform 880ms cubic-bezier(0.22, 1, 0.36, 1), filter 480ms ease;
  animation: videoFloat 9s ease-in-out infinite;
}

.video-card:hover .video-media video,
.video-card:focus-within .video-media video {
  transform: translate3d(0, var(--video-shift), 0) scale(1.028);
  filter: saturate(0.96) contrast(1) brightness(0.98);
}

.video-card:nth-child(1) .video-media video {
  object-position: 50% 34%;
}

.video-card:nth-child(2) .video-media video {
  object-position: 52% 44%;
}

.video-media-mix video {
  object-position: 50% 78%;
}

.video-copy {
  padding: 0 4px;
}

.video-copy h3 {
  margin-top: 10px;
  margin-bottom: 6px;
  font-size: 20px;
}

.video-copy p {
  color: #3d3d3d;
  font-size: 16px;
  line-height: 1.7;
  max-width: 42ch;
}

.modal-open {
  overflow: hidden;
}

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

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: grid;
  place-items: center;
  padding: 12px;
}

.gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 20, 17, 0.5);
  backdrop-filter: blur(11px);
  -webkit-backdrop-filter: blur(11px);
}

.gallery-modal-dialog {
  position: relative;
  z-index: 1;
  width: min-content;
  max-width: min(calc(100vw - 24px), 1520px);
  padding: 0;
  display: grid;
  justify-items: center;
  gap: 10px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.gallery-modal-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 5;
  pointer-events: auto;
}

.gallery-modal-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.gallery-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(24, 20, 17, 0.9);
  color: rgba(255, 252, 247, 0.98);
  font-size: 1.7rem;
  line-height: 1;
  box-shadow: 0 16px 28px rgba(12, 10, 8, 0.28);
  cursor: pointer;
  position: relative;
  z-index: 6;
}

.gallery-modal-control {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(24, 20, 17, 0.82);
  color: rgba(255, 250, 244, 0.96);
  font-size: 1.12rem;
  letter-spacing: 0.02em;
  box-shadow: 0 14px 24px rgba(12, 10, 8, 0.22);
  cursor: pointer;
  position: relative;
  z-index: 6;
}

.gallery-modal-close:hover,
.gallery-modal-close:focus-visible,
.gallery-modal-control:hover,
.gallery-modal-control:focus-visible {
  background: rgba(52, 43, 36, 0.88);
}

.gallery-modal-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(95vw, 1520px);
  max-width: 100%;
  height: min(90vh, 1180px);
  max-height: 90vh;
  overflow: hidden;
  background: transparent;
  touch-action: none;
  cursor: zoom-in;
  user-select: none;
  -webkit-user-select: none;
}

.gallery-modal-image {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  background: transparent;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(10, 8, 7, 0.2);
  image-rendering: auto;
  transform: translate3d(var(--gallery-pan-x, 0px), var(--gallery-pan-y, 0px), 0) scale(var(--gallery-zoom-scale, 1));
  transform-origin: var(--gallery-zoom-origin-x, 50%) var(--gallery-zoom-origin-y, 50%);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms ease;
  will-change: transform;
}

.gallery-modal.is-zoomed .gallery-modal-media {
  cursor: grab;
}

.gallery-modal.is-dragging .gallery-modal-media {
  cursor: grabbing;
}

.gallery-modal-title {
  margin-top: 0;
  color: rgba(248, 241, 234, 0.9);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.45;
  text-align: center;
  text-wrap: balance;
}

.gallery-modal-hint {
  display: none;
  margin: -2px 0 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(24, 20, 17, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(248, 241, 234, 0.78);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (hover: hover) and (pointer: fine) {
  .gallery-modal-hint {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

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

.review-stars {
  margin-bottom: 20px;
  color: var(--bronze);
  letter-spacing: 0.18em;
  font-size: 0.86rem;
}

.reviews-action {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.card,
.review-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.review-card {
  padding: 38px 36px 34px;
  box-shadow: var(--shadow-soft);
}

.card:hover,
.review-card:hover,
.review-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  border-color: rgba(168, 130, 86, 0.18);
}

.review-card p {
  margin-bottom: 26px;
  color: rgba(32, 28, 24, 0.84);
  font-size: 1rem;
  line-height: 1.9;
  max-width: 42ch;
}

.review-card strong {
  color: var(--charcoal);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.services-grid {
  gap: 40px;
}

.service-card,
.feature-card {
  padding: 34px 30px;
}

.card,
.service-card,
.feature-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 12px 28px rgba(43, 32, 20, 0.045);
  cursor: default;
}

.card .image-wrapper,
.service-image {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.service-image {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: default;
}

.card img,
.service-image img {
  display: block;
  width: 100%;
  aspect-ratio: 1.04 / 1;
  object-fit: cover;
  transform: none;
  transition: none;
  cursor: default;
}

.card .image-wrapper::after,
.service-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.02);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin: 0;
}

.service-card-actions {
  display: flex;
  align-items: center;
  margin-top: auto;
  padding-top: 10px;
}

.service-card-cta {
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.84rem;
}

.service-detail-nav {
  padding-top: 18px;
  padding-bottom: 0;
}

.service-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(43, 43, 43, 0.78);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.service-detail-back::before {
  content: "←";
  font-size: 0.95em;
}

.service-detail-back:hover,
.service-detail-back:focus-visible {
  color: var(--charcoal);
}

.card:hover,
.service-card:hover,
.service-card:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  border-color: rgba(168, 130, 86, 0.28);
}

.card:hover img,
.card:focus-within img {
  transform: scale(1.03);
}

.card:hover .image-wrapper::after {
  opacity: 1;
}

.service-card:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(200, 169, 126, 0.16), 0 12px 30px rgba(0, 0, 0, 0.06);
}

.gallery-lightbox-target:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(200, 169, 126, 0.18);
}

.gallery-lightbox-target {
  cursor: zoom-in;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 560ms ease, transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

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

[data-reveal="soft"] {
  transform: translateY(20px);
  transition-duration: 520ms;
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .button,
  .service-card,
  .gallery-card,
  .video-card,
  .review-card,
  .image-surface,
  .image-surface::before,
  .gallery-media img,
  .video-media video,
  .hero-image img,
  .hero-copy > *,
  [data-reveal] {
    transition: none !important;
    transform: none !important;
    animation: none !important;
  }

  [data-reveal] {
    opacity: 1 !important;
  }
}

.service-index {
  display: inline-block;
  margin-bottom: 0;
  color: var(--bronze-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

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

.features-grid-refined {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: start;
}

.feature-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  min-height: 100%;
  box-shadow: var(--shadow-soft);
}

.card:hover,
.feature-card:hover,
.feature-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  border-color: rgba(168, 130, 86, 0.18);
}

.feature-card-emphasis {
  padding: 42px 38px;
}

.feature-kicker {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--bronze-deep);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-heading-trust {
  gap: 16px;
  margin-bottom: 44px;
}

.section-heading-trust h2 {
  max-width: 15ch;
}

.section-features .feature-card {
  padding: 42px 38px;
}

.feature-card h3 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 1.22rem;
  line-height: 1.24;
}

.feature-card p {
  margin-top: 0;
  color: rgba(32, 28, 24, 0.78);
  line-height: 1.82;
  max-width: 42ch;
}

.areas-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: center;
  padding: 28px 32px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--panel-border);
  background: var(--card-bg);
  box-shadow: var(--shadow-soft);
}

.collaboration-panel {
  display: grid;
  gap: 18px;
  padding: 50px 48px;
  border-radius: 30px;
  border: 1px solid var(--panel-border);
  background: var(--card-bg);
  box-shadow: var(--shadow-soft);
}

.collaboration-eyebrow {
  margin: 0;
  color: var(--bronze-deep);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 700;
}

.collaboration-panel h2 {
  margin-bottom: 6px;
  max-width: 12ch;
  font-size: clamp(1.9rem, 3.1vw, 2.7rem);
}

.collaboration-lead {
  max-width: 34ch;
  color: rgba(32, 28, 24, 0.88);
  font-size: 1.15rem;
  line-height: 1.78;
  margin: 0;
}

.collaboration-panel p {
  max-width: 42rem;
  color: rgba(32, 28, 24, 0.78);
  line-height: 1.86;
}

.collaboration-panel p + p {
  margin-top: 2px;
}

.areas-copy {
  max-width: 680px;
  color: rgba(32, 28, 24, 0.78);
}

.contact-layout {
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 30px;
}

.contact-entry-panel {
  display: grid;
  gap: 14px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 54px 52px 50px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--panel-border);
  background: var(--card-bg);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.contact-entry-panel h2 {
  margin-bottom: 2px;
}

.contact-entry-lead {
  max-width: 32ch;
  margin: 0 auto;
  color: rgba(32, 28, 24, 0.86);
  font-size: 1.08rem;
  line-height: 1.78;
}

.contact-entry-support {
  max-width: 38ch;
  margin: 0 auto 20px;
  color: rgba(32, 28, 24, 0.72);
  line-height: 1.78;
}

.contact-entry-panel .button {
  justify-self: center;
  min-height: 58px;
  padding: 0 28px;
  box-shadow:
    0 10px 22px rgba(198, 168, 122, 0.12),
    0 4px 12px rgba(114, 96, 72, 0.08);
}

.contact-form-shell {
  margin-top: 34px;
}

.contact-form-shell[hidden] {
  display: none !important;
}

.contact-copy,
.contact-form {
  background: var(--card-bg);
}

.contact-copy {
  display: grid;
  align-content: start;
  gap: 22px;
}

.contact-copy h2 {
  margin-bottom: 0;
}

.contact-copy p:first-of-type {
  margin-top: 0;
}

.contact-copy p + p {
  margin-top: 0;
}

.contact-copy p.section-intro {
  margin-top: 0;
}

.contact-copy p {
  max-width: 680px;
  line-height: 1.82;
}

.contact-copy a {
  color: var(--charcoal);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 38px;
}

.contact-form-intro {
  display: grid;
  gap: 8px;
}

.contact-form-credibility {
  color: rgba(32, 28, 24, 0.78);
  font-size: 0.95rem;
  line-height: 1.7;
}

.contact-form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form-intro p:first-child {
  color: var(--charcoal);
}

.contact-form label {
  display: grid;
  gap: 10px;
  color: var(--charcoal);
  font-weight: 700;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 17px 18px;
  border-radius: 16px;
  border: 1px solid rgba(32, 28, 24, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: var(--charcoal);
  transition: border-color 240ms ease, box-shadow 240ms ease, background 240ms ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(17, 17, 17, 0.24);
  box-shadow: 0 0 0 4px rgba(17, 17, 17, 0.08);
  background: rgba(255, 255, 255, 0.98);
}

.contact-form textarea {
  min-height: 170px;
  resize: vertical;
}

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

.contact-form-note {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.contact-form-confirmation {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 252, 247, 0.72);
  border: 1px solid rgba(32, 28, 24, 0.08);
  color: var(--charcoal);
  font-size: 0.95rem;
  line-height: 1.7;
}

.contact-form-confirmation-error {
  background: rgba(125, 95, 60, 0.08);
  border-color: rgba(125, 95, 60, 0.16);
}

.site-footer {
  margin-top: 42px;
  padding: 18px 0 26px;
  border-top: 1px solid rgba(32, 28, 24, 0.06);
}

.section-contact > .shell,
.site-footer > .shell {
  width: min(var(--shell), calc(100% - 40px));
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(32, 28, 24, 0.1);
  background: rgba(255, 252, 247, 0.7);
  color: rgba(32, 28, 24, 0.72);
  transition: transform 240ms ease, border-color 240ms ease, color 240ms ease, background 240ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(168, 130, 86, 0.28);
  color: var(--charcoal);
  background: rgba(255, 252, 247, 0.92);
}

.social-link svg {
  width: 15px;
  height: 15px;
  display: block;
}

.footer-layout {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 32px;
  padding: 18px 0;
}

.footer-layout > :first-child {
  justify-self: start;
}

.footer-layout > :nth-child(2) {
  justify-self: center;
}

.footer-layout > :nth-child(3) {
  justify-self: end;
}

.footer-local-note {
  padding-top: 4px;
}

.footer-local-note p {
  max-width: 680px;
  color: var(--muted);
}

.footer-bottom {
  padding-top: 14px;
  border-top: 1px solid rgba(32, 28, 24, 0.06);
}

@media (max-width: 1180px) {
  .services-grid-five {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .header-bar,
  .hero-layout,
  .about-layout,
  .areas-band,
  .contact-layout,
  .footer-layout {
    grid-template-columns: 1fr;
  }

  .header-bar {
    padding: 18px 0;
  }

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

  .services-grid-five,
  .before-after-grid,
  .landing-project-grid,
  .video-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .gallery-card,
  .gallery-card-large,
  .gallery-card-tall,
  .gallery-card-wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .hero-image {
    min-height: 460px;
  }

  .gallery-modal-dialog {
    max-width: calc(100vw - 24px);
  }

  .site-footer > .shell {
    width: min(var(--shell), calc(100% - 40px));
  }

  .footer-layout > :first-child,
  .footer-layout > :nth-child(2),
  .footer-layout > :nth-child(3) {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .service-detail-nav {
    padding-top: 10px;
  }

  .service-detail-back {
    font-size: 0.84rem;
  }

  main {
    padding-top: 8px;
  }

  .site-header {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 12px;
    padding-bottom: 8px;
  }

  .shell {
    width: min(var(--shell), calc(100% - 28px));
  }

  .hero,
  .section {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-layout {
    gap: 20px;
  }

  .hero-copy > :first-child,
  .section > .shell > :first-child,
  .elementor-location-header + .elementor .elementor-top-section:first-child,
  .elementor .elementor-section-wrap > .elementor-top-section:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .hero-actions,
  .hero-aside,
  .services-grid-five,
  .video-grid,
  .features-grid-refined,
  .reviews-grid,
  .contact-form,
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .header-bar {
    min-height: auto;
    justify-items: center;
    gap: 6px;
    padding: 0;
  }

  .header-nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 22px;
    width: auto;
    margin-top: 10px;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
    justify-self: center;
    align-self: center;
  }

  .header-cta {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 4px;
    margin-top: 0;
    justify-content: center;
  }

  .button-header-cta {
    min-height: 34px;
    padding: 0 13px;
    font-size: 0.7rem;
  }

  .logo img {
    height: 34px;
  }

  .header-nav {
    font-size: 15px;
    letter-spacing: 0.06em;
  }

  .header-phone {
    font-size: 0.96rem;
  }

  .header-phone,
  .header-cta .button {
    width: auto;
  }

  .button {
    min-height: 40px;
    padding: 0 16px;
  }

  .hero-copy,
  .contact-copy,
  .contact-form {
    padding: 18px;
  }

  .limewash-page .hero-copy h1 {
    font-size: clamp(3.4rem, 11vw, 4.8rem);
    line-height: 1;
  }

  .limewash-page .hero {
    padding-top: 24px;
  }

  .limewash-page .hero-layout {
    gap: 16px;
  }

  .limewash-page .hero-copy {
    padding: 18px 16px 16px;
  }

  .limewash-page .hero-positioning {
    margin-bottom: 12px;
    font-size: 0.92rem;
    line-height: 1.48;
  }

  .limewash-page .hero-subheadline {
    max-width: 34ch;
    font-size: 0.98rem;
    line-height: 1.62;
  }

  .landing-hero .hero-copy .section-intro {
    margin-top: 12px;
    max-width: none;
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .limewash-page .hero-actions {
    margin-top: 14px;
  }

  .limewash-page .hero-actions .button {
    min-height: 38px;
    padding: 0 15px;
    font-size: 0.72rem;
  }

  .limewash-page .hero-visual {
    padding: 8px;
  }

  .limewash-page .hero-image {
    min-height: 320px;
  }

  h1 {
    max-width: 380px;
    font-size: 84px;
    line-height: 0.94;
  }

  h2 {
    font-size: clamp(1.95rem, 7vw, 2.3rem);
    line-height: 1.08;
  }

  .section-heading h2,
  .contact-copy h2,
  .collaboration-panel h2 {
    font-size: clamp(1.82rem, 6.6vw, 2.12rem);
    line-height: 1.12;
    margin-bottom: 14px;
  }

  .section-heading {
    gap: 10px;
    margin-bottom: 18px;
  }

  .section-subtitle,
  .hero-subheadline {
    margin-top: 14px;
    font-size: 0.98rem;
    line-height: 1.58;
  }

  .hero-subheadline,
  .section-subtitle {
    max-width: 34ch;
  }

  .section-subtitle,
  .hero-subheadline {
    line-height: 1.7;
  }

  .hero-actions {
    margin-top: 18px;
  }

  .hero-supporting-line {
    margin-top: 8px;
  }

  .hero-aside {
    margin-top: 22px;
    gap: 12px;
  }

  .hero-image,
  .gallery-media,
  .video-media {
    min-height: auto;
  }

  .gallery-grid {
    gap: 14px;
  }

  .gallery-card {
    display: block;
  }

  .gallery-media {
    display: block;
    position: relative;
    height: auto;
    min-height: 0;
    overflow: hidden;
    background: rgba(255, 252, 247, 0.72);
    box-shadow: var(--shadow-soft);
    border-radius: 24px;
  }

  .gallery-card-large .gallery-media,
  .gallery-card-tall .gallery-media,
  .gallery-card-wide .gallery-media {
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .gallery-card:not(.gallery-card-large):not(.gallery-card-tall):not(.gallery-card-wide) .gallery-media {
    aspect-ratio: 4 / 5;
  }

  .gallery-media img {
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    border-radius: 0;
    box-shadow: none;
  }

  .gallery-media::before {
    opacity: 0.28;
    border-radius: 0;
  }

  .gallery-caption {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 14px;
    padding: 0;
    opacity: 1;
    transform: none;
    gap: 3px;
  }

  .gallery-caption strong {
    color: rgba(255, 252, 247, 0.94);
    font-size: 0.98rem;
    line-height: 1.22;
  }

  .gallery-caption span {
    color: rgba(255, 252, 247, 0.82);
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .gallery-caption span {
    display: none;
  }

  .gallery-caption strong {
    font-size: 0.9rem;
    line-height: 1.18;
    max-width: 18ch;
  }

  .gallery-media::before {
    opacity: 0.18;
  }

  .gallery-card:hover .gallery-media::before,
  .gallery-card:focus-visible .gallery-media::before {
    opacity: 0.18;
  }

  .collaboration-panel {
    padding: 26px 22px;
  }

  .contact-layout {
    gap: 18px;
  }

  .about-layout {
    gap: 10px;
  }

  .limewash-page .about-layout {
    gap: 14px;
  }

  .about-image {
    margin-top: 0;
    align-self: start;
    min-height: 260px;
  }

  .limewash-page .about-copy {
    max-width: none;
  }

  .service-card,
  .feature-card,
  .review-card {
    padding: 24px 20px;
  }

  .service-card {
    gap: 12px;
  }

  .service-image {
    min-height: 190px;
  }

  .service-image img {
    height: 100%;
    aspect-ratio: auto;
  }

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

  .before-after-media figure {
    min-height: 260px;
  }

  .landing-project-media {
    min-height: 220px;
  }

  .limewash-page .section-heading {
    margin-bottom: 16px;
  }

  .limewash-page .section-heading-trust {
    margin-bottom: 18px;
  }

  .limewash-page .features-grid-refined {
    gap: 14px;
  }

  .limewash-page .feature-card,
  .limewash-page .feature-card-emphasis {
    padding: 22px 18px;
  }

  .limewash-page .landing-project-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .landing-project-grid-single {
    grid-template-columns: 1fr;
  }

  .limewash-page .landing-project-card {
    gap: 10px;
  }

  .limewash-page .landing-project-media {
    min-height: 240px;
  }

  .limewash-page .areas-band {
    gap: 14px;
    padding: 22px 18px;
  }

  .limewash-page .collaboration-panel {
    padding: 24px 18px;
    gap: 12px;
  }

  .limewash-page .contact-entry-panel {
    padding: 28px 18px 24px;
    gap: 10px;
  }

  .limewash-page .contact-entry-support {
    margin-bottom: 14px;
  }

  .contact-form {
    gap: 16px;
  }

  .contact-form label {
    gap: 8px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    min-height: 54px;
    padding: 16px 16px;
  }

  .contact-form textarea {
    min-height: 160px;
  }

  .footer-layout {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px 0;
  }

  .footer-social {
    margin-top: 10px;
  }

  .gallery-modal {
    padding: 12px;
  }

  .gallery-modal-dialog {
    max-width: calc(100vw - 24px);
    gap: 8px;
  }

  .gallery-modal-media {
    width: min(95vw, 980px);
    height: min(86vh, 940px);
    max-height: 86vh;
  }

  .gallery-modal-toolbar {
    gap: 6px;
    top: 16px;
    right: 16px;
  }

  .gallery-modal-controls {
    gap: 6px;
  }

  .gallery-modal-control {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }

  .gallery-modal-close {
    width: 40px;
    height: 40px;
    font-size: 1.45rem;
  }

  .gallery-modal-image {
    max-width: 100%;
    max-height: 100%;
    border-radius: 18px;
  }

  .gallery-modal-title {
    margin-top: 0;
    font-size: 0.88rem;
    padding: 0 6px;
  }

  .features-grid-refined,
  .reviews-grid,
  .contact-form,
  .hero-aside,
  .hero-metrics {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .service-detail-nav {
    padding-top: 8px;
  }

  main {
    padding-top: 4px;
  }

  .shell {
    width: min(var(--shell), calc(100% - 24px));
  }

  .hero,
  .section {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-layout {
    gap: 18px;
  }

  .logo img {
    height: 32px;
  }

  .hero-copy,
  .contact-copy,
  .contact-form,
  .collaboration-panel {
    padding: 15px;
  }

  .limewash-page .hero-copy h1 {
    font-size: clamp(2.9rem, 12vw, 3.8rem);
    line-height: 1.02;
  }

  .limewash-page .hero {
    padding-top: 22px;
  }

  .limewash-page .hero-layout {
    gap: 14px;
  }

  .limewash-page .hero-copy {
    padding: 16px 14px 14px;
  }

  .limewash-page .hero-positioning {
    margin-bottom: 10px;
    font-size: 0.88rem;
  }

  .limewash-page .hero-subheadline {
    font-size: 0.94rem;
    line-height: 1.58;
  }

  .landing-hero .hero-copy .section-intro {
    margin-top: 10px;
    font-size: 0.92rem;
    line-height: 1.66;
  }

  .limewash-page .hero-actions {
    margin-top: 12px;
  }

  .limewash-page .hero-actions .button {
    min-height: 36px;
    padding: 0 14px;
    font-size: 0.7rem;
  }

  .limewash-page .hero-image {
    min-height: 280px;
  }

  h1 {
    font-size: 54px;
    line-height: 0.98;
  }

  h2 {
    font-size: clamp(1.8rem, 8vw, 2.08rem);
  }

  .section-heading h2,
  .contact-copy h2,
  .collaboration-panel h2 {
    font-size: clamp(1.68rem, 7vw, 1.95rem);
    line-height: 1.14;
    margin-bottom: 12px;
  }

  .hero-subheadline,
  .section-subtitle {
    font-size: 0.95rem;
  }

  .header-bar {
    justify-items: center;
    gap: 4px;
    padding: 0;
  }

  .header-nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 18px;
    width: auto;
    margin-top: 8px;
    justify-self: center;
    align-self: center;
  }

  .header-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
  }

  .button-header-cta {
    min-height: 32px;
    padding: 0 12px;
    font-size: 0.68rem;
  }

  .button {
    min-height: 40px;
    padding: 0 16px;
  }

  .hero-image,
  .gallery-media,
  .video-media {
    min-height: auto;
  }

  .gallery-grid,
  .before-after-grid,
  .landing-project-grid,
  .video-grid,
  .reviews-grid,
  .features-grid-refined {
    gap: 12px;
  }

  .limewash-page .landing-project-grid,
  .limewash-page .features-grid-refined {
    gap: 12px;
  }

  .gallery-modal {
    padding: 16px;
  }

  .gallery-modal-dialog {
    max-width: calc(100vw - 32px);
  }

  .gallery-modal-media {
    width: min(88vw, 420px);
    height: min(68vh, 620px);
    max-height: 68vh;
  }

  .gallery-modal-image {
    max-height: 100%;
  }

  .service-card,
  .feature-card,
  .review-card,
  .contact-entry-panel {
    padding: 20px 16px;
  }

  .service-image {
    min-height: 176px;
  }

  .about-image {
    margin-top: 0;
    align-self: start;
    min-height: 220px;
  }

  .limewash-page .about-layout {
    gap: 12px;
  }

  .limewash-page .landing-project-media {
    min-height: 220px;
  }

  .limewash-page .areas-band {
    padding: 20px 16px;
  }

  .limewash-page .collaboration-panel {
    padding: 22px 16px;
  }

  .limewash-page .contact-entry-panel {
    padding: 24px 16px 22px;
  }

  .footer-layout {
    gap: 16px;
  }
}
.hero-copy h1 {
  margin-top: 4px;
  margin-bottom: 24px;
  max-width: 360px;
  font-weight: 400;
  font-size: 110px;
  line-height: 0.92;
}

.hero-copy p {
  margin-top: 8px;
}

.hero-positioning-mobile-hide,
.hero-trust-mobile {
  display: inline;
}

.hero-trust-mobile {
  display: none;
}

@media (max-width: 760px) {
  [data-reveal],
  [data-reveal="soft"],
  [data-reveal].is-visible {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
  }

  .hero,
  .hero-layout,
  .hero-copy,
  .hero-visual,
  .hero-positioning,
  .hero-subheadline,
  .landing-hero .hero-copy .section-intro,
  .hero-trust {
    visibility: visible !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0;
    overflow: visible !important;
  }

  .hero-copy,
  .hero-visual {
    opacity: 1 !important;
    transform: none !important;
    display: block !important;
  }

  .hero-copy > * {
    opacity: 1 !important;
    transform: none !important;
  }

  .section-services,
  .section-services > .shell,
  .section-services .services-grid,
  .section-services .services-grid-five,
  .section-services .service-card,
  .section-services .service-image,
  .section-services .service-image img,
  .section-services .service-card-actions {
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    transform: none !important;
  }

  .limewash-page .section,
  .limewash-page .section > .shell,
  .limewash-page .about-layout,
  .limewash-page .about-copy,
  .limewash-page .about-image,
  .limewash-page .features-grid-refined,
  .limewash-page .feature-card,
  .limewash-page .feature-card-emphasis,
  .limewash-page .landing-project-grid,
  .limewash-page .landing-project-card,
  .limewash-page .landing-project-media,
  .limewash-page .areas-band,
  .limewash-page .collaboration-panel,
  .limewash-page .contact-entry-panel,
  .limewash-page .contact-entry-support {
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    transform: none !important;
  }

  .hero-copy h1 {
    max-width: 12.2ch;
    font-size: clamp(3.1rem, 11vw, 4.1rem);
    line-height: 0.94;
    margin-bottom: 14px;
    text-wrap: balance;
  }

  .hero-copy p {
    margin-top: 6px;
  }

  .eyebrow {
    margin-bottom: 12px;
    letter-spacing: 0.2em;
    font-size: 0.74rem;
  }

  .hero-positioning {
    margin-bottom: 12px;
    font-size: 0.68rem;
    line-height: 1.32;
    letter-spacing: 0.12em;
    text-wrap: pretty;
  }

  .hero-positioning-line {
    display: block;
  }

  .hero-positioning-line + .hero-positioning-line {
    margin-top: 4px;
  }

  .hero-positioning-separator {
    display: none;
  }

  .hero-subheadline {
    max-width: 30ch;
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .hero-trust {
    margin-top: 10px;
    font-size: 0.84rem;
    line-height: 1.5;
  }

  .limewash-page .hero-positioning {
    max-width: 28ch;
    margin-bottom: 10px;
    font-size: 0.68rem;
    line-height: 1.38;
    letter-spacing: 0.12em;
    text-wrap: balance;
  }

  .limewash-page .hero-positioning-service {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    max-width: none;
    margin-bottom: 10px;
    font-size: 0.66rem;
    line-height: 1.26;
    letter-spacing: 0.1em;
    text-wrap: initial;
  }

  .limewash-page .hero-positioning-service .hero-positioning-line {
    display: block;
    width: 100%;
  }

  .limewash-page .hero-positioning-service .hero-positioning-line + .hero-positioning-line {
    margin-top: 0;
  }

  .limewash-page .hero-positioning-service .hero-positioning-separator,
  .limewash-page .hero-positioning-service .hero-positioning-tertiary {
    display: none !important;
  }

  .limewash-page .hero-copy h1 {
    max-width: none;
    font-size: clamp(2.75rem, 9.6vw, 3.5rem);
    line-height: 0.98;
    text-wrap: balance;
  }

  .landing-hero .hero-copy .section-intro {
    max-width: 30ch;
  }
}

@media (max-width: 767px) {
  .hero-home {
    padding-top: 24px;
    padding-bottom: 38px;
  }

  .hero-home .hero-layout {
    gap: 16px;
  }

  .hero-home .hero-copy {
    padding: 16px 16px 14px;
  }

  .hero-home .hero-positioning {
    margin-bottom: 10px;
    font-size: 0.66rem;
    line-height: 1.3;
    letter-spacing: 0.12em;
  }

  .hero-home .hero-positioning-mobile-hide {
    display: none;
  }

  .hero-home .hero-copy h1 {
    max-width: 12.4ch;
    font-size: clamp(2.55rem, 8.9vw, 3.35rem);
    line-height: 1.02;
    margin-bottom: 12px;
  }

  .hero-home .hero-subheadline {
    max-width: 29ch;
    font-size: 0.92rem;
    line-height: 1.62;
    margin-top: 8px;
  }

  .hero-home .image-panel {
    display: none;
  }

  .hero-home .hero-trust {
    margin-top: 8px;
    font-size: 0.81rem;
    line-height: 1.45;
  }

  .hero-home .hero-trust-desktop {
    display: none;
  }

  .hero-home .hero-trust-mobile {
    display: inline;
  }
}

@media (max-width: 520px) {
  .hero-home {
    padding-top: 22px;
    padding-bottom: 34px;
  }

  .hero-home .hero-copy {
    padding: 15px 14px 13px;
  }

  .hero-copy h1 {
    max-width: 11.4ch;
    font-size: clamp(2.65rem, 10.8vw, 3.3rem);
    line-height: 0.95;
    margin-bottom: 12px;
    text-wrap: balance;
  }

  .hero-subheadline {
    max-width: 28ch;
    font-size: 0.92rem;
  }

  .limewash-page .hero-positioning {
    max-width: 26ch;
    font-size: 0.64rem;
    line-height: 1.34;
    letter-spacing: 0.11em;
  }

  .limewash-page .hero-positioning-service {
    gap: 3px;
    font-size: 0.62rem;
    letter-spacing: 0.09em;
  }

  .limewash-page .hero-copy h1 {
    max-width: none;
    font-size: clamp(2.38rem, 9.2vw, 3rem);
    line-height: 1;
    text-wrap: balance;
  }

  .landing-hero .hero-copy .section-intro {
    max-width: 28ch;
  }

  .hero-home .hero-copy h1 {
    max-width: 11.8ch;
    font-size: clamp(2.28rem, 8.7vw, 2.85rem);
    line-height: 1.04;
  }

  .hero-home .hero-subheadline {
    max-width: 27ch;
    font-size: 0.89rem;
    line-height: 1.58;
  }

  .hero-home .hero-positioning {
    font-size: 0.62rem;
    line-height: 1.28;
  }

  .hero-home .hero-trust {
    font-size: 0.79rem;
  }
}
