/* UzunHQ — uzunhq.com
   Warm black, red-orange accents, off-white type. Static, no framework. */

:root {
  --bg: #110e0d;
  --bg-2: #171311;
  --surface: rgba(27, 22, 20, .78);
  --surface-solid: #1b1614;
  --surface-hi: rgba(36, 29, 26, .9);
  --line: rgba(242, 238, 233, .09);
  --line-hi: rgba(242, 238, 233, .18);
  --ink: #f2eee9;
  --mute: #a69c95;
  --red: #e04a37;
  --red-deep: #c33a28;
  --orange: #ff7a45;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --radius: 18px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-optical-sizing: auto;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
h1, h2, h3, p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
svg { display: block; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px;
  font-weight: 600; text-decoration: none; transition: top .2s var(--ease);
}
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 12px; }

/* ---------- Background ---------- */
.bg {
  position: absolute; inset: 0 0 auto 0; height: 1100px;
  overflow: hidden; pointer-events: none; z-index: 0;
}
.bg::after { /* fade into page */
  content: ""; position: absolute; inset: auto 0 0 0; height: 420px;
  background: linear-gradient(to bottom, rgba(17, 14, 13, 0), var(--bg));
}
.bg__glow {
  position: absolute; width: 1000px; height: 1000px; right: -360px; top: -420px;
  background: radial-gradient(circle at center, rgba(224, 74, 55, .22), rgba(224, 74, 55, 0) 62%);
  animation: drift 18s ease-in-out infinite alternate;
}
.bg__grid {
  position: absolute; inset: -64px;
  background-image:
    linear-gradient(rgba(242, 238, 233, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 238, 233, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 18%, #000 20%, transparent 72%);
          mask-image: radial-gradient(ellipse 80% 70% at 70% 18%, #000 20%, transparent 72%);
  animation: grid 24s linear infinite;
}
.bg__art {
  position: absolute; top: -10px; right: -230px; width: 620px;
  opacity: .42;
  transform: translate3d(calc(var(--px, 0) * -14px), calc(var(--py, 0) * -10px), 0);
  transition: transform .6s var(--ease-out);
}
.bg__grain {
  position: absolute; inset: 0; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.art { width: 100%; height: auto; overflow: visible; }
.art .halo { transform-box: fill-box; transform-origin: center; animation: breathe 12s ease-in-out infinite alternate; }
.art .sun { transform-box: fill-box; transform-origin: center; }
.art .wk { stroke-width: 2; stroke-linecap: round; }
.art .l .wk { stroke: #efe9e2; } .art .l .bd { fill: #efe9e2; }
.art .r .wk { stroke: var(--red); } .art .r .bd { fill: var(--red); }
.art .d .wk { stroke: #160f0d; } .art .d .bd { fill: #160f0d; }
.art .bd { transform-box: fill-box; transform-origin: center; }

@keyframes drift { to { transform: translate3d(-90px, 70px, 0) scale(1.08); } }
@keyframes grid { to { transform: translate3d(-64px, 64px, 0); } }
@keyframes breathe { from { opacity: .55; transform: scale(.97); } to { opacity: 1; transform: scale(1.04); } }
@keyframes spin { to { transform: rotate(1turn); } }

/* ---------- Layout ---------- */
.page {
  position: relative; z-index: 1;
  width: 100%; max-width: 1200px; margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid; gap: 56px;
}
.hero { padding-top: 48px; }
.links { scroll-margin-top: 24px; outline: none; }
.collab { margin-top: 8px; }

@media (min-width: 960px) {
  :root { --gutter: 40px; }
  .page { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); column-gap: clamp(48px, 6vw, 96px); row-gap: 88px; align-items: center; }
  .hero { padding-top: 96px; }
  .links { padding-top: 96px; }
  .collab { grid-column: 1 / -1; margin-top: 0; }
  .bg__art { right: -80px; top: 10px; width: min(820px, 64vw); opacity: .46; }
  .card { background: rgba(27, 22, 20, .84); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .card:hover, .card:focus-visible { background: rgba(36, 29, 26, .92); }
}

/* ---------- Hero ---------- */
.id { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.avatar { position: relative; width: 104px; height: 104px; flex: none;
  transform: translate3d(calc(var(--px, 0) * 6px), calc(var(--py, 0) * 5px), 0);
  transition: transform .6s var(--ease-out), opacity .7s var(--ease), translate .7s var(--ease); }
.avatar img { position: relative; z-index: 1; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--bg), 0 18px 50px -18px rgba(224, 74, 55, .55); }
.avatar::before { /* faint static ring */
  content: ""; position: absolute; inset: -7px; border-radius: 50%;
  border: 1px solid rgba(224, 74, 55, .35);
}
.avatar__ring { /* moving light on the ring — the photo itself never rotates */
  position: absolute; inset: -7px; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 62%, rgba(224, 74, 55, .0) 62%, var(--red) 80%, var(--orange) 86%, transparent 93%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  animation: spin 10s linear infinite;
}
.eyebrow, .label, .topics, .ref__eyebrow {
  font-family: var(--mono); font-weight: 500; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--mute);
}
.brand { font-weight: 900; font-size: 34px; letter-spacing: -.03em; line-height: 1; margin-top: 8px; }

.title {
  font-weight: 800; letter-spacing: -.04em; line-height: .98;
  font-size: clamp(44px, 12.5vw, 60px);
  margin-bottom: 22px; max-width: 12ch;
}
.title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.title .w > span { display: inline-block; }
.title em { font-style: normal; color: var(--red); }
.lede { font-size: 18px; line-height: 1.55; color: #cfc6bf; max-width: 34ch; }
.topics { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; color: var(--mute); }
.topics i { font-style: normal; color: var(--red); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

@media (min-width: 960px) {
  .avatar { width: 128px; height: 128px; }
  .brand { font-size: 40px; }
  .title { font-size: clamp(60px, 6.2vw, 84px); }
  .lede { font-size: 19px; }
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 600 15.5px/1 var(--sans); letter-spacing: -.005em; text-decoration: none;
  transition: transform .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn .ar { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.btn::after { /* sheen */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .28) 50%, transparent 65%);
  transform: translateX(-120%);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover .ar, .btn:focus-visible .ar { transform: translateX(4px); }
.btn:hover::after { transform: translateX(120%); transition: transform .7s var(--ease); }
.btn:active { transform: translateY(0) scale(.97); transition-duration: .08s; }
.btn--primary { background: var(--ink); color: #150f0d; box-shadow: 0 10px 30px -14px rgba(242, 238, 233, .45); }
.btn--primary:hover { box-shadow: 0 14px 34px -14px rgba(242, 238, 233, .55); }
.btn--ghost { color: var(--ink); border: 1px solid var(--line-hi); background: rgba(242, 238, 233, .03); }
.btn--ghost::after { background: linear-gradient(105deg, transparent 35%, rgba(224, 74, 55, .22) 50%, transparent 65%); }
.btn--ghost:hover { border-color: rgba(224, 74, 55, .6); background: rgba(224, 74, 55, .06); }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 16.5px; }

/* ---------- Section label ---------- */
.label { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.label .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(224, 74, 55, .16); }

/* ---------- Platform cards ---------- */
.cards { display: grid; gap: 12px; }
.card {
  --rx: 0deg; --ry: 0deg; --ty: 0px; --s: 1;
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 48px minmax(0, 1fr) 22px; align-items: center; gap: 16px;
  min-height: 84px; padding: 16px 18px;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--surface);
  text-decoration: none;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--ty)) scale(var(--s));
  transition: transform .22s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .22s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.card::before { /* light passing along the border */
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; z-index: -1;
  background: linear-gradient(115deg, transparent 0 38%, rgba(255, 138, 92, .95) 50%, transparent 62% 100%) 160% 0 / 260% 100% no-repeat;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0;
}
.card:hover, .card:focus-visible { --ty: -3px; border-color: var(--line-hi); background: var(--surface-hi); box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .8); }
.card:hover::before, .card:focus-visible::before { opacity: 1; animation: sweep .9s var(--ease) forwards; }
.card:active { --s: .98; --ty: -1px; transition-duration: .08s; }
@keyframes sweep { from { background-position: 160% 0; } to { background-position: -60% 0; } }

.card__icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(242, 238, 233, .05); border: 1px solid var(--line);
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.card__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.card:hover .card__icon, .card:focus-visible .card__icon { background: rgba(224, 74, 55, .12); border-color: rgba(224, 74, 55, .35); }
.card__body { display: grid; gap: 2px; min-width: 0; }
.card__title { font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.card__desc { color: #cbc2bb; font-size: 14.5px; line-height: 1.4; }
.card__handle { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--mute); margin-top: 2px; }
.card__arrow { width: 22px; height: 22px; fill: none; stroke: var(--mute); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease), stroke .2s var(--ease); }
.card:hover .card__arrow, .card:focus-visible .card__arrow { transform: translateX(5px); stroke: var(--orange); }

/* icon reactions, one per platform */
.card .lens, .card .flash, .card .tri, .card .line { transform-box: fill-box; transform-origin: center; transition: transform .25s var(--ease), opacity .25s var(--ease); }
.card .flash { fill: var(--ink); stroke: none; }
.card .tri { fill: var(--ink); stroke: none; }
.card[data-p="ig"]:hover .lens, .card[data-p="ig"]:focus-visible .lens { transform: scale(1.18); }
.card[data-p="ig"]:hover .flash, .card[data-p="ig"]:focus-visible .flash { animation: flash .5s var(--ease) 1; fill: var(--orange); }
.card[data-p="yt"]:hover .tri, .card[data-p="yt"]:focus-visible .tri { transform: translateX(1.5px) scale(1.15); fill: var(--orange); }
.card[data-p="x"] .line { stroke-dasharray: 22; stroke-dashoffset: 0; }
.card[data-p="x"]:hover .line, .card[data-p="x"]:focus-visible .line { animation: draw .55s var(--ease) 1; stroke: var(--orange); }
@keyframes flash { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.9); } }
@keyframes draw { from { stroke-dashoffset: 22; } to { stroke-dashoffset: 0; } }

/* ---------- Referral card ---------- */
.refwrap { margin-top: 18px; }
.ref {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: 22px; padding: 1.5px;
  background: rgba(224, 74, 55, .28); /* visible border when motion is off */
}
.ref__ring {
  position: absolute; left: 50%; top: 50%; width: 220%; aspect-ratio: 1; z-index: -1;
  background: conic-gradient(from 0deg, transparent 0 64%, rgba(224, 74, 55, .9) 76%, var(--orange) 83%, rgba(255, 196, 160, .95) 85%, transparent 94%);
  transform: translate(-50%, -50%) rotate(0turn);
  animation: ring 9s linear infinite;
}
@keyframes ring { to { transform: translate(-50%, -50%) rotate(1turn); } }
.ref__inner {
  position: relative; overflow: hidden; border-radius: 20.5px;
  background: linear-gradient(160deg, #221613, #160f0d 60%);
  padding: 22px 20px 20px;
}
.ref__warm {
  position: absolute; width: 140%; height: 180%; left: -20%; top: -90%; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(224, 74, 55, .28), rgba(255, 122, 69, .08) 55%, transparent 75%);
  animation: warm 14s ease-in-out infinite alternate;
}
@keyframes warm { from { transform: translate3d(-12%, 0, 0); } to { transform: translate3d(14%, 18%, 0); } }
.ref__inner > :not(.ref__warm) { position: relative; z-index: 1; }
.ref__eyebrow { color: #f0a08f; }
.ref__title { font-weight: 800; font-size: 30px; letter-spacing: -.03em; line-height: 1.05; margin: 8px 0 16px; }
.ref__code {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 8px 8px 8px 16px; border-radius: 14px;
  background: rgba(10, 8, 7, .55); border: 1px solid rgba(242, 238, 233, .1);
  margin-bottom: 16px;
}
.ref__codetext { font-size: 15px; color: #d9d0c9; }
.ref__codetext code { font-family: var(--mono); font-size: 15px; color: var(--ink); letter-spacing: .02em; }
.copy {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border-radius: 11px; border: 1px solid rgba(242, 238, 233, .16); background: rgba(242, 238, 233, .06);
  color: var(--ink); font: 600 14px/1 var(--sans); cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
}
.copy:hover { background: rgba(242, 238, 233, .1); border-color: rgba(242, 238, 233, .26); }
.copy:active { transform: scale(.96); }
.copy svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.copy .i-check { display: none; stroke: #8fe3a8; stroke-width: 2.2; }
.copy.is-done { border-color: rgba(143, 227, 168, .45); background: rgba(143, 227, 168, .08); }
.copy.is-done .i-copy { display: none; }
.copy.is-done .i-check { display: block; animation: pop .25s var(--ease-out); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.no-js .copy { display: none; } /* copying needs JS; the code itself stays readable */
.btn--ref { width: 100%; background: var(--red-deep); color: #fff; box-shadow: 0 12px 30px -14px rgba(224, 74, 55, .7); }
.btn--ref:hover { background: #d0412e; }
.ref__note { margin-top: 10px; font-size: 13.5px; color: var(--mute); padding-left: 4px; }

/* ---------- Collaboration ---------- */
.collab {
  position: relative; isolation: isolate; overflow: hidden;
  border: 1px solid var(--line); border-radius: 24px;
  background: linear-gradient(180deg, rgba(27, 22, 20, .7), rgba(17, 14, 13, .7));
  padding: 30px 22px;
  display: grid; gap: 24px;
}
.collab__glow {
  position: absolute; z-index: -1; width: 520px; height: 520px; right: -160px; bottom: -260px;
  background: radial-gradient(circle, rgba(224, 74, 55, .2), transparent 62%);
  animation: drift 16s ease-in-out infinite alternate;
}
.collab h2 { font-weight: 800; font-size: clamp(30px, 8vw, 40px); letter-spacing: -.035em; line-height: 1.04; max-width: 16ch; }
.collab__desc { margin-top: 12px; color: #cbc2bb; font-size: 16.5px; max-width: 42ch; }
.collab__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.mail {
  font-family: var(--mono); font-size: 14px; color: var(--mute); text-decoration: none;
  min-height: 44px; display: inline-flex; align-items: center;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 0 1px no-repeat;
  transition: color .2s var(--ease), background-size .25s var(--ease);
}
.mail:hover, .mail:focus-visible { color: var(--ink); background-size: 100% 1px; }
@media (min-width: 960px) {
  .collab { grid-template-columns: minmax(0, 1fr) auto; align-items: end; padding: 48px 52px; gap: 40px; }
  .collab__actions { flex-direction: column; align-items: flex-end; }
}

/* ---------- Footer ---------- */
.foot {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 56px auto 0; padding: 28px var(--gutter) 40px;
  border-top: 1px solid var(--line);
  display: grid; gap: 6px; color: var(--mute); font-size: 13.5px;
}
.foot__sign { font-family: var(--mono); font-weight: 500; letter-spacing: .24em; color: var(--ink); font-size: 12px; margin-bottom: 4px; }
.foot__sign em { font-style: normal; color: var(--red); }
@media (min-width: 960px) {
  .foot { grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
  .foot__sign { margin: 0; }
}

/* ---------- Motion: intro + scroll (only when JS runs) ---------- */
.js .rv { opacity: 0; translate: 0 14px; }
.js .title .w > span { transform: translateY(110%); }
.js .art .sun { opacity: 0; transform: translateY(26px) scale(.96); }
.js .art .halo { opacity: 0; }
.js .art .wk { stroke-dasharray: 60; stroke-dashoffset: 60; }
.js .art .bd { transform: scaleY(0); }

.ready .rv { opacity: 1; translate: 0 0; transition: opacity .7s var(--ease), translate .7s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms + 120ms); }
.ready .avatar.rv { transition: opacity .7s var(--ease), translate .7s var(--ease-out), transform .6s var(--ease-out); transition-delay: 180ms, 180ms, 0s; }
.ready .title .w > span { transform: none; transition: transform .75s var(--ease-out); }
.ready .title .w:nth-child(1) > span { transition-delay: .38s; }
.ready .title .w:nth-child(2) > span { transition-delay: .46s; }
.ready .title .w:nth-child(3) > span { transition-delay: .54s; }
.ready .title .w:nth-child(4) > span { transition-delay: .62s; }
.ready .art .sun { opacity: 1; transform: none; transition: opacity 1.6s var(--ease), transform 1.8s var(--ease-out); }
.ready .art .halo { opacity: 1; transition: opacity 2.4s var(--ease) .4s; }
.ready .art .wk { stroke-dashoffset: 0; transition: stroke-dashoffset .5s var(--ease) calc(.7s + var(--i, 0) * 85ms); }
.ready .art .bd { transform: none; transition: transform .45s var(--ease-out) calc(.8s + var(--i, 0) * 85ms); }
.rv[data-d="1"] { --d: 1; } .rv[data-d="2"] { --d: 2; } .rv[data-d="3"] { --d: 3; }
.rv[data-d="6"] { --d: 7; } .rv[data-d="7"] { --d: 8; } .rv[data-d="8"] { --d: 9; }

.js .sr { opacity: 0; translate: 0 18px; }
.js .sr.in { opacity: 1; translate: 0 0; transition: opacity .6s var(--ease), translate .65s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.cards .sr:nth-child(1) { --i: 0; } .cards .sr:nth-child(2) { --i: 1; } .cards .sr:nth-child(3) { --i: 2; }
.refwrap.sr { --i: 3; }

/* pause continuous animations when off-screen or tab hidden */
.is-off *, .is-off::before, .is-off::after, .paused * { animation-play-state: paused !important; }

/* ---------- Mobile tuning ---------- */
@media (max-width: 959px) {
  .card { --rx: 0deg !important; --ry: 0deg !important; }
  .bg__art { opacity: .3; top: -40px; }
  .art .c:nth-child(-n+8) { display: none; } /* keep the candles away from the headline on phones */
  .bg__glow { width: 700px; height: 700px; right: -300px; top: -300px; }
}
@media (max-width: 480px) {
  .cta { display: grid; grid-template-columns: 1fr; }
  .cta .btn { width: 100%; }
}
@media (max-width: 380px) {
  .title { font-size: 42px; }
  .brand { font-size: 30px; }
  .avatar { width: 92px; height: 92px; }
  .btn { padding: 0 18px; }
}
@media (hover: none) {
  .card:active { background: var(--surface-hi); border-color: rgba(224, 74, 55, .45); }
}

/* ---------- Reduced motion: no ambient loops, content shown at once ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .rv, .js .sr { opacity: 1; translate: 0 0; }
  .js .title .w > span, .js .art .bd { transform: none; }
  .js .art .sun { opacity: 1; transform: none; }
  .js .art .halo { opacity: 1; }
  .js .art .wk { stroke-dashoffset: 0; }
  .avatar, .bg__art { transform: none !important; }
  .card { transform: none !important; }
  .ref__ring { transform: translate(-50%, -50%) rotate(.12turn); }
}
