/* BIMMING - shared styles (look taken from the original Carrd site).
   Everything is sized in rem, so the whole page scales with the root font size:
   17.33 px (13pt) up to 1280 px wide, then it grows gently to 19 px at 1920 px and stops
   (it used to reach 24 px, like Carrd, which looked too big on wide screens).
   The top bar is in px, identical to the one in the Site Context DXF app. */
:root {
  color-scheme: dark;
  --bg: #15141c;
  --ink: #ffffff;
  --text: rgba(255, 255, 255, .66);
  --faint: rgba(255, 255, 255, .26);
  --line: rgba(255, 255, 255, .12);
  --ring: rgba(255, 255, 255, .26);
  --orange: #fa9048;
  --pink: #ff5473;
  --grad-btn: linear-gradient(90deg, var(--pink) 0%, var(--orange) 100%);
  --grad-band: linear-gradient(90deg, rgba(250, 144, 72, .95) 0%, rgba(255, 84, 115, .92) 100%);
}

html { font-size: clamp(13pt, 14px + .26vw, 19px); scroll-behavior: smooth; scroll-padding-top: 4rem; }
@media (max-width: 980px)  { html { font-size: 11pt; } }   /* 14.67 px */
@media (max-width: 736px)  { html { font-size: 12pt; } }   /* 16 px */

* { box-sizing: border-box; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font: 300 1rem/1.875 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; }

/* thin curves fixed to the viewport. They sit above the content (but ignore the mouse)
   so they also show through the orange band, as if it were transparent; over the dark
   areas and the text they look the same as a background. */
.curves {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  background: url("img/curves.svg") center / cover no-repeat;
  opacity: .14;
}
main, footer { position: relative; z-index: 1; }

.wrap { max-width: 56rem; margin: 0 auto; padding: 0 1.5rem; }
.center { text-align: center; }
.rule { border-top: 1px solid var(--line); }

h1, h2, h3 { margin: 0; color: var(--ink); font-family: Sora, Inter, sans-serif; font-weight: 400; }
h2 { font-size: 1.5rem; line-height: 1.75; letter-spacing: .03em; }
h3 { font-size: 1.5rem; line-height: 1.6; }
p { margin: 0; }

/* hero */
.hero { padding: 6.5rem 0 6rem; }
.hero .icon { display: block; width: 6rem; margin: 0 auto; }
/* the PNG has transparent margins: crop them to the same box as Carrd (436 x 113 at 1280 px) */
.hero .wordmark { display: block; width: 25.15rem; height: 6.52rem; object-fit: cover; margin: 1.5rem auto; }
.hero p { max-width: 35rem; margin: 0 auto; line-height: 2; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  height: 3.75rem; padding: 0 2rem; margin-top: 1.5rem;
  border-radius: 999px; background: var(--grad-btn);
  color: #fff; font-size: 1rem; font-weight: 400; text-decoration: none;
  transition: transform .2s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn svg { width: .9rem; height: .9rem; fill: currentColor; }

/* social icons */
.social { display: flex; justify-content: center; gap: .75rem; margin: 11.1rem 0 0; padding: 0; list-style: none; }
.social a { display: block; width: 1.25rem; height: 1.25rem; }
.social svg { width: 100%; height: 100%; fill: #fff; transition: fill .25s ease; }
.social a:hover svg { fill: var(--orange); }

/* round frame around the small icons */
.ring {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3.4rem; height: 3.4rem; border-radius: 50%; border: 2px solid var(--ring);
}
.ring img { width: 50%; }

/* orange band with the two install steps (slightly see-through) */
/* the padding is inside the steps, so the divider between them runs the full height of the band */
.band { position: relative; background: var(--grad-band); overflow: hidden; }
.band .wrap { position: relative; max-width: 55.85rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; }
.band .step { padding: 6rem 1.5rem; text-align: center; color: rgba(255, 255, 255, .8); line-height: 1.8; }
.band .step + .step { border-left: 1px solid rgba(255, 255, 255, .2); }
.band .ring { width: 3.25rem; height: 3.25rem; border-color: rgba(255, 255, 255, .5); }
.band h3 { margin: 1.5rem 0 1.4rem; }
.band p { max-width: 21.6rem; margin: 0 auto; }
.band a { color: #fff; }

/* extension intro */
.intro { padding: 4.55rem 0 8.2rem; }
.intro .icon { display: block; width: 3.6rem; margin: 0 auto; }
.intro h3 { margin: 1.75rem 0 1.45rem; }
.intro p { max-width: 35rem; margin: 0 auto; line-height: 2; }

/* tool groups */
.group { padding: 6.45rem 0 6.8rem; }
.group h2 { text-align: center; margin-bottom: 6.5rem; }
.tools { max-width: 56rem; margin: 0 auto; padding: 0 1.5rem 0 3.8rem; }
.tool { display: grid; grid-template-columns: 3.4rem 1fr; gap: 0 4.1rem; align-items: start; }
.tool + .tool { margin-top: 6.75rem; }
.tool .ring { margin-top: .17rem; }
.tool b { display: block; color: var(--ink); font-weight: 400; }

/* contact */
.contact { padding: 7rem 0; }
.contact h2 { font-size: 3.625rem; font-weight: 700; line-height: 1.2; letter-spacing: 0; margin-bottom: 1.6rem; }
.contact .btn { margin-top: 1.6rem; }

footer { padding: 6.5rem 0 6rem; text-align: center; }
footer .social { margin: 0 0 6rem; }
footer small { display: block; color: var(--faint); font-size: 1rem; line-height: 2; }

/* top navigation bar (all pages) */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px; padding: 0 26px;
  background: rgba(21, 20, 28, .82); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.nav a { text-decoration: none; }
.nav .brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font: 700 16.5px/1 Sora, Inter, sans-serif; letter-spacing: .08em; }
.nav .brand img { width: 27px; height: 27px; }
.nav nav { display: flex; gap: 35px; }
.nav nav a { font-size: 14.7px; line-height: 1; font-weight: 400; color: var(--text); transition: color .2s ease; }
.nav nav a:hover, .nav nav a[aria-current], .nav nav a.active { color: var(--ink); }
/* gradient underline on the section in view (set by site.js) */
.nav nav a { position: relative; }
.nav nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px; border-radius: 1px;
  background: var(--grad-btn); transform: scaleX(0); transition: transform .25s ease;
}
.nav nav a.active::after, .nav nav a[aria-current]::after { transform: scaleX(1); }

/* small pill tags */
.tags { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.1rem 0 0; padding: 0; list-style: none; }
.tags li { padding: .1rem .7rem; border: 1px solid var(--ring); border-radius: 999px; font-size: .75rem; line-height: 1.6; color: var(--text); }

/* text in the brand gradient, outline button, button row */
.grad-text { background: linear-gradient(90deg, var(--orange), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.btn.ghost { background: none; border: 1px solid var(--ring); }
.btn.ghost:hover { border-color: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: 1rem; }
.btns .btn { margin-top: 0; }

/* ---- home page ---- */
.wide { max-width: 62rem; }

/* hero: text left, portrait right */
.home-hero { min-height: 100vh; display: flex; align-items: center; padding: 6rem 0 4rem; }
.home-hero .wrap { display: grid; grid-template-columns: 1.35fr 1fr; gap: 4rem; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: .6rem; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text); }
.eyebrow img { width: 1.4rem; }
.home-hero h1 { font-size: 3.1rem; line-height: 1.15; font-weight: 700; margin: 1.5rem 0; }
.home-hero .lead { font-size: 1.05rem; line-height: 1.9; max-width: 30rem; margin-bottom: 2.25rem; }
.portrait { position: relative; justify-self: center; width: 100%; max-width: 20rem; aspect-ratio: 1; }
.portrait::before { content: ""; position: absolute; inset: -3px; border-radius: 50%; background: linear-gradient(135deg, var(--orange), var(--pink)); }
.portrait > img { position: relative; display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 8px solid var(--bg); }
.portrait .badge { position: absolute; right: 4%; bottom: 6%; width: 4.2rem; height: 4.2rem; border-radius: 50%; background: var(--bg); border: 2px solid var(--ring); display: grid; place-items: center; }
.portrait .badge img { width: 58%; }

/* home: just the hero and the band, filling the window with no scroll
   (only where it fits: on small or short screens the page scrolls as usual) */
@media (min-width: 861px) and (min-height: 600px) {
  /* .fit = the page fills the window with no scroll (home, projects) */
  body.fit { height: 100vh; height: 100dvh; overflow: hidden; display: flex; flex-direction: column; }
  body.fit main { flex: 1; min-height: 0; display: flex; flex-direction: column; }
  /* projects: heading and the three cards in one screen */
  body.projects main { justify-content: center; padding-top: 60px; }
  body.projects .page-head { padding: 0 0 min(2.5rem, 4vh); }
  body.projects .page-head h1 { font-size: min(2.9rem, 6vh); margin: min(1.25rem, 2vh) 0; }
  body.projects .page-head .lead { font-size: min(1.05rem, 2.2vh); }
  body.projects .plist { grid-template-columns: repeat(3, 1fr); padding-bottom: 0; }
  body.projects .pcard .thumb { height: min(15rem, 26vh); }
  body.projects .pcard .thumb .mosaic { max-width: 19rem; margin-top: 1.5rem; }
  body.projects .pcard .txt { padding: min(1.4rem, 2.4vh) 1.4rem; }
  body.projects .pcard h3 { font-size: min(1.35rem, 2.8vh); }
  body.projects .pcard p { font-size: min(.88rem, 1.85vh); }
  body.projects .pcard .tags { margin-top: min(1rem, 1.6vh); }
  body.home .home-hero { flex: 1; min-height: 0; padding: 60px 0 0; }
  /* everything also scales with the window height, so it fits on short screens */
  body.home .home-hero h1 { font-size: min(3.1rem, 6.2vh); margin: min(1.5rem, 2.5vh) 0; }
  body.home .home-hero .lead { font-size: min(1.05rem, 2.2vh); margin-bottom: min(2.25rem, 3.5vh); }
  body.home .home-hero .btn { height: min(3.75rem, 7vh); font-size: min(1rem, 2.1vh); }
  body.home .portrait { max-width: min(20rem, 42vh); }
  body.home .stats .stat { padding: min(3.25rem, 3.5vh) 1.25rem; font-size: min(.9rem, 1.9vh); }
  body.home .stats b { font-size: min(2.2rem, 5vh); }
}

/* home: the curves drift a little against the mouse and a soft glow follows it (site.js).
   The curves layer is a bit larger than the window so its edges never show. */
body.home .curves { inset: -2.5rem; will-change: transform; }
.glow {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .8s ease;
  background: radial-gradient(11rem circle at var(--gx, 50%) var(--gy, 50%),
    rgba(250, 144, 72, .17), rgba(255, 84, 115, .09) 45%, transparent 72%);
}
.glow.on { opacity: 1; }

/* key figures, on the orange band */
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; }
.stats .stat { padding: 3.25rem 1.25rem; text-align: center; color: rgba(255, 255, 255, .85); font-size: .9rem; line-height: 1.6; }
.stats .stat + .stat { border-left: 1px solid rgba(255, 255, 255, .22); }
.stats b { display: block; color: #fff; font: 700 2.2rem/1.2 Sora, Inter, sans-serif; margin-bottom: .35rem; }

/* projects: one row each, picture and text alternating sides */
.work { padding: 7rem 0 3rem; }
.work h2 { text-align: center; margin-bottom: 5rem; }
.row { display: grid; grid-template-columns: 1.15fr 1fr; gap: 4rem; align-items: center; margin-bottom: 7rem; }
.row.flip .visual { order: 2; }
.visual { border-radius: 1rem; border: 1px solid var(--line); overflow: hidden; background: rgba(255, 255, 255, .02); }
.visual img.shot { display: block; width: 100%; }
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; padding: 2rem; }
.mosaic .ring { width: 100%; height: auto; aspect-ratio: 1; border-width: 1px; }
.mosaic .ring img { width: 48%; }
.row .num { font: 400 .8rem Sora, sans-serif; letter-spacing: .2em; color: var(--orange); }
.row h3 { font-size: 2rem; margin: .5rem 0 1rem; }
.row p { line-height: 1.9; }
.row .tags { margin: 1.25rem 0 2rem; }
.soon-line { text-align: center; color: var(--faint); padding-bottom: 4rem; }

/* ---- tiles ("bento" grid): home, projects list, contact ---- */
.section { padding: 6.5rem 0 3rem; }
.section > .wrap > h2 { text-align: center; margin-bottom: 3rem; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 11.5rem; gap: 1.1rem; }
.tile {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  padding: 1.6rem; border-radius: 1.25rem; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .025); color: var(--text); text-decoration: none;
  transition: border-color .25s ease, background-color .25s ease;
}
a.tile:hover { border-color: rgba(250, 144, 72, .6); background: rgba(255, 255, 255, .045); }
.tile h3 { font-size: 1.35rem; margin-bottom: .4rem; }
.tile p { font-size: .88rem; line-height: 1.7; }
.tile .label { font: 400 .7rem Sora, sans-serif; letter-spacing: .2em; color: var(--orange); margin-bottom: auto; }
.tile .go { position: absolute; top: 1.3rem; right: 1.3rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 1px solid var(--ring); display: grid; place-items: center; color: #fff; transition: background .25s ease, border-color .25s ease; }
.tile .go svg { width: .9rem; height: .9rem; fill: currentColor; transform: rotate(-90deg); }
a.tile:hover .go { background: var(--grad-btn); border-color: transparent; }
.w2 { grid-column: span 2; } .h2 { grid-row: span 2; }

.t-py .mosaic { margin: 1.5rem 0 auto; gap: .6rem; }
.t-dxf { padding: 0; }
.t-dxf img { display: block; width: 100%; height: 62%; object-fit: cover; object-position: top left; border-bottom: 1px solid var(--line); }
.t-dxf .txt { padding: 1.2rem 1.6rem 1.5rem; }
.t-about { flex-direction: row; align-items: center; gap: 1.5rem; }
.t-about img { width: 7.5rem; height: 7.5rem; border-radius: 50%; object-fit: cover; border: 2px solid var(--ring); padding: .25rem; flex: none; }
.t-social { justify-content: space-between; }
.t-social svg { width: 2rem; height: 2rem; fill: #fff; }
.tile b { color: #fff; font-weight: 400; }
.t-soon { border-style: dashed; background: none; justify-content: center; align-items: center; text-align: center; color: var(--faint); }
.t-contact { background: var(--grad-band); border: 0; color: rgba(255, 255, 255, .9); justify-content: center; }
.t-contact h3 { font-size: 1.9rem; font-weight: 700; color: #fff; }
.t-contact .go { border-color: rgba(255, 255, 255, .6); }
a.t-contact:hover { background: var(--grad-band); filter: brightness(1.06); }
a.t-contact:hover .go { background: rgba(255, 255, 255, .2); }
.more { text-align: center; margin-top: 2.5rem; }
.contact-tiles { padding: 4rem 0 6rem; }

/* ---- inner pages ---- */
.page-head { padding: 9rem 0 3.5rem; }
.page-head h1 { font-size: 2.9rem; line-height: 1.15; font-weight: 700; margin: 1.25rem 0 1.25rem; }
.page-head .lead { font-size: 1.05rem; line-height: 1.9; max-width: 36rem; }
.page-head .btns { margin-top: 2rem; }

/* projects list: one card per project */
.plist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; padding-bottom: 3rem; }
.pcard { padding: 0; }
.pcard .thumb { height: 15rem; border-bottom: 1px solid var(--line); overflow: hidden; }
.pcard .thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.pcard .thumb:has(.mosaic) { display: grid; place-items: center; }
.pcard .thumb .mosaic { width: 100%; max-width: 24rem; padding: 0 1.5rem; gap: .6rem; }
.pcard .txt { padding: 1.4rem 1.6rem 1.7rem; }
.pcard .label { display: block; margin-bottom: .5rem; }
.pcard .tags { margin-top: 1rem; }
.pcard.t-soon { min-height: 12rem; }

/* project page: numbered steps and outputs */
.shot-frame { display: block; border-radius: 1rem; border: 1px solid var(--line); overflow: hidden; transition: border-color .25s ease; }
a.shot-frame:hover { border-color: rgba(250, 144, 72, .6); }
/* project page head: text left, screenshot right */
.head-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3.5rem; align-items: center; }
.shot-frame img { display: block; width: 100%; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.steps .tile { flex-direction: row; align-items: flex-start; gap: 1.1rem; padding: 1.3rem 1.5rem; }
.steps .n { font: 700 2rem/1 Sora, sans-serif; }
.steps h3 { font-size: 1.15rem; line-height: 1.4; margin-bottom: .25rem; }
/* project pages: heading, screenshot and "How it works" all in the first screen */
body.project .page-head { padding: 7rem 0 2.5rem; }
.steps-section { padding-bottom: 2rem; }
.steps p a { color: var(--ink); }
/* PyBimming: icon mosaic beside the heading, tools as compact cards by group */
.mosaic-frame { background: rgba(255, 255, 255, .025); }
.mosaic-frame .mosaic { padding: 2rem; gap: .9rem; }
.tool-groups > .wrap > h2 { margin-bottom: 2rem; }
.tgroup + .tgroup { margin-top: 2.2rem; }
.tgroup .kicker span { color: var(--faint); text-transform: none; letter-spacing: 0; font-family: Inter, sans-serif; font-weight: 300; }
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.tcard { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.3rem; border: 1px solid var(--line); border-radius: 1rem; background: rgba(255, 255, 255, .025); }
.tcard .ring { flex: none; width: 2.8rem; height: 2.8rem; border-width: 1px; }
.tcard p { font-size: .85rem; line-height: 1.6; }
.tcard b { display: block; color: var(--ink); font-weight: 400; font-size: .95rem; margin-bottom: .15rem; }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.cols2 h3 { font-size: 1.4rem; margin-bottom: 1rem; }
.cols2 p + p, .cols2 ol { margin-top: 1rem; }
.cols2 ol { padding-left: 1.2rem; line-height: 1.9; }
.files { list-style: none; margin: 0; padding: 0; }
.files li { padding: .8rem 0; border-top: 1px solid var(--line); font-size: .92rem; line-height: 1.7; }
.files li:last-child { border-bottom: 1px solid var(--line); }
.files b { display: block; color: var(--ink); font-weight: 400; }
/* the plan itself: a white sheet, as it prints */
.result { align-items: center; }
.plan-frame { display: block; background: #fff; border-radius: 1rem; padding: .6rem; border: 1px solid var(--line); transition: transform .25s ease; }
.plan-frame:hover { transform: translateY(-2px); }
.plan-frame img { display: block; width: 100%; border-radius: .5rem; }
.result .btns { margin-top: 1.5rem; }

/* about page */
.about-head .wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; align-items: center; }
.about-head .portrait { max-width: 17rem; }
.about-head p + p { margin-top: 1rem; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; }
.about-grid h4, .kicker { margin: 0 0 1rem; color: var(--ink); font: 400 .8rem Sora, sans-serif; letter-spacing: .15em; text-transform: uppercase; }
.creds { list-style: none; margin: 0; padding: 0; }
.creds li { display: grid; grid-template-columns: 4.6rem 1fr; gap: .8rem; padding: .7rem 0; border-top: 1px solid var(--line); font-size: .88rem; line-height: 1.6; }
.creds li:last-child { border-bottom: 1px solid var(--line); }
.creds span { color: var(--faint); font-size: .8rem; }
.creds b { color: var(--ink); font-weight: 400; }
.note { margin-top: 2rem; font-size: .9rem; }
.note a { color: var(--ink); }

/* the two logos in the hero grow a bit less than the rest on very wide screens (as on Carrd):
   capped at their Carrd size at 1854 px */
.hero .icon { width: min(6rem, 130px); }
.hero .wordmark { width: min(25.15rem, 543px); height: min(6.52rem, 141px); }

@media (max-width: 736px) {
  .hero { padding: 6rem 0 4rem; }
  .hero .wordmark { width: 18rem; height: 4.67rem; }
  .social { margin-top: 6rem; }
  .band .wrap { grid-template-columns: 1fr; }
  .band .step { padding: 3.5rem 1.5rem; }
  .band .step + .step { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .2); }
  .intro { padding: 4rem 0 5rem; }
  .group { padding: 4.5rem 0; }
  .group h2 { margin-bottom: 3.5rem; }
  .tools { padding: 0 1rem; }
  .tool { grid-template-columns: 3rem 1fr; gap: 0 1.25rem; }
  .tool .ring { width: 3rem; height: 3rem; }
  .tool + .tool { margin-top: 3.5rem; }
  .contact { padding: 4.5rem 0; }
  .contact h2 { font-size: 2.5rem; }
  footer { padding: 4.5rem 0; }
  footer .social { margin-bottom: 3rem; }
  .nav { padding: 0 16px; }
  .nav .brand span { display: none; }
  .nav nav { gap: 20px; }
  .work { padding: 4.5rem 0 2rem; }
  .work h2 { margin-bottom: 3rem; }
  .section { padding: 4.5rem 0 2rem; }
  .page-head { padding: 6.5rem 0 2.5rem; }
  .page-head h1 { font-size: 2.2rem; }
}
@media (max-width: 860px) {
  .home-hero { min-height: 0; padding: 7rem 0 4rem; }
  .home-hero .wrap, .row, .about-head .wrap, .about-grid, .cols2, .head-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-head .portrait { max-width: 13rem; justify-self: start; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .tile { min-height: 10rem; }
  .h2 { grid-row: auto; }
  .t-py, .t-dxf { min-height: 22rem; }
  .plist, .steps { grid-template-columns: 1fr; }
  .tgrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .tgrid { grid-template-columns: 1fr; }
  .t-about { flex-direction: column; align-items: flex-start; }
  .t-contact h3 { font-size: 1.6rem; }
  .portrait { max-width: 15rem; grid-row: 1; }
  .home-hero h1 { font-size: 2.3rem; }
  .row.flip .visual { order: 0; }
  .row { margin-bottom: 5rem; }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .stats .stat:nth-child(3) { border-left: 0; }
  .stats .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .22); }
  .mosaic { gap: .6rem; padding: 1.25rem; }
}
