@font-face {
  font-family: "Quicksand";
  src: url("/fonts/quicksand.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url("/fonts/raleway.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #251d1b;
  --heading: #2b2220;
  --dark: #2f2523;
  --brown: #433834;
  --muted: #625650;
  --cream: #f7f3ed;
  --paper: #fffdfa;
  --border: #d8ccc0;
  --red: #942f1d;
  --red-bright: #b44b32;
  --pink: #f1b4a6;
  --yellow: #f4c84a;
  --shadow: 0 18px 60px rgba(57, 37, 30, 0.08);
  --radius: 1.75rem;
  --header-height: 81px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1rem/1.55 "Quicksand", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

p,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--heading);
  font-family: "Raleway", "Quicksand", system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.04;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.65rem, 6vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h2 {
  font-size: clamp(2.15rem, 4.6vw, 3.65rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.site-shell {
  width: min(calc(100% - 2rem), 1180px);
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  z-index: 200;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-170%);
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  padding: 0.7rem 1rem;
  font-weight: 800;
}

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

.site-header {
  position: sticky;
  z-index: 80;
  top: 0;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(216, 204, 192, 0.82);
  background: rgba(255, 253, 250, 0.95);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.brand {
  width: fit-content;
}

.brand img {
  width: 108px;
  height: 57px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.2vw, 2rem);
  color: var(--brown);
  font-weight: 700;
}

.main-nav a,
.footer-link-button {
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: -0.38rem;
  left: 0;
  height: 2px;
  background: var(--red);
  transition: right 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  right: 0;
}

.site-header__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.phone-pill {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 9px 24px rgba(148, 47, 29, 0.22);
}

.phone-pill__short {
  display: none;
}

.menu-toggle {
  width: 42px;
  height: 42px;
  display: none;
  place-items: center;
  align-content: center;
  gap: 4px;
  border: 1px solid #9b8b80;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.menu-toggle span {
  width: 17px;
  height: 2px;
  display: block;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

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

.mobile-nav {
  border-top: 1px solid var(--border);
  background: var(--paper);
}

.mobile-nav[hidden] { display: none; }
.mobile-nav .site-shell { display: grid; padding-block: 0.75rem 1.25rem; }
.mobile-nav a { padding: 0.8rem 0; border-bottom: 1px solid rgba(216, 204, 192, 0.7); font-weight: 750; }

.eyebrow {
  display: block;
  margin: 0 0 1rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow--light { color: var(--pink); }

.button-row,
.cta-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.78rem 1.7rem;
  cursor: pointer;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--red-bright); color: #fffaf7; box-shadow: 0 14px 32px rgba(148, 47, 29, 0.24); }
.button--primary:hover { background: #c85b42; }
.button--outline { border-color: rgba(67, 56, 52, 0.45); background: rgba(255, 253, 250, 0.7); color: var(--ink); }
.button--outline-dark { border-color: var(--brown); background: transparent; color: var(--ink); }
.button--outline:hover, .button--outline-dark:hover { background: var(--dark); color: #fff; }
.button--light { background: var(--yellow); color: var(--ink); box-shadow: 0 12px 30px rgba(37, 29, 27, 0.18); }
.button--light:hover { background: #ffda64; }
.button--yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 12px 30px rgba(37, 29, 27, 0.18); }
.button--yellow:hover { background: #ffda64; }
.button--ghost-light { border-color: rgba(255, 255, 255, 0.48); color: #fff; }
.button--ghost-light:hover { background: #fff; color: var(--dark); }

.home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: radial-gradient(circle at 83% 13%, rgba(180, 75, 50, 0.15), transparent 32%), var(--cream);
}

.home-hero::before {
  content: "";
  position: absolute;
  left: -220px;
  bottom: -180px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(148, 47, 29, 0.13);
  border-radius: 50%;
}

.home-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.85fr;
  align-items: center;
  gap: clamp(3rem, 7vw, 6rem);
}

.home-hero h1 { max-width: 12ch; }
.hero-lead, .service-hero__lead, .inner-hero__lead, .legal-hero__lead {
  max-width: 66ch;
  margin-top: 1.65rem;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  line-height: 1.72;
}

.home-hero .button-row, .service-hero .button-row { margin-top: 1.9rem; }

.fact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 2rem;
  padding: 0;
  list-style: none;
}

.fact-list li {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid rgba(216, 204, 192, 0.85);
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.85);
  padding: 0.55rem 0.8rem;
  font-size: 0.86rem;
  font-weight: 750;
  box-shadow: 0 9px 25px rgba(47, 37, 35, 0.06);
}

.fact-list__icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f6e9e5;
  color: var(--red);
}

.portrait-card {
  position: relative;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(148, 47, 29, 0.22);
  border-radius: 38px;
  background: rgba(255, 253, 250, 0.58);
  box-shadow: 0 28px 70px rgba(47, 37, 35, 0.13);
}

.portrait-card > img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 28px;
}

.portrait-card figcaption {
  position: absolute;
  inset-inline: 38px;
  bottom: 38px;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  background: rgba(47, 37, 35, 0.94);
  color: #fff;
  padding: 1rem 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.portrait-card strong { font-family: "Raleway", sans-serif; }
.portrait-card span { color: #eadbd4; font-size: 0.84rem; }

.section { padding: clamp(4rem, 7vw, 5.5rem) 0; }
.section--white { background: var(--paper); }
.section--cream { background: var(--cream); }
.section--dark { background: var(--dark); color: #fff; }
.section--dark h2, .section--dark h3, .section--red h2 { color: #fff; }
.section--red { background: var(--red); color: #fff; }
.section--bordered { border-block: 1px solid var(--border); }
.anchor-section { scroll-margin-top: calc(var(--header-height) + 1rem); }

.section-heading { margin-bottom: 2.5rem; }
.section-heading--split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(16rem, 0.8fr); align-items: end; gap: clamp(2rem, 7vw, 5rem); }
.section-heading--split > p, .section-heading--split > .rich-text, .section-heading > p:not(.eyebrow), .section-heading > .rich-text { color: var(--muted); font-size: 1.05rem; line-height: 1.75; }
.section-heading--narrow { max-width: 760px; }

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

.service-card {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(170px, 0.82fr) minmax(0, 1.18fr);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background: var(--cream);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.service-card__image img { width: 100%; height: 100%; min-height: 250px; object-fit: cover; }
.service-card__body { display: flex; flex-direction: column; align-items: flex-start; padding: 1.5rem; }
.service-card__body p, .service-card__body .rich-text { margin-top: 0.8rem; color: var(--muted); }
.service-card__body .text-link { margin-top: auto; padding-top: 1.25rem; }
.text-link { color: var(--red); font-weight: 800; }
.text-link:hover { text-decoration: underline; text-underline-offset: 0.25em; }

.project-preview-grid, .projects-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.projects-grid { gap: 4rem 2rem; }
.project-preview-card, .project-card { min-width: 0; }
.project-preview-card__body, .project-card__body { padding: 1.5rem 0.65rem 0; }
.project-preview-card__body .eyebrow, .project-card__body .eyebrow { margin-bottom: 0.6rem; }
.project-preview-card__body p:last-child, .project-preview-card__body .rich-text:last-child, .project-card__body p:last-child, .project-card__body .rich-text:last-child { margin-top: 0.9rem; color: var(--muted); line-height: 1.7; }
.section-action { margin-top: 2.5rem; text-align: center; }

.comparison {
  --comparison-position: 50%;
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 1.4rem;
  background: var(--border);
  box-shadow: 0 22px 55px rgba(53, 34, 27, 0.18);
  touch-action: pan-y;
}

.comparison__image { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.comparison__after { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0 0 0 var(--comparison-position)); }
.comparison__label { position: absolute; z-index: 2; top: 0.75rem; border-radius: 999px; padding: 0.38rem 0.75rem; font-size: 0.72rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; backdrop-filter: blur(8px); }
.comparison__label--before { left: 0.75rem; background: rgba(37, 29, 27, 0.88); color: #fff; }
.comparison__label--after { right: 0.75rem; background: rgba(255, 255, 255, 0.92); color: var(--ink); }
.comparison__line { position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--comparison-position); width: 2px; transform: translateX(-50%); background: #fff; box-shadow: 0 0 0 1px rgba(37, 29, 27, 0.35); }
.comparison__handle { position: absolute; z-index: 3; top: 50%; left: var(--comparison-position); width: 48px; height: 48px; display: grid; place-items: center; transform: translate(-50%, -50%); border: 2px solid var(--red); border-radius: 50%; background: #fff; color: var(--red); font-size: 1.45rem; font-weight: 900; box-shadow: 0 10px 24px rgba(37, 29, 27, 0.25); }
.comparison__range { position: absolute; z-index: 4; inset: 0; width: 100%; height: 100%; margin: 0; cursor: ew-resize; opacity: 0; }
.comparison:focus-within { outline: 4px solid var(--yellow); outline-offset: 4px; }

.about-grid, .region-grid, .two-column-section, .cta-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(2.5rem, 8vw, 6rem); }
.about-image-wrap { padding: 12px; border: 1px solid var(--border); border-radius: 2rem; background: var(--cream); box-shadow: var(--shadow); }
.about-image-wrap img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 1.45rem; }
.body-copy { margin-top: 1.15rem; color: var(--muted); line-height: 1.8; }
.signature { margin-top: 1.5rem; color: var(--red); font-family: "Raleway", sans-serif; font-weight: 850; }

.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; padding: 0; list-style: none; }
.process-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.process-grid li { min-height: 250px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 1.5rem; background: rgba(255, 255, 255, 0.06); padding: 1.5rem; }
.process-grid__number { display: block; margin-bottom: 2rem; color: var(--pink); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.16em; }
.process-grid p { margin-top: 1rem; color: rgba(255, 255, 255, 0.73); line-height: 1.7; }

.city-list { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.5rem; padding: 0; list-style: none; }
.city-list li { border: 1px solid var(--border); border-radius: 999px; background: var(--paper); padding: 0.5rem 0.85rem; font-weight: 750; }

.faq-grid { display: grid; grid-template-columns: minmax(14rem, 0.68fr) minmax(0, 1.32fr); gap: clamp(2.5rem, 7vw, 5rem); align-items: start; }
.accordion { border-block: 1px solid var(--border); }
.accordion details + details { border-top: 1px solid var(--border); }
.accordion summary { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: 1.15rem 0; cursor: pointer; list-style: none; font-size: 1.08rem; font-weight: 800; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion__icon { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; border-radius: 50%; background: #eee6dc; font-size: 1.25rem; transition: transform 180ms ease; }
.accordion details[open] .accordion__icon { transform: rotate(45deg); }
.accordion details > p, .accordion details > .rich-text { max-width: 52rem; padding: 0 3rem 1.5rem 0; color: var(--muted); line-height: 1.75; }

.cta-grid { align-items: end; }
.cta-grid h2 { max-width: 15ch; }
.cta-grid p:not(.eyebrow), .cta-grid .rich-text { max-width: 55ch; margin-top: 1.2rem; color: rgba(255, 255, 255, 0.83); line-height: 1.75; }
.cta-actions { justify-content: flex-end; }

.inner-hero, .service-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); background: var(--dark); color: #fff; padding: clamp(3.5rem, 7vw, 6rem) 0; }
.inner-hero::after, .service-hero::after { content: ""; position: absolute; right: -160px; top: -210px; width: 520px; height: 520px; border: 1px solid rgba(241, 180, 166, 0.16); border-radius: 50%; }
.inner-hero .site-shell, .service-hero .site-shell { position: relative; z-index: 1; }
.inner-hero h1, .service-hero h1 { color: #fff; }
.inner-hero__content { max-width: 880px; margin-top: 2.5rem; }
.inner-hero__lead, .service-hero__lead { color: rgba(255, 255, 255, 0.76); }
.comparison-hint { width: fit-content; margin-top: 1.7rem; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 999px; background: rgba(255, 255, 255, 0.06); padding: 0.55rem 0.85rem; color: rgba(255, 255, 255, 0.82); font-size: 0.82rem; font-weight: 750; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 0.55rem; color: var(--muted); font-size: 0.86rem; font-weight: 700; }
.breadcrumbs--light { color: rgba(255, 255, 255, 0.68); }
.breadcrumbs a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

.service-hero__grid { display: grid; grid-template-columns: 1.02fr 0.98fr; align-items: center; gap: clamp(2.5rem, 6vw, 4rem); margin-top: 2.5rem; }
.service-hero h1 { max-width: 14ch; }
.service-hero__image { overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 1.75rem; padding: 9px; background: rgba(255, 255, 255, 0.06); box-shadow: 0 24px 55px rgba(0, 0, 0, 0.22); }
.service-hero__image img { width: 100%; height: 100%; object-fit: cover; border-radius: 1.3rem; }

.jump-nav { border-bottom: 1px solid var(--border); background: var(--paper); }
.jump-nav .site-shell { min-height: 76px; display: flex; align-items: center; gap: 1.25rem; overflow-x: auto; scrollbar-width: thin; white-space: nowrap; }
.jump-nav strong { color: var(--muted); font-size: 0.85rem; }
.jump-nav a { font-size: 0.86rem; font-weight: 800; }
.jump-nav a:hover { color: var(--red); }

.scope-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding: 0; list-style: none; }
.scope-grid li { display: flex; gap: 0.9rem; border: 1px solid var(--border); border-radius: 1.5rem; background: var(--cream); padding: 1.5rem; font-size: 1.06rem; font-weight: 750; line-height: 1.55; }
.scope-grid li > span:first-child, .stack-list li > span:first-child { color: var(--red); font-weight: 900; }

.detail-stack { display: grid; gap: 1.25rem; }
.detail-card { display: grid; grid-template-columns: minmax(13rem, 0.72fr) minmax(0, 1.28fr); gap: 2.5rem; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; padding: clamp(1.5rem, 3vw, 2rem); box-shadow: 0 14px 38px rgba(57, 37, 30, 0.06); }
.detail-card p, .detail-card .rich-text { color: var(--muted); line-height: 1.8; }
.detail-card p + p, .detail-card .rich-text + .rich-text { margin-top: 1.15rem; }

.two-column-section { align-items: start; }
.stack-list { display: grid; gap: 1rem; padding: 0; list-style: none; }
.stack-list li { display: flex; gap: 1rem; border: 1px solid var(--border); border-radius: 1rem; background: #fff; padding: 1.2rem; line-height: 1.7; }
.stack-list--shadow li { border-color: transparent; box-shadow: 0 10px 30px rgba(57, 37, 30, 0.06); }

.related-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.8rem; }
.related-links a { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; border: 1px solid var(--border); border-radius: 1.25rem; background: var(--cream); padding: 1.15rem; font-weight: 800; transition: background 180ms ease, color 180ms ease; }
.related-links a:hover { background: var(--dark); color: #fff; }

.legal-hero { border-bottom: 1px solid var(--border); background: var(--cream); padding: clamp(3.5rem, 7vw, 5rem) 0; }
.legal-hero h1 { max-width: 14ch; }
.legal-hero__date { margin-top: 1.3rem; color: var(--red); font-weight: 800; }
.legal-layout-section { padding-top: 3.5rem; }
.legal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; align-items: start; gap: 3rem; }
.legal-layout--toc { grid-template-columns: 18rem minmax(0, 1fr); }
.legal-card { grid-column: 1; border: 1px solid var(--border); border-radius: 2rem; background: var(--paper); padding: clamp(1.5rem, 4vw, 2.75rem); box-shadow: var(--shadow); }
.legal-layout--toc .legal-card { grid-column: 2; }
.legal-card > section + section { margin-top: 2.2rem; padding-top: 2.2rem; border-top: 1px solid var(--border); }
.legal-card h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.2; }
.legal-card p, .legal-card li, .legal-card .legal-paragraph { color: var(--muted); line-height: 1.78; }
.legal-card h2 + p, .legal-card h2 + .legal-paragraph, .legal-card p + p, .legal-card .legal-paragraph + .legal-paragraph, .legal-card h2 + ul { margin-top: 1rem; }
.legal-card ul { padding-left: 1.25rem; }
.legal-links { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.legal-links a { color: var(--red); font-weight: 800; text-decoration: underline; text-underline-offset: 0.2em; }
.legal-contact { position: sticky; top: calc(var(--header-height) + 2rem); grid-column: 2; display: grid; gap: 1rem; border-radius: 1.75rem; background: var(--dark); color: #fff; padding: 1.75rem; box-shadow: 0 18px 50px rgba(47, 37, 35, 0.18); }
.legal-contact h2 { color: #fff; font-size: 1.6rem; }
.legal-contact address { font-style: normal; color: rgba(255, 255, 255, 0.75); }
.legal-contact a { font-weight: 800; }
.legal-toc { position: sticky; top: calc(var(--header-height) + 2rem); grid-column: 1; border: 1px solid var(--border); border-radius: 1.75rem; background: var(--paper); padding: 1.5rem; box-shadow: 0 14px 45px rgba(57, 37, 30, 0.06); }
.legal-toc h2 { font-family: "Quicksand", sans-serif; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; }
.legal-toc ol { display: grid; gap: 0.25rem; margin-top: 1rem; padding: 0; list-style: none; }
.legal-toc a { display: grid; grid-template-columns: 2rem 1fr; gap: 0.3rem; border-radius: 0.65rem; padding: 0.55rem; color: var(--muted); font-size: 0.9rem; font-weight: 700; }
.legal-toc a:hover { background: var(--cream); color: var(--red); }

.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1.25rem; align-items: stretch; }
.contact-card { border: 1px solid var(--border); border-radius: 2rem; background: var(--paper); padding: clamp(1.5rem, 4vw, 2.75rem); box-shadow: var(--shadow); }
.contact-card--primary { background: var(--dark); color: #fff; }
.contact-card--primary h2 { color: #fff; }
.contact-card--primary > p:not(.eyebrow), .contact-card__intro { margin-top: 1.2rem; color: rgba(255, 255, 255, 0.75); line-height: 1.75; }
.contact-actions { margin-top: 1.75rem; }
.contact-card dl { display: grid; gap: 1.15rem; margin: 1.6rem 0 0; }
.contact-card dl div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.contact-card dt { color: var(--red); font-weight: 800; }
.contact-card dd { margin: 0; color: var(--muted); }
.contact-note { margin-top: 1.25rem; border: 1px solid var(--border); border-radius: 1.5rem; background: var(--paper); padding: 1.75rem; }
.contact-note h2 { font-size: 1.5rem; }
.contact-note p, .contact-note > .rich-text { margin-top: 0.7rem; color: var(--muted); }

.contact-form { display: grid; gap: 1rem; margin-top: 1.8rem; }
.contact-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.contact-form__field { display: grid; gap: 0.4rem; min-width: 0; }
.contact-form__field > label { color: #fff; font-size: 0.88rem; font-weight: 800; }
.contact-form__field > label > span { color: rgba(255, 255, 255, 0.65); font-size: 0.78rem; font-weight: 650; }
.contact-form input:not([type="checkbox"]), .contact-form textarea { width: 100%; border: 1px solid rgba(255, 255, 255, 0.32); border-radius: 0.75rem; background: #fff; color: var(--ink); padding: 0.78rem 0.85rem; }
.contact-form textarea { min-height: 9rem; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid var(--yellow); outline-offset: 2px; }
.contact-form [aria-invalid="true"] { border-color: #ffad9d !important; box-shadow: 0 0 0 2px rgba(255, 173, 157, 0.25); }
.contact-form__hint { color: rgba(255, 255, 255, 0.65); font-size: 0.78rem; }
.contact-form__error { min-height: 1.05em; color: #ffc7bc; font-size: 0.8rem; font-weight: 750; }
.contact-form__privacy { grid-template-columns: auto 1fr; align-items: start; column-gap: 0.7rem; }
.contact-form__privacy input { width: 1.15rem; height: 1.15rem; margin-top: 0.16rem; accent-color: var(--yellow); }
.contact-form__privacy label { color: rgba(255, 255, 255, 0.82); font-size: 0.8rem; line-height: 1.55; }
.contact-form__privacy label a { color: var(--yellow); text-decoration: underline; text-underline-offset: 0.16em; }
.contact-form__privacy .contact-form__error { grid-column: 2; }
.contact-form__submit { justify-self: start; }
.contact-form__submit:disabled { cursor: wait; opacity: 0.7; }
.contact-form__status { min-height: 1.5em; margin: 0; border-radius: 0.6rem; color: rgba(255, 255, 255, 0.86); font-size: 0.88rem; line-height: 1.55; }
.contact-form__status[data-state="success"] { background: #e0f4e6; color: #164b29; padding: 0.75rem; }
.contact-form__status[data-state="error"] { background: #ffe6e1; color: #721d13; padding: 0.75rem; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.rich-text > :first-child { margin-top: 0; }
.rich-text > :last-child { margin-bottom: 0; }
.rich-text p + p, .rich-text p + ul, .rich-text p + ol, .rich-text ul + p, .rich-text ol + p { margin-top: 0.8rem; }
.rich-text ul, .rich-text ol { padding-left: 1.3rem; }

.generic-content__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.8fr); align-items: center; gap: clamp(2rem, 7vw, 5rem); }
.generic-content__grid--text { grid-template-columns: minmax(0, 52rem); }
.generic-content__copy { margin-top: 1.2rem; color: var(--muted); line-height: 1.8; }
.generic-content__button { margin-top: 1.6rem; }
.generic-content__image { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.generic-content__image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.error-page { min-height: 66vh; display: grid; place-items: center; overflow: hidden; background: var(--cream); padding: 5rem 0; text-align: center; }
.error-page__inner { position: relative; max-width: 790px; }
.error-code { position: absolute; z-index: 0; inset: 50% auto auto 50%; transform: translate(-50%, -55%); color: rgba(148, 47, 29, 0.07); font-family: "Raleway", sans-serif; font-size: clamp(13rem, 32vw, 26rem); font-weight: 900; line-height: 1; }
.error-page__inner > *:not(.error-code) { position: relative; z-index: 1; }
.error-page__inner > p:not(.eyebrow, .error-code) { max-width: 55ch; margin: 1.25rem auto 0; color: var(--muted); }
.error-page .button-row { justify-content: center; margin-top: 2rem; }

.site-footer { background: var(--ink); color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 0.8fr 0.8fr; gap: 3rem; padding-block: 3.5rem; }
.site-footer__brand img { width: 118px; height: auto; }
.site-footer__brand img.site-footer__logo--auto-invert { filter: brightness(0) invert(1); }
.site-footer__brand p { max-width: 43ch; margin-top: 1rem; color: rgba(255, 255, 255, 0.67); }
.site-footer h2 { color: #fff; font-family: "Quicksand", sans-serif; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; }
.site-footer address, .site-footer__grid > div > p { margin-top: 1rem; color: rgba(255, 255, 255, 0.72); font-style: normal; }
.site-footer a:hover, .footer-link-button:hover { color: var(--yellow); }
.footer-social { display: inline-block; margin-top: 1rem; font-weight: 800; }
.site-footer__bottom { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.62); font-size: 0.86rem; }
.site-footer__bottom nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-link-button { border: 0; background: transparent; color: inherit; padding: 0; cursor: pointer; }

.consent {
  position: fixed;
  z-index: 150;
  inset: auto 1rem 1rem;
  max-width: 960px;
  margin-inline: auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1.5rem;
  background: var(--dark);
  color: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.consent[hidden] { display: none; }
.consent__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end; padding: 1.5rem; }
.consent h2 { color: #fff; font-size: clamp(1.55rem, 3vw, 2.15rem); }
.consent p:not(.eyebrow) { max-width: 64ch; margin-top: 0.75rem; color: rgba(255, 255, 255, 0.75); font-size: 0.92rem; }
.consent a { display: inline-block; margin-top: 0.65rem; color: var(--yellow); font-size: 0.86rem; font-weight: 800; text-decoration: underline; }
.consent__actions { display: grid; grid-template-columns: repeat(3, minmax(9rem, 1fr)); gap: 0.65rem; }
.consent__button { min-height: 48px; border: 1px solid var(--yellow); border-radius: 999px; background: var(--yellow); color: var(--ink); padding: 0.7rem 1rem; cursor: pointer; font-weight: 850; }
.consent__button:hover { background: #ffda64; }

.consent-dialog { width: min(calc(100% - 2rem), 680px); max-height: calc(100vh - 2rem); overflow: auto; border: 1px solid var(--border); border-radius: 1.5rem; background: var(--paper); color: var(--ink); padding: 0; box-shadow: 0 24px 90px rgba(0, 0, 0, 0.36); }
.consent-dialog::backdrop { background: rgba(37, 29, 27, 0.72); backdrop-filter: blur(4px); }
.consent-dialog__inner { padding: clamp(1.25rem, 4vw, 2rem); }
.consent-dialog__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.consent-dialog__header h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); }
.consent-dialog__header + p { margin-top: 0.85rem; color: var(--muted); line-height: 1.65; }
.consent-dialog__close { width: 42px; height: 42px; flex: 0 0 42px; border: 1px solid var(--border); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; font-size: 1.5rem; }
.consent-options { display: grid; gap: 0.75rem; margin-top: 1.4rem; }
.consent-option { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem; border: 1px solid var(--border); border-radius: 1rem; padding: 1rem; cursor: pointer; }
.consent-option strong, .consent-option small { display: block; }
.consent-option small { margin-top: 0.2rem; color: var(--muted); line-height: 1.5; }
.consent-option input { position: absolute; opacity: 0; }
.consent-switch { position: relative; width: 48px; height: 27px; border-radius: 999px; background: #b9aca3; transition: background 160ms ease; }
.consent-switch::after { content: ""; position: absolute; width: 21px; height: 21px; left: 3px; top: 3px; border-radius: 50%; background: #fff; transition: transform 160ms ease; }
.consent-option input:checked + .consent-switch { background: var(--red); }
.consent-option input:checked + .consent-switch::after { transform: translateX(21px); }
.consent-option input:focus-visible + .consent-switch { outline: 3px solid var(--yellow); outline-offset: 3px; }
.consent-option input:disabled + .consent-switch { opacity: 0.65; }
.consent-dialog__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; margin-top: 1.4rem; }

/* Editor-only affordances. The editor script and body class are emitted only for authenticated edit sessions. */
.cms-editor [data-cms-editable="true"] { position: relative; }
.cms-editor [contenteditable="true"] { border-radius: 0.25rem; outline: 1px dashed rgba(148, 47, 29, 0.42); outline-offset: 4px; }
.cms-editor [contenteditable="true"]:hover, .cms-editor [contenteditable="true"]:focus { outline: 3px solid var(--yellow); background: rgba(244, 200, 74, 0.12); }
.cms-editor [data-cms-image-editor="true"] { cursor: pointer; outline: 2px dashed rgba(244, 200, 74, 0.8); outline-offset: -4px; }
.cms-editor .comparison__range { pointer-events: none; }
.cms-editor-launch { position: fixed; z-index: 140; right: 1rem; bottom: 1rem; min-height: 44px; display: inline-flex; align-items: center; gap: 0.45rem; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px; background: var(--ink); color: #fff; padding: 0.65rem 1rem; box-shadow: 0 14px 45px rgba(0, 0, 0, 0.28); font-size: 0.82rem; font-weight: 800; }
.cms-editor-launch:hover { background: var(--red); color: #fff; }
.cms-toolbar { position: fixed; z-index: 180; right: 1rem; bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; border: 1px solid #5f514c; border-radius: 999px; background: var(--ink); color: #fff; padding: 0.45rem; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28); }
.cms-toolbar button { min-height: 40px; border: 0; border-radius: 999px; background: transparent; color: #fff; padding: 0.55rem 0.85rem; cursor: pointer; font-weight: 800; }
.cms-toolbar button:hover { background: rgba(255, 255, 255, 0.12); }
.cms-toolbar__state { display: flex; align-items: center; gap: 0.4rem; padding-inline: 0.7rem; font-size: 0.8rem; font-weight: 800; }
.cms-toolbar__state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #65d68b; }
.cms-toast { position: fixed; z-index: 200; right: 1rem; bottom: 5.5rem; max-width: 360px; border-radius: 0.9rem; background: var(--ink); color: #fff; padding: 0.85rem 1rem; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3); font-size: 0.9rem; font-weight: 750; }
.cms-toast[data-state="error"] { background: #8c2319; }
.cms-dialog { width: min(calc(100% - 2rem), 620px); max-height: calc(100vh - 2rem); overflow: auto; border: 1px solid var(--border); border-radius: 1.5rem; background: var(--paper); color: var(--ink); padding: 0; box-shadow: 0 24px 90px rgba(0, 0, 0, 0.32); }
.cms-dialog::backdrop { background: rgba(37, 29, 27, 0.65); backdrop-filter: blur(4px); }
.cms-dialog__inner { padding: 1.5rem; }
.cms-dialog__header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.cms-dialog__header h2 { font-size: 1.6rem; }
.cms-dialog__close { width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 50%; background: #fff; cursor: pointer; }
.cms-form { display: grid; gap: 1rem; margin-top: 1.25rem; }
.cms-form label { display: grid; gap: 0.35rem; color: var(--brown); font-size: 0.85rem; font-weight: 800; }
.cms-form input, .cms-form textarea, .cms-form select { width: 100%; border: 1px solid #a89589; border-radius: 0.65rem; background: #fff; color: var(--ink); padding: 0.7rem 0.8rem; }
.cms-form textarea { min-height: 110px; resize: vertical; }
.cms-media-status { margin: 0; color: var(--muted); font-size: 0.88rem; }
.cms-media-picker { max-height: 260px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.65rem; overflow: auto; border: 1px solid var(--border); border-radius: 0.8rem; background: var(--cream); padding: 0.65rem; }
.cms-media-choice { min-width: 0; border: 2px solid transparent; border-radius: 0.65rem; background: #fff; color: var(--ink); padding: 0.35rem; cursor: pointer; text-align: left; }
.cms-media-choice[aria-pressed="true"] { border-color: var(--red); box-shadow: 0 0 0 2px rgba(148, 47, 29, 0.16); }
.cms-media-choice:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.cms-media-choice img { width: 100%; aspect-ratio: 4 / 3; border-radius: 0.4rem; object-fit: cover; }
.cms-media-choice span { display: block; overflow: hidden; margin-top: 0.3rem; font-size: 0.72rem; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.cms-media-upload { border: 1px solid var(--border); border-radius: 0.8rem; background: var(--cream); padding: 0.8rem; }
.cms-media-upload summary { cursor: pointer; font-weight: 800; }
.cms-media-upload[open] { display: grid; gap: 0.8rem; }
.cms-media-upload button { min-height: 42px; justify-self: start; border: 1px solid var(--red); border-radius: 999px; background: var(--red); color: #fff; padding: 0.6rem 1rem; cursor: pointer; font-weight: 800; }
.cms-form__actions { display: flex; justify-content: flex-end; gap: 0.65rem; margin-top: 0.5rem; }
.cms-form__actions button { min-height: 44px; border: 1px solid var(--border); border-radius: 999px; background: #fff; padding: 0.65rem 1rem; cursor: pointer; font-weight: 800; }
.cms-form__actions button[type="submit"] { border-color: var(--red); background: var(--red); color: #fff; }

@media (max-width: 1020px) {
  .site-header__inner { grid-template-columns: 1fr auto; }
  .main-nav { display: none; }
  .menu-toggle { display: grid; }
  .home-hero__grid, .service-hero__grid { grid-template-columns: 1fr; }
  .portrait-card { max-width: 650px; }
  .service-hero__image { max-width: 700px; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal-layout, .legal-layout--toc { grid-template-columns: 1fr; }
  .legal-card, .legal-layout--toc .legal-card, .legal-contact, .legal-toc { grid-column: 1; }
  .legal-toc, .legal-contact { position: static; }
  .legal-layout--toc .legal-toc { overflow-x: auto; }
  .legal-toc ol { grid-template-columns: repeat(2, minmax(13rem, 1fr)); }
}

@media (max-width: 780px) {
  :root { --header-height: 73px; }
  .brand img { width: 102px; height: 50px; }
  .phone-pill__long { display: none; }
  .phone-pill__short { display: inline; }
  .section-heading--split, .about-grid, .region-grid, .two-column-section, .cta-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { grid-template-columns: minmax(140px, 0.72fr) minmax(0, 1.28fr); }
  .project-preview-grid, .projects-grid { grid-template-columns: 1fr; }
  .scope-grid { grid-template-columns: 1fr; }
  .detail-card { grid-template-columns: 1fr; gap: 1.25rem; }
  .related-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-actions { justify-content: flex-start; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
  .consent__inner { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .site-shell { width: min(calc(100% - 1.35rem), 1180px); }
  h1 { font-size: clamp(2.5rem, 13vw, 3.8rem); }
  .phone-pill { padding-inline: 0.85rem; }
  .phone-pill > span:first-child { display: none; }
  .home-hero { padding-block: 3.5rem 4.5rem; }
  .button-row, .cta-actions, .contact-actions { flex-direction: column; }
  .button { width: 100%; }
  .fact-list { gap: 0.5rem; }
  .fact-list li { min-height: 50px; border-radius: 1rem; padding: 0.5rem; font-size: 0.72rem; line-height: 1.25; }
  .fact-list__icon { width: 26px; height: 26px; flex-basis: 26px; }
  .portrait-card { padding: 9px; border-radius: 1.7rem; }
  .portrait-card > img { height: 118vw; max-height: 520px; border-radius: 1.25rem; }
  .portrait-card figcaption { inset-inline: 1.35rem; bottom: 1.35rem; }
  .service-card { grid-template-columns: 1fr; }
  .service-card__image img { min-height: 210px; }
  .process-grid, .process-grid--three, .related-links { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__brand { grid-column: auto; }
  .site-footer__bottom { align-items: flex-start; flex-direction: column; padding-block: 1.25rem; }
  .consent { inset: auto 0.5rem 0.5rem; }
  .consent__actions { grid-template-columns: 1fr; }
  .consent-dialog__actions, .contact-form__row { grid-template-columns: 1fr; }
  .cms-media-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal-toc ol { grid-template-columns: 1fr; }
  .contact-card dl div { grid-template-columns: 1fr; gap: 0.25rem; }
  .cms-toolbar__state { display: none; }
}

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

@media print {
  .site-header, .site-footer, .consent, .cms-toolbar, .cms-toast, .jump-nav { display: none !important; }
  body { background: #fff; color: #000; }
  .section, .legal-hero { padding-block: 1.5rem; }
  .legal-card { border: 0; box-shadow: none; padding: 0; }
}

/* Keep the authenticated editor launcher from covering footer controls. */
.cms-editor-launch.is-footer-visible {
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 640px) {
  .cms-editor-launch {
    width: 48px;
    min-height: 48px;
    justify-content: center;
    gap: 0;
    padding: 0;
    font-size: 1rem;
  }
  .cms-editor-launch [data-editor-enable-label] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}
