/*
  gymtion.org: the brand site. One system with the January Project wall (branding/kit/january-project/wall.html):
  black and white, Rubik only, slanted marks, the hashtag on a tilted label.
  The only colour in the graphics comes from a gym: the custom property --gym (default: white).

  Golden ratio: every type size, every distance and every split of the page is a step of the golden ratio
  (1.618) or of its square root (1.272), counted from the running text (17 px), as on the wall.
    type      13.4 · 17 · 21.6 · 27.5 · [44.5] · 72 · 116.5 · [188.5] · 240 px
    distance   6.5 · 10.5 · 17 · 27.5 · 44.5 · 72 · 116.5 px
    splits    61.8 : 38.2 (1.618fr 1fr)   ·   label column 14.6 : 85.4 (1fr 5.854fr)
  Sizes shrink on small screens; the values above are the largest ones.
*/

/* ─── Fonts: Rubik, the cuts of the wall plus Regular for running text ───── */
@font-face { font-family: "Rubik"; font-weight: 900; font-style: italic; font-display: swap;
  src: url("../fonts/Rubik-BlackItalic.woff2") format("woff2"); }
@font-face { font-family: "Rubik"; font-weight: 800; font-style: italic; font-display: swap;
  src: url("../fonts/Rubik-ExtraBoldItalic.woff2") format("woff2"); }
@font-face { font-family: "Rubik"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("../fonts/Rubik-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Rubik"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("../fonts/Rubik-Medium.woff2") format("woff2"); }
@font-face { font-family: "Rubik"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/Rubik-Regular.woff2") format("woff2"); }

/* ─── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  color-scheme: dark;
  --paper: 10 10 11;                     /* the black of the wall */
  --ink: 244 244 242;                    /* its white */
  --gym: var(--ink);                     /* colour comes from a gym only */

  --hair: rgb(var(--ink) / 0.16);        /* line between two rows */
  --rule: rgb(var(--ink) / 0.5);         /* stronger line, where a week starts */
  --quiet: rgb(var(--ink) / 0.74);       /* small type */
  --soft: rgb(var(--ink) / 0.86);        /* running text */
  --dim: rgb(var(--ink) / 0.42);         /* what "they" say */

  /* type: steps of the golden ratio from the running text */
  --t-small: 0.835rem;                   /* 13.4 px = 17 / 1.272 */
  --t-body: 1.0625rem;                   /* 17 px */
  --t-h3: 1.352rem;                      /* 21.6 px = 17 x 1.272 */
  --t-lead: clamp(1.352rem, 0.95rem + 1.3vw, 1.719rem);   /* up to 27.5 px = 17 x 1.618 */
  --t-h2: clamp(2.19rem, 5.6vw, 4.5rem);                  /* up to 72 px = 27.5 x 2.618 */
  --t-h1: clamp(2.78rem, 9vw, 7.281rem);                  /* up to 116.5 px = 72 x 1.618 */
  --t-hero: clamp(5.2rem, min(25.6vw, 22vh), 15rem);      /* up to 240 px = 116.5 x 2.058 */

  /* distances: golden steps */
  --s1: 0.406rem;  --s2: 0.656rem;  --s3: 1.0625rem;  --s4: 1.719rem;
  --s5: 2.781rem;  --s6: 4.5rem;    --s7: 7.281rem;

  --m: clamp(1.25rem, 4.2vw, 3.5rem);    /* page margin */
  --max: 88rem;
  --lean: -10deg;                        /* marks and buttons lean like the italic type */
}

/* ─── Base ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
html.i18n-wait body { visibility: hidden; }          /* until the chosen language is in place */
body {
  margin: 0;
  background: rgb(var(--paper));
  color: var(--soft);
  font: 400 var(--t-body)/1.6 "Rubik", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgb(var(--ink)); color: rgb(var(--paper)); }
:focus-visible { outline: 2px solid rgb(var(--ink)); outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--m); }
.skip { position: absolute; left: var(--m); top: -4rem; z-index: 100; padding: var(--s2) var(--s3); background: rgb(var(--ink)); color: rgb(var(--paper)); font-weight: 600; }
.skip:focus { top: var(--s2); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ─── Type ───────────────────────────────────────────────────────────────── */
.display {
  font: italic 900 var(--fs, var(--t-h2))/0.9 "Rubik", sans-serif;
  letter-spacing: -0.012em;
  text-transform: uppercase;
  color: rgb(var(--ink));
  text-wrap: balance;
}
:lang(de) .display { line-height: 1; }
.h1 { --fs: var(--t-h1); }
.h2 { --fs: var(--t-h2); }
.h3 {
  font: italic 800 var(--t-h3)/1.08 "Rubik", sans-serif;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgb(var(--ink));
}
.kicker { font: 600 var(--t-small)/1.2 "Rubik", sans-serif; letter-spacing: 0.3em; text-transform: uppercase; color: var(--quiet); }
.note { font: 500 var(--t-small)/1.5 "Rubik", sans-serif; letter-spacing: 0.18em; text-transform: uppercase; color: var(--quiet); }
.lead { font: 500 var(--t-lead)/1.32 "Rubik", sans-serif; color: rgb(var(--ink)); text-wrap: pretty; max-width: 27em; }
.dim { color: var(--dim); }
.display .dim { display: block; }
.prose { max-width: 40rem; }
.prose p + p { margin-top: 1em; }
.prose a, .link { color: rgb(var(--ink)); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; text-decoration-color: var(--rule); }
.prose a:hover, .link:hover { text-decoration-color: rgb(var(--ink)); }
.stack > * + * { margin-top: var(--gap, var(--s4)); }
.fine { font-size: var(--t-small); line-height: 1.55; color: var(--quiet); max-width: 44rem; }

/* the creed as a hashtag: a tilted label that stands on its own */
.hash {
  display: inline-block;
  font: italic 900 1em/1 "Rubik", sans-serif;
  letter-spacing: 0.01em;
  white-space: nowrap;
  padding: 0.22em 0.38em;
  background: rgb(var(--ink));
  color: rgb(var(--paper));
  transform: rotate(-4deg);
  transform-origin: left center;
}

/* ─── Buttons: slanted blocks ────────────────────────────────────────────── */
.btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 3.1rem; padding: 0.9em 1.7em;
  border: 0; background: none; cursor: pointer;
  font: italic 800 0.95rem/1 "Rubik", sans-serif;
  letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap;
  color: rgb(var(--paper));
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgb(var(--ink));
  transform: skewX(var(--lean));
  transition: transform 0.18s ease, background-color 0.18s ease;
}
.btn:hover::before { transform: skewX(var(--lean)) scaleX(1.035); }
.btn:active::before { transform: skewX(var(--lean)) scale(0.98); }
.btn--ghost { color: rgb(var(--ink)); }
.btn--ghost::before { background: transparent; box-shadow: inset 0 0 0 2px rgb(var(--ink) / 0.6); }
.btn--ghost:hover::before { box-shadow: inset 0 0 0 2px rgb(var(--ink)); }
.btn[disabled] { cursor: progress; opacity: 0.6; }
.btns { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s4); align-items: center; }

/* the one call to action of a page: large, in the middle, tilted like the hashtag label */
.cta { display: grid; justify-items: center; gap: var(--s5); padding-block: var(--s5); text-align: center; }
.btn--xl {
  font-size: clamp(1.719rem, 5.2vw, 2.781rem); font-weight: 900; letter-spacing: 0.01em;
  padding: 0.62em 1.1em; min-height: 0;
  transform: rotate(-4deg);
  transition: transform 0.2s ease;
}
.btn--xl:hover { transform: rotate(-4deg) scale(1.04); }
.cta .lead { max-width: 24em; }

/* ─── Header ─────────────────────────────────────────────────────────────── */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgb(var(--paper) / 0.84);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
}
.top__in { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s4); padding-block: var(--s2); }
.brand { display: inline-flex; align-items: center; gap: var(--s2); margin-right: auto; font: italic 800 1.25rem/1 "Rubik", sans-serif; letter-spacing: 0.08em; color: rgb(var(--ink)); }
.brand img { width: 2.5rem; height: 2.5rem; border-radius: 22.37%; }
.nav { display: flex; gap: clamp(1rem, 2.2vw, 1.719rem); overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { font: 600 0.75rem/1 "Rubik", sans-serif; letter-spacing: 0.2em; text-transform: uppercase; color: var(--quiet); padding: 0.85rem 0; white-space: nowrap; transition: color 0.15s ease; }
.nav a:hover, .nav a[aria-current="page"] { color: rgb(var(--ink)); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 rgb(var(--ink)); }
/* language: only the chosen one is shown, the others open in a menu */
.lang { position: relative; }
.lang summary { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.45rem 0.55rem; cursor: pointer; list-style: none;
  border: 1px solid var(--hair); font: 600 0.75rem/1 "Rubik", sans-serif; letter-spacing: 0.12em; text-transform: uppercase; color: rgb(var(--ink)); }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { border-color: var(--rule); }
.flag { width: 1.25rem; height: 0.85rem; border-radius: 1px; flex: none; }
.lang__caret { width: 0.6rem; height: 0.4rem; transition: transform 0.15s ease; }
.lang[open] .lang__caret { transform: rotate(180deg); }
.lang ul { position: absolute; right: 0; top: calc(100% + 0.3rem); z-index: 60; min-width: 10.5rem; padding: 0.3rem; background: rgb(var(--paper)); border: 1px solid var(--rule); }
.lang li a { display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0.7rem; font: 500 0.95rem/1 "Rubik", sans-serif; color: var(--soft); }
.lang li a:hover { background: rgb(var(--ink) / 0.1); color: rgb(var(--ink)); }
.lang li a[aria-current="true"] { display: none; }
@media (max-width: 46rem) {
  .nav { order: 3; width: 100%; border-top: 1px solid var(--hair); margin-top: var(--s2); justify-content: space-between; }
  .top__in { padding-bottom: 0; }
}

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero { padding-block: var(--s5) var(--s6); }
.hero.flow { display: grid; align-content: center; min-height: min(92svh, 58rem); }
.hero .wrap > * + * { margin-top: var(--s4); }
.creed {
  font: italic 900 var(--t-hero)/0.86 "Rubik", sans-serif;
  letter-spacing: -0.02em; text-transform: uppercase;
  color: rgb(var(--ink));
}
.creed .w { display: block; width: max-content; padding-right: 0.08em; }
.creed__note {
  display: inline-flex; align-items: center; gap: 0.7em;
  margin-left: clamp(0.8rem, 2vw, 1.719rem);
  font: 600 var(--t-small)/1 "Rubik", sans-serif; letter-spacing: 0.2em; white-space: nowrap;
  color: rgb(var(--ink) / 0.9);
  vertical-align: middle; transform: translateY(-0.35em);
}
.creed__note svg { width: 2.4rem; height: 1rem; flex: none; }
.hero__side { max-width: 30rem; }
.hero__side > * + * { margin-top: var(--s4); }

/* ─── Pictures that run into the page ─────────────────────────────────────
   A picture takes a good half of the width and fades into the black on the side of the text and at top and bottom,
   so the text can run into it and no edge cuts the page into boxes. */
.flow { position: relative; isolation: isolate; }
.row > .flow { display: grid; align-content: center; min-height: min(84svh, 46rem); }
.shot { position: absolute; z-index: -1; top: 0; bottom: 0; width: 61.8%; margin: 0; pointer-events: none; }
.shot--right { right: 0; }
.shot--left { left: 0; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 35%); filter: saturate(0.96) contrast(1.03); }
.shot--right img {
  -webkit-mask-image: linear-gradient(to right, transparent 3%, #000 68%), linear-gradient(to bottom, transparent, #000 18%, #000 72%, transparent);
          mask-image: linear-gradient(to right, transparent 3%, #000 68%), linear-gradient(to bottom, transparent, #000 18%, #000 72%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.shot--left img {
  -webkit-mask-image: linear-gradient(to left, transparent 3%, #000 68%), linear-gradient(to bottom, transparent, #000 18%, #000 72%, transparent);
          mask-image: linear-gradient(to left, transparent 3%, #000 68%), linear-gradient(to bottom, transparent, #000 18%, #000 72%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.shot--hero img {
  -webkit-mask-image: linear-gradient(to right, transparent 3%, #000 68%), linear-gradient(to bottom, #000 62%, transparent);
          mask-image: linear-gradient(to right, transparent 3%, #000 68%), linear-gradient(to bottom, #000 62%, transparent);
}
.col { width: min(100%, 38.2rem); }
.col--right { margin-left: auto; }
@media (max-width: 56rem) {
  /* small screens: the picture stands above the text and fades downwards */
  .hero.flow, .row > .flow { display: block; min-height: 0; }
  .shot { position: relative; width: 100%; height: 78vw; margin-bottom: calc(var(--s5) * -1); }
  .shot img, .shot--hero img { -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent); mask-image: linear-gradient(to bottom, #000 45%, transparent); }
  .hero.flow { padding-top: 0; }
  .col { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .creed .w { color: rgb(var(--ink) / 0.16); animation: creed-on 0.55s ease-out forwards; }
  .creed .w:nth-child(1) { animation-delay: 0.2s; }
  .creed .w:nth-child(2) { animation-delay: 0.7s; }
  .creed .w:nth-child(3) { animation-delay: 1.2s; }
  .creed__note { opacity: 0; animation: fade-in 0.6s ease-out 1.9s forwards; }
}
@keyframes creed-on { to { color: rgb(var(--ink)); } }
@keyframes fade-in { to { opacity: 1; } }

/* page heroes of the sub pages: text and picture split 61.8 : 38.2 */
.phero { padding-block: var(--s6) var(--s6); }
.phero__grid { display: grid; gap: var(--s5); align-items: center; }
.phero .display { margin-top: var(--s4); }
.phero .lead { margin-top: var(--s4); }
.phero .btns { margin-top: var(--s5); }
@media (min-width: 62rem) { .phero__grid { grid-template-columns: 1.618fr 1fr; } }

/* ─── Marks ──────────────────────────────────────────────────────────────── */
.marks { color: rgb(var(--ink) / 0.3); line-height: 0; overflow: visible; min-height: 1px; }
.marks svg { overflow: visible; }
.mk-guide { fill: none; stroke: currentColor; }
.mk { fill: none; stroke: rgb(var(--gym)); stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.25s ease; }
.marks--anim .mk { stroke-dasharray: 1; opacity: 0; }
.marks--anim.is-in .mk { animation: mk-draw 0.17s cubic-bezier(0.3, 0.7, 0.4, 1) forwards; animation-delay: var(--d, 0ms); }
@keyframes mk-draw { from { opacity: 1; stroke-dashoffset: 1; } to { opacity: 1; stroke-dashoffset: 0; } }

/* ─── Rows: every section is a day on the wall ───────────────────────────── */
.row { padding-block: clamp(var(--s6), 8vw, var(--s7)); }
.row > .wrap > * + *, .col > * + * { margin-top: clamp(var(--s4), 3.4vw, var(--s5)); }
.row > .wrap > .kicker + *, .col > .kicker + * { margin-top: var(--s3); }
.row__in { display: grid; gap: var(--s4) var(--s5); }
.row__label { display: flex; align-items: baseline; gap: var(--s3); }
.daynum { font: italic 800 clamp(2.19rem, 4vw, 2.781rem)/0.9 "Rubik", sans-serif; color: rgb(var(--ink)); }
.dow { font: 600 var(--t-small)/1 "Rubik", sans-serif; letter-spacing: 0.2em; text-transform: uppercase; color: var(--quiet); }
.row__track > * + * { margin-top: clamp(var(--s4), 3.4vw, var(--s5)); }
@media (min-width: 62rem) {
  .row__in { grid-template-columns: 1fr 5.854fr; }
  .row__label { flex-direction: column; align-items: flex-start; gap: var(--s2); position: sticky; top: 6.5rem; align-self: start; }
}

/* ─── Proof: three numbers ───────────────────────────────────────────────── */
.proof { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: var(--s4) var(--s5); }
.proof__item { padding: 0; }
.proof__num { font: italic 900 clamp(3.2rem, 6.4vw, 4.5rem)/0.9 "Rubik", sans-serif; letter-spacing: -0.02em; color: rgb(var(--ink)); }
.proof__text { margin-top: var(--s3); max-width: 22rem; }
.proof__src { display: block; margin-top: var(--s3); }
.proof__src a { text-decoration: underline; text-decoration-color: var(--hair); text-underline-offset: 0.3em; }
.proof__src a:hover { color: rgb(var(--ink)); text-decoration-color: rgb(var(--ink)); }

/* ─── Lists of statements (creed, rules, kit) ────────────────────────────── */
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: var(--s5) var(--s5); counter-reset: point; }
.points > li { counter-increment: point; }
.points--stack { grid-template-columns: 1fr; gap: var(--s4); }
.points--steps > li::before { content: counter(point, decimal-leading-zero); display: block; margin-bottom: var(--s3); font: 600 var(--t-small)/1 "Rubik", sans-serif; letter-spacing: 0.2em; color: var(--quiet); }
.points p { margin-top: var(--s2); max-width: 24rem; }
@media (min-width: 48rem) { .points--2 { grid-template-columns: 1fr 1fr; } }
.points--wide { grid-template-columns: 1fr; }
.points--wide > li { display: grid; gap: var(--s1) var(--s4); }
.points--wide p { margin-top: 0; max-width: 34rem; }
@media (min-width: 48rem) {
  .points--wide > li { grid-template-columns: 2.781rem 1fr 1.618fr; align-items: baseline; }
}

/* ─── Everyone / gyms / optional ─────────────────────────────────────────── */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: var(--s5); }
.tier { padding: 0; }
.tier .display { --fs: clamp(2.19rem, 3.6vw, 2.781rem); margin-top: var(--s3); }
.tier p:last-of-type { margin-top: var(--s3); max-width: 21rem; }
.tier .link { display: inline-block; margin-top: var(--s3); }

/* ─── Two columns: text and a picture, 61.8 : 38.2 ───────────────────────── */
.duo { display: grid; gap: var(--s5); align-items: center; }
@media (min-width: 56rem) { .duo { grid-template-columns: 1.618fr 1fr; } }
.duo > .stack > .btns { margin-top: var(--s5); }

/* ─── Samples: what is shown here is a preview, the real thing comes with the kit ── */
.sample { position: relative; }
.sample__tag { position: absolute; right: -0.4rem; top: var(--s3); z-index: 3; font-size: var(--t-small); transform: rotate(6deg); transform-origin: right center; }
/* the word GYMTION, faint and tilted, across a preview */
.wm { position: absolute; inset: -30% -20%; z-index: 2; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 3.4em 2.6em;
  transform: rotate(-18deg); pointer-events: none; user-select: none; -webkit-user-select: none;
  font: italic 900 0.62em/1 "Rubik", sans-serif; letter-spacing: 0.16em; color: rgb(var(--ink) / 0.05); }

/* ─── The badges ─────────────────────────────────────────────────────────── */
.badge { width: 100%; max-width: 27rem; margin-inline: auto; }
.badge svg { width: 100%; height: auto; }
.signs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: var(--s5) var(--s4); align-items: start; }
.sign__pic { position: relative; overflow: hidden; display: grid; place-items: center; aspect-ratio: 1.618 / 1; padding: 6%; background: rgb(var(--ink) / 0.05); border: 1px solid var(--hair); font-size: 1.352rem; }
.sign__pic > [data-badge] { width: 56%; }
.sign__pic > [data-badge][data-status="gym"] { width: 94%; }
.sign figcaption { margin-top: var(--s3); }
.sign figcaption p { margin-top: var(--s2); }

/* the QR sticker for inside: two columns, words on the left, the code on the right */
.qrs { container-type: inline-size; width: 94%; background: rgb(var(--paper)); color: rgb(var(--ink)); border: 1px solid var(--rule); }
.qrs__in { display: grid; grid-template-columns: 1.618fr 1fr; gap: 5cqw; align-items: center; padding: 5.5cqw; }
.qrs__brand { display: flex; align-items: center; gap: 2.4cqw; font: italic 800 4.6cqw/1 "Rubik", sans-serif; letter-spacing: 0.1em; }
.qrs__brand img { width: 8cqw; height: 8cqw; border-radius: 22.37%; }
.qrs__line { margin-top: 4.4cqw; font: italic 800 5.4cqw/1.06 "Rubik", sans-serif; letter-spacing: 0.01em; text-transform: uppercase; }
.qrs__line span { display: block; color: rgb(var(--ink) / 0.7); }
.qrs .hash { margin-top: 4.4cqw; font-size: 4.2cqw; }
.qrs__code { padding: 2.6cqw; background: #fff; }
.qrs__code img { width: 100%; height: auto; image-rendering: pixelated; }
.qrs__url { margin-top: 2.2cqw; font: 600 2.5cqw/1 "Rubik", sans-serif; letter-spacing: 0.1em; text-align: center; }

/* ─── The wall, small: a part of a week sheet that scales like a picture ─── */
.sheet { container-type: inline-size; position: relative; overflow: hidden; width: 100%; background: rgb(var(--paper)); color: rgb(var(--ink)); border: 1px solid var(--rule); border-bottom: 0; }
/* only the top of the sheet is shown; it runs out into the black of the page */
.sheet::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; z-index: 1; background: linear-gradient(to bottom, rgb(var(--paper) / 0), rgb(var(--paper)) 94%); pointer-events: none; }
.sheet__in { padding: 4.4cqw 4.4cqw 0; }
.sheet__top { display: flex; align-items: center; justify-content: space-between; gap: 2cqw; }
.sheet__gym { display: flex; align-items: center; gap: 1.8cqw; min-width: 0; font: italic 800 3.3cqw/1 "Rubik", sans-serif; text-transform: uppercase; white-space: nowrap; }
.sheet__gym span:last-child { overflow: hidden; text-overflow: ellipsis; padding-right: 0.3em; }
.sheet__logo { --logo-box: 6.4cqw; flex: none; display: grid; place-items: center; width: var(--logo-box); height: var(--logo-box); border: 0.12cqw dashed rgb(var(--ink) / 0.55); font: italic 800 1.3cqw/1 "Rubik", sans-serif; color: rgb(var(--ink) / 0.7); }
.sheet__kick { flex: none; font: 600 1.3cqw/1 "Rubik", sans-serif; letter-spacing: 0.3em; color: rgb(var(--ink) / 0.72); white-space: nowrap; }
.sheet__title { margin-top: 2.4cqw; font: italic 900 8.85cqw/0.92 "Rubik", sans-serif; letter-spacing: -0.01em; white-space: nowrap; }
.sheet__sub { display: flex; justify-content: space-between; gap: 2cqw; margin-top: 2cqw; font: italic 800 2.02cqw/1 "Rubik", sans-serif; letter-spacing: 0.02em; white-space: nowrap; }
.sheet__sub span:last-child { color: rgb(var(--ink) / 0.55); }
.sheet__sub2 { margin-top: 1cqw; font: 600 1.35cqw/1 "Rubik", sans-serif; letter-spacing: 0.08em; color: rgb(var(--ink) / 0.6); white-space: nowrap; }
.sheet__ruler { display: grid; grid-template-columns: 11.5cqw 1fr; margin-top: 3.2cqw; padding-bottom: 0.9cqw; font: 500 1.05cqw/1 "Rubik", sans-serif; letter-spacing: 0.22em; color: rgb(var(--ink) / 0.6); }
.sheet__ticks { position: relative; }
.sheet__ticks span { position: absolute; top: 0; transform: translateX(-50%); font-weight: 600; letter-spacing: 0.08em; font-size: 1.25cqw; color: rgb(var(--ink) / 0.5); }
.sheet__day { display: grid; grid-template-columns: 11.5cqw 1fr; align-items: center; padding: 0.9cqw 0; border-top: 0.1cqw solid rgb(var(--ink) / 0.14); }
.sheet__num { font: italic 800 4.3cqw/0.9 "Rubik", sans-serif; }
.sheet__dow { display: block; margin-top: 0.8cqw; font: 600 1.25cqw/1 "Rubik", sans-serif; letter-spacing: 0.2em; color: rgb(var(--ink) / 0.6); }
.sheet-note { margin-top: var(--s3); }

/* the gym tries its name and its pen */
.try { display: grid; gap: var(--s4) var(--s5); align-items: end; }
@media (min-width: 48rem) { .try { grid-template-columns: minmax(0, 1fr) auto; } }
.pens { display: flex; flex-wrap: wrap; gap: var(--s2); }
.pen { position: relative; width: 2.3rem; height: 2.3rem; padding: 0; border: 0; background: none; cursor: pointer; }
.pen::before { content: ""; position: absolute; inset: 0.25rem 0.75rem; background: rgb(var(--pen)); border-radius: 0.3rem; transform: skewX(var(--lean)); transition: inset 0.15s ease; }
.pen:hover::before { inset: 0.1rem 0.7rem; }
.pen[aria-pressed="true"]::before { inset: 0 0.6rem; }
.pen[aria-pressed="true"]::after { content: ""; position: absolute; left: 0.2rem; right: 0.2rem; bottom: -0.45rem; height: 2px; background: rgb(var(--ink)); }

/* ─── Dates, and what a gym gets and gives ───────────────────────────────── */
.dates { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11.5rem), 1fr)); gap: var(--s4); }
.dates li { padding: 0; }
.dates .daynum { display: block; }
.dates .dow { display: block; margin-top: var(--s2); }
.dates p { margin-top: var(--s2); color: rgb(var(--ink)); font-weight: 500; line-height: 1.35; }

.swap { display: grid; gap: var(--s4) var(--s5); }
@media (min-width: 48rem) { .swap { grid-template-columns: 1.618fr 1fr; } }
.swap h3 { padding: 0 0 var(--s2); }
.swap li { padding: var(--s1) 0 var(--s1) var(--s4); position: relative; }
.swap li::before { content: ""; position: absolute; left: 0.35rem; top: 0.7rem; width: 2.5px; height: 1.05rem; background: rgb(var(--gym)); border-radius: 2px; transform: skewX(var(--lean)); transition: background-color 0.25s ease; }

/* ─── Form: lines on the sheet, the tick is a mark ───────────────────────── */
.letter { display: grid; gap: var(--s5); }
@media (min-width: 60rem) { .letter { grid-template-columns: 1fr 1.618fr; align-items: start; } }
.form { display: grid; gap: var(--s4); }
@media (min-width: 36rem) { .form { grid-template-columns: 1fr 1fr; } .form .full { grid-column: 1 / -1; } }
.field label { display: block; font: 600 var(--t-small)/1.3 "Rubik", sans-serif; letter-spacing: 0.18em; text-transform: uppercase; color: var(--quiet); }
.field label i { font-style: normal; letter-spacing: 0.08em; text-transform: none; opacity: 0.8; }
.field input {
  display: block; width: 100%; margin-top: var(--s1); padding: 0.55rem 0 0.6rem;
  background: none; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0;
  font: 500 1.15rem/1.3 "Rubik", sans-serif; color: rgb(var(--ink));
  transition: border-color 0.15s ease;
}
.field input::placeholder { color: rgb(var(--ink) / 0.3); }
.field input:hover { border-bottom-color: rgb(var(--ink) / 0.8); }
.field input:focus { outline: none; border-bottom-color: rgb(var(--ink)); box-shadow: 0 1px 0 rgb(var(--ink)); }
.field input:user-invalid { border-bottom-style: dashed; }
.trap { position: absolute; left: -200vw; width: 1px; height: 1px; overflow: hidden; }

.check { display: grid; grid-template-columns: auto 1fr; gap: var(--s3); align-items: start; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 1.9rem; height: 1.9rem; margin: 0; cursor: pointer; }
.check__box { position: relative; display: block; width: 1.9rem; height: 1.9rem; border: 1px solid var(--rule); }
/* the printed guide line, and the mark made with the pen */
.check__box::before, .check__box::after { content: ""; position: absolute; left: 50%; top: 14%; height: 72%; border-radius: 3px; transform: translateX(-50%) skewX(var(--lean)); }
.check__box::before { width: 1px; background: rgb(var(--ink) / 0.3); }
.check__box::after { top: 2%; height: 96%; width: 4px; background: rgb(var(--gym)); opacity: 0; transform: translateX(-50%) skewX(-13deg) scaleY(0.3); transform-origin: top; transition: opacity 0.1s ease, transform 0.16s cubic-bezier(0.3, 0.7, 0.4, 1); }
.check input:checked + .check__box::after { opacity: 1; transform: translateX(-50%) skewX(-13deg) scaleY(1); }
.check input:focus-visible + .check__box { outline: 2px solid rgb(var(--ink)); outline-offset: 3px; }
.check__text { padding-top: 0.2rem; color: rgb(var(--ink)); font-weight: 500; line-height: 1.4; }
.check__text small { display: block; margin-top: 0.2rem; font-size: var(--t-small); font-weight: 400; color: var(--quiet); }
.form__end { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s4); }
.form__status { min-height: 1.5rem; color: rgb(var(--ink)); font-weight: 500; }
.done { padding: var(--s4) 0 0; border-top: 1px solid var(--rule); }
.done p { margin-top: var(--s3); max-width: 30rem; }
.dev { margin-top: var(--s3); padding: var(--s2) var(--s3); border: 1px dashed var(--rule); font-size: var(--t-small); color: var(--quiet); }

/* ─── Questions ──────────────────────────────────────────────────────────── */
.faq { border-top: 1px solid var(--hair); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding: var(--s3) 0; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 3px; height: 1.3rem; background: rgb(var(--ink) / 0.5); border-radius: 2px; transform: skewX(var(--lean)); transition: background-color 0.15s ease, transform 0.2s ease; }
.faq details[open] summary::after { background: rgb(var(--gym)); transform: skewX(var(--lean)) scaleY(1.25); }
.faq summary:hover::after { background: rgb(var(--ink)); }
.faq details > div { padding: 0 var(--s5) var(--s4) 0; max-width: 40rem; }

/* ─── Licence ────────────────────────────────────────────────────────────── */
.terms { border-top: 1px solid var(--hair); counter-reset: term; }
.terms > li { display: grid; gap: var(--s1) var(--s4); padding: var(--s3) 0; border-bottom: 1px solid var(--hair); counter-increment: term; }
.terms > li::before { content: counter(term, decimal-leading-zero); font: 600 var(--t-small)/1.6 "Rubik", sans-serif; letter-spacing: 0.2em; color: var(--quiet); }
.terms p { max-width: 34rem; }
@media (min-width: 48rem) { .terms > li { grid-template-columns: 2.781rem 1fr 1.618fr; align-items: baseline; } }
.sub { margin-top: clamp(var(--s5), 5vw, var(--s6)) !important; }
.sub + * { margin-top: var(--s3) !important; }

/* the certificate that is issued to a gym */
.cert { container-type: inline-size; position: relative; width: 100%; max-width: 46rem; background: rgb(var(--paper)); color: rgb(var(--ink)); border: 1px solid var(--rule); overflow: hidden; }
.cert__in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.618fr 1fr; gap: 5cqw; align-items: center; padding: 6cqw; }
.cert__kick { font: 600 1.7cqw/1 "Rubik", sans-serif; letter-spacing: 0.3em; color: rgb(var(--ink) / 0.74); }
.cert__title { margin-top: 2.6cqw; font: italic 900 7.6cqw/0.9 "Rubik", sans-serif; letter-spacing: -0.01em; }
.cert dl { display: grid; grid-template-columns: auto 1fr; gap: 1.5cqw 3cqw; margin-top: 4.6cqw; padding-top: 3cqw; border-top: 0.14cqw solid rgb(var(--ink) / 0.5); }
.cert dt { font: 600 1.45cqw/1.5 "Rubik", sans-serif; letter-spacing: 0.22em; color: rgb(var(--ink) / 0.7); }
.cert dd { font: italic 800 2.5cqw/1.1 "Rubik", sans-serif; letter-spacing: 0.02em; text-transform: uppercase; }
.cert .badge { max-width: none; }
.cert__stamp { position: absolute; right: 3cqw; top: 5cqw; z-index: 3; font-size: 3.4cqw; transform: rotate(8deg); transform-origin: right center; }

/* ─── Footer: everything in the middle ───────────────────────────────────── */
.foot { padding-block: var(--s7) var(--s5); text-align: center; }
.foot__top { display: grid; justify-items: center; gap: var(--s5); }
.foot__top .hash { font-size: clamp(2.19rem, 8.6vw, 7.281rem); transform-origin: center; }
.foot__line { font: italic 800 var(--t-h3)/1.2 "Rubik", sans-serif; letter-spacing: 0.02em; text-transform: uppercase; color: rgb(var(--ink)); }
.foot__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2) var(--s4); margin-top: var(--s6); }
.foot__nav a { font: 600 0.75rem/1.4 "Rubik", sans-serif; letter-spacing: 0.2em; text-transform: uppercase; color: var(--quiet); }
.foot__nav a:hover { color: rgb(var(--ink)); }
.foot__legal { margin: var(--s4) auto 0; font-size: var(--t-small); color: rgb(var(--ink) / 0.6); max-width: 44rem; }

/* a short message after sharing or copying */
.toast { position: fixed; left: 50%; bottom: var(--s4); z-index: 90; padding: var(--s2) var(--s3); background: rgb(var(--ink)); color: rgb(var(--paper)); font: 600 var(--t-small)/1.3 "Rubik", sans-serif; letter-spacing: 0.08em; transform: translate(-50%, 200%) skewX(var(--lean)); transition: transform 0.25s ease; pointer-events: none; }
.toast.is-on { transform: translate(-50%, 0) skewX(var(--lean)); }

/* ─── Small pages (a gym's address, not found) ───────────────────────────── */
.solo { min-height: calc(100svh - 12rem); display: grid; align-content: center; padding-block: var(--s5); }
.solo .display { margin-top: var(--s4); }
.solo .lead { margin-top: var(--s4); }
.solo .btns { margin-top: var(--s5); }

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

/* ─── Find your gym: suggestions under the name field ────────────────────── */
.field { position: relative; }
.suggest { position: absolute; left: 0; right: 0; top: 100%; z-index: 20; max-height: 19rem; overflow: auto; background: rgb(var(--paper)); border: 1px solid var(--rule); }
.suggest li { display: grid; grid-template-columns: 2rem 1fr; gap: 0.1rem 0.7rem; align-items: center; padding: 0.6rem 0.7rem; cursor: pointer; }
.suggest li:hover, .suggest li[aria-selected="true"] { background: rgb(var(--ink) / 0.1); }
.suggest img, .suggest .nologo { grid-row: span 2; width: 2rem; height: 2rem; object-fit: contain; border-radius: 4px; background: rgb(var(--ink) / 0.08); }
.suggest b { font-weight: 600; color: rgb(var(--ink)); line-height: 1.25; }
.suggest small { font-size: var(--t-small); color: var(--quiet); line-height: 1.3; }
.sheet__logo img { display: block; width: auto; height: 100%; max-width: 100%; object-fit: contain; }
.sheet__logo.has-logo { grid-template-rows: minmax(0, 1fr); width: auto; max-width: calc(3 * var(--logo-box)); border: 0; background: #fff; border-radius: 0.6cqw; padding: 0.5cqw; }

/* ─── What the wall needs: shown when a gym applies ──────────────────────── */
.apply { display: grid; gap: var(--s4); margin: 0; padding: var(--s4) 0 0; border: 0; border-top: 1px solid var(--hair); min-width: 0; }
.apply legend { padding: 0 var(--s3) 0 0; }
@media (min-width: 36rem) { .apply { grid-template-columns: 1fr 1fr; } }

/* ─── The badge as what it is: a sticker on its backing paper, one corner lifted ── */
.sticker { position: relative; width: 78%; margin-inline: auto; aspect-ratio: 1; padding: 9%; background: #e7e6e2; box-shadow: 0 1.2rem 2.4rem rgb(0 0 0 / 0.6); }
.sticker::after { content: ""; position: absolute; right: 0; bottom: 0; width: 20%; aspect-ratio: 1;
  background: linear-gradient(315deg, rgb(var(--paper)) 0 49.5%, #b9b8b3 50%, #f7f7f4 62%, #dcdbd6 100%); box-shadow: -0.3rem -0.3rem 0.6rem rgb(0 0 0 / 0.18); }
.sticker [data-badge] { filter: drop-shadow(0 0.15rem 0.2rem rgb(0 0 0 / 0.35)); }
.sticker__tag { position: absolute; left: 6%; top: 6%; font-size: var(--t-small); transform: rotate(-6deg); }
.sign__pic > .sticker { width: 54%; }

/* ─── More picture, less black ───────────────────────────────────────────────
   A picture with a bow: it lies under the text and fades along a curve, from the far top corner down towards
   what follows below, so the eye is led from the picture through the text to the next thing. */
.shot--bow { width: 74%; }
.shot--hero { width: 72%; }
.shot--left.shot--bow img {
  -webkit-mask-image: radial-gradient(ellipse 96% 104% at 16% 20%, #000 40%, transparent 80%);
          mask-image: radial-gradient(ellipse 96% 104% at 16% 20%, #000 40%, transparent 80%);
}
.shot--right.shot--bow img {
  -webkit-mask-image: radial-gradient(ellipse 96% 104% at 84% 20%, #000 40%, transparent 80%);
          mask-image: radial-gradient(ellipse 96% 104% at 84% 20%, #000 40%, transparent 80%);
}
.shot--hero img {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 46%), linear-gradient(to bottom, #000 70%, transparent);
          mask-image: linear-gradient(to right, transparent 0, #000 46%), linear-gradient(to bottom, #000 70%, transparent);
}
@media (max-width: 56rem) {
  .shot--bow, .shot--hero { width: 100%; }
  .shot--left.shot--bow img, .shot--right.shot--bow img, .shot--hero img { -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent); mask-image: linear-gradient(to bottom, #000 45%, transparent); }
}

/* a band of pictures between two sections, from edge to edge */
.band { display: grid; grid-template-columns: 1.618fr 1fr 0.618fr 1fr; gap: var(--s2); padding-block: var(--s5); overflow: hidden; }
.band img { width: 100%; height: clamp(12rem, 30vw, 27.5rem); object-fit: cover; filter: saturate(0.96) contrast(1.03); }
@media (max-width: 46rem) { .band { grid-template-columns: 1fr 1fr; } .band img { height: 44vw; } }

/* ─── The kit, spread out: the wall, a post, the badge and the pen, overlapping in a slight bow ── */
.kit { position: relative; width: 100%; aspect-ratio: 2 / 1; margin-block: var(--s5) !important; container-type: inline-size; }
.kit > * { position: absolute; box-shadow: 0 1.2cqw 3cqw rgb(0 0 0 / 0.7); }
.kit__wall { left: 2%; top: 8%; width: 40%; transform: rotate(-6deg); }
.kit__post { left: 39%; top: 3%; width: 23%; transform: rotate(-1deg); z-index: 1; container-type: inline-size; }
.kit__badge { left: 61%; top: 10%; width: 27%; transform: rotate(9deg); z-index: 2; box-shadow: none; filter: drop-shadow(0 1.2cqw 2cqw rgb(0 0 0 / 0.7)); }
.kit__pen { left: 27%; top: 78%; width: 46%; height: auto; z-index: 3; transform: rotate(-6deg); box-shadow: none; filter: drop-shadow(0 1cqw 1.6cqw rgb(0 0 0 / 0.7)); }
.sheet--full { border-bottom: 1px solid var(--rule); }
.sheet--full::after { content: none; }
.sheet--full .sheet__in { padding-bottom: 4cqw; }
.sheet--full .sheet__day:last-of-type { border-bottom: 0.1cqw solid rgb(var(--ink) / 0.14); }
.sheet__foot { display: flex; align-items: center; justify-content: space-between; gap: 3cqw; margin-top: 3.4cqw; }
.sheet__sign { display: flex; align-items: center; gap: 2.2cqw; }
.sheet__sign img { width: 6.6cqw; height: 6.6cqw; border-radius: 22.37%; }
.sheet__word { font: italic 800 2.6cqw/1 "Rubik", sans-serif; letter-spacing: 0.14em; }
.sheet__sign .hash { display: block; width: max-content; margin-top: 1.5cqw; font-size: 1.6cqw; }
.sheet__qr { flex: none; display: grid; place-items: center; width: 11cqw; height: 11cqw; border: 0.14cqw dashed rgb(var(--ink) / 0.55); font: italic 800 2.9cqw/1 "Rubik", sans-serif; color: rgb(var(--ink) / 0.7); }
/* a post as the generator makes it */
.post { aspect-ratio: 4 / 5; display: grid; align-content: center; justify-items: center; gap: 5cqw; padding: 9cqw; text-align: center;
  background: radial-gradient(circle at 50% 30%, #1c1c1f, #0a0a0b 70%); color: rgb(var(--ink)); border: 1px solid var(--hair); }
.post__logo { --logo-box: 26cqw; border-radius: 6cqw !important; font-size: 4cqw !important; box-shadow: 0 0 6cqw rgb(var(--ink) / 0.25); }
.post__logo.has-logo { padding: 2.4cqw; }
.post__k { font: 600 3.4cqw/1 "Rubik", sans-serif; letter-spacing: 0.3em; text-transform: uppercase; }
.post__h { font: italic 900 9.6cqw/0.95 "Rubik", sans-serif; text-transform: uppercase; }
.post__f { display: flex; align-items: center; gap: 2cqw; font: 600 3cqw/1 "Rubik", sans-serif; letter-spacing: 0.24em; color: rgb(var(--ink) / 0.8); }
.post__f img { width: 6cqw; height: 6cqw; border-radius: 22.37%; }
@media (max-width: 46rem) { .kit { aspect-ratio: 1 / 1; } .kit__wall { width: 62%; top: 8%; } .kit__post { left: 52%; width: 36%; top: 30%; } .kit__badge { left: 8%; top: 58%; width: 36%; } .kit__pen { left: 44%; top: 88%; width: 50%; } }

/* the watermark and the rows of a sheet measure themselves against the sheet, not against the page */
.sheet .wm, .cert .wm { font-size: 3.1cqw; }
.sheet__day > div { line-height: 1; }

/* ─── The application: fields, locations, logo ───────────────────────────── */
.field select {
  display: block; width: 100%; margin-top: var(--s1); padding: 0.55rem 0 0.6rem;
  background: rgb(var(--paper)); border: 0; border-bottom: 1px solid var(--rule); border-radius: 0;
  font: 500 1.15rem/1.3 "Rubik", sans-serif; color: rgb(var(--ink));
  transition: border-color 0.15s ease;
}
.field select:hover { border-bottom-color: rgb(var(--ink) / 0.8); }
.field select:focus { outline: none; border-bottom-color: rgb(var(--ink)); box-shadow: 0 1px 0 rgb(var(--ink)); }
.field input:disabled { opacity: 0.5; }
.field [aria-invalid="true"] { border-bottom-style: dashed; border-bottom-color: rgb(var(--ink)); }
.field input[type="file"] { padding: var(--s2) 0; border-bottom: 0; font-size: 0.95rem; cursor: pointer; }
.field input[type="file"]::file-selector-button {
  margin-right: var(--s3); padding: 0.55em 1.1em; border: 1px solid var(--rule); border-radius: 0; background: none;
  font: italic 800 0.8rem/1 "Rubik", sans-serif; letter-spacing: 0.05em; text-transform: uppercase; color: rgb(var(--ink)); cursor: pointer;
}
.field input[type="file"]::file-selector-button:hover { border-color: rgb(var(--ink)); }
.hint { margin-top: var(--s1); font-size: var(--t-small); line-height: 1.5; color: var(--quiet); }
.hint:empty { display: none; }
.err { display: flex; align-items: baseline; gap: 0.5em; margin-top: var(--s1); font-size: var(--t-small); font-weight: 600; line-height: 1.5; color: rgb(var(--ink)); }
.err::before { content: ""; flex: none; width: 3px; height: 0.9em; background: rgb(var(--ink)); transform: skewX(var(--lean)); }
.err:empty { display: none; }
button.link { padding: var(--s2) 0; border: 0; background: none; font: 600 var(--t-small)/1.3 "Rubik", sans-serif; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; }

.logo { display: grid; gap: var(--s3); }
.logo__row { display: flex; align-items: center; gap: var(--s3); }
.logo__thumb { flex: none; display: grid; grid-template-rows: minmax(0, 1fr); place-items: center; height: 4.5rem; max-width: 13.5rem; padding: 0.4rem; background: #fff; border-radius: 4px; }
.logo__thumb img { display: block; width: auto; height: 100%; max-width: 100%; object-fit: contain; }
.logo__status { color: rgb(var(--ink)); font-weight: 500; line-height: 1.4; }
.logo__up { display: grid; gap: var(--s3); }
.logo__remove, .logo__other { justify-self: start; }

.locs { display: grid; gap: var(--s5); }
.loc { display: grid; gap: var(--s4); margin: 0; padding: var(--s4) 0 0; border: 0; border-top: 1px solid var(--rule); min-width: 0; }
.loc legend { padding: 0 var(--s3) 0 0; }
.loc__remove { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 36rem) { .loc, .mount__in { grid-template-columns: 1fr 1fr; } }
.fmt { font: 600 var(--t-small)/1.5 "Rubik", sans-serif; letter-spacing: 0.06em; color: rgb(var(--ink)); }
.fmt:empty { display: none; }
.mount { border-block: 1px solid var(--hair); }
.mount summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding: var(--s3) 0; cursor: pointer; list-style: none; }
.mount summary::-webkit-details-marker { display: none; }
.mount summary::after { content: ""; flex: none; width: 3px; height: 1.1rem; background: rgb(var(--ink) / 0.5); border-radius: 2px; transform: skewX(var(--lean)); transition: background-color 0.15s ease, transform 0.2s ease; }
.mount[open] summary::after { background: rgb(var(--gym)); transform: skewX(var(--lean)) scaleY(1.25); }
.mount__in { display: grid; gap: var(--s4); padding-block: var(--s2) var(--s4); }
.add { display: grid; justify-items: start; gap: var(--s2); }
.sheet__logo.is-gone { display: none; }

.colour__row { display: flex; align-items: flex-end; gap: var(--s3); }
.colour__sw { flex: none; width: 2.2rem; height: 2.2rem; margin-bottom: 0.3rem; border: 1px solid var(--rule); border-radius: 4px; background: rgb(var(--gym)); }
.colour__row input[type="text"] { flex: 1; width: auto; min-width: 0; }
.field input.colour__pick { flex: none; width: 2.6rem; height: 2.2rem; margin: 0 0 0.3rem; padding: 0; border: 0; background: none; cursor: pointer; }
.colour .hint { margin-top: var(--s1); }
.mount__in .kicker { padding-top: var(--s2); }
