/* KYKKO Corporate Bowling League
   One stylesheet, mobile first. The site is a league scoresheet: white paper, ink, rules printed in tangerine and
   pencil marks in pink. Every home section is a frame; "strike" frames flood the band with orange or pink, the tenth
   is ink. Themes set a handful of custom properties and every component reads those, so a component works on any
   band without its own colour rules. */

/* ---------- Fonts (self-hosted, SIL OFL; Latin + Greek subsets) ---------- */
@font-face {
    font-family: "Sofia Sans Extra Condensed";
    font-style: normal;
    font-display: swap;
    font-weight: 1 1000;
    src: url("../fonts/sofia-sans-extra-condensed-latin-wght-normal.woff2") format("woff2-variations");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Sofia Sans Extra Condensed";
    font-style: normal;
    font-display: swap;
    font-weight: 1 1000;
    src: url("../fonts/sofia-sans-extra-condensed-greek-wght-normal.woff2") format("woff2-variations");
    unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
    font-family: "Sofia Sans";
    font-style: normal;
    font-display: swap;
    font-weight: 1 1000;
    src: url("../fonts/sofia-sans-latin-wght-normal.woff2") format("woff2-variations");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Sofia Sans";
    font-style: normal;
    font-display: swap;
    font-weight: 1 1000;
    src: url("../fonts/sofia-sans-greek-wght-normal.woff2") format("woff2-variations");
    unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

/* ---------- Tokens ---------- */
:root {
    --paper: #ffffff;
    --ink: #16110f;
    --ink-soft: #574b45;
    --orange: #ff6a13;
    --pink: #ff2d7a;
    --pink-text: #c8104f;
    --on-orange-soft: #3d1603;
    --on-pink-soft: #3a0418;
    --on-ink-soft: #cbbfb8;
    --f-form: "Sofia Sans Extra Condensed", "Arial Narrow", sans-serif;
    --f-text: "Sofia Sans", "Segoe UI", system-ui, sans-serif;
    --rule: 2px;
    --gutter: 16px;
    --max: 1240px;
    --header-h: 60px;
    --strip-h: 0px;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    /* Paper theme; the band classes below override these. */
    --bg: var(--paper);
    --fg: var(--ink);
    --fg-soft: var(--ink-soft);
    --line: var(--orange);
    --mark: var(--pink);
    --accent-text: var(--pink-text);
    --focus: var(--pink);
    color-scheme: light;
}

@media (min-width: 720px) {
    :root {
        --gutter: 28px;
        --header-h: 72px;
    }
}

@media (min-width: 1100px) {
    :root {
        --gutter: 40px;
    }
}

.band--paper {
    --bg: var(--paper);
    --fg: var(--ink);
    --fg-soft: var(--ink-soft);
    --line: var(--orange);
    --mark: var(--pink);
    --accent-text: var(--pink-text);
    --focus: var(--pink);
}

.band--orange {
    --bg: var(--orange);
    --fg: var(--ink);
    --fg-soft: var(--on-orange-soft);
    --line: var(--ink);
    --mark: var(--ink);
    --accent-text: var(--ink);
    --focus: var(--ink);
}

.band--pink {
    --bg: var(--pink);
    --fg: var(--ink);
    --fg-soft: var(--on-pink-soft);
    --line: var(--ink);
    --mark: var(--ink);
    --accent-text: var(--ink);
    --focus: var(--ink);
}

.band--ink {
    --bg: var(--ink);
    --fg: var(--paper);
    --fg-soft: var(--on-ink-soft);
    --line: var(--orange);
    --mark: var(--pink);
    --accent-text: var(--orange);
    --focus: var(--orange);
    color-scheme: dark;
}

[class*="band--"] {
    background: var(--bg);
    color: var(--fg);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + var(--strip-h) + 16px);
    scrollbar-color: var(--ink) var(--paper);
    -webkit-text-size-adjust: 100%;
}

html:has(.strip) {
    --strip-h: 44px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        transition-delay: 0s !important;
        animation-duration: 0.01ms !important;
        animation-delay: 0s !important;
    }
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--f-text);
    font-size: 1.0625rem;
    line-height: 1.55;
    caret-color: var(--pink);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

::selection {
    background: var(--pink);
    color: var(--ink);
}

.band--pink ::selection,
.band--orange ::selection {
    background: var(--ink);
    color: var(--paper);
}

img, svg {
    display: block;
    max-width: 100%;
}

h1, h2, h3 {
    margin: 0;
    font-family: var(--f-form);
    font-weight: 850;
    line-height: 0.92;
    text-transform: uppercase;
    text-wrap: balance;
}

p {
    margin: 0;
    text-wrap: pretty;
}

a {
    color: inherit;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.2em;
}

:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
}

main:focus {
    outline: none;
}

q {
    quotes: "\201C" "\201D";
}

:lang(el) q {
    quotes: "\00AB" "\00BB";
}

.sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.icon {
    display: inline-block;
    flex: none;
    width: 1.25em;
    height: 1.25em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: middle;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 100;
    padding: 10px 16px;
    background: var(--ink);
    color: var(--paper);
    font-weight: 700;
    transform: translateY(-200%);
}

.skip-link:focus {
    transform: none;
}

.container {
    width: min(100% - 2 * var(--gutter), var(--max));
    margin-inline: auto;
}

/* ---------- Pencil marks (X, /, –, tick) ---------- */
.mark {
    width: 100%;
    height: 100%;
    overflow: visible;
    fill: none;
    stroke: var(--mark);
    stroke-width: 3.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mark--v1 {
    stroke-width: 3.1;
    transform: rotate(-11deg) scale(0.92);
}

.mark--v2 {
    stroke-width: 4.2;
    transform: rotate(8deg) scale(1.05);
}

.mark path {
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 0.32s var(--ease-out), opacity 0s;
}

.mark path + path {
    transition-delay: 0.14s;
}

/* Marks are drawn by default; with script, a mark waits until its frame has been read. Without motion every mark is
   already made. */
@media (prefers-reduced-motion: no-preference) {
    .js [data-mark-pending] .mark path {
        stroke-dashoffset: 1;
        opacity: 0;
    }
}

/* A zero-length dash still paints its round caps, so the stroke stays invisible until the pen moves. */
@keyframes draw {
    from {
        stroke-dashoffset: 1;
        opacity: 0;
    }

    1% {
        opacity: 1;
    }
}

@keyframes arrive {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
}

/* ---------- Type ---------- */
.display {
    font-family: var(--f-form);
    font-weight: 850;
    line-height: 0.92;
    text-transform: uppercase;
    text-wrap: balance;
    font-size: clamp(2.9rem, 8.4vw, 6rem);
    letter-spacing: -0.005em;
}

.display > span {
    display: block;
}

.display--md {
    font-size: clamp(2.5rem, 6.4vw, 4.75rem);
}

.display--sm {
    font-size: clamp(2rem, 4.4vw, 3.25rem);
}

.accent {
    color: var(--accent-text);
}

.lead {
    max-width: 52ch;
    font-size: clamp(1.125rem, 1.6vw, 1.3rem);
    line-height: 1.45;
    color: var(--fg-soft);
}

.form-label {
    font-family: var(--f-form);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--fg-soft);
}

/* ---------- Buttons ---------- */
.btn {
    --btn-bg: var(--ink);
    --btn-fg: var(--paper);
    --btn-box: var(--pink);
    --btn-arrow: var(--ink);
    display: inline-flex;
    align-items: stretch;
    min-height: 56px;
    border: var(--rule) solid var(--btn-bg);
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-family: var(--f-form);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
    text-align: left;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
}

.btn__text {
    display: flex;
    align-items: center;
    padding: 0.55em 0.9em 0.5em;
}

.btn__box {
    display: grid;
    place-items: center;
    flex: none;
    width: 52px;
    background: var(--btn-box);
    color: var(--btn-arrow);
    transition: background-color 0.2s ease;
}

.btn__box .icon {
    width: 24px;
    height: 24px;
    stroke-width: 2.6;
    transition: transform 0.25s var(--ease-out);
}

.btn:hover .btn__box {
    background: var(--orange);
}

.btn:hover .btn__box .icon {
    transform: translateX(4px);
}

.btn:active .btn__box .icon {
    transform: translateX(8px);
}

.band--orange .btn:hover .btn__box {
    background: var(--paper);
}

.band--ink .btn {
    --btn-bg: var(--orange);
    --btn-fg: var(--ink);
    --btn-box: var(--ink);
    --btn-arrow: var(--orange);
}

.band--ink .btn:hover .btn__box {
    background: var(--pink);
    color: var(--ink);
}

.btn--small {
    min-height: 44px;
    font-size: 1.05rem;
}

.btn--small .btn__box {
    width: 40px;
}

.btn--small .btn__box .icon {
    width: 20px;
    height: 20px;
}

.btn--plain {
    --btn-bg: transparent;
    --btn-fg: var(--fg);
    --btn-box: var(--fg);
    --btn-arrow: var(--bg);
    border-color: var(--fg);
}

.band--ink .btn--plain {
    --btn-bg: transparent;
    --btn-fg: var(--paper);
    --btn-box: var(--paper);
    --btn-arrow: var(--ink);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    font-family: var(--f-form);
    font-size: 1.2rem;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: underline;
    text-decoration-color: var(--line);
    text-decoration-thickness: 3px;
    text-underline-offset: 0.25em;
}

.text-link .icon {
    width: 1em;
    height: 1em;
    stroke-width: 2.6;
    transition: transform 0.25s var(--ease-out);
}

.text-link:hover .icon {
    transform: translateX(4px);
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--paper);
    border-bottom: var(--rule) solid var(--ink);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    height: var(--header-h);
}

@media (min-width: 1100px) {
    .site-header__inner {
        gap: 24px;
    }
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo__badge {
    width: 44px;
    height: 44px;
    flex: none;
}

.logo__line {
    font-family: var(--f-form);
    font-size: 1.35rem;
    font-weight: 850;
    line-height: 0.9;
    text-transform: uppercase;
    max-width: 6.5em;
}

.logo--large .logo__badge {
    width: 96px;
    height: 96px;
}

.logo--large .logo__line {
    font-size: 1.9rem;
}

@media (min-width: 720px) {
    .site-header .logo__badge {
        width: 52px;
        height: 52px;
    }
}

.header-cta {
    margin-left: auto;
}

.nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 44px;
    padding: 0;
    border: var(--rule) solid var(--ink);
    background: var(--paper);
    color: var(--ink);
    cursor: pointer;
}

.nav-toggle .icon {
    grid-area: 1 / 1;
    width: 24px;
    height: 24px;
    stroke-width: 2.2;
}

.nav-toggle__close,
.site-header[data-open] .nav-toggle__open {
    display: none;
}

.site-header[data-open] .nav-toggle__close {
    display: inline-block;
}

/* The open menu covers the scoresheet strip: the strip's frames are positioned and would otherwise paint above it. */
.site-nav {
    position: fixed;
    z-index: 2;
    inset: var(--header-h) 0 auto 0;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: 8px var(--gutter) 28px;
    background: var(--paper);
    border-bottom: var(--rule) solid var(--ink);
    visibility: hidden;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.35s var(--ease-out), visibility 0.35s;
}

.site-header[data-open] .site-nav {
    visibility: visible;
    clip-path: inset(0 0 0 0);
}

.site-nav__list {
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.site-nav__list li {
    border-bottom: var(--rule) solid var(--orange);
}

.site-nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0 10px;
    font-family: var(--f-form);
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.site-nav__link[aria-current="page"] {
    color: var(--pink-text);
}

.site-nav__actions .btn {
    display: none;
}

.site-nav__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.lang-switch {
    display: inline-grid;
    place-items: center;
    min-width: 48px;
    height: 44px;
    padding: 0 10px;
    border: var(--rule) solid var(--ink);
    font-family: var(--f-form);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-decoration: none;
}

.lang-switch:hover {
    background: var(--ink);
    color: var(--paper);
}

@media (max-width: 399px) {
    .site-header .logo__line {
        display: none;
    }
}

@media (min-width: 1100px) {
    .nav-toggle,
    .header-cta {
        display: none;
    }

    .site-nav__actions .btn {
        display: inline-flex;
    }

    .site-nav {
        position: static;
        display: flex;
        align-items: center;
        gap: 24px;
        max-height: none;
        overflow: visible;
        padding: 0;
        border: 0;
        visibility: visible;
        clip-path: none;
        transition: none;
    }

    .site-nav__list {
        display: flex;
        gap: 22px;
        margin: 0;
    }

    .site-nav__list li {
        border: 0;
    }

    .site-nav__link {
        position: relative;
        padding: 6px 0;
        font-size: 1.15rem;
        font-weight: 750;
        letter-spacing: 0.05em;
    }

    .site-nav__link::after {
        content: "";
        position: absolute;
        inset: auto 0 0 0;
        height: 3px;
        background: var(--orange);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.25s var(--ease-out);
    }

    .site-nav__link:hover::after,
    .site-nav__link[aria-current="page"]::after {
        transform: none;
    }

    .site-nav__link[aria-current="page"] {
        color: inherit;
    }

    .site-nav__list .site-nav__home {
        display: none;
    }
}

/* ---------- Scoresheet strip (home page, under the header) ---------- */
.strip__inner {
    border-top: var(--rule) solid var(--ink);
}

.strip__frames {
    display: grid;
    grid-auto-columns: minmax(52px, 1fr);
    grid-auto-flow: column;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
}

.strip__frames::-webkit-scrollbar {
    display: none;
}

@media (max-width: 719px) {
    .strip__frames {
        width: 100%;
    }
}

.strip__frames li + li {
    border-left: 1px solid var(--orange);
}

.strip__frame {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 44px;
    padding: 0 6px;
    font-family: var(--f-form);
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.strip__no {
    font-size: 1.05rem;
}

.strip__title {
    display: none;
    overflow: hidden;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--ink-soft);
}

.strip__box {
    width: 20px;
    height: 20px;
    margin-left: auto;
    flex: none;
    align-self: flex-start;
    box-sizing: border-box;
    border-left: 1px solid var(--orange);
    border-bottom: 1px solid var(--orange);
    padding: 2px;
}

.strip__frame[aria-current] {
    background: var(--ink);
    color: var(--paper);
}

.strip__frame[aria-current] .strip__title {
    color: var(--on-ink-soft);
}

.strip__frame:hover {
    background: var(--orange);
    color: var(--ink);
}

.strip__frame:hover .strip__title {
    color: var(--ink);
}

@media (min-width: 1100px) {
    .strip__title {
        display: block;
    }

    .strip__frame {
        padding: 0 10px;
    }
}

/* ---------- Bands and frames ---------- */
.frame {
    position: relative;
    padding-block: clamp(64px, 9vw, 128px);
}

.frame + .frame.band--paper,
.band--paper + .frame.band--paper {
    border-top: var(--rule) solid var(--orange);
}

.frame__grid {
    position: relative;
    display: grid;
    gap: 28px;
}

.frame__body {
    display: grid;
    gap: clamp(28px, 4vw, 48px);
    min-width: 0;
}

.frame__intro {
    display: grid;
    gap: 20px;
    max-width: 60ch;
    padding-right: 92px;
}

/* The frame number, its mark and the running total, in the page margin. */
.frame-cell {
    position: absolute;
    top: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 76px;
    border: var(--rule) solid var(--line);
    font-family: var(--f-form);
    font-weight: 800;
    line-height: 1;
}

.frame-cell__no {
    padding: 5px 0 0 6px;
    font-size: 0.95rem;
}

.frame-cell__box {
    aspect-ratio: 1;
    padding: 4px;
    border-left: var(--rule) solid var(--line);
    border-bottom: var(--rule) solid var(--line);
}

.frame-cell__name {
    grid-column: 1 / -1;
    padding: 6px 6px 6px;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    line-height: 1;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

@media (min-width: 900px) {
    .frame__grid {
        grid-template-columns: 112px minmax(0, 1fr);
        gap: clamp(28px, 4vw, 64px);
    }

    .frame-cell {
        position: sticky;
        top: calc(var(--header-h) + var(--strip-h) + 24px);
        align-self: start;
        width: 112px;
    }

    .frame-cell__no {
        padding: 8px 0 0 10px;
        font-size: 1.3rem;
    }

    .frame-cell__box {
        padding: 8px;
    }

    .frame-cell__name {
        padding: 10px 10px 10px;
        font-size: 1.15rem;
        line-height: 0.95;
        overflow-wrap: normal;
    }

    .frame__intro {
        padding-right: 0;
    }
}

/* ---------- Hero ---------- */
.hero {
    padding-block: clamp(20px, 5vw, 64px) clamp(40px, 5vw, 56px);
}

@media (max-width: 719px) {
    .hero__fields .field {
        padding: 6px 8px 7px;
    }

    .hero__fields .field dd {
        font-size: 1.15rem;
    }

    .sheet__link {
        min-height: 88px;
    }


    .sheet__team {
        padding-block: 6px;
    }

    .sheet__name {
        font-size: 1.6rem;
    }
}

.hero__grid {
    display: grid;
    grid-template-areas: "title" "fields" "sheet" "note" "stamp";
    gap: 20px;
}

.hero__title {
    grid-area: title;
}

.hero__fields {
    grid-area: fields;
}

.hero__stamp {
    grid-area: stamp;
}

.sheet {
    grid-area: sheet;
}

.hero__note {
    grid-area: note;
}

.hero__title .accent {
    color: var(--pink);
}

.hero__stamp {
    display: flex;
    align-items: center;
    gap: 16px;
}

.fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0;
    border-top: var(--rule) solid var(--line);
    border-left: var(--rule) solid var(--line);
}

.field {
    padding: 8px 10px 10px;
    border-right: var(--rule) solid var(--line);
    border-bottom: var(--rule) solid var(--line);
}

.field dt {
    font-family: var(--f-form);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--fg-soft);
}

.field dd {
    margin: 4px 0 0;
    font-family: var(--f-form);
    font-size: 1.3rem;
    font-weight: 750;
    line-height: 1.05;
}

.crest {
    width: 96px;
    height: auto;
    flex: none;
    margin-block: -8px;
}




.hero__lead {
    max-width: 46ch;
    color: var(--ink-soft);
}

@media (min-width: 900px) {
    .hero__grid {
        grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
        grid-template-areas: "title fields" "title stamp" "sheet sheet" "note note";
        column-gap: 48px;
        row-gap: 20px;
    }

    .hero__title {
        align-self: center;
    }

    .sheet {
        margin-top: clamp(8px, 2vw, 28px);
    }

    .crest {
        width: 140px;
        margin-block: -28px;
    }
}

/* The hero scoresheet: your company's team row. */
.sheet {
    display: grid;
    border: var(--rule) solid var(--ink);
}

.sheet__team {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 10px 12px;
    border-bottom: var(--rule) solid var(--ink);
}

.sheet__name {
    font-family: var(--f-form);
    font-size: 1.9rem;
    font-weight: 850;
    line-height: 1;
    text-transform: uppercase;
    color: var(--pink-text);
}

.sheet__frames {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
}

.sheet__frame {
    border-right: var(--rule) solid var(--orange);
    border-bottom: var(--rule) solid var(--orange);
}

.sheet__frame:nth-child(3n) {
    border-right: 0;
}

.sheet__link {
    display: grid;
    grid-template-columns: 1fr 40px;
    grid-template-rows: auto 1fr;
    height: 100%;
    min-height: 108px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.sheet__head {
    display: contents;
    font-family: var(--f-form);
    font-weight: 750;
    line-height: 1.05;
    text-transform: uppercase;
}

.sheet__no {
    padding: 7px 8px 0;
    font-family: var(--f-form);
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1;
}

.sheet__title {
    grid-column: 1 / -1;
    grid-row: 2;
    align-self: end;
    padding: 6px 8px 8px;
    font-family: var(--f-form);
    font-size: 1.4rem;
    font-weight: 850;
    line-height: 0.95;
    text-transform: uppercase;
}

@media (min-width: 1100px) {
    .sheet__title {
        font-size: clamp(1.05rem, 1.25vw, 1.3rem);
        letter-spacing: -0.01em;
    }
}

.sheet__box {
    grid-column: 2;
    grid-row: 1;
    width: 40px;
    height: 40px;
    padding: 5px;
    border-left: var(--rule) solid var(--orange);
    border-bottom: var(--rule) solid var(--orange);
}


.sheet__link:hover {
    background: var(--orange);
}


.sheet__link:hover .sheet__box {
    border-color: var(--ink);
}

/* The tenth frame is where you register. */
.sheet__tenth {
    grid-column: 1 / -1;
}

.tenth {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    min-height: 72px;
    padding: 10px 0 10px 12px;
    background: var(--ink);
    color: var(--paper);
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.tenth__balls {
    display: flex;
    border: var(--rule) solid var(--orange);
}

.tenth__ball {
    width: 30px;
    height: 30px;
    padding: 4px;
}

.tenth__ball + .tenth__ball {
    border-left: var(--rule) solid var(--orange);
}

.tenth__text {
    font-family: var(--f-form);
    font-size: 1.55rem;
    font-weight: 850;
    letter-spacing: 0.03em;
    line-height: 1;
    text-transform: uppercase;
}

.tenth__box {
    display: grid;
    place-items: center;
    align-self: stretch;
    width: 56px;
    margin-block: -10px;
    background: var(--pink);
    color: var(--ink);
    transition: background-color 0.2s ease;
}

.tenth__box .icon {
    width: 26px;
    height: 26px;
    stroke-width: 2.6;
    transition: transform 0.25s var(--ease-out);
}

.tenth:hover .tenth__box {
    background: var(--orange);
}

.tenth:hover .tenth__box .icon {
    transform: translateX(4px);
}

.hero__note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: -4px;
    font-family: var(--f-form);
    font-size: 1.2rem;
    font-weight: 750;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.hero__note .mark-inline {
    width: 22px;
    height: 22px;
}

@media (min-width: 720px) {
    .sheet__frames {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .sheet__frame:nth-child(3n) {
        border-right: var(--rule) solid var(--orange);
    }

    .sheet__frame:nth-child(5n) {
        border-right: 0;
    }

    .sheet__tenth {
        grid-column: auto;
    }

    .sheet__tenth .tenth {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto 1fr;
        height: 100%;
        padding: 8px 0 0 8px;
        gap: 8px;
    }

    .sheet__tenth .tenth__balls {
        grid-column: 1 / -1;
        justify-self: end;
        margin-right: 8px;
    }

    .sheet__tenth .tenth__text {
        align-self: end;
        padding-bottom: 8px;
        font-size: 1.25rem;
    }

    .sheet__tenth .tenth__box {
        align-self: end;
        width: 44px;
        height: 44px;
        margin: 0;
    }
}

@media (min-width: 1100px) {
    .sheet {
        grid-template-columns: 150px 1fr;
    }

    .sheet__team {
        flex-direction: column;
        justify-content: space-between;
        border-bottom: 0;
        border-right: var(--rule) solid var(--ink);
    }

    .sheet__frames {
        grid-template-columns: repeat(9, minmax(0, 1fr)) minmax(0, 1.9fr);
    }

    .sheet__frame,
    .sheet__frame:nth-child(3n),
    .sheet__frame:nth-child(5n) {
        border-right: var(--rule) solid var(--orange);
        border-bottom: 0;
    }

    .sheet__link {
        min-height: 132px;
    }


    .sheet__tenth .tenth__text {
        font-size: 1.45rem;
    }
}

/* Load: the pencil strikes frame after frame, and the totals follow. */
.sheet__frame .mark path {
    animation: draw 0.28s var(--ease-out) both;
    animation-delay: calc(var(--d) + 0.3s);
}

.sheet__frame .mark path + path {
    animation-delay: calc(var(--d) + 0.44s);
}


.sheet__frame:nth-child(1) { --d: 0.10s; }
.sheet__frame:nth-child(2) { --d: 0.26s; }
.sheet__frame:nth-child(3) { --d: 0.42s; }
.sheet__frame:nth-child(4) { --d: 0.58s; }
.sheet__frame:nth-child(5) { --d: 0.74s; }
.sheet__frame:nth-child(6) { --d: 0.90s; }
.sheet__frame:nth-child(7) { --d: 1.06s; }
.sheet__frame:nth-child(8) { --d: 1.22s; }
.sheet__frame:nth-child(9) { --d: 1.38s; }

.tenth__ball:nth-child(1) { --d: 1.56s; }
.tenth__ball:nth-child(2) { --d: 1.70s; }
.tenth__ball:nth-child(3) { --d: 1.84s; }

.tenth__ball .mark path {
    animation: draw 0.24s var(--ease-out) both;
    animation-delay: calc(var(--d) + 0.3s);
}

.tenth__ball .mark path + path {
    animation-delay: calc(var(--d) + 0.4s);
}

/* ---------- 1. About ---------- */
.statement {
    max-width: 34ch;
    font-size: clamp(1.45rem, 2.6vw, 2.15rem);
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.about {
    gap: clamp(20px, 3vw, 32px);
}

.about h2 {
    padding-right: 92px;
}

@media (min-width: 900px) {
    .about h2 {
        padding-right: 0;
    }
}

/* ---------- 2. Format ---------- */
.fields--night {
    max-width: 640px;
}

.fields--night dd {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 0.9;
}

.season {
    display: grid;
    gap: 18px;
    margin: 0;
}

.season__caption {
    font-weight: 600;
}

.season__note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 60ch;
    padding-top: 12px;
    border-top: var(--rule) dashed var(--line);
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--fg-soft);
}

.season__note .icon {
    width: 1.3em;
    height: 1.3em;
    margin-top: -1px;
    color: var(--fg);
}

.season__blocks {
    display: grid;
    gap: 18px;
}

.season__label {
    margin-bottom: 8px;
    color: var(--fg);
}

.season__days {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: var(--rule) solid var(--ink);
    border-left: var(--rule) solid var(--ink);
}

.season__day {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    aspect-ratio: 1.1;
    border-right: var(--rule) solid var(--ink);
    border-bottom: var(--rule) solid var(--ink);
    font-family: var(--f-form);
    font-weight: 800;
    font-size: 1rem;
    line-height: 1;
}

.season__day span {
    padding: 5px 0 0 6px;
}

.season__day .mark {
    grid-column: 2;
    grid-row: 1 / 3;
    width: 100%;
    height: auto;
    padding: 4px;
}

.season__days--cup {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.season__days--cup .season__day {
    background: var(--ink);
    color: var(--orange);
    --mark: var(--orange);
    border-right-color: var(--orange);
}

.season__days--cup .season__day:last-child {
    border-right-color: var(--ink);
}

.season .mark path {
    transition-delay: calc(var(--i, 0) * 45ms);
}

@media (min-width: 720px) {
    .season__days {
        grid-template-columns: repeat(9, minmax(0, 1fr));
    }

    .season__days--cup {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .season__blocks {
        grid-template-columns: minmax(0, 18fr) minmax(0, 4fr);
        align-items: end;
        gap: 12px;
    }

    .season__days {
        grid-template-columns: repeat(18, minmax(0, 1fr));
    }

    .season__days--cup {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .season__day {
        aspect-ratio: 0.72;
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
    }

    .season__day .mark {
        grid-column: 1;
        grid-row: 2;
        align-self: end;
    }
}

/* ---------- 3. Squad ---------- */
.squad {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin: 0;
}

.squad__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.squad__scroll {
    overflow-x: auto;
    border: var(--rule) solid var(--ink);
}

.squad__table {
    width: 100%;
    min-width: 340px;
    table-layout: fixed;
    border-collapse: collapse;
    font-family: var(--f-form);
    font-size: 1.2rem;
    font-weight: 750;
    line-height: 1.1;
    text-transform: uppercase;
}

.squad__table th,
.squad__table td {
    height: 46px;
    padding: 6px clamp(4px, 1.4vw, 10px);
    border: 1px solid var(--orange);
    text-align: center;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.squad__table thead th {
    height: auto;
    padding-block: 10px 8px;
    border-bottom: var(--rule) solid var(--ink);
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    color: var(--ink-soft);
}

.squad__table tbody th,
.squad__table thead tr:first-child th:first-child {
    width: 38%;
    text-align: left;
}

.squad__table tr > :first-child {
    border-left: 0;
}

.squad__table tr > :last-child {
    border-right: 0;
}

.squad__table tbody tr:last-child > * {
    border-bottom: 0;
}

.squad__tick {
    display: block;
    width: 28px;
    height: 28px;
    margin: 0 auto;
}

.squad__rest {
    --mark: var(--ink-soft);
    width: 22px;
}

.squad__status {
    min-height: 1.6em;
    font-family: var(--f-form);
    font-size: 1.2rem;
    font-weight: 750;
    text-transform: uppercase;
}

.squad__footnote {
    max-width: 60ch;
    color: var(--fg-soft);
}

/* A heavier rule where each Thursday starts, so the games read as pairs on the same night. */
.squad__table .squad__day + .squad__day,
.squad__table td.squad__day:not(:nth-child(2)),
.squad__table thead tr + tr th.squad__day:not(:first-child) {
    border-left: var(--rule) solid var(--ink);
}

.squad__table thead tr:first-child th {
    border-bottom: 1px solid var(--orange);
    color: var(--ink);
}

/* On a phone the game columns only have room for the number; the word stays for screen readers. */
@media (max-width: 559px) {
    .squad__game {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
}

.squad__swap {
    display: block;
    margin-top: 2px;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    color: var(--ink-soft);
}

.squad__swap--in {
    color: var(--pink-text);
}

.squad__table td.is-current {
    background: #fff0e6;
}

.squad__table th.is-current {
    background: var(--ink);
    color: var(--paper);
}

.squad__table tr.is-on th {
    background: var(--pink);
    color: var(--ink);
}

/* ---------- 4. Everyone can play ---------- */
.everyone__statement {
    font-size: clamp(2rem, 4.6vw, 3.4rem);
}

.game {
    display: grid;
    gap: 10px;
    margin: 0;
}

.game__frames {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: var(--rule) solid var(--ink);
    border-left: var(--rule) solid var(--ink);
    background: var(--paper);
    --mark: var(--pink);
}

.game__frame {
    display: grid;
    min-width: 0;
    grid-template-rows: auto auto 1fr;
    border-right: var(--rule) solid var(--ink);
    border-bottom: var(--rule) solid var(--ink);
    font-family: var(--f-form);
    font-weight: 800;
    line-height: 1;
}

.game__no {
    padding: 4px 6px 0;
    font-size: 0.85rem;
    color: var(--ink-soft);
}

.game__balls {
    display: flex;
    justify-content: flex-end;
}

.game__ball {
    display: grid;
    place-items: center;
    flex: 0 1 30px;
    min-width: 0;
    height: 30px;
    padding: 3px;
    border-left: 1px solid var(--orange);
    border-bottom: 1px solid var(--orange);
    font-size: 1.25rem;
    color: var(--pink-text);
}

.game__total {
    align-self: end;
    padding: 6px;
    font-size: 1.9rem;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

@media (min-width: 900px) {
    .game__frames {
        grid-template-columns: repeat(9, minmax(0, 1fr)) minmax(0, 1.4fr);
    }
}

/* ---------- 5. Shirts ---------- */
.shirts {
    display: grid;
    gap: 12px;
    margin: 0;
}

.shirt-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.shirt-row li {
    transition: transform 0.4s var(--ease-out);
}

.shirt-row li:nth-child(odd) {
    transform: rotate(-2deg);
}

.shirt-row li:nth-child(even) {
    transform: rotate(2deg) translateY(12px);
}

.shirt-row li:hover {
    transform: rotate(0);
}

.shirt {
    width: 100%;
    height: auto;
}

.shirt__text {
    font-family: var(--f-form);
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

@media (min-width: 720px) {
    .shirt-row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ---------- 6. Included ---------- */
.checklist {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: var(--rule) solid var(--line);
}

.checklist li {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: var(--rule) solid var(--line);
    font-family: var(--f-form);
    font-size: clamp(1.4rem, 2.2vw, 1.8rem);
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.checklist__box {
    width: 44px;
    height: 44px;
    padding: 5px;
    border: var(--rule) solid var(--ink);
}

.checklist .icon {
    width: 28px;
    height: 28px;
    color: var(--fg-soft);
}

.checklist .mark path {
    transition-delay: calc(var(--i, 0) * 90ms);
}

@media (min-width: 900px) {
    .checklist {
        grid-template-columns: 1fr 1fr;
        column-gap: 40px;
    }
}

.sponsor {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
}

.sponsor-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.sponsor-logo__mark {
    width: 40px;
    height: 40px;
}

.sponsor-logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.sponsor-logo__name {
    font-family: var(--f-form);
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.sponsor-logo__group {
    margin-top: 2px;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.3em;
}

/* ---------- 7. Pricing ---------- */
.slips {
    display: grid;
    gap: 20px;
}

.slip {
    display: grid;
    align-content: start;
    gap: 14px;
    padding: 20px 20px 22px;
    border: var(--rule) solid var(--ink);
    background: var(--paper);
    color: var(--ink);
    --line: var(--orange);
    --mark: var(--pink);
    --fg-soft: var(--ink-soft);
    --focus: var(--pink);
}

.slip__title {
    font-size: 1.9rem;
}

.slip__sub {
    margin-top: 6px;
}

.slip__price {
    font-family: var(--f-form);
    font-size: clamp(4.5rem, 9vw, 6rem);
    font-weight: 900;
    line-height: 0.85;
    font-variant-numeric: tabular-nums;
}

.slip__math {
    padding-top: 12px;
    border-top: var(--rule) dashed var(--orange);
    font-family: var(--f-form);
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.15;
    text-transform: uppercase;
    color: var(--pink-text);
}

.ticks {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ticks li {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 10px;
    line-height: 1.35;
}

.ticks .mark {
    width: 22px;
    height: 22px;
}

.options {
    margin: 0;
    padding: 0;
    list-style: none;
}

.option {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2px 14px;
    align-items: baseline;
    padding: 12px 0;
    border-top: var(--rule) solid var(--orange);
}

.option__price {
    grid-row: span 2;
    font-family: var(--f-form);
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1;
}

.option__title {
    font-family: var(--f-form);
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.05;
    text-transform: uppercase;
}

.option__text {
    font-size: 0.95rem;
    line-height: 1.35;
    color: var(--ink-soft);
}

.pricing__cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
}

@media (min-width: 900px) {
    .slips {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }

    .slip--wide {
        grid-column: 1 / -1;
        grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
        align-items: start;
        gap: 24px;
    }

    .slip--wide .options {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 24px;
    }
}

/* ---------- 8. Why join ---------- */
.reasons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: var(--rule) solid var(--line);
    border-left: var(--rule) solid var(--line);
}

.reason {
    display: grid;
    grid-template-columns: 1fr 40px;
    grid-template-rows: auto 1fr;
    gap: 10px 12px;
    padding: 14px 0 18px 14px;
    border-right: var(--rule) solid var(--line);
    border-bottom: var(--rule) solid var(--line);
}

.reason__box {
    grid-column: 2;
    grid-row: 1;
    width: 40px;
    height: 40px;
    margin-top: -14px;
    padding: 5px;
    border-left: var(--rule) solid var(--line);
    border-bottom: var(--rule) solid var(--line);
}

.reason__title {
    grid-column: 1;
    grid-row: 1;
    font-size: clamp(1.5rem, 2vw, 1.75rem);
    line-height: 0.95;
}

.reason__text {
    grid-column: 1 / -1;
    padding-right: 14px;
    color: var(--fg-soft);
}

.reasons .mark path {
    transition-delay: calc(var(--i, 0) * 110ms);
}

/* ---------- 9. Bigger picture ---------- */
.bigger {
    display: grid;
    gap: 40px;
}

.bigger__part {
    display: grid;
    align-content: start;
    gap: 18px;
    padding-top: 20px;
    border-top: var(--rule) solid var(--line);
}

.bigger__part h3 {
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
}

.ambassador {
    display: grid;
    gap: 20px;
}

.ambassador__quote {
    display: grid;
    gap: 14px;
    margin: 0;
}

.ambassador__quote blockquote {
    margin: 0;
    font-size: clamp(1.15rem, 1.6vw, 1.3rem);
    line-height: 1.45;
}

.ambassador__quote figcaption {
    display: grid;
    gap: 2px;
}

.ambassador__name {
    font-family: var(--f-form);
    font-size: 1.5rem;
    font-weight: 850;
    line-height: 1;
    text-transform: uppercase;
}

.ambassador__role {
    color: var(--fg-soft);
}

.ambassador__story {
    display: grid;
    gap: 12px;
}

.ambassador__story p {
    color: var(--fg-soft);
}

.ambassador__story .ambassador__emphasis {
    font-weight: 700;
    color: var(--fg);
}

.ambassador .portrait {
    max-width: 260px;
}

@media (min-width: 720px) {
    .ambassador {
        grid-template-columns: 200px 1fr;
        align-items: start;
    }

    .ambassador .ambassador__story {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1100px) {
    .bigger {
        grid-template-columns: 1.35fr 1fr;
        gap: 56px;
    }
}

.euro-logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.euro-logo__mark {
    width: 104px;
    height: auto;
    flex: none;
}

.euro-logo__letters {
    font-family: var(--f-form);
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 2px;
}

.euro-logo__text {
    display: flex;
    flex-direction: column;
    font-family: var(--f-form);
    font-size: 1.3rem;
    font-weight: 850;
    line-height: 1.02;
    text-transform: uppercase;
}

/* ---------- Portrait, journey mark, social handle ---------- */
.portrait {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border: var(--rule) solid var(--fg);
    background: var(--fg);
}

.profile__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 28px;
}

.prose .profile__links {
    margin-top: 28px;
}

.social-handle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.social-handle .icon {
    width: 40px;
    height: 40px;
    padding: 6px;
    flex: none;
    border: var(--rule) solid var(--fg);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.social-handle:hover .icon {
    background: var(--fg);
    color: var(--bg);
}

.social-handle__text {
    display: flex;
    flex-direction: column;
}

.social-handle__label {
    font-family: var(--f-form);
    font-size: 1.2rem;
    font-weight: 850;
    line-height: 1;
    text-transform: uppercase;
}

.social-handle__name {
    margin-top: 3px;
    font-size: 0.9rem;
    color: var(--fg-soft);
}

.journey-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.journey-badge__mark {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    flex: none;
    border: var(--rule) solid var(--fg);
    background: var(--fg);
    color: var(--bg);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.journey-badge__mark .icon {
    width: 28px;
    height: 28px;
    stroke-width: 2.1;
}

.journey-badge:hover .journey-badge__mark {
    background: var(--bg);
    color: var(--fg);
}

.journey-badge__text {
    display: flex;
    flex-direction: column;
    max-width: 22ch;
}

.journey-badge__title {
    font-family: var(--f-form);
    font-size: 1.2rem;
    font-weight: 850;
    line-height: 1;
    text-transform: uppercase;
}

.journey-badge__subtitle {
    margin-top: 3px;
    font-size: 0.9rem;
    color: var(--fg-soft);
}

/* ---------- 10. Register ---------- */
.closing {
    display: grid;
    gap: 36px;
}

.closing__accent {
    font-family: var(--f-form);
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 850;
    line-height: 1.02;
    text-transform: uppercase;
    color: var(--orange);
}

.closing__accent span {
    display: block;
}

.closing__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px 28px;
}

.final {
    display: grid;
    gap: 12px;
    justify-items: start;
}

.final__frame {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: min(100%, 420px);
    border: var(--rule) solid var(--orange);
}

.final__ball {
    aspect-ratio: 1;
    padding: 14%;
    border-bottom: var(--rule) solid var(--orange);
}

.final__ball + .final__ball {
    border-left: var(--rule) solid var(--orange);
}

.final__total {
    grid-column: 1 / -1;
    padding: 6px 14px 10px;
    font-family: var(--f-form);
    font-size: clamp(5rem, 12vw, 7.5rem);
    font-weight: 900;
    line-height: 0.85;
    text-align: right;
}

.final .mark path {
    transition-duration: 0.4s;
}

.final__ball:nth-child(2) .mark path {
    transition-delay: 0.3s;
}

.final__ball:nth-child(2) .mark path + path {
    transition-delay: 0.44s;
}

.final__ball:nth-child(3) .mark path {
    transition-delay: 0.6s;
}

.final__ball:nth-child(3) .mark path + path {
    transition-delay: 0.74s;
}

.signoff {
    font-family: var(--f-form);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    color: var(--fg-soft);
}

.signoff span {
    display: block;
}

@media (min-width: 900px) {
    .closing {
        grid-template-columns: 1fr auto;
        align-items: end;
        gap: 56px;
    }

    .final {
        justify-items: end;
        text-align: right;
    }
}

/* ---------- Footer ---------- */
.site-footer {
    padding-block: 48px 28px;
    border-top: var(--rule) solid var(--ink);
    background: var(--paper);
    color: var(--ink);
}

.site-footer__top {
    display: grid;
    gap: 28px;
    padding-bottom: 28px;
    border-bottom: var(--rule) solid var(--orange);
}

.footer-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0;
    border-top: var(--rule) solid var(--orange);
    border-left: var(--rule) solid var(--orange);
}

.footer-facts .field dd {
    font-size: 1.2rem;
}

.footer-facts .field:last-child {
    grid-column: 1 / -1;
}

@media (min-width: 720px) {
    .footer-facts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-facts .field:last-child {
        grid-column: auto;
    }
}

.site-footer__sponsor {
    display: grid;
    gap: 8px;
    justify-items: start;
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 28px;
    padding-block: 22px;
}

.footer-links,
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links a {
    font-family: var(--f-form);
    font-size: 1.15rem;
    font-weight: 750;
    letter-spacing: 0.05em;
    text-decoration: none;
    text-transform: uppercase;
}

.footer-links a:hover {
    text-decoration: underline;
    text-decoration-color: var(--orange);
    text-decoration-thickness: 3px;
}

.social-links {
    gap: 10px;
}

.social-links a {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: var(--rule) solid var(--ink);
}

.social-links a:hover {
    background: var(--ink);
    color: var(--paper);
}

.site-footer__tagline {
    font-family: var(--f-form);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.site-footer__legal {
    font-size: 0.85rem;
    color: var(--ink-soft);
}

@media (min-width: 900px) {
    .site-footer__top {
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 40px;
    }
}

/* ---------- Inner pages ---------- */
.page-hero {
    padding-block: clamp(48px, 8vw, 104px) clamp(36px, 5vw, 64px);
    border-bottom: var(--rule) solid var(--ink);
}

.page-hero__grid {
    display: grid;
    gap: 20px;
}

.page-hero__lead {
    max-width: 58ch;
    font-size: clamp(1.15rem, 1.8vw, 1.35rem);
    line-height: 1.45;
    color: var(--ink-soft);
}

.page-body {
    padding-block: clamp(48px, 7vw, 96px);
}

.prose {
    max-width: 68ch;
}

.prose__section + .prose__section {
    margin-top: 40px;
}

.prose h2 {
    margin-bottom: 14px;
    font-size: clamp(1.9rem, 3vw, 2.4rem);
}

.prose p + p {
    margin-top: 1em;
}

.prose p {
    color: var(--fg-soft);
}

.profile {
    display: grid;
    gap: 40px;
    align-items: start;
}

.profile > .portrait {
    max-width: 340px;
}

.euro-aside {
    display: grid;
    gap: 28px;
    justify-items: start;
}

.euro-aside .fields {
    width: 100%;
}

.field .field__detail {
    margin-top: 2px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--fg-soft);
}

/* ---------- Shirts page ---------- */
.designs {
    display: grid;
    gap: 24px;
}

.designs__title {
    font-size: clamp(1.9rem, 3vw, 2.4rem);
}

.designs__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.design {
    display: grid;
    align-content: start;
    gap: 6px;
}

.design .shirt {
    margin-bottom: 10px;
    transition: transform 0.4s var(--ease-out);
}

.design:hover .shirt {
    transform: rotate(-2deg) translateY(-4px);
}

.design__name {
    font-family: var(--f-form);
    font-size: 1.4rem;
    font-weight: 850;
    line-height: 1;
    text-transform: uppercase;
    color: var(--line);
}

.design__text {
    font-size: 0.95rem;
    color: var(--fg-soft);
}

.steps {
    display: grid;
    gap: 32px;
}

.steps__list {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
    border-top: var(--rule) solid var(--line);
    border-left: var(--rule) solid var(--line);
}

.steps__item {
    display: grid;
    gap: 8px;
    align-content: start;
    padding: 16px 18px 22px;
    border-right: var(--rule) solid var(--line);
    border-bottom: var(--rule) solid var(--line);
    counter-increment: step;
}

.steps__item::before {
    content: counter(step);
    font-family: var(--f-form);
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1;
    color: var(--line);
}

.steps__item h3 {
    font-size: 1.4rem;
}

.steps__item p {
    color: var(--fg-soft);
}

@media (min-width: 720px) {
    .designs__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .steps__list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 860px) {
    .profile {
        grid-template-columns: minmax(220px, 320px) 1fr;
        gap: 64px;
    }
}

.faq {
    max-width: 860px;
    border-top: var(--rule) solid var(--orange);
}

.faq__item {
    border-bottom: var(--rule) solid var(--orange);
}

.faq__item summary {
    display: grid;
    grid-template-columns: 1fr 40px;
    align-items: center;
    gap: 16px;
    padding: 18px 0 16px;
    font-family: var(--f-form);
    font-size: clamp(1.5rem, 2.6vw, 1.9rem);
    font-weight: 800;
    line-height: 1.05;
    text-transform: uppercase;
    list-style: none;
    cursor: pointer;
}

.faq__item summary::-webkit-details-marker {
    display: none;
}

.faq__box {
    width: 40px;
    height: 40px;
    padding: 5px;
    border: var(--rule) solid var(--ink);
}

.faq__box .mark path {
    stroke-dashoffset: 1;
    opacity: 0;
}

.faq__item[open] .faq__box .mark path {
    stroke-dashoffset: 0;
    opacity: 1;
}

.faq__item summary:hover .faq__box {
    background: var(--orange);
}

.faq__item p {
    max-width: 64ch;
    padding: 0 56px 22px 0;
    color: var(--ink-soft);
}

.contact {
    display: grid;
    gap: 20px;
}

.contact-slip {
    display: grid;
    align-content: start;
    gap: 16px;
    padding: clamp(20px, 4vw, 32px);
    border: var(--rule) solid var(--ink);
}

.contact-slip h2 {
    font-size: 2rem;
}

.contact-slip__line {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-slip__line .icon {
    width: 1.4em;
    height: 1.4em;
    color: var(--accent-text);
}

.contact-slip p {
    color: var(--fg-soft);
}

.contact-slip .contact-slip__line {
    color: var(--fg);
}

@media (min-width: 860px) {
    .contact {
        grid-template-columns: 1fr 1fr;
    }
}

.register-banner {
    padding-block: clamp(40px, 6vw, 72px);
}

.register-banner__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.message-page {
    display: grid;
    align-items: center;
    min-height: 64vh;
    padding-block: 72px;
}

.message-page__inner {
    display: grid;
    gap: 20px;
    justify-items: start;
}

.message-page p {
    max-width: 50ch;
    color: var(--ink-soft);
}

.gutter-frame {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 180px;
    border: var(--rule) solid var(--ink);
    font-family: var(--f-form);
    font-weight: 900;
}

.gutter-frame__ball {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    padding: 18%;
    border-bottom: var(--rule) solid var(--ink);
    font-size: 3.4rem;
    line-height: 1;
    color: var(--pink-text);
}

.gutter-frame__ball + .gutter-frame__ball {
    border-left: var(--rule) solid var(--ink);
}

.gutter-frame__total {
    grid-column: 1 / -1;
    padding: 4px 12px 8px;
    font-size: 4.5rem;
    line-height: 0.9;
    text-align: right;
}
