/* ============================================
   Corbett, Wingard & Ray — Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Michroma&family=Public+Sans:wght@400;500;600;700&display=swap');

:root {
  --ink: #1D3E6B;
  --ink-soft: #2C5484;
  --ink-deep: #142C4C;
  --paper: #FAFAF8;
  --paper-raised: #FFFFFF;
  --brass: #A2774D;
  --brass-dark: #86603C;
  --steel: #8B95A3;
  --steel-line: #D7DBE2;
  --slate: #4B5563;
  --line: #E2E5EA;
  --line-dark: #33507C;

  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Public Sans', -apple-system, sans-serif;
  --display: 'Michroma', 'Arial Narrow', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
}

/* ---------- Header ---------- */

.site-header {
  background: var(--ink);
  border-bottom: 3px solid var(--brass);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 98px;
}

.logo {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--paper);
  text-decoration: none;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1.3;
}

.logo .logo-sub {
  display: block;
  font-size: 0.78rem;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.07em;
  color: var(--brass);
  margin-top: 4px;
}

.main-nav {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-size: 1.08rem;
  font-weight: 500;
  text-decoration: none;
  color: #CBD3DB;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--paper);
  border-bottom-color: var(--brass);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #4A5C6E;
  color: var(--paper);
  padding: 8px 12px;
  font-size: 0.9rem;
  cursor: pointer;
  touch-action: manipulation;
}

@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--ink);
    flex-direction: column;
    gap: 0;
    padding: 8px 20px 20px;
    border-bottom: 3px solid var(--brass);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid #2E4256; width: 100%; }
  .site-header { position: relative; }
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(155deg, var(--ink-deep) 0%, var(--ink) 62%, var(--ink-soft) 100%);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url('../assets/hero-photo.jpg');
  background-size: cover;
  background-position: center 30%;
}

.hero-bg::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(155deg, rgba(20,44,76,0.94) 0%, rgba(29,62,107,0.88) 45%, rgba(44,84,132,0.72) 100%);
}

.hero-logo-band {
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding: 30px 0 34px;
  position: relative;
  z-index: 2;
}

.hero-lockup {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: center;
}

.hero-lockup-mark {
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 10px 26px rgba(6, 14, 28, 0.55));
}

.hero-lockup-word {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-left: 1px solid rgba(255,255,255,0.25);
  padding-left: 24px;
}

.hlw-name {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.1rem, 1.7vw, 1.5rem);
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: var(--paper);
  text-transform: uppercase;
  margin: 0;
}

.hlw-name .amp {
  color: var(--brass);
}

.hlw-tag {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0;
}

@media (max-width: 780px) {
  .hero-lockup { grid-template-columns: 1fr; gap: 18px; }
  .hero-lockup-mark { max-height: 170px; }
  .hero-lockup-word { border-left: none; padding-left: 0; }
}
.hero .wrap {
  position: relative;
  z-index: 2;
  padding-top: 64px;
  padding-bottom: 112px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: end;
}

.hero-eyebrow {
  font-size: 0.9rem;
  color: var(--brass);
  font-weight: 700;
  margin: 0 0 20px;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.8vw, 3.1rem);
  line-height: 1.15;
  font-weight: 400;
  margin: 0 0 26px;
  max-width: 20ch;
  letter-spacing: 0;
}

.hero p {
  font-size: 1.25rem;
  color: #D3DCE7;
  max-width: 46ch;
  margin: 0 0 34px;
  line-height: 1.5;
}

.hero-stats {
  display: flex;
  gap: 48px;
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 30px;
}

.hero-stats div { font-family: var(--serif); font-size: 2.6rem; font-weight: 600; color: var(--brass); line-height: 1; }
.hero-stats span { display: block; font-family: var(--sans); font-size: 0.85rem; color: #9FADC4; margin-top: 10px; font-weight: 500; }

.hero-panel {
  background: var(--paper-raised);
  color: var(--ink);
  padding: 38px;
  border-top: 5px solid var(--brass);
  position: relative;
  z-index: 2;
  box-shadow: 0 24px 60px rgba(6, 18, 36, 0.35);
}

.hero-panel h2 {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 400;
  margin: 0 0 8px;
}

.hero-panel p {
  color: var(--slate);
  font-size: 1rem;
  margin: 0 0 22px;
}

@media (max-width: 780px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 64px; }
  .hero-stats { flex-wrap: wrap; row-gap: 22px; }
  .hero h1 { font-size: clamp(2.4rem, 9vw, 3.2rem); }
}

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.reveal-visible {
  opacity: 1;
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 13px 26px;
  border: 2px solid var(--brass);
  color: var(--brass);
  background: transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn:hover { background: var(--brass); color: var(--paper); }

.btn-solid {
  background: var(--brass);
  color: var(--paper);
}

.btn-solid:hover { background: var(--brass-dark); border-color: var(--brass-dark); }

.btn-light { border-color: var(--paper); color: var(--paper); }
.btn-light:hover { background: var(--paper); color: var(--ink); }

/* ---------- Sections ---------- */

section { padding: 76px 0; }

/* ---------- About / Company History ---------- */

.about-hero-band {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 56px 0;
}

.about-hero-band img { height: 220px; width: auto; justify-self: end; }

.about-hero-band .ahb-text {
  font-family: var(--sans);
  font-size: 1.15rem;
  color: #C7D2E0;
  line-height: 1.5;
  border-left: 1px solid rgba(255,255,255,0.25);
  padding-left: 26px;
}

@media (max-width: 780px) {
  .about-hero-band { grid-template-columns: 1fr; text-align: center; }
  .about-hero-band img { justify-self: center; height: 160px; }
  .about-hero-band .ahb-text { border-left: none; padding-left: 0; }
}

.history-era {
  border-top: 1px solid var(--line);
  padding: 44px 0;
  display: grid;
  grid-template-columns: 0.8fr 2fr;
  gap: 40px;
}

.history-era:first-of-type { border-top: none; }

.history-era h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  position: sticky;
  top: 24px;
}

.history-era .era-body p {
  color: var(--slate);
  font-size: 1.02rem;
  margin: 0 0 18px;
}

.history-era .era-body p:last-child { margin-bottom: 0; }

@media (max-width: 700px) {
  .history-era { grid-template-columns: 1fr; gap: 12px; }
  .history-era h3 { position: static; }
}


.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}

.section-head h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.3vw, 1.9rem);
  line-height: 1.3;
  margin: 0;
  max-width: 20ch;
}

.section-head p { color: var(--slate); max-width: 42ch; margin: 0; font-size: 1rem; }

.section-alt { background: var(--paper-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-dark { background: var(--ink); color: var(--paper); }
.section-dark .section-head h2 { color: var(--paper); }
.section-dark .section-head p { color: #B7C2CC; }
.section-dark .section-head { border-bottom-color: #34495D; }

/* ---------- Manufacturer region filter ---------- */

.mfr-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.mfr-filter-btn {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  padding: 9px 18px;
  border: 1.5px solid var(--steel-line);
  background: var(--paper-raised);
  color: var(--slate);
  cursor: pointer;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.mfr-filter-btn:hover {
  border-color: var(--brass);
  color: var(--brass-dark);
}

.mfr-filter-btn[aria-pressed="true"] {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--paper);
}

.mfr-card[hidden] { display: none; }

/* ---------- Manufacturer grid ---------- */

.mfr-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.mfr-card {
  background: var(--paper-raised);
  padding: 30px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 130px;
  cursor: pointer;
  border: none;
  font-family: var(--sans);
  transition: background 0.15s ease;
  position: relative;
}

.mfr-card:hover { background: #FFFDF9; }

.mfr-card .mfr-logo-img {
  max-width: 100%;
  max-height: 64px;
  width: auto;
  object-fit: contain;
}

.mfr-card .mfr-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  text-align: center;
  color: var(--ink);
}

.mfr-card .mfr-hint {
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-size: 0.7rem;
  color: var(--brass);
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.mfr-card:hover .mfr-hint { opacity: 1; }

@media (max-width: 900px) {
  .mfr-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .mfr-grid { grid-template-columns: 1fr; }
}

/* ---------- Manufacturer detail panel (modal) ---------- */

.mfr-overlay {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(27, 43, 58, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 100;
}

.mfr-overlay.open { display: flex; }

.mfr-sheet {
  background: var(--paper-raised);
  max-width: 460px;
  width: 100%;
  border-top: 5px solid var(--brass);
  padding: 36px;
  position: relative;
  max-height: 86vh;
  overflow-y: auto;
}

.mfr-sheet-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--slate);
  padding: 6px;
}

.mfr-sheet-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brass);
  margin: 0 0 6px;
}

.mfr-sheet h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  margin: 0 0 6px;
}

.mfr-sheet-role {
  font-size: 0.85rem;
  color: var(--brass);
  font-weight: 600;
  margin: 0 0 18px;
}

.mfr-sheet-bio p {
  color: var(--slate);
  font-size: 0.98rem;
  margin: 0 0 14px;
}

.mfr-sheet-bio p:last-child { margin-bottom: 0; }

.mfr-sheet-row {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.mfr-sheet-row dt {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 5px;
}

.mfr-sheet-row dd { margin: 0; font-size: 0.98rem; }

.mfr-sheet-link-row {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin: 4px 0 0;
}

.mfr-sheet-link-row a {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--brass-dark);
  text-decoration: none;
}

.mfr-sheet-link-row a:hover { text-decoration: underline; }

/* ---------- Team grid ---------- */

.team-group-head {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass-dark);
  margin: 0 0 20px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.team-group-head:first-of-type { border-top: none; padding-top: 0; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-bottom: 48px;
}

.team-card {
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--sans);
}

.team-photo,
.team-photo-img {
  aspect-ratio: 4/5;
  width: 100%;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  object-fit: cover;
}

.team-photo {
  background: var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate);
  font-size: 0.85rem;
}

.team-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.15rem;
  margin: 0 0 4px;
}

.team-card .role {
  font-size: 0.85rem;
  color: var(--brass);
  font-weight: 600;
  margin: 0;
}

@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #B7C2CC;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid #34495D;
}

.footer-grid h4 {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--paper);
  margin: 0 0 16px;
}

.footer-grid p, .footer-grid a {
  font-size: 0.9rem;
  color: #B7C2CC;
  text-decoration: none;
  margin: 0 0 8px;
  display: block;
}

.footer-grid a:hover { color: var(--brass); }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #7E8C99;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Misc content pages ---------- */

.prose { max-width: 68ch; }
.prose p { color: var(--slate); font-size: 1.02rem; }

.placeholder-note {
  background: #FBF3E4;
  border-left: 3px solid var(--brass);
  padding: 14px 18px;
  font-size: 0.88rem;
  color: var(--brass-dark);
  margin: 24px 0;
}

/* ---------- About history refresh ---------- */
.about-history-hero .hero-bg {
  background-position: center 28%;
}
.about-history-hero .hero-bg::after {
  background: linear-gradient(90deg, rgba(15,35,61,.97) 0%, rgba(20,49,84,.92) 48%, rgba(30,65,108,.70) 100%);
}
.about-history-hero .about-history-hero-inner {
  min-height: 520px;
  padding-top: 88px;
  padding-bottom: 88px;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  align-items: center;
  gap: 56px;
}
.about-history-copy { max-width: 720px; }
.about-history-copy .hero-eyebrow { margin-bottom: 16px; }
.about-history-copy h1 {
  max-width: none;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  margin-bottom: 20px;
}
.about-history-copy > p:not(.hero-eyebrow):not(.about-history-kicker) {
  font-size: 1.18rem;
  max-width: 58ch;
  margin-bottom: 28px;
}
.about-history-rule { width: 72px; height: 3px; background: var(--brass); margin: 30px 0 22px; }
.about-history-kicker {
  font-size: .86rem !important;
  line-height: 1.65 !important;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-weight: 700;
  color: #D8E0EA !important;
  margin: 0 !important;
}
.about-history-mark { display:flex; justify-content:center; align-items:center; }
.about-history-mark img {
  width: min(320px, 100%);
  height: auto;
  filter: drop-shadow(0 18px 34px rgba(0,0,0,.32));
  opacity: .96;
}

.history-intro { padding: 0; background: var(--paper-raised); border-bottom: 1px solid var(--line); }
.history-intro .wrap {
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  align-items:stretch;
  gap:0;
  max-width: 1180px;
}
.history-archive-card { margin:0; background:var(--ink); }
.history-archive-image { position:relative; height:430px; overflow:hidden; }
.history-archive-image img { width:100%; height:100%; object-fit:cover; display:block; filter:saturate(.75) contrast(1.03); }
.history-archive-image::after {
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(17,42,72,.06), rgba(17,42,72,.35));
}
.history-year {
  position:absolute; left:30px; bottom:22px; z-index:2;
  font-family:var(--display); font-size:clamp(3rem,7vw,5.8rem); line-height:1;
  color:rgba(255,255,255,.94); letter-spacing:.02em;
}
.history-archive-card figcaption {
  padding:13px 18px 15px; color:#D4DDE8; font-size:.75rem; letter-spacing:.04em;
}
.history-archive-card figcaption span { color:#96A8BC; margin-left:8px; }
.history-intro-copy { padding:64px 54px; display:flex; flex-direction:column; justify-content:center; }
.history-intro-label { color:var(--brass); font-weight:700; letter-spacing:.11em; font-size:.78rem; margin:0 0 16px; }
.history-intro-lede { font-family:var(--serif); color:var(--ink); font-size:clamp(1.55rem,2.5vw,2.2rem); line-height:1.35; margin:0 0 20px; }
.history-intro-note { color:var(--slate); font-size:.82rem; line-height:1.55; margin:0; }

.history-section { padding-top:72px; }
.history-section .history-era { position:relative; }
.history-section .history-era::before {
  content:""; position:absolute; left:0; top:44px; width:5px; height:42px; background:var(--brass);
  transform:translateX(-22px);
}

.about-team-feature { background:var(--ink); color:var(--paper); padding:72px 0 84px; }
.about-team-feature .wrap { max-width:1180px; }
.about-team-heading { display:flex; justify-content:space-between; align-items:end; gap:30px; margin-bottom:30px; }
.about-team-heading .history-intro-label { margin:0 0 8px; }
.about-team-heading h2 { font-family:var(--display); font-weight:400; font-size:clamp(1.7rem,3vw,2.7rem); margin:0; max-width:24ch; }
.about-team-photo { margin:0; overflow:hidden; border-top:4px solid var(--brass); box-shadow:0 24px 60px rgba(0,0,0,.24); }
.about-team-photo img { width:100%; height:auto; display:block; }

@media (max-width: 780px) {
  .about-history-hero .about-history-hero-inner { min-height:auto; grid-template-columns:1fr; padding-top:58px; padding-bottom:58px; gap:32px; }
  .about-history-mark { justify-content:flex-start; }
  .about-history-mark img { width:190px; }
  .history-intro .wrap { grid-template-columns:1fr; }
  .history-archive-image { height:300px; }
  .history-intro-copy { padding:40px 24px 46px; }
  .history-section .history-era::before { display:none; }
  .about-team-heading { display:block; }
}

/* ============================================
   Home Page Refresh
   ============================================ */

.home-hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: var(--ink-deep);
  color: var(--paper);
}

.home-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/hero-photo.jpg');
  background-size: cover;
  background-position: center 36%;
  transform: scale(1.02);
}

.home-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20,44,76,0.97) 0%, rgba(20,44,76,0.90) 39%, rgba(29,62,107,0.73) 67%, rgba(20,44,76,0.78) 100%),
    linear-gradient(0deg, rgba(14,30,52,0.45), transparent 42%);
}

.home-hero-inner {
  min-height: 650px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 72px;
  align-items: center;
  padding-top: 82px;
  padding-bottom: 92px;
}

.home-kicker,
.section-label {
  margin: 0 0 16px;
  font-size: 0.76rem;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-dark);
}

.home-kicker { color: #D0A574; }

.home-hero-copy h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.5rem, 5.2vw, 4.65rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  max-width: 11ch;
}

.home-hero-lede {
  margin: 0 0 34px;
  max-width: 54ch;
  color: #D5DEE9;
  font-size: 1.13rem;
  line-height: 1.7;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-ghost-light {
  border-color: rgba(255,255,255,0.62);
  color: var(--paper);
}

.btn-ghost-light:hover {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.home-hero-brand {
  justify-self: end;
  width: min(100%, 470px);
  border-left: 1px solid rgba(255,255,255,0.22);
  padding-left: 46px;
}

.home-hero-mark {
  width: min(100%, 300px);
  max-height: 300px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 18px 34px rgba(3,12,26,0.42));
  margin-bottom: 30px;
}

.home-hero-brand-copy { max-width: 420px; }

.home-brand-name {
  font-family: var(--display);
  font-size: clamp(1rem, 1.65vw, 1.4rem);
  line-height: 1.35;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.home-brand-name span { color: var(--brass); }

.home-brand-tag,
.home-brand-since {
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.home-brand-tag { color: #C7D3E1; font-size: 0.82rem; }
.home-brand-since { color: #D0A574; font-size: 0.78rem; margin-top: 5px; }

.home-proof {
  position: relative;
  z-index: 2;
  background: rgba(14, 31, 53, 0.92);
  border-top: 1px solid rgba(255,255,255,0.14);
}

.home-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 1.4fr;
  padding-top: 0;
  padding-bottom: 0;
}

.home-proof-item {
  min-height: 112px;
  padding: 24px 30px 22px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(255,255,255,0.13);
  margin-right: 30px;
}

.home-proof-item strong {
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
  font-weight: 600;
  color: #D0A574;
  margin-bottom: 8px;
}

.home-proof-item span {
  color: #C2CDDA;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-proof-link {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}

.home-proof-link span {
  text-transform: none;
  font-size: 0.94rem;
  letter-spacing: 0;
  font-weight: 400;
  margin-bottom: 8px;
}

.home-proof-link a {
  color: #D0A574;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
}

.home-intro { padding: 92px 0; }

.home-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  gap: 76px;
  align-items: center;
}

.home-intro-copy h2,
.home-representation-copy h2 {
  font-family: var(--serif);
  font-size: clamp(2.15rem, 4vw, 3.55rem);
  line-height: 1.08;
  font-weight: 500;
  margin: 0 0 26px;
  letter-spacing: -0.025em;
}

.home-intro-copy > p:not(.section-label) {
  color: var(--slate);
  font-size: 1.06rem;
  line-height: 1.75;
  margin: 0 0 26px;
}

.home-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.text-link {
  color: var(--brass-dark);
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover { text-decoration: underline; }

.home-intro-photo {
  margin: 0;
  position: relative;
}

.home-intro-photo::before {
  content: "";
  position: absolute;
  width: 42%;
  height: 55%;
  top: -18px;
  right: -18px;
  border-top: 4px solid var(--brass);
  border-right: 4px solid var(--brass);
  pointer-events: none;
}

.home-intro-photo img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: center 48%;
}

.home-intro-photo figcaption {
  margin-top: 10px;
  font-size: 0.76rem;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.home-section-head { align-items: end; }
.home-section-head > div { flex: 1; }
.home-section-head .section-label { margin-bottom: 10px; }
.home-section-head h2 { max-width: none; }

.home-mfr-grid .mfr-card {
  min-height: 150px;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.home-mfr-grid .mfr-card:hover {
  transform: translateY(-3px);
  z-index: 2;
  box-shadow: 0 12px 26px rgba(29,62,107,0.10);
}

.home-section-action { margin-top: 32px; }

.home-representation {
  padding: 88px 0;
  background: var(--ink);
  color: var(--paper);
}

.home-representation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) 1px minmax(260px, 0.55fr);
  gap: 64px;
  align-items: center;
}

.section-label-light { color: #D0A574; }

.home-representation-copy h2 { color: var(--paper); max-width: 15ch; }
.home-representation-copy > p:not(.section-label) {
  max-width: 60ch;
  color: #C4D0DE;
  font-size: 1.05rem;
  line-height: 1.72;
  margin: 0 0 28px;
}

.home-representation-rule {
  width: 1px;
  height: 220px;
  background: rgba(255,255,255,0.16);
}

.home-representation-note { align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.home-representation-note .quote-mark {
  font-family: var(--serif);
  font-size: 4.5rem;
  line-height: 0.6;
  margin: 0 0 18px;
  color: var(--brass);
}
.home-representation-note p:last-child {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.75rem;
  line-height: 1.45;
  color: #E7EDF4;
}

.home-locations { padding: 92px 0 96px; }

.home-location-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(260px, 0.8fr);
  gap: 22px;
}

.home-location-card,
.home-contact-card {
  min-height: 290px;
  padding: 32px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
}

.home-location-card { border-top: 4px solid var(--brass); }
.home-contact-card { background: #F0F3F6; }

.location-number {
  margin: 0 0 40px;
  font-family: var(--display);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--brass);
}

.home-location-card h3,
.home-contact-card h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  margin: 0 0 16px;
}

.home-location-card p,
.home-contact-card p {
  color: var(--slate);
  margin: 0 0 16px;
}

.home-location-card a,
.home-contact-card a:not(.text-link) {
  color: var(--ink);
  text-decoration: none;
}
.home-location-card a:hover,
.home-contact-card a:not(.text-link):hover { color: var(--brass-dark); }
.home-location-card span { color: var(--steel); font-size: 0.82rem; }

@media (max-width: 980px) {
  .home-hero-inner { grid-template-columns: 1fr 0.82fr; gap: 44px; }
  .home-proof-grid { grid-template-columns: repeat(2, 1fr); }
  .home-proof-item:nth-child(2) { border-right: none; margin-right: 0; }
  .home-intro-grid { gap: 44px; }
  .home-location-grid { grid-template-columns: repeat(2, 1fr); }
  .home-contact-card { grid-column: 1 / -1; min-height: 0; }
}

@media (max-width: 780px) {
  .home-hero-inner {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 54px;
    padding-top: 64px;
    padding-bottom: 70px;
  }

  .home-hero-copy h1 { max-width: 12ch; }
  .home-hero-brand {
    justify-self: start;
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.18);
    padding-left: 0;
    padding-top: 34px;
  }
  .home-hero-mark { max-width: 230px; margin-bottom: 22px; }
  .home-proof-grid { grid-template-columns: 1fr 1fr; }
  .home-proof-item { margin-right: 18px; padding-right: 18px; }
  .home-proof-item:nth-child(even) { border-right: none; margin-right: 0; }

  .home-intro-grid { grid-template-columns: 1fr; }
  .home-intro-photo { order: -1; }

  .home-representation-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .home-representation-rule { width: 100%; height: 1px; }

  .home-location-grid { grid-template-columns: 1fr; }
  .home-contact-card { grid-column: auto; }
  .home-section-head { align-items: flex-start; }
}

@media (max-width: 520px) {
  .home-hero-copy h1 { font-size: clamp(2.25rem, 11vw, 3.3rem); }
  .home-hero-actions { flex-direction: column; align-items: stretch; }
  .home-hero-actions .btn { text-align: center; }
  .home-proof-grid { grid-template-columns: 1fr; }
  .home-proof-item,
  .home-proof-item:nth-child(2) {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    margin-right: 0;
  }
  .home-proof-item:last-child { border-bottom: none; }
  .home-intro-photo::before { right: -8px; top: -8px; }
}


/* ---------- Final pre-review polish ---------- */
.site-credit {
  font-size: 0.64rem;
  letter-spacing: 0.02em;
  opacity: 0.72;
}

/* Team portraits supplied by CWR */
.team-card {
  border-radius: 2px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.team-card:hover { transform: translateY(-3px); }
.team-card:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 5px;
}
.team-photo-img {
  background: #e8ecef;
  object-position: center top;
  box-shadow: 0 8px 24px rgba(15,35,61,.08);
}
.team-card:hover .team-photo-img { box-shadow: 0 12px 30px rgba(15,35,61,.14); }

/* Contact page: high-contrast, action-oriented contact details */
.contact-section {
  background: #f5f7f9;
  padding: 72px 0 84px;
}
.contact-intro {
  max-width: 720px;
  margin-bottom: 34px;
}
.contact-intro .section-kicker {
  margin: 0 0 8px;
  color: var(--brass-dark);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.contact-intro h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 400;
}
.contact-intro > p:last-child {
  color: #41566e;
  font-size: 1.02rem;
  margin: 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 22px;
}
.contact-office-card,
.contact-action-card {
  background: #fff;
  border: 1px solid #d7dee5;
  border-top: 4px solid var(--brass);
  padding: 30px;
  box-shadow: 0 10px 28px rgba(15,35,61,.06);
}
.contact-card-label {
  margin: 0 0 10px;
  color: var(--brass-dark);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.contact-office-card h3,
.contact-action-card h3 {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  margin: 0 0 16px;
}
.contact-office-card > p:not(.contact-card-label),
.contact-action-card > p:not(.contact-card-label) {
  color: #334b63;
  font-size: .98rem;
  line-height: 1.7;
  margin: 0 0 18px;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.contact-links a,
.contact-static,
.contact-action-card h3 a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
}
.contact-links a:hover,
.contact-action-card h3 a:hover {
  color: var(--brass-dark);
  text-decoration: underline;
}
.contact-links span span { font-weight: 500; color: #62758a; }
.contact-action-card { background: var(--ink); }
.contact-action-card .contact-card-label { color: #d6ad78; }
.contact-action-card h3,
.contact-action-card h3 a { color: #fff; }
.contact-action-card > p:not(.contact-card-label) { color: #c7d1da; margin-bottom: 0; }
.contact-action-card h3 a:hover { color: #e2bf90; }

@media (max-width: 720px) {
  .contact-section { padding: 54px 0 62px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-office-card, .contact-action-card { padding: 24px; }
}
