/* Alloy Autohaus — shared styles */
:root {
  --bg: #F4F2EE;
  --ink: #1A1716;
  --dark: #141312;
  --dark-text: #EEEBE6;
  --dark-muted: #C4BFB8;
  --dark-label: #A39C93;
  --label: #6B6660;
  --muted: #5E5953;
  --body-muted: #4A4642;
  --line: #D3CEC6;
  --dark-line: #363230;
  --em: #8A847D;
  --sans: 'Manrope', system-ui, -apple-system, sans-serif;
  --display: 'Archivo', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--label); }
h1, h2, h3, p, dl, dd, ul { margin: 0; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
[id] { scroll-margin-top: 24px; }

.wrap { max-width: 1320px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }
.dark { background: var(--dark); color: var(--dark-text); }

/* type */
.eyebrow { font-family: var(--display); font-stretch: 112%; font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.label { color: var(--label); }
.dark .label { color: var(--dark-label); }
.display { font-family: var(--display); font-weight: 700; letter-spacing: -.035em; }
.display em { font-style: normal; color: var(--em); }
.dark .display em { color: #8F8981; }
.h1 { font-size: clamp(44px, 6vw, 88px); line-height: 1; }
.h2 { font-size: clamp(34px, 4.2vw, 58px); line-height: 1.04; }
.h2-sm { font-size: clamp(32px, 3.8vw, 50px); line-height: 1.06; }
.lead { font-size: 18px; }
.muted { color: var(--body-muted); }
.dark .muted { color: var(--dark-muted); }

/* nav + buttons */
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding-top: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--ink); }
.logo { display: block; line-height: 0; }
.logo img { height: 42px; width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.navlink { font-family: var(--display); font-stretch: 112%; font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--ink); }
.navlink:hover { color: var(--label); }
.navlink.on { border-bottom: 2px solid var(--ink); padding-bottom: 4px; }
.dark .navlink { color: var(--dark-text); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; font-family: var(--display); font-stretch: 112%; font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; background: var(--ink); color: var(--bg); border: 1px solid var(--ink); cursor: pointer; }
.btn:hover { background: #3A3633; border-color: #3A3633; color: var(--bg); }
.btn-sm { min-height: 44px; padding: 0 20px; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-light { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.btn-light:hover { background: var(--line); border-color: var(--line); color: var(--ink); }
.btn-ghost-light { background: transparent; color: var(--dark-text); border-color: var(--dark-text); }
.btn-ghost-light:hover { background: var(--dark-text); color: var(--dark); border-color: var(--dark-text); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* layout helpers */
.split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 64px; }
.split > .grow { flex: 1 1 560px; }
.split > .side { flex: 0 1 400px; display: flex; flex-direction: column; gap: 24px; }
.section { padding-top: 120px; padding-bottom: 120px; }

/* home hero */
.hero { padding-top: 72px; padding-bottom: 40px; }
.hero .split { margin-bottom: 48px; }
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 300px 300px; gap: 12px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic .a { grid-column: 1; grid-row: 1; }
.mosaic .b { grid-column: 1; grid-row: 2; }
.mosaic .c { grid-column: 2 / span 2; grid-row: 1 / span 2; }
@media (max-width: 760px) {
  .mosaic { grid-template-columns: 1fr; grid-template-rows: 220px 220px 360px; }
  .mosaic .a, .mosaic .b, .mosaic .c { grid-column: 1; }
  .mosaic .a { grid-row: 1; } .mosaic .b { grid-row: 2; } .mosaic .c { grid-row: 3; }
}
.infobar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 15px; }
.infobar .eyebrow { margin-right: 12px; }

/* clubhouse */
.clubhouse { padding-top: 120px; padding-bottom: 56px; }
.clubhouse-intro { display: flex; flex-wrap: wrap; gap: 32px 80px; align-items: flex-start; }
.clubhouse-intro > div { flex: 1 1 520px; }
.clubhouse-intro > p { flex: 1 1 380px; padding-top: 44px; }
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 72px; border-top: 1px solid var(--ink); }
.feature { padding: 28px 28px 8px; border-right: 1px solid var(--line); }
.feature:first-child { padding-left: 0; }
.feature:last-child { padding-right: 0; border-right: 0; }
.feature .eyebrow { color: var(--muted); margin-bottom: 16px; }
.feature h3 { font-size: 22px; line-height: 1.2; margin-bottom: 10px; }
.feature p:last-child { font-size: 16px; color: var(--body-muted); }
@media (max-width: 1000px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature, .feature:first-child, .feature:last-child { padding: 28px 24px 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* gallery strip */
.gallery { padding-top: 24px; padding-bottom: 120px; }
.gallery-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.strip { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 40px 16px; scrollbar-width: thin; }
.strip img { flex: 0 0 auto; max-width: 86vw; height: 540px; object-fit: cover; scroll-snap-align: start; }
.strip .strip-wide { width: 820px; }
.strip .strip-tall { width: 360px; }
@media (max-width: 760px) { .strip img { height: 380px; } }

/* cars */
.floor-head { margin-bottom: 56px; }
.cars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 40px; }
.car { display: flex; flex-direction: column; gap: 20px; }
.car img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.car-meta { padding-bottom: 14px; border-bottom: 1px solid var(--dark-line); color: var(--dark-label); }
.car h3 { font-size: 30px; line-height: 1.1; }
.car p { color: var(--dark-muted); }
.car-film { color: var(--dark-text); text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--dark-text); align-self: flex-start; }
.car-film:hover { color: var(--dark-label); border-color: var(--dark-label); }

/* coffee */
.coffee { display: flex; flex-wrap: wrap; gap: 48px 80px; align-items: center; }
.coffee > img { flex: 1 1 360px; min-width: 0; height: 640px; object-fit: cover; object-position: 92% center; }
.coffee > div { flex: 1 1 460px; display: flex; flex-direction: column; gap: 28px; }
.hours-table { display: grid; grid-template-columns: auto 1fr; border-top: 1px solid var(--ink); }
.hours-table dt { padding: 16px 32px 16px 0; border-bottom: 1px solid var(--line); }
.hours-table dd { padding: 14px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 760px) { .coffee > img { height: 420px; } }

/* events teaser */
.teaser { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0 80px; }
.teaser > div { flex: 1 1 520px; padding: 112px 0; display: flex; flex-direction: column; gap: 28px; justify-content: center; }
.teaser > div p.muted { max-width: 520px; }
.teaser > img { flex: 1 1 400px; min-width: 0; min-height: 420px; object-fit: cover; object-position: 40% 60%; }
@media (max-width: 760px) { .teaser > div { padding: 80px 0 48px; } .teaser > img { margin-bottom: 40px; min-height: 300px; } }

/* visit */
.visit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; border-top: 1px solid var(--ink); padding-top: 32px; }
.visit-grid .eyebrow { color: var(--muted); margin-bottom: 14px; }
.small-muted { font-size: 15px; color: var(--muted); margin: 6px 0 16px; }

/* footer */
.footer { color: var(--dark-muted); }
.footer-inner { padding-top: 64px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 48px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.footer-logo { width: 260px; max-width: 70%; height: auto; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 24px; border-top: 1px solid var(--dark-line); font-size: 14px; }

/* events page */
.events-hero { padding-top: 72px; padding-bottom: 40px; }
.events-hero .split { margin-bottom: 48px; }
.events-hero > img { width: 100%; height: 640px; object-fit: cover; object-position: center 60%; }
@media (max-width: 760px) { .events-hero > img { height: 360px; } }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 24px; }
.chips .eyebrow { margin-right: 12px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border: 1px solid var(--ink); border-radius: 999px; font-size: 15px; }
.section-head { margin-bottom: 48px; }
.section-head > div { flex: 1 1 520px; }
.section-head > p { flex: 0 1 400px; }
.events-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 32px 24px; }
.event-card { display: flex; flex-direction: column; gap: 14px; }
.event-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.event-card h3 { margin-top: 6px; font-size: 24px; line-height: 1.2; }
.event-card .eyebrow { color: var(--label); }
.event-card p:last-child { font-size: 16px; color: var(--body-muted); }
.details { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.details .wrap { padding-top: 96px; padding-bottom: 96px; }
.details-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; margin-top: 56px; }
.details-grid .eyebrow { color: var(--label); margin-bottom: 16px; }
.big-number { font-size: 48px; line-height: 1; margin-bottom: 16px; }
.big-number span { font-size: 20px; letter-spacing: 0; }
.list { padding: 0; list-style: none; }
.list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 12px; padding-top: 96px; padding-bottom: 96px; }
.photo-grid img { width: 100%; height: 420px; object-fit: cover; }

/* inquiry form */
.inquire { display: flex; flex-wrap: wrap; gap: 56px 96px; }
.inquire > div:first-child { flex: 1 1 380px; display: flex; flex-direction: column; gap: 24px; }
.inquire > div:last-child { flex: 1 1 560px; min-width: 0; }
.inquire a { color: var(--dark-text); }
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 28px 32px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--display); font-stretch: 112%; font-weight: 600; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dark-muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; color: var(--dark-text); background: transparent; border: 0; border-bottom: 1px solid #5A5551; padding: 10px 0; border-radius: 0; min-height: 44px; width: 100%; color-scheme: dark; }
.field select option { color: var(--ink); background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--dark-text); }
.field textarea { resize: vertical; min-height: 120px; }
.form-foot { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.privacy { font-size: 14px; color: var(--dark-label); }
.form-error { font-size: 15px; color: #F0B8A8; }
.thanks { display: flex; flex-direction: column; gap: 20px; padding: 48px 0; border-top: 1px solid #5A5551; }
.thanks h3 { font-size: 36px; line-height: 1.1; }
.hidden { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* simple pages */
.simple { padding-top: 120px; padding-bottom: 160px; display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }

@media (max-width: 560px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .strip { padding-left: 20px; padding-right: 20px; }
  .section, .clubhouse { padding-top: 88px; }
  .section { padding-bottom: 88px; }
  .gallery { padding-bottom: 88px; }
  .nav { gap: 10px 18px; }
  .clubhouse-intro > p { padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
