/*
Theme Name: SPACE CODE
Theme URI: https://spacecode.franciscans.dev
Author: Virtual Franciscans OÜ
Author URI: https://franciscans.dev
Description: An editorial WordPress theme for complete issues of the SPACE CODE popular-science magazine.
Version: 1.0.0
Text Domain: space-code
*/

@font-face {
  font-family: "Inter SC";
  src: url("assets/fonts/inter-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-024F, U+1E00-1EFF, U+2000-206F, U+20AC;
}

@font-face {
  font-family: "Inter SC";
  src: url("assets/fonts/inter-cyrillic-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0400-052F, U+2DE0-2DFF, U+A640-A69F, U+2116;
}

@font-face {
  font-family: "Oxanium SC";
  src: url("assets/fonts/oxanium-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --navy: #020d25;
  --navy-deep: #010818;
  --navy-soft: #071831;
  --surface: #091a35;
  --white: #f7f8fb;
  --muted: #a8bad3;
  --faint: #6f86a9;
  --orange: #f35a05;
  --orange-dark: #c94200;
  --blue: #5d94eb;
  --blue-soft: #82b5ff;
  --line: #28446d;
  --line-bright: #4f7dbe;
  --display: "Oxanium SC", "Arial Black", sans-serif;
  --body: "Inter SC", Inter, ui-sans-serif, system-ui, sans-serif;
  --header-height: 80px;
  --container: 1440px;
  --gutter: clamp(22px, 4vw, 64px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  background-color: var(--navy);
  color: var(--white);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(78, 118, 177, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78, 118, 177, .12) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .74) 72%, transparent 100%);
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.space-code-lang-ru .hero-copy h1,
.space-code-lang-ru .section-title,
.space-code-lang-ru .issue-row-content h3,
.space-code-lang-ru .single-issue-copy h1,
.space-code-lang-ru .about-manifesto blockquote,
.space-code-lang-ru .contact-heading h3,
.space-code-lang-ru .reader-heading h2,
.space-code-lang-ru .not-found h1 {
  font-family: var(--body);
  font-weight: 800;
  letter-spacing: -.025em;
}

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

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  padding: 12px 18px;
  color: var(--navy);
  background: var(--white);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-main {
  min-height: 70vh;
  overflow: clip;
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  border-bottom: 3px solid var(--orange);
  background: rgba(2, 13, 37, .96);
  transition: height .2s ease, background-color .2s ease;
}

.is-scrolled .site-header {
  background: rgba(1, 8, 24, .98);
}

.site-header::after {
  position: absolute;
  right: 5%;
  bottom: -11px;
  width: 130px;
  height: 9px;
  content: "";
  background: var(--orange);
  clip-path: polygon(0 0, 100% 0, 88% 100%, 12% 100%);
}

.site-header-inner {
  display: flex;
  align-items: center;
	justify-content: flex-start;
  width: min(100%, 1536px);
  height: 100%;
  margin-inline: auto;
  padding-inline: clamp(22px, 3vw, 42px);
}

.site-brand,
.footer-brand {
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(24px, 2.1vw, 36px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: .025em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav,
.site-nav-list,
.menu {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}

.site-nav {
  margin-left: auto;
}

.site-header-tools {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: clamp(24px, 3vw, 48px);
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
}

.language-switcher a {
  display: grid;
  min-width: 34px;
  min-height: 34px;
  padding: 5px;
  place-items: center;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .08em;
  line-height: 1;
  text-decoration: none;
}

.language-switcher a:hover,
.language-switcher a:focus-visible {
  color: var(--white);
  border-color: var(--line-bright);
}

.language-switcher a[aria-current="true"] {
  color: var(--white);
  border-color: var(--orange);
  background: rgba(243, 90, 5, .12);
}

.site-nav-list,
.menu {
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-nav a {
  position: relative;
  padding: 12px 0;
  font-size: 17px;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav .current-menu-item > a::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
}

.hero-section {
  position: relative;
  min-height: min(1024px, 100svh);
  padding-top: calc(var(--header-height) + clamp(44px, 6vh, 82px));
  padding-bottom: 94px;
  border-bottom: 3px solid var(--orange);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  gap: clamp(52px, 7vw, 112px);
  align-items: center;
}

.hero-copy,
.hero-publication {
  min-width: 0;
}

.hero-copy h1,
.section-title,
.single-issue-copy h1,
.legal-page-header h1,
.content-shell h1,
.not-found h1 {
  margin: 0;
  color: var(--white);
  font-family: var(--display);
  font-weight: 800;
  line-height: .98;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 14.5ch;
  font-size: clamp(52px, 4.7vw, 74px);
}

.hero-rule {
  width: min(90%, 620px);
  height: 12px;
  margin: 30px 0 24px;
  background: var(--orange);
  clip-path: polygon(0 0, 86% 0, 89% 72%, 100% 72%, 100% 100%, 0 100%);
}

.hero-copy > p:not(.hero-meta) {
  max-width: 610px;
  margin: 0;
  color: var(--white);
  font-size: clamp(18px, 1.55vw, 24px);
  line-height: 1.5;
}

.hero-actions,
.issue-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 13px 28px;
  border: 2px solid transparent;
  border-radius: 0;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  border-color: var(--orange);
  color: var(--white);
  background: var(--orange);
}

.button-primary:hover {
  border-color: var(--white);
  background: var(--orange-dark);
}

.button-outline {
  border-color: var(--orange);
  color: var(--white);
  background: transparent;
}

.button-outline:hover {
  color: var(--navy-deep);
  background: var(--white);
}

.hero-meta,
.issue-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  color: var(--blue-soft);
}

.hero-meta {
  margin: 24px 0 0;
  font-size: 17px;
}

.hero-meta > span[aria-hidden="true"],
.issue-meta > span[aria-hidden="true"] {
  color: var(--orange);
}

.tech-frame {
  position: relative;
  border: 1px solid var(--line-bright);
  background: rgba(5, 20, 45, .52);
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
}

.tech-frame::before,
.tech-frame::after {
  position: absolute;
  z-index: 2;
  content: "";
  pointer-events: none;
  background: var(--orange);
}

.tech-frame::before {
  top: -1px;
  right: 6%;
  width: 30%;
  height: 2px;
}

.tech-frame::after {
  right: -1px;
  bottom: 8%;
  width: 2px;
  height: 25%;
}

.hero-publication {
  justify-self: center;
  width: min(100%, 520px, calc((100svh - var(--header-height) - 118px) * .7067));
  padding: 14px;
  transition: transform .25s ease, border-color .25s ease;
}

.hero-publication a {
  display: block;
}

.hero-publication:hover {
  border-color: var(--blue-soft);
  transform: translateY(-8px);
}

.hero-publication img {
  width: 100%;
  height: auto;
  aspect-ratio: 800 / 1132;
  object-fit: contain;
}

.section-down {
  position: absolute;
  right: 50%;
  bottom: -2px;
  display: grid;
  width: 84px;
  height: 31px;
  place-items: center;
  color: var(--white);
  background: var(--orange);
  clip-path: polygon(0 0, 100% 0, 82% 100%, 18% 100%);
  transform: translateX(50%);
}

.section-down svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.issues-section,
.archive-section {
  padding: clamp(76px, 9vw, 130px) 0;
}

.section-heading {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line-bright);
}

.section-title {
  font-size: clamp(48px, 6vw, 78px);
}

.section-heading > p {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.issue-list {
  display: grid;
  gap: 26px;
  margin-top: 28px;
}

.issue-row {
  display: grid;
  grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
  min-height: 520px;
  padding: clamp(26px, 3.5vw, 52px);
}

.issue-cover-link {
  display: block;
  width: min(100%, 340px);
  justify-self: center;
  transition: transform .22s ease;
}

.issue-cover-link:hover {
  transform: translateY(-6px);
}

.issue-cover {
  width: 100%;
  height: auto;
  border: 1px solid rgba(130, 181, 255, .55);
  box-shadow: 12px 12px 0 rgba(22, 74, 142, .2);
}

.issue-row-content h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(38px, 4vw, 64px);
  font-weight: 750;
  line-height: 1;
  letter-spacing: .02em;
}

.issue-row-content h3 a {
  text-decoration: none;
}

.issue-row-content h3 a:hover {
  color: var(--blue-soft);
}

.issue-meta {
  margin: 20px 0 0;
  font-size: 17px;
}

.issue-summary {
  max-width: 650px;
  margin: 26px 0 0;
  color: var(--white);
  font-size: 20px;
  line-height: 1.55;
}

[hidden] {
  display: none !important;
}

.about-section {
  padding: clamp(76px, 9vw, 126px) 0 52px;
  border-top: 3px solid var(--orange);
  background-color: rgba(1, 8, 24, .48);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 9vw, 132px);
  margin-top: 44px;
}

.about-copy,
.about-manifesto {
  font-size: clamp(17px, 1.45vw, 21px);
}

.about-copy p,
.about-manifesto p {
  margin: 0 0 26px;
}

.about-manifesto {
  padding-top: 5px;
  border-top: 5px solid var(--orange);
}

.about-manifesto blockquote {
  margin: 22px 0 38px;
  color: var(--blue);
  font-family: var(--display);
  font-size: clamp(30px, 3vw, 48px);
  font-weight: 750;
  line-height: 1.18;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.contact-rail {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(280px, 1.2fr) minmax(260px, 1fr);
  gap: 28px;
  align-items: center;
  margin-top: 44px;
  padding: 26px 0;
  border-top: 1px solid var(--line-bright);
  border-bottom: 1px solid var(--line-bright);
}

.contact-heading {
  display: flex;
  gap: 18px;
  align-items: center;
}

.contact-heading svg {
  width: 45px;
  padding: 8px;
  border: 1px solid var(--orange);
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.5;
}

.contact-heading h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 34px;
  text-transform: uppercase;
}

.contact-rail p {
  margin: 0;
  color: var(--muted);
}

.contact-rail > a {
  color: var(--orange);
  font-size: 18px;
  text-decoration: none;
  word-break: break-word;
}

.contact-rail > a:hover {
  color: var(--white);
}

.site-footer {
  padding: 28px;
  border-top: 1px solid var(--line-bright);
  background: var(--navy-deep);
}

.site-footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 2.2fr);
  gap: 70px;
  align-items: center;
  max-width: 1478px;
  margin-inline: auto;
  padding: 34px 40px;
  border: 1px solid var(--line-bright);
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}

.footer-brand {
  font-size: clamp(30px, 3vw, 44px);
}

.footer-signal {
  display: flex;
  gap: 8px;
  width: 210px;
  margin-top: 16px;
}

.footer-signal span {
  flex: 1;
  height: 12px;
  background: var(--blue);
  transform: skewX(-35deg);
}

.footer-content {
  min-width: 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
}

.footer-nav a {
  color: var(--blue-soft);
  text-decoration: none;
}

.footer-nav a::after {
  margin-left: 32px;
  color: var(--orange);
  content: "•";
}

.footer-nav a:last-child::after {
  display: none;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-company,
.footer-disclaimer,
.footer-copy {
  color: var(--blue-soft);
  font-size: 14px;
}

.footer-company {
  margin: 20px 0 0;
}

.footer-company span {
  padding-inline: 8px;
  color: var(--orange);
}

.footer-disclaimer {
  margin: 14px 0 0;
  max-width: 52rem;
  line-height: 1.45;
}

.footer-copy {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.footer-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.footer-meta .footer-copy {
  margin: 0;
  padding: 0;
  border: 0;
}

.page-top {
  padding-top: calc(var(--header-height) + 64px);
}

.about-page .about-section {
  border-top: 0;
}

.single-issue,
.legal-page,
.content-page,
.not-found {
  padding-bottom: clamp(80px, 10vw, 150px);
}

.back-link {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--blue-soft);
  text-decoration: none;
}

.single-issue-grid {
  display: grid;
  grid-template-columns: minmax(280px, 440px) minmax(0, 1fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
}

.single-cover {
  width: min(100%, 440px);
  padding: 12px;
  justify-self: center;
}

.single-cover img {
  width: 100%;
  height: auto;
  aspect-ratio: 800 / 1132;
  object-fit: contain;
}

.single-issue-copy h1,
.legal-page-header h1,
.content-shell h1,
.not-found h1 {
  font-size: clamp(48px, 6vw, 86px);
}

.single-summary,
.entry-content {
  max-width: 70ch;
  margin-top: 30px;
  color: var(--muted);
  font-size: 18px;
}

.legal-shell,
.content-shell {
  max-width: 1120px;
}

.legal-page-header {
  padding-bottom: 46px;
  border-bottom: 3px solid var(--orange);
}

.legal-page-header p {
  max-width: 720px;
  margin: 26px 0 20px;
  color: var(--muted);
  font-size: 19px;
}

.legal-page-header span,
.utility-label {
  color: var(--blue-soft);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.legal-content {
  counter-reset: legal;
}

.legal-section {
  display: grid;
  grid-template-columns: minmax(180px, .7fr) minmax(0, 2fr);
  gap: 42px;
  padding: 42px 0;
  border-bottom: 1px solid var(--line);
}

.legal-section h2 {
  margin: 0;
  color: var(--white);
  font-family: var(--display);
  font-size: 21px;
  line-height: 1.25;
  text-transform: uppercase;
}

.legal-section > :not(h2) {
  grid-column: 2;
}

.legal-section p,
.legal-section ul,
.legal-section dl {
  margin-top: 0;
  color: var(--muted);
}

.legal-section a,
.entry-content a {
  color: var(--blue-soft);
}

.legal-section ul {
  padding-left: 22px;
}

.legal-section li + li {
  margin-top: 10px;
}

.legal-facts {
  display: grid;
  grid-template-columns: minmax(150px, .75fr) minmax(0, 1.5fr);
  gap: 12px 24px;
}

.legal-facts dt {
  color: var(--faint);
}

.legal-facts dd {
  margin: 0;
  color: var(--white);
}

.empty-state {
  padding: clamp(38px, 7vw, 100px);
}

.empty-state h1,
.empty-state h2 {
  margin: 10px 0 20px;
  font-family: var(--display);
  text-transform: uppercase;
}

.empty-state p:not(.utility-label) {
  max-width: 620px;
  color: var(--muted);
}

.not-found .empty-state {
  margin-top: 30px;
}

.navigation.pagination {
  margin-top: 48px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-numbers {
  display: grid;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 14px;
  place-items: center;
  border: 1px solid var(--line-bright);
  text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover {
  color: var(--navy);
  background: var(--white);
}

.content-row {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.content-row h2 {
  margin: 0;
  font-family: var(--display);
}

@media (max-width: 1080px) {
  .hero-section {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr .78fr;
    gap: 48px;
  }

  .hero-copy h1 {
    font-size: clamp(46px, 6.4vw, 68px);
  }

  .issue-row {
    grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
  }

  .contact-rail {
    grid-template-columns: 1fr 1.2fr;
  }

  .contact-rail > a {
    grid-column: 2;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 68px;
  }

  body::before {
    background-size: 62px 62px;
  }

  .site-brand {
    font-size: 26px;
  }

  .site-header-tools {
    gap: 12px;
    margin-left: auto;
  }

  .menu-toggle {
    display: grid;
    width: 46px;
    height: 42px;
    padding: 9px;
    border: 1px solid var(--line-bright);
    border-radius: 0;
    place-content: center;
    gap: 5px;
    color: var(--white);
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span:not(.screen-reader-text) {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 24px;
    padding: 50px var(--gutter);
    background: var(--navy-deep);
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: opacity .2s ease, transform .25s ease, visibility .2s;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  .site-nav-list,
  .menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--display);
    font-size: 28px;
    text-transform: uppercase;
  }

  .hero-grid,
  .single-issue-grid,
  .about-grid,
  .site-footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 58px;
  }

  .hero-copy h1 {
    max-width: 13ch;
    font-size: clamp(42px, 10vw, 68px);
  }

  .hero-publication {
    width: min(100%, 480px, calc((100svh - var(--header-height) - 96px) * .7067));
  }

  .issue-row {
    grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
    gap: 34px;
  }

  .about-grid {
    gap: 24px;
  }

  .about-manifesto {
    margin-top: 18px;
  }

  .site-footer-inner {
    gap: 38px;
  }

  .legal-section {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .legal-section > :not(h2) {
    grid-column: 1;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .site-header::after {
    right: 20px;
    width: 92px;
  }

  .site-brand {
    font-size: 22px;
  }

  .site-header-inner {
    padding-inline: 16px;
  }

  .site-header-tools {
    gap: 8px;
  }

  .language-switcher {
    gap: 1px;
  }

  .language-switcher a {
    min-width: 27px;
    min-height: 30px;
    padding: 3px;
    font-size: 9px;
  }

  .hero-section {
    padding-top: calc(var(--header-height) + 42px);
    padding-bottom: 72px;
  }

  .hero-copy h1 {
    font-size: clamp(37px, 11.8vw, 52px);
    line-height: 1.02;
  }

  .space-code-lang-ru .hero-copy h1 {
    max-width: none;
    font-size: clamp(32px, 9.2vw, 42px);
    overflow-wrap: anywhere;
  }

  .hero-copy > p:not(.hero-meta) {
    font-size: 17px;
  }

  .hero-actions,
  .issue-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .section-title {
    font-size: clamp(42px, 14vw, 62px);
  }

  .issue-row,
  .contact-rail {
    grid-template-columns: 1fr;
  }

  .issue-row {
    padding: 26px 22px 34px;
  }

  .issue-cover-link {
    width: min(100%, 270px);
  }

  .issue-row-content h3 {
    font-size: 38px;
  }

  .issue-summary {
    font-size: 17px;
  }

  .contact-rail > a {
    grid-column: 1;
  }

  .contact-heading h3 {
    font-size: 30px;
  }

  .site-footer {
    padding: 16px;
  }

  .site-footer-inner {
    padding: 28px 22px;
  }

  .footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .footer-nav a::after {
    display: none;
  }

  .footer-company span {
    display: block;
    height: 7px;
    padding: 0;
    color: transparent;
  }

  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .single-issue-copy h1,
  .legal-page-header h1,
  .content-shell h1,
  .not-found h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .legal-facts {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .legal-facts dd + dt {
    margin-top: 14px;
  }

}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }
}
