:root {
  --navy: #0d2a43;
  --navy-2: #163d5b;
  --ink: #14222d;
  --paper: #f4f1ea;
  --white: #fffdf8;
  --gold: #c89b54;
  --line: rgba(20, 34, 45, .16);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
p { line-height: 1.75; }
h1, h2, h3 { margin: 0; font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif; letter-spacing: -.045em; line-height: 1.03; }

.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; background: white; border-radius: 99px; transition: top .2s; }
.skip-link:focus { top: 16px; }
.site-header { position: absolute; inset: 0 0 auto; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 28px clamp(24px, 5vw, 72px); color: var(--white); }
.site-header.is-scrolled { position: fixed; color: var(--ink); background: rgba(244, 241, 234, .9); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); padding-top: 17px; padding-bottom: 17px; }
.wordmark { font: 700 clamp(18px, 2vw, 24px)/1 "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif; text-transform: uppercase; letter-spacing: .08em; }
nav { display: flex; gap: clamp(18px, 3vw, 40px); align-items: center; font-size: 14px; font-weight: 600; }
nav a:not(.nav-cta) { border-bottom: 1px solid transparent; }
nav a:not(.nav-cta):hover { border-color: currentColor; }
.nav-cta { padding: 12px 18px; border: 1px solid currentColor; border-radius: 999px; }

.hero { position: relative; min-height: min(100svh, 900px); display: grid; grid-template-columns: 52% 48%; color: var(--white); background: var(--navy); }
.hero-copy { align-self: center; min-width: 0; max-width: 720px; padding: 108px clamp(32px, 6vw, 96px) 76px; }
.eyebrow { margin: 0 0 24px; color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.hero h1 { max-width: 650px; font-size: clamp(56px, 6vw, 88px); }
.hero-intro { max-width: 490px; margin: 32px 0; color: rgba(255,255,255,.76); font-size: clamp(18px, 2vw, 24px); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 40px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 14px 22px; border: 0; border-radius: 999px; font: 600 14px/1 "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif; cursor: pointer; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--gold); color: #102334; }
.button-dark { margin-top: 18px; background: var(--navy); color: white; }
.text-link { display: inline-flex; gap: 8px; align-items: center; padding-bottom: 4px; border-bottom: 1px solid currentColor; font-weight: 600; }
.hero-media { position: relative; height: 100%; min-height: 0; margin: 0; overflow: hidden; background: #d8d8d2; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,42,67,.14), transparent 40%); pointer-events: none; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.hero-media figcaption { position: absolute; right: 24px; bottom: 22px; z-index: 1; padding: 10px 14px; border-radius: 999px; background: rgba(13,42,67,.78); backdrop-filter: blur(8px); font-size: 12px; }
.scroll-cue { position: absolute; left: clamp(32px, 6vw, 96px); bottom: 32px; display: flex; gap: 12px; align-items: center; color: rgba(255,255,255,.65); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }

.section { max-width: var(--max); margin: 0 auto; padding: clamp(88px, 11vw, 150px) clamp(24px, 5vw, 64px); }
.section-kicker { display: flex; gap: 16px; align-items: center; margin-bottom: 62px; padding-bottom: 18px; border-bottom: 1px solid var(--line); color: #53616a; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.section-kicker span { color: var(--gold); }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(50px, 10vw, 140px); }
.about h2, .civic h2 { font-size: clamp(42px, 5.5vw, 72px); }
.about-copy { padding-top: 30px; }
.about-copy p { margin: 0 0 18px; color: #4a5861; font-size: 17px; }
.about-photos { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: clamp(16px, 3vw, 34px); margin-top: 96px; }
.photo-card { margin: 0; overflow: hidden; border-radius: 4px; background: #ddd; }
.photo-card img { height: 100%; object-fit: cover; }
.photo-tall { aspect-ratio: 3 / 4; }
.photo-tall img { object-position: 50% 45%; }
.photo-wide { aspect-ratio: 4 / 3; margin-bottom: 110px; }
.photo-wide img { object-position: 50% 38%; }

.community-band { display: grid; grid-template-columns: 58% 42%; min-height: 740px; background: var(--navy); color: white; }
.community-image { position: relative; min-height: 640px; overflow: hidden; }
.community-image img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: 50% 52%; }
.community-copy { align-self: center; padding: clamp(60px, 8vw, 120px); }
.community-copy h2 { font-size: clamp(44px, 5.6vw, 78px); }
.community-copy p:not(.eyebrow) { max-width: 520px; margin: 28px 0; color: rgba(255,255,255,.68); font-size: 18px; }
.text-link-light { margin-top: 10px; }

.civic-intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(40px, 8vw, 120px); align-items: end; margin-bottom: 80px; }
.civic-intro p { margin: 0 0 4px; color: #52606a; font-size: 20px; }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-flow: dense; gap: 18px; }
.gallery-item { margin: 0; overflow: hidden; border-radius: 4px; background: #d8d6d0; }
.gallery-item img { height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.025); }
.gallery-portrait { grid-column: span 4; aspect-ratio: 3 / 4; }
.gallery-landscape { grid-column: span 8; aspect-ratio: 8 / 5; }
.gallery-square { grid-column: span 4; aspect-ratio: 1; }
.gallery .gallery-item:nth-child(1) img { object-position: 52% 36%; }
.gallery .gallery-item:nth-child(2) img { object-position: 50% 36%; }
.gallery .gallery-item:nth-child(3) img { object-position: 50% 36%; }
.gallery .gallery-item:nth-child(4) img { object-position: 50% 32%; }
.gallery .gallery-item:nth-child(5) img { object-position: 55% 36%; }

.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(60px, 11vw, 150px); padding: clamp(88px, 11vw, 150px) max(clamp(24px, 7vw, 110px), calc((100vw - 1240px) / 2)); background: #e5dfd3; }
.contact-intro h2 { font-size: clamp(44px, 5.7vw, 76px); }
.contact-intro > p:not(.eyebrow) { max-width: 540px; margin: 28px 0; color: #53616a; }
.socials { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 42px; font-size: 13px; font-weight: 700; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 22px; align-self: center; padding: clamp(30px, 4vw, 54px); background: var(--white); border-radius: 4px; box-shadow: 0 24px 70px rgba(13,42,67,.1); }
.field { display: grid; gap: 10px; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.field-full { grid-column: 1 / -1; }
label { color: #58656d; font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
input, textarea { width: 100%; padding: 11px 0; border: 0; border-bottom: 1px solid #adb5b7; border-radius: 0; outline: 0; background: transparent; font: 16px "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif; }
input:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 1px 0 var(--gold); }
textarea { resize: vertical; }
.button-gold { grid-column: 1 / -1; justify-self: start; gap: 36px; margin-top: 6px; padding-inline: 26px; background: var(--gold); color: #132637; }
.form-status { grid-column: 1 / -1; min-height: 1.4em; margin: 0; color: var(--navy); font-size: 13px; }

footer { display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: center; padding: 38px clamp(24px, 5vw, 72px); background: #071c2d; color: rgba(255,255,255,.62); font-size: 12px; }
.wordmark-light { color: white; }
footer p { margin: 0; line-height: 1.5; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 900px) {
  .site-header nav a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { min-height: min(72svh, 720px); padding-bottom: 95px; }
  .hero-media { height: min(66svh, 760px); min-height: 540px; }
  .hero-media img { object-position: 50% 24%; }
  .scroll-cue { display: none; }
  .about-grid, .civic-intro, .contact { grid-template-columns: 1fr; }
  .about-copy { padding-top: 0; }
  .community-band { grid-template-columns: 1fr; }
  .community-image { min-height: min(75vw, 520px); }
  .community-copy { padding: 72px 28px 80px; }
  .gallery-portrait { grid-column: span 6; }
  .gallery-landscape { grid-column: span 12; }
  .gallery-square { grid-column: span 6; }
  footer { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .site-header { padding: 20px; }
  .site-header.is-scrolled { padding: 14px 20px; }
  .nav-cta { padding: 10px 14px; }
  .hero-copy { padding: 125px 24px 80px; }
  .hero h1 { font-size: clamp(48px, 15vw, 70px); }
  .hero-media { height: min(58svh, 660px); min-height: 470px; }
  .hero-media img { object-position: 50% 20%; }
  .section { padding-inline: 20px; }
  .about-photos { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 60px; }
  .photo-wide { margin-bottom: 40px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 20px; }
  .button-primary { width: min(100%, 245px); }
  .community-image { min-height: 75vw; }
  .community-image img { object-position: 54% 50%; }
  .gallery { gap: 10px; }
  .gallery-portrait, .gallery-square { grid-column: span 12; aspect-ratio: 4 / 5; }
  .gallery-landscape { aspect-ratio: 4 / 3; }
  .contact { padding-inline: 20px; }
  .contact-form { grid-template-columns: 1fr; padding: 28px 22px; }
  .field { grid-column: 1 / -1; }
}
