/* Raíces. Fonts are self-hosted so no visitor data goes to Google. */
@font-face { font-family: "Archivo Black"; font-weight: 400; font-display: swap; src: url(/fonts/archivo-black-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo Black"; font-weight: 400; font-display: swap; src: url(/fonts/archivo-black-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+A720-A7FF; }
@font-face { font-family: "Inter Tight"; font-weight: 100 900; font-display: swap; src: url(/fonts/inter-tight-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Tight"; font-weight: 100 900; font-display: swap; src: url(/fonts/inter-tight-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+A720-A7FF; }

:root {
  --bg: #ffffff; --ink: #000000; --grey: #d4d4d4; --muted: #666666; --line: rgba(0,0,0,0.14); --error: #b3261e;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --display: "Archivo Black", "Arial Black", Impact, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Inter Tight", system-ui, sans-serif; font-size: 16px; line-height: 1.45; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.wrap { container-type: inline-size; overflow: clip; }
.in { max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px, 3.4vw, 44px); }
.cap { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.4; }
.spaced { font-size: clamp(11px, 1.4cqw, 18px); font-weight: 500; letter-spacing: 0.5em; text-transform: uppercase; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--ink); color: var(--bg); padding: 10px 14px; font-weight: 700; }
.skip:focus { top: 12px; }

/* nav: sticks and frosts once you scroll */
.bar { position: sticky; top: 0; z-index: 20; transition: background-color .4s var(--ease), box-shadow .4s var(--ease); }
.bar.scrolled { background: rgba(255,255,255,0.82); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
nav { display: flex; justify-content: space-between; align-items: center; height: 64px; }
.logo { font-size: 22px; font-weight: 900; letter-spacing: -0.05em; }
.navlink { position: relative; }
.navlink::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.navlink:hover::after { transform: scaleX(1); transform-origin: left; }
/* language switch: a small bold pill, in the nav and the footer */
.navr { display: flex; align-items: center; gap: 22px; }
.lang { display: inline-flex; align-items: center; justify-content: center; height: 30px; min-width: 44px; padding: 0 10px; border: 2px solid var(--ink); border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; line-height: 1; color: var(--ink); transition: background-color .3s var(--ease), color .3s var(--ease); }
.lang:hover { background: var(--ink); color: var(--bg); }
footer .links a.lang { text-decoration: none; height: 26px; min-width: 40px; font-size: 11px; }

/* round-arrow button: the arrow slides out and a new one slides in */
.cta { display: inline-flex; align-items: center; gap: 18px; font-size: clamp(20px, 2cqw, 26px); font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; background: none; border: 0; padding: 0; color: inherit; font-family: inherit; cursor: pointer; }
.dot { position: relative; display: inline-block; flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: var(--bg); overflow: hidden; transition: transform .5s var(--ease); }
.dot::before, .dot::after { content: "→"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 24px; font-weight: 500; transition: transform .55s var(--ease); }
.dot::after { transform: translateX(-120%); }
.cta:hover .dot { transform: scale(1.06); }
.cta:hover .dot::before { transform: translateX(120%); }
.cta:hover .dot::after { transform: translateX(0); }
.cta[disabled] { cursor: progress; }
.cta[disabled] .dot::before, .cta[disabled] .dot::after { content: ""; }
.cta[disabled] .dot::before { inset: 20px; border: 2px solid rgba(255,255,255,0.35); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; transform: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* scroll reveal (only when JS is running) */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0ms); }
.js .rv.seen { opacity: 1; transform: none; }
.d1 { --d: 120ms; } .d2 { --d: 240ms; } .d3 { --d: 360ms; }

footer { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 28px 0 32px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
footer .links { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 8px; }
footer .links a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.vlc { font-family: var(--display); font-size: clamp(64px, 9cqw, 128px); line-height: 0.75; letter-spacing: -0.04em; color: var(--ink); }
.vlc-clip span { display: inline-block; }
.js .vlc-clip span { transform: translateY(105%); transition: transform 1.1s var(--ease); }
.js .vlc.seen .vlc-clip span { transform: none; }
.js .vlc.seen .vlc-clip span:nth-child(2) { transition-delay: 80ms; }
.js .vlc.seen .vlc-clip span:nth-child(3) { transition-delay: 160ms; }
.vlc-clip { overflow: hidden; display: inline-block; padding-top: 0.1em; }

/* ------- simple pages: legal, confirm, unsubscribe ------- */
.page { padding: clamp(48px, 9cqw, 120px) 0 80px; }
.page h1 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(48px, 9cqw, 132px); line-height: 0.86; letter-spacing: -0.04em; }
.page h1 .out { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.page .lede { margin: 28px 0 0; max-width: 36rem; font-size: 20px; line-height: 1.5; color: var(--muted); }
.page .actions { margin-top: 40px; }
.legal { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 4cqw; margin-top: 64px; padding-top: 28px; border-top: 2px solid var(--ink); }
.legal aside { position: sticky; top: 88px; align-self: start; font-size: 14px; }
.legal aside a { display: block; padding: 5px 0; color: var(--muted); }
.legal aside a:hover { color: var(--ink); }
.legal article { max-width: 44rem; font-size: 17px; line-height: 1.65; }
.legal h2 { margin: 48px 0 12px; font-size: 26px; font-weight: 900; letter-spacing: -0.035em; line-height: 1.1; scroll-margin-top: 88px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { margin: 28px 0 8px; font-size: 18px; font-weight: 700; }
.legal p, .legal li { color: #222; }
.legal ul { padding-left: 1.2em; }
.legal li { margin: 6px 0; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal .note { padding: 18px 20px; border: 2px solid var(--ink); border-radius: 14px; font-size: 16px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.legal th { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

/* ------- public Valencia guides (/guides, /guides/<slug>) ------- */
.pguides-cat { max-width: 46rem; margin-top: clamp(40px, 6vw, 64px); }
.pguides-cat h2 { margin: 0; padding-bottom: 14px; border-bottom: 2px solid var(--ink); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.pguides-list { margin: 0; padding: 0; list-style: none; }
.pguides-list li { border-bottom: 1px solid var(--line); }
.pguides-list a { display: flex; flex-direction: column; gap: 6px; padding: 20px 0; }
.pguides-list strong { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.pguides-list a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.pguides-list span { font-size: 16px; line-height: 1.45; color: var(--muted); }
.pguide-back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 16px; font-size: 15px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.pguide-meta { margin: 20px 0 0; font-size: 15px; color: var(--muted); }
.pguide-body { max-width: 44rem; margin-top: 40px; padding-top: 28px; border-top: 2px solid var(--ink); font-size: 18px; line-height: 1.65; }
.pguide-body > :first-child { margin-top: 0; }
.pguide-body h2 { margin: 40px 0 12px; font-size: 26px; font-weight: 900; letter-spacing: -0.03em; line-height: 1.15; }
.pguide-body h3 { margin: 28px 0 8px; font-size: 20px; font-weight: 800; }
.pguide-body p { margin: 16px 0 0; color: #222; }
.pguide-body ul, .pguide-body ol { margin: 16px 0 0; padding-left: 1.4em; color: #222; }
.pguide-body li + li { margin-top: 8px; }
.pguide-body strong { color: var(--ink); font-weight: 800; }
.pguide-body a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.pguide-cta { max-width: 44rem; margin-top: 56px; padding: 28px; border: 2px solid var(--ink); border-radius: 16px; }
.pguide-cta h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(28px, 4vw, 42px); line-height: 0.95; letter-spacing: -0.04em; }
.pguide-cta p { margin: 14px 0 0; font-size: 17px; line-height: 1.5; color: var(--muted); }
.pguide-cta .actions { margin-top: 24px; }

/* the members' space link: full name on wide screens, "Sign in" on phones (one aria-label for both) */
.nl-short { display: none; }
@container (max-width: 599px) {
  .nl-long { display: none; }
  .nl-short { display: inline; }
}
@container (max-width: 400px) {
  .navr { gap: 14px; }
  /* if the links still don't fit, they wrap onto a second row instead of being clipped */
  .bar nav { height: auto; min-height: 64px; flex-wrap: wrap; column-gap: 14px; }
  .bar .navr { flex-wrap: wrap; justify-content: flex-end; row-gap: 6px; padding: 8px 0; }
}
@container (max-width: 820px) {
  .vlc { display: none; }
  .legal { grid-template-columns: minmax(0, 1fr); }
  .legal aside { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .js .rv, .js .vlc-clip span { opacity: 1; transform: none; }
}
