/* 123 Auto Group NYC — Redesign */

:root {
  --bg: #0A0A0B;
  --bg-2: #111114;
  --bg-3: #18181C;
  --fg: #F5F1EA;
  --fg-dim: #A8A29E;
  --fg-mute: #57534E;
  --line: rgba(245, 241, 234, 0.08);
  --line-strong: rgba(245, 241, 234, 0.18);
  --accent: #E11D2E;
  --accent-glow: rgba(225, 29, 46, 0.35);
  --display: 'Bebas Neue', 'Impact', sans-serif;
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, 'Helvetica Neue', sans-serif;
  --mono: 'JetBrains Mono', 'Geist Mono', monospace;
  --motion: 1;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body { overflow-x: hidden; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }

::selection { background: var(--accent); color: var(--fg); }

/* ===================== NAV ===================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 48px;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 10, 11, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
  padding: 14px 48px;
}
.nav__logo {
  display: flex; align-items: center;
  height: 48px;
  transition: height 0.3s ease;
}
.nav.scrolled .nav__logo { height: 40px; }
.nav__logo img { height: 100%; width: auto; display: block; }

.nav__links {
  display: flex; gap: 36px;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.nav__links a {
  color: var(--fg-dim);
  transition: color 0.2s ease;
  position: relative;
}
.nav__links a:hover { color: var(--fg); }

.nav__cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, background 0.2s ease;
}
.nav__cta:hover { transform: translateY(-1px); background: #fff; }

@media (max-width: 880px) {
  .nav { padding: 18px 24px; }
  .nav.scrolled { padding: 12px 24px; }
  .nav__links { display: none; }
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute; inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero__media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,11,0.55) 0%, rgba(10,10,11,0.2) 35%, rgba(10,10,11,0.6) 70%, var(--bg) 100%);
  z-index: 1;
}
.hero__media::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 70% 40%, rgba(225, 29, 46, 0.18), transparent 70%),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(225, 29, 46, 0.08), transparent 70%);
  z-index: 2;
  pointer-events: none;
}
.hero__bg {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.05) brightness(0.7);
  transform: scale(1.05);
  will-change: transform;
}

.hero__topline {
  position: absolute;
  top: 96px; left: 48px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
  display: flex; align-items: center; gap: 12px;
  z-index: 3;
}
.hero__topline::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--fg-dim);
}

.hero__inner {
  padding: 160px 48px 80px;
  width: 100%;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 60px;
  min-height: 100vh;
}
.hero__title {
  font-family: var(--display);
  font-size: clamp(56px, 8.4vw, 156px);
  line-height: 0.86;
  letter-spacing: 0.005em;
  font-weight: 400;
  max-width: 14ch;
  text-transform: uppercase;
}
.hero__title em {
  font-style: normal;
  color: var(--fg-dim);
}
.hero__title .accent { color: var(--accent); font-style: normal; }

.hero__meta {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 320px;
  padding-bottom: 12px;
}
.hero__sub {
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg-dim);
  text-wrap: pretty;
}
.hero__cta-row {
  display: flex; gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 0 var(--accent-glow);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px var(--accent-glow);
}
.btn--ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: var(--fg); color: var(--bg); }
.btn svg { width: 14px; height: 14px; }

.hero__scroll {
  position: absolute;
  bottom: 40px; right: 48px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-dim);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  z-index: 3;
}
.hero__scroll::after {
  content: '';
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--fg-dim), transparent);
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 32px; padding: 140px 48px 60px; }
  .hero__meta { max-width: 520px; }
}
@media (max-width: 880px) {
  .hero__topline { left: 24px; top: 88px; }
  .hero__inner { padding: 130px 24px 56px; grid-template-columns: 1fr; gap: 32px; }
  .hero__scroll { display: none; }
}

/* ===================== SECTION SHELL ===================== */
.section {
  padding: 140px 48px;
  position: relative;
}
.section__head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  margin-bottom: 80px;
  align-items: end;
}
.section__eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
  display: flex; align-items: center; gap: 12px;
}
.section__eyebrow::before {
  content: ''; width: 24px; height: 1px; background: var(--accent);
}
.section__title {
  font-family: var(--display);
  font-size: clamp(48px, 6.4vw, 96px);
  line-height: 0.95;
  letter-spacing: 0.005em;
  font-weight: 400;
  text-wrap: balance;
  text-transform: uppercase;
}
.section__title em { font-style: normal; color: var(--fg-dim); }
.section__lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg-dim);
  max-width: 52ch;
  text-wrap: pretty;
}
.section__head--stack { grid-template-columns: 1fr; gap: 24px; }
.section__head--stack .section__lede { margin-top: 12px; }

@media (max-width: 880px) {
  .section { padding: 100px 24px; }
  .section__head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 56px; }
}

/* ===================== VALUE PROP ===================== */
.value {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.value__item {
  padding: 56px 40px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.4s ease;
}
.value__item:last-child { border-right: none; }
.value__item:hover { background: var(--bg-2); }
.value__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--accent);
}
.value__title {
  font-family: var(--display);
  font-size: 38px;
  line-height: 1.05;
  letter-spacing: 0.01em;
  font-weight: 400;
  text-transform: uppercase;
}
.value__copy {
  color: var(--fg-dim);
  font-size: 15px;
  line-height: 1.55;
  text-wrap: pretty;
}
@media (max-width: 880px) {
  .value { grid-template-columns: 1fr; }
  .value__item { border-right: none; border-bottom: 1px solid var(--line); padding: 40px 24px; }
  .value__item:last-child { border-bottom: none; }
}

/* ===================== STATS ===================== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  padding: 80px 0;
  border-top: 1px solid var(--line);
}
.stat__num {
  font-family: var(--display);
  font-size: clamp(72px, 9vw, 140px);
  line-height: 0.9;
  letter-spacing: 0.005em;
  font-weight: 400;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.stat__num small {
  font-size: 0.35em;
  color: var(--accent);
  font-style: normal;
}
.stat__label {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
@media (max-width: 880px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

/* ===================== PROCESS ===================== */
.process {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.process__list { display: flex; flex-direction: column; gap: 0; }
.process__step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
  transition: padding 0.4s ease;
}
.process__step:last-child { border-bottom: 1px solid var(--line); }
.process__step.is-active { padding: 40px 0; }
.process__step.is-active .process__step-title { color: var(--fg); }
.process__step.is-active .process__step-copy { max-height: 200px; opacity: 1; margin-top: 12px; }
.process__step-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--fg-mute);
  padding-top: 8px;
  transition: color 0.3s ease;
}
.process__step.is-active .process__step-num { color: var(--accent); }
.process__step-title {
  font-family: var(--display);
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: 0.01em;
  font-weight: 400;
  color: var(--fg-dim);
  transition: color 0.3s ease;
  text-transform: uppercase;
}
.process__step-copy {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  color: var(--fg-dim);
  font-size: 15px;
  line-height: 1.6;
  transition: max-height 0.5s ease, opacity 0.3s ease, margin 0.3s ease;
  text-wrap: pretty;
}

.process__visual {
  position: sticky;
  top: 120px;
  aspect-ratio: 4/5;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
  position: relative;
}
.process__visual-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
  transform: scale(1.05);
}
.process__visual-img.is-active { opacity: 1; transform: scale(1); }
.process__visual-meta {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg);
  display: flex; justify-content: space-between;
  z-index: 2;
}
.process__visual::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,10,11,0.7));
  z-index: 1;
}
@media (max-width: 880px) {
  .process { grid-template-columns: 1fr; gap: 40px; }
  .process__visual { position: relative; top: 0; aspect-ratio: 4/3; }
}

/* ===================== BRANDS ===================== */
.brands {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 48px 0;
  background: var(--bg-2);
}
.brands__track {
  display: flex;
  gap: 80px;
  animation: marquee 40s linear infinite;
  width: max-content;
  align-items: center;
}
.brands:hover .brands__track { animation-play-state: paused; }
.brand {
  font-family: var(--display);
  font-size: 44px;
  font-style: normal;
  color: var(--fg-dim);
  white-space: nowrap;
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
  display: flex; align-items: center; gap: 80px;
  text-transform: uppercase;
}
.brand::after {
  content: '✦';
  font-size: 14px;
  color: var(--fg-mute);
  font-style: normal;
}
.brand:hover { color: var(--fg); }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ===================== TESTIMONIALS / REVIEWS CAROUSEL ===================== */
.reviews__badge-row {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}
.reviews__badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.reviews__badge:hover {
  border-color: var(--line-strong);
  background: var(--bg-3);
  transform: translateY(-1px);
}
.reviews__badge-rating {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}
.reviews__badge-stars {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 1px;
}
.reviews__badge-count {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-dim);
  padding-left: 4px;
  border-left: 1px solid var(--line);
}

.reviews {
  position: relative;
  outline: none;
  max-width: 1200px;
  margin: 0 auto;
}
.reviews:focus-visible {
  box-shadow: 0 0 0 2px var(--accent-glow);
  border-radius: 4px;
}
.reviews__viewport {
  overflow: hidden;
  /* negative side margins absorb the per-slide padding so cards align flush with the carousel edges */
  margin-left: -16px;
  margin-right: -16px;
}
.reviews__track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.reviews__slide {
  flex: 0 0 auto;
  min-width: 0;
  padding: 0 16px;
  box-sizing: border-box;
}
.reviews__slide .testimonial {
  height: 100%;
  padding: 48px 40px 36px;
  display: flex;
  flex-direction: column;
}
.reviews__slide .testimonial__quote {
  font-size: 22px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  margin-bottom: 28px;
}
.reviews__slide .testimonial__stars { font-size: 16px; margin-bottom: 4px; }
.reviews__slide .testimonial__avatar { width: 44px; height: 44px; font-size: 13px; }
.reviews__slide .testimonial__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.reviews__slide .testimonial__author {
  padding-top: 0;
  border-top: none;
  flex: 1;
}
.testimonial--clickable {
  cursor: pointer;
  outline: none;
}
.testimonial--clickable:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  background: var(--bg-3);
}
.testimonial--clickable:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.testimonial__cta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-mute);
  white-space: nowrap;
  transition: color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
  padding-bottom: 4px;
}
.testimonial--clickable:hover .testimonial__cta,
.testimonial--clickable:focus-visible .testimonial__cta {
  color: var(--accent);
  transform: translateX(2px);
}
.testimonial__avatar--photo {
  padding: 0;
  object-fit: cover;
}
.reviews__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}
.reviews__google-row {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}
.reviews__google {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color 0.2s ease, border-color 0.2s ease, gap 0.2s ease;
}
.reviews__google:hover {
  color: var(--fg);
  border-color: var(--line-strong);
  gap: 14px;
}
.reviews__arrow {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--fg);
  background: var(--bg-2);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.reviews__arrow:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: scale(1.05);
}
.reviews__arrow:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.reviews__dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.reviews__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease, width 0.3s ease;
}
.reviews__dot:hover { background: var(--fg-dim); }
.reviews__dot.is-active {
  background: var(--accent);
  width: 22px;
  border-radius: 4px;
}
@media (max-width: 640px) {
  .reviews__slide .testimonial { padding: 36px 28px 28px; }
  .reviews__slide .testimonial__quote { font-size: 19px; -webkit-line-clamp: 9; }
}
@media (prefers-reduced-motion: reduce) {
  .reviews__track { transition: none; }
}

/* ===================== REVIEW MODAL ===================== */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
  animation: modalFade 0.2s ease;
}
@keyframes modalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal__card {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 64px 56px 48px;
  animation: modalSlide 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes modalSlide {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--fg-dim);
  background: transparent;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.modal__close:hover { color: var(--accent); border-color: var(--accent); transform: scale(1.05); }
.modal__close:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.modal__stars {
  color: var(--accent);
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 24px;
}
.modal__quote {
  font-family: var(--serif);
  font-size: 26px;
  font-style: italic;
  line-height: 1.5;
  color: var(--fg);
  margin-bottom: 36px;
}
.modal__author {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.modal__avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-3);
  font-size: 16px;
  font-weight: 500;
}
.modal__name { font-size: 16px; font-weight: 500; }
.modal__meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 4px;
}
.modal__google {
  margin-top: 32px;
  width: 100%;
  justify-content: center;
}
@media (max-width: 640px) {
  .modal__card { padding: 56px 28px 32px; }
  .modal__quote { font-size: 20px; }
}

.testimonial {
  padding: 40px 32px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: transform 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}
.testimonial:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: var(--bg-3);
}
.testimonial__stars {
  display: flex; gap: 2px;
  color: var(--accent);
  font-size: 14px;
}
.testimonial__quote {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -0.005em;
  text-wrap: pretty;
  flex: 1;
  font-style: italic;
}
.testimonial__author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.testimonial__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-3);
  display: grid; place-items: center;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--fg-dim);
  border: 1px solid var(--line);
}
.testimonial__name {
  font-size: 14px;
  font-weight: 500;
}
.testimonial__meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--fg-mute);
  text-transform: uppercase;
  margin-top: 2px;
}

/* ===================== BROKERS ===================== */
.brokers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.broker {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 1.6fr;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}
.broker:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: var(--bg-3);
}
.broker__media {
  position: relative;
  background: var(--bg-3);
  aspect-ratio: 4/5;
  overflow: hidden;
}
.broker__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.broker:hover .broker__media img { transform: scale(1.03); }
.broker__media--placeholder::before {
  content: attr(data-initial);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: clamp(120px, 18vw, 220px);
  line-height: 1;
  color: var(--accent);
  opacity: 0.32;
  letter-spacing: 0.02em;
}
.broker__media--placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 0%, var(--bg-3) 75%);
  pointer-events: none;
}
.broker__body {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.broker__role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 12px;
}
.broker__name {
  font-family: var(--display);
  font-size: clamp(48px, 5.5vw, 72px);
  line-height: 1;
  letter-spacing: 0.01em;
  margin-bottom: 28px;
}
.broker__bio {
  color: var(--fg-dim);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 56ch;
}
.broker__quote {
  border-left: 2px solid var(--accent);
  padding-left: 22px;
  margin: 0 0 36px;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.5;
  font-style: italic;
  color: var(--fg);
  max-width: 56ch;
}
.broker__quote cite {
  display: block;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-mute);
  font-style: normal;
}
.broker__contact {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.broker__contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.broker__contact a:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}
@media (max-width: 880px) {
  .broker { grid-template-columns: 1fr; }
  .broker__media { aspect-ratio: 3/2; }
  .broker__body { padding: 36px 28px 40px; }
  .broker__contact a { padding: 9px 14px; font-size: 10px; }
}

/* ===================== FAQ ===================== */
.faq { max-width: 920px; margin: 0 auto; }
.faq__item {
  border-top: 1px solid var(--line);
  cursor: pointer;
}
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 32px 0;
  font-family: var(--display);
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.15;
  letter-spacing: 0.01em;
  font-weight: 400;
  gap: 24px;
  text-transform: uppercase;
}
.faq__icon {
  width: 32px; height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: transform 0.4s ease, background 0.3s ease, border-color 0.3s ease;
  font-family: var(--mono);
  font-size: 16px;
  color: var(--fg-dim);
}
.faq__item.is-open .faq__icon {
  transform: rotate(45deg);
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.faq__a {
  max-height: 0;
  overflow: hidden;
  color: var(--fg-dim);
  font-size: 16px;
  line-height: 1.6;
  transition: max-height 0.5s ease, padding 0.4s ease;
  text-wrap: pretty;
  max-width: 70ch;
}
.faq__item.is-open .faq__a {
  max-height: 400px;
  padding: 0 0 32px;
}

/* ===================== CONTACT ===================== */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact__info { display: flex; flex-direction: column; gap: 0; }
.contact__row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  align-items: center;
  transition: padding-left 0.3s ease;
}
.contact__row:last-child { border-bottom: 1px solid var(--line); }
.contact__row:hover { padding-left: 16px; }
.contact__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.contact__value {
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.contact__action {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-dim);
  display: inline-flex; align-items: center; gap: 6px;
  transition: color 0.2s ease;
}
.contact__row:hover .contact__action { color: var(--accent); }

.form {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form__title {
  font-family: var(--display);
  font-size: 36px;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.field input, .field select, .field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  padding: 10px 0;
  color: var(--fg);
  font-family: var(--sans);
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
}
.field textarea { resize: vertical; min-height: 80px; }
.field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M3 5l3 3 3-3' stroke='%23A8A29E' fill='none' stroke-width='1.2'/></svg>"); background-repeat: no-repeat; background-position: right 0 center; padding-right: 24px; }
.field option { background: var(--bg-2); color: var(--fg); }

.form__submit {
  margin-top: 8px;
  align-self: flex-start;
}
.form__legal {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--fg-mute);
  margin-top: 4px;
}

@media (max-width: 880px) {
  .contact { grid-template-columns: 1fr; gap: 48px; }
  .contact__row { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
  .contact__row:hover { padding-left: 0; }
  .contact__action { justify-self: start; margin-top: 4px; }
  .form { padding: 28px; }
  .field--row { grid-template-columns: 1fr; }
}

/* ===================== FOOTER ===================== */
.footer {
  border-top: 1px solid var(--line);
  padding: 64px 48px 40px;
  background: var(--bg);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line);
}
.footer__brand-line {
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  margin-top: 24px;
  max-width: 26ch;
  color: var(--fg-dim);
  line-height: 1.35;
}
.footer__logo { height: 56px; width: auto; display: block; }
.footer__col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  font-size: 14px;
  color: var(--fg-dim);
  transition: color 0.2s ease;
}
.footer__col a:hover { color: var(--fg); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--fg-mute);
  text-transform: uppercase;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__giant {
  font-family: var(--display);
  font-size: clamp(120px, 22vw, 340px);
  line-height: 0.85;
  letter-spacing: 0.005em;
  text-align: center;
  padding: 60px 0 0;
  color: var(--bg-3);
  font-style: normal;
  user-select: none;
  text-transform: uppercase;
}
@media (max-width: 880px) {
  .footer { padding: 48px 24px 24px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; padding-bottom: 40px; }
}

/* ===================== REVEAL ANIMATIONS ===================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--delay, 0) * 80ms);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
.reveal--up { transform: translateY(60px); }
.reveal--char { display: inline-block; }

/* honor reduced motion / tweak */
[data-motion="0"] .reveal,
[data-motion="0"] .hero__bg,
[data-motion="0"] .brands__track {
  transition: none !important;
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}
[data-motion="1"] .reveal { transition-duration: 0.6s; }
[data-motion="3"] .reveal { transition-duration: 1.1s; }

/* ===================== HERO LAYOUT VARIANTS ===================== */
.hero[data-variant="centered"] .hero__inner {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
  padding-bottom: 140px;
}
.hero[data-variant="centered"] .hero__title {
  max-width: 18ch;
}
.hero[data-variant="centered"] .hero__meta {
  max-width: 480px;
  text-align: center;
  align-items: center;
}
.hero[data-variant="split"] .hero__inner {
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 80vh;
  padding-top: 160px;
}
.hero[data-variant="split"] .hero__title {
  font-size: clamp(48px, 6.5vw, 110px);
}
