:root {
  --paper: #ffffff;
  --paper-deep: #f4f4f4;
  --ink: #111111;
  --ink-soft: #4a4a4a;
  --rule: #e2e2e2;
  --rule-strong: #bdbdbd;
  --blood: #8b1e2d;
  --blood-hover: #6c1623;
  --cream: #faf6ee;
  --dark: #0e0d0c;
  --dark-2: #1a1816;
  --silver: #cfc6b8;
  --serif: "Cormorant Latin", "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", serif;
  --text: "Newsreader Latin", "Newsreader", "Iowan Old Style", "Georgia", serif;
  --ui: "Outfit Latin", "Outfit", "Segoe UI", sans-serif;
}

/* Scale Latin letters only. Do not touch italic or punctuation: those
   must keep falling through to Georgia, as on strategium42.ru. */
@font-face {
  font-family: "Newsreader Latin";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/newsreader/v26/cY9AfjOCX1hbuyalUrK4397yjA.woff2) format("woff2");
  unicode-range: U+0030-0039, U+0041-005A, U+0061-007A;
  size-adjust: 114%;
}

@font-face {
  font-family: "Outfit Latin";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/outfit/v15/QGYvz_MVcBeNP4NJtEtq.woff2) format("woff2");
  unicode-range: U+0030-0039, U+0041-005A, U+0061-007A;
  size-adjust: 108%;
}

@font-face {
  font-family: "Cormorant Latin";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/cormorantgaramond/v21/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYqXtK.woff2) format("woff2");
  unicode-range: U+0030-0039, U+0041-005A, U+0061-007A;
  size-adjust: 108%;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.55;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.wrap {
  width: min(42rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

.wrap-wide {
  width: min(58rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.site-header.is-stuck {
  border-bottom-color: var(--rule);
}

.header-inner {
  width: min(42rem, calc(100% - 2.5rem));
  margin: 0 auto;
  min-height: 4.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  width: min(13.5rem, 48vw);
  flex: 0 1 auto;
}

.logo img {
  width: 100%;
  height: auto;
  display: block;
}

.header-write {
  font-family: var(--ui);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.25;
  text-align: right;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.12rem;
  max-width: 9.8rem;
  flex: 0 0 auto;
}

.header-write:hover {
  color: var(--blood);
  border-bottom-color: var(--blood);
}

/* Hero */

.hero-photo {
  margin: 0;
}

.hero-photo img {
  width: 100%;
  max-height: 78vh;
  object-fit: cover;
  object-position: center 40%;
}

.hero-photo figcaption {
  width: min(58rem, calc(100% - 2.5rem));
  margin: 0.65rem auto 0;
  font-family: var(--ui);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hero-copy {
  padding: 1.8rem 0 0.6rem;
}

.kicker {
  font-family: var(--ui);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blood);
  margin: 0 0 0.85rem;
}

.hero-copy h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.6rem, 9vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.lede {
  font-size: clamp(1.15rem, 3.2vw, 1.4rem);
  line-height: 1.4;
  margin: 0;
  max-width: 36rem;
  color: var(--ink);
}

/* Rules & type */

.rule {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 2.4rem auto;
  width: min(42rem, calc(100% - 2.5rem));
}

.rule-double {
  border-top-width: 3px;
  border-top-style: double;
  border-top-color: var(--rule-strong);
}

.section {
  padding: 0.5rem 0 0.25rem;
}

#kuzbasshammer {
  padding-top: 2.75rem;
}

.section h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.85rem, 6vw, 2.6rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  letter-spacing: -0.015em;
}

.section p {
  margin: 0 0 1rem;
  color: var(--ink);
}

.drop::first-letter {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 3.15rem;
  float: left;
  line-height: 0.8;
  padding: 0.18rem 0.4rem 0 0;
}

.note {
  font-style: italic;
  color: var(--ink-soft);
}

/* Games */

.games {
  display: grid;
  gap: 1.75rem;
  margin-top: 1.5rem;
}

.game {
  margin: 0;
}

.game img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--dark);
}

.game h3 {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  margin: 0.85rem 0 0.35rem;
}

.game p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.game-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.game-pair img {
  aspect-ratio: 1 / 1;
}

/* Dark band */

.ink-band {
  background: var(--dark);
  color: var(--cream);
  margin: 2.75rem 0;
  padding: 2.75rem 0 3rem;
}

.ink-band h2,
.ink-band p,
.ink-band figcaption {
  color: var(--cream);
}

.ink-band p {
  color: #e6dfd3;
}

.ink-band .kicker {
  color: #d7a3ab;
}

.studio-mosaic {
  width: min(42rem, calc(100% - 2.5rem));
  margin: 1.5rem auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

.studio-mosaic img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  background: #000;
}

.studio-mosaic img:nth-child(7) {
  object-position: center 70%;
}

/* Club life */

.mosaic {
  display: grid;
  gap: 0.5rem;
  margin: 1.4rem 0;
}

.mosaic img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.mosaic img.mosaic-square {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center bottom;
  background: #111;
}

.caption {
  font-family: var(--ui);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0.4rem 0 0;
}

.bleed-photo {
  margin: 1.6rem auto 0;
}

.bleed-photo img {
  width: 100%;
}

.section-intro {
  margin: 0 0 0.5rem;
  max-width: 42rem;
}

.mosaic-block {
  margin: 0 auto 2rem;
}

.caption-wide {
  width: min(58rem, calc(100% - 2.5rem));
  margin-left: auto;
  margin-right: auto;
}

/* Who */

.who {
  background: var(--paper-deep);
  padding: 2.2rem 1.25rem;
  margin: 1.5rem 0;
}

.who p:last-child {
  margin-bottom: 0;
}

/* Contacts */

.contacts {
  padding-bottom: 6.5rem;
}

.address {
  font-style: normal;
  margin: 0 0 1.25rem;
}

.address a {
  color: var(--blood);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--blood) 40%, transparent);
}

.contact-list {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
}

.contact-list li {
  margin: 0 0 0.45rem;
}

.contact-list a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}

.contact-list a:hover {
  color: var(--blood);
  border-bottom-color: var(--blood);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: var(--blood);
  color: #faf6ee;
  text-decoration: none;
  font-family: var(--ui);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.95rem 1.25rem;
  min-height: 3rem;
  border: 0;
}

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

.btn svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
}

.footer {
  border-top: 1px solid var(--rule);
  padding: 1.4rem 0 6.2rem;
  font-family: var(--ui);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  padding: 0.7rem 1.25rem calc(0.7rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--rule);
}

.dock .btn {
  width: 100%;
}

@media (min-width: 720px) {
  body {
    font-size: 1.2rem;
  }

  .hero-copy {
    padding-top: 2.6rem;
  }

  .logo {
    width: min(15.5rem, 40vw);
  }

  .header-write {
    max-width: none;
    font-size: 0.82rem;
  }

  .games {
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem 1.25rem;
  }

  .game-span {
    grid-column: 1 / -1;
  }

  .game-span img,
  .game-span .game-pair img {
    aspect-ratio: 16 / 9;
  }

  .studio-mosaic {
    grid-template-columns: repeat(6, 1fr);
  }

  .studio-mosaic img:nth-child(1),
  .studio-mosaic img:nth-child(2) {
    grid-column: span 3;
    aspect-ratio: 4 / 3;
  }

  .studio-mosaic img:nth-child(3),
  .studio-mosaic img:nth-child(4),
  .studio-mosaic img:nth-child(5),
  .studio-mosaic img:nth-child(8),
  .studio-mosaic img:nth-child(9),
  .studio-mosaic img:nth-child(10) {
    grid-column: span 2;
    aspect-ratio: 1 / 1;
  }

  .studio-mosaic img:nth-child(6) {
    grid-column: span 4;
    aspect-ratio: 16 / 10;
    object-position: center 40%;
  }

  .studio-mosaic img:nth-child(7) {
    grid-column: span 2;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    object-position: center bottom;
  }

  .mosaic {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .mosaic img:first-child {
    grid-row: 1 / 3;
    aspect-ratio: auto;
    height: 100%;
    min-height: 22rem;
  }

  .who {
    padding: 2.4rem 2rem;
  }

  .dock {
    display: none;
  }

  .contacts,
  .footer {
    padding-bottom: 2.4rem;
  }
}

@media (min-width: 980px) {
  .hero-photo img {
    max-height: 86vh;
  }
}
