/* ==========================================================
   Kennedi Ezeji — Technical Writer
   ========================================================== */

:root {
  --bg:            #F2F3F7;
  --surface:       #FFFFFF;
  --card:          #FFFFFF;
  --card-hover:    #FAFBFC;
  --border:        #DFE3EA;
  --border-hover:  #C8CFDB;

  --accent:        #1B3A5C;
  --accent-light:  #2A5A8C;
  --accent-pale:   #E8EFF7;
  --accent-dark:   #0C1F33;

  --gold:          #C6982A;
  --gold-light:    #DBAD3A;
  --gold-dark:     #9E7A1E;
  --gold-pale:     #FDF6E5;
  --gold-text:     #A67C1B;   /* large display text on light backgrounds (>=3:1) */
  --gold-ink:      #8C6A17;   /* small gold text on light backgrounds (>=4.5:1) */

  --navy-pale:     #E8ECF3;
  --cream:         #F9F3E8;

  --heading:       #0D1520;
  --text:          #374151;
  --text-dim:      #5F6B7A;
  --text-muted:    #5F6B7A;
  --white:         #FFFFFF;

  --gradient-hero: linear-gradient(135deg, #FFFFFF 0%, #E8ECF3 35%, #F9F3E8 70%, #FFFFFF 100%);
  --gradient-cta:  linear-gradient(135deg, #0C1F33 0%, #1B3A5C 40%, #2A5A8C 100%);
  --gradient-gold: linear-gradient(135deg, #C6982A 0%, #DBAD3A 50%, #E8C055 100%);
  --gradient-band: linear-gradient(135deg, #FFFFFF 0%, #F9F3E8 50%, #FFFFFF 100%);

  --display: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body:    'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif:   'Source Serif 4', Georgia, 'Times New Roman', serif;
  --mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease:     cubic-bezier(.22,1,.36,1);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.05), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.07), 0 1px 4px rgba(0,0,0,.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.09), 0 4px 12px rgba(0,0,0,.04);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.10);
  --radius:    12px;

  --gut: clamp(1.25rem, .8rem + 2vw, 2.5rem);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--heading);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 1.5rem + 3.4vw, 3.6rem); }
h2 { font-size: clamp(1.95rem, 1.35rem + 2.4vw, 2.8rem); letter-spacing: -.028em; }
h3 { font-size: clamp(1.15rem, 1.05rem + .42vw, 1.4rem); font-weight: 700; letter-spacing: -.018em; }
h4 { font-size: 1.02rem; font-weight: 700; letter-spacing: -.012em; line-height: 1.4; }

/* the signature move: serif italic gold second phrase */
.it {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold-text);
  letter-spacing: -.005em;
}
h1 .it { font-size: 1.02em; }

p { text-wrap: pretty; }
::selection { background: var(--gold); color: #fff; }
:focus-visible { outline: 2px solid var(--gold-dark); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 1rem; top: 0; transform: translateY(-160%);
  background: var(--accent-dark); color: #fff; padding: .75rem 1.2rem;
  z-index: 200; font-weight: 600; font-size: .92rem; border-radius: 0 0 8px 8px;
  transition: transform .2s var(--ease); text-decoration: none;
}
.skip:focus { transform: translateY(0); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.narrow { max-width: 860px; }
.section { padding-block: clamp(3.5rem, 2rem + 6vw, 7rem); }
.section-sm { padding-block: clamp(2.5rem, 1.6rem + 4vw, 4.5rem); }
.on-white { background: var(--surface); }
.on-bg { background: var(--bg); }

/* ---------- eyebrow ---------- */
.eyebrow {
  display: flex; align-items: center; gap: .75rem;
  font-family: var(--mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink);
  margin-bottom: 1.15rem;
}
.eyebrow::before { content: ""; width: 1.6rem; height: 2px; background: var(--gold); border-radius: 2px; flex: none; }
.eyebrow.center { justify-content: center; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.5) blur(12px);
  -webkit-backdrop-filter: saturate(1.5) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header.stuck { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 72px; }

.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; flex: none; }
.brand-mark {
  width: 42px; height: 34px; flex: none; border-radius: 8px;
  background: var(--accent-dark); color: #fff;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: .82rem; letter-spacing: .08em;
  transition: background .25s var(--ease);
}
.brand:hover .brand-mark { background: var(--accent); }
.brand-name {
  font-family: var(--display); font-weight: 700; font-size: .82rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--heading);
  line-height: 1.2;
}

.nav { display: flex; align-items: center; gap: .35rem; }
.nav > a:not(.btn) {
  position: relative; text-decoration: none; font-size: .95rem; font-weight: 500;
  color: var(--text-dim); padding: .5rem .8rem; border-radius: 6px;
  transition: color .2s var(--ease);
}
.nav > a:not(.btn):hover { color: var(--heading); }
.nav > a[aria-current="page"] { color: var(--heading); font-weight: 600; }
.nav .btn { margin-left: .6rem; }
.nav > a[aria-current="page"]::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .1rem;
  height: 2px; background: var(--gold); border-radius: 2px;
}
.header-tools { display: flex; align-items: center; gap: .6rem; flex: none; }

.menu-btn {
  display: none; width: 42px; height: 42px; place-items: center;
  background: transparent; border: 1px solid var(--border); border-radius: 8px;
  color: var(--heading); cursor: pointer; transition: all .2s var(--ease);
}
.menu-btn:hover { border-color: var(--border-hover); background: var(--card-hover); }
.menu-btn svg { width: 18px; height: 18px; }

@media (max-width: 900px) {
  .menu-btn { display: grid; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: .5rem var(--gut) 1.5rem; gap: 0;
    opacity: 0; visibility: hidden; transform: translateY(-8px); pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
    box-shadow: var(--shadow-lg); max-height: calc(100dvh - 72px); overflow-y: auto;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  .nav > a:not(.btn) { padding: .95rem .25rem; border-bottom: 1px solid var(--border); border-radius: 0; font-size: 1.02rem; }
  .nav > a[aria-current="page"]::after { left: .25rem; right: auto; width: 1.4rem; bottom: .55rem; }
  .nav .btn { margin-top: 1.1rem; justify-content: center; border-bottom: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--display); font-weight: 600; font-size: .95rem;
  padding: .82rem 1.55rem; border-radius: 10px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: all .25s var(--ease);
}
.btn svg { width: 15px; height: 15px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-gold { background-color: #D4A734; background-image: var(--gradient-gold); color: var(--accent-dark); box-shadow: 0 4px 14px rgba(198,152,42,.28); }
.btn-gold:hover { box-shadow: 0 8px 24px rgba(198,152,42,.38); transform: translateY(-1px); }
.btn-navy { background: var(--accent-dark); color: #fff; }
.btn-navy:hover { background: var(--accent); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-ghost:hover { background: var(--accent); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.btn-ghost-light:hover { border-color: var(--gold); color: var(--gold-light); }
.btn-sm { padding: .6rem 1.15rem; font-size: .88rem; border-radius: 8px; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.textlink {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; font-size: .93rem; color: var(--accent);
  text-decoration: none; transition: gap .2s var(--ease), color .2s var(--ease);
}
.textlink:hover { gap: .65rem; color: var(--gold-dark); }
.textlink svg { width: 14px; height: 14px; }

/* ---------- hero ---------- */
.hero { position: relative; background-color: #F7F7F8; background-image: var(--gradient-hero); overflow: hidden;
  padding-block: clamp(3rem, 1.8rem + 5vw, 6rem) clamp(2.5rem, 1.6rem + 4vw, 5rem); }
.hero-inner { max-width: 760px; }
.hero h1 { margin-bottom: 1.5rem; }
.hero p.lead { font-size: clamp(1.02rem, .96rem + .3vw, 1.15rem); color: var(--text-dim); max-width: 58ch; }
.hero .btn-row { margin-top: 2.25rem; }
.breadcrumb { font-size: .88rem; color: var(--text-dim); margin-bottom: 1.4rem; }
.breadcrumb a { color: var(--accent); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { color: var(--gold-dark); }
.breadcrumb span { margin: 0 .45rem; color: var(--border-hover); }

/* ---------- credential band ---------- */
.band { background: var(--gradient-band); border-top: 1px solid var(--gold); border-bottom: 1px solid var(--border); }
.band-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1.75rem 2rem; padding-block: clamp(1.8rem, 1.2rem + 2vw, 2.75rem);
}
@media (max-width: 560px) { .band-grid { grid-template-columns: 1fr 1fr; gap: 1.4rem 1.25rem; } }
.band-item .band-k {
  font-family: var(--display); font-weight: 800; font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem);
  color: var(--gold-ink); letter-spacing: -.02em; line-height: 1.2;
}
.band-item .band-v { font-size: .87rem; color: var(--text-dim); margin-top: .3rem; }

/* ---------- section head ---------- */
.sec-head { margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.25rem); max-width: 720px; }
.sec-head p { color: var(--text-dim); margin-top: 1.05rem; font-size: 1.02rem; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem 2rem; flex-wrap: wrap; }
.sec-head-row .sec-head { margin-bottom: 0; }

/* ---------- cards ---------- */
.card-grid { display: grid; gap: 1.5rem; }
.cols-2 { grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); }
.cols-3 { grid-template-columns: repeat(auto-fit, minmax(275px, 1fr)); }
.cols-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  transition: border-color .25s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.card:hover { border-color: var(--border-hover); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card-n { font-family: var(--mono); font-size: .8rem; color: var(--gold-ink); font-weight: 500; margin-bottom: .9rem; letter-spacing: .05em; }
.card h3 { margin-bottom: .6rem; }
.card p { color: var(--text-dim); font-size: .95rem; }

.pills { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.15rem; }
.pill {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase;
  padding: .32rem .62rem; border-radius: 999px; background: var(--navy-pale);
  color: var(--text-dim); font-weight: 500;
}
.pill-gold { background: var(--gold-pale); color: var(--gold-ink); }

/* ---------- work cards ---------- */
.work-card {
  display: grid; grid-template-columns: 290px 1fr; gap: 0;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; position: relative;
  transition: border-color .25s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.work-card:hover { border-color: var(--border-hover); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.work-thumb {
  background: var(--navy-pale); border-right: 1px solid var(--border);
  padding: 1.75rem; display: grid; place-items: center;
  background-image: var(--gradient-band);
}
.work-thumb img {
  width: 100%; max-width: 200px; border-radius: 4px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  transition: transform .35s var(--ease);
}
.work-card:hover .work-thumb img { transform: translateY(-4px) scale(1.02); }
.work-body { padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); display: flex; flex-direction: column; }
.work-body h3 { font-size: clamp(1.22rem, 1.1rem + .6vw, 1.55rem); margin-bottom: .7rem; }
.work-body h3 a { text-decoration: none; }
.work-body h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.work-body > p { color: var(--text-dim); font-size: .96rem; }
.work-meta {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)); gap: 1rem 1.5rem;
  margin-top: auto; padding-top: 1.5rem; border-top: 1px solid var(--border);
}
.work-meta dt { font-family: var(--mono); font-size: .66rem; letter-spacing: .13em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .22rem; }
.work-meta dd { margin: 0; font-size: .88rem; color: var(--text); font-weight: 500; line-height: 1.45; }
.work-actions { margin-top: 1.5rem; display: flex; gap: 1.25rem; align-items: center; position: relative; z-index: 2; }

@media (max-width: 780px) {
  .work-card { grid-template-columns: 1fr; }
  .work-thumb { border-right: none; border-bottom: 1px solid var(--border); padding: 1.6rem; }
  .work-thumb img { max-width: 160px; }
}

/* ---------- PDF viewer ---------- */
.pdf-block { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.pdf-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: .9rem 1.2rem; background: var(--navy-pale); border-bottom: 1px solid var(--border);
}
.pdf-name { font-family: var(--mono); font-size: .78rem; color: var(--text-dim); letter-spacing: .04em; display: flex; align-items: center; gap: .55rem; }
.pdf-name svg { width: 15px; height: 15px; color: var(--gold-dark); flex: none; }
.pdf-frame { width: 100%; height: clamp(520px, 78vh, 900px); border: none; background: #52565C; }
.pdf-note { padding: 1rem 1.2rem; font-size: .85rem; color: var(--text-muted); border-top: 1px solid var(--border); background: var(--surface); }
.pdf-fallback { display: none; padding: 2.5rem 1.5rem; text-align: center; }
.pdf-fallback p { color: var(--text-dim); font-size: .95rem; margin-bottom: 1.3rem; max-width: 40ch; margin-inline: auto; }
@media (max-width: 820px) {
  .pdf-frame { display: none; }
  .pdf-fallback { display: block; }
}

/* ---------- prose ---------- */
.prose > * + * { margin-top: 1.15em; }
.prose p { color: var(--text); }
.prose h3 { margin-top: 2.2em; }
.prose a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: .18em; }
.prose a:hover { color: var(--gold-dark); }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li + li { margin-top: .5rem; }
.prose li::marker { color: var(--gold); }
.prose strong { font-weight: 700; color: var(--heading); }

.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.detail { background: var(--surface); padding: 1.35rem 1.4rem; }
.detail dt { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: .5rem; }
.detail dd { margin: 0; font-size: .93rem; color: var(--text); line-height: 1.55; }

/* ---------- navy CTA band ---------- */
.cta-band { background-color: #1B3A5C; background-image: var(--gradient-cta); color: #fff; position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; right: -14%; top: -40%; width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(198,152,42,.16) 0%, transparent 62%); pointer-events: none;
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 1.2rem + 3vw, 4.5rem); align-items: center; }
@media (max-width: 860px) { .cta-grid { grid-template-columns: 1fr; } }
.cta-band h2 { color: #fff; }
.cta-band .it { color: var(--gold-light); }
.cta-band p { color: rgba(255,255,255,.72); margin-top: 1.1rem; max-width: 46ch; }
.cta-band .eyebrow { color: var(--gold-light); }
.cta-band .eyebrow::before { background: var(--gold); }
.cta-list { display: grid; gap: 1.5rem; }
.cta-list h3 { font-size: 1rem; font-weight: 700; letter-spacing: -.01em; color: var(--gold-light); margin-bottom: .35rem; font-size: 1rem; }
.cta-list p { color: rgba(255,255,255,.66); font-size: .92rem; margin: 0; }

/* ---------- timeline ---------- */
.tl { display: grid; gap: 0; }
.tl-item { display: grid; grid-template-columns: 200px 1fr; gap: 1rem 2.5rem; padding-block: clamp(1.5rem, 1.2rem + 1vw, 2.15rem); border-bottom: 1px solid var(--border); }
.tl-item:first-child { border-top: 1px solid var(--border); }
@media (max-width: 720px) { .tl-item { grid-template-columns: 1fr; gap: .55rem; } }
.tl-when { font-family: var(--mono); font-size: .8rem; color: var(--gold-ink); letter-spacing: .04em; padding-top: .3rem; font-weight: 500; }
.tl-when span { display: block; color: var(--text-muted); margin-top: .3rem; font-weight: 400; }
.tl-item h4 { font-size: clamp(1.15rem, 1.05rem + .42vw, 1.4rem); font-weight: 700; letter-spacing: -.018em; line-height: 1.2; }
.tl-org { color: var(--accent); font-weight: 600; font-size: .95rem; margin-top: .25rem; }
.tl-body { margin-top: .9rem; }
.tl-body ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.tl-body li { font-size: .95rem; color: var(--text-dim); padding-left: 1.15rem; position: relative; }
.tl-body li::before { content: ""; position: absolute; left: 0; top: .66em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

.tl-group { font-family: var(--mono); font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 1rem; font-weight: 500; }
.tl + .tl-group { margin-top: 2.75rem; }

/* ---------- skills ---------- */
.skill-card h3 { font-family: var(--mono); font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 1rem; padding-bottom: .7rem; border-bottom: 1px solid var(--border); font-weight: 500; }
.skill-card ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.skill-card li { font-size: .93rem; color: var(--text-dim); }

/* ---------- profile card (About) ---------- */
.profile-card { padding: 1.4rem; }
.profile-card:hover { transform: none; }
.profile-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; background: var(--navy-pale); }
.profile-body { padding: 1.5rem .35rem .3rem; }
.profile-body .eyebrow { margin-bottom: .7rem; }
.profile-card .profile-name { font-family: var(--display); font-weight: 800; font-size: 1.6rem; letter-spacing: -.025em; color: var(--heading); line-height: 1.15; }
.profile-card .profile-role { color: var(--accent); font-weight: 600; font-size: .93rem; margin-top: .3rem; }
.profile-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; margin-top: 1.35rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.profile-facts dt { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .25rem; }
.profile-facts dd { margin: 0; font-size: .88rem; font-weight: 600; color: var(--heading); line-height: 1.4; }
@media (max-width: 800px) { .profile-col { order: -1; } }
@media (min-width: 801px) { .bio-sticky { position: sticky; top: 100px; } }
@media (max-width: 420px) { .profile-facts { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 1rem + 2.5vw, 3.5rem); align-items: start; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.contact-row { background: var(--surface); padding: 1.3rem 1.5rem; display: flex; align-items: center; gap: 1.1rem; text-decoration: none; transition: background .2s var(--ease); }
.contact-row:hover { background: var(--card-hover); }
.contact-ico { width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--gold-pale); color: var(--gold-dark); display: grid; place-items: center; }
.contact-ico svg { width: 18px; height: 18px; }
.contact-row dt { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .18rem; }
.contact-row dd { margin: 0; font-size: .97rem; color: var(--heading); font-weight: 600; word-break: break-word; }

/* ---------- footer ---------- */
.site-footer { background: var(--accent-dark); color: rgba(255,255,255,.62); padding-block: clamp(2.75rem, 2rem + 2.5vw, 4rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 2.25rem 2.5rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.site-footer .brand-mark { background: rgba(255,255,255,.1); }
.site-footer .brand-name { color: #fff; }
.footer-brand p { margin-top: 1.1rem; font-size: .93rem; max-width: 36ch; line-height: 1.65; }
.footer-col h2 { font-family: var(--mono); font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1.05rem; font-weight: 500; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: .65rem; }
.footer-col a { font-size: .93rem; color: rgba(255,255,255,.62); text-decoration: none; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--gold-light); }
.footer-base { margin-top: clamp(2.25rem, 1.8rem + 2vw, 3.25rem); padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: rgba(255,255,255,.45); }

/* ---------- notes ---------- */
.note {
  border-left: 3px solid var(--gold); background: var(--gold-pale);
  padding: 1.1rem 1.3rem; border-radius: 0 8px 8px 0; font-size: .92rem; color: var(--text-dim);
}
.note strong { color: var(--heading); }

/* ---------- motion ---------- */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
html.js .reveal[data-d="1"] { transition-delay: .08s; }
html.js .reveal[data-d="2"] { transition-delay: .16s; }
html.js .reveal[data-d="3"] { transition-delay: .24s; }
html.js .reveal[data-d="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .card:hover, .work-card:hover, .btn:hover { transform: none; }
}

/* ---------- utility ---------- */
.vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.divider { height: 1px; background: var(--border); border: none; margin-block: clamp(2.25rem, 1.8rem + 2vw, 3.5rem); }

@media print {
  .site-header, .site-footer, .cta-band, .btn-row, .skip, .pdf-block { display: none !important; }
  html.js .reveal, .reveal { opacity: 1 !important; transform: none !important; }
  body { background: #fff; }
  .section { padding-block: 1rem; }
}
