:root {
  --ink: #ece8df;
  --muted: rgba(236, 232, 223, 0.72);
  --orange: #cc6a3a;
  --night: #111715;
  --night-soft: #171e1b;
  --cream: #ece8df;
  --stone: #ccc6ba;
  --stone-soft: #d6d0c4;
  --stone-deep: #beb8ad;
  --stone-ink: #1b2425;
  --rust-dark: #79300f;
}

html {
  scroll-padding-top: 16px;
}

body {
  background: var(--night);
}

a,
button {
  touch-action: manipulation;
}

a:focus-visible,
button:focus-visible {
  outline-color: var(--cream);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  background: var(--cream);
  color: var(--stone-ink);
  font-size: 14px;
  transform: translateY(-160%);
  transition: transform 180ms var(--ease-out);
}

.skip-link:focus {
  transform: none;
}

.scene__shade {
  background:
    linear-gradient(90deg, rgba(9, 16, 16, 0.44) 0%, rgba(9, 16, 16, 0.1) 55%, transparent 76%),
    linear-gradient(180deg, rgba(8, 14, 14, 0.16) 0%, transparent 50%, rgba(7, 12, 12, 0.28) 100%);
}

.hero-copy {
  /* Preserve the original desktop headline baseline after adding the eyebrow. */
  top: 110px;
}

.hero-copy p.hero-copy__eyebrow {
  margin: 0 0 17px;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.14em;
  color: #d58a61;
  animation: intro-up 360ms var(--ease-out) 105ms both;
}

.hero-copy h1,
.portfolio-showcase h2,
.project-case__hero-copy,
.site-footer {
  color: var(--cream);
}

.header__partner-logo img,
.site-footer__partner-logo img {
  opacity: 0.72;
}

/* About — a mid-tone architectural surface between the dark hero and cases. */
.company-section {
  position: relative;
  isolation: isolate;
  min-height: min(88dvh, 880px);
  overflow: hidden;
  padding: 24px max(4vw, 48px) 28px;
  scroll-margin-top: 0;
  background: var(--stone-deep);
  color: var(--stone-ink);
}

.company-section::before {
  content: "BC";
  position: absolute;
  right: -0.08em;
  bottom: -0.25em;
  z-index: -1;
  font-family: var(--mono);
  font-size: clamp(220px, 28vw, 470px);
  line-height: 0.8;
  letter-spacing: -0.13em;
  color: rgba(27, 36, 37, 0.045);
  pointer-events: none;
}

.company-section__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(27, 36, 37, 0.3);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  color: rgba(27, 36, 37, 0.76);
}

.company-section__layout {
  display: grid;
  grid-template-columns: minmax(430px, 0.96fr) minmax(480px, 1.04fr);
  gap: clamp(70px, 9vw, 160px);
  align-items: center;
  min-height: clamp(590px, calc(88dvh - 92px), 760px);
  padding: clamp(54px, 7vh, 86px) 0 48px;
}

.company-section__title,
.company-section__body {
  min-width: 0;
}

.company-section__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.11em;
  color: var(--rust-dark);
}

.company-section__eyebrow i {
  width: 18px;
  height: 2px;
  background: currentColor;
}

.company-section h2 {
  margin: 0;
  font-size: clamp(58px, 6.6vw, 108px);
  line-height: 0.88;
  font-weight: 400;
  letter-spacing: -0.065em;
}

.company-section__statement {
  margin: clamp(36px, 5vw, 72px) 0 0;
  font-family: var(--mono);
  font-size: clamp(17px, 1.55vw, 25px);
  line-height: 1.28;
  letter-spacing: -0.035em;
  color: rgba(27, 36, 37, 0.76);
}

.company-section__statement span {
  color: var(--rust-dark);
}

.company-section__lead,
.company-section__text {
  max-width: 690px;
  margin: 0;
  letter-spacing: -0.025em;
  text-wrap: pretty;
}

.company-section__lead {
  font-size: clamp(21px, 1.72vw, 29px);
  line-height: 1.38;
}

.company-section__text {
  max-width: 630px;
  margin-top: 24px;
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.55;
  color: rgba(27, 36, 37, 0.76);
}

.company-section__directions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.company-section__directions li {
  min-height: 58px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  border-top: 1px solid rgba(27, 36, 37, 0.3);
}

.company-section__directions span {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--rust-dark);
}

.company-section__directions strong {
  font-size: 15px;
  line-height: 1.3;
  font-weight: 500;
}

.company-section__cta {
  width: min(100%, 330px);
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
  padding: 0 17px;
  border: 1px solid rgba(27, 36, 37, 0.52);
  font-size: 16px;
  font-weight: 500;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.company-section__cta:hover {
  border-color: var(--stone-ink);
  background: var(--stone-ink);
  color: var(--cream);
}

.company-section__proof {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.09em;
  color: rgba(27, 36, 37, 0.58);
}

.company-section__proof i {
  width: min(12vw, 150px);
  height: 1px;
  margin: 0 14px;
  background: rgba(27, 36, 37, 0.26);
}

.company-section__title,
.company-section__body {
  transition: opacity 360ms var(--ease-out), transform 360ms var(--ease-out);
}

.company-section.is-visible .company-section__body {
  transition-delay: 70ms;
}

/* Cohesive, softer palette — no stark white panels. */
.portfolio-showcase,
.site-footer {
  background: var(--night);
}

.portfolio-showcase__shade {
  background:
    linear-gradient(90deg, rgba(10, 16, 16, 0.83) 0%, rgba(10, 16, 16, 0.34) 42%, transparent 68%),
    linear-gradient(180deg, rgba(8, 13, 13, 0.12) 0%, transparent 52%, rgba(8, 13, 13, 0.36) 100%);
}

.portfolio-showcase h2 {
  font-size: clamp(92px, 10.8vw, 174px);
  line-height: 0.82;
  letter-spacing: -0.075em;
}

.portfolio-showcase__description {
  max-width: 470px;
  color: rgba(232, 226, 215, 0.76);
}

.portfolio-showcase__case-links {
  width: min(100%, 380px);
  margin-top: 30px;
}

.portfolio-showcase__case-link {
  border-color: rgba(232, 226, 215, 0.34);
  color: rgba(232, 226, 215, 0.88);
}

.portfolio-showcase__case-link:hover {
  border-color: var(--cream);
  background: var(--cream);
  color: var(--stone-ink);
}

.project-case {
  --case-bg: var(--stone-soft);
  --case-ink: var(--stone-ink);
  --case-muted: rgba(27, 36, 37, 0.72);
  --case-line: rgba(27, 36, 37, 0.25);
  --case-accent: var(--rust-dark);
}

.project-case__hero-copy {
  color: var(--cream);
}

.project-case__hero figcaption a {
  color: var(--cream);
}

.compact-case {
  --compact-bg: #161d1b;
  --compact-ink: var(--cream);
  --compact-muted: rgba(232, 226, 215, 0.7);
  --compact-line: rgba(232, 226, 215, 0.2);
  --compact-accent: #cc6a3a;
}

.compact-case--hta {
  --compact-bg: #c5ccc6;
  --compact-ink: #14211c;
  --compact-muted: rgba(20, 33, 28, 0.72);
  --compact-line: rgba(20, 33, 28, 0.24);
  --compact-accent: #0b6043;
}

.compact-case--khabar {
  --compact-bg: #11171c;
  --compact-ink: #e5e2da;
  --compact-muted: rgba(229, 226, 218, 0.69);
  --compact-line: rgba(229, 226, 218, 0.19);
  --compact-accent: #5f84bd;
  background:
    repeating-linear-gradient(180deg, rgba(232, 226, 215, 0.014) 0, rgba(232, 226, 215, 0.014) 1px, transparent 1px, transparent 8px),
    radial-gradient(circle at 82% 20%, rgba(82, 121, 181, 0.09), transparent 34%),
    var(--compact-bg);
}

.compact-case--khabar .compact-case__eyebrow {
  color: #cf7848;
}

.compact-case--residential-pair {
  --compact-bg: #19211e;
  --compact-ink: var(--cream);
  --compact-muted: rgba(232, 226, 215, 0.76);
  --compact-line: rgba(232, 226, 215, 0.22);
  --compact-accent: #dc8b58;
  background:
    linear-gradient(rgba(232, 226, 215, 0.018) 1px, transparent 1px) 0 0 / 80px 80px,
    linear-gradient(90deg, rgba(232, 226, 215, 0.018) 1px, transparent 1px) 0 0 / 80px 80px,
    radial-gradient(circle at 82% 18%, rgba(214, 129, 79, 0.12), transparent 34%),
    var(--compact-bg);
}

.compact-case--residential-pair::before {
  color: rgba(232, 226, 215, 0.028);
}

.services-catalog {
  background: var(--stone);
  color: var(--stone-ink);
}

.services-catalog__lead {
  color: rgba(27, 36, 37, 0.75);
}

.services-catalog__eyebrow,
.services-catalog__list span {
  color: var(--rust-dark);
}

.services-catalog__cta {
  background: var(--stone-ink);
  color: var(--cream);
}

.service-story {
  --story-bg: var(--stone-soft);
  --story-ink: var(--stone-ink);
  --story-muted: rgba(27, 36, 37, 0.73);
  --story-line: rgba(27, 36, 37, 0.26);
  --story-focus: var(--stone-ink);
  --story-accent: var(--rust-dark);
  --story-on-accent: var(--cream);
}

.service-story--architecture {
  --story-bg: #c6c1b6;
}

.service-story--interior {
  --story-bg: #29241f;
  --story-ink: #e8e1d7;
  --story-muted: rgba(232, 225, 215, 0.72);
  --story-line: rgba(232, 225, 215, 0.22);
  --story-focus: #e8e1d7;
  --story-accent: #cf7848;
  --story-on-accent: #111a20;
}

.service-story--commercial {
  --story-bg: #c8754a;
  --story-ink: #171d1d;
  --story-muted: rgba(23, 29, 29, 0.94);
  --story-line: rgba(23, 29, 29, 0.31);
  --story-focus: #171d1d;
  --story-accent: #171d1d;
  --story-on-accent: var(--cream);
}

.service-story--industrial {
  --story-bg: #14242a;
  --story-ink: #e5e2da;
  --story-muted: rgba(229, 226, 218, 0.7);
  --story-line: rgba(229, 226, 218, 0.2);
  --story-focus: #e5e2da;
  --story-accent: #cf7848;
  --story-on-accent: #111a20;
}

.service-story--houses {
  --story-bg: #c4b7a3;
}

.service-story--renovation {
  --story-bg: #d0c7b8;
}

.service-story--landscaping {
  --story-bg: #24342b;
  --story-ink: #e5e3d8;
  --story-muted: rgba(229, 227, 216, 0.71);
  --story-line: rgba(229, 227, 216, 0.2);
  --story-focus: #e5e3d8;
  --story-accent: #e68142;
  --story-on-accent: #111a20;
}

.service-story--furnishing {
  --story-bg: #bba888;
}

.service-story--crews {
  --story-bg: #151c1b;
  --story-ink: #e8e2d7;
  --story-muted: rgba(232, 226, 215, 0.71);
  --story-line: rgba(232, 226, 215, 0.21);
  --story-focus: #e8e2d7;
  --story-accent: #cf7848;
  --story-on-accent: #111a20;
}

.service-story__cta:hover {
  color: var(--story-on-accent);
}

.compact-case--hta .compact-case__site-note {
  color: var(--cream);
}

.landscape-map {
  color: rgba(229, 227, 216, 0.58);
}

.industrial-network {
  color: rgba(236, 232, 223, 0.58);
}

.site-footer {
  color: var(--cream);
}

@media (max-width: 1180px) and (min-width: 821px) {
  .company-section {
    padding-right: 32px;
    padding-left: 32px;
  }

  .company-section__layout {
    grid-template-columns: minmax(330px, 0.85fr) minmax(0, 1.15fr);
    gap: 56px;
  }

  .site-footer {
    padding-right: 32px;
    padding-left: 32px;
  }

  .site-footer__main {
    grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
    gap: 48px;
    padding: 56px 0 68px;
  }

  .site-footer__partner-logo {
    width: min(100%, 220px);
  }

  .site-footer__statement p {
    font-size: clamp(34px, 4.2vw, 48px);
  }

  .site-footer__nav {
    grid-column: 1 / -1;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* Desktop hero uses the real viewport instead of a centered 1672×941 canvas. */
@media (min-width: 821px) and (min-height: 621px) and (orientation: landscape) {
  .scene {
    inset: 0;
    width: 100%;
    height: 100%;
    transform: none !important;
  }

  .header {
    top: clamp(18px, min(1.38vw, 2.44vh), 28px);
    left: clamp(40px, min(3.83vw, 6.8vh), 98px);
    right: clamp(40px, min(3.83vw, 6.8vh), 98px);
  }

  .nav {
    left: 50%;
    gap: clamp(22px, 2.6vw, 44px);
    transform: translateX(-50%);
  }

  .header__partner-logo {
    right: clamp(180px, 12vw, 246px);
    width: clamp(100px, 7.54vw, 126px);
  }

  .header-cta {
    width: clamp(140px, 9.15vw, 168px);
  }

  .hero-copy {
    left: clamp(40px, min(3.83vw, 6.8vh), 98px);
    top: clamp(74px, min(6.58vw, 11.69vh), 168px);
  }

  .hero-copy p.hero-copy__eyebrow {
    margin-bottom: clamp(14px, min(1.02vw, 1.81vh), 18px);
    font-size: clamp(9px, min(0.6vw, 1.06vh), 10px);
  }

  .hero-copy h1 {
    font-size: clamp(52px, min(4.9vw, 8.71vh), 96px);
    white-space: nowrap;
  }

  .hero-copy > p:not(.hero-copy__eyebrow) {
    margin-top: clamp(19px, min(1.44vw, 2.55vh), 26px);
    font-size: clamp(15px, min(1.08vw, 1.91vh), 19px);
  }

  .hero-actions {
    gap: clamp(22px, 1.85vw, 34px);
    margin-top: clamp(24px, min(1.8vw, 3.19vh), 32px);
  }

  .text-link {
    font-size: clamp(16px, min(1.2vw, 2.13vh), 21px);
  }

  .project-data {
    top: clamp(96px, min(7.12vw, 12.65vh), 132px);
    right: clamp(36px, min(3.47vw, 6.16vh), 72px);
    width: clamp(190px, min(12.98vw, 23.06vh), 236px);
  }

  .project-data__text {
    font-size: clamp(9px, min(0.66vw, 1.17vh), 11px);
  }

  .detail-drawing {
    width: min(237px, calc(100% + 20px));
  }

  .bottom-meta,
  .bottom-legend {
    bottom: clamp(30px, min(2.75vw, 4.89vh), 52px);
  }

  .bottom-meta--left {
    left: clamp(40px, min(3.77vw, 6.69vh), 96px);
  }

  .bottom-meta--grid {
    left: 34.45vw;
    bottom: clamp(29px, min(2.63vw, 4.68vh), 50px);
  }

  .bottom-legend {
    left: 67.58vw;
  }

  .bottom-meta--right {
    right: clamp(40px, min(3.89vw, 6.91vh), 100px);
  }

  .micro-dot--one {
    left: 21.53vw;
    top: 56.96vh;
  }

  .micro-dot--two {
    right: 16.33vw;
    top: 27.42vh;
  }

  .micro-dot--three {
    right: 18.36vw;
    bottom: 7.12vh;
  }
}

@media (min-width: 821px) and (max-width: 1180px) and (orientation: landscape) {
  .header__partner-logo,
  .header-cta {
    display: none;
  }

  .nav {
    right: 0;
    left: auto;
    gap: clamp(18px, 2.4vw, 28px);
    transform: none;
  }
}

@media (max-width: 820px), (max-aspect-ratio: 1/1) {
  :root {
    --mobile-gutter: 18px;
  }

  html {
    scroll-padding-top: 12px;
  }

  body {
    overscroll-behavior-y: none;
  }

  .hero-video {
    display: none;
  }

  .scene__background {
    opacity: 1;
    object-position: 67% center;
    filter: saturate(0.76) contrast(1.06) brightness(0.82);
  }

  .scene__shade {
    background:
      linear-gradient(180deg, rgba(8, 14, 14, 0.26) 0%, rgba(8, 14, 14, 0.06) 30%, rgba(7, 12, 12, 0.72) 100%),
      linear-gradient(90deg, rgba(8, 14, 14, 0.64) 0%, rgba(8, 14, 14, 0.12) 86%);
  }

  .header {
    z-index: 30;
    top: max(10px, env(safe-area-inset-top));
    left: 12px;
    right: 12px;
    height: 54px;
    padding: 0 8px 0 12px;
    border: 1px solid rgba(232, 226, 215, 0.2);
    background: rgba(15, 22, 21, 0.72);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    animation: none;
    transform: none !important;
  }

  .brand {
    height: 52px;
  }

  .brand__mark {
    width: 21px;
    height: 19px;
  }

  .brand__name {
    font-size: 16px;
  }

  .header__partner-logo {
    right: 55px;
    width: 80px;
  }

  .header__partner-logo img {
    opacity: 0.68;
  }

  .menu-button {
    right: 4px;
    top: 4px;
    color: var(--cream);
  }

  .mobile-nav {
    justify-content: flex-start;
    gap: 0;
    padding: calc(96px + env(safe-area-inset-top)) var(--mobile-gutter) max(24px, env(safe-area-inset-bottom));
    background:
      linear-gradient(135deg, rgba(199, 100, 51, 0.08), transparent 36%),
      rgba(15, 21, 20, 0.985);
  }

  .mobile-nav::before {
    content: "BUILDCORE / MENU";
    display: block;
    margin-bottom: 28px;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.12em;
    color: rgba(232, 226, 215, 0.56);
  }

  .mobile-nav a {
    min-height: 58px;
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(232, 226, 215, 0.18);
    font-size: clamp(27px, 8.2vw, 36px);
    color: rgba(232, 226, 215, 0.9);
  }

  .mobile-nav a.nav__gallery-link {
    color: #e7a078;
  }

  .mobile-nav a:last-child {
    min-height: 54px;
    justify-content: space-between;
    margin-top: 24px;
    padding: 0 16px;
    border: 0;
    background: var(--orange);
    color: #151b1a;
    font-size: 16px;
    font-weight: 500;
  }

  .mobile-nav a:last-child::after {
    content: "→";
  }

  .hero-copy {
    top: auto;
    bottom: max(28px, env(safe-area-inset-bottom));
    left: var(--mobile-gutter);
    right: var(--mobile-gutter);
  }

  .hero-copy p.hero-copy__eyebrow {
    margin: 0 0 14px;
    font-size: 9px;
    color: #d58a61;
  }

  .hero-copy h1 {
    max-width: 620px;
    font-size: clamp(42px, 13.6vw, 62px);
    line-height: 0.93;
    color: var(--cream);
  }

  .hero-copy > p:not(.hero-copy__eyebrow) {
    max-width: 32ch;
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.45;
    color: rgba(232, 226, 215, 0.8);
  }

  .hero-actions {
    gap: 10px;
    margin-top: 22px;
  }

  .text-link {
    width: 100%;
    min-height: 50px;
    justify-content: space-between;
    padding: 0 15px;
    border: 1px solid rgba(232, 226, 215, 0.34);
    color: var(--cream);
    font-size: 16px;
  }

  .text-link--primary {
    min-height: 52px;
    border: 0;
    background: var(--orange);
    color: #151b1a;
  }

  .text-link--gallery {
    border-color: rgba(204, 106, 58, 0.9);
    background: rgba(204, 106, 58, 0.14);
    color: var(--cream);
  }

  .text-link svg {
    flex: 0 0 auto;
  }

  .company-section {
    min-height: 0;
    padding: 18px var(--mobile-gutter) 24px;
  }

  .company-section::before {
    right: -0.12em;
    bottom: 3%;
    font-size: 210px;
  }

  .company-section__meta {
    padding-bottom: 16px;
    font-size: 9px;
  }

  .company-section__meta span:last-child {
    display: none;
  }

  .company-section__layout {
    display: block;
    min-height: 0;
    padding: 48px 0 44px;
  }

  .company-section__eyebrow {
    margin-bottom: 18px;
    font-size: 9px;
  }

  .company-section h2 {
    font-size: clamp(42px, 12vw, 58px);
    line-height: 0.9;
    white-space: nowrap;
  }

  .company-section__statement {
    margin-top: 30px;
    font-size: 16px;
  }

  .company-section__body {
    margin-top: 48px;
  }

  .company-section__lead {
    font-size: clamp(20px, 5.7vw, 26px);
    line-height: 1.4;
  }

  .company-section__text {
    margin-top: 21px;
    font-size: 16px;
    line-height: 1.55;
  }

  .company-section__directions {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .company-section__directions li {
    min-height: 56px;
  }

  .company-section__cta {
    width: 100%;
    min-height: 54px;
    margin-top: 28px;
    border-color: var(--stone-ink);
    background: var(--stone-ink);
    color: var(--cream);
  }

  .company-section__proof {
    justify-content: space-between;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid rgba(27, 36, 37, 0.28);
    font-size: 8px;
  }

  .company-section__proof span:nth-of-type(2),
  .company-section__proof i:nth-of-type(2) {
    display: none;
  }

  .company-section__proof i {
    flex: 1;
    width: auto;
    margin: 0;
  }

  .portfolio-showcase__copy {
    padding: 58px var(--mobile-gutter) 34px;
    background: var(--night);
  }

  .portfolio-showcase__eyebrow {
    margin-bottom: 18px;
    color: rgba(232, 226, 215, 0.58);
  }

  .portfolio-showcase h2 {
    font-size: clamp(64px, 21vw, 96px);
    line-height: 0.82;
    color: var(--cream);
  }

  .portfolio-showcase__description {
    max-width: 34ch;
    margin-top: 27px;
    font-size: 17px;
    line-height: 1.5;
    color: rgba(232, 226, 215, 0.74);
  }

  .portfolio-showcase__case-links {
    gap: 0;
    margin-top: 32px;
    border-top: 1px solid rgba(232, 226, 215, 0.2);
  }

  .portfolio-showcase__case-link {
    min-height: 60px;
    padding: 0 4px 0 0;
    border: 0;
    border-bottom: 1px solid rgba(232, 226, 215, 0.2);
    font-size: 9px;
    line-height: 1.35;
  }

  .portfolio-showcase__case-link span:last-child {
    width: 34px;
    height: 34px;
    display: grid;
    flex: 0 0 34px;
    place-items: center;
    margin-left: 12px;
    border: 1px solid rgba(232, 226, 215, 0.26);
    color: #d58a61;
  }

  .portfolio-showcase__image {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.78) contrast(1.04) brightness(0.86);
  }

  .project-case,
  .compact-case {
    padding: 16px 14px 30px;
  }

  .project-case__meta,
  .compact-case__meta {
    min-height: 38px;
    padding-bottom: 14px;
    font-size: 9px;
  }

  .project-case__hero {
    height: min(68svh, 560px);
    min-height: 440px;
    margin-top: 14px;
  }

  .project-case__hero-copy {
    padding: 20px 18px 62px;
  }

  .project-case__hero-copy h2 {
    font-size: clamp(38px, 11.6vw, 54px);
    line-height: 0.88;
  }

  .project-case__summary {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 42px 4px 48px;
  }

  .project-case__statement h3 {
    font-size: clamp(35px, 10.4vw, 49px);
  }

  .project-case__description > p {
    font-size: 16px;
    line-height: 1.55;
  }

  .project-case__facts,
  .compact-case__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 14px;
  }

  .project-case__facts dd,
  .compact-case__facts dd {
    font-size: 15px;
  }

  .project-case__gallery {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    margin-right: -14px;
    padding-right: 14px;
    scroll-padding-left: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .project-case__gallery::-webkit-scrollbar,
  .khabar-case__process::-webkit-scrollbar {
    display: none;
  }

  .project-case__photo--interior,
  .project-case__photo--team,
  .project-case__photo--facade,
  .project-case__photo--entrance {
    flex: 0 0 min(84vw, 430px);
    height: auto;
    aspect-ratio: 4 / 3;
    scroll-snap-align: start;
  }

  .compact-case__layout {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 38px 0 28px;
  }

  .compact-case h2 {
    font-size: clamp(39px, 12.2vw, 58px);
    line-height: 0.92;
  }

  .compact-case__lead {
    margin-top: 21px;
    font-size: 16px;
    line-height: 1.55;
  }

  .compact-case__facts {
    margin-top: 25px;
  }

  .compact-case__visual,
  .compact-case--hta .compact-case__visual,
  .compact-case__completed,
  .khabar-case__exterior {
    margin-right: -14px;
    margin-left: -14px;
    border-right: 0;
    border-left: 0;
    box-shadow: none;
  }

  .compact-case--hta .compact-case__layout,
  .compact-case--khabar .compact-case__layout {
    grid-template-columns: 1fr;
  }

  .compact-case__completed,
  .compact-case__media--hta {
    grid-column: 1;
    grid-row: auto;
  }

  .compact-case__stamp {
    top: 12px;
    left: 12px;
    min-width: 94px;
    min-height: 54px;
  }

  .compact-case__stamp strong {
    font-size: 28px;
  }

  .compact-case__process-column,
  .compact-case__process-column--hta {
    width: calc(100% - 18px);
    margin: -10px 0 0 auto;
    box-shadow: -8px 8px 0 rgba(199, 100, 51, 0.1);
  }

  .khabar-case__process {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    margin-right: -14px;
    padding-right: 14px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .khabar-case__photo {
    flex: 0 0 min(84vw, 430px);
    scroll-snap-align: start;
    box-shadow: none !important;
  }

  .services-catalog {
    padding: 18px var(--mobile-gutter) 30px;
  }

  .services-catalog__layout {
    padding-top: 40px;
  }

  .services-catalog h2 {
    font-size: clamp(47px, 14vw, 67px);
  }

  .services-catalog__list {
    margin-top: 44px;
  }

  .services-catalog__list a {
    min-height: 58px;
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .service-story {
    padding: 16px var(--mobile-gutter) 28px;
  }

  .service-story__layout,
  .service-story--commercial .service-story__layout,
  .service-story--landscaping .service-story__layout {
    display: flex;
    flex-direction: column;
    gap: 27px;
    padding-top: 36px;
  }

  .service-story__copy,
  .service-story--interior .service-story__copy,
  .service-story--houses .service-story__copy,
  .service-story--furnishing .service-story__copy {
    order: 1;
    width: 100%;
  }

  .service-story__visual,
  .service-story--interior .interior-board,
  .service-story--houses .house-elevation,
  .service-story--furnishing .furniture-plan {
    order: 2;
    width: 100%;
  }

  .service-story h2,
  .service-story:not(.service-story--renovation) h2,
  .service-story--commercial h2,
  .service-story--crews h2 {
    font-size: clamp(34px, 10.2vw, 49px);
    line-height: 0.98;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .service-story.service-story--landscaping h2 {
    font-size: clamp(28px, 9vw, 42px);
  }

  .service-story__lead {
    margin-top: 19px;
    font-size: 16px;
    line-height: 1.55;
  }

  .service-story__scope {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 12px;
    margin-top: 23px;
  }

  .service-story__scope li {
    min-height: 52px;
    padding-right: 4px;
    font-size: 12px;
  }

  .service-story .service-story__visual,
  .service-story--interior .interior-board,
  .service-story--houses .house-elevation,
  .service-story--furnishing .furniture-plan {
    min-height: 270px;
  }

  .service-story__photo--commercial {
    border-width: 10px;
  }

  .service-story__photo figcaption {
    padding-right: 10px;
    padding-left: 10px;
    font-size: 9px;
  }

  .site-footer {
    padding-right: var(--mobile-gutter);
    padding-left: var(--mobile-gutter);
  }

  .site-footer__main {
    gap: 42px;
    padding: 44px 0 52px;
  }

  .site-footer__partner-logo {
    width: min(100%, 225px);
  }

  .site-footer__statement p {
    font-size: clamp(35px, 10.5vw, 50px);
    color: var(--cream);
  }
}

@media (max-width: 620px) {
  .residential-case__houses {
    margin-right: -14px;
    margin-left: -14px;
    padding-right: 14px;
    padding-left: 14px;
    scroll-padding-left: 14px;
  }
}

@media (max-width: 370px) {
  .header__partner-logo {
    width: 72px;
  }

  .hero-copy h1 {
    font-size: 41px;
  }

  .hero-copy > p:not(.hero-copy__eyebrow) {
    font-size: 15px;
  }

  .company-section__directions strong {
    font-size: 14px;
  }

  .service-story h2,
  .service-story:not(.service-story--renovation) h2,
  .service-story--commercial h2,
  .service-story--crews h2 {
    font-size: clamp(29px, 9.5vw, 34px);
    overflow-wrap: normal;
  }

  .service-story.service-story--landscaping h2 {
    font-size: clamp(28px, 9vw, 32px);
  }

  .project-case__meta span:last-child,
  .compact-case__meta span:last-child {
    max-width: 42%;
    text-align: right;
  }
}

@media (max-width: 820px) and (max-height: 600px) and (orientation: portrait) {
  .viewport,
  .scene {
    min-height: 600px;
  }
}

@media (max-height: 620px) and (orientation: landscape) {
  .viewport,
  .scene {
    width: 100%;
    height: 100dvh;
  }

  .scene {
    inset: 0;
    transform: none !important;
  }

  .hero-video {
    display: none;
  }

  .scene__background {
    opacity: 1;
    object-position: 66% center;
    filter: saturate(0.76) brightness(0.8);
  }

  .header {
    z-index: 30;
    top: 10px;
    left: 14px;
    right: 14px;
    height: 48px;
    padding: 0 8px 0 12px;
    border: 1px solid rgba(232, 226, 215, 0.2);
    background: rgba(15, 22, 21, 0.72);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    animation: none;
    transform: none !important;
  }

  .brand__divider,
  .brand__role,
  .nav,
  .header-cta,
  .project-data,
  .bottom-meta,
  .bottom-legend,
  .micro-dot {
    display: none;
  }

  .brand__name {
    font-size: 16px;
  }

  .header__partner-logo {
    right: 55px;
    width: 78px;
  }

  .menu-button {
    position: absolute;
    z-index: 21;
    right: 3px;
    top: 2px;
    width: 44px;
    height: 44px;
    display: grid;
    place-content: center;
    gap: 7px;
    border: 0;
    background: transparent;
    color: var(--cream);
  }

  .menu-button span:not(.sr-only) {
    display: block;
    width: 24px;
    height: 1px;
    background: currentColor;
    transition: transform 200ms ease;
  }

  .menu-button[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

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

  .mobile-nav {
    position: fixed;
    z-index: 20;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: center;
    gap: 0 24px;
    padding: 76px 24px 20px;
    background: rgba(15, 21, 20, 0.985);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .mobile-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  body.menu-open {
    overflow: hidden;
  }

  .mobile-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(232, 226, 215, 0.18);
    font-size: 23px;
  }

  .hero-copy {
    top: calc(max(10px, env(safe-area-inset-top)) + 82px);
    bottom: auto;
    left: 22px;
    right: auto;
    width: min(54vw, 500px);
  }

  .hero-copy p.hero-copy__eyebrow {
    margin-bottom: 9px;
    font-size: 8px;
  }

  .hero-copy h1 {
    font-size: clamp(32px, 5.3vw, 46px);
    line-height: 0.92;
  }

  .hero-copy > p:not(.hero-copy__eyebrow) {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.35;
  }

  .hero-actions {
    flex-direction: row;
    gap: 9px;
    margin-top: 14px;
  }

  .text-link {
    width: auto;
    min-height: 42px;
    padding: 0 12px;
    font-size: 14px;
    white-space: nowrap;
  }

  .text-link--gallery {
    border: 1px solid rgba(204, 106, 58, 0.9);
    background: rgba(204, 106, 58, 0.14);
    color: var(--cream);
  }

  .service-story h2,
  .service-story:not(.service-story--renovation) h2,
  .service-story--commercial h2,
  .service-story--crews h2 {
    font-size: clamp(30px, 3.8vw, 36px);
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
}

@media (max-width: 740px) and (max-height: 620px) and (orientation: landscape) {
  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .text-link {
    width: 100%;
    min-height: 38px;
    padding: 0 10px;
    font-size: 12px;
  }

  .text-link--gallery {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .company-section__title,
  .company-section__body {
    opacity: 1 !important;
    transform: none !important;
  }
}
