/* =========================================================
   Tausif Arif portfolio - styles
   Fonts: Sora (headings) + Manrope (body), loaded in index.html
   ========================================================= */
[hidden] { display: none !important }

:root {
    --bg: #f6f4ef;
    --bg2: #ffffff;
    --ink: #14172b;
    --mute: #5d6178;
    --line: #dcd8cf;
    --a: #e8590c;
    --b: #3b5bdb;
    --card: #ffffff;
    --r: 18px
}

@media (prefers-color-scheme:dark) {
    :root:not([data-theme="light"]) {
        --bg: #0f1220;
        --bg2: #161a2e;
        --ink: #eeeaf6;
        --mute: #9a9fb8;
        --line: #2a2f4a;
        --a: #ffa94d;
        --b: #8da2ff;
        --card: #161a2e
    }
}

:root[data-theme="dark"] {
    --bg: #0f1220;
    --bg2: #161a2e;
    --ink: #eeeaf6;
    --mute: #9a9fb8;
    --line: #2a2f4a;
    --a: #ffa94d;
    --b: #8da2ff;
    --card: #161a2e
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 400 17px/1.65 'Manrope', system-ui, sans-serif;
    overflow-x: hidden
}

h1,
h2,
h3 {
    font-family: 'Sora', system-ui, sans-serif;
    line-height: 1.05;
    margin: 0;
    letter-spacing: -.02em
}

a {
    color: inherit
}

.wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px
}

@media(max-width:700px) {
    .wrap {
        padding: 0 20px
    }
}

/* thread */
/* header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    padding-top: env(safe-area-inset-top, 0px);
    background: color-mix(in srgb, var(--bg) 85%, transparent);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line)
}

.bar {
    max-width: 1080px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px
}

@media(max-width:700px) {
    .bar {
        padding: 10px 16px
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font: 700 18px 'Sora'
}

.logo span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--ink);
    color: var(--bg);
    font-size: 15px
}

nav ul {
    display: flex;
    gap: 26px;
    list-style: none;
    margin: 0;
    padding: 0
}

nav a {
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    color: var(--mute)
}

nav a:hover {
    color: var(--ink)
}

.btn {
    display: inline-block;
    padding: 11px 20px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--bg);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border: 0;
    cursor: pointer;
    font-family: inherit
}

.btn.alt {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid var(--ink)
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--b);
    outline-offset: 2px
}

:root {
    --x: 0
}

#burger {
    display: none;
    height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1.5px solid var(--ink);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    font: 600 13px 'Manrope', sans-serif;
    letter-spacing: .14em
}

#menu {
    position: fixed;
    inset: 0;
    z-index: 25;
    background: var(--bg);
    display: none;
    flex-direction: column;
    justify-content: space-between;
    padding: calc(92px + env(safe-area-inset-top, 0px)) 28px calc(28px + env(safe-area-inset-bottom, 0px)) 46px;
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
    transition: clip-path .6s cubic-bezier(.76, 0, .24, 1), visibility 0s .6s;
    overflow: auto
}

#menu.open {
    clip-path: inset(0);
    visibility: visible;
    transition: clip-path .6s cubic-bezier(.76, 0, .24, 1)
}

#menu a.l {
    display: flex;
    align-items: baseline;
    gap: 14px;
    font: 800 clamp(30px, 9vw, 52px)/1 'Sora', sans-serif;
    text-decoration: none;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .5s, transform .5s
}

#menu a.l small {
    font: 600 13px 'Manrope', sans-serif;
    color: var(--a)
}

#menu.open a.l {
    opacity: 1;
    transform: none;
    transition-delay: calc(var(--i)*.07s + .25s)
}

#menu .mf a {
    display: block;
    font-size: 16px;
    color: var(--mute);
    text-decoration: none;
    margin-top: 8px
}

@media(max-width:820px) {
    #burger {
        display: inline-block
    }

    .hide-m {
        display: none
    }

    nav {
        display: none
    }

    #menu {
        display: flex
    }
}

/* sections */
section {
    padding: 110px 0 40px
}

.hero {
    padding-top: 150px;
    min-height: 92vh;
    min-height: 92svh;
    display: flex;
    align-items: center
}

.tag {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 14px;
    color: var(--mute);
    background: var(--bg2)
}

h1 {
    font-size: clamp(40px, 7.4vw, 88px);
    margin: 22px 0
}

h1 em {
    font-style: normal;
    color: var(--a)
}

h2 {
    font-size: clamp(30px, 4.6vw, 54px);
    margin-bottom: 18px;
    max-width: 14ch
}

.lead {
    font-size: clamp(18px, 2.2vw, 22px);
    color: var(--mute);
    max-width: 56ch
}

.row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 34px
}

.chips span {
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--bg2);
    border: 1px solid var(--line);
    font-size: 14px;
    font-weight: 500
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-top: 34px
}

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 24px
}

.card h3 {
    font-size: 22px;
    margin-bottom: 8px
}

.card p {
    margin: 0;
    color: var(--mute);
    font-size: 15.5px
}

.card small {
    display: inline-block;
    margin-top: 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--b)
}

.big {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center
}

@media(max-width:820px) {
    .big {
        grid-template-columns: 1fr
    }
}

.steps {
    counter-reset: s;
    margin-top: 30px;
    display: grid;
    gap: 0
}

.steps div {
    padding: 20px 0 20px 56px;
    border-top: 1px solid var(--line);
    position: relative
}

.steps div:before {
    counter-increment: s;
    content: counter(s);
    position: absolute;
    left: 0;
    top: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--bg);
    display: grid;
    place-items: center;
    font: 700 15px 'Sora'
}

.steps h3 {
    font-size: 22px
}

.steps p {
    margin: 4px 0 0;
    color: var(--mute)
}

.cause {
    background: var(--ink);
    color: var(--bg);
    border-radius: 26px;
    padding: 42px
}

.cause p {
    color: color-mix(in srgb, var(--bg) 78%, transparent);
    max-width: 60ch
}

.cause h2 {
    max-width: none
}

details {
    border-top: 1px solid var(--line);
    padding: 18px 0
}

details:last-of-type {
    border-bottom: 1px solid var(--line)
}

summary {
    cursor: pointer;
    font: 600 19px 'Sora';
    list-style: none
}

summary::after {
    content: "+";
    float: right
}

details[open] summary::after {
    content: "–"
}

details p {
    color: var(--mute);
    margin: 10px 0 0
}

/* card maker */
.maker {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 30px;
    align-items: start
}

@media(max-width:820px) {
    .maker {
        grid-template-columns: 1fr
    }
}

.form {
    display: grid;
    gap: 14px
}

label {
    font-weight: 600;
    font-size: 14px;
    display: grid;
    gap: 6px
}

input,
select,
textarea {
    font: inherit;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1.5px solid var(--line);
    background: var(--bg2);
    color: var(--ink);
    width: 100%
}

.stage {
    background: var(--bg2);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 16px;
    text-align: center
}

canvas {
    width: 100%;
    max-width: 380px;
    height: auto;
    border-radius: 14px
}

.note {
    font-size: 13.5px;
    color: var(--mute)
}

footer {
    margin-top: 110px;
    background: var(--ink);
    color: var(--bg);
    padding: 60px 0 40px
}

footer .wrap {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 34px
}

@media(max-width:700px) {
    footer .wrap {
        grid-template-columns: 1fr
    }
}

footer h3 {
    font-size: 18px;
    margin-bottom: 12px
}

footer p,
footer a {
    color: color-mix(in srgb, var(--bg) 72%, transparent);
    text-decoration: none;
    display: block;
    margin: 6px 0;
    font-size: 15px
}

footer a:hover {
    color: var(--bg)
}

.copy {
    grid-column: 1/-1;
    border-top: 1px solid color-mix(in srgb, var(--bg) 20%, transparent);
    padding-top: 20px;
    font-size: 14px
}

.rv {
    opacity: 0;
    transform: translateY(18px);
    transition: .7s
}

.rv.in {
    opacity: 1;
    transform: none
}

body {
    position: relative
}

main,
footer {
    position: relative;
    z-index: 1
}

#deco {
    /* FIX: SVG is now sized by CSS (100% of body) and clipped, so it can never
       stretch the page. Before, its height fed back into scrollHeight = endless scroll. */
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0
}

#deco path,
#deco circle {
    fill: none;
    stroke: var(--line);
    stroke-width: 1.5
}

#deco .hot {
    stroke: var(--a);
    opacity: .7
}

.hg {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 40px;
    align-items: center;
    width: 100%
}

@media(max-width:820px) {
    .hg {
        grid-template-columns: 1fr
    }

    .ph {
        order: -1;
        max-width: 290px;
        margin: 0 auto
    }

    .hero {
        padding-top: 118px
    }
}

.ph {
    position: relative;
    aspect-ratio: 1;
    width: 100%;
    max-width: 430px;
    justify-self: center
}

.frame {
    position: absolute;
    inset: 14%;
    border-radius: 50% 50% 46% 54%/56% 48% 52% 44%;
    overflow: hidden;
    background: var(--ink);
    animation: morph 9s ease-in-out infinite;
    box-shadow: 0 30px 60px -20px color-mix(in srgb, var(--a) 55%, transparent);
    transition: transform .2s
}

.frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.mono {
    display: grid;
    place-items: center;
    height: 100%;
    font: 800 90px 'Sora', sans-serif;
    color: var(--a)
}

.ring {
    position: absolute;
    inset: 3%;
    border-radius: 50%;
    border: 2px dashed var(--a);
    animation: spin 28s linear infinite
}

.ring.r2 {
    inset: -4%;
    border: 2px solid transparent;
    border-top-color: var(--b);
    border-bottom-color: var(--b);
    animation: spin 18s linear infinite reverse
}

.fl {
    position: absolute;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--bg2);
    border: 1px solid var(--line);
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .35);
    animation: flt 5s ease-in-out infinite
}

.f1 {
    top: 6%;
    left: -2%
}

.f2 {
    top: 20%;
    right: -4%;
    animation-delay: -1.2s
}

.f3 {
    bottom: 12%;
    left: -4%;
    animation-delay: -2.4s
}

.f4 {
    bottom: 2%;
    right: 6%;
    animation-delay: -3.6s
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

@keyframes flt {
    50% {
        transform: translateY(-12px)
    }
}

@keyframes morph {
    50% {
        border-radius: 46% 54% 55% 45%/48% 56% 44% 52%
    }
}

.mq {
    overflow: hidden;
    border-block: 1px solid var(--line);
    margin-top: 70px;
    padding: 18px 0;
    white-space: nowrap;
    background: var(--bg)
}

.mqt {
    display: inline-block;
    animation: mq 32s linear infinite;
    font: 700 clamp(26px, 4vw, 40px) 'Sora', sans-serif;
    color: var(--mute)
}

.mqt span {
    margin: 0 22px
}

.mqt span:nth-child(even) {
    color: var(--a)
}

@keyframes mq {
    to {
        transform: translateX(-50%)
    }
}

#theme {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--line);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    font-size: 18px;
    line-height: 1
}

.skip {
    position: absolute;
    left: -999px;
    top: 8px;
    background: var(--ink);
    color: var(--bg);
    padding: 8px 14px;
    border-radius: 8px;
    z-index: 200
}

.skip:focus {
    left: 8px
}

/* opening */
#intro {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: #14172b;
    color: #f6f4ef;
    display: grid;
    place-items: center;
    animation: curtain .9s cubic-bezier(.76, 0, .24, 1) 2.4s forwards
}

#intro .il {
    font: 800 clamp(40px, 10vw, 96px)/1 'Sora', sans-serif;
    display: flex;
    overflow: hidden;
    padding-bottom: .1em
}

#intro .il i {
    font-style: normal;
    display: inline-block;
    animation: up .8s cubic-bezier(.2, .8, .2, 1) backwards;
    animation-delay: calc(var(--k)*.05s + .1s);
    white-space: pre
}

#intro .ib {
    height: 3px;
    background: #ffa94d;
    width: 0;
    margin: 14px auto 0;
    animation: ib 1s cubic-bezier(.7, 0, .2, 1) .5s forwards
}

@keyframes curtain {
    to {
        transform: translateY(-100%);
        visibility: hidden
    }
}

@keyframes ib {
    to {
        width: min(260px, 60vw)
    }
}

@keyframes up {
    from {
        transform: translateY(115%)
    }
}

@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(16px)
    }
}

@keyframes pop {
    from {
        opacity: 0;
        transform: scale(.6) rotate(-10deg)
    }
}

@keyframes hdr {
    from {
        transform: translateY(-100%)
    }
}

header {
    animation: hdr .8s cubic-bezier(.2, .8, .2, 1) 2.8s backwards
}

.w {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    padding-bottom: .1em
}

.w i {
    display: inline-block;
    font-style: normal;
    animation: up .9s cubic-bezier(.2, .8, .2, 1) backwards;
    animation-delay: calc(2.85s + var(--d)*.06s)
}

.w.em i {
    color: var(--a)
}

.hero .tag,
.hero .lead,
.hero .row,
.hero .chips {
    animation: fade .8s cubic-bezier(.2, .8, .2, 1) backwards;
    animation-delay: 3.6s
}

.hero .tag {
    animation-delay: 2.75s
}

.hero .row {
    animation-delay: 3.8s
}

.hero .chips {
    animation-delay: 4s
}

.ph {
    animation: pop 1.1s cubic-bezier(.2, .8, .2, 1) 3s backwards
}

/* bot */
#botfab {
    position: fixed;
    right: 18px;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    z-index: 40;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 0;
    background: var(--a);
    color: #14172b;
    font-size: 26px;
    cursor: pointer;
    box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5);
    animation: flt 4s ease-in-out infinite
}

body.mo #botfab {
    display: none
}

#bot {
    position: fixed;
    right: 14px;
    bottom: calc(86px + env(safe-area-inset-bottom, 0px));
    z-index: 41;
    width: min(370px, calc(100vw - 28px));
    height: min(520px, calc(100% - 140px));
    display: flex;
    flex-direction: column;
    background: var(--bg2);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5);
    overflow: hidden
}

#bot[hidden] {
    display: none
}

.bh {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    background: var(--ink);
    color: var(--bg)
}

.bh small {
    opacity: .7;
    flex: 1
}

.bh button {
    background: none;
    border: 0;
    color: inherit;
    font-size: 18px;
    cursor: pointer
}

#blog {
    flex: 1;
    overflow: auto;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px
}

.m {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 15px;
    line-height: 1.45;
    white-space: pre-wrap
}

.m.b {
    background: var(--bg);
    border: 1px solid var(--line);
    align-self: flex-start;
    border-bottom-left-radius: 4px
}

.m.u {
    background: var(--b);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px
}

.m.typing {
    opacity: .6
}

.bq {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 14px 8px
}

.bq button {
    border: 1px solid var(--line);
    background: var(--bg);
    color: var(--ink);
    padding: 6px 12px;
    border-radius: 999px;
    font: 500 13px 'Manrope', sans-serif;
    cursor: pointer
}

#bf {
    display: flex;
    gap: 8px;
    padding: 10px 12px;
    border-top: 1px solid var(--line)
}

#bf input {
    padding: 10px 14px
}

#bf .btn {
    padding: 10px 16px
}

@media(prefers-reduced-motion:reduce) {
    * {
        animation: none !important
    }

    #intro {
        display: none
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        transition: none !important;
        scroll-behavior: auto !important
    }

    .rv {
        opacity: 1;
        transform: none
    }
}


/* ---------- WORK THUMBNAILS ----------
   Each project card shows images/work-<name>.jpg (16:9, about 800x450).
   If the file is missing, a gradient with the file name hint is shown instead. */
.thumb {
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--b), var(--a));
    display: grid;
    place-items: center;
    padding: 10px;
    color: #fff;
    font: 600 12px/1.3 'Manrope', sans-serif;
    text-align: center
}

.thumb img { width: 100%; height: 100%; object-fit: cover; display: block }
.thumb.noimg img { display: none }
.thumb.noimg::after { content: attr(data-hint) }

/* ---------- BOT: more question chips ---------- */
.bq { max-height: 96px; overflow: auto }
.bq .more { border-style: dashed; color: var(--b) }

/* ---------- PLAY CORNER (icon games) ---------- */
.play {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 36px 20px;
    text-align: center
}

.play h2 { max-width: none; margin-inline: auto }
.play .lead { margin-inline: auto }
.gtabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 24px }

.gt {
    padding: 10px 18px;
    min-height: 44px;
    border-radius: 999px;
    border: 1.5px solid var(--line);
    background: var(--bg2);
    color: var(--ink);
    font: 600 15px 'Manrope', sans-serif;
    cursor: pointer
}

.gt[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink) }
#gstat { margin: 18px 0 0; min-height: 1.6em; font-weight: 600 }
.g4, .g3 { display: grid; gap: 10px; margin: 16px auto 0; max-width: 420px }
.g4 { grid-template-columns: repeat(4, 1fr) }
.g3 { grid-template-columns: repeat(3, 1fr); max-width: 340px }

.tile {
    aspect-ratio: 1;
    min-height: 56px;
    border-radius: 16px;
    border: 1.5px solid var(--line);
    background: var(--bg2);
    color: var(--ink);
    font-size: clamp(26px, 8vw, 38px);
    cursor: pointer;
    transition: transform .15s, background .2s
}

.tile:active { transform: scale(.94) }
.tile.up { background: var(--bg); border-color: var(--b) }
.tile.ok { border-color: var(--a); background: color-mix(in srgb, var(--a) 18%, var(--bg2)) }
#greset { margin-top: 20px }


/* =========================================================
   V2: opening slogan, scroll thread, header, footer
   ========================================================= */

/* ---- Opening slogan (edit the 3 lines in index.html, #intro) ---- */
#intro .sl { font: 800 clamp(34px, 9vw, 84px)/1.05 'Sora', sans-serif; text-align: left }
#intro .sl span { display: block; overflow: hidden; padding-bottom: .12em }
#intro .sl i { display: block; font-style: normal; animation: up .8s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc(var(--k)*.28s + .1s) }
#intro .sl span:last-child i { color: #ffa94d }
#intro svg { display: block; width: min(560px, 80vw); margin-top: 8px; overflow: visible }
#intro svg path { fill: none; stroke: #ffa94d; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: dr 1.2s ease .9s forwards }
#intro .nm { margin-top: 14px; font: 600 14px 'Manrope', sans-serif; letter-spacing: .2em; opacity: .7; animation: fade .8s ease 1.5s backwards }
@keyframes dr { to { stroke-dashoffset: 0 } }

/* ---- The thread that follows the scroll ---- */
#deco .hot { stroke-width: 2.5; stroke-linecap: round; opacity: .9 }
#deco .dot { fill: var(--a); stroke: none; filter: drop-shadow(0 0 8px var(--a)) }
.follow { display: inline-block; margin-top: 26px; font-weight: 600; font-size: 14px; letter-spacing: .08em; text-decoration: none; color: var(--mute) }

/* ---- Header: transparent at top, solid after scrolling ---- */
header:not(.scrolled) { background: transparent; backdrop-filter: none; border-bottom-color: transparent }
header { transition: background .3s, border-color .3s }
nav a { text-transform: uppercase; letter-spacing: .12em; font-size: 12.5px; font-weight: 600 }
nav a:hover { color: var(--a) }
.logo span { transition: transform .3s }
.logo:hover span { transform: rotate(-8deg) scale(1.08) }

/* ---- Footer: pull-to-untangle, big name, back to top ---- */
footer { padding-top: 0 }
.untangle { grid-column: 1/-1; text-align: center; padding-bottom: 34px; border-bottom: 1px solid color-mix(in srgb, var(--bg) 20%, transparent) }
#knot { display: block; margin: 0 auto; width: min(600px, 100%); height: auto; touch-action: none; cursor: grab; overflow: visible }
#knot:active { cursor: grabbing }
#kn { fill: none; stroke: var(--a); stroke-width: 3; stroke-linecap: round }
.ft-h { font-size: clamp(30px, 5vw, 56px); max-width: 18ch; margin: 6px auto 20px; color: var(--bg) }
footer .btn { display: inline-block; margin: 0; background: var(--bg); color: var(--ink); font-size: 15px }
.untangle .note { color: color-mix(in srgb, var(--bg) 70%, transparent); margin: 16px 0 0 }
.bigname { grid-column: 1/-1; font: 800 clamp(40px, 10.5vw, 112px)/.9 'Sora', sans-serif; letter-spacing: -.04em; color: color-mix(in srgb, var(--bg) 14%, transparent); white-space: nowrap; overflow: hidden; user-select: none }
.copy { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap }
.copy a.btt { display: inline-block; margin: 0; padding: 8px 16px; border: 1px solid color-mix(in srgb, var(--bg) 35%, transparent); border-radius: 999px; font-size: 14px; color: var(--bg) }
.copy a.btt:hover { background: var(--bg); color: var(--ink) }
