/* R&B Aircraft — shared site styles.
   Every page links this file. Page-specific styles go in the page's own <style> block. */

:root {
  --paper: #ffffff;
  --ink: #17233a;        /* evening sky over the strip */
  --muted: #5f6878;
  --rule: #e1e4ea;
  --leader: #b8bec9;
  --tint: #f1f4f9;
  --credit: #2e6b3e;     /* grass */
  --error: #b3261e;
  --on-ink: #ffffff;
  --sans: "Libre Franklin", "Franklin Gothic Medium", "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #10151e; --ink: #e9edf3; --muted: #9ba5b4; --rule: #252e3c; --leader: #475266;
    --tint: #18202c; --credit: #7fcf95; --error: #ff8a80; --on-ink: #10151e;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #10151e; --ink: #e9edf3; --muted: #9ba5b4; --rule: #252e3c; --leader: #475266;
  --tint: #18202c; --credit: #7fcf95; --error: #ff8a80; --on-ink: #10151e;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; font-variant-numeric: tabular-nums; }
img { max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }

/* Width helpers */
.gutter { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.col { max-width: 780px; margin: 0 auto; }
.wide { max-width: 1100px; margin: 0 auto; }

/* Header */
header.site .wide { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; padding-block: 18px; }
.logo { font-weight: 800; font-size: 22px; letter-spacing: -.01em; text-decoration: none; }
.logo small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); letter-spacing: 0; }
nav.site-nav { display: flex; gap: 6px 20px; flex-wrap: wrap; font-size: 15px; }
nav.site-nav a { color: var(--muted); text-decoration: none; }
nav.site-nav a:hover { color: var(--ink); }
nav.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }

/* Photo banner with headline */
.hero { position: relative; max-width: 1100px; margin: 0 auto; }
.hero img { display: block; width: 100%; height: clamp(240px, 44vw, 480px); object-fit: cover; object-position: center 62%; }
.hero .caption {
  position: absolute; inset: auto 0 0 0; color: #fff;
  background: linear-gradient(to top, rgba(10, 16, 28, .78), rgba(10, 16, 28, 0));
  padding-top: 80px; padding-bottom: 26px;
  padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px));
}
.hero h1 { font-size: clamp(32px, 5.4vw, 54px); font-weight: 800; line-height: 1.02; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
.hero p { margin: 8px 0 0; max-width: 52ch; font-size: 17px; color: rgba(255, 255, 255, .88); }
@media (min-width: 1132px) { .hero img { border-radius: 0 0 4px 4px; } }
@media (max-width: 620px) {
  .hero img { height: 230px; object-position: center 58%; }
  .hero .caption { position: static; background: #17233a; padding-top: 18px; padding-bottom: 22px;
    padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
}

/* Headings and text */
.section { padding-block: 56px 0; }
.label { font-size: 15px; font-weight: 600; color: var(--muted); margin: 0 0 12px; }
h2.big { font-size: clamp(26px, 3.6vw, 34px); font-weight: 800; letter-spacing: -.015em; line-height: 1.15; margin: 0 0 8px; text-wrap: balance; }
.lede { color: var(--muted); margin: 0 0 22px; max-width: 58ch; }

/* Price-sheet line: label ....... value */
.line { display: flex; align-items: baseline; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.line .txt { min-width: 0; }
.line .txt small { display: block; font-size: 13.5px; color: var(--muted); }
.lead { flex: 1 1 20px; min-width: 16px; border-bottom: 2px dotted var(--leader); transform: translateY(-5px); align-self: baseline; height: 1px; }
.amt { flex: none; white-space: nowrap; font-weight: 500; }
.sheet-head { font-size: 19px; font-weight: 800; letter-spacing: -.01em; margin: 0; padding-bottom: 6px; border-bottom: 2px solid var(--ink); }
a.line:hover { background: var(--tint); }

/* Buttons */
.btn { display: inline-block; font: inherit; font-weight: 600; font-size: 16px; background: var(--ink); color: var(--on-ink); border: 0; border-radius: 3px; padding: 12px 20px; cursor: pointer; text-decoration: none; }
.btn:hover { opacity: .9; }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Footer */
footer.site { border-top: 1px solid var(--rule); color: var(--muted); font-size: 14px; margin-top: 72px; }
footer.site .wide { padding-block: 22px 28px; display: flex; flex-wrap: wrap; gap: 6px 28px; }
footer.site a { text-decoration: none; }
footer.site a:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
