/* Russell Consulting LLC — shared styles */
:root {
  --navy: #1f4e79;
  --navy-dark: #163a5b;
  --navy-light: #2d6299;
  --accent: #c9a227;
  --ink: #1c2733;
  --slate: #4a5a6a;
  --line: #e3e8ee;
  --bg: #ffffff;
  --bg-alt: #f5f8fb;
  --bg-deep: #0f2233;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(15, 34, 51, 0.08);
  --shadow-lg: 0 18px 48px rgba(15, 34, 51, 0.14);
  --maxw: 1120px;
  --font: "Source Sans 3", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --serif: "Lora", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.2; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); margin: 0 0 .5rem; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin: 0 0 1rem; }
h3 { font-size: 1.25rem; margin: 0 0 .35rem; color: var(--ink); }

a { color: var(--navy-light); text-decoration: none; }
a:hover { text-decoration: underline; }

p { margin: 0 0 1rem; color: var(--slate); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }

.eyebrow {
  font-family: var(--font);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 .6rem;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: .7rem; font-family: var(--serif); font-weight: 600; color: var(--navy); font-size: 1.15rem; }
.brand:hover { text-decoration: none; }
.brand .mark {
  width: 38px; height: 38px; border-radius: 8px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: #fff; display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; font-size: 1.05rem;
  box-shadow: var(--shadow);
}
.brand small { display:block; font-family: var(--font); font-size:.7rem; letter-spacing:.12em; text-transform:uppercase; color:var(--slate); font-weight:600; }

.nav-links { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: .95rem; }
.nav-links a:hover, .nav-links a.active { color: var(--navy); text-decoration: none; }
.nav-links a.active { position: relative; }
.nav-links a.active::after { content:""; position:absolute; left:0; right:0; bottom:-6px; height:2px; background:var(--accent); }

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--navy); color: #fff; font-weight: 700;
  padding: .7rem 1.3rem; border-radius: 8px; font-size: .95rem;
  border: 2px solid var(--navy); transition: all .18s ease; cursor: pointer;
}
.btn:hover { background: var(--navy-dark); border-color: var(--navy-dark); text-decoration: none; color:#fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-gold { background: var(--accent); border-color: var(--accent); color: #1c1c1c; }
.btn-gold:hover { background: #b8941f; border-color: #b8941f; color: #1c1c1c; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--bg-deep) 0%, #163a5b 60%, var(--navy) 100%);
  color: #eaf1f8; position: relative; overflow: hidden;
}
.hero::before {
  content:""; position:absolute; inset:0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px; opacity:.5;
  mask-image: radial-gradient(circle at 75% 30%, #000, transparent 70%);
}
.hero .container { position: relative; z-index: 2; padding: 5.5rem 1.5rem 5rem; }

/* Photo hero: image bleeds in on the right, navy gradient keeps copy readable */
.hero-photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: url("russellconsult.png");
  background-size: cover; background-position: center right;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 28%, #000 78%);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 28%, #000 78%);
  opacity: .85;
}
.hero-photo {
  background: linear-gradient(105deg, #0f2233 0%, #133049 42%, rgba(19,48,73,.35) 72%, rgba(15,34,51,.15) 100%);
}
.hero h1 { color: #fff; max-width: 16ch; }
.hero .lede { font-size: 1.25rem; color: #c3d4e4; max-width: 56ch; margin-bottom: 2rem; }
.hero .eyebrow { color: var(--accent); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 2.5rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.15); }
.hero-stats .stat strong { display: block; font-family: var(--serif); font-size: 2rem; color: #fff; }
.hero-stats .stat span { color: #aebfce; font-size: .9rem; }

/* ---------- Sections ---------- */
section { padding: 4.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 60ch; margin-bottom: 2.5rem; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Cards */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .ico {
  width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(31,78,121,.1); color: var(--navy); margin-bottom: 1rem;
}
.card .ico svg { width: 24px; height: 24px; }

/* ---------- Timeline ---------- */
.timeline { position: relative; margin-left: 1rem; }
.timeline::before { content:""; position:absolute; left:0; top:8px; bottom:8px; width:2px; background:var(--line); }
.t-item { position: relative; padding: 0 0 2.2rem 2.2rem; }
.t-item::before {
  content:""; position:absolute; left:-7px; top:6px; width:16px; height:16px;
  border-radius:50%; background:#fff; border:3px solid var(--navy);
}
.t-item:last-child { padding-bottom: 0; }
.t-meta { font-size:.85rem; color:var(--accent); font-weight:700; letter-spacing:.05em; text-transform:uppercase; }
.t-item h3 { margin-top: .2rem; }
.t-item .org { color: var(--navy-light); font-weight:600; }
.t-item ul { margin: .8rem 0 0; padding-left: 1.1rem; color: var(--slate); }
.t-item li { margin-bottom: .4rem; }

/* Skill bars / tags */
.skill-block { margin-bottom: 1.5rem; }
.skill-block .label { font-weight: 700; color: var(--ink); display:block; margin-bottom:.5rem; }
.tags { display:flex; flex-wrap:wrap; gap:.5rem; }
.tag { background:#fff; border:1px solid var(--line); color:var(--ink); padding:.4rem .85rem; border-radius:50px; font-size:.9rem; font-weight:600; box-shadow: var(--shadow); }
.tag.solid { background: var(--navy); color:#fff; border-color: var(--navy); }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--navy), var(--navy-dark)); color:#fff; text-align:center; }
.cta-band h2 { color:#fff; }
.cta-band p { color:#c3d4e4; max-width: 50ch; margin-left:auto; margin-right:auto; }

/* Contact */
.contact-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items:start; }
.contact-item { display:flex; gap:1rem; align-items:flex-start; margin-bottom:1.6rem; }
.contact-item .ico { flex:0 0 auto; width:44px; height:44px; border-radius:10px; background:rgba(31,78,121,.1); color:var(--navy); display:grid; place-items:center; }
.contact-item h3 { margin:0; font-size:1.05rem; }
form .field { margin-bottom:1.1rem; }
form label { display:block; font-weight:600; color:var(--ink); margin-bottom:.35rem; font-size:.95rem; }
form input, form textarea {
  width:100%; padding:.8rem .9rem; border:1px solid var(--line); border-radius:8px;
  font-family:inherit; font-size:1rem; background:#fff; color:var(--ink);
}
form input:focus, form textarea:focus { outline:none; border-color:var(--navy-light); box-shadow:0 0 0 3px rgba(45,98,153,.15); }
.form-note { font-size:.85rem; color:var(--slate); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-deep); color:#aebfce; padding: 3rem 0 1.5rem; }
.site-footer a { color:#cfe0f0; }
.footer-grid { display:grid; grid-template-columns: 2fr 1fr 1fr; gap:2rem; margin-bottom:2rem; }
.site-footer h4 { color:#fff; font-family:var(--serif); margin:0 0 .8rem; font-size:1.05rem; }
.site-footer ul { list-style:none; margin:0; padding:0; }
.site-footer li { margin-bottom:.45rem; }
.footer-brand { display:flex; align-items:center; gap:.7rem; margin-bottom:1rem; }
.footer-brand .mark { width:40px; height:40px; border-radius:8px; background:linear-gradient(135deg,var(--navy-light),var(--accent)); color:#fff; display:grid; place-items:center; font-family:var(--serif); font-weight:700; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.1); padding-top:1.3rem; font-size:.85rem; display:flex; justify-content:space-between; flex-wrap:wrap; gap:.5rem; }

/* Reveal animation — fail-safe: visible by default, only hidden once JS arms it */
.reveal { transition: opacity .6s ease, transform .6s ease; }
.reveal.pre { opacity:0; transform: translateY(24px); }
.reveal.in { opacity:1; transform:none; }

/* ---------- Responsive ---------- */
@media (max-width