:root {
  color-scheme: light;
  --forest: #153e30;
  --deep: #103328;
  --ink: #173c2f;
  --paper: #f7f3e9;
  --cream: #f6ebd4;
  --sand: #eae5d7;
  --copper: #e4a27b;
  --rust: #915034;
  --muted: #526357;
  --line: #d8d8cb;
  --sans: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--sans); }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.1; }
h2 { font-size: clamp(2rem, 4.3vw, 3.55rem); letter-spacing: -.055em; font-weight: 720; }
h3 { font-size: clamp(1.2rem, 2.1vw, 1.55rem); letter-spacing: -.032em; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #ab6242; outline-offset: 4px; }
.hero :focus-visible, .quote :focus-visible, .masthead :focus-visible, footer :focus-visible { outline-color: var(--copper); }
.wrap { width: min(1200px, calc(100% - 104px)); margin-inline: auto; }
.skip { position: fixed; z-index: 5; inset: 8px auto auto 8px; padding: 10px 16px; background: var(--paper); transform: translateY(-140%); }
.skip:focus { transform: translateY(0); }

.masthead { background: var(--forest); color: var(--cream); border-bottom: 1px solid #476356; }
.topbar, nav { display: flex; align-items: center; }
.topbar { min-height: 75px; justify-content: space-between; gap: 18px; }
.brand { display: block; flex-shrink: 0; text-decoration: none; }
.brand > span { font-size: 1.65rem; font-weight: 740; letter-spacing: -.055em; }
.brand em { color: var(--copper); font-family: var(--serif); font-weight: 400; }
nav { gap: clamp(18px, 2.5vw, 38px); }
.nav-link { font-size: .91rem; text-decoration: none; }
.nav-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 15px;
  padding: 13px 20px; min-height: 49px; border: 1px solid transparent; border-radius: 4px;
  font-size: .94rem; font-weight: 720; text-decoration: none; line-height: 1.25;
  transition: background-color .18s, color .18s, border-color .18s;
}
.button.small { padding: 9px 13px; min-height: 40px; font-size: .85rem; }
.button.copper { background: var(--copper); color: #20352a; }
.button.copper:hover { background: #f0bb99; }
.button:disabled { opacity: .7; cursor: default; }
.button.outline-light { border-color: #83988a; color: var(--cream); background: transparent; }
.button.outline-light:hover { background: #315749; border-color: #b0bcaa; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: .94rem; text-decoration: underline; text-underline-offset: 4px; }
.text-link.light { color: var(--cream); }
.text-link:hover { text-decoration-thickness: 2px; }
.eyebrow, .technical { font: 600 .73rem/1.5 var(--mono); letter-spacing: .11em; }
.eyebrow { display: flex; gap: 10px; align-items: center; color: #dfb18f; margin-bottom: 20px; }
.eyebrow.ink, .technical { color: var(--rust); }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex-shrink: 0; }

.hero { background: var(--forest); color: var(--cream); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(30px, 6vw, 82px);
  padding-block: clamp(34px, 5.4vw, 76px);
}
.hero h1 { font-size: clamp(3rem, 5.9vw, 5.25rem); font-weight: 720; line-height: .98; letter-spacing: -.07em; }
.hero h1 em { display: block; margin-top: 4px; color: var(--copper); font: italic 400 1.02em/1 var(--serif); letter-spacing: -.06em; }
.hero h1 span { display: block; margin-top: 10px; font-size: .48em; font-weight: 650; letter-spacing: -.045em; }
.hero-intro { max-width: 40ch; margin: 21px 0 18px; color: #efe8d6; font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.45; }
.hero-note { margin-top: 12px; color: #d4ddcc; font-size: .85rem; }
.hero-questions { padding-inline: clamp(15px, 2.6vw, 30px); border: 1px solid #587766; border-radius: 6px; background: #1a4436; }
.hero-questions div { padding-block: clamp(14px, 2.05vw, 23px); }
.hero-questions div + div { border-top: 1px solid #587766; }
.hero-questions dt { font-size: clamp(1.05rem, 1.65vw, 1.25rem); font-weight: 700; line-height: 1.25; }
.hero-questions dd { max-width: 46ch; margin-top: 5px; color: #d4ddcc; font-size: .94rem; line-height: 1.45; }

.section { padding-block: clamp(48px, 6.9vw, 97px); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(26px, 5vw, 76px); }
.section-intro { max-width: 43ch; margin-top: 18px; color: var(--muted); font-size: 1.05rem; }

.examples { padding-block: clamp(32px, 4.5vw, 62px); }
.sample-heading { margin-bottom: 24px; }
.sample-heading h2 { font-size: clamp(2.1rem, 4.5vw, 3.65rem); }
.sample-aircraft { margin-top: 8px; font-size: clamp(1rem, 2vw, 1.28rem); font-weight: 650; }
.sample-note { margin-top: 4px; color: var(--muted); font-size: .88rem; }
.sample-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) repeat(2, minmax(0, 1fr)); gap: 16px; }
.sample { min-width: 0; border: 1px solid #d4d5c6; border-radius: 6px; background: #fcf9f1; }
.sample-title { padding: 15px 17px; font-size: clamp(1.18rem, 2.1vw, 1.5rem); letter-spacing: -.032em; }
.sample-art { display: grid; height: clamp(205px, 22vw, 265px); padding: 13px; border-top: 1px solid #d4d5c6; border-radius: 0 0 5px 5px; background: #eae9de; }
.circuit-previews { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 13px; }
.sample-preview { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-width: 0; min-height: 0; gap: 7px; text-align: center; text-decoration: none; border-radius: 3px; }
.sample-preview img { width: 100%; height: 100%; min-height: 0; object-fit: contain; filter: drop-shadow(0 2px 3px #173c2f2b); transition: transform .18s; }
.sample-preview:hover img { transform: scale(1.02); }
.sample-format { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; color: var(--ink); font-size: .86rem; font-weight: 650; }
.sample-preview:hover .sample-format { text-decoration: underline; text-underline-offset: 3px; }
.kneeboard-preview { grid-template-rows: minmax(0, 1fr) auto; justify-items: center; gap: 7px; }
.kneeboard-preview .sample-preview { width: 100%; grid-template-rows: minmax(0, 1fr); }

.package { background: #ebeadd; border-block: 1px solid #dfded1; }
.product-list { border-top: 1px solid #c5cbbc; }
.product-list div { display: grid; grid-template-columns: 31px 1fr; gap: 6px 10px; padding: 17px 0; border-bottom: 1px solid #c5cbbc; }
.product-list span, .steps li > span { font: 700 .78rem/1.9 var(--mono); color: var(--rust); }
.product-list dt { font-size: 1.23rem; font-weight: 720; line-height: 1.2; }
.product-list dd { grid-column: 2; color: var(--muted); }

.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; padding: 0; margin: 32px 0; }
.steps li { border-top: 1px solid #b9c4b6; padding: 14px 0 0; }
.steps h3 { margin: 7px 0 9px; }
.steps p, .print-strip > p { color: var(--muted); }
.print-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: center; padding: 21px 24px; border: 1px solid #d6d7c9; border-radius: 5px; background: #efeee1; }
.print-strip .technical { margin-bottom: 6px; }

.faq { background: #ebeadd; border-top: 1px solid #dfded1; }
.answers { border-top: 1px solid #c5cbbc; }
.answers details { border-bottom: 1px solid #c5cbbc; padding-block: 14px; }
.answers summary { cursor: pointer; font-weight: 680; }
.answers summary::marker { color: var(--rust); }
.answers p { color: var(--muted); margin-top: 9px; }

.quote { background: var(--deep); color: var(--cream); padding-block: clamp(40px, 5.5vw, 76px); }
.quote .section-intro, .form-note { color: #d0dbcd; }
.request-heading { margin-bottom: 25px; }
.quote .section-intro { max-width: 63ch; }
.upload-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.upload-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(14px, 1.75vw, 22px);
  border: 1px solid #ddd6bf;
  border-top: 3px solid var(--copper);
  border-radius: 5px;
  background: var(--paper);
  color: var(--ink);
}
.quote label { display: block; font-size: .9rem; font-weight: 650; }
.quote label span { color: #d0dbcd; font-size: .8rem; font-weight: 400; }
.upload-card label { font-size: 1rem; }
.upload-card label span, .upload-card p { color: var(--muted); }
.upload-card p { margin: 4px 0 15px; font-size: .86rem; }
.upload-card:focus-within { border-color: var(--copper); }
.upload-card :focus-visible { outline-color: var(--rust); }
.upload-card input { width: 100%; min-width: 0; margin-top: auto; color: var(--ink); font-size: .85rem; }
.upload-card input::file-selector-button {
  margin-right: 8px;
  padding: 8px 9px;
  border: 1px solid #afbeb0;
  border-radius: 4px;
  background: #e6ebe1;
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.upload-card input::file-selector-button:hover { background: #d5e0d4; }
.remove-photo { align-self: flex-start; margin-top: 8px; padding: 0; border: 0; background: transparent; color: var(--rust); font-size: .78rem; }
.contact-fields { min-inline-size: 0; margin: 30px 0 0; padding: 0; border: 0; }
.contact-fields legend, .pricing h3 { padding: 0; font-size: 1.35rem; font-weight: 720; letter-spacing: -.03em; line-height: 1.2; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 15px; }
.fields input { display: block; width: 100%; min-width: 0; margin-top: 5px; padding: 10px; border: 1px solid #718b7b; border-radius: 4px; background: #244b3e; color: #fff8eb; }
.fields input::placeholder { color: #c9d6c8; font-size: .86rem; }
.pricing { margin-top: 30px; padding-top: 24px; border-top: 1px solid #567466; }
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 15px; }
.price-grid div { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 14px; padding: 13px clamp(12px, 2vw, 20px); border: 1px solid #567466; border-radius: 5px; background: #1b4336; }
.price-grid dt { font-size: .91rem; font-weight: 650; }
.price-grid dd { color: var(--copper); font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 720; letter-spacing: -.055em; line-height: 1.12; }
.revision { margin-top: 12px; color: #d0dbcd; font-size: .9rem; }
.revision strong { color: var(--cream); }
.request-actions { margin-top: 23px; }
.form-note { margin-top: 8px; font-size: .85rem; }
#request-status:empty { margin-top: 0; }
#request-status[data-error] { color: #ffcca9; }

footer { background: var(--forest); color: var(--cream); border-top: 1px solid #4a6857; padding-block: 23px; }
.footer-grid { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 25px; }
footer p { color: #e0e3d2; max-width: 77ch; font-size: .8rem; }
footer strong { color: var(--cream); }
.top-link { white-space: nowrap; }

dialog { color: var(--ink); background: var(--paper); border: 1px solid #c3ccbc; border-radius: 7px; width: min(1100px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: clamp(14px, 3vw, 29px); }
dialog::backdrop { background: #0b241bd9; }
dialog header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 5px; }
dialog h2 { font-size: clamp(1.23rem, 3vw, 1.95rem); }
dialog p { color: var(--muted); font-size: .88rem; margin-bottom: 14px; }
dialog img { width: 100%; max-height: 70dvh; object-fit: contain; background: var(--sand); border-radius: 4px; margin-bottom: 13px; }
.close { color: var(--ink); background: transparent; border: 1px solid #c5cbbb; border-radius: 4px; width: 39px; height: 39px; font-size: 1.42rem; line-height: 1; }

@media (max-width: 960px) {
  .wrap { width: calc(100% - 64px); }
}
@media (max-width: 840px) {
  .sample-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sample-circuit { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 40px); }
  .topbar { min-height: 61px; }
  .topbar .brand > span { font-size: 1.45rem; }
  .nav-link { display: none; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.55rem, 10.4vw, 4.45rem); }
  .section-intro { margin-top: 12px; }
  .upload-grid { grid-template-columns: 1fr; gap: 10px; }
  .steps { gap: 16px; }
  .footer-grid { grid-template-columns: 1fr auto; gap: 14px; }
  .footer-grid p { grid-area: 2 / 1 / 3 / -1; }
}
@media (max-width: 500px) {
  .sample-grid, .steps, .print-strip, .fields { grid-template-columns: 1fr; }
  .steps { margin-block: 22px; }
  .print-strip { gap: 10px; }
}
@media (max-width: 350px) {
  .wrap { width: calc(100% - 30px); }
  .topbar .button { padding-inline: 8px; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
