/* Micael Costa portfolio — deliberately dependency-free */
:root {
  --bg: #000;
  --bg-elevated: #080808;
  --surface: #0d0d0d;
  --surface-2: #151515;
  --text: #f7f7f7;
  --muted: #a1a1aa;
  --faint: #85858f;
  --line: rgba(255,255,255,.11);
  --line-strong: rgba(255,255,255,.22);
  --accent: #78bfff;
  --accent-soft: rgba(120,191,255,.11);
  --accent-border: rgba(120,191,255,.34);
  --accent-ink: #09090b;
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --page: min(1240px, calc(100vw - 48px));
  --radius-card: 24px;
  --radius-panel: 18px;
  --radius-small: 12px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
::selection { color: var(--accent-ink); background: var(--accent); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 200; left: 16px; top: 12px; padding: 8px 14px; background: var(--accent); color: var(--accent-ink); transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: none; }
svg { display: block; }

/* Header */
.site-header { position: sticky; z-index: 50; top: 0; height: 72px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: blur(18px); }
.nav-shell { width: var(--page); height: 100%; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: baseline; font-weight: 760; letter-spacing: -.04em; font-size: 20px; }
.brand span { color: var(--accent); font-family: var(--mono); font-size: .78em; margin-right: 2px; }
.desktop-nav { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 38px; }
.desktop-nav a { color: var(--muted); font-size: 13px; font-weight: 650; letter-spacing: .04em; }
.desktop-nav a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-button { min-height: 38px; border: 1px solid var(--line); border-radius: 999px; background: transparent; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 12px; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.icon-button:hover { border-color: var(--line-strong); background: var(--surface); }
.icon-button:active { transform: scale(.97); }
.icon-button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.search-trigger span { font-size: 12px; font-weight: 650; }
kbd { font-family: var(--mono); color: var(--faint); font-size: 10px; }

.mobile-nav { display: none; position: relative; }
.mobile-nav summary { width: 38px; padding: 10px; list-style: none; flex-direction: column; gap: 4px; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary span { width: 15px; height: 1px; background: currentColor; }
.mobile-nav nav { position: absolute; right: 0; top: 48px; width: min(300px, calc(100vw - 32px)); padding: 12px; background: var(--bg-elevated); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 24px 80px rgba(0,0,0,.35); }
.mobile-nav nav a { display: block; padding: 14px; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 680; }
.mobile-nav nav a:last-child { border: 0; }

/* Hero */
.hero { min-height: calc(100svh - 72px); position: relative; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line); isolation: isolate; }
.stars { position: absolute; inset: 0; z-index: -3; opacity: .86; background-image: radial-gradient(circle at center, rgba(120,191,255,.4), transparent 1.2px), radial-gradient(circle at center, rgba(255,255,255,.68), transparent 1.2px), radial-gradient(circle at center, rgba(255,255,255,.42), transparent 1.2px); background-size: 97px 97px, 167px 167px, 239px 239px; background-position: 13px 21px, 44px 79px, 105px 33px; mask-image: linear-gradient(to bottom, #000, transparent 96%); }
.stars::before,.stars::after { content: ""; position: absolute; inset: 0; pointer-events: none; will-change: opacity; transform: translateZ(0); }
.stars::before { background-image: radial-gradient(circle, rgba(255,255,255,.98) 0 1.1px, rgba(255,255,255,.22) 1.2px 2px, transparent 2.4px), radial-gradient(circle, rgba(120,191,255,.95) 0 1.1px, rgba(120,191,255,.2) 1.2px 2px, transparent 2.4px); background-size: 211px 211px, 307px 307px; background-position: 31px 47px, 137px 83px; animation: star-blink-a 5.2s ease-in-out infinite; }
.stars::after { background-image: radial-gradient(circle, rgba(255,255,255,.9) 0 1.1px, rgba(255,255,255,.18) 1.2px 2px, transparent 2.4px), radial-gradient(circle, rgba(184,217,248,.88) 0 1.1px, rgba(184,217,248,.18) 1.2px 2px, transparent 2.4px); background-size: 263px 263px, 359px 359px; background-position: 173px 29px, 61px 181px; animation: star-blink-b 7.1s ease-in-out -2.4s infinite; }
@keyframes star-blink-a { 0%,100% { opacity: .24; } 46% { opacity: .95; } 62% { opacity: .34; } }
@keyframes star-blink-b { 0%,100% { opacity: .28; } 38% { opacity: .84; } 74% { opacity: .4; } }

.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(circle at 50% 48%, transparent 0 18%, rgba(0,0,0,.14) 52%, rgba(0,0,0,.72) 84%, var(--bg) 100%); }
.hero-orbit { position: absolute; z-index: -1; left: 50%; top: 50%; border: 1px solid var(--line); border-radius: 50%; transform: translate(-50%,-50%) rotate(-13deg); }
.orbit-one { width: min(70vw, 900px); aspect-ratio: 1; }
.orbit-two { width: min(48vw, 610px); aspect-ratio: 1; transform: translate(-50%,-50%) rotate(18deg); }
.hero-content { width: min(980px, calc(100% - 40px)); text-align: center; padding: 80px 0 120px; }
.eyebrow { display: flex; justify-content: center; align-items: center; gap: 12px; color: var(--muted); text-transform: uppercase; font-family: var(--mono); font-size: 12px; letter-spacing: .15em; }
.eyebrow span { width: 24px; height: 1px; background: var(--accent); }
.hero h1 { margin: 25px 0 28px; font-size: clamp(54px, 8.4vw, 126px); line-height: .86; letter-spacing: -.075em; font-weight: 760; }
.hero h1 em, .section-heading h2 em, .archive h1 em { font-family: var(--serif); color: var(--text); font-weight: 400; }
.hero h1 em { background: linear-gradient(90deg, #fff 12%, #b8d9f8 100%); background-clip: text; -webkit-background-clip: text; color: transparent; }
.hero-copy { max-width: 655px; margin: auto; color: var(--muted); font-size: clamp(17px, 2vw, 21px); line-height: 1.55; }
.hero-actions { display: flex; gap: 10px; justify-content: center; margin-top: 38px; }
.button { min-height: 48px; padding: 0 22px; border: 1px solid var(--line); border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 14px; font-weight: 600; background: transparent; transition: all .5s ease-in-out; }
.button:hover { transform: translateY(-2px); border-color: var(--accent-border); background: var(--accent-soft); box-shadow: 0 12px 34px rgba(120,191,255,.1); }
.button:active { transform: scale(.95); transition-duration: .12s; }
.button-primary { color: var(--text); border-color: var(--line-strong); }
.button-quiet { color: var(--muted); }
.button-icon { width: 17px; height: 17px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; }
.github-icon { fill: currentColor; stroke: none; }
.github-icon-lucide { fill: none; stroke: currentColor; }
.button:hover .github-icon-lucide { transform: rotate(12deg); }
.button:hover .arrow-icon { transform: translateX(4px); }
.scroll-cue { position: absolute; left: 24px; bottom: 26px; display: flex; gap: 14px; align-items: center; color: var(--faint); font: 11px var(--mono); text-transform: uppercase; letter-spacing: .11em; writing-mode: vertical-rl; }
.scroll-cue i { height: 54px; width: 1px; overflow: hidden; background: var(--line); position: relative; }
.scroll-cue i::after { content: ""; position: absolute; width: 1px; height: 40%; left: 0; background: var(--accent); animation: scroll-line 2s ease-in-out infinite; }
@keyframes scroll-line { from { transform: translateY(-120%); } to { transform: translateY(270%); } }
.reveal { opacity: 0; animation: reveal .75s cubic-bezier(.22,.7,.2,1) forwards; }
.reveal-1 { animation-delay: .08s; }.reveal-2 { animation-delay: .16s; }.reveal-3 { animation-delay: .26s; }.reveal-4 { animation-delay: .36s; }
@keyframes reveal { from { opacity: 0; transform: translateY(18px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

/* Projects */
.projects-section { width: var(--page); margin: auto; padding: 96px 0 104px; }
.section-heading { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(260px,.55fr); align-items: end; gap: 56px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.section-number { color: var(--accent); font: 12px var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.section-heading h2 { margin: 14px 0 0; max-width: 750px; font-size: clamp(43px, 6vw, 80px); line-height: .98; letter-spacing: -.055em; }
.section-heading > p { color: var(--muted); margin: 0 0 6px; max-width: 400px; }
.filter-bar { display: flex; gap: 8px; margin: 28px 0 36px; flex-wrap: wrap; }
.filter-button { border: 1px solid var(--line); background: transparent; padding: 9px 15px; cursor: pointer; color: var(--muted); font-size: 12px; border-radius: 999px; }
.filter-button:hover, .filter-button.active { color: var(--text); border-color: var(--accent-border); background: var(--accent-soft); }
.project-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: stretch; gap: 28px; }
.project-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); transition: opacity .3s, transform .3s, border-color .3s, box-shadow .3s; }
.project-card:hover { transform: translateY(-4px); border-color: var(--accent-border); box-shadow: 0 22px 65px rgba(0,0,0,.28); }
.project-card[hidden] { display: none; }
.card-media { display: block; position: relative; overflow: hidden; aspect-ratio: 16/10; background: var(--surface); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .3s; }
.card-media:hover img { transform: scale(1.025); filter: brightness(.82); }
.card-category { position: absolute; z-index: 2; top: 18px; right: 18px; padding: 7px 11px; border: 1px solid var(--accent-border); border-radius: 999px; background: color-mix(in srgb, var(--bg) 82%, transparent); color: #b8d9f8; backdrop-filter: blur(10px); font: 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.card-body { min-height: 150px; display: flex; flex-direction: column; align-items: flex-start; padding: 24px; }
.card-body h3 { margin: 0; font-size: clamp(25px, 2.5vw, 34px); line-height: 1.1; letter-spacing: -.04em; }
.card-body h3 a:hover { color: var(--accent); }
.card-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 22px; color: var(--accent); font-size: 14px; font-weight: 600; transition: gap .2s; }
.card-cta svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.project-card:hover .card-cta { gap: 12px; }.project-card:hover .card-cta svg { transform: translateX(2px); }
/* Project detail */
.project-page { width: 100%; }
.project-back { width: var(--page); max-width: 1120px; margin: auto; padding: 28px 0 22px; }
.project-back a { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 13px; transition: color .2s, transform .2s; }
.project-back a:hover { color: var(--text); transform: translateX(-3px); }
.project-back svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.project-cover { width: var(--page); max-width: 1120px; margin: 0 auto; aspect-ratio: 16/10; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); }
.project-cover img { width: 100%; height: 100%; object-fit: cover; }
.project-content { width: min(880px, calc(100vw - 48px)); margin: auto; padding: 58px 0 120px; }
.project-meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 42px; padding: 0 0 34px; border-bottom: 1px solid var(--line); }
.project-meta-row > div { min-width: 120px; }
.project-meta-row h2 { margin: 0 0 5px; color: var(--faint); font: 11px var(--mono); text-transform: uppercase; letter-spacing: .12em; }
.project-meta-row p { margin: 0; color: var(--muted); font-size: 14px; }
.repository-button { margin-left: auto; min-height: 42px; }
.project-heading { padding: 48px 0 54px; }
.project-category { margin: 0 0 12px; color: var(--accent); font: 11px var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.project-heading h1 { margin: 0; font-size: clamp(45px,7vw,76px); line-height: .98; letter-spacing: -.06em; }
.project-heading > p:last-child { max-width: 720px; margin: 22px 0 0; color: var(--muted); font-size: clamp(18px,2.2vw,22px); line-height: 1.55; }
.prose { min-width: 0; color: color-mix(in srgb, var(--text) 86%, var(--muted)); font-size: 17px; line-height: 1.82; }
.prose > :first-child { margin-top: 0; }
.prose h1, .prose h2, .prose h3, .prose h4 { color: var(--text); line-height: 1.2; letter-spacing: -.035em; scroll-margin-top: 100px; }
.prose h1 { font-size: 42px; }.prose h2 { margin: 64px 0 18px; font-size: 34px; }.prose h3 { margin: 40px 0 12px; font-size: 24px; }.prose h4 { font-size: 19px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose img { margin: 35px auto; border: 1px solid var(--line); border-radius: var(--radius-small); }
.prose .media-embed { margin: 35px 0; }
.prose .media-frame { width: 100%; aspect-ratio: 16/9; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-small); background: #000; }
.prose .media-frame video, .prose .media-frame iframe { display: block; width: 100%; height: 100%; border: 0; background: #000; object-fit: contain; }
.prose .media-embed figcaption { margin-top: 10px; color: var(--faint); font-size: 13px; line-height: 1.5; text-align: center; }
.prose code { font-family: var(--mono); font-size: .86em; padding: .15em .35em; color: var(--accent); background: var(--surface); }
.prose pre { position: relative; max-width: 100%; margin: 30px 0; padding: 22px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-small); background: #0b0e14 !important; color: #d8dee9; }
.prose pre code { color: inherit; background: transparent; padding: 0; }
.copy-code { position: absolute; top: 9px; right: 9px; z-index: 2; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: #151923; color: #c1c6ce; padding: 6px 10px; cursor: pointer; font: 10px var(--mono); text-transform: uppercase; }
.prose blockquote { margin: 30px 0; padding: 10px 0 10px 24px; border-left: 2px solid var(--accent); color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; margin: 32px 0; font-size: 14px; }.prose th,.prose td { border-bottom: 1px solid var(--line); padding: 10px; text-align: left; }.prose th { color: var(--text); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 60px 0; }
.project-next { width: var(--page); max-width: 1120px; margin: 0 auto 96px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.project-next a { display: grid; grid-template-columns: 1fr auto auto; gap: 30px; align-items: center; padding: 42px 4px; }.project-next span { color: var(--muted); font-size: 13px; }.project-next strong { font: 400 36px var(--serif); }.project-next i { font-style: normal; color: var(--accent); }
.project-next svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.project-next a:hover svg { transform: translate(3px,-3px); }
.page-enter { opacity: 0; animation: project-enter .65s cubic-bezier(.22,.7,.2,1) forwards; }
.page-enter-1 { animation-delay: .03s; }.page-enter-2 { animation-delay: .09s; }.page-enter-3 { animation-delay: .16s; }.page-enter-4 { animation-delay: .22s; }.page-enter-5 { animation-delay: .28s; }
@keyframes project-enter { from { opacity: 0; transform: translateY(14px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }

/* Archive */
.archive { width: var(--page); margin: auto; min-height: 75vh; padding: 100px 0 150px; }
.archive header { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: end; margin-bottom: 80px; }
.archive header .section-number { grid-column: 1/-1; }.archive h1 { margin: 0; font-size: clamp(65px,10vw,130px); line-height: .9; letter-spacing: -.07em; }.archive header > p:last-child { color: var(--muted); max-width: 400px; }
.archive-list { border-top: 1px solid var(--line); }.archive-list a { display: grid; grid-template-columns: 1fr 180px 30px; align-items: center; gap: 20px; min-height: 105px; border-bottom: 1px solid var(--line); transition: padding .2s, color .2s; }.archive-list a:hover { padding-left: 10px; color: var(--accent); }.archive-list small { color: var(--muted); font: 11px var(--mono); text-transform: uppercase; }.archive-list strong { font-size: 25px; }.archive-list i { font-style: normal; }.archive-list svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Search */
.search-dialog { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 11vh 20px 20px; border: 0; background: transparent; color: var(--text); }
.search-dialog::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(10px); }
.search-box { width: min(630px,100%); max-height: 72vh; margin: auto; overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius-panel); background: var(--bg-elevated); box-shadow: 0 30px 100px rgba(0,0,0,.5); animation: dialog-in .22s cubic-bezier(.22,.7,.2,1); }
@keyframes dialog-in { from { transform: translateY(-10px) scale(.98); opacity: 0; } }
.search-head { height: 68px; display: flex; align-items: center; gap: 13px; padding: 0 18px; border-bottom: 1px solid var(--line); }.search-head svg { width: 19px; fill: none; stroke: var(--muted); stroke-width: 1.8; }.search-head input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 16px; }.search-close { border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); padding: 5px 8px; cursor: pointer; font: 10px var(--mono); }
.search-results { max-height: 52vh; overflow-y: auto; padding: 8px; }.search-result { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 14px; min-height: 70px; padding: 9px 11px; border: 1px solid transparent; border-radius: var(--radius-small); }.search-result:hover,.search-result.active { border-color: var(--line); background: var(--surface); }.result-icon { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); color: var(--accent); }.result-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }.result-icon .github-icon { fill: currentColor; stroke: none; color: var(--text); }.search-result strong,.search-result small { display: block; }.search-result strong { font-size: 14px; }.search-result small { max-width: 390px; overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }.search-result i { color: var(--faint); font: 10px var(--mono); text-transform: uppercase; font-style: normal; }.search-empty { color: var(--muted); text-align: center; padding: 35px; }
.search-result[hidden] { display: none; }
.search-help { display: flex; align-items: center; gap: 22px; padding: 13px 16px; border-top: 1px solid var(--line); color: #c1c1c8; font-size: 12px; line-height: 1.4; }.search-help span { display: inline-flex; align-items: center; gap: 5px; }.search-help kbd { display: inline-grid; min-width: 24px; height: 24px; place-items: center; margin: 0; border: 1px solid var(--line-strong); border-radius: 6px; padding: 0 6px; background: var(--surface-2); color: var(--text); font-size: 11px; box-shadow: inset 0 -1px rgba(255,255,255,.05); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-elevated); }
.footer-inner { width: var(--page); margin: auto; padding: 70px 0 35px; display: grid; grid-template-columns: 1fr auto; gap: 45px; }.footer-inner p { color: var(--faint); margin: 8px 0 0; font-size: 13px; }.footer-links { display: flex; gap: 28px; font-size: 14px; }.footer-links a { display: inline-flex; align-items: center; gap: 4px; }.footer-links svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }.footer-links a:hover { color: var(--accent); }.footer-links a:hover svg { transform: translate(2px,-2px); }.copyright { grid-column: 1/-1; padding-top: 25px; border-top: 1px solid var(--line); }

.js .reveal-on-scroll { opacity: 0; transform: translateY(18px); transition: opacity .65s cubic-bezier(.22,.7,.2,1), transform .65s cubic-bezier(.22,.7,.2,1); }
.js .reveal-on-scroll.is-visible { opacity: 1; transform: none; }

@media (max-width: 800px) {
  :root { --page: calc(100vw - 32px); }
  .desktop-nav { display: none; }.mobile-nav { display: block; }.search-trigger span,.search-trigger kbd { display: none; }.search-trigger { width: 38px; padding: 0; }
  .scroll-cue { left: 50%; bottom: 14px; transform: translateX(-50%); flex-direction: column; gap: 8px; writing-mode: horizontal-tb; white-space: nowrap; font-size: 10px; }.scroll-cue i { height: 28px; }.hero-content { padding: 60px 0 112px; }.hero h1 { font-size: clamp(52px,16vw,82px); }.orbit-one { width: 120vw; }.orbit-two { width: 90vw; }
  .section-heading,.archive header { grid-template-columns: 1fr; gap: 22px; }.projects-section { padding: 72px 0 80px; }.section-heading { padding-bottom: 32px; }.section-heading h2 { font-size: 46px; }
  .project-grid { grid-template-columns: 1fr; gap: 28px; }

  .project-back { padding-top: 20px; }.project-content { width: var(--page); padding: 42px 0 90px; }.project-meta-row { gap: 18px 28px; }.repository-button { margin-left: 0; }.project-heading { padding: 42px 0 48px; }.project-heading h1 { font-size: 50px; }
  .archive header .section-number { grid-column: auto; }.archive-list a { grid-template-columns: 1fr 25px; }.archive-list small { display: none; }
  .footer-inner { grid-template-columns: 1fr; }.copyright { grid-column: auto; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }.hero h1 { letter-spacing: -.06em; }.card-body { min-height: 136px; }.project-meta-row { align-items: flex-start; flex-direction: column; }.repository-button { width: 100%; }.project-heading h1 { font-size: 44px; }.project-next a { grid-template-columns: 1fr auto; }.project-next span { grid-column: 1/-1; }.search-result i { display: none; }.search-help { justify-content: center; gap: 18px; }.search-help span:first-child { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
