:root {
  --navy: #0b1f3a;
  --navy-deep: #071528;
  --ink: #16181d;
  --muted: #4a5563;
  --subtle: #6b7280;
  --line: #e6dfd4;
  --copper: #b08d57;
  --copper-deep: #8c6a38;
  --copper-soft: #f3ead8;
  --accent: #b08d57;
  --accent-hover: #8c6a38;
  --accent-soft: #f3ead8;
  --surface: #efe8dc;
  --bg: #f7f3ec;
  --white: #fffcf7;
  --radius: 1rem;
  --shadow: 0 1px 2px rgba(11, 31, 58, 0.05), 0 14px 32px rgba(11, 31, 58, 0.07);
  --header-h: 4.35rem;
  --max: 74rem;
  --focus: 2px solid #b08d57;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "Source Sans 3", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--muted);
  font-family: var(--sans);
  line-height: 1.65;
  font-size: 1.0625rem;
  overflow-x: clip;
}

::selection {
  background: var(--copper-soft);
  color: var(--navy);
}

img, picture, video {
  max-width: 100%;
  height: auto;
  display: block;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
  pointer-events: none;
}

a { color: var(--navy); text-decoration: none; }
a:hover {
  text-decoration: underline;
  text-decoration-color: var(--copper);
  text-underline-offset: 3px;
  color: var(--navy);
}

:focus-visible {
  outline: var(--focus);
  outline-offset: 3px;
}

.skip-to-main {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--navy);
  color: var(--white);
  border-radius: 0.5rem;
  font-weight: 600;
  transform: translateY(-150%);
}
.skip-to-main:focus { transform: translateY(0); color: var(--white); }

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

@media (min-width: 768px) {
  .wrap { width: min(var(--max), calc(100% - 3.5rem)); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 236, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(11, 31, 58, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  flex-shrink: 0;
}
.brand:hover { text-decoration: none; color: var(--navy); }

.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--copper);
}
.brand:hover .brand-mark { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--copper); }

.brand-text {
  display: none;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}
@media (min-width: 720px) and (max-width: 1023px) {
  .brand-text { display: inline; }
}
@media (min-width: 1240px) {
  .brand-text { display: inline; }
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.1rem;
}
@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
}

.nav-desktop a {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.4rem 0.72rem;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-desktop a:hover {
  color: var(--navy);
  background: var(--copper-soft);
  text-decoration: none;
}
.nav-desktop a[aria-current="page"] {
  color: var(--navy);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  text-decoration: none;
}

.header-cta {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  background: var(--navy);
  color: var(--white) !important;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  text-decoration: none !important;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.header-cta:hover { background: var(--navy-deep); transform: translateY(-1px); }
@media (min-width: 1024px) {
  .header-cta { display: inline-flex; }
  .page-contact .header-cta { display: none; }
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.75rem;
  min-height: 2.75rem;
  padding: 0 0.85rem;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  color: var(--navy);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  font-size: 0.875rem;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.menu-toggle:hover { border-color: var(--copper); background: var(--copper-soft); }
@media (min-width: 1024px) {
  .menu-toggle { display: none; }
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--white);
  padding: 0.5rem 0 1.1rem;
}
.mobile-nav.open {
  display: block;
  animation: drop-in 0.28s var(--ease);
}
.mobile-nav[hidden] { display: none !important; }
.mobile-nav a {
  display: block;
  padding: 0.85rem 0;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  min-height: 44px;
  border-bottom: 1px solid var(--line);
}
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav a[aria-current="page"] { color: var(--copper-deep); }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.75rem;
  font-family: var(--serif);
  font-weight: 600;
  text-wrap: balance;
}
h1 { font-size: clamp(2.15rem, 5vw, 3.65rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.15rem); letter-spacing: -0.03em; }
h3 { font-size: 1.2rem; font-family: var(--serif); }

.lede {
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 40rem;
}

.kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.65rem;
}
.kicker::before {
  content: "";
  display: inline-block;
  width: 1.15rem;
  height: 2px;
  background: var(--copper);
  margin-right: 0.5rem;
  vertical-align: middle;
  transform: translateY(-0.08em);
}

.focus-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}
.focus-pills li {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
}

.hero {
  position: relative;
  padding: 3.25rem 0 3rem;
  overflow: clip;
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto -10% -30% 40%;
  height: 70%;
  background: radial-gradient(closest-side, rgba(176, 141, 87, 0.18), transparent 72%);
  pointer-events: none;
}
@media (min-width: 1024px) {
  .hero { padding: 5rem 0 4rem; }
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1.3fr) minmax(240px, 0.7fr); gap: 4rem; }
}

.hero-role {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.1vw, 1.65rem);
  color: var(--navy);
  font-weight: 600;
  margin: 0.2rem 0 0.45rem;
}

.hero-place {
  font-size: 0.95rem;
  color: var(--subtle);
  font-weight: 600;
  margin: 0 0 1rem;
}

.hero-copy { max-width: 40rem; }
.hero-copy p { margin: 0 0 1rem; }
.hero-support { color: var(--subtle); }

.portrait-wrap {
  margin: 0;
  justify-self: center;
}
.portrait {
  position: relative;
  width: min(210px, 58vw);
  margin: 0 auto;
  border-radius: 1.35rem;
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow);
  aspect-ratio: 1;
}
.portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  pointer-events: none;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait-caption {
  margin: 0.85rem 0 0;
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--subtle);
  font-weight: 700;
}
@media (min-width: 900px) {
  .portrait-wrap { justify-self: end; }
  .portrait { width: min(300px, 100%); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 46px;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--navy);
  color: var(--white) !important;
  box-shadow: 0 8px 20px rgba(11, 31, 58, 0.16);
}
.btn-primary:hover { background: var(--navy-deep); }
.btn-secondary {
  background: var(--white);
  color: var(--ink) !important;
  border-color: var(--line);
}
.btn-secondary:hover { border-color: var(--copper); color: var(--navy) !important; }
.btn-ghost {
  background: transparent;
  color: var(--copper-deep) !important;
  padding-left: 0.2rem;
  padding-right: 0.2rem;
  min-height: auto;
  border-radius: 0;
}
.btn-ghost:hover { color: var(--navy) !important; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

.section { padding: 4rem 0; }
.section-alt { background: var(--surface); }
.section-navy {
  position: relative;
  background:
    radial-gradient(900px 280px at 8% -10%, rgba(176, 141, 87, 0.22), transparent 55%),
    radial-gradient(700px 240px at 90% 120%, rgba(176, 141, 87, 0.12), transparent 50%),
    var(--navy);
  color: #d7deea;
}
.section-navy h2,
.section-navy h3 { color: var(--white); }
.section-navy p { color: #c5d0e0; max-width: 36rem; margin: 0.35rem 0 0; }
.section-navy .btn-primary {
  background: var(--copper);
  color: var(--navy-deep) !important;
  box-shadow: none;
}
.section-navy .btn-primary:hover { background: #c4a46a; }
.section-navy .btn-ghost { color: #e8d5ae !important; }
.section-navy .btn-secondary { background: rgba(255, 255, 255, 0.08); color: var(--white) !important; border-color: rgba(255, 255, 255, 0.18); }
.section-navy .btn-secondary:hover { background: rgba(255, 255, 255, 0.14); }
.section-head { margin-bottom: 2.1rem; max-width: 42rem; }

.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
@media (min-width: 768px) {
  .metrics { grid-template-columns: repeat(4, 1fr); gap: 1.15rem; }
}
.metric {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1.25rem 1.05rem 1.15rem;
  min-height: 7.2rem;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.metric:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}
.metric-value {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.6vw, 2.05rem);
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.metric-label {
  margin-top: 0.45rem;
  font-size: 0.88rem;
  color: #e4d5b3;
  font-weight: 600;
}

.card-grid { display: grid; gap: 1.25rem; }
@media (min-width: 900px) {
  .card-grid.three { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
  .card-grid.two { grid-template-columns: repeat(2, 1fr); }
}

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.45rem 1.4rem 1.3rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--copper);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s var(--ease);
}
a.card:hover {
  text-decoration: none;
  border-color: #d8c49a;
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(11, 31, 58, 0.1);
}
a.card:hover::before { transform: scaleY(1); }
.card-index {
  display: block;
  font-family: var(--serif);
  font-size: 0.85rem;
  color: var(--copper-deep);
  letter-spacing: 0.08em;
  margin-bottom: 0.55rem;
}
.card h3 { margin-bottom: 0.45rem; }
.card p { margin: 0 0 0.75rem; color: var(--muted); }
.card-meta { font-size: 0.8rem; color: var(--subtle); margin-bottom: 0.55rem; font-weight: 600; }
.card-link {
  margin-top: auto;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--copper-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.card-link::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}
a.card:hover .card-link::after { transform: translateX(4px); }

.metric-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.5rem 0 0.95rem;
}
.chip {
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--copper-soft);
  color: var(--navy);
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
}
.chip-quiet {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--subtle);
  font-weight: 600;
}

.flow { display: grid; gap: 0.7rem; }
@media (min-width: 640px) {
  .flow.horizontal { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .flow.horizontal { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1200px) {
  .flow.horizontal { grid-template-columns: repeat(6, 1fr); gap: 0.6rem; }
}
.flow-step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 1rem 0.9rem;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.92rem;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.flow-step:hover { transform: translateY(-2px); border-color: #d8c49a; }
.flow-step span {
  display: block;
  font-family: var(--serif);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--copper-deep);
  margin-bottom: 0.4rem;
}

.career-flow { display: grid; gap: 0.65rem; }
@media (min-width: 768px) {
  .career-flow { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .career-flow { grid-template-columns: repeat(5, 1fr); }
}
.career-step {
  background: var(--white);
  border-top: 3px solid var(--navy);
  padding: 1rem 0.95rem 0.95rem;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.92rem;
  box-shadow: var(--shadow);
  border-radius: 0 0 0.85rem 0.85rem;
}
.career-step span {
  display: block;
  font-family: var(--serif);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--copper-deep);
  margin-bottom: 0.4rem;
}

.fluency-grid { display: grid; gap: 0.85rem; }
@media (min-width: 768px) {
  .fluency-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .fluency-grid { grid-template-columns: repeat(3, 1fr); }
}
.fluency-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
  background: var(--white);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.fluency-item:hover { transform: translateY(-2px); border-color: #d8c49a; }
.fluency-item strong { display: block; color: var(--ink); margin-bottom: 0.3rem; }
.fluency-item p { margin: 0; font-size: 0.92rem; }

.edu-list { display: grid; gap: 1rem; }
@media (min-width: 768px) {
  .edu-list.compact { grid-template-columns: 1fr 1fr; gap: 1.4rem 2rem; }
}
.edu-item { padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.edu-item:last-child { border-bottom: 0; padding-bottom: 0; }
@media (min-width: 768px) {
  .edu-list.compact .edu-item { border-bottom: 0; padding-bottom: 0; }
}
.edu-item strong { color: var(--ink); display: block; font-family: var(--serif); font-size: 1.05rem; }
.edu-meta { font-size: 0.9rem; color: var(--subtle); }

.timeline {
  position: relative;
}
@media (min-width: 800px) {
  .timeline::before {
    content: "";
    position: absolute;
    left: 8.15rem;
    top: 0.4rem;
    bottom: 0.4rem;
    width: 2px;
    background: linear-gradient(var(--copper), var(--line));
  }
}

.role {
  position: relative;
  padding: 0.85rem 0;
}
.role-body {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.15rem 1.1rem;
  box-shadow: var(--shadow);
}
@media (min-width: 800px) {
  .role {
    display: grid;
    grid-template-columns: 7.2rem minmax(0, 1fr);
    gap: 2rem;
    padding: 0.85rem 0 0.85rem 0.4rem;
  }
  .role-body { padding: 1.35rem 1.4rem 1.25rem; }
}
.role-when {
  font-family: var(--serif);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--copper-deep);
  margin: 0 0 0.65rem;
}
@media (min-width: 800px) {
  .role-when {
    margin: 1.2rem 0 0;
    text-align: right;
    line-height: 1.35;
  }
  .role-when::after {
    content: "";
    position: absolute;
    left: 7.85rem;
    top: 1.55rem;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 999px;
    background: var(--white);
    border: 2px solid var(--copper);
  }
}
.role-title { font-size: 1.28rem; margin-bottom: 0.3rem; }
.role-focus { color: var(--navy); font-weight: 600; margin-bottom: 0.35rem; }
.role-meta { font-size: 0.9rem; color: var(--subtle); margin-bottom: 0.75rem; }
.theme-line {
  margin: 0.85rem 0 0;
  font-size: 0.88rem;
  color: var(--subtle);
  max-width: 46rem;
  line-height: 1.55;
}
.metric-note { margin: 0.45rem 0 0; }
.role-cases {
  margin: 0.9rem 0 0;
  font-size: 0.9rem;
}

.case-hero { padding: 2.7rem 0 1.6rem; }
.case-framework { display: grid; gap: 0.9rem; }
.case-block {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem 1.1rem;
}
.case-block h2 {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper-deep);
  margin-bottom: 0.45rem;
}
.case-num {
  font-family: var(--serif);
  letter-spacing: 0.04em;
  color: var(--navy);
}
.case-block p, .case-block li { max-width: 46rem; }
.case-block ul { margin: 0.4rem 0 0; padding-left: 1.15rem; }

.form-grid { display: grid; gap: 1.75rem; }
@media (min-width: 900px) {
  .form-grid { grid-template-columns: 1.2fr 0.8fr; align-items: start; }
}
form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.25rem;
  box-shadow: var(--shadow);
}
form p { margin: 0 0 1rem; }
label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink); margin-bottom: 0.35rem; }
[hidden] { display: none !important; }
input, textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d7cfc3;
  border-radius: 0.65rem;
  padding: 0.65rem 0.8rem;
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--copper);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(176, 141, 87, 0.18);
}
textarea { min-height: 8.5rem; resize: vertical; }
.contact-panel {
  background: var(--navy);
  color: #c5d0e0;
  border-radius: var(--radius);
  padding: 1.45rem 1.35rem;
  box-shadow: var(--shadow);
}
.contact-panel h2 { color: var(--white); }
.contact-panel a { font-weight: 600; color: #e8d5ae; }
.contact-panel .note { color: #9aa8bd; }

.page-hero { padding: 3rem 0 1.1rem; }

.site-footer {
  background: var(--navy-deep);
  color: #94a3b8;
  padding: 2.75rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.site-footer h2,
.footer-name {
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links li { margin: 0.4rem 0; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  color: var(--subtle);
}
.breadcrumb a { color: var(--subtle); }
.breadcrumb a:hover { color: var(--copper-deep); }
.resume-line { margin-top: 1.15rem; }
.section-cta { margin-top: 1.6rem; }
.demo-kicker { margin: 1.4rem 0 0.45rem; }
.page-follow { padding-top: 0.35rem; }
.case-body { padding-top: 0; }
.site-footer a { color: #e8d5ae; }
.site-footer a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
  font-size: 0.85rem;
}

.note { font-size: 0.9rem; color: var(--subtle); }
.empty-state {
  margin-top: 1.25rem;
  background: var(--white);
  border: 1px dashed #d8c49a;
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem;
  max-width: 40rem;
}
.prose p { margin: 0 0 1rem; max-width: 42rem; }
.facts {
  display: grid;
  gap: 1rem;
  margin: 0;
  max-width: 46rem;
}
.fact {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
}
.fact dt {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 0.35rem;
}
.fact dd {
  margin: 0;
  max-width: 42rem;
}
.pullquote {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--navy);
  font-weight: 600;
  border-left: 3px solid var(--copper);
  padding: 0.25rem 0 0.25rem 1rem;
  margin: 1.6rem 0;
  max-width: 36rem;
}
.demo-links { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 0.35rem; }
.demo-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.demo-links a:hover {
  border-color: var(--copper);
  transform: translateY(-1px);
  text-decoration: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(7, 21, 40, 0.5);
  padding: 1rem;
}
.modal.open {
  display: flex;
  animation: fade-in 0.25s var(--ease);
}
.modal[hidden] { display: none !important; }
.modal-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem 1.45rem;
  max-width: 26rem;
  width: 100%;
  text-align: center;
  animation: rise-in 0.35s var(--ease);
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
@keyframes drop-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js-ready [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-ready [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn,
  .header-cta,
  .card,
  .metric,
  .flow-step,
  .fluency-item,
  .card-link::after,
  .mobile-nav.open,
  .modal,
  .modal-card {
    transition: none !important;
    animation: none !important;
  }
  a.card:hover,
  .btn:hover,
  .metric:hover,
  .header-cta:hover {
    transform: none;
  }
}

@media (max-width: 374px) {
  .metrics { grid-template-columns: 1fr; }
  .hero { padding-top: 2rem; }
  h1 { font-size: 1.85rem; }
}
