/* HNFL / Matchday editorial. Geometry first, motion follows the content. */
.page-index{--paper:#f6f6f1;--ink:#111;--line:#d3d3cc;--signal:#c81c2c;--gutter:clamp(1.25rem,4.7vw,5rem);background:var(--paper)}
.page-index .page-shell{width:100%;max-width:1760px}
.page-index .top-bar{background:#111;padding-inline:var(--gutter);font-size:.71rem;letter-spacing:.14em;min-height:1.8rem}
.page-index .shop-header{background:var(--paper);padding-inline:var(--gutter);min-height:4.5rem}
.page-index .shop-logo strong{font-size:1.85rem}
.page-index .shop-logo span{font-weight:700}
.page-index .shop-nav a{font-size:.79rem;letter-spacing:.025em}
.match-hero{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);column-gap:clamp(1rem,3vw,2.6rem);padding:clamp(1.5rem,3.4vw,3.9rem) var(--gutter) 1.55rem}
.match-hero__copy{display:flex;position:relative;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0;padding:1rem 0 4.6rem}
.match-kicker,.match-hero__note,.match-hero figcaption{font-size:.75rem;font-weight:800;letter-spacing:.11em;line-height:1.3}
.match-kicker{display:inline-flex;align-items:center;gap:.6rem}
.match-kicker>span{width:.65rem;height:.65rem;background:var(--signal);transform:skewX(-21deg)}
.match-hero h1{font-size:clamp(3rem,6.15vw,7.1rem);font-weight:900;line-height:.87;letter-spacing:-.075em;margin:clamp(1.45rem,4.2vw,4.4rem) 0 1.2rem}
.match-hero h1>span{display:block;white-space:nowrap}
.match-punch{color:var(--signal);white-space:nowrap}
.match-hero p{font-size:clamp(1rem,1.25vw,1.3rem);color:#383838;margin:0 0 1.25rem}
.match-button{display:inline-flex;position:relative;overflow:hidden;align-items:center;min-height:2.9rem;padding:.65rem 1.25rem;background:#111;color:#fff;border:1px solid #111;font-weight:800;font-size:.91rem;transition:background-color .22s,border-color .22s}
.match-button:hover,.match-button:focus-visible{background:var(--signal);border-color:var(--signal)}
.match-hero__note{position:absolute;bottom:2rem;left:0;right:0;border-top:1px solid var(--line);padding-top:.65rem;display:flex;justify-content:space-between;color:#474747}
.match-hero__figure{margin:0;min-width:0}
.match-hero__media{position:relative;isolation:isolate;overflow:hidden;height:clamp(23rem,43vw,45rem);background:#253331}
.match-hero__media img,.news-home__photo img{width:100%;height:100%;max-width:none;object-fit:cover}
.match-hero__media img{object-position:50% 47%;display:block}
.match-hero figcaption{display:flex;justify-content:space-between;gap:.4rem;margin-top:.66rem}
.match-track{position:absolute;inset:0;z-index:1;overflow:hidden;pointer-events:none}
.match-track::before{content:"";position:absolute;bottom:10%;right:-4%;width:32%;height:5px;background:var(--signal);transform:rotate(-21deg);transform-origin:right}
.match-tape{overflow:hidden;background:var(--signal);color:#fff;padding:.66rem 0;white-space:nowrap}
.match-tape>div{display:flex;align-items:center;gap:clamp(2rem,5vw,7rem);width:max-content;padding-inline:var(--gutter)}
.match-tape span{font-size:.76rem;font-weight:850;letter-spacing:.15em}
.match-tape span::before{content:"";display:inline-block;width:1.15rem;height:1px;background:#fff;vertical-align:middle;margin-right:.65rem}
.page-index .city-selector,.page-index .home-section{padding:clamp(2.5rem,6vw,6.5rem) var(--gutter)}
.page-index .atlas-heading{display:grid;grid-template-columns:1fr auto;align-items:end;gap:.5rem;margin-bottom:1.5rem;border-bottom:1px solid #111;padding-bottom:1.35rem}
.page-index .atlas-heading .section-label{grid-column:1/-1}
.page-index .atlas-heading h2,.page-index .section-heading h2,.page-index .news-home h2{margin:0;font-size:clamp(2.4rem,5.65vw,6.2rem);line-height:.87;letter-spacing:-.075em}
.atlas-sideline{font-size:.74rem;font-weight:800;letter-spacing:.1em;color:#555}
.page-index .city-grid{gap:1px;background:var(--line);border:1px solid var(--line)}
.page-index .city-card{background:#fff;color:#111;min-height:4.65rem;transition:background-color .2s,color .2s}
.page-index .city-card__text span{color:#525252}
.page-index .city-card::before{height:2px}
.page-index .city-card:hover,.page-index .city-card:focus-visible{background:#151515;color:white;z-index:1}
.page-index .city-card:hover .city-card__text span,.page-index .city-card:focus-visible .city-card__text span{color:#e9e9e9}
.page-index .city-preview{height:clamp(15rem,26vw,25rem);margin-top:1.15rem;background:none}
.page-index .city-scene{background:#e9e9e1;color:#111;grid-template-columns:1.25fr .75fr}
.page-index .city-scene__code,.page-index .city-scene__content p{color:#454545}
.page-index .city-scene__content h3{font-size:clamp(2.5rem,5.35vw,5.5rem);letter-spacing:-.075em;margin:.28em 0 .18em}
.page-index .city-mark{background:var(--city)}
.page-index .city-mark strong{text-shadow:none}
.page-index .city-mark span,.page-index .city-mark small{background:#151515;color:#fff}
.page-index .home-panel-stack{animation:none}
.page-index .section-heading{padding-top:.9rem;border-top:1px solid currentColor}
.page-index .section-heading h2{margin-top:.5rem}
.page-index .section-heading>a{font-size:.76rem;letter-spacing:.06em;text-underline-offset:.35em}
.page-index #official-home{background:#ebebe4}
.page-index .home-feature-grid{grid-template-columns:minmax(0,1.23fr) minmax(0,.77fr);gap:clamp(1rem,4vw,4rem);align-items:stretch}
.page-index .media-feature{position:relative;background:#dcdcd3;height:clamp(22rem,42vw,42rem);min-height:0;display:block;isolation:isolate}
.page-index .media-feature img{width:100%;height:100%;object-fit:contain;transition:scale .45s cubic-bezier(.2,.7,.2,1)}
.page-index .media-feature:hover img{scale:1.035}
.page-index .home-feature-copy{padding:2rem 0;background:transparent;color:#111}
.page-index .home-feature-copy h3{font-size:clamp(2.55rem,4.9vw,5.5rem);line-height:.83;letter-spacing:-.07em;margin:.32em 0}
.page-index .home-feature-copy p{color:#424242;max-width:26ch}
.page-index .home-feature-copy .red-text{color:var(--signal)}
.page-index #supporter-home{background:#111;color:#fff;padding-bottom:clamp(3rem,7vw,7rem)}
.page-index #supporter-home .support-home-grid{grid-template-columns:1fr 1fr;gap:clamp(.85rem,2.5vw,2.2rem);align-items:start}
.page-index #supporter-home .support-home-grid>a{min-width:0}
.page-index #supporter-home .support-home-grid>a:nth-child(2){margin-top:clamp(0rem,4vw,4.8rem)}
.page-index .support-home-image{height:clamp(22rem,43vw,43rem);isolation:isolate;background:#232323}
.page-index .support-home-image img{object-fit:cover;object-position:50% 39%;transition:scale .5s cubic-bezier(.2,.7,.2,1)}
.page-index .support-home-grid>a:hover img{scale:1.045}
.page-index .support-home-grid h3{display:flex;justify-content:space-between;gap:.35rem;align-items:baseline;font-size:clamp(1rem,2.1vw,2rem);letter-spacing:-.035em;margin:.55rem 0 0}
.page-index .support-home-grid h3 span{font-size:.7rem;letter-spacing:.07em;color:#bcbcbc}
.page-index #custom-home{background:var(--signal);color:#fff}
.page-index .custom-home__copy{padding:clamp(2.5rem,6vw,6rem) var(--gutter)}
.page-index .custom-home__copy h2{font-size:clamp(3.3rem,8vw,8.7rem);line-height:.79;letter-spacing:-.07em}
.page-index .custom-home__copy p{color:#fff}
.page-index .custom-home__copy .match-button:hover{background:#fff;color:#111;border-color:#fff}
.page-index .custom-home__stage{background:#9e1723;min-height:clamp(24rem,35vw,35rem)}
.match-seven{position:absolute;right:4%;bottom:0;font-size:clamp(12rem,30vw,30rem);line-height:.75;color:#fff;opacity:.15;letter-spacing:-.095em;font-weight:900}
.page-index .custom-home__shirt{background:#f2f0e9;color:#121212;filter:none}
.page-index .goods-placeholder{aspect-ratio:1.65;min-height:0;background:#e4e4dd;color:#111;border-top:2px solid #111}
.page-index .goods-placeholder span,.page-index .goods-placeholder small{color:#464646}
.page-index .news-home{background:#e7e7df;color:#111;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
.page-index .news-home>div:first-child{padding:clamp(2rem,5vw,5rem) var(--gutter);align-self:center}
.page-index .news-home h2{margin:.24em 0}
.news-home__photo{display:block;min-height:18rem;overflow:hidden}

@media(min-width:1001px) and (prefers-reduced-motion:no-preference){
 .match-hero__copy h1>span{animation:match-type .8s cubic-bezier(.18,.8,.18,1) both}
 .match-hero__copy h1>span:nth-child(2){animation-delay:.085s}
 .match-hero__media{animation:match-opening .85s cubic-bezier(.18,.8,.18,1) both}
}
@supports(animation-timeline:view()) and (animation-range:entry 0% cover 50%){
 @media(min-width:1001px) and (prefers-reduced-motion:no-preference){
  .match-hero__media img{animation:match-camera linear both;animation-timeline:scroll(root block);animation-range:0px 680px}
  .match-track::before{animation:match-sidestreak linear both;animation-timeline:scroll(root block);animation-range:18px 590px}
  .match-tape>div{animation:match-ticker linear both;animation-timeline:view(block);animation-range:entry 0% exit 100%}
  .page-index .atlas-heading h2{animation:match-sprint linear both;animation-timeline:view();animation-range:entry 0% cover 51%}
  .page-index .media-feature img{animation:match-kit linear both;animation-timeline:view();animation-range:entry 6% cover 52%}
  .page-index .support-home-grid>a{view-timeline:--fan-view block}
  .page-index .support-home-grid img{animation:match-fan-one linear both;animation-timeline:--fan-view;animation-range:entry 4% cover 54%}
  .page-index .support-home-grid>a:nth-child(2) img{animation:match-fan-two linear both;animation-timeline:--fan-view;animation-range:entry 5% cover 56%}
  .match-seven{animation:match-counter linear both;animation-timeline:view();animation-range:entry 5% exit 75%}
  .page-index .custom-home__shirt{animation:match-jersey linear both;animation-timeline:view();animation-range:entry 2% cover 68%}
  .page-index a:focus-visible img{animation:none}
 }
}
@keyframes match-type{from{transform:translateY(18%);opacity:.65}to{transform:none;opacity:1}}
@keyframes match-opening{from{opacity:.72}to{opacity:1}}
@keyframes match-camera{from{transform:scale(1.03)}to{transform:translate3d(0,-4%,0) scale(1.19)}}
@keyframes match-sidestreak{from{transform:translateX(42%) rotate(-21deg)}to{transform:translateX(-150%) rotate(-21deg)}}
@keyframes match-ticker{from{transform:translateX(0)}to{transform:translateX(-13rem)}}
@keyframes match-sprint{from{transform:translateX(-1.5rem)}to{transform:none}}
@keyframes match-kit{from{opacity:.68;transform:translateX(-2.2%) scale(.96)}to{opacity:1;transform:none}}
@keyframes match-fan-one{from{transform:scale(1.15) translateY(3%)}to{transform:scale(1.04)}}
@keyframes match-fan-two{from{transform:scale(1.17) translateY(-3.5%)}to{transform:scale(1.04)}}
@keyframes match-counter{from{transform:translateX(20%)}to{transform:translateX(-8%)}}
@keyframes match-jersey{from{transform:translate(6%,19%) rotate(7deg)}to{transform:translate(-2%,-2%) rotate(-3deg)}}

@media(max-width:1000px){
 .match-hero{column-gap:1.1rem}
 .page-index .home-feature-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
}
@media(max-width:760px){
 .match-hero{grid-template-columns:minmax(0,1fr)}
 .match-hero__copy{padding:1.35rem 0 1.45rem}
 .match-hero__note,.atlas-sideline{display:none}
 .match-hero h1{font-size:clamp(2.5rem,10.3vw,4.6rem)}
 .match-hero__media{height:clamp(19rem,88vw,32rem)}
 .match-hero figcaption{font-size:.66rem;letter-spacing:.05em}
 .page-index .home-feature-grid,.page-index .news-home{grid-template-columns:1fr}
 .page-index .home-feature-copy{padding:.75rem 0 0}
}
@media(max-width:650px){
 .page-index #supporter-home .support-home-grid{grid-template-columns:1fr}
 .page-index .section-heading h2{font-size:clamp(2.2rem,9vw,3.5rem)}
}
