.page-home {
  position: relative;
  overflow-x: clip;
  color: var(--text);
  background-image:
    linear-gradient(to right, rgba(79, 245, 212, 0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(79, 245, 212, 0.022) 1px, transparent 1px);
  background-size: 64px 64px;
}

.page-home img {
  max-width: 100%;
}

.page-home .home-context {
  padding-top: 14px;
}

.page-home .home-hero {
  display: grid;
  gap: 20px;
  padding-block: 22px 54px;
}

.page-home .home-entry {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-700);
}

.page-home .home-entry__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: saturate(0.8) contrast(1.1);
}

.page-home .home-entry::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 18, 15, 0.1), rgba(4, 18, 15, 0.92) 72%),
    radial-gradient(circle at 18% 18%, rgba(79, 245, 212, 0.2), transparent 42%);
}

.page-home .home-entry::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(79, 245, 212, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(79, 245, 212, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 72%);
}

.page-home .home-entry__body {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 24px 20px;
}

.page-home .home-entry__body h1 {
  margin: 10px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(42px, 10vw, 82px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: var(--white);
}

.page-home .home-entry__lead {
  max-width: 64ch;
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
}

.page-home .home-entry__meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0 0 18px;
}

.page-home .home-entry__meta > div {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding-top: 9px;
  border-top: 1px solid var(--line);
}

.page-home .home-entry__meta span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--text-3);
}

.page-home .home-entry__meta strong,
.page-home .home-entry__meta a {
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--white);
  text-decoration: none;
}

.page-home .home-entry__meta a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(79, 245, 212, 0.35);
  width: max-content;
  max-width: 100%;
}

.page-home .home-entry__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .home-check {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.page-home .home-check summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
  cursor: pointer;
  font-size: 14px;
  color: var(--cyan);
}

.page-home .home-check summary::-webkit-details-marker {
  display: none;
}

.page-home .home-check summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--cyan);
}

.page-home .home-check[open] summary::after {
  content: "−";
}

.page-home .home-check ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .home-check li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
}

.page-home .home-check li .mono {
  color: var(--cyan);
}

.page-home .home-side {
  display: grid;
  gap: 16px;
}

.page-home .home-status {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: 14px;
  align-items: end;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 100% 0%, rgba(79, 245, 212, 0.14), transparent 42%),
    linear-gradient(135deg, var(--ink-700), var(--ink-800));
}

.page-home .home-status__text h2 {
  margin: 6px 0 4px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  color: var(--white);
}

.page-home .home-status__num {
  margin: 10px 0 6px;
  font-family: var(--font-mono);
  font-size: 44px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--cyan);
}

.page-home .home-status__text p {
  margin: 0 0 8px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-2);
}

.page-home .home-status__text .home-status__note {
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--orange);
}

.page-home .home-status__media {
  min-height: 100px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-900);
}

.page-home .home-status__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.page-home .home-mini-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .home-mini {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 160px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--ink-800);
}

.page-home .home-mini--alt {
  background:
    linear-gradient(160deg, rgba(255, 122, 58, 0.12), transparent 58%),
    var(--ink-800);
}

.page-home .home-mini__big {
  margin: 0;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-home .home-mini p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
}

.page-home .home-textlink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  padding-bottom: 2px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(79, 245, 212, 0.35);
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}

.page-home .home-textlink::after {
  content: "→";
  font-family: var(--font-mono);
  font-size: 12px;
}

.page-home .home-textlink:hover {
  color: var(--white);
  border-color: var(--cyan);
}

.page-home .home-section {
  padding-block: 42px;
  border-top: 1px solid var(--line);
}

.page-home .home-section__head {
  max-width: 760px;
  margin-bottom: 24px;
}

.page-home .home-section__head h2,
.page-home .home-weekend__body h2,
.page-home .home-contact__head h2 {
  margin: 8px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-home .home-section__head p,
.page-home .home-weekend__body > p,
.page-home .home-contact__head p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-2);
}

.page-home .home-panel-layout {
  display: grid;
  gap: 20px;
}

.page-home .home-tabs {
  position: relative;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--ink-800);
}

.page-home .home-tab-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.page-home .home-tab-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.page-home .home-tab {
  padding: 8px 11px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text-2);
  cursor: pointer;
  transition: background 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease);
}

.page-home .home-tab:hover {
  border-color: var(--line);
  color: var(--text);
}

.page-home #home-tab-scores:checked ~ .home-tab-labels label[for="home-tab-scores"],
.page-home #home-tab-rounds:checked ~ .home-tab-labels label[for="home-tab-rounds"],
.page-home #home-tab-events:checked ~ .home-tab-labels label[for="home-tab-events"],
.page-home #home-tab-replay:checked ~ .home-tab-labels label[for="home-tab-replay"] {
  border-color: var(--cyan);
  background: var(--cyan);
  color: var(--ink-900);
}

.page-home .home-tab-input:focus-visible ~ .home-tab-labels {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

.page-home .home-tab-panel {
  display: none;
  padding: 4px 2px 8px;
}

.page-home #home-tab-scores:checked ~ .home-tab-panels #home-panel-scores,
.page-home #home-tab-rounds:checked ~ .home-tab-panels #home-panel-rounds,
.page-home #home-tab-events:checked ~ .home-tab-panels #home-panel-events,
.page-home #home-tab-replay:checked ~ .home-tab-panels #home-panel-replay {
  display: block;
}

.page-home .home-tab-panel h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--white);
}

.page-home .home-tab-panel p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-2);
}

.page-home .home-tab-panel ul {
  display: grid;
  gap: 7px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .home-tab-panel li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
}

.page-home .home-tab-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 7px;
  height: 1px;
  background: var(--cyan);
}

.page-home .home-adapt {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(139, 124, 255, 0.08), transparent 38%),
    var(--ink-800);
}

.page-home .home-adapt h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--white);
}

.page-home .home-adapt dl {
  display: grid;
  gap: 10px;
  margin: 4px 0 8px;
}

.page-home .home-adapt dl > div {
  display: grid;
  gap: 2px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.page-home .home-adapt dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-3);
}

.page-home .home-adapt dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
}

.page-home .home-adapt__media {
  margin: 8px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-900);
}

.page-home .home-adapt__media img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  opacity: 0.9;
}

.page-home .home-weekend {
  display: grid;
  gap: 24px;
}

.page-home .home-weekend__figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-800);
}

.page-home .home-weekend__figure img {
  display: block;
  width: 100%;
  aspect-ratio: 10 / 7;
  object-fit: cover;
}

.page-home .home-steps {
  display: grid;
  gap: 0;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.page-home .home-steps li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.page-home .home-steps li:first-child {
  border-top: 1px solid var(--line);
}

.page-home .home-steps .mono {
  padding-top: 2px;
  font-size: 12px;
  color: var(--orange);
}

.page-home .home-steps strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}

.page-home .home-steps p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
}

.page-home .home-weekend__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
}

.page-home .home-contact {
  padding-bottom: 64px;
}

.page-home .home-contact__head {
  max-width: 760px;
  margin-bottom: 24px;
}

.page-home .home-contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .home-contact__card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--ink-800);
}

.page-home .home-contact__card > p.mono {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-3);
}

.page-home .home-contact__card a {
  overflow-wrap: anywhere;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(79, 245, 212, 0.3);
  width: max-content;
  max-width: 100%;
}

.page-home .home-contact__card a:hover {
  color: var(--white);
  border-color: var(--cyan);
}

.page-home .home-contact__card span {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-2);
}

.page-home .home-contact__addr {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}

.page-home .home-contact__foot {
  display: grid;
  gap: 16px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.page-home .home-contact__foot p {
  max-width: 72ch;
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-2);
}

.page-home .home-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.page-home .home-links a {
  padding-bottom: 2px;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}

.page-home .home-links a:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

@media (min-width: 480px) {
  .page-home .home-entry__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .home-status {
    grid-template-columns: minmax(0, 1fr) 120px;
  }

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

@media (min-width: 720px) {
  .page-home .home-entry__body {
    padding: 36px;
  }

  .page-home .home-entry__lead {
    font-size: 17px;
  }

  .page-home .home-status__num {
    font-size: 52px;
  }

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

@media (min-width: 980px) {
  .page-home .home-hero {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 24px;
    padding-block: 28px 64px;
  }

  .page-home .home-entry {
    grid-column: span 7;
    min-height: 640px;
  }

  .page-home .home-side {
    grid-column: span 5;
    grid-template-rows: auto 1fr;
  }

  .page-home .home-panel-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: start;
  }

  .page-home .home-weekend {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
  }

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

  .page-home .home-contact__foot {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .page-home .home-links {
    justify-content: flex-end;
  }
}
