:root {
  --ivory: #f6f2ea;
  --ivory-soft: #fbf8f3;
  --travertine: #eae3d5;
  --travertine-deep: #d9cfbd;
  --charcoal: #171614;
  --charcoal-soft: #25231f;
  --ink-muted: #5a544a;
  --gold: #b38b4d;
  --gold-bright: #cfa767;
  --terracotta: #d46055;
  --hairline: rgba(23, 22, 20, 0.12);
  --hairline-light: rgba(246, 242, 234, 0.18);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --ease-arch: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--ivory);
  color: var(--charcoal);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--ivory);
  color: var(--charcoal);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.serif {
  font-family: var(--font-serif);
}

.mono {
  font-family: var(--font-mono);
}

.container {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

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

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

/* =========================================================
   ELEMENT 1: SKIPPABLE CAD ARCHITECTURAL INTRO (2.2s)
   ========================================================= */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: var(--charcoal);
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: opacity 0.65s var(--ease-arch), visibility 0.65s var(--ease-arch);
}

.intro-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-frame {
  position: relative;
  width: min(680px, 100%);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cad-line {
  stroke: rgba(207, 167, 103, 0.55);
  stroke-width: 1;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: draftDraw 1.65s var(--ease-arch) forwards;
}

.cad-inner {
  stroke: rgba(246, 242, 234, 0.25);
  animation-delay: 0.15s;
}

.cad-axis {
  stroke: rgba(246, 242, 234, 0.14);
  stroke-dasharray: 4 6;
  stroke-dashoffset: 0;
  opacity: 0;
  animation: fadeInAxis 0.8s ease 0.2s forwards;
}

.cad-diag,
.cad-circle {
  stroke: rgba(207, 167, 103, 0.35);
  animation-delay: 0.25s;
}

.cad-tick {
  stroke: var(--gold-bright);
  stroke-width: 1.5;
  animation-delay: 0.35s;
}

@keyframes draftDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fadeInAxis {
  to {
    opacity: 1;
  }
}

.intro-center {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px 28px;
  background: rgba(23, 22, 20, 0.72);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(207, 167, 103, 0.28);
  opacity: 0;
  transform: translateY(10px);
  animation: introReveal 0.8s var(--ease-arch) 0.25s forwards;
}

@keyframes introReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.intro-kicker {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold-bright);
  margin-bottom: 8px;
}

.intro-wordmark {
  margin: 0;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
}

.intro-city {
  margin: 10px 0 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(246, 242, 234, 0.76);
}

.intro-skip {
  position: fixed;
  top: 24px;
  right: 28px;
  z-index: 9010;
  background: rgba(246, 242, 234, 0.08);
  color: var(--ivory);
  border: 1px solid rgba(246, 242, 234, 0.28);
  padding: 9px 16px;
  font-size: 12px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.intro-skip:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--charcoal);
}

/* =========================================================
   ELEMENT 2: AMBIENT MOTION CANVAS & COORDINATE RULER
   ========================================================= */
.fx-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 4;
}

.drafting-grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
  background-image:
    linear-gradient(to right, rgba(23, 22, 20, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(23, 22, 20, 0.035) 1px, transparent 1px);
  background-size: 96px 96px;
  animation: gridDrift 28s linear infinite;
}

@keyframes gridDrift {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 96px 96px;
  }
}

.coord-ruler {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 12px 8px;
  background: rgba(246, 242, 234, 0.78);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(23, 22, 20, 0.14);
}

.ruler-label,
.ruler-pct {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--charcoal);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.ruler-track {
  position: relative;
  width: 14px;
  height: 150px;
  border-left: 1px solid rgba(23, 22, 20, 0.25);
}

.ruler-ticks {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(23, 22, 20, 0.35) 0,
    rgba(23, 22, 20, 0.35) 1px,
    transparent 1px,
    transparent 10px
  );
  width: 6px;
}

.ruler-indicator {
  position: absolute;
  left: -3px;
  top: 0%;
  width: 14px;
  height: 3px;
  background: var(--gold);
  box-shadow: 0 0 0 1px var(--charcoal);
  transition: top 0.08s linear;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  background: rgba(246, 242, 234, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}

.header-inner {
  width: min(1320px, calc(100% - 36px));
  margin: 0 auto;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 4px;
  background: var(--ivory-soft);
  padding: 3px;
  border: 1px solid var(--hairline);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand-text small {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 500;
}

.header-nav a {
  position: relative;
  padding: 4px 0;
  color: var(--charcoal);
}

.header-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-arch);
}

.header-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-phone {
  font-size: 12px;
  color: var(--charcoal);
  padding: 6px 10px;
  border: 1px solid var(--hairline);
}

.btn-whatsapp-sm {
  background: var(--charcoal);
  color: var(--ivory);
  padding: 9px 15px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid var(--charcoal);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-whatsapp-sm:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--charcoal);
}

/* =========================================================
   SECTION 1: FULL-BLEED ATMOSPHERIC HERO (SEED 1)
   ========================================================= */
.hero-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 120px 0 64px;
  background: var(--charcoal);
  color: var(--ivory);
  overflow: hidden;
}

.hero-media-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  filter: contrast(1.04) brightness(0.76);
  transform: scale(1.04);
  animation: heroBreath 18s ease-in-out infinite alternate;
}

@keyframes heroBreath {
  from {
    transform: scale(1.03);
  }
  to {
    transform: scale(1.09);
  }
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(23, 22, 20, 0.55) 0%, rgba(23, 22, 20, 0.35) 38%, rgba(23, 22, 20, 0.92) 96%),
    linear-gradient(90deg, rgba(23, 22, 20, 0.86) 0%, rgba(23, 22, 20, 0.36) 60%, rgba(23, 22, 20, 0.25) 100%);
}

.hero-cad-frame {
  position: absolute;
  inset: 88px 28px 28px;
  border: 1px solid rgba(246, 242, 234, 0.14);
  pointer-events: none;
}

.cad-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--gold-bright);
  border-style: solid;
  border-width: 0;
}

.cad-corner.tl { top: -1px; left: -1px; border-top-width: 2px; border-left-width: 2px; }
.cad-corner.tr { top: -1px; right: -1px; border-top-width: 2px; border-right-width: 2px; }
.cad-corner.bl { bottom: -1px; left: -1px; border-bottom-width: 2px; border-left-width: 2px; }
.cad-corner.br { bottom: -1px; right: -1px; border-bottom-width: 2px; border-right-width: 2px; }

.hero-content {
  position: relative;
  z-index: 3;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold-bright);
  margin-bottom: 18px;
}

.hero-title {
  margin: 0;
  font-size: clamp(2.8rem, 6.4vw, 5.4rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.015em;
  max-width: 900px;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-bright);
  font-weight: 400;
}

.hero-subtitle {
  margin: 22px 0 30px;
  max-width: 630px;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: rgba(246, 242, 234, 0.86);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gold);
  color: var(--charcoal);
  border: 1px solid var(--gold);
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background: var(--gold-bright);
  transform: translateY(-1px);
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 1px solid rgba(246, 242, 234, 0.4);
  color: var(--ivory);
  font-size: 14px;
  font-weight: 500;
  background: rgba(23, 22, 20, 0.35);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.btn-outline-light:hover {
  border-color: var(--ivory);
  background: rgba(246, 242, 234, 0.12);
}

.btn-full {
  width: 100%;
}

.hero-ledger {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--hairline-light);
  padding-top: 22px;
  gap: 18px;
}

.ledger-val {
  display: block;
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  font-weight: 600;
  color: var(--ivory);
  line-height: 1.1;
}

.ledger-lbl {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: rgba(246, 242, 234, 0.68);
}

/* =========================================================
   SECTION 2: PRACTICE & FOUNDER ETHOS
   ========================================================= */
.practice-section {
  position: relative;
  z-index: 2;
  padding: 104px 0;
  background: var(--ivory);
  border-bottom: 1px solid var(--hairline);
}

.section-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  margin: 0 0 20px;
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  font-weight: 500;
  line-height: 1.05;
}

.practice-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 56px;
  align-items: start;
}

.lead-paragraph {
  font-size: 1.06rem;
  color: var(--ink-muted);
  margin: 0 0 28px;
}

.founder-card {
  background: var(--travertine);
  border-left: 3px solid var(--gold);
  padding: 22px 24px;
  margin-bottom: 24px;
}

.founder-badge {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 4px;
}

.founder-card h3 {
  margin: 0 0 6px;
  font-size: 1.85rem;
  font-weight: 600;
}

.founder-cred {
  margin: 0;
  font-size: 12px;
  color: var(--ink-muted);
}

.recognition-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.recog-item {
  padding: 14px 18px;
  background: var(--ivory-soft);
  border: 1px solid var(--hairline);
}

.recog-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
}

.recog-title {
  margin: 4px 0 2px;
  font-size: 1.15rem;
  font-weight: 600;
}

.recog-detail {
  margin: 0;
  font-size: 13px;
  color: var(--ink-muted);
}

.editorial-frame {
  margin: 0;
  background: var(--travertine);
  border: 1px solid var(--hairline);
  padding: 14px;
}

.frame-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  padding-bottom: 10px;
}

.editorial-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.frame-caption {
  padding-top: 10px;
  font-size: 11px;
  color: var(--ink-muted);
}

/* =========================================================
   SECTION 3: HORIZONTAL SCROLL SHOWCASE (SEED 1)
   ========================================================= */
.showcase-section {
  position: relative;
  z-index: 2;
  padding: 96px 0 88px;
  background: var(--travertine);
  border-bottom: 1px solid var(--hairline);
}

.showcase-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}

.showcase-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.showcase-counter {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  margin-right: 6px;
}

.ctrl-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--charcoal);
  background: transparent;
  color: var(--charcoal);
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.ctrl-btn:hover {
  background: var(--charcoal);
  color: var(--ivory);
}

.showcase-track-wrap {
  position: relative;
}

.showcase-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 max(24px, calc((100vw - 1240px) / 2));
  padding: 8px max(24px, calc((100vw - 1240px) / 2)) 24px;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--travertine-deep);
}

.showcase-track:active {
  cursor: grabbing;
}

.project-card {
  flex: 0 0 min(440px, 84vw);
  scroll-snap-align: start;
  background: var(--ivory-soft);
  border: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease-arch), border-color 0.3s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.project-plate {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--charcoal);
  overflow: hidden;
  border-bottom: 1px solid var(--hairline);
}

.project-plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-arch);
}

.project-card:hover .project-plate img {
  transform: scale(1.04);
}

.plate-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(23, 22, 20, 0.84);
  color: var(--ivory);
  font-size: 10px;
  letter-spacing: 0.14em;
  padding: 5px 9px;
  border: 1px solid rgba(207, 167, 103, 0.35);
}

.blueprint-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.project-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.project-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.project-title {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.1;
}

.project-typology {
  font-size: 12px;
  color: var(--ink-muted);
}

.project-desc {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--ink-muted);
}

/* =========================================================
   SECTION 4: INTERACTIVE LAB SPLIT (CONFIGURATOR)
   ========================================================= */
.lab-section {
  position: relative;
  z-index: 2;
  padding: 104px 0;
  background: var(--ivory);
  border-bottom: 1px solid var(--hairline);
}

.lab-header {
  max-width: 760px;
  margin-bottom: 42px;
}

.lab-intro {
  margin: 0;
  color: var(--ink-muted);
}

.lab-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: start;
}

.lab-controls-panel {
  background: var(--travertine);
  border: 1px solid var(--hairline);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.control-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.option-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.option-btn {
  text-align: left;
  width: 100%;
  padding: 14px 16px;
  background: var(--ivory-soft);
  border: 1px solid var(--hairline);
  color: var(--charcoal);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

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

.option-btn.is-active {
  background: var(--charcoal);
  color: var(--ivory);
  border-color: var(--charcoal);
}

.option-btn strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.option-btn span {
  display: block;
  font-size: 12px;
  margin-top: 3px;
  opacity: 0.78;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.loc-chip {
  padding: 8px 13px;
  font-size: 12px;
  background: var(--ivory-soft);
  border: 1px solid var(--hairline);
  color: var(--charcoal);
  cursor: pointer;
  transition: all 0.2s ease;
}

.loc-chip.is-active {
  background: var(--charcoal);
  color: var(--ivory);
  border-color: var(--charcoal);
}

.lab-input {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 14px;
  background: var(--ivory-soft);
  border: 1px solid var(--hairline);
  color: var(--charcoal);
}

.lab-input:focus {
  outline: 2px solid var(--gold);
  outline-offset: -1px;
}

.lab-output-panel {
  background: var(--charcoal);
  color: var(--ivory);
  border: 1px solid var(--charcoal);
  padding: 30px;
}

.blueprint-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hairline-light);
}

.blueprint-code {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold-bright);
  margin-bottom: 4px;
}

.blueprint-title {
  margin: 0;
  font-size: 1.9rem;
  font-weight: 500;
  line-height: 1.1;
}

.ref-badge {
  font-size: 10px;
  padding: 5px 10px;
  border: 1px solid rgba(207, 167, 103, 0.45);
  color: var(--gold-bright);
}

.blueprint-summary {
  margin: 16px 0 22px;
  font-size: 14px;
  color: rgba(246, 242, 234, 0.82);
}

.stages-timeline {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.stage-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(246, 242, 234, 0.12);
  background: rgba(246, 242, 234, 0.03);
  opacity: 0.42;
  transition: opacity 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.stage-row.is-included {
  opacity: 1;
  border-color: rgba(207, 167, 103, 0.55);
  background: rgba(207, 167, 103, 0.09);
}

.stage-step {
  font-size: 13px;
  color: var(--gold-bright);
  font-weight: 500;
}

.stage-name {
  font-size: 14px;
  font-weight: 600;
}

.stage-deliv {
  font-size: 12px;
  color: rgba(246, 242, 234, 0.72);
  margin-top: 2px;
}

.stage-status {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--gold-bright);
}

.brief-box {
  background: var(--charcoal-soft);
  border: 1px solid rgba(246, 242, 234, 0.16);
  padding: 18px;
}

.brief-box-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--gold-bright);
  margin-bottom: 10px;
}

.copy-brief-btn {
  background: transparent;
  border: 1px solid rgba(246, 242, 234, 0.28);
  color: var(--ivory);
  font-size: 11px;
  padding: 5px 10px;
  cursor: pointer;
}

.copy-brief-btn:hover {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
}

.brief-preview {
  margin: 0 0 16px;
  white-space: pre-wrap;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(246, 242, 234, 0.88);
  background: rgba(0, 0, 0, 0.22);
  padding: 12px;
  border: 1px solid rgba(246, 242, 234, 0.08);
}

/* =========================================================
   SECTION 5: CONTACT & FOOTER
   ========================================================= */
.contact-section {
  position: relative;
  z-index: 2;
  padding: 96px 0 42px;
  background: var(--charcoal);
  color: var(--ivory);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--hairline-light);
}

.contact-title {
  margin: 0 0 16px;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1.06;
}

.contact-address {
  margin: 0 0 8px;
  color: rgba(246, 242, 234, 0.84);
}

.contact-coverage {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--gold-bright);
}

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

.channel-card {
  padding: 18px 22px;
  border: 1px solid var(--hairline-light);
  background: rgba(246, 242, 234, 0.03);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.channel-lbl {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--gold-bright);
}

.channel-val {
  font-size: 1.6rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.channel-val:hover {
  color: var(--gold-bright);
}

.channel-sub {
  font-size: 11px;
  color: rgba(246, 242, 234, 0.65);
}

.site-footer {
  padding-top: 26px;
  padding-bottom: 64px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(246, 242, 234, 0.65);
}

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

.footer-links a:hover {
  color: var(--gold-bright);
}

/* =========================================================
   OWNER BAR & DRAWER
   ========================================================= */
.owner-bar {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(23, 22, 20, 0.92);
  backdrop-filter: blur(12px);
  color: var(--ivory);
  border: 1px solid rgba(207, 167, 103, 0.42);
  padding: 10px 14px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
  font-size: 13px;
}

.owner-bar.is-dismissed {
  display: none;
}

.owner-bar-text {
  display: flex;
  align-items: center;
  gap: 8px;
}

.owner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terracotta);
}

.owner-bar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.owner-cta-btn {
  background: var(--gold);
  color: var(--charcoal);
  border: 0;
  padding: 7px 12px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.owner-cta-btn:hover {
  background: var(--gold-bright);
}

.owner-dismiss-btn {
  background: transparent;
  color: rgba(246, 242, 234, 0.7);
  border: 0;
  font-size: 18px;
  line-height: 1;
  padding: 4px 6px;
  cursor: pointer;
}

.owner-dismiss-btn:hover {
  color: var(--ivory);
}

.owner-drawer {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(23, 22, 20, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.owner-drawer[hidden] {
  display: none;
}

.owner-drawer-card {
  width: min(520px, 100%);
  background: var(--charcoal);
  color: var(--ivory);
  border: 1px solid var(--gold);
  padding: 28px;
}

.owner-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold-bright);
  margin-bottom: 12px;
}

.owner-drawer-card h3 {
  margin: 0 0 16px;
  font-size: 1.85rem;
  font-weight: 500;
}

.owner-fixes-list {
  margin: 0 0 22px;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: rgba(246, 242, 234, 0.86);
}

.owner-fixes-list code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold-bright);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .header-nav,
  .header-phone {
    display: none;
  }

  .practice-grid,
  .lab-split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .coord-ruler {
    right: 8px;
    padding: 8px 5px;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 32px);
  }

  .hero-cad-frame {
    inset: 78px 14px 14px;
  }

  .coord-ruler {
    display: none;
  }

  .stage-row {
    grid-template-columns: 36px 1fr;
  }

  .stage-status {
    grid-column: 2;
  }

  .owner-bar {
    left: 12px;
    right: 12px;
    bottom: 12px;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-img,
  .drafting-grid-overlay,
  .cad-line {
    animation: none !important;
  }
  .cad-line {
    stroke-dashoffset: 0;
  }
  .intro-center {
    opacity: 1;
    transform: none;
  }
}
