/* Md. Imran Nazir — personal site */
@font-face { font-family: "Geist"; src: url("fonts/geist-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; src: url("fonts/geist-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #f6f7f4;
  --surface: #ffffff;
  --ink: #14213d;
  --ink-2: #3c4658;
  --muted: #667085;
  --line: #dde2dc;
  --accent: #0f6e5a;
  --accent-ink: #ffffff;
  --accent-soft: #e4f1ec;
  --mark: #d99a1e;
  --radius-lg: 28px;
  --radius: 14px;
  --radius-sm: 8px;
  --wrap: 1160px;
  --display: "Geist", "Segoe UI", system-ui, sans-serif;
  --body: "Geist", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0d1916;
  --surface: #142420;
  --ink: #e9efeb;
  --ink-2: #c3cdc7;
  --muted: #8fa099;
  --line: #24382f;
  --accent: #4cc3a0;
  --accent-ink: #062019;
  --accent-soft: #17332b;
  --mark: #f0bf55;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1916; --surface: #142420; --ink: #e9efeb; --ink-2: #c3cdc7; --muted: #8fa099;
    --line: #24382f; --accent: #4cc3a0; --accent-ink: #062019; --accent-soft: #17332b; --mark: #f0bf55;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--body); font-feature-settings: "ss01" 0; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.12; margin: 0; letter-spacing: -0.025em; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-head.scrolled { border-bottom-color: var(--line); }
.head-row { display: flex; align-items: center; gap: 24px; height: 92px; }
.brand { display: flex; flex-direction: column; align-items: center; gap: 5px; font: 600 19px/1 var(--display); color: var(--ink); text-decoration: none; letter-spacing: -0.025em; }
.brand-logo { height: 40px; width: auto; display: block; }
.brand-logo-dark { display: none; }
.brand-name { font-weight: 500; font-size: 11.5px; line-height: 1; letter-spacing: .26em; margin-right: -.26em; color: #0b1a3a; white-space: nowrap; }
.brand-name b { font-weight: 500; color: #1e56b8; }
:root[data-theme="dark"] .brand-name { color: #f2f5fb; } :root[data-theme="dark"] .brand-name b { color: #6aa2ff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand-name { color: #f2f5fb; } :root:not([data-theme="light"]) .brand-name b { color: #6aa2ff; } }
.brand-bar { display: block; width: 26px; height: 2px; border-radius: 2px; background: #1e56b8; margin-top: 1px; }
:root[data-theme="dark"] .brand-bar { background: #6aa2ff; }
.foot-logo { display: inline-block; margin-bottom: 36px; }
.foot-logo img { width: 200px; height: auto; }
:root[data-theme="dark"] .brand-logo-light { display: none; }
:root[data-theme="dark"] .brand-logo-dark { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand-logo-light { display: none; } :root:not([data-theme="light"]) .brand-logo-dark { display: block; } }
.brand-mark { width: 34px; height: 34px; border-radius: 10px 10px 4px 10px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 14px; font-weight: 700; letter-spacing: 0; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--accent-soft); }
.head-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.icon-btn svg { width: 18px; height: 18px; }
.menu-btn { display: none; }
.theme-sun { display: none; }
:root[data-theme="dark"] .theme-sun { display: block; }
:root[data-theme="dark"] .theme-moon { display: none; }

.btn { display: inline-flex; align-items: center; gap: 8px; font: 600 15px/1 var(--body); padding: 13px 20px; border-radius: 999px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 86%, var(--ink)); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-sm { padding: 10px 16px; font-size: 14px; }

@media (max-width: 920px) {
  .menu-btn { display: grid; }
  .nav { position: fixed; inset: 92px 0 auto 0; flex-direction: column; background: var(--surface); padding: 12px 20px 20px; border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: flex; }
  .nav a { font-size: 17px; padding: 12px 14px; }
  .head-cv { display: none; }
}

/* Hero */
.hero { padding: 64px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 64px; align-items: end; }
.hero-name { font-size: clamp(46px, 7.6vw, 104px); line-height: 1; letter-spacing: -0.04em; font-weight: 650; margin-bottom: 26px; }
.hero-name span { display: block; }
.hero-name .first { color: var(--muted); font-weight: 500; font-size: 0.36em; letter-spacing: -0.01em; margin-bottom: 0.12em; }
.hero-headline { font: 500 clamp(19px, 2vw, 23px)/1.4 var(--display); color: var(--ink); max-width: 30ch; margin-bottom: 18px; letter-spacing: -0.01em; }
.hero-intro { color: var(--ink-2); max-width: 56ch; font-size: 18px; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); padding: 7px 14px 7px 10px; border-radius: 999px; margin-bottom: 26px; }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }

.portrait { position: relative; }
.arch { aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius-lg) var(--radius-lg); overflow: hidden; background: var(--accent-soft); position: relative; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch-mono { position: absolute; inset: 0; display: grid; place-items: center; font: 700 clamp(64px, 9vw, 120px)/1 var(--display); color: var(--accent); letter-spacing: -0.06em; }
.now-card { position: relative; margin: -56px 18px 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: 0 18px 40px -24px rgba(20, 33, 61, .35); }
.now-card h2 { font-size: 13px; font-family: var(--body); font-weight: 600; color: var(--muted); letter-spacing: 0; margin-bottom: 8px; }
.now-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.now-card li { font-size: 15px; line-height: 1.35; }
.now-card li strong { display: block; font-weight: 600; }
.now-card li span { color: var(--muted); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: 72px; }
.stats.n1 { grid-template-columns: 1fr; } .stats.n2 { grid-template-columns: repeat(2, 1fr); } .stats.n3 { grid-template-columns: repeat(3, 1fr); }
.stat { padding: 22px 20px 0 0; }
.stat + .stat { padding-left: 20px; border-left: 1px solid var(--line); }
.stat b { display: block; font: 700 clamp(30px, 3.6vw, 44px)/1 var(--display); letter-spacing: -0.03em; color: var(--ink); }
.stat span { color: var(--muted); font-size: 15px; }

@media (max-width: 920px) {
  .hero { padding-top: 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .portrait { max-width: 360px; }
  .stats, .stats.n3 { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
}

/* Sections */
.section { padding: 96px 0; border-top: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; gap: 14px 48px; align-items: flex-end; margin-bottom: 48px; }
.section-head h2 { flex: 0 0 min(36%, 420px); }
.section-head p { flex: 1 1 320px; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 54px); letter-spacing: -0.035em; }
.section-head p { color: var(--ink-2); margin: 0; max-width: 52ch; }
.section-head .more { margin-left: auto; }
@media (max-width: 920px) { .section { padding: 72px 0; } .section-head { flex-direction: column; align-items: flex-start; } .section-head h2 { flex: none; } .section-head p { flex: none; } .section-head .more { margin-left: 0; } }

/* About */
.about-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 64px; }
.prose { font-size: 18px; color: var(--ink-2); max-width: 66ch; }
.prose h2, .prose h3 { margin: 1.6em 0 .6em; }
.prose h2 { font-size: 30px; } .prose h3 { font-size: 23px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: var(--radius); margin: 1.6em 0; }
.prose blockquote { margin: 1.6em 0; padding-left: 20px; border-left: 3px solid var(--accent); color: var(--ink); font-size: 1.1em; }
.prose code { background: var(--accent-soft); padding: 2px 6px; border-radius: 5px; font-size: .9em; }
.prose > :first-child { margin-top: 0; }
.facts { margin: 0; display: grid; gap: 0; align-content: start; }
.facts div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.facts a { color: var(--ink); }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); background: var(--surface); }
.socials a:hover { border-color: var(--accent); color: var(--accent); }
.socials svg { width: 18px; height: 18px; }
@media (max-width: 920px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Timeline — the signature */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.tl-item { display: grid; grid-template-columns: 210px 28px 1fr; gap: 0 20px; padding-bottom: 44px; position: relative; }
.tl-when { text-align: right; padding-top: 4px; color: var(--muted); font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; }
.tl-when .now { display: inline-block; color: var(--accent); background: var(--accent-soft); font-weight: 600; font-size: 13px; padding: 3px 10px; border-radius: 999px; margin-top: 6px; }
.tl-rail { position: relative; display: flex; justify-content: center; }
.tl-rail::before { content: ""; position: absolute; top: 14px; bottom: -44px; width: 2px; background: var(--line); }
.tl-item:last-child .tl-rail::before { display: none; }
.tl-dot { position: relative; width: 14px; height: 14px; margin-top: 8px; border-radius: 50%; background: var(--surface); border: 2.5px solid var(--accent); }
.tl-item.current .tl-dot { background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.tl-body h3 { font-size: 23px; letter-spacing: -0.02em; margin-bottom: 4px; }
.tl-org { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; color: var(--ink-2); font-weight: 500; margin-bottom: 12px; }
.tl-org img { width: 28px; height: 28px; border-radius: 7px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.tl-org .meta { color: var(--muted); font-weight: 400; font-size: 15px; }
.tl-body ul { margin: 0; padding-left: 1.1em; color: var(--ink-2); }
.tl-body li { margin-bottom: 6px; }
.tl-body li::marker { color: var(--accent); }
@media (max-width: 720px) {
  .tl-item { grid-template-columns: 22px 1fr; gap: 0 14px; }
  .tl-when { grid-column: 2; grid-row: 1; text-align: left; padding: 0 0 6px; }
  .tl-rail { grid-column: 1; grid-row: 1 / span 2; }
  .tl-body { grid-column: 2; }
}

/* Achievements */
.ach-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.ach { padding: 26px 26px 30px 0; border-bottom: 1px solid var(--line); position: relative; }
.ach:not(:nth-child(3n+1)) { padding-left: 26px; border-left: 1px solid var(--line); }
.ach-star { display: block; width: 26px; height: 26px; color: var(--mark); margin-bottom: 16px; }
.ach-star svg { width: 100%; height: 100%; display: block; }
.ach h3 { font-size: 20px; letter-spacing: -0.015em; margin-bottom: 6px; }
.ach .by { color: var(--muted); font-size: 15px; margin-bottom: 10px; }
.ach p { color: var(--ink-2); font-size: 15.5px; margin: 0; }
.ach .type { display: inline-block; font-size: 13px; font-weight: 600; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; margin-bottom: 12px; }
.ach img { border-radius: var(--radius-sm); margin-bottom: 14px; aspect-ratio: 16/10; object-fit: cover; width: 100%; }
@media (max-width: 920px) { .ach-list { grid-template-columns: 1fr 1fr; } .ach:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; } .ach:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line); } }
@media (max-width: 600px) { .ach-list { grid-template-columns: 1fr; } .ach:nth-child(even) { padding-left: 0; border-left: 0; } }

/* Skills */
.skill-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px 56px; }
.skill-groups h3 { font-size: 20px; margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 15px; font-weight: 500; }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.bars li { font-size: 15px; font-weight: 500; }
.bars .bar { height: 6px; border-radius: 999px; background: var(--line); margin-top: 6px; overflow: hidden; }
.bars .bar i { display: block; height: 100%; background: var(--accent); border-radius: inherit; }

/* Portfolio */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 28px; }
.work { text-decoration: none; color: inherit; display: block; }
.work-img { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--accent-soft); margin-bottom: 16px; position: relative; }
.work-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.work:hover .work-img img { transform: scale(1.03); }
.work-ph { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; font: 650 24px/1.15 var(--display); color: var(--accent); letter-spacing: -0.02em; }
.work h3 { font-size: 21px; margin-bottom: 4px; letter-spacing: -0.015em; }
.work:hover h3 { color: var(--accent); }
.work .cat { color: var(--muted); font-size: 15px; margin-bottom: 8px; }
.work p { color: var(--ink-2); font-size: 15.5px; margin: 0; }
.work-grid.lead .work:first-child { grid-column: span 2; grid-row: span 2; }
.work-grid.lead .work:first-child { display: flex; flex-direction: column; }
.work-grid.lead .work:first-child .work-img { aspect-ratio: auto; flex: 1; min-height: 300px; }
@media (max-width: 920px) { .work-grid { grid-template-columns: 1fr 1fr; } .work-grid.lead .work:first-child { grid-column: span 2; grid-row: auto; } .work-grid.lead .work:first-child .work-img { aspect-ratio: 16/9; height: auto; min-height: 0; } }
@media (max-width: 600px) { .work-grid { grid-template-columns: 1fr; } .work-grid.lead .work:first-child { grid-column: auto; } }

/* Education */
.edu { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 40px; }
.edu-item { padding: 22px 0; border-top: 1px solid var(--line); }
.edu-item h3 { font-size: 20px; margin-bottom: 4px; }
.edu-item .inst { color: var(--ink-2); font-weight: 500; }
.edu-item .meta { color: var(--muted); font-size: 15px; margin-top: 4px; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 28px; }
.post-card { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.post-card .cover { aspect-ratio: 16/10; border-radius: var(--radius); overflow: hidden; background: var(--accent-soft); margin-bottom: 16px; }
.post-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.post-card time { color: var(--muted); font-size: 14px; }
.post-card h3 { font-size: 22px; margin: 6px 0 8px; letter-spacing: -0.015em; }
.post-card:hover h3 { color: var(--accent); }
.post-card p { color: var(--ink-2); font-size: 15.5px; margin: 0; }
@media (max-width: 920px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; }
.contact-lines { display: grid; gap: 14px; margin-top: 8px; }
.contact-line { display: flex; gap: 14px; align-items: center; color: var(--ink); text-decoration: none; font-weight: 500; }
.contact-line .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.contact-line .ico svg { width: 20px; height: 20px; }
.contact-line small { display: block; color: var(--muted); font-weight: 400; font-size: 14px; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field textarea { min-height: 150px; resize: vertical; }
.field .err { color: #c2412d; font-size: 14px; margin-top: 4px; }
.hp { position: absolute; left: -5000px; }
.notice { grid-column: 1 / -1; background: var(--accent-soft); color: var(--ink); border-radius: 12px; padding: 14px 16px; font-weight: 500; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } .form { grid-template-columns: 1fr; padding: 22px; } }

/* Page header (inner pages) */
.page-head { padding: 56px 0 48px; }
.page-head h1 { font-size: clamp(40px, 6vw, 76px); letter-spacing: -0.04em; margin-bottom: 14px; }
.page-head p { color: var(--ink-2); max-width: 60ch; font-size: 18px; margin: 0; }
.crumb { font-size: 15px; margin-bottom: 18px; display: inline-flex; gap: 6px; color: var(--muted); text-decoration: none; }
.crumb:hover { color: var(--accent); }
.article { padding-bottom: 96px; }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 48px; aspect-ratio: 16/8; background: var(--accent-soft); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body { display: grid; grid-template-columns: 1fr 260px; gap: 64px; }
.side-facts { border-top: 2px solid var(--ink); padding-top: 12px; align-self: start; position: sticky; top: 96px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tags a, .tags span { font-size: 14px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); text-decoration: none; }
.tags a:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 920px) { .article-body { grid-template-columns: 1fr; gap: 40px; } .side-facts { position: static; } }
.empty { padding: 40px 0; color: var(--muted); }
.pager { display: flex; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.pager a, .pager span { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: 15px; }
.pager .on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 64px 0 40px; }
.foot-big { font: 650 clamp(30px, 4.6vw, 56px)/1.05 var(--display); letter-spacing: -0.035em; max-width: 20ch; margin-bottom: 28px; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; color: var(--muted); font-size: 15px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.foot-row nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-row a { color: var(--ink-2); text-decoration: none; }
.foot-row a:hover { color: var(--accent); }

/* One orchestrated load moment: the hero */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > *:nth-child(2) { animation-delay: .06s; }
.hero-copy > *:nth-child(3) { animation-delay: .12s; }
.hero-copy > *:nth-child(4) { animation-delay: .18s; }
.hero-copy > *:nth-child(5) { animation-delay: .24s; }
.portrait { animation: rise .9s .15s cubic-bezier(.2,.7,.2,1) both; }
