.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap} /* ---------- speed streak motif ---------- */ .streak{height:10px;display:flex;gap:4px;overflow:hidden} .streak i{flex:1;transform:skewX(-20deg)} .streak i:nth-child(4n+1){background:var(--sun)} .streak i:nth-child(4n+2){background:var(--sky)} .streak i:nth-child(4n+3){background:var(--red)} .streak i:nth-child(4n+4){background:var(--ocean)} /* ---------- header ---------- */ /* ---------- page switching ---------- */ /* ---------- hero ---------- */ /* ---------- hero bottom tickers ---------- */ /* countdown board */ /* ---------- generic sections ---------- */ /* ---------- page hero banners (events / results / photos) ---------- */ /* text is centered against the separator line; clamped to max 2 lines */ /* Events + Results banner photo */ /* ---------- event rows ---------- */ .ev{ display:grid;grid-template-columns:150px 1fr auto;gap:clamp(16px,2.8vw,30px); align-items:stretch;padding:24px 0;border-bottom:1px solid var(--rule); } .ev-logo{ width:100%; display:grid;place-items:center;overflow:hidden;padding:6px; } .ev-logo img{width:100%;height:100%;object-fit:contain} .ev-main{align-self:center} .ev-main h3{margin-bottom:8px;font-size:clamp(1.15rem,2vw,1.5rem)} .icon-pin{-webkit-mask-image:url(/images/shared/icon-pin.webp);mask-image:url(/images/shared/icon-pin.webp)} .icon-cal{-webkit-mask-image:url(/images/shared/icon-cal.webp);mask-image:url(/images/shared/icon-cal.webp)} /* Race calendar description: max 2 lines per entry, block height fixed to 3 lines (3 x 21.6px line-height = 64.8px) */ .ev-desc{height:64.8px;overflow:hidden;display:flex;flex-direction:column;justify-content:center} /* Date line stays on 1 line so the block never exceeds 2 (venue) + 1 (date) = 3 lines */ .ev-dist{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px} .ev-dist span{ font-weight:700;font-size:.76rem;padding:4px 10px;background:#E7E9EC;color:var(--fg); } .ev-side{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:10px;text-align:right} .tag-open{background:#1E7B3C;color:#fff} .status-open{display:inline-block;font-size:.72rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#1E7B3C} .tag-closed{background:var(--red)} @media (max-width:760px){ .ev{grid-template-columns:84px 1fr;gap:14px} .ev-side{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:space-between;text-align:left;flex-wrap:wrap;margin-top:4px} } @media (min-width:761px) and (max-width:980px){ .ev{grid-template-columns:120px 1fr auto} } /* ---------- filters ---------- */ /* ---------- results ---------- */ /* ---------- photos ---------- */ /* photo tile grid */ .tile{ border:1px solid var(--rule);background:transparent;text-align:left;cursor:pointer; padding:0;display:flex;flex-direction:column;overflow:hidden;font-family:inherit;color:inherit; transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease; } .tile{transition:transform .15s ease,border-color .18s ease,box-shadow .18s ease} .tile:hover{border-color:var(--ocean);transform:scale(1.03);box-shadow:0 12px 24px rgba(0,0,0,.16)} .tile-logo{aspect-ratio:16/10;display:grid;place-items:center;padding:14px} .tile-logo img{width:100%;height:100%;object-fit:contain} .tile-body{padding:14px 16px 18px;border-top:1px solid var(--rule)} .tile-body h3{font-size:1.05rem;margin-bottom:8px} /* photo detail */ /* event name row + share */ /* blue photo search panel */ /* photo search bar */ /* selfie search modal */ /* ---------- about / contact ---------- */ /* ---------- trusted-by marquee ---------- */ /* ---------- CTA band ---------- */ /* ---------- footer ---------- */ /* ---------- contact dropdown ---------- */ /* ---------- map page ---------- */ /* map page: dark high-contrast treatment */ /* ---------- home page entrance & scroll animations ---------- */ /* headline highlight bar wipes in */ /* service icons pop */ /* subtle hover lift on service rows */ /* ================================================================ OPENING SEQUENCE — hero reveal The hero photo opens out from a centre line → type rises from masks → countdown board unfolds → tickers streak in. Everything below html.intro is only the pre-JS hidden state; GSAP takes over immediately and removes the class. ================================================================ */ /* masked headline lines */ /* pre-JS hidden states (prevents a flash of the finished hero) */ /* ================================================================ PAGE TRANSITION LAYERS Two oversized, slightly tilted panels (yellow under, ocean over) sweep across the viewport like a runner passing the camera. Transform-only: the tilt gives the slanted leading edge. ================================================================ */ .pt{position:fixed;inset:0;z-index:250;pointer-events:none;visibility:hidden;overflow:hidden} .pt.is-active{pointer-events:auto;visibility:visible} .pt-panel{ position:absolute;left:-15vw;width:130vw;top:-25vh;height:150vh; will-change:transform;backface-visibility:hidden; } .pt-panel--sun{background:var(--sun)} .pt-panel--ocean{background:var(--ocean)} .pt-title{ position:absolute;left:0;right:0;top:50%;transform:translateY(-50%); padding-inline:var(--gut);text-align:center;overflow:hidden; font-family:var(--display);font-weight:700;text-transform:uppercase;color:#fff; font-size:clamp(3.2rem,11vw,9.5rem);line-height:.9;letter-spacing:-0.02em; padding-block:.08em; } .pt-title span{display:block;will-change:transform} .pt-streak{ position:absolute;left:50%;top:calc(50% + clamp(2.4rem,6.6vw,5.8rem)); width:clamp(120px,16vw,220px);transform:translateX(-50%); } .pt-streak .streak{height:8px} @media (max-width:760px){ .pt-title{font-size:clamp(2.8rem,17vw,4.6rem)} .pt-streak{top:calc(50% + 2.6rem);width:120px} }
