:root {
  color-scheme: light;
  --ink: #172028;
  --muted: #5e6b75;
  --line: #d8e0e5;
  --paper: #f6f8f9;
  --surface: #ffffff;
  --steel: #e8edf0;
  --blue: #0b6ee8;
  --blue-dark: #0757b8;
  --orange: #ff7a1a;
  --green: #0f8a63;
  --radius: 1.25rem;
  --shadow: 0 1.25rem 3.5rem rgba(22, 36, 47, .10);
  --wrap: 76rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 100%/1.62 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-dark); text-underline-offset: .18em; }
a:hover { color: var(--blue); }
button, input, textarea, select { font: inherit; }
button, .button, .card-link { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  inset: .5rem auto auto .5rem;
  z-index: 100;
  padding: .65rem .85rem;
  border-radius: .65rem;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.wrap { width: min(calc(100% - 2rem), var(--wrap)); margin-inline: auto; }
.narrow { width: min(calc(100% - 2rem), 52rem); margin-inline: auto; }

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid rgba(216, 224, 229, .75);
  background: rgba(246, 248, 249, .84);
  backdrop-filter: blur(1.25rem) saturate(150%);
}
.nav-row { min-height: 4.6rem; display: flex; align-items: center; gap: 1rem; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.brand-mark { width: 2.2rem; height: 2.2rem; }
.brand small { display: block; color: var(--muted); font-size: .68rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.nav-toggle {
  margin-left: auto;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: .85rem;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle:active, .button:active, .card-link:active { transform: scale(.97); transition: transform 100ms ease-out; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: "";
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: .25rem auto;
  border-radius: 2px;
  background: currentColor;
}
.site-nav {
  display: none;
  position: absolute;
  inset: calc(100% + .5rem) 1rem auto;
  padding: .55rem;
  border: 1px solid rgba(216, 224, 229, .85);
  border-radius: 1rem;
  background: rgba(255, 255, 255, .97);
  box-shadow: var(--shadow);
}
.site-nav.is-open { display: grid; }
.site-nav a { padding: .65rem .8rem; border-radius: .65rem; color: var(--ink); text-decoration: none; font-size: .94rem; font-weight: 650; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--steel); color: var(--blue-dark); }

main { overflow: clip; }
.breadcrumbs { padding-block: 1.15rem .25rem; color: var(--muted); font-size: .85rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .25rem .55rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .55rem; color: #9aa6ae; }
.breadcrumbs a { color: inherit; }

.hero { padding: clamp(2.25rem, 4vw, 2.75rem) 0 clamp(2.75rem, 5vw, 4rem); }
.hero-grid { display: grid; gap: 2rem; align-items: start; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 1rem;
  color: var(--blue-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .095em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 .28rem rgba(255, 122, 26, .14); }
h1, h2, h3 { margin: 0 0 .7em; line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
h1 { max-width: 16ch; font-size: clamp(2.5rem, 7.5vw, 5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.65rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.55rem); letter-spacing: -.02em; }
.lead { max-width: 42rem; margin: 0 0 1.55rem; color: var(--muted); font-size: clamp(1.05rem, 2.4vw, 1.3rem); line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .7rem 1rem;
  border: 1px solid transparent;
  border-radius: .85rem;
  background: var(--blue);
  color: white;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 .6rem 1.4rem rgba(11, 110, 232, .17);
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.button:hover { background: var(--blue-dark); color: white; transform: translateY(-2px); box-shadow: 0 .8rem 1.8rem rgba(11, 110, 232, .22); }
.button.secondary { border-color: var(--line); background: var(--surface); color: var(--ink); box-shadow: none; }
.button.secondary:hover { border-color: #b7c3ca; background: var(--steel); }
.button.small { min-height: 2.55rem; padding: .55rem .8rem; font-size: .9rem; }
.hero-visual {
  position: relative;
  min-height: 20rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216, 224, 229, .8);
  border-radius: clamp(1.35rem, 4vw, 2.5rem);
  background: linear-gradient(145deg, rgba(255,255,255,.97), rgba(229,236,240,.88));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-visual::before { content: ""; position: absolute; inset: 15% -10% auto auto; width: 13rem; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(11,110,232,.17), transparent 68%); }
.hero-visual img { position: relative; width: 92%; filter: drop-shadow(0 1.2rem 1rem rgba(28, 44, 54, .16)); }
.stat-strip { display: grid; gap: .7rem; margin-top: 1.6rem; }
.stat { padding: 1rem; border: 1px solid var(--line); border-radius: .9rem; background: rgba(255,255,255,.7); }
.stat strong { display: block; font-size: 1.35rem; letter-spacing: -.03em; }
.stat span { color: var(--muted); font-size: .82rem; }

.section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section.white { background: var(--surface); }
.section.dark { background: #17242d; color: white; }
.section.dark .muted, .section.dark .section-intro { color: #b9c5cc; }
.section-head { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 2rem; }
.section-head h2 { max-width: 16ch; margin-bottom: .2rem; }
.section-intro { max-width: 46rem; margin: 0; color: var(--muted); font-size: 1.08rem; }
.kicker { color: var(--blue-dark); font-size: .76rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.grid { display: grid; gap: 1rem; }
.grid.two, .grid.three, .grid.four { grid-template-columns: 1fr; }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 .5rem 1.6rem rgba(22, 36, 47, .045);
}
.card h3 { margin-bottom: .45rem; }
.card p { margin: 0 0 1rem; color: var(--muted); }
.card-link { display: inline-flex; align-items: center; gap: .35rem; margin-top: auto; font-weight: 750; text-decoration: none; }
/* Owner request 21.09: the whole model card is clickable (stretched link). */
.model-card .card-link::before { content: ""; position: absolute; inset: 0; }
.card-link::after { content: "→"; transition: transform .2s ease; }
.card-link:hover::after { transform: translateX(.2rem); }
.model-card { overflow: hidden; }
.model-card .card-link::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.model-card:focus-within { outline: 3px solid rgba(11,110,232,.28); outline-offset: 3px; }
.model-top { position: relative; min-height: 11rem; margin: -1.25rem -1.25rem 1.1rem; padding: 1.25rem; background: linear-gradient(145deg, #e7edf1, #f9fbfc); overflow: hidden; }
.model-top img { width: 100%; height: 9.2rem; object-fit: contain; filter: drop-shadow(0 .65rem .65rem rgba(22, 36, 47, .14)); }
.model-badge { position: absolute; inset: .8rem .8rem auto auto; padding: .3rem .55rem; border-radius: 999px; background: rgba(255,255,255,.9); color: var(--blue-dark); font-size: .7rem; font-weight: 800; letter-spacing: .04em; }
.spec-chips { display: flex; flex-wrap: wrap; gap: .45rem; margin: .6rem 0 1.1rem; }
.chip { padding: .3rem .55rem; border-radius: 999px; background: var(--steel); color: #34434e; font-size: .75rem; font-weight: 700; }

.feature { padding-left: 3.3rem; }
.feature-icon { position: absolute; inset: 1.2rem auto auto 1.2rem; width: 1.45rem; height: 1.45rem; color: var(--blue); }
.steps { counter-reset: steps; }
.step { position: relative; padding: 1.2rem 1.2rem 1.2rem 4.15rem; border-top: 1px solid var(--line); }
.step::before { counter-increment: steps; content: counter(steps); position: absolute; inset: 1rem auto auto .8rem; display: grid; width: 2.4rem; aspect-ratio: 1; place-items: center; border-radius: .8rem; background: var(--ink); color: white; font-weight: 800; }
.step h3 { margin-bottom: .3rem; }
.step p { margin: 0; color: var(--muted); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th, td { padding: .85rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #eff3f5; font-size: .78rem; letter-spacing: .03em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }
.spec-table th { width: 46%; }
.spec-table td { font-weight: 700; }

.notice { padding: 1rem 1.1rem; border-left: .28rem solid var(--orange); border-radius: .7rem; background: #fff5eb; color: #5f3b1f; }
.notice.blue { border-color: var(--blue); background: #edf5ff; color: #183d68; }
.prose { font-size: 1.04rem; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.75rem, 4vw, 2.6rem); }
.prose h3 { margin-top: 1.8em; }
.prose p, .prose li { color: #34434e; }
.prose p { margin: 0 0 1.15em; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: .45rem; }
.prose .lead { color: var(--muted); }
.article-meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-bottom: 2rem; color: var(--muted); font-size: .88rem; }
.related { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }

.pit-diagram { padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.faq { display: grid; gap: .65rem; }
.faq details { border: 1px solid var(--line); border-radius: 1rem; background: var(--surface); overflow: clip; }
.faq summary { padding: 1rem 3rem 1rem 1rem; cursor: pointer; font-weight: 750; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; inset: .8rem .9rem auto auto; font-size: 1.45rem; color: var(--blue); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 1rem 1.1rem; color: var(--muted); }

.contact-grid { display: grid; gap: 1.2rem; }
.contact-card { padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.contact-card dl { margin: 0; }
.contact-card dt { margin-top: .85rem; color: var(--muted); font-size: .78rem; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; }
.contact-card dd { margin: .15rem 0 0; font-weight: 750; }
.form-grid { display: grid; gap: .85rem; }
label { display: grid; gap: .35rem; color: #34434e; font-size: .85rem; font-weight: 750; }
input, textarea, select { width: 100%; padding: .75rem .85rem; border: 1px solid #bdc8cf; border-radius: .7rem; background: white; color: var(--ink); }
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(11,110,232,.18); border-color: var(--blue); }
textarea { min-height: 8rem; resize: vertical; }
.form-note { color: var(--muted); font-size: .8rem; }

.lead-form {
  width: 100%;
  max-width: 46rem;
  margin-top: 1.25rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255,255,255,.9);
  color: var(--ink);
  box-shadow: 0 .55rem 1.6rem rgba(22,36,47,.07);
}
.lead-form-copy { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .55rem; margin-bottom: .7rem; }
.lead-form-copy strong { font-size: 1rem; }
.lead-form-copy span { color: var(--muted); font-size: .82rem; }
.lead-form-fields { display: grid; gap: .65rem; }
.lead-form input { min-height: 3rem; }
.lead-form .button { width: 100%; cursor: pointer; }
.lead-form .button:disabled { cursor: wait; opacity: .7; }
.lead-form-status { min-height: 1.25em; margin: .5rem 0 0; color: var(--muted); font-size: .82rem; }
.lead-form-status:empty { display: none; }
.lead-form-status[data-state="error"] { color: #a02b20; }
.lead-form-status[data-state="success"] { color: #096446; font-size: 1rem; font-weight: 800; }
.lead-form.is-success .lead-form-copy,
.lead-form.is-success .lead-form-fields { display: none; }
.lead-form.is-success .lead-form-status { margin: 0; }
.lead-form--compact { max-width: 42rem; }
.lead-form--contact { margin-top: 0; }
.lead-form--contact .lead-form-fields { grid-template-columns: 1fr; }
.cta .lead-form { margin-top: 0; box-shadow: none; }
.cta .lead-form-copy span { color: var(--muted); }
.cta .lead-form .button { background: var(--blue); color: white; }
.cta .lead-form .button:hover { background: var(--blue-dark); }

.cta { display: grid; gap: 1.5rem; align-items: center; padding: clamp(1.5rem, 5vw, 3rem); border-radius: clamp(1.3rem, 4vw, 2rem); background: linear-gradient(135deg, #0a64d2, #084b9f); color: white; box-shadow: 0 1.5rem 3rem rgba(8,75,159,.2); }
.cta h2 { max-width: 14ch; margin-bottom: .3rem; }
.cta p { max-width: 42rem; margin: 0; color: #dcecff; }
.cta .button { background: white; color: var(--blue-dark); box-shadow: none; }
.cta .button:hover { background: #eef5ff; }

.site-footer { padding: 3rem 0; background: #111b22; color: #d3dce2; }
.footer-grid { display: grid; gap: 2rem; }
.footer-title { margin-bottom: .7rem; color: white; font-weight: 800; }
.footer-links { display: grid; gap: .45rem; }
.footer-links a { color: #c0ccd3; text-decoration: none; }
.footer-links a:hover { color: white; }
.fineprint { margin: 2rem 0 0; padding-top: 1rem; border-top: 1px solid #2f3c45; color: #91a0aa; font-size: .78rem; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (min-width: 38rem) {
  .stat-strip { grid-template-columns: repeat(3, 1fr); }
  .grid.two, .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid.two .full { grid-column: 1 / -1; }
  .lead-form-fields { grid-template-columns: minmax(13rem, 1fr) auto; }
  .lead-form .button { width: auto; }
  .lead-form--contact .lead-form-fields { grid-template-columns: 1fr; }
}
@media (min-width: 60rem) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; position: static; margin-left: auto; padding: 0; border: 0; background: transparent; box-shadow: none; }
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(26rem, .95fr); gap: clamp(2rem, 5vw, 4rem); }
  .hero-grid > .hero-visual { align-self: start; }
  .hero-grid h1 { font-size: clamp(3.5rem, 5vw, 4.6rem); }
  .grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .section-head { flex-direction: row; align-items: end; justify-content: space-between; }
  .section-head .section-intro { max-width: 35rem; }
  .cta { grid-template-columns: minmax(0, .9fr) minmax(28rem, 1.1fr); }
  .footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .button:hover, .card-link:hover::after { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--paper); backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --line: #88949c; --muted: #46525b; }
  .site-header { background: #fff; }
}

/* --- photographs (generated site imagery) --- */
.photo { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--steel); }

/* model / pit cards: photo fills the card top edge-to-edge */
.model-top.has-photo, .model-top:has(> .photo) { padding: 0; min-height: 0; }
.model-top > .photo { width: 100%; height: clamp(9.5rem, 26vw, 12rem); object-fit: cover; filter: none; border-radius: 0; }
.pit-card { overflow: hidden; }
.pit-card .model-top { margin: -1.25rem -1.25rem 1.1rem; min-height: 0; padding: 0; }

/* hero + standalone photo blocks */
.hero-visual.photo-frame { padding: 0; min-height: 0; }
.hero-visual.photo-frame::before { content: none; }
.hero-visual.photo-frame > .photo {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  filter: none;
  border-radius: inherit;
}
.photo-frame {
  margin: 0;
  border: 1px solid rgba(216, 224, 229, .8);
  border-radius: var(--radius);
  background: var(--steel);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.photo-frame.wide > .photo, figure.photo-frame > .photo { aspect-ratio: 3 / 2; height: auto; }
.photo-caption {
  padding: .75rem 1.1rem .9rem;
  background: var(--surface);
  color: var(--muted);
  font-size: .86rem;
}
.article-hero { margin: 0 0 1.8rem; }
.article-hero > .photo { aspect-ratio: 16 / 9; }

@media (prefers-reduced-motion: no-preference) {
  .model-card .photo { transition: transform .35s ease; }
  .model-card:hover .photo { transform: scale(1.035); }
}
