@import url("type.css");

:root {
  --bg: #0c0d0f;
  --bg-elev: #141518;
  --ink: #f4f0e8;
  --muted: #b7b1a6;
  --line: rgba(244, 240, 232, 0.16);
  --bronze: #a68456;
  --header-ink: #f4f0e8;
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #f6f3ee;
  --bg-elev: #fffdf9;
  --ink: #161513;
  --muted: #5e584f;
  --line: rgba(22, 21, 19, 0.14);
  --bronze: #8c6b3e;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: var(--leading-body);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
.display {
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: var(--leading-display);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 40;
  padding: 0.6rem 0.9rem;
  background: #f4f0e8;
  color: #0c0d0f;
}

.skip:focus {
  top: 0.75rem;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
  padding: 0.75rem 1.1rem;
  color: var(--header-ink);
}

.site-header.is-stuck,
.page-plain .site-header,
.site-header:has(.nav.is-open) {
  background: var(--bg);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.logo-mark {
  width: 2.4rem;
  height: 2.4rem;
  flex: none;
  background: currentColor;
  -webkit-mask: url("/assets/brand/monogram.svg") center / contain no-repeat;
  mask: url("/assets/brand/monogram.svg") center / contain no-repeat;
}

.logo-name {
  display: block;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1;
}

.logo-royal {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.38em;
  line-height: 1;
}

.logo-royal::before {
  content: "";
  display: block;
  width: 2rem;
  height: 1px;
  margin-bottom: 0.32rem;
  background: var(--bronze);
}

.header-end {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav a,
.theme-toggle,
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 0.75rem;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: var(--tracking-ui);
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.theme-toggle {
  border: 1px solid currentColor;
}

.nav-toggle {
  display: none;
  border: 1px solid currentColor;
}

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100svh;
  color: #f4f0e8;
  background: #0c0d0f;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 58%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 13, 15, 0.78) 0%, rgba(12, 13, 15, 0.28) 58%, rgba(12, 13, 15, 0.12) 100%),
    linear-gradient(180deg, rgba(12, 13, 15, 0.5) 0%, rgba(12, 13, 15, 0.05) 32%, rgba(12, 13, 15, 0.62) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(40rem, 100%);
  padding: 7rem 1.25rem 3.25rem;
  animation: rise 0.7s ease both;
}

.kicker {
  margin-bottom: 0.85rem;
  color: var(--muted);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: var(--tracking-ui);
  text-transform: uppercase;
}

.hero .kicker {
  color: rgba(244, 240, 232, 0.78);
}

h1 {
  font-size: var(--step-3);
  max-width: 11ch;
}

.lede {
  max-width: 36rem;
  margin-top: 1.1rem;
  font-size: var(--step-1);
  line-height: 1.5;
}

.hero .lede {
  color: rgba(244, 240, 232, 0.88);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.15rem;
  border: 1px solid transparent;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: var(--tracking-ui);
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.hero .btn-primary {
  background: #f4f0e8;
  color: #0c0d0f;
  border-color: #f4f0e8;
}

.btn-ghost {
  background: transparent;
  color: inherit;
  border-color: var(--line);
}

.hero .btn-ghost {
  color: #f4f0e8;
  border-color: rgba(244, 240, 232, 0.45);
}

.section {
  padding: 4.5rem 1.25rem;
}

.section + .section,
.site-footer {
  border-top: 1px solid var(--line);
}

.wrap {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section h2 {
  font-size: var(--step-2);
  margin-bottom: 0.85rem;
}

.intro {
  max-width: 38rem;
  color: var(--muted);
}

.fleet-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2.25rem;
}

.fleet-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--bg-elev);
}

.fleet-card h3 {
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.fleet-car,
.fleet-cap {
  color: var(--muted);
}

.fleet-cap {
  margin-top: 0.2rem;
  font-size: var(--step--1);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.how-grid {
  display: grid;
  gap: 2.5rem;
  margin-top: 2rem;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}

.steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.step-no {
  font-family: var(--font-display);
  font-size: var(--step-1);
}

.steps h3 {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
}

.steps p {
  margin-top: 0.25rem;
  color: var(--muted);
}

.phone {
  width: min(17.5rem, 100%);
  margin: 0 auto;
  padding: 0.55rem;
  border: 1px solid rgba(244, 240, 232, 0.2);
  border-radius: 1.8rem;
  background: #0c0d0f;
  color: #f4f0e8;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.phone-screen {
  overflow: hidden;
  border-radius: 1.35rem;
  background: #111216;
}

.phone-map {
  display: block;
  width: 100%;
  height: 9.5rem;
  object-fit: cover;
  object-position: center top;
}

.phone-sheet {
  padding: 0.9rem 0.85rem 1rem;
}

.phone-where {
  font-size: 0.95rem;
  font-weight: 500;
}

.phone-sub {
  margin-top: 0.15rem;
  color: rgba(244, 240, 232, 0.62);
  font-size: 0.75rem;
}

.phone-classes {
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

.phone-classes li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-top: 1px solid rgba(244, 240, 232, 0.12);
  font-size: 0.82rem;
}

.phone-classes .is-selected {
  color: #f4f0e8;
  box-shadow: inset 2px 0 0 #a68456;
  padding-left: 0.55rem;
}

.btn:disabled {
  opacity: 0.55;
  cursor: wait;
}

.phone-request {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  margin-top: 0.85rem;
  background: #f4f0e8;
  color: #0c0d0f;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: var(--tracking-ui);
  text-transform: uppercase;
}

.places {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.places li {
  padding: 1rem 0.75rem 1rem 0;
  border-top: 1px solid var(--line);
  font-weight: 500;
}

.coast {
  display: block;
  width: min(36rem, 100%);
  margin-top: 1.75rem;
  color: var(--bronze);
}

.waitlist {
  display: grid;
  gap: 0.85rem;
  max-width: 28rem;
  margin-top: 1.75rem;
}

.waitlist label {
  display: grid;
  gap: 0.35rem;
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.waitlist input {
  min-height: 3rem;
  padding: 0 0.85rem;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 0;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 1.5rem;
  color: var(--muted);
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer {
  padding: 2.25rem 1.25rem 3rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand {
  color: var(--ink);
  text-decoration: none;
}

.footer-meta {
  color: var(--muted);
  font-size: var(--step--1);
}

.footer-meta a {
  color: inherit;
}

.legal {
  width: min(40rem, 100%);
  padding: 7.5rem 1.25rem 4rem;
}

.legal h1 {
  font-size: var(--step-2);
  max-width: none;
  margin-bottom: 1rem;
}

.legal h2 {
  margin: 2rem 0 0.5rem;
  font-size: var(--step-1);
}

.legal p + p {
  margin-top: 0.8rem;
}

.legal a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 3px;
}

@media (min-width: 720px) {
  .logo-name {
    font-size: 1.2rem;
    letter-spacing: var(--tracking-logo);
  }

  .logo-royal {
    letter-spacing: var(--tracking-royal);
  }

  .section {
    padding: 6rem 2rem;
  }

  .hero-copy {
    padding: 16vh 6vw 4.5rem;
  }

  .fleet-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 1.5rem;
  }

  .places {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 960px) {
  .site-header {
    padding-inline: 2rem;
  }

  .how-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }
}

@media (max-width: 360px) {
  .logo {
    gap: 0.4rem;
  }

  .logo-mark {
    width: 2rem;
    height: 2rem;
  }

  .logo-name {
    font-size: 0.82rem;
    letter-spacing: 0.08em;
  }

  .logo-royal {
    font-size: 0.55rem;
    letter-spacing: 0.2em;
  }
}

@media (max-width: 800px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.4rem 1rem 1rem;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    justify-content: flex-start;
    min-height: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}
