/* Symbiosis Development Inc. — Home */

:root {
  --gold: #e9a23c;
  --gold-bright: #f3b24f;
  --gold-deep: #c4841f;
  --ink: #0c0c0c;
  --charcoal: #161616;
  --charcoal-soft: #1f1f1f;
  --stone: #f6f5f2;
  --stone-2: #e6e4df;
  --muted: #8a8680;
  --white: #ffffff;
  --text: #151515;
  --text-soft: #5a5650;
  --radius: 2px;
  --header-h: 4.5rem;
  --container-pad: 1.25rem;
  --section-y: 3.75rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

@media (min-width: 768px) {
  :root {
    --header-h: 4.75rem;
    --container-pad: 1.5rem;
    --section-y: 4.75rem;
  }
}

@media (min-width: 1100px) {
  :root {
    --container-pad: 1.75rem;
    --section-y: 5rem;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--stone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  accent-color: var(--gold);
}

::selection {
  background: rgba(233, 162, 60, 0.28);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.btn:focus-visible,
.hq-arrow:focus-visible,
.hero__arrow:focus-visible,
.filter-btn:focus-visible,
.hq-dot:focus-visible,
.hero__dot:focus-visible {
  outline-offset: 2px;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

em {
  font-style: normal;
  color: var(--gold-bright);
}

.container {
  width: min(1140px, calc(100% - (var(--container-pad) * 2)));
  margin-inline: auto;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.15rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-deep);
  transition: gap 0.3s var(--ease), color 0.25s ease;
}

.text-link:hover {
  gap: 0.7rem;
  color: var(--ink);
}

/* Progress */
.progress {
  position: fixed;
  inset: 0 0 auto;
  height: 2px;
  z-index: 100;
  pointer-events: none;
}

.progress__bar {
  height: 100%;
  width: 0%;
  background: var(--gold);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1rem 1.55rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--sm {
  padding: 0.72rem 1.15rem;
  font-size: 0.72rem;
}

.btn--lg {
  padding: 1.1rem 1.7rem;
}

.btn--block {
  width: 100%;
}

.btn--gold {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(233, 162, 60, 0.22);
}

.btn--gold:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  box-shadow: 0 10px 28px rgba(233, 162, 60, 0.3);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
}

.btn--ghost:hover {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  background: rgba(233, 162, 60, 0.08);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  background: rgba(12, 12, 12, 0.28);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease), z-index 0s;
}

/* Keep drawer above page dimmer (nav lives inside header stacking context) */
body.nav-open .site-header {
  z-index: 70;
  background: rgba(12, 12, 12, 0.98);
}

.site-header.is-scrolled {
  background: rgba(10, 10, 10, 0.96);
  border-bottom-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.site-header__inner {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--gold);
  flex-shrink: 0;
}

.logo__mark {
  width: 34px;
  height: 34px;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}

.logo__sub {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}

.nav {
  display: none;
  align-items: center;
  gap: 1.85rem;
}

.nav__link {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.68);
  letter-spacing: 0.03em;
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.25s ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--white);
}

.nav__link.is-active::after,
.nav__link:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-phone {
  display: none;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.25s ease;
}

.header-phone:hover {
  color: var(--gold-bright);
}

.header-phone svg {
  color: var(--gold);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--white);
  transition: transform 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

@media (min-width: 980px) {
  .nav {
    display: flex;
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    transform: none;
    overflow: visible;
    pointer-events: auto;
  }

  .nav__link::after {
    display: block;
  }

  .header-phone { display: inline-flex; }
  .nav-toggle { display: none; }
  .nav-backdrop { display: none !important; }
}

@media (max-width: 979px) {
  body.nav-open {
    overflow: hidden;
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 65;
    background: rgba(0, 0, 0, 0.62);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: min(290px, 80vw);
    height: 100svh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: calc(var(--header-h) + 1.35rem) 1.4rem 2rem;
    background: #1a1a1a;
    color: #ffffff;
    color-scheme: dark;
    border-left: 1px solid rgba(233, 162, 60, 0.35);
    box-shadow: -20px 0 48px rgba(0, 0, 0, 0.5);
    transform: translateX(105%);
    opacity: 1;
    pointer-events: none;
    transition: transform 0.4s var(--ease);
    z-index: 80;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    isolation: isolate;
  }

  .nav.is-open {
    transform: translateX(0);
    pointer-events: auto;
  }

  .nav__link {
    padding: 1.05rem 0.45rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    background: transparent;
    border-radius: 2px;
    -webkit-tap-highlight-color: transparent;
    outline: none;
  }

  .nav__link:hover,
  .nav__link:focus,
  .nav__link:focus-visible,
  .nav__link:active,
  .nav__link.is-active {
    color: var(--gold-bright);
    background: rgba(233, 162, 60, 0.12);
    outline: none;
  }

  .nav__link::after {
    display: none;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: #0c0c0c;
}

.hero__slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.15s var(--ease), visibility 1.15s var(--ease);
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.08);
  filter: saturate(1.05) contrast(1.05);
  transition: transform 7.5s linear;
}

.hero__slide.is-active img {
  transform: scale(1);
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(8, 8, 8, 0.92) 0%, rgba(8, 8, 8, 0.72) 34%, rgba(8, 8, 8, 0.38) 62%, rgba(8, 8, 8, 0.55) 100%),
    linear-gradient(to top, rgba(8, 8, 8, 0.88) 0%, rgba(8, 8, 8, 0.25) 38%, transparent 62%);
}

.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__layout {
  position: relative;
  z-index: 4;
  width: min(1180px, calc(100% - 2.75rem));
  margin: 0 auto;
  padding: calc(var(--header-h) + 2.5rem) 0 5.5rem;
  display: grid;
  gap: 2.5rem;
  align-items: end;
}

@media (min-width: 960px) {
  .hero__layout {
    grid-template-columns: 1.35fr 0.65fr;
    min-height: calc(100svh - var(--header-h));
    padding: calc(var(--header-h) + 1rem) 0 3.5rem;
    align-items: center;
  }
}

.hero__content {
  max-width: 36rem;
}

.hero__place {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 1.15rem;
}

.hero__place::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero__brand {
  display: block;
  font-size: clamp(2.9rem, 7.2vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 0.7rem;
  color: var(--white);
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.hero__line {
  display: block;
  font-size: clamp(1.45rem, 3.4vw, 2.2rem);
  font-weight: 600;
  line-height: 1.22;
  color: rgba(255, 255, 255, 0.96);
}

.hero__lead {
  margin-top: 1.2rem;
  max-width: 30rem;
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  font-weight: 500;
}

.hero__ctas {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.65rem;
  margin-top: 1.45rem;
}

.hero__ctas .btn {
  flex: 1 1 0;
  min-width: 0;
  white-space: nowrap;
  text-align: center;
  padding-inline: 0.9rem;
}

@media (min-width: 960px) {
  .hero__ctas {
    gap: 0.8rem;
    margin-top: 1.75rem;
  }

  .hero__ctas .btn {
    flex: 0 1 auto;
    padding-inline: 1.55rem;
  }
}

.hero__aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 960px) {
  .hero__aside {
    align-items: flex-end;
    justify-content: flex-end;
    padding-bottom: 0.5rem;
  }
}

.hero__caption {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  min-width: 10rem;
  text-align: left;
}

@media (min-width: 960px) {
  .hero__caption {
    text-align: right;
  }
}

.hero__controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero__arrow {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(12, 12, 12, 0.45);
  color: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.hero__arrow:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  background: rgba(12, 12, 12, 0.7);
}

.hero__dots {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-inline: 0.15rem;
}

.hero__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
  transition: background 0.25s ease, width 0.3s var(--ease);
}

.hero__dot.is-active {
  width: 24px;
  border-radius: 999px;
  background: var(--gold);
}

.hero__count {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
  margin-left: 0.25rem;
}

.hero__progress {
  display: none;
  width: 64px;
  height: 2px;
  background: rgba(255, 255, 255, 0.16);
  margin-left: 0.15rem;
  overflow: hidden;
}

@media (min-width: 700px) {
  .hero__progress {
    display: block;
  }
}

.hero__progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--gold);
}

.hero__progress-bar.is-running {
  animation: heroProgress 6s linear forwards;
}

@keyframes heroProgress {
  from { width: 0%; }
  to { width: 100%; }
}

.hero__scroll {
  position: absolute;
  bottom: 1.75rem;
  right: max(1.35rem, calc((100% - 1180px) / 2));
  z-index: 4;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

@media (min-width: 960px) {
  .hero__scroll {
    display: flex;
  }
}

.hero__scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.55); opacity: 0.4; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
}

/* Stats */
.stats {
  background:
    linear-gradient(180deg, #1a1a1a 0%, var(--charcoal) 100%);
  color: var(--white);
  padding: 0;
  border-top: 1px solid rgba(233, 162, 60, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 800px) {
  .stats__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.55rem;
  padding: 1.65rem 1.25rem;
  text-align: center;
  position: relative;
}

@media (min-width: 800px) {
  .stat {
    padding: 2rem 1.5rem;
  }

  .stat:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 28%;
    right: 0;
    width: 1px;
    height: 44%;
    background: rgba(255, 255, 255, 0.12);
  }
}

@media (max-width: 799px) {
  .stat:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }

  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

.stat__value {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.1rem;
  line-height: 1;
}

.stat__num,
.stat__suffix {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--white);
}

.stat__suffix {
  color: var(--gold-bright);
  font-size: 0.85em;
}

.stat__label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.48);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Section shared */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.85rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.8vw, 2.55rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 18ch;
}

.section-title--light {
  color: var(--white);
}

.section-lead {
  max-width: 28rem;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.65;
}

.section-head {
  margin-bottom: 2.25rem;
}

.section-head--row {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 800px) {
  .section-head--row {
    grid-template-columns: 1.15fr 0.95fr;
    align-items: end;
    gap: 2.5rem;
  }
}

.section-head__action {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: flex-start;
}

.section-head__link {
  margin-top: 0;
  justify-self: end;
}

/* Services */
.services {
  padding: 5rem 0 5rem;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(233, 162, 60, 0.05), transparent 38%),
    var(--stone);
}

.services .section-head {
  margin-bottom: 2rem;
}

.service-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
  }
}

.service {
  background: var(--white);
  border: 1px solid rgba(20, 20, 20, 0.06);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(12, 12, 12, 0.04);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.service:hover {
  transform: translateY(-6px);
  border-color: rgba(233, 162, 60, 0.45);
  box-shadow: 0 18px 40px rgba(12, 12, 12, 0.1);
}

.service__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.service__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--charcoal);
}

.service__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 12, 12, 0.35), transparent 45%);
  opacity: 0.7;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.service:hover .service__media::after {
  opacity: 1;
}

.service__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.service:hover .service__media img {
  transform: scale(1.07);
}

.service__tag {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink);
  background: var(--gold);
  padding: 0.4rem 0.65rem;
  border-radius: 2px;
}

.service__body {
  padding: 1.35rem 1.3rem 1.45rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.55rem;
}

.service__body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.service__body p {
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.55;
  flex: 1;
  margin: 0;
}

.service__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  transition: gap 0.3s var(--ease), color 0.25s ease;
}

.service:hover .service__cta {
  gap: 0.65rem;
  color: var(--ink);
}

/* Projects portfolio */
.projects {
  padding: 5rem 0 4.75rem;
  background: var(--white);
  border-top: 1px solid rgba(20, 20, 20, 0.05);
}

.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-start;
}

@media (min-width: 800px) {
  .project-filters {
    justify-content: flex-end;
  }
}

.filter-btn {
  appearance: none;
  border: 1px solid var(--stone-2);
  background: var(--white);
  color: var(--text-soft);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.65rem 1rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.filter-btn:hover {
  border-color: var(--gold);
  color: var(--ink);
}

.filter-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.project-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .project-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.project {
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.project.is-hidden {
  display: none;
}

.project__link {
  display: block;
  height: 100%;
}

.project__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--charcoal);
}

.project__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 8, 8, 0.45), transparent 42%);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
  z-index: 1;
}

.project__link:hover .project__media::after {
  opacity: 1;
}

.project__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease), filter 0.5s ease;
}

.project__link:hover .project__media img {
  transform: scale(1.07);
  filter: brightness(0.88);
}

.project__badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 2;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.65rem;
  background: rgba(14, 14, 14, 0.78);
  color: var(--gold-bright);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
}

.project__meta {
  padding: 1.1rem 0.15rem 0.25rem;
}

.project__meta h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.3rem;
  transition: color 0.25s ease;
}

.project__link:hover .project__meta h3 {
  color: var(--gold-deep);
}

.project__meta p {
  font-size: 0.875rem;
  color: var(--text-soft);
}

/* Featured large first on desktop */
@media (min-width: 1000px) {
  .project:nth-child(1) {
    grid-column: span 2;
  }

  .project:nth-child(1) .project__media {
    aspect-ratio: 16 / 9;
  }

  .project:nth-child(1) .project__meta h3 {
    font-size: 1.45rem;
  }
}

/* Marquee */
.marquee {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.35);
  overflow: hidden;
  padding: 1.15rem 0;
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.marquee__track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: marquee 32s linear infinite;
}

.marquee__track span:nth-child(odd) {
  color: rgba(255, 255, 255, 0.55);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Home featured projects — equal 3-col, no span */
@media (min-width: 1000px) {
  .project-grid--home {
    grid-template-columns: repeat(3, 1fr);
  }

  .project-grid--home .project:nth-child(1) {
    grid-column: auto;
  }

  .project-grid--home .project:nth-child(1) .project__media {
    aspect-ratio: 4 / 3;
  }

  .project-grid--home .project:nth-child(1) .project__meta h3 {
    font-size: 1.15rem;
  }
}

/* Client words — light section + slider */
.home-quote {
  padding: 5rem 0 4.75rem;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(233, 162, 60, 0.07), transparent 42%),
    var(--white);
  color: var(--ink);
  border-top: 1px solid rgba(20, 20, 20, 0.06);
  border-bottom: 1px solid rgba(20, 20, 20, 0.06);
}

.home-quote .eyebrow {
  color: var(--gold-deep);
  margin-bottom: 0.65rem;
}

.home-quote .section-title {
  color: var(--ink);
  max-width: 14ch;
}

.home-quote__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.home-quote__nav {
  display: flex;
  gap: 0.55rem;
}

.hq-arrow {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(20, 20, 20, 0.14);
  background: var(--stone);
  color: var(--ink);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.hq-arrow:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
  background: rgba(233, 162, 60, 0.12);
}

.home-quote__slider {
  position: relative;
  min-height: 300px;
}

@media (min-width: 900px) {
  .home-quote__slider {
    min-height: 360px;
  }
}

.hq-slide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  inset: 0;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}

.hq-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  position: relative;
}

.home-quote__grid {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 900px) {
  .home-quote__grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2.75rem;
  }
}

.home-quote__media {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  background: #111;
  aspect-ratio: 5 / 4;
  box-shadow: 0 18px 40px rgba(12, 12, 12, 0.12);
}

.home-quote__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s var(--ease);
}

.hq-slide.is-active .home-quote__media img {
  transform: scale(1.03);
}

.home-quote__media-frame {
  position: absolute;
  inset: 0.9rem;
  border: 1px solid rgba(233, 162, 60, 0.35);
  pointer-events: none;
}

.home-quote__content {
  max-width: 34rem;
}

.home-quote blockquote {
  margin: 0;
}

.home-quote__mark {
  display: block;
  font-family: var(--font-display);
  font-size: 4.25rem;
  line-height: 0.65;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.home-quote blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
  color: var(--ink);
}

.home-quote footer {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(20, 20, 20, 0.1);
}

.home-quote__avatar {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  background: var(--gold);
  border-radius: 50%;
}

.home-quote cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gold-deep);
  margin-bottom: 0.15rem;
}

.home-quote footer span {
  font-size: 0.85rem;
  color: var(--text-soft);
}

.home-quote__dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.75rem;
}

.hq-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(20, 20, 20, 0.2);
  cursor: pointer;
  transition: width 0.3s var(--ease), background 0.25s ease;
}

.hq-dot.is-active {
  width: 24px;
  border-radius: 999px;
  background: var(--gold);
}

/* About */
.about {
  display: grid;
  background: var(--charcoal);
  color: var(--white);
}

@media (min-width: 900px) {
  .about {
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 620px;
  }
}

.about__visual {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  background: #111;
}

.about__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.about__frame {
  position: absolute;
  inset: 1.25rem;
  border: 1px solid rgba(233, 162, 60, 0.4);
  pointer-events: none;
  z-index: 1;
}

.about__float {
  position: absolute;
  left: 1.75rem;
  bottom: 1.75rem;
  z-index: 2;
  max-width: 220px;
  padding: 1rem 1.1rem;
  background: rgba(12, 12, 12, 0.9);
  border-left: 3px solid var(--gold);
  backdrop-filter: blur(8px);
}

.about__float strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.about__float span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

.about__panel {
  padding: 3rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(233, 162, 60, 0.16), transparent 52%),
    linear-gradient(165deg, #1a1a1a 0%, #141414 55%, #17140f 100%);
}

@media (min-width: 900px) {
  .about__panel {
    padding: 3.75rem 3.5rem 3.75rem 3rem;
  }
}

.about__copy {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.68);
  max-width: 34rem;
  font-size: 1rem;
  line-height: 1.7;
}

/* Home about teaser polish */
.about--teaser__title {
  max-width: 12ch;
}

.about-teaser__points {
  display: grid;
  gap: 0;
  margin: 1.5rem 0 1.85rem;
  max-width: 28rem;
}

.about-teaser__points li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.85rem 0 0.85rem 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.about-teaser__points li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.about-teaser__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--gold);
}

.about-teaser__points strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
}

.about-teaser__points span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.about-teaser__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pillars {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.pillar {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pillar__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  color: var(--gold);
}

.pillar__icon svg {
  width: 100%;
  height: 100%;
}

.pillar strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 650;
  margin-bottom: 0.2rem;
}

.pillar span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Process — equal professional cards */
.process {
  padding: 5rem 0 5.25rem;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(233, 162, 60, 0.06), transparent 40%),
    var(--stone);
  position: relative;
}

.process .section-head {
  margin-bottom: 2.25rem;
}

.steps {
  display: grid;
  gap: 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 700px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 260px;
  padding: 1.65rem 1.4rem 1.6rem;
  background: var(--white);
  border: 1px solid rgba(20, 20, 20, 0.07);
  border-top: 3px solid var(--gold);
  border-radius: 3px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(12, 12, 12, 0.08);
  border-color: rgba(233, 162, 60, 0.35);
  border-top-color: var(--gold);
}

@media (min-width: 1000px) {
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 2.35rem;
    right: -0.75rem;
    width: 0.5rem;
    height: 0.5rem;
    border-top: 1.5px solid rgba(20, 20, 20, 0.2);
    border-right: 1.5px solid rgba(20, 20, 20, 0.2);
    transform: rotate(45deg);
    z-index: 2;
    pointer-events: none;
  }
}

.step__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.step__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--gold-deep);
  background: rgba(233, 162, 60, 0.1);
  border: 1px solid rgba(233, 162, 60, 0.3);
  border-radius: 50%;
  flex-shrink: 0;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.step__icon svg {
  width: 26px;
  height: 26px;
}

.step:hover .step__icon {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.step__num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-deep);
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.55rem;
}

.step p {
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

/* Testimonial */
.testimonial {
  padding: 4.75rem 0 4.25rem;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(233, 162, 60, 0.1), transparent 45%),
    linear-gradient(160deg, #141414 0%, #0e0e0e 55%, #17140f 100%);
  color: var(--white);
  overflow: hidden;
}

.testimonial .eyebrow {
  color: var(--gold);
}

.testimonial__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-bottom: 2.25rem;
}

.testimonial__head .section-title {
  max-width: 16ch;
}

.testimonial__nav {
  display: flex;
  gap: 0.55rem;
}

.t-arrow {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.t-arrow:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  background: rgba(233, 162, 60, 0.08);
}

.testimonial__slider {
  position: relative;
  min-height: 320px;
}

@media (min-width: 900px) {
  .testimonial__slider {
    min-height: 380px;
  }
}

.t-slide {
  display: grid;
  gap: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  inset: 0;
  transition: opacity 0.55s var(--ease), visibility 0.55s var(--ease);
}

.t-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  position: relative;
}

@media (min-width: 900px) {
  .t-slide {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2.5rem;
    align-items: center;
  }
}

.t-slide__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 3px;
  background: var(--charcoal);
}

.t-slide__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(233, 162, 60, 0.25);
  pointer-events: none;
}

.t-slide__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 0.8s var(--ease);
}

.t-slide.is-active .t-slide__media img {
  transform: scale(1);
}

.t-slide__quote {
  position: relative;
  margin: 0;
  padding-top: 0.5rem;
}

.t-slide__mark {
  display: block;
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 0.7;
  color: var(--gold);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.t-slide__quote p {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.6vw, 1.85rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 1.5rem;
  max-width: 28ch;
}

.t-slide__quote footer {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.t-slide__quote cite {
  font-style: normal;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gold-bright);
}

.t-slide__quote footer span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.48);
  letter-spacing: 0.02em;
}

.testimonial__dots {
  display: flex;
  gap: 0.45rem;
  margin-top: 1.75rem;
}

.t-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: width 0.3s var(--ease), background 0.25s ease;
}

.t-dot.is-active {
  width: 24px;
  border-radius: 999px;
  background: var(--gold);
}

/* Contact */
.contact {
  padding: 5rem 0 5.25rem;
  background:
    radial-gradient(ellipse at 10% 0%, rgba(233, 162, 60, 0.12), transparent 42%),
    radial-gradient(ellipse at 100% 80%, rgba(233, 162, 60, 0.05), transparent 40%),
    var(--ink);
  color: var(--white);
}

.contact__grid {
  display: grid;
  gap: 2.75rem;
}

@media (min-width: 900px) {
  .contact__grid {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 3.5rem;
    align-items: start;
  }
}

.contact .eyebrow {
  color: var(--gold);
}

.contact__info .section-title {
  max-width: 12ch;
}

.contact__lead {
  margin: 1.1rem 0 2rem;
  color: rgba(255, 255, 255, 0.62);
  max-width: 30rem;
  line-height: 1.7;
}

.contact__list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact__item {
  display: flex;
  gap: 0.95rem;
  align-items: flex-start;
  padding: 1rem 1.05rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.contact__item:hover {
  border-color: rgba(233, 162, 60, 0.35);
  background: rgba(233, 162, 60, 0.05);
}

.contact__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: rgba(233, 162, 60, 0.1);
  border: 1px solid rgba(233, 162, 60, 0.28);
  border-radius: 50%;
}

.contact__icon svg {
  width: 18px;
  height: 18px;
}

.contact__label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.28rem;
}

.contact__item a,
.contact__item > div > span:not(.contact__label) {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 500;
}

.contact__item a {
  transition: color 0.25s ease;
}

.contact__item a:hover {
  color: var(--gold-bright);
}

.contact__hours {
  margin-top: 1.35rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.4);
}

.quote-form {
  background: linear-gradient(180deg, #222222 0%, #1b1b1b 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 1.65rem 1.4rem 1.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

@media (min-width: 600px) {
  .quote-form {
    padding: 2rem 2rem 1.75rem;
  }
}

.quote-form__head {
  margin-bottom: 1.35rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.quote-form__head h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.quote-form__head p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}

.form-row {
  margin-bottom: 1.05rem;
}

.form-row--2 {
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) {
  .form-row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-row label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 0.5rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 3px;
  padding: 0.95rem 1.05rem;
  color: var(--white);
  outline: none;
  font-size: 1rem; /* prevents iOS zoom on focus */
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-row select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23e9a23c' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.4rem;
}

.form-row select option {
  background: #1a1a1a;
  color: var(--white);
}

.form-row input:hover,
.form-row select:hover,
.form-row textarea:hover {
  border-color: rgba(255, 255, 255, 0.28);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--gold);
  background: rgba(233, 162, 60, 0.07);
  box-shadow: 0 0 0 3px rgba(233, 162, 60, 0.12);
}

.form-row textarea {
  resize: vertical;
  min-height: 120px;
}

.quote-form .btn {
  margin-top: 0.35rem;
}

.form-note {
  margin-top: 0.9rem;
  font-size: 0.875rem;
  color: var(--gold-bright);
  min-height: 1.25em;
}

/* Footer — deepest black (distinct from quote + CTA) */
.footer {
  background: #0a0a0a;
  color: rgba(255, 255, 255, 0.7);
  padding: 4.25rem 0 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(233, 162, 60, 0.2);
}

.footer::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 100px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath fill='%230e0e0e' d='M0 80 L80 60 L160 90 L240 50 L320 85 L400 45 L480 75 L560 40 L640 70 L720 35 L800 80 L880 55 L960 90 L1040 50 L1120 75 L1200 40 L1200 120 L0 120 Z'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: bottom;
  opacity: 0.45;
  pointer-events: none;
}

.footer__grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
  position: relative;
}

@media (min-width: 800px) {
  .footer__grid {
    grid-template-columns: 1.4fr 0.7fr 1.2fr;
    gap: 3rem;
  }
}

.footer__brand p {
  margin-top: 1rem;
  max-width: 28rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
}

.logo--footer .logo__name {
  color: var(--white);
}

.footer__heading {
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  transition: color 0.25s ease;
}

.footer__links a:hover {
  color: var(--gold-bright);
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.footer__item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.25s ease;
}

a.footer__item:hover {
  color: var(--gold-bright);
}

.footer__label {
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
}

.footer__bar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer__tag {
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.02em;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem;
}

.footer__legal a {
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.25s ease;
}

.footer__legal a:hover {
  color: var(--gold-bright);
}

/* Legal pages */
.legal-hero {
  padding: calc(var(--header-h) + 3.5rem) 0 2.75rem;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(233, 162, 60, 0.14), transparent 48%),
    var(--ink);
  color: var(--white);
  text-align: left;
  border-bottom: 1px solid rgba(233, 162, 60, 0.2);
}

.legal-hero .container {
  text-align: left;
}

.legal-hero .eyebrow {
  color: var(--gold);
}

.legal-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.25rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0.35rem 0 0.75rem;
  text-align: left;
}

.legal-hero__meta {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: left;
}

.legal-body {
  padding: 3.5rem 0 5rem;
  background: var(--stone);
}

.legal-body__inner {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .legal-body__inner {
    grid-template-columns: 1fr 220px;
    gap: 3rem;
  }
}

.legal-content {
  background: var(--white);
  border: 1px solid rgba(20, 20, 20, 0.06);
  border-radius: 3px;
  padding: 2rem 1.5rem;
}

@media (min-width: 700px) {
  .legal-content {
    padding: 2.5rem 2.75rem;
  }
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 2rem 0 0.75rem;
  color: var(--ink);
}

.legal-content h2:first-of-type {
  margin-top: 1.5rem;
}

.legal-content p,
.legal-content li {
  color: var(--text-soft);
  line-height: 1.7;
  font-size: 0.98rem;
}

.legal-content p {
  margin-bottom: 0.9rem;
}

.legal-content ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  list-style: disc;
}

.legal-content li {
  margin-bottom: 0.4rem;
}

.legal-content a {
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: var(--ink);
}

.legal-note {
  margin-top: 2rem !important;
  padding-top: 1.25rem;
  border-top: 1px solid var(--stone-2);
  font-size: 0.875rem !important;
  color: var(--muted) !important;
}

.legal-aside {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.35rem 1.25rem;
  background: var(--white);
  border: 1px solid rgba(20, 20, 20, 0.06);
  border-radius: 3px;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.legal-aside__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.35rem;
}

.legal-aside a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.25s ease;
}

.legal-aside a:hover {
  color: var(--gold-deep);
}

/* ========== Inner pages (About / Contact) ========== */
.page-about .site-header,
.page-contact .site-header,
.page-projects .site-header,
.page-services .site-header,
.page-legal .site-header {
  background: rgba(12, 12, 12, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.page-hero {
  position: relative;
  min-height: 62svh;
  display: grid;
  align-items: end;
  justify-items: stretch;
  color: var(--white);
  overflow: hidden;
  background: var(--ink);
}

.page-hero__media {
  position: absolute;
  inset: 0;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  animation: pageHeroZoom 12s var(--ease) forwards;
}

@keyframes pageHeroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.page-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(8, 8, 8, 0.92) 0%, rgba(8, 8, 8, 0.72) 38%, rgba(8, 8, 8, 0.35) 68%, rgba(8, 8, 8, 0.45) 100%),
    linear-gradient(to top, rgba(8, 8, 8, 0.85) 0%, transparent 50%);
}

.page-hero__content {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: min(1180px, calc(100% - 2.75rem));
  margin-inline: auto;
  padding: calc(var(--header-h) + 4rem) 0 4rem;
  text-align: left;
}

.page-hero__content .hero__place {
  text-align: left;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 1.1rem;
  max-width: 16ch;
  text-align: left;
}

.page-hero__lead {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  max-width: 34rem;
  text-align: left;
  margin: 0;
}

.about-story {
  padding: 5.25rem 0;
  background: var(--white);
}

.about-story__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .about-story__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }
}

.about-story__copy .section-title {
  margin-bottom: 1.25rem;
}

.about-story__copy p {
  color: var(--text-soft);
  margin-bottom: 1rem;
  max-width: 36rem;
  line-height: 1.7;
}

.about-story__visual {
  position: relative;
}

.about-story__visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 18px 44px rgba(12, 12, 12, 0.12);
}

.about-story__badge {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  max-width: 220px;
  padding: 1rem 1.1rem;
  background: rgba(12, 12, 12, 0.9);
  border-left: 3px solid var(--gold);
  color: var(--white);
}

.about-story__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.about-story__badge span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
}

.about-values {
  padding: 4.75rem 0 5rem;
  background: var(--stone);
}

.values-grid {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 700px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

.value-card {
  background: var(--white);
  border: 1px solid rgba(20, 20, 20, 0.06);
  border-top: 3px solid var(--gold);
  border-radius: 3px;
  padding: 1.5rem 1.35rem 1.6rem;
  height: 100%;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(233, 162, 60, 0.4);
  border-top-color: var(--gold);
  box-shadow: 0 14px 32px rgba(12, 12, 12, 0.08);
}

.value-card__num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-deep);
  margin-bottom: 1rem;
}

.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
  letter-spacing: -0.02em;
}

.value-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.55;
}

.about-approach {
  display: grid;
  width: 100%;
  background: var(--charcoal);
  color: var(--white);
  overflow: hidden;
}

@media (min-width: 900px) {
  .about-approach {
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 580px;
  }
}

.about-approach__media {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background: #111;
}

.about-approach__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-approach__frame {
  position: absolute;
  inset: 1.15rem;
  border: 1px solid rgba(233, 162, 60, 0.4);
  pointer-events: none;
  z-index: 1;
}

.about-approach__badge {
  position: absolute;
  left: 1.75rem;
  bottom: 1.75rem;
  z-index: 2;
  max-width: 220px;
  padding: 0.95rem 1.05rem;
  background: rgba(12, 12, 12, 0.9);
  border-left: 3px solid var(--gold);
  backdrop-filter: blur(8px);
}

.about-approach__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.about-approach__badge span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
}

.about-approach__panel {
  padding: 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(233, 162, 60, 0.16), transparent 52%),
    linear-gradient(165deg, #1a1a1a 0%, #141414 55%, #17140f 100%);
}

@media (min-width: 900px) {
  .about-approach__panel {
    padding: 3.75rem 3.5rem 3.75rem 3rem;
  }
}

.about-approach__title {
  max-width: 14ch;
}

.about-approach__copy {
  margin: 1rem 0 1.5rem;
  color: rgba(255, 255, 255, 0.68);
  max-width: 34rem;
  line-height: 1.7;
  font-size: 1rem;
}

.about-checklist {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 1.85rem;
}

.about-checklist li {
  position: relative;
  padding: 0.85rem 0 0.85rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
}

.about-checklist li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.about-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--gold);
  border-radius: 1px;
}

.about-stats {
  border-top: none;
}

/* CTA — premium dark close */
.about-cta {
  padding: 4.75rem 0;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(233, 162, 60, 0.16), transparent 45%),
    radial-gradient(ellipse at 100% 100%, rgba(233, 162, 60, 0.06), transparent 40%),
    var(--charcoal);
  color: var(--white);
  border-top: 1px solid rgba(233, 162, 60, 0.22);
}

.about-cta .eyebrow {
  color: var(--gold);
}

.about-cta .section-title--light {
  color: var(--white);
}

.about-cta__inner {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .about-cta__inner {
    grid-template-columns: 1.3fr 1fr;
    align-items: center;
  }
}

.about-cta__inner p {
  margin-top: 0.85rem;
  color: rgba(255, 255, 255, 0.62);
  max-width: 32rem;
}

.about-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (min-width: 800px) {
  .about-cta__actions {
    justify-content: flex-end;
  }
}

/* ========== Contact page ========== */
.page-hero--contact {
  min-height: 58svh;
}

.contact-cards {
  padding: 0;
  margin-top: -2.5rem;
  position: relative;
  z-index: 2;
}

.contact-cards__grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .contact-cards__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
  }
}

.c-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.55rem 1.4rem;
  background: var(--white);
  border: 1px solid rgba(20, 20, 20, 0.06);
  border-top: 3px solid var(--gold);
  border-radius: 3px;
  box-shadow: 0 14px 34px rgba(12, 12, 12, 0.09);
  transition: transform 0.3s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease;
  color: var(--text);
}

a.c-card:hover {
  transform: translateY(-4px);
  border-color: rgba(233, 162, 60, 0.45);
  box-shadow: 0 16px 36px rgba(12, 12, 12, 0.1);
}

.c-card__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 0.55rem;
  color: var(--gold-deep);
  background: rgba(233, 162, 60, 0.12);
  border: 1px solid rgba(233, 162, 60, 0.28);
  border-radius: 50%;
}

.c-card__icon svg {
  width: 18px;
  height: 18px;
}

.c-card__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.c-card strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  word-break: break-word;
}

.c-card__hint {
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.45;
}

.contact-page {
  padding: 4.5rem 0 5rem;
  background: var(--stone);
}

.contact-page__grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .contact-page__grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3.25rem;
  }
}

.contact-page__lead {
  margin: 1rem 0 1.5rem;
  color: var(--text-soft);
  max-width: 32rem;
  line-height: 1.7;
}

.contact-page__points {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.75rem;
}

.contact-page__points li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.95rem;
  font-weight: 560;
  color: var(--text);
}

.contact-page__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--gold);
  border-radius: 1px;
}

.contact-page__hours {
  padding: 1.15rem 1.2rem;
  background: var(--white);
  border: 1px solid rgba(20, 20, 20, 0.06);
  border-radius: 3px;
  max-width: 22rem;
}

.contact-page__hours .contact__label {
  color: var(--gold-deep);
}

.contact-page__hours p {
  margin: 0.25rem 0 0;
  color: var(--text);
  font-weight: 550;
  line-height: 1.5;
}

.contact-page .quote-form {
  background: var(--charcoal);
  border-color: rgba(255, 255, 255, 0.08);
}

.contact-map {
  padding: 4.5rem 0 5rem;
  background: var(--white);
}

.contact-map .section-head {
  margin-bottom: 1.5rem;
}

.contact-map__frame {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  border: 1px solid rgba(20, 20, 20, 0.08);
  background: var(--stone-2);
  aspect-ratio: 21 / 9;
  min-height: 280px;
}

.contact-map__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.35) contrast(1.08) saturate(0.85);
}

/* ========== Projects page ========== */
.page-hero--projects {
  min-height: 58svh;
}

.projects--page {
  padding-top: 4.25rem;
  padding-bottom: 5rem;
  background: var(--stone);
}

.project-grid--page .project:nth-child(1) {
  grid-column: auto;
}

@media (min-width: 1000px) {
  .project-grid--page .project:nth-child(1) {
    grid-column: span 2;
  }

  .project-grid--page .project:nth-child(1) .project__media {
    aspect-ratio: 16 / 9;
  }

  .project-grid--page .project:nth-child(1) .project__meta h3 {
    font-size: 1.45rem;
  }
}

/* ========== Services page ========== */
.page-hero--services {
  min-height: 58svh;
}

.services--page {
  padding-top: 4rem;
}

.svc-detail {
  padding: 4.5rem 0;
  background: var(--white);
}

.svc-detail--alt {
  background: var(--stone);
}

.svc-detail__grid {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}

@media (min-width: 900px) {
  .svc-detail__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.25rem;
  }

  .svc-detail__grid--flip .svc-detail__media {
    order: 2;
  }

  .svc-detail__grid--flip .svc-detail__copy {
    order: 1;
  }
}

.svc-detail__media {
  overflow: hidden;
  border-radius: 3px;
  background: var(--charcoal);
  box-shadow: 0 16px 40px rgba(12, 12, 12, 0.1);
}

.svc-detail__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.9s var(--ease);
}

.svc-detail__media:hover img {
  transform: scale(1.05);
}

.svc-detail__copy .section-title {
  margin-bottom: 1rem;
}

.svc-detail__copy > p {
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 1.35rem;
  max-width: 34rem;
}

.svc-detail__list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.75rem;
}

.svc-detail__list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.95rem;
  font-weight: 560;
  color: var(--text);
}

.svc-detail__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--gold);
  border-radius: 1px;
}

.svc-why {
  border-top: 1px solid rgba(20, 20, 20, 0.05);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.service-grid .reveal:nth-child(1) { transition-delay: 40ms; }
.service-grid .reveal:nth-child(2) { transition-delay: 120ms; }
.service-grid .reveal:nth-child(3) { transition-delay: 200ms; }

.project-grid .reveal:nth-child(1) { transition-delay: 40ms; }
.project-grid .reveal:nth-child(2) { transition-delay: 110ms; }
.project-grid .reveal:nth-child(3) { transition-delay: 180ms; }
.project-grid .reveal:nth-child(4) { transition-delay: 250ms; }
.project-grid .reveal:nth-child(5) { transition-delay: 320ms; }
.project-grid .reveal:nth-child(6) { transition-delay: 390ms; }

.steps .reveal:nth-child(1) { transition-delay: 40ms; }
.steps .reveal:nth-child(2) { transition-delay: 110ms; }
.steps .reveal:nth-child(3) { transition-delay: 180ms; }
.steps .reveal:nth-child(4) { transition-delay: 250ms; }

.values-grid .reveal:nth-child(1) { transition-delay: 40ms; }
.values-grid .reveal:nth-child(2) { transition-delay: 110ms; }
.values-grid .reveal:nth-child(3) { transition-delay: 180ms; }
.values-grid .reveal:nth-child(4) { transition-delay: 250ms; }

.hero .reveal:nth-child(1) { transition-delay: 80ms; }
.hero .reveal:nth-child(2) { transition-delay: 180ms; }
.hero .reveal:nth-child(3) { transition-delay: 280ms; }
.hero .reveal:nth-child(4) { transition-delay: 380ms; }

.hero.is-ready .reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .hero .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .marquee__track,
  .hero__scroll-line,
  .page-hero__media img {
    animation: none;
  }
  .quote-modal,
  .quote-modal__dialog {
    transition: none;
  }
}

/* Quote modal */
body.quote-modal-open {
  overflow: hidden;
}

.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.quote-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.quote-modal[hidden] {
  display: none;
}

.quote-modal.is-open[hidden] {
  display: grid;
}

.quote-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 6, 0.72);
  backdrop-filter: blur(6px);
  cursor: pointer;
}

.quote-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(92svh, 900px);
  overflow: auto;
  transform: translateY(18px) scale(0.98);
  transition: transform 0.32s var(--ease);
  border-radius: 4px;
}

.quote-modal.is-open .quote-modal__dialog {
  transform: none;
}

.quote-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.quote-modal__close:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  background: rgba(233, 162, 60, 0.1);
}

.quote-form--modal {
  margin: 0;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
}

.quote-form--modal .eyebrow {
  color: var(--gold);
  margin-bottom: 0.45rem;
}

.quote-form--modal .quote-form__head {
  padding-right: 2.5rem;
}

.quote-form--modal .quote-form__head h3 {
  font-size: clamp(1.35rem, 3vw, 1.65rem);
}

/* ========== Responsive review pass ========== */

/* Very small phones */
@media (max-width: 379px) {
  .logo__sub {
    display: none;
  }

  .site-header .btn--sm {
    padding: 0.65rem 0.75rem;
    font-size: 0.65rem;
  }

  .site-header .btn--sm span[aria-hidden] {
    display: none;
  }

  .hero__brand {
    font-size: clamp(2.35rem, 11vw, 3rem);
  }

  .hero__line {
    font-size: clamp(1.2rem, 5.5vw, 1.45rem);
  }
}

/* Mobile + small tablet */
@media (max-width: 767px) {
  body {
    font-size: 1rem;
  }

  .site-header__inner {
    width: min(1180px, calc(100% - 1.5rem));
    gap: 0.65rem;
  }

  .header-actions {
    gap: 0.45rem;
  }

  .logo {
    gap: 0.5rem;
    min-width: 0;
  }

  .logo__mark {
    width: 30px;
    height: 30px;
  }

  .logo__name {
    font-size: 0.8rem;
  }

  .logo__sub {
    font-size: 0.52rem;
    letter-spacing: 0.12em;
  }

  .hero {
    min-height: 100svh;
    min-height: 100dvh;
  }

  .hero__layout {
    width: min(1180px, calc(100% - 1.75rem));
    padding: calc(var(--header-h) + 1.35rem) 0 3.25rem;
    gap: 1.25rem;
    align-content: center;
  }

  .hero__place {
    margin-bottom: 0.75rem;
  }

  .hero__brand {
    margin-bottom: 0.45rem;
  }

  .hero__lead {
    margin-top: 0.85rem;
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .hero__veil {
    background:
      linear-gradient(180deg, rgba(8, 8, 8, 0.72) 0%, rgba(8, 8, 8, 0.45) 35%, rgba(8, 8, 8, 0.82) 100%),
      linear-gradient(to top, rgba(8, 8, 8, 0.9) 0%, transparent 55%);
  }

  .hero__ctas {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.5rem;
    margin-top: 1.15rem;
  }

  .hero__ctas .btn {
    width: auto;
    flex: 1 1 0;
    padding: 0.82rem 0.55rem;
    font-size: 0.65rem;
    letter-spacing: 0.05em;
  }

  .hero__aside {
    gap: 0.7rem;
    margin-top: 0.15rem;
  }

  .hero__controls {
    gap: 0.45rem;
  }

  .hero__caption {
    min-width: 0;
    width: 100%;
    margin-bottom: 0;
    padding-bottom: 0.5rem;
  }

  .hero__arrow {
    width: 40px;
    height: 40px;
  }

  .services,
  .projects,
  .process,
  .home-quote,
  .about-story,
  .about-values,
  .contact-page,
  .contact-map,
  .svc-detail,
  .legal-body {
    padding-top: var(--section-y);
    padding-bottom: var(--section-y);
  }

  .projects--page,
  .services--page {
    padding-top: 3.25rem;
    padding-bottom: var(--section-y);
  }

  .section-title {
    font-size: clamp(1.65rem, 7vw, 2.1rem);
    max-width: 16ch;
  }

  .section-head {
    margin-bottom: 1.75rem;
  }

  .page-hero {
    min-height: 52svh;
  }

  .page-hero--contact,
  .page-hero--projects,
  .page-hero--services {
    min-height: 48svh;
  }

  .page-hero__content {
    width: min(1180px, calc(100% - 1.75rem));
    padding: calc(var(--header-h) + 2.5rem) 0 2.75rem;
  }

  .page-hero__title {
    font-size: clamp(2rem, 9vw, 2.75rem);
    max-width: 14ch;
    margin-bottom: 0.85rem;
  }

  .page-hero__lead {
    font-size: 0.98rem;
  }

  .about__panel,
  .about-approach__panel {
    padding: 2.5rem 1.25rem;
  }

  .about__visual,
  .about-approach__media {
    min-height: 280px;
  }

  .about__frame,
  .about-approach__frame {
    inset: 0.85rem;
  }

  .about__float,
  .about-approach__badge,
  .about-story__badge {
    left: 1rem;
    bottom: 1rem;
    max-width: min(220px, calc(100% - 2rem));
  }

  .home-quote__head {
    align-items: flex-start;
    margin-bottom: 1.5rem;
  }

  .home-quote__slider {
    min-height: 0;
  }

  .home-quote blockquote p {
    font-size: clamp(1.1rem, 4.8vw, 1.35rem);
  }

  .home-quote__mark {
    font-size: 3.25rem;
  }

  .step {
    min-height: 0;
    padding: 1.4rem 1.2rem 1.35rem;
  }

  .about-cta {
    padding: 2.75rem 0 2.85rem;
  }

  .about-cta__inner {
    gap: 1.25rem;
  }

  .about-cta .eyebrow {
    margin-bottom: 0.55rem;
  }

  .about-cta .section-title--light {
    max-width: none;
    font-size: clamp(1.55rem, 6.5vw, 1.95rem);
    line-height: 1.18;
  }

  .about-cta__inner p {
    margin-top: 0.65rem;
    font-size: 0.92rem;
    line-height: 1.55;
    max-width: none;
  }

  .about-cta__actions {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.5rem;
  }

  .about-cta__actions .btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    padding: 0.85rem 0.55rem;
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
  }

  .about-cta__actions .btn--lg {
    padding: 0.85rem 0.55rem;
  }

  .about-teaser__actions {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.55rem;
  }

  .about-teaser__actions .btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    padding-inline: 0.7rem;
    font-size: 0.68rem;
    white-space: nowrap;
  }

  .contact-cards {
    margin-top: -1.75rem;
  }

  .contact-cards .container,
  .contact-cards__grid {
    width: min(1140px, calc(100% - 1.75rem));
  }

  .contact-cards__grid {
    margin-inline: auto;
  }

  .c-card {
    padding: 1.25rem 1.15rem;
  }

  .c-card strong {
    font-size: 0.98rem;
  }

  .quote-form {
    padding: 1.35rem 1.1rem 1.25rem;
  }

  .quote-modal {
    padding: 0;
    align-items: end;
  }

  .quote-modal__dialog {
    width: 100%;
    max-height: min(94svh, 940px);
    border-radius: 12px 12px 0 0;
  }

  .quote-form--modal {
    border-radius: 12px 12px 0 0;
  }

  .footer {
    padding-top: 3.25rem;
  }

  .footer__grid {
    gap: 2rem;
    padding-bottom: 2.25rem;
  }

  .footer__bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.1rem 0 1.5rem;
  }

  .legal-hero {
    padding: calc(var(--header-h) + 2.5rem) 0 2rem;
  }

  .legal-hero__title {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }

  .legal-content {
    padding: 1.5rem 1.15rem;
  }

  .legal-aside {
    position: static;
  }

  .contact-map__frame {
    aspect-ratio: 4 / 3;
    min-height: 240px;
  }

  .project-filters {
    gap: 0.4rem;
  }

  .filter-btn {
    padding: 0.55rem 0.8rem;
    font-size: 0.7rem;
  }

  .svc-detail__grid {
    gap: 1.5rem;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 979px) {
  .hero__layout {
    padding: calc(var(--header-h) + 2rem) 0 4.5rem;
  }

  .hero__ctas {
    flex-direction: row;
  }

  .hero__ctas .btn {
    width: auto;
  }

  .page-hero {
    min-height: 56svh;
  }

  .about-cta__actions {
    flex-direction: row;
  }

  .about-cta__actions .btn {
    width: auto;
  }

  .quote-modal {
    padding: 1.5rem;
    align-items: center;
  }

  .quote-modal__dialog {
    border-radius: 4px;
  }

  .quote-form--modal {
    border-radius: 4px;
  }
}

/* Desktop polish */
@media (min-width: 980px) {
  .site-header__inner {
    gap: 1.5rem;
  }

  .nav {
    gap: clamp(1.1rem, 1.6vw, 1.85rem);
  }

  .hero__layout {
    width: min(1180px, calc(100% - 3rem));
  }

  .page-hero__content {
    width: min(1180px, calc(100% - 3rem));
  }
}

@media (min-width: 1200px) {
  .hero__brand {
    font-size: 5rem;
  }

  .section-title {
    font-size: clamp(2rem, 2.4vw, 2.65rem);
  }
}

/* Touch-friendly targets */
@media (hover: none) and (pointer: coarse) {
  .nav__link,
  .filter-btn,
  .hq-arrow,
  .hero__arrow,
  .btn {
    min-height: 44px;
  }

  .hq-dot,
  .hero__dot {
    min-width: 12px;
    min-height: 12px;
  }

  .service:hover,
  .value-card:hover,
  .step:hover,
  .project__link:hover .project__media img {
    transform: none;
  }

  .service:hover {
    box-shadow: 0 1px 2px rgba(12, 12, 12, 0.04);
  }
}

/* Safe areas (notched phones) */
@supports (padding: max(0px)) {
  :root {
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-left: env(safe-area-inset-left, 0px);
    --safe-right: env(safe-area-inset-right, 0px);
  }

  .site-header {
    padding-top: var(--safe-top);
    height: calc(var(--header-h) + var(--safe-top));
  }

  html {
    scroll-padding-top: calc(var(--header-h) + var(--safe-top));
  }

  @media (max-width: 979px) {
    .nav {
      top: 0;
      padding-top: calc(var(--header-h) + var(--safe-top) + 1rem);
      padding-left: max(1.35rem, var(--safe-left));
      padding-right: max(1.35rem, var(--safe-right));
      padding-bottom: max(2rem, var(--safe-bottom));
    }
  }

  .quote-modal {
    padding-left: max(0px, var(--safe-left));
    padding-right: max(0px, var(--safe-right));
    padding-bottom: max(0px, var(--safe-bottom));
  }

  @media (max-width: 767px) {
    .quote-modal {
      padding-left: 0;
      padding-right: 0;
      padding-bottom: var(--safe-bottom);
    }

    .quote-form--modal {
      padding-bottom: calc(1.25rem + var(--safe-bottom));
    }
  }
}
