:root {
  --navy: #242b3b;
  --navy-deep: #171c27;
  --accent: #e4b69a;
  --accent-strong: #a8796c;
  --text: #493f41;
  --muted: #70615e;
  --line: #d9d2ce;
  --surface: #ffffff;
  --surface-soft: #f6f2ef;
  --surface-warm: #eee5df;
  --shadow: 0 20px 60px rgba(30, 30, 36, 0.12);
  --radius: 2px;
  --container: 1180px;
  --header-height: 82px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
body {
  margin: 0;
  color: var(--text);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.dialog-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
::selection { color: var(--navy-deep); background: var(--accent); }

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #fff;
  background: var(--navy);
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(15px);
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled {
  border-color: rgba(36,43,59,.08);
  box-shadow: 0 8px 28px rgba(36,43,59,.08);
}
.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  color: var(--navy);
  text-decoration: none;
}
.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.brand-copy {
  display: grid;
  line-height: 1.05;
}
.brand-copy strong {
  font-size: 1.22rem;
  letter-spacing: .18em;
}
.brand-copy span {
  margin-top: 5px;
  color: var(--muted);
  font-size: .76rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  margin-left: auto;
}
.site-nav a {
  position: relative;
  color: var(--navy);
  font-size: .92rem;
  font-weight: 650;
  text-decoration: none;
}
.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--accent-strong);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .2s ease;
}
.site-nav a:hover::after,
.site-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.header-cta { flex: 0 0 auto; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
  transition: transform .2s ease, opacity .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); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 24px;
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  color: #fff;
  background: var(--navy);
  font-size: .92rem;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.button:hover { background: var(--navy-deep); transform: translateY(-2px); }
.button:focus-visible,
.text-link:focus-visible,
.project-open:focus-visible,
.dialog-close:focus-visible,
.gallery-control:focus-visible,
.dialog-thumbnails button:focus-visible,
.hero-carousel button:focus-visible,
.menu-toggle:focus-visible,
.site-nav a:focus-visible {
  outline: 3px solid rgba(168,121,108,.45);
  outline-offset: 4px;
}
.button-small { min-height: 44px; padding: 10px 17px; font-size: .82rem; }
.button-accent { color: var(--navy-deep); background: var(--accent); border-color: var(--accent); }
.button-accent:hover { color: #fff; background: var(--accent-strong); border-color: var(--accent-strong); }
.button-outline-light { color: #fff; background: transparent; border-color: rgba(255,255,255,.55); }
.button-outline-light:hover { color: var(--navy); background: #fff; border-color: #fff; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: .95rem;
  font-weight: 760;
  text-decoration: none;
}
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

.hero {
  overflow: clip;
  padding: clamp(54px, 7vw, 98px) 0 clamp(68px, 8vw, 112px);
  background:
    linear-gradient(90deg, rgba(228,182,154,.14), transparent 38%),
    var(--surface-soft);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr);
  align-items: center;
  gap: clamp(38px, 6vw, 86px);
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--accent-strong);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.3;
  text-transform: uppercase;
}
.hero h1,
.section-heading h2,
.about h2,
.contact h2,
.dialog-content h2 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.03;
}
.hero h1 {
  max-width: 720px;
  font-size: clamp(3.2rem, 5.8vw, 5.65rem);
}
.hero-lead {
  max-width: 670px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.45vw, 1.24rem);
  line-height: 1.7;
}
.hero-lead strong { color: var(--text); }
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 34px;
}
.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 44px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
}
.hero-facts div { min-width: 0; }
.hero-facts dt {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.05rem;
  line-height: 1;
}
.hero-facts dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.45;
}
.hero-visual {
  position: relative;
  min-height: 610px;
  margin: 0;
}
.hero-visual::before {
  position: absolute;
  z-index: 0;
  top: -26px;
  right: -34px;
  width: 73%;
  height: 65%;
  border: 1px solid var(--accent);
  content: "";
}
.hero-carousel-track,
.hero-slide {
  position: absolute;
  inset: 0;
}
.hero-carousel-track { z-index: 1; }
.hero-slide {
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .55s ease;
}
.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}
.hero-slide img {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.hero-slide figcaption {
  position: absolute;
  z-index: 2;
  right: -22px;
  bottom: -24px;
  display: grid;
  min-width: 250px;
  padding: 22px 25px;
  color: #fff;
  background: var(--navy);
  box-shadow: 0 15px 35px rgba(23,28,39,.2);
}
.hero-slide figcaption span {
  color: var(--accent);
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-slide figcaption strong { margin-top: 5px; font-size: .98rem; }
.hero-carousel-controls {
  position: absolute;
  z-index: 4;
  top: 18px;
  left: 18px;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 7px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  background: rgba(23,28,39,.82);
  box-shadow: 0 8px 24px rgba(23,28,39,.18);
  backdrop-filter: blur(8px);
}
.hero-carousel.is-ready .hero-carousel-controls { display: flex; }
.hero-carousel-arrow,
.hero-carousel-dot {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
}
.hero-carousel-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1rem;
  transition: background .2s ease;
}
.hero-carousel-toggle {
  border-left: 1px solid rgba(255,255,255,.25);
  border-radius: 0 50% 50% 0;
  font-size: .72rem;
}
.hero-carousel-arrow:hover { background: rgba(255,255,255,.14); }
.hero-carousel-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}
.hero-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.42);
  transition: width .2s ease, border-radius .2s ease, background .2s ease;
}
.hero-carousel-dot.is-active {
  width: 22px;
  border-radius: 999px;
  background: var(--accent);
}

.intro-strip { color: #fff; background: var(--navy); }
.intro-strip-grid {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  align-items: center;
  gap: 30px;
  min-height: 116px;
  padding-block: 24px;
}
.intro-strip p { margin: 0; }
.intro-strip p:first-child { font-size: clamp(1.05rem, 2vw, 1.45rem); }
.intro-strip p:last-child { color: rgba(255,255,255,.68); font-size: .88rem; text-align: right; }
.intro-strip strong { color: var(--accent); }

.section { padding: clamp(82px, 10vw, 144px) 0; }
.section-heading { max-width: 820px; margin-bottom: 54px; }
.section-heading-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  align-items: end;
  max-width: none;
  gap: clamp(36px, 7vw, 100px);
}
.section-heading h2,
.about h2,
.contact h2 { font-size: clamp(2.55rem, 4.4vw, 4.45rem); }
.section-heading > p,
.section-heading-split > p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}
.section-heading-split > p { padding-bottom: 5px; }

.services { background: #fff; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.service-card {
  min-height: 320px;
  padding: 34px 28px 40px;
  border-right: 1px solid var(--line);
  transition: background .25s ease, transform .25s ease;
}
.service-card:last-child { border-right: 0; }
.service-card:hover { background: var(--surface-soft); transform: translateY(-4px); }
.service-number {
  display: block;
  margin-bottom: 62px;
  color: var(--accent-strong);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
}
.service-card h3 {
  margin: 0 0 18px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.15;
}
.service-card p { margin: 0; color: var(--muted); font-size: .92rem; }

.projects { background: var(--surface-soft); }
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 36px 28px;
}
.project-card { min-width: 0; }
.project-card-featured { grid-column: 1 / -1; }
.project-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.project-image-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #ddd;
}
.project-card-featured .project-image-wrap { aspect-ratio: 16 / 7; }
.project-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .35s ease;
}
.project-open:hover .project-image-wrap img { transform: scale(1.035); filter: saturate(1.04); }
.project-arrow {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--navy);
  background: rgba(255,255,255,.94);
  font-size: 1.25rem;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.project-open:hover .project-arrow { color: #fff; background: var(--navy); transform: translate(2px,-2px); }
.project-content { display: grid; padding: 24px 2px 0; }
.project-content .project-type {
  margin-bottom: 9px;
  color: var(--accent-strong);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.project-content strong {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 2.6vw, 2.35rem);
  font-weight: 500;
  line-height: 1.15;
}
.project-content > span:last-child {
  max-width: 720px;
  margin-top: 12px;
  color: var(--muted);
  font-size: .93rem;
}
.project-card-featured .project-content {
  grid-template-columns: minmax(210px,.65fr) minmax(0,1fr);
  column-gap: 60px;
}
.project-card-featured .project-content .project-type { grid-column: 1; }
.project-card-featured .project-content strong { grid-column: 1; }
.project-card-featured .project-content > span:last-child {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  margin-top: 0;
  padding-bottom: 3px;
  font-size: 1.02rem;
}
.project-disclaimer {
  max-width: 840px;
  margin: 52px 0 0;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.6;
}

.about { overflow: clip; background: #fff; }
.about-grid {
  display: grid;
  grid-template-columns: minmax(300px,.72fr) minmax(0,1.28fr);
  align-items: center;
  gap: clamp(50px, 9vw, 120px);
}
.about-portrait { position: relative; margin: 0; }
.about-portrait::before {
  position: absolute;
  z-index: 0;
  top: -24px;
  left: -24px;
  width: 64%;
  height: 70%;
  background: var(--surface-warm);
  content: "";
}
.about-portrait img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 25%;
  filter: saturate(.82);
}
.about-portrait figcaption {
  position: absolute;
  z-index: 2;
  right: -18px;
  bottom: -22px;
  min-width: 240px;
  padding: 18px 22px;
  color: #fff;
  background: var(--navy);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.4;
}
.about-portrait figcaption span { color: var(--accent); font-size: .75rem; font-weight: 600; }
.about-copy { max-width: 680px; }
.about-copy h2 { margin-bottom: 30px; }
.about-copy p { color: var(--muted); }
.about-copy .about-lead { color: var(--text); font-size: 1.12rem; }
.experience-path {
  display: grid;
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid var(--line);
}
.experience-path div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.experience-path span {
  color: var(--accent-strong);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.experience-path strong { color: var(--navy); font-size: .92rem; }

.process { color: #fff; background: var(--navy); }
.process .eyebrow { color: var(--accent); }
.process .section-heading h2 { color: #fff; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255,255,255,.18);
  list-style: none;
}
.process-grid li {
  min-height: 310px;
  padding: 34px 34px 42px 0;
  border-right: 1px solid rgba(255,255,255,.18);
}
.process-grid li + li { padding-left: 34px; }
.process-grid li:last-child { border-right: 0; }
.process-grid li > span {
  display: block;
  margin-bottom: 70px;
  color: var(--accent);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
}
.process-grid h3 {
  margin: 0 0 16px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  font-weight: 500;
}
.process-grid p { margin: 0; color: rgba(255,255,255,.68); font-size: .92rem; }

.contact { padding: clamp(82px, 10vw, 140px) 0; color: #fff; background: var(--navy-deep); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(320px,.65fr);
  align-items: start;
  gap: clamp(50px, 9vw, 120px);
}
.eyebrow-light { color: var(--accent); }
.contact h2 { max-width: 760px; color: #fff; }
.contact-copy > p:not(.eyebrow) { max-width: 650px; margin: 28px 0 0; color: rgba(255,255,255,.7); font-size: 1.04rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.contact-card {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 8px 0 0;
  font-style: normal;
  border-top: 1px solid rgba(255,255,255,.24);
}
.contact-card div { display: grid; gap: 5px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.contact-card span {
  color: var(--accent);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.contact-card a { color: #fff; font-size: 1.05rem; font-weight: 680; text-decoration: none; overflow-wrap: anywhere; }
.contact-card a:hover { color: var(--accent); }
.contact-card p { margin: 24px 0 0; color: rgba(255,255,255,.55); font-size: .8rem; }

.site-footer { padding: 30px 0 34px; background: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
}
.brand-footer img { width: 44px; height: 44px; }
.brand-footer .brand-copy strong { font-size: 1rem; }
.brand-footer .brand-copy span { font-size: .65rem; }
.footer-grid p { margin: 0; color: var(--muted); font-size: .75rem; }
.footer-grid p:nth-child(2) { text-align: center; }
.mobile-contact-bar { display: none; }

.project-dialog {
  width: min(1180px, calc(100% - 32px));
  max-width: none;
  max-height: min(880px, calc(100vh - 34px));
  padding: 0;
  border: 0;
  color: var(--text);
  background: #fff;
  box-shadow: 0 30px 90px rgba(0,0,0,.32);
}
.project-dialog::backdrop { background: rgba(18,22,31,.82); backdrop-filter: blur(5px); }
.dialog-shell {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0,1.5fr) minmax(320px,.78fr);
  min-height: 690px;
}
.dialog-close {
  position: absolute;
  z-index: 5;
  top: 15px;
  right: 15px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  place-items: center;
  color: #fff;
  background: rgba(23,28,39,.82);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
.dialog-gallery {
  display: grid;
  width: 100%;
  overflow: hidden;
  grid-template-rows: minmax(0,1fr) auto;
  min-width: 0;
  min-height: 0;
  background: #17191f;
}
.dialog-main-image { position: relative; width: 100%; min-width: 0; min-height: 540px; overflow: hidden; }
.dialog-main-image img { width: 100%; max-width: 100%; min-width: 0; height: 100%; object-fit: contain; }
.gallery-control {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  place-items: center;
  color: var(--navy);
  background: rgba(255,255,255,.92);
  cursor: pointer;
  transform: translateY(-50%);
}
.gallery-prev { left: 14px; }
.gallery-next { right: 14px; }
.gallery-count {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 5px 9px;
  color: #fff;
  background: rgba(23,28,39,.76);
  font-size: .72rem;
}
.dialog-thumbnails {
  display: flex;
  width: 100%;
  max-width: 100%;
  gap: 8px;
  overflow-x: auto;
  padding: 12px;
  background: #101217;
  scrollbar-width: thin;
}
.dialog-thumbnails button {
  flex: 0 0 92px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  background: #333;
  cursor: pointer;
  opacity: .65;
}
.dialog-thumbnails button.is-active { border-color: var(--accent); opacity: 1; }
.dialog-thumbnails img { width: 100%; height: 100%; object-fit: cover; }
.dialog-content {
  overflow-y: auto;
  padding: 82px 42px 46px;
}
.dialog-content h2 { font-size: clamp(2.2rem, 4vw, 3.65rem); }
.dialog-lead { margin: 24px 0 0; color: var(--muted); font-size: .98rem; }
.dialog-facts { display: grid; margin: 30px 0 0; border-top: 1px solid var(--line); }
.dialog-facts div { display: grid; grid-template-columns: 105px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.dialog-facts dt { color: var(--accent-strong); font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.dialog-facts dd { margin: 0; color: var(--navy); font-size: .84rem; font-weight: 650; }
.dialog-note { margin: 24px 0; color: var(--muted); font-size: .72rem; }
.noscript { margin: 0; padding: 12px; color: #fff; background: #8e2d2d; text-align: center; }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  :root { --header-height: 74px; }
  .header-cta { display: none; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 42px; }
  .hero-visual { min-height: 520px; }
  .hero-facts { grid-template-columns: repeat(3,1fr); }
  .service-grid { grid-template-columns: repeat(2,1fr); }
  .service-card:nth-child(2) { border-right: 0; }
  .service-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .about-grid { grid-template-columns: .82fr 1.18fr; gap: 56px; }
  .dialog-shell { grid-template-columns: minmax(0,1.35fr) minmax(300px,.75fr); }
}

@media (max-width: 820px) {
  body { font-size: 16px; }
  .container { width: min(calc(100% - 32px), var(--container)); }
  .menu-toggle { display: block; }
  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    margin: 0;
    padding: 12px 16px 20px;
    border-top: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 18px 32px rgba(36,43,59,.12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .2s ease, transform .2s ease;
  }
  .site-nav.is-open { opacity: 1; pointer-events: auto; transform: none; }
  .site-nav a { padding: 13px 8px; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav a::after { display: none; }
  .hero { padding-top: 42px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 700px; }
  .hero h1 { font-size: clamp(3.2rem, 12vw, 5.4rem); }
  .hero-visual { min-height: 590px; }
  .hero-slide figcaption { right: 14px; }
  .intro-strip-grid { grid-template-columns: 1fr; gap: 8px; }
  .intro-strip p:last-child { text-align: left; }
  .section-heading-split { grid-template-columns: 1fr; gap: 22px; }
  .project-card-featured .project-content { display: grid; grid-template-columns: 1fr; }
  .project-card-featured .project-content .project-type,
  .project-card-featured .project-content strong,
  .project-card-featured .project-content > span:last-child { grid-column: auto; grid-row: auto; }
  .project-card-featured .project-content > span:last-child { margin-top: 12px; }
  .about-grid { grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); gap: 38px; }
  .experience-path div { grid-template-columns: 1fr; gap: 5px; }
  .contact-grid { grid-template-columns: 1fr; gap: 55px; }
  .footer-grid { grid-template-columns: auto 1fr; }
  .footer-grid p:nth-child(2) { text-align: right; }
  .footer-grid p:last-child { grid-column: 1 / -1; text-align: center; }
  .dialog-shell { display: block; min-height: 0; }
  .project-dialog { max-height: calc(100vh - 18px); }
  .dialog-gallery { height: 58vh; min-height: 420px; }
  .dialog-main-image { min-height: 0; }
  .dialog-content { max-height: none; padding: 48px 28px 40px; }
}

@media (max-width: 620px) {
  html { scroll-padding-bottom: 70px; }
  body { padding-bottom: 58px; }
  .brand img { width: 46px; height: 46px; }
  .brand-copy strong { font-size: 1.05rem; }
  .brand-copy span { font-size: .65rem; }
  .hero { padding-bottom: 72px; }
  .hero h1 { font-size: clamp(2.9rem, 14.5vw, 4.35rem); }
  .hero-lead { margin-top: 24px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-actions .button { width: 100%; }
  .hero-facts { grid-template-columns: 1fr; gap: 18px; }
  .hero-facts div { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 14px; }
  .hero-facts dd { margin: 0; }
  .hero-visual { min-height: 430px; }
  .hero-visual::before { top: -14px; right: -12px; }
  .hero-slide figcaption { right: 10px; bottom: -18px; left: 18px; min-width: 0; }
  .hero-carousel-controls { top: 12px; left: 12px; }
  .section { padding: 82px 0; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2,
  .about h2,
  .contact h2 { font-size: clamp(2.35rem, 11.5vw, 3.35rem); }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; padding: 28px 22px 34px; border-right: 0; border-bottom: 1px solid var(--line); }
  .service-card:last-child { border-bottom: 0; }
  .service-number { margin-bottom: 34px; }
  .project-grid { grid-template-columns: 1fr; gap: 42px; }
  .project-card-featured { grid-column: auto; }
  .project-card-featured .project-image-wrap,
  .project-image-wrap { aspect-ratio: 4 / 3; }
  .project-content { padding-top: 19px; }
  .about-grid { grid-template-columns: 1fr; gap: 58px; }
  .about-portrait { width: calc(100% - 18px); }
  .about-portrait figcaption { right: -18px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid li,
  .process-grid li + li { min-height: 0; padding: 28px 0 34px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .process-grid li:last-child { border-bottom: 0; }
  .process-grid li > span { margin-bottom: 30px; }
  .contact-actions { display: grid; }
  .contact-actions .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-grid p:nth-child(2) { text-align: center; }
  .mobile-contact-bar {
    position: fixed;
    z-index: 90;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 58px;
    box-shadow: 0 -8px 24px rgba(23,28,39,.18);
  }
  .mobile-contact-bar a {
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--navy);
    font-size: .82rem;
    font-weight: 800;
    text-decoration: none;
  }
  .mobile-contact-bar a + a { color: var(--navy-deep); background: var(--accent); }
  .project-dialog { width: calc(100% - 12px); max-height: calc(100vh - 12px); }
  .dialog-gallery { height: 47vh; min-height: 330px; }
  .dialog-main-image { min-height: 255px; }
  .dialog-thumbnails button { flex-basis: 78px; height: 54px; }
  .dialog-content { padding: 42px 22px 36px; }
  .dialog-facts div { grid-template-columns: 82px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
