/* Aviation Estates 2026 styles (Phase 2). Colors and layout follow the approved homepage mockup. */
@font-face { font-family: mercury; src: url("../images/2026/mercury-display.otf"); font-display: swap; }
:root {
  --ae-charcoal: #363636; --ae-charcoal-dk: #2b2b2b; --ae-sage: #56695a; --ae-sage-btn: #6f8471;
  --ae-link: #43544a; --ae-gray: #ccc; --ae-white: #fafafa;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: Roboto, Arial, sans-serif; color: var(--ae-charcoal); background: #c9cbcc url("../images/2026/metal-background.jpg") center top / cover fixed; }
a { color: var(--ae-link); }
img { max-width: 100%; }
.ae-wrap { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.ae-grow { flex-grow: 1; }
.ae-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ae-inline { display: inline; margin: 0; }
[hidden] { display: none !important; }

/* header + nav */
.ae-header { background: var(--ae-charcoal); }
.ae-brandbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.ae-logo { height: 72px; width: auto; display: block; }
.ae-rl { height: 60px; width: auto; display: block; }
.ae-nav { background: #444; }
.ae-navrow { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; }
.ae-navlinks { display: flex; flex-wrap: wrap; align-items: center; gap: 0 34px; }
.ae-navlink { color: #fff; text-decoration: none; font-size: 17px; padding: 14px 0; display: inline-block; }
.ae-navlink:hover, .ae-navlink:focus { color: #fff; text-decoration: underline; }
.ae-navlink.ae-on { box-shadow: inset 0 -3px 0 var(--ae-sage-btn); }
.ae-dd { position: relative; display: inline-flex; }
.ae-dd .ae-menu { display: none; position: absolute; top: 100%; left: 0; z-index: 30; min-width: 260px; flex-direction: column; background: var(--ae-charcoal); box-shadow: 0 4px 12px rgba(0,0,0,.3); }
.ae-dd:hover .ae-menu, .ae-dd:focus-within .ae-menu { display: flex; }
.ae-dd .ae-menu a { color: #fff; text-decoration: none; padding: 12px 16px; font-size: 15px; border-top: 1px solid #4a4a4a; }
.ae-dd .ae-menu a:hover { background: #4a4a4a; }
.ae-hdrbtn { background: var(--ae-sage-btn); color: #fff; text-decoration: none; font: inherit; font-size: 14px; padding: 8px 12px; border: 0; cursor: pointer; margin-left: 10px; }
.ae-menubtn { display: none; background: none; border: 1px solid #888; color: #fff; font: inherit; padding: 8px 12px; margin: 8px 0; cursor: pointer; }
@media (max-width: 1000px) {
  .ae-menubtn { display: inline-block; }
  .ae-navlinks { display: none; flex-direction: column; align-items: flex-start; width: 100%; order: 3; padding-bottom: 8px; }
  .ae-navlinks.ae-open { display: flex; }
  .ae-dd { flex-direction: column; }
  .ae-dd .ae-menu { position: static; display: flex; box-shadow: none; background: transparent; }
  .ae-dd .ae-menu a { border: 0; padding: 6px 16px; }
}

/* grid + blocks */
.ae-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; max-width: 1400px; margin: 0 auto; padding: 32px 24px 48px; }
.ae-span2 { grid-column: span 2; } .ae-span3 { grid-column: 1 / -1; }
@media (max-width: 900px) { .ae-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; } .ae-span2, .ae-span3 { grid-column: auto; } }
.ae-blk { display: flex; flex-direction: column; box-shadow: 0 2px 6px rgba(0,0,0,.25); background: var(--ae-white); }
.ae-bar { background: var(--ae-charcoal); padding: 22px 24px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ae-bar.ae-tall { min-height: 112px; }
@media (max-width: 900px) { .ae-bar.ae-tall { min-height: 0; } }
.ae-bar h2 { margin: 0; font-family: Georgia, serif; font-weight: 700; font-size: 24px; color: #fff; }
.ae-bar .ae-bar-note { color: #ddd; font-size: 15px; }
.ae-bar a { color: #fff; }
.ae-sage { background: var(--ae-sage); color: #fff; }
.ae-pad { padding: 24px; display: flex; flex-direction: column; gap: 20px; flex-grow: 1; }
.ae-pad p { margin: 0; font-size: 18px; line-height: 1.45; }
.ae-btn { display: inline-block; align-self: flex-start; background: var(--ae-sage-btn); color: #fff; text-decoration: none; padding: 12px 18px; font-family: mercury, Georgia, serif; font-size: 19px; border: 0; cursor: pointer; }
.ae-btn:hover, .ae-btn:focus { color: #fff; filter: brightness(1.08); }
.ae-btnsm { font-size: 16px; padding: 10px 14px; }
.ae-pushdown { margin-top: auto; }

/* hero */
.ae-video { background: var(--ae-charcoal); padding: 24px 0; }
.ae-video video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: #222; }
.ae-tagline { background: var(--ae-charcoal-dk); align-items: center; justify-content: center; gap: 28px; padding: 32px 16px; text-decoration: none; }
.ae-tagline span { font-family: Oswald, 'Arial Narrow', sans-serif; font-weight: 600; font-size: clamp(40px, 4vw, 60px); color: #ccc; text-align: center; line-height: 1.25; }
.ae-tagline img { width: 55%; max-width: 220px; height: auto; }

/* featured listings */
.ae-listings { background: var(--ae-gray); }
.ae-listrow { padding: 24px; display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.ae-card { flex: 0 1 300px; color: var(--ae-charcoal); text-decoration: none; display: flex; flex-direction: column; gap: 6px; background: var(--ae-white); padding-bottom: 14px; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.ae-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.ae-card .ae-price { font-size: 22px; font-weight: 500; padding: 4px 14px 0; }
.ae-card span { padding: 0 14px; }
.ae-card .ae-status { color: #555; font-size: 14px; }
.ae-types { flex: 1 1 420px; display: flex; flex-direction: column; gap: 14px; }
.ae-typegrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 12px; flex-grow: 1; }
@media (max-width: 560px) { .ae-typegrid { grid-template-columns: minmax(0, 1fr); } }
.ae-type { background: var(--ae-charcoal); color: #fff; text-decoration: none; padding: 16px 18px; display: flex; flex-direction: column; justify-content: center; gap: 6px; border-left: 4px solid var(--ae-sage-btn); }
.ae-type strong { font-family: Georgia, serif; font-size: 19px; }
.ae-type span { font-size: 14px; color: #ddd; line-height: 1.4; }
.ae-type:hover, .ae-type:focus { background: #444; color: #fff; }
.ae-types h3 { margin: 0; font-family: Georgia, serif; font-size: 26px; }
.ae-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ae-chip { background: var(--ae-charcoal); color: #fff; text-decoration: none; padding: 10px 14px; font-size: 15px; }
.ae-empty { font-size: 17px; }

/* airparks + fly-ins */
.ae-airparks { background: linear-gradient(to right, #707070, #444); padding: 24px; display: flex; flex-wrap: wrap; gap: 24px; color: #fff; flex-grow: 1; }
.ae-airparks img { flex: 3 1 320px; min-width: 0; height: auto; align-self: flex-start; display: block; }
.ae-airparks form, .ae-flyins form { flex: 2 1 220px; display: flex; flex-direction: column; gap: 14px; }
.ae-field { display: flex; flex-direction: column; gap: 6px; font-size: 18px; }
.ae-field select, .ae-field input { min-height: 42px; border: 0; background: #e6e6e6; font-size: 16px; padding: 0 10px; font-family: inherit; color: #222; }

/* buy / sell */
.ae-buysell { position: relative; isolation: isolate; min-height: 460px; display: flex; flex-direction: row; flex-wrap: wrap; background: #4a4f4b; }
.ae-buysell::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("../images/2026/buysell-jet.jpg") center 70% / cover; }
.ae-buysell::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(30,34,31,.78) 0%, rgba(30,34,31,.35) 40%, rgba(86,105,90,.18) 100%); }
.ae-buysell > div { flex: 1 1 340px; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; padding: 48px 40px; color: #fff; }
.ae-buysell h2 { margin: 0; font-family: Georgia, serif; font-weight: 700; font-size: clamp(56px, 5.5vw, 88px); line-height: 1; }
.ae-buysell p { margin: 0; font-size: 20px; line-height: 1.4; max-width: 420px; text-shadow: 0 2px 10px rgba(0,0,0,.45); }
.ae-bigbtn { align-self: flex-start; background: #fff; color: var(--ae-charcoal); text-decoration: none; font-family: mercury, Georgia, serif; font-size: 22px; padding: 14px 22px; margin-top: 6px; }
.ae-bigbtn:hover { background: #e8ece8; color: var(--ae-charcoal); }

/* lower row */
.ae-mission { background: #4a4a4a linear-gradient(to right, rgba(120,120,120,.1), rgba(0,0,0,.4)); align-items: center; justify-content: center; text-decoration: none; min-height: 300px; }
.ae-mission span { font-family: Georgia, serif; font-size: clamp(40px, 3.8vw, 60px); color: #fff; }
.ae-hangar { background-image: linear-gradient(to right, #ddd, #444); padding: 28px 24px; justify-content: space-between; text-decoration: none; min-height: 300px; }
.ae-hangar span { font-family: Georgia, serif; font-weight: 700; font-size: clamp(28px, 2.4vw, 38px); color: var(--ae-charcoal); line-height: 1.4; }
.ae-hangar img { width: 180px; height: auto; }
.ae-news { padding: 16px 24px 24px; display: flex; flex-direction: column; gap: 14px; flex-grow: 1; }
.ae-news a { color: #fff; text-decoration: none; font-family: Georgia, serif; font-size: 16px; }
.ae-news a:hover { text-decoration: underline; }
.ae-rof { flex-direction: row; flex-wrap: wrap; background: var(--ae-charcoal); text-decoration: none; min-height: 240px; }
.ae-rof > div { flex: 1 1 360px; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 36px 40px; }
.ae-rof .ae-kicker { font-size: 14px; letter-spacing: 2px; color: #a3b3a4; }
.ae-rof .ae-rof-title { font-family: Georgia, serif; font-weight: 700; font-size: clamp(30px, 3.2vw, 46px); color: #fff; }
.ae-rof .ae-rof-sub { font-size: 18px; line-height: 1.45; color: #e6e6e6; }
.ae-rof img { flex: 0 1 420px; min-width: 0; width: 100%; height: auto; aspect-ratio: 1829 / 1982; object-fit: cover; display: block; margin-left: auto; }

/* footer */
.ae-footer { background: var(--ae-charcoal); color: #ddd; }
.ae-footrow { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; font-size: 15px; padding-top: 28px; padding-bottom: 12px; }
.ae-footrow a, .ae-footlink { color: #fff; }
.ae-footbrand { font-family: Georgia, serif; font-size: 20px; color: #fff; }
.ae-footnote { font-size: 13px; padding-bottom: 24px; color: #bbb; }
.ae-footer .ae-news { flex-direction: row; padding: 0; gap: 8px; flex-grow: 0; }
.ae-footer .ae-news input { min-height: 40px; border: 0; padding: 0 10px; font: inherit; width: 240px; max-width: 100%; }
.ae-linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--ae-link); text-decoration: underline; cursor: pointer; }
.ae-footer .ae-linkbtn { color: #fff; }
/* privacy policy + contact windows reused from the old footer */
.ae-oldboxes #privacycontact { display: none; }
.ae-oldboxes #fpdisclaimer { max-width: 1400px; margin: 0 auto; padding: 0 24px 24px; font-size: 12px; color: #aaa; line-height: 1.5; }
#privacybox, #contactbox { position: fixed; top: 5vh; left: 50%; transform: translateX(-50%); width: min(720px, 92vw); max-height: 88vh; overflow: auto; background: #fff; color: #333; padding: 28px; z-index: 120; box-shadow: 0 10px 30px rgba(0,0,0,.45); line-height: 1.5; }
#privacybox h1, #contactbox h1 { font-family: Georgia, serif; margin-top: 0; }
#privacyboxclose, #contactboxclose { float: right; background: none; border: 0; font-size: 22px; cursor: pointer; }

/* sign-in / register windows */
.ae-modal { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.55); display: flex; align-items: flex-start; justify-content: center; padding: 60px 16px; overflow: auto; }
.ae-modal[hidden] { display: none; }
.ae-modalbox { position: relative; background: #fff; width: 100%; max-width: 440px; padding: 28px; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.ae-modalbox h2 { margin: 0 0 16px; font-family: Georgia, serif; }
.ae-close { position: absolute; top: 8px; right: 12px; background: none; border: 0; font-size: 30px; cursor: pointer; line-height: 1; }
.ae-form { display: flex; flex-direction: column; gap: 12px; }
.ae-form label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 500; }
.ae-form input, .ae-form select { min-height: 42px; border: 1px solid #999; padding: 0 10px; font: inherit; font-weight: 400; }
.ae-form .ae-check { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; }
.ae-form .ae-check input { min-height: 0; width: 18px; height: 18px; }
.ae-verify { position: relative; height: 60px; background: #eee url("../images/static.jpg") center / cover; overflow: hidden; }
.ae-verify span { position: absolute; font-size: 26px; font-weight: 700; }
.ae-small { font-size: 14px; margin: 12px 0 0; }
