/* ============================================
   H-Arch by Hidayath Group — d3 design site
   Purple-led, gallery-noir, architectural rhythm
   ============================================ */

:root {
  /* Brand — verified */
  --brand: #682E92;
  --brand-2: #672F8E;
  --brand-deep: #4E2270;
  --brand-tint: #F3EEF8;

  /* Canvas */
  --ink: #1A1A1C;
  --noir: #0E0F11;
  --noir-2: #16171A;
  --paper: #F7F5FA;
  --mist: #E7E2EE;

  /* Metallic accents */
  --steel: #9AA1A6;
  --bronze: #7A5C3E;
  --bronze-bright: #B0824B;
  --copper: #9C6B4A;

  /* Lines */
  --line-dark: #2A2C2F;
  --line-light: #DAD3E4;
  --line-faint: #EAE4F0;

  /* Type */
  --display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Rhythm */
  --section-y: clamp(80px, 10vw, 160px);
  --gutter: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }

/* Display headings */
.display {
  font-family: var(--display);
  font-weight: 380;
  letter-spacing: -0.02em;
  line-height: 0.98;
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--brand);
}
.eyebrow.on-noir { color: #C9B6DA; }

/* App shell */
.app {
  min-height: 100vh;
  position: relative;
  background: var(--paper);
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 18px var(--gutter);
  background: rgba(247, 245, 250, 0.88);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-faint);
  transition: background 0.25s ease, border-color 0.25s ease;
}
.nav.on-dark {
  background: rgba(14, 15, 17, 0.78);
  border-bottom-color: rgba(255,255,255,0.06);
  color: var(--paper);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.nav__mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--brand);
  color: white;
  border-radius: 2px;
  position: relative;
  font-family: var(--sans);
  font-weight: 700;
}
.nav__mark svg { width: 22px; height: 22px; }
.nav__wordmark {
  display: flex; flex-direction: column; line-height: 1;
}
.nav__wordmark-top {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.nav__wordmark-bot {
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 4px;
  color: var(--brand);
  opacity: 0.85;
}
.nav.on-dark .nav__wordmark-bot { color: #C9B6DA; }
.nav__menu {
  display: flex;
  gap: 32px;
  margin-left: auto;
  align-items: center;
}
.nav__link {
  font-size: 13px;
  letter-spacing: 0.02em;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  opacity: 0.78;
  transition: opacity 0.15s ease;
}
.nav__link:hover { opacity: 1; }
.nav__link.is-active {
  opacity: 1;
}
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--brand);
}
.nav.on-dark .nav__link.is-active::after { background: #B68CD0; }
.nav__cta {
  margin-left: 8px;
}
.nav__hamburger { display: none; }

@media (max-width: 900px) {
  .nav { gap: 16px; padding: 14px 20px; }
  .nav__menu {
    position: fixed;
    inset: 64px 0 0 0;
    background: var(--noir);
    color: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
    gap: 8px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .nav__menu.is-open { transform: translateX(0); }
  .nav__menu .nav__link { font-size: 24px; font-family: var(--display); }
  .nav__menu .nav__link.is-active::after { display: none; }
  .nav__hamburger {
    display: grid; place-items: center;
    width: 40px; height: 40px;
    margin-left: auto;
  }
  .nav__hamburger span {
    display: block; width: 22px; height: 1.5px;
    background: currentColor;
    position: relative;
  }
  .nav__hamburger span::before,
  .nav__hamburger span::after {
    content: ""; position: absolute; left: 0; width: 22px; height: 1.5px;
    background: currentColor;
  }
  .nav__hamburger span::before { top: -7px; }
  .nav__hamburger span::after  { top:  7px; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 2px;
  transition: all 0.18s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: var(--brand);
  color: white;
}
.btn--primary:hover { background: var(--brand-deep); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
  opacity: 0.85;
}
.btn--ghost:hover { opacity: 1; background: rgba(255,255,255,0.04); }
.btn--ghost.on-light { color: var(--ink); border-color: var(--ink); opacity: 0.7; }
.btn--ghost.on-light:hover { background: var(--ink); color: var(--paper); opacity: 1; }
.btn--minimal {
  padding: 12px 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.btn .arrow { transition: transform 0.18s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn--small { padding: 10px 16px; font-size: 12px; }
.btn--lg { padding: 16px 26px; font-size: 14px; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 92vh;
  background: var(--noir);
  color: var(--paper);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.06);
  animation: kenburns 22s ease-in-out infinite alternate;
  transition: opacity 1.1s ease;
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,15,17,0.25) 0%, rgba(14,15,17,0.55) 60%, rgba(14,15,17,0.9) 100%),
    linear-gradient(90deg, rgba(14,15,17,0.55) 0%, rgba(14,15,17,0) 50%);
}
@keyframes kenburns {
  from { transform: scale(1.04) translate3d(0,0,0); }
  to   { transform: scale(1.12) translate3d(-2%, -1%, 0); }
}
.hero__inner {
  position: relative;
  z-index: 2;
  padding: 0 var(--gutter) 96px;
  max-width: 1480px;
  margin: 0 auto;
  width: 100%;
}
.hero__eyebrow {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 28px;
}
.hero__eyebrow-line {
  width: 56px; height: 1px; background: rgba(255,255,255,0.4);
}
.hero__h1 {
  font-family: var(--display);
  font-size: clamp(56px, 9.5vw, 156px);
  font-weight: 280;
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin: 0 0 32px;
  max-width: 14ch;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.hero__h1 em {
  font-style: italic;
  color: #D8C0E8;
  font-weight: 320;
}
.hero__sub {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.55;
  max-width: 56ch;
  color: rgba(247,245,250,0.78);
  margin: 0 0 40px;
  font-weight: 380;
}
.hero__cta {
  display: flex; gap: 14px; flex-wrap: wrap;
}
.hero__meta {
  position: absolute;
  right: var(--gutter);
  bottom: 96px;
  z-index: 2;
  display: flex; flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247,245,250,0.55);
}
.hero__meta-value {
  color: var(--paper);
  font-family: var(--display);
  font-size: 32px;
  letter-spacing: -0.02em;
  text-transform: none;
  font-weight: 320;
}
.hero__slider {
  position: absolute;
  bottom: 32px; left: var(--gutter); right: var(--gutter);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247,245,250,0.5);
}
.hero__slider-track {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
}
.hero__slider-fill {
  position: absolute;
  inset: 0;
  background: var(--brand);
  transform-origin: left;
  animation: progressFill 6s linear infinite;
}
@keyframes progressFill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
.hero__dots { display: flex; gap: 8px; }
.hero__dot {
  width: 26px; height: 1px;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: background 0.2s;
}
.hero__dot.is-active { background: var(--brand-tint); }

@media (max-width: 900px) {
  .hero { min-height: 78vh; }
  .hero__inner { padding-bottom: 130px; }
  .hero__meta { display: none; }
}

/* ============ SECTION ============ */
.section {
  padding: var(--section-y) var(--gutter);
}
.section--noir {
  background: var(--noir);
  color: var(--paper);
}
.section--ink {
  background: var(--ink);
  color: var(--paper);
}
.section__inner {
  max-width: 1480px;
  margin: 0 auto;
}
.section__head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--gutter);
  margin-bottom: 64px;
}
.section__head-title {
  font-family: var(--display);
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  font-weight: 320;
  margin: 12px 0 0;
}
.section__head-blurb {
  align-self: end;
  font-size: clamp(15px, 1.1vw, 18px);
  max-width: 52ch;
  opacity: 0.78;
  line-height: 1.55;
}
@media (max-width: 720px) {
  .section__head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
}

/* ============ HERITAGE STRIP ============ */
.heritage-strip {
  background: var(--noir);
  color: var(--paper);
  padding: 40px var(--gutter);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.heritage-strip__inner {
  max-width: 1480px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: center;
}
.heritage-stat__num {
  font-family: var(--display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 320;
  line-height: 1;
  color: var(--paper);
  letter-spacing: -0.02em;
}
.heritage-stat__num em {
  color: #B68CD0;
  font-style: normal;
  font-weight: 360;
}
.heritage-stat__label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247,245,250,0.55);
  margin-top: 10px;
  max-width: 22ch;
}
@media (max-width: 900px) {
  .heritage-strip__inner { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
}

/* ============ FINISH LIBRARY ============ */
.finish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  background: var(--line-faint);
  border: 1px solid var(--line-faint);
}
.section--noir .finish-grid { background: var(--line-dark); border-color: var(--line-dark); }

.finish-card {
  background: var(--paper);
  padding: 0;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}
.section--noir .finish-card { background: var(--noir); }
.finish-card__swatch {
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.finish-card__swatch::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.18));
  opacity: 0;
  transition: opacity 0.25s ease;
}
.finish-card:hover .finish-card__swatch::after { opacity: 1; }
.finish-card__swatch img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.finish-card:hover .finish-card__swatch img { transform: scale(1.04); }
.finish-card__body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.finish-card__family {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 500;
}
.section--noir .finish-card__family { color: #B68CD0; }
.finish-card__name {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 360;
  letter-spacing: -0.01em;
  line-height: 1.05;
}
.finish-card__apps {
  font-size: 12px;
  opacity: 0.6;
  margin-top: 6px;
}
.finish-card__code {
  position: absolute;
  top: 16px; left: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: white;
  background: rgba(0,0,0,0.42);
  backdrop-filter: blur(8px);
  padding: 5px 9px;
  border-radius: 2px;
}
.finish-card__sample {
  position: absolute;
  bottom: 16px; right: 16px;
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  padding: 8px 12px;
  font-size: 11px;
  letter-spacing: 0.06em;
  border-radius: 2px;
  display: flex; align-items: center; gap: 6px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 2;
}
.finish-card:hover .finish-card__sample { opacity: 1; transform: translateY(0); }

/* ============ FINISH FEATURE (home teaser) ============ */
.finish-feature {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: stretch;
}
.finish-feature__hero {
  display: flex;
  flex-direction: column;
  position: relative;
}
.finish-feature__hero .finish-card__swatch {
  aspect-ratio: 4 / 5;
}
.finish-feature__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--line-faint);
}
.finish-row {
  display: grid;
  grid-template-columns: 96px 1fr auto 24px;
  align-items: center;
  gap: 24px;
  padding: 18px 20px 18px 18px;
  border-bottom: 1px solid var(--line-faint);
  cursor: pointer;
  transition: background 0.18s ease, padding 0.2s ease;
  background: var(--paper);
}
.finish-row:last-child { border-bottom: 0; }
.finish-row:hover { background: var(--brand-tint); padding-left: 24px; }
.finish-row__swatch {
  width: 96px;
  height: 96px;
  background-size: cover;
  background-position: center;
  border-radius: 1px;
  flex-shrink: 0;
}
.finish-row__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.finish-row__name {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 360;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 0;
}
.finish-row__code {
  font-size: 11px;
  letter-spacing: 0.1em;
  opacity: 0.45;
  white-space: nowrap;
}
.finish-row__arrow {
  width: 18px; height: 18px;
  opacity: 0.4;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.finish-row:hover .finish-row__arrow { transform: translateX(4px); opacity: 0.9; color: var(--brand); }

@media (max-width: 900px) {
  .finish-feature { grid-template-columns: 1fr; }
  .finish-row { grid-template-columns: 72px 1fr auto; gap: 16px; padding: 14px; }
  .finish-row__swatch { width: 72px; height: 72px; }
  .finish-row__arrow { display: none; }
}

/* ============ FILTER CHIPS ============ */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
  align-items: center;
}
.filter-bar__label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-right: 12px;
}
.filter-chip {
  padding: 9px 16px;
  border: 1px solid var(--line-light);
  background: transparent;
  font-size: 12px;
  letter-spacing: 0.04em;
  border-radius: 999px;
  font-weight: 450;
  color: var(--ink);
  transition: all 0.16s ease;
  display: inline-flex; align-items: center; gap: 8px;
}
.filter-chip:hover { border-color: var(--brand); color: var(--brand); }
.filter-chip.is-active {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
}
.filter-chip__count {
  font-family: var(--mono);
  font-size: 10px;
  opacity: 0.65;
}
.section--noir .filter-chip { color: var(--paper); border-color: var(--line-dark); }
.section--noir .filter-chip:hover { color: white; border-color: #B68CD0; }
.section--noir .filter-chip.is-active { background: var(--brand); color: white; border-color: var(--brand); }

/* ============ PROJECT CARD ============ */
.project-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
}
.project-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex; flex-direction: column;
}
.project-card--lg { grid-column: span 8; }
.project-card--md { grid-column: span 4; }
.project-card--sm { grid-column: span 6; }
@media (max-width: 900px) {
  .project-card--lg, .project-card--md, .project-card--sm { grid-column: span 12; }
}
.project-card__img {
  aspect-ratio: 16 / 10;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.project-card--lg .project-card__img { aspect-ratio: 16 / 11; }
.project-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.project-card:hover .project-card__img img { transform: scale(1.04); }
.project-card__placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 28px;
  color: var(--paper);
  background:
    linear-gradient(135deg, #1a1a1c 0%, #0e0f11 100%);
}
.project-card__placeholder::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 22px, rgba(104,46,146,0.08) 22px 23px);
  pointer-events: none;
}
.project-card__placeholder-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247,245,250,0.5);
}
.project-card__placeholder-name {
  font-family: var(--display);
  font-size: 28px;
  line-height: 1.05;
  font-weight: 360;
  max-width: 16ch;
}
.project-card__body {
  padding: 22px 0 0;
}
.project-card__loc {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 8px;
}
.project-card__name {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 360;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.project-card__finishes {
  font-size: 12px;
  opacity: 0.65;
  margin-top: 8px;
}

/* ============ CAPABILITY BLOCK ============ */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-faint);
  border-top: 1px solid var(--line-faint);
  border-bottom: 1px solid var(--line-faint);
}
.section--noir .cap-grid { background: var(--line-dark); border-color: var(--line-dark); }
.cap-block {
  background: var(--paper);
  padding: 56px 40px 48px;
  display: flex; flex-direction: column; gap: 20px;
  position: relative;
  min-height: 360px;
}
.section--noir .cap-block { background: var(--noir); }
.cap-block__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  opacity: 0.4;
}
.cap-block__title {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 360;
  letter-spacing: -0.015em;
  line-height: 1.05;
}
.cap-block__body {
  font-size: 14px;
  opacity: 0.72;
  line-height: 1.6;
  max-width: 36ch;
}
.cap-block__tags {
  margin-top: auto;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.cap-block__tag {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid currentColor;
  opacity: 0.55;
  border-radius: 2px;
}
@media (max-width: 900px) {
  .cap-grid { grid-template-columns: 1fr; }
}

/* ============ CTA BAND ============ */
.cta-band {
  background: var(--brand);
  color: white;
  padding: 80px var(--gutter);
}
.cta-band__inner {
  max-width: 1480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.cta-band__title {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 320;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  max-width: 22ch;
}
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band .btn--primary { background: white; color: var(--brand); }
.cta-band .btn--primary:hover { background: var(--brand-tint); }
.cta-band .btn--ghost { color: white; border-color: rgba(255,255,255,0.5); }
.cta-band .btn--ghost:hover { background: rgba(255,255,255,0.08); }
@media (max-width: 720px) {
  .cta-band__inner { grid-template-columns: 1fr; }
}

/* ============ FOOTER ============ */
.footer {
  background: var(--noir);
  color: var(--paper);
  padding: 80px var(--gutter) 32px;
}
.footer__inner {
  max-width: 1480px; margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 900px) {
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.footer__lede {
  font-family: var(--display);
  font-size: clamp(22px, 2.3vw, 32px);
  font-weight: 340;
  letter-spacing: -0.015em;
  line-height: 1.15;
  max-width: 18ch;
}
.footer__group-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 24px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.6;
  transition: opacity 0.15s;
}
.footer__group-link:hover { opacity: 1; }
.footer__col-head {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.45;
  margin-bottom: 16px;
  font-weight: 500;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  font-size: 14px;
  opacity: 0.78;
  transition: opacity 0.15s, color 0.15s;
}
.footer__col a:hover { opacity: 1; color: #B68CD0; }
.footer__col p { margin: 0; font-size: 13px; opacity: 0.7; line-height: 1.65; }
.footer__legal {
  max-width: 1480px; margin: 32px auto 0;
  display: flex; justify-content: space-between; gap: 24px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.45;
}
.footer__socials { display: flex; gap: 14px; }
.footer__socials a {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  opacity: 0.7;
  transition: all 0.15s;
}
.footer__socials a:hover { opacity: 1; border-color: #B68CD0; }
.footer__socials svg { width: 14px; height: 14px; }

/* ============ FINISH DETAIL (DRAWER) ============ */
.drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(14,15,17,0.6);
  backdrop-filter: blur(8px);
  z-index: 100;
  opacity: 0;
  animation: fadeIn 0.3s ease forwards;
}
.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(960px, 96vw);
  background: var(--paper);
  z-index: 101;
  overflow-y: auto;
  transform: translateX(100%);
  animation: slideInRight 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  box-shadow: -40px 0 100px rgba(0,0,0,0.3);
}
@keyframes fadeIn { to { opacity: 1; } }
@keyframes slideInRight { to { transform: translateX(0); } }

.drawer__close {
  position: absolute;
  top: 24px; right: 24px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: rgba(247,245,250,0.85);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  z-index: 5;
  font-size: 18px;
}
.drawer__close:hover { background: white; }
.drawer__hero {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--noir);
}
.drawer__hero img { width: 100%; height: 100%; object-fit: cover; }
.drawer__hero-meta {
  position: absolute;
  bottom: 24px; left: 32px;
  color: white;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.drawer__family {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #C9B6DA;
  margin-bottom: 8px;
  font-weight: 500;
}
.drawer__name {
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 320;
  letter-spacing: -0.025em;
  line-height: 0.95;
  color: white;
  margin: 0;
}
.drawer__body {
  padding: 56px 56px 96px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
}
@media (max-width: 720px) {
  .drawer__body { grid-template-columns: 1fr; padding: 40px 24px 56px; gap: 32px; }
}
.drawer__desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  opacity: 0.82;
}
.drawer__spec-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-faint);
  font-size: 13px;
}
.drawer__spec-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
}
.drawer__spec-value { line-height: 1.55; }
.drawer__form-card {
  background: var(--noir);
  color: var(--paper);
  padding: 32px;
  display: flex; flex-direction: column; gap: 18px;
  height: fit-content;
}
.drawer__form-title {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 340;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 0 0 4px;
}
.drawer__form-blurb {
  font-size: 13px;
  opacity: 0.65;
  line-height: 1.55;
  margin: 0 0 12px;
}
.drawer__actions {
  display: flex; flex-direction: column; gap: 10px;
}
.drawer__actions .btn { justify-content: center; }

/* ============ FORM ============ */
.field {
  display: flex; flex-direction: column; gap: 6px;
}
.field label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
  font-weight: 500;
}
.field input,
.field textarea,
.field select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 10px 0;
  font: inherit;
  font-size: 14px;
  color: inherit;
  outline: none;
  opacity: 0.9;
}
.field input::placeholder, .field textarea::placeholder { color: inherit; opacity: 0.35; }
.field input:focus, .field textarea:focus { border-bottom-color: #B68CD0; opacity: 1; }
.field textarea { resize: vertical; min-height: 60px; }

/* ============ CONTACT PAGE ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.contact-info {
  display: flex; flex-direction: column; gap: 36px;
}
.contact-row__label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
  font-weight: 500;
}
.section--noir .contact-row__label { color: #B68CD0; }
.contact-row__value {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 360;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.contact-row__value a:hover { color: var(--brand); }
.contact-row__sub {
  font-size: 13px;
  opacity: 0.65;
  margin-top: 8px;
  line-height: 1.55;
}

.map-frame {
  aspect-ratio: 16 / 10;
  background: var(--ink);
  position: relative;
  overflow: hidden;
  margin-top: 24px;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: invert(0.92) hue-rotate(180deg) saturate(0.4) brightness(0.8); }

/* ============ TIMELINE ============ */
.timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-dark);
  margin-top: 56px;
}
.timeline__item {
  padding: 24px 16px 24px 0;
  border-right: 1px solid var(--line-dark);
  position: relative;
}
.timeline__item:last-child { border-right: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  top: -4px; left: 0;
  width: 7px; height: 7px;
  background: var(--brand);
}
.timeline__year {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 360;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.timeline__label {
  font-size: 11px;
  letter-spacing: 0.06em;
  opacity: 0.7;
  line-height: 1.45;
}
@media (max-width: 900px) {
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline__item { border-right: 0; border-bottom: 1px solid var(--line-dark); padding: 16px 0; }
}

/* ============ TICKER ============ */
.ticker {
  background: var(--brand);
  color: white;
  padding: 14px 0;
  overflow: hidden;
  border-top: 1px solid var(--brand-deep);
  border-bottom: 1px solid var(--brand-deep);
}
.ticker__track {
  display: flex;
  gap: 56px;
  animation: tick 38s linear infinite;
  white-space: nowrap;
}
@keyframes tick {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker__item {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 56px;
}
.ticker__dot {
  width: 4px; height: 4px; border-radius: 50%; background: #B68CD0;
}

/* ============ FAB ============ */
.fab {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  z-index: 60;
  transition: transform 0.2s ease;
}
.fab:hover { transform: scale(1.06); }
.fab svg { width: 26px; height: 26px; }

/* ============ TOAST ============ */
.toast {
  position: fixed;
  bottom: 24px; left: 50%; transform: translateX(-50%);
  background: var(--ink);
  color: var(--paper);
  padding: 14px 22px;
  border-radius: 2px;
  font-size: 13px;
  letter-spacing: 0.02em;
  z-index: 200;
  display: flex; align-items: center; gap: 10px;
  animation: toastIn 0.3s ease;
  box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}
@keyframes toastIn {
  from { transform: translate(-50%, 20px); opacity: 0; }
  to   { transform: translate(-50%, 0);     opacity: 1; }
}
.toast__dot { width: 8px; height: 8px; border-radius: 50%; background: #B68CD0; }

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.delay-3 { transition-delay: 0.24s; }

/* ============ UTILS ============ */
.hairline { height: 1px; background: var(--line-dark); width: 100%; }
.section--paper .hairline { background: var(--line-light); }
.text-mono { font-family: var(--mono); }
.muted { opacity: 0.65; }

/* ============ SHOWROOM ============ */
.showroom-hero {
  position: relative;
  height: 70vh; min-height: 480px;
  background: var(--noir);
  color: var(--paper);
  overflow: hidden;
  display: flex; align-items: flex-end;
  padding: 0 var(--gutter) 56px;
}
.showroom-hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.55;
}
.showroom-hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,15,17,0.4) 0%, rgba(14,15,17,0.9) 100%);
}
.showroom-hero__inner {
  position: relative; z-index: 2;
  max-width: 1480px; margin: 0 auto; width: 100%;
}
.showroom-hero__h1 {
  font-family: var(--display);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 300;
  line-height: 0.96;
  letter-spacing: -0.025em;
  margin: 16px 0 24px;
  max-width: 18ch;
}
.showroom-hero__sub { max-width: 50ch; opacity: 0.78; }

/* ============ PAGE HEADER ============ */
.page-header {
  padding: clamp(80px, 12vw, 160px) var(--gutter) clamp(48px, 6vw, 96px);
  background: var(--paper);
  border-bottom: 1px solid var(--line-faint);
}
.page-header__inner { max-width: 1480px; margin: 0 auto; }
.page-header__eyebrow { color: var(--brand); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; }
.page-header__h1 {
  font-family: var(--display);
  font-size: clamp(56px, 8vw, 120px);
  font-weight: 280;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 16px 0 24px;
  max-width: 14ch;
}
.page-header__sub {
  font-size: clamp(16px, 1.3vw, 20px);
  max-width: 52ch;
  opacity: 0.78;
  line-height: 1.55;
}

/* ============ TWEAKS PANEL override (light) ============ */
[data-tweaks-root] { font-family: var(--sans); }
