/* English for Real Estate — homepage (Mrs. Kami redesign, Nov 2026) */
:root {
  --ivory: #F6F1E8; --champagne: #E7D9BF; --chocolate: #21160F; --gold: #C9A24B;
  --kami: #E7B321; --ink: #111111; --muted: #5E5347; --sand: #B9A88F;
  --serif: "Source Serif 4", Georgia, serif; --sans: "Archivo", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { overflow-x: clip; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--kami); outline-offset: 3px; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 40px; } }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 600 1rem/1 var(--sans); text-decoration: none; white-space: nowrap; border: 1.5px solid transparent; transition: transform .15s, background .2s; }
.btn:active { transform: scale(.98); }
.btn-kami { background: var(--kami); color: var(--ink); }
.btn-kami:hover { background: #F0C23A; }
.btn-line { border-color: currentColor; }
.btn-small { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Header */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: color .4s; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 14px; }
.brand { font-family: var(--serif); font-weight: 650; font-size: 1.15rem; text-decoration: none; white-space: nowrap; }
.nav { display: none; gap: 30px; font-size: 1.02rem; font-weight: 700; }
.nav a { text-decoration: none; } .nav a:hover { opacity: 1; }
@media (min-width: 980px) { .nav { display: flex; } }
.top.dark { color: var(--ivory); }
.right { display: flex; align-items: center; gap: 12px; }
.langs { display: flex; gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid currentColor; font: 600 .8rem/1 var(--sans); }
.langs a { padding: 6px 9px; border-radius: 999px; text-decoration: none; font-weight: 700; opacity: .8; }
.langs a[aria-current] { opacity: 1; color: var(--ivory); background: var(--ink); }
.top.dark .langs a[aria-current] { color: var(--ink); background: var(--ivory); }
.menu-btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; }
.menu-btn svg { width: 18px; height: 18px; }
@media (min-width: 980px) { .menu-btn { display: none; } }
.menu { position: fixed; inset: 68px 12px auto; z-index: 49; background: var(--ivory); color: var(--ink); border-radius: 18px; box-shadow: 0 20px 50px rgba(33,22,15,.2); padding: 10px; display: none; }
.menu.open { display: grid; }
.menu a { padding: 14px 16px; border-radius: 12px; text-decoration: none; font-weight: 700; font-size: 1.1rem; }
.menu a:hover { background: var(--champagne); }
@media (max-width: 420px) { .brand { font-size: 1rem; } .right { gap: 8px; } .top .btn-small { padding: 0 14px; } }
@media (max-width: 479px) { .top .btn-small { display: none; } }
.top.solid { background: rgba(246,241,232,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--champagne); }

/* Hero: Mrs. Kami, full screen */
.hero { position: relative; height: 100svh; min-height: 560px; display: grid; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; transform-origin: 62% 40%; }
.hero-bg video, .hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--ivory) 0%, rgba(246,241,232,0) 18%), linear-gradient(90deg, rgba(246,241,232,.92) 0%, rgba(246,241,232,.6) 26%, rgba(246,241,232,0) 46%); }
.hero-text { position: relative; max-width: 640px; }
.h1 { font: 600 .95rem/1.3 var(--sans); letter-spacing: .01em; color: var(--muted); margin: 0 0 18px; }
.slogan { font-family: var(--serif); font-weight: 650; font-size: clamp(3rem, 6.4vw, 5.8rem); line-height: .94; letter-spacing: -.02em; margin: 0; }
.soon { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; font-weight: 700; font-size: .98rem; text-decoration: none; }
.app-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: var(--kami); flex-shrink: 0; } .app-icon svg { width: 20px; height: 20px; }
.soon:hover { text-decoration: underline; }
.re { color: #C28C08; }
.hero-sub { color: var(--muted); max-width: 36ch; margin: 22px 0 0; font-size: 1.1rem; }
@media (max-width: 899px) {
  .hero { align-items: end; padding-bottom: 40px; }
  .hero-bg video, .hero-bg img { object-position: 58% 30%; }
  .hero-bg::after { background: linear-gradient(0deg, rgba(246,241,232,.97) 0%, rgba(246,241,232,.88) 32%, rgba(246,241,232,0) 54%); }
}

/* The six levels: a house on the same ivory canvas, one floor per level */
.levels { background: var(--ivory); padding: 90px 0 60px; }
.levels-head { max-width: none; }
.levels h2 { font-family: var(--serif); font-weight: 650; font-size: clamp(2.3rem, 4.2vw, 3.7rem); line-height: .98; letter-spacing: -.02em; margin: 0; }
.levels-sub { color: var(--muted); font-size: 1.12rem; margin: 18px 0 0; max-width: 46ch; }
.house-grid { display: grid; gap: 28px; margin-top: 40px; align-items: center; }
@media (min-width: 960px) { .house-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; } }
.house { position: relative; margin: 0; max-width: 560px; justify-self: center; width: 100%; }
.house img { display: block; width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(0deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(0deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-composite: intersect; }
.spot { position: absolute; left: 14%; width: 72%; border: 2px solid transparent; border-radius: 14px; background: transparent; cursor: pointer; padding: 0; transition: border-color .25s, background .25s, box-shadow .25s; }
.spot span { position: absolute; left: -6%; top: 50%; transform: translateY(-50%) scale(.9); opacity: 0; white-space: nowrap; background: var(--ivory); color: var(--ink); font: 700 .95rem/1 var(--sans); padding: 9px 14px; border-radius: 999px; box-shadow: 0 6px 18px rgba(33,22,15,.18); transition: opacity .25s, transform .25s; pointer-events: none; }
.spot.on { border-color: var(--kami); background: rgba(231,179,33,.16); box-shadow: 0 0 0 4px rgba(231,179,33,.18), 0 0 40px rgba(231,179,33,.35); }
.spot.on span { opacity: 1; transform: translateY(-50%) scale(1); }
.spot:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.directory { list-style: none; padding: 0; margin: 0; background: #FFFCF5; border: 1.5px solid var(--champagne); border-radius: 24px; overflow: hidden; }
.level { --lc: #E7B321; border-top: 1px solid var(--champagne); transition: background .25s; }
.level:first-child { border-top: 0; }
.level[data-i="1"] { --lc: #D9A12A; } .level[data-i="2"] { --lc: #C48A2C; } .level[data-i="3"] { --lc: #A9732D; } .level[data-i="4"] { --lc: #7E5528; } .level[data-i="5"] { --lc: #21160F; }
.level.on { background: #FFF1C7; }
.row { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; width: 100%; padding: 16px 22px; }
.row:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; }
.badge { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--lc); color: var(--ink); font-family: var(--serif); font-weight: 650; font-size: 1.6rem; line-height: 1; }
.level[data-i="3"] .badge, .level[data-i="4"] .badge, .level[data-i="5"] .badge { color: var(--ivory); }
.level .name { display: block; font-family: var(--serif); font-weight: 650; font-size: 1.4rem; line-height: 1.15; margin: 0 0 3px; }
.level .can { display: block; color: var(--muted); font-size: .98rem; line-height: 1.35; }
.level.on .can { color: var(--ink); font-weight: 600; }
.more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; padding: 0 22px 0 96px; }
.more > * { overflow: hidden; min-height: 0; }
.level.on .more { grid-template-rows: 1fr; padding-bottom: 18px; }
.more .topics { color: var(--muted); font-size: .95rem; margin: 0; }
.more .btn { margin-top: 12px; }
.test-cta { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; text-align: center; }
.test-cta p { margin: 0; font-family: var(--serif); font-weight: 650; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.btn-big { min-height: 64px; padding: 0 34px; font-size: 1.12rem; font-weight: 700; box-shadow: 0 12px 30px rgba(201,162,75,.35); white-space: normal; text-align: center; }
.btn-big:hover { transform: translateY(-2px); }
@media (max-width: 699px) {
  .levels { padding: 64px 0 40px; }
  .row { padding: 14px 16px; gap: 14px; } .badge { width: 48px; height: 48px; font-size: 1.35rem; }
  .more { padding: 0 16px 0 78px; } .level.on .more { padding-bottom: 16px; }
  .spot span { font-size: .85rem; padding: 7px 11px; }
}
/* The app: a real phone with a live screen, the first release, the waitlist */
.app { padding: 100px 0; scroll-margin-top: 70px; }
.app-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .app-grid { grid-template-columns: minmax(240px, 340px) 1fr; column-gap: 56px; } .join { grid-column: 1 / -1; } }
@media (min-width: 1200px) { .app-grid { grid-template-columns: 300px 1fr 380px; column-gap: 48px; } .join { grid-column: auto; } }
.phone { position: relative; margin: 0 auto; width: 100%; max-width: 320px; }
.phone img { width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%), linear-gradient(0deg, transparent 0, #000 4%, #000 96%, transparent 100%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%), linear-gradient(0deg, transparent 0, #000 4%, #000 96%, transparent 100%); mask-composite: intersect; }
.screen { position: absolute; left: 9.4%; top: 4.65%; width: 81%; height: 89.8%; border-radius: 13% / 6.6%; overflow: hidden; container-type: inline-size; background: linear-gradient(180deg, #FFFDF7, #FBF3E2); }
.scr { height: 100%; display: flex; flex-direction: column; padding: 20cqw 7cqw 8cqw; }
.scr-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 5.2cqw; }
.scr-top b { font-weight: 700; } .scr-top span { color: var(--muted); }
.scr-bar { height: 1.6cqw; border-radius: 9px; background: var(--champagne); margin-top: 3cqw; overflow: hidden; } .scr-bar i { display: block; width: 25%; height: 100%; background: var(--kami); }
.scr-card { margin-top: 9cqw; flex: 1; border-radius: 8cqw; background: #fff; box-shadow: 0 3cqw 9cqw rgba(33,22,15,.12); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 6cqw; }
.scr-card small { font-size: 4.4cqw; color: var(--muted); }
.scr-card strong { font-family: var(--serif); font-weight: 650; font-size: 13cqw; line-height: 1.1; margin-top: 3cqw; }
.scr-card em { font-style: normal; color: var(--muted); font-size: 5cqw; margin-top: 2cqw; }
.scr-listen { margin-top: 9cqw; width: 19cqw; height: 19cqw; border-radius: 50%; border: 0; background: var(--kami); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.scr-listen svg { width: 9cqw; height: 9cqw; }
.scr-dots { display: flex; justify-content: center; gap: 2.4cqw; margin-top: 7cqw; } .scr-dots i { width: 2.4cqw; height: 2.4cqw; border-radius: 50%; background: var(--champagne); } .scr-dots i.on { background: var(--ink); }
.scr-next { margin-top: 6cqw; border-radius: 99px; background: var(--ink); color: var(--ivory); text-align: center; font-weight: 700; font-size: 5cqw; padding: 4.5cqw 0; }
.pill { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--kami); font-weight: 700; font-size: .9rem; }
.app h2 { font-family: var(--serif); font-weight: 650; font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.02; letter-spacing: -.015em; margin: 18px 0 0; }
.app .lead { color: var(--muted); font-size: 1.12rem; margin: 16px 0 0; }
.features { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.features li { position: relative; padding-left: 26px; }
.features li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--kami); }
.features strong { display: block; font-weight: 700; }
.features span { color: var(--muted); font-size: .98rem; }
.join { background: var(--chocolate); color: var(--ivory); border-radius: 28px; padding: 32px; }
.join h3 { font-family: var(--serif); font-weight: 650; font-size: 1.9rem; line-height: 1.1; margin: 0; }
.join > p { color: var(--sand); margin: 8px 0 0; }
.signup { display: grid; gap: 12px; margin-top: 22px; }
@media (min-width: 900px) and (max-width: 1199px) { .signup { grid-template-columns: repeat(4, 1fr); align-items: end; } .signup .consent, .signup .form-status, .signup .pdf-download { grid-column: 1 / -1; } .signup button { grid-column: 4; } }
.field { display: grid; gap: 6px; } .field span { font-size: .85rem; font-weight: 600; color: var(--sand); }
.field input, .field select { width: 100%; min-height: 50px; border-radius: 14px; border: 1.5px solid rgba(246,241,232,.25); background: rgba(246,241,232,.08); color: var(--ivory); font: 500 1rem var(--sans); padding: 0 14px; }
.field select option { color: var(--ink); }
.field input::placeholder { color: rgba(246,241,232,.45); }
.field input:focus, .field select:focus { outline: none; border-color: var(--kami); }
.field [aria-invalid="true"] { border-color: #FF8A6B; }
.consent { display: flex; gap: 10px; font-size: .85rem; color: var(--sand); line-height: 1.45; } .consent input { margin-top: 3px; accent-color: var(--kami); flex-shrink: 0; }
.signup button { width: 100%; cursor: pointer; font-weight: 700; }
.form-status { margin: 0; font-size: .92rem; min-height: 0; } .form-status.error { color: #FFB49E; } .form-status.success { color: var(--kami); font-weight: 700; }
.pdf-download a { display: flex; justify-content: center; margin-top: 4px; padding: 14px; border-radius: 999px; background: var(--ivory); color: var(--ink); font-weight: 700; text-decoration: none; }
@media (max-width: 699px) { .app { padding: 72px 0; } .join { padding: 24px 20px; } .phone { max-width: 260px; } }

/* Plain sections */
.plain { padding: 96px 0; }
.plain h2 { font-family: var(--serif); font-weight: 650; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; margin: 0; }
.links { margin-top: 30px; border-top: 1px solid var(--champagne); }
.links a { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 20px 0; border-bottom: 1px solid var(--champagne); text-decoration: none; }
.links strong { font-family: var(--serif); font-size: 1.6rem; font-weight: 650; }
.links small { grid-column: 1; color: var(--muted); font-size: .95rem; }
.links em { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; color: var(--gold); font-size: 1.4rem; transition: transform .2s; }
.links a:hover em { transform: translateX(4px); }
.duo { display: grid; gap: 18px; margin-top: 40px; }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1fr; } }
.panel { border-radius: 24px; padding: 36px; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; }
@media (max-width: 767px) { .panel { padding: 28px; min-height: 0; } }
.panel p { color: var(--muted); max-width: 40ch; }
.p-cards { background: var(--champagne); }
.p-series { background: var(--chocolate); color: var(--ivory); } .p-series p { color: var(--sand); }
.p-series .follow { color: var(--ivory); font-weight: 700; margin: 18px 0 0; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.soc { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 8px; border-radius: 999px; background: var(--ivory); color: var(--ink); font-weight: 700; text-decoration: none; transition: transform .15s, background .2s; }
.soc:hover { background: #fff; transform: translateY(-2px); }
.soc svg { width: 32px; height: 32px; display: block; }
.author { padding-top: 0; }
.author-in { border-top: 1px solid var(--champagne); padding-top: 48px; display: grid; gap: 24px; }
@media (min-width: 900px) { .author-in { grid-template-columns: 1.2fr 1fr; align-items: end; } }
.author p { color: var(--muted); max-width: 46ch; margin: 14px 0 0; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.stats div { border-top: 3px solid var(--ink); padding-top: 10px; }
.stats b { display: block; font-family: var(--serif); font-weight: 650; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1; }
.stats span { color: var(--muted); font-size: .92rem; }

/* Finale: the golden key and a turning globe of the cities where our learners work */
.finale { background: var(--chocolate); color: var(--ivory); padding: 90px 0 70px; overflow: hidden; }
.finale-grid { display: grid; gap: 30px; align-items: center; }
@media (min-width: 900px) { .finale-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
.finale-text { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.finale-key img { width: clamp(70px, 9vw, 120px); height: auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,.45)); transform-origin: 50% 40%; will-change: transform; }
.finale h2 { font-family: var(--serif); font-weight: 650; font-size: clamp(2.3rem, 4.6vw, 4rem); line-height: 1; letter-spacing: -.015em; margin: 0; }
.finale p { color: var(--sand); font-size: 1.12rem; margin: 18px 0 0; max-width: 34ch; }
.finale .btn-line { color: var(--ivory); }
.globe { position: relative; width: 100%; aspect-ratio: 1; max-width: 560px; justify-self: center; cursor: grab; touch-action: pan-y; }
.globe:active { cursor: grabbing; }
.globe canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.g-label { position: absolute; left: 0; top: 0; opacity: 0; pointer-events: none; white-space: nowrap; font: 700 .82rem/1 var(--sans); letter-spacing: .02em; color: var(--ink); background: var(--kami); padding: 6px 10px; border-radius: 999px; box-shadow: 0 6px 16px rgba(0,0,0,.35); }
@media (max-width: 599px) { .finale { padding: 70px 0 40px; } .finale-text { grid-template-columns: 1fr; } .finale-key img { width: 64px; } .g-label { font-size: .72rem; padding: 5px 8px; } }

footer { background: var(--chocolate); color: var(--sand); padding: 40px 0 52px; border-top: 1px solid rgba(185,168,143,.18); font-size: .92rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
footer a { text-decoration: none; } footer a:hover { color: var(--ivory); }

/* Smooth wheel scrolling (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* Levels on phones: two-line title, and a pop-up card right on the building */
.m-br { display: none; }
.on-touch { display: none; }
@media (hover: none) { .on-touch { display: inline; } .on-mouse { display: none; } }
@media (max-width: 699px) { .m-br { display: inline; } .levels h2 { font-size: clamp(1.7rem, 8vw, 2.4rem); line-height: 1.08; } }
.pop { position: absolute; left: 4%; right: 4%; z-index: 3; background: #FFFCF5; border: 2px solid var(--kami); border-radius: 20px; padding: 18px 18px 18px; box-shadow: 0 18px 40px rgba(33,22,15,.28); animation: pop .25s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.97); } }
.pop-head { display: flex; align-items: center; gap: 12px; padding-right: 34px; }
.pop .badge { width: 46px; height: 46px; font-size: 1.3rem; flex-shrink: 0; }
.pop b { font-family: var(--serif); font-weight: 650; font-size: 1.35rem; line-height: 1.1; }
.pop .can { font-weight: 700; margin: 12px 0 6px; }
.pop .topics { color: var(--muted); font-size: .95rem; margin: 0; }
.pop .btn { margin-top: 14px; }
.pop-x { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--champagne); background: transparent; font-size: 1.2rem; line-height: 1; cursor: pointer; color: var(--ink); }
@media (min-width: 960px) { .pop { display: none !important; } }
/* Phones and tablets: the building with its pop-up card is enough; the floor list stays in the page for Google and screen readers */
@media (max-width: 959px) { .directory { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; } .house-grid { gap: 0; } }

.made-by { display: block; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--champagne); color: var(--ink); font-weight: 600; font-size: .98rem; line-height: 1.45; text-decoration: underline; text-decoration-color: var(--kami); text-decoration-thickness: 2px; text-underline-offset: 4px; max-width: 46ch; }
.made-by:hover { color: #8A6400; }
#author { scroll-margin-top: 80px; }

/* Russian hero on phones: the longer title sits on a taller light fade */
@media (max-width: 899px) {
  .hero-bg::after { background: linear-gradient(0deg, rgba(246,241,232,.98) 0%, rgba(246,241,232,.92) 42%, rgba(246,241,232,.55) 62%, rgba(246,241,232,0) 78%); }
  html[lang="ru"] .hero .actions .btn { padding: 0 20px; }
}

.hero-made { display: block; margin-top: 14px; max-width: 44ch; color: var(--muted); font-size: .92rem; line-height: 1.45; text-decoration: underline; text-decoration-color: var(--kami); text-underline-offset: 3px; }
.hero-made:hover { color: var(--ink); }
@media (max-width: 899px) { .hero-made { font-size: .85rem; margin-top: 10px; } }

/* Hero: the still picture shows at once; the video fades in only once it really plays
   (slow internet or Low Power Mode on iPhone keep the picture instead of an empty screen) */
.hero-bg .hero-still, .hero-bg .hero-still img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg video { position: relative; opacity: 0; transition: opacity .6s ease; }
.hero-bg video.playing { opacity: 1; }


/* Spam trap: hidden from people, bots fill it in */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
