/* AECLink — shared styles */
:root {
  --navy: #16404F; --navy-deep: #0F2E3A; --teal: #2E7A8C; --teal-bright: #3A93A8;
  --pale: #C9DEE8; --paler: #EAF3F7; --ink: #1A2A35; --gray: #5C6B72; --white: #FFFFFF;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Segoe UI', Arial, Helvetica, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); line-height: 1.65; background: var(--white); }
img { max-width: 100%; display: block; }
a { color: var(--teal); }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
header.site { background: var(--white); border-bottom: 1px solid #E2E9EC; position: sticky; top: 0; z-index: 100; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 96px; }
.brand img { height: 76px; width: auto; }
nav.main { display: flex; gap: 28px; align-items: center; }
nav.main a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; padding: 6px 2px; border-bottom: 3px solid transparent; }
nav.main a:hover { color: var(--teal); }
nav.main a.active { color: var(--teal); border-bottom-color: var(--teal); }
.btn { display: inline-block; background: var(--teal); color: var(--white) !important; padding: 12px 26px; border-radius: 6px; text-decoration: none; font-weight: 700; border: none; font-size: 15px; cursor: pointer; }
.btn:hover { background: var(--navy); }
.btn.ghost { background: transparent; border: 2px solid var(--white); }
.btn.ghost:hover { background: rgba(255,255,255,.15); }
nav.main .btn { padding: 9px 20px; }
.hero { background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, var(--teal) 130%); color: var(--white); text-align: center; padding: 96px 24px; }
.hero h1 { font-family: var(--serif); font-size: clamp(34px, 5vw, 58px); line-height: 1.15; margin-bottom: 18px; }
.hero p.lead { font-size: 20px; max-width: 760px; margin: 0 auto 34px; color: var(--pale); }
.hero .cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.pagehead { background: var(--navy); color: var(--white); padding: 56px 24px; text-align: center; }
.pagehead h1 { font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); }
.pagehead p { color: var(--pale); max-width: 720px; margin: 10px auto 0; }
section.block { padding: 72px 0; }
section.block.alt { background: var(--paler); }
h2.sec { font-family: var(--serif); font-size: 34px; color: var(--navy); margin-bottom: 8px; }
p.sub { color: var(--gray); max-width: 720px; margin-bottom: 40px; }
h3 { font-family: var(--serif); color: var(--navy); font-size: 22px; margin-bottom: 8px; }
.grid { display: grid; gap: 26px; }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--white); border: 1px solid #E2E9EC; border-radius: 10px; padding: 28px; box-shadow: 0 2px 10px rgba(22,64,79,.06); }
.card .icon { font-size: 30px; margin-bottom: 12px; }
.card p { color: var(--gray); font-size: 15px; }
.card a.more { font-weight: 700; text-decoration: none; font-size: 14px; }
.ph { background: linear-gradient(135deg, var(--pale), #9CC4D4); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--navy); font-weight: 700; letter-spacing: 1px; font-size: 13px; text-transform: uppercase; min-height: 220px; text-align: center; padding: 12px; }
.ph.tall { min-height: 300px; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat .num { font-family: var(--serif); font-size: 42px; font-weight: 700; color: var(--teal); }
.stat .lbl { color: var(--gray); font-size: 14px; }
.valstrip { background: var(--navy); color: var(--white); text-align: center; padding: 64px 24px; }
.valstrip blockquote { font-family: var(--serif); font-style: italic; font-size: 24px; max-width: 860px; margin: 0 auto 12px; }
.valstrip cite { color: var(--pale); font-style: normal; font-size: 15px; }
ul.checks { list-style: none; }
ul.checks li { padding-left: 30px; position: relative; margin-bottom: 10px; color: var(--gray); }
ul.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
ul.checks li strong { color: var(--ink); }
.tiers { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.tier { border-top: 6px solid var(--teal); background: var(--white); border-radius: 0 0 10px 10px; padding: 26px; border-left: 1px solid #E2E9EC; border-right: 1px solid #E2E9EC; border-bottom: 1px solid #E2E9EC; }
.tier .yrs { font-family: var(--serif); font-size: 40px; color: var(--navy); font-weight: 700; }
details.faq { background: var(--white); border: 1px solid #E2E9EC; border-radius: 8px; margin-bottom: 12px; }
details.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 18px 22px; list-style: none; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; float: right; color: var(--teal); font-size: 20px; }
details.faq[open] summary::after { content: "–"; }
details.faq p { padding: 0 22px 18px; color: var(--gray); }
.contactgrid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
form.contact label { display: block; font-weight: 600; margin: 16px 0 6px; font-size: 14px; }
form.contact input, form.contact textarea, form.contact select { width: 100%; padding: 12px 14px; border: 1px solid #C8D4DA; border-radius: 6px; font-family: var(--sans); font-size: 15px; }
form.contact textarea { min-height: 130px; }
.infocard { background: var(--paler); border-radius: 10px; padding: 32px; }
.infocard p { margin-bottom: 14px; }
.infocard .big { font-size: 22px; font-weight: 700; color: var(--navy); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ctaband { background: linear-gradient(120deg, var(--teal), var(--navy)); color: var(--white); text-align: center; padding: 64px 24px; }
.ctaband h2 { font-family: var(--serif); font-size: 32px; margin-bottom: 12px; }
.ctaband p { color: var(--pale); margin-bottom: 26px; }
footer.site { background: var(--navy-deep); color: #A9C2CC; padding: 56px 0 28px; font-size: 14px; }
footer.site .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; margin-bottom: 36px; }
footer.site img { height: 84px; margin-bottom: 14px; }
footer.site h4 { color: var(--white); font-size: 15px; margin-bottom: 12px; }
footer.site a { color: #A9C2CC; text-decoration: none; display: block; margin-bottom: 8px; }
footer.site a:hover { color: var(--white); }
footer.site .legal { border-top: 1px solid #234A58; padding-top: 22px; text-align: center; color: #7E9AA6; }
.affil { display: flex; gap: 12px; flex-wrap: wrap; }
.affil span { border: 1px solid #335866; border-radius: 6px; padding: 8px 12px; font-size: 12.5px; }
@media (max-width: 900px) {
  .grid.c3, .tiers, .gallery { grid-template-columns: repeat(2, 1fr); }
  .split, .contactgrid, .grid.c2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
  nav.main { gap: 14px; }
  nav.main a:not(.btn) { font-size: 13px; }
}
@media (max-width: 600px) {
  .grid.c3, .tiers, .gallery { grid-template-columns: 1fr; }
  header.site .wrap { flex-direction: column; height: auto; padding: 12px 24px; gap: 8px; }
}

/* Photo hero */
.hero-photo { text-align: left; padding: 110px 24px 120px; }
.hero-photo .inner { max-width: 1140px; margin: 0 auto; }
.hero-photo h1 { max-width: 720px; }
.hero-photo h1 .accent { color: #9CC8D8; }
.hero-photo p.lead { margin: 0 0 34px; max-width: 640px; }
.hero-photo .cta { justify-content: flex-start; }
/* Content photos */
img.photo { width: 100%; height: 320px; object-fit: cover; border-radius: 10px; box-shadow: 0 4px 18px rgba(22,64,79,.15); }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: 250px; object-fit: cover; border-radius: 10px; }
.gallery figcaption { font-size: 13.5px; color: var(--gray); padding: 8px 4px 0; }

/* Gallery filters + lightbox */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.fbtn { background: var(--paler); border: 1px solid #D5E2E8; color: var(--navy); padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; cursor: pointer; font-family: var(--sans); }
.fbtn:hover { background: var(--pale); }
.fbtn.active { background: var(--teal); border-color: var(--teal); color: #fff; }
.gallery img { cursor: pointer; transition: transform .15s; }
.gallery img:hover { transform: scale(1.02); }
#lb { display: none; position: fixed; inset: 0; background: rgba(10,25,32,.92); z-index: 200; flex-direction: column; align-items: center; justify-content: center; padding: 30px; cursor: pointer; }
#lb img { max-width: 92vw; max-height: 82vh; border-radius: 8px; }
#lb p { color: #fff; margin-top: 14px; font-size: 15px; }
