﻿@font-face {
  font-family: Manrope;
  src: url("../vendor/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --text: #fff9f2;
  --muted: #c6bbb2;
  --accent: #ff925b;
  --stroke: #ffffff23;
  font: 500 1rem/1.5 Manrope, Arial, sans-serif;
  background: #171614;
  color: var(--text);
}
* { box-sizing: border-box; }
body { margin: 0; isolation: isolate; position: relative; min-height: 100vh; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% -24%, #c268392f 10%, transparent 64%),
    radial-gradient(ellipse at -5% 30%, #d8591e19, transparent 43%),
    radial-gradient(ellipse at 108% 65%, #a8957f17, transparent 55%), #171614;
}
.hub { width: min(540px, calc(100% - 32px)); margin-inline: auto; padding: clamp(24px,4.4vw,60px) 0 32px; }
.profile { position: relative; text-align: center; margin-bottom: 24px; }
.logo { display: block; margin: 0 auto 12px; width: clamp(85px,12vw,108px); height: auto; filter: drop-shadow(0 5px 16px #ff682628); }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(1.7rem,5.6vw,2.4rem); font-weight: 780; line-height: 1.1; letter-spacing: -.055em; }
.profile p { max-width: 42ch; margin: 9px auto 0; color: var(--muted); font-size: .98rem; }
.profile p:empty { display: none; }
button, input { font: inherit; }
[hidden] { display: none !important; }
#url { width: min(100%,380px); padding: 8px; margin: 10px auto 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
svg { width: 20px; height: 20px; stroke-width: 1.75; }
.share { position: absolute; right: 0; top: 0; display: grid; place-items:center; width: 42px; height: 42px; border: 1px solid var(--stroke); border-radius: 50%; background: #ffffff0a; color: var(--text); cursor: pointer; }
.share:hover { background: #ffffff18; }
.stack { display: grid; gap: 10px; }
.link-card, details {
  border: 1px solid var(--stroke);
  border-radius: 16px;
  background: linear-gradient(115deg,#ffffff10,#ffffff06);
  box-shadow: 0 5px 16px #0b090718;
}
.link-card, summary { display: grid; grid-template-columns: 42px 1fr 20px; align-items: center; gap: 14px; min-height: 68px; padding: 11px 16px; }
.link-card { position: relative; }
.link-card > svg:first-child, summary > svg:first-child {
  width: 42px; height: 42px; padding: 10px; border-radius: 12px;
  color: var(--accent); background: #ff854416; border: 1px solid #ff85442e;
}
.link-card > svg:last-child, summary > svg:last-child, .sub-links svg { width: 17px; color: #d3bdae; }
.link-card strong, .link-card small { display: block; }
.link-card strong, summary { font-weight: 740; font-size: 1rem; line-height: 1.3; }
.link-card small { font-size: .83rem; color: var(--muted); margin-top: 3px; }
.featured { border-color: #dc8157; background: linear-gradient(110deg,#6a351f,#39251c); }
.featured > svg:first-child { color: #24170f; background: var(--accent); }
.featured small { color: #f5d9ca; }
.link-card:is(:hover,:focus-visible), details:has(summary:focus-visible), details:hover { border-color: #bb7757; }
.link-card:is(:hover,:focus-visible) { background: linear-gradient(115deg,#483226,#302721); }
section { margin-top: 25px; }
h2 { margin: 0 0 10px; font-size: 1.08rem; font-weight: 700; letter-spacing: -.025em; }
summary { cursor: pointer; list-style: none; font-size: 1.125rem; }
summary::-webkit-details-marker { display: none; }
details[open] summary > svg:last-child { transform: rotate(180deg); }
.sub-links { padding: 0 16px 6px; }
.sub-links a { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 48px; padding-block: 8px; border-top: 1px solid var(--stroke); font-size: 1.0625rem; }
.sub-links a:hover, footer a:hover { color: var(--accent); }
.director { grid-template-columns: 48px 1fr 20px; }
.director img { border-radius: 10px; object-fit: cover; }
.director small:last-child { color: var(--accent); }
footer { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--stroke); text-align: center; color: var(--muted); }
footer h2 { color: var(--text); }
footer a { display: block; padding: 3px; font-size: .92rem; overflow-wrap: anywhere; }
footer small { display: block; margin-top: 12px; font-size: .75rem; }
@media(prefers-reduced-motion:no-preference) {
  .profile { animation: appear .35s ease-out; }
  .link-card { transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
  .link-card:is(:hover,:focus-visible) { transform: translateY(-2px); box-shadow: 0 8px 22px #0003; }
  @keyframes appear { from { opacity: .35; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}
@media(max-width:420px) {
  .link-card, summary { gap: 10px; padding-inline: 12px; }
  .profile p { font-size: .92rem; }
}
@media (min-width: 960px) {
  :root { font-size: 125%; }
  .hub { width: min(640px, calc(100% - 32px)); }
}
