/* Drive Exotic Cars: refreshed layout on the live brand values (gold #a8842e, charcoal #2f2e2e, cream #f5f2ea).
   Font: Figtree, self-hosted (SIL OFL), chosen by Phillip 2026-11-24 to replace Wix-licensed Proxima Nova. */
@font-face {
  font-family: 'Figtree';
  src: url('/fonts/figtree-latin.woff2') format('woff2');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --font: 'Figtree', 'Helvetica Neue', Arial, sans-serif;
  --ink: #1f1e1e;
  --charcoal: #2f2e2e;
  --gray: #4a4848;
  --mute: #6f6a63;
  --gold: #a8842e;
  --gold-dark: #8a6b22;
  --gold-soft: #efe6d2;
  --cream: #f7f4ee;
  --line: #e6e1d8;
  --bg: #fff;
  --max: 1160px;
  --text: 720px;
  --radius: 10px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 18px/1.6 var(--font); }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: color-mix(in srgb, var(--gold) 70%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--gold-dark); }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: #fff; padding: 8px 12px; z-index: 20; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; letter-spacing: -0.01em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 999px; background: var(--gold); color: #fff; font-weight: 600; font-size: 16px; text-decoration: none; letter-spacing: .01em; transition: background .15s; border: 2px solid var(--gold); }
.btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }
.btn.ghost { background: transparent; border-color: currentColor; color: inherit; }
.btn.ghost:hover { background: rgba(255,255,255,.12); color: inherit; }
.btn.small { min-height: 40px; padding: 0 18px; font-size: 15px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.hdr { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand img { width: 170px; height: auto; }
.site-header nav { display: flex; align-items: center; gap: 28px; }
.site-header nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px 30px; }
.site-header nav ul a { text-decoration: none; font-weight: 600; font-size: 16px; color: var(--charcoal); display: block; padding: 10px 0; }
.site-header nav ul a.on, .site-header nav ul a:hover { color: var(--gold); }
.has-sub { position: relative; }
.site-header nav .sub { display: none; position: absolute; top: 100%; left: -18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(0,0,0,.1); padding: 8px 18px !important; flex-direction: column; gap: 0 !important; min-width: 230px; z-index: 20; }
.site-header nav .has-sub:hover .sub, .site-header nav .has-sub:focus-within .sub { display: flex; }
.sub a { font-weight: 500 !important; }
.menu { display: none; }

/* Inner pages (design C): cream title band, then a reading column */
.page-hero { background: var(--cream); border-bottom: 1px solid var(--line); }
.page-hero.has-img .page-hero-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; padding-top: 48px; padding-bottom: 48px; }
.page-hero.has-img h1 { padding: 0; }
.page-hero-img img { width: 100%; height: auto; border-radius: 4px; }
.page .mid-fig { margin: 40px 0 8px; }
.page .mid-fig img { margin: 0; }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.1; color: var(--charcoal); margin: 0; padding: 64px 0 48px; max-width: 18em; }
.page-hero h1::after { content: ""; display: block; width: 64px; height: 3px; background: var(--gold); margin-top: 22px; }
.page { padding-top: 48px; padding-bottom: 72px; max-width: calc(var(--text) + 32px); }
.page h2, .page h3 { color: var(--charcoal); font-size: clamp(24px, 2.6vw, 30px); line-height: 1.25; font-weight: 700; margin: 48px 0 14px; }
.page h2 a { color: inherit; }
.page .center { text-align: center; }
.page p { margin: 0 0 20px; color: var(--gray); }
.page p strong { color: var(--charcoal); }
.page ul, .page ol { margin: 0 0 20px; padding-left: 1.2em; color: var(--gray); }
.page img { width: 100%; height: auto; border-radius: 4px; margin: 8px 0 28px; }
.page .video { margin: 0 0 40px; }
.page > *:first-child { margin-top: 0; }

/* Homepage header sits over the lead photo (Phillip, 2026-11-24) */
.home-page .site-header { margin-bottom: -77px; background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.72)); border-bottom-color: transparent; }
.home-page .hero { padding-top: 0; }

/* Homepage: design C (wine-country editorial). Photos always keep their full frame: no cropping. */
.hero { background: var(--cream); }
.hero-inner { padding-top: 36px; padding-bottom: 32px; display: grid; grid-template-columns: 2fr auto; gap: 20px 40px; align-items: end; }
.hero h1 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; font-weight: 700; color: var(--charcoal); margin: 0; }
.hero h1::after { content: ""; display: block; width: 64px; height: 3px; background: var(--gold); margin-top: 16px; }
.hero .ctas { justify-content: flex-end; }
.hero .btn.ghost { color: var(--charcoal); }
.hero-img { width: 100%; height: auto; }

.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding-top: 44px; padding-bottom: 44px; }
.intro-img { order: -1; width: 100%; height: auto; border-radius: 4px; }
.intro-text p { font-size: 17px; margin: 0 0 14px; color: var(--gray); }
.intro-text p:first-child { font-size: 20px; color: var(--ink); }

.feature { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: center; background: var(--charcoal); color: #f3eee5;
  padding: 48px max(16px, calc((100vw - var(--max)) / 2 + 16px)); }
.video-title { font-size: 15px !important; text-transform: uppercase; letter-spacing: .1em; color: var(--gold) !important; margin: 0 0 14px !important; }
.video { border-radius: 6px; margin: 0; overflow: hidden; background: #000; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.video video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.feature-text h2, .groups h2, .cta h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; margin: 0 0 18px; color: var(--charcoal); }
.feature-text h2 { color: #fff; }
.feature-text p { color: #cfc8bc; margin: 0 0 20px; }
.feature-text a:not(.btn) { color: #fff; }

.gallery { padding: 40px 0; background: var(--cream); }
.slider { position: relative; }
.track { display: flex; align-items: center; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 max(16px, calc((100vw - var(--max)) / 2 + 16px)); scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.track img { flex: 0 0 auto; height: clamp(220px, 36vw, 420px); width: auto; max-width: 92vw; object-fit: contain; border-radius: 4px; scroll-snap-align: center; }
.slider .nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); box-shadow: 0 4px 16px rgba(0,0,0,.18); font-size: 28px; line-height: 1; color: var(--charcoal); cursor: pointer; }
.slider .prev { left: max(12px, calc((100vw - var(--max)) / 2 - 8px)); }
.slider .next { right: max(12px, calc((100vw - var(--max)) / 2 - 8px)); }
.slider .nav:hover { background: #fff; color: var(--gold); }

.groups { padding-top: 48px; padding-bottom: 48px; }
.groups h2 { text-align: center; margin-bottom: 20px; }
.cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; max-width: 980px; margin: 0 auto; }
.cards-grid p { margin: 0; padding: 14px 0; border-top: 1px solid #d9cfbd; color: var(--gray); font-size: 16px; }
.cards-grid p:nth-child(5) { grid-column: 1 / -1; }
.cards-grid strong { display: block; color: var(--gold-dark); font-size: 18px; margin-bottom: 4px; }
.dash { display: none; }

.cta { background: var(--gold); color: #fff; padding: 48px 0; text-align: center; }
.cta h2 { color: #fff; }
.cta p { max-width: 620px; margin: 0 auto 20px; font-size: 18px; }
.cta .ctas { justify-content: center; }
.cta .btn { background: #fff; color: var(--gold-dark); border-color: #fff; }
.cta .btn.ghost { background: transparent; color: #fff; border-color: #fff; }
.cta a:not(.btn) { color: #fff; text-decoration-color: #fff; }

/* Quote form */
.quote { border: 1px solid var(--line); border-radius: 16px; padding: 28px; margin: 24px 0 8px; display: grid; gap: 16px; background: var(--cream); }
.quote .form-title { font-size: 30px; color: var(--charcoal); margin: 0 0 4px; }
.quote .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.quote label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--charcoal); }
.quote input, .quote select, .quote textarea { font: 16px var(--font); padding: 11px 12px; border: 1px solid #d6cfc2; border-radius: 8px; width: 100%; background: #fff; color: var(--ink); }
.quote input:focus, .quote select:focus, .quote textarea:focus { border-color: var(--gold); outline: 2px solid var(--gold-soft); }
.quote textarea { min-height: 110px; resize: vertical; }
.quote button { justify-self: start; background: var(--gold); color: #fff; border: 0; border-radius: 999px; font: 600 16px var(--font); padding: 14px 36px; cursor: pointer; }
.quote button:hover { background: var(--gold-dark); }
.quote .hp { position: absolute; left: -9999px; }

/* Blog */
main.blog { padding-top: 40px; padding-bottom: 72px; }
.cats { display: flex; gap: 10px; margin-bottom: 28px; }
.cats a { text-decoration: none; color: var(--gray); font-size: 15px; font-weight: 600; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); }
.cats a.on { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 14px 36px rgba(0,0,0,.08); transform: translateY(-2px); }
.card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--gray); }
.card-img { width: 100%; height: auto; }
.card-text { padding: 20px 22px 24px; }
.card .meta { font-size: 13px; color: var(--mute); margin: 0 0 8px; }
.card h2 { font-size: 21px; line-height: 1.3; margin: 0 0 10px; color: var(--charcoal); }
.card p { margin: 0; font-size: 15px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card a:hover h2 { color: var(--gold-dark); }

main.post { max-width: 1000px; padding-top: 48px; padding-bottom: 64px; }
main.post article { max-width: var(--text); margin: 0 auto; }
main.post h1 { font-size: clamp(32px, 4.4vw, 46px); line-height: 1.15; color: var(--charcoal); margin: 0 0 14px; }
.byline { font-size: 15px; color: var(--mute); margin: 0 0 36px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.post-body { color: var(--gray); }
.post-body p { margin: 0 0 22px; }
.post-body h2 { font-size: 28px; line-height: 1.25; margin: 44px 0 16px; color: var(--charcoal); }
.post-body h3 { font-size: 22px; margin: 32px 0 12px; color: var(--charcoal); }
.post-body a { color: var(--gold-dark); }
.post-body img { margin: 12px 0 32px; width: 100%; border-radius: var(--radius); }
.back { margin: 24px 0 0; font-size: 15px; }
.post-cats { font-size: 15px; color: var(--mute); margin: 32px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 40px 0 0; }
.post-nav a { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--charcoal); font-weight: 600; font-size: 16px; line-height: 1.35; }
.post-nav a span { font-size: 13px; font-weight: 500; color: var(--mute); text-transform: uppercase; letter-spacing: .06em; }
.post-nav .newer { text-align: right; }
.post-nav a:hover { border-color: var(--gold); }
.recent { margin-top: 56px; }
.recent h2 { font-size: 26px; color: var(--charcoal); margin: 0 0 20px; }
main.post .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; }
main.post .card h2 { font-size: 17px; }
main.post .card p:not(.meta) { display: none; }

/* Footer */
.site-footer { background: var(--cream); border-top: 1px solid var(--line); padding: 56px 0 64px; color: var(--gray); font-size: 15px; line-height: 1.7; }
.site-footer .cols { display: grid; grid-template-columns: 1fr 1.1fr 1.3fr .8fr; gap: 32px; }
.f-brand img { width: 170px; }
.site-footer h4 { font-size: 15px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 10px; color: var(--charcoal); }
.site-footer h4 a { text-decoration: none; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul a { text-decoration: none; }
.site-footer a:hover { color: var(--gold-dark); }
.site-footer p { margin: 0; }
.site-footer .tel { font-size: 20px; font-weight: 700; color: var(--charcoal); text-decoration: none; }

/* Mobile */
@media (max-width: 900px) {
  body { font-size: 17px; }
  .hdr { flex-wrap: wrap; min-height: 64px; }
  .brand img { width: 140px; }
  .menu { display: block; }
  .menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; align-content: center; gap: 5px; padding: 10px; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu summary span { display: block; height: 2px; background: var(--charcoal); }
  .site-header nav { display: none; width: 100%; padding-bottom: 16px; flex-direction: column; align-items: stretch; gap: 12px; }
  .menu[open] + nav { display: flex; }
  .site-header nav ul { flex-direction: column; gap: 0; }
  .site-header nav .sub { display: flex; position: static; box-shadow: none; border: 0; padding: 0 0 0 16px !important; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 24px; padding-bottom: 24px; }
  .home-page .site-header { margin-bottom: -65px; }
  .page-hero.has-img .page-hero-inner { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; padding-bottom: 32px; }
  .hero .ctas { justify-content: flex-start; }
  .intro, .feature { grid-template-columns: 1fr; }
  .intro { gap: 20px; padding-top: 28px; padding-bottom: 28px; }
  .intro-text p, .intro-text p:first-child { font-size: 18px; }
  .feature { gap: 24px; padding-top: 32px; padding-bottom: 36px; }
  .cards-grid { grid-template-columns: 1fr; }
  .cards-grid p:nth-child(5) { grid-column: auto; }
  .groups { padding-top: 36px; padding-bottom: 36px; }
  .cta { padding: 40px 0; }
  .slider .nav { display: none; }
  .quote { padding: 20px 16px; }
  .quote .row { grid-template-columns: 1fr; }
  .cards, main.post .cards { grid-template-columns: 1fr; }
  .post-nav { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 901px) and (max-width: 1100px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .site-footer .cols { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Experience pages: alternating text / photo rows */
.alt { padding-top: 24px; padding-bottom: 24px; }
.alt-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 40px 0; border-bottom: 1px solid var(--line); }
.alt-row:last-child { border-bottom: 0; }
.alt-row.img-left .alt-img { order: -1; }
.alt-img { margin: 0; }
.alt-img img { width: 100%; height: auto; border-radius: 4px; display: block; }
.alt-text h2 { color: var(--charcoal); font-size: clamp(24px, 2.6vw, 30px); line-height: 1.25; font-weight: 700; margin: 0 0 14px; }
.alt-text h2 a { color: inherit; }
.alt-text p { margin: 0 0 16px; color: var(--gray); }
.alt-text p:last-child { margin-bottom: 0; }
.alt-text p strong { color: var(--charcoal); }
.alt-text ul, .alt-text ol { margin: 0 0 16px; padding-left: 1.2em; color: var(--gray); }
.page:has(+ .alt) { padding-bottom: 8px; }
.alt + .page { padding-top: 16px; }
@media (max-width: 860px) {
  .alt-row { grid-template-columns: 1fr; gap: 20px; padding: 28px 0; }
  .alt-row .alt-img { order: -1; }
}
.alt-img img { max-height: 620px; width: auto; max-width: 100%; margin: 0 auto; }
.row-slider .track { padding: 0; gap: 0; }
.row-slider .track img { flex: 0 0 100%; width: 100%; height: auto; max-width: 100%; max-height: none; border-radius: 4px; }
.row-slider .prev { left: 10px; }
.row-slider .next { right: 10px; }
@media (max-width: 860px) { .row-slider .nav { display: block; width: 40px; height: 40px; font-size: 24px; } }
.page-hero.has-img.wide .page-hero-inner { grid-template-columns: 1fr; gap: 32px; }
.page-hero.wide h1 { max-width: none; }
