:root {
  --cream: #efe7dc;
  --soft-cream: #f8f3ec;
  --beige: #e6d8c8;
  --stone: #c8b8a6;
  --charcoal: #1d1b18;
  --brown: #2a211c;
  --terracotta: #a85f55;
  --line: rgba(42, 33, 28, 0.12);
  --line-dark: rgba(248, 243, 236, 0.18);
  --serif: "Cormorant Garamond", "Libre Baskerville", Georgia, serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --container: min(1320px, calc(100vw - 72px));
  --radius-xl: 28px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --shadow-soft: 0 28px 80px rgba(29, 27, 24, 0.12);
  --shadow-float: 0 24px 72px rgba(12, 10, 8, 0.2);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scroll-padding-top: 110px;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.68;
  overflow-x: hidden;
}

body::before {
  display: none;
}

body.menu-open,
body.consultation-open,
body.gallery-lightbox-open {
  overflow: hidden;
}

body::after {
  display: none;
  content: none;
}

body.is-ready::after {
  animation: none;
}

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

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

button {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(168, 95, 85, 0.62);
  outline-offset: 3px;
}

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

.section {
  padding: 118px 0;
  scroll-margin-top: 132px;
}

section[id] {
  scroll-margin-top: 132px;
}

.section-tight {
  padding: 44px 0 92px;
}

.section-kicker,
.eyebrow {
  margin: 0 0 28px;
  color: var(--terracotta);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow {
  color: rgba(248, 243, 236, 0.78);
}

.eyebrow.dark {
  color: var(--terracotta);
}

.cursor-light {
  position: fixed;
  z-index: 999;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(248, 243, 236, 0.14), transparent 62%);
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 240ms ease;
  mix-blend-mode: soft-light;
}

body.has-pointer .cursor-light {
  opacity: 1;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.98;
}

h1 {
  max-width: 780px;
  color: var(--soft-cream);
  font-size: clamp(58px, 6.1vw, 92px);
  line-height: 0.94;
}

.mobile-title-break {
  display: inline;
}

.tablet-title-break {
  display: inline;
}

.hero-title-final {
  display: block;
}

h2 {
  color: var(--brown);
  font-size: clamp(44px, 5vw, 76px);
  line-height: 0.96;
}

h3 {
  font-size: 29px;
}

p {
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.btn span {
  display: inline-block;
  transition: transform 220ms ease;
}

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

.btn:hover span {
  transform: translateX(4px);
}

.btn-dark {
  background: var(--brown);
  color: var(--soft-cream);
}

.btn-dark:hover {
  background: #49362d;
}

.btn-light {
  background: var(--soft-cream);
  color: var(--brown);
}

.btn-light:hover {
  background: var(--beige);
}

.btn-glass {
  position: relative;
  overflow: hidden;
  border-color: rgba(248, 243, 236, 0.24);
  background:
    linear-gradient(135deg, rgba(73, 54, 45, 0.98), rgba(42, 33, 28, 0.98)),
    var(--brown);
  color: var(--soft-cream);
  box-shadow:
    0 18px 42px rgba(12, 10, 8, 0.24),
    inset 0 1px 0 rgba(248, 243, 236, 0.22),
    inset 0 -1px 0 rgba(12, 10, 8, 0.28);
  isolation: isolate;
}

.btn-glass::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(circle at 16% 0%, rgba(248, 243, 236, 0.24), transparent 32%),
    linear-gradient(110deg, rgba(255, 255, 255, 0.12), transparent 28%, rgba(184, 99, 81, 0.16) 72%, transparent);
  content: "";
  opacity: 0.92;
  pointer-events: none;
}

.btn-glass::after {
  content: none;
}

.btn-glass:hover {
  border-color: rgba(248, 243, 236, 0.36);
  background:
    linear-gradient(135deg, rgba(83, 62, 52, 1), rgba(42, 33, 28, 1)),
    var(--brown);
  box-shadow:
    0 22px 50px rgba(12, 10, 8, 0.3),
    inset 0 1px 0 rgba(248, 243, 236, 0.28),
    inset 0 -1px 0 rgba(12, 10, 8, 0.34);
}

.btn-ghost-light {
  border-color: rgba(248, 243, 236, 0.45);
  color: var(--soft-cream);
}

.btn-ghost-light:hover {
  background: rgba(248, 243, 236, 0.12);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.site-header {
  position: fixed;
  top: 68px;
  left: 50%;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  width: min(1240px, calc(100vw - 112px));
  height: 104px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: transparent;
  box-shadow: none;
  transform: translateX(-50%);
  color: var(--soft-cream);
  overflow: hidden;
  isolation: isolate;
  pointer-events: none;
  backdrop-filter: blur(0) saturate(100%);
  -webkit-backdrop-filter: blur(0) saturate(100%);
  transition: background 280ms ease, box-shadow 280ms ease, color 240ms ease, width 280ms ease, top 280ms ease, height 280ms ease, padding 280ms ease, border-radius 280ms ease, border-color 280ms ease, backdrop-filter 280ms ease;
}

.site-header > * {
  position: relative;
  z-index: 1;
  pointer-events: auto;
}

.site-header::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 16% 6%, rgba(255, 255, 255, 0.48), transparent 31%),
    radial-gradient(circle at 84% 96%, rgba(248, 243, 236, 0.15), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(239, 231, 220, 0.1) 50%, rgba(255, 255, 255, 0.12));
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.site-header::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.18), transparent 24%, transparent 78%, rgba(255, 255, 255, 0.08));
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

body:not(.is-ready) .site-header {
  opacity: 0;
  transform: translate(-50%, -12px);
}

body.is-ready .site-header {
  opacity: 1;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  width: 100%;
  height: 2px;
  background: var(--terracotta);
  transform-origin: left;
  transform: scaleX(var(--progress-scale, 0));
  transition: transform 90ms linear;
}

.site-header.is-scrolled {
  top: 14px;
  width: min(1240px, calc(100vw - 112px));
  height: 84px;
  padding: 0 22px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(248, 243, 236, 0.18);
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.42), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(239, 231, 220, 0.22)),
    rgba(248, 243, 236, 0.34);
  box-shadow:
    0 22px 58px rgba(29, 27, 24, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
  color: var(--brown);
  backdrop-filter: blur(22px) saturate(152%);
  -webkit-backdrop-filter: blur(22px) saturate(152%);
  outline: 0;
}

.site-header.is-scrolled::before,
.site-header.is-scrolled::after {
  opacity: 1;
}

.menu-toggle,
.header-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  content: "";
}

.menu-lines {
  position: relative;
}

.menu-lines::before,
.menu-lines::after {
  position: absolute;
  left: 0;
}

.menu-lines::before {
  top: -6px;
}

.menu-lines::after {
  top: 6px;
}

.brand {
  display: grid;
  place-items: center;
  width: 118px;
  height: 76px;
  justify-self: center;
  overflow: hidden;
  border: 1px solid rgba(248, 243, 236, 0.2);
  border-radius: 24px;
  background: rgba(29, 27, 24, 0.52);
  box-shadow: 0 16px 38px rgba(12, 10, 8, 0.16);
  backdrop-filter: blur(14px);
  transition: width 260ms ease, height 260ms ease, border-radius 260ms ease, background 260ms ease, opacity 240ms ease, transform 280ms var(--ease-out);
}

.brand img {
  width: 98px;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.site-header:not(.is-scrolled) .brand {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.site-header.is-scrolled .brand {
  width: 118px;
  height: 76px;
  border-radius: 20px;
  border-color: rgba(42, 33, 28, 0.12);
  background: rgba(29, 27, 24, 0.88);
}

.site-header.is-scrolled .brand img {
  width: 98px;
}

.header-contact {
  justify-self: end;
}

.arrow-box {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 999px;
  background: var(--soft-cream);
  color: var(--brown);
  font-size: 0;
  line-height: 1;
  text-align: center;
  transition: transform 220ms ease, background 220ms ease;
}

.arrow-box::before,
.arrow-box::after {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  content: "";
  pointer-events: none;
}

.arrow-box::before {
  width: 15px;
  height: 15px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.5 8h8M8.65 4.9 11.75 8l-3.1 3.1' fill='none' stroke='black' stroke-width='1.55' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.5 8h8M8.65 4.9 11.75 8l-3.1 3.1' fill='none' stroke='black' stroke-width='1.55' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: translate(-50%, -50%);
}

.arrow-box::after {
  content: none;
}

.site-header.is-scrolled .arrow-box {
  background: var(--brown);
  color: var(--soft-cream);
}

.header-contact:hover .arrow-box {
  transform: translateX(3px);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  overflow: hidden;
  max-width: 100vw;
  contain: layout paint;
  pointer-events: none;
  background: rgba(29, 27, 24, 0.42);
  opacity: 0;
  transition: opacity 260ms ease, visibility 260ms ease;
}

.menu-overlay.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.menu-panel {
  width: min(520px, 100%);
  height: 100%;
  margin-left: auto;
  padding: 42px;
  background: var(--soft-cream);
  color: var(--brown);
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
  transform: translateX(100%);
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-overlay.is-open .menu-panel {
  transform: translateX(0);
}

.menu-close {
  display: block;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--brown);
  cursor: pointer;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.menu-panel nav {
  display: grid;
  gap: 14px;
  margin-top: 90px;
}

.menu-panel nav a {
  position: relative;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  font-family: var(--serif);
  font-size: clamp(40px, 8vw, 72px);
  line-height: 0.96;
  opacity: 0;
  transform: translateX(28px);
  transition: color 260ms ease, padding-left 360ms var(--ease-luxury);
}

.menu-panel nav a::after {
  position: absolute;
  right: 0;
  bottom: 18px;
  color: var(--terracotta);
  font-family: var(--sans);
  font-size: 18px;
  opacity: 0;
  content: "→";
  transform: translateX(-12px);
  transition: opacity 260ms ease, transform 360ms var(--ease-luxury);
}

.menu-panel nav a:hover,
.menu-panel nav a:focus-visible {
  color: var(--terracotta);
  padding-left: 18px;
}

.menu-panel nav a:hover::after,
.menu-panel nav a:focus-visible::after {
  opacity: 1;
  transform: translateX(0);
}

.menu-panel p {
  margin-top: 72px;
  color: rgba(42, 33, 28, 0.64);
}

.menu-overlay.is-open .menu-panel nav a {
  animation: menuLinkIn 520ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.menu-overlay.is-open .menu-panel nav a:nth-child(2) { animation-delay: 45ms; }
.menu-overlay.is-open .menu-panel nav a:nth-child(3) { animation-delay: 90ms; }
.menu-overlay.is-open .menu-panel nav a:nth-child(4) { animation-delay: 135ms; }
.menu-overlay.is-open .menu-panel nav a:nth-child(5) { animation-delay: 180ms; }
.menu-overlay.is-open .menu-panel nav a:nth-child(6) { animation-delay: 225ms; }
.menu-overlay.is-open .menu-panel nav a:nth-child(7) { animation-delay: 270ms; }

@keyframes menuLinkIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.consultation-overlay {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  justify-content: flex-end;
  visibility: hidden;
  overflow: hidden;
  max-width: 100vw;
  contain: layout paint;
  pointer-events: none;
  background: rgba(18, 14, 11, 0.54);
  opacity: 0;
  transition: opacity 460ms var(--ease-luxury), visibility 460ms var(--ease-luxury);
}

.consultation-overlay.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.consultation-panel {
  width: min(600px, 100%);
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  scrollbar-gutter: stable;
  padding: 46px clamp(28px, 4vw, 54px) max(72px, env(safe-area-inset-bottom));
  border-left: 1px solid rgba(248, 243, 236, 0.34);
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 255, 255, 0.42), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(200, 184, 166, 0.34), transparent 34%),
    linear-gradient(145deg, rgba(248, 243, 236, 0.94), rgba(230, 216, 200, 0.9));
  box-shadow: -34px 0 100px rgba(12, 10, 8, 0.34), inset 1px 0 0 rgba(255, 255, 255, 0.38);
  color: var(--brown);
  opacity: 0;
  transform: translate3d(calc(100% + 18px), 0, 0) scale(0.985);
  transform-origin: right center;
  transition:
    transform 760ms cubic-bezier(0.19, 1, 0.22, 1),
    opacity 420ms ease;
  backdrop-filter: blur(22px) saturate(135%);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
  outline: 0;
  will-change: transform, opacity;
}

.consultation-overlay.is-open .consultation-panel {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.consultation-close {
  position: sticky;
  top: 0;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  min-height: 38px;
  margin: 0 0 56px auto;
  border: 1px solid rgba(255, 255, 255, 0.46);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.48), rgba(248, 243, 236, 0.2)),
    rgba(248, 243, 236, 0.26);
  color: var(--brown);
  cursor: pointer;
  border-radius: 999px;
  padding: 8px 14px;
  box-shadow: 0 14px 34px rgba(42, 33, 28, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  transition: transform 180ms var(--ease-luxury), box-shadow 180ms ease, background 180ms ease;
}

.consultation-close:hover {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.64), rgba(248, 243, 236, 0.28)),
    rgba(248, 243, 236, 0.34);
  box-shadow: 0 18px 42px rgba(42, 33, 28, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  transform: translateY(-1px);
}

.consultation-close:active {
  transform: scale(0.97);
}

.consultation-panel h2 {
  max-width: 430px;
  font-size: clamp(48px, 7vw, 78px);
}

.consultation-intro {
  max-width: 460px;
  margin-top: 24px;
  color: rgba(42, 33, 28, 0.68);
  font-size: 14px;
}

.consultation-form {
  display: grid;
  gap: 18px;
  margin-top: 38px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}

.form-status {
  margin: 0;
}

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

.form-field label,
.form-field legend,
.form-check {
  color: rgba(42, 33, 28, 0.76);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.option-field {
  margin: 0;
  border: 0;
  padding: 0;
}

.option-field legend {
  margin-bottom: 8px;
  padding: 0;
}

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

.choice-row label {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 48px;
  border: 1px solid rgba(42, 33, 28, 0.13);
  border-radius: var(--radius-sm);
  background: rgba(255, 252, 247, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.44);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.choice-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-row span {
  color: rgba(42, 33, 28, 0.78);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  pointer-events: none;
  text-transform: none;
}

.choice-row label:has(input:checked) {
  border-color: rgba(168, 95, 85, 0.45);
  background: rgba(168, 95, 85, 0.11);
  box-shadow: 0 0 0 4px rgba(168, 95, 85, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

.choice-row label:has(input:focus-visible) {
  border-color: rgba(168, 95, 85, 0.62);
  box-shadow: 0 0 0 4px rgba(168, 95, 85, 0.12);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(42, 33, 28, 0.13);
  border-radius: var(--radius-sm);
  background: rgba(255, 252, 247, 0.54);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.44);
  color: var(--brown);
  font: 500 14px/1.4 var(--sans);
  outline: 0;
  transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.form-field input,
.form-field select {
  height: 48px;
  padding: 0 14px;
}

.finance-amount-field {
  border: 1px solid rgba(42, 33, 28, 0.1);
  border-radius: var(--radius-md);
  padding: 16px;
  background:
    linear-gradient(145deg, rgba(255, 252, 247, 0.58), rgba(230, 216, 200, 0.24)),
    rgba(248, 243, 236, 0.42);
  animation: conditionalFieldIn 260ms var(--ease-luxury) both;
}

.finance-amount-field[hidden],
.finance-custom-field[hidden] {
  display: none;
}

.finance-custom-field {
  display: grid;
  gap: 8px;
  margin-top: 6px;
  animation: conditionalFieldIn 220ms var(--ease-luxury) both;
}

@keyframes conditionalFieldIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.upload-field {
  gap: 10px;
}

.upload-drop {
  position: relative;
  display: grid;
  gap: 6px;
  min-height: 86px;
  align-content: center;
  border: 1px dashed rgba(42, 33, 28, 0.2);
  border-radius: var(--radius-md);
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 252, 247, 0.62), rgba(230, 216, 200, 0.28)),
    rgba(248, 243, 236, 0.46);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: border-color 200ms ease, background 200ms ease, transform 200ms var(--ease-luxury);
}

.upload-drop:hover {
  border-color: rgba(168, 95, 85, 0.42);
  background: rgba(248, 243, 236, 0.68);
  transform: translateY(-1px);
}

.upload-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.upload-title {
  color: var(--brown);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
}

.upload-helper {
  max-width: 360px;
  color: rgba(42, 33, 28, 0.62);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
}

.upload-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(42, 33, 28, 0.12);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: rgba(255, 252, 247, 0.5);
}

.upload-file[hidden] {
  display: none !important;
}

.upload-file span {
  min-width: 0;
  overflow: hidden;
  color: rgba(42, 33, 28, 0.78);
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-file button {
  border: 0;
  background: transparent;
  color: var(--terracotta);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-field textarea {
  min-height: 136px;
  resize: vertical;
  padding: 14px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.form-check input:focus-visible {
  border-color: rgba(168, 95, 85, 0.55);
  background: var(--soft-cream);
  box-shadow: 0 0 0 4px rgba(168, 95, 85, 0.1);
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: rgba(168, 95, 85, 0.75);
}

.field-error {
  min-height: 16px;
  color: var(--terracotta);
  font-size: 11px;
  line-height: 1.35;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 2px;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.45;
}

.form-check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--terracotta);
}

.form-check span {
  color: rgba(42, 33, 28, 0.7);
  font-size: 13px;
  font-weight: 600;
}

.form-check-error {
  margin-top: -12px;
}

.consultation-submit {
  width: 100%;
  margin-top: 6px;
}

.consultation-submit:disabled {
  cursor: progress;
  opacity: 0.68;
  transform: none;
}

.form-success,
.form-error {
  border: 1px solid rgba(168, 95, 85, 0.22);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  background: rgba(168, 95, 85, 0.08);
  color: var(--brown);
  font-size: 13px;
}

.form-error {
  border-color: rgba(168, 95, 85, 0.34);
  background: rgba(168, 95, 85, 0.12);
}

.hero {
  position: relative;
  min-height: min(720px, calc(100vh - 132px));
  width: min(1320px, calc(100vw - 72px));
  margin: 54px auto 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--brown);
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.08);
  transform-origin: center;
  animation: heroSettle 1800ms var(--ease-out) 160ms forwards;
  will-change: auto;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 68% 36%, rgba(168, 95, 85, 0.16), transparent 34%),
    linear-gradient(90deg, rgba(12, 10, 8, 0.78), rgba(12, 10, 8, 0.25) 56%, rgba(12, 10, 8, 0.44)),
    linear-gradient(0deg, rgba(12, 10, 8, 0.58), rgba(12, 10, 8, 0.04) 58%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: min(720px, calc(100vh - 132px));
  width: min(900px, calc(100% - 96px));
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 0 clamp(72px, 7vw, 104px) clamp(42px, 5.5vw, 76px);
}

.hero-content > * {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 850ms ease, transform 850ms var(--ease-out);
}

body.is-ready .hero-content > * {
  opacity: 1;
  transform: translateY(0);
}

body.is-ready .hero-content > *:nth-child(2) { transition-delay: 120ms; }
body.is-ready .hero-content > *:nth-child(3) { transition-delay: 220ms; }
body.is-ready .hero-content > *:nth-child(4) { transition-delay: 320ms; }

.hero-feature-card {
  position: absolute;
  right: clamp(36px, 5vw, 76px);
  bottom: clamp(52px, 6vw, 86px);
  z-index: 3;
  width: min(350px, calc(100% - 48px));
  padding: 28px;
  border: 1px solid rgba(248, 243, 236, 0.48);
  border-radius: var(--radius-lg);
  background: rgba(248, 243, 236, 0.88);
  box-shadow: var(--shadow-float);
  color: var(--brown);
  opacity: 0;
  transform: translateY(0) scale(1);
  backdrop-filter: blur(16px);
  transition: opacity 420ms ease, transform 520ms var(--ease-luxury);
}

body.is-ready .hero-feature-card {
  opacity: 1;
}

.hero-feature-card .card-label {
  margin-bottom: 16px;
  color: rgba(42, 33, 28, 0.54);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-feature-card h2 {
  color: var(--brown);
  font-size: 32px;
  line-height: 1;
}

.hero-feature-card span,
.hero-feature-card p {
  display: block;
  margin-top: 10px;
  color: rgba(42, 33, 28, 0.66);
  font-size: 12px;
  line-height: 1.55;
}

.feature-card-controls {
  display: grid;
  grid-template-columns: 34px 34px 1fr auto;
  gap: 8px;
  align-items: center;
  margin-top: 18px;
}

.feature-card-controls button {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--brown);
  cursor: pointer;
  font-size: 0;
  line-height: 1;
  transition: background 220ms ease, color 220ms ease, transform 220ms var(--ease-out);
}

.feature-card-controls button::before,
.feature-card-controls button::after {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  content: "";
  pointer-events: none;
}

.feature-card-controls button::before {
  width: 11px;
  height: 1.4px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.feature-card-controls button::after {
  width: 5.5px;
  height: 5.5px;
  border-top: 1.4px solid currentColor;
  border-right: 1.4px solid currentColor;
  transform: translate(calc(-50% + 3.8px), -50%) rotate(45deg);
}

.feature-card-controls button[data-feature-prev]::after {
  transform: translate(calc(-50% - 3.8px), -50%) rotate(225deg);
}

.feature-card-controls button:hover {
  background: var(--brown);
  color: var(--soft-cream);
  transform: translateY(-2px);
}

.feature-card-controls i {
  display: block;
  height: 1px;
  background: var(--line);
}

.feature-card-controls strong {
  color: rgba(42, 33, 28, 0.58);
  font-size: 11px;
}

@keyframes miniCardIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-copy {
  max-width: 540px;
  margin: 32px 0 30px;
  color: rgba(248, 243, 236, 0.82);
}

.scroll-mark {
  position: absolute;
  right: 44px;
  bottom: 54px;
  z-index: 2;
  width: 16px;
  height: 34px;
  border: 1px solid rgba(248, 243, 236, 0.72);
  border-radius: 999px;
}

.scroll-mark::after {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--soft-cream);
  content: "";
  transform: translateX(-50%);
  animation: scrollDot 1.8s ease infinite;
}

@keyframes scrollDot {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.3; }
  50% { transform: translate(-50%, 12px); opacity: 1; }
}

@keyframes heroSettle {
  to {
    transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.02);
  }
}

@keyframes pageSheen {
  to {
    transform: translateX(120%);
  }
}

.intro {
  background: var(--soft-cream);
  padding-top: 96px;
}

.intro-grid,
.finance-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.45fr 0.95fr;
  gap: 70px;
  align-items: start;
}

.intro-grid > *,
.about-grid > *,
.services-grid > *,
.approach-grid > *,
.concepts-grid > *,
.standards-grid > *,
.areas-grid > *,
.vision-grid > *,
.projects-heading > *,
.finance-grid > *,
.process-heading > *,
.footer-grid > * {
  min-width: 0;
}

.intro-copy p,
.about-copy p,
.services-copy p,
.approach-copy p,
.projects-heading p,
.standards-copy p,
.finance-copy p,
.areas-copy p,
.vision-copy p,
.final-cta p {
  max-width: 650px;
  margin-top: 20px;
  color: rgba(42, 33, 28, 0.72);
}

.intro-copy p {
  max-width: 590px;
}

.intro-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 52% 68%;
}

.intro-image,
.mood,
.showcase,
.standards-image,
.areas-image,
.project-card,
.gallery-grid img,
.vision-collage,
.approach-images {
  overflow: hidden;
  border-radius: var(--radius-lg);
  clip-path: inset(0 round 24px);
  transition: opacity 520ms ease, transform 560ms var(--ease-luxury);
}

.intro-image,
.mood,
.standards-image,
.areas-image {
  margin-right: 0;
  margin-left: 0;
}

.intro-image img,
.mood img,
.showcase img,
.standards-image img,
.areas-image img,
.vision-collage img,
.approach-images img,
.project-card img,
.gallery-grid img {
  border-radius: inherit;
}

.standards-image,
.standards-image img,
.areas-image,
.areas-image img,
.vision-collage,
.vision-collage img {
  overflow: hidden;
  border-radius: var(--radius-lg) !important;
}

.intro-image.is-visible,
.mood.is-visible,
.showcase.is-visible,
.standards-image.is-visible,
.areas-image.is-visible,
.project-card.is-visible,
.gallery-grid img.is-visible,
.vision-collage.is-visible,
.approach-images.is-visible {
  clip-path: inset(0 round 24px);
}

.intro-image img,
.mood img,
.showcase img,
.standards-image img,
.areas-image img,
.vision-collage img:first-child,
.approach-images img,
.project-card img,
.gallery-grid img {
  transform: translate3d(0, 0, 0) scale(1);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.35fr 0.9fr;
  gap: 72px;
  align-items: center;
}

.about-label {
  align-self: start;
  color: var(--terracotta);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.mood-left {
  grid-column: 1;
  width: min(330px, 100%);
  margin-top: 42px;
}

.mood-left img {
  aspect-ratio: 4 / 5.6;
}

.mood-right {
  align-self: end;
  width: min(330px, 100%);
  justify-self: end;
}

.mood img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.mood-right img {
  aspect-ratio: 4 / 5.6;
}

.about-copy {
  grid-column: 2;
}

.about-copy .btn {
  margin-top: 30px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}

.stat-card {
  display: flex;
  min-height: 172px;
  padding: 34px 32px 28px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, rgba(248, 243, 236, 0.68), rgba(230, 216, 200, 0.46));
  box-shadow: 0 18px 58px rgba(42, 33, 28, 0.05);
  opacity: 1;
  transform: none;
  transition: transform 300ms var(--ease-luxury), background 300ms ease, border-color 300ms ease;
}

.stat-card:hover {
  border-color: rgba(168, 95, 85, 0.22);
  background: rgba(230, 216, 200, 0.56);
  transform: translateY(-4px);
}

.stat-card strong {
  display: block;
  margin-bottom: 20px;
  font-family: var(--serif);
  font-size: clamp(46px, 4.2vw, 70px);
  font-weight: 500;
  line-height: 1;
}

.stat-card span {
  display: block;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: rgba(42, 33, 28, 0.72);
  font-size: 12px;
}

.showcase {
  overflow: hidden;
  margin-top: 14px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-soft);
}

.showcase img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  object-position: 42% 52%;
}

.services-grid,
.approach-grid,
.concepts-grid,
.standards-grid,
.areas-grid,
.vision-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(64px, 7vw, 104px);
  align-items: start;
}

.standards-grid {
  grid-template-columns: minmax(0, 0.54fr) minmax(0, 1.7fr);
  gap: clamp(48px, 5.5vw, 84px);
  align-items: center;
}

.services-grid {
  position: relative;
}

.services-copy {
  position: sticky;
  top: 132px;
}

.services-copy .btn {
  margin-top: 34px;
}

.services-copy h2 + p {
  margin-top: 36px;
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-preview {
  position: fixed;
  z-index: 40;
  width: 230px;
  height: 150px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-float);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0) scale(0.94);
}

.service-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-row {
  display: grid;
  grid-template-columns: 54px 1fr 30px;
  width: 100%;
  align-items: center;
  gap: 16px;
  min-height: 66px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: rgba(42, 33, 28, 0.42);
  cursor: pointer;
  text-align: left;
  font-family: var(--serif);
  font-size: clamp(26px, 2.7vw, 40px);
  line-height: 1.08;
  transition: color 320ms ease, padding-left 320ms var(--ease-out), background 320ms ease;
}

.service-row span,
.service-row i {
  color: var(--terracotta);
  font-family: var(--sans);
  font-size: 12px;
  font-style: normal;
  opacity: 0.62;
}

.service-row i {
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.service-row:hover,
.service-row.is-active {
  color: var(--brown);
  padding-left: 12px;
  background: linear-gradient(90deg, rgba(168, 95, 85, 0.06), transparent 48%);
}

.service-row:hover i,
.service-row.is-active i {
  opacity: 1;
  transform: translateX(0);
}

.approach {
  background: var(--soft-cream);
}

.approach-images {
  position: relative;
  min-height: 720px;
}

.tall-img {
  width: min(470px, 82%);
  aspect-ratio: 4 / 6;
  object-fit: cover;
}

.small-img {
  position: absolute;
  right: 0;
  bottom: 42px;
  width: min(260px, 44%);
  aspect-ratio: 1;
  object-fit: cover;
  border: 12px solid var(--soft-cream);
  border-radius: var(--radius-lg);
}

.approach-images img[data-image-preview] {
  cursor: zoom-in;
}

.approach-images img[data-image-preview]:focus-visible {
  outline: 2px solid rgba(165, 91, 80, 0.78);
  outline-offset: 5px;
}

.center-heading {
  max-width: 760px;
  margin: 0 0 44px;
  text-align: left;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 72px;
  border-top: 1px solid var(--line);
}

.trust-grid article {
  position: relative;
  min-height: 106px;
  padding: 24px 0 22px 52px;
  border-bottom: 1px solid var(--line);
  color: rgba(42, 33, 28, 0.76);
  transition: color 260ms ease, padding-left 300ms var(--ease-luxury);
}

.trust-grid article:hover {
  color: var(--brown);
  padding-left: 60px;
}

.trust-grid article::before {
  position: absolute;
  top: 33px;
  left: 16px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--terracotta);
  content: "";
}

.trust-grid article span {
  display: none;
}

.trust-grid article strong {
  display: block;
  max-width: 320px;
  font-family: var(--serif);
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 500;
  line-height: 1;
  color: var(--brown);
}

.trust-grid article p {
  max-width: 420px;
  margin-top: 10px;
  color: rgba(42, 33, 28, 0.64);
  font-size: 12px;
  line-height: 1.55;
}

.concept-title .btn {
  margin-top: 34px;
}

.concept-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.concept-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  min-height: 112px;
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.concept-item span {
  align-self: center;
  color: var(--terracotta);
  font-size: 13px;
  line-height: 1;
}

.concept-item h3 {
  max-width: 780px;
  font-size: clamp(29px, 3vw, 44px);
  line-height: 1.02;
}

.concept-item p {
  max-width: 560px;
  margin-top: 12px;
  color: rgba(42, 33, 28, 0.62);
}

.concept-item.featured {
  grid-template-columns: 72px minmax(0, 1fr);
  padding: 22px 0;
}

.projects-intro {
  background: var(--soft-cream);
  padding-bottom: 76px;
}

.projects-heading {
  display: grid;
  grid-template-columns: 0.52fr minmax(0, 1.25fr) minmax(280px, 0.62fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
}

.projects-heading .section-kicker {
  align-self: start;
}

.projects-note {
  align-self: end;
}

.projects-heading .projects-note p {
  max-width: 360px;
}

.projects-heading .btn {
  justify-self: start;
  margin-top: 28px;
}

.project-grid-section {
  background: var(--soft-cream);
  padding-bottom: 142px;
}

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

.project-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 38px);
}

.project-card {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  padding: 12px 12px 24px;
  border: 1px solid rgba(42, 33, 28, 0.11);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(248, 243, 236, 0.62), rgba(230, 216, 200, 0.24));
  box-shadow: 0 18px 52px rgba(42, 33, 28, 0.045);
  transition: transform 320ms var(--ease-out), border-color 320ms ease, box-shadow 320ms ease;
}

.project-card:hover {
  border-color: rgba(168, 95, 85, 0.18);
  box-shadow: 0 22px 62px rgba(42, 33, 28, 0.07);
  transform: translateY(-4px);
}

.project-card img {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  border-radius: var(--radius-lg);
  object-fit: cover;
  transition: transform 420ms var(--ease-luxury);
}

.project-card:hover img {
  transform: scale(1.035);
}

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

.project-card.project-large img {
  aspect-ratio: 1.45 / 1;
}

.project-grid-three .project-card {
  height: 100%;
}

.project-grid-three .project-card img {
  aspect-ratio: 1.38 / 1;
}

.project-grid-three .project-card:nth-child(1) img {
  object-position: 50% 54%;
}

.project-grid-three .project-card:nth-child(2) img {
  object-position: 50% 48%;
}

.project-grid-three .project-card:nth-child(3) img {
  object-position: 50% 50%;
}

.project-card-body {
  --project-meta-zone: auto;
  --project-description-zone: auto;
  display: grid;
  grid-template-rows: auto auto auto;
  row-gap: 20px;
  min-width: 0;
  height: 100%;
  padding: 26px 12px 0;
}

.project-grid-three .project-card-body {
  --project-meta-zone: 132px;
  --project-description-zone: 150px;
  grid-template-rows: var(--project-meta-zone) var(--project-description-zone) auto;
}

.project-grid-three .project-meta {
  min-height: 132px;
}

.project-grid-three .project-meta h3 {
  font-size: clamp(29px, 2.05vw, 35px);
}

.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 0;
  padding: 0;
  transform: translateY(0);
  transition: transform 320ms var(--ease-out);
}

.project-card:hover .project-meta {
  transform: translateY(-2px);
}

.project-meta h3 {
  max-width: 420px;
  font-size: clamp(34px, 3.3vw, 50px);
  font-weight: 600;
  line-height: 0.96;
  text-wrap: balance;
}

.project-meta p {
  margin-top: 16px;
  color: rgba(42, 33, 28, 0.62);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.105em;
  line-height: 1.45;
  text-transform: uppercase;
}

.project-meta span,
.project-description,
.features {
  display: block;
  margin-top: 12px;
  color: rgba(42, 33, 28, 0.56);
  font-size: 13px;
}

.project-meta span {
  margin-top: 14px;
  color: rgba(42, 33, 28, 0.78);
  font-size: clamp(11px, 0.82vw, 12.5px);
  font-weight: 800;
  letter-spacing: 0.055em;
  line-height: 1.35;
  text-transform: uppercase;
}

.project-description {
  max-width: 94%;
  margin: 0;
  color: rgba(42, 33, 28, 0.78);
  font-size: clamp(12px, 0.84vw, 13px);
  font-weight: 720;
  line-height: 1.52;
  align-self: start;
  text-wrap: pretty;
}

.features {
  max-width: 100%;
  margin: 0;
  border-top: 1px solid var(--line);
  padding: 18px 0 0;
  color: rgba(42, 33, 28, 0.58);
  font-size: clamp(11.3px, 0.78vw, 12.2px);
  font-weight: 650;
  letter-spacing: 0.015em;
  line-height: 1.68;
  text-wrap: pretty;
}

.project-meta a {
  position: relative;
  display: grid;
  flex: 0 0 36px;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 0;
  line-height: 1;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

.project-meta a::before {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  content: "";
  pointer-events: none;
}

.project-meta a::before {
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.5 8h8M8.65 4.9 11.75 8l-3.1 3.1' fill='none' stroke='black' stroke-width='1.55' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.5 8h8M8.65 4.9 11.75 8l-3.1 3.1' fill='none' stroke='black' stroke-width='1.55' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: translate(-50%, -50%);
}

.project-card:hover .project-meta a {
  background: var(--brown);
  color: var(--soft-cream);
  transform: translateX(4px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-flow: dense;
  gap: 18px;
  margin-top: 42px;
  align-items: start;
  position: relative;
  z-index: 0;
}

.gallery-grid img {
  cursor: zoom-in;
}

.gallery-grid img:focus-visible {
  outline: 2px solid rgba(168, 95, 85, 0.72);
  outline-offset: 4px;
}

.gallery-title {
  max-width: 720px;
  margin-top: 10px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.gallery-grid img:nth-child(1) { object-position: 50% 52%; }
.gallery-grid img:nth-child(2) { object-position: 52% 58%; }
.gallery-grid img:nth-child(3) { object-position: 50% 45%; }
.gallery-grid img:nth-child(4) { object-position: 50% 55%; }
.gallery-grid img:nth-child(5) { object-position: 50% 50%; }
.gallery-grid img:nth-child(6) { object-position: 50% 45%; }
.gallery-grid img:nth-child(7) { object-position: 50% 50%; }
.gallery-grid img:nth-child(8) { object-position: 50% 52%; }
.gallery-grid img:nth-child(9) { object-position: 50% 50%; }
.gallery-grid img:nth-child(10) { object-position: 54% 50%; }
.gallery-grid img:nth-child(11) { object-position: 50% 50%; }
.gallery-grid img:nth-child(12) { object-position: 50% 56%; }
.gallery-grid img:nth-child(13) { object-position: 50% 48%; }
.gallery-grid img:nth-child(14) { object-position: 50% 48%; }
.gallery-grid img:nth-child(15) { object-position: 50% 50%; }

.gallery-grid img:nth-child(1) {
  grid-column: span 5;
  min-height: 360px;
}

.gallery-grid img:nth-child(2) {
  grid-column: span 3;
  min-height: 480px;
}

.gallery-grid img:nth-child(3) {
  grid-column: span 4;
  min-height: 300px;
  margin-top: 74px;
}

.gallery-grid img:nth-child(4) {
  grid-column: 2 / span 4;
  min-height: 280px;
  margin-top: -78px;
}

.gallery-grid img:nth-child(5) {
  grid-column: span 4;
  min-height: 430px;
}

.gallery-grid img:nth-child(6) {
  grid-column: span 3;
  min-height: 260px;
  margin-top: 58px;
}

.gallery-grid img:nth-child(7) {
  grid-column: span 7;
  min-height: 320px;
}

.gallery-grid img:nth-child(8) {
  grid-column: span 5;
  min-height: 390px;
  margin-top: -64px;
}

.gallery-grid img:nth-child(9) {
  grid-column: span 4;
  min-height: 300px;
  margin-top: 18px;
}

.gallery-grid img:nth-child(10) {
  grid-column: span 3;
  min-height: 430px;
  margin-top: -82px;
}

.gallery-grid img:nth-child(11) {
  grid-column: span 5;
  min-height: 310px;
}

.gallery-grid img:nth-child(12) {
  grid-column: span 4;
  min-height: 360px;
  margin-top: -54px;
}

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

.gallery-grid .tall {
  grid-row: auto;
}

.gallery-grid img:nth-child(1) {
  grid-column: span 5;
}

.gallery-grid img:nth-child(2) {
  grid-column: span 3;
}

.gallery-grid img:nth-child(3) {
  grid-column: span 4;
}

.gallery-grid img:nth-child(4) {
  grid-column: 2 / span 4;
}

.gallery-grid img:nth-child(5) {
  grid-column: span 4;
}

.gallery-grid img:nth-child(6) {
  grid-column: span 3;
}

.gallery-grid img:nth-child(7) {
  grid-column: span 7;
}

.gallery-grid img:nth-child(8) {
  grid-column: span 5;
}

.gallery-grid img:nth-child(9) {
  grid-column: span 4;
}

.gallery-grid img:nth-child(10) {
  grid-column: span 3;
}

.gallery-grid img:nth-child(11) {
  grid-column: span 5;
}

.gallery-grid img:nth-child(12) {
  grid-column: span 4;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: grid;
  place-items: center;
  visibility: hidden;
  padding: clamp(20px, 4vw, 48px);
  background:
    radial-gradient(circle at 50% 16%, rgba(248, 243, 236, 0.11), transparent 28%),
    rgba(12, 10, 8, 0.82);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms var(--ease-luxury), visibility 260ms var(--ease-luxury);
}

.gallery-lightbox.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.gallery-lightbox-frame {
  display: grid;
  place-items: center;
  width: min(1120px, 100%);
  max-height: min(82vh, 820px);
  border: 1px solid rgba(248, 243, 236, 0.2);
  border-radius: var(--radius-xl);
  padding: clamp(8px, 1.4vw, 14px);
  background: rgba(248, 243, 236, 0.09);
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  outline: 0;
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.gallery-lightbox-frame img {
  display: block;
  max-width: 100%;
  max-height: calc(82vh - 28px);
  border-radius: calc(var(--radius-lg) - 4px);
  object-fit: contain;
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.26);
}

.gallery-lightbox-close {
  position: absolute;
  top: max(18px, env(safe-area-inset-top));
  right: max(18px, env(safe-area-inset-right));
  z-index: 1;
  border: 1px solid rgba(248, 243, 236, 0.28);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(248, 243, 236, 0.88);
  color: var(--brown);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.standards {
  position: relative;
  z-index: 1;
  background: var(--brown);
  color: var(--soft-cream);
  overflow: hidden;
}

.standards h2 {
  color: var(--soft-cream);
}

.standards-copy p {
  color: rgba(248, 243, 236, 0.72);
}

.standards-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.standards-image.before-after {
  padding: 10px;
  border: 1px solid rgba(248, 243, 236, 0.14);
  border-radius: var(--radius-xl);
  background: rgba(248, 243, 236, 0.055);
  box-shadow: inset 0 1px 0 rgba(248, 243, 236, 0.12);
}

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

.before-after-panel {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 4px);
}

.before-after-panel img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 4.75;
  border-radius: inherit;
  object-fit: cover;
  object-position: center;
}

.before-panel img {
  object-position: 50% 48%;
}

.during-panel img {
  object-position: 49% 52%;
}

.after-panel img {
  object-position: 50% 44%;
}

.before-after-panel span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(248, 243, 236, 0.62);
  color: var(--brown);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
}

.finance-grid {
  grid-template-columns: 0.65fr minmax(0, 1.1fr) minmax(220px, 0.8fr);
  align-items: start;
}

.finance-copy {
  grid-column: 2;
  justify-self: center;
  width: min(100%, 650px);
  padding-top: 58px;
}

.finance-copy h2,
.process-heading h2 {
  line-height: 1.08;
}

.finance-copy h2 + p {
  margin-top: 42px;
}

.finance-copy p + p {
  margin-top: 22px;
}

.finance-disclaimer {
  display: block;
  grid-column: 3;
  align-self: end;
  justify-self: end;
  max-width: 250px;
  margin-top: auto;
  color: rgba(42, 33, 28, 0.52);
  font-size: 12px;
  line-height: 1.6;
  text-align: right;
}

.process {
  background: var(--soft-cream);
}

.process-heading {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 60px;
  margin-bottom: 44px;
}

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

.process-grid article {
  position: relative;
  min-height: 178px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 26px 24px;
  background: linear-gradient(145deg, rgba(248, 243, 236, 0.62), rgba(230, 216, 200, 0.24));
  overflow: hidden;
  transition: transform 300ms var(--ease-luxury), background 300ms ease, border-color 300ms ease;
}

.process-grid article::after {
  position: absolute;
  top: 0;
  left: 26px;
  right: 26px;
  height: 3px;
  border-radius: 999px;
  background: var(--terracotta);
  content: "";
  opacity: 0.56;
}

.process-grid article:hover {
  border-color: rgba(168, 95, 85, 0.26);
  background: rgba(248, 243, 236, 0.78);
  transform: translateY(-4px);
}

.process-grid span {
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 700;
}

.process-grid h3 {
  margin-top: 28px;
  font-size: 30px;
}

.process-grid p {
  margin-top: 12px;
  color: rgba(42, 33, 28, 0.68);
  font-size: 13px;
  line-height: 1.55;
  text-transform: capitalize;
}

.areas-list {
  column-count: 3;
  column-gap: 34px;
  margin-top: 30px;
}

.areas-list span {
  display: block;
  break-inside: avoid;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  color: rgba(42, 33, 28, 0.74);
  font-size: 13px;
}

.areas-image {
  margin: 0;
}

.areas-image img {
  width: 100%;
  max-height: min(640px, 62vh);
  aspect-ratio: 4 / 4.35;
  border-radius: var(--radius-lg);
  object-fit: cover;
  object-position: 50% 68%;
}

@media (min-width: 961px) {
  .areas-image {
    margin-top: clamp(28px, 3vw, 46px);
  }
}

.vision {
  background: var(--soft-cream);
}

.vision-collage {
  display: grid;
  grid-template-columns: 1.1fr 0.65fr;
  gap: 18px;
  align-items: end;
}

.vision-collage img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.vision-collage img:first-child {
  grid-row: span 2;
  aspect-ratio: 4 / 5;
}

.vision-collage img:nth-child(2),
.vision-collage img:nth-child(3) {
  aspect-ratio: 1;
}

.final-cta {
  padding: 150px 0;
  background: var(--charcoal);
  color: var(--soft-cream);
  text-align: center;
}

.final-cta-inner {
  display: grid;
  justify-items: center;
}

.final-cta h2,
.final-cta h3 {
  color: var(--soft-cream);
}

.final-cta h2 {
  font-size: clamp(68px, 10vw, 140px);
}

.final-cta h3 {
  margin-top: 10px;
  font-size: clamp(38px, 5vw, 72px);
}

.final-cta p {
  color: rgba(248, 243, 236, 0.72);
}

.final-cta .button-row {
  margin-top: 34px;
  justify-content: center;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 118px 0 32px;
  background: var(--charcoal);
  color: var(--soft-cream);
}

.footer-cta {
  border-top: 1px solid var(--line-dark);
  padding-top: 58px;
  padding-bottom: 72px;
}

.footer-cta .eyebrow {
  color: rgba(248, 243, 236, 0.58);
}

.footer-cta h2 {
  max-width: 920px;
  color: var(--soft-cream);
  font-size: clamp(54px, 7.4vw, 112px);
}

.footer-wordmark {
  width: var(--container);
  margin: clamp(52px, 7vw, 92px) auto 0;
  color: rgba(248, 243, 236, 0.055);
  font-family: var(--serif);
  font-size: clamp(78px, 17vw, 240px);
  font-weight: 700;
  line-height: 0.8;
  text-transform: uppercase;
  white-space: nowrap;
  text-align: center;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(42px, 8vw, 110px);
  border-top: 1px solid var(--line-dark);
  padding-top: 54px;
}

.footer-logo {
  width: 150px;
  height: auto;
  margin-bottom: 24px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
}

.footer-grid p {
  max-width: 470px;
  color: rgba(248, 243, 236, 0.68);
}

.footer-grid nav,
.footer-grid address {
  display: grid;
  gap: 10px;
  color: rgba(248, 243, 236, 0.74);
  font-style: normal;
}

.footer-grid a {
  transition: color 180ms ease;
}

.footer-grid a:hover {
  color: var(--soft-cream);
}

.footer-bottom {
  margin-top: 64px;
  border-top: 1px solid var(--line-dark);
  padding-top: 24px;
  color: rgba(248, 243, 236, 0.48);
  font-size: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 720ms ease, transform 720ms var(--ease-luxury);
}

.reveal-card {
  transform: translateY(34px) scale(0.975);
}

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

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

.stat-card.reveal,
.process-grid article.reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero > img,
  .intro-image img,
  .mood img,
  .showcase img,
  .standards-image img,
  .areas-image img,
  .vision-collage img:first-child,
  .approach-images img,
  .project-card img,
  .gallery-grid img {
    transform: none;
  }

  body::after {
    display: none;
  }
}

@media (max-width: 1180px) {
  :root {
    --container: min(100vw - 46px, 1120px);
  }

  .section {
    padding: 84px 0;
  }

  .hero {
    width: calc(100vw - 46px);
  }

  .site-header,
  .site-header.is-scrolled {
    width: calc(100vw - 84px);
  }

  .brand {
    width: 108px;
    height: 72px;
  }

  .brand img {
    width: 90px;
  }

  .site-header.is-scrolled {
    height: 80px;
  }

  .site-header.is-scrolled .brand {
    width: 108px;
    height: 72px;
  }

  .site-header.is-scrolled .brand img {
    width: 90px;
  }

  h1 {
    max-width: 620px;
    font-size: clamp(52px, 7.4vw, 76px);
  }

  .tablet-title-break {
    display: block;
  }

  .hero,
  .hero-content {
    min-height: min(690px, calc(100vh - 112px));
  }

  .intro-grid,
  .about-grid,
  .services-grid,
  .approach-grid,
  .concepts-grid,
  .standards-grid,
  .areas-grid,
  .vision-grid,
  .projects-heading {
    gap: 48px;
  }

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

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

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

  .gallery-grid img,
  .gallery-grid img:nth-child(n) {
    grid-column: span 3;
    min-height: 280px;
    margin-top: 0;
  }

  .gallery-grid img:nth-child(1),
  .gallery-grid img:nth-child(7) {
    grid-column: span 6;
    min-height: 340px;
  }

  .project-grid-three .project-card-body {
    --project-meta-zone: 146px;
    --project-description-zone: 168px;
  }

  .project-grid-three .project-meta {
    min-height: 146px;
  }

  .hero-feature-card {
    right: 34px;
    bottom: 40px;
    width: min(310px, calc(100% - 68px));
  }

  .service-preview {
    display: none;
  }

  .concept-item.featured {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .projects-heading {
    grid-template-columns: 0.42fr 1fr;
  }

  .projects-note {
    grid-column: 2;
  }

  .finance-grid {
    grid-template-columns: 0.5fr 1fr;
  }

  .finance-copy {
    justify-self: start;
    width: min(100%, 620px);
    padding-top: 34px;
  }

  .finance-disclaimer {
    grid-column: 2;
    justify-self: start;
    margin-top: 26px;
    text-align: left;
  }
}

@media (max-width: 880px) {
  :root {
    --container: min(100vw - 34px, 760px);
  }

  body {
    font-size: 14.5px;
  }

  .site-header {
    top: 48px;
    width: calc(100vw - 68px);
    height: 82px;
    padding: 0 12px;
  }

  .site-header.is-scrolled {
    width: calc(100vw - 68px);
    height: 74px;
  }

  .header-contact span:first-child {
    display: none;
  }

  .scroll-progress {
    height: 3px;
  }

  .brand,
  .site-header.is-scrolled .brand {
    width: 90px;
    height: 64px;
    border-radius: 18px;
  }

  .brand img,
  .site-header.is-scrolled .brand img {
    width: 76px;
    height: auto;
  }

  .consultation-panel {
    width: min(82vw, 600px);
  }

  .hero {
    width: calc(100vw - 28px);
    min-height: min(640px, calc(100vh - 76px));
    margin-top: 48px;
  }

  .hero-content {
    min-height: min(640px, calc(100vh - 76px));
    width: calc(100% - 36px);
    padding: 0 0 64px 24px;
  }

  .hero-feature-card {
    display: none;
  }

  .scroll-mark {
    display: none;
  }

  .intro-grid,
  .about-grid,
  .services-grid,
  .approach-grid,
  .concepts-grid,
  .standards-grid,
  .areas-grid,
  .vision-grid,
  .projects-heading,
  .finance-grid,
  .process-heading,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .about-grid,
  .about-grid > *,
  .hero,
  .hero-content {
    max-width: 100%;
    min-width: 0;
  }

  .projects-note,
  .finance-disclaimer {
    grid-column: auto;
  }

  .intro-image,
  .finance-copy,
  .about-copy {
    grid-column: auto;
  }

  .mood-left,
  .mood-right {
    width: 100%;
    margin-top: 0;
    justify-self: stretch;
  }

  .mood-left img,
  .mood-right img {
    aspect-ratio: 16 / 10;
  }

  .services-copy {
    position: static;
  }

  .approach-images {
    min-height: auto;
  }

  .tall-img {
    width: 72%;
  }

  .small-img {
    bottom: 22px;
  }

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

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

  .project-grid-three .project-card-body {
    grid-template-rows: auto auto auto;
  }

  .trust-grid article {
    min-height: auto;
  }

  .project-card.project-large {
    grid-row: auto;
  }

  .project-card.project-large img {
    aspect-ratio: 1.45 / 1;
  }

  .project-grid-three .project-meta {
    min-height: auto;
  }

  .concept-item.featured {
    grid-template-columns: 1fr;
  }

  .concept-item,
  .concept-item.featured {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 18px;
    min-height: 104px;
  }

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

  .gallery-grid img,
  .gallery-grid img:nth-child(n),
  .gallery-grid .span-2,
  .gallery-grid .tall {
    grid-column: span 3;
    grid-row: auto;
    min-height: 250px;
    margin-top: 0;
  }

  .gallery-grid img:nth-child(1),
  .gallery-grid img:nth-child(7) {
    grid-column: span 6;
    min-height: 320px;
  }

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

  .areas-list {
    column-count: 3;
    column-gap: 22px;
  }
}

@media (max-width: 720px) {
  section[id] {
    scroll-margin-top: 92px;
  }

  .site-header {
    top: 58px;
    right: 17px;
    left: 17px;
    width: auto;
    height: 72px;
    padding: 0 12px;
    border-radius: var(--radius-md);
    transform: none;
  }

  .site-header.is-scrolled {
    top: 14px;
    right: 17px;
    left: 17px;
    width: auto;
    height: 66px;
    padding: 0 12px;
    border-radius: var(--radius-md);
    transform: none;
  }

  body:not(.is-ready) .site-header {
    transform: translateY(-12px);
  }

  body.is-ready .site-header {
    transform: none;
  }

  .menu-toggle {
    gap: 8px;
  }

  .header-contact {
    gap: 0;
  }

  .arrow-box {
    width: 34px;
    height: 34px;
  }

  .brand {
    width: 76px;
    height: 54px;
    border-radius: 18px;
  }

  .brand img {
    width: 64px;
  }

  .site-header.is-scrolled .brand {
    width: 76px;
    height: 54px;
    border-radius: 16px;
  }

  .site-header.is-scrolled .brand img {
    width: 64px;
  }

  .consultation-panel {
    width: calc(100vw - 18px);
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  }
}

@media (max-width: 560px) {
  .container {
    width: calc(100vw - 34px);
    max-width: calc(100vw - 34px);
  }

  .section {
    padding: 60px 0;
  }

  .section-tight {
    padding: 32px 0 58px;
  }

  .menu-toggle span:last-child {
    display: none;
  }

  .site-header {
    top: 16px;
  }

  .site-header {
    height: 70px;
  }

  .site-header.is-scrolled {
    height: 64px;
  }

  .brand,
  .site-header.is-scrolled .brand {
    width: 76px;
    height: 54px;
  }

  .brand img,
  .site-header.is-scrolled .brand img {
    width: 64px;
  }

  .menu-panel {
    padding: 28px;
    border-radius: 0;
  }

  .consultation-panel {
    width: 100%;
    padding: 30px 24px max(72px, env(safe-area-inset-bottom));
    border-radius: 0;
  }

  .choice-row {
    grid-template-columns: 1fr;
  }

  .consultation-close {
    margin-bottom: 42px;
  }

  .consultation-panel h2 {
    font-size: 46px;
  }

  .hero {
    width: 100%;
    min-height: 610px;
    margin-top: 0;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  }

  .hero-content {
    min-height: 610px;
    width: 100%;
    max-width: 100%;
    padding: 0 24px 58px;
    overflow: hidden;
  }

  h1 {
    max-width: 320px;
    font-size: 38px;
    line-height: 0.98;
  }

  .hero-copy {
    max-width: 320px;
    margin: 26px 0 26px;
    font-size: 13.5px;
    line-height: 1.65;
  }

  .hero-content .button-row {
    width: min(100%, 320px);
    margin-right: auto;
    margin-left: auto;
    justify-content: center;
  }

  .intro-copy p,
  .about-copy p,
  .services-copy p,
  .approach-copy p,
  .projects-heading p,
  .standards-copy p,
  .finance-copy p,
  .areas-copy p,
  .vision-copy p,
  .final-cta p {
    max-width: min(100%, 320px);
    font-size: 14px;
    overflow-wrap: break-word;
  }

  .intro-copy,
  .about-copy,
  .services-copy,
  .approach-copy,
  .projects-heading,
  .standards-copy,
  .finance-copy,
  .areas-copy,
  .vision-copy,
  .final-cta-inner {
    width: 100%;
    max-width: calc(100vw - 34px);
    overflow: hidden;
  }

  .tablet-title-break,
  .mobile-title-break {
    display: block;
  }

  h2 {
    max-width: 100%;
    font-size: 38px;
    line-height: 1;
    overflow-wrap: break-word;
  }

  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .intro {
    padding-top: 58px;
  }

  .intro-grid,
  .about-grid,
  .services-grid,
  .approach-grid,
  .concepts-grid,
  .standards-grid,
  .areas-grid,
  .vision-grid,
  .projects-heading,
  .finance-grid,
  .process-heading,
  .footer-grid {
    gap: 30px;
  }

  .section-kicker,
  .eyebrow {
    margin-bottom: 20px;
  }

  .stats-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    min-height: 128px;
  }

  .service-row {
    grid-template-columns: 38px 1fr 24px;
    min-height: 58px;
    font-size: 27px;
  }

  .trust-grid {
    gap: 0;
  }

  .trust-grid article {
    min-height: 92px;
    padding: 18px 0 18px 42px;
  }

  .trust-grid article::before {
    top: 27px;
    left: 14px;
  }

  .trust-grid article span {
    top: 18px;
    right: 0;
  }

  .trust-grid article strong {
    font-size: 25px;
  }

  .trust-grid article p {
    margin-top: 8px;
  }

  .concept-item,
  .concept-item.featured {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 13px;
    min-height: 92px;
    padding: 24px 0;
  }

  .concept-item h3 {
    font-size: clamp(23px, 6.2vw, 27px);
    line-height: 1.02;
  }

  .project-card {
    padding: 9px 9px 18px;
  }

  .project-card-body {
    padding: 18px 8px 0;
    row-gap: 18px;
  }

  .project-meta {
    align-items: flex-start;
    gap: 14px;
    padding: 0;
  }

  .project-meta h3 {
    font-size: 34px;
  }

  .project-meta a {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  .project-description {
    max-width: none;
    margin: 0;
  }

  .features {
    margin: 0;
    padding-top: 16px;
  }

  .finance-disclaimer {
    max-width: 320px;
    text-align: left;
  }

  .process-grid article {
    min-height: 156px;
    padding: 22px;
  }

  .process-grid h3 {
    margin-top: 22px;
  }

  .gallery-grid .span-2,
  .gallery-grid .tall {
    grid-column: auto;
    grid-row: auto;
  }

  .areas-list {
    column-count: 2;
    column-gap: 20px;
  }

  .footer-grid {
    gap: 36px;
  }

  .footer-cta {
    border-top: 0;
    padding-top: 42px;
    padding-bottom: 54px;
  }

  .footer-wordmark {
    margin-top: 48px;
    white-space: normal;
  }
}

@media (max-width: 380px) {
  .site-header {
    right: 11px;
    left: 11px;
    width: auto;
    height: 66px;
    padding: 0 10px;
  }

  .site-header.is-scrolled {
    right: 11px;
    left: 11px;
    width: auto;
    height: 62px;
    padding: 0 10px;
  }

  .brand,
  .site-header.is-scrolled .brand {
    width: 76px;
    height: 54px;
    border-radius: 16px;
  }

  .brand img,
  .site-header.is-scrolled .brand img {
    width: 64px;
  }

  h1 {
    font-size: 38px;
  }

  .hero-content {
    padding-inline: 20px;
  }

  .consultation-panel {
    padding-inline: 20px;
  }
}

@media (max-width: 720px) {
  .about-grid {
    justify-items: center;
    text-align: center;
  }

  .about-label {
    width: 100%;
    justify-self: start;
    text-align: left;
  }

  .about-copy {
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .about-copy p {
    margin-right: auto;
    margin-left: auto;
  }

  .about-copy .btn {
    justify-self: center;
  }

  .mood-left,
  .mood-right {
    width: min(100%, 380px);
    justify-self: center;
  }

  .finance-grid {
    justify-items: center;
    text-align: center;
  }

  .finance-grid > .section-kicker {
    width: 100%;
    justify-self: start;
    text-align: left;
  }

  .finance-copy {
    display: grid;
    justify-items: center;
    padding-top: 10px;
    text-align: center;
  }

  .finance-copy p {
    margin-right: auto;
    margin-left: auto;
  }

  .finance-disclaimer {
    justify-self: center;
    text-align: center;
  }

  .gallery {
    overflow: hidden;
  }

  .gallery-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: clamp(232px, 82vw, 320px);
    grid-template-columns: none;
    grid-template-rows: repeat(3, clamp(168px, 48vw, 204px));
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    margin-top: 30px;
    padding: 0 0 14px;
    scroll-padding-left: 0;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .gallery-grid::-webkit-scrollbar {
    height: 0;
  }

  .gallery-grid img,
  .gallery-grid img:nth-child(n),
  .gallery-grid .span-2,
  .gallery-grid .tall {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    min-height: 156px;
    max-height: none;
    margin-top: 0;
    aspect-ratio: auto;
    scroll-snap-align: start;
  }

  .gallery-grid img:nth-child(1),
  .gallery-grid img:nth-child(7) {
    grid-column: auto;
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .stat-card {
    min-height: 138px;
    padding: 22px 14px 20px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .stat-card strong {
    margin-bottom: 12px;
    font-size: clamp(36px, 11vw, 48px);
  }

  .stat-card span {
    width: 100%;
    padding-top: 12px;
    font-size: 11px;
    line-height: 1.35;
  }

  .footer-cta h2 {
    line-height: 0.9;
  }

  .footer-cta h2 span {
    display: block;
  }
}

@media (max-width: 880px) {
  body::after {
    display: none;
  }

  .reveal,
  .hero-content > * {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  .reveal-card {
    transform: none !important;
  }

  .intro-image,
  .mood,
  .showcase,
  .standards-image,
  .areas-image,
  .project-card,
  .gallery-grid img,
  .vision-collage,
  .approach-images,
  .intro-image.is-visible,
  .mood.is-visible,
  .showcase.is-visible,
  .standards-image.is-visible,
  .areas-image.is-visible,
  .project-card.is-visible,
  .gallery-grid img.is-visible,
  .vision-collage.is-visible,
  .approach-images.is-visible {
    clip-path: inset(0 round 24px) !important;
  }

  .intro-image img,
  .mood img,
  .showcase img,
  .standards-image img,
  .areas-image img,
  .vision-collage img:first-child,
  .approach-images img,
  .project-card img,
  .gallery-grid img {
    transform: none;
  }

  .center-heading {
    max-width: 680px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
    overflow-wrap: anywhere;
  }

  .project-grid-section {
    padding-bottom: 88px;
  }

  .project-grid {
    gap: 34px;
  }
}

@media (max-width: 720px) {
  .areas-image {
    margin-top: 0;
  }

  .header-contact {
    display: inline-flex;
    min-width: 38px;
    justify-content: flex-end;
    position: relative;
    z-index: 2;
  }

  .header-contact .arrow-box {
    display: grid !important;
    opacity: 1;
    visibility: visible;
    box-shadow: 0 8px 24px rgba(12, 10, 8, 0.12);
  }

  .site-header:not(.is-scrolled) .arrow-box {
    background: rgba(248, 243, 236, 0.94);
    color: var(--brown);
  }

  .services-grid,
  .approach-grid,
  .concepts-grid,
  .standards-grid,
  .areas-grid,
  .vision-grid,
  .projects-heading,
  .process-heading {
    justify-items: stretch;
  }

  .services-copy,
  .service-list {
    width: 100%;
  }

  .services-copy h2 {
    max-width: min(100%, 340px);
  }

  .services-copy .btn {
    width: min(100%, 360px);
  }

  .service-row {
    grid-template-columns: 34px minmax(0, 1fr) 20px;
    gap: 10px;
    padding-right: 8px;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .project-meta {
    align-items: flex-start;
    gap: 14px;
  }

  .project-meta h3,
  .concept-item h3,
  .process-grid h3,
  .gallery-title,
  .about-copy h2,
  .services-copy h2,
  .approach-copy h2,
  .projects-heading h2,
  .standards-copy h2,
  .finance-copy h2,
  .process-heading h2,
  .areas-copy h2,
  .vision-copy h2,
  .final-cta h2,
  .final-cta h3 {
    max-width: min(100%, 350px);
    overflow-wrap: break-word;
    word-break: normal;
  }

  .about-copy h2,
  .center-heading,
  .finance-copy h2 {
    margin-right: auto;
    margin-left: auto;
  }

  .finance-copy h2,
  .process-heading h2 {
    line-height: 1.1;
  }

  .project-card img {
    aspect-ratio: 1.28 / 1;
  }

  .project-description,
  .features {
    max-width: none;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 560px) {
  html {
    overflow-x: clip;
  }

  body {
    overflow-x: clip;
  }

  html,
  body {
    max-width: 100%;
  }

  h2 {
    font-size: clamp(33px, 9.2vw, 38px);
    line-height: 1.02;
    text-wrap: balance;
  }

  h3 {
    line-height: 1.08;
  }

  .section {
    padding: 64px 0;
  }

  .section-kicker,
  .eyebrow.dark,
  .about-label {
    font-size: 10px;
    letter-spacing: 0.2em;
  }

  .hero {
    min-height: 590px;
  }

  .hero-content {
    min-height: 590px;
    padding-right: 18px;
    padding-left: 18px;
  }

  h1 {
    max-width: min(100%, 342px);
    font-size: clamp(36px, 10.4vw, 43px);
  }

  .hero-title-final {
    margin-top: -0.14em;
  }

  .hero-copy,
  .hero-content .button-row {
    max-width: min(100%, 342px);
    margin-right: auto;
    margin-left: auto;
  }

  .hero-copy {
    margin-left: 0;
    margin-right: 0;
  }

  .intro-copy,
  .about-copy,
  .services-copy,
  .approach-copy,
  .projects-heading,
  .standards-copy,
  .finance-copy,
  .areas-copy,
  .vision-copy,
  .final-cta-inner {
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
  }

  .intro-copy p,
  .about-copy p,
  .services-copy p,
  .approach-copy p,
  .projects-heading p,
  .standards-copy p,
  .finance-copy p,
  .areas-copy p,
  .vision-copy p,
  .final-cta p {
    max-width: 100%;
    font-size: 14.5px;
    line-height: 1.66;
    overflow-wrap: anywhere;
  }

  .intro-image,
  .mood-left,
  .mood-right,
  .showcase {
    width: 100%;
    max-width: 380px;
    margin-right: auto;
    margin-left: auto;
  }

  .showcase img {
    aspect-ratio: 1.32 / 1;
    object-position: 44% 50%;
  }

  .services-copy h2 {
    max-width: min(100%, 315px);
  }

  .services-copy .btn {
    max-width: min(100%, 315px);
  }

  .service-row {
    grid-template-columns: 30px minmax(0, 1fr) 18px;
    min-height: 62px;
    gap: 8px;
    font-size: clamp(19px, 5.9vw, 23px);
    line-height: 1.05;
  }

  .service-row span {
    font-size: 10px;
  }

  .service-row:hover,
  .service-row.is-active {
    padding-left: 6px;
  }

  .trust-grid article {
    padding-right: 6px;
  }

  .center-heading {
    max-width: 300px;
    font-size: clamp(32px, 9vw, 36px);
    line-height: 1.03;
  }

  .trust-grid article strong,
  .trust-grid article p,
  .concept-item h3 {
    overflow-wrap: anywhere;
  }

  .concept-item h3 {
    font-size: clamp(24px, 6.6vw, 28px);
    line-height: 1.02;
  }

  .project-grid {
    gap: 28px;
    grid-template-columns: minmax(0, 1fr);
    max-width: var(--container);
    min-width: 0;
  }

  .container.project-grid {
    width: var(--container);
    max-width: var(--container);
  }

  .project-card {
    padding: 9px 9px 20px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .project-card-body {
    padding: 18px 6px 0;
    row-gap: 18px;
  }

  .project-meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34px;
    padding: 0;
    min-width: 0;
  }

  .project-meta > div {
    min-width: 0;
  }

  .project-meta h3 {
    font-size: clamp(30px, 8.8vw, 36px);
    line-height: 0.98;
    overflow-wrap: anywhere;
  }

  .project-meta p {
    margin-top: 12px;
    font-size: 10px;
    letter-spacing: 0.08em;
    overflow-wrap: anywhere;
  }

  .project-meta span,
  .project-description,
  .features {
    font-size: 12.2px;
    overflow-wrap: anywhere;
  }

  .project-description {
    margin: 0;
    color: rgba(42, 33, 28, 0.78);
    line-height: 1.6;
    hyphens: auto;
  }

  .features {
    margin: 0;
    padding-top: 16px;
    font-size: 11.8px;
    line-height: 1.62;
    hyphens: auto;
  }

  .process-heading {
    margin-bottom: 30px;
  }

  .projects-heading h2,
  .finance-copy h2,
  .areas-copy h2 {
    max-width: 320px;
    font-size: clamp(32px, 8.8vw, 36px);
  }

  .process-grid {
    gap: 10px;
  }

  .process-grid article {
    min-height: auto;
    padding: 22px 20px;
  }

  .areas-list {
    column-count: 2;
  }

  .consultation-panel {
    padding-bottom: 48px;
  }
}

@media (max-width: 389px) {
  :root {
    --container: calc(100vw - 30px);
  }

  .container {
    width: var(--container);
    max-width: var(--container);
  }

  .hero-content {
    padding-right: 16px;
    padding-left: 16px;
  }

  h1 {
    font-size: clamp(33px, 10.2vw, 38px);
  }

  h2 {
    font-size: clamp(34px, 10.8vw, 38px);
  }

  .services-copy h2,
  .services-copy .btn {
    max-width: 100%;
  }

  .service-row {
    grid-template-columns: 26px minmax(0, 1fr) 16px;
    font-size: clamp(18px, 5.8vw, 20px);
  }

  .stat-card {
    min-height: 124px;
    padding: 18px 10px 16px;
  }

  .stat-card strong {
    font-size: clamp(32px, 10vw, 40px);
  }

  .stat-card span {
    font-size: 10px;
  }

  .areas-list {
    column-count: 1;
  }

  .footer-cta h2 {
    font-size: clamp(46px, 16vw, 58px);
  }
}

@keyframes galleryTicker {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(calc(-50% - 7px), 0, 0);
  }
}

@media (max-width: 880px) {
  .gallery {
    overflow: hidden;
    padding-bottom: 104px;
    isolation: isolate;
    contain: paint;
  }

  .gallery .container {
    overflow: hidden;
  }

  .standards {
    isolation: isolate;
  }

  .gallery-grid.is-ticker {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: clamp(230px, 64vw, 320px);
    grid-template-columns: none;
    grid-template-rows: repeat(3, clamp(156px, 35vw, 198px));
    gap: 14px;
    width: 100%;
    max-width: 100%;
    margin-top: 32px;
    padding: 0 0 4px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: none;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    contain: layout paint;
    transform: translateZ(0);
    -webkit-overflow-scrolling: touch;
  }

  .gallery-grid.is-ticker:hover,
  .gallery-grid.is-ticker:focus-within {
    scroll-snap-type: x proximity;
  }

  .gallery-grid.is-ticker::-webkit-scrollbar {
    display: none;
  }

  .gallery-grid.is-ticker img,
  .gallery-grid.is-ticker img:nth-child(n),
  .gallery-grid.is-ticker .span-2,
  .gallery-grid.is-ticker .tall {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    min-height: 0;
    height: 100%;
    margin-top: 0;
    aspect-ratio: auto;
    border-radius: 22px;
    object-fit: cover;
    scroll-snap-align: none;
  }

  .gallery-grid.is-ticker img:nth-child(1),
  .gallery-grid.is-ticker img:nth-child(7) {
    grid-column: auto;
    min-height: 0;
  }

  .standards-image.before-after {
    padding: 8px;
    width: min(100%, 780px);
    justify-self: center;
  }

  .before-after-grid {
    gap: 8px;
  }

  .before-after-panel img {
    aspect-ratio: 4 / 4.9;
  }

  .before-panel img {
    object-position: 50% 45%;
  }

  .during-panel img {
    object-position: 49% 50%;
  }

  .after-panel img {
    object-position: 50% 42%;
  }

  .before-after-panel span {
    left: 10px;
    bottom: 10px;
    padding: 6px 9px;
    font-size: 9px;
  }
}

@media (max-width: 560px) {
  .intro-copy,
  .about-copy,
  .services-copy,
  .approach-copy,
  .projects-heading,
  .standards-copy,
  .finance-copy,
  .areas-copy,
  .vision-copy,
  .final-cta-inner {
    box-sizing: border-box;
    width: min(100%, calc(100vw - 34px));
    max-width: calc(100vw - 34px);
  }

  .intro-copy p,
  .about-copy p,
  .services-copy p,
  .approach-copy p,
  .projects-heading p,
  .standards-copy p,
  .finance-copy p,
  .areas-copy p,
  .vision-copy p,
  .final-cta p {
    width: min(100%, calc(100vw - 34px));
    max-width: calc(100vw - 34px) !important;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .gallery-grid.is-ticker {
    grid-auto-columns: clamp(232px, 82vw, 320px);
    grid-template-rows: repeat(3, clamp(168px, 48vw, 204px));
    gap: 12px;
  }

  .gallery-grid.is-ticker img,
  .gallery-grid.is-ticker img:nth-child(n) {
    border-radius: 20px;
  }

  .gallery-lightbox {
    padding: max(16px, env(safe-area-inset-top)) 12px max(18px, env(safe-area-inset-bottom));
  }

  .gallery-lightbox-frame {
    width: 100%;
    max-height: 78vh;
    border-radius: var(--radius-lg);
  }

  .gallery-lightbox-frame img {
    max-height: calc(78vh - 18px);
  }

  .gallery-lightbox-close {
    top: max(12px, env(safe-area-inset-top));
    right: 12px;
    padding: 9px 12px;
  }

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

  .before-after-panel img {
    aspect-ratio: 4 / 4.2;
  }

  .before-panel img {
    object-position: 50% 43%;
  }

  .during-panel img {
    object-position: 49% 46%;
  }

  .after-panel img {
    object-position: 50% 40%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 389px) {
  .gallery-grid.is-ticker {
    grid-auto-columns: clamp(218px, 84vw, 300px);
    grid-template-rows: repeat(3, clamp(158px, 48vw, 184px));
    gap: 10px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .gallery-grid.is-ticker {
    animation: none;
    overflow-x: auto;
    width: 100%;
  }
}

@media (max-width: 720px) {
  .site-header,
  .site-header.is-scrolled {
    right: auto !important;
    left: 24px !important;
    width: calc(100vw - 48px) !important;
    max-width: none !important;
    transform: none !important;
  }

  body:not(.is-ready) .site-header {
    transform: translateY(-12px) !important;
  }
}

@media (max-width: 380px) {
  .site-header,
  .site-header.is-scrolled {
    right: auto !important;
    left: 15px !important;
    width: calc(100vw - 30px) !important;
  }
}

@media (min-width: 881px) {
  .gallery-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: 84px;
    grid-auto-flow: dense;
    gap: 18px;
    align-items: stretch;
  }

  .gallery-grid img,
  .gallery-grid img:nth-child(n),
  .gallery-grid .span-2,
  .gallery-grid .tall {
    grid-column: span 3;
    grid-row: span 3;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin-top: 0;
    aspect-ratio: auto;
    object-fit: cover;
  }

  .gallery-grid img:nth-child(1) {
    grid-column: span 5;
    grid-row: span 4;
  }

  .gallery-grid img:nth-child(2) {
    grid-column: span 3;
    grid-row: span 5;
  }

  .gallery-grid img:nth-child(3) {
    grid-column: span 4;
    grid-row: span 3;
  }

  .gallery-grid img:nth-child(4) {
    grid-column: span 4;
    grid-row: span 4;
  }

  .gallery-grid img:nth-child(5) {
    grid-column: span 4;
    grid-row: span 3;
  }

  .gallery-grid img:nth-child(6) {
    grid-column: span 4;
    grid-row: span 5;
  }

  .gallery-grid img:nth-child(7) {
    grid-column: span 3;
    grid-row: span 3;
  }

  .gallery-grid img:nth-child(8) {
    grid-column: span 5;
    grid-row: span 4;
  }

  .gallery-grid img:nth-child(9) {
    grid-column: span 4;
    grid-row: span 4;
  }

  .gallery-grid img:nth-child(10) {
    grid-column: span 4;
    grid-row: span 3;
  }

  .gallery-grid img:nth-child(11) {
    grid-column: span 3;
    grid-row: span 5;
  }

  .gallery-grid img:nth-child(12) {
    grid-column: span 5;
    grid-row: span 3;
  }

  .gallery-grid img:nth-child(13) {
    grid-column: span 4;
    grid-row: span 4;
  }

  .gallery-grid img:nth-child(14) {
    grid-column: span 4;
    grid-row: span 3;
  }

  .gallery-grid img:nth-child(15) {
    grid-column: span 4;
    grid-row: span 4;
  }
}

/* Targeted final polish: section rhythm, gallery carousel and footer typewriter. */
.services,
.gallery,
.process,
.vision {
  background:
    radial-gradient(circle at 14% 10%, rgba(168, 95, 85, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(168, 95, 85, 0.16), rgba(230, 216, 200, 0.74) 48%, rgba(248, 243, 236, 0.92));
}

.projects-intro,
.project-grid-section,
.finance,
.areas {
  background:
    radial-gradient(circle at 88% 8%, rgba(168, 95, 85, 0.16), transparent 30%),
    linear-gradient(145deg, #22201d, var(--charcoal));
  color: var(--soft-cream);
}

.projects-intro h2,
.finance-copy h2,
.areas-copy h2 {
  color: var(--soft-cream);
}

.projects-intro .section-kicker,
.finance .section-kicker,
.areas .section-kicker {
  color: rgba(230, 216, 200, 0.78);
}

.projects-heading .projects-note p,
.finance-copy p,
.finance-disclaimer,
.areas-copy p {
  color: rgba(248, 243, 236, 0.72);
}

.projects-intro .btn-dark {
  border-color: rgba(248, 243, 236, 0.24);
  background: rgba(248, 243, 236, 0.92);
  color: var(--brown);
}

.projects-intro .btn-dark:hover {
  background: var(--soft-cream);
}

.areas-list span {
  border-bottom-color: rgba(248, 243, 236, 0.16);
  color: rgba(248, 243, 236, 0.76);
}

.areas-image {
  filter: drop-shadow(0 24px 58px rgba(0, 0, 0, 0.22));
}

@media (min-width: 961px) {
  .areas-image {
    margin-top: clamp(40px, 4vw, 58px);
  }
}

.btn-glass {
  border-color: rgba(248, 243, 236, 0.2);
  background:
    linear-gradient(135deg, rgba(73, 54, 45, 1), rgba(35, 28, 24, 1)),
    var(--brown);
  color: var(--soft-cream);
}

.btn-glass::before {
  background:
    radial-gradient(circle at 18% 0%, rgba(248, 243, 236, 0.18), transparent 34%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.08), transparent 34%, rgba(168, 95, 85, 0.16) 78%, transparent);
}

.gallery-grid.is-carousel {
  display: flex;
  grid-template-columns: none;
  grid-auto-flow: initial;
  grid-auto-rows: initial;
  gap: clamp(14px, 1.7vw, 24px);
  align-items: stretch;
  width: 100vw;
  max-width: 100vw;
  margin-top: 46px;
  margin-right: calc((var(--container) - 100vw) / 2);
  margin-left: calc((var(--container) - 100vw) / 2);
  padding: 8px max(28px, calc((100vw - var(--container)) / 2 + 4px)) 18px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-padding-inline: max(28px, calc((100vw - var(--container)) / 2 + 4px));
  scroll-snap-type: none;
  scroll-behavior: smooth;
  scrollbar-width: none;
  cursor: grab;
  perspective: 1250px;
  touch-action: pan-y pinch-zoom;
  user-select: none;
  -webkit-overflow-scrolling: touch;
}

.gallery-grid.is-carousel::-webkit-scrollbar {
  display: none;
}

.gallery-grid.is-carousel.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.gallery-grid.is-carousel.is-touching {
  cursor: grabbing;
}

.gallery-grid.is-carousel img,
.gallery-grid.is-carousel img:nth-child(n),
.gallery-grid.is-carousel .span-2,
.gallery-grid.is-carousel .tall {
  flex: 0 0 clamp(330px, 38vw, 620px);
  grid-column: auto;
  grid-row: auto;
  width: auto;
  height: clamp(350px, 46vw, 610px);
  min-height: 0;
  max-height: none;
  margin: 0;
  aspect-ratio: auto;
  border-radius: var(--radius-lg);
  opacity: var(--slide-opacity, 0.82);
  object-fit: cover;
  scroll-snap-align: center;
  cursor: grab;
  box-shadow: 0 24px 70px rgba(42, 33, 28, 0.16);
  transform: perspective(1200px) translate3d(0, var(--slide-y, 0px), var(--slide-depth, -72px)) rotateY(var(--slide-rotate, 0deg)) scale(var(--slide-scale, 0.92));
  transform-origin: center;
  transform-style: preserve-3d;
  position: relative;
  z-index: 1;
  transition:
    opacity 460ms ease,
    box-shadow 420ms ease,
    transform 620ms cubic-bezier(0.19, 1, 0.22, 1);
  backface-visibility: hidden;
  will-change: transform, opacity;
  -webkit-user-drag: none;
}

.gallery-grid.is-carousel.is-dragging img {
  cursor: grabbing;
  transition-duration: 180ms;
}

.gallery-grid.is-carousel.is-touching.is-dragging img {
  transition:
    opacity 520ms ease,
    box-shadow 420ms ease,
    transform 620ms cubic-bezier(0.19, 1, 0.22, 1);
}

.gallery-grid.is-carousel.is-auto-stepping img {
  transition:
    opacity 540ms ease,
    box-shadow 440ms ease,
    transform 680ms cubic-bezier(0.19, 1, 0.22, 1);
}

.gallery-grid.is-carousel img.is-centered {
  z-index: 4;
  box-shadow: 0 30px 86px rgba(42, 33, 28, 0.24);
}

.gallery-grid.is-carousel img.is-gallery-adjacent,
.gallery-grid.is-carousel img.is-gallery-exiting,
.gallery-grid.is-carousel img.is-gallery-entering {
  z-index: 3;
}

.gallery-grid.is-carousel img:nth-child(1) { object-position: 50% 52%; }
.gallery-grid.is-carousel img:nth-child(2) { object-position: 52% 58%; }
.gallery-grid.is-carousel img:nth-child(3) { object-position: 50% 46%; }
.gallery-grid.is-carousel img:nth-child(4) { object-position: 50% 54%; }
.gallery-grid.is-carousel img:nth-child(5) { object-position: 50% 50%; }
.gallery-grid.is-carousel img:nth-child(6) { object-position: 50% 43%; }
.gallery-grid.is-carousel img:nth-child(7) { object-position: 50% 50%; }
.gallery-grid.is-carousel img:nth-child(8) { object-position: 50% 52%; }
.gallery-grid.is-carousel img:nth-child(9) { object-position: 50% 50%; }
.gallery-grid.is-carousel img:nth-child(10) { object-position: 54% 50%; }
.gallery-grid.is-carousel img:nth-child(11) { object-position: 50% 50%; }
.gallery-grid.is-carousel img:nth-child(12) { object-position: 50% 54%; }
.gallery-grid.is-carousel img:nth-child(13) { object-position: 50% 48%; }
.gallery-grid.is-carousel img:nth-child(14) { object-position: 50% 48%; }
.gallery-grid.is-carousel img:nth-child(15) { object-position: 50% 50%; }
.gallery-grid.is-carousel img[data-original-index="0"] { object-position: 50% 52%; }
.gallery-grid.is-carousel img[data-original-index="1"] { object-position: 52% 58%; }
.gallery-grid.is-carousel img[data-original-index="2"] { object-position: 50% 46%; }
.gallery-grid.is-carousel img[data-original-index="3"] { object-position: 50% 54%; }
.gallery-grid.is-carousel img[data-original-index="4"] { object-position: 50% 50%; }
.gallery-grid.is-carousel img[data-original-index="5"] { object-position: 50% 43%; }
.gallery-grid.is-carousel img[data-original-index="6"] { object-position: 50% 50%; }
.gallery-grid.is-carousel img[data-original-index="7"] { object-position: 50% 52%; }
.gallery-grid.is-carousel img[data-original-index="8"] { object-position: 50% 50%; }
.gallery-grid.is-carousel img[data-original-index="9"] { object-position: 54% 50%; }
.gallery-grid.is-carousel img[data-original-index="10"] { object-position: 50% 50%; }
.gallery-grid.is-carousel img[data-original-index="11"] { object-position: 50% 54%; }
.gallery-grid.is-carousel img[data-original-index="12"] { object-position: 50% 48%; }
.gallery-grid.is-carousel img[data-original-index="13"] { object-position: 50% 48%; }
.gallery-grid.is-carousel img[data-original-index="14"] { object-position: 50% 50%; }

.footer-typewriter {
  min-height: 2.05em;
  white-space: pre-line;
}

.footer-typewriter.is-typing::after {
  display: inline-block;
  width: 0.075em;
  height: 0.72em;
  margin-left: 0.09em;
  background: rgba(248, 243, 236, 0.58);
  content: "";
  transform: translateY(0.08em);
}

@media (max-width: 1024px) {
  .gallery-grid.is-carousel {
    margin-right: calc((var(--container) - 100vw) / 2);
    margin-left: calc((var(--container) - 100vw) / 2);
    padding-inline: max(24px, calc((100vw - var(--container)) / 2 + 4px));
    scroll-padding-inline: max(24px, calc((100vw - var(--container)) / 2 + 4px));
  }

  .gallery-grid.is-carousel img,
  .gallery-grid.is-carousel img:nth-child(n),
  .gallery-grid.is-carousel .span-2,
  .gallery-grid.is-carousel .tall {
    flex-basis: clamp(300px, 56vw, 520px);
    height: clamp(330px, 54vw, 520px);
  }
}

@media (max-width: 880px) {
  .gallery .container {
    overflow: visible;
  }

  .gallery-grid.is-carousel {
    margin-right: calc((var(--container) - 100vw) / 2);
    margin-left: calc((var(--container) - 100vw) / 2);
    padding-inline: max(18px, calc((100vw - var(--container)) / 2 + 2px));
    scroll-padding-inline: max(18px, calc((100vw - var(--container)) / 2 + 2px));
    contain: layout paint;
  }

  .gallery-grid.is-carousel img,
  .gallery-grid.is-carousel img:nth-child(n),
  .gallery-grid.is-carousel .span-2,
  .gallery-grid.is-carousel .tall {
    flex-basis: clamp(270px, 78vw, 480px);
    height: clamp(285px, 68vw, 430px);
    border-radius: 22px;
    transition:
      opacity 520ms ease,
      box-shadow 420ms ease,
      transform 620ms cubic-bezier(0.19, 1, 0.22, 1);
  }
}

@media (pointer: coarse) and (orientation: landscape) and (max-height: 560px) {
  .gallery {
    padding-top: 0;
    padding-bottom: 56px;
    scroll-margin-top: 24px;
  }

  .gallery-grid.is-carousel {
    margin-top: 0;
  }

  .gallery-grid.is-carousel img,
  .gallery-grid.is-carousel img:nth-child(n),
  .gallery-grid.is-carousel .span-2,
  .gallery-grid.is-carousel .tall {
    flex-basis: clamp(260px, 54vw, 500px);
    height: clamp(190px, 56vh, 300px);
  }
}

@media (max-width: 430px) {
  .gallery-grid.is-carousel img,
  .gallery-grid.is-carousel img:nth-child(n),
  .gallery-grid.is-carousel .span-2,
  .gallery-grid.is-carousel .tall {
    flex-basis: 82vw;
    height: clamp(260px, 72vw, 360px);
  }
}

@media (max-width: 389px) {
  .gallery-grid.is-carousel img,
  .gallery-grid.is-carousel img:nth-child(n),
  .gallery-grid.is-carousel .span-2,
  .gallery-grid.is-carousel .tall {
    flex-basis: 84vw;
    height: clamp(246px, 74vw, 328px);
  }
}

@media (max-width: 340px) {
  .gallery-grid.is-carousel img,
  .gallery-grid.is-carousel img:nth-child(n),
  .gallery-grid.is-carousel .span-2,
  .gallery-grid.is-carousel .tall {
    flex-basis: 85vw;
    height: 238px;
  }
}

@media (max-width: 560px) {
  .footer-typewriter {
    min-height: 4.4em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .consultation-overlay,
  .consultation-panel {
    transition-duration: 1ms !important;
  }

  .consultation-panel {
    opacity: 1;
    transform: none;
  }

  .gallery-grid.is-carousel {
    scroll-behavior: auto;
  }

  .gallery-grid.is-carousel img,
  .gallery-grid.is-carousel img:nth-child(n) {
    transition-duration: 1ms !important;
  }

  .footer-typewriter::after {
    content: none !important;
  }
}

.process .process-grid article p {
  text-transform: capitalize !important;
}
