:root {
  --bg: #070f21;
  --bg-alt: #0d1a36;
  --panel: rgba(15, 28, 54, 0.78);
  --panel-strong: rgba(18, 35, 67, 0.95);
  --panel-soft: rgba(255, 255, 255, 0.06);
  --text: #eef4ff;
  --muted: #a9bad9;
  --line: rgba(150, 180, 231, 0.25);
  --line-strong: rgba(178, 204, 248, 0.45);
  --accent-blue: #3fc4ff;
  --accent-red: #ff6178;
  --accent-green: #5ed998;
  --accent-gold: #ffcf72;
  --accent-violet: #9286ff;
  --radius-xl: 26px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 18px 42px rgba(2, 10, 28, 0.5);
  --shadow-hard: 0 26px 60px rgba(0, 4, 14, 0.66);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% -10%, rgba(63, 196, 255, 0.24), transparent 38%),
    radial-gradient(circle at 90% 0%, rgba(255, 97, 120, 0.2), transparent 40%),
    radial-gradient(circle at 86% 88%, rgba(94, 217, 152, 0.12), transparent 42%),
    linear-gradient(165deg, var(--bg) 0%, var(--bg-alt) 54%, #050b19 100%);
  position: relative;
  overflow-x: hidden;
  overflow-x: clip;
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: 0;
}

body::before {
  inset: -34vmax;
  background:
    radial-gradient(circle at 12% 24%, rgba(63, 196, 255, 0.24) 0, rgba(63, 196, 255, 0) 46%),
    radial-gradient(circle at 84% 14%, rgba(255, 97, 120, 0.2) 0, rgba(255, 97, 120, 0) 42%),
    radial-gradient(circle at 75% 78%, rgba(94, 217, 152, 0.2) 0, rgba(94, 217, 152, 0) 42%);
  filter: blur(4px);
  animation: driftField 20s ease-in-out infinite alternate;
}

body::after {
  inset: 0;
  opacity: 0.52;
  background-image:
    linear-gradient(120deg, rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, 0.16) 50%, rgba(255, 255, 255, 0) 58%),
    repeating-linear-gradient(90deg, rgba(164, 186, 230, 0.09) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(0deg, rgba(120, 144, 190, 0.08) 0 1px, transparent 1px 88px);
  background-size: 210% 180%, 100% 100%, 100% 100%;
  animation: shimmerGrid 28s linear infinite;
}

main,
.footer {
  position: relative;
  z-index: 2;
}

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

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

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.siteHeader {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 13, 30, 0.78);
  backdrop-filter: blur(14px);
}

.azRibbon {
  height: 7px;
  background:
    linear-gradient(
      90deg,
      var(--accent-blue) 0 33.33%,
      var(--accent-red) 33.33% 66.66%,
      var(--accent-green) 66.66% 100%
    );
}

.topNav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.brandLogo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 20px rgba(5, 17, 39, 0.55);
}

.brandText {
  display: grid;
  line-height: 1.16;
}

.brandTitle {
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.01em;
}

.brandSub {
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}

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

.navLinks a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  font-weight: 700;
  color: #c6d6f4;
  padding: 9px 12px;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: 180ms ease;
}

.navLinks a:hover {
  color: #f6f9ff;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.14);
}

.navLinks a.active {
  color: #07162b;
  border-color: transparent;
  background: linear-gradient(140deg, var(--accent-blue), #a6f0ff);
  box-shadow: 0 10px 24px rgba(63, 196, 255, 0.32);
}

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

.langSwitch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.langBtn {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #bad0f7;
  cursor: pointer;
  padding: 7px 9px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: 180ms ease;
}

.langBtn:hover {
  color: #f3f8ff;
}

.langBtn.active {
  color: #08182d;
  background: linear-gradient(140deg, #d9f4ff, #a4e4ff);
}

.btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-soft);
  color: #f2f7ff;
  padding: 10px 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: 200ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  box-shadow: 0 12px 28px rgba(0, 7, 24, 0.5);
}

.btnPrimary {
  border-color: transparent;
  color: #071528;
  background: linear-gradient(135deg, var(--accent-blue), #8edcff 48%, var(--accent-gold));
}

.btnPrimary:hover {
  box-shadow: 0 16px 32px rgba(63, 196, 255, 0.36);
}

.btnGhost {
  background: rgba(255, 255, 255, 0.04);
}

.menuToggle {
  display: none;
}

.mobilePanel {
  display: none;
  padding: 8px 0 14px;
}

.mobilePanel a {
  display: flex;
  align-items: center;
  margin-bottom: 7px;
  border-radius: 12px;
  padding: 11px 14px;
  min-height: 42px;
  color: #d6e3fc;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 700;
}

.mobilePanel a.active {
  color: #071528;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent-blue), #a5f0ff);
}

main {
  padding: 34px 0 62px;
  overflow-x: clip;
}

.homePage main {
  isolation: isolate;
}

.homePage main > .container {
  position: relative;
  z-index: 2;
}

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

.coachBackdrop::before {
  content: "";
  position: absolute;
  inset: -8%;
  background:
    linear-gradient(145deg, rgba(7, 10, 16, 0.86), rgba(8, 12, 18, 0.56)),
    radial-gradient(circle at 24% 16%, rgba(241, 201, 123, 0.28), rgba(241, 201, 123, 0) 46%),
    radial-gradient(circle at 80% 72%, rgba(130, 214, 255, 0.18), rgba(130, 214, 255, 0) 48%),
    url("gold-chess-1.jpg"),
    url("gold-chess-2.jpg"),
    url("gold-chess-3.jpg");
  background-size: auto, auto, auto, cover, cover, cover;
  background-position: center, center, center, 24% 42%, 74% 28%, 70% 78%;
  background-repeat: no-repeat;
  filter: saturate(1.06) contrast(1.08);
  opacity: 0.42;
}

.coachBackdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(11, 20, 43, 0), rgba(5, 10, 23, 0.72) 75%);
}

.coachShot {
  --shift: 0px;
  --rot: 0deg;
  position: absolute;
  width: clamp(170px, 19vw, 260px);
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  border: 1px solid rgba(177, 207, 255, 0.26);
  overflow: hidden;
  background: rgba(5, 14, 30, 0.52);
  box-shadow: 0 16px 34px rgba(1, 7, 22, 0.6);
  opacity: 0.2;
  transform: translate3d(0, calc(var(--shift) * -1), 0) rotate(var(--rot));
  animation: shotHover 16s ease-in-out infinite;
}

.coachShot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 12, 24, 0.06), rgba(3, 12, 24, 0.68));
}

.coachShot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.06);
}

.coachShotA {
  top: 8%;
  left: -8%;
  --rot: -8deg;
  animation-delay: -2.5s;
}

.coachShotB {
  top: 34%;
  right: -8%;
  --rot: 8deg;
  animation-delay: -8s;
}

.coachShotC {
  bottom: 5%;
  left: -6%;
  --rot: -5deg;
  animation-delay: -12s;
}

.chessGlyph {
  --shift: 0px;
  --rot: 0deg;
  position: absolute;
  z-index: 2;
  color: rgba(221, 236, 255, 0.24);
  font-family: "Inter", "Segoe UI Symbol", "Noto Sans Symbols", sans-serif;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  text-shadow: 0 8px 22px rgba(2, 8, 24, 0.5);
  transform: translate3d(0, calc(var(--shift) * -1), 0) rotate(var(--rot));
  animation: glyphPulse 15s ease-in-out infinite;
}

.glyphKnight {
  top: 18%;
  right: 9%;
  --rot: 7deg;
  font-size: clamp(52px, 6vw, 94px);
}

.glyphQueen {
  bottom: 18%;
  right: 19%;
  --rot: -5deg;
  font-size: clamp(44px, 5vw, 78px);
  animation-delay: -4s;
}

.glyphRook {
  top: 59%;
  left: 12%;
  --rot: 4deg;
  font-size: clamp(42px, 4.6vw, 72px);
  animation-delay: -8s;
}

h1,
h2,
h3 {
  margin: 0 0 10px;
  color: var(--text);
}

h1 {
  font-size: clamp(31px, 4.3vw, 51px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(18px, 2.1vw, 23px);
}

p {
  margin: 0 0 12px;
  line-height: 1.65;
  color: var(--muted);
}

.pageIntro {
  max-width: 70ch;
  font-size: 17px;
  color: #cfddf7;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 14px;
  margin-bottom: 14px;
  border: 1px solid rgba(170, 197, 246, 0.36);
  background:
    linear-gradient(120deg, rgba(63, 196, 255, 0.22), rgba(146, 134, 255, 0.22));
  color: #e8f2ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.heroLanding {
  grid-template-columns: 1.2fr 0.8fr;
}

.card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(31, 51, 90, 0.68) 0%, rgba(12, 25, 50, 0.9) 100%);
  box-shadow: var(--shadow-soft);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0) 38%);
  pointer-events: none;
}

.card::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -120px;
  bottom: -140px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(63, 196, 255, 0.22), rgba(63, 196, 255, 0));
  pointer-events: none;
}

.card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hard);
}

.cardCompact {
  padding: 18px;
  border-radius: var(--radius-lg);
}

.cards {
  display: grid;
  gap: 10px;
}

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

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

.heroContent {
  min-height: 100%;
}

.heroActions {
  margin-top: 14px;
}

.buttonRow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.buttonRow .btn {
  min-height: 46px;
  text-align: center;
  justify-content: center;
}

.heroMedia {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.heroPhotoFrame {
  position: relative;
  margin-top: 10px;
  border-radius: 20px;
  padding: 8px;
  border: 1px solid rgba(183, 207, 251, 0.35);
  background:
    linear-gradient(140deg, rgba(63, 196, 255, 0.22), rgba(146, 134, 255, 0.2));
  box-shadow: 0 18px 36px rgba(1, 8, 25, 0.5);
  overflow: hidden;
}

.heroPhotoFrame::before,
.photoTile::before {
  content: "";
  position: absolute;
  inset: -45%;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(190, 240, 255, 0.4), rgba(190, 240, 255, 0) 45%);
  transition: opacity 220ms ease;
}

.heroPhotoFrame.is-tracking::before,
.photoTile.is-tracking::before {
  opacity: 1;
}

.heroPhotoFrame::after {
  content: "";
  position: absolute;
  inset: -120% auto auto -45%;
  width: 45%;
  height: 260%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0));
  transform: rotate(24deg);
  animation: frameSweep 6s ease-in-out infinite;
}

.heroPhotoFrame > *,
.photoTile > * {
  position: relative;
  z-index: 2;
}

.heroPortrait {
  width: 100%;
  max-height: 620px;
  border-radius: 14px;
  object-fit: cover;
}

.heroMeta {
  margin: 10px 0 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #d7e5ff;
}

.kpiGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin: 14px 0;
}

.kpiCard {
  border-radius: 14px;
  border: 1px solid rgba(170, 198, 244, 0.26);
  background:
    linear-gradient(170deg, rgba(44, 69, 116, 0.62) 0%, rgba(18, 33, 63, 0.85) 100%);
  padding: 11px 10px;
}

.kpiValue {
  font-size: 24px;
  font-weight: 900;
  color: #f1f7ff;
}

.kpiLabel {
  font-size: 12px;
  font-weight: 700;
  color: #bed1f0;
}

.sectionHead {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  margin: 30px 0 12px;
}

.sectionHead h2 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sectionHead h2::before {
  content: "♞";
  font-size: 0.8em;
  color: rgba(255, 207, 114, 0.9);
  text-shadow: 0 6px 16px rgba(1, 8, 24, 0.56);
}

.js-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 620ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.sectionKicker {
  font-size: 13px;
  font-weight: 700;
  color: #bdd0f4;
}

.notice {
  padding: 11px 13px;
  border-radius: 13px;
  border: 1px solid rgba(255, 208, 135, 0.34);
  background:
    linear-gradient(120deg, rgba(255, 207, 114, 0.18), rgba(255, 97, 120, 0.14));
  color: #f7e7c4;
}

.small {
  font-size: 14px;
}

.muted {
  color: var(--muted);
}

.bulletList {
  margin: 0;
  padding-left: 19px;
  color: var(--muted);
}

.bulletList li {
  margin-bottom: 8px;
}

.timeline {
  display: grid;
  gap: 11px;
}

.timelineItem {
  border-radius: 14px;
  border: 1px solid rgba(168, 196, 240, 0.24);
  background: rgba(255, 255, 255, 0.04);
  padding: 12px;
}

.timelineDate {
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #d2e3ff;
}

.tableWrap {
  margin-top: 10px;
  border-radius: 14px;
  border: 1px solid var(--line);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(255, 255, 255, 0.03);
}

.table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
}

.table th,
.table td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid rgba(157, 184, 232, 0.18);
  vertical-align: top;
}

.table th {
  color: #edf5ff;
  font-size: 13px;
  background:
    linear-gradient(140deg, rgba(63, 196, 255, 0.16), rgba(146, 134, 255, 0.14));
}

.table td {
  color: #bfd1f1;
}

.table tr:last-child td {
  border-bottom: 0;
}

.table tr.isHidden {
  display: none;
}

.filterInput,
.input,
.textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #ebf3ff;
  padding: 12px;
  outline: 0;
}

select option {
  color: #0b1a35;
}

.filterInput:focus,
.input:focus,
.textarea:focus,
select:focus {
  border-color: rgba(165, 200, 255, 0.64);
  box-shadow: 0 0 0 4px rgba(63, 196, 255, 0.2);
}

.textarea {
  min-height: 120px;
  resize: vertical;
}

label {
  display: inline-block;
  margin-bottom: 5px;
  font-size: 13px;
  color: #d4e4ff;
  font-weight: 700;
}

.form {
  display: grid;
  gap: 10px;
}

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

.contactCard {
  border-radius: 14px;
  border: 1px solid rgba(168, 197, 242, 0.25);
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.contactLabel {
  font-size: 12px;
  color: #bed2f4;
  font-weight: 700;
}

.contactValue {
  margin-top: 6px;
}

.copyBtn {
  margin-top: 8px;
  padding: 8px 11px;
  font-size: 12px;
}

.motifBand {
  position: relative;
  height: 34px;
  margin: 12px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(173, 199, 241, 0.3);
  background:
    linear-gradient(120deg, rgba(7, 18, 36, 0.56), rgba(7, 18, 36, 0.28)),
    url("gold-chess-2.jpg") center 38%/cover no-repeat;
}

.motifBand::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(185, 214, 255, 0.2) 0 18px,
      rgba(8, 22, 45, 0.06) 18px 36px
    );
  mix-blend-mode: screen;
  opacity: 0.24;
}

.motifBand::after {
  content: "♞  ♟  ♜  ♛  ♚";
  position: absolute;
  inset: 50% 0 auto 0;
  transform: translateY(-50%);
  text-align: center;
  letter-spacing: 14px;
  font-size: 13px;
  color: rgba(232, 244, 255, 0.64);
}

.photoShowcase {
  position: relative;
}

.photoShowcase::after {
  display: none;
}

.galleryIntro {
  margin-bottom: 13px;
}

.photoMosaicGrid {
  display: grid;
  gap: 11px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 170px;
}

.photoTile {
  margin: 0;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(181, 205, 244, 0.25);
  box-shadow: 0 10px 24px rgba(1, 8, 24, 0.5);
  background: rgba(255, 255, 255, 0.03);
  animation: tileLift 9s ease-in-out infinite;
}

.photoTileMain {
  grid-column: span 2;
  grid-row: span 2;
}

.photoTile:nth-child(2) {
  animation-delay: -1.2s;
}

.photoTile:nth-child(3) {
  animation-delay: -2.3s;
}

.photoTile:nth-child(4) {
  animation-delay: -3.5s;
}

.photoTile:nth-child(5) {
  animation-delay: -4.7s;
}

.photoTile:nth-child(6) {
  grid-column: span 2;
  animation-delay: -5.8s;
}

.photoTile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease, filter 240ms ease;
}

.photoTile:hover img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.02);
}

.sourceNote {
  margin-top: 12px;
  font-size: 12px;
  color: #9fb3d8;
}

.sourceNote a {
  text-decoration: underline;
}

.footer {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  background: rgba(6, 13, 30, 0.72);
  backdrop-filter: blur(10px);
}

.footerInner {
  padding: 20px 0 30px;
}

.footerGrid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
}

.footerLinks {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footerLinks a {
  font-size: 14px;
  color: #cad9f6;
}

.footerLinks a:hover {
  color: #f0f7ff;
}

.trademarkLine {
  margin: 12px 0 0;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #9db4df;
}

.btn:focus-visible,
.langBtn:focus-visible,
.filterInput:focus-visible,
.input:focus-visible,
.textarea:focus-visible,
select:focus-visible {
  outline: 2px solid rgba(166, 229, 255, 0.9);
  outline-offset: 2px;
}

@keyframes driftField {
  0% {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
  50% {
    transform: translate3d(1.6%, 1.2%, 0) scale(1.05);
  }
  100% {
    transform: translate3d(-1.4%, 1.3%, 0) scale(1.02);
  }
}

@keyframes shimmerGrid {
  from {
    background-position: 120% 0, 0 0, 0 0;
  }
  to {
    background-position: -35% 0, 0 0, 0 0;
  }
}

@keyframes frameSweep {
  0%,
  60%,
  100% {
    transform: translateX(-180%) rotate(24deg);
    opacity: 0;
  }
  10%,
  40% {
    transform: translateX(300%) rotate(24deg);
    opacity: 0.45;
  }
}

@keyframes tileLift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes shotHover {
  0%,
  100% {
    margin-top: 0;
  }
  50% {
    margin-top: -7px;
  }
}

@keyframes glyphPulse {
  0%,
  100% {
    opacity: 0.34;
  }
  50% {
    opacity: 0.16;
  }
}

@media (max-width: 1120px) {
  .heroLanding {
    grid-template-columns: 1fr;
  }

  .heroMedia {
    width: min(100%, 760px);
    margin-inline: auto;
  }
}

@media (max-width: 980px) {
  body::before {
    animation: none;
    opacity: 0.72;
  }

  body::after {
    animation: none;
    opacity: 0.3;
    background-size: 140% 140%, 100% 100%, 100% 100%;
  }

  .heroPhotoFrame::after,
  .photoTile,
  .coachShot,
  .chessGlyph {
    animation: none;
  }

  .coachBackdrop {
    display: none;
  }

  .navLinks,
  .navRight .btnPrimary {
    display: none;
  }

  .menuToggle {
    display: inline-flex;
  }

  .mobilePanel.show {
    display: block;
  }

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

  .grid2,
  .contactGrid,
  .footerGrid {
    grid-template-columns: 1fr;
  }

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

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

  .sectionHead h2::before {
    font-size: 0.72em;
  }
}

@media (max-width: 760px) {
  main {
    padding-top: 24px;
  }

  .heroLanding .heroMedia {
    order: -1;
    width: min(100%, 340px);
    margin-inline: auto;
  }

  .heroLanding .heroPhotoFrame {
    margin-top: 6px;
    padding: 6px;
  }

  .heroLanding .heroPortrait {
    max-height: min(42vh, 280px);
    object-position: top center;
  }

  .heroLanding .heroMeta {
    font-size: 11px;
    letter-spacing: 0.04em;
  }

  .heroLanding .heroMedia h2,
  .heroLanding .heroMedia p,
  .heroLanding .heroMeta {
    text-align: center;
  }

  h1 {
    font-size: clamp(29px, 8.2vw, 42px);
  }

  .brandSub {
    display: none;
  }

  .hero,
  .grid3,
  .grid2,
  .contactGrid {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 17px;
  }

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

  .buttonRow .btn {
    width: 100%;
  }

  .photoMosaicGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 180px;
  }

  .table {
    min-width: 560px;
  }

  .table th,
  .table td {
    padding: 10px;
  }

  .photoTileMain,
  .photoTile:nth-child(6) {
    grid-column: span 2;
  }
}

@media (hover: none), (pointer: coarse) {
  .btn:hover {
    transform: none;
    border-color: var(--line);
    box-shadow: none;
  }

  .btnPrimary:hover {
    box-shadow: none;
  }

  .card:hover {
    transform: none;
    border-color: var(--line);
    box-shadow: var(--shadow-soft);
  }

  .photoTile:hover img {
    transform: none;
    filter: none;
  }
}

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

  .photoMosaicGrid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .photoTileMain,
  .photoTile:nth-child(6) {
    grid-column: auto;
    grid-row: span 1;
  }

  .langSwitch {
    gap: 1px;
  }

  .langBtn {
    padding: 7px;
  }
}

/* Chess-first visual refresh inspired by modern chess template galleries */
:root {
  --bg: #080a0f;
  --bg-alt: #151920;
  --panel: rgba(22, 26, 34, 0.86);
  --panel-strong: rgba(15, 18, 25, 0.95);
  --panel-soft: rgba(255, 248, 235, 0.08);
  --text: #f8f5ee;
  --muted: #cdc3b0;
  --line: rgba(231, 198, 140, 0.22);
  --line-strong: rgba(245, 211, 152, 0.48);
  --accent-blue: #82d6ff;
  --accent-red: #f07b6c;
  --accent-green: #84d5a8;
  --accent-gold: #f1c97b;
  --accent-violet: #baa7ff;
  --shadow-soft: 0 20px 44px rgba(0, 0, 0, 0.54);
  --shadow-hard: 0 26px 58px rgba(0, 0, 0, 0.7);
}

body {
  background:
    radial-gradient(circle at 74% 18%, rgba(241, 201, 123, 0.34), rgba(241, 201, 123, 0) 46%),
    linear-gradient(160deg, rgba(7, 10, 16, 0.58), rgba(9, 12, 18, 0.66)),
    url("gold-chess-1.jpg") center 30% / cover fixed no-repeat;
}

body::before {
  inset: -22vmax;
  opacity: 0.34;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 228, 176, 0.24), rgba(255, 228, 176, 0) 48%),
    radial-gradient(circle at 84% 78%, rgba(130, 214, 255, 0.16), rgba(130, 214, 255, 0) 44%),
    url("gold-chess-2.jpg") center 34% / cover no-repeat;
  background-blend-mode: screen, screen, normal;
  filter: saturate(1.06) brightness(1.04);
}

body::after {
  opacity: 0.3;
  background-image:
    linear-gradient(120deg, rgba(255, 255, 255, 0) 42%, rgba(255, 252, 240, 0.15) 50%, rgba(255, 255, 255, 0) 58%);
  background-size: 210% 180%;
}

.siteHeader {
  border-bottom: 1px solid rgba(247, 212, 157, 0.32);
  background: linear-gradient(180deg, rgba(7, 9, 13, 0.92), rgba(10, 12, 17, 0.86));
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.48);
}

.siteHeader::after {
  content: "";
  display: none;
}

.azRibbon {
  height: 8px;
  background:
    linear-gradient(
      90deg,
      #00b5e2 0 33.33%,
      #ef3340 33.33% 66.66%,
      #509e2f 66.66% 100%
    );
}

.topNav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 0 12px;
}

.navLinks {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
}

.navRight {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.brandTitle,
h1,
h2,
h3 {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

.brandTitle {
  letter-spacing: 0.01em;
}

.brandLogo {
  border-color: rgba(245, 210, 155, 0.62);
  box-shadow:
    0 0 0 2px rgba(9, 11, 16, 0.6),
    0 10px 24px rgba(0, 0, 0, 0.56);
}

.navLinks a,
.mobilePanel a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 8px 10px;
  font-size: 13px;
  letter-spacing: 0.01em;
  text-align: center;
}

.navLinks a::before,
.mobilePanel a::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.24em;
  flex-shrink: 0;
  line-height: 1;
  font-size: 1.16em;
  color: rgba(249, 230, 188, 0.98);
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
}

.navLinks a:nth-child(1)::before,
.mobilePanel a:nth-child(1)::before {
  content: "♔";
}

.navLinks a:nth-child(2)::before,
.mobilePanel a:nth-child(2)::before {
  content: "♘";
}

.navLinks a:nth-child(3)::before,
.mobilePanel a:nth-child(3)::before {
  content: "♖";
}

.navLinks a:nth-child(4)::before,
.mobilePanel a:nth-child(4)::before {
  content: "♗";
}

.navLinks a:nth-child(5)::before,
.mobilePanel a:nth-child(5)::before {
  content: "♕";
}

.navLinks a:nth-child(6)::before,
.mobilePanel a:nth-child(6)::before {
  content: "♚";
}

.navLinks a:nth-child(7)::before,
.mobilePanel a:nth-child(7)::before {
  content: "♙";
}

.navLinks a.active {
  color: #16120a;
  background: linear-gradient(135deg, #f7dab0, #f2c980 52%, #a87b4d);
  box-shadow: 0 12px 28px rgba(242, 201, 130, 0.32);
}

.langSwitch {
  border-color: rgba(241, 200, 135, 0.36);
  background: rgba(248, 237, 210, 0.08);
}

.langBtn {
  color: #deccaa;
}

.langBtn.active {
  color: #18130a;
  background: linear-gradient(135deg, #f8e0b8, #f2c982);
}

.btn {
  border-color: rgba(242, 201, 130, 0.24);
}

.btnPrimary {
  color: #18130b;
  background: linear-gradient(135deg, #f5d6a3 0%, #edbf72 52%, #b28652 100%);
}

.btnGhost {
  background: rgba(249, 235, 204, 0.045);
}

.tag {
  border-color: rgba(244, 204, 129, 0.56);
  background:
    linear-gradient(125deg, rgba(241, 201, 123, 0.24), rgba(104, 78, 49, 0.35));
  color: #fff4db;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.34);
}

.tag::before {
  content: "♟";
  font-size: 1.08em;
}

.pageHome .tag::before {
  content: "♔";
}

.pageAbout .tag::before {
  content: "♗";
}

.pageCoaching .tag::before {
  content: "♘";
}

.pageResults .tag::before {
  content: "♖";
}

.pagePress .tag::before {
  content: "♝";
}

.pageFederation .tag::before {
  content: "♕";
}

.pageContact .tag::before {
  content: "♚";
}

.card {
  border-color: rgba(244, 205, 141, 0.2);
  background:
    linear-gradient(165deg, rgba(32, 37, 46, 0.9) 0%, rgba(14, 18, 26, 0.96) 100%);
}

.card::before {
  background:
    linear-gradient(120deg, rgba(255, 235, 193, 0.14), rgba(255, 255, 255, 0) 40%);
}

.card::after {
  background:
    radial-gradient(circle, rgba(241, 201, 123, 0.2), rgba(241, 201, 123, 0));
}

.sectionHead h2::before {
  color: rgba(243, 204, 136, 0.94);
}

.pageResults .sectionHead h2::before {
  content: "♖";
}

.pagePress .sectionHead h2::before {
  content: "♝";
}

.pageContact .sectionHead h2::before {
  content: "♚";
}

.pageFederation .sectionHead h2::before {
  content: "♕";
}

.notice {
  border-color: rgba(246, 204, 130, 0.44);
  background:
    linear-gradient(120deg, rgba(241, 201, 123, 0.2), rgba(130, 214, 255, 0.11));
  color: #ffecc8;
}

.timelineItem,
.contactCard,
.kpiCard {
  border-color: rgba(242, 202, 135, 0.22);
  background:
    linear-gradient(170deg, rgba(48, 37, 21, 0.18), rgba(20, 24, 31, 0.8));
}

.kpiValue {
  color: #ffe8bb;
}

.kpiLabel,
.contactLabel,
.timelineDate,
.sectionKicker {
  color: #e2cfa7;
}

.table th {
  background:
    linear-gradient(140deg, rgba(241, 201, 123, 0.22), rgba(130, 214, 255, 0.12));
}

.table td {
  color: #ddd2be;
}

.table tbody tr:nth-child(odd) td {
  background: rgba(245, 227, 194, 0.03);
}

.table tbody tr:nth-child(even) td {
  background: rgba(11, 14, 20, 0.24);
}

.innerPage main > .container > section.card:first-of-type::before,
.pageAbout .hero > .card:first-child::before {
  background:
    linear-gradient(150deg, rgba(8, 10, 14, 0.76), rgba(8, 10, 14, 0.9)),
    radial-gradient(circle at 72% 22%, rgba(241, 201, 123, 0.26), rgba(241, 201, 123, 0) 42%),
    url("gold-chess-2.jpg") center 24%/cover no-repeat;
  opacity: 0.62;
}

.pageResults main > .container > section.card:first-of-type::before,
.pagePress main > .container > section.card:first-of-type::before {
  background:
    linear-gradient(150deg, rgba(8, 10, 14, 0.78), rgba(8, 10, 14, 0.9)),
    radial-gradient(circle at 30% 30%, rgba(241, 201, 123, 0.24), rgba(241, 201, 123, 0) 42%),
    url("gold-chess-1.jpg") center 42%/cover no-repeat;
  opacity: 0.62;
}

.pageContact main > .container > section.card:first-of-type::before {
  background:
    linear-gradient(150deg, rgba(8, 10, 14, 0.74), rgba(8, 10, 14, 0.9)),
    radial-gradient(circle at 24% 34%, rgba(241, 201, 123, 0.2), rgba(241, 201, 123, 0) 38%),
    url("gold-chess-3.jpg") center/cover no-repeat;
  opacity: 0.64;
}

.pageFederation main > .container > section.card:first-of-type::before {
  background:
    linear-gradient(150deg, rgba(8, 10, 14, 0.74), rgba(8, 10, 14, 0.88)),
    radial-gradient(circle at 72% 20%, rgba(241, 201, 123, 0.2), rgba(241, 201, 123, 0) 36%),
    url("gold-chess-1.jpg") center 30%/cover no-repeat;
  opacity: 0.62;
}

.pageAbout .hero > .card:first-child > *,
.innerPage main > .container > section.card:first-of-type > * {
  position: relative;
  z-index: 2;
}

.chessStrip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
  margin: 14px 0 10px;
}

.stripFrame {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(244, 206, 143, 0.34);
  min-height: 158px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.48);
  animation: stripLift 10s ease-in-out infinite;
}

.stripFrame:nth-child(2) {
  animation-delay: -1.8s;
}

.stripFrame:nth-child(3) {
  animation-delay: -3.6s;
}

.stripFrame::before {
  content: "♞";
  position: absolute;
  left: 10px;
  top: 8px;
  z-index: 2;
  font-size: 14px;
  color: rgba(250, 225, 184, 0.95);
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}

.stripFrame:nth-child(2)::before {
  content: "♛";
}

.stripFrame:nth-child(3)::before {
  content: "♜";
}

.stripFrame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 10, 14, 0.04), rgba(8, 10, 14, 0.72)),
    radial-gradient(circle at 18% 14%, rgba(241, 201, 123, 0.22), rgba(241, 201, 123, 0) 50%);
}

.stripFrame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.02);
  transform: scale(1.02);
  transition: transform 260ms ease;
}

.stripFrame:nth-child(1) img {
  object-position: center 42%;
}

.stripFrame:nth-child(2) img {
  object-position: center 26%;
}

.stripFrame:nth-child(3) img {
  object-position: center 34%;
}

.stripFrame:hover img {
  transform: scale(1.08);
}

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

.chessFloatPiece {
  position: absolute;
  color: rgba(244, 213, 158, 0.22);
  line-height: 1;
  text-shadow: 0 10px 22px rgba(0, 0, 0, 0.45);
  transform: translate3d(0, 0, 0);
  animation: pieceDrift var(--duration, 24s) ease-in-out infinite;
}

.chessFloatPiece:nth-child(1) {
  left: 4%;
  top: 22%;
  font-size: clamp(24px, 2.6vw, 44px);
  --duration: 20s;
}

.chessFloatPiece:nth-child(2) {
  right: 7%;
  top: 28%;
  font-size: clamp(26px, 2.9vw, 48px);
  --duration: 24s;
  animation-delay: -6s;
}

.chessFloatPiece:nth-child(3) {
  left: 7%;
  bottom: 16%;
  font-size: clamp(22px, 2.4vw, 40px);
  --duration: 28s;
  animation-delay: -11s;
}

.chessFloatPiece:nth-child(4) {
  right: 11%;
  bottom: 11%;
  font-size: clamp(25px, 2.8vw, 46px);
  --duration: 26s;
  animation-delay: -15s;
}

.chessFloatPiece:nth-child(5) {
  left: 44%;
  top: 14%;
  font-size: clamp(20px, 2.2vw, 34px);
  --duration: 22s;
  animation-delay: -8s;
}

.chessFloatPiece:nth-child(6) {
  left: 58%;
  bottom: 8%;
  font-size: clamp(22px, 2.5vw, 38px);
  --duration: 30s;
  animation-delay: -13s;
}

@keyframes pieceDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
    opacity: 0.16;
  }
  50% {
    transform: translate3d(0, -14px, 0) rotate(8deg);
    opacity: 0.3;
  }
}

@keyframes stripLift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@media (max-width: 980px) {
  body {
    background:
      radial-gradient(circle at 74% 18%, rgba(241, 201, 123, 0.18), rgba(241, 201, 123, 0) 42%),
      linear-gradient(160deg, rgba(4, 6, 10, 0.84), rgba(6, 9, 14, 0.9)),
      url("gold-chess-2.jpg") center 24% / cover no-repeat;
  }

  body::before {
    inset: 0;
    opacity: 0.22;
    background:
      linear-gradient(165deg, rgba(4, 6, 10, 0.34), rgba(4, 6, 10, 0.54)),
      radial-gradient(circle at 22% 28%, rgba(241, 201, 123, 0.16), rgba(241, 201, 123, 0) 46%);
    background-blend-mode: normal, screen;
  }

  body::after {
    display: none;
  }

  .navLinks,
  .navRight .btnPrimary {
    display: none !important;
  }

  .menuToggle {
    display: inline-flex !important;
  }

  .topNav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 0 11px;
  }

  .navRight {
    margin-left: auto;
    margin-top: 0;
    flex-shrink: 0;
  }

  .mobilePanel {
    padding: 12px 0 16px;
    border-top: 1px solid rgba(242, 202, 137, 0.24);
  }

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

  .mobilePanel a {
    margin: 0;
    justify-content: center;
    text-align: center;
    min-height: 48px;
    border-radius: 14px;
    background:
      linear-gradient(145deg, rgba(241, 201, 123, 0.2), rgba(31, 37, 46, 0.82));
  }

  .chessFloatPiece:nth-child(5),
  .chessFloatPiece:nth-child(6) {
    display: none;
  }

  .stripFrame {
    min-height: 140px;
  }
}

@media (max-width: 760px) {
  body {
    background-position: center 22%;
  }

  body::before {
    inset: 0;
    opacity: 0.26;
  }

  .topNav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px 0 10px;
  }

  .brand {
    align-self: flex-start;
    max-width: 100%;
    min-width: 0;
  }

  .navRight {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-top: 0;
    min-width: 0;
  }

  .langSwitch {
    flex: 0 0 auto;
    max-width: calc(100% - 96px);
    justify-content: flex-start;
    overflow-x: auto;
    padding: 3px;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .menuToggle {
    min-width: 84px;
    padding-inline: 10px;
    flex: 0 0 auto;
    margin-left: auto;
  }

  .brandTitle {
    font-size: 14px;
  }

  .chessStrip {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-top: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .chessStrip::-webkit-scrollbar {
    height: 6px;
  }

  .chessStrip::-webkit-scrollbar-thumb {
    background: rgba(243, 205, 139, 0.38);
    border-radius: 999px;
  }

  .stripFrame {
    flex: 0 0 min(76vw, 260px);
    min-height: 150px;
    scroll-snap-align: start;
    animation: none;
  }

  .chessFloatPiece:nth-child(3),
  .chessFloatPiece:nth-child(4) {
    display: none;
  }
}

@media (max-width: 520px) {
  .brand {
    align-self: flex-start;
  }

  .brandLogo {
    width: 44px;
    height: 44px;
  }

  .brandTitle {
    font-size: 13px;
  }

  .mobilePanel.show {
    grid-template-columns: 1fr;
  }

  .mobilePanel a {
    justify-content: flex-start;
    text-align: left;
    padding-left: 14px;
  }

  .chessFloatPiece:nth-child(2) {
    display: none;
  }

  .stripFrame {
    flex-basis: 84vw;
  }

  .langBtn {
    padding: 6px 6px;
    font-size: 11px;
  }

  .navLinks a::before,
  .mobilePanel a::before {
    width: 1.28em;
    font-size: 1.2em;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
