:root {
  --navy: #0b2a5b;
  --navy-2: #12397a;
  --blue: #1a56c4;
  --red: #c62a33;
  --gold: #f6b51e;
  --orange: #ef7d1f;
  --ink: #16213a;
  --muted: #5b6577;
  --line: #e3e0d8;
  --paper: #fbf8f2;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(11, 42, 91, .28);
  --head: "Montserrat", system-ui, sans-serif;
  --body: "Source Serif 4", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 18px; line-height: 1.65; color: var(--ink); background: var(--paper); }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; margin: 0 0 .5em; color: var(--navy); letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.8vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(780px, 100% - 40px); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 10px; top: 10px; background: #fff; padding: 8px 12px; z-index: 99; }
mark { background: #ffe58a; padding: 2px 6px; border-radius: 4px; color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; font-family: var(--head); font-weight: 700; font-size: .95rem; letter-spacing: .02em; text-decoration: none; padding: .85em 1.4em; border-radius: 999px; background: var(--blue); color: #fff; border: 2px solid var(--blue); cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); background: var(--navy-2); border-color: var(--navy-2); box-shadow: var(--shadow); }
.btn-small { padding: .55em 1.1em; font-size: .85rem; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #ffc94a; border-color: #ffc94a; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.8); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-outline { background: transparent; color: var(--blue); }
.btn-outline:hover { color: #fff; }
.link-arrow { font-family: var(--head); font-weight: 700; font-size: .9rem; text-decoration: none; color: var(--blue); white-space: nowrap; }
.link-arrow::after { content: " →"; transition: margin .15s; }
.link-arrow:hover::after { margin-left: 4px; }
.eyebrow { font-family: var(--head); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700; color: var(--red); margin-bottom: .6em; }
.eyebrow.light { color: var(--gold); }
.small { font-size: .9rem; color: var(--muted); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header::before { content: ""; display: block; height: 4px; background: linear-gradient(90deg, var(--orange), var(--gold) 35%, var(--red) 35% 50%, var(--blue) 50%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 78px; }
.brand img { height: 60px; width: auto; border-radius: 6px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { font-family: var(--head); font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { border-color: var(--red); color: var(--navy); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .2s; }

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden; background-color: var(--navy); background-position: center 40%; background-size: cover; background-repeat: no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,26,58,.92) 0%, rgba(8,26,58,.7) 45%, rgba(8,26,58,.15) 100%); }
.hero-inner { position: relative; padding: clamp(80px, 12vw, 150px) 0 clamp(90px, 13vw, 170px); max-width: 1180px; }
.hero h1 { color: #fff; max-width: 13ch; }
.hero .lede { font-size: 1.2rem; max-width: 46ch; opacity: .92; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--orange), var(--gold), var(--red) 50%, var(--blue) 50%, var(--navy)); }

/* Page head */
.page-head { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, var(--blue) 100%); color: #fff; padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 7vw, 80px); position: relative; }
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--orange), var(--gold), var(--red) 50%, var(--blue) 50%, var(--navy)); }
.page-head h1 { color: #fff; }
.page-head .lede { font-size: 1.15rem; opacity: .9; max-width: 52ch; margin: 0; }
.page-head a:not(.btn) { color: var(--gold); }
.post-head time { display: block; font-family: var(--head); font-weight: 600; font-size: .9rem; color: var(--gold); margin: 18px 0 8px; }
.back { font-family: var(--head); font-weight: 600; font-size: .9rem; text-decoration: none; }
.back.light { color: #fff !important; opacity: .8; }

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section.tight { padding-top: 32px; }
.section.alt { background: #f1ede4; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.section-head h2 { margin: 0; }
.count { font-family: var(--head); font-weight: 600; color: var(--muted); font-size: .9rem; }
.empty { background: #fff; border: 1px dashed #cfc9bb; border-radius: var(--radius); padding: 28px; color: var(--muted); text-align: center; }
.grid { display: grid; gap: 28px; }
.grid.cards { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid.posts { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

/* Listing card */
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--line), var(--shadow); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-3px); box-shadow: 0 1px 0 var(--line), 0 18px 40px -14px rgba(11,42,91,.38); }
.card-media { position: relative; aspect-ratio: 4 / 3; display: block; background: #e8e4da; }
.card-media > img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 14px; left: 14px; font-family: var(--head); font-weight: 800; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--blue); color: #fff; }
.badge.static { position: static; display: inline-block; margin-bottom: 14px; }
.status-pending .badge, .badge.status-pending { background: var(--gold); color: var(--navy); }
.status-sold .badge, .badge.status-sold { background: var(--red); }
.status-sold .card-media > img { filter: saturate(.75); }
.card-body { padding: 20px 22px 22px; }
.card-body h3 { margin: 0 0 4px; font-size: 1.2rem; }
.card-body h3 a { color: var(--navy); text-decoration: none; }
.price { font-family: var(--head); font-weight: 800; font-size: 1.35rem; color: var(--ink); margin: 0 0 4px; }
.meta { color: var(--muted); font-size: .95rem; margin: 0 0 12px; }
.facts { list-style: none; padding: 12px 0 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; border-top: 1px solid var(--line); font-family: var(--head); font-size: .85rem; color: var(--muted); }
.facts li:empty { display: none; }
.facts b { color: var(--ink); }

.placeholder { width: 100%; height: 100%; display: grid; place-items: center; align-content: center; gap: 10px; background: linear-gradient(180deg, #ffd25c 0%, var(--orange) 45%, #e8eaf6 46%, #9fb3e6 100%); color: var(--navy); font-family: var(--head); font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.placeholder img { width: 62%; mix-blend-mode: multiply; }
.placeholder.big { aspect-ratio: 21 / 9; border-radius: var(--radius); }
.placeholder.big img { width: min(420px, 60%); }

/* Posts */
.post-card { background: #fff; border-radius: var(--radius); padding: 28px; border-top: 5px solid var(--blue); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.post-card:nth-child(3n+2) { border-top-color: var(--red); }
.post-card:nth-child(3n+3) { border-top-color: var(--gold); }
.post-card time, .post-row time { font-family: var(--head); font-weight: 600; font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.post-card h3 { font-size: 1.3rem; margin: 8px 0 10px; }
.post-card h3 a, .post-row h2 a { color: var(--navy); text-decoration: none; }
.post-card p { color: var(--muted); flex: 1; }
.post-row { display: grid; grid-template-columns: 220px 1fr; gap: 28px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.post-row:not(:has(.post-thumb)) { grid-template-columns: 1fr; }
.post-row h2 { font-size: 1.6rem; margin: 6px 0 10px; }
.post-thumb img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; }
.post-image { border-radius: var(--radius); margin-bottom: 28px; width: 100%; }

/* Teaser */
.teaser-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.teaser-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3.2; object-fit: cover; width: 100%; }

/* Contact */
.contact { background: var(--navy); color: #fff; padding: clamp(60px, 8vw, 100px) 0; position: relative; }
.contact::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--orange), var(--gold), var(--red) 50%, var(--blue) 50%, var(--navy-2)); }
.contact h2 { color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-copy p { opacity: .88; }
.contact-lines { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact-lines li { display: flex; align-items: center; gap: 14px; font-family: var(--head); font-weight: 600; font-size: 1.15rem; }
.contact-lines a { color: #fff; text-decoration: none; word-break: break-all; }
.contact-lines a:hover { color: var(--gold); }
.ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); flex: none; }
.contact-form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 30px; display: grid; gap: 16px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.contact-form label { display: grid; gap: 6px; font-family: var(--head); font-size: .82rem; font-weight: 700; color: var(--navy); }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; font-family: var(--body); font-size: 1rem; font-weight: 400; padding: 12px 14px; border: 1.5px solid #d6d2c8; border-radius: 10px; background: #fdfcf9; color: var(--ink); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,86,196,.15); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; }
.contact-form .btn { justify-self: start; }

/* Listing detail */
.listing-hero { background: #fff; border-bottom: 1px solid var(--line); padding: 28px 0 30px; }
.listing-title { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-top: 20px; }
.listing-title h1 { margin: 0 0 4px; font-size: clamp(2rem, 4vw, 3rem); }
.listing-title .meta { margin: 0; font-size: 1.05rem; }
.listing-price { text-align: right; font-family: var(--head); }
.listing-price .label { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.listing-price strong { font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: var(--navy); font-weight: 800; }
.gallery-main #gal-main { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); background: #e8e4da; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 6px; }
.thumbs button { flex: none; width: 110px; aspect-ratio: 4/3; padding: 0; border: 3px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: none; opacity: .7; }
.thumbs button.on, .thumbs button:hover { border-color: var(--blue); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.listing-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(28px, 5vw, 60px); margin-top: 44px; align-items: start; }
.specs { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); position: sticky; top: 100px; }
.specs dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 0 0 16px; }
.specs dt { font-family: var(--head); font-weight: 700; font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding-top: 3px; }
.specs dd { margin: 0; text-align: right; font-weight: 600; }
.specs-cta { border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 10px; }
.specs-cta p { margin: 0; font-family: var(--head); font-weight: 700; color: var(--navy); }
.specs-cta .btn { justify-content: center; }

/* Prose */
.prose { max-width: 70ch; }
.prose p, .prose li { font-size: 1.08rem; }
.prose h2 { margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose img { border-radius: 10px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0 20px; }
.intro { font-size: 1.35rem !important; font-style: italic; color: var(--navy); }

/* About */
.about-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.about-side { display: grid; gap: 22px; position: sticky; top: 100px; }
.portrait { border-radius: var(--radius); box-shadow: var(--shadow); }
.callout { background: #fff; border-radius: var(--radius); padding: 24px 26px; border-left: 5px solid var(--red); box-shadow: var(--shadow); }
.callout:nth-child(odd) { border-left-color: var(--blue); }
.callout ul { margin: 0; padding-left: 1.1em; }
.callout li { margin: 4px 0; font-size: 1rem; }
.photo-grid { columns: 4 220px; column-gap: 14px; }
.photo-grid a { display: block; margin-bottom: 14px; break-inside: avoid; border-radius: 10px; overflow: hidden; }
.photo-grid img { width: 100%; transition: transform .3s; }
.photo-grid a:hover img { transform: scale(1.04); }
.albatross { background: linear-gradient(180deg, var(--paper), #eef2fb); }
.plane-art { width: 100%; max-width: 420px; mix-blend-mode: multiply; margin-top: 60px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(6,16,36,.92); display: grid; place-items: center; z-index: 100; padding: 30px; cursor: zoom-out; }
.lightbox img { max-height: 88vh; max-width: 92vw; border-radius: 8px; }
.lightbox button { position: absolute; top: 50%; background: rgba(255,255,255,.15); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
.lightbox .prev { left: 20px; } .lightbox .next { right: 20px; }

/* Footer */
.site-footer { background: #071a3a; color: rgba(255,255,255,.78); padding: 56px 0 24px; font-size: .95rem; }
.site-footer h3 { color: #fff; font-size: 1rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer p { margin: 0 0 6px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 36px; align-items: start; }
.footer-logo { width: 220px; border-radius: 8px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; font-family: var(--head); font-size: .8rem; opacity: .75; }

/* Responsive */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 82px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; justify-content: center; }
  .teaser-grid, .contact-grid, .listing-grid, .about-grid, .footer-grid { grid-template-columns: 1fr; }
  .specs, .about-side { position: static; }
  .post-row { grid-template-columns: 1fr; }
  .listing-price { text-align: left; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .brand img { height: 50px; }
  .row2 { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: start; }
  .grid.cards { grid-template-columns: 1fr; }
}

/* About additions */
.portrait { width: 100%; max-width: 320px; aspect-ratio: 5/7; object-fit: cover; }
.callout ul.plain { list-style: none; padding: 0; }
.callout ul.plain a { text-decoration: none; }
.quote-body { border-left: 4px solid var(--gold); padding-left: 24px; }
.quote-body p { color: #33405a; }
.tribute .plane-art { margin-top: 10px; }
