:root {
  --ink: #18232b;
  --graphite: #26333d;
  --muted: #63707a;
  --line: #d9d3c8;
  --paper: #fbf7ef;
  --white: #ffffff;
  --plaster: #f0ebe2;
  --clay: #a95038;
  --clay-dark: #823b2a;
  --saffron: #d3b878;
  --sky: #76979b;
  --moss: #777d66;
  --blue: #2e3f49;
  --shadow: 0 16px 42px rgba(24, 35, 43, 0.12);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

body.menu-open,
body.dialog-open {
  overflow: hidden;
}

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

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

button {
  cursor: pointer;
}

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

figure {
  margin: 0;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 200;
  transform: translateY(-140%);
  border: 1px solid var(--ink);
  background: var(--white);
  padding: 10px 14px;
  font-weight: 800;
  transition: transform 0.2s ease;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 18px;
  min-height: 68px;
  padding: 10px max(20px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(24, 35, 43, 0.12);
  background: rgba(251, 247, 239, 0.94);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  font-weight: 900;
}

.brand {
  max-width: 100%;
}

.brand-logo {
  display: block;
  width: auto;
  max-width: min(380px, calc(100vw - 40px));
  height: 60px;
  max-height: 60px;
  object-fit: contain;
  object-position: left center;
}

.footer-brand {
  align-items: flex-start;
}

.footer-wordmark {
  display: grid;
  gap: 7px;
  color: var(--white);
  line-height: 1;
}

.footer-wordmark strong {
  color: var(--white);
  font-size: clamp(1.6rem, 2.4vw, 2.35rem);
  font-weight: 950;
  letter-spacing: 0;
}

.footer-wordmark strong span {
  color: #d7e4e6;
  font-weight: 850;
  text-transform: none;
}

.footer-wordmark small {
  color: #cbd5d8;
  font-size: 0.88rem;
  font-weight: 800;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--white);
}

.brand-mark::before {
  content: "";
  width: 22px;
  height: 14px;
  border: 3px solid var(--clay);
  border-bottom: 0;
  border-radius: 8px 8px 2px 2px;
  transform: rotate(-14deg);
}

.brand-mark span {
  position: absolute;
  right: 7px;
  bottom: 7px;
  width: 16px;
  height: 6px;
  border-radius: 8px;
  background: var(--sky);
  transform: rotate(-14deg);
}

.brand-copy {
  display: grid;
  gap: 2px;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 0.96rem;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.desktop-nav a,
.mobile-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--graphite);
  font-size: 0.94rem;
  font-weight: 800;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"],
.mobile-nav a:hover,
.mobile-nav a[aria-current="page"] {
  background: #eee8dc;
  color: var(--ink);
}

.header-cta,
.primary-button,
.secondary-button,
.ghost-button,
.form-submit,
.media-button,
.footer-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  font-weight: 900;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.header-cta,
.primary-button,
.form-submit,
.media-button {
  border: 1px solid var(--clay);
  background: var(--clay);
  color: var(--white);
}

.header-cta {
  padding: 0 16px;
  font-size: 0.92rem;
}

.primary-button,
.secondary-button,
.ghost-button {
  padding: 0 18px;
}

.secondary-button {
  border: 1px solid var(--ink);
  background: var(--white);
  color: var(--ink);
}

.ghost-button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}

.header-cta:hover,
.primary-button:hover,
.form-submit:hover,
.media-button:hover {
  background: var(--clay-dark);
  border-color: var(--clay-dark);
  transform: translateY(-1px);
}

.secondary-button:hover,
.ghost-button:hover {
  border-color: var(--clay);
  color: var(--clay-dark);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 0;
}

.menu-toggle span:not(.sr-only) {
  width: 22px;
  height: 2px;
  display: block;
  margin: 0;
  border-radius: 999px;
  background: var(--ink);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 68px 0 auto;
  z-index: 85;
  display: none;
  padding: 12px 20px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

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

main {
  min-height: 70vh;
  padding-top: 68px;
}

.hero {
  position: relative;
  min-height: auto;
  display: grid;
  align-items: stretch;
  background: var(--paper);
  padding: 34px 24px 42px;
}

.hero-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(390px, 0.78fr);
  gap: 26px;
  min-height: auto;
  align-items: stretch;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 0 18px;
}

.hero-copy-inner {
  width: min(560px, 100%);
  margin-left: 0;
}

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

.hero-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin-bottom: 14px;
}

.hero-kicker .eyebrow {
  margin: 0;
}

.hero-kicker span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
  padding: 0 10px;
  color: var(--graphite);
  font-size: 0.78rem;
  font-weight: 900;
}

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

.hero h1 {
  max-width: 560px;
  margin-bottom: 16px;
  font-size: 3.12rem;
  line-height: 1.02;
}

.page-hero h1,
.section-heading h1 {
  margin-bottom: 20px;
  font-size: 3.2rem;
  line-height: 1;
}

.hero-text,
.page-lead,
.section-lead {
  color: var(--graphite);
  font-size: 1.02rem;
  line-height: 1.62;
}

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

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 28px;
  border: 0;
  background: transparent;
}

.hero-proof div {
  min-height: auto;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  padding: 16px;
  border-radius: 8px;
}

.hero-proof strong,
.metric strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1rem;
}

.hero-proof span,
.metric span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.hero-media {
  position: relative;
  min-height: 430px;
  max-height: 470px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--plaster);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: 42% center;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 35, 43, 0.03), rgba(24, 35, 43, 0.18));
}

.hero-note {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  width: min(286px, calc(100% - 28px));
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(251, 247, 239, 0.94);
  padding: 13px;
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(24, 35, 43, 0.14);
}

.hero-note strong {
  display: block;
  margin-bottom: 8px;
}

.hero-note p {
  margin: 0;
  color: var(--graphite);
  font-size: 0.9rem;
  line-height: 1.45;
}

.paint-rack {
  position: absolute;
  left: 14px;
  right: auto;
  bottom: 14px;
  z-index: 4;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 0.7fr 1.1fr;
  width: 170px;
  height: 8px;
  overflow: hidden;
  border-radius: 99px;
}

.paint-rack span:nth-child(1) {
  background: var(--clay);
}

.paint-rack span:nth-child(2) {
  background: #c9bda7;
}

.paint-rack span:nth-child(3) {
  background: #8b786a;
}

.paint-rack span:nth-child(4) {
  background: #d8d0c1;
}

.paint-rack span:nth-child(5) {
  background: var(--ink);
}

.paint-splashes {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.paint-splashes span {
  position: absolute;
  display: block;
  border-radius: 58% 42% 64% 36%;
  opacity: 0.76;
  transform-origin: center;
  filter: drop-shadow(0 5px 7px rgba(24, 35, 43, 0.14));
  animation: paint-sway 7s ease-in-out infinite alternate;
}

.paint-splashes span::before,
.paint-splashes span::after {
  content: "";
  position: absolute;
  display: block;
  background: inherit;
  border-radius: 48% 52% 38% 62%;
}

.paint-splashes span:nth-child(1) {
  left: 7%;
  top: 14%;
  width: 58px;
  height: 17px;
  background: var(--clay);
  clip-path: polygon(0 34%, 68% 0, 100% 40%, 74% 78%, 8% 100%);
  transform: rotate(-16deg);
}

.paint-splashes span:nth-child(1)::before {
  right: -7px;
  top: 6px;
  width: 12px;
  height: 9px;
}

.paint-splashes span:nth-child(2) {
  right: 13%;
  top: 18%;
  width: 30px;
  height: 14px;
  background: #8ba2a5;
  clip-path: polygon(0 20%, 74% 0, 100% 52%, 58% 100%, 12% 72%);
  transform: rotate(22deg);
  animation-delay: -1.4s;
}

.paint-splashes span:nth-child(2)::after {
  right: -8px;
  bottom: -3px;
  width: 7px;
  height: 7px;
}

.paint-splashes span:nth-child(3) {
  left: 20%;
  bottom: 19%;
  width: 42px;
  height: 13px;
  background: #d0b27b;
  clip-path: polygon(0 55%, 22% 12%, 88% 0, 100% 58%, 70% 100%, 10% 88%);
  transform: rotate(8deg);
  animation-delay: -2.2s;
}

.paint-splashes span:nth-child(4) {
  right: 34%;
  bottom: 26%;
  width: 22px;
  height: 22px;
  background: var(--clay);
  clip-path: polygon(38% 0, 74% 9%, 100% 42%, 83% 86%, 44% 100%, 11% 78%, 0 36%);
  transform: rotate(-8deg);
  opacity: 0.58;
  animation-delay: -3.1s;
}

@keyframes paint-sway {
  from {
    translate: 0 0;
  }
  to {
    translate: 2px -4px;
  }
}

.section,
.page-hero,
.split-band,
.cta-band {
  padding: 64px 24px;
}

.section-inner,
.page-hero-inner,
.split-inner,
.footer-grid,
.cta-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading.wide {
  max-width: 820px;
}

.section-heading h2 {
  margin-bottom: 14px;
  font-size: 2.05rem;
  line-height: 1.12;
}

.muted {
  color: var(--muted);
}

.ui-icon {
  display: block;
  width: 1em;
  height: 1em;
}

.proof-icon,
.mini-icon,
.service-icon,
.process-icon,
.metric-icon {
  display: grid;
  place-items: center;
  border: 1px solid rgba(169, 80, 56, 0.2);
  border-radius: 8px;
  background: #f7efe5;
  color: var(--clay-dark);
}

.proof-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.hero-proof .proof-icon,
.service-card .service-icon,
.process-step .process-icon {
  color: var(--clay-dark);
  line-height: 1;
}

.mini-icon,
.metric-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.compact-section {
  padding: 0 24px 34px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  background: var(--white);
}

.trust-strip div {
  min-height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.trust-strip strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.trust-strip span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.trust-strip .mini-icon,
.feature-panel .mini-icon {
  color: var(--clay-dark);
  font-size: 1.05rem;
  line-height: 1;
}

.work-proof-section {
  padding-top: 22px;
  padding-bottom: 42px;
}

.work-board {
  display: grid;
  grid-template-columns: 1fr 1fr 0.95fr;
  gap: 14px;
  align-items: stretch;
}

.work-photo,
.site-checklist {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}

.work-photo figure {
  height: 188px;
  background: var(--plaster);
}

.work-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.6) contrast(0.96);
}

.work-photo:nth-child(2) img,
.service-card.featured img {
  filter: saturate(0.46) contrast(0.94) brightness(0.98);
}

.work-photo > div,
.site-checklist {
  padding: 18px;
}

.work-photo h2,
.site-checklist h2 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  line-height: 1.18;
}

.work-photo p,
.site-checklist p {
  color: var(--muted);
  line-height: 1.55;
}

.icon-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.icon-list li {
  position: relative;
  display: block;
  padding-left: 18px;
  color: var(--graphite);
  font-weight: 750;
  line-height: 1.42;
}

.icon-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clay);
}

.service-grid,
.project-grid,
.knowledge-grid,
.team-grid {
  display: grid;
  gap: 14px;
}

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

.service-card,
.project-card,
.knowledge-card,
.team-card,
.process-step,
.feature-panel,
.quote-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-card {
  min-height: 206px;
  padding: 18px;
}

.service-card.featured {
  grid-column: span 2;
  display: grid;
  grid-template-rows: 178px 1fr;
  padding: 0;
  overflow: hidden;
}

.service-card img,
.project-card img,
.team-card img,
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(0.98);
}

.hero-media img {
  filter: saturate(0.9) contrast(0.98);
}

.service-card-body {
  padding: 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  color: var(--clay-dark);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  font-size: 1.18rem;
}

.service-card h3,
.project-card h3,
.knowledge-card h3,
.process-step h3,
.feature-panel h3,
.quote-card h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
  line-height: 1.18;
}

.service-card p,
.project-card p,
.knowledge-card p,
.process-step p,
.feature-panel p,
.quote-card p {
  color: var(--muted);
  line-height: 1.55;
}

.split-band {
  background: var(--plaster);
  color: var(--ink);
}

.split-inner {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 28px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 26px;
}

.split-band .eyebrow,
.split-band .muted {
  color: var(--muted);
}

.split-band h2 {
  margin-bottom: 14px;
  font-size: 1.95rem;
  line-height: 1.12;
}

.image-frame {
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.image-frame.compact-image {
  min-height: 230px;
  height: 300px;
}

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

.feature-panel {
  padding: 18px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  counter-reset: step;
}

.process-step {
  min-height: 166px;
  padding: 18px;
  counter-increment: step;
}

.process-step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 18px;
  color: var(--clay-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.process-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  font-size: 1.18rem;
}

.page-hero {
  padding-top: 42px;
  padding-bottom: 42px;
  background: var(--plaster);
}

.page-hero + .section {
  padding-top: 42px;
}

.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.5fr);
  gap: 26px;
  align-items: center;
}

.page-hero h1,
.section-heading h1 {
  font-size: 2.35rem;
  line-height: 1.08;
}

.page-visual {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.page-visual figure {
  height: 218px;
  background: var(--plaster);
}

.page-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.62) contrast(0.96);
}

.page-visual-body {
  display: grid;
  gap: 5px;
  padding: 14px 16px 16px;
}

.page-visual-body strong {
  color: var(--ink);
}

.page-visual-body span {
  color: var(--muted);
  line-height: 1.45;
}

.metric-panel {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  padding: 10px;
}

.metric {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 16px;
}

.metric .metric-icon {
  color: var(--clay-dark);
  font-size: 1.05rem;
  line-height: 1;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.detail-sidebar {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 14px;
}

.detail-sidebar .feature-panel {
  background: var(--plaster);
}

.detail-content {
  display: grid;
  gap: 14px;
}

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

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--graphite);
  line-height: 1.6;
}

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

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

.project-card {
  overflow: hidden;
}

.project-card figure {
  height: 230px;
  background: var(--plaster);
}

.project-card-body {
  padding: 22px;
}

.swatch-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0 0;
}

.swatch {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(24, 35, 43, 0.18);
  border-radius: 8px;
  background: var(--swatch);
}

.compass-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(340px, 0.72fr);
  gap: 28px;
  align-items: start;
}

.planner {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 24px;
}

.control-block label,
.field label {
  display: block;
  margin-bottom: 10px;
  color: var(--graphite);
  font-size: 0.92rem;
  font-weight: 900;
}

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

.segmented button,
.radio-stack button {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 850;
}

.segmented button.active,
.radio-stack button.active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.radio-stack {
  display: grid;
  gap: 8px;
}

.radio-stack button {
  display: grid;
  gap: 5px;
  padding: 14px;
  text-align: left;
}

.radio-stack small {
  color: inherit;
  opacity: 0.78;
}

.compass-result {
  position: sticky;
  top: 108px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.room-preview {
  min-height: 260px;
  display: grid;
  align-items: end;
  padding: 18px;
  background:
    linear-gradient(90deg, var(--wall-main) 0 65%, var(--wall-accent) 65% 100%);
}

.room-preview-surface {
  height: 70px;
  border: 1px solid rgba(24, 35, 43, 0.16);
  border-radius: 8px;
  background: var(--floor);
}

.result-body {
  padding: 24px;
}

.result-body h2 {
  margin-bottom: 12px;
  font-size: 1.55rem;
}

.palette-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 48px;
  margin: 18px 0;
  overflow: hidden;
  border-radius: 8px;
}

.palette-strip span {
  background: var(--swatch);
}

.recommendation-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.recommendation-list li {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  color: var(--graphite);
}

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

.knowledge-card {
  padding: 24px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

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

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

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.team-grid {
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.team-card {
  overflow: hidden;
}

.team-card figure {
  height: 360px;
}

.team-card-body {
  padding: 24px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 0.75fr);
  gap: 28px;
  align-items: start;
}

.contact-form,
.contact-aside,
.map-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 13px 14px;
  color: var(--ink);
}

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

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 3px solid rgba(140, 188, 197, 0.4);
  border-color: var(--sky);
}

.privacy-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  color: var(--graphite);
  line-height: 1.55;
}

.privacy-check input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--clay);
}

.privacy-check a {
  color: var(--clay-dark);
  text-decoration: underline;
}

.form-error {
  display: none;
  color: #9e2f25;
  font-weight: 800;
}

.form-error.is-visible,
.form-success.is-visible {
  display: block;
}

.form-success {
  display: none;
  border: 1px solid #b8d7be;
  border-radius: 8px;
  background: #eff8f0;
  padding: 14px;
  color: #285f36;
  font-weight: 800;
}

.contact-aside {
  display: grid;
  gap: 1px;
  overflow: hidden;
  background: var(--line);
}

.contact-aside > div {
  background: var(--white);
  padding: 22px;
}

.map-box {
  min-height: 330px;
  margin-top: 18px;
  overflow: hidden;
}

.map-placeholder {
  min-height: 330px;
  display: grid;
  place-items: center;
  padding: 28px;
  text-align: center;
  background: var(--plaster);
}

.map-placeholder p {
  color: var(--muted);
  line-height: 1.6;
}

.map-box iframe {
  width: 100%;
  height: 330px;
  border: 0;
}

.cta-band {
  background: var(--ink);
  color: var(--white);
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
}

.cta-inner h2 {
  margin-bottom: 10px;
  font-size: 2.35rem;
}

.cta-inner p {
  margin: 0;
  color: #d8e6e8;
  line-height: 1.65;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: var(--white);
  padding: 48px 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 0.8fr 0.8fr;
  gap: 26px;
}

.site-footer .brand-copy small,
.site-footer p,
.site-footer a,
.site-footer .footer-button {
  color: #cbd5d8;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 1rem;
}

.site-footer a,
.site-footer .footer-button {
  display: block;
  margin-bottom: 9px;
}

.footer-button {
  min-height: auto;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
}

.noscript {
  position: fixed;
  inset: auto 16px 16px;
  z-index: 210;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 14px;
  box-shadow: var(--shadow);
}

.cookie-banner,
.cookie-panel {
  position: fixed;
  z-index: 180;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.cookie-banner {
  right: 18px;
  bottom: 18px;
  width: min(360px, calc(100vw - 36px));
  padding: 14px;
}

.cookie-banner h2,
.cookie-panel h2 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.cookie-banner p,
.cookie-panel p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.cookie-actions button,
.cookie-panel button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 0 11px;
  font-weight: 900;
}

.cookie-actions button[data-accept-all],
.cookie-panel button[data-save-consent] {
  border-color: var(--clay);
  background: var(--clay);
  color: var(--white);
}

.cookie-panel-backdrop {
  position: fixed;
  inset: 0;
  z-index: 170;
  background: rgba(24, 35, 43, 0.44);
}

.cookie-panel {
  left: 50%;
  top: 50%;
  width: min(620px, calc(100vw - 36px));
  max-height: calc(100vh - 36px);
  overflow: auto;
  transform: translate(-50%, -50%);
  padding: 22px;
}

.consent-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

.consent-row strong {
  display: block;
  margin-bottom: 4px;
}

.consent-row small {
  color: var(--muted);
  line-height: 1.45;
}

.consent-row input {
  width: 22px;
  height: 22px;
  accent-color: var(--clay);
}

.reveal {
  opacity: 1;
  transform: translateY(24px);
  transition: transform 0.55s ease;
}

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

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

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

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
    justify-self: end;
  }

  .brand-copy strong {
    font-size: 0.95rem;
  }

  .brand-logo {
    max-width: 292px;
    height: 52px;
    max-height: 52px;
  }

  .hero-grid,
  .page-hero-inner,
  .split-inner,
  .detail-layout,
  .compass-layout,
  .contact-layout,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 28px 0 22px;
  }

  .hero-copy-inner {
    margin: 0;
  }

  .hero-media {
    max-height: 360px;
  }

  .hero-media img {
    min-height: 360px;
  }

  .detail-sidebar,
  .compass-result {
    position: static;
  }

  .service-grid,
  .project-grid,
  .process-grid,
  .trust-strip,
  .work-board,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-strip div:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    min-height: 66px;
    padding: 12px 78px 12px 16px;
  }

  .brand {
    max-width: 100%;
  }

  .menu-toggle {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
  }

  .mobile-nav {
    inset: 66px 0 auto;
  }

  main {
    padding-top: 66px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-logo {
    max-width: 100%;
    height: 47px;
    max-height: 47px;
  }

  .brand-copy small {
    display: none;
  }

  .hero,
  .hero-grid {
    min-height: auto;
  }

  .hero {
    padding: 18px 16px 30px;
  }

  .hero-copy {
    padding: 18px 0 0;
  }

  .hero-media {
    order: -1;
    max-height: none;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .page-hero h1,
  .section-heading h1 {
    font-size: 2rem;
  }

  .section-heading h2,
  .split-band h2,
  .cta-inner h2 {
    font-size: 1.65rem;
  }

  .hero-proof,
  .trust-strip,
  .service-grid,
  .project-grid,
  .knowledge-grid,
  .team-grid,
  .process-grid,
  .feature-grid,
  .work-board,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

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

  .section,
  .page-hero,
  .split-band,
  .cta-band {
    padding: 46px 16px;
  }

  .page-hero {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .page-hero + .section {
    padding-top: 32px;
  }

  .page-visual figure {
    height: 190px;
  }

  .compact-section {
    padding: 0 16px 24px;
  }

  .work-proof-section {
    padding-top: 16px;
  }

  .split-inner {
    padding: 18px;
  }

  .hero-note {
    position: static;
    width: auto;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .hero-media {
    min-height: auto;
  }

  .hero-media img {
    min-height: 240px;
    max-height: 250px;
  }

  .paint-rack {
    display: none;
  }

  .paint-splashes {
    bottom: auto;
    height: 250px;
  }

  .paint-splashes span {
    opacity: 0.62;
  }

  .paint-splashes span:nth-child(3),
  .paint-splashes span:nth-child(4) {
    display: none;
  }

  .service-card.featured {
    grid-column: auto;
  }

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

  .cookie-banner {
    right: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
  }
}

@media (max-width: 390px) {
  .brand-copy strong {
    font-size: 0.86rem;
  }

  .brand-logo {
    max-width: 100%;
    height: 46px;
    max-height: 46px;
  }

  .hero h1 {
    font-size: 2.08rem;
  }
}
