/* Carvergent LLC — carvergent.net
   Single stylesheet. Referenced as /styles.css?v=YYYYMMDD in every HTML file.
   PLATFORM.md rule 2: if you edit this file, bump the ?v= query in EVERY html file. */

:root {
  --ink: #14151a;
  --ink-soft: #3d3f47;
  --muted: #6b6e78;
  --line: #e6e7eb;
  --bg: #ffffff;
  --bg-alt: #f5f6f8;
  --footer-bg: #101114;
  --footer-ink: #d7d9e0;
  --footer-muted: #8b8e98;
  --accent1: #f7931e; /* orange */
  --accent2: #e63329; /* red */
  --accent-grad: linear-gradient(100deg, var(--accent1), var(--accent2));
  --focus: #1a73e8;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(16, 17, 20, 0.10);
  --shadow-sm: 0 4px 14px rgba(16, 17, 20, 0.08);
  --maxw: 1160px;
  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; margin: 0 0 .4em; letter-spacing: -0.02em; }

img { max-width: 100%; display: block; }

a { color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  text-decoration: none; cursor: pointer; border: 0;
  padding: 14px 26px; border-radius: 999px; transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.btn-primary { background: var(--accent-grad); color: #fff; box-shadow: 0 8px 22px rgba(230, 51, 41, .28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(230, 51, 41, .34); }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--line); padding: 12px 24px; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-lg { font-size: 1.08rem; padding: 16px 32px; }
.btn svg { width: 1.05em; height: 1.05em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 74px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 500; color: var(--ink-soft); font-size: .98rem; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: 6px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* ---------- Hero ---------- */
.hero { padding: 74px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  letter-spacing: .12em; text-transform: uppercase;
  background: linear-gradient(100deg, var(--accent1), var(--accent2));
  -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 14px;
}
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 700; }
.hero p.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 30ch; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-media { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 49/55; object-fit: cover; width: 100%; }
.hero-media img:first-child { margin-top: 22px; }

/* ---------- Trust strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.strip-inner { display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: center; padding: 20px 0; }
.strip-item { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink-soft); font-size: .98rem; }
.strip-item svg { width: 20px; height: 20px; color: var(--accent2); flex: none; }

/* ---------- Section shell ---------- */
.section { padding: 84px 0; }
.section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 700; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: stretch; }
.about-media { position: relative; min-height: 340px; }
.about-media img.photo { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 100%; object-fit: cover; }
.about h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
.about p { color: var(--ink-soft); font-size: 1.1rem; }
.qr-card {
  display: inline-flex; align-items: center; gap: 16px; margin-top: 26px;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px;
}
.qr-card img { width: 92px; height: 92px; border-radius: 8px; }
.qr-card .qr-text { font-size: .95rem; color: var(--muted); max-width: 20ch; }
.qr-card .qr-text strong { display: block; color: var(--ink); font-family: var(--font-head); font-weight: 600; }

/* ---------- Fleet ---------- */
.fleet { background: var(--bg-alt); }
.fleet-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-num {
  position: absolute; top: 12px; left: 12px; font-family: var(--font-head); font-weight: 700; font-size: .85rem;
  color: #fff; background: rgba(20,21,26,.55); backdrop-filter: blur(4px); border-radius: 999px; padding: 4px 11px;
}
.card-body { padding: 20px 20px 24px; }
.card-body h3 { font-size: 1.2rem; font-weight: 600; }
.card-body p { margin: 0; color: var(--muted); font-size: .97rem; }

/* ---------- Co-Hosting ---------- */
.cohost .section-head { margin-bottom: 40px; }
.cohost .section-head p { color: var(--ink-soft); }
.coh-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.coh-item { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.coh-item h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; font-weight: 600; margin: 0 0 8px; }
.coh-item h3 svg { width: 20px; height: 20px; color: var(--accent2); flex: none; }
.coh-item p { margin: 0; color: var(--muted); font-size: .96rem; }
.cohost-cta { text-align: center; margin-top: 40px; }
.cohost-note { color: var(--muted); font-size: .9rem; margin: 14px 0 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #fff; text-align: center; }
.cta-band .section { padding: 74px 0; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
.cta-band p { color: #c8cad2; font-size: 1.15rem; max-width: 46ch; margin: 0 auto 30px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-ink); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; align-items: start; }
.footer-brand img { height: 44px; width: auto; margin-bottom: 16px; filter: brightness(1.05); }
.footer-brand p { color: var(--footer-muted); max-width: 34ch; font-size: .96rem; }
.footer-col h4 { font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 0 0 14px; }
.footer-col a, .footer-col address { color: var(--footer-ink); text-decoration: none; font-style: normal; display: block; margin-bottom: 10px; font-size: .96rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #23252b; margin-top: 44px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--footer-muted); font-size: .88rem; }
.footer-bottom a { color: var(--footer-muted); }
.footer-bottom a:hover { color: #fff; }

/* ---------- Legal pages ---------- */
.legal { padding: 56px 0 80px; max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.3rem; margin-top: 2em; }
.legal p, .legal li { color: var(--ink-soft); }
.legal a { color: var(--accent2); }
.legal .updated { color: var(--muted); font-size: .95rem; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 120px 24px; }
.notfound h1 { font-size: clamp(3rem, 10vw, 6rem); }
.notfound p { color: var(--muted); font-size: 1.15rem; margin-bottom: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-media { max-width: 460px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-media { min-height: 0; }
  .about-media img.photo { height: auto; }
  .fleet-grid { grid-template-columns: repeat(2, 1fr); }
  .coh-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { position: fixed; inset: 74px 0 auto 0; background: #fff; flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 24px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-120%); transition: transform .22s ease; }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links .nav-cta { margin: 14px 0 4px; }
  .nav-toggle { display: block; }
}
@media (max-width: 560px) {
  .fleet-grid { grid-template-columns: 1fr; }
  .coh-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 60px 0; }
  .hero { padding: 40px 0 20px; }
}

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