/* christopherbalk.com — site styles. Last Updated: 16 Sep, 2026 (b)
   Colors, type, and motion follow the Lovable portfolio design. */

@font-face { font-family: "Work Sans"; src: url("../fonts/work-sans.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Libre Baskerville"; src: url("../fonts/baskerville-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Libre Baskerville"; src: url("../fonts/baskerville-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --navy: #0f1a30;          /* oklch(22.5% .045 258) */
  --navy-soft: #1c2940;     /* oklch(29.5% .042 258) */
  --ivory: #f7f4ee;         /* oklch(97.3% .008 85) */
  --ivory-deep: #efebe2;    /* oklch(94.5% .011 85) */
  --steel: #6f87a3;         /* oklch(58.5% .045 245) */
  --charcoal: #3d424b;      /* oklch(34.5% .012 260) */
  --border: #d9dce3;        /* oklch(88.5% .011 258) */
  --card: #ffffff;
  --ivory-85: rgba(247,244,238,.85);
  --ivory-70: rgba(247,244,238,.70);
  --ivory-55: rgba(247,244,238,.55);
  --ivory-20: rgba(247,244,238,.20);
  --radius: 2px;
  --serif: "Libre Baskerville", Georgia, serif;
  --sans: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --nav-h: 60px;
}
@supports (color: oklch(0% 0 0)) {
  :root {
    --navy: oklch(22.5% .045 258); --navy-soft: oklch(29.5% .042 258);
    --ivory: oklch(97.3% .008 85); --ivory-deep: oklch(94.5% .011 85);
    --steel: oklch(58.5% .045 245); --charcoal: oklch(34.5% .012 260);
    --border: oklch(88.5% .011 258);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 1rem/1.6 var(--sans); color: var(--navy); background: var(--ivory); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; margin: 0; }
h1, h2 { text-transform: uppercase; letter-spacing: -.025em; }
h2 { font-size: 1.5rem; line-height: 1.375; }
@media (min-width: 768px) { h2 { font-size: 2rem; } }
h2.nocaps { text-transform: none; }
h3 { font-size: 1rem; line-height: 1.35; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

.shell { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .shell { padding-inline: 32px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--steel); outline-offset: 3px; }

/* Scroll progress */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; pointer-events: none; }
.progress__bar { height: 100%; width: 0; background: var(--steel); transition: width .15s; }

/* Type helpers */
.eyebrow { font: 500 .6875rem/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--steel); margin: 0 0 .5rem; }
.rule::before { content: ""; display: block; width: 44px; height: 2px; background: var(--steel); margin-bottom: 14px; }
.rule { margin-bottom: 24px; }
.prose p { font-size: .9375rem; line-height: 1.7; color: var(--charcoal); }
.prose p:first-child { font-family: var(--serif); font-size: 1.0625rem; color: var(--navy); }
.muted-light { color: var(--ivory-70); font-size: .875rem; line-height: 1.7; margin-top: 16px; }
.quote { margin: 20px 0 0; padding-left: 16px; border-left: 2px solid var(--steel); font: 400 1rem/1.65 var(--serif); color: var(--ivory-85); max-width: 36rem; }
.quote--lg { margin-top: 0; }
@media (min-width: 768px) { .quote--lg { font-size: 1.125rem; } }
.quote--dark { color: var(--charcoal); max-width: 48rem; margin-top: 24px; }
.tagline { margin: 24px 0 0; font: 400 1rem var(--serif); color: var(--charcoal); }
.link { display: inline-flex; margin-top: 16px; font: 600 .66rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--charcoal); }

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; border: 1px solid transparent; border-radius: var(--radius);
  font: 600 .7rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn--ivory { background: var(--ivory); color: var(--navy); }
.btn--ivory:hover { background: var(--ivory-deep); }
.btn--outline { border-color: rgba(247,244,238,.35); color: var(--ivory); }
.btn--outline:hover { border-color: var(--ivory); }
.btn--navy { background: var(--navy); color: var(--ivory); }
.btn--navy:hover { background: var(--navy-soft); }
.btn--sm { padding: 8px 14px; font-size: .66rem; }
.btn:disabled { opacity: .6; cursor: wait; }

/* Header */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(247,244,238,.95); border-bottom: 1px solid rgba(217,220,227,.8); }
@supports (backdrop-filter: blur(8px)) { .nav { backdrop-filter: blur(8px); } }
.nav__in { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.nav__brand { font: 700 1rem var(--serif); text-decoration: none; letter-spacing: -.01em; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a:not(.btn) { padding: 6px 10px; font-size: .78rem; letter-spacing: .025em; color: var(--charcoal); text-decoration: none; border-radius: var(--radius); transition: color .15s; }
.nav__links a:not(.btn):hover { color: var(--steel); }
.nav__links a.is-active { color: var(--navy); font-weight: 600; }
.nav__links .btn { margin-left: 12px; }
.nav__toggle { display: none; background: none; border: 1px solid var(--border); border-radius: var(--radius); padding: 8px; cursor: pointer; }
.nav__toggle span { display: block; width: 18px; height: 1.5px; background: var(--navy); margin: 4px 0; transition: transform .2s, opacity .2s; }
@media (max-width: 1023px) {
  .nav__toggle { display: block; }
  .nav__links { position: absolute; top: var(--nav-h); left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 20px 20px; background: var(--ivory); border-bottom: 1px solid var(--border); }
  .nav__links.is-open { display: flex; }
  .nav__links a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav__links .btn { margin: 14px 0 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
}

/* Sections */
.sec { padding: 28px 0; }
@media (min-width: 640px) { .sec { padding: 40px 0; } }
@media (min-width: 1024px) { .sec { padding: 56px 0; } }
.sec--deep { background: var(--ivory-deep); }
.sec--white { background: var(--card); border-block: 1px solid var(--border); }
.sec--navy { background: var(--navy); color: var(--ivory); }
.sec--navy h2 { color: var(--ivory); }
.split { display: grid; gap: 32px; }
@media (min-width: 1024px) { .split { grid-template-columns: 1.1fr .9fr; gap: 48px; } .split--philo { grid-template-columns: .9fr 1.1fr; } }

/* Hero */
.hero__in { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1024px) { .hero__in { grid-template-columns: 1.15fr .85fr; gap: 48px; } }
.hero h1 { margin-top: 12px; font-size: 2.15rem; line-height: 1.06; }
@media (min-width: 768px) { .hero h1 { font-size: 3.1rem; } }
.hero__title { margin: 12px 0 0; font-size: .875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(247,244,238,.9); }
@media (min-width: 768px) { .hero__title { font-size: 1rem; } }
.hero__line { margin: 20px 0 0; font-size: .78rem; letter-spacing: .1em; color: var(--steel); }
.hero__focus { margin: 8px 0 0; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ivory-55); }

.portrait { max-width: 420px; margin-inline: auto; }
.portrait__frame { position: relative; border: 1px solid var(--ivory-20); border-radius: 4px; padding: 8px; }
.portrait__hair { position: absolute; left: 20px; right: 20px; top: -8px; height: 1px; background: rgba(111,135,163,.5); }
.portrait img, .monogram { width: 100%; height: 360px; object-fit: cover; object-position: center 25%; border-radius: 4px; }
@media (min-width: 640px) { .portrait img, .monogram { height: 440px; } }
@media (min-width: 1024px) { .portrait img, .monogram { height: 520px; } }
.monogram { display: grid; place-items: center; background: var(--navy-soft); font: 700 4.5rem var(--serif); color: var(--steel); }
.portrait__stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 12px; border: 1px solid var(--ivory-20); border-radius: 4px; }
.portrait__stats li { padding: 12px 10px; text-align: center; }
.portrait__stats li + li { border-left: 1px solid rgba(247,244,238,.15); }
.portrait__stats strong { display: block; font: 700 .72rem var(--serif); text-transform: uppercase; }
@media (min-width: 768px) { .portrait__stats strong { font-size: .8rem; } }
.portrait__stats span { display: block; margin-top: 4px; font-size: .6rem; line-height: 1.35; letter-spacing: .025em; color: rgba(247,244,238,.6); }

/* Counter strip */
.strip { background: var(--card); border-block: 1px solid var(--border); }
.strip__in { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 16px; padding-block: 28px; }
@media (min-width: 768px) { .strip__in { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .strip__in { grid-template-columns: repeat(6, 1fr); } }
.strip li { text-align: center; }
@media (min-width: 1024px) { .strip li { text-align: left; } }
.strip strong { display: block; font: 700 1.5rem/1.2 var(--serif); letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
@media (min-width: 768px) { .strip strong { font-size: 1.75rem; } }
.strip li > span { display: block; margin-top: 6px; font-size: .68rem; line-height: 1.35; letter-spacing: .1em; text-transform: uppercase; color: var(--charcoal); }

/* Grids + cards */
.grid { display: grid; gap: 12px; margin-top: 24px; }
@media (min-width: 1024px) { .grid { gap: 16px; } }
.grid--tight { margin-top: 24px; gap: 12px; }
.grid--impact { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .grid--impact { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) { .grid--2, .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid.grid--tight { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid--3:not(.grid--tight) { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.grid--6 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--6 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid--6 { grid-template-columns: repeat(6, 1fr); } }
.grid > div, .grid > li { height: 100%; }

.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); height: 100%; }
.card--pad { padding: 20px; }
@media (min-width: 768px) { .card--pad { padding: 24px; } }
.card h3 { margin-bottom: 8px; text-transform: uppercase; font-size: .95rem; }
.card p { margin: 0; font-size: .875rem; line-height: 1.65; color: var(--charcoal); }
.card--lift { transition: transform .22s, box-shadow .22s, border-color .22s; }
.card--lift:hover { transform: translateY(-3px); border-color: rgba(111,135,163,.55); box-shadow: 0 10px 24px -18px rgba(15,26,48,.45); }

.stat { padding: 16px; }
@media (min-width: 768px) { .stat { padding: 20px; } }
.stat strong { display: block; font: 700 1.5rem/1.2 var(--serif); letter-spacing: -.025em; }
@media (min-width: 768px) { .stat strong { font-size: 1.875rem; } }
.stat span { display: block; margin-top: 10px; font-size: .68rem; line-height: 1.35; letter-spacing: .12em; text-transform: uppercase; color: var(--charcoal); }

.valuecard { align-self: start; }
.card--auto { height: auto; }
.valuelist { display: grid; gap: 0; margin-top: 12px; }
.valuelist li { padding: 16px 0; border-bottom: 1px solid var(--border); font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; line-height: 1.3; }
.valuelist li:first-child { padding-top: 8px; }
.valuelist li:last-child { border-bottom: 0; padding-bottom: 4px; }

.num { display: block; margin-bottom: 10px; font: 600 .7rem var(--sans); letter-spacing: .16em; color: var(--steel); }

/* Philosophy */
.ppt { font-size: 2rem; line-height: 1.05; }
@media (min-width: 768px) { .ppt { font-size: 2.75rem; } }
.ppt span { color: var(--steel); }
.hovercard { display: block; width: 100%; text-align: left; padding: 16px; cursor: default; border: 1px solid var(--ivory-20); border-radius: var(--radius); background: rgba(28,41,64,.5); transition: border-color .15s; }
.hovercard:hover, .hovercard:focus-visible { border-color: var(--steel); }
.hovercard__h { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.hovercard__t { display: block; max-height: 0; opacity: 0; overflow: hidden; font-size: .8rem; line-height: 1.65; color: var(--ivory-70); transition: max-height .5s, opacity .5s, margin .5s; }
.hovercard { cursor: pointer; }
.hovercard__h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.hovercard__icon::after { content: "+"; font-size: 1rem; font-weight: 400; color: var(--steel); letter-spacing: 0; }
.hovercard[aria-expanded="true"] .hovercard__icon::after { content: "\2212"; }
.hovercard[aria-expanded="true"] { border-color: var(--steel); }
.hovercard:hover .hovercard__t, .hovercard[aria-expanded="true"] .hovercard__t { max-height: 12rem; opacity: 1; margin-top: 12px; }
.hint { margin: 24px 0 0; font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--steel); }
.hint::after { content: " \2192"; }
.hint + .grid--tight { margin-top: 10px; }
.hovergrid { align-items: start; }
.hovergrid > .hovercard { height: auto; align-self: start; }

/* Accordions (career, expertise, achievements) */
.stack { display: grid; gap: 12px; margin-top: 24px; }
.acc summary { list-style: none; cursor: pointer; display: flex; flex-direction: column; gap: 12px; padding: 20px; }
@media (min-width: 768px) { .acc summary { flex-direction: row; align-items: center; justify-content: space-between; } }
.acc summary::-webkit-details-marker, .ach summary::-webkit-details-marker { display: none; }
.acc__main { display: grid; gap: 4px; }
.acc__org { font: 700 1rem var(--serif); text-transform: uppercase; letter-spacing: -.01em; }
.acc__role { font-size: .875rem; font-weight: 500; color: var(--charcoal); }
.acc__sum { font-size: .8125rem; color: var(--charcoal); opacity: .85; max-width: 48rem; }
.acc__side { display: flex; align-items: center; gap: 16px; flex: none; }
@media (min-width: 768px) { .acc__side { flex-direction: column; align-items: flex-end; gap: 8px; } }
.acc__dates { font-size: .72rem; letter-spacing: .14em; color: var(--steel); white-space: nowrap; }
.acc__btn { font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.acc__btn::after, .acc__icon::after { content: "+"; display: inline-block; margin-left: 8px; transition: transform .25s; }
.acc[open] .acc__btn::after, .acc[open] .acc__icon::after { transform: rotate(45deg); }
.acc__icon { font-size: 1.1rem; color: var(--steel); }
.acc[open] { border-color: rgba(111,135,163,.55); }
.acc > .bullets { margin: 0 20px; padding: 16px 0 20px; border-top: 1px solid var(--border); }
.bullets { display: grid; gap: 10px; }
.bullets li { position: relative; padding-left: 16px; font-size: .875rem; line-height: 1.7; color: var(--charcoal); }
.bullets li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--steel); }
.acc[open] > ul { animation: open .35s ease; }
@keyframes open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips li { padding: 7px 12px; font-size: .76rem; color: var(--charcoal); background: var(--ivory); border: 1px solid var(--border); border-radius: var(--radius); }
.acc .chips { padding: 16px 20px 20px; margin: 0; border-top: 1px solid var(--border); }
.chips--card li { background: var(--card); }

.ach summary { list-style: none; cursor: pointer; display: flex; flex-direction: column; }
.ach__lead { font: 400 1rem/1.5 var(--serif); }
.ach .link::after { content: " +"; }
.ach[open] .link::after { content: " −"; }
.ach p { margin-top: 12px; animation: open .35s ease; }

.evo { padding: 16px; display: flex; align-items: center; gap: 12px; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1.4; }
@media (min-width: 1024px) { .evo { flex-direction: column; align-items: flex-start; } }
.evo span { font: 700 1.25rem var(--serif); color: var(--steel); letter-spacing: 0; }

/* Big band + education (kept from the first version) */
.band p { color: var(--charcoal); }
.band .chips li { text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; }
.edu { padding: 16px 0; border-top: 1px solid var(--border); }
.edu h3 { margin-bottom: 4px; }
.edu p { margin: 0; font-size: .9375rem; }
.edu span { color: var(--charcoal); opacity: .85; }

/* Positioning */
.position__title { margin: 0 0 20px; font: 700 1.1rem var(--serif); text-transform: uppercase; letter-spacing: .02em; }

/* Documents */
.doc { display: block; text-decoration: none; }
.doc__icon { display: inline-grid; place-items: center; width: 40px; height: 48px; margin-bottom: 16px; background: var(--navy); color: var(--ivory); font: 600 .6rem var(--sans); letter-spacing: .12em; border-radius: var(--radius); }
.doc .link { color: var(--navy); margin-top: 20px; }

/* Contact */
.contact__name { margin: 28px 0 0; font: 700 1.1rem var(--serif); text-transform: uppercase; }
.contact-list { margin-top: 20px; display: grid; gap: 8px; font-size: .875rem; }
.contact-list li { color: var(--ivory-70); }
.contact-list a { color: var(--ivory); text-decoration-color: var(--steel); text-underline-offset: 4px; }
.form { align-self: start; display: grid; gap: 14px; padding: 20px; border: 1px solid var(--ivory-20); border-radius: var(--radius); background: rgba(28,41,64,.5); }
@media (min-width: 768px) { .form { padding: 24px; } }
.form__row { display: grid; gap: 14px; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form label { display: grid; gap: 6px; font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ivory-70); }
.form .opt { font-weight: 400; letter-spacing: .05em; text-transform: none; opacity: .8; }
.form input, .form textarea { width: 100%; padding: 11px 12px; font: 400 .95rem var(--sans); color: var(--ivory); background: rgba(15,26,48,.6); border: 1px solid var(--ivory-20); border-radius: var(--radius); transition: border-color .15s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--steel); }
.form textarea { resize: vertical; min-height: 130px; }
.form .btn { justify-self: start; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status, .form__msg { margin: 0; font-size: .875rem; min-height: 1.3em; }
.is-ok { color: #a8d5b3; }
.is-err { color: #f0a9a1; }

/* Footer */
.foot { background: var(--navy); color: var(--ivory-55); border-top: 1px solid rgba(247,244,238,.1); padding: 24px 0; font-size: .8rem; }
.foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.foot p { margin: 0; }
.foot strong { color: var(--ivory); font-family: var(--serif); }

/* Reveal on scroll (JS adds .js-motion; reduced-motion users skip it) */
.js-motion .reveal { opacity: 0; transform: translateY(12px); transition: opacity .62s, transform .62s; }
.js-motion .reveal.reveal-in { opacity: 1; transform: none; }

@media print {
  .nav, .progress, .btns, .form, .foot { display: none; }
  .sec--navy { background: none; color: #000; }
  .js-motion .reveal { opacity: 1; transform: none; }
}
