/* ==========================================================================
   Music City Kyle | Nashville Executive Transportation
   ========================================================================== */

:root {
  --bg: #0a0a0b;
  --bg-raised: #121214;
  --bg-card: #141416;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f3ef;
  --text-dim: #9c9a94;
  --text-faint: #66645f;
  --accent: #c9a876;
  --accent-soft: rgba(201, 168, 118, 0.14);

  --container: 1240px;
  --gutter: clamp(24px, 5vw, 64px);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 0.35s;
  --dur: 0.7s;
  --dur-slow: 1.1s;

  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

::selection { background: var(--accent); color: #0a0a0b; }

/* Subtle grain overlay for a premium, non-flat feel */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- Reveal-on-scroll ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.03s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.11s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.27s; }

/* ---- Preloader ---- */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s var(--ease), visibility 0.8s var(--ease);
}
#preloader.is-done { opacity: 0; visibility: hidden; }
#preloader .mark {
  font-size: 15px;
  letter-spacing: 0.4em;
  color: var(--text-dim);
  opacity: 0;
  animation: preloaderIn 1.4s var(--ease) forwards;
}
@keyframes preloaderIn {
  0% { opacity: 0; letter-spacing: 0.9em; }
  60% { opacity: 1; }
  100% { opacity: 0.7; letter-spacing: 0.4em; }
}

/* ---- Nav ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px var(--gutter);
  transition: transform 0.5s var(--ease), background-color 0.5s var(--ease),
    border-color 0.5s var(--ease), padding 0.5s var(--ease), backdrop-filter 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding-top: 16px;
  padding-bottom: 16px;
  background: rgba(10, 10, 11, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav.is-nav-locked { transform: none; }

.nav__logo {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.nav__logo span { color: var(--accent); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav__links a {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  position: relative;
  padding: 4px 0;
  transition: color var(--dur-fast) var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--dur-fast) var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }

.nav__right {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__phone {
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.02em;
  transition: color var(--dur-fast) var(--ease);
}
.nav__phone:hover { color: var(--accent); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  z-index: 1100;
}
.nav__burger span {
  height: 1px;
  width: 100%;
  background: var(--text);
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  will-change: transform;
}
.btn--primary {
  background: var(--text);
  color: #0a0a0b;
}
.btn--primary:hover {
  background: var(--accent);
  box-shadow: 0 8px 30px -8px rgba(201, 168, 118, 0.55);
}
.btn--ghost {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn--small { padding: 12px 24px; font-size: 12px; }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px var(--gutter) 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 50% 8%, rgba(201, 168, 118, 0.10), transparent 60%),
    radial-gradient(ellipse 90% 70% at 50% 100%, rgba(255, 255, 255, 0.05), transparent 60%),
    var(--bg);
}

.hero__eyebrow {
  font-size: 12px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 28px;
}
.hero__eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 12px;
  vertical-align: middle;
  box-shadow: 0 0 12px 2px var(--accent-soft);
}

.hero__title {
  font-size: clamp(48px, 8.4vw, 118px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.02em;
  max-width: 16ch;
}
.hero__title em {
  font-style: normal;
  color: var(--text-dim);
}

.hero__sub {
  margin-top: 30px;
  font-size: clamp(16px, 1.7vw, 20px);
  color: var(--text-dim);
  max-width: 42ch;
  font-weight: 300;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.hero__stage {
  position: relative;
  margin-top: 90px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.hero__stat b {
  display: block;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.hero__stat span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.03em;
}

.hero__skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  color: var(--text);
  opacity: 0.5;
  pointer-events: none;
  mask-image: linear-gradient(to top, black 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, black 55%, transparent 100%);
}

.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.6;
}
.hero__scroll span {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.hero__scroll i {
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2.2s var(--ease) infinite;
}
@keyframes scrollPulse {
  0% { transform: scaleY(0.2); transform-origin: top; opacity: 0.3; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0.2); transform-origin: bottom; opacity: 0.3; }
}

/* ---- Section scaffolding ---- */
section { position: relative; }
.section {
  padding: clamp(90px, 12vw, 160px) 0;
  scroll-margin-top: 50px;
}
.section--tight { padding: clamp(60px, 8vw, 100px) 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: clamp(48px, 6vw, 80px);
  flex-wrap: wrap;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  display: block;
}
.h2 {
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.06;
  max-width: 18ch;
}
.section-head p {
  max-width: 40ch;
  color: var(--text-dim);
  font-weight: 300;
  font-size: 16px;
}

.divider {
  height: 1px;
  background: var(--line);
  border: none;
}

/* ---- Marquee strip ---- */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  overflow: hidden;
}
.strip__track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.strip__track span {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
}
.strip__track span b { color: var(--text-dim); font-weight: 500; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---- About ---- */
.about {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.about__panel {
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 30% 20%, rgba(201, 168, 118, 0.16), transparent 55%),
    linear-gradient(155deg, #17171a, #0c0c0d 60%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about__panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.about__panel .sheen {
  position: absolute;
  inset: -50%;
  background: linear-gradient(115deg, transparent 40%, rgba(201, 168, 118, 0.16) 50%, transparent 60%);
  animation: sheen 7s ease-in-out infinite;
}
@keyframes sheen {
  0%, 100% { transform: translateX(-15%) translateY(-8%); }
  50% { transform: translateX(15%) translateY(8%); }
}
.about__badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  right: 24px;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(10, 10, 11, 0.6);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.03em;
}
.about__badge b { color: var(--text); font-weight: 500; }

.about__copy p {
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 300;
  color: var(--text-dim);
  max-width: 52ch;
}
.about__copy p + p { margin-top: 20px; }
.about__copy .h2 { margin-bottom: 28px; }

.about__list {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 32px;
}
.about__list li {
  font-size: 14px;
  color: var(--text-dim);
  padding-left: 22px;
  position: relative;
}
.about__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 1px;
  background: var(--accent);
}

/* ---- Services ---- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.card {
  background: var(--bg-card);
  padding: 40px 30px;
  transition: background-color var(--dur) var(--ease);
  position: relative;
}
.card:hover { background: var(--bg-raised); }
.card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 28px;
  color: var(--accent);
}
.card h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.card p {
  font-size: 14px;
  color: var(--text-dim);
  font-weight: 300;
  line-height: 1.6;
}

/* ---- Fleet ---- */
.fleet {
  border-radius: 24px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, #131315 0%, #0a0a0b 65%);
  padding: clamp(40px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
  overflow: hidden;
}
.fleet::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -10%;
  width: 60%;
  height: 160%;
  background: linear-gradient(115deg, transparent 45%, rgba(201, 168, 118, 0.10) 50%, transparent 55%);
  animation: sheen 9s ease-in-out infinite;
  pointer-events: none;
}
.fleet__eyebrow { color: var(--accent); font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; }
.fleet__title { font-size: clamp(30px, 3.6vw, 46px); font-weight: 600; letter-spacing: -0.02em; margin: 18px 0 20px; }
.fleet__title span { color: var(--text-dim); }
.fleet__copy { color: var(--text-dim); font-weight: 300; font-size: 16px; }

.fleet__specs {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 28px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.fleet__specs li {
  font-size: 13px;
  color: var(--text-dim);
  padding-left: 20px;
  position: relative;
}
.fleet__specs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 9px;
  height: 1px;
  background: var(--accent);
}

/* ---- Testimonials ---- */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.quote {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
  background: var(--bg-card);
}
.quote__stars { color: var(--accent); font-size: 13px; letter-spacing: 3px; margin-bottom: 20px; }
.quote p {
  font-size: 16px;
  font-weight: 300;
  color: var(--text);
  line-height: 1.65;
}
.quote footer {
  margin-top: 22px;
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.03em;
}
.quote__placeholder {
  margin-top: 10px;
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* ---- Booking / Contact ---- */
.book {
  border-radius: 24px;
  border: 1px solid var(--line-strong);
  background: var(--bg-card);
  padding: clamp(36px, 6vw, 72px);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
}
.book__info .h2 { margin-bottom: 20px; }
.book__info p { color: var(--text-dim); font-weight: 300; max-width: 40ch; }
.book__contacts { margin-top: 40px; display: flex; flex-direction: column; gap: 18px; }
.book__contacts a {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--text);
  transition: color var(--dur-fast) var(--ease);
}
.book__contacts a:hover { color: var(--accent); }
.book__contacts svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.book__contacts small { display: block; color: var(--text-faint); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 2px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 10px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--text);
  font-size: 14px;
  transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.field 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='%239c9a94'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field select option { background: var(--bg-raised); color: var(--text); }
.field input::placeholder,
.field textarea::placeholder { color: var(--text-faint); }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.045);
}
.field textarea { resize: vertical; min-height: 90px; }

.form-note {
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-faint);
}
.form-note.is-error { color: #e0866b; }

/* Honeypot: hidden from sighted users, still reachable by bots that fill every field */
.field-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}

/* ---- Footer ---- */
.footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 40px;
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 40px;
}
.footer__brand { font-size: 15px; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; }
.footer__brand span { color: var(--accent); }
.footer__tagline { margin-top: 14px; color: var(--text-faint); font-size: 13px; max-width: 32ch; }
.footer__cols { display: flex; gap: 72px; flex-wrap: wrap; }
.footer__col h4 {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
}
.footer__col a,
.footer__col span {
  display: block;
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 10px;
  transition: color var(--dur-fast) var(--ease);
}
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--text-faint);
}

/* ---- Mobile nav overlay ---- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-dim);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color var(--dur-fast) var(--ease);
}
.mobile-menu.is-open a { opacity: 1; transform: translateY(0); }
.mobile-menu.is-open a:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.is-open a:nth-child(2) { transition-delay: 0.14s; }
.mobile-menu.is-open a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.is-open a:nth-child(4) { transition-delay: 0.26s; }
.mobile-menu.is-open a:nth-child(5) { transition-delay: 0.32s; }
.mobile-menu a:hover { color: var(--accent); }

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__phone { display: none; }

  .hero__stage { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .about { grid-template-columns: 1fr; }
  .about__panel { max-width: 380px; margin: 0 auto; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; }
  .book { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .hero__stage { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer__top { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
