:root {
  --ink: #111113;
  --muted: #73706a;
  --paper: #f3f0e9;
  --paper-deep: #e8e3d9;
  --gold: #b99863;
  --gold-bright: #d7b77f;
  --line: rgba(17, 17, 19, 0.15);
  --white-line: rgba(255, 255, 255, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Noto Sans SC", system-ui, sans-serif; font-weight: 300; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }

.site-header { position: absolute; z-index: 20; top: 0; left: 0; right: 0; height: 92px; padding: 0 4.5vw; display: flex; align-items: center; color: white; border-bottom: 1px solid var(--white-line); }
.brand { display: flex; align-items: center; gap: 12px; min-width: 235px; }
.brand-mark { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid currentColor; font: 600 24px/1 "Cormorant Garamond", serif; transform: rotate(45deg); }
.brand-mark::first-letter { transform: rotate(-45deg); }
.brand > span:last-child, .footer-brand div { display: flex; flex-direction: column; gap: 3px; }
.brand strong, .footer-brand strong { font-size: 15px; letter-spacing: .22em; font-weight: 500; }
.brand small, .footer-brand small { font: 500 8px/1.2 "Cormorant Garamond", serif; letter-spacing: .28em; opacity: .64; }
.main-nav { display: flex; justify-content: center; gap: clamp(26px, 3.2vw, 52px); margin: 0 auto; }
.main-nav a { position: relative; color: rgba(255,255,255,.75); font-size: 13px; letter-spacing: .12em; transition: color .25s; }
.main-nav a::after { position: absolute; content: ""; height: 1px; left: 0; right: 100%; bottom: -9px; background: var(--gold-bright); transition: right .25s; }
.main-nav a:hover { color: white; }
.main-nav a:hover::after { right: 0; }
.outline-button, .text-button { cursor: pointer; border: 0; background: none; color: inherit; }
.outline-button { min-width: 150px; padding: 12px 18px; border: 1px solid rgba(255,255,255,.35); font-size: 12px; letter-spacing: .12em; transition: .25s; }
.outline-button:hover { color: var(--ink); background: white; }
.menu-toggle { display: none; }

.hero { position: relative; min-height: 780px; height: 100vh; color: white; overflow: hidden; }
.hero-image, .hero-shade { position: absolute; inset: 0; }
.hero-image { background: url("assets/showroom-hero.png") center center / cover no-repeat; transform: scale(1.015); animation: hero-in 1.8s ease-out both; }
.hero-shade { background: linear-gradient(90deg, rgba(5,5,6,.93) 0%, rgba(5,5,6,.66) 35%, rgba(5,5,6,.08) 72%), linear-gradient(0deg, rgba(5,5,6,.54), transparent 46%); }
.hero-content { position: relative; z-index: 2; max-width: 780px; padding: 24vh 0 0 9.5vw; }
.eyebrow { margin: 0 0 23px; color: var(--gold-bright); font: 600 11px/1.3 "Cormorant Garamond", serif; letter-spacing: .32em; }
.eyebrow.dark { color: #8b6a3e; }
.hero h1 { margin: 0; font-size: clamp(48px, 5.2vw, 83px); line-height: 1.14; letter-spacing: -.04em; font-weight: 300; }
.hero h1 em { color: #dcc49c; font-family: "Cormorant Garamond", "Noto Sans SC", serif; font-style: normal; }
.hero-copy { max-width: 615px; margin: 30px 0 38px; color: rgba(255,255,255,.65); font-size: 15px; line-height: 2; letter-spacing: .05em; }
.hero-actions { display: flex; align-items: center; gap: 35px; }
.solid-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 36px; cursor: pointer; border: 0; padding: 17px 22px; min-width: 190px; background: #e1c18a; color: #171511; font-size: 12px; letter-spacing: .11em; transition: transform .25s, background .25s; }
.solid-button:hover { transform: translateY(-2px); background: #efd5a7; }
.text-button { color: rgba(255,255,255,.8); font-size: 12px; letter-spacing: .12em; }
.text-button span { margin-left: 20px; color: var(--gold-bright); }
.hero-index { position: absolute; z-index: 2; right: 4.5vw; bottom: 48px; display: flex; align-items: center; gap: 13px; color: rgba(255,255,255,.6); font: 500 10px/1 "Cormorant Garamond", serif; letter-spacing: .2em; }
.hero-index i { width: 68px; height: 1px; background: rgba(255,255,255,.45); }
.scroll-cue { position: absolute; z-index: 2; bottom: 38px; left: 4.5vw; display: flex; flex-direction: column; align-items: center; gap: 10px; color: rgba(255,255,255,.45); font: 500 8px/1 "Cormorant Garamond", serif; letter-spacing: .25em; writing-mode: vertical-rl; }
.scroll-cue i { width: 1px; height: 48px; background: linear-gradient(var(--gold-bright), transparent); }
@keyframes hero-in { from { opacity: .35; transform: scale(1.07); } to { opacity: 1; transform: scale(1.015); } }

.market-strip { min-height: 140px; display: grid; grid-template-columns: repeat(3, 1fr) 1.45fr; align-items: stretch; padding: 0 6vw; background: #0d0d0f; color: white; }
.market-strip > * { margin: 0; padding: 32px clamp(20px, 3vw, 50px); border-right: 1px solid var(--white-line); display: flex; flex-direction: column; justify-content: center; }
.market-strip > *:first-child { border-left: 1px solid var(--white-line); }
.market-strip strong { color: #e8d0a6; font: 500 42px/1 "Cormorant Garamond", serif; }
.market-strip sup { font-size: 18px; }
.market-strip span { margin-top: 9px; color: rgba(255,255,255,.52); font-size: 11px; letter-spacing: .12em; }
.market-strip p { color: rgba(255,255,255,.68); font-size: 13px; line-height: 1.8; letter-spacing: .08em; }

.section { padding: 110px max(5vw, 32px); }
.section-heading { display: flex; justify-content: space-between; align-items: end; max-width: 1380px; margin: 0 auto 55px; }
.section-heading h2, .feature-copy h2, .service h2, .about h2 { margin: 0; font-size: clamp(38px, 4vw, 62px); font-weight: 300; line-height: 1.2; letter-spacing: -.04em; }
.section-heading > p { max-width: 500px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.collection-toolbar { max-width: 1380px; margin: 0 auto 35px; padding: 18px 0; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filter { cursor: pointer; border: 0; padding: 9px 15px; background: transparent; color: #77736d; font-size: 12px; }
.filter.active { background: var(--ink); color: white; }
.search-box { display: flex; align-items: center; gap: 8px; padding-left: 18px; border-left: 1px solid var(--line); }
.search-box input { width: 145px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; }
.car-grid { max-width: 1380px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 46px 22px; }
.car-card { cursor: pointer; min-width: 0; }
.car-image { position: relative; aspect-ratio: 1.48; overflow: hidden; background: #272729; }
.car-image img { height: 100%; object-fit: cover; transition: transform .55s ease, filter .55s ease; }
.car-card:hover .car-image img { transform: scale(1.035); filter: brightness(.85); }
.car-tag { position: absolute; top: 14px; left: 14px; padding: 7px 9px; background: rgba(10,10,11,.72); backdrop-filter: blur(8px); color: white; font-size: 9px; letter-spacing: .14em; }
.rarity { position: absolute; right: 14px; bottom: 14px; padding: 6px 9px; background: rgba(238,225,200,.9); color: #2c251b; font-size: 9px; letter-spacing: .08em; }
.save-car { position: absolute; z-index: 2; top: 12px; right: 12px; width: 34px; height: 34px; cursor: pointer; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: rgba(15,15,16,.28); color: white; font-size: 17px; backdrop-filter: blur(5px); }
.save-car.saved { background: #d5b274; border-color: #d5b274; color: #18140e; }
.car-meta { padding: 19px 3px 0; }
.car-brand { margin: 0 0 4px; color: #8c7756; font: 600 10px/1.2 "Cormorant Garamond", serif; letter-spacing: .18em; }
.car-title-row { display: flex; justify-content: space-between; align-items: start; gap: 14px; }
.car-title-row h3 { margin: 0; font-size: 20px; font-weight: 400; letter-spacing: -.02em; }
.car-title-row strong { white-space: nowrap; font: 600 20px/1.2 "Cormorant Garamond", serif; }
.car-title-row strong small { margin-right: 2px; font: 400 11px/1 "Noto Sans SC", sans-serif; }
.car-specs { display: flex; gap: 16px; margin: 14px 0 0; padding-top: 13px; border-top: 1px solid var(--line); color: #79756f; font-size: 10px; letter-spacing: .06em; }
.empty-state { text-align: center; padding: 80px 20px; color: var(--muted); }

.feature-story { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 720px; background: #111113; color: white; }
.feature-visual { position: relative; min-height: 640px; overflow: hidden; background: radial-gradient(circle at 50% 62%, #484039, #19191b 45%, #0c0c0d 72%); }
.feature-visual::after { position: absolute; content: ""; inset: 0; background: linear-gradient(90deg, transparent 60%, #111113 100%); }
.feature-number { position: absolute; z-index: 1; top: 60px; left: 55px; color: rgba(255,255,255,.05); font: 600 120px/.7 "Cormorant Garamond", serif; letter-spacing: -.05em; }
.feature-car { position: absolute; z-index: 2; inset: 0; background: url("assets/showroom-hero.png") 71% center / auto 100% no-repeat; filter: saturate(.45) contrast(1.1); transform: scale(1.1); }
.feature-copy { padding: 110px 8vw 80px 5vw; display: flex; flex-direction: column; justify-content: center; }
.feature-copy > p:not(.eyebrow) { max-width: 560px; margin: 34px 0; color: rgba(255,255,255,.55); font-size: 13px; line-height: 2; }
.feature-copy dl { margin: 0; }
.feature-copy dl div { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--white-line); }
.feature-copy dt { color: var(--gold-bright); font: 500 12px/1.8 "Cormorant Garamond", serif; }
.feature-copy dd { margin: 0; display: flex; flex-direction: column; gap: 5px; }
.feature-copy dd strong { font-size: 14px; font-weight: 400; }
.feature-copy dd span { color: rgba(255,255,255,.42); font-size: 11px; }

.standards { background: #111113; color: white; }
.section-heading.light > p { color: rgba(255,255,255,.5); }
.standards-grid { max-width: 1380px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--white-line); border-left: 1px solid var(--white-line); }
.standards-grid article { min-height: 300px; padding: 28px; border-right: 1px solid var(--white-line); border-bottom: 1px solid var(--white-line); }
.standards-grid article > span { color: rgba(255,255,255,.32); font: 500 11px/1 "Cormorant Garamond", serif; }
.standards-grid i { display: block; margin: 44px 0 30px; color: var(--gold-bright); font-size: 30px; font-style: normal; }
.standards-grid h3 { font-size: 17px; font-weight: 400; }
.standards-grid p { color: rgba(255,255,255,.45); font-size: 12px; line-height: 1.8; }

.service { background: var(--paper-deep); }
.service-panel { max-width: 1380px; margin: 0 auto; padding: 72px; border: 1px solid rgba(17,17,19,.24); display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.service-body { align-self: end; }
.service-body p { max-width: 520px; margin: 0 0 30px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.dark-button { background: var(--ink); color: white; }
.dark-button:hover { background: #35312b; }
.service ol { grid-column: 1/-1; margin: 25px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service li { position: relative; min-height: 150px; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.service li > span { color: #9a7a4d; font: 600 11px/1 "Cormorant Garamond", serif; }
.service li strong { margin-top: auto; font-size: 14px; font-weight: 500; }
.service li small { margin-top: 6px; color: var(--muted); font-size: 10px; }

.about { min-height: 530px; display: grid; grid-template-columns: .65fr 1.35fr; align-items: start; background: var(--paper); }
.about > div { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 70px; }
.about p:last-child { margin: 0 0 8px; color: var(--muted); font-size: 13px; line-height: 2; }

footer { padding: 72px max(5vw, 32px) 24px; background: #09090a; color: white; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-links { display: flex; gap: 40px; margin: 55px 0 36px; padding: 22px 0; border-top: 1px solid var(--white-line); border-bottom: 1px solid var(--white-line); color: rgba(255,255,255,.62); font-size: 12px; }
.footer-links a:hover { color: var(--gold-bright); }
.disclaimer { max-width: 900px; color: rgba(255,255,255,.28); font-size: 10px; line-height: 1.8; }
.footer-bottom { margin-top: 60px; display: flex; justify-content: space-between; color: rgba(255,255,255,.35); font: 500 10px/1 "Cormorant Garamond", serif; letter-spacing: .12em; }

dialog { width: min(920px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; background: var(--paper); color: var(--ink); box-shadow: 0 30px 100px rgba(0,0,0,.5); }
dialog::backdrop { background: rgba(0,0,0,.76); backdrop-filter: blur(5px); }
.dialog-close { position: absolute; z-index: 3; top: 14px; right: 14px; width: 38px; height: 38px; cursor: pointer; border: 0; border-radius: 50%; background: rgba(10,10,11,.74); color: white; font-size: 24px; }
.detail-image { height: 390px; object-fit: cover; }
.detail-content { padding: 38px 42px 44px; }
.detail-title { display: flex; justify-content: space-between; gap: 20px; align-items: start; }
.detail-title h2 { margin: 2px 0 0; font-size: 32px; font-weight: 400; }
.detail-title strong { font: 600 32px/1.2 "Cormorant Garamond", serif; }
.detail-title strong small { font: 400 12px/1 "Noto Sans SC", sans-serif; }
.detail-specs { margin: 30px 0; display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.detail-specs div { padding: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-specs small, .detail-specs strong { display: block; }
.detail-specs small { margin-bottom: 7px; color: var(--muted); font-size: 9px; }
.detail-specs strong { font-size: 13px; font-weight: 500; }
.detail-note { color: var(--muted); font-size: 12px; line-height: 1.8; }
.inquiry-dialog { max-width: 740px; padding: 52px; }
.inquiry-copy h2 { margin: 0; font-size: 38px; font-weight: 300; }
.inquiry-copy > p:last-child { color: var(--muted); font-size: 12px; }
.inquiry-dialog form { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.inquiry-dialog label { color: #5d5953; font-size: 11px; }
.inquiry-dialog input, .inquiry-dialog select, .inquiry-dialog textarea { width: 100%; margin-top: 7px; padding: 13px 12px; border: 1px solid var(--line); outline: 0; background: rgba(255,255,255,.45); color: var(--ink); }
.inquiry-dialog input:focus, .inquiry-dialog select:focus, .inquiry-dialog textarea:focus { border-color: #9f7b49; }
.wide { grid-column: 1/-1; }
.form-message { margin: 0; color: #6d5430; font-size: 11px; }
.privacy-consent { display: flex; align-items: center; gap: 9px; cursor: pointer; }
.privacy-consent input { width: 16px; height: 16px; margin: 0; accent-color: var(--ink); }
.privacy-consent span { font-size: 11px; color: var(--muted); }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.form-message[data-state="success"] { color: #406347; }
.form-message[data-state="error"] { color: #9a3f34; }

@media (max-width: 1000px) {
  .site-header { height: 76px; }
  .header-action { display: none; }
  .menu-toggle { display: flex; margin-left: auto; width: 40px; height: 40px; padding: 11px 6px; flex-direction: column; justify-content: center; gap: 7px; border: 0; background: transparent; }
  .menu-toggle span { width: 100%; height: 1px; background: white; transition: .25s; }
  .main-nav { position: absolute; top: 76px; left: 0; right: 0; padding: 28px; display: none; flex-direction: column; background: rgba(8,8,9,.97); }
  .main-nav.open { display: flex; }
  .hero-content { padding-left: 7vw; padding-right: 7vw; }
  .market-strip { grid-template-columns: repeat(3, 1fr); }
  .market-strip p { display: none; }
  .car-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-story { grid-template-columns: 1fr; }
  .feature-visual { min-height: 520px; }
  .feature-copy { padding: 80px 8vw; }
  .standards-grid { grid-template-columns: repeat(2, 1fr); }
  .service-panel { padding: 50px; }
  .about { grid-template-columns: 1fr; gap: 35px; }
}

@media (max-width: 680px) {
  .brand { min-width: 0; }
  .brand strong { font-size: 13px; }
  .hero { min-height: 720px; }
  .hero-image { background-position: 61% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(5,5,6,.92), rgba(5,5,6,.33)), linear-gradient(0deg, rgba(5,5,6,.7), transparent); }
  .hero-content { padding-top: 21vh; }
  .hero h1 { font-size: 44px; }
  .hero-copy { font-size: 13px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .hero-index { display: none; }
  .market-strip { min-height: 110px; padding: 0 12px; }
  .market-strip > * { padding: 25px 12px; }
  .market-strip strong { font-size: 31px; }
  .market-strip span { font-size: 8px; }
  .section { padding: 78px 20px; }
  .section-heading { align-items: start; flex-direction: column; gap: 22px; margin-bottom: 35px; }
  .section-heading h2 { font-size: 42px; }
  .collection-toolbar { align-items: stretch; flex-direction: column; gap: 14px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 5px; }
  .filter { white-space: nowrap; }
  .search-box { border-left: 0; border-top: 1px solid var(--line); padding: 14px 0 0; }
  .search-box input { width: 100%; }
  .car-grid { grid-template-columns: 1fr; gap: 42px; }
  .feature-visual { min-height: 430px; }
  .feature-number { top: 40px; left: 20px; font-size: 80px; }
  .feature-car { background-position: 69% center; }
  .feature-copy { padding: 72px 20px; }
  .standards-grid { grid-template-columns: 1fr; }
  .standards-grid article { min-height: 230px; }
  .service-panel { padding: 38px 22px; grid-template-columns: 1fr; gap: 35px; }
  .service ol { grid-template-columns: 1fr 1fr; }
  .about > div { grid-template-columns: 1fr; gap: 28px; }
  .footer-links { gap: 18px; flex-wrap: wrap; }
  .detail-image { height: 250px; }
  .detail-content { padding: 28px 20px 32px; }
  .detail-title { flex-direction: column; }
  .detail-specs { grid-template-columns: 1fr 1fr; }
  .inquiry-dialog { padding: 48px 20px 28px; }
  .inquiry-dialog form { grid-template-columns: 1fr; }
  .inquiry-dialog form > * { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
