/* Knot Head Games: comic print on rope-coloured paper. Ink outlines, hard shadows, rope dividers. */

@font-face { font-family: "Rubik"; src: url("fonts/Rubik-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Rubik"; src: url("fonts/Rubik-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bangers"; src: url("fonts/Bangers-Regular.ttf") format("truetype"); font-display: swap; }

:root {
    --paper: #f4ead6;
    --paper-2: #ecdfc4;
    --paper-3: #e1cda9;
    --cream: #fbf3e2;
    --ink: #1b1411;
    --ink-2: #2b211c;
    --ink-soft: #4b3d34;
    --muted: #7a6858;
    --rope: #dcaa5e;
    --rope-dk: #a86c2d;
    --rope-hi: #f2cf8f;
    --red: #e5452f;
    --red-dk: #b9301d;

    --f-body: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
    --f-comic: "Bangers", "Impact", "Arial Black", sans-serif;

    --wrap: 1200px;
    --gutter: clamp(16px, 4vw, 40px);
    --radius: 18px;
    --line: 3px solid var(--ink);
    --shadow: 6px 6px 0 var(--ink);
    --shadow-sm: 4px 4px 0 var(--ink);
    --dots: radial-gradient(rgba(27, 20, 17, .07) 1px, transparent 1.4px);
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
    margin: 0;
    background: var(--paper) var(--dots);
    background-size: 7px 7px;
    color: var(--ink);
    font-family: var(--f-body);
    font-size: 1.0625rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-dk); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0 0 .4em; line-height: 1.05; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.3rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
h3 { font-size: 1.3rem; letter-spacing: -.01em; }
code { font-size: .9em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.spaced { margin-top: 2.5rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--cream); padding: 8px 14px; font-weight: 700; }
.skip-link:focus { left: 8px; }

/* ------------------------------------------------------------------ type */
.kicker {
    font-family: var(--f-comic);
    font-size: 1.25rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--red);
    margin: 0 0 .35em;
}
.kicker a { color: inherit; text-decoration: none; }
.kicker a:hover { text-decoration: underline; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 44rem; }
.tag {
    display: inline-block;
    font-family: var(--f-comic);
    font-size: 1.15rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    background: var(--ink);
    color: var(--cream);
    padding: .3em .8em .2em;
    border-radius: 6px;
    transform: rotate(-2deg);
    margin-bottom: 1.2rem;
}
.section-head { text-align: center; max-width: 46rem; margin: 0 auto 2.75rem; }
.section-head .lead { margin-left: auto; margin-right: auto; }
.prose p { color: var(--ink-soft); max-width: 42rem; }
.prose h2 { margin-top: .2em; }
.prose h2 ~ h2 { margin-top: 1.6em; }

/* ------------------------------------------------------------------ buttons */
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 1.6rem 0 0; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--f-body);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1;
    padding: .9em 1.45em;
    border: var(--line);
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    background: var(--cream);
    color: var(--ink);
    transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); color: var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn-red { background: var(--red); color: var(--cream); }
.btn-red:hover { color: var(--cream); }
.btn-rope { background: var(--rope); }
.btn-ghost { background: transparent; }
.btn-ghost-light { background: transparent; color: var(--cream); border-color: var(--cream); box-shadow: none; }
.btn-ghost-light:hover { color: var(--ink); background: var(--cream); box-shadow: 4px 4px 0 var(--rope); }
.btn-sm { font-size: .82rem; padding: .7em 1.1em; box-shadow: 3px 3px 0 var(--ink); }
.btn-lg { font-size: 1.08rem; padding: 1em 1.7em; }

/* ------------------------------------------------------------------ rope */
.rope {
    height: 20px;
    background: repeating-linear-gradient(118deg,
        var(--rope) 0 7px, var(--rope-hi) 7px 9px, var(--rope) 9px 12px, var(--rope-dk) 12px 16px);
    border-block: var(--line);
}

/* ------------------------------------------------------------------ wordmark */
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.wordmark img { width: 54px; height: 54px; transition: transform .25s ease; }
.wm-text { display: flex; flex-direction: column; align-items: flex-start; }
.wm-name { font-weight: 700; font-size: 1.4rem; line-height: .92; letter-spacing: -.01em; text-transform: uppercase; white-space: nowrap; }
.wm-games {
    margin-top: 4px;
    font-weight: 700;
    font-size: .6rem;
    letter-spacing: .5em;
    padding: 3px 4px 2px 8px;
    text-transform: uppercase;
    background: var(--red);
    color: var(--cream);
    border-radius: 4px;
}
.wordmark-lg img { width: 80px; height: 80px; }
.wordmark-lg .wm-name { font-size: 2rem; }
.wordmark-lg .wm-games { font-size: .75rem; }

/* ------------------------------------------------------------------ header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--paper);
    border-bottom: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { text-decoration: none; }
.brand:hover img { transform: rotate(-12deg) scale(1.06); }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a:not(.btn) {
    color: var(--ink);
    text-decoration: none;
    font-weight: 700;
    padding: .45em .9em;
    border-radius: 999px;
    border: 2px solid transparent;
}
.site-nav a:not(.btn):hover { border-color: var(--ink); }
.site-nav a.active { background: var(--ink); color: var(--cream); }
.site-nav .btn { margin-left: 10px; }
.nav-toggle, .nav-burger { display: none; }

@media (max-width: 860px) {
    .nav-burger {
        display: grid;
        place-items: center;
        width: 46px;
        height: 46px;
        border: var(--line);
        border-radius: 12px;
        background: var(--cream);
        box-shadow: 3px 3px 0 var(--ink);
        cursor: pointer;
    }
    .nav-burger span, .nav-burger span::before, .nav-burger span::after {
        display: block; width: 20px; height: 3px; background: var(--ink); border-radius: 2px; position: relative; content: "";
    }
    .nav-burger span::before { position: absolute; top: -7px; }
    .nav-burger span::after { position: absolute; top: 7px; }
    .site-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        flex-direction: column;
        align-items: stretch;
        padding: 14px var(--gutter) 20px;
        background: var(--paper);
        border-bottom: var(--line);
    }
    .site-nav a:not(.btn) { padding: .8em 1em; }
    .site-nav .btn { margin: 8px 0 0; }
    .nav-toggle:checked ~ .site-nav { display: flex; }
    .nav-toggle { display: block; position: absolute; opacity: 0; width: 46px; height: 46px; right: var(--gutter); margin: 0; cursor: pointer; z-index: 1; }
}

/* ------------------------------------------------------------------ sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--paper-2) var(--dots); background-size: 7px 7px; border-block: var(--line); }
.section-alt + .section-alt { border-top: 0; }

.panel {
    background: var(--cream);
    border: var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* ------------------------------------------------------------------ home hero */
.home-hero { padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 88px); overflow: hidden; }
.home-hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.headline { font-size: clamp(2.9rem, 7.4vw, 5.6rem); line-height: .98; letter-spacing: -.035em; }
.headline .hl { white-space: nowrap; background: linear-gradient(transparent 58%, var(--rope) 58%, var(--rope) 88%, transparent 88%); padding: 0 .08em; }
.home-hero-art { position: relative; display: grid; place-items: center; }
.home-hero-art::before {
    content: "";
    position: absolute;
    inset: -12%;
    background: repeating-conic-gradient(from 4deg, rgba(220, 170, 94, .38) 0 9deg, transparent 9deg 18deg);
    -webkit-mask: radial-gradient(circle, #000 30%, transparent 68%);
    mask: radial-gradient(circle, #000 30%, transparent 68%);
}
.knotty { position: relative; width: min(100%, 420px); animation: bob 4.5s ease-in-out infinite; filter: drop-shadow(8px 10px 0 rgba(27, 20, 17, .18)); }
.bubble {
    position: absolute;
    z-index: 1;
    top: 4%;
    left: 0;
    margin: 0;
    font-family: var(--f-comic);
    font-size: clamp(1.2rem, 2.4vw, 1.6rem);
    letter-spacing: .05em;
    background: var(--cream);
    border: var(--line);
    border-radius: 22px;
    padding: .45em .9em .35em;
    box-shadow: var(--shadow-sm);
    transform: rotate(-7deg);
}
.bubble::after {
    content: "";
    position: absolute;
    right: 22%;
    bottom: -17px;
    width: 22px;
    height: 22px;
    background: var(--cream);
    border-right: var(--line);
    border-bottom: var(--line);
    transform: skewX(28deg) rotate(45deg);
}
@keyframes bob {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-14px) rotate(3deg); }
}

/* ------------------------------------------------------------------ game showcase */
.game-showcase { display: grid; grid-template-columns: 1.15fr 1fr; overflow: hidden; }
.game-showcase-art { position: relative; display: grid; place-items: center; min-height: 320px; background: var(--ink); border-right: var(--line); overflow: hidden; }
.game-showcase-art .key-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: transform .5s ease; }
.game-showcase-art::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, transparent 30%, rgba(10, 4, 3, .65)); }
.game-showcase-art .game-logo { position: relative; z-index: 1; width: min(78%, 460px); filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .6)); transition: transform .3s ease; }
.game-showcase:hover .key-art { transform: scale(1.04); }
.game-showcase:hover .game-logo { transform: rotate(-2deg) scale(1.04); }
.game-showcase-copy { padding: clamp(24px, 3.4vw, 40px); }
.game-showcase-copy h3 { font-size: clamp(2rem, 3.4vw, 2.6rem); margin: .35em 0 .1em; }
.game-showcase-copy h3 a { color: var(--ink); text-decoration: none; }
.game-showcase-copy h3 a:hover { text-decoration: underline; }
.hook { font-family: var(--f-comic); font-size: 1.45rem; letter-spacing: .04em; color: var(--red); margin-bottom: .6em; }
.game-showcase-copy > p:not(.hook):not(.status-chip) { color: var(--ink-soft); }
.status-chip {
    display: inline-block;
    font-weight: 700;
    font-size: .76rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: var(--rope);
    border: 2px solid var(--ink);
    border-radius: 999px;
    padding: .35em .9em;
    margin: 0;
}
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: .86rem; font-weight: 700; border: 2px solid var(--ink); border-radius: 999px; padding: .25em .8em; background: var(--paper); }

.cast-strip { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.cast-strip li { position: relative; display: flex; flex-direction: column; align-items: center; }
.cast-strip img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: contain;
    background: radial-gradient(circle at 50% 70%, var(--paper-3), transparent 70%);
    transition: transform .2s ease;
}
.cast-strip li:hover img { transform: translateY(-6px) rotate(-3deg); }
.cast-strip span { font-weight: 700; font-size: .82rem; text-align: center; line-height: 1.2; margin-top: 4px; }
@media (max-width: 900px) { .cast-strip { grid-template-columns: repeat(4, 1fr); } }

/* ------------------------------------------------------------------ point cards */
/* Fixed column counts so four cards never split 3 + 1 and six never split 4 + 2. */
.point-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.point-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .point-grid, .point-grid.three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .point-grid, .point-grid.three { grid-template-columns: 1fr; } }
.point-card { background: var(--cream); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 24px; transition: transform .15s ease; }
.point-card:nth-child(odd) { transform: rotate(-.6deg); }
.point-card:nth-child(even) { transform: rotate(.6deg); }
.point-card:hover { transform: rotate(0) translateY(-3px); }
.point-card p { color: var(--ink-soft); margin: 0; }
.point-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 14px;
    border: var(--line);
    border-radius: 50%;
    background: var(--rope);
    box-shadow: 3px 3px 0 var(--ink);
}
.point-icon.big { width: 76px; height: 76px; flex: none; }
.doodle { width: 28px; height: 28px; }
.point-icon.big .doodle { width: 38px; height: 38px; }

/* ------------------------------------------------------------------ ink band */
.ink-band { background: var(--ink); color: var(--cream); padding: clamp(56px, 8vw, 92px) 0; border-block: var(--line); }
.ink-band-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.ink-band .kicker { color: var(--rope); }
.ink-band .lead { color: #d9cbb6; }
.ink-band .btn-rope { box-shadow: 4px 4px 0 var(--red); border-color: var(--rope); }
.mini-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.mini-points li { display: flex; align-items: center; gap: 14px; font-weight: 700; padding: 14px 18px; border: 2px dashed rgba(251, 243, 226, .25); border-radius: 14px; }
.mini-points .doodle { color: var(--rope); flex: none; }

/* ------------------------------------------------------------------ page banners */
.page-banner { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 92px) 0 clamp(40px, 5vw, 64px); }
.page-banner::after {
    content: "";
    position: absolute;
    right: -6%;
    top: -30%;
    width: min(46vw, 520px);
    aspect-ratio: 1;
    background: repeating-conic-gradient(from 0deg, rgba(220, 170, 94, .35) 0 9deg, transparent 9deg 18deg);
    -webkit-mask: radial-gradient(circle, #000 25%, transparent 66%);
    mask: radial-gradient(circle, #000 25%, transparent 66%);
    pointer-events: none;
}
.page-banner .wrap { position: relative; z-index: 1; }

.game-banner {
    position: relative;
    padding: clamp(56px, 8vw, 110px) 0 clamp(48px, 6vw, 80px);
    text-align: center;
    color: var(--cream);
    background: linear-gradient(rgba(14, 6, 5, .55), rgba(14, 6, 5, .8)), var(--banner) center / cover no-repeat, var(--ink);
}
.game-banner .kicker { color: var(--rope); }
.game-banner-inner { display: flex; flex-direction: column; align-items: center; }
.game-banner-logo { width: min(90%, 540px); margin: 10px 0 6px; filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .7)); }
.game-banner-hook { font-family: var(--f-comic); font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: .05em; text-shadow: 3px 3px 0 var(--ink); margin-bottom: .8em; }
.game-banner .actions { justify-content: center; }

/* ------------------------------------------------------------------ two columns + fact sheets */
.two-col { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.factsheet { padding: 26px 28px; }
.factsheet h2 { font-size: 1.5rem; }
.factsheet dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; }
.factsheet dt { font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: .2em; }
.factsheet dd { margin: 0; overflow-wrap: anywhere; }
.dd-line { display: block; }

.feature-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { background: var(--cream); border: var(--line); border-top: 10px solid var(--accent, var(--red)); border-radius: 14px; padding: 22px; box-shadow: var(--shadow-sm); }
.feature-card p { margin: 0; color: var(--ink-soft); }

.shot-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 1100px) { .shot-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .shot-grid, .feature-grid { grid-template-columns: 1fr; } }
.shot-grid a { display: block; border: var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .15s ease; }
.shot-grid a:hover { transform: translate(-2px, -2px) rotate(-.8deg); }
.shot-grid img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.shot-grid span { display: block; font-size: .88rem; color: var(--muted); margin-top: 8px; }

/* ------------------------------------------------------------------ games page */
.next-up { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.next-card { display: flex; align-items: center; gap: 22px; padding: 26px; background: var(--cream); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.next-card h2 { font-size: 1.7rem; }
.next-card p:last-child { margin-bottom: 0; }
.next-card.mystery { border-style: dashed; background: transparent; box-shadow: none; }
.next-card.mystery img { width: 110px; flex: none; filter: brightness(0); opacity: .18; transform: rotate(-10deg); }

/* ------------------------------------------------------------------ publishing */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.steps::before {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    top: 22px;
    height: 14px;
    background: repeating-linear-gradient(118deg, var(--rope) 0 6px, var(--rope-hi) 6px 8px, var(--rope) 8px 10px, var(--rope-dk) 10px 13px);
    border-block: 3px solid var(--ink);
}
.steps li { position: relative; counter-increment: step; text-align: center; }
.steps li::before {
    content: counter(step);
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 14px;
    font-family: var(--f-comic);
    font-size: 1.9rem;
    color: var(--cream);
    background: var(--red);
    border: var(--line);
    border-radius: 50%;
    box-shadow: 3px 3px 0 var(--ink);
}
.steps p { color: var(--ink-soft); margin: 0; font-size: .98rem; }

.faq details { background: var(--cream); border: var(--line); border-radius: 14px; margin-bottom: 12px; box-shadow: 3px 3px 0 var(--ink); }
.faq summary { list-style: none; cursor: pointer; font-weight: 700; padding: 16px 52px 16px 20px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-family: var(--f-comic); font-size: 1.8rem; color: var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--ink-soft); }

.pitch-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.pitch-intro p:not(.kicker) { color: var(--ink-soft); }
.pitch-knotty { width: 170px; margin-top: 24px; transform: rotate(-10deg); }
.pitch-form { padding: clamp(22px, 3vw, 34px); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; font-size: .93rem; margin-bottom: 6px; }
.field label .muted { font-weight: 400; }
.field input, .field select, .field textarea {
    width: 100%;
    font: inherit;
    font-size: 1rem;
    color: var(--ink);
    padding: .7em .85em;
    border: 2.5px solid var(--ink);
    border-radius: 10px;
    background: #fffaf0;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--rope); outline-offset: 1px; }
.field .invalid { border-color: var(--red); background: #fff1ec; }
.field-error { display: block; min-height: 1.25em; font-size: .85rem; font-weight: 700; color: var(--red-dk); margin-top: 4px; }
.field-error:empty { min-height: 0; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status:empty { display: none; }
.form-status { font-weight: 700; color: var(--red-dk); }
.fine-print { font-size: .85rem; margin: 14px 0 0; }
.pitch-done { text-align: center; padding: 20px 0; }
.pitch-done img { width: 140px; margin: 0 auto 12px; animation: bob 4.5s ease-in-out infinite; }

/* ------------------------------------------------------------------ about */
.knotty-row { display: grid; grid-template-columns: 280px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.knotty-row img { width: 100%; animation: bob 5s ease-in-out infinite; }
.team-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 320px)); justify-content: center; gap: 24px; }
.person-card { padding: 28px; text-align: center; }
.person-initials {
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    margin: 0 auto 14px;
    font-family: var(--f-comic);
    font-size: 2.2rem;
    letter-spacing: .04em;
    background: var(--rope);
    border: var(--line);
    border-radius: 50%;
    box-shadow: 3px 3px 0 var(--ink);
}
.person-role { font-family: var(--f-comic); font-size: 1.15rem; letter-spacing: .08em; color: var(--red); margin-bottom: .5em; }
.person-card p:last-child { color: var(--ink-soft); margin: 0; }

/* ------------------------------------------------------------------ press */
.press-layout { display: grid; grid-template-columns: 320px 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.press-layout .factsheet { position: sticky; top: 100px; }
.press-layout .factsheet dl { grid-template-columns: 1fr; gap: 2px; }
.press-layout .factsheet dd { margin-bottom: 10px; }
.download-grid { list-style: none; padding: 0; margin: 0 0 1em; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.download-card { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 14px; text-align: center; box-shadow: var(--shadow-sm); }
.download-card img { height: 110px; width: 100%; object-fit: contain; margin-bottom: 6px; }
.download-card a { font-weight: 700; }
.download-card .muted { font-size: .82rem; }
.download-card.on-dark { background: var(--ink); color: var(--cream); }
.download-card.on-dark a { color: var(--rope); }
.swatches { list-style: none; padding: 0; margin: 0 0 1em; display: flex; flex-wrap: wrap; gap: 14px; }
.swatches li { width: 136px; height: 110px; display: flex; flex-direction: column; justify-content: flex-end; padding: 12px; background: var(--swatch); border: var(--line); border-radius: 14px; box-shadow: 3px 3px 0 var(--ink); }
.swatches li.dark { color: var(--cream); }
.swatches code { font-size: .82rem; opacity: .85; }
.game-kits { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.game-kits li { display: flex; align-items: center; gap: 22px; padding: 18px; background: var(--cream); border: var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); }
.game-kits img { width: 190px; flex: none; background: var(--ink); border-radius: 10px; padding: 10px; }
.game-kits h3 { margin-bottom: .2em; }

/* ------------------------------------------------------------------ 404 / thanks */
.lost { padding: clamp(64px, 10vw, 120px) 0; }
.lost-knotty { width: 170px; margin: 0 auto 18px; animation: bob 4.5s ease-in-out infinite; }
.lost .actions, .lost p:last-child { justify-content: center; }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--ink); color: var(--cream); }
.site-footer .rope { border-top: 0; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; padding-top: 56px; padding-bottom: 36px; }
.site-footer .wordmark { color: var(--cream); }
.footer-tagline { font-family: var(--f-comic); font-size: 1.5rem; letter-spacing: .06em; color: var(--rope); margin: 18px 0 .4em; }
.site-footer .muted { color: #a8968a; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-links h3 { font-family: var(--f-comic); font-weight: 400; font-size: 1.2rem; letter-spacing: .1em; color: var(--rope); }
.footer-links a { display: block; color: #e6d9c4; text-decoration: none; padding: .2em 0; overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--rope); text-decoration: underline; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 20px; padding-bottom: 32px; border-top: 1px solid rgba(251, 243, 226, .14); font-size: .9rem; }

/* ------------------------------------------------------------------ narrow screens */
@media (max-width: 980px) {
    .home-hero-inner, .ink-band-inner, .two-col, .pitch-layout, .press-layout { grid-template-columns: 1fr; }
    .home-hero-art { order: -1; max-width: 340px; margin: 0 auto; }
    .game-showcase { grid-template-columns: 1fr; }
    .game-showcase-art { border-right: 0; border-bottom: var(--line); min-height: 240px; }
    .press-layout .factsheet { position: static; }
    .pitch-knotty { display: none; }
    .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    .steps { grid-template-columns: 1fr; gap: 22px; padding-left: 78px; }
    .steps::before { left: 22px; right: auto; top: 0; bottom: 0; width: 14px; height: auto; border-block: 0; border-inline: 3px solid var(--ink); }
    .steps li { text-align: left; min-height: 58px; }
    .steps li::before { position: absolute; left: -78px; top: -4px; margin: 0; }
}
@media (max-width: 700px) {
    .next-up, .field-row, .knotty-row { grid-template-columns: 1fr; }
    .knotty-row img { max-width: 200px; margin: 0 auto; }
    .footer-links { grid-template-columns: 1fr 1fr; }
    .game-kits li { flex-direction: column; align-items: flex-start; }
    .next-card { flex-direction: column; align-items: flex-start; }
    .wm-name { font-size: 1.2rem; }
    .wordmark img { width: 46px; height: 46px; }
}

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