/* ============================================================
   BrightPath Group — brightpathgroup.net
   Bright, engraved, elevated. Navy ink on white paper,
   gold hairlines, one blue for action.
   ============================================================ */

/* ---------- Fonts (self hosted) ---------- */
@font-face { font-family: 'Cormorant Garamond'; src: url('../fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('../fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('../fonts/cormorant-garamond-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('../fonts/cormorant-garamond-latin-500-italic.woff2') format('woff2'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('../fonts/cormorant-garamond-latin-600-italic.woff2') format('woff2'); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../fonts/Montserrat-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../fonts/Montserrat-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../fonts/Montserrat-800.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/Inter-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/Inter-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/Inter-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --ink: #0a2540;
  --ink-70: rgba(10, 37, 64, .72);
  --ink-55: rgba(10, 37, 64, .55);
  --paper: #ffffff;
  --paper-2: #f5f8fc;
  --paper-3: #eef3f9;
  --line: rgba(10, 37, 64, .16);
  --line-soft: rgba(10, 37, 64, .09);
  --blue: #1863dc;
  --gold: #f5b800;
  --gold-deep: #8f6f0a;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --label: 'Montserrat', 'Inter', sans-serif;
  --max: 1240px;
  --pad: clamp(20px, 4vw, 48px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.72;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::selection { background: var(--gold); color: var(--ink); }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---------- Typography ---------- */
.kicker {
  font-family: var(--label);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  gap: 14px;
}
.kicker::before { content: ''; width: 34px; height: 1px; background: var(--gold); flex: none; }
.kicker.center { justify-content: center; }
.kicker.center::after { content: ''; width: 34px; height: 1px; background: var(--gold); flex: none; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.04; letter-spacing: -.005em; }
.display { font-size: clamp(46px, 7.2vw, 96px); }
.display em, h2 em { font-style: italic; font-weight: 500; }
h2.section-title { font-size: clamp(36px, 4.6vw, 60px); }
h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.12; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.75; color: var(--ink-70); max-width: 62ch; }
p { color: var(--ink-70); }
p strong { color: var(--ink); font-weight: 600; }

/* ---------- Hairline ornaments ---------- */
.rule-double { height: 7px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rule-gold { height: 1px; background: linear-gradient(90deg, transparent, var(--gold) 18%, var(--gold) 82%, transparent); }
.orn {
  display: flex; align-items: center; gap: 12px; justify-content: center;
  color: var(--gold-deep);
}
.orn::before, .orn::after { content: ''; height: 1px; width: min(180px, 24vw); background: var(--line); }

/* ---------- Top strip ---------- */
.topstrip {
  background: var(--ink);
  color: rgba(255,255,255,.85);
  font-family: var(--label);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.topstrip .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topstrip .gold { color: var(--gold); }
.topstrip .right { display: flex; gap: 22px; }
.topstrip a:hover { color: #fff; }
@media (max-width: 720px) { .topstrip .right span.hide-m { display: none; } }

/* ---------- Header / nav ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand .mark { flex: none; }
.brand .word { display: flex; flex-direction: column; line-height: 1; }
.brand .word .a {
  font-family: var(--label); font-weight: 800; font-size: 17px; letter-spacing: .14em; color: var(--ink);
}
.brand .word .b {
  font-family: var(--label); font-weight: 600; font-size: 8.5px; letter-spacing: .46em; color: var(--gold-deep); margin-top: 5px; text-transform: uppercase;
}
nav.main { display: flex; align-items: center; gap: 30px; }
nav.main a {
  font-family: var(--label); font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-70); padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s;
}
nav.main a:hover, nav.main a.on { color: var(--ink); border-bottom-color: var(--gold); }
.nav-cta {
  font-family: var(--label); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  background: var(--ink); color: #fff; padding: 13px 24px; transition: background .2s;
}
.nav-cta:hover { background: var(--blue); }
.burger { display: none; background: none; border: 1px solid var(--line); width: 44px; height: 44px; cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after {
  content: ''; position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink);
}
.burger span { top: 21px; }
.burger span::before { top: -7px; left: 0; right: 0; }
.burger span::after { top: 7px; left: 0; right: 0; }
@media (max-width: 1020px) {
  nav.main {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: flex-start; padding: 22px var(--pad) 30px; gap: 18px;
  }
  nav.main.open { display: flex; }
  .burger { display: block; }
  .nav-cta.desktop { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(1200px 500px at 85% -10%, rgba(24,99,220,.055), transparent 60%),
  radial-gradient(900px 420px at -10% 110%, rgba(245,184,0,.07), transparent 55%),
  var(--paper);
}
.hero .grid {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(30px, 5vw, 70px); align-items: center;
  padding-top: clamp(56px, 8vw, 110px); padding-bottom: clamp(56px, 8vw, 110px);
}
.hero .copy > * + * { margin-top: 26px; }
.hero .display { margin-top: 22px; }
.hero .coords {
  font-family: var(--label); font-size: 10.5px; font-weight: 600; letter-spacing: .3em;
  text-transform: uppercase; color: var(--ink-55); display: flex; gap: 26px; flex-wrap: wrap;
}
.hero .actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  font-family: var(--label); font-size: 12px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  padding: 17px 34px; display: inline-flex; align-items: center; gap: 12px; transition: all .2s;
}
.btn.solid { background: var(--ink); color: #fff; }
.btn.solid:hover { background: var(--blue); }
.btn.ghost { border: 1px solid var(--line); color: var(--ink); }
.btn.ghost:hover { border-color: var(--ink); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(4px); }
.hero .plate { position: relative; }
@media (max-width: 900px) {
  .hero .grid { grid-template-columns: 1fr; }
  .hero .plate { max-width: 520px; margin: 0 auto; }
}

/* ---------- Stats band ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 26px; border-left: 1px solid var(--line-soft); }
.stat:first-child { border-left: none; }
.stat .n { font-family: var(--serif); font-size: clamp(38px, 4vw, 54px); font-weight: 600; line-height: 1; }
.stat .n sup { font-size: .45em; color: var(--gold-deep); }
.stat .l { font-family: var(--label); font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-55); margin-top: 10px; }
@media (max-width: 820px) {
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: none; }
  .stat { border-top: 1px solid var(--line-soft); }
  .stat:nth-child(-n+2) { border-top: none; }
}

/* ---------- Sections ---------- */
section.block { padding-top: clamp(70px, 9vw, 130px); padding-bottom: clamp(70px, 9vw, 130px); }
section.block.tint { background: var(--paper-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-head { max-width: 780px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .section-title { margin-top: 20px; }
.section-head .lede { margin-top: 22px; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Portfolio cards ---------- */
.portfolio { margin-top: clamp(44px, 5vw, 70px); display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); background: var(--line); grid-auto-rows: 1fr; row-gap: 1px; column-gap: 1px; }
.p-card { background: var(--paper); padding: clamp(30px, 3.4vw, 48px); display: flex; flex-direction: column; gap: 0; position: relative; transition: background .25s; }
.p-card:hover { background: var(--paper-2); }
.p-card .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.p-card .num { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 19px; color: var(--gold-deep); }
.p-card .tag {
  font-family: var(--label); font-size: 9.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  border: 1px solid var(--line); color: var(--ink-55); padding: 7px 12px; white-space: nowrap;
}
.p-card .emblem { margin: 26px 0 22px; }
.p-card h3 a::after { content: ''; position: absolute; inset: 0; }
.p-card .est { font-family: var(--label); font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-55); margin-top: 10px; }
.p-card p.desc { margin-top: 16px; font-size: 15.5px; flex: 1; }
.p-card .facts { margin-top: 22px; border-top: 1px solid var(--line-soft); padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.p-card .facts li { font-family: var(--label); font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-55); display: flex; align-items: center; gap: 8px; }
.p-card .facts li::before { content: ''; width: 4px; height: 4px; background: var(--gold); flex: none; }
.p-card .go {
  margin-top: 24px; font-family: var(--label); font-size: 11px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--blue); display: inline-flex; align-items: center; gap: 10px;
}
.p-card:hover .go .arr { transform: translateX(5px); }
.p-card .go .arr { transition: transform .2s; }
@media (max-width: 860px) { .portfolio { grid-template-columns: 1fr; } }

/* ---------- Split feature (story) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.split .art { position: relative; }
.split .copy > * + * { margin-top: 22px; }
.split .copy .section-title { margin-top: 18px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split .art { max-width: 560px; margin: 0 auto; } }

/* ---------- Numbered principles ---------- */
.principles { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(26px, 3vw, 44px); }
.principle { border-top: 1px solid var(--line); padding-top: 24px; }
.principle .pn { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--gold-deep); }
.principle h3 { font-size: 25px; margin-top: 12px; }
.principle p { margin-top: 12px; font-size: 15px; }
@media (max-width: 820px) { .principles { grid-template-columns: 1fr; } }

/* ---------- Territories ---------- */
.terr-map { margin-top: clamp(40px, 5vw, 64px); border: 1px solid var(--line); background: var(--paper); padding: clamp(18px, 3vw, 40px); }
.terr-list { margin-top: 1px; display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); border-top: none; background: var(--line); gap: 1px; }
.terr { background: var(--paper); padding: 22px 18px; }
.terr .t-name { font-family: var(--label); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.terr .t-fact { font-size: 12.5px; color: var(--ink-55); margin-top: 8px; line-height: 1.55; }
@media (max-width: 1020px) { .terr-list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .terr-list { grid-template-columns: 1fr 1fr; } }

/* ---------- Timeline ---------- */
.timeline { margin-top: clamp(44px, 5vw, 70px); position: relative; }
.timeline::before { content: ''; position: absolute; left: 0; right: 0; top: 8px; height: 1px; background: var(--line); }
.timeline .row { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); }
.t-item { position: relative; padding-top: 34px; }
.t-item::before { content: ''; position: absolute; top: 4px; left: 0; width: 9px; height: 9px; background: var(--paper); border: 1.5px solid var(--gold-deep); transform: rotate(45deg); }
.t-item .yr { font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1; }
.t-item .tt { font-family: var(--label); font-size: 10.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); margin-top: 10px; }
.t-item p { font-size: 14px; margin-top: 10px; line-height: 1.6; }
@media (max-width: 860px) {
  .timeline::before { display: none; }
  .timeline .row { grid-template-columns: 1fr 1fr; }
  .t-item { border-top: 1px solid var(--line); }
}
@media (max-width: 540px) { .timeline .row { grid-template-columns: 1fr; } }

/* ---------- Leadership ---------- */
.leader { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.leader .frame { border: 1px solid var(--line); padding: clamp(14px, 2vw, 22px); background: var(--paper); }
.leader .frame .inner { border: 1px solid var(--line); padding: clamp(20px, 3vw, 36px); background: var(--paper-2); }
.leader blockquote {
  font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; font-style: italic; line-height: 1.4; color: var(--ink);
}
.leader .copy > * + * { margin-top: 20px; }
.leader .who { font-family: var(--label); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-55); }
.leader .who strong { color: var(--ink); display: block; font-size: 13px; margin-bottom: 6px; letter-spacing: .16em; }
@media (max-width: 900px) { .leader { grid-template-columns: 1fr; } }

/* ---------- Contact / CTA ---------- */
.cta-band { background: var(--ink); color: #fff; }
.cta-band .lede, .cta-band p { color: rgba(255,255,255,.78); }
.cta-band .kicker { color: var(--gold); }
.cta-band .kicker::before, .cta-band .kicker.center::after { background: var(--gold); }
.cta-band .inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.cta-band .section-title { color: #fff; margin-top: 20px; }
.cta-band .btn.solid { background: var(--gold); color: var(--ink); }
.cta-band .btn.solid:hover { background: #fff; }
.cta-band .btn.ghost { border-color: rgba(255,255,255,.3); color: #fff; }
.cta-band .btn.ghost:hover { border-color: #fff; }
.cta-band .card { border: 1px solid rgba(255,255,255,.18); padding: clamp(26px, 3vw, 40px); }
.cta-band .card .row { display: flex; justify-content: space-between; gap: 18px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.12); flex-wrap: wrap; }
.cta-band .card .row:last-child { border-bottom: none; }
.cta-band .card .k { font-family: var(--label); font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.cta-band .card .v { font-size: 14.5px; color: #fff; text-align: right; }
.cta-band .card .v a:hover { color: var(--gold); }
@media (max-width: 900px) { .cta-band .inner { grid-template-columns: 1fr; } .cta-band .card .v { text-align: left; } }

/* ---------- Footer ---------- */
footer.site { background: var(--paper); border-top: 1px solid var(--line); }
footer.site .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(30px, 4vw, 60px); padding: clamp(50px, 6vw, 80px) 0 40px; }
footer.site .fh { font-family: var(--label); font-size: 10.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 18px; }
footer.site li { margin-bottom: 11px; }
footer.site li a { font-size: 14px; color: var(--ink-70); transition: color .2s; }
footer.site li a:hover { color: var(--blue); }
footer.site .about p { font-size: 14px; margin-top: 16px; max-width: 40ch; }
footer.site .legal { border-top: 1px solid var(--line-soft); padding: 26px 0; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
footer.site .legal p { font-size: 12px; color: var(--ink-55); max-width: 78ch; }
footer.site .legal .lang { display: flex; gap: 16px; }
footer.site .legal .lang a { font-family: var(--label); font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-55); }
footer.site .legal .lang a:hover, footer.site .legal .lang a.on { color: var(--ink); }
@media (max-width: 900px) { footer.site .top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { footer.site .top { grid-template-columns: 1fr; } }

/* ---------- Company page ---------- */
.co-hero { border-bottom: 1px solid var(--line); background:
  radial-gradient(1000px 420px at 90% -20%, rgba(24,99,220,.05), transparent 60%), var(--paper); }
.co-hero .grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: clamp(30px, 5vw, 80px); align-items: center; padding-top: clamp(50px, 7vw, 96px); padding-bottom: clamp(50px, 7vw, 96px); }
.co-hero .crumb { font-family: var(--label); font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-55); display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.co-hero .crumb a:hover { color: var(--blue); }
.co-hero .crumb .sep { color: var(--gold-deep); }
.co-hero h1 { font-size: clamp(42px, 5.6vw, 76px); margin-top: 24px; }
.co-hero .lede { margin-top: 22px; }
.co-hero .meta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.co-hero .meta li { font-family: var(--label); font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-55); display: flex; align-items: center; gap: 9px; }
.co-hero .meta li::before { content: ''; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); flex: none; }
.co-hero .actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 900px) { .co-hero .grid { grid-template-columns: 1fr; } .co-hero .plate { max-width: 460px; margin: 0 auto; } }

.svc-grid { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: var(--line); gap: 1px; }
.svc { background: var(--paper); padding: clamp(24px, 2.6vw, 36px); }
.svc .s-num { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--gold-deep); }
.svc h3 { font-size: 21px; margin-top: 12px; line-height: 1.25; }
.svc p { font-size: 14.5px; margin-top: 10px; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .svc-grid { grid-template-columns: 1fr; } }

.detail-band { border-top: 1px solid var(--line-soft); }
.detail-band .cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); }
.detail-band .cols > div > * + * { margin-top: 18px; }
.detail-band h3 { margin-bottom: 6px; }
.checklist li { padding: 13px 0; border-bottom: 1px solid var(--line-soft); display: flex; gap: 14px; font-size: 15px; color: var(--ink-70); }
.checklist li::before { content: ''; flex: none; width: 7px; height: 7px; margin-top: 8px; background: var(--paper); border: 1.5px solid var(--gold-deep); transform: rotate(45deg); }
@media (max-width: 860px) { .detail-band .cols { grid-template-columns: 1fr; } }

.note {
  margin-top: clamp(36px, 4vw, 56px); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  background: var(--paper-2); padding: 22px 28px; font-size: 13.5px; color: var(--ink-70); line-height: 1.65;
}

/* ---------- Sister nav (bottom of company pages) ---------- */
.sisters { border-top: 1px solid var(--line); }
.sisters .row { display: grid; grid-template-columns: repeat(3, 1fr); border-left: 1px solid var(--line); border-right: 1px solid var(--line); background: var(--line); gap: 1px; }
.sister { background: var(--paper); padding: 30px 28px; transition: background .25s; position: relative; }
.sister:hover { background: var(--paper-2); }
.sister .sk { font-family: var(--label); font-size: 9.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); }
.sister .sn { font-family: var(--serif); font-size: 24px; font-weight: 600; margin-top: 10px; }
.sister .sd { font-size: 13px; color: var(--ink-55); margin-top: 8px; }
.sister a::after { content: ''; position: absolute; inset: 0; }
@media (max-width: 820px) { .sisters .row { grid-template-columns: 1fr; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
/* stagger children of a grid when the grid itself reveals */
.portfolio.in .p-card { animation: rise .9s cubic-bezier(.16,1,.3,1) both; }
.portfolio.in .p-card:nth-child(1) { animation-delay: .04s; }
.portfolio.in .p-card:nth-child(2) { animation-delay: .13s; }
.portfolio.in .p-card:nth-child(3) { animation-delay: .22s; }
.portfolio.in .p-card:nth-child(4) { animation-delay: .31s; }
.svc-grid.in .svc { animation: rise .8s cubic-bezier(.16,1,.3,1) both; }
.svc-grid.in .svc:nth-child(2) { animation-delay: .06s; }
.svc-grid.in .svc:nth-child(3) { animation-delay: .12s; }
.svc-grid.in .svc:nth-child(4) { animation-delay: .18s; }
.svc-grid.in .svc:nth-child(5) { animation-delay: .24s; }
.svc-grid.in .svc:nth-child(6) { animation-delay: .30s; }
.terr-list.in .terr { animation: rise .7s cubic-bezier(.16,1,.3,1) both; }
.terr-list.in .terr:nth-child(2){animation-delay:.05s}.terr-list.in .terr:nth-child(3){animation-delay:.1s}
.terr-list.in .terr:nth-child(4){animation-delay:.15s}.terr-list.in .terr:nth-child(5){animation-delay:.2s}
.terr-list.in .terr:nth-child(6){animation-delay:.25s}
.t-item { opacity: 0; }
.timeline.in .t-item { animation: rise .8s cubic-bezier(.16,1,.3,1) both; }
.timeline.in .t-item:nth-child(2){animation-delay:.12s}.timeline.in .t-item:nth-child(3){animation-delay:.24s}
.timeline.in .t-item:nth-child(4){animation-delay:.36s}
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* hero headline : line-mask lift */
.hero .display { opacity: 0; }
.hero.lit .display { animation: heroLift 1.05s cubic-bezier(.16,1,.3,1) .05s both; }
@keyframes heroLift { from { opacity: 0; transform: translateY(30px); clip-path: inset(0 0 30% 0); letter-spacing: .01em; } to { opacity: 1; transform: none; clip-path: inset(0 0 -8% 0); letter-spacing: -.005em; } }
.hero .copy > *:not(.display) { opacity: 0; }
.hero.lit .copy > .kicker { animation: rise .8s cubic-bezier(.16,1,.3,1) both; }
.hero.lit .copy > .lede { animation: rise .9s cubic-bezier(.16,1,.3,1) .28s both; }
.hero.lit .copy > .coords { animation: rise .9s cubic-bezier(.16,1,.3,1) .4s both; }
.hero.lit .copy > .actions { animation: rise .9s cubic-bezier(.16,1,.3,1) .5s both; }

/* ---------- The Bright Path : scroll progress rail ---------- */
.brightpath-rail {
  position: fixed; left: 26px; top: 50%; transform: translateY(-50%);
  height: min(58vh, 520px); width: 30px; z-index: 40; pointer-events: none;
  display: none;
}
@media (min-width: 1180px) { .brightpath-rail { display: block; } }
.brightpath-rail .track { position: absolute; left: 14px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.brightpath-rail .fill {
  position: absolute; left: 14px; top: 0; width: 1px; height: 0;
  background: linear-gradient(180deg, var(--gold-deep), var(--gold));
}
.brightpath-rail .bead {
  position: absolute; left: 14.5px; top: 0; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px;
  background: var(--gold); border: 1px solid var(--paper); transform: rotate(45deg);
  box-shadow: 0 0 0 3px rgba(245,184,0,.18); transition: box-shadow .3s;
}
.brightpath-rail .node {
  position: absolute; left: 14.5px; width: 6px; height: 6px; margin: -3px 0 0 -3px;
  background: var(--paper); border: 1px solid var(--line); transform: rotate(45deg); transition: all .3s;
}
.brightpath-rail .node.done { border-color: var(--gold-deep); background: var(--gold); }
.brightpath-rail .node .lbl {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%) rotate(-45deg); transform-origin: left center;
  font-family: var(--label); font-size: 8.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-55); white-space: nowrap; opacity: 0; transition: opacity .3s;
}
.brightpath-rail .node.active .lbl { opacity: 1; color: var(--ink); }

/* ---------- Plate : drawn-in reveal with light sweep ---------- */
.plate-frame { position: relative; overflow: hidden; }
.plate-frame .inner { position: relative; }
.reveal .plate-frame .inner > svg { clip-path: inset(0 100% 0 0); transition: clip-path 1.15s cubic-bezier(.16,1,.3,1) .1s; }
.reveal.in .plate-frame .inner > svg { clip-path: inset(0 0 0 0); }
.plate-frame::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 42%; left: -50%;
  background: linear-gradient(100deg, transparent, rgba(245,184,0,.16), rgba(255,255,255,.5), rgba(245,184,0,.16), transparent);
  transform: skewX(-14deg); opacity: 0; pointer-events: none;
}
.reveal.in .plate-frame::after { animation: sheen 1.35s cubic-bezier(.16,1,.3,1) .25s 1; }
@keyframes sheen { 0% { left: -55%; opacity: 0; } 20% { opacity: 1; } 100% { left: 115%; opacity: 0; } }

/* ---------- Hero : cursor light ---------- */
.hero .grid { position: relative; z-index: 1; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(280px circle at var(--mx, 78%) var(--my, 22%), rgba(245,184,0,.10), transparent 62%);
  opacity: 0; transition: opacity .5s;
}
.hero:hover::after { opacity: 1; }

/* ---------- Buttons : sheen + magnet ---------- */
.btn { position: relative; overflow: hidden; }
.btn::before {
  content: ''; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.25), transparent);
  transform: skewX(-18deg); transition: none;
}
.btn:hover::before { animation: btnSheen .7s ease 1; }
.btn.solid:hover::before { background: linear-gradient(100deg, transparent, rgba(245,184,0,.35), transparent); }
@keyframes btnSheen { from { left: -120%; } to { left: 130%; } }
.nav-cta { position: relative; overflow: hidden; }
.nav-cta::before {
  content: ''; position: absolute; top: 0; left: -120%; width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(245,184,0,.4), transparent); transform: skewX(-18deg);
}
.nav-cta:hover::before { animation: btnSheen .7s ease 1; }

/* ---------- Portfolio card : lift + corner brackets + emblem glow ---------- */
.p-card { transition: background .3s, transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s; }
.p-card::before, .p-card::after {
  content: ''; position: absolute; width: 16px; height: 16px; opacity: 0; transition: opacity .4s, transform .4s;
  pointer-events: none;
}
.p-card::before { top: 16px; right: 16px; border-top: 1.5px solid var(--gold); border-right: 1.5px solid var(--gold); transform: translate(-6px, 6px); }
.p-card::after { bottom: 16px; left: 16px; border-bottom: 1.5px solid var(--gold); border-left: 1.5px solid var(--gold); transform: translate(6px, -6px); }
.p-card:hover { transform: translateY(-6px); box-shadow: 0 26px 60px -32px rgba(10,37,64,.4); z-index: 2; }
.p-card:hover::before, .p-card:hover::after { opacity: 1; transform: none; }
.p-card .emblem { transition: transform .55s cubic-bezier(.16,1,.3,1), filter .55s; position: relative; }
.p-card:hover .emblem { transform: scale(1.06) rotate(-2deg); filter: drop-shadow(0 8px 16px rgba(245,184,0,.35)); }
.p-card h3 a { background-image: linear-gradient(var(--gold), var(--gold)); background-size: 0% 1.5px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .4s; padding-bottom: 2px; }
.p-card:hover h3 a { background-size: 100% 1.5px; }

/* service tiles + sisters micro-lift */
.svc { transition: background .3s, transform .4s cubic-bezier(.16,1,.3,1); position: relative; }
.svc:hover { background: var(--paper-2); transform: translateY(-3px); }
.svc .s-num { display: inline-block; transition: transform .4s, color .3s; }
.svc:hover .s-num { transform: translateX(3px); color: var(--gold); }
.sister { transition: background .3s, transform .4s cubic-bezier(.16,1,.3,1); }
.sister:hover { transform: translateY(-3px); }
.sister .sn { transition: color .3s; }
.sister:hover .sn { color: var(--blue); }

/* territory tile hover : light up its coordinates */
.terr { transition: background .3s, transform .35s; }
.terr:hover { background: var(--paper-2); transform: translateY(-2px); }
.terr:hover .t-name { color: var(--gold-deep); }
.terr .t-name { transition: color .3s; }

/* stat number emphasis on reveal */
.stat .n { transition: color .4s; }
.stat.counting .n { color: var(--ink); }

/* kicker line grows on reveal */
.reveal.in .kicker::before { animation: lineGrow .7s cubic-bezier(.16,1,.3,1) both; }
.reveal.in .kicker.center::after { animation: lineGrow .7s cubic-bezier(.16,1,.3,1) both; }
@keyframes lineGrow { from { width: 0; opacity: 0; } to { opacity: 1; } }

/* ---------- Real brand marque (home) ---------- */
.marque { margin-top: clamp(44px, 5vw, 68px); border: 1px solid var(--line); background: var(--line); display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; }
.marque a {
  background: var(--paper); padding: clamp(30px, 3vw, 46px) 24px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; gap: 20px; position: relative;
  transition: background .3s, transform .45s cubic-bezier(.16,1,.3,1);
}
.marque a:hover { background: var(--paper-2); }
.marque .logo { height: 66px; display: flex; align-items: center; justify-content: center; }
.marque .logo img { max-height: 100%; max-width: 190px; object-fit: contain; transition: transform .45s cubic-bezier(.16,1,.3,1), filter .45s; filter: saturate(.35) contrast(.9) opacity(.72); }
.marque a:hover .logo img { transform: scale(1.05); filter: none; }
.marque .cap { font-family: var(--label); font-size: 9.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-55); display: flex; align-items: center; gap: 8px; }
.marque .cap::before { content: ''; width: 4px; height: 4px; background: var(--gold); transform: rotate(45deg); }
.marque.in a { animation: rise .8s cubic-bezier(.16,1,.3,1) both; }
.marque.in a:nth-child(2){animation-delay:.08s}.marque.in a:nth-child(3){animation-delay:.16s}.marque.in a:nth-child(4){animation-delay:.24s}
@media (max-width: 860px) { .marque { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .marque { grid-template-columns: 1fr; } }

/* ---------- Real logo letterhead (company pages) ---------- */
.brandmark {
  display: inline-flex; align-items: center; gap: 0; border: 1px solid var(--line); background: var(--paper);
  padding: 14px 22px; margin-bottom: 26px; box-shadow: 0 18px 40px -34px rgba(10,37,64,.5);
}
.brandmark img { height: 44px; max-width: 230px; object-fit: contain; display: block; }
.brandmark.round img { height: 60px; }

/* ---------- Testimonials ---------- */
.quotes { margin-top: clamp(40px, 5vw, 60px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 34px); }
.quote { border-top: 1px solid var(--line); padding-top: 24px; position: relative; }
.quote .stars { display: flex; gap: 3px; margin-bottom: 14px; }
.quote .stars svg { width: 15px; height: 15px; }
.quote blockquote { font-family: var(--serif); font-size: clamp(18px, 1.7vw, 21px); font-weight: 500; font-style: italic; line-height: 1.42; color: var(--ink); }
.quote .by { margin-top: 16px; font-family: var(--label); font-size: 10.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-55); }
.quotes.in .quote { animation: rise .8s cubic-bezier(.16,1,.3,1) both; }
.quotes.in .quote:nth-child(2){animation-delay:.1s}.quotes.in .quote:nth-child(3){animation-delay:.2s}
@media (max-width: 820px) { .quotes { grid-template-columns: 1fr; } }
.rating-badge { display: inline-flex; align-items: center; gap: 14px; border: 1px solid var(--line); background: var(--paper); padding: 14px 22px; margin-top: 8px; }
.rating-badge .score { font-family: var(--serif); font-size: 34px; font-weight: 600; line-height: 1; }
.rating-badge .rb-stars { display: flex; gap: 2px; }
.rating-badge .rb-stars svg { width: 16px; height: 16px; }
.rating-badge .rb-meta { font-family: var(--label); font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-55); line-height: 1.5; }

/* ---------- Paper grain ---------- */
.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Section ornament divider (animated) ---------- */
.divider { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 6px 0; }
.divider .ln { height: 1px; width: min(160px, 22vw); background: var(--line); transform: scaleX(0); transform-origin: inherit; }
.divider .ln.l { transform-origin: right; }
.divider .ln.r { transform-origin: left; }
.divider.in .ln { animation: lnX .9s cubic-bezier(.16,1,.3,1) both; }
@keyframes lnX { to { transform: scaleX(1); } }
.divider .dot { width: 7px; height: 7px; background: var(--paper); border: 1.5px solid var(--gold-deep); transform: rotate(45deg); flex: none; }
.divider.in .dot { animation: dotPop .5s cubic-bezier(.34,1.56,.64,1) .3s both; }
@keyframes dotPop { from { transform: rotate(45deg) scale(0); } to { transform: rotate(45deg) scale(1); } }

@media (prefers-reduced-motion: reduce) {
  .reveal, .hero .display, .hero .copy > *:not(.display), .t-item { opacity: 1 !important; transform: none !important; transition: none; animation: none !important; }
  .reveal .plate-frame .inner > svg { clip-path: none !important; }
  .plate-frame::after, .btn::before, .nav-cta::before, .brightpath-rail { display: none !important; }
  .p-card:hover, .svc:hover, .sister:hover, .terr:hover { transform: none; }
  html { scroll-behavior: auto; }
  svg animate, svg animateTransform { display: none; }
}

/* ---------- Engraved plate wrapper ---------- */
.plate-frame { border: 1px solid var(--line); padding: clamp(12px, 1.6vw, 20px); background: var(--paper); }
.plate-frame .inner { border: 1px solid var(--line-soft); background: var(--paper); }
.plate-cap {
  margin-top: 14px; text-align: center; font-family: var(--label); font-size: 9.5px; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase; color: var(--ink-55);
}
