/* ============ FONTS (self-hosted, OFL) ============ */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  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: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2");
  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;
}

/* ============ TOKENS ============ */
:root {
  --paper: #ECE9E2;
  --ink: #111110;
  --muted: #66625A;
  --line: rgba(17, 17, 16, .14);
  --accent: #2F80ED;
  --accent-deep: #1F5BB5;           /* accent for small text on light bg */
  --on-dark: #ECE9E2;
  --on-dark-muted: rgba(236, 233, 226, .62);
  --line-dark: rgba(236, 233, 226, .16);

  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --gap: clamp(1rem, 2vw, 1.5rem);
  --nav-h: 64px;

  --f-sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

/* ============ BASE ============ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-sans);
  font-size: clamp(1rem, .96rem + .18vw, 1.125rem);
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
section[id], header[id] { scroll-margin-top: var(--nav-h); }

.wrap { width: 100%; max-width: 1480px; margin-inline: auto; padding-inline: var(--pad); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.mono { font-family: var(--f-mono); font-size: .72rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; line-height: 1.4; }
.display { font-weight: 800; font-stretch: 62%; text-transform: uppercase; line-height: .86; letter-spacing: -.005em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.arrow { width: 1em; height: 1em; flex: none; }

/* ============ REVEAL SYSTEM ============ */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 1s var(--ease), transform 1.2s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].in { opacity: 1; transform: none; }

/* The clip goes on an inner span so the observed heading keeps its full visible area */
.js .reveal-clip[data-reveal] { opacity: 1; transform: none; }
.js .reveal-clip[data-reveal] > span {
  display: block;
  transform: translateY(.35em);
  clip-path: inset(100% 0 -.2em 0);
  transition: clip-path 1.2s var(--ease), transform 1.2s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal-clip[data-reveal].in > span { transform: none; clip-path: inset(-.2em -.1em -.2em -.1em); }

/* ============ PROGRESS + NAV ============ */
.progress {
  position: fixed; inset: 0 0 auto; height: 3px; z-index: 90;
  background: var(--accent); transform: scaleX(0); transform-origin: left; pointer-events: none;
}

.nav {
  position: fixed; inset: 0 0 auto; z-index: 80;
  border-bottom: 1px solid transparent;
  transition: transform .7s var(--ease), background-color .4s, border-color .4s, color .4s;
}
.nav.is-solid { background: var(--paper); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }

.logo { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-stretch: 75%; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .01em; }
.logo-mark { width: .7rem; height: .7rem; background: var(--accent); transition: transform .7s var(--ease); }
.logo:hover .logo-mark { transform: rotate(135deg); }

.nav-links { display: flex; gap: clamp(1.25rem, 2.6vw, 2.75rem); }
.nav-links a { position: relative; display: inline-flex; gap: .4rem; padding-block: .3rem; transition: color .3s; }
.nav-links a span { color: var(--muted); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav-links a:hover::after, .nav-links a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.is-current span { color: var(--accent-deep); }

.menu-btn { display: none; align-items: center; gap: .75rem; height: 2.5rem; }
.menu-icon { position: relative; width: 1.35rem; height: .6rem; }
.menu-icon::before, .menu-icon::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor;
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.menu-icon::before { top: 0; }
.menu-icon::after { top: calc(100% - 2px); }

.sheet {
  position: fixed; inset: 0; z-index: 70;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 2rem) var(--pad) 2rem;
  background: var(--ink); color: var(--on-dark);
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .8s var(--ease-io), visibility 0s linear .8s;
}
.sheet-links li { overflow: hidden; border-top: 1px solid var(--line-dark); }
.sheet-links a {
  display: flex; align-items: baseline; gap: 1rem; padding-block: .5rem .2rem;
  font-weight: 800; font-stretch: 62%; text-transform: uppercase; font-size: clamp(3rem, 15vw, 6rem); line-height: .95;
  transform: translateY(105%); transition: transform .8s var(--ease);
}
.sheet-links a .mono { color: var(--accent); }
.sheet-foot { display: flex; gap: 1.5rem; color: var(--on-dark-muted); }

body.menu-open { overflow: hidden; }
.menu-open .nav { color: var(--on-dark); background: transparent; border-color: transparent; transform: none; }
.menu-open .menu-icon::before { top: calc(50% - 1px); transform: rotate(45deg); }
.menu-open .menu-icon::after { top: calc(50% - 1px); transform: rotate(-45deg); }
.menu-open .sheet { clip-path: inset(0); visibility: visible; transition: clip-path .8s var(--ease-io), visibility 0s; }
.menu-open .sheet-links a { transform: none; transition-delay: calc(.3s + var(--i) * .06s); }

/* ============ HERO ============ */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  padding-top: calc(var(--nav-h) + clamp(.5rem, 2vw, 1.5rem));
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: clamp(48px, 6vw, 88px) clamp(48px, 6vw, 88px);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%);
  mask-image: linear-gradient(180deg, #000, transparent 80%);
  opacity: .6;
}
.hero > .wrap { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: clamp(2rem, 5vh, 4rem); }

.hero-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 2rem; padding-top: .8rem; border-top: 1px solid var(--ink); }
.rec { display: inline-flex; align-items: center; gap: .55rem; }
.rec::before { content: ""; width: .55rem; height: .55rem; background: var(--accent); animation: blink 1.4s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero-title { position: relative; align-self: flex-start; font-size: clamp(4.5rem, 25vw, 24rem); }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .05em; margin-bottom: -.05em; }
.hero-title .line > span { display: block; }
.hero-title .line-sm { font-size: .3em; line-height: 1; padding-left: .04em; }
.tag-tech {
  position: absolute; right: -.08em; bottom: -.2em;
  font-size: .3em; line-height: 1; padding: .12em .18em .02em;
  background: var(--accent); color: var(--ink);
  transform: rotate(-5deg);
}

.hero-foot { align-items: end; row-gap: 2rem; }
.hero-copy { grid-column: 1 / span 7; }
.hero-lead { font-size: clamp(1.5rem, 2.8vw, 2.5rem); font-weight: 600; font-stretch: 85%; line-height: 1.15; letter-spacing: -.01em; }
.hero-sub { margin-top: 1rem; max-width: 46ch; color: var(--muted); }
.hero-actions { grid-column: 9 / -1; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem; }

.rotator {
  position: relative; display: inline-block; vertical-align: -.2em;
  height: 1.25em; overflow: hidden;
  background: var(--accent); color: var(--ink);
  transition: width .7s var(--ease);
}
.rotator span {
  position: absolute; left: 0; top: 0; padding-inline: .2em; line-height: 1.25em; white-space: nowrap;
  transform: translateY(105%); transition: transform .7s var(--ease);
}
.rotator span.is-on { transform: none; }
.rotator span.is-out { transform: translateY(-105%); }
html:not(.js) .rotator span:first-child { position: static; transform: none; }

/* hero intro */
.hero-title .line > span { transition: transform 1.3s var(--ease); }
.js .hero-title .line > span { transform: translateY(110%); }
.js .hero-title .line + .line > span { transition-delay: .08s; }
.js .tag-tech { opacity: 0; transform: rotate(-14deg) scale(1.9); transition: transform .55s cubic-bezier(.3, 1.5, .5, 1) .8s, opacity .15s linear .8s; }
.js .hero-fade { opacity: 0; transform: translateY(1rem); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, .45s); }
.is-ready .hero-title .line > span, .is-ready .hero-fade { opacity: 1; transform: none; }
.is-ready .tag-tech { opacity: 1; transform: rotate(-5deg); }

/* ============ BUTTONS ============ */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: .9rem; height: 3.25rem; padding-inline: 1.25rem;
  font-family: var(--f-mono); font-size: .76rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase;
  border: 1px solid var(--ink);
  transition: color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent);
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn .arrow { transition: transform .5s var(--ease); }
.btn-solid { background: var(--ink); color: var(--paper); }
@media (hover: hover) {
  .btn:hover::before { transform: none; }
  .btn:hover { color: var(--ink); }
  .btn:hover .arrow { transform: translate(2px, -2px); }
  .btn-down:hover .arrow { transform: translateY(3px); }
}

/* ============ MARQUEE ============ */
.marquee-clip { overflow: hidden; padding-block: clamp(1.5rem, 3vw, 3rem); }
.marquee {
  width: 108%; margin-left: -4%;
  background: var(--ink); color: var(--on-dark); overflow: hidden;
  transform: rotate(-1.6deg);
}
.marquee-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: flex; align-items: center; gap: 1.75rem; padding: .95rem 0 .8rem 1.75rem; white-space: nowrap;
  font-weight: 700; font-stretch: 62%; text-transform: uppercase; font-size: clamp(1.5rem, 3.2vw, 2.75rem); line-height: 1;
}
.marquee-item i { width: .4em; height: .4em; background: var(--accent); transform: rotate(45deg); }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ============ SECTIONS ============ */
.section { padding-block: clamp(5rem, 11vw, 10rem); }
.h2 { font-size: clamp(3rem, 7.5vw, 7.5rem); }

.sec-head { display: flex; align-items: center; gap: .9rem; margin-bottom: clamp(2rem, 5vw, 4rem); }
.sec-num { color: var(--accent-deep); }
.sec-rule { flex: 1; height: 1px; background: currentColor; opacity: .3; transform-origin: left; transition: transform 1.4s var(--ease) .15s; }
.js .sec-rule { transform: scaleX(0); }
.sec-head.in .sec-rule { transform: scaleX(1); }

/* ---- 01 About ---- */
.about-main { grid-column: 3 / -1; }
.about-text { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); max-width: 60rem; margin-top: clamp(2rem, 4vw, 3.5rem); }
.about-text p:first-child { font-size: 1.3em; font-weight: 500; font-stretch: 90%; line-height: 1.3; }
.about-text p + p { color: var(--muted); padding-top: .35rem; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(2.5rem, 5vw, 4.5rem); border-top: 1px solid var(--ink); }
.facts > div { padding: .9rem 1rem 0 0; }
.facts > div + div { padding-left: 1rem; border-left: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin-top: .6rem; font-weight: 800; font-stretch: 62%; font-size: clamp(3.25rem, 7vw, 6.5rem); line-height: .85; font-variant-numeric: tabular-nums; }

/* ---- 02 Content ---- */
.content-head { align-items: end; row-gap: 1.5rem; margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.content-head .h2 { grid-column: 1 / span 7; }
.content-head p { grid-column: 9 / -1; max-width: 34ch; color: var(--muted); }

.topics { border-top: 1px solid var(--ink); }
.topic {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: minmax(2.5rem, 1fr) minmax(0, 4fr) minmax(0, 4fr) minmax(0, 2fr);
  align-items: center; column-gap: var(--gap);
  padding-block: clamp(1.1rem, 2vw, 1.6rem);
  border-bottom: 1px solid var(--ink);
}
.topic::before {
  content: ""; position: absolute; inset: 0 calc(var(--pad) * -1); z-index: -1; background: var(--accent);
  transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease);
}
.topic-num { color: var(--accent-deep); transition: color .3s; }
.topic-title { font-weight: 800; font-stretch: 62%; text-transform: uppercase; font-size: clamp(2.75rem, 6.5vw, 6rem); line-height: .85; transition: transform .6s var(--ease); }
.topic-desc { max-width: 36ch; }
.topic-tags { justify-self: end; text-align: right; color: var(--muted); transition: color .3s; }
@media (hover: hover) {
  .topic:hover::before { transform: scaleY(1); }
  .topic:hover .topic-title { transform: translateX(.15em); }
  .topic:hover .topic-num, .topic:hover .topic-tags { color: var(--ink); }
}

/* ---- 03 Stack ---- */
.stack { background: var(--ink); color: var(--on-dark); }
.stack .sec-num { color: var(--accent); }
.stack-grid { align-items: start; row-gap: 3rem; }
.stack-aside { grid-column: 1 / span 5; position: sticky; top: calc(var(--nav-h) + 2rem); }
.stack-aside > p { margin-top: 1.5rem; max-width: 34ch; color: var(--on-dark-muted); }

.term { margin-top: clamp(2rem, 4vw, 3rem); border: 1px solid var(--line-dark); background: #0A0A09; }
.term-bar { display: flex; justify-content: space-between; padding: .65rem .9rem; border-bottom: 1px solid var(--line-dark); color: var(--on-dark-muted); }
.term-body { padding: 1rem .9rem 1.25rem; font-family: var(--f-mono); font-size: .8rem; line-height: 1.8; overflow-wrap: anywhere; }
.term-body p { white-space: pre-wrap; }
.term-body p[data-cmd]::before { content: "rodrigo@tech ~ % "; color: var(--accent); }
.term-body p:not([data-cmd]) { color: var(--on-dark-muted); }
.cursor { display: inline-block; width: .6em; height: 1.1em; vertical-align: -.2em; background: var(--accent); animation: blink 1s steps(1) infinite; }

.specs { grid-column: 7 / -1; border-top: 1px solid var(--line-dark); }
.spec { display: grid; grid-template-columns: 7rem 1fr; gap: 1.5rem; padding-block: clamp(1.5rem, 3vw, 2.25rem); border-bottom: 1px solid var(--line-dark); }
.spec dt { color: var(--accent); padding-top: .45rem; }
.spec h3 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); font-weight: 700; font-stretch: 80%; line-height: 1.05; letter-spacing: -.01em; }
.spec p { margin-top: .7rem; max-width: 46ch; color: var(--on-dark-muted); }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.1rem; }
.chips li {
  font-family: var(--f-mono); font-size: .76rem; padding: .45rem .7rem;
  border: 1px solid rgba(236, 233, 226, .28);
  transition: background-color .3s, color .3s, border-color .3s;
}
.chips li small { font-size: inherit; opacity: .6; }
.chips li.hl { border-color: var(--accent); color: var(--accent); }
@media (hover: hover) { .chips li:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); } }

/* ---- 04 Certs ---- */
.cert-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.cert {
  position: relative; isolation: isolate; overflow: hidden; height: 100%;
  display: flex; flex-direction: column; justify-content: space-between; gap: 3rem;
  min-height: clamp(15rem, 26vw, 22rem); padding: 1.25rem;
  border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  transition: color .5s var(--ease);
}
.cert::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  clip-path: inset(100% 0 0 0); transition: clip-path .6s var(--ease);
}
.cert-top { display: flex; justify-content: space-between; align-items: flex-start; }
.cert-check { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; background: var(--accent); color: var(--ink); transition: transform .6s var(--ease); }
.cert-check svg { width: 1rem; height: 1rem; }
.cert-name { font-weight: 800; font-stretch: 62%; text-transform: uppercase; font-size: clamp(2rem, 3.3vw, 3.25rem); line-height: .9; }
.cert-type { display: block; margin-top: .8rem; color: var(--muted); transition: color .5s; }
@media (hover: hover) {
  .cert:hover { color: var(--on-dark); }
  .cert:hover::before { clip-path: inset(0); }
  .cert:hover .cert-check { transform: rotate(-12deg) scale(1.12); }
  .cert:hover .cert-type { color: var(--on-dark-muted); }
}

/* ---- 05 Contact ---- */
.contact { background: var(--accent); color: var(--ink); padding-top: clamp(5rem, 11vw, 10rem); }
.contact ::selection { background: var(--ink); color: var(--accent); }
.contact .sec-num { color: var(--ink); }
.contact-title { font-size: clamp(4rem, 15vw, 15.5rem); margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.contact-grid { align-items: start; }
.contact-text { grid-column: 1 / span 4; max-width: 30ch; font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 500; line-height: 1.35; }
.socials { grid-column: 6 / -1; border-top: 1px solid var(--ink); }
.social {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 2.5rem 1fr auto 2rem; align-items: center; column-gap: 1rem;
  padding: 1.1rem 0; border-bottom: 1px solid var(--ink);
  transition: color .5s var(--ease), padding .6s var(--ease);
}
.social::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  clip-path: inset(0 100% 0 0); transition: clip-path .6s var(--ease);
}
.social-name { font-weight: 800; font-stretch: 62%; text-transform: uppercase; font-size: clamp(2.5rem, 5.5vw, 5rem); line-height: .9; }
.social .arrow { width: 1.6rem; height: 1.6rem; justify-self: end; transform: rotate(45deg); transition: transform .6s var(--ease), color .3s; }
@media (hover: hover) {
  .social:hover { color: var(--on-dark); padding-inline: 1rem; }
  .social:hover::before { clip-path: inset(0); }
  .social:hover .arrow { transform: none; color: var(--accent); }
}

.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; margin-top: clamp(4rem, 9vw, 8rem); padding-block: 1.5rem; border-top: 1px solid rgba(17, 17, 16, .35); }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ============ 404 ============ */
.notfound-meta { display: flex; justify-content: space-between; align-items: center; padding-top: 1rem; border-top: 1px solid var(--ink); }
.notfound-title { font-size: clamp(4.5rem, 19vw, 17rem); }
.notfound-tag {
  display: inline-block; margin-left: .15em; vertical-align: .9em;
  font-size: .3em; line-height: 1; padding: .12em .18em .02em;
  background: var(--accent); color: var(--ink);
  transform: rotate(-5deg);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .stack-aside { grid-column: 1 / -1; position: static; }
  .specs { grid-column: 1 / -1; }
  .cert-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-main { grid-column: 1 / -1; }
  .about-text { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; }
  .hero-copy, .hero-actions { grid-column: 1 / -1; }
  .hero-actions { justify-content: flex-start; }
  .content-head .h2, .content-head p { grid-column: 1 / -1; }
  .topic { grid-template-columns: 2.25rem 1fr; row-gap: .6rem; }
  .topic-desc, .topic-tags { grid-column: 2; }
  .topic-tags { justify-self: start; text-align: left; }
  .contact-text, .socials { grid-column: 1 / -1; }
  .socials { margin-top: 2.5rem; }
  .social { grid-template-columns: 2rem 1fr 2rem; }
  .social-handle { display: none; }
  .spec { grid-template-columns: 1fr; gap: .5rem; }
  .spec dt { padding-top: 0; }
}

@media (max-width: 560px) {
  .hero-meta { flex-direction: column; align-items: flex-start; gap: .35rem; }
  .hero-meta span:nth-child(2) { display: none; }
  .btn { flex: 1 1 100%; justify-content: space-between; }
  .cert-list { grid-template-columns: 1fr; }
  .cert { min-height: 12rem; }
  .facts > div + div { padding-left: .75rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; transition-delay: 0s !important;
  }
  html { scroll-behavior: auto; }
}
