/* FinPadel — tour-style sports design.
   Near-black + deep court blue, clay-orange accent, heavy italic condensed display type, full-bleed photography. */
:root {
	--black: #07090d;
	--night: #0b1220;
	--navy: #0f2451;
	--court: #1f55d6;
	--accent: #ff5b22;
	--accent-dark: #d9430f;
	--ball: #e6f53a;
	--bg: #eef1f5;
	--white: #ffffff;
	--ink: #0e131b;
	--ink-2: #3a4352;
	--muted: #6b7584;
	--line: #d9dee6;
	--display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
	--body: "Barlow", "Helvetica Neue", Arial, sans-serif;
	--skew: -12deg;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17.5px/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
svg { max-width: 100%; height: auto; }
a { color: var(--court); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; line-height: .95; letter-spacing: .005em; color: var(--ink); }
h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); margin: 0 0 .25em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin: 1.7em 0 .5em; }
h3 { font-size: 1.5rem; margin: 1.5em 0 .4em; }
p, ul, ol, dl { margin: 0 0 1.05em; }
li { margin: .25em 0; }
strong { font-weight: 600; }
.small { font-size: .88rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 40px); margin-inline: auto; }

/* Slanted label used for categories, kickers and tags */
.kicker, .cat, .tag {
	display: inline-block; font: 700 .78rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; font-style: normal;
	background: var(--accent); color: #fff; padding: 7px 12px 6px; transform: skewX(var(--skew)); margin: 0 0 16px;
}
.kicker > *, .cat > *, .tag > * { display: inline-block; transform: skewX(calc(var(--skew) * -1)); }
.tag { margin: 0; padding: 5px 9px 4px; font-size: .68rem; background: var(--navy); }
.tag-closed { background: #8b1d1d; }

/* ---------- Header ---------- */
.topbar { background: var(--black); color: #9aa6b8; font: 600 .74rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--accent); }
@media (max-width: 700px) { .topbar .hide-sm { display: none; } }
.site-header { background: var(--night); color: #fff; position: sticky; top: 0; z-index: 50; border-bottom: 3px solid var(--accent); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 800 italic 1.9rem/1 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.logo:hover { color: #fff; }
.logo b { color: var(--accent); font-weight: 800; }
.logo svg { width: 34px; height: 22px; flex: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; }
.site-nav li { margin: 0; }
.site-nav a { display: block; color: #e3e8f0; text-decoration: none; font: 700 1.02rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; padding: 24px 14px; position: relative; }
.site-nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -3px; height: 3px; background: #fff; transform: scaleX(0); transition: transform .15s; }
.site-nav a:hover { color: #fff; }
.site-nav a:hover::after, .site-nav a[aria-current]::after { transform: scaleX(1); }
.site-nav a[aria-current] { color: #fff; }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 24px; height: 3px; background: #fff; position: relative; content: ""; }
.bars::before { position: absolute; top: -7px; }
.bars::after { position: absolute; top: 7px; }
@media (max-width: 960px) {
	.menu-toggle { display: block; }
	.site-nav { display: none; position: absolute; left: 0; right: 0; top: 71px; background: var(--night); padding: 0 20px 14px; border-bottom: 3px solid var(--accent); }
	.site-nav.open { display: block; }
	.site-nav ul { flex-direction: column; }
	.site-nav a { padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
	.site-nav a::after { display: none; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-block; background: var(--accent); color: #fff; font: 700 1rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; padding: 16px 26px 15px; transform: skewX(var(--skew)); border: 2px solid var(--accent); transition: background .15s, color .15s; }
.btn > span, .btn { font-style: normal; }
.btn:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .8); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-dark { background: var(--ink); border-color: var(--ink); }
.btn-small { padding: 9px 14px 8px; font-size: .82rem; white-space: nowrap; }
.btn-label { display: inline-block; transform: skewX(calc(var(--skew) * -1)); }

/* ---------- Hero (home) ---------- */
.hero { position: relative; background: var(--black) center / cover no-repeat; color: #fff; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 9, 13, .92) 0%, rgba(7, 9, 13, .7) 45%, rgba(7, 9, 13, .15) 100%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(0deg, rgba(7, 9, 13, .8), transparent); }
.hero .wrap { position: relative; z-index: 1; padding: 110px 0 120px; }
.hero h1 { color: #fff; font-size: clamp(3.4rem, 9vw, 7.6rem); max-width: 9ch; margin-bottom: .15em; }
.hero h1 em { color: var(--accent); font-style: italic; }
.hero .lead { font-size: 1.25rem; max-width: 46ch; color: #d8dfea; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
@media (max-width: 700px) { .hero .wrap { padding: 70px 0 80px; } .hero::before { background: rgba(7, 9, 13, .72); } }

/* ---------- Ranking strip ---------- */
.ranking { background: var(--navy); color: #fff; border-bottom: 3px solid var(--accent); }
.ranking .wrap { display: grid; grid-template-columns: auto 1fr 1fr auto; align-items: stretch; }
.ranking-title { font: 800 italic 1.3rem/1 var(--display); text-transform: uppercase; display: flex; flex-direction: column; justify-content: center; padding: 18px 28px 18px 0; border-right: 1px solid rgba(255, 255, 255, .15); }
.ranking-title small { font: 600 .72rem/1.3 var(--display); letter-spacing: .12em; color: #9fb2d8; font-style: normal; margin-top: 4px; }
.ranking-col { padding: 14px 24px; border-right: 1px solid rgba(255, 255, 255, .15); }
.ranking-col h3 { margin: 0 0 6px; font-size: .78rem; font-style: normal; letter-spacing: .14em; color: #9fb2d8; }
.ranking-col ol { list-style: none; margin: 0; padding: 0; }
.ranking-col li { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: baseline; margin: 2px 0; font-size: .96rem; }
.ranking-col .pos { font: 800 italic 1.4rem/1 var(--display); color: var(--accent); }
.ranking-col .pts { font: 700 1rem/1 var(--display); color: #c9d6ef; font-variant-numeric: tabular-nums; }
.ranking-more { display: flex; align-items: center; padding-left: 24px; }
.ranking-more a { color: #fff; font: 700 .9rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.ranking-more a:hover { color: var(--accent); }
@media (max-width: 960px) {
	.ranking .wrap { grid-template-columns: 1fr; }
	.ranking-title, .ranking-col { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .15); padding: 14px 0; }
	.ranking-more { padding: 14px 0; }
}

/* ---------- Stats band ---------- */
.stats { background: var(--white); border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 22px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font: 800 italic clamp(2.4rem, 5vw, 3.6rem)/1 var(--display); color: var(--court); }
.stat span { display: block; font: 700 .86rem/1.3 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-top: 6px; }
.stats .source { grid-column: 1 / -1; padding: 0 22px 14px; margin: 0; }
@media (max-width: 800px) { .stats .wrap { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat { border-bottom: 1px solid var(--line); } }

/* ---------- Section headings ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--white); }
.section-dark { background: var(--night); color: #dfe6f1; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 26px; }
.section-head h2 { margin: 0; }
.section-head h2::before, .rule-title::before { content: ""; display: inline-block; width: 14px; height: .8em; background: var(--accent); transform: skewX(var(--skew)); margin-right: 14px; vertical-align: -.02em; }
.section-head a { font: 700 .9rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }

/* ---------- Cards ---------- */
.cards { list-style: none; padding: 0; margin: 22px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.cards li { margin: 0; }
.card { display: flex; flex-direction: column; gap: 6px; height: 100%; background: var(--white); border-left: 4px solid var(--accent); padding: 18px 20px; text-decoration: none; color: var(--ink); box-shadow: 0 1px 0 var(--line); transition: transform .15s, box-shadow .15s; }
.card strong { font: 800 italic 1.45rem/1 var(--display); text-transform: uppercase; }
.card span { color: var(--ink-2); font-size: .95rem; line-height: 1.45; }
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(7, 9, 13, .12); color: var(--ink); }
.section-dark .card { background: #121c30; color: #fff; }
.section-dark .card span { color: #aab6c9; }

/* Photo cards */
.cards-photo { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.card-photo { position: relative; padding: 0; border: 0; min-height: 320px; background: var(--black); overflow: hidden; justify-content: flex-end; color: #fff; }
.card-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 9, 13, 0) 30%, rgba(7, 9, 13, .9) 100%); z-index: 1; }
.card-photo .card-body { position: relative; z-index: 2; padding: 20px 22px 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.card-photo .cat { margin: 0 0 4px; }
.card-photo strong { font-size: 1.8rem; color: #fff; }
.card-photo span.txt { color: #d5dce8; font-size: .95rem; }
.card-photo:hover { color: #fff; }
.card-photo:hover img { transform: scale(1.05); }
.cards-photo li:first-child .card-photo { min-height: 100%; }
@media (min-width: 900px) { .cards-feature { grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 300px; } .cards-feature li:first-child { grid-row: span 2; } .cards-feature .card-photo { min-height: 0; } .cards-feature li:first-child strong { font-size: 2.8rem; } }

/* City chips */
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { margin: 0; }
.chips a { display: inline-block; font: 700 1.05rem/1 var(--display); letter-spacing: .05em; text-transform: uppercase; text-decoration: none; color: #fff; border: 1px solid rgba(255, 255, 255, .3); padding: 12px 16px 11px; transform: skewX(var(--skew)); transition: background .15s, border-color .15s; }
.chips a > span { display: inline-block; transform: skewX(calc(var(--skew) * -1)); }
.chips a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- Page head (inner pages) ---------- */
.page-head { position: relative; background: var(--night) center / cover no-repeat; color: #fff; overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 9, 13, .94) 0%, rgba(7, 9, 13, .75) 55%, rgba(7, 9, 13, .35) 100%); }
.page-head .wrap { position: relative; z-index: 1; padding: 36px 0 52px; }
.page-head h1 { color: #fff; max-width: 16ch; }
.page-head .lead { font-size: 1.2rem; max-width: 58ch; color: #d3dbe8; margin: 0; }
.page-head.has-photo .wrap { padding: 60px 0 76px; }

/* ---------- Breadcrumbs ---------- */
.crumbs ol { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; font: 600 .8rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: #8e9bb1; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "›"; margin-right: 8px; color: var(--accent); }
.crumbs a { color: #c5cfdf; text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; }

/* ---------- Content layout ---------- */
.content { padding: 48px 0 76px; }
.content .narrow, .with-aside > article { background: var(--white); padding: 40px 44px; }
.content > .narrow > :first-child, article > :first-child { margin-top: 0; }
@media (max-width: 700px) { .content .narrow, .with-aside > article { padding: 26px 20px; } .content .narrow { width: 100%; } }
.content > .wrap > .narrow { padding: 0; background: none; }
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.with-aside aside { position: sticky; top: 96px; display: grid; gap: 18px; }
@media (max-width: 980px) { .with-aside { grid-template-columns: minmax(0, 1fr); } .with-aside aside { position: static; } }
.card-photo { background: var(--night); }
article h2, .content .narrow > h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
article h2::before, .content .narrow > h2::before { content: ""; display: inline-block; width: 11px; height: .75em; background: var(--accent); transform: skewX(var(--skew)); margin-right: 12px; vertical-align: -.02em; }
.toc { background: var(--night); color: #fff; padding: 20px 22px; }
.toc h2 { color: #fff; font-size: 1.1rem; margin: 0 0 10px; }
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; margin: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.toc a { display: flex; gap: 12px; padding: 10px 0; color: #dfe6f1; text-decoration: none; font: 600 1rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.toc a::before { content: counter(toc); font-style: italic; font-weight: 800; color: var(--accent); min-width: 14px; }
.toc a:hover { color: #fff; }
aside .cards { grid-template-columns: 1fr; margin: 0; gap: 10px; }

/* ---------- Callouts ---------- */
.note { background: #fff4ee; border-left: 5px solid var(--accent); padding: 16px 20px; margin: 22px 0; }
.note > :last-child, .key-facts > :last-child { margin-bottom: 0; }
.key-facts { margin: 22px 0; background: var(--bg); padding: 6px 20px; }
.key-facts dl, dl.key-facts { display: grid; grid-template-columns: minmax(140px, max-content) 1fr; }
dl.key-facts { padding: 6px 20px; }
.key-facts dt { font: 700 1.05rem/1.3 var(--display); text-transform: uppercase; letter-spacing: .03em; padding: 12px 20px 12px 0; border-bottom: 1px solid var(--line); }
.key-facts dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.key-facts dt:last-of-type, .key-facts dd:last-of-type { border-bottom: 0; }
@media (max-width: 600px) { .key-facts dl, dl.key-facts { grid-template-columns: 1fr; } .key-facts dt { border-bottom: 0; padding-bottom: 0; } }
.source { font-size: .82rem; color: var(--muted); }
.source a { color: var(--muted); }

/* ---------- Tables ---------- */
.table-wrap { display: block; width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 24px 0; }
.with-aside > article, .with-aside > aside, .content .narrow { min-width: 0; }
@media (max-width: 700px) {
	th, td { padding: 10px 10px 10px 0; font-size: .88rem; }
	.slot { white-space: normal; }
}
table { border-collapse: collapse; width: 100%; font-size: .95rem; background: var(--white); }
caption { text-align: left; font: 800 italic 1.2rem/1 var(--display); text-transform: uppercase; padding: 0 0 10px; color: var(--ink); }
th, td { padding: 12px 14px; text-align: left; vertical-align: top; }
thead th { background: var(--night); color: #fff; font: 700 .82rem/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase; }
tbody tr:nth-child(even) { background: #f4f6f9; }
tbody th { font-weight: 600; }
tbody tr { border-bottom: 1px solid var(--line); }
.slot { display: inline-block; font: 700 .74rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px dashed #b9c1cd; padding: 6px 10px; white-space: nowrap; }

/* ---------- Venue directory ---------- */
.venues { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 14px; }
.venue { margin: 0; background: var(--bg); border-left: 5px solid var(--court); padding: 20px 22px; }
.venue h3 { margin: 0 0 8px; font-size: 1.7rem; }
.venue .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; color: var(--ink-2); font-size: .93rem; margin-bottom: 8px; }
.venue p { margin: 0 0 8px; }
.venue .links { display: flex; flex-wrap: wrap; gap: 10px; }
.venue .links a { display: inline-block; font: 700 .85rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: #fff; background: var(--ink); padding: 10px 14px 9px; transform: skewX(var(--skew)); }
.venue .links a:last-child { background: var(--accent); }
.venue .links a:hover { background: var(--court); }
.venue:has(.tag-closed) { border-left-color: #8b1d1d; opacity: .75; }

/* ---------- FAQ ---------- */
.faq { margin-top: 44px; }
.faq details { background: var(--bg); margin: 8px 0; }
.faq summary { cursor: pointer; list-style: none; font: 700 1.2rem/1.25 var(--display); text-transform: uppercase; letter-spacing: .02em; padding: 16px 52px 16px 20px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 0; bottom: 0; width: 46px; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 1.5rem; }
.faq details[open] summary::after { content: "–"; background: var(--ink); }
.faq .faq-a { padding: 0 20px 16px; }
.faq .faq-a > :last-child { margin-bottom: 0; }

/* ---------- Figures ---------- */
figure { margin: 26px 0; }
figure svg { display: block; width: 100%; background: #fff; }
figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #aab4c4; font-size: .94rem; border-top: 4px solid var(--accent); }
.footer-mark { font: 800 italic clamp(3.4rem, 11vw, 8.6rem)/.85 var(--display); text-transform: uppercase; color: #fff; padding: 52px 0 26px; margin: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-mark b { color: var(--accent); font-weight: 800; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding: 34px 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
.footer-about .small { color: #7f8a9c; }
.site-footer h2 { color: #fff; font-size: 1.15rem; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 8px; }
.site-footer a { color: #dfe6f1; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 16px 0 26px; font: 600 .78rem/1.4 var(--display); letter-spacing: .1em; text-transform: uppercase; color: #6f7a8c; }
.footer-bottom p { margin: 0; }

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