/* DealerAdGen website — premium automotive design system.
   Monochrome (black · graphite · silver · paper) with full-bleed photography, one wide typeface
   (Archivo), square-edged controls and thin rules. The app has its own styles (/styles.css). */

:root {
  --black: #07080a;
  --ink: #0c0d0f;
  --graphite: #15171a;
  --steel: #23262b;
  --silver: #9ba0a8;
  --mist: #d4d6da;
  --paper: #f3f3f1;
  --white: #ffffff;
  --text: #17191c;
  --muted: #5e636b;
  --line: #dcdde0;
  --line-dark: rgba(255, 255, 255, .14);
  --accent: #3a6df0;
  --font: "Archivo", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --wrap: 1320px;
  --pad: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

* { box-sizing: border-box; }
/* Anything the scripts hide stays hidden, whatever its display style (e.g. the sent contact form). */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }
body { background: var(--white); color: var(--text); font: 400 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; font-stretch: 118%; letter-spacing: -.015em; line-height: 1.06; color: inherit; }
h1 { font-size: clamp(40px, 6.2vw, 92px); }
h2 { font-size: clamp(32px, 4.2vw, 60px); }
h3 { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.2; }
.grad { color: var(--silver); } /* the second, quieter half of a headline */
.dark .grad, .hero .grad, .page-hero .grad, .band .grad, .cta-band .grad { color: rgba(255, 255, 255, .58); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: #fff; color: #000; padding: 10px 16px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--ink); color: #fff; }

.label { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; font-stretch: 112%; color: var(--muted); }
.dark .label, .hero .label, .page-hero .label, .band .label, .cta-band .label, .related .label { color: var(--silver); }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: var(--muted); max-width: 640px; }
.dark .lead, .hero .lead, .page-hero .lead { color: rgba(255, 255, 255, .74); }
.fine { font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.hero .fine { color: rgba(255, 255, 255, .55); }

/* ── Buttons & links ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 30px; border-radius: 2px; border: 1px solid transparent; font: 600 13px/1 var(--font); font-stretch: 112%; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); white-space: nowrap; }
.btn-light, .btn-primary { background: var(--white); color: var(--black); }
.btn-light:hover, .btn-primary:hover { background: var(--mist); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--steel); }
.btn-line, .btn-ghost { background: transparent; color: currentColor; border-color: currentColor; }
.btn-line:hover, .btn-ghost:hover { background: rgba(127, 127, 127, .14); }
.btn-sm { height: 40px; padding: 0 20px; font-size: 12px; }
.light .btn-primary, .paper .btn-primary { background: var(--black); color: var(--white); }
.light .btn-primary:hover, .paper .btn-primary:hover { background: var(--steel); }
.link-arrow { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; font-size: 13px; font-weight: 600; font-stretch: 112%; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
.link-arrow::after { content: ""; width: 28px; height: 1px; background: currentColor; transition: width .3s var(--ease); }
.link-arrow:hover::after { width: 44px; }

/* ── Header ── */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; color: var(--white); transition: background .35s var(--ease), border-color .35s var(--ease); border-bottom: 1px solid transparent; }
.site-header::before { content: ""; position: absolute; inset: 0 0 -40px; background: linear-gradient(rgba(7, 8, 10, .55), rgba(7, 8, 10, 0)); pointer-events: none; transition: opacity .35s; z-index: -1; }
.site-header.solid::before, .site-header.menu-open::before { opacity: 0; }
.site-header.solid, .site-header.menu-open { background: rgba(7, 8, 10, .97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line-dark); }
/* A blur on the header would trap the full-screen menu inside the header's 72px strip, so drop it while open. */
.site-header.menu-open { background: var(--black); backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header .wrap { display: flex; align-items: center; gap: 40px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.logo svg { width: 30px; height: 30px; flex: none; }
.logo span { font-size: 15px; font-weight: 600; font-stretch: 125%; letter-spacing: .2em; text-transform: uppercase; }
.nav { display: flex; gap: 30px; }
.nav a { font-size: 12.5px; font-weight: 500; font-stretch: 112%; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: rgba(255, 255, 255, .72); padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); border-color: currentColor; }
.header-cta { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.signin { font-size: 12.5px; font-weight: 500; font-stretch: 112%; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: rgba(255, 255, 255, .8); white-space: nowrap; }
.signin:hover { color: #fff; }
.menu-btn { display: none; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; color: inherit; cursor: pointer; position: relative; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { position: absolute; left: 11px; width: 22px; height: 1.5px; background: currentColor; content: ""; transition: transform .3s var(--ease), background .2s; }
.menu-btn span { top: 21px; }
.menu-btn span::before { left: 0; top: -7px; }
.menu-btn span::after { left: 0; top: 7px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: none; position: fixed; top: 72px; left: 0; right: 0; height: calc(100dvh - 72px); background: var(--black); flex-direction: column; padding: 28px var(--pad) 40px; overflow-y: auto; overscroll-behavior: contain; z-index: 99; }
.mobile-nav a { font-size: 26px; font-weight: 500; font-stretch: 118%; text-decoration: none; color: #fff; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.mobile-nav .btn { margin-top: 28px; font-size: 13px; border-bottom: 0; padding: 0 24px; }
.mobile-nav .btn-light { color: var(--black); }

/* ── Sections ── */
section { scroll-margin-top: 72px; }
.section { padding: clamp(80px, 10vw, 150px) 0; }
.section.tight { padding: clamp(56px, 6vw, 90px) 0; }
.dark { background: var(--ink); color: var(--white); }
.black { background: var(--black); color: var(--white); }
.paper { background: var(--paper); }
.light { background: var(--white); }
.section-head { max-width: 860px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head .label { margin-bottom: 22px; }
.section-head .lead { margin-top: 24px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

/* ── Home: hero ── */
.hero { position: relative; min-height: min(100svh, 980px); display: flex; align-items: flex-end; color: var(--white); background: var(--black); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 22% 50%; }
.hero-media video { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-media video.playing { opacity: 1; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 8, 10, .82) 0%, rgba(7, 8, 10, .45) 42%, rgba(7, 8, 10, 0) 70%), linear-gradient(0deg, rgba(7, 8, 10, .85) 0%, rgba(7, 8, 10, 0) 38%); }
.hero-content { position: relative; z-index: 1; width: 100%; padding-bottom: clamp(56px, 9vh, 110px); padding-top: 140px; }
.hero h1 { max-width: 11.5em; margin: 22px 0 26px; font-size: clamp(40px, 5.4vw, 84px); }
.hero .lead { max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 38px 0 20px; }
.hero-cta.center { justify-content: center; }
.scroll-cue { position: absolute; z-index: 1; right: var(--pad); bottom: clamp(56px, 9vh, 110px); display: flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .6); text-decoration: none; writing-mode: vertical-rl; }
.scroll-cue::after { content: ""; width: 1px; height: 56px; background: linear-gradient(rgba(255, 255, 255, .7), rgba(255, 255, 255, 0)); }

/* ── Spec strip (big numbers) ── */
.specs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.spec { padding: 42px 28px 6px 0; border-right: 1px solid var(--line-dark); margin-right: 28px; }
.spec:last-child { border-right: 0; margin-right: 0; }
.spec b { display: block; font-size: clamp(44px, 5vw, 76px); font-weight: 300; font-stretch: 125%; letter-spacing: -.03em; line-height: 1; }
.spec b small { font-size: .4em; font-weight: 400; letter-spacing: 0; margin-left: 4px; color: var(--silver); }
.spec span { display: block; margin-top: 16px; font-size: 14px; color: var(--silver); max-width: 220px; }
.channels { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 10px 34px; align-items: baseline; }
.channels .label { margin-right: 10px; }
.channels span { font-size: 15px; color: rgba(255, 255, 255, .82); font-stretch: 108%; }

/* ── Split (text + image) ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: center; }
.split.wide-img { grid-template-columns: .85fr 1.15fr; }
.split.flip > :first-child { order: 2; }
.split .lead { margin-top: 24px; }
.split h2, .faq-grid h2 { margin-top: 20px; font-size: clamp(30px, 3.3vw, 50px); }
.split img, .split video { width: 100%; }

/* Numbered steps */
.steps { list-style: none; margin: 46px 0 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 64px 1fr; gap: 6px 18px; padding: 26px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); grid-row: span 2; font-size: 14px; font-weight: 600; font-stretch: 118%; letter-spacing: .1em; color: var(--silver); padding-top: 4px; }
.steps h3 { font-size: 21px; }
.steps p { color: var(--muted); font-size: 16px; }
.dark .steps li { border-color: var(--line-dark); }
.dark .steps p { color: var(--silver); }

/* Plain list with thin rules */
.rules { list-style: none; padding: 0; margin: 32px 0 0; }
.rules li { padding: 15px 0; border-top: 1px solid var(--line); font-size: 16px; }
.rules li:last-child { border-bottom: 1px solid var(--line); }
.dark .rules li { border-color: var(--line-dark); color: rgba(255, 255, 255, .85); }

/* ── Full-bleed photo band ── */
.band { position: relative; min-height: min(86vh, 820px); display: flex; align-items: flex-end; color: var(--white); background: var(--black); overflow: hidden; }
.band > picture { position: absolute; inset: 0; }
.band > picture img { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 8, 10, .86) 0%, rgba(7, 8, 10, .55) 45%, rgba(7, 8, 10, .1) 85%), linear-gradient(0deg, rgba(7, 8, 10, .9) 0%, rgba(7, 8, 10, 0) 55%); }
.band .wrap { position: relative; z-index: 1; width: 100%; padding-top: 140px; padding-bottom: clamp(56px, 8vw, 110px); }
.band h2 { max-width: 900px; margin: 20px 0 22px; }
.band .lead { color: rgba(255, 255, 255, .78); }
.band .link-arrow { margin-top: 34px; }

/* ── Lineup (horizontal row of ad types) ── */
.lineup-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 48px; }
.lineup { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 2px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--steel) transparent; padding-bottom: 18px; }
.lineup a { scroll-snap-align: start; text-decoration: none; color: inherit; display: block; background: var(--graphite); }
.lineup .lineup-img { overflow: hidden; }
.lineup img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .8s var(--ease); }
.lineup a:hover img { transform: scale(1.04); }
.lineup .lineup-body { padding: 22px 22px 26px; }
.lineup h3 { font-size: 15px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.lineup p { color: var(--silver); font-size: 15px; margin: 8px 0 18px; min-height: 48px; }
.lineup .link-arrow { font-size: 11.5px; color: rgba(255, 255, 255, .85); }

/* ── Highlights (feature list beside a detail photo) ── */
.highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(40px, 6vw, 96px); }
.highlight { padding: 30px 0 32px; border-top: 1px solid var(--line); }
.highlight h3 { font-size: 20px; margin-bottom: 10px; }
.highlight p { color: var(--muted); font-size: 16px; }
.dark .highlight { border-color: var(--line-dark); }
.dark .highlight p { color: var(--silver); }
.detail-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-bottom: clamp(48px, 6vw, 88px); }
.detail-pair img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }

/* ── Image tiles (who it's for) ── */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.tile { position: relative; min-height: 580px; display: flex; align-items: flex-end; color: #fff; text-decoration: none; overflow: hidden; background: var(--black); }
.tile > picture { position: absolute; inset: 0; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 8, 10, .94) 0%, rgba(7, 8, 10, .6) 42%, rgba(7, 8, 10, .1) 80%); }
.tile-body { position: relative; z-index: 1; padding: 34px; }
.tile-body h3 { font-size: clamp(22px, 2vw, 28px); margin: 14px 0 10px; }
.tile-body p { color: rgba(255, 255, 255, .72); font-size: 15px; margin-bottom: 22px; max-width: 360px; }

/* ── Before / after ── */
.ba-pair, .ba { display: grid; grid-template-columns: .8fr auto 1fr; gap: clamp(20px, 3vw, 48px); align-items: center; }
.ba-pair figure, .ba figure { margin: 0; }
.ba-pair img, .ba img { width: 100%; }
.ba-pair figcaption, .ba figcaption { margin-top: 14px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.ba-before img { filter: saturate(.75) brightness(.96); }
.ba-arrow { width: 64px; height: 1px; background: currentColor; position: relative; opacity: .5; font-size: 0; color: inherit; }
.ba-arrow::after { content: ""; position: absolute; right: 0; top: -4px; width: 9px; height: 9px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }

/* ── Plans (like trim levels) ── */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plan { display: flex; flex-direction: column; padding: 48px clamp(24px, 3vw, 44px) 48px 0; border-right: 1px solid var(--line); margin-right: clamp(24px, 3vw, 44px); position: relative; }
.plan:last-child { border-right: 0; margin-right: 0; }
.plan h3 { font-size: 14px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.plan .tag { position: absolute; top: 18px; left: 0; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.plan.popular::before { content: ""; position: absolute; top: -1px; left: 0; width: 64px; height: 2px; background: var(--ink); }
.plan .price { font-size: clamp(54px, 5vw, 78px); font-weight: 300; font-stretch: 125%; letter-spacing: -.035em; line-height: 1; margin: 26px 0 8px; color: var(--ink); }
.plan .price small { display: block; font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 14px; font-stretch: 112%; }
.plan .sub { color: var(--muted); font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 28px 0 36px; }
.plan li { padding: 13px 0; border-top: 1px solid var(--line); font-size: 15px; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plans-note { color: var(--muted); font-size: 14px; margin-top: 28px; }
.plans-note a { text-underline-offset: 4px; }
.credit-table, .data-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.credit-table th, .credit-table td, .data-table th, .data-table td { padding: 18px 0; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.credit-table th, .data-table th { font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding-top: 0; }
.credit-table td:last-child, .credit-table th:last-child { text-align: right; white-space: nowrap; }
.data-table td + td, .data-table th + th { padding-left: 24px; }
.data-table td:first-child, .credit-table td:first-child { color: var(--ink); font-weight: 500; }
.table-wrap { overflow-x: auto; margin: 28px 0 40px; }

/* ── FAQ ── */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 48px 26px 0; position: relative; font-size: 19px; font-weight: 500; font-stretch: 110%; letter-spacing: -.005em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 1px; background: currentColor; transition: transform .3s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { color: var(--muted); padding: 0 48px 28px 0; font-size: 16px; max-width: 760px; }

/* ── Closing band ── */
.cta-band { position: relative; color: #fff; text-align: center; background: var(--black); overflow: hidden; }
.cta-band > picture { position: absolute; inset: 0; }
.cta-band > picture img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: rgba(7, 8, 10, .6); }
.cta-band .wrap { position: relative; z-index: 1; padding-top: clamp(110px, 14vw, 200px); padding-bottom: clamp(110px, 14vw, 200px); }
.cta-band h2 { max-width: 900px; margin: 18px auto 22px; }
.cta-band p { color: rgba(255, 255, 255, .78); font-size: 19px; max-width: 620px; margin: 0 auto 40px; }

/* ── Footer ── */
.site-footer { background: var(--black); color: rgba(255, 255, 255, .62); padding: 90px 0 40px; font-size: 14px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr repeat(5, 1fr); gap: 36px; }
.foot-brand .logo { color: #fff; }
.foot-brand p { margin-top: 18px; max-width: 280px; line-height: 1.6; }
.foot-col { display: flex; flex-direction: column; gap: 12px; }
.foot-col h2 { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #fff; margin-bottom: 8px; font-stretch: 112%; }
.foot-col a { text-decoration: none; color: rgba(255, 255, 255, .62); transition: color .2s; }
.foot-col a:hover { color: #fff; }
.foot-copy { grid-column: 1 / -1; border-top: 1px solid var(--line-dark); padding-top: 28px; margin-top: 40px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.foot-credit { color: inherit; text-decoration: none; opacity: .7; transition: opacity .2s; }
.foot-credit:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }

/* ── Content pages (built by scripts/build-site.mjs) ── */
.page-hero { position: relative; min-height: min(78vh, 760px); display: flex; align-items: flex-end; color: #fff; background: var(--black); overflow: hidden; }
.page-hero.short { min-height: min(60vh, 600px); }
.page-hero > picture { position: absolute; inset: 0; }
.page-hero > picture img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 8, 10, .82) 0%, rgba(7, 8, 10, .38) 60%, rgba(7, 8, 10, .15) 100%), linear-gradient(0deg, rgba(7, 8, 10, .85) 0%, rgba(7, 8, 10, 0) 50%); }
.page-hero .wrap { position: relative; z-index: 1; width: 100%; padding-top: 150px; padding-bottom: clamp(48px, 7vw, 96px); }
.page-hero h1 { max-width: 1000px; margin: 22px 0 24px; }
.article-hero h1 { font-size: clamp(34px, 4.6vw, 66px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 11.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.crumbs a { color: rgba(255, 255, 255, .6); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; }
.byline { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-top: 22px; }
.page-body { padding: clamp(64px, 8vw, 120px) 0; }
.content { max-width: 1040px; }
.content.wide { max-width: var(--wrap); }
.prose { max-width: 780px; }
.content > p:first-child, .prose > p:first-child { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.6; color: var(--ink); }
.content > h2, .prose > h2 { font-size: clamp(26px, 2.8vw, 38px); margin: 72px 0 22px; padding-top: 30px; border-top: 1px solid var(--line); }
.content > h3, .prose > h3 { margin: 36px 0 12px; }
.content > p, .prose > p, .content > ul, .prose > ul, .content > ol, .prose > ol { margin: 0 0 20px; }
.prose p, .prose li { font-size: 18px; line-height: 1.75; }
.content p, .content li { color: #2c2f34; }
.prose ul, .prose ol, .content ul, .content ol { padding-left: 22px; }
.prose li, .content li { margin-bottom: 10px; padding-left: 6px; }
.prose li::marker, .content li::marker { color: var(--silver); font-weight: 600; }
.prose strong, .content strong { color: var(--ink); font-weight: 600; }
.prose a, .content a { text-underline-offset: 4px; text-decoration-thickness: 1px; }
.callout { border-left: 2px solid var(--ink); background: var(--paper); padding: 22px 26px; margin: 32px 0; font-size: 16px; }
.callout strong { display: block; margin-bottom: 6px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 48px; margin: 32px 0 48px; }
.card { padding: 26px 0 28px; border-top: 1px solid var(--line); }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 16px; margin: 0; }
.media-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; margin: 64px 0 72px; }
.media-row img { width: 100%; }
.media-row.flip > :first-child { order: 2; }
.media-row h2 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 18px; }
.media-row p { margin-bottom: 14px; color: var(--muted); }
.page-figure { margin: 40px 0 56px; }
.page-figure img { width: auto; max-width: 100%; max-height: 560px; }
/* Example ads placed in an article's text: same size limits as the page figure, so tall Story ads don't fill the screen. */
.prose > picture { display: block; margin: 36px 0; }
.prose > picture img { width: auto; max-width: 100%; max-height: 560px; }
.intro-row { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 96px); align-items: center; margin-bottom: 24px; }
.intro-row .page-figure { margin: 0; justify-self: end; }
.intro-row .page-figure img { max-height: 620px; }
.intro-text p { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.55; color: var(--ink); font-stretch: 104%; }
@media (max-width: 1080px) { .intro-row { grid-template-columns: 1fr; } .intro-row .page-figure { justify-self: start; } }

/* Related links */
.related { background: var(--ink); color: #fff; }
.related h2 { font-size: clamp(26px, 2.6vw, 36px); margin: 16px 0 40px; }
/* Template pages: Studio templates, each opening in the app ready to edit */
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 40px 28px; margin: 36px 0 56px; align-items: start; }
.tpl { margin: 0; display: grid; gap: 14px; }
.tpl.wide { grid-column: span 2; }
.tpl-img { display: block; background: var(--paper); border: 1px solid var(--line); overflow: hidden; }
.tpl-img img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.tpl-img:hover img { transform: scale(1.025); }
.tpl figcaption { display: grid; gap: 4px; }
.tpl figcaption strong { font-weight: 600; color: var(--ink); }
.tpl figcaption span { color: var(--muted); font-size: 15px; }
.tpl figcaption a { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; margin-top: 6px; }
.tpl figcaption a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 620px) { .tpl.wide { grid-column: auto; } .tpl-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; } }
/* The free tools and template collections: a card per page */
.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 32px 0 56px; }
.hub-card { background: var(--white); padding: 30px 28px 32px; display: grid; gap: 10px; align-content: start; text-decoration: none; color: inherit; transition: background .2s; }
.hub-card:hover { background: var(--paper); }
.hub-card .hub-kind { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.hub-card strong { font-size: 21px; font-weight: 500; font-stretch: 112%; line-height: 1.25; color: var(--ink); }
.hub-card span:last-child { color: var(--muted); font-size: 15px; line-height: 1.55; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); }
.related-card { display: flex; flex-direction: column; gap: 10px; padding: 30px 32px 34px 0; margin-right: 32px; border-right: 1px solid var(--line-dark); text-decoration: none; color: #fff; }
.related-card:last-child { border-right: 0; margin-right: 0; }
.related-card strong { font-size: 20px; font-weight: 500; font-stretch: 112%; line-height: 1.3; }
.related-card span:last-child { color: var(--silver); font-size: 15px; }
.related-card:hover strong { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.related-kind { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--silver); }

/* Blog list */
.post-list { display: grid; border-top: 1px solid var(--line); }
.post-card { display: grid; grid-template-columns: 340px 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: 40px 0; border-bottom: 1px solid var(--line); }
.post-card-img img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: opacity .3s; }
.post-card-img:hover img { opacity: .88; }
.post-card time { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.post-card h2 { font-size: clamp(22px, 2.2vw, 30px); margin: 12px 0; }
.post-card h2 a { text-decoration: none; }
.post-card h2 a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.post-card p { color: var(--muted); font-size: 16px; }

/* ── Examples page (dark showroom) ── */
.gallery-page { background: var(--ink); color: #fff; }
.gallery-page .content > p:first-child { color: #fff; }
.gallery-page .content p, .gallery-page .content li { color: var(--silver); }
.gallery-page .content figcaption strong { color: #fff; }
.gal-filters { position: sticky; top: 72px; z-index: 20; display: flex; gap: 28px; padding: 18px 0; margin: 0 0 56px; background: rgba(12, 13, 15, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-dark); overflow-x: auto; scrollbar-width: none; }
.gal-filters .chip { flex: none; background: none; border: 0; padding: 6px 0; color: rgba(255, 255, 255, .6); font: 500 12px/1 var(--font); font-stretch: 112%; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; cursor: pointer; border-bottom: 1px solid transparent; }
.gal-filters .chip:hover { color: #fff; }
.gal-filters .chip.active { color: #fff; border-color: #fff; }
.gal-section { margin-bottom: clamp(90px, 10vw, 150px); }
.gal-section > h2 { font-size: clamp(30px, 3.6vw, 52px); max-width: 760px; }
.gal-intro { color: var(--silver); font-size: 18px; max-width: 640px; margin: 20px 0 48px; }
.gallery-page .ba { margin-bottom: 56px; }
.gallery-page .ba img, .gallery-page .camp img { cursor: zoom-in; }
.gallery-page .ba figcaption, .gallery-page .camp figcaption { color: var(--silver); }
.vids { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: end; }
.vid { position: relative; margin: 0; }
.vid video { width: 100%; background: #000; cursor: pointer; }
.vid figcaption { margin-top: 14px; font-size: 13px; color: var(--silver); }
.vid figcaption strong, .gal-item figcaption strong { display: block; color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 4px; }
.vid-badge { position: absolute; top: 12px; left: 12px; z-index: 1; font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; background: rgba(7, 8, 10, .78); padding: 7px 10px; pointer-events: none; }
.vid.playing-sound video { outline: 1px solid #fff; outline-offset: 4px; }
.camp { display: grid; grid-template-columns: 1.2fr .62fr 1fr; grid-template-areas: "square story gbp" "banner banner banner"; gap: 18px; align-items: end; }
.camp figure { margin: 0; }
.camp img { width: 100%; }
.camp figcaption { margin-top: 12px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.camp-square { grid-area: square; } .camp-story { grid-area: story; } .camp-gbp { grid-area: gbp; } .camp-banner { grid-area: banner; }
.gallery { columns: 4 260px; column-gap: 18px; }
.gal-item { break-inside: avoid; margin: 0 0 30px; }
.gal-item img { width: 100%; cursor: zoom-in; transition: opacity .3s; }
.gal-item img:hover { opacity: .9; }
.gal-item figcaption { padding: 14px 0 0; font-size: 13px; color: var(--silver); }
.gallery-wide { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.gallery-wide .gal-item { margin: 0 0 12px; }
/* Feature pages: video demos */
.vid-steps, .vid-music { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; margin: 32px 0 24px; }
.vid-steps figure, .vid-music figure { margin: 0; }
.vid-steps img { width: 100%; display: block; }
.content .vid figcaption, .content .vid-step figcaption { color: var(--muted); font-size: 14px; margin-top: 14px; }
.content .vid figcaption strong, .content .vid-step figcaption strong { color: var(--ink); }
.vid-step figcaption strong { display: block; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 4px; }
.step-num { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-bottom: 10px; border: 1px solid var(--ink); border-radius: 50%; font-size: 12px; font-weight: 600; color: var(--ink); }
.vid-music { max-width: 820px; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.content .contact-list { list-style: none; padding: 0; margin: 24px 0 32px; border-top: 1px solid var(--line); }
.content .contact-list li { margin: 0; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-list strong { display: block; color: var(--ink); margin-bottom: 4px; }
.contact-note { color: var(--muted); }
.contact-note a, .contact-done a { color: var(--ink); }
.contact-form { display: grid; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-field { display: grid; gap: 8px; }
.form-field > span { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-stretch: 112%; color: var(--ink); }
.form-field em { font-style: normal; font-weight: 400; letter-spacing: .04em; text-transform: none; color: var(--muted); margin-left: 6px; }
.form-field input, .form-field select, .form-field textarea { width: 100%; font: 16px/1.5 var(--font); color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 2px; padding: 13px 14px; transition: border-color .2s; }
.form-field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2317191c' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 16px center; }
.form-field textarea { resize: vertical; min-height: 150px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--ink); }
.form-field.invalid input, .form-field.invalid textarea { border-color: #b3261e; }
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; min-height: 1.5em; font-size: 15px; color: #b3261e; }
.form-status:empty { display: none; }
.contact-form .btn { justify-self: start; min-width: 220px; }
.contact-form .btn[disabled] { opacity: .6; cursor: wait; }
.contact-done h2 { font-size: clamp(28px, 3vw, 40px); margin: 18px 0 14px; }
.contact-done:focus { outline: none; }

/* Examples: luxury collection */
.lux-section .eyebrow { margin: 0 0 18px; font-size: 11.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--silver); }
.lux-banner { margin: 0 0 18px; }
.lux-vids { display: grid; grid-template-columns: 1fr 1fr 2.22fr; gap: 18px; align-items: start; margin: 0 0 56px; }
.lux-gallery { columns: 4 240px; }
.examples-note { color: var(--silver); font-size: 13px; letter-spacing: .04em; margin-top: 40px; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(5, 6, 8, .94); }
.lightbox img { max-width: min(1200px, 94vw); max-height: 84vh; width: auto; margin: 0 auto; }
.lightbox p { color: var(--silver); text-align: center; margin-top: 16px; font-size: 14px; }
.lightbox button { position: fixed; top: 18px; right: 18px; width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, .3); background: none; color: #fff; font-size: 22px; cursor: pointer; }

/* Home: example strip */
.ex-strip { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2px; }
.ex-strip figure { margin: 0; position: relative; overflow: hidden; }
.ex-strip img { width: 100%; transition: transform .9s var(--ease); }
.ex-strip figure:hover img { transform: scale(1.03); }
.ex-strip figcaption { position: absolute; left: 0; bottom: 0; right: 0; padding: 40px 22px 18px; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: #fff; background: linear-gradient(0deg, rgba(7, 8, 10, .78), rgba(7, 8, 10, 0)); }

/* Fade-up on scroll (added by site.js; content stays visible without JS) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ── Responsive ── */
/* Six menu links: a little tighter on smaller laptops, and the menu button below 1200px. */
@media (max-width: 1360px) { .nav { gap: 24px; } .site-header .wrap { gap: 32px; } }
@media (max-width: 1200px) {
  .nav, .header-cta .signin { display: none; }
  .menu-btn { display: block; }
  .site-header.menu-open .mobile-nav { display: flex; }
}
@media (max-width: 1080px) {
  .specs { grid-template-columns: repeat(2, 1fr); }
  .spec:nth-child(2) { border-right: 0; margin-right: 0; }
  .spec:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .split, .split.wide-img, .faq-grid, .highlights { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 460px; }
  .plans { grid-template-columns: 1fr; border-bottom: 0; }
  .plan { border-right: 0; margin-right: 0; padding-right: 0; border-bottom: 1px solid var(--line); }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .related-grid { grid-template-columns: 1fr; }
  .related-card { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line-dark); padding-right: 0; }
  .vids { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
  .lux-vids { grid-template-columns: 1fr 1fr; }
  .lux-vids .vid-wide { grid-column: 1 / -1; }
  .camp { grid-template-columns: 1fr 1fr; grid-template-areas: "square story" "gbp gbp" "banner banner"; }
  .media-row { grid-template-columns: 1fr; }
  .media-row.flip > :first-child { order: 0; }
  .scroll-cue { display: none; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .header-cta .btn { display: none; }
  .hero { display: block; min-height: 0; }
  .hero-media { position: relative; height: 62svh; min-height: 380px; }
  .hero-media img { object-position: 50% 78%; }
  .hero-media video { display: none; }
  .hero-media::after { background: linear-gradient(0deg, rgba(7, 8, 10, 1) 0%, rgba(7, 8, 10, 0) 45%), linear-gradient(180deg, rgba(7, 8, 10, .55) 0%, rgba(7, 8, 10, 0) 25%); }
  .hero-content { padding-top: 0; margin-top: -64px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .spec { padding: 30px 14px 4px 0; margin-right: 14px; }
  .lineup { grid-auto-columns: 78%; }
  .lineup-head { flex-direction: column; align-items: flex-start; }
  .ex-strip { grid-template-columns: 1fr; }
  .ba, .ba-pair { grid-template-columns: 1fr; }
  .ba-arrow { transform: rotate(90deg); justify-self: center; width: 40px; margin: 12px 0; }
  .gallery-wide { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .vid-steps { grid-template-columns: 1fr; max-width: 420px; }
  .vid-music { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .vid-music figcaption span { display: none; }
  .contact-form .btn { justify-self: stretch; }
  .post-card { grid-template-columns: 1fr; gap: 20px; }
  .prose p, .prose li { font-size: 17px; }
  .data-table { font-size: 14px; }
  .tile-body { padding: 26px; }
  .link-arrow { white-space: normal; flex-wrap: wrap; row-gap: 8px; max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .lineup img, .tile img, .ex-strip img { transition: none; }
}
/* Smallest phones: tighten the wordmark so the menu button always fits. */
@media (max-width: 420px) {
  .site-header .wrap { gap: 16px; }
  .logo { gap: 10px; min-width: 0; }
  .logo svg { width: 26px; height: 26px; }
  .logo span { font-size: 13px; letter-spacing: .14em; }
}

/* What's new: a list per month, newest first */
.wn-month { margin: 0 0 48px; }
.wn-month h2 { font-size: clamp(22px, 2.4vw, 30px); margin: 0 0 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.wn-list { list-style: none; margin: 0; padding: 0; }
.wn-list li { display: grid; grid-template-columns: 96px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.wn-list time { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.wn-list span { color: #2c2f34; font-size: 17px; line-height: 1.55; }
@media (max-width: 560px) { .wn-list li { grid-template-columns: 1fr; gap: 4px; } }

/* Before and after slider (feature pages): drag the line to compare */
.ba-slider-wrap { margin: 0 0 40px; }
.ba-slider { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: #0b0b0c; user-select: none; -webkit-user-select: none; }
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.ba-slider-top { clip-path: inset(0 0 0 var(--pos)); }
.ba-slider-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .25); pointer-events: none; }
.ba-slider-line::after { content: ""; position: absolute; top: 50%; left: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.ba-slider-tag { position: absolute; top: 14px; padding: 6px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: rgba(11, 11, 12, .72); pointer-events: none; }
.ba-tag-before { left: 14px; }
.ba-tag-after { right: 14px; }
.ba-slider input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-caption { margin: 14px 0 0; font-size: 14px; color: var(--muted, #5e636b); }

/* Car photo backgrounds gallery */
.bg-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 40px 26px; margin: 36px 0 56px; align-items: start; }
.bg-card { margin: 0; }
.bg-card .bg-img { width: 100%; height: auto; display: block; border: 1px solid var(--line); }
.bg-card figcaption { margin-top: 14px; display: grid; gap: 4px; }
.bg-card figcaption strong { font-weight: 600; color: var(--ink); font-size: 17px; }
.bg-card figcaption span { color: var(--muted); font-size: 15px; line-height: 1.5; }
