/*
 * Базовый слой темы: шрифты, токены, типографика, каркас и навигация.
 * Компоненты главной, внутренних страниц и WooCommerce находятся отдельно.
 */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0400-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-03FF, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2113, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0400-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-03FF, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2113, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-cyrillic-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0400-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-03FF, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2113, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --sb-night-950: #050d0e;
  --sb-night-900: #081719;
  --sb-night-850: #102729;
  --sb-sea-700: #1a3d40;
  --sb-pine-600: #315246;
  --sb-paper-100: #efe4cf;
  --sb-paper-50: #faf3e5;
  --sb-paper-300: #d5c6aa;
  --sb-ink-900: #211b16;
  --sb-ink-700: #574d42;
  --sb-mist: #adb9b5;
  --sb-amber-400: #c99a55;
  --sb-amber-300: #e0b66f;
  --sb-copper-600: #8f4f38;
  --sb-frost-400: #88aeb4;
  --sb-season-accent: var(--sb-amber-400);
  --sb-line-dark: rgb(238 228 208 / 15%);
  --sb-line-light: rgb(33 29 24 / 16%);
  --sb-header-height: 74px;
  --sb-container: 1240px;
  --sb-reading-width: 760px;
  --sb-radius-s: 12px;
  --sb-radius-m: 24px;
  --sb-radius-l: 40px;
  --sb-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --sb-font-display: "Cormorant Garamond", Georgia, serif;
  --sb-font-text: "Montserrat", Arial, sans-serif;
  --sb-admin-offset: 0px;

  color-scheme: dark;
}

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

html {
  min-width: 320px;
  background: var(--sb-night-950);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--sb-header-height) + var(--sb-admin-offset) + 24px);
  text-size-adjust: 100%;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  color: var(--sb-paper-100);
  background:
    radial-gradient(circle at 72% 12%, rgb(33 78 82 / 18%), transparent 34rem),
    var(--sb-night-900);
  font-family: var(--sb-font-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.admin-bar {
  --sb-admin-offset: 32px;
}

body.menu-is-open {
  overflow: hidden;
}

::selection {
  color: var(--sb-night-950);
  background: var(--sb-amber-300);
}

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

img {
  height: auto;
}

picture {
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

a {
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

p,
h1,
h2,
h3,
h4,
blockquote,
figure,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none;
}

.visually-hidden,
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 16px;
  margin: 0;
  clip-path: none;
  color: var(--sb-night-950);
  background: var(--sb-amber-300);
}

.container {
  width: min(var(--sb-container), calc(100% - 64px));
  margin-inline: auto;
}

.reading-column {
  width: min(var(--sb-reading-width), calc(100% - 64px));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(88px, 9vw, 144px);
}

.section-dark {
  color: var(--sb-paper-100);
  background: var(--sb-night-900);
}

.section-paper {
  color: var(--sb-ink-900);
  background: var(--sb-paper-100);
  color-scheme: light;
}

.skip-link {
  position: fixed;
  z-index: 1001;
  top: calc(var(--sb-admin-offset) + 12px);
  left: 12px;
  padding: 10px 16px;
  color: var(--sb-night-950);
  background: var(--sb-amber-300);
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

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

:focus-visible {
  outline: 3px solid var(--sb-amber-300);
  outline-offset: 4px;
}

.section-paper :focus-visible {
  outline-color: var(--sb-copper-600);
}

h1,
h2,
h3,
h4,
.brand__text,
.site-footer__brand strong,
.site-footer__law {
  font-family: var(--sb-font-display);
  font-weight: 550;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

h1 {
  max-width: 980px;
  font-size: clamp(3.25rem, 6vw, 5.5rem);
  line-height: 0.99;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(2.625rem, 4.5vw, 4.125rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(1.75rem, 2.4vw, 2.375rem);
  line-height: 1.14;
  letter-spacing: -0.016em;
}

h4 {
  font-size: 1.5rem;
  line-height: 1.2;
}

p + p {
  margin-top: 1.15em;
}

.eyebrow {
  margin-bottom: 20px;
  color: var(--sb-amber-400);
  font-size: 0.75rem;
  font-weight: 760;
  line-height: 1.45;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow--dark {
  color: var(--sb-copper-600);
}

.lead {
  max-width: 720px;
  margin-top: 26px;
  color: #c6cbc4;
  font-size: clamp(1.0625rem, 1.45vw, 1.25rem);
  line-height: 1.7;
}

.lead--dark {
  color: var(--sb-ink-700);
}

.section-heading {
  max-width: 820px;
  margin-bottom: clamp(42px, 5.5vw, 76px);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.sb-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid var(--sb-amber-400);
  border-radius: 999px;
  color: var(--sb-night-950);
  background: var(--sb-amber-400);
  font-size: 0.8125rem;
  font-weight: 760;
  line-height: 1.35;
  letter-spacing: 0.025em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms var(--sb-ease-out);
}

.sb-button:hover {
  color: var(--sb-night-950);
  background: var(--sb-amber-300);
  border-color: var(--sb-amber-300);
  transform: translateY(-2px);
}

.sb-button--outline {
  color: var(--sb-paper-100);
  background: rgb(5 14 16 / 28%);
  border-color: rgb(243 234 215 / 46%);
}

.sb-button--outline:hover {
  color: var(--sb-paper-100);
  background: rgb(243 234 215 / 11%);
  border-color: var(--sb-paper-100);
}

.sb-button--dark {
  color: var(--sb-paper-100);
  background: var(--sb-night-900);
  border-color: var(--sb-night-900);
}

.sb-button--dark:hover {
  color: var(--sb-night-950);
  background: var(--sb-amber-400);
  border-color: var(--sb-amber-400);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: inherit;
  font-size: 0.8125rem;
  font-weight: 760;
  letter-spacing: 0.035em;
  text-decoration: none;
}

.text-link::after {
  color: var(--sb-amber-400);
  content: "\2192";
  transition: transform 180ms var(--sb-ease-out);
}

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

.site-header {
  position: fixed;
  z-index: 100;
  top: var(--sb-admin-offset);
  right: 0;
  left: 0;
  height: var(--sb-header-height);
  border-bottom: 1px solid transparent;
  background: rgb(3 12 14 / 48%);
  /* Шапка растворяется в сцене. Небольшой blur даёт глубину без тяжёлого
   * перерасчёта большого слоя при прокрутке. */
  -webkit-backdrop-filter: blur(7px) saturate(112%);
  backdrop-filter: blur(7px) saturate(112%);
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled,
.menu-is-open .site-header {
  border-color: var(--sb-line-dark);
  background: rgb(3 12 14 / 80%);
  box-shadow: 0 8px 28px rgb(0 0 0 / 14%);
}

.home .site-header:not(.is-scrolled) {
  border-bottom-color: rgb(238 228 208 / 7%);
  background: linear-gradient(180deg, rgb(2 9 11 / 66%), rgb(2 9 11 / 20%));
  box-shadow: none;
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header {
    background: rgb(3 12 14 / 91%);
  }
}

/* Firefox дороже композитит backdrop-filter поверх больших фотографий.
 * Сохраняем эффект, но уменьшаем радиус и повышаем непрозрачность подложки. */
@supports (-moz-appearance: none) {
  .site-header {
    background: rgb(3 12 14 / 68%);
    backdrop-filter: blur(4px);
  }

  .home .site-header:not(.is-scrolled) {
    background: linear-gradient(180deg, rgb(2 9 11 / 76%), rgb(2 9 11 / 34%));
  }
}

.site-header__inner {
  display: flex;
  height: 100%;
  align-items: center;
  gap: clamp(18px, 2vw, 34px);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  color: var(--sb-paper-100);
  text-decoration: none;
}

.brand__custom-logo,
.brand__custom-logo img {
  display: block;
  width: auto;
  max-width: 250px;
  max-height: 52px;
}

.brand__mark {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border: 1px solid rgb(243 234 215 / 20%);
  border-radius: 50%;
  color: var(--sb-amber-400);
  background: rgb(243 234 215 / 4%);
}

.brand__mark svg {
  width: 38px;
  height: 38px;
}

.brand__mark-ring {
  fill: none;
  stroke: rgb(243 234 215 / 42%);
  stroke-width: 1.1;
}

.brand__mark-wave {
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.7;
  stroke-linecap: round;
}

.brand__mark-star {
  fill: currentcolor;
}

.brand__text {
  font-size: 1.3125rem;
  line-height: 1;
  white-space: nowrap;
}

.brand__text em {
  color: var(--sb-amber-400);
  font-style: normal;
}

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

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 32px);
  list-style: none;
}

.site-nav a {
  position: relative;
  display: block;
  padding-block: 12px;
  color: #d3d1c6;
  font-size: 0.8125rem;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: var(--sb-amber-400);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms var(--sb-ease-out);
}

.site-nav a:hover,
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a,
.site-nav a[aria-current="page"] {
  color: var(--sb-paper-100);
}

.site-nav a:hover::after,
.site-nav .current-menu-item > a::after,
.site-nav .current_page_item > a::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-header__controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-header__cart {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgb(243 234 215 / 22%);
  border-radius: 999px;
  color: #d3d1c6;
  font-size: 0.75rem;
  font-weight: 680;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.site-header__cart-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.site-header__cart-count {
  display: grid;
  min-width: 20px;
  height: 20px;
  padding-inline: 5px;
  place-items: center;
  border-radius: 999px;
  color: var(--sb-night-950);
  background: var(--sb-amber-300);
  font-size: 0.625rem;
  line-height: 1;
}

.site-header__cart:hover {
  color: var(--sb-paper-100);
  border-color: rgb(237 191 112 / 72%);
  background: rgb(237 191 112 / 7%);
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  padding: 0;
  place-items: center;
  border: 1px solid rgb(243 234 215 / 24%);
  border-radius: 50%;
  color: var(--sb-paper-100);
  background: rgb(255 255 255 / 2.5%);
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.icon-button:hover {
  border-color: rgb(237 191 112 / 74%);
  background: rgb(237 191 112 / 8%);
}

.motion-button__icon {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.4;
  stroke-linecap: round;
}

.motion-button[aria-pressed="true"] .motion-button__icon {
  color: var(--sb-amber-400);
  opacity: 0.75;
}

.menu-button {
  position: relative;
  display: none;
}

.menu-button span {
  position: absolute;
  width: 18px;
  height: 1px;
  background: currentcolor;
  transition: transform 180ms ease;
}

.menu-button span:first-child {
  transform: translateY(-4px);
}

.menu-button span:last-child {
  transform: translateY(4px);
}

.menu-button[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg);
}

main {
  min-height: 72vh;
  padding-top: var(--sb-header-height);
}

body.home main {
  padding-top: 0;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(54px, 8vw, 116px);
}

.concept-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(52px, 8vw, 120px);
}

.world-law {
  position: relative;
  max-width: 760px;
  padding: clamp(30px, 4vw, 48px) 0 0 clamp(30px, 4vw, 52px);
  border-top: 1px solid var(--sb-line-light);
  border-left: 1px solid var(--sb-line-light);
  color: var(--sb-ink-900);
  font-family: var(--sb-font-display);
  font-size: clamp(1.75rem, 3vw, 2.625rem);
  line-height: 1.38;
}

.world-law::before {
  position: absolute;
  top: -22px;
  left: 24px;
  padding-inline: 12px;
  color: var(--sb-copper-600);
  background: var(--sb-paper-100);
  content: "\201C";
  font-family: var(--sb-font-display);
  font-size: 3.125rem;
  line-height: 1;
}

.meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
  list-style: none;
}

.meta-list li {
  padding: 7px 12px;
  border: 1px solid currentcolor;
  border-radius: 999px;
  color: inherit;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  opacity: 0.72;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: currentcolor;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  opacity: 0.72;
}

.breadcrumbs a {
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--sb-copper-600);
}

.entry-content > :where(h2, h3, h4) {
  margin-top: 1.35em;
  margin-bottom: 0.55em;
}

.entry-content > :where(ul, ol) {
  margin-block: 1.35em;
  padding-left: 1.35em;
}

.entry-content :where(a:not(.sb-button)) {
  color: var(--sb-copper-600);
}

.entry-content img,
.wp-block-image img {
  border-radius: var(--sb-radius-m);
}

.alignwide {
  width: min(1040px, calc(100vw - 64px));
  max-width: none;
  margin-right: calc((min(1040px, calc(100vw - 64px)) - 100%) / -2);
  margin-left: calc((min(1040px, calc(100vw - 64px)) - 100%) / -2);
}

.alignfull {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
}

.wp-caption,
.wp-block-image {
  max-width: 100%;
}

.wp-caption-text,
.wp-element-caption {
  margin-top: 10px;
  color: var(--sb-ink-700);
  font-family: var(--sb-font-text);
  font-size: 0.75rem;
}

.content-grid,
.stories-grid {
  display: grid;
  gap: 28px;
}

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

.content-card,
.empty-state {
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--sb-line-light);
  border-radius: var(--sb-radius-m);
  background: rgb(255 255 255 / 30%);
}

.content-card h2 a {
  color: inherit;
  text-decoration: none;
}

.content-card h2 a:hover {
  color: var(--sb-copper-600);
}

.content-card > p:last-child {
  margin-top: 18px;
  color: var(--sb-ink-700);
}

.navigation.pagination {
  grid-column: 1 / -1;
  margin-top: 30px;
}

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

.page-numbers {
  display: grid;
  min-width: 42px;
  min-height: 42px;
  padding: 8px 12px;
  place-items: center;
  border: 1px solid var(--sb-line-light);
  border-radius: 999px;
  color: var(--sb-ink-900);
  text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover {
  color: var(--sb-paper-50);
  background: var(--sb-night-900);
  border-color: var(--sb-night-900);
}

.site-footer {
  position: relative;
  color: var(--sb-paper-100);
  background:
    radial-gradient(circle at 76% 0%, rgb(45 91 82 / 18%), transparent 30rem),
    var(--sb-night-950);
  border-top: 1px solid var(--sb-line-dark);
}

body.sb-season-winter,
body.sb-season-thaw {
  --sb-season-accent: var(--sb-frost-400);
}

body.sb-season-white-nights {
  --sb-season-accent: #d7c795;
}

body.sb-season-autumn {
  --sb-season-accent: #ba7748;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 50px;
  align-items: start;
  padding-block: 72px 62px;
}

.site-footer__brand strong {
  display: block;
  color: var(--sb-amber-400);
  font-size: 2rem;
  font-weight: 550;
  line-height: 1.1;
}

.site-footer__brand p {
  margin-top: 13px;
  color: var(--sb-mist);
  font-size: 0.875rem;
}

.site-footer__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  list-style: none;
}

.site-footer__nav a {
  color: #c9c9be;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
}

.site-footer__nav a:hover {
  color: var(--sb-amber-400);
}

.site-footer__law {
  max-width: 340px;
  justify-self: end;
  font-size: 1.5rem;
  line-height: 1.35;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 24px 34px;
  border-top: 1px solid var(--sb-line-dark);
  color: var(--sb-mist);
  font-size: 0.8125rem;
}

.site-footer__bottom a {
  text-decoration: none;
}

.site-footer__bottom a:hover {
  color: var(--sb-amber-400);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 22px;
}

.noscript-note {
  position: fixed;
  z-index: 200;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 12px 16px;
  border-radius: var(--sb-radius-s);
  color: var(--sb-ink-900);
  background: var(--sb-amber-300);
  box-shadow: 0 20px 50px rgb(0 0 0 / 28%);
  font-size: 0.8125rem;
  text-align: center;
}

html[data-motion="reduced"] {
  scroll-behavior: auto;
}

/* !important здесь нужен, чтобы пользовательская настройка движения перекрывала компоненты. */
html[data-motion="reduced"] *,
html[data-motion="reduced"] *::before,
html[data-motion="reduced"] *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  scroll-behavior: auto !important;
  transition-duration: 0.01ms !important;
}

@media (min-width: 1600px) {
  :root {
    --sb-container: 1320px;
  }

  .section-heading {
    max-width: 860px;
  }
}

@media (max-width: 1120px) {
  .container {
    width: min(var(--sb-container), calc(100% - 48px));
  }

  .site-header__cart-label {
    display: none;
  }

  .site-footer__top {
    grid-template-columns: 1.2fr 1fr;
  }

  .site-footer__law {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

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

  .container {
    width: calc(100% - 36px);
  }

  .site-header__inner {
    justify-content: space-between;
  }

  .site-nav {
    position: fixed;
    z-index: 1;
    top: calc(var(--sb-admin-offset) + var(--sb-header-height));
    right: 0;
    left: 0;
    max-height: calc(100dvh - var(--sb-header-height) - var(--sb-admin-offset));
    padding: 20px 18px 34px;
    overflow-y: auto;
    border-bottom: 1px solid var(--sb-line-dark);
    background: rgb(3 12 14 / 97%);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms var(--sb-ease-out);
  }

  .site-nav__list {
    display: grid;
    gap: 0;
  }

  .brand,
  .site-header__controls {
    position: relative;
    z-index: 2;
  }

  .menu-is-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 16px 12px;
    border-bottom: 1px solid var(--sb-line-dark);
    font-family: var(--sb-font-display);
    font-size: 1.5rem;
    font-weight: 550;
  }

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

  .menu-button {
    display: grid;
  }

  .split-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .concept-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 782px) {
  body.admin-bar {
    --sb-admin-offset: 46px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
    line-height: 1.68;
  }

  h1 {
    font-size: clamp(2.75rem, 13vw, 3.875rem);
  }

  h2 {
    font-size: clamp(2.375rem, 11vw, 3.25rem);
  }

  h3 {
    font-size: 1.8125rem;
  }

  .section {
    padding-block: 76px;
  }

  .reading-column {
    width: calc(100% - 36px);
  }

  .brand__mark,
  .brand__mark svg {
    width: 35px;
    height: 35px;
  }

  .brand__mark {
    flex-basis: 35px;
  }

  .brand__text {
    font-size: 1.125rem;
  }

  .brand__custom-logo,
  .brand__custom-logo img {
    max-width: 180px;
    max-height: 44px;
  }

  .motion-button {
    display: none;
  }

  .site-header__cart {
    width: 42px;
    height: 42px;
    min-height: 42px;
    justify-content: center;
    padding: 0;
  }

  .site-header__cart-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .site-header__cart-count {
    position: absolute;
    top: -3px;
    right: -3px;
  }

  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .sb-button {
    width: 100%;
  }

  .world-law {
    padding: 28px 0 0 26px;
    font-size: 1.75rem;
  }

  .alignwide {
    width: calc(100vw - 36px);
    margin-right: calc((100vw - 36px - 100%) / -2);
    margin-left: calc((100vw - 36px - 100%) / -2);
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-block: 58px 46px;
  }

  .site-footer__law {
    grid-column: auto;
    font-size: 1.375rem;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .site-footer__legal {
    justify-content: flex-start;
  }
}

@media (max-width: 380px) {
  .container,
  .reading-column {
    width: calc(100% - 28px);
  }

  .brand__text {
    font-size: 1.0625rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:not([data-motion="full"]) {
    scroll-behavior: auto;
  }

  html:not([data-motion="full"]) *,
  html:not([data-motion="full"]) *::before,
  html:not([data-motion="full"]) *::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    scroll-behavior: auto;
    transition-duration: 0.01ms;
  }
}
