/* Gatte: shared styles for the inner pages (the home page carries the same rules inline) */
/* Gatte. One material runs through the whole page: a living colour film, always seen through a shape —
   the dot that opens, the card, a hundred tiles, nine windows, and finally the whole screen. One typeface: Inter. */
:root {
  color-scheme: light;
  --paper: #FBFBFB;
  --ink: #111111;
  --mute: #8A877F;
  --body: #3A3935;
  --rule: rgba(17, 17, 17, .14);
  --navy: #16204B;
  --terra: #B4532A;
  --dead: #E7E4DF;
  --accent: linear-gradient(135deg, #FFA155 0%, #FF5A1F 52%, #F03E14 100%);
  --accent-fill: linear-gradient(100deg, #FF7A2E 0%, #FF5A1F 45%, #EE3A12 100%); /* the same orange, a touch deeper on the left so white text reads */ /* the dot: bright and clean, the only strong colour on paper */
  --text: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --fade: cubic-bezier(.45, 0, .25, 1);   /* soft in, soft out */
  --glide: cubic-bezier(.25, .1, .15, 1); /* gentle start, long calm landing; nothing snaps or bounces */
  --pad: clamp(16px, 3.4vw, 56px);
  /* one type scale: every size on every page is one of these */
  --fs-xs: 12px; --fs-s: 14px; --fs-m: 17px; --fs-l: clamp(18px, 1.35vw, 21px);
  --fs-xl: clamp(30px, 3.1vw, 50px); --fs-2xl: clamp(40px, 4.6vw, 88px);
  --tick: rgba(17, 17, 17, .28); --pbline: rgba(17, 17, 17, .16); --drum: #B9B5AE; --glass: linear-gradient(180deg, rgba(251, 251, 251, .8), rgba(251, 251, 251, .66));
}
/* the dark theme: the same page at night; the film and the orange dot stay as they are */
html[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0E0F12; --ink: #F2F1EE; --mute: #8D8A84; --body: #C9C6C0; --rule: rgba(255, 255, 255, .14); --dead: #25262B;
  --tick: rgba(255, 255, 255, .3); --pbline: rgba(255, 255, 255, .22); --drum: #46464C; --glass: linear-gradient(180deg, rgba(18, 19, 24, .78), rgba(18, 19, 24, .66));
  --filmgrad: radial-gradient(60% 140% at 18% 30%, #A8949F, transparent 70%), radial-gradient(55% 160% at 86% 60%, #B4532A, transparent 70%), linear-gradient(90deg, #16204B, #4C6470 45%, #D8C6B4);
}
* { box-sizing: border-box; }
html { background: var(--paper); scrollbar-gutter: stable; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 15px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mute { color: var(--mute); }
.dot { display: inline-block; width: .16em; height: .16em; margin-left: .04em; border-radius: 50%; background: var(--accent); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* links and buttons */
/* nav links: each letter thickens as the cursor comes near */
.vf { font-size: 15px; font-weight: 300; font-variation-settings: 'wght' 300; white-space: nowrap; }
/* the button: a small dot that stretches into the whole button on hover; the label slides into the dot's place and an arrow arrives */
.pb { position: relative; display: inline-flex; align-items: center; height: 56px; padding: 0 36px 0 46px; border: 1px solid var(--pbline); border-radius: 999px;
  font-size: 16px; font-weight: 600; letter-spacing: -0.015em; white-space: nowrap; color: var(--ink); isolation: isolate; }
.pb .lb { display: block; transition: transform .7s var(--glide); }
.pb .fl { position: absolute; inset: -1px; border-radius: 999px; background: var(--navy); color: #fff; pointer-events: none; overflow: hidden;
  clip-path: inset(calc(50% - 4px) calc(100% - 33px) calc(50% - 4px) 25px round 999px); transition: clip-path .7s var(--glide); }
.pb .fl .lb { position: absolute; left: 47px; top: 0; bottom: 0; display: flex; align-items: center; text-shadow: 0 1px 10px rgba(10, 14, 30, .25); }
/* inside the button lives the same film as the hero card; the orange dot grows as itself, then dissolves into it */
.pb .fl canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pb .ftint { position: absolute; inset: 0; background: var(--accent); transition: opacity .7s var(--fade) .08s; }
.pb .fdim { position: absolute; inset: 0; background: rgba(14, 18, 40, .14); }
.pb:hover .ftint, .pb:focus-visible .ftint { opacity: 0; }
.pb .ar { position: absolute; right: 23px; top: 50%; width: 16px; height: 16px; margin-top: -8px; opacity: 0; transform: translateX(-10px); transition: transform .7s var(--glide), opacity .5s var(--fade); }
.pb:hover .fl, .pb:focus-visible .fl { clip-path: inset(0 0 0 0 round 999px); }
.pb:hover .lb, .pb:focus-visible .lb { transform: translateX(-20px); }
.pb:hover .ar, .pb:focus-visible .ar { opacity: 1; transform: none; transition-delay: .08s; }
.pb:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.pb.sm { height: 40px; padding: 0 28px 0 36px; font-size: 14px; }
.pb.sm .fl { clip-path: inset(calc(50% - 3px) calc(100% - 25px) calc(50% - 3px) 19px round 999px); }
.pb.sm .fl .lb { left: 37px; }
.pb.sm .ar { right: 15px; width: 14px; height: 14px; margin-top: -7px; }
.pb.sm:hover .fl, .pb.sm:focus-visible .fl { clip-path: inset(0 0 0 0 round 999px); }
.pb.sm:hover .lb, .pb.sm:focus-visible .lb { transform: translateX(-16px); }
/* no hover on touch screens: show the button already opened, so it reads as a button */
@media (hover: none) {
  .vf { font-weight: 400; font-variation-settings: normal; }
  .pb .fl, .pb.sm .fl { clip-path: inset(0 0 0 0 round 999px); }
  .pb .lb { transform: translateX(-20px); } .pb.sm .lb { transform: translateX(-16px); }
  .pb .ar { opacity: 1; transform: none; }
  .pb .ftint { opacity: 0; }
}

/* the pill on film or paper without the film inside: it fills with white (on film) or with ink (on paper) */
.pb.lt { color: #fff; border-color: rgba(255, 255, 255, .7); }
.pb.lt .fl { background: #fff; color: var(--ink); }
.pb.lt .fl .lb { text-shadow: none; }
.pb.ink .fl { background: var(--ink); color: var(--paper); }
/* the quiet button: words and an arrow on a hairline; the arrow steps forward on hover */
.go { display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; padding: 0 0 7px; font-size: var(--fs-m); font-weight: 500; letter-spacing: -0.01em; line-height: 1.2;
  color: var(--ink); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; }
.go .gc { display: block; width: 16px; height: 16px; }
.go .gc svg { display: block; width: 16px; height: 16px; transition: transform .7s var(--glide); }
.go .gc svg + svg { display: none; }
.go:hover .gc svg, .go:focus-visible .gc svg { transform: translateX(4px); }
.go:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; border-radius: 2px; }
.how .pn .go { margin-top: clamp(24px, 4vh, 40px); opacity: 0; transition: opacity .8s var(--fade) .6s; }
.how .pn.on .go { opacity: 1; }

/* the theme switch: just our dot; at night a disc of night paper slides over it and leaves a crescent moon */
.theme { position: relative; flex: none; width: 40px; height: 40px; margin-left: 6px; display: grid; place-items: center; border-radius: 50%; }
.theme .sun { width: 18px; height: 18px; border-radius: 50%; background: var(--accent); transition: transform .8s var(--glide); }
.theme .shade { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--paper);
  transform: translate(15px, -15px) scale(.5); opacity: 0; transition: transform .9s var(--glide), opacity .5s var(--fade); }
.theme:hover .shade { opacity: 1; transform: translate(9px, -9px) scale(.7); }   /* on hover the shade peeks, so it reads as a switch */
html[data-theme="dark"] .theme .shade { opacity: 1; transform: translate(6px, -5px) scale(1); }
html[data-theme="dark"] .theme .sun { transform: rotate(-20deg); }
.theme:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
/* while the theme changes, colours glide instead of jumping */
html.swap, html.swap * { transition: background-color .6s var(--fade), color .6s var(--fade), border-color .6s var(--fade), fill .6s var(--fade) !important; }

/* the film */
.film { position: absolute; inset: 0; overflow: hidden; background: var(--navy); }
.film canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.grain { position: absolute; inset: 0; pointer-events: none; opacity: .22;   /* dark speckles, normal blending: an overlay blend over a moving canvas costs a repaint every frame */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  1.7 0 0 0 -.62'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.mark svg { display: block; width: 100%; height: auto; }
.mark .lt { transform: translateY(1400px); transition: transform 1.8s var(--glide); }
.mark.up .lt { transform: none; }
.mark .pd { transform: translateY(-1700px); transition: transform 1.5s var(--glide); }
.mark.up .pd { transform: none; transition-delay: .7s; }

/* ---------- 5. the end: the whole screen is film; the words on the left, the ways in on the right, the wordmark across the bottom ---------- */
.end { position: relative; min-height: 100svh; overflow: hidden; color: #fff; display: grid; grid-template-rows: 1fr auto; }
.end .ask { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(40px, 6vw, 120px); align-items: start;
  padding: clamp(28px, 6vh, 80px) clamp(16px, 3vw, 44px) clamp(20px, 3vh, 40px); }
.end h2 { margin: 0; font-size: var(--fs-2xl); font-weight: 400; letter-spacing: -0.04em; line-height: 1.02; }
.end h2 .l { display: block; white-space: nowrap; }   /* the same two lines on every page */
/* the ways in: two actions, then the contacts, all in one even column of hairline rows */
.end .ways { width: 100%; max-width: 520px; justify-self: end; }
.end .rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .34); }
.end .rows + .rows { margin-top: clamp(20px, 3.4vh, 32px); }
.end .rows li { border-bottom: 1px solid rgba(255, 255, 255, .34); }
.end .rows a, .end .rows button { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 15px 0; color: #fff; text-align: left;
  font-size: var(--fs-m); font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; transition: opacity .4s var(--fade); }
.end .rows.c a { padding: 12px 0; font-size: 15px; font-weight: 400; }
.end .rows .k { font-size: 13px; font-weight: 400; opacity: .72; }
.end .rows svg { flex: none; width: 15px; height: 15px; transition: transform .7s var(--glide); }
.end .rows a:hover svg, .end .rows button:hover svg, .end .rows a:focus-visible svg, .end .rows button:focus-visible svg { transform: translateX(4px); }
.end .rows a:focus-visible, .end .rows button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 2px; }
.end small { display: block; margin-top: 14px; font-size: 12px; opacity: .75; }
/* the Quick Look request: a paper card that rises over the film */
.qk { position: absolute; z-index: 5; right: clamp(16px, 3vw, 44px); top: clamp(90px, 16vh, 150px); width: min(440px, calc(100% - 32px)); max-height: calc(100% - 120px); overflow: auto;
  padding: 28px 28px 26px; border-radius: 12px; background: var(--paper); color: var(--ink); box-shadow: 0 24px 60px rgba(8, 10, 24, .28);
  opacity: 0; transform: translateY(18px); pointer-events: none; transition: opacity .6s var(--fade), transform .9s var(--glide); }
.qk.open { opacity: 1; transform: none; pointer-events: auto; }
.qk h3 { margin: 0; font-size: 26px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.qk .sub { margin: 8px 0 18px; font-size: 14px; color: var(--mute); }
.qk .x { position: absolute; right: 14px; top: 14px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--mute); transition: color .4s var(--fade), background .4s var(--fade); }
.qk .x:hover { color: var(--ink); background: rgba(17, 17, 17, .06); }
.qk label { display: block; margin-top: 14px; font-size: 12px; font-weight: 500; color: var(--mute); }
.qk input, .qk textarea { display: block; width: 100%; margin-top: 4px; padding: 8px 0 9px; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; background: transparent; font: 400 16px/1.4 var(--text); color: var(--ink); outline: none; transition: border-color .4s var(--fade); }
.qk textarea { resize: none; height: 64px; }
.qk input:focus, .qk textarea:focus { border-bottom-color: var(--ink); }
.qk .send { margin-top: 24px; }
.qk .err { min-height: 18px; margin: 10px 0 0; font-size: 13px; color: #B4532A; }
.qk .done { display: none; }
.qk.sent form { display: none; }
.qk.sent .done { display: block; }
.qk .done p { margin: 10px 0 0; font-size: 15px; line-height: 1.5; color: var(--body); }
.qk .done a { border-bottom: 1px solid currentColor; }
.qk .copy { margin-top: 18px; font-size: 14px; font-weight: 500; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.end .dot { background: currentColor; }
.end .mark { position: relative; z-index: 2; width: min(95vw, calc((100svh - 420px) * 2.9)); margin: 0 0 3.5vh 2.5vw; }   /* in its own row, so nothing can sit on top of it */
@media (max-width: 760px), (orientation: portrait) {
  .end { min-height: 0; }
  .end .ask { grid-template-columns: minmax(0, 1fr); padding: 56px 16px 28px; }
  .end .ways { max-width: none; justify-self: stretch; }
  .end .mark { width: auto; margin: 8px 16px 20px; }
}

/* ---------- footer ---------- */
.foot2 { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 24px clamp(40px, 6vw, 96px); align-items: start; padding: 44px var(--pad) 34px; font-size: var(--fs-s); }
.foot2 .flogo { display: block; width: 88px; }
.foot2 .flogo svg { display: block; width: 100%; height: auto; }
.foot2 nav, .foot2 .fmail { display: flex; flex-direction: column; gap: 9px; }
.foot2 a { transition: color .4s var(--fade); }
.foot2 nav a:hover, .foot2 .fmail a:hover { color: var(--mute); }
.foot2 .fsmall { grid-column: 1 / -1; margin: 26px 0 0; padding-top: 18px; border-top: 1px solid var(--rule); font-size: var(--fs-xs); color: var(--mute); }


/* ---------- inner pages ---------- */
.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 28px; padding: 16px var(--pad); background: var(--paper); border-bottom: 1px solid transparent; transition: border-color .6s var(--fade); }
.top.scrolled { border-bottom-color: var(--rule); }
.tlogo { display: block; flex: none; width: 86px; color: var(--ink); }
.tlogo svg { display: block; width: 100%; height: auto; }
.tnav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.tnav .vf[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px; }
.tnav .pb { margin-left: 6px; }
.label { margin: 0; font-size: var(--fs-s); font-weight: 500; color: var(--mute); }
/* page opening: the statement on the left, a window into the film on the right */
.phero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 110px); align-items: end; padding: clamp(64px, 12vh, 140px) var(--pad) clamp(56px, 10vh, 110px); }
.phero h1 { margin: 18px 0 0; max-width: 12em; font-size: var(--fs-2xl); font-weight: 400; letter-spacing: -0.042em; line-height: 1.02; }
.phero .lead { margin: clamp(22px, 4vh, 36px) 0 0; max-width: 27em; font-size: var(--fs-l); line-height: 1.5; color: var(--body); }
.card { position: relative; aspect-ratio: 4 / 5; max-height: 70svh; justify-self: end; width: 100%; border-radius: 10px; overflow: hidden; background: var(--navy); }
.card canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.card .cap { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; color: #fff; font-size: var(--fs-l); line-height: 1.3; letter-spacing: -0.01em; }
/* a section: a hairline, a small label, a heading */
.sec { padding: clamp(56px, 10vh, 110px) var(--pad); }
.sec-h { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2fr); gap: 24px clamp(32px, 6vw, 110px); padding-top: 18px; border-top: 1px solid var(--ink); margin-bottom: clamp(28px, 6vh, 64px); }
.sec-h h2 { margin: 0; max-width: 15em; font-size: var(--fs-xl); font-weight: 400; letter-spacing: -0.035em; line-height: 1.06; }
/* the process, step by step */
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px clamp(32px, 6vw, 110px); padding: clamp(20px, 3.4vh, 30px) 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.steps .n { font-size: var(--fs-s); color: var(--mute); font-variant-numeric: tabular-nums; }
.steps h3 { margin: 0; font-size: var(--fs-xl); font-weight: 400; letter-spacing: -0.035em; line-height: 1.08; }
.steps p { margin: 0; max-width: 30em; font-size: var(--fs-m); line-height: 1.5; color: var(--body); }
/* the four ways to work, side by side */
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); }
.tier { display: flex; flex-direction: column; padding-top: 16px; border-top: 1px solid var(--ink); }
.tier .no { font-size: var(--fs-s); color: var(--mute); }
.tier h3 { margin: 10px 0 0; font-size: clamp(24px, 2.1vw, 34px); font-weight: 400; letter-spacing: -0.03em; line-height: 1.1; }
.tier .time { display: flex; gap: 10px 18px; flex-wrap: wrap; align-items: baseline; margin-top: 18px; font-size: var(--fs-m); }
.tier .time span { font-size: var(--fs-xs); font-weight: 500; color: var(--mute); }
.tier .bar { position: relative; height: 16px; margin-top: 10px; }
.tier .bar::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--rule); }
.tier .bar .tk { position: absolute; top: 50%; width: 1px; height: 7px; margin-top: -3px; background: var(--tick); }
.tier .bar .fl2 { position: absolute; left: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; width: var(--w); background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 1.3s var(--glide) .2s; }
.tier .bar .fl2.hatch { left: var(--l); background: repeating-linear-gradient(90deg, var(--ink) 0 3px, transparent 3px 6px); }
.tier .bar .fl2.seg { background: repeating-linear-gradient(90deg, var(--ink) 0 calc(33.333% - 6px), transparent calc(33.333% - 6px) 33.333%); }
.tier.on .bar .fl2 { transform: none; }
.tier ul { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.tier li { padding: 9px 0; border-bottom: 1px solid var(--rule); font-size: var(--fs-s); line-height: 1.4; color: var(--body); }
.tier .go { margin-top: 22px; }
.note { margin: clamp(26px, 5vh, 44px) 0 0; font-size: var(--fs-m); color: var(--body); }
/* questions founders ask */
.faq { border-top: 1px solid var(--rule); }
.qa { border-bottom: 1px solid var(--rule); }
.qa button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(16px, 2.8vh, 24px) 0; font-size: var(--fs-l); letter-spacing: -0.01em; text-align: left; }
.qa .pl { position: relative; flex: none; width: 22px; height: 22px; transition: transform .8s var(--glide); }
.qa .pl::before, .qa .pl::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1px; margin: -.5px 0 0 -7px; background: currentColor; }
.qa .pl::after { transform: rotate(90deg); }
.qa.open .pl { transform: rotate(45deg); }
.qa .a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .8s var(--glide); }
.qa .a > div { overflow: hidden; }
.qa .a p { margin: 0; padding: 0 0 clamp(18px, 3vh, 26px); max-width: 40em; font-size: var(--fs-m); line-height: 1.55; color: var(--body); }
.qa.open .a { grid-template-rows: 1fr; }
/* who is behind it */
.founder { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2fr); gap: 32px clamp(32px, 6vw, 110px); align-items: start; }
.founder .card { aspect-ratio: 4 / 5; justify-self: stretch; max-height: none; }
.founder:has(.photo) { align-items: stretch; }
.founder .card.photo { aspect-ratio: auto; height: 100%; min-height: 380px; background: #EFEFEF url(img/evgenii.webp) 50% 28% / cover no-repeat; }   /* the portrait: a real photo, as tall as the text beside it, top and bottom in line */
.founder h3 { margin: 0; font-size: var(--fs-xl); font-weight: 400; letter-spacing: -0.035em; line-height: 1.08; }
.founder p { margin: 18px 0 0; max-width: 30em; font-size: var(--fs-l); line-height: 1.5; color: var(--body); }
.facts { list-style: none; margin: clamp(24px, 4vh, 40px) 0 0; padding: 0; max-width: 34em; border-top: 1px solid var(--rule); }
.facts li { display: flex; justify-content: space-between; gap: 24px; padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: var(--fs-m); }
.facts li span { color: var(--mute); }
.facts a { border-bottom: 1px solid currentColor; }
/* principles */
.princ { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 80px); }
.princ div { padding: clamp(20px, 3.4vh, 30px) 0; border-top: 1px solid var(--rule); }
.princ h3 { margin: 0; max-width: 16em; font-size: clamp(24px, 2.1vw, 34px); font-weight: 400; letter-spacing: -0.03em; line-height: 1.12; }
.princ p { margin: 12px 0 0; max-width: 30em; font-size: var(--fs-m); line-height: 1.5; color: var(--body); }
/* things arrive as they come into view */
.rv { opacity: 0; transform: translateY(20px); transition: opacity 1.1s var(--fade), transform 1.4s var(--glide); }
.rv.on { opacity: 1; transform: none; }
@media (max-width: 760px), (orientation: portrait) {
  .top { position: relative; gap: 16px; padding: 12px 16px; flex-wrap: wrap; }   /* on a phone the header scrolls away instead of covering a third of the screen */
  .tnav { gap: 16px; flex-wrap: wrap; }
  .phero, .sec-h, .steps li, .founder, .princ { grid-template-columns: 1fr; }
  .founder .card.photo { aspect-ratio: 4 / 4.6; height: auto; min-height: 0; max-height: 60svh; }
  .phero { padding: 40px 16px 48px; }
  .card { aspect-ratio: 4 / 4.4; }
  .sec { padding: 48px 16px; }
  .tiers { grid-template-columns: 1fr; gap: 40px; }
  .qk { left: 10px; right: 10px; width: auto; top: 10px; max-height: calc(100% - 20px); }
  .foot2 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .rv, .tier .bar .fl2, .qa .a, .qa .pl, .qk, .pb .fl, .pb .lb, .pb .ar { transition: none !important; }
}
