/* =========================================================
   TREC Advisory — website
   Built on colors_and_type.css. No new hues. Forest + fog + gold.
   ========================================================= */

/* ---- View Transitions (Chrome 126+, progressive enhancement) ---- */
@view-transition { navigation: auto; }

@keyframes _vt-out { to   { opacity: 0; transform: translateY(-5px); } }
@keyframes _vt-in  { from { opacity: 0; transform: translateY( 5px); } }
::view-transition-old(root) { animation: 150ms cubic-bezier(0.2,0,0,1) both _vt-out; }
::view-transition-new(root) { animation: 220ms cubic-bezier(0.2,0,0,1) both _vt-in;  }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body { background: var(--bg); color: var(--fg); font-family: var(--font-body); overflow-x: hidden; }
img { display: block; max-width: 100%; }
::selection { background: var(--trec-gold); color: var(--trec-ink); }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 40px; }

.eyebrow.gold { color: var(--accent); }
.rule { display: block; width: 56px; height: 3px; background: var(--accent); border: 0; margin: 0; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-2) var(--ease-standard), box-shadow var(--dur-2) var(--ease-standard), background var(--dur-2) var(--ease-standard);
}
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-1); }
.header-inner { display: flex; align-items: center; gap: 18px; height: 72px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; flex-shrink: 0; }
.brand img { height: 38px; width: auto; }
.brand .wm { display: flex; flex-direction: column; line-height: 1; }
.brand .wm-name { font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: 0.14em; color: var(--trec-forest); }
.brand .wm-sub { font-family: var(--font-display); font-weight: 500; font-size: 9px; letter-spacing: 0.30em; color: var(--accent-ink); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  position: relative;
  font-family: var(--font-display); font-weight: 500; font-size: 14px; letter-spacing: 0.01em;
  color: var(--trec-ink); text-decoration: none;
  padding: 8px 13px; border-radius: var(--r-2); white-space: nowrap;
  transition: color var(--dur-1) var(--ease-standard);
}
.nav a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-2) var(--ease-standard);
}
.nav a:hover { color: var(--trec-forest); }
.nav a.active { color: var(--trec-forest); }
.nav a.active::after { transform: scaleX(1); }

.header-cta {
  flex-shrink: 0; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--trec-forest); color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: 0.02em;
  padding: 11px 18px; border-radius: var(--r-2); text-decoration: none;
  border: 1px solid var(--trec-forest);
  transition: background var(--dur-2) var(--ease-standard), transform var(--dur-1) var(--ease-standard);
}
.header-cta:hover { background: #15302b; color: #fff; transform: translateY(-1px); }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle img { width: 26px; height: 26px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 24px; border-radius: var(--r-2);
  font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: 0.02em;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: all var(--dur-2) var(--ease-standard);
}
.btn img { width: 17px; height: 17px; }
.btn-primary { background: var(--accent); color: var(--trec-ink); border-color: var(--accent); }
.btn-primary img { filter: brightness(0); }
.btn-primary:hover { background: #c4a02f; border-color: #c4a02f; transform: translateY(-1px); box-shadow: var(--shadow-2); }
.btn-forest { background: var(--trec-forest); color: #fff; border-color: var(--trec-forest); }
.btn-forest img { filter: brightness(0) invert(1); }
.btn-forest:hover { background: #15302b; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--trec-forest); border-color: var(--border-strong); }
.btn-ghost img { filter: none; }
.btn-ghost:hover { border-color: var(--trec-forest); background: #fff; }
.btn-ghost-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,0.34); }
.btn-ghost-dark img { filter: brightness(0) invert(1); }
.btn-ghost-dark:hover { border-color: #fff; }

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
section { padding: 120px 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head .eyebrow { color: var(--fg-muted); display: block; margin-bottom: 18px; }
.section-head h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; letter-spacing: -0.01em; margin: 0;
}
.section-head h2 .accent { color: var(--accent); }
.section-head .rule { margin: 22px 0 24px; }
.section-head p { font-size: 18px; line-height: 1.6; color: var(--fg-muted); margin: 0; max-width: 620px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease-standard), transform 0.7s var(--ease-standard); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   HERO / HOME
   ============================================================ */
.hero { padding: 148px 0 96px; background: var(--bg); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 600; font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--trec-teal);
}
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(38px, 4.6vw, 60px); line-height: 1.06; letter-spacing: -0.022em;
  color: var(--trec-ink); margin: 24px 0 0;
}
.hero h1 .accent { color: var(--trec-forest); position: relative; }
.hero h1 .accent::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 10px; background: rgba(212,175,55,0.28); z-index: -1; }
.hero .lede { font-size: 19px; line-height: 1.6; color: var(--fg-muted); max-width: 540px; margin: 26px 0 0; }
.hero-pillars {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px;
  font-family: var(--font-display); font-weight: 500; font-size: 13px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--trec-forest);
}
.hero-pillars .pipe { color: var(--accent); font-weight: 400; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* Portrait composition */
.portrait-stage { position: relative; width: 100%; max-width: 460px; margin-left: auto; }
.portrait-stage::before {
  content: ""; position: absolute; inset: 28px -28px -28px 28px;
  background: var(--trec-forest); border-radius: var(--r-4); z-index: 0;
}
.portrait-stage::after {
  content: ""; position: absolute; right: 4px; bottom: -10px; width: 62%; height: 62%;
  background: url('assets/logos/logo-white.png') no-repeat center / contain;
  opacity: 0.07; z-index: 0; pointer-events: none;
}
.portrait-frame {
  position: relative; z-index: 1;
  border-radius: var(--r-4); overflow: hidden;
  box-shadow: var(--shadow-3);
  aspect-ratio: 4 / 5; width: 100%;
  background: #d7dadd;
}
.portrait-frame image-slot { width: 100%; height: 100%; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; display: block; }
.name-plate {
  position: absolute; z-index: 2; left: -22px; bottom: 26px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-3);
  box-shadow: var(--shadow-2); padding: 16px 20px; display: flex; align-items: center; gap: 14px;
  max-width: 320px;
}
.name-plate .np-bar { width: 3px; align-self: stretch; background: var(--accent); border-radius: 2px; }
.name-plate .np-text { display: flex; flex-direction: column; }
.name-plate .np-name { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--trec-ink); line-height: 1.1; }
.name-plate .np-role { font-family: var(--font-body); font-size: 11.5px; letter-spacing: 0.05em; color: var(--fg-muted); margin-top: 5px; text-transform: uppercase; }
.name-plate .np-link { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; background: var(--trec-forest); display: flex; align-items: center; justify-content: center; flex: 0 0 34px; transition: background var(--dur-2) var(--ease-standard); }
.name-plate .np-link:hover { background: var(--accent); }
.name-plate .np-link svg { width: 17px; height: 17px; fill: #fff; }
.name-plate .np-link:hover svg { fill: var(--trec-ink); }

/* trust strip below hero */
.trust { border-top: 1px solid var(--border); margin-top: 84px; padding-top: 30px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.trust .label { font-family: var(--font-display); font-weight: 600; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-muted); }
.trust .items { display: flex; flex-wrap: wrap; gap: 10px 26px; font-family: var(--font-display); font-weight: 500; font-size: 13px; letter-spacing: 0.04em; color: var(--trec-forest); }
.trust .items span { position: relative; }
.trust .items span:not(:last-child)::after { content: "·"; color: var(--accent); margin-left: 26px; position: absolute; }

/* ============================================================
   PAGE HERO (interior pages, e.g. AI)
   ============================================================ */
.page-hero { padding: 148px 0 96px; background: var(--bg); }
.page-hero .hero-copy { max-width: 760px; }
.page-hero h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(38px, 4.6vw, 60px); line-height: 1.06; letter-spacing: -0.022em;
  color: var(--trec-ink); margin: 24px 0 0;
}
.page-hero h1 .accent { color: var(--trec-forest); position: relative; }
.page-hero h1 .accent::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 10px; background: rgba(212,175,55,0.28); z-index: -1; }
.page-hero .lede { font-size: 19px; line-height: 1.6; color: var(--fg-muted); max-width: 640px; margin: 26px 0 0; }

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--bg); }
.about-top { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
.about-statement { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.18; letter-spacing: -0.01em; color: var(--trec-ink); margin: 0; }
.about-statement .accent { color: var(--accent); }
.about-body p { font-size: 17px; line-height: 1.7; color: var(--fg-muted); margin: 0 0 18px; }
.about-body p:last-child { margin-bottom: 0; }
.about-body strong { color: var(--trec-ink); font-weight: 700; }

.quote-card {
  margin-top: 72px; background: var(--trec-forest); color: #fff;
  border-radius: var(--r-4); padding: 56px 64px; position: relative; overflow: hidden;
}
.quote-card::after {
  content: ""; position: absolute; top: -60px; right: -50px; width: 320px; height: 320px;
  background: url('assets/logos/logo-white.png') no-repeat center / contain; opacity: 0.06;
}
.quote-card .qmark { font-family: var(--font-display); font-size: 64px; color: var(--accent); line-height: 0.4; }
.quote-card blockquote { margin: 18px 0 0; font-family: var(--font-body); font-weight: 300; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.4; color: #fff; max-width: 900px; }
.quote-card .attr { margin-top: 30px; display: flex; align-items: center; gap: 14px; }
.quote-card .attr .l { width: 32px; height: 2px; background: var(--accent); }
.quote-card .attr .who { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: #fff; }
.quote-card .attr .who span { display: block; font-weight: 400; font-size: 12px; letter-spacing: 0.04em; color: var(--fg-on-dark-muted); margin-top: 2px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 64px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stat { padding: 30px 28px 30px 0; border-right: 1px solid var(--border); }
.stat:last-child { border-right: 0; }
.stat .v { font-family: var(--font-display); font-weight: 600; font-size: 42px; line-height: 1; color: var(--trec-ink); letter-spacing: -0.02em; }
.stat .v .u { color: var(--accent); }
.stat .k { font-family: var(--font-body); font-size: 14px; line-height: 1.45; color: var(--fg-muted); margin-top: 12px; }

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--trec-fog); }
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.svc-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-4);
  padding: 38px 38px 34px; position: relative;
  transition: box-shadow var(--dur-3) var(--ease-standard), transform var(--dur-3) var(--ease-standard), border-color var(--dur-3) var(--ease-standard);
}
.svc-card:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); border-color: var(--trec-teal); }
.svc-head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.svc-num { font-family: var(--font-display); font-weight: 600; font-size: 40px; line-height: 0.9; color: var(--accent); letter-spacing: -0.02em; }
.svc-titles { display: flex; align-items: center; gap: 14px; }
.svc-ico { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--trec-forest); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background var(--dur-2) var(--ease-standard); }
.svc-ico img { width: 22px; height: 22px; }
.svc-card:hover .svc-ico { background: var(--trec-forest); }
.svc-card:hover .svc-ico img { filter: brightness(0) invert(1); }
.svc-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 21px; color: var(--trec-ink); margin: 0; line-height: 1.2; }
.svc-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.svc-card li { display: flex; gap: 12px; font-size: 15px; line-height: 1.5; color: var(--fg-muted); }
.svc-card li::before { content: ""; flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--trec-teal); margin-top: 8px; }

.svc-foot { margin-top: 44px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 24px 32px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-3); }
.svc-foot .lbl { font-family: var(--font-display); font-weight: 600; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-muted); flex: 0 0 auto; }
.svc-foot .vals { font-family: var(--font-display); font-weight: 500; font-size: 14px; letter-spacing: 0.02em; color: var(--trec-forest); }
.svc-foot .vals .sep { color: var(--accent); margin: 0 8px; }

/* ============================================================
   SELECTED SITUATIONS
   ============================================================ */
.situations { background: var(--bg); }
.sit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--border); border-radius: var(--r-4); overflow: hidden; }
.sit-card { padding: 40px 40px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); transition: background var(--dur-2) var(--ease-standard); position: relative; }
.sit-grid .sit-card:nth-child(2n) { border-right: 0; }
.sit-grid .sit-card:nth-last-child(-n+2) { border-bottom: 0; }
.sit-card:hover { background: var(--trec-paper-2); }
.sit-card .sit-tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--trec-teal); margin-bottom: 18px; }
.sit-card .sit-tag .d { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.sit-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 24px; color: var(--trec-ink); margin: 0; line-height: 1.15; }
.sit-card .role { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--trec-forest); margin: 8px 0 16px; letter-spacing: 0.01em; }
.sit-card p { font-size: 15px; line-height: 1.6; color: var(--fg-muted); margin: 0; }

.capabilities { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cap-block { background: var(--trec-fog); border-radius: var(--r-3); padding: 30px 34px; }
.cap-block .lbl { font-family: var(--font-display); font-weight: 600; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 16px; }
.cap-block .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cap-block .chip { font-family: var(--font-body); font-size: 13.5px; color: var(--trec-ink); background: #fff; border: 1px solid var(--border); border-radius: var(--r-pill); padding: 7px 14px; line-height: 1; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--trec-forest); color: #fff; padding: 110px 0; overflow: hidden; position: relative; }
.contact::after { content: ""; position: absolute; top: -120px; left: -120px; width: 460px; height: 460px; background: url('assets/logos/logo-white.png') no-repeat center / contain; opacity: 0.05; pointer-events: none; }
.contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 72px; align-items: center; position: relative; z-index: 1; }
.contact .eyebrow { color: var(--accent); display: block; margin-bottom: 18px; }
.contact h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 3.8vw, 46px); line-height: 1.1; letter-spacing: -0.01em; color: #fff; margin: 0; }
.contact .rule { margin: 22px 0 24px; }
.contact .lede { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,0.84); max-width: 460px; margin: 0; }
.contact-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }

.contact-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.13); border-radius: var(--r-4); padding: 40px 44px; }
.contact-card .ce { font-family: var(--font-display); font-weight: 600; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 24px; }
.contact-row { display: flex; align-items: flex-start; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,0.1); }
.contact-row:first-of-type { border-top: 0; padding-top: 0; }
.contact-row .ico { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; }
.contact-row .ico img { width: 19px; height: 19px; filter: invert(72%) sepia(36%) saturate(630%) hue-rotate(8deg) brightness(94%) contrast(86%); }
.contact-row .ct-k { font-family: var(--font-display); font-weight: 500; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-on-dark-muted); }
.contact-row .ct-v { font-size: 16px; color: #fff; text-decoration: none; margin-top: 3px; display: inline-block; transition: color var(--dur-1) var(--ease-standard); }
.contact-row a.ct-v:hover { color: var(--accent); }

/* ============================================================
   FOOTER
   ============================================================ */
footer.foot { background: var(--trec-ink); color: rgba(255,255,255,0.62); padding: 44px 0; }
.foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand img { height: 30px; }
.foot-brand .ft { font-family: var(--font-display); font-weight: 500; font-size: 13px; letter-spacing: 0.04em; color: rgba(255,255,255,0.8); }
.foot-links { display: flex; gap: 26px; font-family: var(--font-display); font-weight: 500; font-size: 13px; }
.foot-links a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color var(--dur-1) var(--ease-standard); }
.foot-links a:hover { color: var(--accent); }

/* ============================================================
   PRINCIPLES (AI page) - three boxes side by side
   ============================================================ */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.principle {
  display: flex; flex-direction: column; gap: 8px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-4);
  padding: 26px 24px;
}
.principle::before { content: ""; display: block; width: 26px; height: 3px; background: var(--accent); border-radius: 2px; }
.p-lead { font-family: var(--font-display); font-weight: 600; font-size: 16px; line-height: 1.35; color: var(--trec-ink); }
.p-rest { font-family: var(--font-body); font-size: 14.5px; line-height: 1.55; color: var(--fg-muted); }

/* ============================================================
   CTA BAND (AI page)
   ============================================================ */
.cta-band {
  margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: var(--trec-fog); border-radius: var(--r-4); padding: 36px 44px;
}
.cta-band .cb-txt { font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.3; color: var(--trec-ink); max-width: 560px; }

/* ============================================================
   AI PAGE - tighter vertical rhythm (denser text-only sections)
   ============================================================ */
.ai-page section { padding: 76px 0; }
.ai-page .page-hero { padding: 140px 0 56px; }
.ai-page .section-head { margin-bottom: 36px; }
.ai-page .about-top { gap: 44px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .portrait-stage { margin: 0 auto; }
  .about-top { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 860px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .wrap { padding: 0 24px; }
  section { padding: 84px 0; }
  .hero { padding: 120px 0 72px; }
  .page-hero { padding: 120px 0 72px; }
  .cta-band { padding: 28px 28px; }
  .svc-grid { grid-template-columns: 1fr; }
  .sit-grid { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .sit-grid .sit-card { border-right: 0; }
  .sit-grid .sit-card:nth-last-child(2) { border-bottom: 1px solid var(--border); }
  .capabilities { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--border); }
  .quote-card { padding: 40px 32px; }

  /* mobile menu */
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-2); padding: 8px 24px 16px;
  }
  .nav.open a { padding: 14px 4px; border-bottom: 1px solid var(--border); }
  .nav.open a::after { display: none; }
  .nav.open a:last-child { border-bottom: 0; }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--border); padding: 22px 0; }
  .stat:last-child { border-bottom: 0; }
  .name-plate { left: 0; right: 0; max-width: none; }
  .hero h1 { font-size: 34px; }
  .svc-card, .sit-card { padding: 30px 26px; }
}
