/* dntheyauto.com — industrial: ink, paper, safety amber. */
:root {
  --ink: #14171c;
  --ink-2: #1f242b;
  --steel: #5b6470;
  --line: #dcd8d0;
  --paper: #f4f2ee;
  --paper-2: #ebe7df;
  --white: #ffffff;
  --accent: #e3171f;
  --accent-ink: #ffffff;
  --wa: #1fa855;
  --radius: 14px;
  --wrap: 1200px;
  --head: 'Archivo', 'Noto Sans SC', system-ui, sans-serif;
  --body: 'Archivo', 'Noto Sans SC', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.6 var(--body); font-stretch: 100%; }
.lang-zh { --head: 'Noto Sans SC', 'Archivo', system-ui, sans-serif; --body: 'Noto Sans SC', 'Archivo', system-ui, sans-serif; }
img { max-width: 100%; display: block; }
a { color: inherit; }
svg { width: 1.15em; height: 1.15em; flex: none; }
h1, h2, h3 { font-family: var(--head); line-height: 1.05; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4.2rem); font-weight: 800; font-stretch: 78%; text-transform: uppercase; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; font-stretch: 82%; text-transform: uppercase; }
h3 { font-size: 1.2rem; font-weight: 700; }
.lang-zh h1, .lang-zh h2 { text-transform: none; font-weight: 900; letter-spacing: 0; line-height: 1.2; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 28px; } }
.muted { color: var(--steel); }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--white); padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* top bar + header */
.topbar { background: var(--ink); color: #c9ccd1; font-size: .82rem; }
.topbar-in { display: flex; justify-content: space-between; gap: 12px; padding-top: 7px; padding-bottom: 7px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.topbar-r { gap: 16px !important; }
@media (max-width: 640px) { .topbar-in > span:first-child { display: none; } .topbar-in { justify-content: flex-end; } }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); flex: none; }
.brand-mark img { width: 34px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font: 800 1.15rem/1 'Archivo', sans-serif; font-stretch: 75%; letter-spacing: .03em; }
.brand-text small { font-size: .72rem; color: var(--steel); margin-top: 3px; }
.brand-light .brand-mark { border-color: transparent; }
.brand-light .brand-text small { color: #9aa1aa; }
.nav { display: flex; align-items: center; gap: 20px; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.nav > a:not(.btn) { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav > a[aria-current="page"], .nav > a:not(.btn):hover { border-color: var(--accent); }
.langs { flex: none; display: inline-flex; gap: 2px; padding: 3px; background: var(--paper); border-radius: 999px; font-size: .78rem; }
.langs a { text-decoration: none; padding: 4px 9px; border-radius: 999px; color: var(--steel); }
.langs a[aria-current="true"] { background: var(--ink); color: var(--white); }
.nav-toggle, .nav-btn { display: none; }
@media (max-width: 1180px) {
  .nav-btn { display: flex; flex-direction: column; gap: 5px; padding: 12px 8px; cursor: pointer; }
  .nav-btn span { width: 24px; height: 2px; background: var(--ink); transition: .2s; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(0,0,0,.08); }
  .nav > a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav .langs { margin: 16px 0; align-self: flex-start; }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav-toggle:checked + .nav-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked + .nav-btn span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked + .nav-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 999px; font-weight: 700; font-size: .95rem; text-decoration: none; border: 2px solid transparent; transition: transform .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 14px 24px; font-size: 1rem; }
.btn-wa { background: var(--wa); color: var(--white); }
.btn-wa:hover { background: #188f47; }
.btn-ghost { border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-ghost-light { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-ghost-light:hover { background: var(--white); color: var(--ink); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.link-light { color: var(--white); margin-top: 28px; }

/* hero */
.hero { position: relative; color: var(--white); background: var(--ink); overflow: hidden; }
.hero-media, .hero-media img, .hero-media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,16,20,.92) 0%, rgba(14,16,20,.72) 48%, rgba(14,16,20,.25) 100%), linear-gradient(0deg, rgba(14,16,20,.6), transparent 40%); }
.hero-in { position: relative; z-index: 1; padding-top: clamp(64px, 11vw, 140px); padding-bottom: clamp(56px, 9vw, 120px); }
.hero h1 { max-width: 13ch; }
.lang-zh .hero h1 { max-width: 16ch; }
.hero-lead { max-width: 56ch; font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: #dfe2e6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.eyebrow { display: inline-block; font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); margin-bottom: 14px; }
.eyebrow::before { content: ''; display: inline-block; width: 22px; height: 3px; background: var(--accent); vertical-align: middle; margin-right: 10px; }
.eyebrow-light { color: var(--accent); }
.lang-zh .eyebrow { letter-spacing: .06em; }

/* stats */
.stats { background: var(--accent); color: var(--accent-ink); }
.stats-in { display: grid; grid-template-columns: repeat(2, 1fr); }
.stats-in > div { padding: 22px 12px; border-left: 1px solid rgba(255,255,255,.22); display: flex; flex-direction: column; }
.stats-in > div:nth-child(odd) { border-left: 0; }
.stats b { font: 800 clamp(1.7rem, 3.4vw, 2.6rem)/1 'Archivo', sans-serif; font-stretch: 75%; color: var(--white); }
.stats span { font-size: .88rem; margin-top: 6px; font-weight: 600; }
@media (min-width: 760px) { .stats-in { grid-template-columns: repeat(4, 1fr); } .stats-in > div { padding: 30px 24px; border-left: 1px solid rgba(255,255,255,.22) !important; } .stats-in > div:first-child { border-left: 0 !important; padding-left: 0; } }
.stats-alt { background: var(--ink); color: #c9ccd1; }
.stats-alt b { font-stretch: 75%; }
.stats-alt b { color: var(--accent); }
.stats-alt .stats-in > div { border-color: rgba(255,255,255,.12) !important; }

/* sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.pt0 { padding-top: 0; }
.section-ink { background: var(--ink); color: #d6d9dd; }
.section-ink h2, .section-ink h3 { color: var(--white); }
.section-paper { background: var(--paper); }
.sec-head { margin-bottom: 32px; max-width: 760px; }
.sec-head.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; max-width: none; flex-wrap: wrap; }
.sec-head p { margin: 0; }
.page-head { padding: clamp(48px, 7vw, 88px) 0 clamp(32px, 4vw, 48px); }
.page-head h1 { max-width: 18ch; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: #3a4048; max-width: 62ch; }
.h-sm { font-size: 1.3rem; }
.h-xs { font: 700 .82rem/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--steel); margin: 26px 0 10px; }

/* vehicle cards */
.v-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .v-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .v-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.v-card { display: flex; flex-direction: column; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.v-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(20,23,28,.1); border-color: #c9c3b8; }
.v-media { position: relative; aspect-ratio: 4 / 3; background: var(--paper-2); overflow: hidden; }
.v-media img, .v-media .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.v-card:hover .v-media img { transform: scale(1.04); }
.v-spec { position: absolute; left: 12px; top: 12px; background: var(--accent); color: var(--white); font: 800 .8rem/1 'Archivo', sans-serif; padding: 7px 10px; border-radius: 6px; }
.v-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.v-body h3 { margin-bottom: 6px; }
.v-body p { color: var(--steel); font-size: .95rem; flex: 1; }
.v-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; }
.v-more svg { color: var(--accent); transition: transform .2s; }
.v-card:hover .v-more svg { transform: translateX(4px); }

/* placeholder for missing photos */
.ph { display: grid; place-items: center; background: repeating-linear-gradient(-45deg, var(--paper-2) 0 14px, var(--paper) 14px 28px); color: var(--steel); font-weight: 700; text-align: center; padding: 16px; min-height: 200px; }

/* split */
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split.rev .split-media { order: 0; } }
.split-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.split-media.tall { aspect-ratio: 4 / 5; }
.split-media img, .split-media .ph { width: 100%; height: 100%; object-fit: cover; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.checks svg { color: var(--white); background: var(--accent); border-radius: 50%; padding: 3px; width: 1.4em; height: 1.4em; }
.prose p { font-size: 1.05rem; color: #2e333a; }
.prose p:first-child { font-size: 1.2rem; color: var(--ink); font-weight: 500; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1px; background: rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; grid-template-columns: 1fr; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { background: var(--ink-2); padding: 28px 24px; }
.steps p { margin: 0; font-size: .95rem; color: #b9bec5; }
.step-n { display: block; font: 800 2.2rem/1 'Archivo', sans-serif; font-stretch: 75%; color: var(--accent); margin-bottom: 18px; }
.steps-light { background: var(--line); }
.steps-light li { background: var(--white); }
.steps-light p { color: var(--steel); }
.steps-light h3 { color: var(--ink); }

/* chips, brands, lists */
.two-col { display: grid; gap: 40px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 72px; } }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--paper); border-radius: 999px; padding: 8px 14px; font-size: .9rem; font-weight: 600; }
.chips-line li { background: transparent; border: 1.5px solid var(--line); }
.brands { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.brands li { font: 800 1.35rem/1.3 'Archivo', sans-serif; font-stretch: 80%; text-transform: uppercase; color: #8a919a; letter-spacing: .02em; }
.list-lines { list-style: none; padding: 0; margin: 12px 0 0; }
.list-lines li { padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 600; display: flex; gap: 12px; align-items: baseline; }
.list-lines li::before { content: ''; width: 8px; height: 8px; background: var(--accent); flex: none; transform: translateY(-2px); }
.tile-link { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .2s, background .2s; }
.tile-link:hover { border-color: var(--ink); background: var(--paper); }
.tile-link p { margin: 0; }
.tile-link > svg { width: 28px; height: 28px; color: var(--accent); }

/* other services */
.o-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .o-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .o-grid { grid-template-columns: repeat(3, 1fr); } }
.o-card { padding: 26px; border-radius: var(--radius); background: var(--paper); border-top: 4px solid var(--accent); }
.o-card p { margin: 0; color: var(--steel); }

/* past builds */
.past-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .past-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.past-grid figure { margin: 0; }
.past-grid img, .past-grid .ph { aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: 10px; }
.past-grid figcaption { font-size: .88rem; font-weight: 600; margin-top: 8px; }

/* vehicle detail */
.crumbs { padding: 22px 0; }
.crumbs a { text-decoration: none; font-weight: 600; color: var(--steel); }
.crumbs a:hover { color: var(--ink); }
.v-detail { display: grid; gap: 32px; }
.v-detail > * { min-width: 0; }
@media (min-width: 960px) { .v-detail { grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; } .v-info { position: sticky; top: 96px; } }
.gallery .ph { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.g-main { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--radius); scrollbar-width: none; background: var(--paper-2); }
.g-main::-webkit-scrollbar { display: none; }
.g-slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 4 / 3; }
.g-slide img { width: 100%; height: 100%; object-fit: cover; }
.g-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.g-thumbs a { flex: 0 0 84px; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; opacity: .75; transition: opacity .2s; }
.g-thumbs a:hover { opacity: 1; }
.g-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.v-info h1 { font-size: clamp(2rem, 4vw, 3rem); }
.spec-pill { display: inline-block; background: var(--accent); color: var(--white); font: 800 .95rem/1 'Archivo', sans-serif; padding: 8px 12px; border-radius: 6px; }
.ask { margin-top: 30px; padding: 24px; background: var(--paper); border-radius: var(--radius); }
.ask .h-xs { margin-top: 0; }
.ask-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* contact */
.contact-grid { display: grid; gap: 24px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 40px; } }
.c-cards { display: grid; gap: 12px; }
.c-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.c-card > svg { width: 26px; height: 26px; color: var(--accent); margin-top: 2px; }
.c-card div { display: flex; flex-direction: column; gap: 3px; }
.c-card b { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); }
.c-card span, .c-card div > a { font-weight: 600; text-decoration: none; }
.c-card div > a:hover { text-decoration: underline; }
.c-wa { background: var(--wa); border-color: var(--wa); color: var(--white); }
.c-wa > svg, .c-wa b { color: rgba(255,255,255,.9); }
.c-wa span { font-size: 1.3rem; }
.hours { display: grid; grid-template-columns: auto auto; gap: 2px 18px; margin: 4px 0 0; font-weight: 600; }
.hours dd { margin: 0; color: var(--steel); }
.map { min-height: 380px; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* cta band */
.cta-band { background: var(--ink); color: #c9ccd1; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0 0 auto; height: 6px; background: repeating-linear-gradient(-45deg, var(--accent) 0 16px, var(--ink) 16px 32px); }
.cta-in { display: grid; gap: 24px; padding-top: clamp(52px, 7vw, 84px); padding-bottom: clamp(52px, 7vw, 84px); align-items: center; }
@media (min-width: 900px) { .cta-in { grid-template-columns: 1.3fr 1fr; } }
.cta-band h2 { color: var(--white); max-width: 18ch; }
.cta-band p { margin: 0; max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .cta-actions { justify-content: flex-end; } }

/* footer */
.site-footer { background: #0e1014; color: #9aa1aa; font-size: .93rem; padding-top: 56px; }
.footer-grid { display: grid; gap: 36px; padding-bottom: 40px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.3fr; } }
.site-footer .brand-text b { color: var(--white); }
.footer-grid p { margin-top: 16px; max-width: 34ch; }
.foot-h { font: 700 .8rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.foot-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-list li { display: flex; gap: 10px; align-items: flex-start; }
.foot-list svg { color: var(--accent); margin-top: 3px; }
.foot-list a { text-decoration: none; }
.foot-list a:hover { color: var(--white); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 18px; padding-bottom: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: .82rem; }
.foot-base .langs { background: rgba(255,255,255,.06); }
.foot-base .langs a { color: #9aa1aa; }
.foot-base .langs a[aria-current="true"] { background: var(--accent); color: var(--white); }

/* floating WhatsApp (mobile) */
.fab-wa { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: var(--white); display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.fab-wa svg { width: 30px; height: 30px; }
@media (min-width: 1181px) { .fab-wa { display: none; } }
@media (max-width: 1180px) { .nav-wa { display: none; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media (min-width: 1181px) and (max-width: 1340px) { .site-header .brand-text small { display: none; } }
