/* ==========================================================================
   matttimmermans.com v2 design system
   Ink on paper. Poppins throughout, including identifiers (DOIs, handles,
   domains), which are set small and muted. One black, one teal, square edges.
   Currently used by /about/ only; roll out page by page.
   ========================================================================== */

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

:root {
    --paper: #f6f5f1;
    --card: #ffffff;
    --ink: #0a0a0a;
    --ink-2: #3a3a37;
    --ink-3: #7a7973;
    --line: #e3e1da;
    --line-strong: #cbc8bf;
    --teal: #0f766e;
    --sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
    --wrap: 1120px;
    --gutter: clamp(20px, 4vw, 40px);
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.75;
    color: var(--ink-2);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-variant-numeric: tabular-nums;
}

::selection { background: var(--ink); color: #fff; }

img { display: block; max-width: 100%; height: auto; }

a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; text-decoration-thickness: 1px; transition: text-decoration-color .2s, color .2s; }
a:hover { text-decoration-color: currentColor; }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3 { font-family: var(--sans); color: var(--ink); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; text-wrap: balance; }
p { text-wrap: pretty; }

.muted { color: var(--ink-3); }
/* Identifiers (domains, handles, DOIs): same typeface, quieter */
.ident { font-weight: 400; letter-spacing: 0; }

/* Small caption-style label: sentence case, never spaced-out capitals */
.meta-label { display: block; font-size: 13px; line-height: 1.4; color: var(--ink-3); font-weight: 400; }

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex; align-items: center;
    font-family: var(--sans); font-size: 14px; font-weight: 500; line-height: 1;
    padding: 14px 22px; border: 1px solid var(--ink);
    text-decoration: none; transition: background .2s, color .2s, border-color .2s;
}
.btn--solid { background: var(--ink); color: #fff; }
.btn--solid:hover { background: #262624; border-color: #262624; color: #fff; }

.textlink { font-size: 14px; font-weight: 500; }

/* ---------- Nav ---------- */

.nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(246, 245, 241, .88);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.brand-mark { width: 30px; height: 30px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 600; letter-spacing: 0; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { font-size: 14px; color: var(--ink-3); text-decoration: none; padding: 8px 12px; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links .btn { margin-left: 10px; padding: 10px 16px; font-size: 13px; }
.nav-links .btn--solid, .nav-links .btn--solid:hover { color: #fff; }
.nav-drop { position: relative; display: flex; }
.nav-menu {
    position: absolute; top: 100%; left: 0; min-width: 200px; margin-top: 8px; padding: 6px 0;
    background: var(--paper); border: 1px solid var(--line);
    opacity: 0; visibility: hidden; transition: opacity .15s, visibility .15s;
}
.nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -9px; height: 9px; }
.nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu { opacity: 1; visibility: visible; }
.nav-drop:hover > a { color: var(--ink); }
.nav-links .nav-menu a { display: block; padding: 7px 11px; white-space: nowrap; }
@media (max-width: 600px) { .nav-menu { left: auto; right: 0; } }

@media (max-width: 860px) { .nav-links .hide-sm { display: none; } }
@media (max-width: 600px) {
    .nav .wrap { height: 60px; }
    .nav-links a { padding: 8px; font-size: 13px; }
    .nav-links .btn { display: none; }
    .brand { font-size: 0; gap: 0; }
    .brand-mark { font-size: 11px; }
}

/* ---------- Hero ---------- */

.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 7vw, 96px); align-items: center; }
.hero h1 { font-size: clamp(44px, 6.6vw, 84px); font-weight: 700; letter-spacing: -.05em; line-height: .92; }
.hero .intro { margin-top: 32px; max-width: 44ch; font-size: clamp(19px, 2.1vw, 23px); line-height: 1.5; color: var(--ink); letter-spacing: -.01em; }
.hero .actions { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }

.portrait { border: 1px solid var(--line); background: var(--card); }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; filter: grayscale(100%) contrast(1.04); }
/* About: quieter hero, so it reads as a profile page rather than the homepage */
.hero--compact .hero-grid { grid-template-columns: minmax(0, 1fr) 240px; }
.hero--compact h1 { font-size: clamp(38px, 5vw, 64px); }
.hero--compact .intro { margin-top: 24px; max-width: 54ch; font-size: clamp(17px, 1.7vw, 19px); }
.hero--compact .actions { margin-top: 32px; }
.hero--solo .intro { max-width: 60ch; }

/* Homepage hero on phones: wide portrait on top, name filling the width, then intro and actions */
@media (max-width: 600px) {
    .hero:not(.hero--compact) { padding: 20px 0 44px; }
    .hero:not(.hero--compact) .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .hero:not(.hero--compact) .portrait { max-width: none; width: 100%; }
    .hero:not(.hero--compact) .portrait img { aspect-ratio: 4 / 3; object-position: center 18%; }
    .hero:not(.hero--compact) h1 { font-size: clamp(36px, calc(15.2vw - 7px), 64px); line-height: .9; letter-spacing: -.055em; }
    .hero:not(.hero--compact) .intro { margin-top: 20px; font-size: 18px; line-height: 1.55; }
    .hero:not(.hero--compact) .actions { margin-top: 28px; gap: 24px; }
    .hero:not(.hero--compact) .actions .btn { flex: 1; text-align: center; justify-content: center; }
}
.hero h1 .h1-pre { display: block; margin-bottom: .3em; font-size: .42em; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; color: var(--ink-3); }
.hero h1 .h1-sub { display: block; margin-top: .45em; font-size: .42em; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; color: var(--ink-3); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media (max-width: 860px) {
    .hero-grid, .hero--compact .hero-grid { grid-template-columns: 1fr; }
    .hero--compact .portrait { max-width: 180px; }
    .portrait { max-width: 240px; order: -1; }
    .hero .intro { margin-top: 24px; }
}

/* ---------- Fact strip ---------- */

.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.facts > div { padding: 20px 24px 24px; text-align: center; }
.facts > div + div { border-left: 1px solid var(--line); }
.facts dd { margin-top: 4px; color: var(--ink); font-weight: 500; font-size: 15px; line-height: 1.5; }

/* Homepage variant: one strong line per box, one quiet line under it */
.facts--home > div { padding: 26px 24px 28px; }
.facts--home dd { margin-top: 10px; font-weight: 400; }
.facts--home dd strong { display: block; font-size: 18px; font-weight: 600; letter-spacing: -.015em; line-height: 1.35; color: var(--ink); }
.facts--home dd span::first-letter { text-transform: uppercase; }
.facts--home dd span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.facts--home dd a { color: inherit; text-decoration: none; }
.facts--home dd strong a { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; transition: text-decoration-color .2s; }
.facts--home dd strong a:hover { text-decoration-color: var(--ink); }
.facts--home dd > a:hover strong { text-decoration: underline; text-decoration-color: var(--ink); text-underline-offset: 4px; }

@media (max-width: 600px) {
    .facts { grid-template-columns: 1fr; }
    .facts > div, .facts > div + div { padding: 16px 0 18px; border-left: 0; }
    .facts > div + div { border-top: 1px solid var(--line); }
    /* Homepage stats on phones: compact rows, label left, everything else the same weight */
    .facts > div, .facts > div + div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 12px 0; text-align: left; }
    .facts dd { margin-top: 0; font-size: 14px; font-weight: 500; line-height: 1.5; }
    .facts--home dd strong, .facts--home dd span { display: inline; font-size: 14px; font-weight: 500; letter-spacing: 0; line-height: 1.5; color: var(--ink); margin: 0; }
    .facts--home dd > a:hover strong { text-decoration: none; }
    .facts--home dd strong:not(:last-child)::after { content: ", "; }
    .facts--home .facts-note { display: none; }
    .facts--home dd strong:has(+ .facts-note)::after { content: none; }
}

/* ---------- Sections: heading left, content right ---------- */

.row { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 20px 64px; padding: clamp(56px, 7vw, 88px) 0; border-top: 1px solid var(--line); }
.facts + .row { border-top: 1px solid var(--line); }
.row > h2 { font-size: 22px; line-height: 1.3; align-self: start; position: sticky; top: 104px; }
.row-body { max-width: 720px; }
.row-body > p + p { margin-top: 18px; }
.row-body > .lead { font-size: clamp(18px, 1.9vw, 20px); line-height: 1.6; color: var(--ink); }
.row-body > .lead + p { margin-top: 22px; }
.hero--compact ~ .row > .row-body > .lead { font-size: clamp(17px, 1.7vw, 19px); }
.row-body > .intro-line { margin-bottom: 28px; }

@media (max-width: 860px) {
    .row { grid-template-columns: 1fr; gap: 20px; }
    .row > h2 { position: static; font-size: 24px; }
}

/* ---------- Definition grid ---------- */

.deflist { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; margin-top: 40px; border-top: 1px solid var(--line); }
.deflist > div { padding: 16px 0 18px; border-bottom: 1px solid var(--line); }
.deflist dd { margin-top: 2px; color: var(--ink); font-size: 15px; line-height: 1.55; }
@media (max-width: 600px) { .deflist { grid-template-columns: 1fr; } }

/* ---------- Companies ---------- */

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card {
    display: flex; flex-direction: column;
    background: var(--card); border: 1px solid var(--line); padding: 26px 26px 22px;
    text-decoration: none; color: inherit; transition: border-color .2s;
}
.card:hover { border-color: var(--ink); }
.card h3 { font-size: 19px; letter-spacing: -.015em; }
.card .role { font-size: 13px; color: var(--teal); font-weight: 500; margin-top: 2px; }
.card p { font-size: 14.5px; line-height: 1.65; margin-top: 14px; flex: 1; }
.card .domain { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13px; }
.card:hover .domain { color: var(--ink); }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Publications ---------- */

.pubs { list-style: none; border-top: 1px solid var(--ink); }
.pubs li { border-bottom: 1px solid var(--line); }
.pubs a { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 4px 24px; padding: 22px 0 24px; text-decoration: none; color: inherit; }
.pub-type { font-size: 13px; color: var(--ink-3); padding-top: 2px; }
.pub-title { color: var(--ink); font-weight: 500; font-size: 16px; line-height: 1.5; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; text-decoration-thickness: 1px; transition: text-decoration-color .2s; }
.pubs a:hover .pub-title { text-decoration-color: var(--ink); }
.pub-note { display: block; margin-top: 4px; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.pub-meta { grid-column: 2; margin-top: 6px; font-size: 13px; color: var(--ink-3); }
.pubs + .more { margin-top: 22px; font-size: 14.5px; }
@media (max-width: 600px) {
    .pubs a { grid-template-columns: 1fr; }
    .pub-meta { grid-column: 1; }
}

/* ---------- Expertise ---------- */

.topics { list-style: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; border-top: 1px solid var(--ink); }
.topics li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; font-size: 15px; }
@media (max-width: 600px) { .topics { grid-template-columns: 1fr; } }

/* ---------- Official profiles ---------- */

.pgroup + .pgroup { margin-top: 36px; }
.pgroup h3 { font-size: 14px; font-weight: 600; letter-spacing: 0; margin-bottom: 8px; }
.ptable { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; border-top: 1px solid var(--ink); }
.ptable a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: 15px; font-weight: 500; min-width: 0; transition: border-color .2s; }
.ptable a .ident { color: var(--ink-3); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .2s; }
.ptable a:hover { border-bottom-color: var(--ink); }
.ptable a:hover .ident { color: var(--ink); }
@media (max-width: 600px) { .ptable { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */

.panel { background: var(--ink); color: #b9b8b2; padding: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 72px; align-items: center; margin: 8px 0 clamp(56px, 7vw, 88px); }
.panel h2 { color: #fff; font-size: clamp(32px, 4vw, 46px); letter-spacing: -.03em; }
.panel p { margin-top: 16px; max-width: 38ch; }
.panel-links { border-top: 1px solid #2c2c2a; }
.panel-links a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 15px 0; border-bottom: 1px solid #2c2c2a; color: #fff; text-decoration: none; font-size: 15px; transition: color .2s; }
.panel-links a span { color: #8f8e88; font-size: 13px; }
.panel-links a:hover { color: #8fdcd3; }
@media (max-width: 860px) { .panel { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */

.footer { border-top: 1px solid var(--line); padding: 56px 0 36px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid > div > p:not(.fhead) { margin-top: 16px; max-width: 30ch; color: var(--ink-3); line-height: 1.65; }
.footer-grid .fhead { font-size: 14px; font-weight: 600; letter-spacing: 0; }
.footer-grid ul { list-style: none; margin-top: 12px; display: grid; gap: 6px; }
.footer-grid ul a { text-decoration: none; color: var(--ink-3); transition: color .2s; }
.footer-grid ul a:hover { color: var(--ink); }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
    /* Footer on phones: brand and blurb across the full width, then the three link lists side by side */
    .footer { padding: 44px 0 28px; }
    .footer-grid { grid-template-columns: auto auto auto; justify-content: space-between; gap: 32px 16px; }
    .footer-grid ul a { white-space: nowrap; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
    .footer-grid > div:first-child p { max-width: none; }
    .footer .brand { font-size: 15px; gap: 12px; }
    .footer-grid ul { gap: 8px; }
    .footer-base { margin-top: 36px; }
    /* Contact panel: less inner padding so links fit on one line */
    .panel { padding: 32px 24px; }
}

/* ---------- Expertise pillars ---------- */

.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.pillars h3 { font-size: 18px; letter-spacing: -.015em; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.pillars p { margin: 14px 0 18px; font-size: 15px; line-height: 1.65; }
.pillars--grid { row-gap: 28px; }
.pillars--grid p { margin-bottom: 0; }
.pillars .topics { grid-template-columns: 1fr; border-top: 0; }
.pillars .topics li { padding: 11px 0; }
@media (max-width: 600px) {
    /* Topic lists sit clearly below the pillar headings on phones */
    .pillars .topics { margin-top: 2px; }
    .pillars .topics li { padding: 7px 0 7px 16px; position: relative; border-bottom: 0; font-size: 14px; font-weight: 400; color: var(--ink-2); }
    .pillars .topics li::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 1px; background: var(--ink-3); }
}
@media (max-width: 700px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Media list ---------- */

.pubs--media a { grid-template-columns: 170px minmax(0, 1fr); }
.pubs--media .pub-type { color: var(--ink); font-weight: 500; }
@media (max-width: 600px) { .pubs--media a { grid-template-columns: 1fr; } }

/* ---------- Entity home (collapsible fact sheet) ---------- */

.entity { padding: 0 0 clamp(56px, 7vw, 88px); }
.panel + .entity { margin-top: calc(-1 * clamp(24px, 3vw, 40px)); }
.entity details { border: 1px solid var(--line); background: var(--card); }
.entity summary {
    list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 18px 24px; color: var(--ink); font-weight: 600; font-size: 15px; letter-spacing: -.01em;
}
.entity summary::-webkit-details-marker { display: none; }
.entity summary::after { content: "+"; font-weight: 400; font-size: 22px; line-height: 1; color: var(--ink-3); transition: transform .2s; }
.entity details[open] summary::after { transform: rotate(45deg); }
.entity summary:hover::after { color: var(--ink); }
.entity-body { padding: 4px 24px 28px; border-top: 1px solid var(--line); }
.entity-summary { margin: 20px 0 8px; max-width: none; font-size: 15px; color: var(--ink); }
.entity table { width: 100%; border-collapse: collapse; margin-top: 32px; font-size: 14px; line-height: 1.5; }
.entity caption { text-align: left; font-weight: 600; color: var(--ink); font-size: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.entity th, .entity td { text-align: left; vertical-align: top; padding: 10px 16px 10px 0; border-bottom: 1px solid var(--line); }
.entity thead th { font-weight: 400; color: var(--ink-3); font-size: 13px; }
.entity tbody th { font-weight: 400; color: var(--ink-3); width: 200px; }
.entity tbody td { color: var(--ink); overflow-wrap: anywhere; }
.entity tbody td:first-child:not(:only-child) { color: var(--ink-3); width: 120px; }
.entity-note { margin-top: 24px; font-size: 13.5px; color: var(--ink-3); }
@media (max-width: 700px) {
    .entity-body { padding: 4px 16px 24px; }
    .entity summary { padding: 16px; }
    .entity table, .entity tbody, .entity tr, .entity th, .entity td, .entity caption { display: block; width: 100% !important; }
    .entity thead { display: none; }
    .entity tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
    .entity th, .entity td { border: 0; padding: 1px 0; }
}

/* ---------- Homepage: pillar links ---------- */

.pillar-link { margin-top: 18px !important; font-size: 14px; font-weight: 500; }

/* ---------- Timeline ---------- */

.timeline { list-style: none; margin-top: 36px; border-top: 1px solid var(--ink); }
.timeline li { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 4px 24px; padding: 20px 0 22px; border-bottom: 1px solid var(--line); }
.tl-year { color: var(--ink); font-weight: 600; font-size: 15px; padding-top: 1px; }
.timeline h3 { font-size: 16px; letter-spacing: -.01em; }
.timeline p { margin-top: 6px; font-size: 15px; line-height: 1.65; }
.row-body > .more { margin-top: 22px; font-size: 14.5px; font-weight: 500; }
@media (max-width: 600px) { .timeline li { grid-template-columns: 1fr; } }

/* ---------- Photos ---------- */

.photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border: 1px solid var(--line); }
@media (max-width: 600px) { .photos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- FAQ (open, no accordion) ---------- */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 22px 0; color: var(--ink); font-weight: 600; font-size: 16.5px; letter-spacing: -.01em; line-height: 1.45; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-weight: 400; font-size: 22px; line-height: 1; color: var(--ink-3); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover::after { color: var(--ink); }
.faq summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
.faq details p { margin: -8px 0 0; padding-bottom: 24px; font-size: 15px; line-height: 1.7; max-width: 68ch; }

/* Companies: secondary group (sold company, side project) */
.cards-group { margin-top: 40px; }
.card--static:hover { border-color: var(--line); }
.cards-label { font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--ink-3); margin-bottom: 14px; }

/* ---------- Motion (opt-in: <html class="anim">, set by a script, so no-JS visitors see everything) ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: no-preference) {
    /* One motion everywhere: fade up. Hero items in sequence on load, the rest on scroll. */
    .anim .hero h1,
    .anim .hero .intro,
    .anim .hero .actions,
    .anim .hero .portrait,
    .anim .facts { animation: rise 1s cubic-bezier(.2, .7, .2, 1) both; }
    .anim .hero h1 { animation-delay: .05s; }
    .anim .hero .portrait { animation-delay: .15s; }
    .anim .hero .intro { animation-delay: .2s; }
    .anim .hero .actions { animation-delay: .35s; }
    .anim .facts { animation-delay: .5s; }

    .anim .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
    .anim .reveal.in { opacity: 1; transform: none; }
}
