:root {
  --ink: #171717;
  --soft-ink: #343434;
  --muted: #6c6862;
  --paper: #f7f2ea;
  --cream: #fffaf2;
  --red: #e4222d;
  --red-dark: #9c111b;
  --gold: #f6c84c;
  --mint: #b8e6da;
  --sky: #d7e8f7;
  --line: rgba(23, 23, 23, 0.14);
  --shadow: 0 24px 70px rgba(23, 23, 23, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--site-font, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  line-height: 1.5;
  overflow-x: hidden;
}

body::selection {
  background: var(--red);
  color: white;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

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

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 0.98;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

p {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  overflow-wrap: break-word;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 16px;
  left: 50%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.88);
  box-shadow: 0 18px 50px rgba(23, 23, 23, 0.12);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 950;
  text-transform: lowercase;
}

.brand img {
  width: 78px;
  height: 50px;
  object-fit: contain;
  border-radius: 6px;
  background: #070707;
}

.brand span {
  white-space: nowrap;
}

nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 30px);
  color: var(--soft-ink);
  font-size: 0.95rem;
  font-weight: 850;
}

nav a[aria-current="page"] {
  color: var(--red);
}

.mobile-menu {
  display: none;
}

.header-action,
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 950;
}

.header-action {
  background: var(--ink);
  color: white;
}

.hero {
  position: relative;
  min-height: 94vh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 150px max(20px, calc((100vw - 1180px) / 2)) 46px;
  background: var(--ink);
  color: white;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.94) 0%, rgba(10, 10, 10, 0.62) 48%, rgba(10, 10, 10, 0.12) 100%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.15), rgba(10, 10, 10, 0.86));
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 790px;
  padding-bottom: 118px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.contact .eyebrow {
  color: var(--gold);
}

h1 {
  max-width: 830px;
  color: white;
  font-size: clamp(3.6rem, 8vw, 7.8rem);
  font-weight: 980;
}

h2 {
  font-size: clamp(2.35rem, 5vw, 5.25rem);
  font-weight: 980;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 950;
}

.hero p:not(.eyebrow) {
  max-width: min(650px, calc(100vw - 36px));
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
}

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

.primary {
  background: var(--red);
  color: white;
  box-shadow: 0 18px 36px rgba(228, 34, 45, 0.28);
}

.secondary {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.section-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  padding: 0 18px;
  color: white;
  font-weight: 950;
}

.section-link.dark {
  border-color: var(--line);
  color: var(--ink);
}

.hero-panel {
  position: absolute;
  z-index: 2;
  right: max(20px, calc((100vw - 1180px) / 2));
  bottom: 46px;
  width: min(390px, calc(100% - 40px));
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.9);
  color: var(--ink);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-panel span,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  margin-top: 14px;
  font-size: 1.6rem;
  line-height: 1;
}

.hero .hero-panel p {
  margin-top: 10px;
  color: var(--muted);
}

.page-hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  align-items: end;
  padding: 160px max(20px, calc((100vw - 1180px) / 2)) 80px;
  overflow: hidden;
  background: var(--ink);
  color: white;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.94), rgba(10, 10, 10, 0.52), rgba(10, 10, 10, 0.22)),
    var(--page-image, none) center / cover;
}

.page-hero > div {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.page-hero p:not(.eyebrow) {
  max-width: 680px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
}

.course-hero {
  --page-image: var(--classroom-image);
}

.benefit-hero {
  --page-image: var(--promo-image);
}

.vehicle-hero {
  --page-image: var(--contact-image);
}

.legal-hero {
  --page-image: var(--contact-image);
}

.school-hero {
  --page-image: var(--promo-image);
}

.quickbar {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  width: 100%;
  border-block: 1px solid var(--line);
  background: var(--cream);
}

.quickbar span {
  display: grid;
  min-height: 86px;
  place-items: center;
  border-right: 1px solid var(--line);
  color: var(--red);
  font-size: clamp(1.1rem, 2vw, 1.65rem);
  font-weight: 980;
}

.section,
.split,
.band,
.garage,
.pricing,
.contact {
  padding: 108px max(20px, calc((100vw - 1180px) / 2));
  scroll-margin-top: 112px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
}

.copy p:not(.eyebrow),
.section-head p {
  margin-top: 22px;
  max-width: 680px;
}

.photo-stack {
  position: relative;
  min-height: 610px;
}

.photo {
  position: absolute;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.photo.large {
  right: 0;
  top: 0;
  width: 66%;
  aspect-ratio: 0.82;
}

.photo.small {
  width: 46%;
  aspect-ratio: 1.18;
}

.photo.one {
  left: 0;
  top: 78px;
}

.photo.two {
  left: 10%;
  bottom: 0;
  aspect-ratio: 0.8;
}

.band {
  background: var(--ink);
  color: white;
}

.band .section-head p,
.band .course-card p {
  color: rgba(255, 255, 255, 0.72);
}

.section-head {
  max-width: 920px;
  margin-bottom: 44px;
}

.section-head.compact {
  max-width: 820px;
}

.course-grid,
.benefit-grid,
.price-grid,
.call-grid,
.detail-grid,
.process-grid {
  display: grid;
  gap: 16px;
}

.course-grid {
  grid-template-columns: 1.25fr 0.88fr 0.88fr;
}

.course-card,
.benefit-grid article,
.price-grid article {
  min-height: 310px;
  padding: 28px;
  border-radius: 8px;
}

.course-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
}

.course-card h3,
.course-card p,
.course-card strong {
  margin-top: 22px;
}

.main-course {
  background:
    linear-gradient(rgba(156, 17, 27, 0.76), rgba(23, 23, 23, 0.86)),
    var(--classroom-image) center / cover;
}

.main-course .tag {
  background: white;
}

.course-card strong {
  display: block;
  color: var(--gold);
  font-size: 1.18rem;
}

.page-section {
  background: var(--paper);
}

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

.detail-grid article {
  min-height: 360px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
}

.detail-grid span {
  color: var(--red);
  font-weight: 950;
  text-transform: uppercase;
}

.detail-grid h2 {
  margin-top: 34px;
  font-size: clamp(2rem, 3vw, 3rem);
}

.detail-grid p {
  margin-top: 20px;
}

.course-dates {
  padding: 92px max(20px, calc((100vw - 1180px) / 2));
  background: var(--sky);
}

.date-grid,
.teacher-grid,
.price-list-grid {
  display: grid;
  gap: 16px;
}

.date-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.date-grid article {
  display: grid;
  gap: 22px;
  min-height: 152px;
  align-content: space-between;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
}

.date-grid span,
.teacher-grid span,
.price-list-grid span {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.date-grid strong {
  font-size: 1.28rem;
  line-height: 1.05;
}

.date-grid .next-date {
  background: var(--red);
  color: white;
}

.date-grid .next-date span {
  color: var(--gold);
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-grid article {
  min-height: 170px;
  display: grid;
  align-content: space-between;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.process-grid strong {
  color: var(--gold);
  font-size: 1rem;
}

.process-grid span {
  color: white;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 950;
  line-height: 1.08;
}

.process-grid.light article {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.process-grid.light strong {
  color: var(--red);
}

.process-grid.light span {
  color: var(--ink);
}

.benefit-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.benefit-grid article {
  grid-column: span 2;
  display: flex;
  min-height: 250px;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--cream);
}

.benefit-grid .lead-benefit,
.benefit-grid .benefit-call {
  grid-column: span 3;
}

.benefit-grid .lead-benefit {
  background:
    linear-gradient(135deg, rgba(23, 23, 23, 0.92), rgba(156, 17, 27, 0.78)),
    var(--promo-image) center / cover;
  color: white;
}

.benefit-grid .lead-benefit p {
  color: rgba(255, 255, 255, 0.8);
}

.benefit-grid .benefit-call {
  background: var(--red);
  color: white;
}

.benefit-grid .benefit-call p {
  color: rgba(255, 255, 255, 0.82);
}

.benefit-grid .benefit-call a {
  display: inline-flex;
  width: fit-content;
  min-height: 46px;
  align-items: center;
  margin-top: auto;
  border-radius: 8px;
  background: white;
  color: var(--ink);
  padding: 0 16px;
  font-weight: 950;
}

.benefit-grid span {
  display: block;
  margin-bottom: 28px;
  color: var(--red);
  font-weight: 950;
}

.lead-benefit span,
.benefit-call span {
  color: var(--gold);
}

.benefit-grid p,
.price-grid p {
  margin-top: 18px;
}

.garage {
  background: var(--cream);
}

.vehicle-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 1.02fr);
  gap: 18px;
}

.vehicle-layout.single-vehicle {
  grid-template-columns: minmax(0, 720px);
}

.vehicle-feature {
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow);
}

.vehicle-feature img {
  width: 100%;
  aspect-ratio: 1.24;
  object-fit: cover;
}

.vehicle-feature div {
  padding: 30px;
}

.vehicle-feature span,
.vehicle-list span {
  color: var(--gold);
  font-weight: 950;
  text-transform: uppercase;
}

.vehicle-feature p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.vehicle-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.vehicle-list article {
  position: relative;
  overflow: hidden;
  min-height: 242px;
  border-radius: 8px;
  background: var(--ink);
}

.vehicle-list img {
  width: 100%;
  height: 100%;
  min-height: 242px;
  object-fit: cover;
  opacity: 0.88;
  transition: transform 0.45s ease;
}

.vehicle-list article:hover img {
  transform: scale(1.045);
}

.vehicle-list span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(23, 23, 23, 0.82);
}

.pricing {
  background:
    linear-gradient(120deg, rgba(247, 242, 234, 0.96), rgba(215, 232, 247, 0.72)),
    var(--sky);
}

.price-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.price-grid article {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.price-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  max-width: 980px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 50px rgba(23, 23, 23, 0.08);
}

.price-callout span,
.call-card span {
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.price-callout h3 {
  max-width: 680px;
  margin-top: 12px;
}

.price-callout p {
  max-width: 640px;
  margin-top: 14px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 0.78fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
  background:
    linear-gradient(90deg, rgba(23, 23, 23, 0.96), rgba(23, 23, 23, 0.82)),
    var(--contact-image) center / cover;
  color: white;
}

.contact-page {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  min-height: 78vh;
  align-items: end;
  padding-top: 170px;
}

.contact-page .contact-copy {
  min-width: 0;
}

.contact-page h1 {
  max-width: 760px;
  font-size: clamp(3.3rem, 6vw, 6.6rem);
}

.contact-page .call-card {
  min-width: 0;
}

.contact-page .call-card strong {
  font-size: clamp(2.2rem, 3.3vw, 3.55rem);
  overflow-wrap: anywhere;
}

.teacher-section {
  background: var(--paper);
}

.teacher-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}

.teacher-grid.single-teacher {
  grid-template-columns: minmax(0, 820px);
}

.teacher-feature,
.teacher-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
}

.teacher-feature {
  display: grid;
  grid-template-columns: minmax(220px, 0.82fr) minmax(0, 1fr);
}

.teacher-feature img,
.teacher-card img {
  width: 100%;
  object-fit: cover;
}

.teacher-feature img {
  height: 100%;
  min-height: 390px;
}

.teacher-card img {
  height: 230px;
}

.teacher-feature div,
.teacher-card div {
  padding: 30px;
}

.teacher-grid h3 {
  margin-top: 24px;
}

.teacher-grid p {
  margin-top: 18px;
}

.teacher-grid small {
  display: block;
  margin-top: 28px;
  color: var(--muted);
  font-weight: 900;
}

.empty-state {
  max-width: 720px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
}

.custom-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.82fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  padding: 110px max(20px, calc((100vw - 1180px) / 2));
  background: var(--paper);
}

.custom-section.reverse {
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 0.9fr);
}

.custom-section.reverse .custom-copy {
  order: 2;
}

.custom-section.reverse .custom-media {
  order: 1;
}

.custom-copy {
  min-width: 0;
}

.custom-copy p:not(.eyebrow) {
  max-width: 680px;
  margin-top: 18px;
  font-size: 1.08rem;
}

.custom-copy .section-link {
  margin-top: 28px;
}

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

.custom-actions .section-link {
  margin-top: 0;
}

.custom-actions .ghost {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}

.custom-media img {
  width: 100%;
  aspect-ratio: 1.28;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.custom-section-center {
  display: block;
  text-align: center;
}

.custom-section-center .custom-copy {
  max-width: 820px;
  margin: 0 auto;
}

.custom-section-center .custom-copy p:not(.eyebrow) {
  margin-right: auto;
  margin-left: auto;
}

.custom-section-center .custom-actions {
  justify-content: center;
}

.custom-section-dark {
  grid-template-columns: minmax(0, 1fr) auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--ink);
  color: white;
}

.custom-section-dark .custom-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.custom-section-dark .custom-actions {
  align-self: center;
  justify-content: flex-end;
}

.custom-section-dark .ghost {
  border-color: rgba(255, 255, 255, 0.24);
  color: white;
}

.custom-section-full {
  display: block;
}

.custom-section-full .custom-media {
  max-width: 1180px;
  margin: 0 auto 34px;
}

.custom-section-full .custom-media img {
  aspect-ratio: 1.9;
}

.custom-section-full .custom-copy {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.custom-section-full .custom-copy p:not(.eyebrow) {
  margin-right: auto;
  margin-left: auto;
}

.custom-section-full .custom-actions {
  justify-content: center;
}

.custom-section-overlay {
  position: relative;
  display: flex;
  min-height: 560px;
  align-items: flex-end;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(18, 18, 18, 0.9), rgba(18, 18, 18, 0.24)), var(--custom-bg) center / cover;
  color: white;
}

.custom-section-overlay .custom-copy {
  max-width: 760px;
}

.custom-section-overlay .custom-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.custom-section-overlay .ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: white;
}

.location-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  background: var(--ink);
  color: white;
}

.location-section img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.location-section div {
  align-self: center;
  padding: 60px clamp(22px, 6vw, 88px);
}

.location-section p:not(.eyebrow) {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.75);
}

.location-section .button {
  margin-top: 26px;
}

.price-page {
  background: var(--paper);
}

.price-list-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.price-list-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
}

.price-list-grid h3 {
  margin-top: 18px;
}

.price-list-grid dl {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
}

.price-list-grid dl div {
  display: grid;
  gap: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.price-list-grid dt {
  color: var(--muted);
  font-size: 0.88rem;
}

.price-list-grid dd {
  margin: 0;
  font-weight: 950;
}

.price-note {
  max-width: 860px;
  margin-top: 22px;
  font-size: 0.9rem;
}

.contact p {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.76);
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 850;
}

.call-card {
  display: grid;
  gap: 18px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.call-card strong {
  color: white;
  font-size: clamp(2.3rem, 4vw, 4.1rem);
  line-height: 0.95;
}

.call-card .button {
  width: fit-content;
}

form {
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font: inherit;
  padding: 12px 14px;
}

textarea {
  min-height: 118px;
  resize: vertical;
}

.legal-demo {
  background: var(--paper);
}

.legal-box {
  display: grid;
  gap: 18px;
  max-width: 920px;
}

.legal-box section {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
}

.legal-box h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
}

.legal-box p {
  margin-top: 16px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px max(20px, calc((100vw - 1180px) / 2));
  background: #0f0f0f;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

footer .admin-login {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.78rem;
  font-weight: 700;
}

footer .admin-login:hover {
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
  }

  nav {
    display: none;
  }

  .header-action {
    justify-self: end;
  }

  .mobile-menu {
    position: relative;
    display: block;
    justify-self: end;
  }

  .mobile-menu summary {
    display: grid;
    width: 48px;
    height: 48px;
    align-content: center;
    gap: 5px;
    border-radius: 8px;
    background: var(--ink);
    cursor: pointer;
    list-style: none;
    padding: 0 12px;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu summary span {
    height: 2px;
    border-radius: 2px;
    background: white;
  }

  .mobile-menu nav {
    position: absolute;
    top: 58px;
    right: 0;
    display: grid;
    width: min(280px, calc(100vw - 20px));
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--cream);
    box-shadow: var(--shadow);
  }

  .mobile-menu nav a {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-weight: 900;
  }

  .hero-inner {
    padding-bottom: 240px;
  }

  .split,
  .custom-section,
  .vehicle-layout,
  .contact,
  .location-section {
    grid-template-columns: 1fr;
  }

  .custom-section-dark {
    grid-template-columns: 1fr;
  }

  .custom-section-dark .custom-actions {
    justify-content: flex-start;
  }

  .custom-section-overlay {
    min-height: 520px;
  }

  .course-grid,
  .benefit-grid,
  .price-grid,
  .call-grid,
  .detail-grid,
  .process-grid,
  .date-grid,
  .price-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefit-grid article,
  .benefit-grid .lead-benefit,
  .benefit-grid .benefit-call {
    grid-column: span 1;
  }

  .price-callout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr);
    top: 10px;
    width: calc(100% - 20px);
    min-height: 64px;
  }

  .brand img {
    width: 62px;
    height: 40px;
  }

  .brand span {
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-action {
    display: none;
  }

  .mobile-menu {
    position: absolute;
    top: 10px;
    right: 10px;
  }

  .hero {
    min-height: auto;
    padding: 122px 18px 34px;
  }

  .page-hero {
    min-height: 64vh;
    padding: 128px 18px 54px;
  }

  .hero p:not(.eyebrow) {
    font-size: 1.02rem;
  }

  .hero-inner {
    padding-bottom: 260px;
  }

  h1 {
    font-size: clamp(2.35rem, 10.8vw, 3.05rem);
  }

  h2 {
    font-size: clamp(2rem, 9.2vw, 2.75rem);
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-panel {
    right: 18px;
    bottom: 34px;
    width: calc(100% - 36px);
  }

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

  .quickbar span {
    min-height: 68px;
  }

  .section,
  .split,
  .custom-section,
  .band,
  .garage,
  .pricing,
  .contact {
    padding: 72px 18px;
  }

  .photo-stack {
    min-height: 470px;
  }

  .photo.large {
    width: 72%;
  }

  .photo.small {
    width: 52%;
  }

  .course-grid,
  .benefit-grid,
  .vehicle-list,
  .price-grid,
  .call-grid,
  .detail-grid,
  .process-grid,
  .date-grid,
  .teacher-grid,
  .price-list-grid,
  .teacher-feature {
    grid-template-columns: 1fr;
  }

  .course-card,
  .benefit-grid article,
  .price-grid article {
    min-height: auto;
  }

  .price-callout,
  .call-card {
    padding: 24px;
  }

  .detail-grid article,
  .process-grid article {
    min-height: auto;
  }

  .call-card .button,
  .price-callout .button {
    width: 100%;
  }

  footer {
    flex-direction: column;
  }
}
