:root {
  --black: #0a0a0a;
  --ivory: #f5f1e9;
  --oxblood: #6e1f1d;
  --moss: #20332d;
  --champagne: #b9a78b;
  --alloy: #a8aaa7;
  --line: rgba(245, 241, 233, 0.14);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--black);
  color: var(--ivory);
  font-family: 'Manrope', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}
::selection {
  background: var(--oxblood);
  color: var(--ivory);
}
:focus-visible {
  outline: 1px solid var(--champagne);
  outline-offset: 3px;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 500;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.mockup-badge {
  position: relative;
  z-index: 400;
  text-align: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 2.5px;
  color: #6b6b6b;
  background: #050505;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
}
.mockup-badge b {
  color: var(--champagne);
}

/* ============ INTRO SPLASH ============ */
#splash {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer; /* fade-out is GSAP-driven (home.js) */
}
#splash img {
  width: min(320px, 55vw);
  animation: splashIn 1.4s ease both;
}
#splash .skip {
  position: absolute;
  bottom: 36px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 2px;
  color: #555;
  animation: fadeUp 1s ease 1.2s both;
}
@keyframes splashIn {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ============ HEADER ============ */
header {
  position: sticky;
  top: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 44px;
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
.wordmark .emblem-mark {
  height: 20px;
  width: auto;
  display: block;
}
.wordmark .wordmark-mark {
  height: 13px;
  width: auto;
  display: block;
  margin-top: 2px;
}
nav {
  display: flex;
  gap: 38px;
  align-items: center;
}
nav a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--alloy);
  transition: color 0.25s;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
nav a:hover,
nav a.current {
  color: var(--ivory);
  border-bottom-color: var(--oxblood);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-signin {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--alloy);
  background: none;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 0 0 3px;
  transition: color 0.25s;
}
.nav-signin:hover {
  color: var(--ivory);
  border-bottom-color: var(--champagne);
}
.nav-enquire {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ivory);
  border: 1px solid var(--champagne);
  padding: 9px 18px;
  background: none;
}
.nav-enquire:hover {
  background: var(--champagne);
  color: var(--black);
}

/* ============ PAGE ENTER ============ */
main {
  animation: viewIn 0.5s ease;
}
@keyframes viewIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ============ REVEAL ON SCROLL (GSAP-driven) ============ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
}

@media (prefers-reduced-motion: reduce) {
  main {
    animation: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    scroll-behavior: auto !important;
    animation-duration: 0.001s !important;
  }
  #splash {
    display: none;
  }
  .hero-line,
  .hero-sub,
  .hero .text-link {
    opacity: 1;
  }
}

/* ============ FRAME (photography placeholder, with ambient motion) ============ */
.frame {
  position: relative;
  overflow: hidden;
  background: #0d0d0d;
  background-size: cover;
  background-position: center;
}
.frame .photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.frame .tone {
  position: absolute;
  inset: -4%;
  transition: filter 0.6s ease;
}
.frame .sweep {
  position: absolute;
  inset: -30%;
  opacity: 0.5;
  background: linear-gradient(115deg, transparent 40%, rgba(245, 241, 233, 0.1) 48%, transparent 56%);
}
.frame .idx {
  position: absolute;
  bottom: 18px;
  right: 20px;
  z-index: 2;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: rgba(245, 241, 233, 0.65);
}
.tone-a {
  background: linear-gradient(
    200deg,
    rgba(58, 22, 19, 0.55) 0%,
    rgba(10, 10, 10, 0.35) 45%,
    rgba(10, 10, 10, 0.82) 100%
  );
}
.tone-b {
  background: linear-gradient(
    200deg,
    rgba(35, 59, 52, 0.55) 0%,
    rgba(10, 10, 10, 0.35) 45%,
    rgba(10, 10, 10, 0.82) 100%
  );
}
.tone-c {
  background: linear-gradient(
    200deg,
    rgba(60, 50, 32, 0.55) 0%,
    rgba(10, 10, 10, 0.35) 45%,
    rgba(10, 10, 10, 0.82) 100%
  );
}
.tone-d {
  background: linear-gradient(
    200deg,
    rgba(43, 43, 43, 0.55) 0%,
    rgba(10, 10, 10, 0.35) 45%,
    rgba(10, 10, 10, 0.82) 100%
  );
}

@media (prefers-reduced-motion: no-preference) {
  .frame .sweep {
    animation: sweepMove 8s ease-in-out infinite alternate;
  }
}
@keyframes sweepMove {
  from {
    transform: translateX(-14%);
  }
  to {
    transform: translateX(14%);
  }
}

/* ============ HOME / HERO ============ */
.hero {
  height: 92vh;
  min-height: 560px;
  position: relative;
  display: flex;
  align-items: flex-end;
  border-bottom: 1px solid var(--line);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 44px 64px;
  max-width: 640px;
}
.hero-line {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.25;
  margin: 0 0 18px;
  color: var(--ivory);
  max-width: 520px;
  opacity: 0; /* revealed by the hero timeline in home.js */
}
.hero-sub {
  font-size: 13.5px;
  color: var(--alloy);
  margin: 0 0 30px;
  opacity: 0;
}
.hero .text-link {
  opacity: 0;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.scroll-cue {
  position: absolute;
  right: 44px;
  bottom: 64px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.scroll-cue .line {
  width: 1px;
  height: 46px;
  background: linear-gradient(var(--champagne), transparent);
}
.scroll-cue span {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--alloy);
  writing-mode: vertical-rl;
}

.ticker {
  background: var(--oxblood);
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-track {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--ivory);
  animation: scroll 26s linear infinite;
}
.ticker-track span {
  padding: 0 26px;
  opacity: 0.9;
}
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.spotlight {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 78vh;
  border-bottom: 1px solid var(--line);
}
.spotlight .frame {
  min-height: 100%;
}
.spotlight-copy {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 22px;
}
.spotlight-copy h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.12;
  margin: 0 0 24px;
  max-width: 460px;
}
.spotlight-copy p {
  font-size: 14.5px;
  color: #c9c4b8;
  line-height: 1.7;
  max-width: 420px;
  margin: 0 0 30px;
}
.text-link {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--champagne);
  padding-bottom: 4px;
  align-self: flex-start;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  color: var(--ivory);
}
.text-link:hover {
  color: var(--champagne);
}

.statement {
  background: var(--ivory);
  color: var(--black);
  padding: 130px 44px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.statement p {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  font-size: clamp(26px, 3.8vw, 48px);
  line-height: 1.3;
  max-width: 920px;
  margin: 0 auto;
}

.collection-preview {
  padding: 100px 44px 110px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 52px;
  gap: 20px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  font-size: clamp(28px, 3.2vw, 40px);
  margin: 0;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.car-card {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  display: block;
  width: 100%;
  color: inherit;
  font-family: inherit;
}
.car-card .frame {
  aspect-ratio: 3/4;
  margin-bottom: 18px;
  transition: opacity 0.3s;
}
.car-card:hover .frame {
  opacity: 0.82;
}
.car-name {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 19px;
  margin-bottom: 8px;
}
.car-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--alloy);
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.car-meta .status {
  color: var(--champagne);
}

.members-band {
  background: var(--moss);
  padding: 70px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.members-band h3 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  font-size: 28px;
  margin: 0 0 8px;
}
.members-band p {
  font-size: 13.5px;
  color: #cdd8d2;
  margin: 0;
  max-width: 420px;
}
.cta-outline {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ivory);
  border: 1px solid var(--champagne);
  padding: 15px 30px;
  white-space: nowrap;
  background: none;
}
.cta-outline:hover {
  background: var(--champagne);
  color: var(--black);
}

/* ============ COLLECTION VIEW ============ */
.page-head {
  padding: 70px 44px 50px;
  border-bottom: 1px solid var(--line);
}
.page-head .eyebrow {
  margin-bottom: 18px;
}
.page-head h1 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  letter-spacing: -1px;
  font-size: clamp(34px, 4.6vw, 58px);
  margin: 0 0 18px;
}
.page-head p {
  font-size: 14px;
  color: var(--alloy);
  max-width: 520px;
  line-height: 1.6;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  padding: 2px 44px 110px;
}
.collection-grid .car-card:nth-child(odd) {
  margin-top: 70px;
}
.collection-grid .frame {
  aspect-ratio: 4/5;
  margin-bottom: 20px;
}
.collection-grid .car-name {
  font-size: 26px;
}
.view-dossier {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--champagne);
  text-transform: uppercase;
  margin-top: 8px;
  opacity: 0;
  transition: opacity 0.25s;
}
.car-card:hover .view-dossier {
  opacity: 1;
}

/* ============ DETAIL VIEW ============ */
.detail-gallery {
  position: relative;
  height: 82vh;
  min-height: 520px;
  border-bottom: 1px solid var(--line);
}
.detail-gallery .frame {
  height: 100%;
}
.detail-gallery .photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.gallery-nav {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 26px;
  z-index: 3;
}
.gallery-arrow {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(245, 241, 233, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.3);
  color: var(--ivory);
  font-size: 16px;
  backdrop-filter: blur(4px);
}
.gallery-arrow:hover {
  border-color: var(--champagne);
  color: var(--champagne);
}
.gallery-counter {
  position: absolute;
  left: 44px;
  bottom: 26px;
  z-index: 3;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--ivory);
}
.back-link {
  position: absolute;
  left: 44px;
  top: 26px;
  z-index: 3;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ivory);
  background: rgba(10, 10, 10, 0.4);
  padding: 8px 14px;
  backdrop-filter: blur(4px);
  border: none;
}

.detail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  flex-wrap: wrap;
  padding: 56px 44px 40px;
  border-bottom: 1px solid var(--line);
}
.detail-head h1 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  letter-spacing: -1.5px;
  font-size: clamp(34px, 5vw, 64px);
  margin: 0;
  line-height: 1.02;
}
.spec-strip {
  display: flex;
  gap: 38px;
  flex-wrap: wrap;
}
.spec-strip div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.spec-strip .k {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 1.5px;
  color: var(--alloy);
  text-transform: uppercase;
}
.spec-strip .v {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  color: var(--ivory);
}

.detail-body {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  padding: 70px 44px 100px;
  max-width: 1280px;
  margin: 0 auto;
}
.editorial-block {
  margin-bottom: 46px;
}
.editorial-block .n {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--champagne);
  margin-bottom: 12px;
  display: block;
}
.editorial-block h3 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 21px;
  margin: 0 0 14px;
}
.editorial-block p {
  font-size: 14.5px;
  line-height: 1.75;
  color: #d3cec2;
  max-width: 560px;
}

.enquire-panel {
  position: sticky;
  top: 110px;
  align-self: start;
  border: 1px solid var(--line);
  padding: 36px 30px;
  background: #0e0e0e;
}
.enquire-panel .status-tag {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 1.5px;
  color: var(--champagne);
  border: 1px solid var(--champagne);
  padding: 5px 10px;
  margin-bottom: 22px;
  text-transform: uppercase;
}
.enquire-panel p {
  font-size: 13px;
  color: var(--alloy);
  line-height: 1.6;
  margin: 0 0 26px;
}
.btn-solid {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--oxblood);
  color: var(--ivory);
  border: none;
  padding: 16px 20px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.btn-solid:hover {
  filter: brightness(1.12);
}
.enquire-fine {
  margin-top: 18px;
  font-size: 11.5px;
  color: #6b6b6b;
}

.next-strip {
  border-top: 1px solid var(--line);
  padding: 60px 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  background: none;
  width: 100%;
  color: inherit;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}
.next-strip .lbl {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--alloy);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.next-strip h4 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 23px;
  margin: 0;
}

/* ============ MEMBERS VIEW ============ */
.members-steps {
  display: flex;
  gap: 8px;
  padding: 0 44px;
  margin-top: -10px;
}
.members-steps .s {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #444;
  border: 1px solid #2a2a2a;
  padding: 4px 9px;
  background: var(--black); /* the tabs straddle the page-head rule; hide it behind them */
}
.members-steps .s.active {
  color: var(--champagne);
  border-color: var(--champagne);
}
.members-content {
  padding: 50px 44px 110px;
  max-width: 640px;
}
.members-substep {
  display: none;
}
.members-substep.active {
  display: block; /* entrance is GSAP-driven in members.js; no CSS animation here or the two fades stack */
}
.includes {
  margin: 34px 0 40px;
}
.inc-row {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.inc-row:last-child {
  border-bottom: 1px solid var(--line);
}
.inc-row .n {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--alloy);
  padding-top: 2px;
}
.inc-row .t {
  font-size: 14px;
  font-weight: 600;
  color: var(--ivory);
}
.inc-row .d {
  font-size: 12.5px;
  color: var(--alloy);
  margin-top: 3px;
  line-height: 1.45;
}
.fine {
  margin-top: 16px;
  font-size: 12px;
  color: #7a7a7a;
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--champagne);
  text-transform: uppercase;
  margin-bottom: 8px;
}
label .opt {
  color: #5c5c5c;
  text-transform: none;
  letter-spacing: 0;
  font-family: 'Manrope', sans-serif;
  font-style: italic;
}
input[type='text'],
input[type='email'],
input[type='tel'],
input[type='password'],
input[type='number'],
input[type='date'],
input[type='url'],
select,
textarea {
  width: 100%;
  background: #161616;
  border: 1px solid var(--line);
  color: var(--ivory);
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  padding: 12px 14px;
  border-radius: 1px;
}
select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23b9a78b'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
textarea {
  resize: vertical;
  min-height: 80px;
  font-family: 'Manrope', sans-serif;
}
input::placeholder,
textarea::placeholder {
  color: #5c5c5c;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--champagne);
}
.field-group {
  display: flex;
  flex-direction: column;
}
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-top: 8px;
}
.consent input {
  width: auto;
  margin-top: 3px;
  accent-color: var(--oxblood);
}
.consent p {
  font-size: 12px;
  color: var(--alloy);
  line-height: 1.5;
  margin: 0;
}
.received-mark {
  width: 52px;
  height: 52px;
  border: 1px solid var(--champagne);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--champagne);
}
.review-note {
  margin-top: 34px;
  padding: 20px 22px;
  background: #111;
  border: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--alloy);
  line-height: 1.55;
}
.review-note b {
  color: var(--ivory);
}

/* ============ TESTIMONIALS ============ */
.testimonial-list {
  max-width: 780px;
}
.testimonial {
  padding: 38px 0;
  border-top: 1px solid var(--line);
}
.testimonial:last-child {
  border-bottom: 1px solid var(--line);
}
.testimonial p {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ivory);
  margin: 0 0 16px;
  max-width: 700px;
}
.testimonial .attr {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 1.5px;
  color: var(--champagne);
  text-transform: uppercase;
}

/* ============ MEMBER DASHBOARD ============ */
.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  padding: 70px 44px 44px;
  border-bottom: 1px solid var(--line);
}
.dash-badge {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 1.5px;
  color: var(--champagne);
  border: 1px solid var(--champagne);
  padding: 5px 10px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.dash-header h1 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  letter-spacing: -1px;
  font-size: clamp(32px, 4vw, 48px);
  margin: 0 0 8px;
}
.dash-header p {
  font-size: 14px;
  color: var(--alloy);
  margin: 0;
}
.dash-jump {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.dash-jump a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--alloy);
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
}
.dash-jump a:hover {
  color: var(--ivory);
  border-bottom-color: var(--oxblood);
}

.dash-section {
  padding: 70px 44px;
  border-bottom: 1px solid var(--line);
}
.dash-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 38px;
  gap: 16px;
  flex-wrap: wrap;
}
.dash-section-head h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  font-size: 24px;
  margin: 0;
}
.dash-section-head .count {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 1.5px;
  color: var(--alloy);
  text-transform: uppercase;
}

.owned-card {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 28px;
  align-items: center;
  background: #111;
  border: 1px solid var(--line);
  padding: 20px;
  cursor: pointer;
  max-width: 900px;
}
.owned-card .frame {
  aspect-ratio: 4/3;
}
.owned-card .name {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 19px;
  margin-bottom: 8px;
}
.owned-card .meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--alloy);
  text-transform: uppercase;
}
.owned-card .meta .tag {
  color: var(--champagne);
}
.owned-card .arrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 20px;
  color: var(--alloy);
}

.invite-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.invite-card {
  background: #111;
  border: 1px solid var(--line);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.invite-date {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--champagne);
  text-transform: uppercase;
}
.invite-card h3 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin: 0;
}
.invite-card p {
  font-size: 12.5px;
  color: var(--alloy);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.rsvp-btn {
  align-self: flex-start;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ivory);
  border: 1px solid var(--champagne);
  padding: 10px 18px;
  background: none;
}
.rsvp-btn:hover {
  background: var(--champagne);
  color: var(--black);
}
.rsvp-btn.rsvped {
  border-color: #3a5a4a;
  color: #8fae9c;
  background: none;
  cursor: default;
}

.latest-item {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.latest-item:last-child {
  border-bottom: 1px solid var(--line);
}
.latest-tag {
  flex-shrink: 0;
  width: 120px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 1.5px;
  color: var(--champagne);
  text-transform: uppercase;
  padding-top: 3px;
}
.latest-item h3 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 6px;
}
.latest-item p {
  font-size: 13px;
  color: var(--alloy);
  line-height: 1.55;
  margin: 0;
  max-width: 560px;
}

.pref-card {
  max-width: 900px;
  background: var(--moss);
  padding: 26px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.pref-card .k {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 1.5px;
  color: #a8c2b4;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.pref-card p {
  font-size: 14px;
  margin: 0;
}

@media (max-width: 900px) {
  .dash-header,
  .dash-section {
    padding-left: 22px;
    padding-right: 22px;
  }
  .owned-card {
    grid-template-columns: 1fr;
  }
  .owned-card .arrow {
    display: none;
  }
  .invite-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ MODAL ============ */
#modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: rgba(5, 5, 5, 0.78);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
#modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.modal-panel {
  background: #0e0e0e;
  border: 1px solid var(--line);
  max-width: 480px;
  width: 100%;
  padding: 44px 38px;
  position: relative; /* entrance/exit are GSAP-driven (app.js, admin.js) */
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: var(--alloy);
  font-size: 18px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover {
  color: var(--ivory);
}
.modal-kicker {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 2px;
  color: var(--champagne);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.modal-panel h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  font-size: 25px;
  margin: 0 0 20px;
}
.modal-panel .fine {
  margin-top: 14px;
}

/* ============ FOOTER ============ */
footer {
  padding: 70px 44px 40px;
  border-top: 1px solid var(--line);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.footer-mark {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-emblem {
  height: 32px;
  width: auto;
  display: block;
}
.footer-wordmark {
  height: 19px;
  width: auto;
  display: block;
  margin-top: 3px;
}
.footer-cols {
  display: flex;
  gap: 70px;
  flex-wrap: wrap;
}
.footer-col div {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 1.5px;
  color: var(--champagne);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col a,
.footer-col p {
  display: block;
  font-size: 13px;
  color: var(--alloy);
  margin-bottom: 8px;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
}
.footer-col a:hover {
  color: var(--ivory);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 1px;
  color: #5c5c5c;
}
.footer-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom a {
  color: var(--alloy);
  transition: color 0.3s ease;
}
.footer-bottom a:hover {
  color: var(--ivory);
}

/* ============ ADMIN CONSOLE (admin.html) ============ */
/* Built from the dashboard and members primitives; only tables, toolbar and toast are new. */
.admin nav {
  gap: 26px;
}
.admin main {
  min-height: 70vh;
}
.admin-login {
  max-width: 440px;
  padding: 0 44px 100px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.admin-toolbar {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.admin-toolbar select,
.admin-toolbar input {
  width: auto;
  min-width: 200px;
  padding: 10px 14px;
  font-size: 13px;
}
.admin-toolbar .btn-solid {
  width: auto;
  padding: 12px 22px;
  margin-left: auto;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  max-width: 1100px;
}
.stat-grid a {
  background: var(--black);
  padding: 26px 24px;
  transition: background 0.25s;
}
.stat-grid a:hover {
  background: #111;
}
.stat-grid .k {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 1.5px;
  color: var(--champagne);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.stat-grid .v {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  letter-spacing: -1px;
  font-size: 34px;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.admin-table th {
  text-align: left;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: 1.5px;
  color: var(--champagne);
  text-transform: uppercase;
  padding: 0 14px 14px 0;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.admin-table td {
  padding: 16px 14px 16px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--ivory);
  line-height: 1.5;
}
.admin-table tr:hover td {
  background: #111;
}
.admin-table .muted {
  color: var(--alloy);
  font-size: 12.5px;
}
.admin-table .num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.admin-table .actions {
  white-space: nowrap;
  text-align: right;
  padding-right: 0;
}
.admin-table .frame {
  width: 84px;
  height: 56px;
  min-height: 0;
}
.admin-table .frame .photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.row-action {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--alloy);
  background: none;
  border: none;
  padding: 4px 0;
  margin-left: 18px;
  border-bottom: 1px solid transparent;
  transition: color 0.25s;
}
.row-action:hover {
  color: var(--ivory);
  border-bottom-color: var(--oxblood);
}
.row-action.danger:hover {
  border-bottom-color: var(--oxblood);
  color: var(--champagne);
}
.tag-mono {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--champagne);
  border: 1px solid var(--champagne);
  padding: 4px 8px;
  white-space: nowrap;
}
.tag-mono.quiet {
  color: var(--alloy);
  border-color: var(--line);
}
.tag-mono.new {
  color: var(--ivory);
  border-color: var(--oxblood);
  background: var(--oxblood);
}
.tag-mono.moss {
  color: #a8c2b4;
  border-color: var(--moss);
  background: var(--moss);
}
.admin-empty {
  padding: 40px 0;
  font-size: 13.5px;
  color: var(--alloy);
}
.admin-note {
  font-size: 12.5px;
  color: var(--alloy);
  line-height: 1.55;
  max-width: 560px;
  margin: 0 0 30px;
}
.admin-note b {
  color: var(--ivory);
  font-weight: 600;
}
.modal-panel.wide {
  max-width: 720px;
}
.modal-panel form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.modal-actions {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 6px;
}
.modal-actions .btn-solid {
  width: auto;
  padding: 14px 26px;
}
.doc-list {
  margin: 0 0 8px;
}
.doc-list .inc-row {
  padding: 14px 0;
}
.admin-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  z-index: 700;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ivory);
  background: #0e0e0e;
  border: 1px solid var(--champagne);
  padding: 12px 20px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s,
    transform 0.3s;
}
.admin-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.admin-table-wrap {
  overflow-x: auto;
}
.admin nav a .n {
  margin-left: 6px;
  color: var(--champagne);
}
@media (max-width: 900px) {
  /* Staff use tablets: keep the view nav, let it wrap. */
  .admin nav {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 20px;
  }
  .admin header {
    flex-wrap: wrap;
    gap: 14px;
  }
  .admin-login {
    padding: 0 22px 80px;
  }
  .admin-toolbar .btn-solid {
    margin-left: 0;
  }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  header {
    padding: 16px 22px;
  }
  nav {
    display: none;
  }
  .nav-actions {
    gap: 16px;
  }
  .hero-content,
  .page-head,
  .collection-preview,
  .members-band,
  .footer-top,
  .detail-head,
  .next-strip,
  .members-content {
    padding-left: 22px;
    padding-right: 22px;
  }
  .members-steps {
    padding: 0 22px;
  }
  .spotlight {
    grid-template-columns: 1fr;
  }
  .spotlight .frame {
    min-height: 56vh;
  }
  .spotlight-copy {
    padding: 50px 22px;
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
  .collection-grid {
    grid-template-columns: 1fr;
    padding: 2px 22px 80px;
  }
  .collection-grid .car-card:nth-child(odd) {
    margin-top: 0;
  }
  .detail-body {
    grid-template-columns: 1fr;
    padding: 50px 22px 80px;
    gap: 40px;
  }
  .enquire-panel {
    position: static;
  }
  .statement {
    padding: 80px 24px;
  }
  .row2 {
    grid-template-columns: 1fr;
  }
  .modal-panel {
    padding: 34px 24px;
  }
}
