:root {
  --black: #050505;
  --white: #ffffff;
  --soft-white: #f4f3ee;
  --line: rgba(255, 255, 255, 0.22);
  --ink-line: rgba(5, 5, 5, 0.14);
  --gold: #f6ad55;
  --green: #9ae6b4;
  --gray: #d8d8d2;
  --muted: #a9aaa4;
  --font-head: "Montserrat", sans-serif;
  --font-body: "Lato", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

body.js-reveal-ready .reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 720ms ease,
    transform 720ms cubic-bezier(0.19, 1, 0.22, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

body.js-reveal-ready .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.js-reveal-ready .reveal-on-scroll.reveal-soft {
  transform: translateY(16px);
}

body.js-reveal-ready .reveal-on-scroll.reveal-scale {
  transform: translateY(24px) scale(0.985);
}

body.js-reveal-ready .reveal-on-scroll.reveal-scale.is-visible {
  transform: translateY(0) scale(1);
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  transform: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 252px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
}

.site-nav a,
.nav-group > a {
  transition: color 180ms ease;
}

.site-nav a:hover,
.nav-group:hover > a {
  color: var(--gold);
}

.site-nav [aria-current="page"] {
  color: var(--gold);
}

.nav-group {
  position: relative;
  padding: 12px 0;
}

.nav-menu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 190px;
  display: grid;
  gap: 2px;
  padding: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--black);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-group:hover .nav-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-menu a {
  padding: 9px 12px;
}

.nav-menu a:hover {
  background: var(--black);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--white);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.page-hero {
  position: relative;
  min-height: 68vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  padding: 170px max(24px, calc((100vw - 1180px) / 2)) 86px;
}

.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

.page-hero::before {
  background: var(--hero-image, url("/public/assets/68575fbc-bd26-4708-ba41-34b4c4e33ec6.webp")) center / cover;
  opacity: 0.48;
  filter: saturate(0.92) contrast(1.05);
}

.page-hero::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.9));
}

.page-hero h1 {
  max-width: 980px;
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(3rem, 7vw, 6.2rem);
  line-height: 0.98;
  font-weight: 900;
}

.page-hero p:not(.kicker) {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--gray);
  font-size: 1.12rem;
}

.hero-video,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  object-fit: cover;
  opacity: 0.52;
  filter: saturate(0.9) contrast(1.06);
  z-index: -2;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.88)),
    radial-gradient(circle at 70% 25%, rgba(246, 173, 85, 0.16), transparent 30%);
}

.hero-content {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 170px 0 130px;
}

.kicker,
.eyebrow {
  margin: 0 0 14px;
  color: var(--gray);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 980px;
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  line-height: 0.96;
  font-weight: 900;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 24px;
  border: 1px solid currentColor;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button.primary {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
}

.button.ghost {
  background: transparent;
  color: var(--white);
}

.hero-strip {
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: min(1180px, calc(100% - 32px));
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--gray);
  font-family: var(--font-head);
  font-size: 0.9rem;
}

section {
  padding: 92px max(24px, calc((100vw - 1180px) / 2));
}

.section-dark {
  background: var(--black);
  color: var(--white);
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 54px;
  align-items: start;
  background:
    linear-gradient(rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.94)),
    url("/public/assets/682cd9c3e8d71038cae36b77.webp") center / cover;
  color: var(--black);
}

.intro-band h2,
.detail-section h2,
.cta-band h2 {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(2.15rem, 4vw, 4.8rem);
  line-height: 1.04;
  font-weight: 850;
}

.intro-band p,
.detail-section p,
.detail-list li,
.cta-band p {
  color: #555852;
  font-size: 1.05rem;
}

.detail-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.detail-section.reverse .detail-media {
  order: 1;
}

.detail-section.reverse .detail-copy {
  order: 2;
}

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

.detail-media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.detail-media.two-up {
  grid-template-columns: 1fr 0.72fr;
  align-items: end;
}

.detail-media.two-up img:nth-child(2) {
  height: 380px;
}

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

.detail-list li {
  padding: 13px 16px;
  border: 1px solid var(--ink-line);
  background: rgba(255, 255, 255, 0.72);
}

.process-grid,
.page-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.process-grid article,
.page-card-grid article {
  padding: 30px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.process-grid span,
.page-card-grid span {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--green);
  font-family: var(--font-head);
  font-weight: 800;
}

.process-grid h3,
.page-card-grid h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.process-grid p,
.page-card-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.seo-section {
  border-top: 1px solid var(--line);
}

.seo-section.compact {
  padding-top: 72px;
  padding-bottom: 72px;
}

.seo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.seo-lead h2 {
  max-width: 960px;
  margin: 0 0 24px;
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 4.35rem);
  line-height: 1.05;
  font-weight: 850;
}

.seo-lead p,
.seo-panel p,
.faq-list p {
  color: var(--muted);
  font-size: 1.02rem;
}

.seo-panel,
.seo-card-grid article,
.faq-list details {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.seo-panel {
  padding: clamp(24px, 4vw, 36px);
}

.seo-panel h3,
.seo-card-grid h3 {
  margin: 0 0 16px;
  font-size: 1.35rem;
}

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

.seo-list li {
  padding-left: 22px;
  position: relative;
  color: var(--gray);
}

.seo-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
}

.seo-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 42px;
}

.seo-card-grid article {
  padding: 28px;
}

.seo-card-grid p {
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 42px;
}

.faq-list details {
  padding: 22px 26px;
}

.faq-list summary {
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
}

.faq-list details[open] summary {
  margin-bottom: 12px;
  color: var(--green);
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.contact-panel {
  display: grid;
  gap: 18px;
}

.contact-panel a,
.contact-panel p {
  margin: 0;
  color: var(--gray);
  font-size: 1.05rem;
}

.contact-panel strong {
  display: block;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.map-embed {
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

.principles,
.stats {
  width: min(calc(100% - 48px), 1650px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding-top: 0;
  padding-inline: 0;
  padding-bottom: 0;
}

.principles article {
  min-height: 380px;
  display: grid;
  grid-template-rows: 72px auto 1fr;
  align-content: start;
  justify-items: center;
  padding: 56px 56px 50px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}

.principles img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 0;
}

h2,
h3 {
  margin: 0;
  font-family: var(--font-head);
  line-height: 1.08;
}

.principles h2,
.section-heading h2,
.section-copy h2 {
  font-size: clamp(2.1rem, 4vw, 4.5rem);
  font-weight: 800;
}

.principles h2 {
  align-self: end;
  margin-top: 36px;
  font-size: clamp(2.8rem, 4.6vw, 4.2rem);
}

.principles p,
.section-copy p,
.service-grid p,
.muted,
.site-footer p {
  color: var(--muted);
}

.principles p {
  max-width: 34ch;
  margin: 24px 0 0;
  font-size: 1.04rem;
  line-height: 1.55;
  text-wrap: balance;
}

.stats {
  padding-top: 0;
  padding-bottom: 0;
}

.stats div {
  min-height: 210px;
  display: grid;
  place-content: center;
  gap: 12px;
  padding: 42px 32px;
  border: 1px solid var(--line);
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
}

.stats strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(3rem, 5.3vw, 5rem);
  line-height: 1;
}

.stats span {
  color: var(--gray);
  font-family: var(--font-head);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.2;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: center;
  background:
    linear-gradient(rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.94)),
    url("/public/assets/682cd9c3e8d71038cae36b77.webp") center / cover;
  color: var(--black);
}

.split-section.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
}

.split-section.reverse .section-copy {
  order: 2;
}

.split-section.reverse .feature-panel {
  order: 1;
}

.split-section .eyebrow {
  color: #666862;
}

.section-copy p {
  max-width: 66ch;
  font-size: 1.06rem;
}

.image-stack {
  display: grid;
  grid-template-columns: 1fr 0.76fr;
  gap: 18px;
  align-items: end;
}

.image-stack--single {
  grid-template-columns: 1fr;
}

.image-stack img,
.feature-panel {
  border: 1px solid var(--ink-line);
  background: var(--white);
}

.image-stack img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.image-stack img:nth-child(2) {
  height: 390px;
}

.feature-panel {
  display: grid;
  min-height: 430px;
  place-items: center;
  padding: 48px;
}

.feature-panel img {
  width: min(420px, 100%);
}

.feature-panel--photo {
  padding: 0;
  min-height: 520px;
}

.feature-panel--photo img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-heading p:last-child {
  margin-bottom: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.service-grid article {
  grid-column: span 2;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.service-grid article:nth-child(4),
.service-grid article:nth-child(5) {
  grid-column: span 3;
}

.service-grid img {
  width: 100%;
  height: 330px;
  object-fit: cover;
}

.service-grid span,
.service-grid h3,
.service-grid p,
.service-grid .text-link {
  display: block;
  margin-left: 24px;
  margin-right: 24px;
}

.service-grid span {
  margin-top: 24px;
  color: var(--green);
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
}

.service-grid h3 {
  margin-top: 8px;
  font-size: 1.45rem;
}

.service-grid p {
  margin-bottom: 10px;
}

.service-grid .text-link {
  margin-bottom: 28px;
}

.capabilities,
.gallery {
  background: var(--soft-white);
  color: var(--black);
}

.capability-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.capability-list span,
.area-links a {
  padding: 13px 18px;
  border: 1px solid var(--ink-line);
  background: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
}

.area-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.area-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.area-links a {
  color: var(--black);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.area-links a:hover {
  transform: translateY(-2px);
  background: var(--gold);
  color: var(--black);
}

.area-links.large a {
  min-width: 210px;
  text-align: center;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--green);
  font-family: var(--font-head);
  font-weight: 800;
}

.text-link:hover {
  color: var(--gold);
}

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

.embed-slot {
  min-height: 210px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-family: var(--font-head);
}

.embed-slot[data-embed-slot="reviews"] {
  border: 0;
  background: transparent;
}

.embed-slot iframe {
  display: block;
  min-height: 520px;
  border: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

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

.gallery-grid button {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 0.8;
  object-fit: cover;
  filter: saturate(0.95);
  transform: rotate(var(--rotation, 0deg));
  transition: transform 180ms ease, filter 180ms ease;
}

.gallery-grid button:hover img {
  transform: rotate(var(--rotation, 0deg)) scale(1.015);
  filter: saturate(1.08);
}

.estimate {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: start;
}

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

.form-embed-slot {
  min-height: 180px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 16px;
}

.form-embed-slot iframe {
  min-height: 520px;
}

.estimate-modal {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.78);
}

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

.estimate-modal__dialog {
  position: relative;
  width: min(760px, 94vw);
  height: min(768px, 88vh);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}

.estimate-modal__dialog iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.estimate-modal__close {
  position: absolute;
  z-index: 2;
  top: 8px;
  right: 10px;
  width: 38px;
  height: 38px;
  border: 0;
  background: var(--black);
  color: var(--white);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.estimate-form label {
  display: grid;
  gap: 8px;
  color: var(--gray);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
}

.estimate-form .full {
  grid-column: 1 / -1;
}

.estimate-form input,
.estimate-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--black);
  padding: 14px 16px;
  outline: none;
}

.estimate-form input:focus,
.estimate-form textarea:focus {
  border-color: var(--gold);
}

.estimate-form button {
  width: fit-content;
  cursor: pointer;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.15fr 0.75fr 0.75fr 0.85fr;
  gap: 38px;
  padding: 64px max(24px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
  background: var(--black);
}

.site-footer img {
  width: 260px;
  margin-bottom: 24px;
}

.site-footer h2 {
  margin-bottom: 16px;
  font-size: 1.25rem;
}

.site-footer a:not(.button),
.site-footer p {
  display: block;
  margin: 0 0 10px;
  color: var(--gray);
}

.lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.88);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-height: 86vh;
  max-width: min(1100px, 92vw);
  object-fit: contain;
  transform: rotate(var(--rotation, 0deg));
}

.lightbox button {
  position: absolute;
  top: 18px;
  right: 22px;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 2.4rem;
  cursor: pointer;
}

.editor-body {
  background:
    radial-gradient(circle at 10% 12%, rgba(246, 173, 85, 0.16), transparent 32vw),
    radial-gradient(circle at 92% 4%, rgba(154, 230, 180, 0.12), transparent 30vw),
    var(--black);
}

.gallery-editor-app {
  padding: 32px max(18px, calc((100vw - 1180px) / 2)) 72px;
}

.editor-hero,
.editor-panel {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(14px);
}

.editor-hero {
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  padding: clamp(32px, 6vw, 72px);
}

.editor-hero h1 {
  max-width: 860px;
  margin: 0 0 14px;
  font-family: var(--font-head);
  font-size: clamp(3rem, 8vw, 7.2rem);
  line-height: 0.95;
}

.editor-hero p {
  max-width: 680px;
  color: var(--gray);
  font-size: 1.1rem;
}

.editor-panel {
  margin-top: 20px;
  padding: clamp(24px, 4vw, 42px);
}

.editor-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  margin-bottom: 24px;
}

.editor-toolbar.compact {
  margin-bottom: 18px;
}

.editor-toolbar h2 {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 3rem);
  line-height: 1.05;
}

.editor-toolbar code,
.editor-panel code {
  color: var(--green);
}

.editor-add-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
}

.editor-add-form label,
.editor-upload label,
.editor-card label {
  display: grid;
  gap: 8px;
  color: var(--gray);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 800;
}

.editor-add-form input,
.editor-card input,
.editor-output {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--black);
  padding: 13px 14px;
  outline: none;
}

.editor-add-form input:focus,
.editor-card input:focus,
.editor-output:focus {
  border-color: var(--gold);
}

.editor-upload {
  margin-top: 18px;
  display: grid;
  gap: 8px;
}

.editor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.editor-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.editor-card__image {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #111;
}

.editor-card__image img {
  width: 100%;
  aspect-ratio: 0.9;
  object-fit: cover;
  transform: rotate(var(--rotation, 0deg));
}

.editor-card__image span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 6px 9px;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.editor-card__meta {
  color: var(--muted);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 800;
}

.editor-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.editor-card__actions button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--white);
  padding: 9px 10px;
  cursor: pointer;
}

.editor-card__actions button:hover:not(:disabled) {
  border-color: var(--gold);
  color: var(--gold);
}

.editor-card__actions button:disabled {
  opacity: 0.34;
  cursor: not-allowed;
}

.editor-output {
  min-height: 280px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.5;
  resize: vertical;
}

.editor-status {
  min-height: 1.5em;
  color: var(--green);
  font-family: var(--font-head);
  font-weight: 800;
}

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

  body.js-reveal-ready .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    top: 12px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    background: rgba(5, 5, 5, 0.96);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a,
  .nav-group > a,
  .nav-menu a {
    padding: 13px 10px;
  }

  .nav-group {
    padding: 0;
  }

  .nav-menu {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    border-color: var(--line);
    background: transparent;
    color: var(--gray);
  }

  .hero-content {
    padding-top: 150px;
  }

  .principles,
  .stats,
  .service-grid,
  .estimate,
  .intro-band,
  .detail-section,
  .contact-layout,
  .cta-band,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .split-section,
  .split-section.reverse {
    grid-template-columns: 1fr;
  }

  .split-section.reverse .section-copy,
  .split-section.reverse .feature-panel {
    order: initial;
  }

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

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

  .detail-section.reverse .detail-copy,
  .detail-section.reverse .detail-media {
    order: initial;
  }

  .process-grid,
  .page-card-grid,
  .seo-layout,
  .seo-card-grid,
  .editor-hero,
  .editor-toolbar,
  .editor-add-form,
  .editor-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    align-items: start;
  }
}

@media (max-width: 620px) {
  .brand img {
    width: 198px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    padding-bottom: 112px;
  }

  .page-hero {
    min-height: 62vh;
    padding-top: 142px;
    padding-bottom: 62px;
  }

  .hero-strip {
    display: grid;
    font-size: 0.82rem;
  }

  section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .principles article {
    min-height: auto;
    padding: 32px 24px;
  }

  .image-stack {
    grid-template-columns: 1fr;
  }

  .detail-media.two-up {
    grid-template-columns: 1fr;
  }

  .image-stack img,
  .image-stack img:nth-child(2),
  .detail-media img,
  .detail-media.two-up img:nth-child(2),
  .service-grid img {
    height: 310px;
  }

  .estimate-form {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    gap: 8px;
  }

  .site-footer {
    padding-bottom: 40px;
  }
}
