/* ── Brian Carlson × LGMS brand palette ──────────────────────────────────── */
:root {
  --app-bg:           #f5f7fa;   /* cool off-white */
  --app-surface:      #ffffff;
  --app-surface-2:    #e8edf4;   /* soft navy tint */
  --app-border:       #d3dae3;
  --app-border-2:     #9ca5b0;
  --app-text:         #0f172a;   /* slate-900 */
  --app-text-2:       #1e293b;   /* slate-800 */
  --app-text-3:       #334155;   /* slate-700 */
  --app-text-4:       #475569;   /* slate-600 */
  --app-text-5:       #64748b;   /* slate-500 */

  --app-accent:       #1e3a5c;   /* LGMS navy */
  --app-accent-hover: #142a46;
  --app-accent-soft:  #e8edf4;

  --app-gray:         #7a8088;   /* LGMS secondary gray */

  --app-success:      #1e3a5c;
  --app-warning:      #a16207;
  --app-danger:       #b91c1c;

  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(15,23,42,.05);
  --shadow:    0 4px 12px rgba(15,23,42,.06);
  --shadow-lg: 0 12px 32px rgba(15,23,42,.08);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font);
  background: var(--app-bg);
  color: var(--app-text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--app-accent); text-decoration: none; }
a:hover { color: var(--app-accent-hover); }

h1, h2, h3, h4 { color: var(--app-text); line-height: 1.2; margin: 0 0 .5rem; }
h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); letter-spacing: -0.02em; font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -0.015em; font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
h4 { font-size: 0.95rem; font-weight: 600; }

p  { color: var(--app-text-3); margin: 0 0 1rem; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; }
.muted     { color: var(--app-text-5); font-size: .9rem; }
.eyebrow   {
  display: inline-block;
  color: var(--app-accent);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .75rem 1.25rem;
  font-family: inherit; font-size: .95rem; font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .15s ease;
  text-decoration: none;
}
.btn-sm { padding: .5rem 1rem; font-size: .875rem; }
.btn-primary {
  background: var(--app-accent);
  color: white;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--app-accent-hover); color: white; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost {
  background: transparent;
  color: var(--app-text-2);
  border-color: var(--app-border);
}
.btn-ghost:hover { border-color: var(--app-accent); color: var(--app-accent); }

/* ── Header ────────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,0.9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--app-border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: .9rem 1.25rem; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .75rem; color: var(--app-text); font-weight: 700; }
.brand-mark {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--app-accent);
}
.brand-mark svg,
.brand-mark img { width: 100%; height: 100%; display: block; object-fit: contain; }
.brand-sub {
  display: inline-flex; flex-direction: column; line-height: 1.1;
}
.brand-sub .sub-mark { font-weight: 800; color: var(--app-accent); font-size: 1.5rem; letter-spacing: .12em; }
.brand-sub .sub-tag  { font-size: .7rem; color: var(--app-gray); letter-spacing: .1em; text-transform: uppercase; margin-top: .2rem; }
.site-nav { display: flex; gap: 1.5rem; align-items: center; }
.site-nav a { color: var(--app-text-3); font-weight: 500; font-size: .95rem; }
.site-nav a:hover { color: var(--app-accent); }
.site-nav a.nav-portal {
  padding: .35rem .75rem;
  border: 1px solid var(--app-border);
  border-radius: 999px;
  font-size: .85rem;
}
.site-nav a.nav-portal:hover { border-color: var(--app-accent); }

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.hero { padding: 4rem 0 3rem; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.hero-copy h1 { margin-bottom: 1.25rem; }
.lede { font-size: 1.1rem; color: var(--app-text-3); max-width: 58ch; margin-bottom: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Hero card */
.hero-card {
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-card .card-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--app-border);
  background: var(--app-surface-2);
  display: flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: .95rem;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--app-accent);
  box-shadow: 0 0 0 4px var(--app-accent-soft);
}
.hero-card .card-body { padding: 1.25rem; }
.stat-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .65rem 0;
  border-bottom: 1px dashed var(--app-border);
}
.stat-row:last-of-type { border-bottom: none; }
.stat-row span { color: var(--app-text-4); font-size: .9rem; }
.stat-row strong { color: var(--app-text); font-weight: 600; }

.bar {
  width: 100%; height: 8px;
  background: var(--app-surface-2);
  border-radius: 99px;
  overflow: hidden;
  margin: 1rem 0 .5rem;
}
.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--app-accent), #4a6b95);
  border-radius: 99px;
  transition: width .4s ease;
}

/* ── Hero rotator ──────────────────────────────────────────────────────────── */
.hero-rotator { width: 100%; }
.rotator-frame {
  position: relative;
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  min-height: 340px;
}
.rotator-slide {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s ease, transform .5s ease;
  pointer-events: none;
}
.rotator-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.rotator-media {
  height: 170px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--app-accent) 0%, #4a6b95 100%);
  color: #fff;
}
.rotator-icon {
  font-size: 4.5rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.25));
}
.rotator-body {
  padding: 1.5rem 1.75rem 1.75rem;
  flex: 1;
  display: flex; flex-direction: column;
}
.rotator-body h3 {
  font-size: 1.25rem;
  margin-bottom: .6rem;
}
.rotator-body p {
  color: var(--app-text-4);
  margin: 0;
  font-size: .95rem;
  line-height: 1.55;
}
.rotator-dots {
  display: flex; justify-content: center; gap: .5rem;
  margin-top: 1rem;
}
.rotator-dot {
  width: 8px; height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--app-border-2);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.rotator-dot:hover { transform: scale(1.2); }
.rotator-dot.active {
  background: var(--app-accent);
  width: 24px; border-radius: 99px;
}

/* ── Sections ──────────────────────────────────────────────────────────────── */
.section { padding: 5rem 0; }
.section-alt { background: var(--app-surface); border-top: 1px solid var(--app-border); border-bottom: 1px solid var(--app-border); }
.section-head { max-width: 680px; margin: 0 auto 2.5rem; text-align: center; }

.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.service-card {
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover {
  border-color: var(--app-accent);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.service-card .icon {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--app-accent-soft);
  border-radius: 12px;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.service-card h3 { margin-bottom: .5rem; }
.service-card p  { color: var(--app-text-4); font-size: .95rem; margin: 0 0 .85rem; }
.service-sub {
  list-style: none; padding: 0; margin: .5rem 0 0;
  border-top: 1px solid var(--app-border);
  padding-top: .85rem;
}
.service-sub li {
  font-size: .88rem; color: var(--app-text-4);
  line-height: 1.5; padding: .4rem 0;
  border-bottom: 1px dashed var(--app-border);
}
.service-sub li:last-child { border-bottom: none; }
.service-sub strong { color: var(--app-text-2); font-weight: 600; }

/* ── Case study ───────────────────────────────────────────────────────────── */
.case-study-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: start;
}
.case-study-outcomes {
  list-style: none; padding: 0; margin: 1.25rem 0;
}
.case-study-outcomes li {
  position: relative;
  padding: .65rem 0 .65rem 1.75rem;
  border-bottom: 1px dashed var(--app-border);
  color: var(--app-text-3);
  font-size: .95rem;
}
.case-study-outcomes li::before {
  content: "✓";
  position: absolute; left: 0; top: .6rem;
  color: var(--app-accent); font-weight: 700;
}
.case-study-outcomes li:last-child { border-bottom: none; }
.case-study-outcomes strong { color: var(--app-text); font-weight: 600; }

.case-study-sidebar {
  background: var(--app-bg);
  border: 1px solid var(--app-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
}
.case-study-sidebar h4 {
  font-size: .78rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--app-accent);
  margin-bottom: 1rem;
}
.case-study-sidebar dl { margin: 0; }
.case-study-sidebar dt {
  font-size: .72rem; letter-spacing: .05em;
  text-transform: uppercase; color: var(--app-text-5);
  font-weight: 600; margin-top: .85rem;
}
.case-study-sidebar dt:first-child { margin-top: 0; }
.case-study-sidebar dd {
  margin: .15rem 0 0; color: var(--app-text-2);
  font-size: .95rem; font-weight: 500;
}

/* ── Tools ─────────────────────────────────────────────────────────────────── */
.tabs {
  display: flex; flex-wrap: wrap; gap: .5rem;
  justify-content: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--app-border);
}
.tab {
  padding: .6rem 1.1rem;
  border-radius: 99px;
  border: 1px solid var(--app-border);
  background: var(--app-bg);
  color: var(--app-text-3);
  font-family: inherit; font-size: .9rem; font-weight: 500;
  cursor: pointer;
  transition: all .15s ease;
}
.tab:hover { border-color: var(--app-accent); color: var(--app-accent); }
.tab.active {
  background: var(--app-accent);
  color: white;
  border-color: var(--app-accent);
}

.tool-panel { display: none; }
.tool-panel.active { display: block; animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

.tool-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  background: var(--app-bg);
  border: 1px solid var(--app-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.tool-inputs h3 { margin-bottom: .25rem; }
.tool-inputs label {
  display: block;
  margin-top: 1rem;
  color: var(--app-text-4);
  font-size: .85rem;
  font-weight: 500;
}
.tool-inputs input,
.tool-inputs select {
  display: block;
  width: 100%;
  margin-top: .35rem;
  padding: .65rem .85rem;
  border: 1px solid var(--app-border);
  border-radius: var(--radius);
  background: var(--app-surface);
  color: var(--app-text);
  font-family: inherit; font-size: 1rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.tool-inputs input:focus,
.tool-inputs select:focus {
  outline: none;
  border-color: var(--app-accent);
  box-shadow: 0 0 0 3px var(--app-accent-soft);
}

.tool-output {
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.output-stat {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: .85rem 0;
  border-bottom: 1px solid var(--app-border);
}
.output-stat:last-of-type { border-bottom: none; margin-bottom: .5rem; }
.output-stat span { color: var(--app-text-4); font-size: .9rem; }
.output-stat strong {
  color: var(--app-accent);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.advisor-note {
  margin-top: 1rem;
  padding: .85rem 1rem;
  background: var(--app-accent-soft);
  border-left: 3px solid var(--app-accent);
  border-radius: var(--radius-sm);
  color: var(--app-text-2);
  font-size: .9rem;
}

.breakdown {
  display: flex;
  height: 14px;
  margin: 1rem 0 .5rem;
  border-radius: 99px;
  overflow: hidden;
  background: var(--app-surface-2);
}
.breakdown > div {
  height: 100%;
  transition: flex .3s ease;
}

.chart {
  display: flex; align-items: flex-end;
  gap: 4px;
  height: 110px;
  margin: 1.25rem 0 .5rem;
  padding: .5rem;
  background: var(--app-surface-2);
  border-radius: var(--radius-sm);
}
.chart .bar-col {
  flex: 1;
  background: var(--app-accent);
  border-radius: 4px 4px 0 0;
  transition: height .25s ease;
  opacity: .85;
}
.chart .bar-col:hover { opacity: 1; }

/* ── Steps ─────────────────────────────────────────────────────────────────── */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  list-style: none; padding: 0; margin: 0;
}
.steps li {
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
}
.step-num {
  display: inline-block;
  color: var(--app-accent);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .1em;
  margin-bottom: .75rem;
}
.steps h3 { margin-bottom: .35rem; }
.steps p { color: var(--app-text-4); font-size: .92rem; margin: 0; }

/* ── About ─────────────────────────────────────────────────────────────────── */
.about-grid {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center;
}
.credentials { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.chip {
  display: inline-block;
  padding: .35rem .75rem;
  background: var(--app-accent-soft);
  color: var(--app-accent-hover);
  border-radius: 99px;
  font-size: .82rem;
  font-weight: 600;
}
.quote {
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  border-left: 4px solid var(--app-accent);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 0;
}
.quote p { font-size: 1.15rem; color: var(--app-text-2); font-style: italic; line-height: 1.5; }
.quote footer { color: var(--app-text-5); font-size: .9rem; }

/* ── Contact ───────────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.contact-list li { padding: .5rem 0; color: var(--app-text-3); }
.contact-list strong { color: var(--app-text); margin-right: .4rem; }

.contact-form {
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.contact-form label {
  display: block;
  margin-bottom: 1rem;
  color: var(--app-text-4);
  font-size: .85rem;
  font-weight: 500;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: .35rem;
  padding: .7rem .9rem;
  border: 1px solid var(--app-border);
  border-radius: var(--radius);
  background: var(--app-bg);
  color: var(--app-text);
  font-family: inherit; font-size: 1rem;
  resize: vertical;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--app-accent);
  box-shadow: 0 0 0 3px var(--app-accent-soft);
}

/* ── Footer ────────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--app-surface);
  border-top: 1px solid var(--app-border);
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
}
.footer-inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 3rem; margin-bottom: 2rem; }
.footer-inner > div:first-child { display: flex; flex-direction: column; gap: .75rem; align-items: flex-start; }
.footer-logo { width: 260px; max-width: 100%; height: auto; display: block; color: var(--app-accent); }
.footer-logo-gray { color: var(--app-gray); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-cols h4 { margin-bottom: .75rem; color: var(--app-text-2); }
.footer-cols a { display: block; padding: .25rem 0; color: var(--app-text-4); font-size: .9rem; }
.footer-cols a:hover { color: var(--app-accent); }
.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--app-border);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem;
}

/* ── Splash (index.html) ───────────────────────────────────────────────────── */
.splash-body { background: var(--app-bg); }

.splash {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 1.75rem clamp(1.25rem, 4vw, 3rem);
  gap: 2rem;
}

.splash-top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 1.5rem;
}
.splash-signin {
  color: var(--app-text-5);
  font-size: .85rem;
  letter-spacing: .04em;
  padding: .35rem .75rem;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: color .15s ease, border-color .15s ease;
}
.splash-signin:hover {
  color: var(--app-accent);
  border-color: var(--app-border);
}

.splash-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(2.5rem, 7vh, 5rem);
  text-align: center;
}

.splash-mark {
  display: flex;
  align-items: center;
  justify-content: center;
}
.splash-landscape {
  display: block;
  width: clamp(208px, 27vw, 338px);
  height: auto;
  max-width: 100%;
}

.splash-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: clamp(.85rem, 2.2vw, 1.75rem);
  font-size: clamp(1.25rem, 2.6vw, 1.85rem);
  font-weight: 500;
  letter-spacing: .01em;
}
.splash-nav a {
  color: var(--app-text-2);
  padding: .35rem .15rem;
  border-bottom: 1px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.splash-nav a:hover {
  color: var(--app-accent);
  border-bottom-color: var(--app-accent);
}
.splash-nav-sep {
  color: var(--app-border-2);
  font-size: .75em;
  user-select: none;
}

.splash-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .65rem;
  font-size: .85rem;
  color: var(--app-text-5);
}
.splash-bottom a { color: var(--app-text-4); }
.splash-bottom a:hover { color: var(--app-accent); }
.splash-bottom-sep { color: var(--app-border-2); }

/* ── About page (centered intro + portrait) ────────────────────────────────── */
.about-intro {
  max-width: 780px;
  text-align: center;
}
.about-portrait {
  display: block;
  width: clamp(200px, 26vw, 260px);
  height: auto;
  margin: 0 auto 1.75rem;
}
.about-intro .eyebrow { display: inline-block; }
.about-intro h1 {
  margin: .5rem 0 1.5rem;
}
.about-intro p {
  text-align: left;
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
  color: var(--app-text-3);
}
.about-intro .credentials {
  justify-content: center;
  margin-top: 1.75rem;
}

/* ── Sub-page shell tweaks ─────────────────────────────────────────────────── */
.subpage-header .site-nav a[aria-current="page"] {
  color: var(--app-accent);
  font-weight: 600;
}
.subpage-footer { padding: 1.5rem 0; margin-top: 0; }
.subpage-footer .footer-bottom { padding-top: 0; border-top: none; }

.subpage-cta { text-align: center; margin: 2rem 0 0; }

/* ── Ridgeline (ridgeline.html) ────────────────────────────────────────────── */
.ridgeline-head { max-width: 760px; margin: 0 auto; text-align: center; }
.ridgeline-byline-portrait {
  display: block;
  width: clamp(120px, 14vw, 160px);
  height: auto;
  margin: 0 auto 1.25rem;
}

.ridgeline-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.ridgeline-item {
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.ridgeline-item:hover {
  border-color: var(--app-accent);
  box-shadow: var(--shadow-sm);
}
.ridgeline-item-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: .15rem;
}
.ridgeline-issue {
  color: var(--app-accent);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .08em;
}
.ridgeline-item h2 {
  font-size: 1.2rem;
  line-height: 1.35;
  margin: .35rem 0 .75rem;
  letter-spacing: -0.005em;
}
.ridgeline-title-btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: var(--app-text);
  text-align: left;
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.ridgeline-title-btn:hover {
  color: var(--app-accent);
  border-bottom-color: var(--app-accent);
}
.ridgeline-item .lede {
  font-size: .95rem;
  margin: 0 0 1rem;
  max-width: none;
}
.ridgeline-item > p:last-child { margin-bottom: 0; }

/* ── Ridgeline brief modal ─────────────────────────────────────────────────── */
.brief-dialog {
  border: none;
  padding: 0;
  border-radius: var(--radius-lg);
  max-width: 720px;
  width: calc(100% - 2rem);
  max-height: 90vh;
  box-shadow: var(--shadow-lg);
  background: var(--app-surface);
  color: var(--app-text);
}
.brief-dialog::backdrop {
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(2px);
}
.brief {
  padding: 2.5rem 2.75rem 2rem;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.brief-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: 1px solid var(--app-border);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  color: var(--app-text-4);
  transition: color .15s ease, border-color .15s ease;
}
.brief-close:hover {
  border-color: var(--app-accent);
  color: var(--app-accent);
}
.brief-header {
  margin-bottom: 1.75rem;
  padding-right: 2.5rem;
  border-bottom: 1px solid var(--app-border);
  padding-bottom: 1rem;
}
.brief-header .ridgeline-issue {
  display: block;
  margin-bottom: .35rem;
}
.brief-header h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  margin: .15rem 0 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.brief-section {
  margin-bottom: 1.5rem;
}
.brief-section h3 {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .75rem;
  color: var(--app-accent);
  font-weight: 700;
  margin: 0 0 .65rem;
}
.brief-section p {
  color: var(--app-text-3);
  margin: 0 0 .65rem;
  line-height: 1.6;
}
.brief-section ul,
.brief-section ol {
  padding-left: 1.35rem;
  margin: 0;
}
.brief-section li {
  margin-bottom: .55rem;
  color: var(--app-text-3);
  line-height: 1.55;
}
.brief-section li > ol {
  margin-top: .55rem;
}
.brief-foot {
  font-style: italic;
  color: var(--app-text-5);
  text-align: right;
  font-size: .9rem;
  border-top: 1px solid var(--app-border);
  padding-top: 1rem;
  margin-top: 1.5rem;
}
@media (max-width: 560px) {
  .brief { padding: 2rem 1.5rem 1.5rem; }
}

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 920px) {
  .hero-inner,
  .about-grid,
  .contact-grid,
  .case-study-grid,
  .tool-grid { grid-template-columns: 1fr; gap: 2rem; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps  { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .site-nav { display: none; }
}
@media (max-width: 560px) {
  .grid-3 { grid-template-columns: 1fr; }
  .steps  { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 2rem; }
  .splash-nav { flex-direction: column; gap: .85rem; }
  .splash-nav-sep { display: none; }
}
