/* Landry Runs OKC — same brand as landryforokc.com (Forest / Yellow / Light Green, Montserrat). */
@font-face { font-family: "Montserrat"; src: url(fonts/montserrat-var.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
	--forest: #18462D;
	--forest-deep: #10331F;
	--ink: #0C2818;
	--yellow: #F9C623;
	--yellow-deep: #E5AE0F;
	--green: #8DC63F;
	--cream: #FFFBEF;
	--paper: #FFFFFF;
	--inset: 10px;
	--radius: 4px;
	--top-h: 72px;
	--font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (max-width: 760px) { :root { --inset: 0px; --top-h: 60px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--forest); color: var(--cream); font-family: var(--font); font-size: 17px; line-height: 1.6; font-weight: 500; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; background: var(--yellow); color: var(--ink); font-weight: 800; border-radius: 99px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

/* ---------- type ---------- */
.eyebrow { margin: 0 0 14px; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); }
.eyebrow--forest { color: var(--forest); }
.poster { margin: 0; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; line-height: .92; font-size: clamp(2.6rem, 5.4vw, 5rem); color: var(--cream); text-wrap: balance; }
.poster--md { font-size: clamp(2.2rem, 4.6vw, 4.2rem); }
.poster--forest { color: var(--forest); }

/* ---------- buttons ---------- */
.btnrow { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 50px; padding: 0 26px; border: 2px solid transparent; border-radius: 99px; font-weight: 800; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn .i { width: 18px; height: 18px; }
.btn--sm { min-height: 42px; padding: 0 22px; font-size: .82rem; }
.btn--yellow { background: var(--yellow); color: var(--forest); }
.btn--yellow:hover { background: var(--cream); }
.btn--ghost { border-color: rgba(255,251,239,.55); color: var(--cream); background: transparent; }
.btn--ghost:hover { border-color: var(--cream); background: rgba(255,251,239,.08); }
.btn--forest { background: var(--forest); color: var(--yellow); }
.btn--forest:hover { background: var(--ink); }
.btn--line { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn--line:hover { background: rgba(24,70,45,.08); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--top-h); padding: 0 calc(var(--inset) + 24px); background: var(--forest); }
.top__brand img { width: auto; height: 46px; }
.top__back { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 18px 0 12px; border: 2px solid rgba(255,251,239,.5); border-radius: 99px; font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; transition: border-color .15s, background-color .15s; }
.top__back .i { width: 18px; height: 18px; }
.top__back:hover { border-color: var(--yellow); background: rgba(255,251,239,.06); }
@media (max-width: 760px) {
	.top { padding: 0 14px; padding-top: env(safe-area-inset-top); height: calc(var(--top-h) + env(safe-area-inset-top)); }
	.top__brand img { height: 34px; }
	.top__back { min-height: 38px; padding: 0 14px 0 8px; font-size: .72rem; letter-spacing: .06em; }
}

/* ---------- inset frame ---------- */
.frame { display: flex; flex-direction: column; gap: var(--inset); padding: 0 var(--inset) var(--inset); }
.panel { border-radius: var(--radius); overflow: hidden; }
.panel--yellow { background: var(--yellow); color: var(--ink); }
.panel--green { background: var(--green); color: var(--ink); }
.panel--paper { background: var(--paper); color: var(--ink); }
.panel--forest { background: var(--forest-deep); }
.wrap { width: min(1180px, 100% - 48px); margin: 0 auto; }
@media (max-width: 760px) { .panel { border-radius: 0; } .wrap { width: calc(100% - 40px); } }

/* ---------- hero ---------- */
.hero { position: relative; display: grid; grid-template-columns: minmax(360px, 460px) 1fr; min-height: max(620px, calc(100svh - var(--top-h) - var(--inset))); border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.hero__panel { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: 48px 40px; background: var(--forest); }
.hero__lede { margin: 22px 0 0; font-size: 1.05rem; max-width: 34ch; }
.hero__lede b { color: var(--yellow); }
.count { display: flex; align-items: center; gap: 18px; margin-top: 30px; padding: 18px 24px; border-radius: 14px; background: var(--yellow); color: var(--forest); }
.count__num { margin: 0; font-weight: 900; font-size: clamp(4rem, 7vw, 5.6rem); line-height: .85; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.count__label { margin: 0; font-weight: 900; font-size: 1.05rem; line-height: 1.15; letter-spacing: .02em; text-transform: uppercase; }

.hero__map { position: relative; min-height: 100%; }
.map { position: absolute; inset: 0; background: var(--ink); }
.map__loading { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; font-weight: 700; color: rgba(255,251,239,.8); background: var(--ink); transition: opacity .4s; }
.map__loading span { width: 34px; height: 34px; border: 3px solid rgba(249,198,35,.25); border-top-color: var(--yellow); border-radius: 50%; animation: spin 1s linear infinite; }
.map__loading.is-done { opacity: 0; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.map__views { position: absolute; top: 16px; right: 16px; z-index: 3; display: flex; padding: 4px; border-radius: 99px; background: rgba(12,40,24,.88); }
.map__views button { white-space: nowrap; min-height: 38px; padding: 0 16px; border: 0; border-radius: 99px; background: transparent; color: var(--cream); font-weight: 800; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.map__views button[aria-pressed="true"] { background: var(--yellow); color: var(--forest); }

.replay { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 3; display: grid; grid-template-columns: auto minmax(130px, 210px) 1fr; align-items: center; gap: 16px; padding: 10px 18px 10px 10px; border-radius: 99px; background: rgba(12,40,24,.92); }
.replay[hidden] { display: none; }
.replay__btn { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--yellow); color: var(--forest); cursor: pointer; }
.replay__btn .i { width: 20px; height: 20px; }
.replay__btn .i--pause, .is-playing .replay__btn .i--play { display: none; }
.is-playing .replay__btn .i--pause { display: block; }
.replay__info p { margin: 0; line-height: 1.25; }
.replay__date { font-weight: 900; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .02em; color: var(--yellow); font-variant-numeric: tabular-nums; }
.replay__run { font-size: .8rem; color: rgba(255,251,239,.75); min-height: 1.25em; }
.replay__scrub { width: 100%; accent-color: var(--yellow); height: 28px; cursor: pointer; }

.maplibregl-ctrl-attrib { font-family: var(--font); font-size: 10px; }
.maplibregl-ctrl-bottom-right { bottom: 84px; }
.maplibregl-ctrl-group { border-radius: 10px !important; }

@media (max-width: 900px) {
	.hero { grid-template-columns: 1fr; min-height: 0; }
	.hero__panel { padding: 34px 20px 26px; text-align: center; align-items: center; }
	.hero .poster { font-size: clamp(2.5rem, 11.5vw, 3.6rem); }
	.hero__lede { margin: 16px auto 0; font-size: 1rem; line-height: 1.5; }
	.count { margin-top: 24px; width: 100%; max-width: 400px; justify-content: center; padding: 16px 20px; }
	.count__label { text-align: left; }
	.btnrow { justify-content: center; }
	.hero__btns { margin-top: 18px; width: 100%; max-width: 400px; }
	.hero__btns .btn--yellow { flex: 1; }
	.hero__ward { display: none; } /* the map has its own Ward 6 toggle */
	.hero__map { height: 68svh; min-height: 440px; max-height: 640px; }
	.map__views { left: 50%; right: auto; transform: translateX(-50%); top: 12px; }
	.map__views button { min-height: 34px; padding: 0 14px; font-size: .7rem; }
	.replay { left: 10px; right: 10px; bottom: 10px; grid-template-columns: auto 1fr; border-radius: 20px; gap: 2px 12px; padding: 8px 14px 6px 8px; }
	.replay__btn { width: 44px; height: 44px; }
	.replay__date { font-size: .95rem; }
	.replay__run { font-size: .74rem; }
	.replay__scrub { grid-column: 1 / -1; height: 26px; }
	.maplibregl-ctrl-bottom-right { bottom: 112px; }
	.maplibregl-ctrl-top-left { top: 6px; left: 6px; }
}
@media (max-width: 760px) { .hero { border-radius: 0; } }

/* ---------- stats ---------- */
.stats { padding: 56px 0; }
.stats__grid { width: min(1180px, 100% - 48px); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat__num { margin: 0; font-weight: 900; font-size: clamp(2.8rem, 5vw, 4.4rem); line-height: 1; color: var(--forest); font-variant-numeric: tabular-nums; }
.stat__num sup { font-size: .45em; vertical-align: super; margin-left: 2px; }
.stat__label { margin: 10px auto 0; max-width: 22ch; font-weight: 700; font-size: .95rem; line-height: 1.35; }
@media (max-width: 900px) {
	.stats { padding: 8px 0; }
	.stats__grid { grid-template-columns: repeat(2, 1fr); gap: 0; width: 100%; }
	.stat { padding: 28px 14px; }
	.stat:nth-child(odd) { border-right: 1.5px solid rgba(12,40,24,.16); }
	.stat:nth-child(-n+2) { border-bottom: 1.5px solid rgba(12,40,24,.16); }
	.stat__num { font-size: clamp(2.4rem, 11vw, 3rem); }
	.stat__label { font-size: .84rem; margin-top: 8px; }
}

/* ---------- ward 6 ---------- */
.ward { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; padding: 72px max(24px, calc((100% - 1180px) / 2)); }
.ward__text p { max-width: 44ch; }
.ward__text > p:not(.eyebrow) { margin: 22px 0 0; font-size: 1.05rem; }
.ward__nums { display: flex; flex-wrap: wrap; gap: 32px; margin: 30px 0 6px; }
.ward__nums p { margin: 0; display: flex; flex-direction: column; }
.ward__nums b { font-weight: 900; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; color: var(--yellow); }
.ward__nums span { margin-top: 6px; font-size: .9rem; font-weight: 700; color: rgba(255,251,239,.8); }
.ward__art { margin: 0; }
.ward__art svg { width: 100%; height: auto; max-height: 640px; }
.ward__art figcaption { margin-top: 10px; font-size: .78rem; color: rgba(255,251,239,.6); text-align: center; }
@media (max-width: 900px) {
	.ward { grid-template-columns: 1fr; padding: 48px 20px 44px; text-align: center; gap: 26px; }
	.ward__text p { margin-left: auto; margin-right: auto; }
	.ward__text > p:not(.eyebrow) { font-size: 1rem; margin-top: 16px; }
	.ward__nums { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0 22px; }
	.ward__nums p { padding: 16px 10px; border-radius: 12px; background: rgba(255,251,239,.06); }
	.ward__nums b { font-size: 2.3rem; }
	.ward__nums span { font-size: .8rem; line-height: 1.3; }
	.ward__text .btn { width: 100%; max-width: 400px; }
	.ward__art { max-width: 360px; margin: 0 auto; order: -1; }
	.ward__art figcaption { font-size: .72rem; }
}

/* ---------- chart ---------- */
.chart { padding: 72px 0; }
.chart__sub { margin: 18px 0 0; font-size: 1.02rem; }
.chart__box { position: relative; margin-top: 30px; }
.chart__svg { width: 100%; height: 360px; overflow: visible; }
.chart__svg .grid line { stroke: rgba(12,40,24,.1); }
.chart__svg .axis text { fill: rgba(12,40,24,.62); font-size: 12px; font-weight: 700; font-family: var(--font); }
.chart__svg .area { fill: rgba(141,198,63,.28); }
.chart__svg .line { fill: none; stroke: var(--forest); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart__svg .endlabel { fill: var(--forest); font-weight: 900; font-size: 15px; font-family: var(--font); }
.chart__svg .cross { stroke: var(--forest); stroke-width: 1; stroke-dasharray: 3 3; }
.chart__svg .dot { fill: var(--yellow); stroke: var(--forest); stroke-width: 2.5; }
.chart__tip { position: absolute; z-index: 2; min-width: 168px; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: var(--cream); font-size: .84rem; line-height: 1.45; pointer-events: none; transform: translate(-50%, -100%); box-shadow: 0 8px 24px rgba(12,40,24,.2); }
.chart__tip b { display: block; color: var(--yellow); font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.chart__table { margin-top: 22px; font-size: .9rem; }
.chart__table summary { cursor: pointer; font-weight: 800; color: var(--forest); }
.chart__tablewrap { max-height: 320px; overflow: auto; margin-top: 12px; }
.chart__table table { border-collapse: collapse; width: 100%; max-width: 640px; }
.chart__table th, .chart__table td { padding: 6px 12px; text-align: right; border-bottom: 1px solid rgba(12,40,24,.1); font-variant-numeric: tabular-nums; }
.chart__table th:first-child, .chart__table td:first-child { text-align: left; }
@media (max-width: 760px) {
	.chart { padding: 48px 0 44px; text-align: center; }
	.chart__sub { font-size: .95rem; }
	.chart__box { margin-top: 22px; text-align: left; }
	.chart__svg { height: 250px; }
	.chart__table { text-align: left; }
}

/* ---------- streets wall ---------- */
.streets { padding: 72px 0 80px; }
.streets__sub { margin: 18px 0 0; font-size: 1.02rem; font-weight: 600; }
.streets__wall { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.streets__wall li { padding: 8px 14px; border-radius: 6px; background: var(--forest); color: var(--cream); font-weight: 900; font-size: clamp(.86rem, 1.5vw, 1.06rem); letter-spacing: .02em; text-transform: uppercase; line-height: 1.1; }
.streets__wall li:nth-child(3n+2) { background: var(--yellow); color: var(--forest); }
.streets__wall li:nth-child(5n+4) { background: var(--cream); color: var(--forest); }
.streets__group { margin: 34px 0 0; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--forest); }
.streets__group + .streets__wall { margin-top: 14px; }
.streets__sub + .streets__wall { margin-top: 30px; }
.streets__wall--other li, .streets__wall--other li:nth-child(n) { background: transparent; color: var(--forest); box-shadow: inset 0 0 0 2px rgba(24,70,45,.45); }
@media (max-width: 760px) {
	.streets { padding: 48px 0 52px; text-align: center; }
	.streets__sub { font-size: .95rem; }
	.streets__group { margin-top: 28px; }
	.streets__wall { justify-content: center; gap: 6px; }
	.streets__wall li { padding: 6px 9px; font-size: .7rem; letter-spacing: .01em; }
	/* phones: show a few rows, then "Show all" */
	.streets.is-collapsed [data-streets="w6"] { max-height: 236px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }
	.streets.is-collapsed .streets__wall--other, .streets.is-collapsed [data-streets-other-title] { display: none; }
	.streets.is-collapsed .streets__more { display: inline-flex; }
}
.streets__more { display: none; margin-top: 18px; }

/* ---------- recent runs ---------- */
.recent { padding: 72px 0 80px; }
.recent__grid { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.run { display: flex; flex-direction: column; height: 100%; border-radius: 10px; overflow: hidden; background: var(--forest); color: var(--cream); text-decoration: none; }
.run svg { aspect-ratio: 1; width: 100%; height: auto; background: var(--forest-deep); }
.run svg path { fill: none; stroke: var(--yellow); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.run__meta { padding: 14px 16px 16px; }
.run__date { margin: 0; font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,251,239,.72); }
.run__mi { margin: 4px 0 0; font-weight: 900; font-size: 1.7rem; line-height: 1; color: var(--yellow); }
.run__mi small { font-size: .55em; margin-left: 3px; color: var(--cream); }
.run__w6 { margin: 8px 0 0; font-size: .8rem; font-weight: 700; color: var(--green); }
.recent__more { margin-top: 26px; }
@media (max-width: 1000px) { .recent__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
	.recent { padding: 48px 0 52px; }
	.recent .wrap { width: 100%; }
	.recent .eyebrow, .recent .poster, .recent__more { padding: 0 20px; }
	/* swipeable row of run cards */
	.recent__grid { display: flex; gap: 12px; margin-top: 26px; padding: 0 20px 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.recent__grid::-webkit-scrollbar { display: none; }
	.recent__grid .run { flex: 0 0 66%; scroll-snap-align: start; }
	.run__mi { font-size: 1.5rem; }
	.recent__more .btn { width: 100%; }
}

/* ---------- CTA ---------- */
.cta { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; }
.cta__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.cta__text { display: flex; flex-direction: column; justify-content: center; padding: 64px clamp(24px, 5vw, 72px); }
.cta__text > p:not(.eyebrow) { margin: 22px 0 0; font-size: 1.05rem; max-width: 42ch; }
@media (max-width: 900px) {
	.cta { grid-template-columns: 1fr; min-height: 0; }
	.cta__photo { aspect-ratio: 4 / 3; }
	.cta__text { padding: 36px 20px 44px; text-align: center; align-items: center; }
	.cta__text > p:not(.eyebrow) { font-size: 1rem; }
	.cta .btnrow { justify-content: center; width: 100%; max-width: 400px; flex-direction: column; }
	.cta .btn { width: 100%; }
}

/* ---------- footer ---------- */
.foot { padding: 40px calc(var(--inset) + 24px) 48px; }
.foot__row { display: flex; align-items: center; gap: 28px; }
.foot__row img { height: 42px; width: auto; flex: none; }
.foot__data { margin: 0; font-size: .8rem; line-height: 1.55; color: rgba(255,251,239,.72); max-width: 80ch; }
.foot__paid { display: inline-block; margin: 26px 0 0; padding: 8px 14px; border: 1.5px solid rgba(255,251,239,.6); font-size: .8rem; font-weight: 700; }
@media (max-width: 760px) { .foot { padding: 36px 20px calc(40px + env(safe-area-inset-bottom)); text-align: center; } .foot__row { flex-direction: column; gap: 16px; } .foot__data { font-size: .76rem; } }
@media (hover: none) { .btn, .top__back, .map__views button, .replay__btn { -webkit-tap-highlight-color: transparent; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .map__loading span { animation: none; } }

/* ---------- get involved list ---------- */
.help { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; max-width: 560px; }
.help a { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 14px 16px; border-radius: 12px; background: rgba(24,70,45,.1); color: var(--forest); text-decoration: none; text-align: left; transition: background-color .15s; }
.help a:hover { background: rgba(24,70,45,.18); }
.help__t { font-weight: 900; font-size: 1rem; text-transform: uppercase; letter-spacing: .02em; }
.help__t::after { content: " →"; }
.help__d { font-size: .86rem; font-weight: 600; line-height: 1.35; }
@media (max-width: 900px) { .help { margin-left: auto; margin-right: auto; } }
@media (max-width: 420px) { .help { grid-template-columns: 1fr; } }
.stats__grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
	.stats__grid { grid-template-columns: 1fr 1fr; }
	.stat:nth-child(odd) { border-right: 0; }
	.stat:nth-child(1) { border-right: 1.5px solid rgba(12,40,24,.16); }
	.stat:nth-child(3) { grid-column: 1 / -1; border-bottom: 0; }
}

/* footer: centered */
.foot { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0; padding: 44px 20px calc(44px + env(safe-area-inset-bottom)); }
.foot__logo { height: 44px; width: auto; }
.foot__paid { margin: 22px 0 0; }
.foot__data { margin: 18px 0 0; font-size: .74rem; color: rgba(255,251,239,.6); }
