/* PKB Playground and Events. Palette taken from the PKB logo; see ../DESIGN.md.
   White page in every setting, no dark theme: PKB asked for a white background (2026-09-29). */
:root {
  --canvas: #ffffff;
  --surface: #ffffff;
  --inset: #fdf1dc;
  --line: #eadfcd;
  --ink: #2e2a35;
  --ink-2: #5c5b5c;
  --magenta: #d11f5f;
  --on-magenta: #ffffff;
  --pink: #ef75a0;
  --butter: #fbd794;
  --amber: #f9b231;
  --purple: #7e54a2;
  --lavender: #b99fca;
  --teal: #03ac9e;
  --free: #00796f;
  --few: #b36b00;
  --taken: #9a94a0;
  --chip: #ffffff;
  --dark: #2e2a35;
  --on-dark: #ffffff;
  --radius: 22px;
  --display: "Baloo 2", system-ui, sans-serif;
  --body: "Lato", system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 400 17px/1.55 var(--body); overflow-x: hidden; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--magenta); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.eyebrow { font: 800 12px/1.3 var(--body); letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-2); }
html[lang="es"] .only-en { display: none; }
.note { font-size: 13px; color: var(--ink-2); }
.lead { font-size: 19px; color: var(--ink-2); max-width: 36ch; }

/* header */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.logo-chip { background: var(--chip); border-radius: 12px; padding: 8px 12px; display: inline-block; }
.logo-chip img { height: 44px; width: auto; }
.nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; font-weight: 700; font-size: 15px; }
.nav ul a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; text-decoration: none; }
.nav ul a:hover { background: var(--inset); }
.nav ul a[aria-current="page"] { background: var(--inset); box-shadow: inset 0 -3px 0 var(--magenta); }
.nav-end { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.lang button { min-width: 44px; min-height: 44px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: 900 13px/1 var(--body); letter-spacing: 0.08em; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--canvas); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 0; font: 800 16px/1 var(--body); text-decoration: none; cursor: pointer; text-align: center; }
.btn-main { background: var(--magenta); color: var(--on-magenta); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }

/* the logo bar: a translucent rounded stroke, the signature element */
.bar { position: absolute; border-radius: 999px; mix-blend-mode: multiply; opacity: 0.85; pointer-events: none; }

.section { padding-top: 88px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(34px, 4vw, 48px); margin-top: 10px; }

/* availability calendar */
.cal { color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: 0 10px 30px -18px rgba(46, 42, 53, 0.35); }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 12px; }
.cal-head h3 { font-size: 26px; }
.cal-nav { display: flex; gap: 6px; }
.cal-nav button { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--inset); color: var(--ink); font: 800 20px/1 var(--display); cursor: pointer; }
.cal-nav button:disabled { opacity: 0.35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-grid .dow { font: 800 11px/1 var(--body); letter-spacing: 0.12em; text-align: center; color: var(--ink-2); padding: 6px 0; }
.day { min-height: 44px; border-radius: 12px; border: 0; font: 700 15px/1 var(--body); font-variant-numeric: tabular-nums; color: var(--ink); background: var(--inset); cursor: pointer; }
.day.free { box-shadow: inset 0 -5px 0 var(--free); }
.day.few { box-shadow: inset 0 -5px 0 var(--few); }
.day.taken, .day.past { color: var(--taken); cursor: not-allowed; background: repeating-linear-gradient(135deg, transparent 0 5px, var(--line) 5px 7px); }
.day.past { background: transparent; }
.day.closed { color: var(--ink-2); font-weight: 400; background: transparent; box-shadow: inset 0 0 0 1px var(--line); cursor: not-allowed; }
.day[aria-pressed="true"] { background: var(--magenta); color: var(--on-magenta); box-shadow: none; }
.day.blank { background: transparent; cursor: default; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 14px; font-size: 13px; color: var(--ink-2); }
.legend span::before { content: ""; display: inline-block; width: 18px; height: 6px; border-radius: 3px; margin-right: 6px; vertical-align: middle; background: var(--c); }
.pick { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.pick strong { font-family: var(--display); font-size: 22px; }

/* photos */
.photo { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--inset); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* footer */
footer { padding: 40px 0; border-top: 1px solid var(--line); margin-top: 88px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; font-weight: 700; font-size: 15px; }
footer .addr { flex-basis: 100%; }
footer nav a { display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 860px) {
  .nav { flex-wrap: wrap; }
  .nav ul { order: 3; width: 100%; overflow-x: auto; }
  .nav-end .btn { display: none; }
  body { font-size: 16px; }
  .section { padding-top: 64px; }
}
