/* =====================================================================================================================
   THE STARTER DESIGN: the look every Tenshi template starts from.
   Colours come from four variables written by layout.html.j2 from the template (and the site's own Theme choices):
     --p primary   --a accent   --s page background   --i text
   The body has one of three shapes: .style-clean (light, rounded), .style-bold (square, strong), .style-elegant (serif, calm).
   ===================================================================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.65 var(--font-body, system-ui, "Segoe UI", sans-serif); color: var(--i); background: var(--s); }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--p); }
h1, h2, h3 { font-family: var(--font-head, inherit); line-height: 1.12; margin: 0 0 .5em; color: var(--i); }
h1 { font-size: clamp(2.2rem, 5.6vw, 4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 40px); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; padding: 8px 12px; }
:focus-visible { outline: 3px solid var(--a); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border: 2px solid var(--p); border-radius: 10px;
  background: var(--p); color: #fff; font: 700 1rem/1.2 var(--font-body, inherit); text-decoration: none; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background-color .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px color-mix(in srgb, var(--p) 70%, transparent); }
.btn-line { background: transparent; color: var(--p); }
.btn-light { background: #fff; color: var(--p); border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }

/* Header and menu */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--s) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid color-mix(in srgb, var(--i) 10%, transparent); }
.top-in { display: flex; align-items: center; gap: 20px; min-height: 70px; }
.brand { font: 800 1.25rem/1 var(--font-head, inherit); color: var(--i); text-decoration: none; }
.brand img { height: 44px; width: auto; }
.menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.menu a { padding: 8px 12px; border-radius: 8px; color: var(--i); text-decoration: none; font-weight: 600; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--p); background: color-mix(in srgb, var(--p) 9%, transparent); }
.menu .menu-call { background: var(--p); color: #fff; margin-left: 8px; }
.menu .menu-call:hover { color: #fff; background: color-mix(in srgb, var(--p) 85%, #000); }
.menu-btn { display: none; margin-left: auto; padding: 8px 14px; font: inherit; font-weight: 700; background: none; border: 1px solid currentColor; border-radius: 8px; color: var(--i); }

/* Sections */
.band { padding: clamp(56px, 9vw, 110px) 0; }
.band:nth-of-type(even) { background: color-mix(in srgb, var(--i) 3%, var(--s)); }
.intro { max-width: 46em; font-size: 1.1rem; margin-bottom: 2em; }
.center { text-align: center; }
.center .intro, .center .prose { margin-inline: auto; }
.empty-note { padding: 20px; border: 2px dashed color-mix(in srgb, var(--i) 25%, transparent); border-radius: 10px; color: color-mix(in srgb, var(--i) 65%, transparent); }
.caption, figcaption { font-size: .9rem; color: color-mix(in srgb, var(--i) 70%, transparent); margin-top: .7em; }

/* Hero */
.hero { padding: clamp(60px, 11vw, 140px) 0; color: #fff; background:
  radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--a) 45%, transparent), transparent 45%),
  linear-gradient(135deg, var(--p), color-mix(in srgb, var(--p) 65%, #000)); }
.hero h1, .hero .lead, .hero .kicker { color: #fff; }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 60px); align-items: center; }
.hero-centered .hero-in, .hero-background .hero-in { grid-template-columns: 1fr; text-align: center; }
.hero-centered .actions, .hero-background .actions { justify-content: center; }
.hero-centered .lead, .hero-background .lead { margin-inline: auto; }
.hero-background { background: linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.55)), var(--hero-img, none) center / cover, var(--p); }
.hero .lead { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 34em; opacity: .95; }
.kicker { text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; font-weight: 800; }
.hero .btn { background: #fff; color: var(--p); border-color: #fff; }
.hero .btn-line { background: transparent; color: #fff; }
.hero-pic img { border-radius: 16px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }

/* Cards (services, team, contact) */
.cards { display: grid; gap: 22px; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.cards-2 { --cols: 2; } .cards-3 { --cols: 3; } .cards-4 { --cols: 4; }
.card { padding: 26px; background: #fff; border-radius: 14px; box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 14px 30px -24px rgba(0,0,0,.35); border-top: 4px solid var(--a); }
.card-pic { margin: -26px -26px 18px; width: calc(100% + 52px); max-width: none; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px 14px 0 0; }
.price { font-weight: 800; color: var(--p); }
.person { text-align: center; }
.person img, .person-initial { width: 150px; height: 150px; margin: 0 auto 14px; border-radius: 50%; object-fit: cover; }
.person-initial { display: grid; place-items: center; font: 800 3rem/1 var(--font-head, inherit); color: #fff; background: var(--p); }
.role { color: var(--p); font-weight: 700; }

/* Testimonials */
.quotes { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.quote { margin: 0; padding: 28px; background: #fff; border-radius: 14px; border-left: 5px solid var(--p); }
.quote footer { font-weight: 700; }
.stars { color: #f2a900; letter-spacing: .1em; margin: 0 0 .4em; }

/* Call to action */
.cta { padding: clamp(48px, 7vw, 80px) 0; background: var(--p); color: #fff; }
.cta h2, .cta p { color: #fff; }
.cta-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }

/* Galleries: masonry (columns), grid (equal squares), carousel (sideways scroll) */
.gallery-masonry { columns: 3 260px; column-gap: 14px; }
.gallery-masonry .gallery-item { display: block; margin-bottom: 14px; break-inside: avoid; }
.gallery-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.gallery-grid img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.gallery-carousel { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
.gallery-carousel .gallery-item { flex: 0 0 min(80%, 520px); scroll-snap-align: start; }
.gallery-item { position: relative; overflow: hidden; border-radius: 12px; }
.gallery-item img { transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 12px 10px; color: #fff; font-size: .85rem; background: linear-gradient(transparent, rgba(0,0,0,.65)); }

/* Portfolio and before/after */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filters button { padding: 8px 16px; font: inherit; font-weight: 700; border: 1px solid color-mix(in srgb, var(--i) 20%, transparent); border-radius: 99px; background: #fff; color: var(--i); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--p); border-color: var(--p); color: #fff; }
.portfolio { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.portfolio-masonry { display: block; columns: 3 300px; column-gap: 24px; }
.portfolio-masonry .work { break-inside: avoid; margin-bottom: 24px; }
.work { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 14px 30px -24px rgba(0,0,0,.35); }
.work[hidden] { display: none; }
.work-pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.work-text { padding: 18px 20px 20px; }
.work-cat { font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--p); }
.ba { position: relative; overflow: hidden; border-radius: 12px; user-select: none; }
.ba > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-before img { width: 100%; height: 100%; object-fit: cover; }
.ba::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.2); pointer-events: none; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-tag { position: absolute; top: 10px; padding: 3px 10px; font-size: .75rem; font-weight: 800; color: #fff; background: rgba(0,0,0,.55); border-radius: 99px; pointer-events: none; }
.ba-tag-b { left: 10px; } .ba-tag-a { right: 10px; }

/* Lightbox (site.js) */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 4vh 4vw; background: rgba(10,10,12,.92); }
.lightbox img { max-height: 84vh; width: auto; border-radius: 6px; }
.lightbox p { color: #fff; text-align: center; margin-top: 10px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
.lb-close { top: 18px; right: 18px; } .lb-prev { left: 18px; top: 50%; } .lb-next { right: 18px; top: 50%; }

/* Forms */
.lead { display: grid; gap: 14px; }
.lead label { display: grid; gap: 6px; font-weight: 700; }
.lead input, .lead textarea, .lead select { font: inherit; padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--i) 25%, transparent); border-radius: 10px; background: #fff; color: var(--i); }
.lead .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.form-note:empty { display: none; }

/* Image, video, text, spacer */
.prose { font-size: 1.08rem; }
.image-block figure { margin-inline: auto; }
.image-block .full { width: 100%; }
.image-block .narrow { width: min(680px, 100% - 40px); }
.image-block img { border-radius: 14px; width: 100%; }
.embed { position: relative; aspect-ratio: 16 / 9; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 12px; }
video { width: 100%; border-radius: 12px; }
.spacer-small { height: 24px; } .spacer-medium { height: 60px; } .spacer-large { height: 120px; }

/* Footer */
.bottom { padding: 50px 0 24px; background: var(--i); color: color-mix(in srgb, #fff 80%, transparent); }
.bottom a { color: #fff; }
.bottom-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.bottom-name { font: 800 1.2rem/1.2 var(--font-head, inherit); color: #fff; display: block; margin-bottom: 6px; }
.social { display: flex; flex-wrap: wrap; gap: 14px; align-content: start; }
.made { margin-top: 30px; font-size: .8rem; opacity: .7; }

/* The three shapes */
.style-bold h1, .style-bold h2 { text-transform: uppercase; }
.style-bold .btn, .style-bold .card, .style-bold .quote, .style-bold .work, .style-bold .gallery-item, .style-bold .hero-pic img, .style-bold .menu a { border-radius: 0; }
.style-bold .top { background: var(--i); }
.style-bold .brand, .style-bold .menu a { color: #fff; }
.style-bold .menu-btn { color: #fff; }
.style-elegant h1, .style-elegant h2, .style-elegant h3, .style-elegant .brand { font-family: var(--font-head, Georgia, "Times New Roman", serif); font-weight: 400; }
.style-elegant .hero-in { text-align: center; grid-template-columns: 1fr; }
.style-elegant .hero .actions { justify-content: center; }
.style-elegant .hero .lead { margin-inline: auto; }
.style-elegant .btn { border-radius: 0; background: transparent; color: var(--p); }
.style-elegant .hero .btn, .style-elegant .cta .btn { color: #fff; border-color: #fff; background: transparent; }
.style-elegant .card { border-top-width: 1px; box-shadow: none; border: 1px solid color-mix(in srgb, var(--i) 12%, transparent); }

/* Phones */
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 70px; flex-direction: column; align-items: stretch; padding: 10px 20px 20px; background: var(--s); border-bottom: 1px solid color-mix(in srgb, var(--i) 12%, transparent); }
  .style-bold .menu { background: var(--i); }
  .menu.open { display: flex; }
  .hero-in, .cards { grid-template-columns: 1fr; }
  .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* =====================================================================================================================
   ATLAS: corporate and confident (in the spirit of Enfold and The7). Re-skins the starter design above; colours still
   come from --p --a --s --i, so the site's Theme choices keep working.
   ===================================================================================================================== */
:root { --at-navy: color-mix(in srgb, var(--p) 55%, var(--i)); --at-line: color-mix(in srgb, var(--i) 11%, transparent); --at-gray: color-mix(in srgb, var(--i) 4%, var(--s)); }
h1, h2, h3 { font-weight: 600; letter-spacing: 0; }
h1 { font-size: clamp(2.6rem, 5.8vw, 4.6rem); text-transform: uppercase; line-height: 1; }
h2 { text-transform: uppercase; font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-family: var(--font-body, inherit); font-weight: 700; letter-spacing: -.01em; }
.kicker { color: var(--a); letter-spacing: .2em; }
.band > .wrap > h2 { display: flex; flex-direction: column; }
.band > .wrap > h2::after { content: ""; width: 54px; height: 3px; margin-top: 16px; background: var(--a); }

/* header */
.top { background: var(--s); border-bottom: 1px solid var(--at-line); backdrop-filter: none; }
.top-in { min-height: 80px; }
.brand { font: 600 1.45rem/1 var(--font-head, inherit); text-transform: uppercase; letter-spacing: .04em; color: var(--p); }
.menu a { border-radius: 0; font-size: .92rem; font-weight: 600; padding: 28px 14px; border-bottom: 3px solid transparent; }
.menu a:hover, .menu a[aria-current="page"] { background: none; color: var(--p); border-bottom-color: var(--a); }
.menu .menu-call { background: var(--a); color: #fff; border-radius: 4px; padding: 12px 18px; border: 0; margin-left: 14px; }
.menu .menu-call:hover { background: color-mix(in srgb, var(--a) 85%, #000); color: #fff; }

/* buttons */
.btn { border-radius: 4px; padding: 15px 26px; font-weight: 700; letter-spacing: .02em; }
.btn:hover { transform: none; box-shadow: none; background: color-mix(in srgb, var(--p) 85%, #000); }
.btn-line { color: var(--p); }

/* hero: navy, split, with a corner accent */
.at-hero { position: relative; background: linear-gradient(115deg, var(--at-navy) 0%, var(--p) 100%); padding: clamp(70px, 10vw, 130px) 0 clamp(110px, 12vw, 170px); overflow: hidden; }
.at-hero::after { content: ""; position: absolute; right: 0; top: 0; width: 34%; height: 100%; background: rgba(255, 255, 255, .04); clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%); }
.at-hero .hero-in { position: relative; z-index: 1; }
.at-hero .btn { background: var(--a); border-color: var(--a); color: #fff; }
.at-hero .btn-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.at-pic { margin: 0; position: relative; }
.at-pic img { border-radius: 6px; aspect-ratio: 5 / 4; object-fit: cover; width: 100%; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.at-pic::before { content: ""; position: absolute; left: -16px; bottom: -16px; width: 40%; height: 40%; border-left: 4px solid var(--a); border-bottom: 4px solid var(--a); }
.hero-background.at-hero { background: linear-gradient(115deg, color-mix(in srgb, var(--at-navy) 92%, transparent), color-mix(in srgb, var(--p) 70%, transparent)), var(--hero-img, none) center / cover; }
.at-figs { position: relative; z-index: 2; margin-top: clamp(-80px, -7vw, -60px); }
.at-figs dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin: 0; background: var(--s); border-radius: 6px; box-shadow: 0 24px 50px -28px rgba(15, 27, 51, .5); }
.at-figs div { padding: 26px 26px 24px; border-right: 1px solid var(--at-line); }
.at-figs div:last-child { border-right: 0; }
.at-figs dt { font: 600 clamp(2rem, 3.6vw, 2.8rem)/1 var(--font-head, inherit); color: var(--p); }
.at-figs dd { margin: 8px 0 0; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: color-mix(in srgb, var(--i) 60%, transparent); font-weight: 600; }

/* sections */
.band:nth-of-type(even) { background: var(--at-gray); }
.intro { color: color-mix(in srgb, var(--i) 68%, transparent); }

/* cards with a top rule */
.card { border-radius: 6px; border: 1px solid var(--at-line); border-top: 4px solid var(--p); box-shadow: 0 10px 30px -24px rgba(15, 27, 51, .5); transition: border-color .2s, transform .2s; }
.card:hover { border-top-color: var(--a); transform: translateY(-3px); }
.card-pic { border-radius: 0; margin-top: -26px; }
.card h3::after { content: ""; display: block; width: 30px; height: 2px; margin-top: 10px; background: var(--a); }
.price { color: var(--a); }
.person img, .person-initial { border-radius: 6px; width: 100%; height: auto; aspect-ratio: 1; max-width: 260px; }
.quote { border-radius: 6px; border-left: 4px solid var(--a); box-shadow: 0 10px 30px -24px rgba(15, 27, 51, .5); }
.quote footer { color: var(--p); }
.work { border-radius: 6px; }
.work-cat { color: var(--a); }
.gallery-item, .image-block img, .embed iframe, video, .ba { border-radius: 6px; }
.filters button { border-radius: 4px; }
.lead input, .lead textarea, .lead select { border-radius: 4px; }

/* call to action and a two-tone footer */
.cta { background: var(--a); }
.cta .btn-light { background: var(--at-navy); color: #fff; border-color: var(--at-navy); border-radius: 4px; }
.bottom { background: var(--at-navy); padding-top: 64px; }
.made { background: color-mix(in srgb, var(--at-navy) 80%, #000); width: 100%; max-width: none; margin: 30px 0 -24px; padding: 16px max(20px, calc((100% - 1160px) / 2)); opacity: .85; }

@media (max-width: 760px) {
  .menu a { padding: 12px; border-bottom: 0; }
  .menu { top: 80px; }
  .at-figs div { border-right: 0; border-bottom: 1px solid var(--at-line); }
}

/* bold shape: the header is dark (ink), so the current and hovered menu link stays white rather than the primary colour */
.style-bold .menu a:hover, .style-bold .menu a[aria-current="page"] { color: #fff; }


/* ===================== OPEN HANGAR (hangar.js) =====================
   Aluminum, sky, chart cream and insignia navy: a well-lit hangar and a clearly printed type plate. Photographs lead;
   every section starts at the logo's left edge. Tokens: navy #1E3A5F, hangar black #1B1D1F, sky #5B8DB8,
   aluminum #8A9096, wing gold #C4A35A, chart cream #F3EEE4, paper #F7F5F1. */
:root { --oh-navy: #1E3A5F; --oh-ink: #1B1D1F; --oh-sky: #5B8DB8; --oh-al: #8A9096; --oh-gold: #C4A35A; --oh-cream: #F3EEE4; --oh-paper: #F7F5F1;
  --oh-green: #2F6F57; --oh-orange: #C45C26; --oh-line: #DED8CC; }
body { background: var(--oh-paper); }
a { color: #2C5E8C; }
:focus-visible { outline: 3px solid var(--oh-gold); outline-offset: 2px; }
.style-bold h1, .style-bold h2 { letter-spacing: .01em; }

/* one left edge: every section on the logo's edge, text at a readable width */
.wrap.narrow { width: min(1160px, 100% - 40px); }
.wrap.narrow > h2, .wrap.narrow > .prose, .wrap.narrow > p, .wrap.narrow > ul, .wrap.narrow > ol, .wrap.narrow > h3 { max-width: 780px; margin-left: 0; margin-right: auto; }
.text-block .wrap.narrow, .text-block .prose { text-align: left; }
body .tw-flight-map .fm-outer { max-width: none; width: min(1160px, 100% - 40px); margin-inline: auto; padding: 0 !important; }
body .tw-flight-map .fm-intro { padding: 0; }
body .tw-flight-map .fm-intro > * { max-width: 780px; }
body .tw-flight-map .fm-full { --fm-h: calc(100vh - 150px); }

/* header: insignia navy, white logo, quiet menu with a gold underline */
body .style-bold .top, body .top.tc-header { background: var(--oh-navy); border-bottom: 0; box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 6px 18px -12px rgba(0,0,0,.5); }
.top .brand img { height: 40px; width: auto; display: block; }
.top-in { min-height: 72px; }
.menu a { color: #E8EDF2; font-weight: 600; letter-spacing: .02em; padding: 26px 11px; border-bottom: 3px solid transparent; font-size: .93rem; }
.menu a:hover, .menu a[aria-current="page"] { color: #fff; background: none; border-bottom-color: var(--oh-gold); }
.style-bold .menu a:hover, .style-bold .menu a[aria-current="page"] { color: #fff; }
body .top .menu a.tc-cta, body .top .menu a.btn { align-self: center; margin-left: 12px; padding: 10px 16px 10px 14px; border: 0; border-radius: 3px; background: var(--oh-gold); color: var(--oh-ink) !important;
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
body .top .menu a.tc-cta::before, body .top .menu a.btn::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2F9E6A; box-shadow: 0 0 0 3px rgba(47,158,106,.22); }
body .top .menu a.tc-cta:hover, body .top .menu a.btn:hover { background: #D6B76B; border-bottom: 0; }
@media (max-width: 1100px) {
  .menu-btn { display: block; color: #fff; border-color: rgba(255,255,255,.5); }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 18px; background: var(--oh-navy) !important;
    box-shadow: 0 18px 30px -18px rgba(0,0,0,.6); }
  .menu.open, .menu-btn[aria-expanded="true"] + .menu { display: flex; }
  .menu a { padding: 13px 4px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .menu a[aria-current="page"] { border-bottom-color: rgba(255,255,255,.1); box-shadow: inset 4px 0 0 var(--oh-gold); padding-left: 14px; }
  body .top .menu a.tc-cta, body .top .menu a.btn { margin: 12px 0 0; justify-content: center; padding: 13px; }
}

/* sections */
.band { padding: clamp(48px, 7vw, 88px) 0; }
.band:nth-of-type(even) { background: var(--oh-cream); }
.band > .wrap > h2::after { background: var(--oh-gold); }
.btn { border-radius: 3px; }

/* the hero */
.hero.hero-background { min-height: min(80vh, 700px); display: flex; align-items: center; text-align: left; }
.hero-background .hero-in { text-align: left; }
.hero-background .actions { justify-content: flex-start; }
.hero-background .lead { margin-inline: 0; }
.hero .kicker { text-transform: uppercase; letter-spacing: .14em; font-weight: 700; font-size: .85rem; color: #E9D7A8 !important; }
.hero .btn { background: var(--oh-gold); color: var(--oh-ink); border-color: var(--oh-gold); }
.hero .btn:hover { background: #D6B76B; border-color: #D6B76B; }

/* hero slideshow (hangar.js) */
.hero.oh-slideshow { position: relative; overflow: hidden; background: #101C2B !important; }
.hero.oh-slideshow > .hero-in { position: relative; z-index: 2; padding-bottom: 60px; }
.oh-slides { position: absolute; inset: 0; z-index: 0; }
.oh-slides::after { content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(90deg, rgba(12,22,36,.82) 0%, rgba(12,22,36,.55) 45%, rgba(12,22,36,.15) 100%), linear-gradient(180deg, rgba(12,22,36,.35) 0%, rgba(12,22,36,0) 30%, rgba(12,22,36,.6) 100%); }
.oh-slide { position: absolute; inset: -3%; background: center / cover no-repeat; opacity: 0; transform: scale(1.06); transition: opacity 1.4s ease, transform 9s ease-out; }
.oh-slide.on { opacity: 1; z-index: 1; transform: scale(1) translate3d(-1.2%, 0, 0); }
.oh-slide.oh-alt.on { transform: scale(1) translate3d(1.2%, -.8%, 0); }
.oh-slide.was { opacity: 0; transition: opacity 1.4s ease; }
.hero.oh-slideshow h1 { text-shadow: 0 4px 30px rgba(0,0,0,.4); }
.oh-sui { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; width: min(1160px, 100% - 40px); margin: 0 auto; padding-bottom: 16px; display: grid; grid-template-columns: 1fr auto; gap: 6px 18px; align-items: end; }
.oh-bars { grid-column: 1 / -1; display: flex; gap: 6px; }
.oh-bar { flex: 1; height: 16px; padding: 6px 0; background: none; border: 0; cursor: pointer; }
.oh-bar i { display: block; height: 3px; border-radius: 2px; background: rgba(255,255,255,.28); position: relative; overflow: hidden; }
.oh-bar i::after { content: ""; position: absolute; inset: 0; background: var(--oh-gold); transform: scaleX(0); transform-origin: left; }
.oh-bar.done i::after { transform: scaleX(1); }
.oh-sui.run .oh-bar.now i::after { animation: oh-fill var(--oh-d, 7000ms) linear forwards; }
.oh-sui.held .oh-bar.now i::after { animation-play-state: paused; }
@keyframes oh-fill { to { transform: scaleX(1); } }
.oh-cap { margin: 0; font-size: .78rem; color: rgba(255,255,255,.75); text-shadow: 0 1px 4px rgba(0,0,0,.7); }
.oh-ctrls { display: flex; gap: 8px; }
.oh-ctrls button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(16,28,43,.5); color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.oh-ctrls button:hover, .oh-ctrls button:focus-visible { background: var(--oh-gold); border-color: var(--oh-gold); color: var(--oh-ink); }
.oh-pause span { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.oh-pause.play span { width: 0; height: 0; border: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }

/* cards: photo first, then the type and its plate */
body .tw-cl-cards .tw-cl-item { background: #fff; border: 1px solid var(--oh-line); border-radius: 4px; transition: box-shadow .2s, transform .2s; }
body .tw-cl-cards .tw-cl-item:hover { box-shadow: 0 16px 30px -22px rgba(30,58,95,.55); transform: translateY(-2px); }
body .tw-cl-cards .tw-cl-item img { aspect-ratio: 3 / 2; background: #E7E3DA; }
body .tw-cl-item h3 { font-size: 1.12rem; line-height: 1.25; }
body .tw-cl-item h3 a { text-decoration: none; }
body .tw-cl-item h3 a::after { content: ""; position: absolute; inset: 0; }
body .tw-cl-cards .tw-cl-item { position: relative; }
body .tw-cl-meta { font-size: .86rem; display: grid; gap: 2px; }
body .tw-cl-f dt { color: #6B7178; } .tw-cl-f dd { font-weight: 600; }
body .tw-chips button[aria-pressed="true"], body .tw-chip[aria-pressed="true"] { background: var(--oh-navy) !important; color: #fff !important; border-color: var(--oh-navy) !important; }

/* a record page */
body .tw-entry h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
body .tw-entry .tw-cl-back a { text-decoration: none; font-weight: 600; }
body .tw-entry-facts { background: #fff; border: 1px solid var(--oh-line); border-radius: 4px; padding: 0; display: block !important; overflow: hidden; }
body .tw-entry-facts::before { content: "Type plate"; display: block; padding: 10px 16px; background: var(--oh-cream); border-bottom: 1px solid var(--oh-line); font: 700 .78rem/1 var(--font-head, inherit);
  letter-spacing: .14em; text-transform: uppercase; color: var(--oh-navy); }
body .tw-entry-facts .tw-cl-f { display: grid; grid-template-columns: minmax(120px, 42%) 1fr; gap: 12px; padding: 9px 16px; border-bottom: 1px solid #EEE9DF; font-size: .95rem; }
body .tw-entry-facts .tw-cl-f:last-child { border-bottom: 0; }
body .tw-entry-facts .tw-cl-f dd { font-variant-numeric: tabular-nums; }
body .tw-entry-facts .tw-cl-f dd:is(:empty) { color: var(--oh-al); }
body .tw-cl-long { max-width: 780px; margin-top: 28px; }
body .tw-cl-long h2 { font-size: 1.25rem; text-transform: uppercase; letter-spacing: .06em; }
body .tw-cl-long blockquote { margin: 0 0 12px; padding: 4px 0 4px 18px; border-left: 3px solid var(--oh-sky); color: #2E3338; }
body .tw-cl-long small, body .tw-cl-long .oh-small { color: #5E646B; }
.oh-ns { color: var(--oh-al); font-style: italic; font-weight: 400; }
.oh-typetools { margin: 14px 0 0; }
.oh-typetools .btn { padding: 11px 18px; font-size: .95rem; }
ul.oh-credits { padding-left: 1.1em; font-size: .9rem; }
.oh-rights { font-size: .9rem; color: #4D5359; }
.oh-chip { display: inline-block; padding: 3px 9px; border-radius: 3px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; background: var(--oh-green); color: #fff; }

/* record pages: the label on the facts box, and a photo record's picture as large as the layout allows */
body .oh-rec-photo .tw-entry-facts::before { content: "Photo record"; }
body .oh-rec-manufacturers .tw-entry-facts::before { content: "Company record"; }
body .oh-rec-museums .tw-entry-facts::before { content: "Museum record"; }
body .tw-entry-pic { margin: 0; }
body .tw-entry-pic img { width: 100%; height: auto; display: block; border-radius: 4px; background: #E7E3DA; }
body .oh-rec-photo .tw-entry-grid { grid-template-columns: minmax(0, 5fr) minmax(280px, 2fr); }

/* the carousel on a type page */
body .tw-entry-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(300px, 2fr); gap: 28px; align-items: start; }
body .tw-entry-grid > .oh-car { min-width: 0; }
@media (max-width: 860px) { body .tw-entry-grid { grid-template-columns: 1fr; } }
.oh-car { background: #fff; border: 1px solid var(--oh-line); border-radius: 4px; padding: 10px; }
.oh-car:focus-visible { outline: 3px solid var(--oh-gold); }
.oh-car-stage { position: relative; aspect-ratio: 3 / 2; background: #E7E3DA; overflow: hidden; border-radius: 2px; }
.oh-car-stage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.oh-car-prev, .oh-car-next { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(16,28,43,.62); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.oh-car-prev { left: 10px; } .oh-car-next { right: 10px; }
.oh-car-prev:hover, .oh-car-next:hover { background: var(--oh-gold); color: var(--oh-ink); }
.oh-single .oh-car-prev, .oh-single .oh-car-next { display: none; }
.oh-car-count { position: absolute; right: 10px; bottom: 10px; background: rgba(16,28,43,.7); color: #fff; font-size: .8rem; padding: 3px 8px; border-radius: 3px; }
.oh-car-count:empty { display: none; }
.oh-car-credit { margin: 8px 2px 0; font-size: .82rem; color: #555B61; min-height: 1.3em; }
.oh-car-thumbs { display: flex; gap: 6px; margin-top: 8px; overflow-x: auto; }
.oh-car-thumbs button { flex: none; width: 84px; height: 56px; padding: 0; border: 2px solid transparent; border-radius: 2px; background: none; cursor: pointer; opacity: .7; }
.oh-car-thumbs button[aria-current="true"] { border-color: var(--oh-gold); opacity: 1; }
.oh-car-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* compare two */
.oh-cmp-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 16px; background: #fff; border: 1px solid var(--oh-line); border-radius: 4px; margin-bottom: 18px; }
.oh-cmp-pick label { font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--oh-navy); }
.oh-cmp-pick select { font: inherit; padding: 9px 10px; border: 2px solid var(--oh-line); border-radius: 3px; background: #fff; min-width: min(320px, 100%); flex: 1; }
.oh-swap { font-size: 1.3rem; width: 42px; height: 42px; border: 1px solid var(--oh-line); border-radius: 50%; background: var(--oh-cream); cursor: pointer; }
.oh-cmp-heads { display: grid; grid-template-columns: 20% 40% 40%; margin-bottom: 8px; }
.oh-cmp-heads > .oh-cmp-head { padding: 0 8px 0 14px; }
.oh-cmp-head img, .oh-cmp-nopic { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 3px; display: block; background: #E7E3DA; }
.oh-cmp-nopic { display: grid; place-items: center; color: var(--oh-al); font-size: .9rem; }
.oh-cmp-head h3 { margin: 10px 0 2px; font-size: 1.25rem; }
.oh-cmp-head h3 a { text-decoration: none; color: var(--oh-ink); }
.oh-cmp-credit { margin: 0; font-size: .76rem; color: #61676D; }
.oh-cmp-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--oh-line); table-layout: fixed; }
.oh-cmp-table thead { display: none; }
.oh-cmp-table th, .oh-cmp-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid #EEE9DF; vertical-align: top; font-variant-numeric: tabular-nums; }
.oh-cmp-table th[scope="row"] { width: 20%; background: var(--oh-cream); font-size: .85rem; letter-spacing: .03em; color: var(--oh-navy); }
.oh-cmp-table td { width: 40%; }
.oh-cmp-note, .oh-cmp-wait { color: #5E646B; font-size: .92rem; }
.oh-hide { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 700px) {
  .oh-cmp-heads { grid-template-columns: 1fr 1fr; } .oh-cmp-heads > div:first-child { display: none; }
  .oh-cmp-table th[scope="row"] { width: 30%; } .oh-cmp-table th, .oh-cmp-table td { padding: 8px; font-size: .88rem; }
}

/* timeline of first flights */
.oh-tl-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; }
.oh-tl-chips button { font: inherit; font-size: .88rem; font-weight: 600; padding: 7px 12px; border: 1px solid var(--oh-line); border-radius: 3px; background: #fff; cursor: pointer; }
.oh-tl-chips button[aria-pressed="true"] { background: var(--oh-navy); color: #fff; border-color: var(--oh-navy); }
.oh-tl-decade { display: grid; grid-template-columns: 110px 1fr; gap: 18px; position: relative; padding-bottom: 26px; }
.oh-tl-decade::before { content: ""; position: absolute; left: 92px; top: 6px; bottom: 0; width: 2px; background: color-mix(in srgb, var(--oh-sky) 45%, transparent); }
.oh-tl-decade > h2 { margin: 0; font-size: 1.6rem; color: var(--oh-navy); position: relative; }
.oh-tl-decade > h2::after { content: ""; position: absolute; left: 84px; top: 9px; width: 16px; height: 16px; border-radius: 50%; background: var(--oh-sky); border: 3px solid var(--oh-paper); }
.band:nth-of-type(even) .oh-tl-decade > h2::after { border-color: var(--oh-cream); }
.oh-tl-decade ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.oh-tl-item { position: relative; background: #fff; border: 1px solid var(--oh-line); border-radius: 4px; overflow: hidden; }
.oh-tl-item img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: #E7E3DA; }
.oh-tl-item div { padding: 10px 12px 12px; }
.oh-tl-item .oh-tl-date { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--oh-sky); }
.oh-tl-item a { color: var(--oh-ink); font-weight: 700; text-decoration: none; line-height: 1.25; }
.oh-tl-item a::after { content: ""; position: absolute; inset: 0; }
.oh-tl-item small { display: block; color: #61676D; font-size: .82rem; }
.oh-tl-item:hover { box-shadow: 0 14px 26px -20px rgba(30,58,95,.6); }
@media (max-width: 640px) { .oh-tl-decade { grid-template-columns: 1fr; } .oh-tl-decade::before, .oh-tl-decade > h2::after { display: none; } }

/* lists on the compare page without JavaScript */
.oh-compare-list ul { columns: 3 220px; padding-left: 1.1em; }
.oh-compare-list h3 { margin-top: 18px; }

/* call to action band: navy, not gold */
body .cta { background: var(--oh-navy) !important; color: #fff; }
body .cta h2, body .cta p { color: #fff; }
body .cta .btn { background: var(--oh-gold); color: var(--oh-ink); border-color: var(--oh-gold); }
body .cta .btn:hover { background: #D6B76B; border-color: #D6B76B; }

/* footer */
body .bottom, body .tc-footer { background: #13253C; color: #C9D3DE; }
body .bottom a, body .tc-footer a { color: #E6ECF2; }
body .tc-footer .tc-h { color: #E9D7A8; }
body .bottom .made { color: #93A1B0; }

@media (prefers-reduced-motion: reduce) { .oh-slide, .oh-slide.on, .oh-slide.was { transition: opacity .01s; transform: none !important; } .tw-cl-cards .tw-cl-item:hover { transform: none; } }

/* phone menu: items on the logo's left edge */
@media (max-width: 1100px) { body .top .menu a:not(.tc-cta):not(.btn) { text-align: left; justify-content: flex-start; } }
