/* =========================================================================
   OLIVER & GINGER — white / black / one orange CTA
   Pure white page everywhere. Black text. Hairline rules carry structure.
   The ONLY non-black/white element on the site is the orange CTA button.
   SF Pro throughout. Hierarchy from scale, weight, hairlines and space.
   ========================================================================= */

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

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

:root {
  --paper:  #ffffff;          /* pure white — every background */
  --ink:    #0a0a0a;          /* black text */
  --hi:     #0a0a0a;          /* headlines (same black) */
  --line:   rgba(10,10,10,0.13);   /* hairline rules */
  --line-strong: rgba(10,10,10,0.9);
  --orange: #e8590c;          /* the ONLY non-black/white element: the CTA button */
  --orange-deep: #cf4f0a;
  --measure: 38rem;
  --wrap: 1080px;
  --font: -apple-system, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px;
  --s7: 48px; --s8: 64px; --s9: 88px; --s10: 120px; --s11: 160px;
}

body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  font-size: 19px;
}

::selection { background: rgba(10,10,10,0.10); }
img { max-width: 100%; display: block; }

/* ---- layout ------------------------------------------------------------ */
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.measure { max-width: var(--measure); }
hr.rule, .rule { border: 0; height: 1px; background: var(--line); margin: 0; }

/* The single page-load fade-up. Nothing else moves. */
@keyframes fadeup { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.fadeup { opacity: 0; animation: fadeup 0.7s cubic-bezier(0.16,0.84,0.44,1) forwards 0.06s; }
@media (prefers-reduced-motion: reduce) { .fadeup { animation: none; opacity: 1; } }

/* ---- navigation -------------------------------------------------------- */
nav.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 56px;
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
}
.brand {
  font-size: 18px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink);
  text-decoration: none; white-space: nowrap;
}
.brand .amp { font-weight: 400; padding: 0 0.03em; }
.nav-right { display: flex; align-items: center; gap: 28px; }
.nav-links { display: none; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--ink);
  text-decoration: none; letter-spacing: 0; opacity: 0.6;
  transition: opacity 0.18s ease;
}
.nav-links a:hover { opacity: 1; }
.nav-links a[aria-current="page"] { opacity: 1; }
.nav-cta { display: flex; align-items: center; gap: 12px; }

/* hamburger */
.burger {
  display: inline-flex; flex-direction: column; gap: 4px; justify-content: center;
  width: 40px; height: 40px; background: none; border: 0; cursor: pointer; padding: 9px;
}
.burger span { height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }
body.menu-open .burger span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* mobile overlay menu */
.menu {
  position: fixed; inset: 0; z-index: 150; background: var(--paper);
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 28px; gap: var(--s2);
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
body.menu-open .menu { opacity: 1; pointer-events: auto; }
.menu a {
  font-size: clamp(32px, 8.5vw, 50px); font-weight: 700; letter-spacing: -0.02em;
  color: var(--ink); text-decoration: none; padding: 10px 0; line-height: 1.12;
}
.menu .menu-contact { margin-top: var(--s6); display: flex; flex-direction: column; gap: var(--s3); }
.menu .menu-contact a { font-size: 17px; }

/* ---- buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 600; letter-spacing: -0.01em; line-height: 1;
  text-decoration: none; border: 0; cursor: pointer; white-space: nowrap;
  padding: 16px 30px; border-radius: 980px; min-height: 52px;
  transition: background 0.18s ease, opacity 0.18s ease, box-shadow 0.18s ease;
}
.btn-primary { background: var(--orange); color: #fff; }   /* the one orange element */
.btn-primary:hover { background: var(--orange-deep); }
.btn-ink { background: var(--ink); color: #fff; }          /* black secondary */
.btn-ink:hover { opacity: 0.84; }
.btn-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-outline:hover { background: var(--ink); color: #fff; }

/* compact nav buttons */
.btn-sm { padding: 9px 18px; min-height: 36px; font-size: 14px; font-weight: 600; }
.nav-link-cta {
  font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none;
  letter-spacing: 0; display: none; opacity: 0.6; transition: opacity 0.18s ease;
}
.nav-link-cta:hover { opacity: 1; }
@media (min-width: 560px) { .nav-link-cta { display: inline-flex; } }

.link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 18px; font-weight: 600; color: var(--ink); text-decoration: none;
  letter-spacing: -0.01em;
}
.link::after { content: "→"; font-weight: 400; }
.link:hover { opacity: 0.55; }

/* button stacks */
.actions { display: flex; flex-direction: column; gap: var(--s3); align-items: stretch; }
.actions .btn { width: 100%; }
.action-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em;
  color: var(--ink); text-decoration: none;
}
.action-link::after { content: "→"; font-weight: 400; }
.action-link:hover { opacity: 0.55; }
@media (min-width: 640px) {
  .actions { flex-direction: row; align-items: center; gap: 16px; }
  .actions .btn { width: auto; }
  .action-link { justify-content: flex-start; padding-left: 16px; }
}

/* ---- type — SF Pro throughout ------------------------------------------ */
.eyebrow {                                   /* page kicker — black, tracked */
  font-size: 12px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink); margin-bottom: var(--s5);
}
.kicker {                                    /* section label — black, quiet by size */
  font-size: 12px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink); margin-bottom: var(--s6);
}

h1 {
  font-size: clamp(42px, 8.4vw, 84px); font-weight: 700;
  line-height: 1.04; letter-spacing: -0.035em; color: var(--hi);
  text-wrap: balance;
}
h2 {
  font-size: clamp(30px, 5.2vw, 50px); font-weight: 700;
  line-height: 1.08; letter-spacing: -0.03em; color: var(--hi);
  text-wrap: balance;
}
h3 {
  font-size: clamp(23px, 3.3vw, 32px); font-weight: 700;
  line-height: 1.16; letter-spacing: -0.02em; color: var(--hi);
}

.lede {
  font-size: clamp(20px, 2.5vw, 25px); font-weight: 400; line-height: 1.5;
  letter-spacing: -0.014em; color: var(--ink); max-width: var(--measure); text-wrap: pretty;
}
.body {
  font-size: 19px; font-weight: 400; line-height: 1.62;
  letter-spacing: -0.01em; color: var(--ink); max-width: var(--measure); text-wrap: pretty;
}
.body + .body { margin-top: 1.15em; }
.body strong { font-weight: 600; }
.sub {
  font-size: 18px; font-weight: 400; line-height: 1.55; letter-spacing: -0.01em;
  color: var(--ink); max-width: 56ch;
}

/* contrast via WEIGHT, not colour */
.italic-soft { font-style: italic; font-weight: 300; color: var(--ink); }

.statement {
  font-size: clamp(27px, 4.4vw, 44px); font-weight: 700;
  line-height: 1.16; letter-spacing: -0.028em; color: var(--hi);
  max-width: 20ch; text-wrap: balance;
}

/* The Hopkins four lines — a locked unit. Uniform, never resized relative to one another. */
.hopkins {
  font-size: clamp(27px, 4.4vw, 46px); font-weight: 700;
  line-height: 1.3; letter-spacing: -0.026em; color: var(--hi);
}

.fine { font-size: 14px; font-weight: 400; line-height: 1.6; color: var(--ink); }

/* ---- sections — generous, rhythmic ------------------------------------- */
section, .section { padding: var(--s9) 0; }
.section + .section, section + section { box-shadow: inset 0 1px 0 var(--line); }
.section-tight { padding: var(--s8) 0; }
.hero { padding: 148px 0 var(--s9); }

/* ---- stats ------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s8) var(--s7); }
.stat-n { font-size: clamp(42px, 6.6vw, 66px); font-weight: 700; letter-spacing: -0.04em; line-height: 0.98; color: var(--hi); }
.stat-l { margin-top: var(--s3); font-size: 14px; font-weight: 500; line-height: 1.45; letter-spacing: 0; color: var(--ink); opacity: 0.6; max-width: 22ch; }
@media (min-width: 740px) { .stats.cols-3 { grid-template-columns: repeat(3, 1fr); } .stats.cols-4 { grid-template-columns: repeat(4, 1fr); } }

/* key-figures band — auto-fit so labels never crush */
.figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--s8) var(--s7); }
.figs .stat-n { font-size: clamp(38px, 5vw, 56px); }

/* ---- defining lists ---------------------------------------------------- */
.deflist { display: flex; flex-direction: column; gap: 0; }
.deflist .def { padding: var(--s6) 0; box-shadow: inset 0 -1px 0 var(--line); }
.deflist .def:first-child { box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.def .def-t { font-size: clamp(22px, 2.8vw, 27px); font-weight: 700; letter-spacing: -0.018em; color: var(--hi); }
.def .def-d { margin-top: var(--s3); font-size: 18px; font-weight: 400; line-height: 1.55; color: var(--ink); opacity: 0.7; max-width: 56ch; }

/* roster — the defense firms, built to read like a threat */
.roster { display: flex; flex-direction: column; gap: 0; }
.roster .firm-block { padding: var(--s6) 0; box-shadow: inset 0 -1px 0 var(--line); }
.roster .firm-block:first-child { box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.roster .firm {
  font-size: clamp(34px, 6.4vw, 64px); font-weight: 700;
  letter-spacing: -0.04em; line-height: 1.0; color: var(--hi);
}
.roster .firm-role {
  margin-top: var(--s4); font-size: 17px; font-weight: 400; line-height: 1.5;
  letter-spacing: -0.01em; color: var(--ink); opacity: 0.6; max-width: 46ch;
}

/* index list — the twelve capabilities */
.index-list { display: flex; flex-direction: column; }
.index-row { display: block; text-decoration: none; padding: var(--s6) 0; box-shadow: inset 0 -1px 0 var(--line); transition: opacity 0.18s ease; }
.index-row:first-child { box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.index-row:hover { opacity: 0.55; }
.index-row .row-top { display: flex; align-items: baseline; gap: var(--s4); }
.index-row .row-num { font-size: 14px; font-weight: 600; color: var(--ink); opacity: 0.4; min-width: 3ch; }
.index-row .row-name { font-size: clamp(26px, 3.8vw, 40px); font-weight: 700; letter-spacing: -0.03em; color: var(--hi); line-height: 1; }
.index-row .row-arrow { margin-left: auto; font-size: 22px; color: var(--ink); opacity: 0.4; align-self: center; }
.index-row .row-desc { margin-top: var(--s4); padding-left: calc(3ch + 16px); font-size: 18px; font-weight: 400; color: var(--ink); opacity: 0.65; letter-spacing: -0.01em; max-width: 60ch; }

/* numbered sequence */
.steps { display: flex; flex-direction: column; gap: var(--s7); }
.step { display: grid; grid-template-columns: auto 1fr; gap: 0 var(--s5); align-items: start; }
.step-n { font-size: clamp(24px, 3.2vw, 34px); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); opacity: 0.32; line-height: 1.1; min-width: 1.8ch; }
.step-t { font-size: clamp(21px, 2.6vw, 26px); font-weight: 700; letter-spacing: -0.018em; color: var(--hi); }
.step-d { margin-top: var(--s2); font-size: 18px; font-weight: 400; line-height: 1.55; color: var(--ink); opacity: 0.7; max-width: 52ch; }

/* two-column contrast */
.contrast { display: grid; grid-template-columns: 1fr; gap: var(--s7); }
@media (min-width: 740px) { .contrast { grid-template-columns: 1fr 1fr; gap: var(--s8); } }
.contrast .c-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: var(--ink); opacity: 0.5; margin-bottom: var(--s4); }
.contrast .c-text { font-size: clamp(20px, 2.4vw, 25px); font-weight: 600; line-height: 1.3; letter-spacing: -0.018em; color: var(--hi); }
.contrast .c-text.muted { color: var(--ink); opacity: 0.45; font-weight: 500; }

/* meta grid */
.meta { display: grid; grid-template-columns: 1fr; gap: 0; }
.meta > div { padding: var(--s5) 0; box-shadow: inset 0 -1px 0 var(--line); }
.meta > div:first-child { box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
@media (min-width: 620px) {
  .meta { grid-template-columns: 1fr 1fr; column-gap: var(--s7); }
  .meta > div:nth-child(2) { box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
}
.meta .m-l { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: var(--ink); opacity: 0.5; margin-bottom: var(--s3); }
.meta .m-v { font-size: 18px; font-weight: 400; line-height: 1.45; letter-spacing: -0.01em; color: var(--ink); }

/* outlet wordmarks */
.outlets { display: flex; flex-wrap: wrap; gap: var(--s4) var(--s6); align-items: baseline; }
.outlets span { font-size: 15px; font-weight: 700; letter-spacing: 0.04em; color: var(--ink); }

/* "not this / this" example pair */
.eg { margin-top: var(--s6); }
.eg .eg-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: var(--ink); opacity: 0.5; margin-bottom: var(--s3); }
.eg .eg-no { font-size: 18px; font-weight: 400; line-height: 1.5; color: var(--ink); opacity: 0.4; font-style: italic; text-decoration: line-through; max-width: 52ch; }
.eg .eg-yes { font-size: clamp(20px, 2.4vw, 24px); font-weight: 600; line-height: 1.4; letter-spacing: -0.018em; color: var(--hi); max-width: 50ch; margin-top: var(--s5); }

/* labelled case reference */
.case .case-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: var(--ink); opacity: 0.5; margin-bottom: var(--s5); }
.case .case-text { font-size: clamp(19px, 2.3vw, 23px); font-weight: 400; line-height: 1.55; letter-spacing: -0.012em; color: var(--ink); max-width: 60ch; }
.case .case-result { margin-top: var(--s6); font-size: 16px; font-weight: 600; letter-spacing: -0.005em; color: var(--hi); }

/* simple dash list */
.dashes { display: flex; flex-direction: column; gap: var(--s5); }
.dashes li { list-style: none; padding-left: 28px; position: relative; font-size: 18px; font-weight: 400; line-height: 1.55; color: var(--ink); max-width: 58ch; }
.dashes li::before { content: "—"; position: absolute; left: 0; color: var(--ink); opacity: 0.4; }

/* result block */
.result { padding: var(--s8) 0; box-shadow: inset 0 -1px 0 var(--line); }
.result:first-child { box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.result-type { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: var(--ink); opacity: 0.5; margin-bottom: var(--s5); }
.result-h { font-size: clamp(25px, 3.4vw, 36px); font-weight: 700; line-height: 1.14; letter-spacing: -0.028em; color: var(--hi); margin-bottom: var(--s5); }
.result-out { margin-top: var(--s6); font-size: 16px; font-weight: 600; letter-spacing: -0.005em; color: var(--ink); opacity: 0.7; }

/* ---- footer ------------------------------------------------------------ */
footer.foot { padding: var(--s8) 0; box-shadow: inset 0 1px 0 var(--line); }
.foot-grid { display: flex; flex-direction: column; gap: var(--s5); }
.foot-copy { font-size: 14px; font-weight: 400; color: var(--ink); opacity: 0.5; letter-spacing: -0.005em; }
.foot-links { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); }
.foot-links a { font-size: 14px; font-weight: 400; color: var(--ink); text-decoration: none; letter-spacing: -0.005em; opacity: 0.6; transition: opacity 0.18s ease; }
.foot-links a:hover { opacity: 1; }
@media (min-width: 740px) {
  .foot-grid { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ---- responsive -------------------------------------------------------- */
@media (min-width: 740px) {
  .wrap { padding-left: 40px; padding-right: 40px; }
  nav.bar { padding: 0 40px; height: 60px; }
  section, .section { padding: var(--s10) 0; }
  .hero { padding: 188px 0 var(--s10); }
}
@media (min-width: 1160px) {
  .wrap { padding-left: 0; padding-right: 0; }
  nav.bar { padding: 0 max(40px, calc((100vw - var(--wrap)) / 2)); }
}
