:root {
  --ink: #102132;
  --navy: #0b2036;
  --navy-2: #153a5b;
  --blue: #2f8fda;
  --sky: #cae8f7;
  --sand: #e8d8ba;
  --cream: #f7f3eb;
  --white: #fff;
  --muted: #66717b;
  --line: rgba(16, 33, 50, .14);
  --shadow: 0 22px 55px rgba(7, 25, 43, .16);
  --radius: 1.4rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
[hidden] { display: none !important; }

.skip-link { position: fixed; z-index: 1000; left: 1rem; top: -5rem; padding: .75rem 1rem; background: var(--white); border-radius: .5rem; }
.skip-link:focus { top: 1rem; }
.section-shell { width: min(1180px, calc(100% - 2.4rem)); margin-inline: auto; }
.topline { background: var(--navy); color: #dbe9f5; text-align: center; padding: .52rem 1rem; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.site-header { position: sticky; top: 0; z-index: 50; display: grid; grid-template-columns: minmax(250px, 1fr) auto auto; align-items: center; gap: 2rem; min-height: 84px; padding: .8rem max(1.2rem, calc((100vw - 1180px) / 2)); background: rgba(247, 243, 235, .94); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 46px; aspect-ratio: 1; border-radius: 50%; background: var(--navy); color: var(--white); font-family: Georgia, serif; font-weight: 800; letter-spacing: -.08em; }
.brand strong, .brand small { display: block; }
.brand strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.18rem; line-height: 1.05; }
.brand small { color: var(--muted); font-size: .69rem; letter-spacing: .09em; text-transform: uppercase; }
.site-header nav { display: flex; gap: 1.5rem; }
.site-header nav a { font-size: .9rem; font-weight: 700; text-decoration: none; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: var(--blue); }

.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: .75rem 1.25rem; border: 1px solid var(--navy); border-radius: 999px; background: var(--navy); color: var(--white); font-weight: 800; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(11, 32, 54, .18); }
.button-small { min-height: 43px; font-size: .88rem; }
.button-ghost { background: transparent; color: var(--navy); }
.eyebrow { margin: 0 0 .8rem; color: var(--blue); font-size: .75rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }

.hero { min-height: calc(100svh - 120px); display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(2rem, 5vw, 5.5rem); padding-block: clamp(4rem, 9vw, 8rem); }
.hero h1, .section-heading h2, .project-fit h2, .board-intro h2, .contact-hero h1, .flyer-hero h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.045em; line-height: .98; }
.hero h1 { font-size: clamp(3.2rem, 7vw, 7.1rem); }
.hero h1 span { color: var(--blue); }
.hero-lede { max-width: 670px; margin: 1.6rem 0 0; color: #40505e; font-size: clamp(1.04rem, 1.7vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.microcopy { max-width: 620px; color: var(--muted); font-size: .78rem; }

.hero-build { position: relative; min-height: 560px; overflow: hidden; border-radius: 2rem; background: linear-gradient(145deg, #0c2841, #154c73); box-shadow: var(--shadow); }
.blueprint-grid { position: absolute; inset: 0; opacity: .28; background-image: linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px); background-size: 38px 38px; }
.project-card { position: absolute; display: grid; gap: .3rem; width: min(270px, 62%); padding: 1.25rem; border: 1px solid rgba(255,255,255,.3); border-radius: 1.2rem; background: rgba(255,255,255,.12); color: var(--white); backdrop-filter: blur(10px); box-shadow: 0 20px 45px rgba(0,0,0,.14); }
.project-card span { color: #88c8f1; font-size: .72rem; font-weight: 900; letter-spacing: .14em; }
.project-card strong { font-family: Georgia, serif; font-size: 2rem; }
.project-card small { color: #d9e8f2; }
.card-a { top: 9%; left: 9%; transform: rotate(-3deg); }
.card-b { top: 35%; right: 7%; transform: rotate(3deg); }
.card-c { bottom: 8%; left: 13%; transform: rotate(-1deg); }
.dimension-line { position: absolute; height: 1px; background: var(--sand); opacity: .65; }
.dimension-line::before, .dimension-line::after { content: ""; position: absolute; top: -4px; width: 1px; height: 9px; background: var(--sand); }
.dimension-line::before { left: 0; }.dimension-line::after { right: 0; }
.dimension-one { width: 57%; top: 23%; right: -5%; transform: rotate(-22deg); }
.dimension-two { width: 64%; bottom: 25%; left: -10%; transform: rotate(18deg); }

.trust-band { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); background: #efe9dd; }
.trust-band div { min-height: 145px; display: grid; align-content: center; padding: 1.3rem max(1.3rem, 4vw); border-right: 1px solid var(--line); }
.trust-band div:last-child { border-right: 0; }
.trust-band strong { font-family: Georgia, serif; font-size: clamp(1.8rem, 3vw, 3rem); font-weight: 500; }
.trust-band span { color: var(--muted); font-size: .82rem; }

.services { min-height: 100svh; display: grid; align-content: center; padding-block: clamp(5rem, 10vw, 9rem); }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; column-gap: 4rem; align-items: end; margin-bottom: 3rem; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading h2, .project-fit h2, .board-intro h2 { font-size: clamp(2.5rem, 5vw, 5.2rem); }
.section-heading > p:last-child { margin: 0; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fbf8f2; }
.service-grid article { min-height: 310px; padding: 2rem; border-right: 1px solid var(--line); }
.service-grid article:last-child { border-right: 0; }
.service-grid article > span { color: var(--blue); font-weight: 900; }
.service-grid h3 { margin: 4.2rem 0 .6rem; font-family: Georgia, serif; font-size: 1.65rem; font-weight: 500; }
.service-grid p { color: var(--muted); font-size: .92rem; }

.process { min-height: 92svh; display: grid; align-content: center; padding-block: clamp(5rem, 10vw, 9rem); background: var(--navy); color: var(--white); }
.process-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 8rem); }
.process .section-heading { display: block; margin: 0; }
.process .section-heading h2 { font-size: clamp(2.6rem, 5vw, 5.1rem); }
.process .section-heading > p:last-child { margin-top: 1.5rem; color: #b9cada; }
.process-list { list-style: none; margin: 0; padding: 0; }
.process-list li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.process-list li > span { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border: 1px solid #85c8f2; border-radius: 50%; color: #85c8f2; }
.process-list strong { font-family: Georgia, serif; font-size: 1.45rem; }
.process-list p { margin: .2rem 0 0; color: #b9cada; }

.project-fit { min-height: 75svh; display: grid; grid-template-columns: 1.2fr .8fr; align-content: center; gap: 5rem; padding-block: clamp(5rem, 10vw, 9rem); }
.project-fit p { max-width: 700px; color: var(--muted); }
.fit-actions { display: grid; justify-items: start; gap: 1.2rem; }
.text-link { font-weight: 900; text-decoration-thickness: 2px; text-underline-offset: .25rem; }

.neighborhood-board { min-height: 100svh; display: grid; align-content: center; padding-block: clamp(4rem, 8vw, 7rem); background: linear-gradient(180deg, #0a1a2a, #07131f); color: var(--white); }
.board-intro { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 3rem; margin-bottom: 2.5rem; }
.board-intro p { color: #b9cada; }
.light-link { color: #96d5ff; }
.carousel-shell { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; }
.carousel-stage { position: relative; display: grid; place-items: center; min-height: min(72svh, 820px); overflow: hidden; border-radius: 2rem; background: radial-gradient(circle at 50% 15%, #244c6a, #0b2235 65%); border: 1px solid rgba(255,255,255,.13); }
.flyer-slide { width: min(460px, calc(100% - 2rem)); margin: 0; animation: flyer-in .45s ease both; }
.flyer-slide img { width: 100%; max-height: min(66svh, 710px); object-fit: contain; border-radius: .9rem; box-shadow: 0 28px 65px rgba(0,0,0,.36); }
.flyer-slide figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@keyframes flyer-in { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
.carousel-arrow { display: grid; place-items: center; width: 54px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: rgba(255,255,255,.08); color: var(--white); cursor: pointer; font-size: 1.35rem; }
.carousel-arrow:hover, .carousel-arrow:focus-visible { background: var(--white); color: var(--navy); }
.carousel-controls { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; margin-top: .35rem; }
.pause-button { border: 0; border-bottom: 1px solid currentColor; background: transparent; color: #c9dbe8; cursor: pointer; padding: .2rem 0; }
.carousel-dots { display: flex; justify-content: center; flex-wrap: wrap; gap: .48rem; }
.carousel-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: #536b7c; cursor: pointer; }
.carousel-dot[aria-current="true"] { background: #9bd6ff; transform: scale(1.35); }
.carousel-status { margin: 0; color: #c9dbe8; font-size: .78rem; text-align: right; }
.board-disclosure { margin-top: 2rem; color: #8499a8; font-size: .74rem; text-align: center; }

.site-footer { background: #06101a; color: var(--white); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 2rem; padding-block: 2.5rem; }
.footer-inner strong { font-family: Georgia, serif; font-size: 1.4rem; }
.footer-inner p { margin: .2rem 0 0; color: #8da1b1; font-size: .78rem; }
.footer-inner > div:nth-child(2) { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-inner > p { grid-column: 1 / -1; }

.inner-page { min-height: 100svh; background: #efe9dd; }
.plain-header { position: static; }
.contact-hero, .flyer-hero { padding-block: clamp(5rem, 10vw, 9rem) 3rem; }
.contact-hero h1, .flyer-hero h1 { max-width: 900px; font-size: clamp(3.2rem, 7vw, 7rem); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding-bottom: 7rem; }
.contact-card { padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.contact-card h2 { margin-top: 0; font-family: Georgia, serif; font-weight: 500; }
.contact-card p, .contact-card li { color: var(--muted); }
.contact-card a { font-weight: 800; }
.contact-note { padding: 1rem; border-left: 4px solid var(--blue); background: #e7f2f8; font-size: .86rem; }
.flyer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; padding-bottom: 6rem; }
.flyer-grid figure { margin: 0; padding: .8rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--white); box-shadow: 0 14px 35px rgba(11,32,54,.08); }
.flyer-grid img { width: 100%; border-radius: .6rem; }
.flyer-grid figcaption { padding: .75rem .2rem .2rem; font-weight: 800; }
.privacy-copy { max-width: 850px; padding-block: 5rem 8rem; }
.privacy-copy h1 { font-family: Georgia, serif; font-size: clamp(3rem, 7vw, 6rem); font-weight: 500; letter-spacing: -.04em; }
.privacy-copy h2 { margin-top: 2.2rem; font-family: Georgia, serif; font-weight: 500; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-build { min-height: 520px; }
  .section-heading, .process-inner, .project-fit, .board-intro { grid-template-columns: 1fr; gap: 1.5rem; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid article { border-bottom: 1px solid var(--line); }
  .service-grid article:nth-child(2) { border-right: 0; }
  .service-grid article:nth-child(3), .service-grid article:nth-child(4) { border-bottom: 0; }
  .contact-grid, .flyer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 660px) {
  .section-shell { width: min(100% - 1.2rem, 1180px); }
  .topline { font-size: .64rem; letter-spacing: .08em; }
  .site-header { min-height: 70px; padding-inline: .7rem; }
  .brand-mark { width: 40px; }
  .brand strong { font-size: 1rem; }
  .brand small { display: none; }
  .site-header > .button { padding-inline: .8rem; font-size: .74rem; }
  .hero { min-height: auto; padding-top: 4rem; }
  .hero h1 { font-size: clamp(3.2rem, 17vw, 5rem); }
  .hero-actions { display: grid; }
  .hero-build { min-height: 450px; }
  .project-card { width: 70%; }
  .trust-band { grid-template-columns: 1fr; }
  .trust-band div { min-height: 110px; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-band div:last-child { border-bottom: 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article { min-height: 250px; border-right: 0; border-bottom: 1px solid var(--line) !important; }
  .service-grid article:last-child { border-bottom: 0 !important; }
  .service-grid h3 { margin-top: 2.5rem; }
  .carousel-shell { grid-template-columns: 1fr; }
  .carousel-stage { grid-row: 1; min-height: 68svh; border-radius: 1.2rem; }
  .carousel-arrow { position: absolute; z-index: 3; top: 31svh; width: 44px; background: rgba(6,16,26,.75); }
  .carousel-arrow.previous { left: .8rem; }
  .carousel-arrow.next { right: .8rem; }
  .carousel-controls { grid-template-columns: 1fr; text-align: center; }
  .pause-button { justify-self: center; }
  .carousel-status { text-align: center; }
  .flyer-slide { width: min(400px, calc(100% - 1rem)); }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner > p { grid-column: auto; }
  .contact-grid, .flyer-grid { grid-template-columns: 1fr; }
}

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