.page-home{
  --home-muted: var(--ice-64);
  --home-line: var(--ice-14);
  --home-gap: clamp(26px, 5vw, 54px);
  position: relative;
  background: var(--sea);
  color: var(--ice);
  font-family: var(--font-body);
  line-height: 1.75;
  overflow-x: hidden;
}
.page-home img{ max-width: 100%; }

/* ---------- shared bits (page scoped) ---------- */
.page-home .home-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  color: var(--sand);
}
.page-home .home-eyebrow::before{
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: .8;
}
.page-home .home-eyebrow__dot{
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 3px rgba(255,107,74,.16);
  order: 2;
  margin-left: 2px;
}
.page-home .home-link{
  display: inline-block;
  margin-top: 18px;
  padding-bottom: 3px;
  color: var(--coral-soft);
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: .03em;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,154,122,.45);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.page-home .home-link:hover,
.page-home .home-link:focus-visible{
  color: var(--coral);
  border-bottom-color: var(--coral);
}
.page-home .home-section--paper .home-link{
  color: var(--sea-2);
  border-bottom-color: rgba(14,47,79,.35);
}
.page-home .home-section--paper .home-link:hover,
.page-home .home-section--paper .home-link:focus-visible{
  color: var(--coral);
  border-bottom-color: var(--coral);
}

/* ---------- figure ---------- */
.page-home .home-figure{
  position: relative;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(150deg, var(--sea-2), var(--sea-deep));
  border: 1px solid var(--home-line);
}
.page-home .home-figure img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-home .home-figure__cap{
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 7px 13px;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .1em;
  color: rgba(220,230,239,.82);
  background: rgba(4,18,31,.72);
  border-top: 1px solid var(--ice-14);
  border-right: 1px solid var(--ice-14);
}
.page-home .home-figure--hero{
  aspect-ratio: 8 / 5;
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%);
  box-shadow: var(--shadow-panel);
}
.page-home .home-figure--tall{ aspect-ratio: 3 / 4; }
.page-home .home-figure--wide{ aspect-ratio: 3 / 2; }

/* ---------- 01 hero ---------- */
.page-home .home-hero{
  position: relative;
  isolation: isolate;
  padding-block: clamp(34px, 6vw, 70px) clamp(52px, 9vw, 100px);
  background:
    radial-gradient(120% 82% at 84% 0%, rgba(54,214,195,.15), transparent 60%),
    radial-gradient(100% 78% at 0% 6%, rgba(255,107,74,.16), transparent 62%),
    linear-gradient(180deg, var(--sea) 0%, var(--sea-2) 56%, var(--sea-deep) 100%);
}
.page-home .home-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(220,230,239,.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(220,230,239,.055) 1px, transparent 1px);
  background-size: 86px 86px;
  -webkit-mask-image: radial-gradient(72% 64% at 52% 18%, #000 0%, transparent 78%);
  mask-image: radial-gradient(72% 64% at 52% 18%, #000 0%, transparent 78%);
  pointer-events: none;
}
.page-home .home-hero::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,107,74,0), var(--coral) 22%, var(--teal) 74%, rgba(54,214,195,0));
  opacity: .72;
}
.page-home .home-hero__inner{
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
}
.page-home .home-hero__lede{ min-width: 0; }
.page-home .home-hero__title{
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 8.4vw, 5.4rem);
  line-height: 1.04;
  letter-spacing: -.012em;
  color: var(--ice);
}
.page-home .home-hero__title-line{ display: block; }
.page-home .home-hero__title-line--accent{
  color: var(--coral);
  text-shadow: 0 18px 46px rgba(255,107,74,.22);
}
.page-home .home-hero__sub{
  max-width: 34em;
  margin: 0 0 26px;
  font-size: clamp(.98rem, 1.6vw, 1.08rem);
  line-height: 1.85;
  color: rgba(220,230,239,.82);
}
.page-home .home-hero__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.page-home .home-hero__aside{ min-width: 0; }
.page-home .home-index{
  margin-top: 14px;
  border: 1px solid var(--ice-14);
  background: rgba(14,47,79,.66);
  backdrop-filter: blur(2px);
  box-shadow: var(--shadow-float);
}
.page-home .home-index__label{
  margin: 0;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .18em;
  color: var(--sand);
  border-bottom: 1px solid var(--ice-14);
}
.page-home .home-index__list{
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-home .home-index__item a{
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 11px 14px;
  border-top: 1px solid var(--ice-08);
  color: rgba(220,230,239,.9);
  font-size: .92rem;
  text-decoration: none;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}
.page-home .home-index__item:first-child a{ border-top: 0; }
.page-home .home-index__item a:hover,
.page-home .home-index__item a:focus-visible{
  background: rgba(255,107,74,.12);
  color: #fff;
  padding-left: 20px;
}
.page-home .home-index__num{
  font-family: var(--font-mono);
  font-size: .76rem;
  color: var(--coral);
  letter-spacing: .06em;
}

/* ---------- section shell ---------- */
.page-home .home-section{
  position: relative;
  padding-block: clamp(48px, 8vw, 92px);
  border-top: 1px solid var(--home-line);
  transition: box-shadow var(--dur) var(--ease);
}
.page-home .home-section:target{
  box-shadow: inset 3px 0 0 var(--coral);
}
.page-home .home-section--deep{
  background: linear-gradient(180deg, var(--sea-deep) 0%, var(--sea) 100%);
}
.page-home .home-section--paper{
  --home-muted: var(--slate);
  --home-line: rgba(10,16,24,.12);
  background: var(--paper);
  color: var(--ink);
}
.page-home .home-section--contact{
  background: linear-gradient(180deg, #06182a 0%, var(--sea-deep) 100%);
  border-top-color: rgba(200,161,101,.38);
}

/* ---------- chapter header ---------- */
.page-home .home-chapter{
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(12px, 2.4vw, 26px);
  align-items: start;
  margin-bottom: clamp(24px, 4vw, 44px);
  padding-top: clamp(12px, 2vw, 20px);
  border-top: 1px solid var(--home-line);
}
.page-home .home-chapter__num{
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .04em;
  color: var(--coral);
}
.page-home .home-section--paper .home-chapter__num{ color: rgba(200,161,101,.95); }
.page-home .home-chapter__body{ min-width: 0; }
.page-home .home-chapter__title{
  margin: 4px 0 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.42rem, 3.4vw, 2.4rem);
  line-height: 1.24;
  letter-spacing: -.006em;
}
.page-home .home-chapter__desc{
  max-width: 42em;
  margin: 0;
  font-size: .95rem;
  color: var(--home-muted);
}

/* ---------- 02 entry ---------- */
.page-home .home-entry{
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
  align-items: start;
}
.page-home .home-entry__body{ min-width: 0; }
.page-home .home-entry__body p{
  max-width: 36em;
  margin: 0 0 16px;
  color: rgba(220,230,239,.84);
}
.page-home .home-ticks{
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  border-left: 2px solid rgba(54,214,195,.5);
}
.page-home .home-ticks li{
  position: relative;
  padding: 7px 0 7px 18px;
  font-size: .94rem;
  color: rgba(220,230,239,.86);
}
.page-home .home-ticks li + li{ border-top: 1px solid var(--ice-08); }

/* ---------- 03 leagues ---------- */
.page-home .home-leagues{
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
  align-items: center;
}
.page-home .home-leagues__body{ min-width: 0; }
.page-home .home-leagues__body > p{
  max-width: 36em;
  margin: 0 0 6px;
  color: var(--ink-soft);
}
.page-home .home-leagues__chips{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 18px;
}
.page-home .home-chip{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border: 1px solid rgba(10,16,24,.16);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  font-size: .85rem;
  text-decoration: none;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease), background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.page-home .home-chip:hover,
.page-home .home-chip:focus-visible{
  border-color: var(--coral);
  color: var(--ink);
  transform: translateY(-2px);
}
.page-home .home-chip[aria-current="true"]{
  border-color: var(--teal);
  background: rgba(54,214,195,.12);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(54,214,195,.4);
}
.page-home .home-chip[aria-current="true"]::before{
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
}
.page-home .home-switch-note{
  max-width: 34em;
  margin: 0;
  padding: 12px 16px;
  border-left: 2px solid var(--sand);
  background: rgba(200,161,101,.1);
  font-size: .9rem;
  color: var(--ink-soft);
}

/* ---------- 04 metrics + rhythm ---------- */
.page-home .home-metrics{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: clamp(26px, 4vw, 44px);
  background: var(--ice-14);
  border: 1px solid var(--ice-14);
}
.page-home .home-metric{
  padding: clamp(16px, 3vw, 26px);
  background: var(--sea-2);
}
.page-home .home-metric__num{
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--coral-soft);
}
.page-home .home-metric:nth-child(2) .home-metric__num{ color: var(--teal); }
.page-home .home-metric:nth-child(3) .home-metric__num{ color: var(--ice); }
.page-home .home-metric:nth-child(4) .home-metric__num{ color: var(--sand); }
.page-home .home-metric__unit{
  font-size: .42em;
  margin-left: 3px;
  letter-spacing: .06em;
  opacity: .8;
}
.page-home .home-metric__label{
  display: block;
  margin-top: 10px;
  font-size: .84rem;
  line-height: 1.6;
  color: var(--ice-64);
}
.page-home .home-rhythm{
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
  align-items: center;
}
.page-home .home-rhythm__text{ min-width: 0; }
.page-home .home-rhythm__text h3{
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  letter-spacing: .01em;
  color: var(--ice);
}
.page-home .home-rhythm__text p{
  max-width: 36em;
  margin: 0 0 14px;
  font-size: .95rem;
  color: rgba(220,230,239,.8);
}
.page-home .home-rhythm__text p:last-child{ margin-bottom: 0; }

/* ---------- 05 topics ---------- */
.page-home .home-topics-wrap{
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
  align-items: start;
}
.page-home .home-topics{
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--home-line);
}
.page-home .home-topics__item{
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--home-line);
  transition: background-color var(--dur) var(--ease);
}
.page-home .home-topics__item:hover{ background: rgba(200,161,101,.08); }
.page-home .home-topics__num{
  font-family: var(--font-mono);
  font-size: .78rem;
  line-height: 1.9;
  letter-spacing: .06em;
  color: var(--sand);
}
.page-home .home-topics__main{ min-width: 0; }
.page-home .home-topics__title{
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 1.9vw, 1.16rem);
  line-height: 1.5;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.page-home .home-topics__item:hover .home-topics__title{
  color: #b8452a;
  border-bottom-color: rgba(255,107,74,.5);
}
.page-home .home-topics__meta{
  margin: 8px 0 0;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .04em;
  color: var(--slate);
}
.page-home .home-tag{
  display: inline-block;
  margin-right: 8px;
  padding: 2px 8px;
  border: 1px solid rgba(10,16,24,.18);
  border-radius: 2px;
  color: var(--ink-soft);
  letter-spacing: .06em;
}
.page-home .home-transfer{
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(10,16,24,.12);
  border-top: 2px solid var(--coral);
  background: #fff;
  box-shadow: 0 20px 44px -36px rgba(10,16,24,.75);
}
.page-home .home-transfer .home-eyebrow{ color: var(--slate); }
.page-home .home-transfer__title{
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.1rem, 2.2vw, 1.32rem);
  line-height: 1.45;
  color: var(--ink);
}
.page-home .home-transfer__cols{
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 1px;
  background: rgba(10,16,24,.1);
  border: 1px solid rgba(10,16,24,.1);
}
.page-home .home-transfer__col{
  padding: 11px 14px;
  background: var(--paper);
}
.page-home .home-transfer__col dt{
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .04em;
  color: var(--sea-2);
}
.page-home .home-transfer__col dd{
  margin: 4px 0 0;
  font-size: .85rem;
  line-height: 1.6;
  color: var(--slate);
}
.page-home .home-transfer__note{
  margin: 0;
  font-size: .88rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ---------- 06 contact ---------- */
.page-home .home-contact{
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
  align-items: start;
}
.page-home .home-doors{
  display: grid;
  gap: 14px;
}
.page-home .home-door{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 18px;
  padding: 20px 22px;
  border: 1px solid var(--ice-14);
  background: rgba(14,47,79,.55);
  color: var(--ice);
  text-decoration: none;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.page-home .home-door:hover,
.page-home .home-door:focus-visible{
  border-color: rgba(255,107,74,.72);
  background: rgba(255,107,74,.1);
  transform: translateY(-2px);
}
.page-home .home-door__label{
  grid-column: 1;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.14rem;
  letter-spacing: .03em;
}
.page-home .home-door__desc{
  grid-column: 1;
  font-size: .9rem;
  line-height: 1.7;
  color: rgba(220,230,239,.72);
}
.page-home .home-door__arrow{
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--coral);
}
.page-home .home-contact__card{
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid var(--ice-14);
  border-left: 2px solid var(--sand);
  background: rgba(7,28,51,.72);
}
.page-home .home-kv{ margin: 0; }
.page-home .home-kv__row{
  display: grid;
  grid-template-columns: 5.4em minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--ice-08);
}
.page-home .home-kv__row:first-child{ border-top: 0; padding-top: 0; }
.page-home .home-kv__row dt{
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .12em;
  line-height: 1.9;
  color: var(--sand);
}
.page-home .home-kv__row dd{
  margin: 0;
  font-size: .92rem;
  line-height: 1.7;
  color: rgba(220,230,239,.9);
  overflow-wrap: anywhere;
}
.page-home .home-kv__row dd.is-mono{ font-family: var(--font-mono); font-size: .86rem; }
.page-home .home-legal{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin: clamp(26px, 4vw, 44px) 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--ice-08);
  font-size: .8rem;
  color: var(--ice-64);
}
.page-home .home-legal__icp{
  font-family: var(--font-mono);
  letter-spacing: .06em;
  color: var(--sand);
}
.page-home .home-legal a{
  color: var(--ice-64);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.page-home .home-legal a:hover,
.page-home .home-legal a:focus-visible{
  color: var(--ice);
  border-bottom-color: var(--coral);
}

/* ---------- responsive ---------- */
@media (min-width: 700px){
  .page-home .home-metrics{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .page-home .home-transfer__cols{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 900px){
  .page-home .home-hero__inner{
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    align-items: end;
  }
  .page-home .home-hero__aside{ margin-top: 30px; }

  .page-home .home-entry{
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: clamp(30px, 4.5vw, 58px);
  }
  .page-home .home-entry__body{ padding-top: 6px; }
  .page-home .home-entry .home-figure--tall{
    max-width: 400px;
    margin-left: auto;
  }

  .page-home .home-leagues{
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(30px, 4.5vw, 56px);
  }

  .page-home .home-rhythm{
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: clamp(30px, 4.5vw, 56px);
  }

  .page-home .home-topics-wrap{
    grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr);
    gap: clamp(30px, 4.5vw, 56px);
  }

  .page-home .home-contact{
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: clamp(30px, 4.5vw, 56px);
  }
}

@media (min-width: 1100px){
  .page-home .home-hero__title-line--accent{ padding-left: .06em; }
  .page-home .home-transfer__cols{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce){
  .page-home *{
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }
}
