/* HNF hero prototype: "404 · human not found", a phone nobody answers, Ema picks up. */
[hidden] { display: none !important; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.5 var(--font-sans); overflow-x: hidden; }
button { font: inherit; color: inherit; }
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 48px; }
.mono { font-family: var(--font-mono); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.hd { position: relative; z-index: 5; }
.hd .wrap { display: flex; align-items: center; gap: 28px; height: 76px; }
.hd .hnf-logo { font-size: 19px; }
.hd nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.hd nav a { color: var(--ink-soft); text-decoration: none; font-size: 15px; }
.hd nav a:hover { color: var(--ink); }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 3px; }
.lang button { border: 0; background: none; min-width: 40px; min-height: 32px; border-radius: var(--radius-pill); font: 500 12px/1 var(--font-mono); letter-spacing: .06em; color: var(--ink-faint); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

.talk { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px 0 14px; border-radius: var(--radius-pill); border: 0; background: var(--ink); color: var(--paper); font: 500 15px/1 var(--font-sans); cursor: pointer; text-decoration: none; transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease); }
.talk:hover { background: #000; }
.talk:active { transform: translateY(1px); }
.talk .hnf-mark { width: 26px; height: 26px; color: var(--paper); }
.talk .hnf-mark circle, .talk .hnf-mark path { transition: stroke-dasharray 500ms var(--ease); }
.talk:hover .hnf-mark circle { stroke-dasharray: 60 0; }
.talk:hover .hnf-mark path { stroke-dasharray: 80 0; }
.talk--s { min-height: 44px; font-size: 14px; padding: 0 16px 0 10px; }
.talk--s .hnf-mark { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow-x: clip; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 40px; align-items: center; min-height: 720px; padding-top: 8px; padding-bottom: 56px; }
.copy { position: relative; z-index: 2; }

.q { display: flex; align-items: center; gap: 12px; margin: 0 0 26px; min-height: 30px; font: 500 13px/1 var(--font-mono); color: var(--ink-faint); letter-spacing: .02em; }
.q-code { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 6px; background: var(--thread); color: #fff; font-weight: 600; letter-spacing: .08em; }
.q-code { transition: background 400ms var(--ease); }
html.found .q-code { background: var(--success); }
.q-res { color: var(--thread); transition: color 400ms var(--ease); }
html.found .q-res { color: var(--success); }
.q-caret { display: inline-block; width: 8px; height: 15px; margin-left: 2px; background: var(--ink-faint); vertical-align: -2px; animation: hnf-blink 1.1s steps(1) infinite; }

.h1 { margin: 0; font: 800 clamp(54px, 6.7vw, 104px)/.94 var(--font-display); letter-spacing: -.045em; color: var(--ink); text-wrap: balance; }
.h1 .w { display: inline-block; }
.intro .h1 .w { opacity: 0; transform: translateY(.35em); animation: rise 700ms var(--ease) forwards; animation-delay: calc(900ms + var(--i) * 80ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* the missing "о": the real letter stays for copy and screen readers, a dashed ring is drawn over it */
.ghost { position: relative; color: transparent; }
.ghost svg { position: absolute; overflow: visible; pointer-events: none; animation: ring-spin 16s linear infinite; }
.ghost circle { fill: none; stroke: var(--thread); stroke-linecap: round; transition: stroke-dasharray 900ms var(--ease), stroke 600ms var(--ease); }
html.found .ghost svg { animation-play-state: paused; }
html.found .ghost circle { stroke: var(--ink); }
/* found: the ring closes, then the real letter comes back */
.ghost { transition: color 500ms var(--ease) 900ms; }
.ghost svg { transition: opacity 500ms var(--ease) 900ms; }
html.found .ghost { color: inherit; }
html.found .ghost svg { opacity: 0; }
@keyframes ring-spin { to { transform: rotate(360deg); } }

.h2 { margin: 18px 0 0; font: 300 clamp(28px, 3.1vw, 46px)/1.1 var(--font-display); letter-spacing: -.03em; color: var(--ink); }
.intro .h2 { opacity: 0; animation: fadein 800ms var(--ease) 1700ms forwards; }
@keyframes fadein { to { opacity: 1; } }
.lead { margin: 26px 0 0; max-width: 30em; font-size: 18px; line-height: 1.5; color: var(--ink-soft); }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }
.ctas .talk { min-height: 54px; padding: 0 24px 0 16px; font-size: 16px; }
.link { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 6px; color: var(--ink); font-size: 16px; text-decoration: none; border-bottom: 0; }
.link svg { width: 18px; height: 18px; transition: transform var(--dur-fast) var(--ease); }
.link:hover svg { transform: translateY(3px); }
.intro .lead, .intro .ctas { opacity: 0; animation: fadein 700ms var(--ease) 2000ms forwards; }

/* ---------- Stage ---------- */
.stage { position: relative; height: 700px; }
.n404 { position: absolute; left: 50%; top: 50%; width: 760px; height: 330px; transform: translate(-56%, -54%); z-index: 0; pointer-events: none; }
.n404 text { font: 800 330px/1 var(--font-display); letter-spacing: -.06em; fill: none; stroke: #CFCDC3; stroke-width: 2.2; stroke-dasharray: 10 9; }
.ph-wrap { position: absolute; left: 6px; top: 22px; width: 312px; height: 648px; z-index: 2; }
.intro .ph-wrap { opacity: 0; transform: translateY(24px); animation: rise 900ms var(--ease) 500ms forwards; }

/* annotations: a technical-drawing leader from the phone to a short line of text */
.anns { position: absolute; inset: 0; pointer-events: none; }
.ann { position: absolute; left: calc(100% - 9px); top: var(--y, 100px); display: flex; align-items: center; transition: top 600ms var(--ease), opacity 300ms var(--ease); }
.ann i { position: relative; width: 38px; height: 1px; background: var(--ink-faint); flex: none; }
.ann i::before { content: ""; position: absolute; left: -5px; top: -5px; width: 11px; height: 11px; border-radius: 50%; background: var(--thread); box-shadow: 0 0 0 3px var(--paper); }
.ann span { width: max-content; max-width: 200px; margin-left: 10px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--raised); font: 500 12.5px/1.25 var(--font-mono); color: var(--ink); box-shadow: 0 1px 2px rgba(22,24,29,.05); }
.ann.swap span { animation: annswap 420ms var(--ease); }
@keyframes annswap { from { opacity: 0; transform: translateX(-6px); } }
.ann--top { top: -2px; }
.ann--top i::before { background: var(--ink); }
.ann--top span { background: transparent; border-color: transparent; box-shadow: none; padding-left: 0; color: var(--ink-faint); }
.ann--top b { color: var(--ink); font-weight: 600; }
.caption { display: none; }

.replay { position: absolute; left: 50%; bottom: -66px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--raised); font: 500 14px/1 var(--font-sans); cursor: pointer; white-space: nowrap; animation: fadein 400ms var(--ease); }
.replay svg { width: 16px; height: 16px; }
.replay:hover { border-color: var(--ink); }

/* ---------- Phone ---------- */
.ph { position: relative; width: 312px; height: 648px; padding: 11px; border-radius: 52px; background: #1B1D22;
  box-shadow: 0 0 0 1px #0A0B0D, inset 0 0 0 1.5px #4A4D55, inset 0 0 0 5px #111216,
    0 60px 90px -40px rgba(22,24,29,.55), 0 24px 40px -24px rgba(22,24,29,.4); }
.ph::before { content: ""; position: absolute; left: -3px; top: 132px; width: 3px; height: 30px; border-radius: 2px 0 0 2px; background: #2B2D33; box-shadow: 0 52px 0 0 #2B2D33, 0 52px 0 0 #2B2D33, 0 104px 0 0 #2B2D33; }
.ph::after { content: ""; position: absolute; right: -3px; top: 176px; width: 3px; height: 74px; border-radius: 0 2px 2px 0; background: #2B2D33; }
.ph-screen { position: relative; width: 100%; height: 100%; border-radius: 41px; overflow: hidden; background: #061214; isolation: isolate; }
.ph-island { position: absolute; z-index: 40; top: 11px; left: 50%; width: 94px; height: 28px; margin-left: -47px; border-radius: 20px; background: #000; }
.ph-island::after { content: ""; position: absolute; right: 12px; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #2C3A52, #0B0E14 70%); }
.ph-glare { position: absolute; inset: 0; z-index: 50; border-radius: 41px; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.075) 0%, rgba(255,255,255,0) 30%); }
.sb { position: absolute; z-index: 30; top: 0; left: 0; right: 0; height: 50px; display: grid; grid-template-columns: 1fr 112px 1fr; align-items: center; justify-items: center; padding: 4px 10px 0; color: #fff; font: 600 14.5px/1 var(--font-sans); letter-spacing: -.01em; transition: color 300ms; }
.sb svg { display: block; }
.sb .ic { grid-column: 3; display: flex; align-items: center; gap: 5px; }
.ph[data-state="app"] .sb { color: var(--ink); }

.scr { position: absolute; inset: 0; transition: opacity 450ms var(--ease), transform 550ms var(--ease); }
.scr[aria-hidden="true"] { opacity: 0; pointer-events: none; }

/* ring screen */
.s-ring { background: radial-gradient(130% 75% at 50% 0%, #10444A 0%, #08221F00 60%), linear-gradient(#0A2A2E, #050E10); color: #fff; text-align: center; }
.s-ring .who { position: absolute; top: 94px; left: 0; right: 0; }
.s-ring .lbl { font-size: 13.5px; color: rgba(255,255,255,.62); }
.s-ring .num { margin-top: 10px; font: 400 27px/1.1 var(--font-sans); letter-spacing: -.01em; }
.s-ring .to { margin-top: 8px; font-size: 13.5px; color: rgba(255,255,255,.62); }
.bell { position: absolute; top: 262px; left: 50%; width: 92px; height: 92px; margin-left: -46px; border-radius: 50%; background: rgba(84,228,224,.12); display: grid; place-items: center; color: var(--ema); }
.bell svg { width: 34px; height: 34px; }
.ringing .bell svg { animation: buzz 1.1s ease-in-out infinite; }
.bell::before, .bell::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(84,228,224,.5); opacity: 0; }
.ringing .bell::before { animation: pulse 1.6s var(--ease) infinite; }
.ringing .bell::after { animation: pulse 1.6s var(--ease) 800ms infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.1); opacity: 0; } }
@keyframes buzz { 0%, 50%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(-14deg); } 20%, 40% { transform: rotate(14deg); } }
.rings { position: absolute; top: 386px; left: 0; right: 0; font: 500 11px/1 var(--font-mono); letter-spacing: .08em; color: rgba(255,255,255,.5); text-transform: uppercase; }
.rings b { color: var(--ema); font-weight: 600; }
.acts { position: absolute; left: 0; right: 0; bottom: 64px; display: flex; justify-content: space-between; padding: 0 44px; }
.act { display: flex; flex-direction: column; align-items: center; gap: 9px; border: 0; background: none; padding: 0; cursor: pointer; font-size: 12.5px; color: rgba(255,255,255,.82); }
.act b { width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; transition: transform 160ms var(--ease), filter 160ms; }
.act svg { width: 30px; height: 30px; }
.act--no b { background: #EB4D3D; }
.act--no svg { transform: rotate(135deg); }
.act--yes b { background: #2CC36B; }
.ringing .act--yes b { animation: halo 1.6s var(--ease) infinite; }
@keyframes halo { 0% { box-shadow: 0 0 0 0 rgba(44,195,107,.55); } 100% { box-shadow: 0 0 0 18px rgba(44,195,107,0); } }
.act:hover b { filter: brightness(1.08); }
.act.pressed b, .act:active b { transform: scale(.9); filter: brightness(.9); }
.ph.shake { animation: shake 420ms; }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }

/* live call screen */
.s-live { background: linear-gradient(#081C1F, #050C0D 60%); color: #fff; }
.s-live .top { position: absolute; top: 56px; left: 18px; right: 18px; display: flex; align-items: center; gap: 10px; }
.ema-badge { width: 38px; height: 38px; border-radius: 12px; background: var(--ema); color: var(--ema-ink); display: grid; place-items: center; flex: none; }
.ema-badge svg { width: 20px; height: 20px; }
.s-live .nm { font: 600 16px/1.1 var(--font-sans); }
.s-live .st { margin-top: 3px; font: 500 11px/1 var(--font-mono); color: rgba(255,255,255,.55); letter-spacing: .04em; }
.s-live .st i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ema); margin-right: 6px; vertical-align: 0; animation: hnf-blink 1.4s steps(1) infinite; }
.s-live.ended .st i { background: rgba(255,255,255,.35); animation: none; }
.s-live .tm { margin-left: auto; font: 500 13px/1 var(--font-mono); color: rgba(255,255,255,.75); font-variant-numeric: tabular-nums; }
.wv { position: absolute; top: 112px; left: 18px; right: 18px; height: 40px; display: flex; align-items: center; justify-content: center; gap: 3px; color: rgba(255,255,255,.25); }
.wv span { width: 3px; height: 34px; border-radius: 2px; background: currentColor; transform: scaleY(.1); transition: transform 220ms var(--ease), background 220ms; }
.wv.ema { color: var(--ema); }
.wv.caller { color: rgba(255,255,255,.82); }
.wv.ema span, .wv.caller span { animation: wv var(--d) ease-in-out infinite alternate; }
@keyframes wv { from { transform: scaleY(.12); } to { transform: scaleY(var(--h)); } }
.tx { position: absolute; top: 164px; bottom: 122px; left: 14px; right: 14px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 60px); mask-image: linear-gradient(transparent, #000 60px); }
.b { max-width: 86%; padding: 9px 12px 10px; border-radius: 16px; font-size: 14px; line-height: 1.36; animation: bub 380ms var(--ease); flex: none; }
.b small { display: block; margin-bottom: 3px; font: 500 9.5px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; opacity: .62; }
.b--caller { align-self: flex-start; background: rgba(255,255,255,.1); color: #EDF2F2; border-bottom-left-radius: 5px; }
.b--ema { align-self: flex-end; background: var(--ema); color: var(--ema-ink); border-bottom-right-radius: 5px; }
.b--dots { display: flex; gap: 4px; padding: 13px 14px; }
.b--dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--ema-ink); opacity: .35; animation: dot 900ms infinite; }
.b--dots i:nth-child(2) { animation-delay: 150ms; } .b--dots i:nth-child(3) { animation-delay: 300ms; }
@keyframes dot { 30% { opacity: 1; transform: translateY(-2px); } }
@keyframes bub { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.ctl { position: absolute; left: 0; right: 0; bottom: 40px; display: flex; justify-content: center; align-items: center; gap: 26px; }
.ctl span { width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; color: rgba(255,255,255,.85); }
.ctl span svg { width: 22px; height: 22px; }
.ctl .end { width: 62px; height: 62px; background: #EB4D3D; color: #fff; }
.ctl .end svg { width: 26px; height: 26px; transform: rotate(135deg); }

/* owner app: "Днес" */
.s-app { background: #F2F2EE; color: var(--ink); transform: translateX(16px); }
.s-app[aria-hidden="false"] { transform: none; }
.s-app .ah { position: absolute; top: 60px; left: 20px; right: 16px; display: flex; align-items: center; justify-content: space-between; }
.s-app h3 { margin: 0; font: 700 28px/1 var(--font-display); letter-spacing: -.03em; }
.s-app .biz { position: absolute; top: 96px; left: 20px; right: 16px; font-size: 13px; color: var(--ink-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tabbar { position: absolute; left: 0; right: 0; bottom: 0; height: 78px; padding: 8px 18px 0; display: flex; justify-content: space-around; background: rgba(255,255,255,.86); border-top: 1px solid #E6E5DF; }
.tabbar span { display: flex; flex-direction: column; align-items: center; gap: 4px; font: 500 10.5px/1 var(--font-sans); color: var(--ink-faint); }
.tabbar span.on { color: var(--ema-deep); }
.tabbar svg { width: 22px; height: 22px; }
.online { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: var(--radius-pill); background: var(--ema-tint); color: var(--ema-ink); font: 500 11px/1 var(--font-mono); letter-spacing: .03em; }
.online i { width: 7px; height: 7px; border-radius: 50%; background: #13A39C; }
.card { position: absolute; top: 128px; left: 12px; right: 12px; padding: 16px; border-radius: 22px; background: #fff; box-shadow: 0 1px 2px rgba(22,24,29,.06), 0 14px 30px -12px rgba(22,24,29,.18); }
.s-app[aria-hidden="false"] .card { animation: cardin 620ms cubic-bezier(.2,.9,.3,1.15) 200ms both; }
@keyframes cardin { from { opacity: 0; transform: translateY(26px) scale(.97); } }
.card .meta { display: flex; align-items: center; gap: 8px; font: 500 11px/1 var(--font-mono); color: var(--ink-faint); letter-spacing: .02em; }
.chip { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: var(--radius-pill); font: 600 10.5px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.chip--new { background: var(--ema-tint); color: var(--ema-ink); }
.chip--ok { background: var(--success-tint); color: var(--success); }
.chip--ok svg { width: 12px; height: 12px; }
.card h4 { margin: 14px 0 12px; font: 650 19px/1.15 var(--font-display); letter-spacing: -.02em; }
.rows { margin: 0; padding: 0; list-style: none; }
.rows li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid #EEEDE8; font-size: 14px; }
.rows li:first-child { border-top: 0; }
.rows .k { color: var(--ink-faint); flex: none; }
.rows .v { text-align: right; font-weight: 500; }
.rows .qty { color: var(--ink-faint); font-weight: 400; margin-right: 6px; }
.btns { display: grid; grid-template-columns: 1fr 1.5fr; gap: 10px; margin-top: 14px; }
.btns button { min-height: 50px; border-radius: 14px; font: 600 15px/1 var(--font-sans); cursor: pointer; transition: transform 140ms var(--ease), background 160ms; }
.btns .no { border: 1.5px solid #DAD9D2; background: #fff; color: var(--ink-soft); }
.btns .yes { border: 0; background: var(--ema-deep); color: #fff; }
.btns .yes:hover { background: #075860; }
.btns button:active { transform: scale(.97); }
.waiting .btns .yes { animation: wait 1.8s var(--ease) infinite; }
@keyframes wait { 0% { box-shadow: 0 0 0 0 rgba(8,101,109,.45); } 100% { box-shadow: 0 0 0 12px rgba(8,101,109,0); } }
.done-row { display: flex; align-items: center; gap: 10px; margin-top: 14px; min-height: 50px; padding: 0 14px; border-radius: 14px; background: var(--success-tint); color: var(--success); font: 600 15px/1 var(--font-sans); animation: bub 380ms var(--ease); }
.done-row svg { width: 20px; height: 20px; }
.quiet { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: #F6F6F2; font-size: 13.5px; color: var(--ink-soft); }

/* ---------- What we do ---------- */
.what { border-top: 1px solid var(--line); }
.what .wrap { padding-top: 56px; padding-bottom: 72px; }
.what h2 { margin: 0 0 28px; font: 500 13px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); }
.grid6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.cell { padding: 18px 18px 22px 0; border-right: 1px solid var(--line); }
.cell + .cell { padding-left: 18px; }
.cell:last-child { border-right: 0; }
.cell .ix { display: flex; align-items: center; gap: 8px; font: 500 11px/1 var(--font-mono); color: var(--ink-faint); letter-spacing: .06em; }
.cell .ix i { width: 8px; height: 8px; border-radius: 50%; background: var(--dot, var(--ink)); }
.cell h3 { margin: 16px 0 6px; font: 650 21px/1.1 var(--font-display); letter-spacing: -.025em; }
.cell p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.ft { border-top: 1px solid var(--line); }
.ft .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 26px; font: 500 11.5px/1.4 var(--font-mono); color: var(--ink-faint); letter-spacing: .02em; }

/* ---------- Contact drawer ---------- */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(22,24,29,.32); animation: fadein 200ms var(--ease) both; }
.drawer { position: fixed; z-index: 61; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: var(--paper); box-shadow: -30px 0 60px -30px rgba(22,24,29,.35); display: flex; flex-direction: column; animation: slidein 420ms var(--ease) both; overflow-y: auto; }
@keyframes slidein { from { transform: translateX(40px); opacity: 0; } }
.drawer .dh { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px 0; }
.drawer .dh .mono { font-size: 11px; color: var(--ink-faint); letter-spacing: .08em; text-transform: uppercase; }
.x { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--raised); display: grid; place-items: center; cursor: pointer; }
.x svg { width: 18px; height: 18px; }
.drawer .db { padding: 28px 24px 32px; }
.drawer h2 { margin: 0; font: 800 44px/.98 var(--font-display); letter-spacing: -.04em; }
.drawer .sub { margin: 12px 0 26px; color: var(--ink-soft); }
.fld { display: block; margin-bottom: 16px; }
.fld span { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 500; }
.fld input, .fld textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-m); background: var(--raised); font: 400 16px/1.4 var(--font-sans); color: var(--ink); }
.fld textarea { min-height: 110px; resize: vertical; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--ink); }
.fld.bad input, .fld.bad textarea { border-color: var(--danger); }
.err { margin-top: 6px; font-size: 13px; color: var(--danger); }
.send { width: 100%; justify-content: center; min-height: 54px; }
.found-box { text-align: left; }
.found-box .bigmark { width: 76px; height: 76px; color: var(--ink); margin: 6px 0 22px; }
.found-box .bigmark circle, .found-box .bigmark path { transition: stroke-dasharray 900ms var(--ease) 250ms; }
.found-box.on .bigmark circle { stroke-dasharray: 60 0; }
.found-box.on .bigmark path { stroke-dasharray: 80 0; }

:focus-visible { outline: 2.5px solid var(--thread); outline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 1239px) {
  .anns { display: none; }
  .ph-wrap { left: 50%; margin-left: -156px; }
  .caption { display: block; position: absolute; left: 0; right: 0; top: 690px; text-align: center; font: 500 12.5px/1.3 var(--font-mono); color: var(--ink); }
  .caption b { font-weight: 500; color: var(--ink-faint); display: block; margin-bottom: 6px; }
  .stage { height: 760px; }
  .replay { bottom: auto; top: 736px; }
  .stage .replay { position: absolute; }
  .n404 { transform: translate(-50%, -56%); width: 620px; }
  .n404 text { font-size: 280px; }
}
@media (max-width: 1080px) {
  .grid6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cell:nth-child(3) { border-right: 0; }
  .cell:nth-child(4) { padding-left: 0; }
  .cell:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .wrap { padding: 0 24px; }
  .hd nav a { display: none; }
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; min-height: 0; padding-top: 18px; }
  .stage { height: 820px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .hd .wrap { height: 64px; gap: 12px; }
  .hd nav { gap: 10px; }
  .hd .hnf-logo { font-size: 16px; }
  .hd .hnf-logo__word { display: none; }
  .q { font-size: 11.5px; gap: 9px; margin-bottom: 18px; }
  .h1 { font-size: clamp(44px, 13.4vw, 64px); }
  .lead { font-size: 16.5px; }
  .ctas .talk { width: 100%; justify-content: center; }
  .stage { height: 780px; margin: 0 -16px; }
  .ph-wrap { top: 10px; }
  .caption { top: 676px; padding: 0 16px; }
  .replay { top: 724px; }
  .n404 { width: 400px; } .n404 text { font-size: 190px; }
  .grid6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cell, .cell + .cell { padding: 16px 12px 18px 0; border-right: 0; border-top: 1px solid var(--line); }
  .cell:nth-child(even) { padding-left: 12px; border-left: 1px solid var(--line); }
  .cell:nth-child(-n+2) { border-top: 0; }
  .cell h3 { font-size: 19px; }
  .ft .wrap { flex-direction: column; gap: 6px; }
  .drawer h2 { font-size: 38px; }
}
@media (max-width: 440px) {
  .hd .talk span { display: none; }
  .hd .talk { padding: 0 10px; }
}
@media (max-width: 350px) {
  .ph-wrap { transform: scale(.9); transform-origin: top center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ghost svg { animation: none; }
}
