/* yusnaby.com — red and black, the same look as YUSNABY STUDIO (logo: the red writing cursor, always blinking).
   Mobile first: one column up to 860 px, photo beside the intro above that. No scripts, no third-party requests. */
@font-face { font-family: Inter; src: url('/fonts/Inter-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url('/fonts/Inter-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: Inter; src: url('/fonts/Inter-ExtraBold.ttf') format('truetype'); font-weight: 800; font-display: swap; }
@font-face { font-family: Inter; src: url('/fonts/Inter-Black.ttf') format('truetype'); font-weight: 900; font-display: swap; }

:root {
  --ink: #090b10; --graphite: #12161e; --raised: #1a1f29; --border: #2a303c; --hairline: rgba(255, 255, 255, 0.07);
  --text: #f6f7fa; --muted: #9ca5b3; --red: #f02b36; --red2: #ff4a54; --red-fill: #d92330; --red-glow: rgba(240, 43, 54, 0.35);
  --radius: 18px; --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --font: Inter, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; color: var(--text); font: 400 16px/1.55 var(--font); -webkit-font-smoothing: antialiased;
  background: radial-gradient(120% 60% at 50% -10%, rgba(240, 43, 54, 0.16) 0%, rgba(9, 11, 16, 0) 60%) no-repeat, var(--ink);
}
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--red2); outline-offset: 3px; border-radius: 10px; }
.sprite { position: absolute; }
.ico, .go { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico.solid, .ico .fill { fill: currentColor; stroke: none; }

/* logo — ▮ YUSNABY, the cursor blinks all the time (owner's rule) */
.logo { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.logo .cursor { width: 7px; height: 22px; border-radius: 2.5px; background: var(--red); box-shadow: 0 0 12px var(--red-glow); animation: blink 1.1s steps(1, end) infinite; }
.logo .y { font-weight: 800; font-size: 17px; letter-spacing: 0.16em; color: #fff; }
.logo.small .cursor { width: 5px; height: 16px; }
.logo.small .y { font-size: 13px; }
@keyframes blink { 0% { opacity: 1; } 55% { opacity: 0.12; } }

/* header */
.top {
  position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between;
  padding: calc(14px + env(safe-area-inset-top)) 20px 14px; background: rgba(9, 11, 16, 0.72);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--hairline);
}
.top-link { font-weight: 600; font-size: 14px; color: var(--muted); padding: 8px 12px; border-radius: 999px; border: 1px solid var(--border); }
.top-link:hover { color: #fff; border-color: var(--red); }

.page { width: 100%; max-width: 520px; margin: 0 auto; padding: 22px 20px 8px; }

/* hero */
.photo { position: relative; margin: 0; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--graphite);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--hairline); }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9, 11, 16, 0) 55%, rgba(9, 11, 16, 0.85) 100%); }
.live { position: absolute; z-index: 1; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; background: rgba(9, 11, 16, 0.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12); font-size: 13px; font-weight: 600; }
.live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 var(--red-glow); animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(240, 43, 54, 0.6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(240, 43, 54, 0); } }

.intro { text-align: center; padding-top: 26px; }
.eyebrow { margin: 0 0 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
h1 { margin: 0; font-size: clamp(26px, 7vw, 34px); line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
h1 .nick { color: var(--red2); }
.wordmark { margin: 14px 0 0; font-size: clamp(48px, 15vw, 68px); line-height: 1; font-weight: 900; letter-spacing: -0.055em; }
.wordmark span { color: var(--red); }
.bio { margin: 18px auto 0; max-width: 34ch; color: #d7dbe3; font-size: 16px; }

.actions { display: grid; gap: 10px; margin-top: 24px; }
.btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 20px; border-radius: 16px;
  font-weight: 800; font-size: 16px; letter-spacing: 0.01em; white-space: nowrap; transition: transform 0.15s var(--ease), background 0.15s, border-color 0.15s; }
.btn:active { transform: scale(0.98); }
.btn.red { background: var(--red-fill); color: #fff; box-shadow: 0 10px 30px -8px rgba(217, 35, 48, 0.65); }
.btn.red:hover { background: var(--red); }
.btn.ghost { border: 1px solid var(--border); background: var(--graphite); }
.btn.ghost:hover { border-color: var(--red); }

/* sections */
.block { margin-top: 44px; }
h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 13px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
h2::before { content: ''; width: 4px; height: 14px; border-radius: 2px; background: var(--red); }
.lead { margin: -4px 0 16px; color: var(--muted); font-size: 15px; }

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile, .card { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: var(--radius); background: var(--graphite);
  border: 1px solid var(--hairline); transition: border-color 0.15s, background 0.15s, transform 0.15s var(--ease); }
.tile { min-height: 74px; }
.tile.wide { grid-column: 1 / -1; }
.tile:hover, .card:hover { border-color: rgba(240, 43, 54, 0.55); background: var(--raised); }
.tile:active, .card:active { transform: scale(0.98); }
.tile span, .card span { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.tile b, .card b { font-size: 15px; font-weight: 800; }
.tile small, .card small { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.tile .ico, .card .ico { color: var(--red2); }
.go { width: 18px; height: 18px; color: #5d6574; transition: color 0.15s, transform 0.15s var(--ease); }
.tile:hover .go, .card:hover .go { color: #fff; transform: translate(2px, -2px); }

.stack { display: grid; gap: 10px; }
.card { padding: 18px; }
.card.accent { background: linear-gradient(135deg, rgba(240, 43, 54, 0.18), rgba(240, 43, 54, 0.04)); border-color: rgba(240, 43, 54, 0.35); }

.foot { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 56px; padding: 28px 20px calc(32px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--hairline); text-align: center; }
.foot p { margin: 0; color: #6b7382; font-size: 13px; }

/* very small phones: social tiles one per row */
@media (max-width: 350px) { .grid { grid-template-columns: 1fr; } }

/* tablet / desktop: photo beside the intro, sections in a wider column */
@media (min-width: 860px) {
  .top { padding-left: 40px; padding-right: 40px; }
  .page { max-width: 1040px; padding: 48px 40px 8px; }
  .hero { display: grid; grid-template-columns: 420px 1fr; gap: 56px; align-items: center; }
  .intro { text-align: left; padding-top: 0; }
  .bio { margin-left: 0; max-width: 40ch; font-size: 17px; }
  .actions { grid-template-columns: auto auto; justify-content: start; }
  .btn { padding: 0 26px; }
  .block { margin-top: 64px; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .tile.wide { grid-column: auto; }
  .stack { grid-template-columns: repeat(3, 1fr); }
  .card { flex-direction: column; align-items: flex-start; }
  .card .go { position: absolute; }
  .card { position: relative; }
  .card .go { top: 18px; right: 18px; }
}
