@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:400 600;font-display:swap;src:url(/assets/fonts/IBMPlexSans-var.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Source Serif 4';font-style:normal;font-weight:400 600;font-display:swap;src:url(/assets/fonts/SourceSerif4-var.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
/* Walls Aircraft — site styles. Palette comes from the logo (#224185) and the Walls email signature (#16243D, #8C6D2F). */
:root {
  --ink: #16243d;
  --blue: #224185;
  --brass: #8c6d2f;
  --paper: #ffffff;
  --mist: #eef1f5;
  --text: #263246;
  --slate: #5a6473;
  --rule: #d9dee6;
  --focus: #224185;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 112px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

h1, h2, h3 { color: var(--ink); margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 600; font-optical-sizing: auto; letter-spacing: -0.01em; }
h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.08; }
h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; }
h3 { font: 600 19px/1.35 var(--sans); }
p { margin: 0 0 1em; max-width: 68ch; }
.lede { font-size: 20px; line-height: 1.55; color: var(--text); max-width: 60ch; }
.muted { color: var(--slate); }
.small { font-size: 14px; line-height: 1.55; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section + .section { padding-top: 0; }
.band { background: var(--mist); }
.band + .section, .section + .band, .section + .section.dark { padding-top: var(--section); }
.dark { background: var(--ink); color: #e7ebf2; --focus: #ffffff; }
.dark h1, .dark h2, .dark h3 { color: #ffffff; }
.dark a { color: #ffffff; }
.dark .muted { color: #b6bfcd; }

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

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: block; width: 228px; flex: none; }
.brand img { width: 100%; height: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--brass); }
.nav .call { color: var(--blue); font-weight: 600; font-variant-numeric: tabular-nums; }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; font: 600 15px/1 var(--sans); color: var(--ink); padding: 10px 14px; border: 1px solid var(--rule); border-radius: 2px; }
.menu summary::-webkit-details-marker { display: none; }

@media (max-width: 960px) {
  .brand { width: 180px; }
  .nav { display: none; }
  .menu { display: block; }
  .menu[open] .menu-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--rule); padding: 8px var(--gutter) 20px; }
  .menu-panel a { display: block; padding: 12px 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; font-weight: 500; }
  .menu-panel a:last-child { border-bottom: 0; color: var(--blue); font-weight: 600; }
}

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn { display: inline-block; font: 600 15px/1 var(--sans); padding: 15px 22px; border-radius: 2px; text-decoration: none; border: 1px solid var(--blue); background: var(--blue); color: #fff; }
.btn:hover { background: var(--ink); border-color: var(--ink); text-decoration: none; }
.btn.line { background: transparent; color: var(--blue); }
.btn.line:hover { background: var(--blue); color: #fff; }
.dark .btn { background: #fff; color: var(--ink); border-color: #fff; }
.dark .btn:hover { background: transparent; color: #fff; }
.dark .btn.line { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.dark .btn.line:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* Home hero: reads like the top sheet of a listing file */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: min(640px, 78vh); }
.hero-copy { background: var(--ink); color: #e7ebf2; --focus: #ffffff; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 64px); }
.hero-copy h1 { color: #fff; max-width: 17ch; font-size: clamp(34px, 4.2vw, 54px); }
.hero-copy p { color: #c9d0dc; margin-top: 24px; max-width: 42ch; font-size: 18px; }
.hero-copy .motto { margin: 40px 0 0; padding-top: 16px; border-top: 1px solid var(--brass); color: #d9c49b; font-size: 15px; letter-spacing: 0.01em; }
.hero-photo { position: relative; background: var(--mist); }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 60%; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { order: -1; aspect-ratio: 16 / 10; }
  .hero-copy h1 { max-width: none; }
}

/* Listing file strip under the hero */
.file { border-top: 3px solid var(--brass); background: var(--paper); }
.file .wrap { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; padding-top: 22px; padding-bottom: 22px; }
.file-title { font: 600 21px/1.25 var(--serif); color: var(--ink); }
.file-title span { display: block; font: 400 14px/1.4 var(--sans); color: var(--slate); margin-top: 4px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; }
.facts div { padding: 2px 20px; border-left: 1px solid var(--rule); }
.facts dt { font-size: 13px; color: var(--slate); }
.facts dd { margin: 2px 0 0; font: 600 18px/1.3 var(--sans); color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 960px) {
  .file .wrap { grid-template-columns: 1fr; gap: 18px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
  .facts div:nth-child(odd) { border-left: 0; padding-left: 0; }
}

/* Generic layouts */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split > .head { position: sticky; top: 110px; }
.head p { margin-top: 20px; }
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.cols.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.col { border-top: 1px solid var(--ink); padding-top: 20px; }
.col h3 { margin-bottom: 10px; }
.col p { font-size: 16px; }
@media (max-width: 860px) {
  .split, .cols, .cols.two { grid-template-columns: 1fr; }
  .split > .head { position: static; }
}

.page-head { padding: clamp(48px, 7vw, 88px) 0 clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--rule); }
.page-head p { margin-top: 18px; }

/* Stepped process (a real sequence) */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--rule); }
.steps li:last-child { border-bottom: 1px solid var(--rule); }
.steps li::before { content: counter(step, decimal-leading-zero); font: 600 20px/1.3 var(--serif); color: var(--brass); font-variant-numeric: tabular-nums; }
.steps h3 { margin-bottom: 4px; }
.steps p { margin: 0; font-size: 16px; color: var(--slate); }

/* Lists */
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { padding: 11px 0; border-top: 1px solid var(--rule); }
.ticks li:last-child { border-bottom: 1px solid var(--rule); }
.ticks.two { columns: 2; column-gap: 40px; }
.ticks.two li { break-inside: avoid; }
@media (max-width: 640px) { .ticks.two { columns: 1; } }

/* Spec tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.spec { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 16px; }
.spec caption { text-align: left; font: 600 19px/1.35 var(--sans); color: var(--ink); padding-bottom: 12px; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 11px 16px 11px 0; border-top: 1px solid var(--rule); }
.spec thead th { font-size: 14px; font-weight: 500; color: var(--slate); border-top: 0; padding-top: 0; }
.spec tbody tr:last-child th, .spec tbody tr:last-child td { border-bottom: 1px solid var(--rule); }
.spec tbody th { font-weight: 500; color: var(--slate); width: 38%; }
.spec td.num, .spec th.num { text-align: right; padding-right: 0; }
.spec-block + .spec-block { margin-top: 48px; }

/* Aircraft listing card on /aircraft/ */
.listing { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.listing h2 { margin: 6px 0 4px; }
.listing .serial { color: var(--slate); margin: 0 0 20px; }
@media (max-width: 860px) { .listing { grid-template-columns: 1fr; } }

/* Gallery */
.gallery-main { margin: 0; }
.gallery-main img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.thumbs a { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs a:hover img { opacity: .88; }
@media (max-width: 640px) { .thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.viewer { border: 0; padding: 0; max-width: min(1400px, 96vw); width: 100%; background: var(--ink); color: #fff; }
.viewer::backdrop { background: rgba(10, 18, 32, .92); }
.viewer figure { margin: 0; }
.viewer img { width: 100%; max-height: 80vh; object-fit: contain; background: #0d1626; }
.viewer-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; }
.viewer-bar figcaption { font-size: 15px; color: #c9d0dc; }
.viewer-bar .controls { display: flex; gap: 8px; }
.viewer button { font: 600 14px/1 var(--sans); padding: 11px 14px; border-radius: 2px; border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff; cursor: pointer; --focus: #fff; }
.viewer button:hover { border-color: #fff; }

/* Aircraft detail */
.aircraft-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 56px); align-items: start; padding-top: clamp(32px, 5vw, 56px); }
.aircraft-head h1 { font-size: clamp(32px, 4vw, 46px); }
.aircraft-head .serial { color: var(--slate); margin: 10px 0 24px; }
.inquire { margin-top: 28px; padding: 24px; background: var(--mist); }
.inquire h2 { font-size: 24px; }
.inquire p { font-size: 16px; margin-top: 8px; }
.inquire .actions { margin-top: 16px; }
.aircraft-head .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
.aircraft-head .facts div:nth-child(odd) { border-left: 0; padding-left: 0; }
.wide-head { max-width: 760px; margin-bottom: 36px; }
.wide-head p { margin-top: 16px; }
@media (max-width: 860px) { .aircraft-head { grid-template-columns: 1fr; } }

.note { border-left: 3px solid var(--brass); padding: 4px 0 4px 18px; margin: 32px 0 0; }
.note p { margin: 0; font-size: 15px; color: var(--slate); }

/* Contact */
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; }
.person h3 { font: 600 24px/1.25 var(--serif); }
.person .role { color: var(--slate); margin: 2px 0 16px; }
.lines { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; }
.lines dt { color: var(--slate); font-size: 15px; }
.lines dd { margin: 0; font-variant-numeric: tabular-nums; }
.dark .lines dt { color: #b6bfcd; }

/* Closing contact band */
.cta .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.cta p { margin-top: 16px; }
@media (max-width: 860px) { .cta .wrap { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--ink); color: #b6bfcd; font-size: 15px; padding: 56px 0 40px; border-top: 3px solid var(--brass); }
.site-footer .top { display: grid; grid-template-columns: minmax(0, 4fr) repeat(2, minmax(0, 3fr)); gap: 40px; }
.site-footer img { width: 210px; }
.site-footer p { margin: 18px 0 0; max-width: 40ch; }
.site-footer h2 { font: 600 15px/1.4 var(--sans); color: #fff; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 4px 0; }
.site-footer a { color: #e7ebf2; text-decoration: none; --focus: #fff; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .legal { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); font-size: 13px; color: #8e99ab; }
.site-footer .legal p { max-width: none; margin: 0 0 6px; }
@media (max-width: 860px) { .site-footer .top { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
@media print { .site-header, .site-footer, .cta, .thumbs, .actions { display: none !important; } }

/* Utilities (no inline styles: the CSP blocks them) */
.mt-12 { margin-top: 12px; }
.mt-20 { margin-top: 20px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.h-sub { font-size: 28px; }
.list-h { margin-bottom: 12px; }
.no-rule { border-bottom: 0; }
a.plain { color: inherit; text-decoration: none; }
a.plain:hover { color: var(--blue); }
