:root {
  --navy-950: #04101f;
  --navy-900: #071a34;
  --navy-800: #0c274b;
  --navy-700: #123762;
  --navy-100: #e8eef5;
  --gold-600: #b77a19;
  --gold-500: #cb9133;
  --gold-400: #dfa94f;
  --gold-100: #f8ecd6;
  --ink: #112033;
  --muted: #5d6875;
  --line: #d9e0e8;
  --soft: #f4f6f8;
  --white: #ffffff;
  --danger: #a33232;
  --shadow: 0 18px 50px rgba(7, 26, 52, 0.12);
  --shadow-strong: 0 28px 80px rgba(3, 13, 27, 0.28);
  --radius: 20px;
  --container: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Arial, Helvetica, sans-serif; line-height: 1.6; }
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: var(--container); margin-inline: auto; }
.section { padding: 104px 0; }
.section-dark { color: var(--white); background: var(--navy-950); }
.section-soft { background: var(--soft); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 9999; top: 10px; left: 10px; transform: translateY(-150%); background: var(--gold-400); color: var(--navy-950); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { transform: translateY(0); }

h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { line-height: 1.12; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; }
h1 { max-width: 780px; margin-bottom: 24px; font-size: clamp(3rem, 6.2vw, 6.1rem); letter-spacing: -0.045em; }
h2 { margin-bottom: 22px; font-size: clamp(2.35rem, 4.3vw, 4.4rem); letter-spacing: -0.035em; }
h3 { margin-bottom: 12px; font-size: 1.35rem; }
p { margin-bottom: 18px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: var(--gold-500); font-size: .75rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.section-heading { max-width: 790px; margin-bottom: 52px; }
.section-heading.center { margin-inline: auto; text-align: center; }
.section-heading.center .eyebrow { justify-content: center; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.08rem; }
.lead-copy { color: var(--navy-800); font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; line-height: 1.45; }

.site-header { position: sticky; z-index: 1000; top: 0; background: rgba(255, 255, 255, .98); border-bottom: 1px solid rgba(7, 26, 52, .09); box-shadow: 0 10px 28px rgba(7, 26, 52, 0.08); backdrop-filter: blur(18px); }
.header-inner { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 96px; height: 96px; padding: 6px; object-fit: contain; background: var(--white); border: 2px solid rgba(203,145,51,.34); border-radius: 50%; box-shadow: 0 14px 38px rgba(7,26,52,.16); }
.brand-copy { display: grid; line-height: 1.1; }
.brand-copy strong { color: var(--navy-900); font-family: Georgia, "Times New Roman", serif; font-size: 1.72rem; letter-spacing: -.02em; }
.brand-copy small { margin-top: 6px; color: var(--muted); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: 22px; }
.primary-nav a { position: relative; color: var(--navy-900); font-size: .88rem; font-weight: 700; text-decoration: none; }
.primary-nav a::after { content: ""; position: absolute; right: 0; bottom: -9px; left: 0; height: 2px; transform: scaleX(0); background: var(--gold-500); transition: transform .2s ease; }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after { transform: scaleX(1); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 9px; background: transparent; border: 1px solid var(--line); border-radius: 10px; }
.menu-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--navy-900); }

.hero { position: relative; min-height: 785px; overflow: hidden; background: radial-gradient(circle at 70% 30%, #153b6b 0, var(--navy-950) 48%, #020913 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom, black, transparent 92%); }
.hero-grid { position: relative; z-index: 2; min-height: 785px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 60px; padding-block: 75px; }
.hero-copy { padding-bottom: 20px; }
.hero-lead { max-width: 690px; color: #c9d5e3; font-size: 1.16rem; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border: 1px solid transparent; border-radius: 999px; font-weight: 800; text-align: center; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-gold { color: var(--navy-950); background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); box-shadow: 0 12px 30px rgba(183, 122, 25, .25); }
.button-outline { color: var(--white); background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.34); }
.button-light { color: var(--navy-900); background: var(--white); border-color: var(--line); }
.small-button { min-height: 42px; padding: 9px 16px; font-size: .86rem; }
.text-link { color: var(--navy-800); font-weight: 800; text-underline-offset: 5px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.hero-points span { padding: 8px 13px; color: #dce8f6; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.11); border-radius: 999px; font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; }
.hero-visual { position: relative; min-height: 620px; display: flex; align-items: center; justify-content: center; }
.hero-book { position: relative; z-index: 2; width: min(420px, 90%); filter: drop-shadow(0 34px 44px rgba(0,0,0,.46)); }
.book-halo { position: absolute; width: 500px; height: 500px; background: radial-gradient(circle, rgba(223,169,79,.24), rgba(12,39,75,.03) 65%, transparent 70%); border: 1px solid rgba(223,169,79,.2); border-radius: 50%; }
.hero-card { position: absolute; z-index: 3; right: -10px; bottom: 48px; width: 250px; padding: 20px; color: var(--navy-900); background: rgba(255,255,255,.93); border-left: 4px solid var(--gold-500); border-radius: 12px; box-shadow: var(--shadow-strong); backdrop-filter: blur(10px); }
.hero-card span, .hero-card small { display: block; }
.hero-card span { margin-bottom: 7px; color: var(--gold-600); font-size: .68rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hero-card strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 1.12rem; }
.hero-card small { margin-top: 7px; color: var(--muted); line-height: 1.4; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(70px); }
.hero-glow-one { top: 8%; left: -8%; width: 350px; height: 350px; background: rgba(13, 69, 128, .4); }
.hero-glow-two { right: 0; bottom: -10%; width: 420px; height: 420px; background: rgba(183, 122, 25, .16); }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.about-story p:not(.lead-copy) { color: var(--muted); }
.values-panel { display: grid; gap: 1px; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.values-panel article { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 28px; background: var(--white); }
.values-panel article > span { color: var(--gold-600); font-family: Georgia, "Times New Roman", serif; font-size: 1.2rem; }
.values-panel h3 { color: var(--navy-900); }
.values-panel p { margin: 0; color: var(--muted); font-size: .94rem; }

.book-section { color: var(--white); background: linear-gradient(120deg, var(--navy-950), var(--navy-800)); }
.book-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 90px; }
.book-cover-wrap { position: relative; padding: 30px; }
.book-cover-wrap::before { content: ""; position: absolute; inset: 12% 0 0 12%; background: var(--gold-500); border-radius: 5px; transform: rotate(4deg); opacity: .75; }
.book-cover-wrap img { position: relative; z-index: 2; width: min(440px, 100%); margin-inline: auto; border-radius: 3px; box-shadow: 0 36px 70px rgba(0,0,0,.5); }
.book-copy > p:not(.eyebrow, .book-subtitle, .lead-copy) { color: #c9d5e3; }
.book-copy .lead-copy { color: var(--white); }
.book-subtitle { margin-top: -12px; color: var(--gold-400); font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; }
.book-copy blockquote { margin: 28px 0; padding: 20px 0 20px 24px; color: #e6edf6; border-left: 3px solid var(--gold-500); font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; font-style: italic; }
.book-details { display: flex; flex-wrap: wrap; gap: 12px; }
.book-details span { display: grid; min-width: 132px; padding: 12px 15px; color: #c9d5e3; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; font-size: .84rem; }
.book-details strong { color: var(--gold-400); font-size: .68rem; letter-spacing: .11em; text-transform: uppercase; }
.book-section .text-link { color: var(--white); }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { min-height: 330px; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(7,26,52,.06); transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-icon { width: 56px; height: 56px; display: grid; place-items: center; margin-bottom: 26px; color: var(--gold-600); background: var(--gold-100); border-radius: 15px; font-family: Georgia, "Times New Roman", serif; font-size: 1.7rem; font-weight: 700; }
.card-kicker { margin-bottom: 9px; color: var(--gold-600); font-size: .71rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.service-card h3 { color: var(--navy-900); }
.service-card p:last-child { color: var(--muted); font-size: .94rem; }
.brands-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 26px; overflow: hidden; background: var(--navy-900); border-radius: 16px; }
.brands-strip span { min-height: 78px; display: grid; place-items: center; padding: 15px; color: var(--white); border-right: 1px solid rgba(255,255,255,.15); font-family: Georgia, "Times New Roman", serif; font-size: 1.02rem; text-align: center; }
.brands-strip span:last-child { border-right: 0; }
.real-estate-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 28px; padding: 34px; color: var(--white); background: linear-gradient(120deg, var(--navy-800), var(--navy-950)); border-radius: var(--radius); box-shadow: var(--shadow); }
.real-estate-cta .eyebrow { margin-bottom: 8px; }
.real-estate-cta h3 { max-width: 650px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.6rem, 2.5vw, 2.5rem); }

.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filter-button { padding: 9px 16px; color: var(--navy-800); background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-size: .82rem; font-weight: 800; }
.filter-button.active { color: var(--white); background: var(--navy-900); border-color: var(--navy-900); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 280px; gap: 18px; }
.gallery-item { position: relative; overflow: hidden; padding: 0; background: var(--navy-100); border: 0; border-radius: 18px; box-shadow: 0 10px 30px rgba(7,26,52,.08); text-align: left; transition: opacity .2s ease, transform .2s ease; }
.gallery-item:hover { transform: translateY(-4px); }
.gallery-item.filtered-out { display: none; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-item > span:last-child { position: absolute; right: 0; bottom: 0; left: 0; padding: 44px 20px 18px; color: var(--white); background: linear-gradient(transparent, rgba(2,9,19,.88)); font-weight: 800; }
.gallery-item > span:last-child small { display: block; margin-bottom: 3px; color: var(--gold-400); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.placeholder-card { background: linear-gradient(145deg, var(--navy-800), var(--navy-950)); }
.community-card { background: linear-gradient(145deg, #6f4f18, var(--navy-900)); }
.development-card { background: linear-gradient(145deg, #3d536b, var(--navy-950)); }
.placeholder-art { position: absolute; inset: 0; opacity: .8; }
.placeholder-art i, .placeholder-art b, .placeholder-art em { position: absolute; display: block; background: rgba(255,255,255,.14); border: 2px solid rgba(223,169,79,.8); }
.property-card .placeholder-art i { left: 14%; bottom: 20%; width: 70%; height: 42%; clip-path: polygon(0 28%, 50% 0, 100% 28%, 100% 100%, 0 100%); }
.property-card .placeholder-art b { left: 39%; bottom: 20%; width: 22%; height: 28%; }
.property-card .placeholder-art em { top: 18%; right: 12%; width: 58px; height: 58px; border-radius: 50%; }
.people i, .people b, .people em { bottom: 26%; width: 70px; height: 70px; border-radius: 50% 50% 30% 30%; }
.people i { left: 15%; }.people b { left: 39%; height: 92px; }.people em { right: 15%; }
.skyline i { left: 12%; bottom: 20%; width: 23%; height: 38%; }.skyline b { left: 39%; bottom: 20%; width: 26%; height: 58%; }.skyline em { right: 10%; bottom: 20%; width: 21%; height: 46%; }

.contact-section { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 72px; align-items: start; }
.contact-copy { position: sticky; top: 125px; }
.contact-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.06rem; }
.contact-cards { display: grid; gap: 12px; margin-top: 30px; }
.contact-card { display: grid; padding: 18px 20px; background: var(--soft); border: 1px solid var(--line); border-radius: 13px; text-decoration: none; }
.contact-card span { color: var(--gold-600); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-card strong { color: var(--navy-900); overflow-wrap: anywhere; }
.storage-note { margin-top: 24px; padding: 20px; color: #d5dfeb; background: var(--navy-900); border-radius: 14px; }
.storage-note strong { color: var(--gold-400); }
.storage-note p { margin: 5px 0 0; font-size: .86rem; }
.contact-form, .event-admin-form { padding: 38px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-heading { margin-bottom: 26px; }
.form-heading > span { color: var(--gold-600); font-size: .69rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.form-heading h3 { margin: 5px 0 0; color: var(--navy-900); font-family: Georgia, "Times New Roman", serif; font-size: 2rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid label { display: grid; gap: 7px; color: var(--navy-900); font-size: .83rem; font-weight: 800; }
.form-grid label > span[aria-hidden] { display: inline; color: var(--danger); }
.form-grid .full { grid-column: 1 / -1; }
input, select, textarea { width: 100%; color: var(--ink); background: var(--white); border: 1px solid #cdd5df; border-radius: 10px; outline: none; }
input, select { min-height: 48px; padding: 10px 12px; }
textarea { min-height: 130px; padding: 12px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(203,145,51,.14); }
input.field-invalid { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(163,50,50,.12); }
.email-validation-message { display: block; margin-top: 6px; color: var(--danger); font-size: .78rem; font-weight: 700; line-height: 1.35; }
.email-validation-message[hidden] { display: none; }
.consent { display: grid !important; grid-template-columns: 20px 1fr; align-items: start; font-weight: 400 !important; }
.consent input { min-height: 0; margin-top: 4px; }
.form-error { min-height: 24px; margin: 14px 0 0; color: var(--danger); font-size: .88rem; font-weight: 700; }
.submit-button { width: 100%; margin-top: 10px; border: 0; }

.events-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; align-items: start; }
.calendar-card, .event-list-card { padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.calendar-header { display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; gap: 12px; margin-bottom: 20px; }
.calendar-header h3 { margin: 0; color: var(--navy-900); font-family: Georgia, "Times New Roman", serif; text-align: center; }
.calendar-header button { width: 42px; height: 42px; color: var(--navy-900); background: var(--soft); border: 1px solid var(--line); border-radius: 50%; font-size: 1.55rem; }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.calendar-weekdays { margin-bottom: 6px; color: var(--muted); font-size: .68rem; font-weight: 800; text-align: center; text-transform: uppercase; }
.calendar-day { position: relative; aspect-ratio: 1; display: grid; place-items: center; color: var(--ink); background: transparent; border: 1px solid transparent; border-radius: 10px; font-size: .84rem; }
.calendar-day:hover:not(.blank) { background: var(--soft); }
.calendar-day.has-event { color: var(--navy-900); background: var(--gold-100); font-weight: 800; }
.calendar-day.has-event::after { content: ""; position: absolute; bottom: 5px; width: 5px; height: 5px; background: var(--gold-600); border-radius: 50%; }
.calendar-day.selected { color: var(--white); background: var(--navy-900); }
.calendar-day.today { border-color: var(--gold-500); }
.calendar-day.blank { pointer-events: none; }
.calendar-reset { width: 100%; margin-top: 16px; padding: 10px; color: var(--navy-800); background: transparent; border: 0; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.event-list-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.event-list-heading .eyebrow { margin-bottom: 6px; }
.event-list-heading h3 { margin: 0; color: var(--navy-900); font-family: Georgia, "Times New Roman", serif; font-size: 1.8rem; }
.event-count { padding: 7px 11px; color: var(--navy-900); background: var(--gold-100); border-radius: 999px; font-size: .76rem; font-weight: 800; white-space: nowrap; }
.event-list { display: grid; gap: 12px; }
.event-item { display: grid; grid-template-columns: 72px 1fr; gap: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; }
.event-date-box { height: 72px; display: grid; place-content: center; color: var(--white); background: var(--navy-900); border-radius: 12px; text-align: center; }
.event-date-box span { color: var(--gold-400); font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.event-date-box strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.85rem; line-height: 1; }
.event-copy h4 { margin: 5px 0 7px; color: var(--navy-900); font-size: 1.12rem; }
.event-copy p { margin-bottom: 8px; color: var(--muted); font-size: .88rem; }
.event-copy small { color: var(--navy-700); font-weight: 700; }
.event-meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--gold-600); font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.event-meta span + span::before { content: "·"; margin-right: 8px; color: var(--line); }
.no-events { display: grid; gap: 5px; padding: 30px; color: var(--muted); background: var(--soft); border-radius: 14px; text-align: center; }
.no-events strong { color: var(--navy-900); }

.closing-section { padding: 58px 0; }
.closing-grid { display: grid; grid-template-columns: 100px 1fr auto; align-items: center; gap: 30px; }
.closing-grid img { width: 100px; height: 100px; object-fit: contain; background: var(--white); border-radius: 50%; }
.closing-grid .eyebrow { margin-bottom: 7px; }
.closing-grid h2 { margin: 0; font-size: clamp(2rem, 3vw, 3.3rem); }
.site-footer { padding: 38px 0; color: #c6d3e2; background: #020913; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: center; }
.footer-grid strong { color: var(--white); font-family: Georgia, "Times New Roman", serif; font-size: 1.2rem; }
.footer-grid p { margin: 5px 0 0; font-size: .82rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.footer-links a { color: var(--white); font-size: .8rem; font-weight: 700; text-decoration: none; }
.copyright { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); }

.lightbox, .modal { position: fixed; z-index: 3000; inset: 0; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(2,9,19,.92); }
.lightbox.open, .modal.open { display: flex; }
.lightbox-close, .modal-close { position: absolute; top: 20px; right: 24px; width: 44px; height: 44px; color: var(--white); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); border-radius: 50%; font-size: 1.8rem; }
.lightbox-content { max-width: min(880px, 95vw); max-height: 88vh; display: grid; gap: 10px; text-align: center; }
.lightbox-content img { max-height: 80vh; margin: auto; box-shadow: var(--shadow-strong); }
.lightbox-content p { margin: 0; color: var(--white); }
.toast { position: fixed; z-index: 5000; right: 24px; bottom: 24px; max-width: 360px; padding: 15px 18px; transform: translateY(130px); color: var(--white); background: var(--navy-900); border-left: 4px solid var(--gold-500); border-radius: 10px; box-shadow: var(--shadow-strong); opacity: 0; transition: transform .25s ease, opacity .25s ease; }
.toast.show { transform: translateY(0); opacity: 1; }
.reveal { transform: translateY(22px); opacity: 0; transition: transform .65s ease, opacity .65s ease; }
.reveal.visible { transform: translateY(0); opacity: 1; }

/* Admin */
.admin-body { min-height: 100vh; background: var(--soft); }
.admin-header { color: var(--white); background: var(--navy-950); }
.admin-header-inner { min-height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.admin-brand .brand-copy strong { color: var(--white); }
.admin-brand .brand-copy small { color: #b9c8d9; }
.admin-brand img { background: var(--white); border-radius: 50%; }
.admin-main { padding: 60px 0 100px; }
.admin-intro { display: flex; justify-content: space-between; gap: 40px; align-items: center; margin-bottom: 34px; }
.admin-intro h1 { margin-bottom: 16px; font-size: clamp(2.6rem, 5vw, 4.8rem); }
.admin-intro p:not(.eyebrow) { max-width: 760px; color: var(--muted); }
.demo-badge { min-width: 170px; display: grid; padding: 18px; color: var(--white); background: var(--navy-900); border: 1px solid var(--gold-500); border-radius: 14px; text-align: center; }
.demo-badge strong { color: var(--gold-400); letter-spacing: .16em; }
.demo-badge span { font-size: .76rem; }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; margin-bottom: 30px; }
.stats-grid article { min-height: 130px; display: grid; align-content: center; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 8px 24px rgba(7,26,52,.05); }
.stats-grid span { color: var(--muted); font-size: .77rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.stats-grid strong { color: var(--navy-900); font-family: Georgia, "Times New Roman", serif; font-size: 2.25rem; line-height: 1.1; }
#stat-latest { font-family: Arial, Helvetica, sans-serif; font-size: 1.05rem; }
.admin-tabs { display: flex; gap: 6px; margin-bottom: -1px; }
.admin-tab { padding: 14px 20px; color: var(--muted); background: #e7ebf0; border: 1px solid var(--line); border-bottom: 0; border-radius: 12px 12px 0 0; font-weight: 800; }
.admin-tab.active { color: var(--navy-900); background: var(--white); }
.admin-panel { padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: 0 var(--radius) var(--radius) var(--radius); box-shadow: var(--shadow); }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.panel-heading .eyebrow { margin-bottom: 6px; }
.panel-heading h2 { margin: 0; font-size: 2.4rem; }
.panel-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.admin-filters { display: grid; grid-template-columns: 1fr 240px; gap: 15px; margin-bottom: 20px; }
.admin-filters label { display: grid; gap: 7px; color: var(--navy-900); font-size: .78rem; font-weight: 800; }
.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 15px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.admin-table th { color: var(--muted); background: var(--soft); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.admin-table td { font-size: .86rem; }
.admin-table td > strong, .admin-table td > span { display: block; }
.admin-table td > span { margin-top: 3px; color: var(--muted); font-size: .78rem; }
.admin-table td:first-child { min-width: 215px; }
.row-actions { display: flex; gap: 7px; }
.row-actions button { padding: 7px 10px; color: var(--navy-800); background: var(--white); border: 1px solid var(--line); border-radius: 8px; font-size: .76rem; font-weight: 800; }
.row-actions button.danger { color: var(--danger); }
.status-pill { display: inline-flex !important; width: max-content; margin: 0 !important; padding: 5px 9px; border-radius: 999px; font-size: .71rem !important; font-weight: 800; }
.status-new { color: #7a4b00 !important; background: #fff0cc; }
.status-in-progress { color: #194b7d !important; background: #dcecfb; }
.status-closed { color: #285f39 !important; background: #dff2e4; }
.status-membership-pending-review { color: #7a4b00 !important; background: #fff0cc; }
.status-membership-contacted { color: #194b7d !important; background: #dcecfb; }
.status-membership-approved { color: #285f39 !important; background: #dff2e4; }
.status-membership-declined { color: #842a2a !important; background: #f9dddd; }
.status-membership-inactive { color: #555f69 !important; background: #e7ebef; }
.empty-state { padding: 40px; color: var(--muted); text-align: center; }
.empty-state h3 { color: var(--navy-900); }
.event-admin-form { margin-bottom: 24px; }
.admin-form-grid { grid-template-columns: 1fr 1fr; }
.modal { background: rgba(2,9,19,.86); }
.modal-card { position: relative; width: min(760px, 96vw); max-height: 90vh; overflow: auto; padding: 34px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-strong); }
.modal .modal-close { position: absolute; top: 16px; right: 16px; color: var(--navy-900); background: var(--soft); border-color: var(--line); }
.membership-modal-card { width: min(980px, 96vw); }
.membership-table { min-width: 1040px; }

@media (max-width: 1080px) {
  .primary-nav { gap: 14px; }
  .primary-nav a { font-size: .76rem; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .brands-strip { grid-template-columns: repeat(2, 1fr); }
  .brands-strip span:nth-child(2) { border-right: 0; }
  .brands-strip span:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.15); }
}

@media (max-width: 860px) {
  .section { padding: 78px 0; }
  .menu-toggle { display: block; }
  .primary-nav { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; padding: 18px 20px 24px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .primary-nav.open { display: grid; }
  .primary-nav a { padding: 9px; font-size: .92rem; }
  .primary-nav a::after { display: none; }
  .hero, .hero-grid { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 85px 70px; }
  .hero-visual { min-height: 480px; }
  .hero-book { width: 330px; }
  .hero-card { right: 5%; bottom: 20px; }
  .brand img { width: 84px; height: 84px; }
  .brand-copy strong { font-size: 1.56rem; }
  .brand-copy small { font-size: .74rem; }
  .about-grid, .book-grid, .contact-grid, .events-grid { grid-template-columns: 1fr; gap: 45px; }
  .book-grid { gap: 60px; }
  .contact-copy { position: static; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: span 1; }
  .closing-grid { grid-template-columns: 80px 1fr; }
  .closing-grid .button { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-intro { align-items: flex-start; }
}

@media (max-width: 620px) {
  :root { --container: min(100% - 28px, 1180px); }
  .section { padding: 64px 0; }
  .header-inner { min-height: 88px; }
  .brand { gap: 12px; }
  .brand img { width: 72px; height: 72px; padding: 4px; }
  .brand-copy strong { font-size: 1.38rem; }
  .brand-copy small { display: none; }
  h1 { font-size: clamp(2.7rem, 14vw, 4.4rem); }
  h2 { font-size: clamp(2.2rem, 11vw, 3.2rem); }
  .hero-grid { padding-top: 64px; gap: 28px; }
  .hero-visual { min-height: 410px; }
  .hero-book { width: 285px; }
  .book-halo { width: 360px; height: 360px; }
  .hero-card { right: 0; bottom: 0; width: 220px; }
  .button-row .button { width: 100%; }
  .values-panel article { grid-template-columns: 40px 1fr; padding: 22px 18px; }
  .book-cover-wrap { padding: 18px; }
  .service-grid, .brands-strip, .gallery-grid, .form-grid, .admin-form-grid, .admin-filters, .stats-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .brands-strip span { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
  .brands-strip span:last-child { border-bottom: 0; }
  .real-estate-cta, .panel-heading, .admin-intro, .admin-header-inner { align-items: stretch; flex-direction: column; }
  .gallery-grid { grid-auto-rows: 300px; }
  .gallery-item.tall { grid-row: span 1; }
  .contact-form, .calendar-card, .event-list-card, .admin-panel, .event-admin-form { padding: 22px; }
  .form-grid .full { grid-column: auto; }
  .event-item { grid-template-columns: 60px 1fr; gap: 13px; padding: 14px; }
  .event-date-box { width: 60px; height: 64px; }
  .closing-grid { grid-template-columns: 1fr; text-align: left; }
  .closing-grid img { width: 80px; height: 80px; }
  .admin-header .button { width: 100%; }
  .demo-badge { min-width: 0; }
  .admin-tabs { display: grid; grid-template-columns: 1fr; }
  .admin-tab { padding: 12px 8px; font-size: .78rem; }
  .admin-panel { border-radius: 0 0 16px 16px; }
  .panel-actions { width: 100%; }
  .panel-actions .button { flex: 1; }
  .modal-card { padding: 28px 20px; }
  .toast { right: 14px; bottom: 14px; left: 14px; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { transform: none; opacity: 1; }
}

/* July 2026 public-site revisions: centered brand, real-estate gallery, and community section */
html { scroll-padding-top: 24px; }

.site-header {
  position: relative;
  top: auto;
  background: #fff;
  box-shadow: 0 12px 34px rgba(7, 26, 52, 0.09);
}
.site-header .header-inner {
  min-height: 0;
  position: relative;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 24px 0 14px;
}
.site-header .brand {
  width: 100%;
  justify-content: center;
}
.site-header .brand img {
  width: 288px;
  height: 288px;
  max-width: none;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
}
.site-header .primary-nav {
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 27px;
  padding: 15px 0 7px;
  border-top: 1px solid rgba(7, 26, 52, .12);
}
.site-header .primary-nav a {
  font-size: .9rem;
  letter-spacing: .015em;
}
.site-header .menu-toggle { margin-inline: auto; }

.real-estate-actions {
  display: flex;
  max-width: 440px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
.real-estate-actions .button { min-height: 48px; }
.light-text-link { color: #fff; text-underline-offset: 5px; }
.light-text-link:hover { color: var(--gold-400); }

.real-estate-gallery {
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 310px;
}
.real-estate-gallery .gallery-item img { object-position: center; }
.gallery-source-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.gallery-source-note p { margin: 0; color: var(--muted); font-size: .9rem; }
.gallery-source-note .text-link { flex: 0 0 auto; }

.community-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 20%, rgba(203,145,51,.18), transparent 30%),
    linear-gradient(140deg, #071a34 0%, #04101f 56%, #020913 100%);
}
.community-layout { position: relative; z-index: 2; }
.community-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}
.community-orb-one {
  top: -150px;
  right: -110px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(223,169,79,.18);
  box-shadow: inset 0 0 90px rgba(203,145,51,.08);
}
.community-orb-two {
  bottom: -230px;
  left: -150px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(255,255,255,.08);
}
.community-intro {
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  align-items: center;
  gap: 48px;
  max-width: 1180px;
}
.society-logo {
  width: 100%;
  max-width: 340px;
  height: auto;
  padding: 8px;
  object-fit: contain;
  background: var(--white);
  border: 2px solid rgba(223,169,79,.78);
  border-radius: 22px;
  box-shadow: 0 28px 75px rgba(0,0,0,.38);
}
.community-intro h2 { max-width: 890px; margin-bottom: 18px; font-size: clamp(2.25rem, 4vw, 4.2rem); }
.community-lead { max-width: 930px; color: #f5f7fa; font-family: Georgia, "Times New Roman", serif; font-size: 1.38rem; line-height: 1.48; }
.community-intro p:not(.eyebrow):not(.community-lead) { max-width: 900px; color: #c6d3e1; }
.community-status { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.community-status span {
  padding: 8px 13px;
  color: #e5edf6;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.community-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 58px;
}
.community-pillars article {
  min-height: 240px;
  padding: 30px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 18px;
  backdrop-filter: blur(8px);
}
.community-pillars article > span { color: var(--gold-400); font-size: .78rem; font-weight: 800; letter-spacing: .14em; }
.community-pillars h3 { margin-top: 34px; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 1.65rem; }
.community-pillars p { margin-bottom: 0; color: #c4d0de; }
.community-events-panel {
  margin-top: 28px;
  padding: 34px;
  color: var(--ink);
  background: rgba(255,255,255,.97);
  border-radius: 22px;
  box-shadow: var(--shadow-strong);
}
.community-events-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 24px;
}
.community-events-heading .eyebrow { margin-bottom: 8px; }
.community-events-heading h3 { margin-bottom: 7px; color: var(--navy-900); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.75rem, 3vw, 2.7rem); }
.community-events-heading p:last-child { margin-bottom: 0; color: var(--muted); }
.community-event-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.community-preview-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.community-preview-date {
  min-height: 64px;
  display: grid;
  place-content: center;
  color: #fff;
  background: var(--navy-900);
  border-radius: 11px;
  text-align: center;
}
.community-preview-date span { color: var(--gold-400); font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.community-preview-date strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.65rem; line-height: 1; }
.community-preview-copy small { color: var(--gold-600); font-size: .67rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.community-preview-copy h4 { margin: 6px 0 6px; color: var(--navy-900); font-size: 1rem; line-height: 1.25; }
.community-preview-copy p { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.45; }
.community-preview-empty { grid-column: 1 / -1; padding: 24px; color: var(--muted); background: var(--soft); border-radius: 14px; text-align: center; }


.community-intro-actions { margin-top: 28px; }
.community-purpose {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 54px;
  align-items: center;
  margin-top: 42px;
  padding: 34px;
  background: rgba(255,255,255,.065);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 20px;
}
.community-purpose .eyebrow { margin-bottom: 8px; }
.community-purpose h3 { margin: 0; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.7rem, 3vw, 2.65rem); }
.community-purpose > p { margin: 0; color: #c9d5e3; font-size: 1.02rem; }
.membership-pillars { margin-top: 24px; }
.membership-pillars article { min-height: 300px; }
.membership-pillars h3 { margin-top: 28px; }
.community-program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 22px;
}
.community-program-grid article {
  padding: 22px;
  color: var(--ink);
  background: rgba(255,255,255,.97);
  border-top: 4px solid var(--gold-500);
  border-radius: 14px;
}
.community-program-grid strong { display: block; margin-bottom: 8px; color: var(--navy-900); font-family: Georgia, "Times New Roman", serif; font-size: 1.18rem; }
.community-program-grid p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.5; }
.membership-application-panel {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  margin-top: 30px;
  overflow: hidden;
  color: var(--ink);
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow-strong);
}
.membership-application-copy {
  padding: 42px 36px;
  color: #fff;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-950));
}
.membership-application-copy h3 { color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 3.4vw, 3.25rem); }
.membership-application-copy > p:not(.eyebrow) { color: #c9d5e3; }
.membership-note { margin-top: 28px; padding: 20px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13); border-radius: 14px; }
.membership-note strong { color: var(--gold-400); }
.membership-note p { margin: 5px 0 0; color: #d4dfeb; font-size: .86rem; }
.membership-form { padding: 42px; background: var(--white); }
.membership-form .form-heading h3 { color: var(--navy-900); }
.membership-fields[hidden] { display: none !important; }
.membership-fields {
  padding: 22px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.membership-fields h4 { margin: 0 0 18px; color: var(--navy-900); font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; }
.nested-form-grid { gap: 16px; }
.membership-form textarea { min-height: 96px; }

@media (max-width: 1080px) {
  .site-header .brand img { width: 250px; height: 250px; }
  .site-header .primary-nav { gap: 12px 19px; }
  .real-estate-gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 270px; }
  .community-event-preview { grid-template-columns: 1fr 1fr; }
  .community-program-grid { grid-template-columns: repeat(2, 1fr); }
  .membership-application-panel { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .site-header .header-inner { padding: 18px 0 14px; }
  .site-header .brand img { width: 220px; height: 220px; }
  .site-header .menu-toggle { display: block; }
  .site-header .primary-nav {
    top: calc(100% + 1px);
    padding: 18px 20px 24px;
    border-top: 0;
  }
  .real-estate-actions { max-width: none; justify-content: flex-start; }
  .real-estate-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 285px; }
  .community-intro { grid-template-columns: minmax(220px, 280px) 1fr; gap: 30px; }
  .society-logo { max-width: 280px; }
  .community-pillars { grid-template-columns: 1fr; }
  .community-pillars article { min-height: 0; }
  .community-events-heading { align-items: flex-start; flex-direction: column; }
  .community-event-preview { grid-template-columns: 1fr; }
  .community-purpose { grid-template-columns: 1fr; gap: 18px; }
  .membership-form, .membership-application-copy { padding: 32px; }
}

@media (max-width: 620px) {
  .site-header .header-inner { min-height: 0; }
  .site-header .brand img { width: 170px; height: 170px; }
  .site-header .brand { gap: 0; }
  .real-estate-actions { display: grid; width: 100%; }
  .real-estate-actions .button { width: 100%; justify-content: center; }
  .real-estate-gallery { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .gallery-source-note { align-items: flex-start; flex-direction: column; }
  .community-intro { grid-template-columns: 1fr; }
  .society-logo { width: min(100%, 300px); max-width: 300px; margin-inline: auto; }
  .community-events-panel { padding: 24px 18px; }
  .community-preview-card { grid-template-columns: 58px 1fr; padding: 14px; }
  .community-program-grid { grid-template-columns: 1fr; }
  .community-purpose { padding: 24px 20px; }
  .membership-form, .membership-application-copy { padding: 25px 20px; }
  .membership-fields { padding: 18px 14px; }
}

/* JSON data management */
.json-data-panel { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-bottom: 30px; padding: 28px 30px; color: var(--white); background: linear-gradient(120deg, var(--navy-800), var(--navy-950)); border: 1px solid rgba(203,145,51,.45); border-radius: var(--radius); box-shadow: var(--shadow); }
.json-data-panel .eyebrow { margin-bottom: 7px; }
.json-data-panel h2 { margin: 0 0 10px; font-size: clamp(1.6rem, 2.7vw, 2.6rem); }
.json-data-panel p:not(.eyebrow) { max-width: 760px; margin-bottom: 8px; color: #d4dfeb; }
.json-data-panel .json-save-status { margin: 13px 0 0; color: var(--gold-400); font-size: .82rem; font-weight: 800; }
.json-data-actions { min-width: 245px; display: grid; gap: 10px; }
.json-data-actions .button { width: 100%; justify-content: center; }

@media (max-width: 860px) {
  .json-data-panel { align-items: stretch; flex-direction: column; }
  .json-data-actions { min-width: 0; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .json-data-panel { padding: 24px 20px; }
  .json-data-actions { grid-template-columns: 1fr; }
}
