:root {
  --navy: #0c2340;
  --navy-800: #163456;
  --anthracite: #2c3338;
  --ink: #1c2429;
  --muted: #5c676e;
  --line: #d7dde2;
  --ice: #f4f6f8;
  --white: #fff;
  --copper: #c46b3a;
  --copper-dark: #9a4e24;
  --shadow: 0 16px 40px rgba(12, 35, 64, 0.1);
  --radius: 0.7rem;
  --shell: min(92vw, 1120px);
  --font-display: "Barlow Semi Condensed", sans-serif;
  --font-body: "Source Sans 3", "Source Sans Pro", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
button, input, select, textarea { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.topbar {
  background: var(--navy);
  color: #d7e2ee;
  font-size: .86rem;
}
.topbar-inner, .header-inner, .site-footer-inner { width: var(--shell); margin-inline: auto; }
.topbar-inner { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; }
.topbar a { color: #fff; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 4.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--navy); text-decoration: none; }
.brand-mark { width: 2.4rem; height: 2.4rem; }
.brand-name { font-family: var(--font-display); font-size: 1.55rem; letter-spacing: .08em; font-weight: 700; line-height: 1; }
.brand-kicker { display: block; margin-top: .15rem; color: var(--muted); font-size: .72rem; letter-spacing: .04em; text-transform: none; font-family: var(--font-body); font-weight: 600; }
.header-tools { display: flex; align-items: center; gap: .6rem; }
.primary-nav { display: flex; align-items: center; gap: 1.05rem; }
.primary-nav a { color: var(--anthracite); font-weight: 600; font-size: .95rem; text-decoration: none; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--copper-dark); }
.amber-e959, [data-cobalt61] {
  border: 1px solid var(--line); background: var(--white); color: var(--navy);
  border-radius: 999px; padding: .45rem .75rem; cursor: pointer;
}
.amber-e959 { display: none; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 2.8rem;
  padding: .6rem 1.05rem; border-radius: .4rem; background: var(--copper); color: #fff;
  font-weight: 700; text-decoration: none; border: 0;
}
.button:hover { background: var(--copper-dark); color: #fff; }
.button.secondary { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.button.secondary:hover { background: var(--ice); color: var(--navy); }
.button.light { background: #fff; color: var(--navy); }
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; padding: 3.2rem 0 2.4rem; }
.hero h1, .page-hero h1, h2, h3 { font-family: var(--font-display); letter-spacing: .01em; line-height: 1.05; color: var(--navy); margin: 0; }
.hero h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 700; max-width: 14ch; }
.eyebrow { margin: 0 0 .6rem; color: var(--copper-dark); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; }
.lede { color: var(--anthracite); font-size: 1.15rem; max-width: 38rem; }
.hero-actions, .cta-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.3rem; }
.hero-photo { margin: 0; border-radius: var(--radius); overflow: hidden; min-height: 18rem; background: var(--ice); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 22rem; }
.hero-photo figcaption { padding: .55rem .2rem 0; color: var(--muted); font-size: .85rem; }
.section { padding: 3.2rem 0; }
.section-head { display: flex; justify-content: space-between; gap: 1.5rem; align-items: end; margin-bottom: 1.3rem; }
.section-head p { margin: 0; max-width: 32rem; color: var(--muted); }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
h3 { font-size: 1.35rem; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.card, .quote, .project-card, .guide-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.15rem 1.15rem 1.25rem;
}
.card h3, .guide-card h3 { margin-bottom: .4rem; }
.card p, .guide-card p, .project-card p { color: var(--muted); margin: .35rem 0 0; }
.card a { font-weight: 700; }
.icon { width: 2rem; height: 2rem; color: var(--copper); }
.band { background: var(--navy); color: #e6eef6; }
.band h2, .band h3 { color: #fff; }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.trust article { padding: .4rem 0; }
.trust p { margin: .35rem 0 0; color: #c9d6e4; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.project-card { padding: 0; overflow: hidden; }
.project-card img { width: 100%; height: 12.5rem; object-fit: cover; }
.project-card div { padding: 1rem 1.05rem 1.15rem; }
.tag { display: inline-block; margin: 0 0 .4rem; color: var(--copper-dark); font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.filters { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1rem; }
.filters button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.quote { background: var(--ice); }
.quote p { margin: 0; font-size: 1.08rem; }
.quote footer { margin-top: .7rem; color: var(--muted); font-size: .9rem; }
.contact-grid, .split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.5rem; align-items: start; }
form { display: grid; gap: .7rem; }
label { display: grid; gap: .25rem; font-weight: 600; font-size: .92rem; }
input, select, textarea {
  width: 100%; border: 1px solid var(--line); border-radius: .4rem; padding: .65rem .75rem; background: #fff; color: var(--ink);
}
textarea { min-height: 8rem; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--copper); outline-offset: 1px; }
.map { border: 0; width: 100%; min-height: 18rem; border-radius: var(--radius); background: var(--ice); }
.facts { margin: 0; padding: 0; list-style: none; }
.facts li { padding: .45rem 0; border-bottom: 1px solid var(--line); }
.checks { margin: .6rem 0 0; padding-left: 1.1rem; }
.checks li { margin: .25rem 0; }
.page-hero { padding: 2.4rem 0 1rem; }
.page-hero h1 { font-size: clamp(2.3rem, 4vw, 3.4rem); max-width: 18ch; }
.prose-block { max-width: 44rem; }
.site-footer { background: var(--anthracite); color: #d5dbe0; margin-top: 2rem; }
.site-footer a { color: #fff; }
.footer-grid { width: var(--shell); margin-inline: auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1.5rem; padding: 2.2rem 0 1.4rem; }
.site-footer h2 { color: #fff; font-size: 1.05rem; margin-bottom: .5rem; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: .3rem 0; }
.legal { width: var(--shell); margin-inline: auto; padding: 0 0 1.4rem; font-size: .88rem; color: #b7c0c6; }
.ripple-6ce1 { display: grid; grid-template-columns: minmax(0, 1fr) 12rem; gap: 2rem; align-items: start; padding-bottom: 2rem; }
.ripple-6ce1:has([data-jasper9e][hidden]) { grid-template-columns: minmax(0, 1fr); }
[data-jasper9e][hidden] { display: none; }
.haven-0679 { position: sticky; top: 6rem; padding-left: 1rem; border-left: 1px solid var(--line); }
.haven-0679 h2 { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.news-grid, .nickel-0c63 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1rem; }
.copper-5cb7 { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.willow-4c9a { display: block; aspect-ratio: 1.5 / 1; overflow: hidden; background: var(--ice); }
.willow-4c9a img { width: 100%; height: 100%; object-fit: cover; }
.copper-5cb7 h3 { font-size: 1.3rem; margin: .8rem 1rem .3rem; }
.copper-5cb7 h3 a { color: var(--navy); text-decoration: none; }
.copper-5cb7 p, .pearl-4eaa, .velvet-ce39 { margin: .3rem 1rem; color: var(--muted); }
.velvet-ce39 { display: flex; align-items: center; gap: .4rem; font-size: .85rem; padding-bottom: .8rem; }
.cipher-762b { width: 1.5rem; height: 1.5rem; border-radius: 50%; object-fit: cover; }
.sable-4ea1 { color: var(--muted); }
.search-bar { display: flex; gap: .6rem; margin: 1rem 0; }
.search-bar input { max-width: 24rem; }
.filter-list { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.filter-list a { text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: .3rem .7rem; }
.article-page { max-width: 46rem; }
.ivory-7d36 img, .prose img { width: 100%; border-radius: var(--radius); }
.byline { display: flex; gap: .7rem; align-items: center; margin: 1rem 0; }
.byline img { width: 2.6rem; height: 2.6rem; border-radius: 50%; object-fit: cover; }
.byline[hidden] { display: none; }
.not-found { min-height: 46vh; padding: 3rem 0; }
html[data-theme="dark"] body { background: #12181d; color: #e7edf2; }
html[data-theme="dark"] .site-header, html[data-theme="dark"] .card, html[data-theme="dark"] .project-card, html[data-theme="dark"] .quote, html[data-theme="dark"] .copper-5cb7, html[data-theme="dark"] input, html[data-theme="dark"] select, html[data-theme="dark"] textarea { background: #1b242c; color: #e7edf2; border-color: #31404b; }
html[data-theme="dark"] h1, html[data-theme="dark"] h2, html[data-theme="dark"] h3, html[data-theme="dark"] .brand, html[data-theme="dark"] .primary-nav a { color: #f2f6f9; }
html[data-theme="dark"] .button.secondary { color: #fff; border-color: #fff; }
@media (max-width: 860px) {
  .amber-e959 { display: inline-flex; }
  .primary-nav { display: none; position: absolute; left: 4vw; right: 4vw; top: 6.6rem; flex-direction: column; align-items: stretch; padding: .6rem; background: #fff; border: 1px solid var(--line); border-radius: .6rem; box-shadow: var(--shadow); }
  .primary-nav.brass-4df2 { display: flex; }
  .primary-nav a { padding: .7rem .5rem; }
  .hero, .cards, .trust, .project-grid, .contact-grid, .split, .footer-grid, .ripple-6ce1, .ripple-6ce1:has([data-jasper9e][hidden]) { grid-template-columns: 1fr; }
  .haven-0679 { position: static; border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .topbar-inner { flex-direction: column; }
}
