:root {
  --paper: #fff8ef;
  --cream: #f5eadc;
  --ink: #171310;
  --muted: rgba(23, 19, 16, .66);
  --line: rgba(23, 19, 16, .15);
  --line-strong: rgba(23, 19, 16, .28);
  --gold: #bf8440;
  --copper: #805232;
  --steel: #326080;
  --blue: #b5d2e6;
  --moss: #59694e;
  --rose: #9b5d52;
  --white: #fffdf8;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: .18;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 420 420' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
::selection { background: var(--gold); color: var(--paper); }

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

.nav {
  position: fixed;
  top: 18px;
  left: 18px;
  right: 18px;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  min-height: 68px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: rgba(255, 248, 239, .8);
  backdrop-filter: blur(20px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.logo img { width: 104px; height: auto; }
.logo span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav__links {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.nav__links a[aria-current="page"],
.nav__links a:hover { color: var(--ink); }

.nav__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn--light {
  background: transparent;
  color: var(--ink);
}
.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.btn--full { width: 100%; }

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--paper);
  transition: opacity .6s ease, visibility .6s ease;
}

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

.preloader__inner {
  width: min(560px, calc(100vw - 42px));
  text-align: center;
}

.preloader__inner img {
  width: min(310px, 70vw);
  margin: 0 auto 36px;
}

.preloader__meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.preloader__track {
  height: 2px;
  background: var(--line);
}

.preloader__bar {
  width: 0%;
  height: 100%;
  background: var(--gold);
  transition: width .12s linear;
}

.section {
  position: relative;
  padding: 118px 5vw;
  isolation: isolate;
}

.hero {
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding-top: 120px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 248, 239, .96), rgba(255, 248, 239, .6), rgba(255, 248, 239, .88)),
    url("assets/hero-activehop-luxury.png") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28vh;
  z-index: -1;
  background: linear-gradient(0deg, var(--paper), transparent);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, .98fr);
  gap: 4vw;
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 40px;
  height: 1px;
  background: currentColor;
}

.display,
.page-title,
.section-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  line-height: .82;
  letter-spacing: 0;
  text-transform: uppercase;
}

.display { font-size: clamp(4rem, 11vw, 11.7rem); }
.page-title { font-size: clamp(4rem, 10vw, 10rem); }
.section-title { font-size: clamp(3.2rem, 7vw, 7.4rem); }

.display em,
.page-title em,
.section-title em {
  display: block;
  color: var(--steel);
  font-style: italic;
  text-transform: none;
}

.lede {
  max-width: 730px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.24rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.product-stack {
  display: grid;
  gap: 12px;
  align-self: stretch;
  margin-bottom: 34px;
}

.hop-card {
  position: relative;
  display: grid;
  grid-template-columns: 86px 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 118px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 248, 239, .72);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.hop-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(191, 132, 64, .12), transparent);
  transform: translateX(-100%);
  transition: transform .55s ease;
}

.hop-card:hover::after { transform: translateX(100%); }
.hop-card__num {
  font-family: var(--serif);
  font-size: 3rem;
  line-height: .9;
  color: var(--gold);
}
.hop-card h3 {
  margin: 0;
  font-size: 1.08rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hop-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: .95rem;
}
.hop-card__tag {
  min-width: 108px;
  color: var(--steel);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.marquee {
  display: flex;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
}

.marquee__track {
  display: flex;
  min-width: max-content;
  animation: marquee 34s linear infinite;
}

.marquee span {
  padding: 18px 28px;
  font-size: clamp(1.05rem, 2vw, 1.7rem);
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.split {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 6vw;
  align-items: start;
}

.sticky-note {
  position: sticky;
  top: 112px;
}

.story-panel {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .32);
}

.story-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  padding: 28px;
  border-bottom: 1px solid var(--line);
}
.story-row:last-child { border-bottom: 0; }
.story-row span {
  color: var(--copper);
  font-family: var(--serif);
  font-size: 3rem;
  line-height: 1;
}
.story-row h3 {
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.story-row p { margin: 10px 0 0; color: var(--muted); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.product-card {
  min-height: 420px;
  display: grid;
  align-content: space-between;
  padding: 26px;
  background: var(--paper);
}

.product-card__visual {
  display: grid;
  place-items: center;
  min-height: 170px;
  margin: 12px 0 42px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 20%, rgba(181, 210, 230, .46), transparent 38%),
    linear-gradient(135deg, rgba(255,255,255,.75), rgba(245,234,220,.8));
}

.product-card__visual img {
  width: 72%;
  filter: drop-shadow(0 24px 28px rgba(72, 47, 25, .22));
  transform: rotate(-9deg);
}

.product-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 2.4rem;
  line-height: .9;
  text-transform: uppercase;
}
.product-card p { color: var(--muted); }
.product-card__links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 22px;
}

.image-band {
  min-height: 72vh;
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(255, 248, 239, .96), rgba(255, 248, 239, .2)),
    var(--image) center / cover no-repeat;
}

.image-band__copy {
  width: min(780px, 100%);
}

.console-wrap {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 28px;
  margin-top: 42px;
  border: 1px solid var(--line);
  background: var(--cream);
}

.console-copy {
  padding: 32px;
  border-right: 1px solid var(--line);
}
.console-copy h3 {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 5.8rem);
  line-height: .86;
  text-transform: uppercase;
}
.console-copy p { color: var(--muted); }
.console-image {
  min-height: 460px;
  background: url("assets/dealer-console-light.png") center / cover no-repeat;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-bottom: 0;
}
.tabs button {
  flex: 1 1 150px;
  min-height: 54px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}
.tabs button.is-active { background: var(--ink); color: var(--paper); }

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 48px;
  background: var(--line);
  border: 1px solid var(--line);
}
.metric {
  min-height: 170px;
  padding: 24px;
  background: var(--paper);
}
.metric strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: .85;
}
.metric span {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.page-hero {
  min-height: 74vh;
  display: grid;
  align-items: end;
  padding-top: 140px;
}
.page-hero--image {
  background:
    linear-gradient(90deg, rgba(255, 248, 239, .96), rgba(255, 248, 239, .52)),
    var(--page-image) center / cover no-repeat;
}

.copy-block {
  max-width: 950px;
}
.copy-block p,
.plain-copy p {
  color: var(--muted);
  font-size: 1.07rem;
}
.plain-copy {
  max-width: 900px;
  margin-inline: auto;
}
.plain-copy h2 {
  margin: 42px 0 12px;
  font-family: var(--serif);
  font-size: 2.8rem;
  line-height: .95;
  text-transform: uppercase;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 42px;
  background: var(--line);
  border: 1px solid var(--line);
}
.price-card {
  min-height: 520px;
  padding: 28px;
  display: grid;
  align-content: space-between;
  background: var(--paper);
}
.price-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 3.2rem;
  line-height: .9;
  text-transform: uppercase;
}
.price {
  margin-top: 22px;
  font-family: var(--serif);
  font-size: 3.4rem;
}
.price-card ul {
  display: grid;
  gap: 13px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 5vw;
}

.form {
  display: grid;
  gap: 12px;
}
.form input,
.form textarea,
.form select {
  width: 100%;
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0 16px;
  background: rgba(255, 255, 255, .48);
  color: var(--ink);
  outline: 0;
}
.form textarea {
  min-height: 150px;
  padding-top: 16px;
  resize: vertical;
}
.form input:focus,
.form textarea:focus,
.form select:focus { border-color: var(--gold); }
.form__msg {
  min-height: 22px;
  color: var(--steel);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.modal,
.drawer {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
}
.modal.is-open,
.drawer.is-open { display: block; }
.modal__shade,
.drawer__shade {
  position: absolute;
  inset: 0;
  background: rgba(23, 19, 16, .34);
  backdrop-filter: blur(10px);
}
.modal__panel {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(720px, calc(100vw - 28px));
  max-height: calc(100vh - 36px);
  overflow: auto;
  transform: translate(-50%, -50%);
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(460px, 100vw);
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  border-left: 1px solid var(--line);
  background: var(--paper);
}
.modal__head,
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.modal__head h2,
.drawer__head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 3rem;
  line-height: .9;
  text-transform: uppercase;
}
.icon-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 24px;
}
.drawer__body { padding: 24px; overflow: auto; }
.drawer__foot { padding: 24px; border-top: 1px solid var(--line); }
.inquiry-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.inquiry-item b {
  display: block;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.inquiry-item span {
  color: var(--muted);
  font-size: .95rem;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  padding: 42px 5vw;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .72s ease, transform .72s cubic-bezier(.16, 1, .3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 1080px) {
  .nav {
    display: flex;
    justify-content: space-between;
  }
  .nav__links { display: none; }
  .logo span { display: none; }
  .hero__grid,
  .split,
  .console-wrap,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .product-grid,
  .metrics,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sticky-note { position: relative; top: auto; }
  .console-copy { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 640px) {
  .nav {
    top: 10px;
    left: 10px;
    right: 10px;
    min-height: 58px;
    padding: 8px 10px;
    overflow: hidden;
  }
  .logo { flex: 0 1 82px; overflow: hidden; }
  .logo img { width: 92px; }
  .nav__actions { flex: 0 0 auto; }
  .nav__actions .btn {
    max-width: 132px;
    min-height: 38px;
    padding: 0 10px;
    font-size: 10px;
  }
  .section { padding: 88px 22px; }
  .hero { padding-top: 100px; }
  .display { font-size: clamp(3.35rem, 18vw, 5.9rem); }
  .page-title { font-size: clamp(3.4rem, 17vw, 5.8rem); }
  .section-title { font-size: clamp(3rem, 15vw, 5rem); }
  .actions { display: grid; grid-template-columns: 1fr; }
  .btn { width: 100%; white-space: normal; text-align: center; }
  .hop-card { grid-template-columns: 56px 1fr; }
  .hop-card__tag { grid-column: 2; }
  .product-grid,
  .metrics,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .story-row { grid-template-columns: 1fr; }
  .console-image { min-height: 330px; }
  footer { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
