/* Cheeky Pickleball — site styles. Self-hosted OFL fonts; no external requests. */
@font-face { font-family: "Gelasio"; src: url("/static/fonts/gelasio-var.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Gelasio"; src: url("/static/fonts/gelasio-italic-var.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/static/fonts/barlowcondensed-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/static/fonts/barlowcondensed-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --green: #67ce41;        /* logo green — fills only, never small text on white */
  --green-dark: #2f7a1c;   /* text-safe green */
  --ink: #1f2124;
  --charcoal: #474747;     /* logo grey */
  --muted: #5d6166;
  --paper: #faf7f0;
  --court: #99b0bd;
  --net: #464856;
  --line: #e4e0d6;
  --lime: #b6ff99;
  --serif: "Gelasio", Georgia, "Times New Roman", serif;
  --cond: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); text-underline-offset: 2px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--net); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(32px, 6.4vw, 54px); letter-spacing: -0.01em; }
h2 { font-size: clamp(25px, 4vw, 34px); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }
main { flex: 1 0 auto; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }

.kicker { font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: 15px; color: var(--green-dark); margin-bottom: .6em; }
.lede { font-size: 20px; color: #33363a; }

.button { display: inline-block; font-family: var(--cond); font-weight: 600; font-size: 19px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: #0f2a0a; background: var(--green); border: 0; border-radius: 999px; padding: 13px 28px; cursor: pointer; box-shadow: 0 2px 0 #3f8f22; transition: transform .08s ease, background .15s ease; }
.button:hover { background: #5dc137; color: #0f2a0a; }
.button:active { transform: translateY(1px); box-shadow: 0 1px 0 #3f8f22; }

/* header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 20px; }
.brand { display: block; line-height: 0; }
.brand img { height: 52px; width: auto; }
.site-nav { display: flex; gap: 22px; }
.site-nav a { font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: 17px; color: var(--charcoal); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--green); }

/* hero */
.hero { background: var(--paper); padding: 40px 0 48px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero-art img { border-radius: var(--radius); box-shadow: 0 10px 30px rgba(31, 33, 36, .10); background: #fff; }
.hero-cta { margin-top: 1.4em; }

/* bands */
.band { padding: 56px 0; }
.band-paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-court { background: var(--net); color: #fff; }
.band-court h2 { color: #fff; }
.band-court p { color: #e6e8f0; font-size: 19px; margin: 0; }
.feature { display: grid; gap: 28px; align-items: center; }
.feature-art img { border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.price { font-family: var(--serif); font-weight: 700; font-size: 30px; color: var(--ink); }
.trio { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
.trio li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 8px; text-align: center; }
.trio h3 { font-size: 20px; }

/* product page */
.pdp { padding: 28px 0 48px; }
.pdp-grid { display: grid; gap: 28px; }
.shot { display: none; gap: 12px; grid-template-columns: 1fr 0.62fr; align-items: start; }
.shot-back { grid-column: 1 / -1; }
.shot figure { margin: 0; position: relative; }
.shot img { border-radius: var(--radius); border: 1px solid var(--line); }
.shot figcaption { position: absolute; left: 12px; top: 12px; font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; background: rgba(255, 255, 255, .9); color: var(--ink); padding: 2px 10px; border-radius: 999px; }
.shot-front { max-width: 100%; }
.buybox h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: .25em; }
.pdp-lede { color: #33363a; }
.opts { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.opts legend { font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: 15px; margin-bottom: 8px; display: flex; gap: 12px; align-items: baseline; width: 100%; }
.small-link { font-family: var(--sans); font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 14px; }
.opts input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px 14px; }
.swatch { display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; width: 72px; text-align: center; }
.sw-dot { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #b9b5ab; box-shadow: inset 0 -2px 4px rgba(0, 0, 0, .06); }
.sw-name { font-size: 13px; line-height: 1.2; color: var(--muted); }
.opts input:checked + .swatch .sw-dot { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--ink); }
.opts input:checked + .swatch .sw-name { color: var(--ink); font-weight: 600; }
.opts input:focus-visible + label { outline: 3px solid var(--net); outline-offset: 3px; border-radius: 10px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { min-width: 54px; text-align: center; padding: 9px 10px; border: 1px solid #b9b5ab; border-radius: 10px; font-family: var(--cond); font-weight: 600; font-size: 17px; letter-spacing: .04em; cursor: pointer; background: #fff; }
.opts input:checked + .pill { background: var(--ink); color: #fff; border-color: var(--ink); }
.qty-row { display: flex; align-items: center; gap: 12px; margin: 4px 0 18px; }
.qty-row label { font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: 15px; }
.qty-row select { font: inherit; padding: 8px 12px; border-radius: 10px; border: 1px solid #b9b5ab; background: #fff; }
.button-buy { width: 100%; font-size: 21px; padding: 15px 28px; }
.secure { font-size: 14px; color: var(--muted); margin-top: 10px; }
.one-per { font-size: 14px; color: var(--muted); margin: -6px 0 10px; }
.gift-line { font-family: var(--serif); font-style: italic; color: #33363a; }
.story-line { margin-top: 28px; color: #33363a; }
.soon { background: var(--paper); border: 1px dashed #b9b5ab; border-radius: var(--radius); padding: 14px 16px; }
.policy-note { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 16px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.details-grid { display: grid; gap: 28px; }
.details-grid h2 { font-size: 24px; margin-top: .4em; }
.ticks { padding-left: 1.1em; margin: 0 0 1.2em; }
.ticks li { margin-bottom: .35em; }
table.sizes { border-collapse: collapse; width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
table.sizes th, table.sizes td { padding: 8px 14px; text-align: left; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
table.sizes thead th { font-family: var(--cond); text-transform: uppercase; letter-spacing: .08em; font-size: 14px; background: var(--paper); }
table.sizes tbody tr:last-child th, table.sizes tbody tr:last-child td { border-bottom: 0; }

/* dictionary block */
.definition { padding: 8px 0; }
.def-word { font-family: var(--serif); font-size: clamp(44px, 9vw, 84px); line-height: 1; margin: 0 0 .15em; }
.def-meta { font-family: var(--serif); font-size: clamp(20px, 3vw, 28px); color: #33363a; }
.def-text { font-family: var(--serif); font-size: clamp(18px, 2.4vw, 22px); color: #33363a; max-width: 640px; margin: 0 auto; }
.ipa { font-family: var(--serif); }

/* prose pages */
.page { padding: 40px 0 56px; }
.prose h2 { font-size: 24px; margin-top: 1.6em; }
.prose .updated { color: var(--muted); font-size: 15px; }
.prose ul { padding-left: 1.2em; }
.credit { font-style: italic; color: #33363a; }
.credit-line { font-family: var(--serif); font-style: italic; color: var(--muted); margin: -4px 0 12px; }
.thanks .order-summary { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin: 0 0 1.2em; }
.thanks dt { font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 15px; color: var(--muted); }
.thanks dd { margin: 0; }
.test-note { background: #fff6d6; border: 1px solid #e8d48a; border-radius: 10px; padding: 10px 14px; font-size: 15px; }

/* footer */
.site-footer { background: #26282c; color: #d9dbe0; padding: 40px 0 28px; }
.footer-inner { display: grid; gap: 22px; }
.footer-word { font-family: var(--serif); font-size: 26px; color: #fff; margin: 0; }
.footer-word em { font-size: 18px; color: #c6c9d1; }
.footer-def { font-family: var(--serif); color: #c6c9d1; margin: 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.footer-nav a { color: #fff; text-decoration: none; font-family: var(--cond); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; font-size: 16px; }
.footer-nav a:hover { color: var(--lime); }
.footer-small { font-size: 14px; color: #a9adb6; margin: 0; }

@media (min-width: 760px) {
  body { font-size: 18px; }
  .brand img { height: 60px; }
  .hero { padding: 64px 0 72px; }
  .hero-grid { grid-template-columns: 1fr 1.1fr; gap: 48px; }
  .feature { grid-template-columns: 1fr 1fr; gap: 48px; }
  .trio { grid-template-columns: repeat(3, 1fr); }
  .pdp { padding: 44px 0 64px; }
  .pdp-grid { grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; }
  .buybox { position: sticky; top: 24px; }
  .details-grid { grid-template-columns: 1.2fr 1fr; gap: 56px; }
  .footer-inner { grid-template-columns: 1.2fr 2fr; align-items: start; }
  .footer-small { grid-column: 1 / -1; }
  .band { padding: 72px 0; }
}

/* generated by build.py */
.sw-white{background:#ffffff}
.sw-athletic-heather{background:#cececc}
.sw-heather-mint{background:#b2ebcf}
.sw-natural{background:#fef1d1}
.pdp:has(#color-athletic-heather:checked) .shot[data-color="white"]{display:none}
.pdp:has(#color-athletic-heather:checked) .shot[data-color="athletic-heather"]{display:grid}
.pdp:has(#color-heather-mint:checked) .shot[data-color="white"]{display:none}
.pdp:has(#color-heather-mint:checked) .shot[data-color="heather-mint"]{display:grid}
.pdp:has(#color-natural:checked) .shot[data-color="white"]{display:none}
.pdp:has(#color-natural:checked) .shot[data-color="natural"]{display:grid}
.shot[data-color="white"]{display:grid}
