:root {
  --bg: #fbf7ef;
  --bg-2: #fffdf8;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-solid: #ffffff;
  --text: #17130f;
  --muted: #6c6258;
  --faint: #ded2c2;
  --line: rgba(50, 38, 28, 0.14);
  --accent: #8a5d35;
  --accent-2: #c8a064;
  --button: #17130f;
  --button-text: #ffffff;
  --shadow: 0 24px 80px rgba(57, 39, 22, 0.14);
  --soft-shadow: 0 12px 42px rgba(57, 39, 22, 0.1);
  --radius: 28px;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
  --max: 1360px;
}

[data-theme="obsidian"] {
  --bg: #080807;
  --bg-2: #11100d;
  --surface: rgba(28, 25, 21, 0.78);
  --surface-solid: #17140f;
  --text: #f4eadc;
  --muted: #b9aa99;
  --faint: rgba(230, 205, 165, 0.2);
  --line: rgba(232, 207, 167, 0.18);
  --accent: #d7b070;
  --accent-2: #f0d49b;
  --button: #f3dfbd;
  --button-text: #11100d;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  --soft-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(205, 165, 104, 0.18), transparent 34rem),
    linear-gradient(180deg, var(--bg), var(--bg-2) 42rem, var(--bg));
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  transition: background 500ms ease, color 300ms ease;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.lazy-image {
  background: color-mix(in srgb, var(--faint) 58%, transparent);
  opacity: 0.001;
  transition: opacity 420ms ease, background 420ms ease;
}

.lazy-image.is-loaded {
  background: transparent;
  opacity: 1;
}

@supports (content-visibility: auto) {
  main > section:not(.hero) {
    content-visibility: auto;
    contain-intrinsic-size: 900px;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

section {
  scroll-margin-top: 96px;
}

::selection {
  background: var(--accent);
  color: #fff;
}

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 72px;
  padding: 0 clamp(18px, 4vw, 56px);
  color: var(--text);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid transparent;
  backdrop-filter: saturate(170%) blur(22px);
  -webkit-backdrop-filter: saturate(170%) blur(22px);
  transition: border-color 250ms ease, background 250ms ease, box-shadow 250ms ease;
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.06);
}

.brand,
.header-actions,
.desktop-nav,
.theme-toggle {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  object-position: center;
  border-radius: 50%;
  background: #0f0e0d;
  padding: 5px;
  box-sizing: border-box;
  display: block;
}

.brand span {
  white-space: nowrap;
}

.desktop-nav {
  gap: 2px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-solid) 58%, transparent);
}

.desktop-nav a {
  padding: 9px 15px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  transition: background 200ms ease, color 200ms ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  background: var(--text);
  color: var(--bg);
}

.header-actions {
  gap: 10px;
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface-solid) 64%, transparent);
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.theme-toggle:hover {
  background: var(--line);
  transform: scale(1.05);
}

.header-cta,
.mobile-cta {
  padding: 11px 17px;
  border-radius: 999px;
  background: var(--button);
  color: var(--button-text);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface-solid);
  border: 1px solid var(--line);
}

.menu-toggle span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 220ms ease, opacity 180ms ease;
}

.menu-toggle span:nth-child(1) {
  top: 15px;
}

.menu-toggle span:nth-child(2) {
  top: 21px;
}

.menu-toggle span:nth-child(3) {
  top: 27px;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 72px 12px auto;
  z-index: 70;
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 800;
}

.mobile-nav a:not(.mobile-cta) {
  background: var(--surface);
}

.hero {
  position: relative;
  min-height: 96vh;
  padding: 104px clamp(16px, 4vw, 56px) 120px;
  display: grid;
  grid-template-rows: 1fr auto;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 10%, transparent), var(--bg) 95%),
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.72), transparent 32rem);
}

[data-theme="obsidian"] .hero::before {
  background:
    radial-gradient(circle at 50% 12%, rgba(215, 176, 112, 0.16), transparent 38rem),
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), var(--bg) 92%);
}

.hero-media {
  position: absolute;
  inset: 82px clamp(16px, 4vw, 56px) 120px;
  z-index: -1;
  overflow: hidden;
  border-radius: 0 0 42px 42px;
  box-shadow: var(--shadow);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(251, 247, 239, 0.76), rgba(251, 247, 239, 0.2) 42%, rgba(251, 247, 239, 0.84)),
    linear-gradient(90deg, rgba(251, 247, 239, 0.55), transparent 35%, rgba(251, 247, 239, 0.5));
}

[data-theme="obsidian"] .hero-media::after {
  background:
    linear-gradient(180deg, rgba(8, 8, 7, 0.28), rgba(8, 8, 7, 0.2) 42%, rgba(8, 8, 7, 0.9)),
    linear-gradient(90deg, rgba(8, 8, 7, 0.62), transparent 45%, rgba(8, 8, 7, 0.65));
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translateY(0);
  }

  to {
    transform: scale(1.1) translateY(-16px);
  }
}

.hero-copy {
  align-self: center;
  justify-self: center;
  width: min(980px, 100%);
  padding: clamp(24px, 5.4vw, 70px) 0 clamp(18px, 3vw, 34px);
  text-align: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  letter-spacing: 0;
}

h1 {
  max-width: 920px;
  margin: 0 auto;
  font-family: var(--font-sans);
  font-size: clamp(46px, 7vw, 88px);
  line-height: 0.94;
  font-weight: 800;
}

.hero-lede {
  max-width: 780px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.45;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--button);
  color: var(--button-text);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  border: 1px solid transparent;
}

.btn-secondary {
  background: color-mix(in srgb, var(--surface-solid) 78%, transparent);
  color: var(--text);
  border: 1px solid var(--line);
}

.hero-product-nav {
  justify-self: center;
  display: grid;
  grid-template-columns: repeat(4, minmax(118px, 1fr));
  gap: 8px;
  width: min(640px, 100%);
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: color-mix(in srgb, var(--surface-solid) 72%, transparent);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.hero-product-nav a {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 10px 8px 9px;
  border-radius: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.hero-product-nav a:hover {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border-color: color-mix(in srgb, var(--accent) 22%, transparent);
  color: var(--text);
  transform: translateY(-1px);
}

.hero-product-nav img {
  width: 62px;
  height: 44px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

/* ── Stats Strip ── */
.intro-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: var(--max);
  margin: -80px auto 0;
  padding: 0 clamp(16px, 4vw, 56px) 72px;
  position: relative;
  z-index: 10;
}

.intro-strip .stat-card {
  padding: 34px 28px;
  background: var(--surface);
  border: none;
  border-radius: 22px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--soft-shadow);
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s ease,
    background 0.3s ease;
}

/* Staggered entrance reveal */
.intro-strip .stat-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.intro-strip .stat-card:nth-child(1) {
  transition-delay: 0s;
}

.intro-strip .stat-card:nth-child(2) {
  transition-delay: 0.1s;
}

.intro-strip .stat-card:nth-child(3) {
  transition-delay: 0.2s;
}

.intro-strip .stat-card:nth-child(4) {
  transition-delay: 0.3s;
}

/* Out-of-sync floating after entrance */
.intro-strip .stat-card.is-visible:nth-child(1) {
  animation: cardFloat1 6s 0.8s ease-in-out infinite alternate;
}

.intro-strip .stat-card.is-visible:nth-child(2) {
  animation: cardFloat2 6.5s 1.0s ease-in-out infinite alternate;
}

.intro-strip .stat-card.is-visible:nth-child(3) {
  animation: cardFloat1 7s 1.2s ease-in-out infinite alternate;
}

.intro-strip .stat-card.is-visible:nth-child(4) {
  animation: cardFloat2 5.8s 0.9s ease-in-out infinite alternate;
}

@keyframes cardFloat1 {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-10px);
  }
}

@keyframes cardFloat2 {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-8px);
  }
}

/* Hover */
.intro-strip .stat-card:hover {
  animation-play-state: paused;
  transform: translateY(-14px) scale(1.03);
  box-shadow: var(--shadow);
  background: color-mix(in srgb, var(--surface) 90%, var(--accent) 10%);
}

/* Number */
.intro-strip .stat-card strong {
  display: block;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent);
  transition: text-shadow 0.3s ease, color 0.3s ease;
}

.intro-strip .stat-card:hover strong {
  color: var(--accent-2);
  text-shadow: 0 0 22px color-mix(in srgb, var(--accent) 40%, transparent);
}

/* Label */
.intro-strip .stat-card span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.section {
  padding: clamp(74px, 9vw, 132px) clamp(16px, 4vw, 56px);
}

.section-heading {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto 42px;
}

.section-heading.center {
  text-align: center;
}

.section-heading h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(36px, 5.6vw, 76px);
  line-height: 1;
  font-weight: 800;
}

.section-heading.center h2 {
  margin-left: auto;
  margin-right: auto;
}



.projects-section {
  height: auto;
  min-height: 0;
  padding: 44px clamp(16px, 4vw, 56px) 72px;
  display: grid;
  grid-template-rows: auto auto;
  gap: 22px;
}

.projects-top {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(420px, 1.1fr);
  align-items: end;
  gap: 24px;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
}

.projects-top h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.project-filters {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}

.project-filter {
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-solid) 62%, transparent);
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.project-filter:hover {
  transform: translateY(-1px);
  color: var(--text);
}

.project-filter.active {
  background: var(--button);
  color: var(--button-text);
}

.project-mosaic {
  display: block;
  columns: 5 180px;
  column-gap: 8px;
  max-width: var(--max);
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0 auto;
  overflow: visible;
}

.project-tile {
  position: relative;
  display: block;
  width: 100%;
  break-inside: avoid;
  margin: 0 0 8px;
  overflow: hidden;
  padding: 0;
  border: none;
  border-radius: 18px;
  background: transparent;
  color: #fff;
  box-shadow: none;
  isolation: isolate;
  transition: transform 180ms ease, opacity 260ms ease, filter 260ms ease;
}

.project-tile.tile-wide {
  grid-column: auto;
  grid-row: auto;
}

.project-tile.tile-tall {
  grid-column: auto;
  grid-row: auto;
}

.project-tile.tile-large {
  grid-column: auto;
  grid-row: auto;
}

.project-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 38%, rgba(0, 0, 0, 0.78));
  opacity: 0.82;
}

.project-tile img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 520ms ease;
}

.project-tile:hover {
  transform: translateY(-3px);
}

.project-tile:hover img {
  transform: scale(1.06);
}

.project-tile span {
  position: absolute;
  z-index: 2;
  left: 14px;
  right: 14px;
  bottom: 12px;
  color: #fff;
  font-size: clamp(12px, 1.1vw, 15px);
  font-weight: 900;
  line-height: 1.1;
  text-align: left;
}

.project-tile.is-hidden {
  display: none;
}

.project-dialog {
  width: min(960px, calc(100vw - 28px));
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface-solid);
  color: var(--text);
  box-shadow: var(--shadow);
}

.project-dialog::backdrop {
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.project-dialog[open] {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

.project-dialog-image {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.project-dialog-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 54px);
}

.project-dialog-copy h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.project-dialog-copy p:not(.eyebrow) {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.project-dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.signature-section {
  background:
    linear-gradient(180deg, transparent, color-mix(in srgb, var(--surface-solid) 40%, transparent), transparent);
}

.signature-section.section {
  min-height: 100svh;
  padding-top: clamp(28px, 4vh, 48px);
  padding-bottom: clamp(24px, 4vh, 44px);
}

.signature-section .section-heading {
  margin-bottom: clamp(16px, 3vh, 24px);
}

.signature-section .section-heading h2 {
  max-width: 980px;
  margin: 0 auto;
  font-size: clamp(30px, 4.25vw, 52px);
  line-height: 0.96;
}

.feature-panel {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 0;
  align-items: stretch;
  max-width: var(--max);
  margin: 0 auto;
  overflow: hidden;
  border: none;
  border-radius: 36px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feature-panel img {
  align-self: stretch;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center center;
}

.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(20px, 2.7vw, 34px);
}

.feature-copy h3 {
  margin: 0;
  font-size: clamp(21px, 2.25vw, 32px);
  line-height: 1.02;
  letter-spacing: 0;
}

.feature-copy p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.material-row,
.credential-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.material-row button,
.credential-grid span {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-solid) 62%, transparent);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.material-row button:hover,
.material-row button.active {
  background: var(--button);
  border-color: var(--accent);
  color: var(--button-text);
  transform: translateY(-1px);
}

[data-theme="obsidian"] .material-row button:hover,
[data-theme="obsidian"] .material-row button.active {
  background: #f3dfbd;
  color: #11100d;
}

.material-detail {
  min-height: 48px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-weight: 700;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: var(--max);
  margin: 18px auto 0;
}

.comparison-card,
.service-card,
.process-step {
  padding: clamp(24px, 3vw, 36px);
  border: none;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.comparison-card h3,
.service-card h3,
.process-step h3 {
  margin: 16px 0 10px;
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.05;
  letter-spacing: 0;
}

.comparison-card p,
.service-card p,
.process-step p,
.studio-copy p,
.contact-copy p {
  color: var(--muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: var(--max);
  margin: 0 auto;
}

.service-card {
  position: relative;
  min-height: clamp(170px, 23vh, 210px);
  overflow: hidden;
  padding: clamp(18px, 2vw, 28px);
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  background: color-mix(in srgb, var(--surface-solid) 78%, transparent);
  border-color: color-mix(in srgb, var(--accent) 42%, transparent);
}

.service-card p {
  margin-bottom: 0;
}

.services-section {
  position: relative;
  min-height: 100svh;
  padding-top: clamp(34px, 5vh, 58px);
  padding-bottom: clamp(28px, 4vh, 46px);
  background:
    radial-gradient(circle at 14% 20%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 28rem),
    linear-gradient(180deg, transparent, color-mix(in srgb, var(--surface-solid) 26%, transparent), transparent);
}

.services-section .section-heading {
  max-width: 1050px;
  margin-bottom: clamp(20px, 3vh, 30px);
}

.services-section .section-heading h2 {
  max-width: 1120px;
  font-size: clamp(30px, 3.64vw, 49px);
  line-height: 1.02;
}

.services-section .section-intro {
  max-width: 830px;
  margin-top: 14px;
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.5;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 13%, transparent), transparent 42%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.service-card:hover::before,
.service-card-featured::before {
  opacity: 1;
}

.service-card>* {
  position: relative;
  z-index: 1;
}

.service-card h3 {
  max-width: 360px;
  margin: 10px 0 7px;
  font-size: clamp(22px, 1.75vw, 28px);
  line-height: 1.02;
}

.service-card p {
  font-size: 13px;
  line-height: 1.42;
}

.service-card-featured {
  grid-column: auto;
  grid-row: auto;
  min-height: clamp(170px, 23vh, 210px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--text) 2%, transparent), color-mix(in srgb, var(--text) 8%, transparent)),
    var(--surface);
  border-color: color-mix(in srgb, var(--accent) 36%, transparent);
}

.service-card-featured h3 {
  max-width: 390px;
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1;
}

.service-card-featured p {
  max-width: 420px;
  font-size: 13px;
  line-height: 1.42;
  font-weight: 650;
}

.service-card-featured ul {
  display: grid;
  gap: 6px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.service-card-featured li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  font-size: 12px;
  font-weight: 850;
}

.service-card-featured li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 14%, transparent);
  flex: 0 0 auto;
}

/* ── Services Bento Grid ── */
.services-section {
  position: relative;
  padding-top: clamp(34px, 5vh, 58px);
  padding-bottom: clamp(32px, 5vh, 58px);
  background:
    radial-gradient(circle at 20% 22%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 24rem),
    radial-gradient(circle at 82% 72%, color-mix(in srgb, var(--surface-solid) 6%, transparent), transparent 22rem),
    var(--bg);
}

.services-section .section-heading {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 0.72fr);
  gap: clamp(22px, 5vw, 72px);
  align-items: end;
  max-width: var(--max);
  margin: 0 auto clamp(24px, 4vh, 36px);
}

.services-section .section-heading h2 {
  max-width: 780px;
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 0.96;
}

.services-section .section-intro {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.65;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 14px;
  max-width: var(--max);
  margin: 0 auto;
}

.services-grid .service-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: 22px;
  border: none;
  background: #111;
  box-shadow: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.services-grid .service-card:hover {
  transform: translateY(-6px);
}

/* Hero cards span 2 columns */
.services-grid .service-card-hero {
  grid-column: span 2;
  min-height: 360px;
}

/* Image layer */
.services-grid .service-card>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.65;
  filter: saturate(0.8) contrast(1.1);
  transition: opacity 400ms ease, transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.services-grid .service-card:hover>img {
  opacity: 0.85;
  transform: scale(1.05);
}

/* Gradient overlay on top of image */
.services-grid .service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 20%, rgba(10, 8, 5, 0.9) 80%);
  pointer-events: none;
  opacity: 0.3;
}

.services-grid .service-card::after {
  display: none;
}

/* Text content */
.services-grid .service-card-content {
  position: relative;
  z-index: 2;
  padding: clamp(20px, 2.5vw, 32px);
}

.services-grid .service-card-content span {
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.services-grid .service-card-content h3 {
  margin: 10px 0 8px;
  color: #ffffff;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.1;
  letter-spacing: 0;
  min-height: 2.2em;
}

.services-grid .service-card-content p {
  max-width: 420px;
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.5;
  min-height: 4.5em;
}

.services-grid .service-card>h3::after {
  display: none;
}

.process-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(240px, 1fr));
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: thin;
}

.process-step {
  min-height: 330px;
}

.studio-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.studio-portrait {
  overflow: hidden;
  border-radius: 36px;
  box-shadow: var(--shadow);
}

.studio-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.studio-copy h2,
.contact-copy h2 {
  margin: 0 0 22px;
  font-size: clamp(38px, 5vw, 70px);
  line-height: 1;
  letter-spacing: 0;
}

.studio-copy p {
  font-size: 18px;
}

.contact-section {
  padding-top: 40px;
}

.contact-shell {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(24px, 5vw, 70px);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(26px, 5vw, 70px);
  border-radius: 38px;
  background: var(--text);
  color: var(--bg);
  box-shadow: var(--shadow);
}

[data-theme="obsidian"] .contact-shell {
  background: #f2dfbd;
  color: #11100d;
}

.contact-copy p {
  color: color-mix(in srgb, var(--bg) 74%, transparent);
  font-size: 18px;
}

[data-theme="obsidian"] .contact-copy p {
  color: rgba(17, 16, 13, 0.72);
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-list a,
.contact-list address {
  font-style: normal;
  color: inherit;
  opacity: 0.82;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  padding: 14px 16px;
  outline: none;
  text-transform: none;
  letter-spacing: 0;
}

[data-theme="obsidian"] .contact-form input,
[data-theme="obsidian"] .contact-form select,
[data-theme="obsidian"] .contact-form textarea {
  border-color: rgba(17, 16, 13, 0.16);
  background: rgba(17, 16, 13, 0.06);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: currentColor;
  opacity: 0.45;
}

.contact-form select option {
  color: #17130f;
}

.contact-form textarea {
  min-height: 118px;
  resize: vertical;
}

.contact-form .btn {
  justify-self: start;
  background: var(--bg);
  color: var(--text);
}

[data-theme="obsidian"] .contact-form .btn {
  background: #11100d;
  color: #f2dfbd;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: inherit;
  font-size: 14px;
  font-weight: 700;
}

.contact-form .is-invalid {
  border-color: #ffb4a8;
  box-shadow: 0 0 0 3px rgba(255, 180, 168, 0.16);
}

.map-panel {
  max-width: var(--max);
  height: 420px;
  margin: 22px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: var(--soft-shadow);
}

.map-panel iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(16px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 900;
}

.site-footer img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  object-position: center 28%;
  border-radius: 50%;
  background: #0f0e0d;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 900;
  color: var(--text);
  margin-right: 24px;
}

.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 38px;
  height: 38px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.floating-whatsapp svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms ease, transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1160px) {
  .desktop-nav {
    display: none;
  }

  .portfolio-showcase {
    grid-template-columns: repeat(2, 1fr);
  }

  .work-card-large {
    min-height: 460px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid .service-card-hero {
    grid-column: span 2;
  }

  .projects-top {
    grid-template-columns: 1fr;
  }

  .project-filters {
    justify-content: flex-start;
  }

  .project-mosaic {
    columns: 4 170px;
  }
}

@media (max-width: 860px) {
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .brand span {
    display: inline;
    font-size: 13px;
  }


  .hero {
    min-height: auto;
    padding: 96px 12px 100px;
    grid-template-rows: auto auto;
  }

  .hero-media {
    inset: 72px 12px 100px;
    border-radius: 0 0 28px 28px;
  }

  .hero-copy {
    padding: 64px 0 52px;
  }

  .hero-product-nav {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    border-radius: 22px;
  }

  .hero-product-nav img {
    width: 56px;
    height: 42px;
    border-radius: 12px;
  }

  .comparison-grid,
  .feature-panel,
  .studio-grid,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .intro-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: -60px;
    padding-bottom: 48px;
  }

  .intro-strip .stat-card {
    padding: 24px 22px;
    border-radius: 20px;
  }

  .intro-strip .stat-card.is-visible,
  .intro-strip .stat-card.is-visible:nth-child(1),
  .intro-strip .stat-card.is-visible:nth-child(2),
  .intro-strip .stat-card.is-visible:nth-child(3),
  .intro-strip .stat-card.is-visible:nth-child(4) {
    animation: none;
  }

  .intro-strip .stat-card:hover {
    transform: translateY(-5px) scale(1.02);
  }

  .feature-panel img {
    min-height: 360px;
  }

  .contact-shell {
    padding: 28px;
  }

  .projects-section {
    height: auto;
    min-height: 0;
    padding-top: 34px;
    padding-bottom: 58px;
    gap: 12px;
  }

  .projects-top h2 {
    font-size: clamp(28px, 8vw, 44px);
  }

  .project-mosaic {
    columns: 3 150px;
    gap: 6px;
  }

  .project-tile,
  .project-tile.tile-wide,
  .project-tile.tile-tall,
  .project-tile.tile-large {
    grid-column: span 1;
    grid-row: span 1;
    border-radius: 14px;
  }

  .project-dialog[open] {
    grid-template-columns: 1fr;
  }

  .project-dialog-image {
    min-height: 300px;
    max-height: 46svh;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 66px;
    padding-inline: 12px;
  }


  h1 {
    font-size: clamp(44px, 15vw, 68px);
  }

  .hero-lede {
    font-size: 17px;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .hero-product-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-showcase,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-grid .service-card,
  .services-grid .service-card-hero {
    grid-column: auto;
    grid-row: auto;
    min-height: 300px;
  }

  .services-grid .service-card-content h3 {
    font-size: clamp(28px, 8vw, 42px);
  }

  .intro-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: -40px;
    padding-bottom: 36px;
  }

  .intro-strip .stat-card {
    padding: 20px 18px;
    border-radius: 18px;
  }

  .intro-strip .stat-card strong {
    font-size: 36px;
  }

  .work-card,
  .work-card-large {
    min-height: 320px;
    grid-column: auto;
    grid-row: auto;
  }

  .section {
    padding-block: 74px;
  }

  .section-heading h2,
  .studio-copy h2,
  .contact-copy h2 {
    font-size: clamp(34px, 12vw, 52px);
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .project-filters {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .project-filter {
    flex: 0 0 auto;
  }

  .project-mosaic {
    columns: 2 130px;
    column-gap: 7px;
  }

  .project-tile,
  .project-tile.tile-wide,
  .project-tile.tile-tall,
  .project-tile.tile-large {
    grid-column: span 1;
    grid-row: span 1;
  }

  .project-tile span {
    left: 8px;
    right: 8px;
    bottom: 7px;
    font-size: 11px;
  }
}

/* --- Architectural Editorial Grid for Services Section --- */
.services-section {
  position: relative;
  overflow: hidden;
}

.services-watermark {
  position: absolute;
  top: 6%;
  right: -3%;
  font-family: var(--font-display);
  font-size: clamp(100px, 16vw, 220px);
  color: var(--line);
  opacity: 0.35;
  transform: rotate(-4deg);
  z-index: 0;
  pointer-events: none;
  white-space: nowrap;
  font-weight: 500;
  letter-spacing: -0.04em;
}

/* ── Architectural Bento Grid ── */
.premium-moodboard-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 2px;
  position: relative;
  z-index: 2;
  margin: 48px auto 0;
  max-width: 1200px;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--line);
}

/* ── Card Base ── */
.premium-moodboard-grid .service-card {
  position: relative;
  background: var(--bg);
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  display: grid;
  grid-template-rows: auto 1fr;
  justify-content: stretch;
  overflow: hidden;
  transition: none;
  min-height: auto;
}

/* Kill inherited decorations */
.premium-moodboard-grid .service-card::before,
.premium-moodboard-grid .service-card::after {
  display: none;
}

/* ── Image Layer ── */
.premium-moodboard-grid .service-card > img {
  position: relative;
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 0;
  z-index: 1;
  opacity: 1;
  filter: grayscale(20%) contrast(1.05);
  transform: none;
  transition: filter 0.5s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-moodboard-grid .service-card:hover > img {
  filter: grayscale(0%) contrast(1.08);
  transform: scale(1.03);
  opacity: 1;
}

/* ── Text Content ── */
.premium-moodboard-grid .service-card-content {
  position: relative;
  padding: 24px 28px 28px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.premium-moodboard-grid .service-card-content span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--font-sans);
}

.premium-moodboard-grid .service-card-content h3 {
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 26px);
  margin: 10px 0 8px;
  line-height: 1.12;
  min-height: auto;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.premium-moodboard-grid .service-card-content p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  max-width: none;
  min-height: auto;
}

/* ── Details List (card 1) ── */
.service-details-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.service-details-list li {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
  font-weight: 600;
}

.service-details-list li svg {
  color: var(--accent);
  flex: 0 0 auto;
}

/* ── Architectural Grid Placement ──
   Row 1: Hero card (8 cols) + Card 2 (4 cols)
   Row 2: Card 3 (4 cols) + Card 4 (4 cols) + Card 5 (4 cols)
   Row 3: Card 6 full width
   ── */
.premium-moodboard-grid .service-card:nth-child(1) {
  grid-column: 1 / 9;
  grid-row: 1;
  transform: none;
}

.premium-moodboard-grid .service-card:nth-child(1) > img {
  height: 320px;
}

.premium-moodboard-grid .service-card:nth-child(2) {
  grid-column: 9 / 13;
  grid-row: 1;
  transform: none;
}

.premium-moodboard-grid .service-card:nth-child(2) > img {
  height: 320px;
}

.premium-moodboard-grid .service-card:nth-child(3) {
  grid-column: 1 / 5;
  grid-row: 2;
  transform: none;
}

.premium-moodboard-grid .service-card:nth-child(4) {
  grid-column: 5 / 9;
  grid-row: 2;
  transform: none;
}

.premium-moodboard-grid .service-card:nth-child(5) {
  grid-column: 9 / 13;
  grid-row: 2;
  transform: none;
}

.premium-moodboard-grid .service-card:nth-child(6) {
  grid-column: 1 / 13;
  grid-row: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  transform: none;
}

.premium-moodboard-grid .service-card:nth-child(6) > img {
  height: 100%;
  min-height: 260px;
}

.premium-moodboard-grid .service-card:nth-child(6) .service-card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 48px;
}

.premium-moodboard-grid .service-card:nth-child(6) .service-card-content h3 {
  font-size: clamp(24px, 2.2vw, 32px);
}

/* ── Hover: Subtle architectural lift ── */
.premium-moodboard-grid .service-card:hover {
  box-shadow: none;
  z-index: 5;
  transform: none;
}

@media (max-width: 900px) {
  .premium-moodboard-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  .premium-moodboard-grid .service-card {
    transform: none !important;
  }
  .premium-moodboard-grid .service-card:nth-child(even) {
    transform: rotate(1deg) !important;
  }
  .premium-moodboard-grid .service-card:nth-child(odd) {
    transform: rotate(-1deg) !important;
  }
  .premium-moodboard-grid .service-card:hover {
    transform: translateY(-4px) scale(1.02) rotate(0deg) !important;
  }
  .services-watermark {
    font-size: 100px;
    top: 5%;
  }
}


/* ================================================================
   === MOBILE STYLES ===
   Comprehensive responsive overrides for mobile devices.
   Tested at 375px (iPhone SE) and 390px (iPhone 14).
   ================================================================ */

@media (max-width: 768px) {

  /* ── Header & Navigation ── */
  /* Reduce header height and padding for compact mobile bar */
  .site-header {
    height: 62px;
    padding-inline: 14px;
    gap: 10px;
  }

  /* Show brand text on mobile, scaled down to fit */
  .brand span {
    display: inline;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
  }

  /* Ensure theme toggle is large enough for touch (44x44 min) */
  .theme-toggle {
    width: 42px;
    height: 42px;
  }

  /* Hide desktop CTA, show hamburger */
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  /* Mobile nav: full-width with better spacing */
  .mobile-nav {
    inset: 62px 8px auto;
    padding: 16px;
    gap: 8px;
    border-radius: 20px;
  }

  .mobile-nav a {
    padding: 16px 18px;
    min-height: 48px;
    font-size: 15px;
    display: flex;
    align-items: center;
  }

  /* Reduce scroll-margin for shorter header */
  section {
    scroll-margin-top: 72px;
  }


  /* ── Hero Section ── */
  .hero {
    min-height: auto;
    padding: 80px 16px 72px;
    grid-template-rows: auto auto;
  }

  .hero-media {
    inset: 62px 0 72px;
    border-radius: 0 0 24px 24px;
  }

  .hero-copy {
    padding: 52px 0 36px;
  }

  h1 {
    font-size: clamp(36px, 11vw, 56px);
  }

  .hero-lede {
    font-size: 16px;
    line-height: 1.5;
  }

  /* Full-width buttons stacked vertically */
  .hero-actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 50px;
    font-size: 15px;
  }

  /* Product nav: 2 columns on mobile */
  .hero-product-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    width: 100%;
    padding: 6px;
    border-radius: 18px;
  }

  .hero-product-nav a {
    padding: 10px 6px 8px;
    font-size: 12px;
    border-radius: 14px;
  }

  .hero-product-nav img {
    width: 52px;
    height: 38px;
    border-radius: 10px;
  }


  /* ── Stats Strip ── */
  .intro-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: -48px;
    padding: 0 14px 40px;
  }

  .intro-strip .stat-card {
    padding: 22px 18px;
    border-radius: 18px;
  }

  /* Disable float animations on mobile for performance */
  .intro-strip .stat-card.is-visible,
  .intro-strip .stat-card.is-visible:nth-child(1),
  .intro-strip .stat-card.is-visible:nth-child(2),
  .intro-strip .stat-card.is-visible:nth-child(3),
  .intro-strip .stat-card.is-visible:nth-child(4) {
    animation: none;
  }

  .intro-strip .stat-card strong {
    font-size: clamp(32px, 10vw, 44px);
  }

  .intro-strip .stat-card span {
    font-size: 12px;
    margin-top: 8px;
  }


  /* ── Section Typography & Spacing ── */
  .section {
    padding: 56px 16px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .section-heading h2 {
    font-size: clamp(28px, 8vw, 42px);
  }

  .section-intro {
    font-size: 15px;
    margin-top: 14px;
  }

  .eyebrow {
    font-size: 11px;
    margin-bottom: 12px;
  }


  /* ── Portfolio Showcase ── */
  .portfolio-showcase {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .work-card,
  .work-card-large {
    min-height: 260px;
    grid-column: auto;
    grid-row: auto;
  }

  .work-card div {
    padding: 20px;
  }

  .work-card h3 {
    font-size: clamp(18px, 5vw, 24px);
    min-height: auto;
  }


  /* ── Projects Section ── */
  .projects-section {
    padding: 36px 14px 52px;
    gap: 16px;
  }

  .projects-top {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .projects-top h2 {
    font-size: clamp(26px, 8vw, 38px);
  }

  /* Horizontal scroll for filter pills */
  .project-filters {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    gap: 6px;
  }

  .project-filter {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 14px;
    font-size: 12px;
  }

  .project-mosaic {
    columns: 2 140px;
    column-gap: 8px;
  }

  .project-tile {
    border-radius: 12px;
    margin-bottom: 8px;
  }

  .project-tile span {
    left: 10px;
    right: 10px;
    bottom: 10px;
    font-size: 12px;
  }

  /* Project dialog: single column on mobile */
  .project-dialog {
    width: calc(100vw - 20px);
    border-radius: 20px;
  }

  .project-dialog[open] {
    grid-template-columns: 1fr;
  }

  .project-dialog-image {
    min-height: 240px;
    max-height: 40svh;
  }

  .project-dialog-copy {
    padding: 24px 20px;
  }

  .project-dialog-copy h2 {
    font-size: clamp(26px, 8vw, 38px);
  }

  .project-dialog-copy p:not(.eyebrow) {
    font-size: 15px;
    margin-top: 14px;
  }


  /* ── Signature Section ── */
  .signature-section.section {
    min-height: auto;
    padding-top: 40px;
    padding-bottom: 40px;
    overflow: hidden;
  }

  .signature-section .section-heading h2 {
    font-size: clamp(24px, 7vw, 38px);
  }

  /* Feature panel: stack image over text */
  .feature-panel {
    grid-template-columns: 1fr;
    border-radius: 24px;
    max-width: 100%;
    overflow: hidden;
  }

  .feature-panel img {
    min-height: 240px;
    max-height: 50vw;
    border-radius: 24px 24px 0 0;
  }

  .feature-copy {
    padding: 24px 20px;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .feature-copy h3 {
    font-size: clamp(20px, 5.5vw, 26px);
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .feature-copy p:not(.eyebrow) {
    font-size: 13px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* Material row: scrollable horizontally */
  .material-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    gap: 6px;
  }

  .material-row button {
    flex: 0 0 auto;
    min-height: 44px;
    white-space: nowrap;
  }

  .material-detail {
    font-size: 13px;
    min-height: 40px;
  }

  /* Comparison cards: single column */
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .comparison-card h3 {
    font-size: clamp(22px, 6vw, 30px);
  }


  /* ── Services Section (Bento Grid + Moodboard) ── */
  .services-section .section-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .services-section .section-heading h2 {
    font-size: clamp(26px, 8vw, 40px);
  }

  .services-section .section-intro {
    font-size: 14px;
    max-width: 100%;
  }

  /* Collapse bento grid to single column */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .services-grid .service-card,
  .services-grid .service-card-hero {
    grid-column: auto;
    grid-row: auto;
    min-height: 280px;
  }

  .services-grid .service-card-content h3 {
    font-size: clamp(22px, 6vw, 30px);
    min-height: auto;
  }

  .services-grid .service-card-content p {
    font-size: 13px;
    min-height: auto;
  }

  /* Architectural Grid: Single column stack on mobile */
  .premium-moodboard-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 100%;
    margin-top: 32px;
    border-radius: 4px;
  }

  .premium-moodboard-grid .service-card {
    border-bottom: 1px solid var(--line);
    padding: 0;
  }

  .premium-moodboard-grid .service-card:last-child {
    border-bottom: none;
  }

  .premium-moodboard-grid .service-card > img {
    height: 220px;
  }

  .premium-moodboard-grid .service-card:nth-child(6) .service-card-content {
    padding: 24px 20px;
  }

  .premium-moodboard-grid .service-card-content {
    padding: 24px 20px;
  }

  .premium-moodboard-grid .service-card-content h3 {
    font-size: clamp(20px, 6vw, 24px);
  }

  .premium-moodboard-grid .service-card-content p {
    font-size: 13px;
  }

  .services-watermark {
    font-size: 80px;
    top: 3%;
  }


  /* ── Process Section ── */
  /* Horizontal scroll for process cards */
  .process-track {
    grid-template-columns: repeat(5, 260px);
    gap: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 16px;
  }

  .process-step {
    min-height: 280px;
    scroll-snap-align: start;
    padding: 24px 20px;
  }

  .process-step h3 {
    font-size: clamp(20px, 6vw, 28px);
  }

  .process-step p {
    font-size: 14px;
  }


  /* ── Studio Section ── */
  .studio-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .studio-portrait {
    border-radius: 24px;
  }

  .studio-portrait img {
    aspect-ratio: 16 / 10;
  }

  .studio-copy h2 {
    font-size: clamp(28px, 8vw, 40px);
  }

  .studio-copy p {
    font-size: 16px;
  }

  .credential-grid {
    gap: 6px;
    margin-top: 16px;
  }


  /* ── Contact Section ── */
  .contact-section {
    padding-top: 24px;
  }

  .contact-shell {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 24px 18px;
    border-radius: 24px;
  }

  .contact-copy h2 {
    font-size: clamp(26px, 8vw, 38px);
    margin-bottom: 14px;
  }

  .contact-copy p {
    font-size: 15px;
  }

  .contact-list {
    margin-top: 18px;
    gap: 8px;
  }

  .contact-list a,
  .contact-list address {
    font-size: 14px;
    /* Ensure touch-friendly tap areas */
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* Form inputs: larger touch targets */
  .contact-form {
    gap: 12px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    width: 100%;
    padding: 16px;
    min-height: 50px;
    font-size: 16px; /* Prevents iOS zoom on focus */
    border-radius: 14px;
  }

  .contact-form textarea {
    min-height: 100px;
  }

  .contact-form .btn {
    width: 100%;
    min-height: 52px;
    justify-self: stretch;
    font-size: 15px;
  }

  /* Map panel */
  .map-panel {
    height: 280px;
    margin-top: 16px;
    border-radius: 20px;
  }


  /* ── Footer ── */
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 24px 16px;
  }

  .site-footer p {
    font-size: 14px;
  }

  .site-footer a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }


  /* ── Reveal animations: faster on mobile ── */
  .reveal {
    transform: translateY(20px);
    transition-duration: 600ms;
  }
}


/* ================================================================
   === EXTRA-SMALL SCREENS (iPhone SE / 375px and below) ===
   ================================================================ */

@media (max-width: 380px) {

  /* Even tighter header */
  .site-header {
    height: 58px;
    padding-inline: 10px;
  }

  .theme-toggle {
    width: 38px;
    height: 38px;
  }

  .mobile-nav {
    inset: 58px 6px auto;
  }

  /* Tighter hero */
  .hero {
    padding: 72px 12px 56px;
  }

  h1 {
    font-size: clamp(32px, 10vw, 44px);
  }

  .hero-lede {
    font-size: 15px;
  }

  /* Smaller stat cards */
  .intro-strip {
    gap: 8px;
    margin-top: -36px;
    padding: 0 10px 32px;
  }

  .intro-strip .stat-card {
    padding: 18px 14px;
  }

  .intro-strip .stat-card strong {
    font-size: 30px;
  }

  .intro-strip .stat-card span {
    font-size: 11px;
  }

  /* Tighter sections */
  .section {
    padding: 44px 12px;
  }

  .section-heading h2 {
    font-size: clamp(24px, 8vw, 36px);
  }

  /* Work cards shorter */
  .work-card,
  .work-card-large {
    min-height: 220px;
  }

  /* Project mosaic single column */
  .project-mosaic {
    columns: 1;
  }

  /* Services moodboard images shorter */
  .premium-moodboard-grid .service-card > img {
    height: 150px;
  }

  /* Process cards narrower */
  .process-track {
    grid-template-columns: repeat(5, 240px);
  }

  .process-step {
    min-height: 260px;
    padding: 20px 16px;
  }

  /* Contact */
  .contact-shell {
    padding: 20px 14px;
    border-radius: 20px;
  }

  .contact-copy h2 {
    font-size: clamp(24px, 8vw, 32px);
  }

  .map-panel {
    height: 220px;
    border-radius: 16px;
  }
}

/* ================================================================
   Reference-inspired editorial rebuild
   ================================================================ */

.legacy-section {
  display: none !important;
}

.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-solid) 88%, transparent);
  color: var(--text);
  box-shadow: var(--soft-shadow);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.menu-toggle {
  display: block;
  overflow: hidden;
  background: #050505;
  color: #fff;
  border-color: transparent;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
}

.menu-toggle span {
  background: currentColor;
}

.desktop-nav {
  display: none;
}

.site-header {
  height: 82px;
  background: color-mix(in srgb, var(--bg) 50%, transparent);
  border-bottom-color: transparent;
}

.site-header.scrolled {
  background: color-mix(in srgb, var(--bg) 84%, transparent);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 72;
  display: grid;
  place-items: center;
  padding: clamp(86px, 10vw, 120px) clamp(18px, 7vw, 92px) 42px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--bg) 96%, transparent), color-mix(in srgb, var(--surface-solid) 88%, transparent)),
    radial-gradient(circle at 80% 12%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 30rem);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(3%);
  transition: opacity 360ms ease, visibility 360ms ease, transform 480ms cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav.is-open {
  display: grid;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

.mobile-nav-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(220px, 0.45fr);
  align-items: end;
  gap: clamp(28px, 8vw, 110px);
  width: min(1120px, 100%);
}

.mobile-nav-panel > a {
  position: relative;
  display: block;
  width: fit-content;
  padding: 0;
  border-radius: 0;
  background: transparent !important;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(38px, 8vw, 92px);
  line-height: 0.96;
  font-weight: 600;
  letter-spacing: 0;
  transform: translateY(22px);
  opacity: 0;
  transition: opacity 420ms ease, transform 520ms cubic-bezier(0.16, 1, 0.3, 1), color 180ms ease;
}

.mobile-nav.is-open .mobile-nav-panel > a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav.is-open .mobile-nav-panel > a:nth-of-type(2) {
  transition-delay: 40ms;
}

.mobile-nav.is-open .mobile-nav-panel > a:nth-of-type(3) {
  transition-delay: 80ms;
}

.mobile-nav.is-open .mobile-nav-panel > a:nth-of-type(4) {
  transition-delay: 120ms;
}

.mobile-nav.is-open .mobile-nav-panel > a:nth-of-type(5) {
  transition-delay: 160ms;
}

.mobile-nav.is-open .mobile-nav-panel > a:nth-of-type(6) {
  transition-delay: 200ms;
}

.mobile-nav.is-open .mobile-nav-panel > a:nth-of-type(7) {
  transition-delay: 240ms;
}

.mobile-nav-panel > a::after,
.reference-service-card h3::after,
.reference-post-card strong::after,
.reference-arrow-link span::after,
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.12em;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-panel > a:hover::after,
.reference-service-card:hover h3::after,
.reference-post-card:hover strong::after,
.reference-arrow-link:hover span::after,
.footer-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.mobile-menu-contact {
  display: grid;
  gap: 14px;
  align-self: center;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
}

.mobile-menu-contact a {
  padding: 0;
  color: var(--muted);
  font-weight: 800;
}

.mobile-menu-contact .mobile-cta {
  justify-self: start;
  padding: 13px 18px;
  background: var(--button) !important;
  color: var(--button-text);
}

.reference-about-section,
.reference-services-section,
.reference-why-section,
.editorial-grid-section,
.reference-process-section {
  position: relative;
  isolation: isolate;
}

.reference-split {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(34px, 6vw, 94px);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}

.reference-split.reverse {
  grid-template-columns: minmax(360px, 1.02fr) minmax(320px, 0.98fr);
}

.reference-copy h2,
.editorial-sticky h2,
.consultation-band h2 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(38px, 5.2vw, 74px);
  line-height: 0.98;
  font-weight: 800;
}

.reference-copy p:not(.eyebrow) {
  max-width: 700px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 500;
}

.reference-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  border: 1px solid var(--line);
  background: var(--line);
}

.reference-facts div {
  padding: clamp(18px, 2.5vw, 28px);
  background: color-mix(in srgb, var(--surface-solid) 78%, transparent);
}

.reference-facts strong {
  display: block;
  color: var(--accent);
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1;
}

.reference-facts span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.reference-checklist {
  display: grid;
  gap: 0;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.reference-checklist li {
  display: grid;
  grid-template-columns: minmax(160px, 0.45fr) 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.reference-checklist strong {
  color: var(--text);
  font-size: 15px;
  line-height: 1.25;
}

.reference-checklist span {
  color: var(--muted);
  font-size: 14px;
}

.reference-checklist.large li {
  grid-template-columns: 1fr;
  gap: 8px;
  padding-block: 20px;
}

.reference-checklist.large strong {
  font-size: 18px;
}

.layered-image-stack {
  position: relative;
  min-height: clamp(520px, 56vw, 720px);
}

.layered-image {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface-solid);
  box-shadow: var(--shadow);
}

.layered-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.layered-image-stack:hover img {
  transform: scale(1);
}

.layered-image-main {
  inset: 0 12% 0 0;
}

.layered-image-float {
  right: 0;
  bottom: 8%;
  width: 48%;
  height: 46%;
}

.layered-image-float.right {
  left: auto;
  right: 0;
  top: 7%;
  bottom: auto;
}

.reference-services-section {
  overflow: hidden;
  padding-right: 0;
}

.service-carousel {
  display: flex;
  gap: 18px;
  max-width: none;
  margin-left: max(clamp(16px, 4vw, 56px), calc((100vw - var(--max)) / 2));
  padding: 8px clamp(16px, 4vw, 56px) 18px 0;
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.service-carousel::-webkit-scrollbar {
  display: none;
}

.service-carousel.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.reference-service-card {
  position: relative;
  flex: 0 0 clamp(270px, 27vw, 390px);
  scroll-snap-align: start;
  color: var(--text);
}

.reference-service-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 4px;
  filter: grayscale(18%) contrast(1.04);
  transition: filter 380ms ease, transform 580ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reference-service-card:hover img {
  filter: grayscale(0%) contrast(1.08);
  transform: translateY(-6px) scale(1.015);
}

.reference-service-card div {
  padding-top: 20px;
}

.reference-service-card span,
.blog-card small {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.reference-service-card h3 {
  position: relative;
  display: inline-block;
  margin: 8px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.05;
  font-weight: 600;
}

.reference-service-card p {
  max-width: 95%;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.marquee-section {
  overflow: hidden;
  padding: clamp(36px, 7vw, 92px) 0 0;
}

.scroll-marquee {
  width: 100%;
  overflow: visible;
  white-space: nowrap;
  pointer-events: none;
}

.scroll-marquee div {
  display: flex;
  width: max-content;
  will-change: transform;
}

.scroll-marquee span {
  display: inline-block;
  padding-right: 0.18em;
  font-family: var(--font-display);
  font-size: clamp(70px, 12vw, 178px);
  line-height: 0.88;
  font-weight: 700;
  letter-spacing: 0;
}

.scroll-marquee.outline span {
  color: transparent;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--text) 72%, transparent);
  text-stroke: 1px color-mix(in srgb, var(--text) 72%, transparent);
}

.inline-image-statement {
  max-width: 980px;
  margin: clamp(34px, 6vw, 82px) auto;
  padding: 0 clamp(16px, 4vw, 56px);
  text-align: center;
}

.inline-image-statement h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 58px);
  line-height: 1.32;
  font-weight: 800;
}

.inline-image-statement a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
}

.inline-thumb {
  display: inline-grid;
  width: clamp(52px, 6.4vw, 92px);
  height: clamp(52px, 6.4vw, 92px);
  margin: 0 0.08em;
  vertical-align: middle;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid color-mix(in srgb, var(--surface-solid) 88%, transparent);
  box-shadow: var(--soft-shadow);
}

.inline-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.parallax-band {
  height: clamp(420px, 72vh, 760px);
  overflow: hidden;
}

.parallax-band img {
  width: 100%;
  height: 118%;
  object-fit: cover;
  transform: translateY(-7%);
  filter: contrast(1.04) saturate(0.95);
}

.editorial-grid-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(360px, 1fr);
  gap: clamp(28px, 6vw, 92px);
  align-items: start;
  max-width: var(--max);
  margin: 0 auto;
}

.editorial-sticky {
  position: sticky;
  top: 118px;
  padding-top: 12px;
}

.editorial-sticky h2 {
  font-size: clamp(36px, 4.8vw, 70px);
}

.reference-arrow-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  margin-top: 30px;
  padding: 0 24px;
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 900;
  overflow: hidden;
}

.reference-arrow-link span {
  position: relative;
}

.reference-arrow-link svg {
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reference-arrow-link:hover svg {
  transform: translateX(5px);
}

.reference-arrow-link.inverse {
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
}

.editorial-post-column {
  display: grid;
  gap: 34px;
}

.editorial-filters {
  justify-content: flex-start;
  padding-bottom: 4px;
}

.reference-post-card {
  position: relative;
  display: grid;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  overflow: visible;
  box-shadow: none;
}

.reference-post-card::after {
  display: none;
}

.reference-post-card img {
  width: 100%;
  height: clamp(420px, 60vh, 680px);
  object-fit: cover;
  border-radius: 4px;
  filter: saturate(0.92) contrast(1.02);
  transition: transform 720ms cubic-bezier(0.16, 1, 0.3, 1), filter 420ms ease;
}

.reference-post-card:hover img {
  transform: scale(1.025);
  filter: saturate(1.04) contrast(1.05);
}

.reference-post-card strong,
.blog-card h3 {
  position: relative;
  display: inline-block;
  width: fit-content;
  max-width: 92%;
  margin: 18px 0 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.04;
  font-weight: 600;
}

.reference-post-card.is-hidden,
.blog-card.is-hidden {
  display: none;
}

.hover-indicator {
  position: absolute;
  left: auto;
  top: 22px;
  right: 22px;
  bottom: auto;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #0a0a0a;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  opacity: 0;
  transform: scale(0.82);
  transition: opacity 260ms ease, transform 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reference-post-card:hover .hover-indicator {
  opacity: 1;
  transform: scale(1);
}

.reference-post-card .hover-indicator {
  left: auto;
  top: 22px;
  right: 22px;
  bottom: auto;
  z-index: 4;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.consultation-band {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin: clamp(24px, 5vw, 76px) 0 0;
  padding: clamp(42px, 6vw, 80px) clamp(18px, 8vw, 108px);
  background: #070707;
  color: #fff;
}

.consultation-band .eyebrow {
  color: var(--accent-2);
}

.consultation-band h2 {
  color: #fff;
  font-size: clamp(34px, 5vw, 72px);
}

.blog-card {
  cursor: default;
}

.blog-card div {
  padding-top: 18px;
}

.blog-card h3 {
  margin-top: 8px;
}

.reference-process-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(190px, 1fr));
  gap: 1px;
  max-width: var(--max);
  margin: 0 auto;
  border: 1px solid var(--line);
  background: var(--line);
}

.reference-process-track .process-step {
  border: 0;
  border-radius: 0;
  background: color-mix(in srgb, var(--surface-solid) 74%, transparent);
  box-shadow: none;
}

.footer-marquee {
  position: relative;
  overflow: hidden;
  padding-top: clamp(42px, 7vw, 92px);
  background: linear-gradient(180deg, #090909 0 48%, var(--bg) 100%);
}

.footer-marquee .scroll-marquee span {
  color: #fff;
}

.footer-marquee .scroll-marquee.reverse {
  margin-top: -1.5vw;
}

.footer-marquee > img {
  position: relative;
  display: block;
  width: min(1180px, 86vw);
  aspect-ratio: 18 / 8;
  object-fit: cover;
  margin: -8vw auto -1px;
  border-radius: 4px 4px 0 0;
  box-shadow: var(--shadow);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  padding: clamp(46px, 7vw, 86px) clamp(18px, 8vw, 108px) 28px;
  background: #0a0a0a;
  color: #fff;
  border-top: 0;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.footer-brand img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff;
}

.footer-brand strong {
  display: block;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
}

.footer-brand p,
.footer-bottom p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 26px;
}

.footer-links h3 {
  margin: 0 0 16px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links a {
  position: relative;
  display: block;
  width: fit-content;
  margin: 9px 0;
  color: rgba(255, 255, 255, 0.74);
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

[data-split-heading] .split-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.9em);
  transition: opacity 650ms ease, transform 760ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--word-index, 0) * 34ms);
}

[data-split-heading].split-visible .split-word {
  opacity: 1;
  transform: translateY(0);
}

[data-split-heading] .split-space {
  display: inline;
}

@media (max-width: 1080px) {
  .phone-pill span {
    display: none;
  }

  .reference-split,
  .reference-split.reverse,
  .editorial-grid-section {
    grid-template-columns: 1fr;
  }

  .editorial-sticky {
    position: relative;
    top: auto;
  }

  .reference-process-track {
    grid-template-columns: repeat(5, minmax(260px, 1fr));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .reference-process-track .process-step {
    scroll-snap-align: start;
  }
}

@media (max-width: 768px) {
  html,
  body,
  main {
    overflow-x: clip;
  }

  .site-header {
    height: 66px;
    padding-inline: 12px;
  }

  .phone-pill {
    display: none;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand span {
    max-width: 172px;
    font-size: 13px;
  }

  .header-actions {
    gap: 8px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }

  .theme-toggle {
    display: none;
  }

  .hero-copy,
  .reference-copy,
  .editorial-sticky,
  .consultation-band > div {
    min-width: 0;
  }

  h1 {
    width: min(100%, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    font-size: clamp(30px, 8.1vw, 34px);
    line-height: 0.98;
    text-wrap: balance;
    overflow-wrap: break-word;
  }

  .hero-lede {
    width: min(100%, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    margin-inline: auto;
  }

  .mobile-nav {
    inset: 0;
    padding: 86px 22px 30px;
  }

  .mobile-nav-panel {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
  }

  .mobile-nav-panel > a {
    font-size: clamp(34px, 13vw, 58px);
  }

  .reference-copy h2,
  .editorial-sticky h2,
  .consultation-band h2 {
    width: min(100%, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    font-size: clamp(26px, 7.2vw, 34px);
    line-height: 1.02;
    text-wrap: balance;
    overflow-wrap: break-word;
  }

  .reference-copy p:not(.eyebrow),
  .reference-checklist,
  .reference-facts {
    width: min(100%, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
  }

  .reference-facts {
    grid-template-columns: 1fr;
  }

  .reference-checklist li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .layered-image-stack {
    min-height: 440px;
  }

  .layered-image-main {
    inset: 0 8% 12% 0;
  }

  .layered-image-float {
    width: 58%;
    height: 42%;
  }

  .service-carousel {
    margin-left: 16px;
    padding-right: 16px;
  }

  .reference-service-card {
    flex-basis: 78vw;
  }

  .scroll-marquee span {
    font-size: clamp(58px, 18vw, 104px);
  }

  .inline-image-statement {
    margin-block: 44px;
  }

  .inline-image-statement h2 {
    font-size: clamp(25px, 7vw, 38px);
  }

  .parallax-band {
    height: 420px;
  }

  .reference-post-card img {
    height: clamp(280px, 58vh, 460px);
  }

  .consultation-band {
    grid-template-columns: 1fr;
    padding: 42px 18px;
  }

  .footer-marquee > img {
    width: 92vw;
    min-height: 260px;
    margin-top: -12vw;
  }

  .site-footer,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .theme-toggle {
    display: none;
  }

  .brand span {
    max-width: 190px;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-split-heading] .split-word,
  .scroll-marquee div,
  .layered-image,
  .parallax-band img {
    transition: none !important;
    transform: none !important;
  }
}

/* ================================================================
   Final fit pass: stable sizing across desktop, tablet, and mobile
   ================================================================ */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  font-size: 16px;
}

main,
section,
.site-header,
.site-footer {
  max-width: 100%;
}

.section,
.reference-about-section,
.reference-services-section,
.reference-why-section,
.editorial-grid-section,
.reference-process-section,
.contact-section {
  padding-block: 6.5rem;
}

.section,
.projects-section,
.intro-strip,
.reference-about-section,
.reference-services-section,
.reference-why-section,
.editorial-grid-section,
.reference-process-section,
.contact-section {
  padding-inline: clamp(1rem, 4vw, 3.5rem);
}

.hero {
  min-height: 92svh;
  padding: 6.5rem clamp(1rem, 4vw, 3.5rem) 6rem;
}

.hero-media {
  inset: 5rem clamp(1rem, 4vw, 3.5rem) 6rem;
}

h1 {
  width: min(100%, 58rem);
  max-width: 58rem;
  font-size: 5rem;
  line-height: 0.96;
  text-wrap: balance;
  overflow-wrap: normal;
}

.hero-lede {
  width: min(100%, 48rem);
  max-width: 48rem;
  font-size: 1.15rem;
  line-height: 1.48;
}

.section-heading h2,
.reference-copy h2,
.editorial-sticky h2,
.consultation-band h2,
.contact-copy h2,
.studio-copy h2 {
  width: min(100%, 56rem);
  max-width: 56rem;
  font-size: 4.25rem;
  line-height: 1;
  text-wrap: balance;
  overflow-wrap: normal;
}

.reference-copy p:not(.eyebrow),
.section-intro,
.contact-copy p,
.studio-copy p {
  max-width: 44rem;
  font-size: 1.05rem;
  line-height: 1.62;
}

.reference-split,
.reference-split.reverse,
.studio-grid,
.contact-shell {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: min(100%, var(--max));
}

.editorial-grid-section {
  grid-template-columns: minmax(16rem, 0.72fr) minmax(0, 1fr);
  width: min(100%, var(--max));
}

.layered-image-stack {
  min-height: 40rem;
}

.service-carousel {
  margin-left: max(1rem, calc((100vw - var(--max)) / 2));
  padding-right: clamp(1rem, 4vw, 3.5rem);
}

.reference-service-card {
  flex-basis: 22rem;
}

.reference-service-card h3 {
  font-size: 1.9rem;
  line-height: 1.08;
}

.scroll-marquee span {
  font-size: 9rem;
  line-height: 0.9;
}

.inline-image-statement h2 {
  font-size: 3.25rem;
  line-height: 1.28;
  text-wrap: balance;
}

.inline-thumb {
  width: 5rem;
  height: 5rem;
}

.parallax-band {
  height: 38rem;
}

.reference-post-card img {
  height: 36rem;
}

.reference-post-card strong,
.blog-card h3 {
  max-width: 100%;
  font-size: 2.4rem;
  line-height: 1.08;
  text-wrap: balance;
  overflow-wrap: normal;
}

.reference-process-track {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.process-step {
  min-width: 0;
}

.footer-marquee > img {
  max-height: 34rem;
}

.contact-shell {
  padding: 4rem;
}

.contact-form,
.contact-copy,
.contact-form label,
.contact-form input,
.contact-form select,
.contact-form textarea {
  min-width: 0;
  max-width: 100%;
}

.map-panel {
  height: 24rem;
}

@media (max-width: 1200px) {
  h1 {
    font-size: 4.2rem;
    max-width: 50rem;
  }

  .section-heading h2,
  .reference-copy h2,
  .editorial-sticky h2,
  .consultation-band h2,
  .contact-copy h2,
  .studio-copy h2 {
    font-size: 3.45rem;
    max-width: 48rem;
  }

  .layered-image-stack {
    min-height: 34rem;
  }

  .reference-post-card img {
    height: 30rem;
  }

  .scroll-marquee span {
    font-size: 7rem;
  }

  .inline-image-statement h2 {
    font-size: 2.7rem;
  }

  .reference-process-track {
    grid-template-columns: repeat(5, minmax(15rem, 1fr));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
}

@media (max-width: 980px) {
  .site-header {
    height: 4.5rem;
  }

  .phone-pill span,
  .header-cta {
    display: none;
  }

  .section,
  .reference-about-section,
  .reference-services-section,
  .reference-why-section,
  .editorial-grid-section,
  .reference-process-section,
  .contact-section {
    padding-block: 5rem;
  }

  .hero {
    min-height: 86svh;
    padding-top: 5.5rem;
    padding-bottom: 5rem;
  }

  .hero-media {
    inset: 4.5rem 1rem 5rem;
  }

  h1 {
    font-size: 3.35rem;
    max-width: 42rem;
  }

  .hero-lede {
    font-size: 1rem;
    max-width: 38rem;
  }

  .reference-split,
  .reference-split.reverse,
  .editorial-grid-section,
  .studio-grid,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .editorial-sticky {
    position: relative;
    top: auto;
  }

  .section-heading h2,
  .reference-copy h2,
  .editorial-sticky h2,
  .consultation-band h2,
  .contact-copy h2,
  .studio-copy h2 {
    font-size: 2.75rem;
    max-width: 42rem;
  }

  .layered-image-stack {
    display: grid;
    gap: 1rem;
    min-height: 0;
  }

  .layered-image,
  .layered-image-main,
  .layered-image-float,
  .layered-image-float.right {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
  }

  .layered-image-main {
    aspect-ratio: 16 / 11;
  }

  .layered-image-float {
    width: min(74%, 30rem);
    aspect-ratio: 4 / 3;
    justify-self: end;
    margin-top: -5rem;
  }

  .service-carousel {
    margin-left: 1rem;
  }

  .reference-service-card {
    flex-basis: 19.5rem;
  }

  .editorial-post-column {
    gap: 2rem;
  }

  .consultation-band {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .contact-shell {
    padding: 2rem;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .site-header {
    height: 4rem;
    padding-inline: 0.75rem;
    gap: 0.5rem;
  }

  .brand {
    min-width: 0;
    gap: 0.55rem;
  }

  .brand img {
    width: 2.4rem;
    height: 2.4rem;
    flex: 0 0 2.4rem;
  }

  .brand span {
    max-width: 10.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.83rem;
  }

  .theme-toggle,
  .phone-pill,
  .header-cta {
    display: none !important;
  }

  .menu-toggle {
    width: 2.65rem;
    height: 2.65rem;
    flex: 0 0 2.65rem;
  }

  .mobile-nav {
    padding: 5.2rem 1.15rem 2rem;
  }

  .mobile-nav-panel {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 1.25rem;
  }

  .mobile-nav-panel > a {
    font-size: 2.7rem;
    line-height: 1;
  }

  .hero {
    min-height: auto;
    padding: 5.25rem 1rem 3.2rem;
  }

  .hero-media {
    inset: 4rem 0 3.25rem;
    border-radius: 0 0 1.25rem 1.25rem;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
    padding: 2.5rem 0 1.6rem;
  }

  h1 {
    width: 100%;
    max-width: 21.5rem;
    font-size: 2.3rem;
    line-height: 1.02;
  }

  .hero-lede {
    max-width: 21.5rem;
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .hero-actions {
    width: 100%;
    max-width: 22rem;
    margin-inline: auto;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-product-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 22.5rem;
    border-radius: 1.1rem;
  }

  .intro-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    margin-top: -2.2rem;
    padding: 0 0.85rem 3.25rem;
  }

  .intro-strip .stat-card {
    min-width: 0;
    padding: 1.2rem;
    border-radius: 1rem;
  }

  .intro-strip .stat-card strong {
    font-size: 2.3rem;
  }

  .intro-strip .stat-card span {
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .section,
  .reference-about-section,
  .reference-services-section,
  .reference-why-section,
  .editorial-grid-section,
  .reference-process-section,
  .contact-section {
    padding: 4rem 1rem;
  }

  .section-heading,
  .reference-copy,
  .editorial-sticky,
  .contact-copy {
    width: 100%;
    min-width: 0;
  }

  .section-heading h2,
  .reference-copy h2,
  .editorial-sticky h2,
  .consultation-band h2,
  .contact-copy h2,
  .studio-copy h2 {
    width: 100%;
    max-width: 22rem;
    font-size: 2rem;
    line-height: 1.05;
    overflow-wrap: normal;
  }

  .reference-copy p:not(.eyebrow),
  .section-intro,
  .contact-copy p,
  .studio-copy p {
    max-width: 22rem;
    font-size: 0.98rem;
    line-height: 1.58;
  }

  .reference-facts,
  .reference-checklist {
    max-width: 22rem;
  }

  .reference-facts {
    grid-template-columns: 1fr;
    margin-top: 1.5rem;
  }

  .reference-checklist li {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .layered-image-main {
    aspect-ratio: 1 / 1.08;
  }

  .layered-image-float {
    width: 78%;
    margin-top: -3.5rem;
  }

  .reference-service-card {
    flex: 0 0 min(19rem, calc(100vw - 2rem));
  }

  .reference-service-card h3 {
    font-size: 1.45rem;
  }

  .reference-service-card p {
    max-width: 100%;
    font-size: 0.92rem;
  }

  .scroll-marquee span {
    font-size: 4.2rem;
  }

  .inline-image-statement {
    margin-block: 2.5rem;
    padding-inline: 1rem;
  }

  .inline-image-statement h2 {
    font-size: 1.75rem;
    line-height: 1.35;
  }

  .inline-thumb {
    width: 3rem;
    height: 3rem;
    border-width: 2px;
  }

  .parallax-band {
    height: 22rem;
  }

  .reference-post-card img {
    height: 19rem;
  }

  .reference-post-card strong,
  .blog-card h3 {
    max-width: 22rem;
    font-size: 1.55rem;
    line-height: 1.12;
  }

  .hover-indicator {
    width: 3.25rem;
    height: 3.25rem;
    font-size: 0.65rem;
  }

  .consultation-band {
    margin-top: 1rem;
    padding: 3rem 1rem;
  }

  .reference-process-track {
    grid-template-columns: repeat(5, minmax(15rem, 1fr));
  }

  .process-step {
    min-height: 15.5rem;
    padding: 1.35rem;
  }

  .footer-marquee {
    padding-top: 3rem;
  }

  .footer-marquee > img {
    width: calc(100% - 2rem);
    min-height: 14rem;
    max-height: 18rem;
    margin-top: -2.75rem;
  }

  .contact-shell {
    padding: 1.25rem;
    border-radius: 1.25rem;
  }

  .contact-list a,
  .contact-list address {
    overflow-wrap: anywhere;
  }

  .contact-form .btn {
    width: 100%;
  }

  .map-panel {
    height: 17rem;
    border-radius: 1rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 3rem 1rem 1.5rem;
  }

  .footer-brand {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .footer-brand strong {
    font-size: 1.55rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.4rem;
  }
}

@media (max-width: 380px) {
  h1 {
    max-width: 18.6rem;
    font-size: 2.05rem;
  }

  .hero-lede,
  .hero-actions,
  .hero-product-nav,
  .section-heading h2,
  .reference-copy h2,
  .editorial-sticky h2,
  .consultation-band h2,
  .contact-copy h2,
  .studio-copy h2,
  .reference-copy p:not(.eyebrow),
  .section-intro,
  .contact-copy p,
  .studio-copy p,
  .reference-facts,
  .reference-checklist,
  .reference-post-card strong,
  .blog-card h3 {
    max-width: 18.6rem;
  }

  .section-heading h2,
  .reference-copy h2,
  .editorial-sticky h2,
  .consultation-band h2,
  .contact-copy h2,
  .studio-copy h2 {
    font-size: 1.82rem;
  }

  .intro-strip .stat-card {
    padding: 1rem;
  }

  .intro-strip .stat-card strong {
    font-size: 2rem;
  }
}

/* Screenshot optimization pass: stop legacy footer rules and wide service strips from crowding the layout. */
.reference-services-section {
  overflow: hidden;
}

.reference-services-section .section-heading {
  width: min(100%, var(--max));
  margin: 0 auto clamp(1.8rem, 3vw, 3rem);
  overflow: visible;
}

.reference-services-section .section-heading h2 {
  width: min(100%, 58rem);
  max-width: 58rem;
  margin: 0;
  line-height: 1.02;
}

.service-carousel {
  width: min(100%, var(--max));
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 0 0.75rem;
  gap: clamp(1rem, 1.6vw, 1.4rem);
  align-items: start;
  scroll-padding-inline: 0;
}

.reference-service-card {
  min-width: 0;
}

.reference-service-card img {
  height: auto;
  max-height: 29rem;
}

.reference-service-card div {
  padding-top: 1rem;
}

.reference-service-card h3 {
  max-width: 100%;
  margin-bottom: 0.55rem;
  font-size: clamp(1.45rem, 1.7vw, 1.9rem);
  line-height: 1.08;
}

.reference-service-card p {
  display: block;
  max-width: 100%;
  font-size: 0.95rem;
  line-height: 1.55;
  overflow: visible;
}

.contact-section {
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
}

.map-panel {
  width: min(100%, var(--max));
  margin: clamp(1.25rem, 2.8vw, 2.5rem) auto 0;
  border-radius: 0.85rem;
  box-shadow: 0 1.2rem 3rem rgba(17, 13, 8, 0.1);
}

.site-footer,
.site-footer * {
  box-sizing: border-box;
}

.site-footer {
  display: grid !important;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) !important;
  gap: clamp(2rem, 5vw, 4.5rem) !important;
  align-items: start !important;
  padding: clamp(3rem, 5vw, 4.8rem) clamp(1rem, 5vw, 4.5rem) 1.5rem !important;
  overflow: hidden;
}

.site-footer .footer-brand,
.site-footer .footer-links,
.site-footer .footer-bottom {
  min-width: 0;
}

.site-footer .footer-brand {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.95rem;
  align-items: center;
}

.site-footer .footer-brand > div,
.site-footer .footer-links > div {
  display: block !important;
  min-width: 0;
  color: #fff;
}

.site-footer .footer-brand img {
  width: 3.35rem;
  height: 3.35rem;
  flex: 0 0 auto;
}

.site-footer .footer-brand strong {
  color: #fff !important;
  font-size: clamp(1.35rem, 2.1vw, 2.05rem);
  line-height: 1.04;
  letter-spacing: 0;
  overflow-wrap: normal;
}

.site-footer .footer-brand p {
  max-width: 30rem;
  margin: 0.65rem 0 0 !important;
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.95rem;
  line-height: 1.55;
  font-weight: 600;
}

.site-footer .footer-links {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(1.4rem, 3vw, 2.4rem) !important;
}

.site-footer .footer-links h3 {
  margin: 0 0 0.8rem;
  color: #fff !important;
  font-size: 0.78rem;
  line-height: 1.3;
  letter-spacing: 0.14em;
}

.site-footer .footer-links a {
  display: block !important;
  width: auto !important;
  min-height: 0 !important;
  margin: 0.45rem 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: rgba(255, 255, 255, 0.74) !important;
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.site-footer .footer-bottom {
  display: grid !important;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
  padding-top: 1.5rem;
}

.site-footer .footer-bottom p {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.62) !important;
  font-size: 0.9rem;
  line-height: 1.45;
  font-weight: 700;
  overflow-wrap: anywhere;
}

@media (min-width: 981px) {
  .service-carousel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    cursor: default;
  }

  .reference-service-card {
    flex: initial;
    scroll-snap-align: none;
  }
}

@media (min-width: 1280px) {
  .service-carousel {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .service-carousel {
    display: flex;
    max-width: none;
    margin-left: max(1rem, calc((100vw - var(--max)) / 2));
    padding-right: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .reference-service-card {
    flex: 0 0 min(20rem, calc(100vw - 2rem));
  }

  .site-footer {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

@media (max-width: 700px) {
  .reference-services-section .section-heading h2 {
    max-width: 22rem;
  }

  .reference-service-card {
    flex-basis: min(18.5rem, calc(100vw - 2rem));
  }

  .reference-service-card h3 {
    font-size: 1.38rem;
  }

  .contact-section {
    padding-bottom: 3rem;
  }

  .map-panel {
    height: 18rem;
    margin-top: 1rem;
    border-radius: 0.85rem;
    box-shadow: none;
  }

  .site-footer {
    padding: 2.5rem 1rem 5.25rem !important;
  }

  .site-footer .footer-brand {
    align-items: start;
  }

  .site-footer .footer-brand img {
    width: 3rem;
    height: 3rem;
  }

  .site-footer .footer-brand strong {
    font-size: 1.35rem;
  }

  .site-footer .footer-brand p {
    font-size: 0.92rem;
  }

  .site-footer .footer-links {
    grid-template-columns: 1fr !important;
    gap: 1.35rem !important;
  }

  .site-footer .footer-links a {
    font-size: 1rem;
  }

  .site-footer .footer-bottom {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .floating-whatsapp {
    right: 1rem;
    bottom: 1rem;
  }
}

/* Project gallery and richer editorial cards */
.portfolio-grid {
  display: grid;
  gap: clamp(1.75rem, 3vw, 2.35rem);
}

.project-card-meta {
  display: block;
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.portfolio-actions {
  display: flex;
  justify-content: flex-start;
  padding-top: 0.2rem;
}

.portfolio-show-more {
  min-height: 3rem;
  padding: 0 1.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-solid);
  color: var(--text);
  font-weight: 900;
  box-shadow: var(--soft-shadow);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.portfolio-show-more:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 50%, var(--line));
}

.portfolio-show-more[hidden] {
  display: none;
}

.gallery-dialog {
  width: min(1180px, calc(100vw - 28px));
  max-height: min(88vh, 860px);
  border-radius: 22px;
}

.gallery-dialog[open] {
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.84fr);
}

.project-gallery {
  position: relative;
  min-height: min(72vh, 720px);
  overflow: hidden;
  background: #050505;
  touch-action: pan-y;
  user-select: none;
}

.gallery-dialog .project-dialog-image {
  width: 100%;
  height: 100%;
  min-height: min(72vh, 720px);
  object-fit: cover;
  opacity: 1;
}

.gallery-dialog .project-dialog-copy {
  justify-content: center;
  min-width: 0;
  max-height: min(88vh, 860px);
  overflow-y: auto;
}

.project-dialog-caption {
  margin-top: 1rem !important;
  color: color-mix(in srgb, var(--text) 72%, var(--muted));
  font-size: 0.98rem !important;
  line-height: 1.6;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(5, 5, 5, 0.58);
  color: #fff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateY(-50%);
}

.gallery-nav:hover {
  background: rgba(255, 255, 255, 0.18);
}

.gallery-prev {
  left: 1rem;
}

.gallery-next {
  right: 1rem;
}

.gallery-counter {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 3;
  margin: 0;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.62);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.project-gallery-dots {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.35rem;
}

.project-gallery-dots button {
  width: 0.72rem;
  height: 0.72rem;
  min-height: 0;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--text) 34%, transparent);
  border-radius: 50%;
  background: transparent;
}

.project-gallery-dots button.active {
  border-color: var(--accent);
  background: var(--accent);
}

.blog-card {
  cursor: default;
}

.blog-card img {
  height: clamp(360px, 48vh, 560px);
}

.blog-card div {
  max-width: 52rem;
}

.blog-card-excerpt {
  max-width: 48rem;
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.68;
}

.blog-card-list {
  display: grid;
  gap: 0.55rem;
  max-width: 48rem;
  margin: 1rem 0 0;
  padding: 0;
  color: color-mix(in srgb, var(--muted) 92%, var(--text));
  font-size: 0.95rem;
  line-height: 1.55;
  list-style: none;
}

.blog-card-list li {
  position: relative;
  padding-left: 1rem;
}

.blog-card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 50%;
  background: var(--accent);
}

@media (max-width: 980px) {
  .gallery-dialog {
    max-height: calc(100svh - 1rem);
    overflow: auto;
  }

  .gallery-dialog[open] {
    grid-template-columns: 1fr;
  }

  .project-gallery,
  .gallery-dialog .project-dialog-image {
    min-height: min(58svh, 34rem);
  }

  .gallery-dialog .project-dialog-copy {
    max-height: none;
  }
}

@media (max-width: 700px) {
  .project-card-meta {
    font-size: 0.76rem;
  }

  .portfolio-show-more {
    width: 100%;
  }

  .gallery-dialog {
    width: calc(100vw - 1rem);
    border-radius: 1rem;
  }

  .project-gallery,
  .gallery-dialog .project-dialog-image {
    min-height: 22rem;
  }

  .gallery-dialog .project-dialog-copy {
    padding: 1.4rem;
  }

  .gallery-nav {
    width: 2.6rem;
    height: 2.6rem;
  }

  .gallery-prev {
    left: 0.65rem;
  }

  .gallery-next {
    right: 0.65rem;
  }

  .blog-card img {
    height: 20rem;
  }

  .blog-card-excerpt,
  .blog-card-list {
    font-size: 0.92rem;
  }
}

/* Full-page 3D view launch */
.panorama-section {
  position: relative;
  min-height: 0;
  overflow: hidden;
  padding: clamp(3rem, 5vw, 4.8rem) clamp(1.25rem, 5vw, 4rem);
  background:
    linear-gradient(110deg, color-mix(in srgb, var(--accent-2) 16%, transparent), transparent 38%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  color: var(--text);
}

/* Dedicated blog pages */
.blog-card {
  cursor: pointer;
}

.blog-read-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 1rem;
  padding-bottom: 0.18rem;
  border-bottom: 1px solid currentColor;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-index-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  max-width: var(--max);
  margin: 0 auto;
  padding-top: clamp(7rem, 12vw, 10rem);
}

.blog-index-copy h1 {
  max-width: 960px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 7.2rem);
  line-height: 0.92;
  font-weight: 600;
}

.blog-index-copy,
.blog-article-heading {
  min-width: 0;
}

.blog-index-copy p:not(.eyebrow) {
  max-width: 760px;
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.72;
}

.blog-index-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.blog-index-panel span {
  min-height: 8rem;
  display: grid;
  align-items: end;
  padding: 1.2rem;
  background: var(--bg-2);
  color: var(--text);
  font-weight: 800;
}

.blog-index-section {
  max-width: var(--max);
  margin: 0 auto;
}

.blog-index-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.2rem, 5vw, 5rem);
  margin-top: clamp(2rem, 4vw, 3.6rem);
}

.blog-index-grid .blog-card img {
  height: clamp(22rem, 38vw, 34rem);
}

.blog-main {
  overflow: hidden;
}

.blog-article-page {
  padding-top: 72px;
}

.blog-article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  max-width: var(--max);
  min-height: calc(100svh - 72px);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 5rem) clamp(1.25rem, 4vw, 3rem);
}

.blog-article-media {
  min-height: min(68svh, 48rem);
}

.blog-article-media img {
  width: 100%;
  height: min(68svh, 48rem);
  min-height: 28rem;
  object-fit: cover;
  border-radius: 4px;
  filter: saturate(0.94) contrast(1.02);
}

.blog-article-heading small {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blog-back-link {
  display: inline-flex;
  width: fit-content;
  padding-bottom: 0.18rem;
  border-bottom: 1px solid currentColor;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blog-article-heading h1 {
  max-width: 900px;
  margin: 0.9rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.6vw, 6.8rem);
  line-height: 0.92;
  font-weight: 600;
}

.blog-article-heading p {
  max-width: 720px;
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.76;
}

.blog-article-layout {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 800px);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 6rem) clamp(1.25rem, 4vw, 3rem);
}

.blog-article-sidebar {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 0.9rem;
  padding-top: 0.4rem;
}

.blog-article-sidebar a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.blog-article-sidebar a:hover {
  color: var(--text);
}

.blog-article-sidebar .sidebar-cta {
  width: fit-content;
  margin-top: 0.8rem;
  padding: 0.78rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--button);
  color: var(--button-text);
}

.blog-article-body {
  color: color-mix(in srgb, var(--text) 82%, var(--muted));
  font-size: clamp(1rem, 1.22vw, 1.12rem);
  line-height: 1.86;
}

.blog-article-body > *:first-child {
  margin-top: 0;
}

.blog-article-body p {
  margin: 1.15rem 0 0;
}

.blog-article-body h2 {
  margin: clamp(2.5rem, 5vw, 4rem) 0 0.9rem;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 1.04;
  font-weight: 600;
}

.blog-article-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto clamp(3rem, 6vw, 6rem);
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.blog-article-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.8rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-weight: 900;
}

.blog-article-nav a:hover {
  background: var(--text);
  color: var(--bg);
}

@media (max-width: 980px) {
  .blog-index-hero,
  .blog-article-hero,
  .blog-article-layout {
    grid-template-columns: 1fr;
  }

  .blog-index-hero {
    padding-top: 7rem;
  }

  .blog-index-grid {
    grid-template-columns: 1fr;
  }

  .blog-article-hero {
    min-height: 0;
  }

  .blog-article-media,
  .blog-article-media img {
    height: auto;
    min-height: 22rem;
  }

  .blog-article-sidebar {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    border-bottom: 1px solid var(--line);
    padding-bottom: 1.2rem;
  }
}

@media (max-width: 640px) {
  .blog-index-hero {
    overflow: hidden;
  }

  .blog-index-panel {
    grid-template-columns: 1fr;
  }

  .blog-index-panel span {
    min-height: 4.5rem;
  }

  .blog-article-page {
    padding-top: 64px;
  }

  .blog-article-hero {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .blog-article-media img {
    min-height: 18rem;
  }

  .blog-index-copy h1 {
    max-width: 100%;
    font-size: clamp(2.45rem, 11.2vw, 3.15rem);
    line-height: 1.02;
  }

  .blog-article-heading h1 {
    max-width: 100%;
    font-size: clamp(2.45rem, 11vw, 3.2rem);
    line-height: 1.02;
  }

  .blog-index-copy p:not(.eyebrow),
  .blog-article-heading p {
    max-width: 100%;
    font-size: 0.98rem;
  }

  .blog-article-layout {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .blog-article-nav {
    flex-direction: column;
    padding-right: 1rem;
    padding-left: 1rem;
  }
}

.panorama-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(22rem, 1fr);
  gap: clamp(1.6rem, 4vw, 4rem);
  align-items: center;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.panorama-copy {
  display: grid;
  gap: clamp(1.05rem, 1.7vw, 1.45rem);
}

.panorama-copy .eyebrow {
  margin-bottom: 0;
  color: var(--accent);
}

.panorama-copy h2 {
  max-width: 35rem;
  margin: 0;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: clamp(2.7rem, 4.6vw, 4.65rem);
  font-weight: 850;
  line-height: 0.98;
  text-wrap: balance;
}

.panorama-copy p:not(.eyebrow) {
  max-width: 33rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  font-weight: 650;
  line-height: 1.58;
}

.panorama-copy .panorama-studio-note {
  max-width: 31rem;
  margin-top: -0.25rem;
  padding-left: 0.9rem;
  border-left: 2px solid color-mix(in srgb, var(--accent) 58%, var(--line));
  color: color-mix(in srgb, var(--text) 72%, var(--muted));
  font-size: clamp(0.88rem, 0.96vw, 0.96rem);
  font-weight: 700;
  line-height: 1.5;
}

.panorama-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.panorama-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-solid) 62%, transparent);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panorama-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 0.2rem;
}

.panorama-section .btn {
  min-height: 3rem;
  padding-inline: 1.25rem;
}

.panorama-section .btn-primary {
  background: var(--button);
  color: var(--button-text);
  box-shadow: var(--soft-shadow);
}

.panorama-section .btn-secondary {
  border-color: var(--line);
  background: color-mix(in srgb, var(--surface-solid) 72%, transparent);
  color: var(--text);
}

.panorama-section .btn-primary:hover,
.panorama-section .btn-secondary:hover {
  transform: translateY(-2px);
}

.panorama-demo-stack {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.panorama-demo-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.4vw, 1.15rem);
  min-width: 0;
}

.panorama-demo-card {
  position: relative;
  display: grid;
  min-height: clamp(20rem, 30vw, 24rem);
  align-content: end;
  gap: 0.38rem;
  overflow: hidden;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-solid);
  color: #fff;
  isolation: isolate;
  box-shadow: var(--soft-shadow);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.panorama-demo-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
  box-shadow: var(--shadow);
}

.panorama-demo-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 650ms ease;
}

.panorama-demo-card:hover img {
  transform: scale(1.07);
}

.panorama-demo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.22) 42%, rgba(0, 0, 0, 0.78) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.48), transparent 70%);
}

.panorama-demo-card span {
  color: var(--accent-2);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.panorama-demo-card strong {
  font-size: clamp(1.2rem, 1.7vw, 1.6rem);
  line-height: 1.05;
}

.panorama-demo-card small {
  display: -webkit-box;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.panorama-demo-card em {
  margin-top: 0.35rem;
  color: #fff;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.panorama-demo-actions {
  display: flex;
  justify-content: flex-end;
}

.panorama-more-button {
  min-height: 2.75rem;
  padding: 0 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-solid) 76%, transparent);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 900;
  box-shadow: var(--soft-shadow);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.panorama-more-button:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
}

[data-theme="obsidian"] .panorama-section {
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.035), transparent 42%),
    linear-gradient(180deg, #030303 0%, #0a0907 100%);
  color: #fff;
}

[data-theme="obsidian"] .panorama-copy h2 {
  color: #fff;
}

[data-theme="obsidian"] .panorama-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

[data-theme="obsidian"] .panorama-copy .panorama-studio-note {
  border-left-color: rgba(202, 161, 91, 0.7);
  color: rgba(255, 255, 255, 0.76);
}

[data-theme="obsidian"] .panorama-badges span {
  border-color: rgba(243, 223, 189, 0.28);
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
}

[data-theme="obsidian"] .panorama-section .btn-primary {
  background: #17110d;
  color: #fff;
  box-shadow: 0 1rem 2.2rem rgba(0, 0, 0, 0.3);
}

[data-theme="obsidian"] .panorama-section .btn-secondary {
  border-color: transparent;
  background: rgba(255, 255, 255, 0.86);
  color: #17110d;
}

[data-theme="obsidian"] .panorama-more-button {
  border-color: rgba(243, 223, 189, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: 0 1rem 2.2rem rgba(0, 0, 0, 0.3);
}

@media (max-width: 760px) {
  .panorama-section {
    padding-block: clamp(3rem, 10vw, 4.5rem);
  }

  .panorama-shell {
    grid-template-columns: 1fr;
    width: min(100%, 34rem);
  }

  .panorama-copy h2 {
    font-size: clamp(2.35rem, 10vw, 3.7rem);
    line-height: 1;
  }

  .panorama-copy p:not(.eyebrow) {
    font-size: 0.98rem;
  }

  .panorama-demo-card {
    min-height: 18rem;
  }

  .panorama-demo-actions {
    justify-content: stretch;
  }

  .panorama-more-button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .panorama-section {
    padding-inline: 1rem;
  }

  .panorama-actions {
    display: grid;
  }

  .panorama-section .btn {
    width: 100%;
  }

  .panorama-demo-panel {
    grid-template-columns: 1fr;
  }

  .panorama-demo-card {
    min-height: 17.5rem;
  }
}

/* Final hero/navigation reference layout */
body {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.72), transparent 30rem),
    linear-gradient(180deg, #d8d8d6 0, var(--bg) 32rem, var(--bg-2) 100%);
}

[data-theme="obsidian"] body {
  background:
    radial-gradient(circle at 72% 10%, rgba(239, 137, 58, 0.12), transparent 28rem),
    linear-gradient(180deg, #bfc0bd 0, #080807 34rem, #080807 100%);
}

.site-header {
  top: clamp(1rem, 3vw, 2.25rem);
  left: 50%;
  right: auto;
  width: min(92vw, 1260px);
  height: 4.2rem;
  padding: 0 clamp(1rem, 2.4vw, 1.8rem);
  transform: translateX(-50%);
  border: 1px solid rgba(20, 18, 15, 0.08);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.92);
  color: #11100f;
  box-shadow: 0 1.4rem 3rem rgba(28, 25, 21, 0.08);
}

[data-theme="obsidian"] .site-header {
  border-color: rgba(255, 255, 255, 0.06);
  background: rgba(30, 29, 33, 0.94);
  color: #f7f2eb;
  box-shadow: 0 1.6rem 3rem rgba(0, 0, 0, 0.32);
}

.site-header.scrolled {
  border-color: rgba(20, 18, 15, 0.1);
  background: rgba(255, 255, 255, 0.96);
}

[data-theme="obsidian"] .site-header.scrolled {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(30, 29, 33, 0.96);
}

.brand img {
  width: 2.1rem;
  height: 2.1rem;
}

.brand span {
  color: inherit;
  font-size: 0.98rem;
  font-weight: 900;
}

.desktop-nav {
  display: flex;
  gap: clamp(0.65rem, 2vw, 1.8rem);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.desktop-nav a {
  padding: 0;
  border-radius: 0;
  color: color-mix(in srgb, currentColor 72%, transparent);
  font-size: 0.84rem;
  font-weight: 800;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  background: transparent;
  color: currentColor;
}

.header-actions {
  gap: 0.65rem;
}

.phone-pill,
.header-cta {
  min-height: 2.55rem;
  box-shadow: none;
}

.theme-toggle {
  background: transparent;
  box-shadow: none;
}

.menu-toggle {
  display: none;
}

.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: clamp(7.6rem, 12vw, 9.5rem) clamp(1rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem);
}

.hero::before {
  display: none;
}

.hero-frame {
  position: relative;
  display: grid;
  grid-template-columns: minmax(11rem, 0.36fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  width: min(92vw, 1260px);
  min-height: clamp(30rem, 66svh, 41rem);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(18, 16, 13, 0.08);
  background:
    linear-gradient(90deg, transparent calc(25% - 1px), rgba(18, 16, 13, 0.06) calc(25% - 1px) calc(25% + 1px), transparent calc(25% + 1px)),
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(18, 16, 13, 0.06) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(90deg, transparent calc(75% - 1px), rgba(18, 16, 13, 0.06) calc(75% - 1px) calc(75% + 1px), transparent calc(75% + 1px)),
    #fff;
  color: #10100f;
  box-shadow: 0 2rem 4.5rem rgba(29, 27, 24, 0.1);
}

[data-theme="obsidian"] .hero-frame {
  border-color: rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(90deg, rgba(54, 53, 61, 0.96) 0 32%, transparent 32%),
    radial-gradient(circle at 40% 62%, rgba(143, 227, 62, 0.22), transparent 11rem),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #1c1b20 0%, #24252b 44%, #111113 100%);
  background-size: auto, auto, 25% 100%, auto;
  color: #f7f2eb;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.45);
}

.hero-side-panel {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: space-between;
  min-height: 100%;
  padding: clamp(3.6rem, 6vw, 4.6rem) clamp(1.2rem, 3vw, 2.2rem) clamp(1.6rem, 3vw, 2.2rem);
}

[data-theme="obsidian"] .hero-side-panel::before {
  content: "01";
  position: absolute;
  top: 18%;
  left: -0.25em;
  z-index: -1;
  color: rgba(255, 255, 255, 0.035);
  font-size: clamp(12rem, 28vw, 27rem);
  font-weight: 900;
  line-height: 0.8;
}

.hero-team-widget {
  position: relative;
  align-self: start;
  width: fit-content;
}

.hero-team-avatars {
  display: flex;
  align-items: center;
  min-height: 2.2rem;
}

.team-avatar {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
  padding: 0;
  margin-left: -0.45rem;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #11100f;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 0.7rem 1.6rem rgba(0, 0, 0, 0.14);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.team-avatar:first-child {
  margin-left: 0;
}

.team-avatar:nth-child(2) {
  background: #8a5d35;
}

.team-avatar:nth-child(3) {
  background: #d8cfc4;
  color: #11100f;
}

.team-avatar:nth-child(4) {
  background: #ef893a;
}

.team-avatar:hover,
.team-avatar:focus-visible,
.team-avatar.active {
  z-index: 3;
  transform: translateY(-0.18rem) scale(1.08);
  border-color: #ef893a;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.24);
}

.team-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  clip-path: circle(50% at 50% 50%);
  object-fit: cover;
  object-position: 50% 18%;
}

.team-popover {
  position: absolute;
  left: 0;
  top: calc(100% + 0.85rem);
  z-index: 8;
  width: min(18rem, 82vw);
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(20, 18, 15, 0.1);
  background: rgba(255, 255, 255, 0.96);
  color: #11100f;
  box-shadow: 0 1.2rem 2.6rem rgba(26, 23, 20, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.4rem);
  transition: opacity 180ms ease, transform 180ms ease;
}

.team-popover[hidden] {
  display: none;
}

[data-theme="obsidian"] .team-popover {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(24, 24, 28, 0.96);
  color: #f7f2eb;
  box-shadow: 0 1.4rem 2.8rem rgba(0, 0, 0, 0.34);
}

.team-popover.is-visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.team-popover strong,
.team-popover span {
  display: block;
}

.team-popover strong {
  color: inherit;
  font-size: 0.9rem;
  font-weight: 900;
}

.team-popover span {
  margin-top: 0.18rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

[data-theme="obsidian"] .team-popover span {
  color: #ef893a;
}

.team-popover p {
  margin: 0.55rem 0 0;
  color: color-mix(in srgb, currentColor 68%, transparent);
  font-size: 0.78rem;
  line-height: 1.45;
}

.hero-agency-note {
  align-self: end;
  max-width: 17rem;
}

.hero-agency-note strong {
  display: block;
  margin-bottom: 0.65rem;
  color: inherit;
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  font-weight: 800;
}

.hero-agency-note p {
  margin: 0;
  color: color-mix(in srgb, currentColor 62%, transparent);
  font-size: clamp(0.82rem, 1vw, 0.92rem);
  line-height: 1.55;
}

.hero-read-more {
  width: fit-content;
  color: inherit;
  font-size: 0.84rem;
  font-weight: 900;
}

.hero-read-more::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 0.25rem;
  background: currentColor;
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 220ms ease;
}

.hero-read-more:hover::after {
  transform: scaleX(1);
}

.hero-main-panel {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  padding: clamp(3.1rem, 5.2vw, 4.4rem) clamp(1.4rem, 4.5vw, 4rem) clamp(1.2rem, 2.4vw, 1.7rem) 0;
}

.hero-main-panel .eyebrow {
  margin-bottom: 0.8rem;
}

.hero-main-panel h1 {
  max-width: 17ch;
  margin: 0 0 clamp(1.5rem, 3vw, 2.1rem);
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 5.7vw, 6.35rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: 0;
}

[data-theme="obsidian"] .hero-main-panel h1 {
  color: #f4efe8;
  text-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.45);
}

.hero-showcase {
  position: relative;
  width: 100%;
  height: clamp(13rem, 28vh, 18rem);
  min-height: 0;
  overflow: hidden;
  background: #ece9e4;
}

[data-theme="obsidian"] .hero-showcase {
  height: clamp(15rem, 32vh, 21rem);
  min-height: 0;
  background: #18181b;
}

.hero-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.02);
}

[data-theme="obsidian"] .hero-showcase img {
  opacity: 0.66;
  filter: saturate(0.78) contrast(1.08) brightness(0.72);
}

[data-theme="obsidian"] .hero-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(28, 27, 32, 0.34), transparent 36%),
    linear-gradient(180deg, transparent 52%, rgba(17, 17, 19, 0.42));
}

.hero-feature-panel {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(18, 16, 13, 0.08);
}

[data-theme="obsidian"] .hero-feature-panel {
  border-color: rgba(255, 255, 255, 0.07);
}

.hero-feature-panel a {
  display: grid;
  gap: 0.35rem;
  padding: 1rem clamp(0.8rem, 2vw, 1.2rem);
  border-left: 1px solid rgba(18, 16, 13, 0.08);
  color: color-mix(in srgb, currentColor 74%, transparent);
  font-size: 0.82rem;
  font-weight: 900;
}

[data-theme="obsidian"] .hero-feature-panel a {
  border-color: rgba(255, 255, 255, 0.07);
}

.hero-feature-panel span {
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

[data-theme="obsidian"] .hero-feature-panel span {
  color: #ef893a;
}

.intro-strip {
  margin-top: 0;
}

@media (max-width: 1160px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
}

@media (min-width: 1161px) {
  .desktop-nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    top: 0.75rem;
    width: calc(100vw - 1.5rem);
    height: 4rem;
    border-radius: 0;
  }

  .theme-toggle,
  .phone-pill,
  .header-cta {
    display: none !important;
  }

  .menu-toggle {
    display: block;
    width: 2.7rem;
    height: 2.7rem;
    flex: 0 0 2.7rem;
  }

  .mobile-nav {
    inset: 5.25rem 0.75rem auto;
    z-index: 79;
  }

  .hero {
    min-height: 0;
    padding: 6rem 0.75rem 2.4rem;
  }

  .hero-frame {
    width: 100%;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }

  .hero-side-panel {
    order: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.1rem;
    padding: 1.15rem;
  }

  .hero-team-widget {
    order: 2;
    width: 100%;
  }

  .hero-team-avatars {
    min-height: 2.4rem;
  }

  .team-avatar {
    width: 2.25rem;
    height: 2.25rem;
  }

  .team-popover {
    position: static;
    width: 100%;
    margin-top: 0.8rem;
  }

  .hero-agency-note {
    max-width: none;
  }

  .hero-read-more {
    display: none;
  }

  .hero-main-panel {
    padding: 1.25rem 1.15rem 0;
  }

  .hero-main-panel h1 {
    max-width: 100%;
    font-size: clamp(2.45rem, 10.6vw, 3.35rem);
    line-height: 0.98;
  }

  .hero-showcase {
    min-height: clamp(14rem, 55vw, 21rem);
    margin-inline: -1.15rem;
  }

  .hero-feature-panel {
    grid-column: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .brand span {
    max-width: 11.5rem;
  }

  .hero-main-panel h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 10.4vw, 3.05rem);
  }

  .hero-feature-panel a {
    padding: 0.9rem 1rem;
  }
}

/* Services: desktop architectural elevation */
@media (min-width: 981px) {
  .reference-services-section {
    padding-block: clamp(1.75rem, 4vh, 3rem);
    padding-inline: clamp(1rem, 3vw, 2.75rem);
  }

  .reference-services-section .section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(12rem, 22vw);
    gap: clamp(1.4rem, 3vw, 3rem);
    align-items: end;
    width: min(100%, calc(var(--max) + 4rem));
    max-width: calc(var(--max) + 4rem);
    margin: 0 auto clamp(0.8rem, 1.5vw, 1.2rem);
    padding-bottom: clamp(0.65rem, 1vw, 0.9rem);
    border-bottom: 1px solid var(--line);
  }

  .reference-services-section .section-heading::after {
    content: "";
    display: block;
    grid-column: 2;
    grid-row: 1 / span 2;
    justify-self: stretch;
    height: clamp(3.5rem, 8vw, 5.6rem);
    border: 1px solid var(--line);
    border-bottom: 0;
    background:
      linear-gradient(90deg, transparent calc(50% - 0.5px), var(--line) 50%, transparent calc(50% + 0.5px)),
      linear-gradient(0deg, transparent calc(50% - 0.5px), var(--line) 50%, transparent calc(50% + 0.5px));
    opacity: 0.7;
  }

  .reference-services-section .section-heading .eyebrow,
  .reference-services-section .section-heading h2 {
    grid-column: 1;
  }

  .reference-services-section .section-heading h2 {
    width: min(100%, 62rem);
    max-width: 62rem;
    font-size: clamp(2.35rem, 3.6vw, 3.75rem);
    line-height: 1;
  }

  .service-carousel {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(0.55rem, 0.9vw, 0.85rem);
    width: min(100%, calc(var(--max) + 4rem));
    max-width: calc(var(--max) + 4rem);
    margin: 0 auto;
    padding: 0;
    overflow: visible;
    cursor: default;
    scroll-snap-type: none;
  }

  .reference-service-card {
    position: relative;
    display: grid;
    grid-template-rows: auto minmax(4.25rem, auto);
    min-width: 0;
    padding-top: 0.55rem;
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
    flex: initial;
    isolation: isolate;
    scroll-snap-align: none;
  }

  .reference-service-card:first-child {
    border-left: 1px solid var(--line);
  }

  .reference-service-card::before {
    content: "";
    position: absolute;
    top: 0.55rem;
    right: 0.5rem;
    z-index: 1;
    width: 0.8rem;
    height: 0.8rem;
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
    opacity: 0.75;
    pointer-events: none;
  }

  .reference-service-card img {
    width: 100%;
    height: clamp(10.75rem, 16.4vw, 14.75rem);
    max-height: none;
    aspect-ratio: auto;
    object-fit: cover;
    border-radius: 0;
    filter: grayscale(18%) contrast(1.04) saturate(0.9);
  }

  .reference-service-card:hover img {
    filter: grayscale(0%) contrast(1.08) saturate(1);
    transform: translateY(-3px) scale(1.01);
  }

  .reference-service-card div {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 0.55rem;
    align-content: start;
    min-height: 4.25rem;
    padding: 0.65rem 0.5rem 0 0;
  }

  .reference-service-card span {
    grid-row: 1 / span 2;
    padding-top: 0.18rem;
    font-size: 0.68rem;
    line-height: 1;
    letter-spacing: 0;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
  }

  .reference-service-card h3 {
    display: block;
    margin: 0;
    font-size: clamp(1rem, 1.12vw, 1.28rem);
    line-height: 1.06;
    letter-spacing: 0;
  }

  .reference-service-card h3::after {
    display: none;
  }

  .reference-service-card p {
    display: none;
  }

  .reference-service-card:hover {
    border-color: color-mix(in srgb, var(--accent) 46%, var(--line));
  }
}

@media (min-width: 981px) and (max-width: 1180px) {
  .reference-services-section .section-heading {
    grid-template-columns: 1fr;
  }

  .reference-services-section .section-heading::after {
    display: none;
  }

  .reference-service-card {
    grid-template-rows: auto minmax(4.2rem, auto);
  }

  .reference-service-card img {
    height: clamp(12rem, 20vw, 14rem);
  }

  .reference-service-card div {
    min-height: 4.2rem;
  }

  .reference-service-card p {
    display: none;
  }
}

/* Process: refined studio timeline */
.reference-process-section {
  position: relative;
  padding-block: clamp(3.75rem, 6vw, 5.6rem);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / clamp(3rem, 8vw, 7rem) clamp(3rem, 8vw, 7rem),
    linear-gradient(180deg, #12100d 0%, #17120e 52%, #0e0c0a 100%);
  color: #f5ecdf;
}

.reference-process-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 24%, rgba(215, 176, 112, 0.12) 24.1% 24.3%, transparent 24.4% 100%),
    linear-gradient(180deg, rgba(251, 247, 239, 0.08), transparent 26%, rgba(0, 0, 0, 0.2));
  pointer-events: none;
}

.process-header,
.process-atelier {
  position: relative;
  z-index: 1;
  width: min(100%, calc(var(--max) + 2rem));
  margin-inline: auto;
}

.process-header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 0.46fr);
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: end;
  margin-bottom: clamp(1.6rem, 2.8vw, 2.6rem);
}

.process-header .eyebrow {
  color: #d7b070;
}

.process-header h2 {
  grid-column: 1;
  max-width: 12ch;
  margin: 0;
  color: #fff8ed;
  font-size: clamp(2.8rem, 4.8vw, 5.2rem);
  line-height: 0.95;
  font-weight: 800;
  text-wrap: balance;
}

.process-header > p:not(.eyebrow) {
  grid-column: 2;
  margin: 0;
  padding-left: clamp(1rem, 2vw, 1.5rem);
  border-left: 1px solid rgba(215, 176, 112, 0.42);
  color: rgba(245, 236, 223, 0.72);
  font-size: clamp(0.95rem, 1vw, 1.08rem);
  line-height: 1.72;
}

.process-atelier {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid rgba(215, 176, 112, 0.3);
  border-radius: 6px;
  background: rgba(255, 248, 235, 0.035);
  box-shadow: 0 1.4rem 4.5rem rgba(0, 0, 0, 0.26);
}

.process-rail {
  position: absolute;
  left: clamp(1.2rem, 1.8vw, 1.65rem);
  right: clamp(1.2rem, 1.8vw, 1.65rem);
  top: clamp(4.4rem, 6vw, 5.7rem);
  z-index: 2;
  height: 1px;
  background: linear-gradient(90deg, rgba(215, 176, 112, 0), rgba(215, 176, 112, 0.82), rgba(215, 176, 112, 0));
  pointer-events: none;
}

.process-stage {
  position: relative;
  display: grid;
  min-height: clamp(20.5rem, 26vw, 25rem);
  padding: clamp(1.35rem, 2vw, 1.8rem);
  border-right: 1px solid rgba(215, 176, 112, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(22, 17, 13, 0.74);
  color: #fff8ed;
  transition: transform 260ms ease, background 260ms ease, border-color 260ms ease;
}

.process-stage:last-child {
  border-right: 0;
}

.process-stage::before {
  content: "";
  position: absolute;
  left: clamp(1.2rem, 1.8vw, 1.65rem);
  top: calc(clamp(4.4rem, 6vw, 5.7rem) - 0.38rem);
  z-index: 3;
  width: 0.76rem;
  height: 0.76rem;
  border: 1px solid #d7b070;
  border-radius: 50%;
  background: #12100d;
  box-shadow: 0 0 0 0.42rem rgba(215, 176, 112, 0.1);
}

.process-stage::after {
  content: "";
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 1.05rem;
  height: 1.05rem;
  border-top: 1px solid rgba(215, 176, 112, 0.34);
  border-right: 1px solid rgba(215, 176, 112, 0.34);
}

.process-stage:hover {
  transform: translateY(-0.45rem);
  border-color: rgba(215, 176, 112, 0.5);
  background:
    linear-gradient(180deg, rgba(215, 176, 112, 0.14), rgba(255, 255, 255, 0.02)),
    rgba(21, 17, 13, 0.82);
}

.process-index {
  display: block;
  color: rgba(245, 236, 223, 0.24);
  font-family: var(--font-display);
  font-size: clamp(3.75rem, 5.6vw, 5.8rem);
  line-height: 0.8;
  font-weight: 600;
}

.process-phase {
  width: fit-content;
  margin: clamp(1.7rem, 3vw, 2.4rem) 0 0.75rem;
  color: #d7b070;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.process-stage h3 {
  margin: 0;
  color: #fff8ed;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.75vw, 1.85rem);
  line-height: 1.04;
  font-weight: 600;
}

.process-stage > p:not(.process-phase) {
  margin: 0.9rem 0 0;
  color: rgba(245, 236, 223, 0.78);
  font-size: clamp(0.82rem, 0.88vw, 0.94rem);
  line-height: 1.55;
}

.process-output {
  display: grid;
  gap: 0.55rem;
  align-self: end;
  margin: clamp(1.4rem, 3vw, 2rem) 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(215, 176, 112, 0.22);
  list-style: none;
}

.process-output li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  color: rgba(245, 236, 223, 0.84);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-transform: uppercase;
}

.process-output li::before {
  content: "";
  flex: 0 0 auto;
  width: 0.42rem;
  height: 0.42rem;
  margin-top: 0.28rem;
  border: 1px solid #d7b070;
  transform: rotate(45deg);
}

@media (max-width: 980px) {
  .reference-process-section {
    padding-block: 4.5rem;
  }

  .process-header {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .process-header h2,
  .process-header > p:not(.eyebrow) {
    grid-column: auto;
  }

  .process-header h2 {
    max-width: 11ch;
    font-size: clamp(2.65rem, 11vw, 4.4rem);
  }

  .process-header > p:not(.eyebrow) {
    max-width: 38rem;
  }

  .process-atelier {
    grid-template-columns: 1fr;
  }

  .process-rail {
    left: 1.45rem;
    right: auto;
    top: 1.5rem;
    bottom: 1.5rem;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, rgba(215, 176, 112, 0), rgba(215, 176, 112, 0.82), rgba(215, 176, 112, 0));
  }

  .process-stage {
    min-height: 0;
    padding: 1.4rem 1.2rem 1.5rem 3.15rem;
    border-right: 0;
    border-bottom: 1px solid rgba(215, 176, 112, 0.2);
  }

  .process-stage:last-child {
    border-bottom: 0;
  }

  .process-stage::before {
    left: 1.08rem;
    top: 1.75rem;
  }

  .process-stage::after {
    display: none;
  }

  .process-stage:hover {
    transform: none;
  }

  .process-index {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 3.2rem;
  }

  .process-phase {
    margin-top: 0;
  }

  .process-stage h3 {
    max-width: 15rem;
    font-size: clamp(1.55rem, 7vw, 2.05rem);
  }

  .process-output {
    grid-template-columns: 1fr;
  }
}

/* Process compact pass */
.reference-process-section {
  padding-block: clamp(3rem, 5vw, 4.35rem);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px) 0 0 / clamp(2.4rem, 6vw, 5rem) clamp(2.4rem, 6vw, 5rem),
    linear-gradient(180deg, #12100d 0%, #17120e 56%, #0e0c0a 100%);
  animation: processGridDrift 28s linear infinite;
}

.reference-process-section::before {
  opacity: 0.76;
}

.reference-process-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 18%;
  z-index: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(215, 176, 112, 0.42), transparent);
  opacity: 0;
  transform: translateY(0);
  animation: processScanLine 9s ease-in-out infinite;
  pointer-events: none;
}

.process-header,
.process-atelier {
  width: min(100%, calc(var(--max) + 1rem));
}

.process-header {
  grid-template-columns: minmax(0, 0.72fr) minmax(15rem, 0.34fr);
  gap: clamp(1.25rem, 3vw, 3.5rem);
  margin-bottom: clamp(1.2rem, 2.2vw, 1.9rem);
}

.process-header h2 {
  max-width: 13ch;
  font-size: clamp(2.55rem, 4.05vw, 4.45rem);
  line-height: 0.96;
}

.process-header > p:not(.eyebrow) {
  max-width: 25rem;
  color: rgba(245, 236, 223, 0.68);
  font-size: clamp(0.86rem, 0.9vw, 0.98rem);
  line-height: 1.58;
}

.process-atelier {
  isolation: isolate;
  overflow: hidden;
  border-color: rgba(215, 176, 112, 0.34);
  background:
    linear-gradient(90deg, transparent 0 calc(20% - 0.5px), rgba(215, 176, 112, 0.12) 20%, transparent calc(20% + 0.5px) calc(40% - 0.5px), rgba(215, 176, 112, 0.12) 40%, transparent calc(40% + 0.5px) calc(60% - 0.5px), rgba(215, 176, 112, 0.12) 60%, transparent calc(60% + 0.5px) calc(80% - 0.5px), rgba(215, 176, 112, 0.12) 80%, transparent calc(80% + 0.5px)),
    rgba(255, 248, 235, 0.028);
}

.process-atelier::after {
  content: "";
  position: absolute;
  inset: 0.8rem;
  z-index: -1;
  border: 1px solid rgba(255, 248, 235, 0.045);
  transform: scaleX(0);
  transform-origin: left;
  animation: processFrameDraw 1200ms 260ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  pointer-events: none;
}

.process-rail {
  top: clamp(3.3rem, 4.2vw, 4.15rem);
  overflow: hidden;
}

.process-rail::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, #d7b070 35%, #fff2cf 50%, #d7b070 65%, transparent);
  transform: translateX(-100%);
  animation: processRailSweep 3600ms 600ms cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.process-stage {
  min-height: clamp(15.5rem, 19vw, 18.25rem);
  padding: clamp(1rem, 1.45vw, 1.35rem);
  opacity: 0;
  transform: translateY(1.1rem);
  animation: processStageIn 720ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.process-stage:nth-of-type(2) {
  animation-delay: 90ms;
}

.process-stage:nth-of-type(3) {
  animation-delay: 180ms;
}

.process-stage:nth-of-type(4) {
  animation-delay: 270ms;
}

.process-stage:nth-of-type(5) {
  animation-delay: 360ms;
}

.process-stage:nth-of-type(6) {
  animation-delay: 450ms;
}

.process-stage::before {
  top: calc(clamp(3.3rem, 4.2vw, 4.15rem) - 0.35rem);
  animation: processNodePulse 2800ms ease-in-out infinite;
}

.process-stage:hover {
  transform: translateY(-0.28rem);
}

.process-index {
  color: rgba(245, 236, 223, 0.18);
  font-size: clamp(2.8rem, 4.1vw, 4.3rem);
}

.process-phase {
  margin: clamp(0.95rem, 2vw, 1.35rem) 0 0.58rem;
  font-size: 0.64rem;
  letter-spacing: 0.16em;
}

.process-stage h3 {
  position: relative;
  width: fit-content;
  max-width: 100%;
  font-size: clamp(1.22rem, 1.45vw, 1.55rem);
  line-height: 1.03;
}

.process-stage h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.32rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 0.38;
  transform: scaleX(0.22);
  transform-origin: left;
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1), opacity 320ms ease;
}

.process-stage:hover h3::after {
  opacity: 0.72;
  transform: scaleX(1);
}

.process-stage > p:not(.process-phase) {
  max-width: 18rem;
  margin-top: 0.8rem;
  font-size: clamp(0.76rem, 0.78vw, 0.84rem);
  line-height: 1.45;
}

.process-output {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: clamp(1rem, 1.8vw, 1.35rem);
  padding-top: 0.8rem;
}

.process-output li {
  gap: 0.42rem;
  font-size: 0.63rem;
  letter-spacing: 0.11em;
}

.process-output li::before {
  width: 0.34rem;
  height: 0.34rem;
  margin-top: 0.3rem;
}

@keyframes processGridDrift {
  0% {
    background-position: 0 0, 0 0;
  }

  100% {
    background-position: clamp(2.4rem, 6vw, 5rem) clamp(2.4rem, 6vw, 5rem), 0 0;
  }
}

@keyframes processScanLine {
  0%,
  26%,
  100% {
    opacity: 0;
    transform: translateY(0);
  }

  46% {
    opacity: 0.5;
  }

  68% {
    opacity: 0;
    transform: translateY(21rem);
  }
}

@keyframes processFrameDraw {
  to {
    transform: scaleX(1);
  }
}

@keyframes processRailSweep {
  0% {
    transform: translateX(-105%);
  }

  48%,
  100% {
    transform: translateX(105%);
  }
}

@keyframes processStageIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes processNodePulse {
  0%,
  100% {
    box-shadow: 0 0 0 0.32rem rgba(215, 176, 112, 0.08);
  }

  50% {
    box-shadow: 0 0 0 0.48rem rgba(215, 176, 112, 0.18);
  }
}

@media (max-width: 980px) {
  .reference-process-section {
    padding-block: 3.4rem;
  }

  .process-header {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-bottom: 1.35rem;
  }

  .process-header .eyebrow,
  .process-header h2,
  .process-header > p:not(.eyebrow) {
    grid-column: 1;
  }

  .process-header h2 {
    max-width: 10ch;
    font-size: clamp(2.35rem, 10vw, 3.55rem);
  }

  .process-header > p:not(.eyebrow) {
    max-width: 24rem;
    padding-left: 0.9rem;
    font-size: 0.9rem;
    line-height: 1.52;
  }

  .process-atelier {
    background: rgba(255, 248, 235, 0.028);
  }

  .process-rail {
    left: 1.25rem;
    top: 1.25rem;
    bottom: 1.25rem;
  }

  .process-rail::after {
    background: linear-gradient(180deg, transparent, #d7b070 35%, #fff2cf 50%, #d7b070 65%, transparent);
    transform: translateY(-100%);
    animation-name: processRailSweepVertical;
  }

  .process-stage {
    min-height: 0;
    padding: 1rem 1rem 1.05rem 2.75rem;
  }

  .process-stage::before {
    left: 0.89rem;
    top: 1.28rem;
  }

  .process-index {
    right: 0.9rem;
    top: 0.75rem;
    font-size: 2.35rem;
  }

  .process-phase {
    margin-bottom: 0.5rem;
  }

  .process-stage h3 {
    max-width: 12rem;
    font-size: clamp(1.24rem, 6vw, 1.65rem);
  }

  .process-stage > p:not(.process-phase) {
    max-width: 18rem;
    margin-top: 0.75rem;
    font-size: 0.82rem;
  }

  .process-output {
    padding-top: 0.7rem;
  }
}

@keyframes processRailSweepVertical {
  0% {
    transform: translateY(-105%);
  }

  48%,
  100% {
    transform: translateY(105%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reference-process-section,
  .reference-process-section::after,
  .process-atelier::after,
  .process-rail::after,
  .process-stage,
  .process-stage::before {
    animation: none;
  }

  .process-stage {
    opacity: 1;
    transform: none;
  }
}

/* Sitewide compact architectural pass */
:root {
  --bg: #f6f4ef;
  --bg-2: #ebe8e0;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-solid: #fffefa;
  --text: #121311;
  --muted: #686c63;
  --faint: #d8d4c8;
  --line: rgba(25, 28, 24, 0.14);
  --accent: #5f675f;
  --accent-2: #b99256;
  --button: #121311;
  --button-text: #ffffff;
  --shadow: 0 18px 56px rgba(20, 21, 18, 0.12);
  --soft-shadow: 0 10px 34px rgba(20, 21, 18, 0.09);
  --radius: 8px;
  --max: 1280px;
}

[data-theme="obsidian"] {
  --bg: #090909;
  --bg-2: #11120f;
  --surface: rgba(22, 23, 20, 0.78);
  --surface-solid: #171814;
  --text: #f3efe7;
  --muted: #aaa89f;
  --faint: rgba(211, 195, 158, 0.22);
  --line: rgba(230, 218, 190, 0.16);
  --accent: #c8b986;
  --accent-2: #d0a45f;
  --button: #f4ead6;
  --button-text: #11110f;
}

body {
  background:
    linear-gradient(90deg, rgba(18, 19, 17, 0.035) 1px, transparent 1px) 0 0 / clamp(4rem, 9vw, 7rem) clamp(4rem, 9vw, 7rem),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 46rem, var(--bg) 100%);
}

.site-header,
.btn,
.phone-pill,
.header-cta,
.theme-toggle,
.menu-toggle,
.project-filter,
.reference-arrow-link,
.portfolio-show-more,
.panorama-more-button,
.blog-article-nav a,
.blog-article-sidebar .sidebar-cta {
  border-radius: var(--radius);
}

.site-header {
  box-shadow: 0 0.85rem 2.4rem rgba(22, 22, 19, 0.08);
}

.section,
.reference-about-section,
.reference-services-section,
.reference-why-section,
.editorial-grid-section,
.panorama-section,
.reference-process-section,
.contact-section,
.blog-index-section {
  padding-block: clamp(2.75rem, 4.8vw, 4.45rem);
}

.reference-about-section,
.reference-why-section,
.editorial-grid-section,
.panorama-section,
.contact-section,
.blog-index-hero,
.blog-index-section,
.blog-article-hero,
.blog-article-layout {
  position: relative;
  isolation: isolate;
}

.reference-about-section::before,
.reference-why-section::before,
.editorial-grid-section::before,
.panorama-section::before,
.contact-section::before,
.blog-index-hero::before,
.blog-index-section::before,
.blog-article-hero::before,
.blog-article-layout::before {
  content: "";
  position: absolute;
  inset: clamp(0.75rem, 2vw, 1.5rem);
  z-index: -1;
  border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--line) 55%, transparent) 1px, transparent 1px) 0 0 / clamp(5rem, 14vw, 10rem) 100%,
    linear-gradient(180deg, color-mix(in srgb, var(--line) 46%, transparent) 1px, transparent 1px) 0 0 / 100% clamp(5rem, 12vw, 8rem);
  opacity: 0.42;
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  pointer-events: none;
  animation: architectureGridDrift 30s linear infinite;
}

.hero {
  min-height: 86svh;
  padding: clamp(5.4rem, 8vw, 7.2rem) clamp(1rem, 3vw, 2.4rem) clamp(2rem, 4vw, 3.6rem);
}

.hero-frame {
  width: min(94vw, 1200px);
  min-height: clamp(24rem, 57svh, 33rem);
  border-radius: var(--radius);
  box-shadow: 0 1.4rem 4rem rgba(21, 20, 17, 0.12);
}

.hero-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(90deg, transparent, rgba(185, 146, 86, 0.18), transparent),
    linear-gradient(180deg, transparent calc(50% - 0.5px), rgba(18, 19, 17, 0.12) 50%, transparent calc(50% + 0.5px));
  opacity: 0.54;
  transform: translateX(-105%);
  pointer-events: none;
  animation: architectureSweep 8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.hero-side-panel,
.hero-main-panel,
.hero-feature-panel {
  position: relative;
  z-index: 4;
}

.hero-side-panel {
  padding: clamp(2.4rem, 4vw, 3.35rem) clamp(1rem, 2.4vw, 1.7rem) clamp(1.1rem, 2vw, 1.55rem);
}

.hero-agency-note {
  max-width: 15.5rem;
}

.hero-agency-note p {
  display: -webkit-box;
  overflow: hidden;
  font-size: clamp(0.78rem, 0.9vw, 0.86rem);
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.hero-main-panel {
  padding: clamp(2.2rem, 4vw, 3.35rem) clamp(1.2rem, 3.6vw, 3.2rem) clamp(0.9rem, 2vw, 1.35rem) 0;
}

.hero-main-panel h1 {
  max-width: 14.5ch;
  margin-bottom: clamp(1.05rem, 2vw, 1.45rem);
  font-size: clamp(3rem, 4.85vw, 5.35rem);
  line-height: 0.96;
}

.hero-showcase {
  height: clamp(10.75rem, 23vh, 15rem);
  border-top: 1px solid var(--line);
}

[data-theme="obsidian"] .hero-showcase {
  height: clamp(11.5rem, 24vh, 16rem);
}

.hero-feature-panel a {
  min-height: 3.55rem;
  padding: 0.78rem clamp(0.72rem, 1.4vw, 1rem);
  font-size: 0.78rem;
}

.intro-strip {
  width: min(100%, var(--max));
  margin: -0.8rem auto 0;
  gap: 0.7rem;
  padding-inline: clamp(1rem, 3vw, 2.4rem);
}

.intro-strip .stat-card {
  min-height: 0;
  padding: clamp(0.95rem, 1.8vw, 1.35rem);
  border-radius: var(--radius);
}

.intro-strip .stat-card strong {
  font-size: clamp(1.85rem, 3vw, 3rem);
}

.intro-strip .stat-card span {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.reference-split,
.reference-split.reverse {
  gap: clamp(1.35rem, 3.4vw, 3.4rem);
}

.reference-copy h2,
.section-heading h2,
.editorial-sticky h2,
.consultation-band h2,
.contact-copy h2,
.studio-copy h2,
.blog-index-copy h1,
.blog-article-heading h1 {
  max-width: 17ch;
  font-size: clamp(2.05rem, 3.55vw, 3.9rem);
  line-height: 0.98;
  font-weight: 760;
  text-wrap: balance;
}

.reference-copy p:not(.eyebrow),
.section-intro,
.contact-copy p,
.studio-copy p,
.blog-index-copy p:not(.eyebrow),
.blog-article-heading p,
.panorama-copy p:not(.eyebrow) {
  max-width: 34rem;
  margin-top: 0.9rem;
  font-size: clamp(0.9rem, 0.98vw, 0.98rem);
  line-height: 1.5;
}

.eyebrow {
  margin-bottom: 0.65rem;
  letter-spacing: 0.16em;
}

.reference-facts {
  margin-top: 1.15rem;
}

.reference-facts div {
  padding: clamp(0.85rem, 1.5vw, 1.15rem);
}

.reference-facts strong {
  font-size: clamp(1.75rem, 2.5vw, 2.65rem);
}

.reference-facts span {
  margin-top: 0.38rem;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
}

.reference-checklist {
  margin-top: 1.1rem;
}

.reference-checklist li,
.reference-checklist.large li {
  gap: 0.8rem;
  padding-block: 0.75rem;
}

.reference-checklist strong,
.reference-checklist.large strong {
  font-size: 0.92rem;
  line-height: 1.22;
}

.reference-checklist span {
  display: -webkit-box;
  overflow: hidden;
  color: color-mix(in srgb, var(--muted) 90%, var(--text));
  font-size: 0.84rem;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.layered-image-stack {
  min-height: clamp(24rem, 38vw, 31rem);
}

.layered-image {
  border-radius: var(--radius);
  box-shadow: 0 1.1rem 3rem rgba(20, 21, 18, 0.12);
}

.layered-image-stack::after {
  content: "";
  position: absolute;
  right: 4%;
  bottom: 2%;
  width: min(42%, 16rem);
  height: min(38%, 13rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  opacity: 0.72;
  pointer-events: none;
  animation: architectureCornerPulse 5s ease-in-out infinite;
}

.reference-services-section {
  padding-block: clamp(1.75rem, 3.2vw, 2.85rem);
}

.reference-services-section .section-heading {
  margin-bottom: clamp(0.75rem, 1.35vw, 1.1rem);
}

.reference-services-section .section-heading h2 {
  max-width: 16ch;
  font-size: clamp(2rem, 3vw, 3.25rem);
}

@media (min-width: 981px) {
  .service-carousel {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(0.5rem, 0.8vw, 0.75rem);
    width: min(100%, calc(var(--max) + 2rem));
    max-width: calc(var(--max) + 2rem);
  }

  .reference-service-card {
    grid-template-rows: auto minmax(3.5rem, auto);
    transition: border-color 220ms ease, transform 220ms ease;
  }

  .reference-service-card:hover {
    transform: translateY(-0.12rem);
  }

  .reference-service-card img {
    height: clamp(9.6rem, 13.8vw, 13.25rem);
  }

  .reference-service-card div {
    min-height: 3.5rem;
    padding-top: 0.55rem;
  }

  .reference-service-card h3 {
    font-size: clamp(0.95rem, 1vw, 1.15rem);
    line-height: 1.07;
  }
}

.marquee-section {
  padding-top: clamp(2rem, 4.5vw, 4rem);
}

.scroll-marquee span {
  font-size: clamp(3.8rem, 8.8vw, 8rem);
}

.inline-image-statement {
  max-width: 820px;
  margin: clamp(1.7rem, 3.8vw, 3.3rem) auto;
}

.inline-image-statement h2 {
  font-size: clamp(1.85rem, 3.1vw, 3.35rem);
  line-height: 1.24;
}

.inline-thumb {
  width: clamp(3.1rem, 4.8vw, 4.8rem);
  height: clamp(3.1rem, 4.8vw, 4.8rem);
  border-width: 2px;
}

.parallax-band {
  height: clamp(20rem, 48vh, 32rem);
}

.editorial-grid-section {
  grid-template-columns: minmax(14rem, 0.56fr) minmax(0, 1fr);
  gap: clamp(1.4rem, 3.8vw, 3.7rem);
}

.editorial-sticky {
  top: 96px;
}

.editorial-post-column {
  gap: clamp(1rem, 2vw, 1.55rem);
}

.editorial-filters {
  gap: 0.45rem;
}

.project-filter {
  min-height: 2.25rem;
  padding: 0 0.82rem;
  font-size: 0.73rem;
}

.reference-arrow-link,
.portfolio-show-more,
.panorama-more-button {
  min-height: 2.55rem;
  margin-top: 1rem;
  padding-inline: 0.9rem;
  font-size: 0.82rem;
}

.reference-post-card {
  position: relative;
}

.reference-post-card::before {
  content: "";
  position: absolute;
  inset: -0.45rem;
  border: 1px solid var(--line);
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 260ms ease, transform 260ms ease;
  pointer-events: none;
}

.reference-post-card:hover::before {
  opacity: 1;
  transform: scale(1);
}

.reference-post-card img,
.blog-card img,
.blog-index-grid .blog-card img {
  height: clamp(17rem, 37vh, 26rem);
  border-radius: var(--radius);
}

.reference-post-card strong,
.blog-card h3 {
  margin-top: 0.78rem;
  font-size: clamp(1.45rem, 2.05vw, 2.25rem);
  line-height: 1.08;
}

.project-card-meta,
.blog-card-excerpt,
.blog-card-list {
  font-size: 0.86rem;
  line-height: 1.48;
}

.blog-card-excerpt {
  display: -webkit-box;
  overflow: hidden;
  max-width: 38rem;
  margin-top: 0.55rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.portfolio-grid {
  gap: clamp(1.15rem, 2vw, 1.65rem);
}

.panorama-section {
  padding-block: clamp(2.7rem, 4.8vw, 4.25rem);
}

.panorama-shell {
  grid-template-columns: minmax(0, 0.72fr) minmax(20rem, 1fr);
  gap: clamp(1.2rem, 3vw, 2.6rem);
}

.panorama-copy {
  gap: 0.78rem;
}

.panorama-copy h2 {
  max-width: 14ch;
  font-size: clamp(2.05rem, 3.45vw, 3.55rem);
  line-height: 0.98;
}

.panorama-copy .panorama-studio-note {
  display: none;
}

.panorama-badges {
  gap: 0.45rem;
}

.panorama-badges span {
  min-height: 1.85rem;
  padding-inline: 0.65rem;
  border-radius: var(--radius);
  font-size: 0.64rem;
}

.panorama-actions {
  gap: 0.6rem;
}

.panorama-section .btn {
  min-height: 2.55rem;
  padding-inline: 0.95rem;
}

.panorama-demo-panel {
  gap: 0.75rem;
}

.panorama-demo-card {
  min-height: clamp(13rem, 21vw, 18rem);
  padding: 0.82rem;
  border-radius: var(--radius);
}

.panorama-demo-card::before {
  content: "";
  position: absolute;
  inset: 0.55rem;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  opacity: 0;
  transform: scaleX(0.88);
  transition: opacity 260ms ease, transform 260ms ease;
}

.panorama-demo-card:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.panorama-demo-card small {
  -webkit-line-clamp: 2;
}

.consultation-band {
  margin-top: 0;
  padding: clamp(1.85rem, 4vw, 3.25rem) clamp(1rem, 6vw, 4rem);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / clamp(3rem, 8vw, 6rem) 100%,
    #0f100e;
}

.consultation-band h2 {
  max-width: 17ch;
  font-size: clamp(2rem, 3.7vw, 3.8rem);
}

.reference-process-section {
  padding-block: clamp(2.65rem, 4.4vw, 3.95rem);
}

.process-header {
  margin-bottom: clamp(0.95rem, 1.8vw, 1.45rem);
}

.process-header h2 {
  font-size: clamp(2.25rem, 3.55vw, 3.95rem);
}

.process-stage {
  min-height: clamp(13rem, 16vw, 15.25rem);
}

.process-stage > p:not(.process-phase) {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.contact-shell {
  position: relative;
  overflow: hidden;
  gap: clamp(1.4rem, 3vw, 3rem);
  padding: clamp(1.6rem, 3.8vw, 3rem);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px) 0 0 / clamp(3rem, 8vw, 5.5rem) 100%,
    #11120f;
}

.contact-shell::before {
  content: "";
  position: absolute;
  inset: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  opacity: 0.9;
  pointer-events: none;
}

.contact-shell > * {
  position: relative;
  z-index: 1;
}

.contact-copy h2 {
  max-width: 14ch;
}

.contact-list {
  gap: 0.48rem;
  margin-top: 1.05rem;
}

.contact-list a,
.contact-list address {
  font-size: 0.92rem;
  line-height: 1.38;
}

.contact-form {
  gap: 0.72rem;
}

.contact-form label {
  gap: 0.4rem;
  font-size: 0.68rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  min-height: 2.65rem;
  padding: 0.72rem 0.82rem;
  border-radius: var(--radius);
}

.contact-form textarea {
  min-height: 5.8rem;
}

.map-panel {
  height: clamp(16rem, 26vw, 21rem);
  border-radius: var(--radius);
}

.footer-marquee {
  padding-top: clamp(2rem, 4.5vw, 3.8rem);
}

.footer-marquee > img {
  width: min(1060px, 84vw);
  max-height: 27rem;
  border-radius: var(--radius) var(--radius) 0 0;
}

.site-footer {
  padding-top: clamp(2.35rem, 4.4vw, 3.6rem) !important;
}

.site-footer .footer-brand strong {
  font-size: clamp(1.22rem, 1.8vw, 1.75rem);
}

.site-footer .footer-brand p,
.site-footer .footer-links a,
.site-footer .footer-bottom p {
  font-size: 0.88rem;
}

.blog-index-hero {
  padding-top: clamp(5.6rem, 8vw, 7.2rem);
  gap: clamp(1.3rem, 3.6vw, 3.2rem);
}

.blog-index-panel {
  border-radius: var(--radius);
  overflow: hidden;
}

.blog-index-panel span {
  min-height: 5.2rem;
  padding: 0.9rem;
  font-size: 0.9rem;
}

.blog-index-grid {
  gap: clamp(1.2rem, 2.4vw, 2rem);
  margin-top: clamp(1.25rem, 2.6vw, 2rem);
}

.blog-article-page {
  padding-top: 64px;
}

.blog-article-hero {
  min-height: min(84svh, 44rem);
  gap: clamp(1.35rem, 3.6vw, 3.2rem);
  padding-block: clamp(1.5rem, 3.8vw, 3.4rem);
}

.blog-article-media,
.blog-article-media img {
  height: clamp(20rem, 50svh, 35rem);
  min-height: 0;
}

.blog-article-media img {
  border-radius: var(--radius);
}

.blog-article-layout {
  grid-template-columns: minmax(150px, 220px) minmax(0, 720px);
  gap: clamp(1.35rem, 3.4vw, 3rem);
  max-width: 1080px;
  padding-block: clamp(2rem, 4.8vw, 4rem);
}

.blog-article-body {
  font-size: clamp(0.98rem, 1vw, 1.04rem);
  line-height: 1.78;
}

.blog-article-body h2 {
  margin-top: clamp(2rem, 4vw, 3rem);
  font-size: clamp(1.75rem, 2.35vw, 2.65rem);
}

@keyframes architectureGridDrift {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: clamp(5rem, 14vw, 10rem) 0, 0 clamp(5rem, 12vw, 8rem);
  }
}

@keyframes architectureSweep {
  0%,
  34%,
  100% {
    opacity: 0;
    transform: translateX(-105%);
  }

  48% {
    opacity: 0.48;
  }

  68% {
    opacity: 0;
    transform: translateX(105%);
  }
}

@keyframes architectureCornerPulse {
  0%,
  100% {
    opacity: 0.42;
    transform: translate3d(0, 0, 0);
  }

  50% {
    opacity: 0.82;
    transform: translate3d(-0.3rem, -0.3rem, 0);
  }
}

@media (max-width: 1080px) {
  .editorial-grid-section,
  .panorama-shell,
  .blog-index-hero,
  .blog-article-hero,
  .blog-article-layout {
    grid-template-columns: 1fr;
  }

  .editorial-sticky,
  .blog-article-sidebar {
    position: relative;
    top: auto;
  }
}

@media (max-width: 980px) {
  .section,
  .reference-about-section,
  .reference-services-section,
  .reference-why-section,
  .editorial-grid-section,
  .panorama-section,
  .reference-process-section,
  .contact-section,
  .blog-index-section {
    padding-block: clamp(2.55rem, 8vw, 3.5rem);
  }

  .hero {
    min-height: 0;
    padding: 5.1rem 0.75rem 2rem;
  }

  .hero-frame {
    width: 100%;
    min-height: 0;
  }

  .hero-side-panel {
    gap: 0.8rem;
    padding: 0.95rem;
  }

  .hero-main-panel {
    padding: 1rem 0.95rem 0;
  }

  .hero-main-panel h1 {
    font-size: clamp(2.15rem, 8.8vw, 2.9rem);
  }

  .hero-showcase {
    min-height: clamp(11rem, 44vw, 16rem);
    margin-inline: -0.95rem;
  }

  .hero-feature-panel a {
    min-height: 3.15rem;
    padding: 0.72rem 0.82rem;
  }

  .intro-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 0;
  }

  .reference-copy h2,
  .section-heading h2,
  .editorial-sticky h2,
  .consultation-band h2,
  .contact-copy h2,
  .studio-copy h2,
  .blog-index-copy h1,
  .blog-article-heading h1,
  .panorama-copy h2 {
    max-width: 18ch;
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .layered-image-stack {
    min-height: 0;
  }

  .reference-service-card {
    flex-basis: min(16.75rem, calc(100vw - 2rem));
  }

  .reference-service-card img {
    height: 15rem;
    max-height: none;
    object-fit: cover;
  }

  .reference-service-card p {
    display: none;
  }

  .reference-post-card img,
  .blog-card img,
  .blog-index-grid .blog-card img {
    height: clamp(15.5rem, 45vw, 22rem);
  }

  .panorama-demo-card {
    min-height: 15rem;
  }

  .process-stage {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 0.55rem;
    width: calc(100vw - 1rem);
    height: 3.55rem;
  }

  .brand span {
    max-width: 12.2rem;
    font-size: 0.95rem;
  }

  .section,
  .reference-about-section,
  .reference-services-section,
  .reference-why-section,
  .editorial-grid-section,
  .panorama-section,
  .reference-process-section,
  .contact-section,
  .blog-index-section {
    padding: 2.8rem 1rem;
  }

  .hero {
    padding: 4.65rem 0.6rem 1.7rem;
  }

  .hero-main-panel h1 {
    font-size: clamp(2rem, 9.2vw, 2.62rem);
  }

  .hero-agency-note p {
    -webkit-line-clamp: 2;
  }

  .hero-feature-panel {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero-feature-panel a {
    min-height: 3rem;
    padding: 0.62rem 0.45rem;
    font-size: 0.66rem;
  }

  .hero-feature-panel span {
    font-size: 0.62rem;
  }

  .intro-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-inline: 0.75rem;
  }

  .intro-strip .stat-card {
    padding: 0.85rem;
  }

  .intro-strip .stat-card strong {
    font-size: 1.8rem;
  }

  .reference-copy h2,
  .section-heading h2,
  .editorial-sticky h2,
  .consultation-band h2,
  .contact-copy h2,
  .studio-copy h2,
  .blog-index-copy h1,
  .blog-article-heading h1,
  .panorama-copy h2 {
    max-width: 100%;
    font-size: clamp(1.75rem, 8.3vw, 2.35rem);
    line-height: 1.02;
  }

  .reference-copy p:not(.eyebrow),
  .section-intro,
  .contact-copy p,
  .studio-copy p,
  .blog-index-copy p:not(.eyebrow),
  .blog-article-heading p,
  .panorama-copy p:not(.eyebrow) {
    max-width: 100%;
    font-size: 0.92rem;
  }

  .reference-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .reference-facts div {
    padding: 0.75rem 0.55rem;
  }

  .reference-facts strong {
    font-size: 1.4rem;
  }

  .reference-facts span {
    font-size: 0.56rem;
  }

  .reference-checklist li,
  .reference-checklist.large li {
    padding-block: 0.68rem;
  }

  .layered-image-float {
    margin-top: -2.25rem;
  }

  .service-carousel {
    gap: 0.75rem;
    margin-left: 1rem;
    padding-right: 1rem;
  }

  .reference-service-card {
    flex-basis: min(15.4rem, calc(100vw - 2rem));
  }

  .reference-service-card img {
    height: 13.6rem;
  }

  .reference-service-card h3 {
    font-size: 1.22rem;
  }

  .scroll-marquee span {
    font-size: 3.8rem;
  }

  .inline-image-statement {
    margin-block: 1.8rem;
  }

  .inline-image-statement h2 {
    font-size: 1.48rem;
    line-height: 1.32;
  }

  .inline-thumb {
    width: 2.7rem;
    height: 2.7rem;
  }

  .parallax-band {
    height: 17rem;
  }

  .editorial-post-column {
    gap: 1rem;
  }

  .editorial-filters {
    display: flex;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    scrollbar-width: none;
  }

  .editorial-filters::-webkit-scrollbar {
    display: none;
  }

  .project-filter {
    flex: 0 0 auto;
  }

  .reference-post-card img,
  .blog-card img,
  .blog-index-grid .blog-card img {
    height: 15rem;
  }

  .reference-post-card strong,
  .blog-card h3 {
    font-size: 1.32rem;
  }

  .consultation-band {
    padding: 2.25rem 1rem;
  }

  .panorama-demo-panel {
    grid-template-columns: 1fr;
  }

  .panorama-actions,
  .panorama-section .btn {
    width: 100%;
  }

  .panorama-section .btn {
    justify-content: center;
  }

  .process-header h2 {
    max-width: 11ch;
  }

  .process-output {
    display: flex;
  }

  .contact-shell {
    padding: 1.15rem;
  }

  .map-panel {
    height: 15rem;
  }

  .footer-marquee > img {
    width: calc(100% - 2rem);
    max-height: 15rem;
  }

  .blog-index-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-index-panel span {
    min-height: 3.8rem;
    font-size: 0.78rem;
  }

  .blog-index-hero {
    padding: 4.9rem 1rem 1.45rem;
    gap: 0.95rem;
  }

  .blog-index-copy h1 {
    font-size: clamp(1.9rem, 8vw, 2.25rem);
  }

  .blog-index-copy p:not(.eyebrow) {
    margin-top: 0.7rem;
    line-height: 1.42;
  }

  .blog-index-panel span {
    min-height: 3.15rem;
    padding: 0.68rem;
  }

  .blog-index-section {
    padding-top: 1.25rem;
  }

  .blog-index-grid {
    margin-top: 0.9rem;
  }

  .blog-article-hero {
    padding-inline: 1rem;
  }

  .blog-article-media,
  .blog-article-media img {
    height: 16rem;
  }

  .blog-article-layout {
    padding-inline: 1rem;
  }
}

@media (max-width: 380px) {
  .hero-feature-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reference-facts {
    grid-template-columns: 1fr;
  }

  .blog-index-panel {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-frame::before,
  .reference-about-section::before,
  .reference-why-section::before,
  .editorial-grid-section::before,
  .panorama-section::before,
  .contact-section::before,
  .blog-index-hero::before,
  .blog-index-section::before,
  .blog-article-hero::before,
  .blog-article-layout::before,
  .layered-image-stack::after {
    animation: none !important;
  }
}
