:root {
  --log-bg: #060606;
  --log-surface: #101010;
  --log-surface-strong: #151515;
  --log-line: rgba(255, 255, 255, 0.1);
  --log-line-strong: rgba(255, 255, 255, 0.18);
  --log-text: rgba(255, 255, 255, 0.88);
  --log-text-soft: rgba(255, 255, 255, 0.72);
  --log-text-faint: rgba(255, 255, 255, 0.48);
}

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

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

body.competition-log-page {
  --nav-bg: rgba(10, 10, 10, 0.9);
  --nav-text: rgba(255, 255, 255, 0.92);
  --nav-line: rgba(255, 255, 255, 0.08);
  --nav-line-strong: rgba(255, 255, 255, 0.14);
  font-family: var(--brand-font-sans);
  color: var(--log-text);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.06), transparent 30%),
    linear-gradient(180deg, #050505 0%, #0a0a0a 28%, #060606 100%);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.competition-log-page main {
  display: block;
}

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

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

.container {
  width: min(100% - 40px, var(--brand-container));
  margin: 0 auto;
}

.site-footer {
  padding: 0 0 48px;
  background: transparent;
}

.footer-inner {
  padding-top: 0;
}

.footer-brand strong {
  display: inline-block;
  margin-bottom: 12px;
  color: #ffffff;
  letter-spacing: 0.08em;
}

.footer-brand p {
  margin: 0;
  color: var(--log-text-soft);
}

.footer-address {
  margin-top: 8px;
}

.log-eyebrow {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--log-text-faint);
}

.section-head {
  margin-bottom: 34px;
}

.section-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: end;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  color: #ffffff;
}

.section-copy {
  margin: 0;
  font-size: 15px;
  line-height: 1.95;
  color: var(--log-text-soft);
}

.log-hero {
  position: relative;
  overflow: hidden;
  padding: 116px 0 92px;
}

.log-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 58%);
  pointer-events: none;
}

.log-hero__inner {
  position: relative;
}

.log-hero__title {
  margin: 0;
  max-width: 760px;
  font-size: clamp(52px, 9vw, 112px);
  line-height: 0.92;
  letter-spacing: -0.07em;
  color: #ffffff;
}

.log-hero__lead {
  margin: 24px 0 0;
  max-width: 760px;
  font-size: 17px;
  line-height: 1.95;
  color: var(--log-text-soft);
}

.log-hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.log-hero__pills span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--log-line);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.84);
}

.log-section {
  padding: 88px 0 0;
}

.log-section--format,
.log-section--differences {
  position: relative;
}

.log-section--format::before,
.log-section--differences::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.log-section--format .container,
.log-section--differences .container {
  position: relative;
}

.log-why__grid,
.log-format__grid,
.sport-difference__grid,
.log-next__grid {
  display: grid;
  gap: 18px;
}

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

.log-format__grid,
.sport-difference__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.log-next__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-bottom: 88px;
}

.log-why__card,
.log-format__card,
.sport-difference__card,
.log-next__card,
.log-closing {
  border-radius: 28px;
  border: 1px solid var(--log-line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.log-why__card,
.log-format__card,
.sport-difference__card,
.log-next__card {
  padding: 28px 24px;
}

.log-why__index {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.32);
}

.log-why__card h3,
.log-format__card h3,
.sport-difference__card h3,
.log-next__card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.24;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.log-why__card p:last-child,
.log-format__card p,
.sport-difference__card p:last-child,
.log-next__card p:last-child,
.log-closing p {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--log-text-soft);
}

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

.log-entry {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 0;
  min-height: 100%;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid var(--log-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.02) 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.log-entry__media {
  position: relative;
  min-height: 100%;
  background: #0b0b0b;
}

.log-entry__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.42) 100%);
}

.log-entry__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.log-entry__body {
  padding: 24px 24px 22px;
}

.log-entry__meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  margin-bottom: 18px;
}

.log-entry__sport,
.log-entry__timing,
.sport-difference__name,
.log-next__label {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.log-entry__sport,
.sport-difference__name,
.log-next__label {
  color: rgba(255, 255, 255, 0.84);
}

.log-entry__timing {
  color: rgba(255, 255, 255, 0.46);
}

.log-entry__details {
  margin: 0;
  display: grid;
  gap: 14px;
}

.log-entry__details div {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.log-entry__details dt {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.42);
}

.log-entry__details dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--log-text);
}

.sport-difference__card,
.log-next__card {
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.sport-difference__card:hover,
.log-next__card:hover {
  transform: translateY(-2px);
  border-color: var(--log-line-strong);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.log-closing {
  padding: 36px 34px;
}

.log-closing h2 {
  margin: 0;
  font-size: clamp(32px, 4.5vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.05em;
  color: #ffffff;
}

.log-section--closing {
  padding-bottom: 0;
}

@media (max-width: 1080px) {
  .section-head--split,
  .log-why__grid,
  .log-format__grid,
  .log-entries,
  .sport-difference__grid,
  .log-next__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, var(--brand-container));
  }

  .log-hero {
    padding: 96px 0 72px;
  }

  .log-hero__lead {
    font-size: 15px;
  }

  .log-section {
    padding-top: 72px;
  }

  .log-entry {
    grid-template-columns: 1fr;
  }

  .log-entry__media {
    height: 220px;
  }

  .log-entry__body,
  .log-why__card,
  .log-format__card,
  .sport-difference__card,
  .log-next__card,
  .log-closing {
    padding: 22px 18px;
  }

  .log-entry__meta {
    display: block;
  }

  .log-entry__timing {
    margin-top: 8px;
  }

  .log-why__card h3,
  .log-format__card h3,
  .sport-difference__card h3,
  .log-next__card h3 {
    font-size: 22px;
  }
}
