:root {
  --ink: #090807;
  --charcoal: #12100e;
  --graphite: #1d1b18;
  --steel: #a8a49b;
  --muted: #d8d0c1;
  --ivory: #f6f0e5;
  --gold: #d7ad4f;
  --gold-deep: #8e6423;
  --olive: #69705b;
  --line: rgba(246, 240, 229, 0.16);
  --max: 1180px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--sans);
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(20px, 4vw, 58px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(9, 8, 7, 0.92), rgba(9, 8, 7, 0.28));
  backdrop-filter: blur(14px);
  transition: background 240ms ease, padding 240ms ease;
}

.site-header.is-scrolled {
  padding-block: 12px;
  background: rgba(9, 8, 7, 0.94);
}

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

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
  color: rgba(246, 240, 229, 0.76);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  padding: 10px 0;
}

.nav-links a::after {
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
  content: "";
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  border: 1px solid rgba(215, 173, 79, 0.58);
  padding: 11px 16px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 220ms ease, color 220ms ease;
}

.header-cta:hover {
  background: var(--gold);
  color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ivory);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 150px clamp(20px, 5vw, 72px) 54px;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background: url("assets/projects/12255-sky-lane-brentwood/12255-sky-lane-brentwood-pool-twilight.jpg") center / cover no-repeat;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(9, 8, 7, 0.92) 0%, rgba(9, 8, 7, 0.66) 40%, rgba(9, 8, 7, 0.14) 100%),
    linear-gradient(0deg, rgba(9, 8, 7, 0.9), rgba(9, 8, 7, 0.06) 54%, rgba(9, 8, 7, 0.8));
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(780px, 100%);
}

.eyebrow,
.section-kicker,
.project-location {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-cert {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 9px 16px;
  border: 1px solid rgba(215, 173, 79, 0.55);
  background: rgba(9, 8, 7, 0.42);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-cert-mark {
  font-size: 0.78rem;
  letter-spacing: 0;
}

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 600;
}

h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.96;
}

h2 {
  max-width: 880px;
  margin-bottom: 24px;
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.04rem;
  letter-spacing: 0.03em;
}

.hero-copy {
  max-width: 610px;
  color: rgba(246, 240, 229, 0.78);
  font-size: clamp(1.03rem, 1.6vw, 1.28rem);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 1px solid transparent;
  padding: 14px 22px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease, border-color 220ms ease;
}

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

.btn-gold {
  background: linear-gradient(135deg, #f0cf77, var(--gold) 42%, var(--gold-deep));
  color: #0b0907;
}

.btn-ghost {
  border-color: rgba(246, 240, 229, 0.34);
  color: var(--ivory);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-panel {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: 54px;
  z-index: 1;
  width: min(360px, calc(100% - 40px));
  border-left: 1px solid rgba(215, 173, 79, 0.56);
  padding: 20px 0 20px 22px;
  background: linear-gradient(90deg, rgba(9, 8, 7, 0.62), rgba(9, 8, 7, 0));
}

.hero-panel span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-panel strong {
  color: rgba(246, 240, 229, 0.88);
  font-size: 0.95rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  background: #0e0c0a;
}

.trust-strip div {
  min-height: 86px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
  padding: 18px;
  color: rgba(246, 240, 229, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

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

.stats-bar {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-block: 1px solid rgba(215, 173, 79, 0.32);
  margin-block: clamp(64px, 9vw, 112px);
  padding-block: clamp(40px, 6vw, 70px);
  background: var(--line);
}

.stats-bar > div {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  padding: 18px 14px;
  background: var(--ink);
  text-align: center;
}

.stats-bar strong {
  display: block;
  position: relative;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 0.9;
  letter-spacing: -0.01em;
  color: var(--ivory);
}

.stats-bar strong em {
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
}

.stats-bar strong.stat-text {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  letter-spacing: 0.01em;
  line-height: 1;
}

.stats-bar .stat-mark {
  display: inline-block;
  margin-left: 4px;
  vertical-align: top;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.34em;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateY(0.6em);
}

.stats-bar .stat-label {
  color: rgba(246, 240, 229, 0.62);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.partner-strip,
.press-strip {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding-block: clamp(54px, 7vw, 84px);
  border-block: 1px solid var(--line);
  text-align: center;
}

.partner-strip .eyebrow,
.press-strip .eyebrow {
  margin-bottom: 28px;
}

.partner-list,
.press-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.partner-list li {
  color: rgba(246, 240, 229, 0.5);
  font-family: var(--sans);
  font-size: clamp(0.95rem, 1.4vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  transition: color 220ms ease, letter-spacing 220ms ease;
}

.partner-list li:hover {
  color: var(--gold);
  letter-spacing: 0.36em;
}

.press-list li {
  color: rgba(246, 240, 229, 0.78);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 220ms ease;
}

.press-list li:hover {
  color: var(--gold);
}

.testimonials {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(82px, 11vw, 140px) 0;
  border-top: 1px solid var(--line);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.testimonial {
  margin: 0;
  padding: clamp(28px, 3.4vw, 44px);
  background: linear-gradient(155deg, #15120f, #0c0a09);
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.testimonial blockquote {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.18rem, 1.6vw, 1.45rem);
  line-height: 1.35;
  color: rgba(246, 240, 229, 0.92);
}

.testimonial blockquote p {
  margin: 0;
}

.testimonial figcaption {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid rgba(215, 173, 79, 0.34);
  display: grid;
  gap: 4px;
}

.testimonial-name {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.testimonial-meta {
  color: rgba(246, 240, 229, 0.6);
  font-size: 0.78rem;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(82px, 11vw, 150px) 0;
  scroll-margin-top: 90px;
}

.intro {
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.75fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: end;
}

.intro-grid p,
.section-heading p,
.portfolio-intro p,
.project-copy p,
.expertise-copy p,
.contact-copy p,
.process-list p,
.service-card p {
  color: rgba(246, 240, 229, 0.68);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  min-height: 270px;
  padding: clamp(24px, 3vw, 38px);
  background: linear-gradient(145deg, #15120f, #0c0a09);
  transition: background 220ms ease, transform 220ms ease;
}

.service-card:hover {
  background: linear-gradient(145deg, #1d1710, #0c0a09);
  transform: translateY(-3px);
}

#cinema.service-card {
  scroll-margin-top: 96px;
  border: 1px solid rgba(215, 173, 79, 0.42);
  background: linear-gradient(155deg, #1a140d, #0a0908);
}

#cinema.service-card span {
  color: var(--gold);
}

.service-card span,
.process-list span {
  display: block;
  margin-bottom: 56px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.portfolio {
  padding: clamp(82px, 11vw, 150px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(180deg, rgba(9, 8, 7, 0), rgba(105, 112, 91, 0.1)),
    #11100e;
  scroll-margin-top: 90px;
}

.contact {
  scroll-margin-top: 90px;
}

.portfolio-intro {
  width: min(var(--max), 100%);
  margin: 0 auto 52px;
  display: block;
}

.portfolio-intro .eyebrow {
  margin-bottom: 18px;
}

.portfolio-intro h2 {
  max-width: 880px;
}

.portfolio-intro p:not(.eyebrow) {
  max-width: 560px;
  margin-bottom: 0;
  font-size: clamp(1rem, 1.25vw, 1.16rem);
}

.project-feature {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 0;
  border: 1px solid rgba(215, 173, 79, 0.24);
  background: #0b0908;
}

.project-image {
  min-height: 620px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.project-feature:hover .project-image img {
  transform: scale(1.035);
}

.project-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 5vw, 62px);
}

.project-copy h3 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  font-weight: 600;
  line-height: 0.98;
}

.project-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 28px 0;
  background: var(--line);
}

.project-stats div {
  padding: 18px 14px;
  background: #12100e;
}

.project-stats dt {
  margin-bottom: 8px;
  color: var(--steel);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-stats dd {
  margin: 0;
  color: var(--ivory);
  font-size: 0.9rem;
  font-weight: 700;
}

.text-button {
  align-self: flex-start;
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 0 0 8px;
  background: transparent;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.gallery-strip {
  width: min(var(--max), 100%);
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 18px;
}

.gallery-strip img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  filter: saturate(0.86);
}

.portfolio-library {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.portfolio-controls {
  display: flex;
  justify-content: flex-end;
  margin: -18px 0 18px;
}

.portfolio-controls p {
  margin: 0;
  color: rgba(246, 240, 229, 0.62);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.market-rail {
  display: grid;
  grid-auto-columns: minmax(230px, 300px);
  grid-auto-flow: column;
  gap: 14px;
  margin: 0 calc(clamp(20px, 5vw, 72px) * -1) 28px;
  padding: 0 clamp(20px, 5vw, 72px) 12px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-color: rgba(215, 173, 79, 0.48) rgba(255, 255, 255, 0.08);
}

.market-card {
  position: relative;
  min-height: 155px;
  display: grid;
  align-content: end;
  overflow: hidden;
  border: 1px solid rgba(246, 240, 229, 0.14);
  background: #0b0908;
  color: var(--ivory);
  cursor: pointer;
  scroll-snap-align: start;
  isolation: isolate;
  transition: border-color 180ms ease, transform 180ms ease;
}

.market-card:hover,
.market-card.is-active {
  border-color: rgba(215, 173, 79, 0.84);
  transform: translateY(-2px);
}

.market-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8);
  transform: scale(1.02);
  transition: transform 360ms ease, filter 180ms ease;
}

.market-card:hover img,
.market-card.is-active img {
  filter: saturate(1);
  transform: scale(1.07);
}

.market-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(9, 8, 7, 0.18), rgba(9, 8, 7, 0.86)),
    linear-gradient(90deg, rgba(9, 8, 7, 0.28), rgba(9, 8, 7, 0));
  content: "";
}

.market-card div {
  padding: 18px;
}

.market-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.market-card strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1;
}

.project-card-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}

.project-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid rgba(215, 173, 79, 0.22);
  background: #0b0908;
  overflow: hidden;
}

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  filter: saturate(0.9);
}

.project-card div {
  align-self: center;
  padding: 20px;
}

.project-card h3 {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2vw, 2.2rem);
  font-weight: 600;
  line-height: 1;
}

.project-card .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
  padding: 0;
}

.tag-list span {
  border: 1px solid rgba(246, 240, 229, 0.14);
  padding: 5px 7px;
  color: rgba(246, 240, 229, 0.62);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card p:not(.project-location) {
  margin-bottom: 0;
  color: rgba(246, 240, 229, 0.68);
  font-size: 0.9rem;
}

.project-card .text-button {
  margin-top: 18px;
}

.expertise {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(38px, 7vw, 86px);
  align-items: center;
}

.expertise-media {
  min-height: 640px;
  overflow: hidden;
}

.expertise-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.expertise-list {
  display: grid;
  gap: 1px;
  margin-top: 34px;
  background: var(--line);
}

.expertise-list div {
  padding: 28px;
  background: #11100e;
}

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

.process-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.process-list li {
  min-height: 275px;
  padding: 28px;
  background: #0f0d0b;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.68fr);
  gap: clamp(36px, 7vw, 96px);
  padding: clamp(82px, 11vw, 150px) max(20px, calc((100vw - var(--max)) / 2));
  background:
    linear-gradient(90deg, rgba(9, 8, 7, 0.95), rgba(9, 8, 7, 0.74)),
    url("assets/projects/10410-bellagio-road-bel-air/10410-bellagio-road-bel-air-interior.jpg") center / cover no-repeat;
}

.contact-copy h2 {
  max-width: 700px;
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 34px;
  color: rgba(246, 240, 229, 0.76);
  font-weight: 700;
}

.contact-methods a:hover {
  color: var(--gold);
}

.contact-form {
  display: grid;
  gap: 18px;
  border: 1px solid rgba(215, 173, 79, 0.3);
  padding: clamp(24px, 4vw, 42px);
  background: rgba(9, 8, 7, 0.78);
  backdrop-filter: blur(20px);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--steel);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(246, 240, 229, 0.22);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ivory);
  padding: 14px 15px;
  outline: 0;
  transition: border-color 180ms ease, background 180ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.07);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-form button[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.contact-success {
  align-self: start;
  display: grid;
  gap: 14px;
  border: 1px solid rgba(215, 173, 79, 0.42);
  padding: clamp(28px, 4vw, 46px);
  background: rgba(9, 8, 7, 0.78);
  backdrop-filter: blur(20px);
}

.contact-success[hidden] {
  display: none;
}

.contact-success h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 600;
  line-height: 1.18;
  color: var(--ivory);
}

.contact-success p:not(.eyebrow) {
  margin: 0;
  color: rgba(246, 240, 229, 0.74);
}

.contact-success a {
  color: var(--gold);
  border-bottom: 1px solid currentColor;
}

.site-footer {
  display: grid;
  grid-template-columns: auto minmax(240px, 520px) auto;
  align-items: center;
  gap: 28px;
  border-top: 1px solid var(--line);
  padding: 32px clamp(20px, 5vw, 72px);
  background: #080706;
  color: rgba(246, 240, 229, 0.62);
}

.site-footer img {
  width: 118px;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer span {
  justify-self: end;
}

.gallery-modal {
  width: min(1120px, calc(100% - 30px));
  max-height: 88svh;
  border: 1px solid rgba(215, 173, 79, 0.38);
  padding: 18px;
  background: #0b0908;
  color: var(--ivory);
}

.gallery-modal::backdrop {
  background: rgba(0, 0, 0, 0.84);
  backdrop-filter: blur(10px);
}

.modal-close {
  display: block;
  margin: 0 0 16px auto;
  border: 1px solid rgba(246, 240, 229, 0.25);
  padding: 10px 14px;
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
}

.modal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

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

.reveal {
  opacity: 0;
  transform: translateY(28px);
}

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

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

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

  .nav-links.is-open {
    position: fixed;
    inset: 76px 16px auto;
    display: grid;
    justify-content: stretch;
    gap: 0;
    border: 1px solid var(--line);
    background: rgba(9, 8, 7, 0.97);
    padding: 14px;
  }

  .nav-links.is-open a {
    padding: 18px;
    border-bottom: 1px solid var(--line);
  }

  .nav-links.is-open a:last-child {
    border-bottom: 0;
  }

  .trust-strip,
  .service-grid,
  .process-list,
  .stats-bar,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-card-grid {
    grid-template-columns: 1fr;
  }

  .intro-grid,
  .portfolio-intro,
  .project-feature,
  .expertise,
  .contact {
    grid-template-columns: 1fr;
  }

  .portfolio-intro p:not(.eyebrow) {
    max-width: 620px;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 54px;
  }

  .project-image,
  .expertise-media {
    min-height: 440px;
  }
}

@media (max-width: 640px) {
  .brand img {
    width: 118px;
  }

  .hero {
    min-height: 92svh;
    padding-top: 132px;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .trust-strip,
  .service-grid,
  .process-list,
  .project-stats,
  .gallery-strip,
  .project-card-grid,
  .project-card,
  .modal-grid,
  .site-footer,
  .stats-bar,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .partner-list {
    gap: 18px 28px;
  }

  .press-list {
    gap: 14px 28px;
  }

  .trust-strip div,
  .service-card,
  .process-list li {
    min-height: auto;
  }

  .service-card span,
  .process-list span {
    margin-bottom: 28px;
  }

  .portfolio {
    padding-inline: 20px;
  }

  .project-image,
  .expertise-media {
    min-height: 320px;
  }

  .gallery-strip img,
  .modal-grid img {
    height: 260px;
  }

  .site-footer span {
    justify-self: start;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
