:root {
  --ink: #183428;
  --ink-soft: #50665a;
  --green: #2f7d4d;
  --green-dark: #1d5a37;
  --lime: #a9d864;
  --cream: #fbf9ef;
  --sky: #dff3ff;
  --water: #67b9dd;
  --sun: #f4c85c;
  --white: #ffffff;
  --line: rgba(34, 86, 56, 0.14);
  --shadow: 0 22px 60px rgba(31, 76, 48, 0.12);
  --theme-accent: var(--green);
  --theme-dark: var(--green-dark);
  --theme-soft: var(--cream);
  --theme-surface: #ffffff;
  --theme-muted: var(--ink-soft);
}

.theme-server {
  --theme-accent: #b48a52;
  --theme-dark: #14231b;
  --theme-soft: #e8e1d3;
  --theme-surface: #26372d;
  --theme-muted: #5f6f63;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid #1676a5;
  outline-offset: 4px;
}

.shell {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(24, 52, 40, 0.08);
  background: rgba(251, 249, 239, 0.9);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand__logo {
  display: block;
  width: 100px;
  height: auto;
}

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

.site-header__controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 10px;
  color: #365345;
  font-size: 0.92rem;
  font-weight: 650;
  transition: background 160ms ease, color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  background: rgba(80, 139, 75, 0.1);
  color: var(--green-dark);
  outline: none;
}

.site-nav a.site-nav__shop {
  background: #c83a36;
  color: var(--white);
}

.site-nav a.site-nav__shop:hover,
.site-nav a.site-nav__shop:focus-visible {
  background: #aa2f2c;
  color: var(--white);
}

.site-announcement {
  overflow: hidden;
  border-bottom: 1px solid rgba(20, 35, 27, 0.14);
  background: #fff;
  color: #17251e;
}

.site-announcement--alert {
  border-bottom-color: #a7480b;
  background: #c85f13;
  color: #fff;
}

.site-announcement__inner {
  overflow: hidden;
}

.site-announcement__track {
  width: max-content;
  min-height: 64px;
  padding: 12px 0;
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  animation: announcement-scroll 24s linear infinite;
}

.site-announcement strong {
  color: #14231b;
}

.site-announcement p {
  margin: 0;
  color: #48564f;
  line-height: 1.45;
}

.site-announcement a {
  flex: 0 0 auto;
  color: #245c38;
  font-weight: 750;
}

.site-announcement a:hover,
.site-announcement a:focus-visible {
  color: #14231b;
}

.site-announcement:hover .site-announcement__track,
.site-announcement:focus-within .site-announcement__track {
  animation-play-state: paused;
}

.site-announcement--alert strong,
.site-announcement--alert p,
.site-announcement--alert a {
  color: #fff;
}

.site-announcement--alert a:hover,
.site-announcement--alert a:focus-visible {
  color: #fff7e8;
}

@keyframes announcement-scroll {
  from { transform: translateX(100vw); }
  to { transform: translateX(-100%); }
}

.snowfall,
.snowfall::before,
.snowfall::after {
  position: fixed;
  inset: -160px 0 0;
  z-index: 1000;
  pointer-events: none;
  content: "";
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 2px, transparent 2.5px),
    radial-gradient(circle, rgba(205, 224, 234, 0.86) 0 1.5px, transparent 2px);
  background-position: 18px 24px, 72px 88px;
  background-size: 180px 210px, 260px 300px;
  animation: snowfall-drift-main 19s linear infinite;
}

.snowfall::before {
  opacity: 0.72;
  background-position: 96px 42px, 14px 160px;
  background-size: 225px 270px, 310px 360px;
  transform: translateX(-38px);
  animation-name: snowfall-drift-left;
  animation-duration: 27s;
  animation-delay: -11s;
}

.snowfall::after {
  opacity: 0.5;
  background-position: 34px 130px, 146px 28px;
  background-size: 270px 320px, 200px 285px;
  transform: translateX(54px);
  animation-name: snowfall-drift-right;
  animation-duration: 36s;
  animation-delay: -19s;
}

.new-year-mode .summer-particles {
  display: none;
}

@keyframes snowfall-drift-main {
  to { background-position: 82px 1024px, 28px 1188px; }
}

@keyframes snowfall-drift-left {
  to { background-position: 18px 1080px, -86px 1260px; }
}

@keyframes snowfall-drift-right {
  to { background-position: 176px 1160px, 238px 1040px; }
}

.hero {
  min-height: 680px;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #ccefc8;
}

.hero__image,
.hero__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
  object-position: center;
}

.hero__veil {
  background:
    linear-gradient(90deg, rgba(247, 248, 224, 0.98) 0%, rgba(247, 248, 224, 0.9) 35%, rgba(247, 248, 224, 0.2) 67%, rgba(247, 248, 224, 0.06) 100%),
    linear-gradient(0deg, rgba(28, 73, 42, 0.16), transparent 45%);
}

.theme-server .hero__veil {
  background:
    linear-gradient(90deg, rgba(12, 22, 17, 0.98) 0%, rgba(12, 22, 17, 0.9) 42%, rgba(12, 22, 17, 0.48) 68%, rgba(12, 22, 17, 0.12) 100%),
    linear-gradient(0deg, rgba(12, 22, 17, 0.48), transparent 54%),
    radial-gradient(circle at 28% 78%, rgba(180, 138, 82, 0.28), transparent 32%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-block: 90px 110px;
}

.summer-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.summer-particles span {
  width: 9px;
  height: 14px;
  position: absolute;
  border-radius: 70% 10% 70% 10%;
  background: rgba(221, 242, 167, 0.72);
  box-shadow: 0 0 16px rgba(244, 255, 204, 0.42);
  animation: summer-drift 7s ease-in-out infinite alternate;
}

.summer-particles span:nth-child(1) { top: 15%; left: 7%; animation-delay: -1s; }
.summer-particles span:nth-child(2) { top: 24%; left: 42%; width: 7px; height: 10px; animation-delay: -4s; }
.summer-particles span:nth-child(3) { top: 12%; right: 25%; animation-delay: -2.5s; }
.summer-particles span:nth-child(4) { top: 34%; right: 8%; width: 6px; height: 9px; animation-delay: -5s; }
.summer-particles span:nth-child(5) { bottom: 22%; left: 5%; width: 7px; height: 11px; animation-delay: -3s; }
.summer-particles span:nth-child(6) { bottom: 15%; left: 47%; animation-delay: -6s; }
.summer-particles span:nth-child(7) { bottom: 28%; right: 18%; width: 6px; height: 8px; animation-delay: -1.5s; }
.summer-particles span:nth-child(8) { top: 48%; right: 4%; animation-delay: -4.5s; }

@keyframes summer-drift {
  from { transform: translate3d(-3px, 3px, 0) rotate(-18deg); opacity: 0.48; }
  to { transform: translate3d(5px, -6px, 0) rotate(16deg); opacity: 0.78; }
}

.eyebrow {
  margin: 0 0 16px;
  color: #275c3d;
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow--green {
  color: var(--green);
}

.theme-server .eyebrow--green {
  color: var(--theme-accent);
}

.hero h1,
.page-hero h1 {
  max-width: 730px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.058em;
  text-wrap: balance;
}

.theme-server .hero h1 {
  color: #ffffff;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.38);
}

.hero__lead {
  max-width: 620px;
  margin: 28px 0 0;
  color: #365448;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-weight: 760;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button--primary {
  background: var(--green);
  color: white;
  box-shadow: 0 8px 0 #1f5c39, 0 18px 35px rgba(34, 104, 62, 0.22);
}

.theme-server .button--primary {
  background: var(--theme-accent);
  color: #ffffff;
  box-shadow: 0 8px 0 color-mix(in srgb, var(--theme-dark) 74%, black), 0 18px 35px color-mix(in srgb, var(--theme-accent) 28%, transparent);
}

.button--primary:active {
  transform: translateY(5px);
  box-shadow: 0 3px 0 #1f5c39;
}

.button--flat,
.theme-server .button--flat,
.button--flat:active,
.theme-server .button--flat:active {
  box-shadow: none;
}

.button--flat:active,
.theme-server .button--flat:active {
  transform: translateY(0);
}

.button--secondary {
  border: 1px solid rgba(47, 125, 77, 0.24);
  background: #eef5e7;
  color: var(--green-dark);
}

.button--secondary:hover {
  background: #e3efd9;
}

.copy-button {
  min-width: 310px;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 14px 12px 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: white;
  color: var(--ink);
  font: inherit;
  text-align: left;
  box-shadow: 0 10px 30px rgba(37, 84, 51, 0.1);
  cursor: pointer;
}

.copy-button span:first-child,
.copy-button small,
.copy-button strong {
  display: block;
}

.copy-button small {
  margin-bottom: 3px;
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.copy-button strong {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.95rem;
}

.copy-button__action {
  padding: 8px 10px;
  border-radius: 8px;
  background: #edf6df;
  color: var(--green-dark);
  font-size: 0.74rem;
  font-weight: 800;
}

.copy-button--compact {
  min-height: 54px;
  min-width: 330px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(10px);
}

.status-section {
  position: relative;
  z-index: 3;
  margin-top: -42px;
}

.server-status {
  display: grid;
  grid-template-columns: 1fr auto minmax(280px, 0.65fr);
  align-items: center;
  gap: 32px;
  padding: 26px 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  animation: status-card-appear 560ms ease-out both;
}

@keyframes status-card-appear {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.server-status__summary .eyebrow {
  margin-bottom: 7px;
}

.server-status__summary h2 {
  margin: 0;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  line-height: 1.1;
}

.status-dot {
  width: 32px;
  height: 32px;
  position: relative;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(117, 134, 124, 0.12);
  animation: status-ring-breathe 2.4s ease-in-out infinite;
  transition: background-color 180ms ease;
}

.status-dot::after {
  content: "";
  width: 18px;
  height: 18px;
  position: absolute;
  inset: 7px;
  border-radius: inherit;
  background: #9aa8a0;
  animation: status-core-breathe 2.4s ease-in-out infinite;
  transition: background-color 180ms ease;
}

.server-status.is-population-low .status-dot,
[data-server-status].is-population-low .status-dot {
  background: rgba(60, 169, 92, 0.14);
}

.server-status.is-population-low .status-dot::after,
[data-server-status].is-population-low .status-dot::after {
  background: #3ca95c;
}

.server-status.is-population-medium .status-dot,
[data-server-status].is-population-medium .status-dot {
  background: rgba(215, 169, 40, 0.16);
}

.server-status.is-population-medium .status-dot::after,
[data-server-status].is-population-medium .status-dot::after {
  background: #d7a928;
}

.server-status.is-population-high .status-dot,
[data-server-status].is-population-high .status-dot {
  background: rgba(225, 120, 47, 0.15);
}

.server-status.is-population-high .status-dot::after,
[data-server-status].is-population-high .status-dot::after {
  background: #e1782f;
}

.server-status.is-population-peak .status-dot,
[data-server-status].is-population-peak .status-dot {
  background: rgba(210, 85, 76, 0.13);
}

.server-status.is-population-peak .status-dot::after,
[data-server-status].is-population-peak .status-dot::after {
  background: #d2554c;
}

@keyframes status-ring-breathe {
  0%, 100% { transform: scale(0.94); }
  50% { transform: scale(1.06); }
}

@keyframes status-core-breathe {
  0%, 100% { transform: scale(0.97); }
  50% { transform: scale(1.03); }
}

.server-status__details {
  display: flex;
  gap: 28px;
  margin: 0;
}

.server-status__details div {
  min-width: 80px;
}

.server-status__details dt {
  margin-bottom: 5px;
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.server-status__details dd {
  margin: 0;
  font-weight: 800;
}

[data-status-text],
[data-status-version] {
  transition: opacity 160ms ease, transform 160ms ease;
}

.is-changing {
  opacity: 0.2;
  transform: translateY(2px);
}

.copy-button--status {
  width: 100%;
  min-width: 0;
  box-shadow: none;
}

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

.section {
  padding-block: 105px;
}

.section--soft {
  background: #eef4df;
}

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

.section-heading h2,
.contact-card h2,
.contact-tips h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.section-heading > p,
.contact-card > p,
.contact-tips > p {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.75;
}

.theme-server .hero .eyebrow {
  color: color-mix(in srgb, var(--theme-accent) 74%, white);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.34);
}

.theme-server .hero__lead {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.32);
}

.text-link {
  color: var(--green-dark);
  font-weight: 800;
}

.empty-state {
  margin-top: 32px;
  padding: 26px;
  border: 1px dashed rgba(47, 125, 77, 0.28);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink-soft);
  line-height: 1.65;
}

.news-grid {
  display: grid;
  gap: 18px;
  margin-top: 42px;
}

.news-grid {
  grid-template-columns: repeat(3, 1fr);
}

.home-news-grid {
  grid-template-columns: 1fr;
}

.home-news-grid .news-card {
  display: grid;
  grid-template-columns: minmax(250px, 34%) minmax(0, 1fr);
}

.home-news-grid .news-card__image {
  height: 100%;
  min-height: 230px;
  aspect-ratio: auto;
}

.news-card {
  overflow: hidden;
  border: 1px solid rgba(47, 125, 77, 0.13);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.news-card {
  display: flex;
  flex-direction: column;
}

.news-card__image {
  display: block;
  overflow: hidden;
  background: #dfead4;
}

.news-card__image {
  aspect-ratio: 16 / 7.4;
}

.news-card img,
.article-page__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.news-card img {
  transition: transform 180ms ease, filter 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .news-card__image:hover img,
  .news-card__image:focus-visible img {
    transform: scale(1.035);
    filter: brightness(1.04);
  }
}

.news-card__body {
  padding: 22px;
}

.news-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.news-card h3 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.news-card__title-link {
  color: var(--ink);
  text-decoration: none;
}

.news-card__title-link:hover,
.news-card__title-link:focus-visible {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.news-card p {
  color: var(--ink-soft);
  line-height: 1.62;
}

.news-card__meta {
  margin: 0 0 12px;
  color: var(--theme-muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.news-card .text-link {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 8px;
}

.article-page__image {
  margin-top: -54px;
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.article-page__image img {
  max-height: 560px;
}

.article-page__body {
  max-width: 820px;
  font-size: 1.05rem;
  line-height: 1.78;
}

.article-page__body h2,
.article-page__body h3,
.article-page__body h4 {
  margin-top: 2em;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.article-page__body img {
  max-width: 100%;
  height: auto;
  border-radius: 18px;
}

.article-page__body a {
  color: var(--green-dark);
  font-weight: 800;
}

.home-gallery {
  background: #ffffff;
}

.home-gallery__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.home-gallery__counter {
  flex: 0 0 auto;
  min-width: 58px;
  color: var(--ink-soft);
  text-align: right;
  font-size: 0.85rem;
  font-weight: 800;
}

.home-gallery__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(47, 125, 77, 0.2);
  border-radius: 999px;
  background: #f4f7ec;
  color: var(--green-dark);
  font: inherit;
  font-size: 1.35rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(13, 43, 31, 0.2);
  transform: translateY(-50%);
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.home-gallery__arrow--previous {
  left: 18px;
}

.home-gallery__arrow--next {
  right: 18px;
}

.home-gallery__arrow:hover,
.home-gallery__arrow:focus-visible {
  background: var(--green-dark);
  color: #ffffff;
  transform: translateY(-50%) scale(1.04);
}

.home-gallery__viewport {
  position: relative;
  margin-top: 42px;
}

.home-gallery__slide {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 28px;
  background: #14251d;
  box-shadow: var(--shadow);
}

.home-gallery__slide[hidden] {
  display: none;
}

.home-gallery__media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.home-gallery__slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.home-gallery__slide figcaption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 60px 28px 24px;
  background: linear-gradient(transparent, rgba(8, 18, 13, 0.88));
  color: #ffffff;
  pointer-events: none;
}

.home-gallery__slide figcaption strong {
  font-size: clamp(1.15rem, 2.4vw, 1.8rem);
  line-height: 1.1;
}

.home-gallery__slide figcaption span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.85rem;
  text-align: right;
}

.about-page {
  display: grid;
  place-items: center;
}

.about-page__story {
  width: min(100%, 820px);
  padding: clamp(26px, 5vw, 58px);
  border: 1px solid rgba(47, 125, 77, 0.14);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--shadow);
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.7vw, 1.12rem);
  line-height: 1.82;
}

.about-page__story p {
  margin: 0;
}

.about-page__story p + p {
  margin-top: 1.35em;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: 110px 100px;
  background: var(--sky);
}

.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  opacity: 0.34;
}

.page-hero::before {
  right: 7%;
  top: 22%;
  background: #355843;
  box-shadow: 65px 65px 0 #294838, -65px 65px 0 #4d6d57;
  animation: page-pixels-drift-a 13s ease-in-out infinite alternate;
}

.page-hero::after {
  right: 23%;
  bottom: -75px;
  background: #294a52;
  box-shadow: 65px 0 0 #365c62, 130px 0 0 #233f48;
  animation: page-pixels-drift-b 15s ease-in-out infinite alternate;
}

@keyframes page-pixels-drift-a {
  from { transform: translate3d(-3px, -2px, 0); }
  to { transform: translate3d(6px, 7px, 0); }
}

@keyframes page-pixels-drift-b {
  from { transform: translate3d(3px, 2px, 0); }
  to { transform: translate3d(-5px, -6px, 0); }
}

.page-hero.page-hero--contacts {
  background: linear-gradient(135deg, #101815, #1a2922 56%, #28362f);
}

.page-hero__content {
  position: relative;
  z-index: 1;
  animation: page-heading-appear 620ms ease-out both;
}

@keyframes page-heading-appear {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@supports (animation-timeline: view()) {
  .inner-page main > .section {
    animation: section-scroll-reveal linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 28%;
  }
}

@keyframes section-scroll-reveal {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-hero h1 {
  max-width: 850px;
}

.page-hero p:last-child {
  max-width: 620px;
  margin: 24px 0 0;
  color: #3f6152;
  font-size: 1.1rem;
  line-height: 1.75;
}

.command-list {
  display: grid;
  gap: 12px;
}

.command-list div {
  display: grid;
  gap: 4px;
}

.command-list dt,
.command-list dd {
  margin: 0;
}

.command-list code {
  display: inline-block;
  max-width: 100%;
  padding: 4px 7px;
  border-radius: 7px;
  background: #edf5e7;
  color: var(--green-dark);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.command-list dd {
  color: var(--ink-soft);
  line-height: 1.55;
}

.contact-card__icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--sun);
  color: #5c4714;
  font-size: 1.4rem;
  font-weight: 900;
  box-shadow: 0 7px 0 #c99d38;
}

.contact-card h2 {
  color: var(--green-dark);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 22px;
}

.contact-card,
.contact-tips {
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.contact-card {
  background: white;
  box-shadow: var(--shadow);
}

.contact-card__icon {
  margin-bottom: 34px;
  background: #8ac4e5;
  color: #1c526c;
  box-shadow: 0 7px 0 #5296bc;
}

.contact-card h2 {
  overflow-wrap: anywhere;
  font-size: clamp(1.5rem, 3vw, 2.6rem);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.contact-card__hint {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

.contact-tips {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #eff4df;
}

.service-status-card .eyebrow {
  margin-bottom: 10px;
}

.service-status-card__list {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.service-status-card__row {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 17px 18px;
  border: 1px solid rgba(47, 125, 77, 0.13);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.68);
}

.service-status-card__row > span:last-child {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: right;
}

.service-status-card__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #9aa8a0;
  box-shadow: 0 0 0 4px rgba(117, 134, 124, 0.12);
}

.service-status-card__row.is-operational .service-status-card__dot {
  background: #3ca95c;
  box-shadow: 0 0 0 4px rgba(60, 169, 92, 0.14);
}

.service-status-card__row.is-maintenance .service-status-card__dot,
.service-status-card__row.is-degraded .service-status-card__dot {
  background: #d39927;
  box-shadow: 0 0 0 4px rgba(211, 153, 39, 0.16);
}

.service-status-card__row.is-outage .service-status-card__dot {
  background: #d2554c;
  box-shadow: 0 0 0 4px rgba(210, 85, 76, 0.14);
}

.service-status-card__link {
  align-self: flex-start;
  margin-top: 24px;
}

.error-page {
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #180604;
  color: #fff7e8;
}

.error-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 58% 68%, rgba(224, 62, 13, 0.16), transparent 42%);
  pointer-events: none;
  animation: nether-glow 8s ease-in-out infinite alternate;
}

.error-page__backdrop,
.error-page__backdrop img,
.error-page__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.error-page__backdrop img {
  object-fit: cover;
  object-position: center;
  transform: scale(1.015);
  animation: nether-background-drift 20s ease-in-out infinite alternate;
}

.error-page__veil {
  background:
    linear-gradient(90deg, rgba(12, 3, 3, 0.94) 0%, rgba(21, 5, 4, 0.82) 32%, rgba(27, 5, 3, 0.25) 62%, rgba(13, 2, 2, 0.08) 100%),
    linear-gradient(0deg, rgba(12, 2, 1, 0.52), transparent 58%);
}

.error-page__content {
  position: relative;
  z-index: 2;
  padding-block: 84px;
}

.nether-ash {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.nether-ash span {
  width: 4px;
  height: 4px;
  position: absolute;
  bottom: -10px;
  border-radius: 50%;
  background: rgba(255, 174, 98, 0.58);
  box-shadow: 0 0 8px rgba(237, 76, 25, 0.45);
  animation: ash-rise 11s linear infinite;
}

.nether-ash span:nth-child(1) { left: 10%; animation-delay: -3s; }
.nether-ash span:nth-child(2) { left: 24%; width: 3px; height: 3px; animation-delay: -8s; animation-duration: 13s; }
.nether-ash span:nth-child(3) { left: 41%; animation-delay: -5s; animation-duration: 15s; }
.nether-ash span:nth-child(4) { left: 58%; width: 2px; height: 2px; animation-delay: -10s; }
.nether-ash span:nth-child(5) { left: 72%; animation-delay: -1s; animation-duration: 14s; }
.nether-ash span:nth-child(6) { left: 84%; width: 3px; height: 3px; animation-delay: -7s; animation-duration: 16s; }
.nether-ash span:nth-child(7) { left: 94%; animation-delay: -4s; animation-duration: 12s; }

@keyframes ash-rise {
  0% { transform: translate3d(0, 0, 0); opacity: 0; }
  15% { opacity: 0.55; }
  80% { opacity: 0.25; }
  100% { transform: translate3d(7px, -105vh, 0); opacity: 0; }
}

@keyframes nether-glow {
  from { opacity: 0.58; }
  to { opacity: 0.9; }
}

@keyframes nether-background-drift {
  from { transform: scale(1.015) translate3d(-3px, 2px, 0); }
  to { transform: scale(1.015) translate3d(5px, -5px, 0); }
}

.error-page__mark {
  width: max-content;
  margin-bottom: 28px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 181, 84, 0.28);
  border-radius: 9px;
  background: rgba(38, 7, 4, 0.62);
  color: #ffb454;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.error-page .eyebrow {
  color: #ffbd63;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.9);
}

.error-page h1 {
  max-width: 720px;
  margin: 0;
  color: #fff8e9;
  font-size: clamp(3.7rem, 8.5vw, 7.8rem);
  line-height: 0.86;
  letter-spacing: -0.065em;
  text-shadow: 0 6px 42px rgba(0, 0, 0, 0.9);
  animation: error-heading-appear 780ms 120ms ease-out both;
}

@keyframes error-heading-appear {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.error-page p:not(.eyebrow) {
  max-width: 550px;
  margin: 28px 0 0;
  color: #eedcc9;
  font-size: clamp(1rem, 2vw, 1.16rem);
  line-height: 1.72;
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.94);
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

@media (max-width: 1050px) {
  .site-header__inner {
    gap: 16px;
  }

  .site-header__controls {
    gap: 8px;
  }

  .site-nav {
    gap: 2px;
  }

  .site-nav a {
    padding-inline: 9px;
    font-size: 0.8rem;
  }
}

.error-page .button--primary {
  background: #e7601c;
  box-shadow: 0 8px 0 #86320f, 0 20px 44px rgba(0, 0, 0, 0.35);
}

.error-page .button--primary:hover {
  background: #f1712a;
}

.error-page .button--primary:active {
  box-shadow: 0 3px 0 #86320f;
}

.site-footer {
  padding-block: 46px 25px;
  background: #1d382b;
  color: #eff6e8;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.site-footer__nav {
  display: grid;
  justify-items: end;
  gap: 16px;
}

.site-footer p {
  margin: 8px 0 0;
  color: #b9cabd;
  font-size: 0.9rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px 24px;
  font-size: 0.9rem;
}

.site-footer__links a:hover {
  color: #ffffff;
}

.site-footer__socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #eff6e8;
  font-size: 0.88rem;
  font-weight: 800;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.social-link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: currentColor;
}

.social-link:hover,
.social-link:focus-visible {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  transform: translateY(-1px);
}

.social-link--discord:hover,
.social-link--discord:focus-visible {
  color: #c4ccff;
}

.site-footer__note {
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #91a799;
  font-size: 0.76rem;
}

.cookie-notice {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 80;
  width: min(440px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 16px;
  padding: 18px;
  border: 1px solid rgba(47, 125, 77, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(27, 70, 45, 0.2);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.cookie-notice[hidden] {
  display: none;
}

.cookie-notice.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-notice__pixel {
  width: 20px;
  height: 20px;
  margin-top: 4px;
  background: var(--green);
  box-shadow: 8px 8px 0 #a9d864, 16px 0 0 #dbeeb7;
}

.cookie-notice h2 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.cookie-notice p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

.cookie-notice__actions {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.cookie-notice__link {
  color: var(--green-dark);
  font-size: 0.88rem;
  font-weight: 800;
}

.cookie-notice__button {
  min-height: 38px;
  padding: 9px 14px;
  border: 0;
  border-radius: 11px;
  background: var(--green);
  color: #ffffff;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 850;
  cursor: pointer;
}

.cookies-page {
  display: grid;
  gap: 38px;
}

.cookies-page__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.cookies-page__card {
  border: 1px solid rgba(47, 125, 77, 0.14);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.cookies-page__card {
  padding: 28px;
}

.cookies-page__number {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.18em;
}

.cookies-page__card h3 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.cookies-page__card p {
  color: var(--ink-soft);
  line-height: 1.7;
}

@media (max-width: 840px) {
  .site-header__inner {
    min-height: auto;
    padding-block: 14px;
    align-items: flex-start;
  }

  .site-nav {
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .site-header__controls {
    align-items: flex-start;
  }

  .site-nav a {
    padding: 7px 9px;
    font-size: 0.8rem;
  }

  .hero {
    min-height: 740px;
    align-items: end;
  }

  .hero__image {
    object-position: 67% center;
  }

  .hero__veil {
    background: linear-gradient(0deg, rgba(247, 248, 224, 0.99) 10%, rgba(247, 248, 224, 0.88) 58%, rgba(247, 248, 224, 0.22) 100%);
  }

  .theme-server .hero__veil {
    background:
      linear-gradient(0deg, rgba(12, 22, 17, 0.96) 7%, rgba(12, 22, 17, 0.86) 58%, rgba(12, 22, 17, 0.34) 100%),
      radial-gradient(circle at 18% 78%, rgba(180, 138, 82, 0.24), transparent 38%);
  }

  .hero__content {
    padding-block: 240px 70px;
  }

  .news-grid,
  .cookies-page__grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .home-news-grid .news-card {
    grid-template-columns: minmax(210px, 36%) minmax(0, 1fr);
  }

  .server-status {
    grid-template-columns: 1fr 1fr;
  }

  .copy-button--status {
    grid-column: 1 / -1;
  }

}

@media (max-width: 580px) {
  .shell {
    width: min(100% - 28px, 1160px);
  }

  .home-news-grid .news-card {
    grid-template-columns: 1fr;
  }

  .home-news-grid .news-card__image {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .cookie-notice {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    width: calc(100vw - 24px);
    padding: 15px;
    border-radius: 18px;
  }

  .cookie-notice__actions {
    grid-column: 1 / -1;
  }

  .cookie-notice__button {
    flex: 1 1 130px;
  }

  .site-header__inner,
  .site-footer__inner {
    display: grid;
  }

  .site-header__inner {
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
  }

  .site-footer__nav,
  .site-footer__links,
  .site-footer__socials {
    justify-items: start;
    justify-content: flex-start;
  }

  .social-link {
    flex: 1 1 180px;
    justify-content: center;
  }

  .site-header__controls {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-nav {
    justify-content: flex-start;
    gap: 2px;
  }

  .brand__logo {
    width: 88px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .hero__actions,
  .copy-button--compact {
    width: 100%;
  }

  .summer-particles span:nth-child(n + 5),
  .nether-ash span:nth-child(n + 5) {
    display: none;
  }

  .button,
  .copy-button,
  .copy-button--compact {
    min-width: 0;
    width: 100%;
  }

  .status-section {
    margin-top: -24px;
  }

  .server-status {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 20px;
  }

  .server-status__details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .copy-button--status {
    grid-column: auto;
  }

  .error-page {
    align-items: end;
  }

  .error-page__backdrop img {
    object-position: 68% center;
  }

  .error-page__veil {
    background: linear-gradient(0deg, rgba(13, 3, 2, 0.98) 3%, rgba(20, 4, 3, 0.9) 47%, rgba(18, 3, 2, 0.18) 100%);
  }

  .error-page__content {
    padding-block: 230px 46px;
  }

  .error-page h1 {
    font-size: clamp(3.3rem, 18vw, 5rem);
  }

  .copy-button {
    gap: 12px;
  }

  .section {
    padding-block: 76px;
  }

  .page-hero {
    padding-block: 82px 76px;
  }

}

/* 2026 world guide refresh */
.hero {
  min-height: 560px;
}

.hero__content {
  padding-block: 72px 88px;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.65rem, 5.6vw, 4.8rem);
}

.theme-server .hero__lead {
  color: rgba(255, 255, 255, 0.9);
}

.button--on-dark {
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(12, 22, 17, 0.48);
  color: #fff;
  backdrop-filter: blur(12px);
}

.section {
  padding-block: 80px;
}

.difference-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 38px;
  border-block: 1px solid var(--line);
}

.difference-links a {
  min-width: 0;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.difference-links a:first-child {
  border-left: 1px solid var(--line);
}

.difference-links a:hover,
.difference-links a:focus-visible {
  background: #f1f4e7;
}

.difference-links span,
.gameplay-fact__number {
  color: var(--theme-accent);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 900;
}

.difference-links strong {
  display: block;
  margin-top: 14px;
  font-size: 1.1rem;
}

.difference-links p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.home-stories__action {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.page-hero {
  padding-block: 78px 72px;
  background: linear-gradient(135deg, #08130f, #10251c 56%, #1d3529);
}

.page-hero h1,
.page-hero p:last-child {
  color: #f5f4ea;
}

.page-hero p:last-child {
  opacity: 1;
}

.page-hero .eyebrow {
  color: #c7a36d;
}

.world-guide__intro,
.world-guide__sections {
  max-width: 760px;
}

.world-guide {
  display: grid;
  justify-items: center;
}

.world-guide__intro,
.world-guide__sections {
  width: 100%;
}

.world-guide__sections {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.gameplay-fact {
  scroll-margin-top: 100px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 20px;
  padding-block: 34px;
  border-bottom: 1px solid var(--line);
}

.gameplay-fact h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
}

.gameplay-fact p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.75;
}

.page-hero--terms {
  background: linear-gradient(135deg, #13130f, #24251c 56%, #343326);
}

.terms-page {
  display: grid;
  gap: 0;
  max-width: 840px;
}

.terms-section {
  padding-block: 34px;
  border-bottom: 1px solid var(--line);
}

.terms-section:first-child {
  padding-top: 0;
}

.terms-section h2 {
  margin: 0 0 14px;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.terms-section p,
.terms-section li {
  color: var(--ink-soft);
  line-height: 1.75;
}

.terms-section p:last-child,
.terms-section ul:last-child {
  margin-bottom: 0;
}

.terms-section ul {
  padding-left: 1.25rem;
}

.terms-links {
  display: grid;
  gap: 8px;
}

.terms-links a {
  color: var(--theme-accent, var(--green));
  font-weight: 800;
  text-underline-offset: 3px;
}

.terms-section--contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  border-bottom: 0;
}

.support-channels {
  display: grid;
  gap: 18px;
}

.contact-card--discord .contact-card__icon {
  background: #d9ddff;
  color: #3d478f;
  box-shadow: 0 7px 0 #a5ade8;
}

.commands-page {
  max-width: 980px;
}

.commands-page__panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.commands-page__group {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: 24px;
  padding: 30px;
  border-bottom: 1px solid var(--line);
}

.commands-page__group:last-child {
  border-bottom: 0;
}

.commands-page__group-heading {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.commands-page__group-heading span {
  color: var(--theme-accent);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 900;
}

.commands-page__group-heading h3 {
  margin: 0;
  font-size: 1.15rem;
}

.commands-page__group .command-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
}

.commands-page__group .command-list div {
  min-width: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(47, 125, 77, 0.1);
}

@media (max-width: 900px) {
  .hero {
    min-height: 620px;
  }

  .hero__content {
    padding-block: 190px 62px;
  }

  .difference-links {
    grid-template-columns: 1fr 1fr;
  }

  .difference-links a:nth-child(3) {
    border-left: 1px solid var(--line);
  }

}

@media (max-width: 680px) {
  html,
  body {
    overflow-x: clip;
  }

  .site-header__inner {
    position: relative;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .brand {
    align-self: flex-start;
  }

  .site-header__controls {
    width: 100%;
    display: block;
  }

  .site-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
  }

  .site-nav a {
    min-width: 0;
    padding: 8px 4px;
    text-align: center;
  }

  .hero h1,
  .page-hero h1 {
    max-width: 100%;
    font-size: clamp(2.2rem, 10.5vw, 3.15rem);
    line-height: 1.02;
    overflow-wrap: anywhere;
    text-wrap: wrap;
  }

  .hero__lead,
  .page-hero p:last-child {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero__actions,
  .hero__actions .copy-button,
  .hero__actions .button {
    max-width: 100%;
  }

  .copy-button > span:first-child {
    min-width: 0;
  }

  .copy-button strong {
    overflow-wrap: anywhere;
  }

  .service-status-card__row {
    grid-template-columns: 14px minmax(0, 1fr);
  }

  .service-status-card__row > span:last-child {
    grid-column: 2;
    text-align: left;
  }

  .difference-links {
    grid-template-columns: 1fr;
  }

  .commands-page__group {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px 18px;
  }

  .commands-page__group .command-list {
    grid-template-columns: 1fr;
  }

  .difference-links a,
  .difference-links a:first-child,
  .difference-links a:nth-child(3) {
    border: 0;
    border-bottom: 1px solid var(--line);
  }

  .gameplay-fact {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
  }

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

  .home-gallery__header {
    align-items: flex-start;
  }

  .home-gallery__viewport {
    margin-top: 28px;
  }

  .home-gallery__slide {
    border-radius: 20px;
  }

  .home-gallery__arrow {
    width: 42px;
    height: 42px;
  }

  .home-gallery__arrow--previous {
    left: 10px;
  }

  .home-gallery__arrow--next {
    right: 10px;
  }

  .home-gallery__slide figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 48px 18px 16px;
  }

  .home-gallery__slide figcaption span {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .terms-section--contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-announcement__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

}
