:root {
    --orange:#ff5e14;
}

* {
    box-sizing:border-box;
}

body {
    margin:0;
    font:15px Arial,sans-serif;
    color:#17232c;
    background:#fff;
}

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

a:hover {
    color:var(--orange);
}

.wrap {
    width:66%;
    max-width:1170px;
    margin:auto;
}

header {
    background:#211b19;
    color:white;
    min-height:145px;
    border-top:1px solid #514945;
    padding:12px 0 30px;
}

.head {
    display:flex;
    align-items:center;
    gap:6%;
    padding:0 2%;
    font-size:12px;
}

.head nav {
    display:flex;
    gap:22px;
    margin-left:auto;
    flex-wrap:wrap;
}

.headtext {
    color:var(--orange);
    font-size:11px;
}

.headtext p {
    margin:5px 0;
}

.headbottom {
    display:grid;
    grid-template-columns:42% 58%;
    gap:25px;
    font-size:12px;
}

.headbottom p:first-child {
    color:var(--orange);
}

#brand {
    font-weight:bold;
    font-size:18px;
}

.stats {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    padding:0 0 42px;
}

.stats>div {
    display:flex;
    align-items:center;
    gap:12px;
}

.stats b {
    font-size:clamp(40px,5.4vw,90px);
    letter-spacing:-3px;
    background:linear-gradient(155deg,#bd8b32 10%,#fff 27%,#1d1712 48%,#bd8b32 68%,#201914 90%);
    color:transparent;
    background-clip:text;
}

.stats b small {
    font-size:.55em;
}

.stats span {
    font-size:12px;
    line-height:1.4;
    border-top:2px solid var(--orange);
    padding-top:8px;
}

.intro {
    display:grid;
    grid-template-columns:36% 64%;
    gap:30px;
    align-items:center;
    margin-bottom:110px;
}

.intro h1 {
    font-size:clamp(20px,2vw,35px);
    line-height:1.18;
    margin:0 0 20px;
    font-weight:600;
}

.intro p,.intro li {
    font-size:12px;
    color:#777;
    line-height:1.5;
}

.art {
    height:300px;
    display:flex;
    gap:16px;
    align-items:center;
    position:relative;
}

.arc {
    width:45%;
    height:80%;
    border-radius:0 160px 160px 0;
    background:linear-gradient(135deg,#0b343a,#136c75 40%,#c77931 41%,#123d48 65%,#09262d);
}

.arc.two {
    background:linear-gradient(150deg,#1a3f45,#90b6b8 45%,#234d54 46%,#b8a477);
}

.directory {
    display:grid;
    grid-template-columns:38% 38%;
    gap:7%;
    align-items:start;
    margin-bottom:70px;
}

.eyebrow {
    color:var(--orange);
    font-size:11px;
}

.directory h2 {
    font-size:clamp(20px,2vw,32px);
    line-height:1.2;
    margin:10px 0 20px;
}

.roundart {
    aspect-ratio:1;
    border-radius:50%;
    background:linear-gradient(155deg,#edb92b,#a2670e 55%,#22170f 56%,#4a2816);
    display:grid;
    place-items:center;
}

.roundart span {
    background:white;
    border-radius:50%;
    width:55%;
    aspect-ratio:1;
    display:grid;
    align-content:center;
    text-align:center;
    color:var(--orange);
    font-size:30px;
}

.roundart strong {
    font-size:18px;
    color:#202b32;
}

details {
    margin:0 0 10px;
}

summary {
    cursor:pointer;
    list-style:none;
    border-bottom:2px solid #252525;
    padding:10px 4px;
    font-size:14px;
    font-weight:600;
}

summary::-webkit-details-marker {
    display:none;
}

summary:after {
    content:'›';
    float:right;
}

details[open] summary:after {
    content:'×';
    color:var(--orange);
}

.panel {
    background:#f3f3f3;
    padding:10px 14px;
    margin-top:7px;
    font-size:12px;
    line-height:1.5;
}

.panel ul {
    padding-left:18px;
    margin:0;
}

.outlink {
    display:inline-block;
    margin-top:8px;
    color:#a93b00;
    text-decoration:underline;
}

footer {
    background:#211b19;
    color:#fff;
    padding:35px 0;
    margin-top:60px;
}

@media(max-width:800px) {
    .wrap {
        width:90%;
    }
    .head {
        flex-wrap:wrap;
    }
    .head nav {
        gap:12px;
        margin:10px 0;
    }
    .headbottom {
        grid-template-columns:1fr;
        gap:0;
    }
    .stats {
        gap:8px;
    }
    .stats>div {
        display:block;
    }
    .stats span {
        display:block;
    }
    .intro {
        grid-template-columns:1fr;
        gap:20px;
        margin-bottom:55px;
    }
    .art {
        height:180px;
        max-width:280px;
    }
    .directory {
        grid-template-columns:1fr;
        gap:25px;
    }
    .roundart {
        grid-row:1;
        width:45%;
        max-width:200px;
    }
    .intro h1 {
        font-size:22px;
    }
}

/* Smooth motion, without changing the original layout. */
html {
    scroll-behavior:smooth;
}

a,summary {
    transition:color .22s ease,background-color .22s ease;
}

summary:hover {
    color:var(--orange);
}

summary:focus-visible {
    outline:2px solid var(--orange);
    outline-offset:3px;
}

summary:after {
    content:'+';
    transition:transform .32s cubic-bezier(.22,1,.36,1),color .22s ease;
}

details[open] summary:after {
    content:'+';
    transform:rotate(45deg);
    color:var(--orange);
}

details.is-closing summary:after {
    transform:rotate(0);
    color:inherit;
}

.motion-enter {
    animation:motion-enter .65s cubic-bezier(.22,1,.36,1) both;
}

@keyframes motion-enter {
    from {
        opacity:0;
        transform:translateY(12px);
    }
    to {
        opacity:1;
        transform:translateY(0);
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior:auto;
    }
    *,*::before,*::after {
        animation:none!important;
        transition:none!important;
    }
}

/* External links: hidden until the HTML hidden attribute is removed. */
#external-links[hidden] {
    display: none;
}

#external-links a {
    text-decoration: underline;
}

/* Version 6: sticky navigation, counters, chart and article carousel. */
header {
    padding-top: 0;
}
.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #211b19;
    border-bottom: 1px solid #514945;
    padding: 12px 0;
}
.headbottom {
    padding-top: 76px;
    grid-template-columns: 42% minmax(0, 1fr);
}
.head nav {
    gap: clamp(8px, 1.4vw, 22px);
}
.menu-toggle {
    display: none;
}
section, footer {
    scroll-margin-top: 100px;
}
.stats b .counter {
    font-size: inherit;
    line-height: inherit;
    border: 0;
    padding: 0;
    display: inline;
    font-variant-numeric: tabular-nums;
}
.intro {
    grid-template-columns: 36% minmax(0, 1fr);
}
.sports-center {
    background: white;
    border-radius: 50%;
    width: 55%;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.sports-chart {
    display: flex;
    align-items: end;
    gap: 5px;
    width: 50%;
    height: 35%;
    border-bottom: 1px solid #ddd;
}
.sports-chart i {
    flex: 1;
    height: var(--level);
    background: var(--orange);
    transform-origin: bottom;
}
.sports-chart.chart-ready i {
    transform: scaleY(0);
}
.sports-chart.chart-visible i {
    transform: scaleY(1);
    transition: transform .85s cubic-bezier(.22,1,.36,1);
}
.sports-chart.chart-visible i:nth-child(2) { transition-delay: .08s; }
.sports-chart.chart-visible i:nth-child(3) { transition-delay: .16s; }
.sports-chart.chart-visible i:nth-child(4) { transition-delay: .24s; }
.sports-chart.chart-visible i:nth-child(5) { transition-delay: .32s; }
.articles {
    margin: 75px 0 0;
}
.project-title {
    font-size: clamp(29px, 5vw, 72px);
    letter-spacing: -1px;
    line-height: 1.1;
    margin: 0 0 36px;
    color: #9b601c;
}
.project-title em {
    font-style: normal;
    color: #fff;
    -webkit-text-stroke: 1px #9b601c;
}
.articles > p, .articles > ul {
    color: #62676a;
    font-size: 13px;
    line-height: 1.6;
}
.article-frame {
    overflow: hidden;
    border-top: 2px solid #222;
    box-shadow: 0 8px 30px #0000000b;
    margin-top: 30px;
}
.article-track {
    display: flex;
    transition: transform .7s cubic-bezier(.22,1,.36,1);
}
.article-slide {
    flex: 0 0 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: 26% minmax(0, 1fr);
    align-content: start;
    gap: 24px;
    padding: 24px;
}
.article-slide img {
    width: 100%;
    height: auto;
    display: block;
}
.article-body {
    font-size: 15px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}
.article-body h3, .article-body h4 {
    margin: 10px 0 5px;
}
.article-body p {
    margin: 0 0 20px;
}
.article-stars {
    color: var(--orange);
    letter-spacing: 3px;
}
.article-body blockquote {
    border-top: 1px solid #ddd;
    margin: 20px 0 0;
    padding: 14px 0;
    font-weight: bold;
}
.article-body blockquote::before {
    content: '“';
    color: var(--orange);
    font-size: 34px;
    margin-right: 10px;
}
.article-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: #b84200;
    width: fit-content;
    margin-left: auto;
    padding: 4px 10px;
}
.article-controls button {
    border: 0;
    background: transparent;
    color: white;
    cursor: pointer;
    min-width: 30px;
    min-height: 32px;
    font-size: 20px;
}
.article-dots {
    display: flex;
    align-items: center;
}
.article-dots button::after {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    margin: auto;
    background: white;
    border-radius: 50%;
}
.article-dots button[aria-current="true"]::after {
    width: 12px;
    height: 12px;
    background: transparent;
    border: 2px solid white;
}
@media (max-width: 800px) {
    .head {
        padding: 0 5%;
        justify-content: space-between;
    }
    .headtext { display: none; }
    .menu-toggle {
        display: block;
        background: transparent;
        color: white;
        border: 1px solid #777;
        padding: 9px 12px;
        border-radius: 3px;
    }
    .head nav { display: none; }
    .head nav.menu-open {
        display: grid;
        width: 100%;
        grid-template-columns: 1fr 1fr;
        margin: 8px 0 0;
    }
    .head nav a { padding: 9px 0; }
    .headbottom { grid-template-columns: 1fr; }
    .intro { grid-template-columns: 1fr; }
    .stats b { font-size: clamp(32px, 10vw, 58px); }
    .stats span { font-size: 11px; }
    .articles { margin-top: 48px; }
    .article-slide { grid-template-columns: 1fr; gap: 16px; padding: 16px; }
    .article-slide img { width: 110px; }
    .article-body { font-size: 15px; }
    .article-controls button { min-width: 36px; min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
    .sports-chart.chart-ready i { transform: none; }
}


/* =========================================================
   V7 — INTRO SLIDE AND SPORTS DONUT REVEAL
   Edit the durations and distance below to adjust the motion.
   ========================================================= */

:root {
    --intro-duration: 900ms;
    --intro-distance: 48px;
    --ring-duration: 1300ms;
}

.intro-ready > div {
    opacity: 0;
    transform: translateX(calc(-1 * var(--intro-distance)));
}

.intro-ready.section-visible > div {
    opacity: 1;
    transform: translateX(0);
    transition: opacity var(--intro-duration) ease,
                transform var(--intro-duration) cubic-bezier(.22, 1, .36, 1);
}

.intro-ready.section-visible > div:nth-child(2) {
    transition-delay: 140ms;
}

/* Animate the ring clockwise without moving its layout box. */
@property --ring-angle {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

.roundart {
    position: relative;
    isolation: isolate;
    background: none;
}

.roundart::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(155deg, #edb92b, #a2670e 55%, #22170f 56%, #4a2816);
    z-index: -1;
}

.roundart.ring-ready::before {
    --ring-angle: 0deg;
    mask-image: conic-gradient(#000 0deg var(--ring-angle), transparent var(--ring-angle) 360deg);
}

.roundart.ring-ready.section-visible::before {
    --ring-angle: 360deg;
    transition: --ring-angle var(--ring-duration) cubic-bezier(.35, .05, .25, 1);
}

.roundart.ring-ready .sports-center {
    opacity: 0;
}

.roundart.ring-ready.section-visible .sports-center {
    opacity: 1;
    transition: opacity 450ms ease 350ms;
}

@media (max-width: 700px) {
    :root {
        --intro-distance: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .intro-ready > div {
        opacity: 1;
        transform: none;
    }

    .roundart.ring-ready::before {
        mask-image: none;
    }

    .roundart.ring-ready .sports-center {
        opacity: 1;
    }
}


/* Accordion editorial content */
.panel .accordion-topic {
    font-size: 14px;
    margin: 0 0 8px;
}

.panel p {
    margin: 0 0 9px;
}

.panel ul + p {
    margin: 9px 0 0;
}

.panel li + li {
    margin-top: 3px;
}
