:root {
  --primary: #c8a97e;
  --primary-light: #d7bb96;
  --background: #1a1a1a;
  --background-dark: #111111;
  --background-card: #222222;
  --background-soft: #262626;
  --text-primary: #ffffff;
  --text-secondary: #a9a9a9;
  --text-muted: #5f5f5f;
  --line: rgba(255, 255, 255, 0.06);
  --overlay-dark: rgba(0, 0, 0, 0.58);
  --overlay-gold: rgba(200, 169, 126, 0.18);
  --max-width: 1260px;
  --section-padding: 110px;
  --container-padding: clamp(24px, 4vw, 60px);
  --rail-width: 92px;
  --nav-height: 92px;
  --shadow-soft: 0 30px 70px rgba(0, 0, 0, 0.3);
  --browser-scale: 0.5;
  --scaled-shell-height: auto;
}

@media (min-width: 681px) and (max-width: 900px) {
  .stats-wrap {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
  }

  .stats-copy {
    margin-bottom: 0;
    text-align: center;
  }

  .contact-form-footer {
    align-items: center;
  }

  .contact-form-footer .pill-button {
    align-self: center;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 12px);
}

body.is-modal-open {
  overflow: hidden;
}

body.is-form-loading,
body.is-form-loading * {
  cursor: wait !important;
}

body.is-form-loading [data-form-id] {
  pointer-events: none;
  opacity: 0.55;
  transition: opacity 180ms ease;
}

.form-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.form-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.form-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.form-modal-panel {
  position: relative;
  width: min(560px, calc(100vw - 32px));
  height: min(94vh, 820px);
  background: var(--background-card);
  border: 1px solid rgba(200, 169, 126, 0.35);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(200, 169, 126, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(16px) scale(0.98);
  transition: transform 260ms ease;
}

.form-modal.is-open .form-modal-panel {
  transform: translateY(0) scale(1);
}

.form-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px 14px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(200, 169, 126, 0.06), transparent);
}

.form-modal-heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.form-modal-eyebrow {
  font-family: "Geist", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--primary);
}

.form-modal-title {
  margin: 0;
  font-family: "Geist", sans-serif;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--text-primary);
  text-wrap: balance;
}

.form-modal-close {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--text-secondary);
  font-family: "Geist", sans-serif;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.form-modal-close:hover {
  color: var(--primary);
  background: rgba(200, 169, 126, 0.08);
  border-color: rgba(200, 169, 126, 0.35);
}

.form-modal-body {
  flex: 1;
  min-height: 0;
  background: #1a1a1a;
  overflow: hidden;
}

.form-modal-body iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #1a1a1a;
}

@media (max-width: 680px) {
  .form-modal-panel {
    width: 100vw;
    height: 100vh;
    border-left: none;
    border-right: none;
  }

  .form-modal-header {
    padding: 20px 20px 16px;
  }

  .form-modal-title {
    font-size: 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: "Geist", sans-serif;
  color: var(--text-primary);
  background:
    radial-gradient(circle at top left, rgba(200, 169, 126, 0.12), transparent 28%),
    linear-gradient(180deg, #1d1d1d 0%, #171717 100%);
  min-height: 100vh;
}

html.browser-scale-mode,
html.browser-scale-mode body {
  overflow-x: hidden;
}

html.browser-scale-mode body {
  position: relative;
  min-height: var(--scaled-shell-height);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    to right,
    rgba(255, 255, 255, 0.045) 0,
    rgba(255, 255, 255, 0.045) 1px,
    transparent 1px,
    transparent 320px
  );
  opacity: 0.32;
  pointer-events: none;
  z-index: 0;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

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

.site-shell {
  position: relative;
  z-index: 1;
}

html.browser-scale-mode .site-shell {
  position: relative;
  width: 100%;
  zoom: var(--browser-scale);
}

.page-content {
  margin-left: var(--rail-width);
}

.section {
  position: relative;
}

.section-panel {
  padding: var(--section-padding) 0;
}

.section-inner {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 0 var(--container-padding);
  position: relative;
}

.side-rail {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--rail-width);
  background: rgba(18, 18, 18, 0.94);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 24px 0 54px;
  z-index: 20;
  backdrop-filter: blur(14px);
}

.rail-brand-block,
.rail-middle,
.rail-socials {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.rail-brand-block,
.rail-count {
  display: none !important;
}

.rail-logo,
.nav-logo,
.footer-logo {
  font-family: "Geist", sans-serif;
  font-size: 1.95rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: lowercase;
}

.brand-dot {
  color: var(--primary);
}

.rail-count {
  display: grid;
  gap: 4px;
  justify-items: center;
  font-family: "Geist", sans-serif;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.rail-middle {
  gap: 16px;
  margin-top: auto;
  margin-bottom: auto;
}

.rail-title {
  font-family: "Geist", sans-serif;
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.34em;
  writing-mode: vertical-rl;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.rail-line {
  width: 1px;
  height: 84px;
  background: var(--line);
}

.rail-phone {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
  color: var(--text-muted);
}

.rail-socials {
  gap: 14px;
  margin-bottom: 26px;
}

.rail-social-link {
  color: var(--text-secondary);
  font-size: 1.45rem;
  transition: color 180ms ease, transform 180ms ease;
}

.rail-social-link:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

.top-nav {
  position: fixed;
  top: 0;
  right: 0;
  left: var(--rail-width);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--container-padding);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  background: linear-gradient(180deg, rgba(12, 12, 12, 0.86), rgba(12, 12, 12, 0.24));
  backdrop-filter: blur(16px);
  z-index: 18;
  justify-content: space-between;
}

.nav-logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  font-size: 2.35rem;
  letter-spacing: 0.06em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 34px);
}

.nav-link {
  font-family: "Geist", sans-serif;
  font-size: 1.66rem;
  font-weight: 300;
  letter-spacing: calc(0.18em - 1px);
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 180ms ease;
}

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

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  padding: 0;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 1px;
  background: var(--text-primary);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle span:nth-child(1) {
  top: 17px;
}

.menu-toggle span:nth-child(2) {
  top: 23px;
}

.menu-toggle span:nth-child(3) {
  top: 29px;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  min-height: 100vh;
  overflow: hidden;
}

html.browser-scale-mode .hero,
html.browser-scale-mode .hero-inner,
html.browser-scale-mode .hero-ui {
  min-height: calc(100vh / var(--browser-scale));
}

.hero-background,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  transform: scale(1.025);
  background-size: cover;
  background-position: center;
  transition: opacity 650ms ease, transform 1200ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-inner {
  min-height: 100vh;
  display: grid;
  align-items: center;
  justify-items: end;
  padding-top: calc(var(--nav-height) + 36px);
  padding-bottom: 64px;
}

.hero-copy {
  width: min(100%, 1440px);
  margin-left: auto;
  text-align: right;
}

.eyebrow,
.section-label {
  display: inline-block;
  font-family: "Geist", sans-serif;
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: calc(0.28em - 1px);
  text-transform: uppercase;
  color: var(--primary);
}

.hero-title,
.section-heading h2 {
  margin: 14px 0 18px;
  font-family: "Geist", sans-serif;
  font-weight: 300;
  letter-spacing: calc(0.12em - 1px);
  text-transform: uppercase;
  line-height: 0.95;
}

.hero-title {
  font-size: clamp(4rem, 8vw, 7.2rem);
  max-width: 12.5ch;
  margin-left: auto;
}

.hero-description {
  max-width: 52ch;
  margin: 0 0 44px auto;
  font-size: 2rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 260px;
  padding: 24px 38px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #21170d;
  font-family: "Geist", sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  box-shadow: 0 14px 30px rgba(200, 169, 126, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.pill-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 38px rgba(200, 169, 126, 0.28);
}

.hero-ui {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  pointer-events: none;
  padding-top: calc(var(--nav-height) + 12px);
  padding-bottom: 44px;
}

.hero-dots {
  pointer-events: auto;
  align-self: center;
}

.text-control,
.projects-side-label {
  font-family: "Geist", sans-serif;
  font-size: 0.94rem;
  font-weight: 300;
  letter-spacing: calc(0.28em - 1px);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.text-control:hover {
  color: var(--primary);
}

.hero-dots {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.hero-dot {
  display: block;
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  aspect-ratio: 1 / 1;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid transparent;
  transition: transform 180ms ease, background 180ms ease;
}

.hero-dot.is-active {
  background: var(--primary);
  transform: scale(1.15);
}

.section-watermark {
  display: none !important;
  position: absolute;
  left: clamp(20px, 6vw, 78px);
  top: 44%;
  transform: translateY(-50%);
  font-family: "Geist", sans-serif;
  font-size: clamp(4rem, 14vw, 10rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  text-transform: lowercase;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
  user-select: none;
}

.hero-watermark {
  top: auto;
  bottom: 56px;
  left: auto;
  right: clamp(24px, 5vw, 80px);
  transform: none;
}

.section-heading {
  position: relative;
  z-index: 1;
  margin-bottom: 48px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-heading h2 span {
  color: var(--primary);
}

.projects-section .section-heading,
.clients-section .section-heading,
.contact-section .section-heading,
.services-section .section-heading {
  text-align: center;
}

.services-section {
  padding-top: clamp(110px, 12vh, 150px);
  padding-bottom: clamp(110px, 12vh, 150px);
}

.services-intro {
  max-width: 64ch;
  margin: 0 auto clamp(48px, 6vh, 80px);
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.55rem;
  line-height: 1.75;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: clamp(24px, 2.6vw, 36px);
}

.signup-section {
  padding-top: clamp(80px, 9vh, 120px);
  padding-bottom: clamp(80px, 9vh, 120px);
}

.signup-section .section-heading {
  text-align: center;
}

.signup-intro {
  max-width: 52ch;
  margin: 0 auto clamp(32px, 4vh, 56px);
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.15rem;
  line-height: 1.65;
}

.signup-embed {
  max-width: 560px;
  margin: 0 auto;
  background: #1a1a1a;
  border: 1px solid rgba(200, 169, 126, 0.18);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.signup-embed iframe {
  display: block;
  width: 100%;
  height: 920px;
  border: 0;
  background: #1a1a1a;
}

/* .site-shell is zoomed by --browser-scale on desktop; cancel that out
   so the embed renders at native pixel size, matching the popup. */
html.browser-scale-mode .signup-embed {
  zoom: calc(1 / var(--browser-scale));
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(36px, 3.6vw, 48px) clamp(28px, 3vw, 40px);
  background: var(--background-card);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--overlay-gold), transparent 55%);
  opacity: 0;
  transition: opacity 260ms ease;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 169, 126, 0.48);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.38);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card-header {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 28px;
}

.service-card-kicker {
  display: block;
  font-family: "Geist", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 28px;
}

.service-card-number {
  display: block;
  font-family: "Geist", sans-serif;
  font-size: 5rem;
  font-weight: 200;
  line-height: 1;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 32px;
}

.service-card-rule {
  display: block;
  width: 40px;
  height: 1px;
  background: rgba(200, 169, 126, 0.45);
}

.service-card-title {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  font-family: "Geist", sans-serif;
  font-size: 1.9rem;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: calc(0.02em - 1px);
  color: var(--text-primary);
  text-wrap: balance;
}

.service-card-description {
  position: relative;
  z-index: 1;
  margin: 0 0 32px;
  color: var(--text-secondary);
  font-size: 1.3rem;
  line-height: 1.7;
  flex: 1;
  text-wrap: pretty;
}

.service-card-cta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding: 20px 0 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  text-align: left;
  width: 100%;
  cursor: pointer;
  font-family: "Geist", sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  white-space: nowrap;
  transition: color 200ms ease;
}

.service-card-cta span {
  white-space: nowrap;
}

.service-card-cta i {
  font-size: 0.9rem;
  transition: transform 200ms ease;
}

.service-card-cta:hover {
  color: var(--primary-light);
}

.service-card-cta:hover i {
  transform: translateX(6px);
}

@media (max-width: 900px) {
  .service-card {
    padding: clamp(28px, 4vw, 36px) clamp(22px, 3vw, 30px);
  }

  .service-card-number {
    font-size: 4rem;
  }

  .service-card-kicker {
    font-size: 0.85rem;
    letter-spacing: 0.24em;
    margin-bottom: 22px;
  }

  .service-card-title {
    font-size: 1.55rem;
  }

  .service-card-description {
    font-size: 1.2rem;
  }

  .service-card-cta,
  .service-card-cta span {
    white-space: normal;
  }

  .service-card-cta {
    font-size: 1rem;
    letter-spacing: 0.14em;
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .service-card {
    padding: 24px 20px;
  }

  .service-card-number {
    font-size: 3.2rem;
    margin-bottom: 20px;
  }

  .service-card-kicker {
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    margin-bottom: 16px;
  }

  .service-card-title {
    font-size: 1.35rem;
    margin-bottom: 10px;
  }

  .service-card-description {
    font-size: 1.1rem;
    margin-bottom: 22px;
  }

  .service-card-cta {
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    padding-top: 16px;
    white-space: normal;
  }

  .service-card-cta span {
    white-space: normal;
  }

  .services-intro {
    font-size: 1.35rem;
    margin-bottom: 40px;
  }
}

.about-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(340px, 1.12fr);
  gap: clamp(56px, 6vw, 96px);
  align-items: stretch;
  min-height: clamp(660px, 68vh, 900px);
}

.about-section {
  min-height: 100vh;
  padding-top: clamp(120px, 15vh, 170px);
  padding-bottom: clamp(120px, 16vh, 180px);
}

.about-section .section-inner {
  width: min(calc(100% - 40px), 1700px);
  padding-left: clamp(24px, 2.6vw, 52px);
  padding-right: clamp(24px, 2.6vw, 52px);
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-section .section-heading {
  margin-bottom: clamp(42px, 5vh, 68px);
}

.about-copy h3,
.about-specializations h3 {
  margin: 0 0 20px;
  font-size: clamp(2.7rem, 4vw, 4rem);
  line-height: 1;
  font-weight: 300;
  letter-spacing: calc(-0.06em - 1px);
}

.about-copy,
.about-specializations {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-copy p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.45rem;
  line-height: 1.82;
  max-width: 29ch;
}

.specialization-list {
  display: grid;
  gap: 38px;
  margin-top: 18px;
}

.specialization-item {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 82px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: "Geist", sans-serif;
  font-size: 1.34rem;
  font-weight: 300;
  letter-spacing: calc(0.2em - 1px);
  text-transform: uppercase;
}

.specialization-item i {
  color: var(--primary);
  width: 28px;
  font-size: 1.3rem;
}

.about-image-wrap {
  min-height: clamp(560px, 62vh, 780px);
  overflow: hidden;
  background: var(--background-soft);
  box-shadow: var(--shadow-soft);
  align-self: center;
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.02);
}

.projects-section {
  padding-bottom: 0;
}

.projects-heading-wrap {
  margin-bottom: 26px;
}

.projects-frame {
  position: relative;
  overflow: hidden;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.project-card {
  min-height: 1300px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  position: relative;
}

.project-card--featured {
  transform: none;
  min-height: 1300px;
  z-index: 2;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.32);
}

.project-card-inner {
  position: relative;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px 28px 30px;
}

.project-topline {
  max-width: 10ch;
  font-family: "Geist", sans-serif;
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: calc(0.06em - 1px);
  text-transform: uppercase;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}

.project-location {
  font-size: 0.82rem;
  letter-spacing: calc(0.18em - 1px);
  text-transform: uppercase;
  color: var(--text-secondary);
}

.project-category {
  font-family: "Geist", sans-serif;
  font-size: 0.76rem;
  font-weight: 300;
  letter-spacing: calc(0.36em - 1px);
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.project-focus {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: auto;
  display: grid;
  place-items: center;
  background: rgba(214, 186, 148, 0.84);
  color: white;
  font-size: 1.45rem;
  box-shadow: 0 18px 36px rgba(200, 169, 126, 0.2);
}

.projects-side-label {
  position: absolute;
  top: 50%;
  z-index: 3;
  writing-mode: vertical-rl;
  color: rgba(255, 255, 255, 0.72);
}

.projects-side-label--left {
  left: 12px;
  transform: translateY(-50%) rotate(180deg);
}

.projects-side-label--right {
  right: 12px;
  transform: translateY(-50%);
}

.stats-section {
  padding-top: 200px;
  scroll-margin-top: 0;
}

.stats-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 28px;
}

.stats-number {
  font-family: "Geist", sans-serif;
  font-size: clamp(12rem, 26vw, 21.6rem);
  line-height: 0.82;
  font-weight: 600;
  letter-spacing: -0.04em;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.18)), var(--stats-texture);
  background-size: cover;
  background-position: center;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.stats-copy {
  max-width: 220px;
  margin-bottom: 28px;
  font-family: "Geist", sans-serif;
  font-size: clamp(1.2rem, 2.4vw, 1.68rem);
  font-weight: 300;
  letter-spacing: calc(0.12em - 1px);
  text-transform: uppercase;
  line-height: 1.2;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 40px 28px;
}

.clients-section .section-inner,
.contact-section .section-inner {
  width: min(calc(100% - 28px), 1720px);
  padding-left: clamp(16px, 1.8vw, 32px);
  padding-right: clamp(16px, 1.8vw, 32px);
}

.client-logo {
  min-height: 160px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  opacity: 1;
  transition: transform 180ms ease;
}

.client-logo img {
  width: min(100%, 220px);
  filter: brightness(0) saturate(100%) invert(28%);
  opacity: 1;
  transition: filter 180ms ease, opacity 180ms ease;
}

.client-logo:hover {
  transform: translateY(-3px);
}

.client-logo:hover img {
  filter: brightness(0) saturate(100%) invert(36%);
}

.clients-cta {
  margin-top: 68px;
  display: flex;
  justify-content: center;
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 22px;
  color: var(--text-secondary);
  font-size: 1.65rem;
  line-height: 1.8;
}

.contact-info p {
  margin: 0;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.form-field {
  display: block;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-primary);
  padding: 28px 26px;
  font-size: 1.45rem;
  outline: none;
  transition: border-color 180ms ease, background 180ms ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-muted);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(200, 169, 126, 0.42);
  background: rgba(255, 255, 255, 0.06);
}

.form-field--message {
  grid-column: 3;
  grid-row: 1 / span 2;
}

.form-field--email {
  grid-column: 1 / span 2;
}

.form-field textarea {
  min-height: 100%;
  resize: vertical;
}

.contact-form-footer {
  margin-top: 88px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.form-status {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.2rem;
}

.form-status:empty {
  display: none;
}

#site-footer {
  padding: 36px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(10, 10, 10, 0.82);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-contact {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 18px;
  text-align: left;
  white-space: nowrap;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-contact p {
  margin: 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  margin-left: auto;
}

.footer-copy {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.13rem;
}

@media (min-width: 901px) {
  .footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;
    text-align: center;
    gap: 18px;
  }

  .footer-contact {
    justify-self: stretch;
    width: 100%;
    margin-top: 16px;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    color: var(--text-secondary);
    font-size: 1.18rem;
  }

  .footer-bottom {
    justify-self: stretch;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-left: 0;
  }

  .footer-bottom .footer-copy {
    order: 1;
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 1.18rem;
    text-align: center;
  }

  .footer-bottom .footer-logo {
    order: 2;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .section-panel {
    padding: 90px 0;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-label,
  .eyebrow {
    font-size: 1.05rem;
    letter-spacing: calc(0.22em - 1px);
  }

  .section-heading h2 {
    font-size: 2.35rem;
  }

  .hero-copy {
    width: min(100%, 980px);
  }

  .hero-title {
    font-size: clamp(3.6rem, 6vw, 5.1rem);
    max-width: 11.25ch;
  }

  .hero-description {
    max-width: 40ch;
    margin-bottom: 32px;
    font-size: 1.3rem;
    line-height: 1.55;
  }

  .pill-button {
    min-width: 200px;
    padding: 16px 28px;
    font-size: 1rem;
    letter-spacing: 0.17em;
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px 28px;
    min-height: auto;
  }

  .about-section {
    padding-top: 124px;
    padding-bottom: 110px;
  }

  .about-section .section-inner {
    min-height: auto;
  }

  .about-copy h3,
  .about-specializations h3 {
    font-size: 2.35rem;
    margin-bottom: 16px;
  }

  .about-copy p {
    font-size: 1.12rem;
    line-height: 1.72;
    max-width: 34ch;
  }

  .specialization-list {
    gap: 20px;
    margin-top: 10px;
  }

  .specialization-item {
    min-height: 64px;
    padding-bottom: 14px;
    gap: 14px;
    font-size: 0.96rem;
    letter-spacing: calc(0.14em - 1px);
  }

  .specialization-item i {
    width: 22px;
    font-size: 1rem;
  }

  .about-image-wrap {
    grid-column: 1 / -1;
    min-height: 380px;
    align-self: stretch;
  }

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

  .project-card,
  .project-card--featured {
    min-height: 760px;
    transform: none;
  }

  .project-card-inner {
    padding: 20px 20px 22px;
  }

  .project-topline {
    font-size: 1rem;
  }

  .project-focus {
    width: 74px;
    height: 74px;
    font-size: 1.1rem;
  }

  .project-location,
  .project-category {
    font-size: 0.74rem;
  }

  .stats-section {
    padding-top: 128px;
  }

  .stats-number {
    font-size: clamp(8rem, 17vw, 12rem);
  }

  .stats-copy {
    max-width: 180px;
    margin-bottom: 16px;
    font-size: 1rem;
  }

  .clients-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px 16px;
  }

  .client-logo {
    min-height: 94px;
  }

  .client-logo img {
    width: min(100%, 136px);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form-grid {
    gap: 16px;
  }

  .form-field input,
  .form-field textarea {
    padding: 18px 18px;
    font-size: 1rem;
  }

  .contact-form-footer {
    margin-top: 22px;
  }

  .footer-copy {
    font-size: 0.95rem;
  }
}

@media (max-width: 900px) {
  :root {
    --rail-width: 0px;
    --nav-height: 78px;
  }

  .section-panel {
    padding: 76px 0;
  }

  .side-rail {
    display: none;
  }

  .page-content {
    margin-left: 0;
  }

  .top-nav {
    left: 0;
    height: var(--nav-height);
    justify-content: space-between;
    padding: 0 clamp(18px, 4vw, 28px);
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: var(--container-padding);
    left: var(--container-padding);
    display: grid;
    gap: 14px;
    padding: 16px 18px;
    background: rgba(17, 17, 17, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

  .nav-logo {
    display: inline-flex;
    margin-right: 0;
    font-size: 1.55rem;
    letter-spacing: 0.04em;
  }

  .nav-link {
    font-size: 0.92rem;
    letter-spacing: calc(0.16em - 1px);
  }

  .nav-logo,
  .nav-link,
  .hero-title,
  .section-heading h2,
  .about-copy h3,
  .about-specializations h3,
  .project-topline {
    font-weight: 200;
  }

  .eyebrow,
  .section-label,
  .hero-description,
  .about-copy p,
  .specialization-item,
  .project-location,
  .project-category,
  .contact-info,
  .form-field input,
  .form-field textarea,
  .footer-copy {
    font-weight: 300;
  }

  .hero-inner,
  .hero-ui {
    min-height: 100svh;
  }

  .hero-inner {
    justify-items: start;
    padding-top: calc(var(--nav-height) + 22px);
    padding-bottom: 34px;
  }

  .hero-ui {
    padding-bottom: 24px;
  }

  .about-section {
    min-height: auto;
    padding-top: 92px;
    padding-bottom: 76px;
  }

  .about-section .section-inner {
    min-height: auto;
  }

  .about-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 28px 22px;
  }

  .about-image-wrap {
    grid-column: 1 / -1;
    min-height: 320px;
  }

  .about-copy h3,
  .about-specializations h3 {
    font-size: 2rem;
  }

  .about-copy p {
    font-size: 1rem;
    line-height: 1.66;
  }

  .specialization-item {
    min-height: 56px;
    font-size: 0.9rem;
  }

  .hero-copy {
    text-align: left;
    margin-left: 0;
    margin-right: auto;
    width: min(100%, 520px);
  }

  .hero-title,
  .hero-description {
    margin-left: 0;
  }

  .hero-title {
    font-size: clamp(2.55rem, 7vw, 3.8rem);
    max-width: 9.8ch;
  }

  .eyebrow {
    font-size: 0.92rem;
  }

  .hero-description {
    font-size: 1.02rem;
    line-height: 1.55;
    max-width: 30ch;
    margin-bottom: 26px;
  }

  .pill-button {
    min-width: 158px;
    padding: 14px 22px;
    font-size: 0.88rem;
    font-weight: 400;
    letter-spacing: 0.16em;
  }

  .section-watermark {
    font-size: clamp(3rem, 18vw, 6.2rem);
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .section-label {
    font-size: 0.86rem;
  }

  .section-heading h2 {
    font-size: 1.95rem;
  }

  .projects-heading-wrap {
    margin-bottom: 18px;
  }

  .projects-side-label {
    display: none;
  }

  .project-card,
  .project-card--featured {
    min-height: 560px;
  }

  .project-card-inner {
    padding: 18px;
  }

  .project-topline {
    font-size: 0.88rem;
    max-width: 11ch;
  }

  .project-meta {
    gap: 14px;
  }

  .project-location {
    font-size: 0.68rem;
  }

  .project-category {
    font-size: 0.64rem;
    letter-spacing: calc(0.22em - 1px);
  }

  .project-focus {
    width: 62px;
    height: 62px;
    font-size: 0.95rem;
  }

  .stats-section {
    padding-top: 90px;
  }

  .stats-wrap {
    gap: 18px;
  }

  .stats-number {
    font-size: clamp(6.2rem, 22vw, 9rem);
  }

  .stats-copy {
    max-width: 160px;
    font-size: 0.88rem;
    margin-bottom: 0;
  }

  .clients-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 14px;
  }

  .client-logo {
    min-height: 86px;
  }

  .client-logo img {
    width: min(100%, 120px);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-info {
    gap: 12px;
    font-size: 1rem;
    line-height: 1.55;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .form-field--message {
    grid-column: auto;
    grid-row: auto;
  }

  .form-field--email {
    grid-column: auto;
  }

  .form-field input,
  .form-field textarea {
    padding: 16px 16px;
    font-size: 0.96rem;
  }

  .form-field textarea {
    min-height: 156px;
  }

  .contact-form-footer {
    margin-top: 18px;
    gap: 14px;
  }

  .form-status {
    font-size: 0.95rem;
  }

  .footer-inner {
    gap: 10px;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .footer-copy {
    font-size: 0.88rem;
  }
}

@media (min-width: 681px) and (max-width: 900px) {
  .nav-logo {
    font-size: 1.42rem;
  }

  .nav-link {
    font-size: 0.8rem;
  }

  .hero-copy {
    width: min(100%, 560px);
    margin-right: auto;
  }

  .hero-title {
    font-size: clamp(2.5rem, 5.2vw, 3.15rem);
    max-width: 12ch;
  }

  .hero-description {
    max-width: 34ch;
    font-size: 0.96rem;
  }

  .pill-button {
    min-width: 150px;
    padding: 13px 20px;
    font-size: 0.82rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-copy h3,
  .about-specializations h3 {
    font-size: 1.82rem;
  }

  .about-copy p {
    max-width: 44ch;
    font-size: 0.96rem;
  }

  .specialization-list {
    gap: 16px;
  }

  .specialization-item {
    min-height: 48px;
    font-size: 0.82rem;
  }

  .about-image-wrap {
    width: min(50%, 280px);
    min-height: 140px;
    margin: 0 auto;
    justify-self: center;
  }

  .projects-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .project-card,
  .project-card--featured {
    min-height: 360px;
  }

  .project-topline {
    font-size: 0.7rem;
    max-width: 10ch;
  }

  .project-location,
  .project-category {
    font-size: 0.56rem;
  }

  .project-category {
    writing-mode: horizontal-tb;
    text-align: right;
  }

  .project-focus {
    width: 50px;
    height: 50px;
    font-size: 0.8rem;
  }

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

  .client-logo {
    min-height: 74px;
  }

  .client-logo img {
    width: min(100%, 102px);
  }

  .contact-info {
    font-size: 0.9rem;
    gap: 10px;
  }

  .contact-grid {
    width: min(100%, 560px);
    margin: 0 auto;
  }

  .form-field input,
  .form-field textarea {
    padding: 13px 14px;
    font-size: 0.88rem;
  }

  .form-field textarea {
    min-height: 126px;
  }

  .contact-form-footer {
    flex-direction: column;
    align-items: center;
  }

  .footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;
    gap: 10px;
    text-align: center;
  }
}

@media (min-width: 681px) and (max-width: 900px) {
  .stats-wrap {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }

  .stats-number {
    font-size: clamp(14rem, 64vw, 17rem);
  }

  .stats-copy {
    margin-bottom: 0;
    text-align: center;
  }

  .contact-form-footer .pill-button {
    align-self: center;
  }

  .footer-contact {
    justify-self: stretch;
    width: 100%;
    margin-top: 16px;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    color: var(--text-secondary);
    font-size: 1.18rem;
  }

  .footer-bottom {
    justify-self: stretch;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-left: 0;
  }

  .footer-bottom .footer-copy {
    order: 1;
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 1.18rem;
    text-align: center;
  }

  .footer-bottom .footer-logo {
    order: 2;
  }
}

@media (max-width: 680px) {
  :root {
    --nav-height: 72px;
  }

  .section-panel {
    padding: 58px 0;
  }

  .top-nav {
    padding: 0 18px;
  }

  .menu-toggle {
    width: 48px;
    height: 48px;
  }

  .menu-toggle span {
    width: 18px;
  }

  .nav-logo {
    font-size: 1.28rem;
  }

  .nav-menu {
    right: 18px;
    left: 18px;
    gap: 12px;
    padding: 14px 16px;
  }

  .nav-link {
    font-size: 0.84rem;
  }

  .nav-logo,
  .nav-link,
  .hero-title,
  .section-heading h2,
  .about-copy h3,
  .about-specializations h3,
  .project-topline {
    font-weight: 200;
  }

  .hero-description,
  .about-copy p,
  .specialization-item,
  .contact-info,
  .form-field input,
  .form-field textarea,
  .footer-copy {
    font-weight: 300;
  }

  .hero-inner,
  .hero-ui {
    min-height: 100svh;
  }

  .hero-inner {
    padding-top: calc(var(--nav-height) + 18px);
    padding-bottom: 28px;
  }

  .hero-ui {
    padding-bottom: 42px;
  }

  .hero-title {
    font-size: clamp(1.68rem, 9vw, 2.2rem);
    max-width: 11.5ch;
    margin: 10px 0 14px;
  }

  .eyebrow {
    font-size: 0.78rem;
    letter-spacing: calc(0.18em - 1px);
  }

  .hero-description {
    max-width: 22ch;
    margin-bottom: 20px;
    font-size: 0.86rem;
    line-height: 1.46;
  }

  .pill-button {
    min-width: 128px;
    padding: 11px 16px;
    font-size: 0.74rem;
    font-weight: 400;
    letter-spacing: 0.14em;
  }

  .hero-dots {
    gap: 6px;
  }

  .hero-dot {
    width: 8px;
    height: 8px;
    padding: 0;
  }

  .section-heading {
    margin-bottom: 22px;
  }

  .section-label {
    font-size: 0.72rem;
  }

  .section-heading h2 {
    font-size: 1.42rem;
  }

  .about-grid,
  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    gap: 22px;
  }

  .about-section {
    padding-top: 74px;
    padding-bottom: 58px;
  }

  .about-copy h3,
  .about-specializations h3 {
    font-size: 1.56rem;
    line-height: 1.02;
  }

  .about-copy p {
    font-size: 0.9rem;
    line-height: 1.54;
    max-width: none;
  }

  .specialization-list {
    gap: 14px;
  }

  .specialization-item {
    min-height: 50px;
    padding-bottom: 10px;
    font-size: 0.78rem;
    letter-spacing: calc(0.08em - 1px);
  }

  .specialization-item i {
    width: 18px;
    font-size: 0.92rem;
  }

  .about-image-wrap {
    min-height: 280px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card,
  .project-card--featured {
    min-height: 420px;
  }

  .project-card-inner {
    padding: 16px;
  }

  .project-topline {
    font-size: 0.76rem;
  }

  .project-location,
  .project-category {
    font-size: 0.58rem;
  }

  .project-category {
    writing-mode: horizontal-tb;
    text-align: right;
  }

  .project-focus {
    width: 56px;
    height: 56px;
    font-size: 0.86rem;
  }

  .stats-section {
    padding-top: 48px;
    padding-bottom: 12px;
  }

  .stats-wrap {
    align-items: center;
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .stats-number {
    font-size: clamp(12rem, 60vw, 15rem);
  }

  .stats-copy {
    max-width: 16ch;
    font-size: 0.88rem;
    margin-bottom: 0;
    text-align: center;
  }

  .clients-section {
    padding-top: 24px;
  }

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

  .client-logo {
    min-height: 74px;
  }

  .client-logo img {
    width: min(100%, 102px);
  }

  .clients-cta {
    margin-top: 36px;
  }

  .contact-grid {
    gap: 22px;
  }

  .contact-info {
    font-size: 0.9rem;
    gap: 10px;
  }

  .form-field--message {
    grid-column: auto;
    grid-row: auto;
  }

  .form-field input,
  .form-field textarea {
    padding: 13px 14px;
    font-size: 0.88rem;
  }

  .form-field textarea {
    min-height: 126px;
  }

  .contact-form-footer {
    flex-direction: column;
    align-items: center;
  }

  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
  }

  .footer-logo {
    font-size: 1.05rem;
  }

  .footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: normal;
    flex-wrap: nowrap;
    width: 100%;
    color: var(--text-secondary);
    font-size: 0.88rem;
    gap: 8px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
  }

  .footer-copy {
    order: 1;
    color: var(--text-secondary);
    font-size: 0.88rem;
    text-align: center;
  }

  .footer-logo {
    order: 2;
  }
}

/* ============================================================
   Legal pages (Terms, Privacy)
   Standalone document pages — minimal top bar, readable column,
   shared brand tokens. Appended, do not modify rules above.
   ============================================================ */

.legal-body {
  background:
    radial-gradient(circle at top left, rgba(200, 169, 126, 0.10), transparent 32%),
    linear-gradient(180deg, #1d1d1d 0%, #171717 100%);
  min-height: 100vh;
  color: var(--text-primary);
  font-family: "Geist", sans-serif;
}

.legal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 4vw, 48px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(12, 12, 12, 0.86), rgba(12, 12, 12, 0.24));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.legal-nav-logo {
  font-family: "Geist", sans-serif;
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--text-primary);
}

.legal-nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 28px);
}

.legal-nav-links a {
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 180ms ease;
}

.legal-nav-links a:hover {
  color: var(--primary);
}

.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) clamp(24px, 5vw, 48px) 96px;
  line-height: 1.75;
  color: var(--text-secondary);
  font-size: 1.02rem;
}

.legal-page .legal-eyebrow {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--primary);
}

.legal-page h1 {
  margin: 0 0 12px;
  font-family: "Geist", sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.15;
  color: var(--text-primary);
}

.legal-page .legal-meta {
  margin: 0 0 36px;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.legal-page .legal-lede {
  font-size: 1.08rem;
  color: var(--text-secondary);
  margin: 0 0 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.legal-page section {
  margin-top: 40px;
}

.legal-page section:first-of-type {
  margin-top: 0;
}

.legal-page h2 {
  margin: 0 0 14px;
  font-family: "Geist", sans-serif;
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

.legal-page h3 {
  margin: 28px 0 10px;
  font-family: "Geist", sans-serif;
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--text-primary);
}

.legal-page p {
  margin: 0 0 16px;
}

.legal-page ul {
  margin: 0 0 20px;
  padding-left: 22px;
}

.legal-page ul li {
  margin-bottom: 8px;
}

.legal-page a {
  color: var(--primary);
  border-bottom: 1px solid rgba(200, 169, 126, 0.35);
  transition: color 160ms ease, border-color 160ms ease;
}

.legal-page a:hover {
  color: var(--primary-light);
  border-bottom-color: var(--primary-light);
}

.legal-page strong {
  color: var(--text-primary);
  font-weight: 500;
}

.legal-page .legal-contact {
  padding: 20px 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 2px;
  line-height: 1.9;
}

.legal-footer {
  padding: 32px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(10, 10, 10, 0.82);
}

.legal-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.legal-footer-logo {
  font-family: "Geist", sans-serif;
  font-size: 1.3rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--text-primary);
}

.legal-footer-copy {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.legal-footer-links {
  display: flex;
  gap: 22px;
}

.legal-footer-links a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.legal-footer-links a:hover {
  color: var(--primary);
}

@media (max-width: 640px) {
  .legal-footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* A2P 10DLC compliance: business info + legal links */
.footer-business {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  margin-top: 18px;
  font-size: 0.82rem;
  color: #a9a9a9;
  text-align: center;
}

.footer-business-line {
  margin: 0;
  line-height: 1.5;
}

.footer-business a {
  color: #a9a9a9;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-business a:hover,
.footer-business a:focus {
  color: #c8a97e;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 10px;
  margin-top: 12px;
  font-size: 0.8rem;
}

.footer-legal a {
  color: #c8a97e;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: opacity 0.2s ease;
}

.footer-legal a:hover,
.footer-legal a:focus {
  opacity: 0.75;
}

.footer-legal-sep {
  color: #5f5f5f;
}

@media (max-width: 540px) {
  .footer-business {
    flex-direction: column;
    gap: 4px;
  }
}

/* Footer text normalization — unify size across all sub-elements so copy,
   address/email/phone, and legal links all visually match. Applied last so
   it wins over earlier breakpoint-specific rules. */
.footer-copy,
.footer-copy *,
.footer-business,
.footer-business *,
.footer-business-line,
.footer-business-line a,
.footer-legal,
.footer-legal a {
  font-size: 1.33rem !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
}

.footer-business,
.footer-business-line,
.footer-business-line a,
.footer-copy {
  color: #a9a9a9 !important;
}

.footer-legal a {
  color: #c8a97e !important;
}

/* Extend footer text unify to .footer-contact children (contactInfo rendering) */
.footer-contact,
.footer-contact *,
.footer-contact a,
.footer-contact p {
  font-size: 1.33rem !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  color: #a9a9a9 !important;
}
