:root {
  color-scheme: light;
  --ink: #102f38;
  --ink-strong: #082832;
  --muted: #5b6c70;
  --teal: #0b3b49;
  --teal-soft: #155b69;
  --orange: #e85d24;
  --orange-dark: #a93408;
  --sand: #f5efe5;
  --sand-deep: #eadfce;
  --paper: #fffdf9;
  --white: #ffffff;
  --line: #d9ddd8;
  --shadow: 0 24px 70px rgba(8, 40, 50, 0.13);
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 12px;
}

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

html {
  min-height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

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

:focus-visible {
  outline: 3px solid #ffad66;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink-strong);
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(16, 47, 56, 0.1);
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  position: relative;
  width: min(100% - 40px, 1180px);
  min-height: 78px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(210px, auto) 1fr auto;
  align-items: center;
  gap: 34px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  text-decoration: none;
}

.site-brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
}

.site-brand__copy {
  display: grid;
  line-height: 1.12;
}

.site-brand__copy strong {
  color: var(--teal);
  font-size: 19px;
  letter-spacing: 0.11em;
}

.site-brand__copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.site-nav a {
  position: relative;
  color: #38535a;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transition: transform 160ms ease;
}

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

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-switcher {
  display: inline-flex;
  padding: 3px;
  border: 1px solid #ced6d4;
  border-radius: 999px;
  background: var(--white);
}

.language-switcher a {
  min-width: 37px;
  padding: 6px 8px;
  border-radius: 999px;
  color: #4d6166;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-decoration: none;
}

.language-switcher a[aria-current="page"] {
  background: var(--teal);
  color: var(--white);
}

.menu-toggle {
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid #ced6d4;
  border-radius: 50%;
  background: var(--white);
  color: var(--teal);
  cursor: pointer;
  display: none;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

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

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

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

.site-main {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100svh - 78px));
  padding-block: clamp(76px, 11vw, 138px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.72fr);
  align-items: center;
  gap: clamp(56px, 8vw, 116px);
}

.hero::before {
  position: absolute;
  top: -36%;
  right: -28%;
  z-index: -1;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 93, 36, 0.14), rgba(232, 93, 36, 0) 68%);
  content: "";
}

.hero::after {
  position: absolute;
  bottom: -210px;
  left: -310px;
  z-index: -1;
  width: 580px;
  height: 580px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21, 91, 105, 0.13), rgba(21, 91, 105, 0) 70%);
  content: "";
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(48px, 6.4vw, 86px);
  font-weight: 820;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero__lead {
  max-width: 680px;
  margin: 30px 0 0;
  color: #4b646a;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero__actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 50px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

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

.button--primary {
  background: var(--orange-dark);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(189, 60, 11, 0.22);
}

.button--primary:hover {
  background: #a93208;
}

.button--secondary {
  border-color: #bdc9c7;
  background: rgba(255, 255, 255, 0.72);
  color: var(--teal);
}

.button--secondary:hover {
  border-color: var(--teal-soft);
  background: var(--white);
}

.hero__languages {
  margin: 32px 0 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #65767a;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.hero__languages span {
  width: 24px;
  height: 1px;
  background: var(--orange);
}

.hero-card {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--teal);
  color: var(--white);
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.hero-card::after {
  position: absolute;
  right: -70px;
  bottom: -80px;
  width: 190px;
  height: 190px;
  border: 38px solid rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  content: "";
}

.hero-card__visual {
  position: relative;
  height: 230px;
  margin-bottom: 24px;
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent 49.6%, rgba(255, 255, 255, 0.82) 49.6%, rgba(255, 255, 255, 0.82) 50.4%, transparent 50.4%),
    linear-gradient(transparent 49.6%, rgba(255, 255, 255, 0.82) 49.6%, rgba(255, 255, 255, 0.82) 50.4%, transparent 50.4%),
    #176578;
}

.hero-card__visual::before {
  position: absolute;
  inset: 22px;
  border: 2px solid rgba(255, 255, 255, 0.82);
  content: "";
}

.hero-card__visual::after {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  height: 14px;
  background: rgba(8, 40, 50, 0.36);
  content: "";
  filter: blur(12px);
}

.hero-card__ball {
  position: absolute;
  top: 38px;
  right: 38px;
  z-index: 2;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ff7a35;
  box-shadow: 0 10px 18px rgba(8, 40, 50, 0.28);
}

.hero-card__line {
  position: absolute;
  top: 54px;
  right: 68px;
  width: 82px;
  height: 56px;
  border-top: 2px dashed rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  transform: rotate(-21deg);
}

.hero-card__paddle {
  position: absolute;
  bottom: 47px;
  left: 56px;
  z-index: 2;
  width: 82px;
  height: 102px;
  border: 5px solid #082832;
  border-radius: 50% 50% 46% 46%;
  background: var(--orange);
  box-shadow: 0 10px 0 rgba(8, 40, 50, 0.18);
  transform: rotate(-24deg);
}

.hero-card__paddle::after {
  position: absolute;
  right: 28px;
  bottom: -54px;
  width: 18px;
  height: 62px;
  border-radius: 0 0 9px 9px;
  background: #d8b17c;
  box-shadow: inset 0 0 0 4px #082832;
  content: "";
}

.hero-card__label {
  margin: 0;
  color: #f4b08e;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero-card ul {
  position: relative;
  z-index: 1;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.hero-card li {
  padding: 12px 0 12px 23px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: #f7fbfb;
  font-size: 14px;
  font-weight: 650;
}

.hero-card li::before {
  position: absolute;
  margin-top: 8px;
  margin-left: -22px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  content: "";
}

.section {
  padding-block: clamp(82px, 10vw, 132px);
}

.section--light {
  border-block: 1px solid rgba(16, 47, 56, 0.08);
  background: var(--white);
}

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

.section-heading h2,
.status-card h2 {
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(36px, 4.7vw, 62px);
  font-weight: 810;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.section-heading > p:last-child {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.feature-grid {
  margin-top: 58px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  position: relative;
  min-height: 100%;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fbfaf6;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.feature-card:hover {
  border-color: #b8c4c1;
  box-shadow: 0 18px 48px rgba(8, 40, 50, 0.08);
  transform: translateY(-4px);
}

.feature-card__number {
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.feature-card h3 {
  margin: 46px 0 13px;
  color: var(--teal);
  font-size: 27px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.feature-card > p {
  min-height: 104px;
  margin: 0;
  color: var(--muted);
}

.feature-card ul {
  margin: 26px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.feature-card li {
  position: relative;
  padding: 5px 0 5px 21px;
  color: #29484f;
  font-size: 14px;
  font-weight: 680;
}

.feature-card li::before {
  position: absolute;
  top: 14px;
  left: 1px;
  width: 7px;
  height: 7px;
  border: 2px solid var(--orange);
  border-radius: 50%;
  content: "";
}

.section--dark {
  position: relative;
  overflow: hidden;
  background: var(--teal);
  color: var(--white);
}

.section--dark::after {
  position: absolute;
  top: -240px;
  right: -180px;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 92px rgba(255, 255, 255, 0.025), 0 0 0 184px rgba(255, 255, 255, 0.018);
  content: "";
}

.principles-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(480px, 1fr);
  gap: clamp(60px, 10vw, 140px);
}

.section-heading--inverse h2 {
  color: var(--white);
}

.section-heading--inverse .eyebrow {
  color: #f3a47f;
}

.principle-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.principle-list li {
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 20px;
}

.principle-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.principle-list > li > span {
  color: #f3a47f;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.principle-list h3 {
  margin: -3px 0 8px;
  color: var(--white);
  font-size: 21px;
  line-height: 1.25;
}

.principle-list p {
  margin: 0;
  color: #bed0d4;
}

.section--sand {
  position: relative;
  background: var(--sand);
}

.status-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.68fr);
  align-items: stretch;
  gap: 20px;
}

.status-card,
.schedule-empty {
  border: 1px solid rgba(16, 47, 56, 0.1);
  border-radius: var(--radius-lg);
  background: var(--paper);
}

.status-card {
  padding: clamp(34px, 5vw, 64px);
}

.status-badge {
  width: max-content;
  margin: 0 0 24px;
  padding: 8px 12px;
  border: 1px solid #e4c5b3;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8f310c;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status-badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(232, 93, 36, 0.13);
}

.status-card__lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.status-list {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.status-list li {
  position: relative;
  padding: 10px 0 10px 31px;
  color: #29484f;
  font-weight: 700;
}

.status-list li::before {
  position: absolute;
  top: 14px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  content: "✓";
  font-size: 12px;
  line-height: 18px;
  text-align: center;
}

.schedule-empty {
  min-height: 100%;
  padding: 42px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  background: var(--sand-deep);
}

.schedule-empty__icon {
  position: relative;
  width: 92px;
  height: 92px;
  margin: 0 0 auto auto;
  border: 2px solid rgba(11, 59, 73, 0.25);
  border-radius: 50%;
}

.schedule-empty__icon::before,
.schedule-empty__icon::after {
  position: absolute;
  content: "";
}

.schedule-empty__icon::before {
  inset: 20px;
  border: 2px solid var(--teal);
  border-radius: 8px;
}

.schedule-empty__icon::after {
  top: 33px;
  right: 29px;
  left: 29px;
  height: 2px;
  background: var(--teal);
  box-shadow: 0 10px 0 rgba(11, 59, 73, 0.35);
}

.schedule-empty > p {
  margin: 70px 0 8px;
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.schedule-empty > strong {
  max-width: 340px;
  color: var(--ink-strong);
  font-size: 25px;
  letter-spacing: -0.025em;
  line-height: 1.28;
}

.site-footer {
  border-top: 1px solid rgba(16, 47, 56, 0.11);
  background: var(--paper);
}

.site-footer__inner {
  width: min(100% - 40px, 1180px);
  min-height: 118px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-footer__brand div {
  display: grid;
}

.site-footer__brand strong {
  color: var(--teal);
  font-size: 14px;
  letter-spacing: 0.11em;
}

.site-footer__brand span,
.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.site-footer__nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-footer__nav a {
  color: #38535a;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.site-footer__nav a:hover {
  color: var(--orange-dark);
}

.section--news {
  border-top: 1px solid rgba(16, 47, 56, 0.08);
  background: #f8f4ec;
}

.section-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
}

.text-link {
  position: relative;
  z-index: 2;
  width: max-content;
  color: var(--orange-dark);
  font-size: 14px;
  font-weight: 820;
  text-decoration: none;
}

.text-link span {
  display: inline-block;
  margin-left: 5px;
  transition: transform 160ms ease;
}

a.text-link:hover span,
.news-card:hover .text-link span {
  transform: translateX(4px);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.news-grid--home {
  margin-top: 54px;
}

.news-card {
  position: relative;
  min-height: 100%;
  border: 1px solid rgba(16, 47, 56, 0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.news-card:hover {
  border-color: #aebdb9;
  box-shadow: 0 20px 52px rgba(8, 40, 50, 0.1);
  transform: translateY(-5px);
}

.news-card__link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.news-card__visual {
  position: relative;
  height: 176px;
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent 49.65%, rgba(255, 255, 255, 0.7) 49.65%, rgba(255, 255, 255, 0.7) 50.35%, transparent 50.35%),
    linear-gradient(transparent 49.2%, rgba(255, 255, 255, 0.68) 49.2%, rgba(255, 255, 255, 0.68) 50.8%, transparent 50.8%),
    #176578;
}

.news-card__visual::before {
  position: absolute;
  inset: 18px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  content: "";
}

.news-card__visual::after {
  position: absolute;
  top: 28px;
  right: 34px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #ff7a35;
  box-shadow: 0 8px 16px rgba(8, 40, 50, 0.28);
  content: "";
}

.news-card__visual span {
  position: absolute;
  bottom: 29px;
  left: 43px;
  width: 56px;
  height: 68px;
  border: 4px solid var(--ink-strong);
  border-radius: 50% 50% 44% 44%;
  background: var(--orange);
  transform: rotate(-24deg);
}

.news-card__visual span::after {
  position: absolute;
  right: 18px;
  bottom: -38px;
  width: 13px;
  height: 42px;
  border-radius: 0 0 7px 7px;
  background: #d8b17c;
  box-shadow: inset 0 0 0 3px var(--ink-strong);
  content: "";
}

.news-card__body {
  padding: 25px 26px 28px;
}

.news-card__meta,
.article-header__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.news-card time,
.article-header time {
  color: #66797d;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.05em;
}

.demo-badge {
  width: max-content;
  padding: 4px 8px;
  border: 1px solid #e2bba6;
  border-radius: 999px;
  background: #fff5ee;
  color: #8f310c;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.news-card h3 {
  margin: 17px 0 10px;
  color: var(--ink-strong);
  font-size: 23px;
  letter-spacing: -0.025em;
  line-height: 1.22;
}

.news-card p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
}

.content-empty {
  margin-top: 44px;
  padding: 34px;
  border: 1px dashed #b8c4c1;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.5);
  color: var(--muted);
  font-weight: 650;
}

.contact-cta {
  padding-block: clamp(70px, 9vw, 110px);
  background: var(--teal);
  color: var(--white);
}

.contact-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 60px;
}

.contact-cta .eyebrow {
  color: #f3a47f;
}

.contact-cta h2 {
  max-width: 820px;
  margin: 0;
  color: var(--white);
  font-size: clamp(36px, 4.5vw, 58px);
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.contact-cta p:last-child {
  max-width: 700px;
  margin: 20px 0 0;
  color: #c3d4d7;
  font-size: 17px;
}

.page-hero {
  position: relative;
  padding-block: clamp(86px, 12vw, 148px);
  overflow: hidden;
  background: var(--sand);
}

.page-hero::after {
  position: absolute;
  top: -220px;
  right: -120px;
  width: 560px;
  height: 560px;
  border: 72px solid rgba(11, 59, 73, 0.045);
  border-radius: 50%;
  content: "";
}

.page-hero--news::before,
.page-hero--contacts::before {
  position: absolute;
  right: 14%;
  bottom: 18%;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 20px 38px rgba(169, 52, 8, 0.22);
  content: "";
}

.page-hero__inner {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  max-width: 900px;
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(48px, 6.3vw, 82px);
  font-weight: 820;
  letter-spacing: -0.055em;
  line-height: 0.99;
}

.page-hero__inner > p:last-child {
  max-width: 690px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.section--news-list {
  min-height: 420px;
  background: var(--paper);
}

.article-shell {
  padding: clamp(68px, 9vw, 116px) 0;
}

.article-header,
.article-body,
.article-footer {
  width: min(100% - 40px, 820px);
}

.breadcrumbs {
  margin-bottom: 54px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
}

.breadcrumbs a {
  color: var(--teal-soft);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--orange-dark);
}

.article-header h1 {
  margin: 22px 0 0;
  color: var(--ink-strong);
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 820;
  letter-spacing: -0.05em;
  line-height: 1.04;
}

.article-header > p {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.article-body {
  margin-top: 58px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
  color: #29484f;
  font-size: 18px;
  line-height: 1.78;
}

.article-body > *:first-child {
  margin-top: 0;
}

.article-body h2 {
  margin: 50px 0 16px;
  color: var(--ink-strong);
  font-size: 32px;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.article-body p,
.article-body ul,
.article-body ol {
  margin: 22px 0;
}

.article-body li {
  margin: 8px 0;
}

.article-body a {
  color: var(--orange-dark);
}

.article-footer {
  margin-top: 56px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.section--contacts {
  background: var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(460px, 1fr);
  align-items: start;
  gap: clamp(54px, 8vw, 112px);
}

.contact-info .section-heading h2,
.feedback-card h2 {
  font-size: clamp(34px, 4vw, 52px);
}

.contact-facts {
  margin-top: 48px;
  border-block: 1px solid var(--line);
}

.contact-fact {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 18px;
}

.contact-fact:last-child {
  border-bottom: 0;
}

.contact-fact__icon {
  color: var(--orange-dark);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.contact-fact h3 {
  margin: -4px 0 7px;
  color: var(--ink-strong);
  font-size: 17px;
}

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

.contact-fact a,
.contact-links a {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-top: 8px;
  color: var(--orange-dark);
  font-weight: 720;
  overflow-wrap: anywhere;
}

.feedback-card {
  padding: clamp(32px, 5vw, 54px);
  border: 1px solid rgba(16, 47, 56, 0.12);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.feedback-card__heading h2 {
  margin: 0;
  color: var(--ink-strong);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.feedback-card__heading > p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
}

.feedback-form {
  position: relative;
  margin-top: 36px;
  display: grid;
  gap: 22px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label,
.consent-field {
  color: #29484f;
  font-size: 13px;
  font-weight: 780;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #bdc9c7;
  border-radius: 11px;
  background: #fffefa;
  color: var(--ink-strong);
  font: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--teal-soft);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(21, 91, 105, 0.12);
}

.form-field small,
.form-privacy {
  color: #708085;
  font-size: 11px;
}

.consent-field {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  cursor: pointer;
}

.consent-field input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--teal);
}

.feedback-form .button {
  width: max-content;
  min-width: 190px;
  border: 0;
  cursor: pointer;
}

.feedback-form .button[disabled] {
  cursor: wait;
  opacity: 0.68;
}

.form-privacy {
  margin: -8px 0 0;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-alert {
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid;
  border-radius: 12px;
  display: grid;
  gap: 5px;
  font-size: 14px;
}

.form-alert--success {
  border-color: #9fc8af;
  background: #edf8f1;
  color: #174f2d;
}

.form-alert--error {
  border-color: #dfad9a;
  background: #fff2ed;
  color: #742708;
}

.form-alert ul {
  margin: 4px 0 0;
  padding-left: 20px;
}

@media (max-width: 980px) {
  .site-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    padding: 14px;
    border: 1px solid #d5dddb;
    border-radius: 0 0 18px 18px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 2px;
    background: var(--paper);
    box-shadow: 0 18px 32px rgba(8, 40, 50, 0.13);
  }

  .site-nav[data-open="true"] {
    display: flex;
  }

  .site-nav a {
    padding: 12px 14px;
    border-radius: 9px;
  }

  .site-nav a:hover {
    background: var(--sand);
  }

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

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

  .hero__copy {
    max-width: 780px;
  }

  .hero-card {
    width: min(100%, 560px);
    justify-self: end;
  }

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

  .feature-card {
    display: grid;
    grid-template-columns: 58px minmax(190px, 0.7fr) minmax(260px, 1fr);
    column-gap: 22px;
    align-items: start;
  }

  .feature-card h3 {
    margin: 0;
  }

  .feature-card > p {
    min-height: auto;
    grid-column: 2;
  }

  .feature-card ul {
    grid-column: 3;
    grid-row: 1 / span 2;
    margin: 0;
    padding: 0 0 0 24px;
    border-top: 0;
    border-left: 1px solid var(--line);
  }

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

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

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

  .contact-info {
    max-width: 720px;
  }
}

@media (max-width: 760px) {
  .section-shell,
  .site-header__inner,
  .site-footer__inner {
    width: min(100% - 28px, 1180px);
  }

  .site-header__inner {
    min-height: 68px;
  }

  .site-brand img {
    width: 46px;
    height: 46px;
  }

  .site-brand__copy small {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-block: 70px 86px;
  }

  .hero h1 {
    font-size: clamp(44px, 13vw, 68px);
  }

  .hero-card {
    width: 100%;
    transform: none;
  }

  .feature-card {
    padding: 26px;
    display: block;
  }

  .feature-card h3 {
    margin-top: 30px;
  }

  .feature-card > p {
    margin-top: 12px;
  }

  .feature-card ul {
    margin-top: 24px;
    padding: 20px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .principles-grid {
    gap: 46px;
  }

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

  .schedule-empty {
    min-height: 350px;
  }

  .section-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .contact-cta__inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .contact-cta__inner .button {
    width: max-content;
  }

  .article-header,
  .article-body,
  .article-footer {
    width: min(100% - 28px, 820px);
  }
}

@media (max-width: 480px) {
  .site-brand__copy {
    display: none;
  }

  .site-header__actions {
    gap: 7px;
  }

  .language-switcher a {
    min-width: 31px;
    padding-inline: 6px;
  }

  .hero__actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-card {
    padding: 20px;
    border-radius: 24px;
  }

  .hero-card__visual {
    height: 200px;
  }

  .status-card,
  .schedule-empty {
    padding: 28px;
    border-radius: 24px;
  }

  .site-footer__inner {
    padding-block: 26px;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer__nav {
    width: 100%;
    padding-block: 4px;
    border-block: 1px solid var(--line);
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .site-footer__nav a {
    padding-block: 10px;
  }

  .page-hero--news::before,
  .page-hero--contacts::before {
    right: 10%;
    bottom: 8%;
    width: 34px;
    height: 34px;
  }

  .feedback-card {
    padding: 27px 22px;
    border-radius: 24px;
  }

  .feedback-form .button,
  .contact-cta__inner .button {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Community platform */
.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;
}

.site-nav {
  gap: 20px;
}

.site-nav a {
  white-space: nowrap;
}

.site-footer__inner {
  min-height: 138px;
}

.site-footer__nav {
  max-width: 590px;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 8px;
}

.feature-card__link {
  position: relative;
  z-index: 1;
  width: max-content;
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 820;
  text-decoration: none;
}

.feature-card__link span {
  transition: transform 160ms ease;
}

.feature-card__link:hover span {
  transform: translateX(4px);
}

.section--directory,
.section--community-pulse {
  background: var(--paper);
}

.section--market-preview,
.section--form-zone,
.section--athletes {
  background: var(--sand);
}

.community-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.community-grid--home {
  margin-top: 52px;
}

.community-card,
.tournament-card {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(16, 47, 56, 0.13);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.community-card:hover,
.community-card:has(.community-card__overlay:focus-visible),
.tournament-card:hover,
.tournament-card:has(.community-card__overlay:focus-visible) {
  border-color: #aebdb9;
  box-shadow: 0 20px 52px rgba(8, 40, 50, 0.1);
  transform: translateY(-4px);
}

.community-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.community-card__media {
  position: relative;
  height: 214px;
  overflow: hidden;
  background: #d7e3e2;
}

.community-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-card__media--equipment {
  background:
    radial-gradient(circle at 72% 24%, #ff7a35 0 15px, transparent 16px),
    linear-gradient(135deg, transparent 45%, rgba(255,255,255,.65) 45% 46%, transparent 46%),
    #176578;
}

.community-card__media--equipment > span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 94px;
  height: 112px;
  border: 6px solid var(--ink-strong);
  border-radius: 50% 50% 46% 46%;
  background: var(--orange);
  transform: translate(-50%, -54%) rotate(-24deg);
}

.community-card__media--equipment > span::after {
  position: absolute;
  right: 31px;
  bottom: -59px;
  width: 20px;
  height: 66px;
  border-radius: 0 0 10px 10px;
  background: #d8b17c;
  box-shadow: inset 0 0 0 4px var(--ink-strong);
  content: "";
}

.community-card__badges {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.community-card__badges--inline {
  position: static;
}

.tag {
  width: max-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--teal);
  color: var(--white);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.tag--light {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--teal);
}

.tag--dark {
  background: rgba(255,255,255,.12);
  color: var(--white);
}

.community-card__body {
  padding: 25px;
}

.community-card__meta {
  margin: 0 0 10px;
  color: var(--orange-dark);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.community-card h3,
.tournament-card h3 {
  margin: 0;
  color: var(--ink-strong);
  font-size: 22px;
  letter-spacing: -.025em;
  line-height: 1.2;
}

.community-card__body > p:not(.community-card__meta) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.community-card__footer {
  margin-top: 22px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 7px;
}

.community-card__footer strong {
  color: var(--orange-dark);
  font-size: 16px;
}

.community-card__footer span {
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.community-card--play {
  padding: 22px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}

.community-card--play .community-card__body {
  padding: 0;
}

.date-tile,
.tournament-card__date {
  border-radius: 14px;
  background: var(--sand);
  color: var(--teal);
  text-align: center;
}

.date-tile {
  padding: 12px 8px;
  display: grid;
}

.date-tile strong {
  font-size: 30px;
  line-height: 1;
}

.date-tile span {
  margin-top: 5px;
  color: var(--orange-dark);
  font-size: 10px;
  font-weight: 850;
}

.filter-bar {
  margin-top: 34px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  background: var(--white);
}

.filter-bar select {
  min-width: 190px;
  min-height: 46px;
  padding: 9px 36px 9px 12px;
  border: 1px solid #bdc9c7;
  border-radius: 10px;
  background: #fffefa;
  color: var(--ink-strong);
  font: inherit;
  font-size: 14px;
}

.filter-bar .button {
  min-height: 46px;
}

.filter-bar .text-link {
  padding: 8px 10px;
}

.form-zone-grid {
  display: grid;
  grid-template-columns: minmax(280px, .62fr) minmax(560px, 1fr);
  align-items: start;
  gap: clamp(50px, 8vw, 110px);
}

.submission-card {
  padding: clamp(28px, 4.6vw, 48px);
  border: 1px solid rgba(16, 47, 56, .13);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.submission-card > .form-alert:first-child {
  margin-top: 0;
  margin-bottom: 28px;
}

.submission-form {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 21px 16px;
}

.form-field--wide {
  grid-column: 1 / -1;
}

.input-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 8px;
}

.submission-form .form-field input,
.submission-form .form-field select,
.submission-form .form-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #bdc9c7;
  border-radius: 11px;
  background: #fffefa;
  color: var(--ink-strong);
  font: inherit;
}

.submission-form .form-field textarea {
  resize: vertical;
}

.submission-form .form-field input:focus,
.submission-form .form-field select:focus,
.submission-form .form-field textarea:focus,
.filter-bar select:focus {
  border-color: var(--teal-soft);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(21, 91, 105, .12);
}

.detail-shell {
  padding-block: clamp(58px, 8vw, 100px);
}

.back-link {
  display: inline-flex;
  margin-bottom: 32px;
  color: var(--orange-dark);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.back-link--light {
  color: #f4b08e;
}

.demo-notice {
  margin-bottom: 26px;
  padding: 14px 18px;
  border: 1px solid #e2bba6;
  border-radius: 12px;
  background: #fff5ee;
  color: #742708;
  font-size: 13px;
  font-weight: 720;
}

.demo-notice--dark {
  border-color: rgba(244,176,142,.42);
  background: rgba(255,255,255,.08);
  color: #ffe0d0;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1fr);
  align-items: start;
  gap: clamp(42px, 7vw, 92px);
}

.detail-gallery {
  display: grid;
  gap: 14px;
}

.detail-gallery img,
.detail-placeholder {
  width: 100%;
  min-height: 440px;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.detail-placeholder--equipment {
  position: relative;
  background:
    radial-gradient(circle at 70% 23%, #ff7a35 0 20px, transparent 21px),
    linear-gradient(135deg, transparent 45%, rgba(255,255,255,.6) 45% 46%, transparent 46%),
    #176578;
}

.detail-placeholder--equipment span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 130px;
  height: 155px;
  border: 8px solid var(--ink-strong);
  border-radius: 50% 50% 46% 46%;
  background: var(--orange);
  transform: translate(-50%, -56%) rotate(-24deg);
}

.detail-placeholder--equipment span::after {
  position: absolute;
  right: 42px;
  bottom: -83px;
  width: 28px;
  height: 90px;
  border-radius: 0 0 14px 14px;
  background: #d8b17c;
  box-shadow: inset 0 0 0 6px var(--ink-strong);
  content: "";
}

.detail-copy h1 {
  margin: 20px 0 0;
  color: var(--ink-strong);
  font-size: clamp(39px, 5vw, 65px);
  letter-spacing: -.05em;
  line-height: 1.03;
}

.detail-copy > p {
  color: var(--muted);
}

.detail-price {
  margin: 24px 0;
  color: var(--orange-dark) !important;
  font-size: 28px;
  font-weight: 850;
}

.detail-description {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: #29484f;
  font-size: 17px;
  line-height: 1.75;
}

.contact-reveal {
  margin-top: 32px;
  padding: 22px;
  border-radius: 16px;
  display: grid;
  gap: 4px;
  background: var(--teal);
  color: var(--white);
}

.contact-reveal span {
  color: #bcd2d6;
  font-size: 11px;
  font-weight: 820;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-reveal strong {
  margin-top: 8px;
  font-size: 18px;
}

.contact-reveal a {
  width: max-content;
  max-width: 100%;
  color: #ffc4a8;
  overflow-wrap: anywhere;
}

.detail-grid--play {
  grid-template-columns: minmax(260px, .55fr) minmax(460px, 1fr);
}

.detail-date-panel {
  min-height: 440px;
  padding: 44px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--teal);
  color: var(--white);
  text-align: center;
  box-shadow: var(--shadow);
}

.detail-date-panel > span {
  color: #f3a47f;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.detail-date-panel strong {
  margin-top: 24px;
  font-size: 118px;
  line-height: .85;
}

.detail-date-panel b {
  margin-top: 16px;
  font-size: 22px;
}

.detail-date-panel time {
  margin-top: 28px;
  color: #ffc4a8;
  font-size: 30px;
  font-weight: 800;
}

.detail-facts {
  margin: 30px 0 0;
  border-block: 1px solid var(--line);
}

.detail-facts > div {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 16px;
}

.detail-facts > div:last-child {
  border-bottom: 0;
}

.detail-facts dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.detail-facts dd {
  margin: 0;
  color: var(--ink-strong);
  font-weight: 720;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.location-card {
  position: relative;
  min-height: 360px;
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
}

.location-card__marker {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 74px;
  height: 74px;
  border-radius: 50% 50% 50% 8px;
  background: var(--sand);
  transform: rotate(-45deg);
}

.location-card__marker span {
  position: absolute;
  inset: 24px;
  border: 6px solid var(--orange);
  border-radius: 50%;
}

.location-card .community-card__badges {
  min-height: 25px;
}

.location-card h2 {
  max-width: 72%;
  margin: 50px 0 0;
  color: var(--ink-strong);
  font-size: 30px;
  letter-spacing: -.035em;
  line-height: 1.12;
}

.location-card p {
  max-width: 620px;
  color: var(--muted);
}

.location-card__address {
  color: var(--orange-dark) !important;
  font-weight: 760;
}

.location-card small {
  display: block;
  margin-top: 22px;
  color: #8f310c;
}

.location-card .text-link {
  margin-top: 22px;
  display: inline-flex;
}

.tournament-list {
  margin-top: 42px;
  display: grid;
  gap: 14px;
}

.tournament-card {
  padding: 24px;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 26px;
}

.tournament-card__date {
  padding: 16px 10px;
  display: grid;
  align-content: center;
}

.tournament-card__date strong {
  font-size: 42px;
  line-height: 1;
}

.tournament-card__date span {
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 850;
}

.tournament-card__date small {
  color: var(--muted);
}

.tournament-card__body h3 {
  margin-top: 14px;
  font-size: 27px;
}

.tournament-card__body > p {
  margin: 9px 0 0;
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 780;
}

.tournament-card__facts {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px 22px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.tournament-detail__hero {
  padding-block: clamp(62px, 9vw, 112px);
  background: var(--teal);
  color: var(--white);
}

.tournament-detail__hero h1 {
  max-width: 1000px;
  margin: 24px 0 0;
  color: var(--white);
  font-size: clamp(46px, 6.4vw, 82px);
  letter-spacing: -.055em;
  line-height: 1;
}

.tournament-detail__hero > .section-shell > p {
  max-width: 780px;
  margin: 25px 0 0;
  color: #c4d7da;
  font-size: 19px;
}

.tournament-print {
  float: right;
  margin-top: -30px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.tournament-summary {
  margin: 42px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.16);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.tournament-summary dt {
  color: #9dbdc3;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.tournament-summary dd {
  margin: 7px 0 0;
  font-weight: 720;
}

.athlete-grid {
  margin: 42px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
}

.athlete-grid li {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(16,47,56,.12);
  border-radius: 14px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  background: var(--white);
}

.athlete-grid li > span {
  color: var(--orange-dark);
  font-size: 11px;
  font-weight: 850;
}

.athlete-grid strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.athlete-grid strong a,
.standings-table tbody th a,
.match-player a {
  color: inherit;
  text-decoration: none;
}

.athlete-grid strong a:hover,
.standings-table tbody th a:hover,
.match-player a:hover {
  color: var(--orange-dark);
  text-decoration: underline;
}

.athlete-grid small {
  color: var(--muted);
}

.section--bracket,
.section--media {
  background: var(--paper);
}

.group-block {
  margin-top: 46px;
}

.group-block > h3 {
  color: var(--teal);
  font-size: 24px;
}

.table-scroll,
.bracket-scroll {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}

.standings-table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
}

.standings-table th,
.standings-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.standings-table thead th {
  background: var(--teal);
  color: var(--white);
  font-size: 11px;
  letter-spacing: .04em;
}

.standings-table tbody th {
  text-align: left;
}

.match-list {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.match-list--wide {
  margin-top: 46px;
}

.match-card {
  min-width: 220px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(8,40,50,.05);
}

.match-card__meta {
  margin-bottom: 9px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.match-player {
  padding: 8px 9px;
  border-top: 1px solid #eef0ed;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 26px;
  align-items: center;
  gap: 8px;
  color: #496167;
  font-size: 13px;
}

.match-player span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-player span small {
  margin-left: 4px;
  font-size: 9px;
  font-weight: 850;
}

.match-player strong {
  text-align: center;
}

.match-player.is-winner {
  color: var(--ink-strong);
  font-weight: 820;
}

.match-player.is-winner strong {
  border-radius: 6px;
  background: var(--orange);
  color: var(--white);
}

.match-card > small {
  display: block;
  margin: 8px 8px 0;
  color: var(--muted);
  font-size: 10px;
}

.bracket-grid {
  min-width: 820px;
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  align-items: stretch;
  gap: 28px;
}

.bracket-round {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 18px;
}

.bracket-round > h3 {
  margin: 0 0 2px;
  color: var(--orange-dark);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.media-links {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.media-links a {
  min-height: 130px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--white);
  text-decoration: none;
}

.media-links span {
  color: var(--orange-dark);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.section--rating-run {
  background: var(--teal);
  color: var(--white);
}

.section--rating-run .section-heading h2 {
  color: var(--white);
}

.section--rating-run .eyebrow {
  color: #f4a27d;
}

.rating-run-summary {
  margin: 42px 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, .14);
}

.rating-run-summary > div {
  min-height: 116px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(5, 37, 45, .86);
}

.rating-run-summary dt {
  color: rgba(255, 255, 255, .6);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rating-run-summary dd {
  margin: 10px 0 0;
  color: var(--white);
  font-size: 24px;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.schedule-empty {
  justify-content: flex-start;
}

.schedule-empty > p {
  margin: 0 0 18px;
}

.schedule-item {
  width: 100%;
  padding: 16px 0;
  border-top: 1px solid rgba(16,47,56,.12);
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.schedule-item time {
  display: grid;
  color: var(--orange-dark);
  text-align: center;
}

.schedule-item time strong {
  font-size: 26px;
  line-height: 1;
}

.schedule-item time span {
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.schedule-item > span {
  color: var(--ink-strong);
  font-weight: 760;
  line-height: 1.3;
}

.schedule-empty > .text-link {
  margin-top: auto;
  padding-top: 22px;
}

/* Rating and player profiles */
.page-hero--rating {
  background:
    radial-gradient(circle at 82% 35%, rgba(245, 106, 40, .95) 0 6%, transparent 6.3%),
    linear-gradient(125deg, #092f3a 0%, #0d4a56 62%, #12616c 100%);
}

.rating-board-toolbar {
  margin-bottom: 34px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.rating-search {
  width: min(100%, 460px);
  display: flex;
  gap: 10px;
}

.rating-search input {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 15px;
  background: var(--white);
  color: var(--ink-strong);
  font: inherit;
}

.rating-board {
  margin: 0;
  padding: 0;
  display: grid;
  list-style: none;
}

.rating-board > li {
  min-height: 92px;
  padding: 15px 22px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 44px 52px minmax(220px, 1fr) 90px 90px 110px;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, .72);
}

.rating-board > li:first-child {
  border-top: 0;
  border-radius: 22px 22px 0 0;
}

.rating-board > li:last-child {
  border-radius: 0 0 22px 22px;
}

.rating-board > li:nth-child(-n+3) {
  background: linear-gradient(90deg, rgba(245, 106, 40, .09), rgba(255, 255, 255, .92) 45%);
}

.rating-board__rank {
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .05em;
}

.player-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink-strong);
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
}

.rating-board > li:nth-child(1) .player-avatar {
  background: var(--orange);
}

.rating-board__identity {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.rating-board__identity a {
  overflow: hidden;
  color: var(--ink-strong);
  font-size: 17px;
  font-weight: 820;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rating-board__identity a:hover,
.rating-board__identity a:focus-visible,
.rating-ledger a:hover,
.rating-ledger a:focus-visible {
  color: var(--orange-dark);
  text-decoration: underline;
}

.rating-board__identity small {
  color: var(--muted);
  font-size: 12px;
}

.rating-board__record,
.rating-board__delta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  text-align: right;
}

.rating-board > li > strong {
  color: var(--ink-strong);
  font-size: 26px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.rating-positive {
  color: #087a55 !important;
}

.rating-negative {
  color: #b33b2e !important;
}

.rating-method {
  margin-top: 28px;
  padding: 22px 24px;
  border-left: 4px solid var(--orange);
  border-radius: 0 14px 14px 0;
  background: rgba(255, 255, 255, .62);
}

.rating-method strong {
  color: var(--ink-strong);
}

.rating-method p {
  max-width: 900px;
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

/* Data-led home page */
.hero-card--ranking {
  min-height: 410px;
  padding: 34px;
  transform: rotate(1deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-card__heading {
  position: relative;
  z-index: 1;
  padding-bottom: 19px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-card__heading > a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  text-decoration: none;
}

.hero-ranking {
  position: relative;
  z-index: 1;
  margin: 7px 0 0 !important;
  padding: 0 !important;
  list-style: none;
}

.hero-card--ranking .hero-ranking li {
  min-height: 73px;
  padding: 12px 0;
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.hero-card--ranking .hero-ranking li::before {
  display: none;
}

.hero-ranking li > span {
  color: #f4a27d;
  font-size: 11px;
  font-weight: 900;
}

.hero-ranking a {
  overflow: hidden;
  color: var(--white);
  font-weight: 780;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-ranking strong {
  color: var(--white);
  font-size: 21px;
  font-variant-numeric: tabular-nums;
}

.hero-card__all {
  position: relative;
  z-index: 1;
  width: max-content;
  margin-top: 22px;
  color: #f4b08e;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.section--calendar-home {
  border-block: 1px solid rgba(16, 47, 56, .08);
  background: var(--white);
}

.tournament-list--home {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tournament-list--home .tournament-card {
  min-height: 100%;
  grid-template-columns: 72px minmax(0, 1fr);
  padding: 22px;
}

.tournament-list--home .tournament-card__date strong {
  font-size: 38px;
}

.section--scoreboard {
  position: relative;
  background: var(--ink-strong);
  color: var(--white);
}

.section--scoreboard::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 88% 5%, rgba(232, 93, 36, .18), transparent 30%);
  content: "";
}

.scoreboard-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: 22px;
}

.scoreboard-panel {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 28px;
  background: rgba(255, 255, 255, .045);
}

.scoreboard-panel .section-heading h2 {
  color: var(--white);
  font-size: clamp(28px, 3vw, 42px);
}

.section-heading--compact .eyebrow {
  margin-bottom: 8px;
  color: #f4a27d;
}

.scoreboard-panel .text-link {
  color: #f4b08e;
  white-space: nowrap;
}

.home-rating-list {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.home-rating-list li {
  min-height: 67px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, .11);
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
}

.home-rating-list li > span {
  color: #f4a27d;
  font-size: 10px;
  font-weight: 900;
}

.home-rating-list a {
  min-width: 0;
  display: grid;
  text-decoration: none;
}

.home-rating-list a strong {
  overflow: hidden;
  color: var(--white);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-rating-list a small {
  color: rgba(255, 255, 255, .52);
}

.home-rating-list li > b {
  color: var(--white);
  font-size: 21px;
  font-variant-numeric: tabular-nums;
}

.home-results {
  margin-top: 30px;
  display: grid;
}

.home-results article {
  min-height: 82px;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, .11);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, .94fr);
  align-items: center;
  gap: 18px;
}

.home-results article > div {
  min-width: 0;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
}

.home-results time {
  color: #f4a27d;
  font-size: 11px;
  font-weight: 850;
}

.home-results a {
  overflow: hidden;
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-results p {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .67);
  font-size: 12px;
}

.home-results p span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-results p span:last-child {
  text-align: right;
}

.home-results p .is-winner {
  color: var(--white);
  font-weight: 800;
}

.home-results p b {
  min-width: 48px;
  color: var(--white);
  font-size: 19px;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.section--locations-home {
  background: var(--sand);
}

.player-profile__hero {
  padding: 48px 0 58px;
  background: linear-gradient(130deg, #082d37, #0d515d 70%, #12636e);
  color: var(--white);
}

.player-profile__identity {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.player-avatar--large {
  width: 92px;
  height: 92px;
  border: 2px solid rgba(255, 255, 255, .25);
  background: var(--orange);
  font-size: 38px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, .18);
}

.player-profile__identity h1 {
  margin: 4px 0 7px;
  color: var(--white);
  font-size: clamp(34px, 6vw, 66px);
  line-height: .98;
}

.player-profile__identity p {
  margin: 0;
  color: rgba(255, 255, 255, .74);
}

.rating-hero-stats {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, .16);
}

.rating-hero-stats > div {
  min-height: 112px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(5, 35, 43, .74);
}

.rating-hero-stats span {
  color: rgba(255, 255, 255, .62);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.rating-hero-stats strong {
  color: var(--white);
  font-size: 32px;
  font-variant-numeric: tabular-nums;
}

.rating-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, .7fr);
  gap: 60px;
  align-items: start;
}

.rating-timeline {
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  list-style: none;
}

.rating-timeline > li {
  min-height: 96px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 18px;
}

.rating-timeline > li > span {
  position: relative;
  width: 12px;
  height: 12px;
  margin-top: 8px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 1px var(--orange);
}

.rating-timeline > li:not(:last-child) > span::after {
  position: absolute;
  top: 12px;
  left: 2px;
  width: 2px;
  height: 82px;
  background: var(--line);
  content: "";
}

.rating-timeline > li > div {
  padding: 0 0 24px;
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
}

.rating-timeline time {
  color: var(--muted);
  font-size: 12px;
}

.rating-timeline a {
  color: var(--ink-strong);
  font-weight: 780;
  text-decoration: none;
}

.rating-timeline small {
  grid-column: 2;
  color: var(--muted);
}

.rating-timeline strong {
  grid-column: 3;
  grid-row: 1 / span 2;
  color: var(--ink-strong);
  font-size: 24px;
  font-variant-numeric: tabular-nums;
}

.rating-timeline__initial > div {
  color: var(--muted);
}

.player-stat-card {
  position: sticky;
  top: 100px;
  padding: 28px;
  border-radius: 22px;
  background: var(--ink-strong);
  color: var(--white);
}

.player-stat-card > p {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, .62);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.player-stat-card dl {
  margin: 0;
}

.player-stat-card dl > div {
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.player-stat-card dt {
  color: rgba(255, 255, 255, .68);
}

.player-stat-card dd {
  margin: 0;
  color: var(--white);
  font-size: 24px;
  font-weight: 850;
}

.rating-ledger {
  margin-top: 34px;
  border-radius: 18px;
  background: var(--white);
}

.rating-ledger table {
  width: 100%;
  border-collapse: collapse;
}

.rating-ledger th,
.rating-ledger td {
  padding: 15px 17px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  text-align: left;
  vertical-align: middle;
}

.rating-ledger th {
  color: var(--ink-strong);
  font-size: 10px;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.rating-ledger a {
  color: var(--ink-strong);
  font-weight: 720;
  text-decoration: none;
}

.rating-ledger td:last-child,
.rating-ledger th:last-child,
.rating-ledger td:nth-last-child(2),
.rating-ledger th:nth-last-child(2) {
  text-align: right;
}

.page-hero--marketplace::before,
.page-hero--play::before,
.page-hero--tournaments::before,
.page-hero--locations::before {
  position: absolute;
  right: 14%;
  bottom: 18%;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 20px 38px rgba(169,52,8,.22);
  content: "";
}

@media (max-width: 1100px) {
  .site-nav {
    gap: 13px;
  }

  .site-nav a {
    font-size: 13px;
  }

  .site-brand__copy small {
    display: none;
  }
}

@media (max-width: 980px) {
  .site-brand__copy small {
    display: block;
  }

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

  .form-zone-grid,
  .detail-grid,
  .detail-grid--play {
    grid-template-columns: 1fr;
  }

  .form-zone-grid > .section-heading {
    max-width: 700px;
  }

  .detail-gallery,
  .detail-date-panel {
    max-width: 680px;
  }

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

  .rating-overview-grid {
    grid-template-columns: 1fr;
  }

  .player-stat-card {
    position: static;
  }

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

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

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

@media (max-width: 760px) {
  .community-grid,
  .location-grid,
  .athlete-grid,
  .match-list,
  .media-links {
    grid-template-columns: 1fr;
  }

  .submission-form {
    grid-template-columns: 1fr;
  }

  .form-field--wide {
    grid-column: auto;
  }

  .tournament-card {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 16px;
  }

  .tournament-summary {
    grid-template-columns: 1fr;
  }

  .detail-gallery img,
  .detail-placeholder,
  .detail-date-panel {
    min-height: 360px;
  }

  .detail-date-panel strong {
    font-size: 94px;
  }

  .location-card h2 {
    max-width: 78%;
    font-size: 26px;
  }

  .rating-board-toolbar,
  .rating-search {
    align-items: stretch;
    flex-direction: column;
  }

  .rating-board > li {
    grid-template-columns: 34px 44px minmax(0, 1fr) 76px;
    gap: 10px;
  }

  .rating-board__record,
  .rating-board__delta {
    display: none;
  }

  .rating-board > li > strong {
    font-size: 21px;
  }

  .player-avatar {
    width: 42px;
    height: 42px;
  }

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

  .rating-timeline > li > div {
    grid-template-columns: 1fr auto;
  }

  .rating-timeline time {
    grid-column: 1;
  }

  .rating-timeline a,
  .rating-timeline small {
    grid-column: 1;
  }

  .rating-timeline strong {
    grid-column: 2;
    grid-row: 1 / span 3;
  }

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

  .home-results article {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .tournament-print {
    float: none;
    margin: 18px 0 0;
  }
}

@media (max-width: 480px) {
  .filter-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .filter-bar label,
  .filter-bar select,
  .filter-bar .text-link {
    width: 100%;
  }

  .community-card--play {
    grid-template-columns: 62px minmax(0, 1fr);
    padding: 18px;
  }

  .tournament-card {
    padding: 17px;
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .tournament-card__body h3 {
    font-size: 21px;
  }

  .submission-card {
    padding: 26px 20px;
    border-radius: 24px;
  }

  .detail-placeholder--equipment span {
    transform: translate(-50%, -60%) rotate(-24deg) scale(.78);
  }

  .detail-facts > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .page-hero--marketplace::before,
  .page-hero--play::before,
  .page-hero--tournaments::before,
  .page-hero--locations::before {
    right: 10%;
    bottom: 8%;
    width: 34px;
    height: 34px;
  }

  .player-profile__identity {
    align-items: flex-start;
    flex-direction: column;
  }

  .player-avatar--large {
    width: 72px;
    height: 72px;
    font-size: 28px;
  }

  .rating-hero-stats strong {
    font-size: 25px;
  }

  .hero-card--ranking,
  .scoreboard-panel {
    padding: 24px 20px;
  }

  .rating-run-summary {
    grid-template-columns: 1fr;
  }
}

@media print {
  .site-header,
  .site-footer,
  .back-link,
  .demo-notice,
  .tournament-print,
  .contact-cta {
    display: none !important;
  }

  body,
  .site-main,
  .tournament-detail__hero,
  .section,
  .section--rating-run {
    background: #fff !important;
    color: #111 !important;
  }

  .tournament-detail__hero {
    padding-block: 24px;
  }

  .tournament-detail__hero h1,
  .tournament-detail__hero > .section-shell > p,
  .section-heading h2,
  .section--rating-run .section-heading h2,
  .rating-run-summary dd {
    color: #111 !important;
  }

  .section {
    padding-block: 28px;
  }

  .match-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bracket-scroll,
  .table-scroll {
    overflow: visible;
  }

  .match-card,
  .athlete-grid li,
  .rating-run-summary > div {
    break-inside: avoid;
    box-shadow: none;
    background: #fff !important;
    color: #111 !important;
  }

  .rating-run-summary {
    border-color: #bbb;
    background: #bbb;
  }

  a {
    text-decoration: none !important;
  }
}
