/* Torossian Organization — real estate development */
:root {
  --charcoal: #1c1a18;
  --charcoal-2: #2a2623;
  --gold: #b38b45;
  --gold-text: #7a5a22;      /* gold darkened for AA contrast on light backgrounds */
  --gold-light: #dcbc78;
  --cream: #f7f3ea;
  --ink: #25211e;
  --muted: #5f5852;
  --border: #e4ddcf;
  --white: #fff;
  --radius: 4px;
  --shadow: 0 18px 40px rgba(28, 26, 24, 0.18);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 0.5em; color: var(--charcoal); }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.wrap { width: min(1220px, 100% - 48px); margin-inline: auto; }
.section-pad { padding: clamp(64px, 9vw, 120px) 0; }
.bg-alt { background: var(--cream); }
.bg-navy { background: var(--charcoal); color: #ddd6cc; }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; display: inline-block; width: 34px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 14px; }
.bg-navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--gold-light); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; }
.bg-navy .lead { color: #c4bbad; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 30px;
  border: 1px solid var(--gold);
  border-radius: 0;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  background: transparent;
  color: var(--charcoal);
}
.btn-gold { background: var(--gold); color: var(--charcoal); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn-navy { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.btn-navy:hover { background: var(--charcoal-2); }
.btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.65); }
.btn-outline:hover { background: #fff; color: var(--charcoal); border-color: #fff; }
.btn-line { border-color: var(--charcoal); }
.btn-line:hover { background: var(--charcoal); color: #fff; }
.text-link {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; color: var(--gold-text); border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.text-link:hover { color: var(--charcoal); }

/* ---------- Header ---------- */
.skip-link {
  position: absolute; left: 12px; top: -70px; z-index: 400;
  background: var(--charcoal); color: #fff; padding: 12px 18px; font-weight: 600;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky; top: 0; z-index: 200;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, border-color 0.3s;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--charcoal); }
.brand img { height: 54px; width: auto; border-radius: 4px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--serif); font-size: 1.55rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.brand-text span { font-size: 0.62rem; letter-spacing: 0.42em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; margin-top: 4px; }

.main-nav ul { display: flex; gap: 34px; align-items: center; }
.main-nav a {
  text-decoration: none; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 8px 0; border-bottom: 1px solid transparent; color: var(--charcoal);
}
.main-nav a:hover, .main-nav a[aria-current="page"] { border-bottom-color: var(--gold); }
.nav-toggle { display: none; background: none; border: 0; width: 46px; height: 46px; cursor: pointer; padding: 0; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 10px; width: 26px; height: 2px; background: var(--charcoal); transition: transform 0.2s, background 0.2s;
}
.nav-toggle span { top: 22px; }
.nav-toggle span::before { top: -8px; left: 0; }
.nav-toggle span::after { top: 8px; left: 0; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span::after { transform: translateY(-8px) rotate(-45deg); }

/* Home: header floats over the hero until the page scrolls */
body.has-overlay-header .site-header { position: fixed; left: 0; right: 0; background: linear-gradient(rgba(14, 12, 10, 0.65), rgba(14, 12, 10, 0)); border-bottom-color: transparent; }
body.has-overlay-header .site-header:not(.scrolled) .brand,
body.has-overlay-header .site-header:not(.scrolled) .brand-text strong,
body.has-overlay-header .site-header:not(.scrolled) .main-nav a { color: #fff; }
body.has-overlay-header .site-header:not(.scrolled) .brand-text span { color: var(--gold-light); }
body.has-overlay-header .site-header:not(.scrolled) .nav-toggle span,
body.has-overlay-header .site-header:not(.scrolled) .nav-toggle span::before,
body.has-overlay-header .site-header:not(.scrolled) .nav-toggle span::after { background: #fff; }
body.has-overlay-header .site-header:not(.scrolled) .nav-toggle.open span { background: transparent; }
body.has-overlay-header .site-header.scrolled { background: rgba(255, 255, 255, 0.97); border-bottom-color: var(--border); }

/* ---------- Hero / carousel ---------- */
.hero { position: relative; height: min(100vh, 880px); min-height: 600px; background: var(--charcoal); overflow: hidden; color: #fff; }
.carousel, .carousel-track { position: absolute; inset: 0; }
.carousel-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.carousel-slide.active { opacity: 1; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 9s ease-out; }
.carousel-slide.active img { transform: scale(1.12); }
.carousel.reduced .carousel-slide img, .carousel.reduced .carousel-slide.active img { transform: none; transition: none; }
.carousel-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 12, 10, 0.78) 0%, rgba(14, 12, 10, 0.35) 55%, rgba(14, 12, 10, 0.15) 100%); }
.hero-caption { position: absolute; inset: 0; display: flex; align-items: center; z-index: 5; padding-top: var(--header-h); }
.hero-caption h1 { color: #fff; max-width: 880px; margin-bottom: 0.35em; }
.hero-caption p.sub { font-size: 1.2rem; max-width: 600px; color: #e6dfd4; margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.carousel-controls { position: absolute; z-index: 6; right: max(24px, calc((100vw - 1220px) / 2)); bottom: 36px; display: flex; gap: 10px; align-items: center; }
.carousel-btn {
  width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, 0.6); background: rgba(14, 12, 10, 0.35); color: #fff;
  cursor: pointer; font-size: 1.1rem; line-height: 1; display: flex; align-items: center; justify-content: center;
}
.carousel-btn:hover { background: #fff; color: var(--charcoal); }
.carousel-dots { position: absolute; z-index: 6; left: max(24px, calc((100vw - 1220px) / 2)); bottom: 52px; display: flex; gap: 10px; }
.carousel-dots button { width: 38px; height: 4px; border: 0; background: rgba(255, 255, 255, 0.4); cursor: pointer; padding: 0; }
.carousel-dots button[aria-selected="true"] { background: var(--gold); }
.scroll-cue { position: absolute; z-index: 6; left: 50%; bottom: 28px; transform: translateX(-50%); font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; color: #d6cfc4; text-decoration: none; }

/* ---------- Page hero (interior) ---------- */
.page-hero { position: relative; background: var(--charcoal); color: #fff; padding: clamp(80px, 11vw, 150px) 0 clamp(56px, 7vw, 90px); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: url("../images/hero-3.svg") center / cover; opacity: 0.35; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--charcoal) 10%, rgba(28, 26, 24, 0.35)); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 0.3em; }
.page-hero p.sub { max-width: 640px; color: #d6cfc4; font-size: 1.15rem; margin: 0; }
.breadcrumb { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1.4rem; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Stats ---------- */
.stats { background: var(--charcoal); color: #fff; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 44px 24px; text-align: center; border-left: 1px solid rgba(179, 139, 69, 0.3); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.6rem); font-weight: 600; color: var(--gold-light); line-height: 1; }
.stat span { display: block; margin-top: 10px; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: #c4bbad; }

/* ---------- Layout helpers ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.frame { position: relative; }
.frame img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.frame::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold); z-index: -1; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }

/* ---------- Capabilities ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.cap { background: #fff; padding: 40px 30px 44px; transition: background 0.25s; }
.cap:hover { background: var(--cream); }
.cap .num { font-family: var(--serif); font-size: 1.1rem; color: var(--gold-text); letter-spacing: 0.1em; display: block; margin-bottom: 26px; }
.cap h3 { font-size: 1.55rem; }
.cap p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------- Project cards ---------- */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 30px; }
.project-card { display: block; text-decoration: none; color: inherit; }
.project-card .thumb { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: var(--charcoal); }
.project-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.project-card:hover .thumb img { transform: scale(1.06); }
.project-card .tag {
  position: absolute; left: 0; top: 18px; background: var(--charcoal); color: #fff; font-size: 0.64rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; padding: 8px 14px;
}
.project-card .tag.done { background: var(--gold); color: var(--charcoal); }
.project-card .meta { padding-top: 20px; }
.project-card .loc { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; margin-bottom: 6px; }
.project-card h3 { font-size: 1.7rem; margin-bottom: 0.25em; }
.project-card p { color: var(--muted); font-size: 0.93rem; margin: 0; }
.project-card[hidden] { display: none; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.filters button {
  font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  background: transparent; border: 1px solid var(--border); padding: 12px 20px; cursor: pointer; color: var(--charcoal);
}
.filters button:hover { border-color: var(--gold); }
.filters button[aria-pressed="true"] { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }

/* ---------- Values / approach ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; margin-top: 48px; }
.value { border-top: 1px solid rgba(179, 139, 69, 0.55); padding-top: 26px; }
.value h3 { font-size: 1.6rem; }
.value p { color: #c4bbad; font-size: 0.97rem; margin: 0; }

/* ---------- Timeline ---------- */
.timeline { border-left: 1px solid var(--gold); margin-left: 8px; }
.timeline li { position: relative; padding: 0 0 38px 36px; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 8px; width: 11px; height: 11px; background: var(--gold); border-radius: 50%; }
.timeline .year { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: var(--charcoal); line-height: 1.1; }
.timeline p { color: var(--muted); margin: 6px 0 0; }

/* ---------- CTA band ---------- */
.cta-banner { background: var(--charcoal); color: #fff; position: relative; overflow: hidden; }
.cta-banner::before { content: ""; position: absolute; inset: 0; background: url("../images/hero-1.svg") center / cover; opacity: 0.22; }
.cta-banner .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: clamp(56px, 7vw, 90px) 0; }
.cta-banner h2 { color: #fff; margin-bottom: 0.2em; }
.cta-banner p { color: #d6cfc4; margin: 0; max-width: 560px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 90px); }
.contact-card { background: var(--charcoal); color: #ddd6cc; padding: 44px 40px; }
.contact-card h3 { color: #fff; }
.contact-line { margin-bottom: 26px; }
.contact-line strong { display: block; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 4px; }
.contact-line a { text-decoration: none; }
.contact-line a:hover { text-decoration: underline; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { margin-bottom: 22px; }
.form-field label { display: block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--charcoal); margin-bottom: 8px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid #c9c3b8; border-radius: 0; padding: 14px 16px;
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: 3px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 14px; }
.form-error { color: #a1281c; font-size: 0.85rem; margin-top: 6px; display: none; }
.form-field.invalid .form-error { display: block; }
.form-field.invalid input, .form-field.invalid textarea { border-color: #a1281c; }

/* ---------- Notice (accessibility page) ---------- */
.notice { max-width: 820px; }
.notice-box { background: var(--cream); border-left: 3px solid var(--gold); padding: 24px 28px; margin: 28px 0; }
.notice-box h3 { font-size: 1.4rem; }
.notice-box ul { list-style: disc; padding-left: 20px; }
.notice-box li { margin-bottom: 8px; }
.notice a { color: var(--gold-text); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: #100e0d; color: #a89f92; font-size: 0.93rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; padding: 72px 0 48px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand .brand-text strong { color: #fff; font-size: 1.35rem; }
.footer-brand .brand-text span { color: var(--gold-light); }
.footer-brand p { max-width: 340px; }
.site-footer h4 { font-family: var(--sans); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 20px; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; padding: 26px 0 34px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.8rem; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }
html.no-js .reveal, html.a11y-no-motion .reveal { opacity: 1; transform: none; transition: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: var(--header-h); background: #fff; border-bottom: 1px solid var(--border);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.12); display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; }
  .main-nav a, body.has-overlay-header .site-header:not(.scrolled) .main-nav a { display: block; padding: 16px 0; border-bottom: 1px solid var(--border); color: var(--charcoal); }
  .split, .contact-grid, .values { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .frame::after { inset: 12px -8px -12px 12px; }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat { border-top: 1px solid rgba(179, 139, 69, 0.3); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .carousel-dots { bottom: 100px; }
  .carousel-controls { left: 24px; right: auto; bottom: 36px; }
}
@media (max-width: 620px) {
  .cap-grid, .project-grid, .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 52px; }
  .brand-text span { letter-spacing: 0.3em; }
  .brand-text strong { font-size: 1.25rem; }
  .contact-card { padding: 32px 26px; }
  .hero { min-height: 640px; }
}

/* ---------- Accessibility: reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Accessibility toolbar ---------- */
#a11y-toggle {
  position: fixed; right: 20px; bottom: 20px; z-index: 350; width: 72px; height: 72px; border-radius: 50%;
  background: var(--charcoal); color: #fff; border: 3px solid var(--gold); cursor: pointer; font-size: 2.2rem; line-height: 1;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}
#a11y-toggle:hover { background: var(--charcoal-2); }
#a11y-panel {
  position: fixed; right: 20px; bottom: 100px; z-index: 350; width: min(300px, calc(100vw - 32px));
  background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; display: none;
}
#a11y-panel.open { display: block; }
#a11y-panel h2 { font-family: var(--sans); font-size: 1rem; font-weight: 700; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.a11y-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.a11y-row span { font-size: 0.9rem; font-weight: 700; }
.a11y-row .a11y-btns { display: flex; gap: 6px; }
.a11y-row button, #a11y-reset {
  border: 1px solid var(--border); background: #fff; color: var(--ink); border-radius: 6px; padding: 6px 10px; font-weight: 700;
  cursor: pointer; font-size: 0.85rem; font-family: var(--sans);
}
.a11y-row button[aria-pressed="true"] { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.a11y-row button:hover, #a11y-reset:hover { border-color: var(--gold); }
#a11y-reset { width: 100%; margin-top: 4px; padding: 10px; }
.a11y-text-btns-row button { line-height: 1; }
@media (max-width: 500px) {
  #a11y-toggle { right: 14px; bottom: 14px; width: 64px; height: 64px; font-size: 1.9rem; }
  #a11y-panel { right: 14px; bottom: 88px; }
}

html.a11y-underline-links a:not(.btn):not(.brand):not(.skip-link) { text-decoration: underline !important; }
html.a11y-text-lg { font-size: 112.5%; }
html.a11y-text-xl { font-size: 125%; }
html.a11y-text-xxl { font-size: 137.5%; }

/* ---------- Accessibility: high contrast ---------- */
html.a11y-contrast body { background: #000 !important; color: #fff !important; }
html.a11y-contrast .site-header,
html.a11y-contrast .site-header.scrolled,
html.a11y-contrast body.has-overlay-header .site-header,
html.a11y-contrast .main-nav,
html.a11y-contrast .site-footer,
html.a11y-contrast .page-hero,
html.a11y-contrast .stats,
html.a11y-contrast .cta-banner,
html.a11y-contrast .bg-navy,
html.a11y-contrast .bg-alt,
html.a11y-contrast .cap,
html.a11y-contrast .cap-grid,
html.a11y-contrast .contact-card,
html.a11y-contrast .notice-box,
html.a11y-contrast #a11y-panel { background: #000 !important; color: #fff !important; border-color: #fff !important; }
html.a11y-contrast h1, html.a11y-contrast h2, html.a11y-contrast h3, html.a11y-contrast h4,
html.a11y-contrast p, html.a11y-contrast span, html.a11y-contrast li, html.a11y-contrast strong,
html.a11y-contrast .brand, html.a11y-contrast .brand-text strong, html.a11y-contrast .lead,
html.a11y-contrast .form-field label, html.a11y-contrast .breadcrumb { color: #fff !important; }
html.a11y-contrast a, html.a11y-contrast .eyebrow, html.a11y-contrast .text-link,
html.a11y-contrast .main-nav a, html.a11y-contrast .project-card .loc { color: #ffe600 !important; text-decoration: underline !important; }
html.a11y-contrast .brand { text-decoration: none !important; }
html.a11y-contrast .btn { background: #ffe600 !important; color: #000 !important; border-color: #ffe600 !important; }
html.a11y-contrast .btn-outline, html.a11y-contrast .btn-line { background: transparent !important; color: #ffe600 !important; }
html.a11y-contrast .stat strong, html.a11y-contrast .cap .num { color: #ffe600 !important; }
html.a11y-contrast .form-field input, html.a11y-contrast .form-field textarea, html.a11y-contrast .form-field select { background: #000 !important; color: #fff !important; border-color: #fff !important; }
html.a11y-contrast .filters button { background: #000; color: #fff; border-color: #fff; }
html.a11y-contrast .filters button[aria-pressed="true"] { background: #ffe600; color: #000; }
html.a11y-contrast .carousel-slide::after { background: rgba(0, 0, 0, 0.8) !important; }
html.a11y-contrast .page-hero::before, html.a11y-contrast .cta-banner::before { opacity: 0.1; }
html.a11y-contrast .project-card .tag { background: #ffe600; color: #000 !important; }
html.a11y-contrast .site-footer, html.a11y-contrast .footer-bottom { border-color: #fff !important; }
@media (max-width: 900px) { html.a11y-contrast .main-nav { border-bottom: 1px solid #fff !important; } }

/* Logo mark has black buildings: give it a cream tile on dark backgrounds */
body.has-overlay-header .site-header:not(.scrolled) .brand img,
.site-footer .brand img { background: var(--cream); padding: 5px 7px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.check-list { margin-top: 24px; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--ink); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 16px; height: 1px; background: var(--gold); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .cols-4 { grid-template-columns: 1fr; } }
html.a11y-contrast .brand img, html.a11y-contrast .site-footer .brand img { background: #fff !important; }

/* ---------- Home hero image (full artwork, never cropped) ---------- */
.hero-image { position: relative; overflow: hidden; background: var(--charcoal); }
.hero-image::before {
  content: ""; position: absolute; inset: -40px; background: url("../images/hero-home.jpg") center / cover;
  filter: blur(28px) brightness(0.85);
}
.hero-image-frame { position: relative; width: min(100%, calc((100vh - var(--header-h)) * 1.5)); margin-inline: auto; }
.hero-image-frame img { display: block; width: 100%; height: auto; }
.hero-image-link { position: absolute; left: 11.4%; top: 69.4%; width: 25%; height: 5.8%; }
.hero-image-link:hover { background: rgba(179, 139, 69, 0.18); }
.hero-image-link:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; }

/* ---------- Full-artwork photos in split sections (never cropped) ---------- */
.split.wide { grid-template-columns: 5fr 7fr; }
.frame img.photo { aspect-ratio: 3 / 2; }
.frame-link { position: absolute; }
.frame-link-discover { left: 8%; top: 74.8%; width: 22.8%; height: 5.8%; }
.frame-link:hover { background: rgba(179, 139, 69, 0.18); }
.frame-link:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; }
@media (max-width: 900px) { .split.wide { grid-template-columns: 1fr; } }

.split.wide.reverse { grid-template-columns: 7fr 5fr; }
@media (max-width: 900px) { .split.wide.reverse { grid-template-columns: 1fr; } }
