/* =====================================================================
   Bitcanario – site styles
   Palette taken from the logo: canary yellow ring, Atlantic blue coin.
   Type: Archivo, using its width axis – wide for headlines,
   condensed for numbers and dates.
   ===================================================================== */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url('../fonts/archivo-var.woff2') format('woff2'); }
:root {
  --sun: #FFCC00;
  --sun-soft: #FFF3B8;
  --sea-soft: #E1EEF8;
  --on-sea-2: rgba(255, 255, 255, .78);
  --sea: #0768A9;
  --sea-dark: #05507F;
  --deep: #062A47;
  --basalt: #23201D;
  --foam: #EEF4F9;
  --paper: #FFFFFF;
  --laurel: #2F7A4D;       /* walks: green north of the island */
  --pulse: #FF5F1F;        /* 21 Pulse brand orange */
  --ink-2: #3D5468;        /* secondary text on light */
  --line: rgba(6, 42, 71, .16);
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 48px);
  --r: 6px;
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--paper); color: var(--deep);
  font: 400 17px/1.6 var(--font); font-stretch: 100%;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.05; font-weight: 800; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--sea); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--deep); color: #fff; padding: 10px 16px; border-radius: var(--r); }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
[hidden] { display: none !important; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-sm { min-height: 38px; padding: 7px 15px; font-size: .9rem; }
.btn-ink { background: var(--deep); color: #fff; }
.btn-ink:hover { background: var(--sea); }
.btn-line { background: transparent; border-color: var(--deep); color: var(--deep); }
.btn-line:hover { background: var(--deep); color: #fff; }
.link-btn { background: none; border: 0; padding: 4px 0; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--sea); }

/* buttons on the blue surfaces */
.hero .btn-ink, .join .btn-ink { background: var(--sun); color: var(--deep); }
.hero .btn-ink:hover, .join .btn-ink:hover { background: #fff; }
.hero .btn-line, .join .btn-line { border-color: #fff; color: #fff; }
.hero .btn-line:hover, .join .btn-line:hover { background: #fff; color: var(--sea); }
.hero a:not(.btn) { color: #fff; }

/* ---------- top bar ---------- */
.top { position: sticky; top: 0; z-index: 50; background: var(--sea); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.top :focus-visible, .hero :focus-visible, .join :focus-visible, .page-head :focus-visible { outline-color: var(--sun); }
.bar { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); height: 68px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-stretch: 112%; font-size: 1.2rem; letter-spacing: -.01em; }
.brand img { width: 40px; height: 40px; }
.menu { display: flex; gap: 24px; margin-left: 8px; }
.menu a { text-decoration: none; font-weight: 600; font-size: .98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.menu a:hover, .menu a[aria-current] { border-bottom-color: var(--sun); }
.menu .menu-join { display: none; }
.bar-end { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.langs { display: flex; border: 2px solid rgba(255, 255, 255, .75); border-radius: 999px; overflow: hidden; }
.langs button { background: none; border: 0; padding: 5px 10px; font-size: .82rem; font-weight: 700; min-width: 38px; }
.langs button[aria-pressed="true"] { background: #fff; color: var(--sea); }
.wa-btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .75); color: #fff; flex: 0 0 auto; transition: background-color .15s, color .15s; }
.wa-btn:hover { background: #fff; color: var(--sea); }
.bar-price { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; text-decoration: none; font-weight: 800; font-stretch: 75%; font-size: 1.35rem; color: var(--sun); font-variant-numeric: tabular-nums; white-space: nowrap; animation: fade-in .25s ease-out; }
.bar-price .chg { font-size: .8rem; }
.bar-price:not([hidden]) + .bar-end { margin-left: 16px; }
@keyframes fade-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2.5px; background: #fff; border-radius: 2px; transition: transform .2s; }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- live Bitcoin block ---------- */
.live { background: var(--deep); color: #fff; }
.live-in {
  max-width: var(--wrap); margin: 0 auto; padding: 28px var(--gut) 24px;
  display: grid; grid-template-columns: minmax(270px, 1.1fr) minmax(240px, 1.2fr) minmax(0, 2.4fr); gap: 32px;
}
.lv-chart, .lv-stats { border-left: 1px solid rgba(255, 255, 255, .14); padding-left: 32px; }
.lv-label { margin: 0 0 10px; font-size: .86rem; font-weight: 600; font-stretch: 100%; color: var(--on-sea-2); letter-spacing: 0; line-height: 1.3; }
.lv-main { font-size: clamp(2.2rem, 3.4vw, 3rem); font-weight: 800; font-stretch: 75%; line-height: 1; color: var(--sun); font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; white-space: nowrap; }
.lv-second { margin-top: 8px; font-size: 1.55rem; font-weight: 700; font-stretch: 75%; line-height: 1.1; font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lv-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.lv-head .lv-label { margin: 0; }
.cur { display: inline-flex; border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 999px; padding: 2px; }
.cur button { border: 0; background: none; color: var(--on-sea-2); min-width: 38px; min-height: 30px; border-radius: 999px; font-weight: 800; font-size: .95rem; }
.cur button[aria-pressed="true"] { background: var(--sun); color: var(--deep); }
.cur button:hover:not([aria-pressed="true"]) { color: #fff; }
.lv-note { margin-top: 10px; font-size: .78rem; color: var(--on-sea-2); }
.chg { font-size: .9rem; font-weight: 700; font-stretch: 100%; padding: 2px 7px; border-radius: 4px; color: var(--deep); }
.chg:empty { display: none; }
.chg.up { background: #B9F0C9; } .chg.down { background: #FFD0C2; } .chg.flat { background: #D9E2EA; }
.lv-chart { margin: 0; min-width: 0; }
.spark { position: relative; height: 110px; cursor: crosshair; touch-action: pan-y; }
.spark svg { display: block; width: 100%; height: 100%; overflow: visible; }
.sp-line { fill: none; stroke: var(--sun); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.sp-area { fill: rgba(255, 204, 0, .16); }
.sp-grid { stroke: rgba(255, 255, 255, .14); stroke-dasharray: 2 4; }
.sp-end { fill: var(--sun); stroke: var(--deep); stroke-width: 2; }
.sp-cross { stroke: rgba(255, 255, 255, .55); stroke-width: 1; opacity: 0; }
.sp-dot { opacity: 0; }
.spark.is-hover .sp-cross, .spark.is-hover .sp-dot { opacity: 1; }
.sp-dot { fill: #fff; stroke: var(--deep); stroke-width: 2; }
.spark-tip { position: absolute; top: -4px; transform: translate(-50%, -100%); background: #fff; color: var(--deep); padding: 3px 9px; border-radius: 4px; font-size: .8rem; font-weight: 700; white-space: nowrap; pointer-events: none; font-variant-numeric: tabular-nums; }
.spark.is-empty svg { visibility: hidden; }
.lv-range { margin-top: 8px; font-size: .8rem; color: var(--on-sea-2); font-variant-numeric: tabular-nums; }
.lv-stats { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 24px; align-content: start; }
.lv-stats dt { font-size: .82rem; color: var(--on-sea-2); line-height: 1.3; }
.lv-stats dd { margin: 0; }
.lv-stats dt + dd { margin-top: 4px; font-size: 1.4rem; font-weight: 700; font-stretch: 75%; line-height: 1.1; font-variant-numeric: tabular-nums; }
.lv-stats .lv-sub { margin-top: 2px; font-size: .76rem; color: var(--on-sea-2); }
.live-foot { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.live-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .8rem; color: var(--on-sea-2); padding-bottom: 14px; }
.live-foot::before { content: ''; flex-basis: 100%; height: 1px; background: rgba(255, 255, 255, .12); margin-bottom: 4px; }
.lv-src { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.lv-src:hover span:last-child { text-decoration: underline; text-underline-offset: 3px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 3px rgba(61, 220, 132, .2); }
.live.is-off .dot { background: #999; box-shadow: none; }
.live.is-off .lv-price, .live.is-off .lv-chart, .live.is-off .lv-stats { opacity: .4; }
.live :focus-visible, .pulse :focus-visible, .foot :focus-visible, .voices :focus-visible { outline-color: var(--sun); }

/* ---------- hero (featured event) ---------- */
.hero { background: var(--sea); color: #fff; padding: clamp(32px, 4.5vw, 64px) 0 clamp(48px, 6vw, 88px); overflow: hidden; }
.hero-in { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-kicker { font-weight: 600; font-size: 1.05rem; margin-bottom: 18px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.when-pill { background: var(--sun); color: var(--deep); padding: 4px 12px; border-radius: 999px; font-weight: 700; font-size: .92rem; }
.hero-title { font-size: clamp(2.4rem, 5.4vw, 4.8rem); font-weight: 850; font-stretch: 125%; letter-spacing: -.035em; line-height: .93; text-wrap: balance; hyphens: manual; }
.hero-sub { margin-top: 20px; font-size: clamp(1rem, 1.3vw, 1.12rem); max-width: 60ch; color: rgba(255, 255, 255, .9); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hero-facts { margin: 30px 0 0; display: grid; gap: 10px; max-width: 62ch; }
.hero-facts div { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .25); }
.hero-facts dt { font-size: .88rem; color: var(--on-sea-2); padding-top: 2px; }
.hero-facts dd { margin: 0; font-weight: 600; }
.inline-link { font-weight: 600; white-space: nowrap; }
.hero-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { position: relative; padding: 142px 0 0 0; }
.poster { margin: 0; border-radius: var(--r); overflow: hidden; border: 3px solid var(--deep); background: var(--paper); }
.poster img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.coin {
  position: absolute; z-index: 2; right: 28px; top: 0; width: 156px; height: 156px; border-radius: 50%;
  background: var(--deep); color: #fff; border: 11px solid var(--sun); box-shadow: 0 0 0 3px #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  transform: rotate(8deg); animation: coin-in .9s cubic-bezier(.2, .9, .25, 1.15) .15s both;
}
.coin-dow, .coin-mon { font-size: .82rem; font-weight: 700; line-height: 1; }
.coin-day { font-size: 3.4rem; font-weight: 850; font-stretch: 75%; line-height: .9; margin: 2px 0; }
.coin-time { font-size: .95rem; font-weight: 700; color: var(--sun); margin-top: 3px; font-variant-numeric: tabular-nums; }
.coin.coin-logo { background: none; border: 0; box-shadow: none; position: static; width: min(360px, 80%); height: auto; margin: 0 auto; transform: none; }
.coin.coin-logo img { width: 100%; }
@keyframes coin-in {
  from { transform: translateX(160px) rotate(250deg); opacity: 0; }
  to { transform: translateX(0) rotate(8deg); opacity: 1; }
}
.hero-generic .hero-art { padding-top: 0; }

/* ---------- section scaffolding ---------- */
section.agenda, section.about, section.blog, section.people, section.spend, section.support, section.voices { padding: clamp(64px, 9vw, 120px) 0; }
.sec-head { margin-bottom: clamp(28px, 4vw, 44px); max-width: 760px; }
.sec-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.sec-head h2, .about h2, .join h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-stretch: 118%; letter-spacing: -.03em; text-wrap: balance; }
.sec-sub { margin-top: 12px; font-size: 1.08rem; color: var(--ink-2); max-width: 62ch; }

/* ---------- agenda ---------- */
.agenda-tools { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.chips, .views { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button, .views button {
  min-height: 40px; padding: 7px 16px; border-radius: 999px; border: 2px solid var(--line); background: var(--paper);
  font-weight: 600; font-size: .94rem;
}
.chips button:hover, .views button:hover { border-color: var(--deep); }
.chips button[aria-pressed="true"], .views button[aria-pressed="true"] { background: var(--deep); border-color: var(--deep); color: #fff; }
.views { background: var(--foam); padding: 4px; border-radius: 999px; gap: 2px; }
.views button { border: 0; background: none; min-height: 36px; }

.events { border-top: 2px solid var(--deep); }
.ev { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 20px 28px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--line); position: relative; }
.ev-date { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; padding-left: 14px; border-left: 5px solid var(--sea); }
.ev-dow, .ev-mon { font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.ev-day { font-size: 2.6rem; font-weight: 800; font-stretch: 75%; margin: 3px 0; font-variant-numeric: tabular-nums; }
.k-walk .ev-date { border-left-color: var(--laurel); }
.k-talk .ev-date, .k-workshop .ev-date, .k-other .ev-date { border-left-color: var(--sun); }
.k-conference .ev-date { border-left-color: var(--basalt); }
.ev-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .9rem; color: var(--ink-2); margin-bottom: 4px; }
.ev-kind { font-weight: 700; color: var(--deep); }
.ev-time { font-variant-numeric: tabular-nums; }
.ev-cancel { font-weight: 700; color: #A3260F; }
.ev h3 { font-size: 1.3rem; font-stretch: 108%; letter-spacing: -.01em; line-height: 1.2; }
.ev-sum { margin-top: 6px; color: var(--ink-2); max-width: 70ch; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ev-loc { margin-top: 6px; font-size: .92rem; font-weight: 600; }
.ev-act { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; max-width: 300px; }
.ev.is-featured { background: var(--sea-soft); margin: 0 -16px; padding-left: 16px; padding-right: 16px; border-bottom-color: transparent; }
.ev.is-cancelled h3, .ev.is-cancelled .ev-day { text-decoration: line-through; opacity: .55; }
.events-empty { padding: 28px 0; color: var(--ink-2); }
.agenda-foot { margin-top: 24px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.subscribe { position: relative; }
.sub-menu { position: absolute; z-index: 20; left: 0; bottom: calc(100% + 10px); width: min(340px, calc(100vw - 32px)); background: var(--paper); border: 2px solid var(--deep); border-radius: 10px; padding: 10px; display: grid; gap: 2px; box-shadow: 0 10px 30px rgba(6, 42, 71, .18); }
.sub-hint { font-size: .88rem; color: var(--ink-2); padding: 4px 8px 8px; }
.sub-opt { display: block; text-align: left; width: 100%; background: none; border: 0; border-radius: 6px; padding: 10px 8px; font-weight: 600; text-decoration: none; font-size: .98rem; }
.sub-opt:hover { background: var(--foam); }
.sub-once { border-top: 1px solid var(--line); border-radius: 0 0 6px 6px; margin-top: 4px; font-weight: 500; color: var(--ink-2); }

.month { margin-bottom: 28px; }
.month-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.month-head h3 { font-size: 1.4rem; font-stretch: 110%; min-width: 12ch; text-transform: capitalize; }
.month-nav { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--deep); background: none; font-size: 1.3rem; line-height: 1; }
.month-nav:hover { background: var(--deep); color: #fff; }
.month-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.month-wd { padding: 6px 8px; font-size: .8rem; font-weight: 700; color: var(--ink-2); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-transform: capitalize; }
.month-cell { min-height: 96px; padding: 6px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); text-align: left; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.month-cell.is-pad { background: var(--foam); }
.month-n { font-size: .88rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.month-cell.is-today .month-n { background: var(--sun); border-radius: 999px; padding: 0 7px; align-self: flex-start; }
button.month-cell:hover { background: var(--foam); }
.month-cell.is-sel { box-shadow: inset 0 0 0 3px var(--deep); }
.mark { display: block; font-size: .72rem; font-weight: 600; line-height: 1.25; padding: 2px 5px; border-radius: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: var(--sea); color: #fff; }
.mark.k-walk { background: var(--laurel); }
.mark.k-talk, .mark.k-workshop, .mark.k-other { background: var(--sun); color: var(--deep); }
.mark.k-conference { background: var(--basalt); }

/* ---------- about ---------- */
.about { background: var(--foam); }
.about-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: end; }
.about .lead { margin-top: 20px; font-size: clamp(1.08rem, 1.6vw, 1.25rem); max-width: 56ch; }
.principles { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 32px; }
.principles li { padding-top: 12px; border-top: 2px solid var(--deep); }
.principles strong { display: block; font-stretch: 110%; font-size: 1.08rem; }
.principles span { color: var(--ink-2); }
.why { margin: 0; padding: 28px 30px; background: var(--sea); color: #fff; border-radius: var(--r); }
.why blockquote { margin: 0; font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 650; font-stretch: 105%; line-height: 1.35; }
.why figcaption { margin-top: 16px; color: var(--sun); font-weight: 600; }
.strip { margin-top: clamp(40px, 6vw, 72px); display: flex; gap: 12px; overflow-x: auto; padding: 0 var(--gut) 8px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.strip img { height: clamp(220px, 28vw, 340px); width: auto; flex: 0 0 auto; border-radius: var(--r); scroll-snap-align: center; object-fit: cover; aspect-ratio: auto; }

/* ---------- 21 Pulse ---------- */
.pulse { background: #000; color: #F2F2F2; padding: clamp(72px, 10vw, 132px) 0; }
.pulse-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.pulse-from { color: var(--pulse); font-weight: 700; margin-bottom: 18px; }
.pulse-logo img { width: min(520px, 100%); }
.pulse-claim { margin-top: 22px; font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; font-stretch: 115%; letter-spacing: -.02em; line-height: 1.15; }
.pulse-text { margin-top: 16px; color: #BDBDBD; max-width: 56ch; font-size: 1.06rem; }
.pulse-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn-pulse { background: var(--pulse); color: #000; }
.btn-pulse:hover { background: #fff; }
.btn-pulse-line { border-color: #fff; color: #fff; }
.btn-pulse-line:hover { background: #fff; color: #000; }
.pulse-note { margin-top: 18px; color: #9A9A9A; font-size: .94rem; }
.pulse-note a { color: #fff; }
.pulse-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 28px; }
.pulse-feats li { border-top: 3px solid var(--pulse); padding-top: 14px; }
.pulse-feats strong { display: block; font-size: 1.15rem; font-stretch: 110%; margin-bottom: 6px; color: #fff; }
.pulse-feats span { color: #B5B5B5; font-size: .98rem; }

/* ---------- blog ---------- */
.posts { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0 clamp(28px, 4vw, 56px); }
.post { padding: 22px 0; border-top: 1px solid var(--line); }
.post-lead { grid-row: span 3; border-top: 2px solid var(--deep); }
.posts-single { grid-template-columns: 1fr; }
.posts-single .post-lead { grid-row: auto; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.posts-single .post-lead .post-cover { margin: 0; }
.posts .post:nth-child(2) { border-top: 2px solid var(--deep); }
.post-cover { display: block; border-radius: var(--r); overflow: hidden; margin-bottom: 18px; }
.post-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s; }
.post-cover:hover img { transform: scale(1.02); }
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .88rem; color: var(--ink-2); margin-bottom: 8px; }
.post-lang { font-weight: 700; color: var(--sea); }
.post h3 { font-size: 1.35rem; font-stretch: 108%; line-height: 1.2; letter-spacing: -.01em; }
.post-lead h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-stretch: 115%; letter-spacing: -.02em; }
.post h3 a { text-decoration: none; }
.post h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.post-ex { margin-top: 10px; color: var(--ink-2); max-width: 62ch; }

/* ---------- people ---------- */
.people { background: var(--paper); border-top: 1px solid var(--line); }
.crew { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 64px); }
.mate { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.mate-photo { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; border: 3px solid var(--sun); background: var(--foam); }
.mate-fb { display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 2rem; color: var(--sea); }
.mate h3 { font-size: 1.3rem; font-stretch: 110%; }
.mate-role { display: block; margin-top: 4px; font-size: .9rem; font-weight: 600; font-stretch: 100%; color: var(--sea); }
.mate p { margin-top: 8px; color: var(--ink-2); font-size: .97rem; }
.mate-link { display: inline-block; margin-top: 10px; font-weight: 700; text-underline-offset: 3px; }

/* ---------- spend ---------- */
.spend { background: var(--foam); }
.venues { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.venue { display: flex; flex-direction: column; text-decoration: none; height: 100%; }
.venue img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 10%; border-radius: var(--r); background: var(--paper); }
.venue-t { margin-top: 12px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; align-items: baseline; }
.venue-t strong { min-width: 0; overflow-wrap: anywhere; }
.venue-t strong { font-size: 1.12rem; font-stretch: 108%; }
.venue-t span { font-size: .85rem; color: var(--ink-2); white-space: nowrap; }
.venue-d { margin-top: 4px; color: var(--ink-2); font-size: .95rem; }
.venue:hover strong { text-decoration: underline; text-underline-offset: 3px; }

/* live places list (BTC Map) */
.spend-count { margin-top: 10px; font-weight: 700; color: var(--sea); }
.venues:has(.place) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.place { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px; background: var(--paper); border-radius: var(--r); text-decoration: none; height: 100%; border: 1px solid transparent; }
.place:hover { border-color: var(--deep); }
.place img, .place-mark { width: 56px; height: 56px; border-radius: 8px; object-fit: contain; background: var(--foam); }
.place-mark { display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.4rem; color: var(--sea); background: var(--sea-soft); }
.place-t { display: flex; flex-direction: column; min-width: 0; }
.place-t strong { font-size: 1.02rem; font-stretch: 105%; line-height: 1.25; overflow-wrap: anywhere; }
.place-t > span { font-size: .86rem; color: var(--ink-2); }
.place-v { margin-top: 3px; font-size: .8rem !important; font-weight: 600; color: var(--laurel) !important; }
.place.is-stale .place-v { color: #8A5A00 !important; }
.place.is-stale { opacity: .8; }

/* ---------- sponsoring + partners ---------- */
.sponsored { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.spon { display: flex; flex-direction: column; text-decoration: none; }
.spon img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.spon-c { margin-top: 12px; font-size: .85rem; font-weight: 700; color: var(--sea); }
.spon strong { font-size: 1.15rem; font-stretch: 108%; }
.spon-d { margin-top: 4px; font-size: .95rem; color: var(--ink-2); }
.spon:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.partners-h { margin-top: clamp(48px, 7vw, 80px); font-size: 1.2rem; font-stretch: 110%; padding-bottom: 14px; border-bottom: 2px solid var(--deep); }
.partners { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 2px; background: var(--paper); }
.partners a { display: flex; align-items: center; justify-content: center; height: 96px; padding: 18px 22px; background: var(--deep); border-radius: 2px; }
.partners img { max-height: 34px; width: auto; max-width: 100%; object-fit: contain; opacity: .9; transition: opacity .2s; }
.partners img.sq { max-height: 46px; }
.partners a:hover { background: var(--sea); }
.partners a:hover img { opacity: 1; }

/* ---------- voices ---------- */
.voices { background: var(--deep); color: #fff; }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.quotes figure { margin: 0; border-top: 3px solid var(--sun); padding-top: 18px; }
.quotes blockquote { margin: 0; font-size: 1.12rem; line-height: 1.5; }
.quotes figcaption { margin-top: 14px; color: var(--sun); font-weight: 600; }

/* ---------- join ---------- */
.join { background: var(--sea); color: #fff; padding: clamp(72px, 10vw, 128px) 0; }
.join-in { text-align: left; }
.join h2 { font-size: clamp(2.4rem, 6vw, 5rem); font-stretch: 125%; font-weight: 850; letter-spacing: -.035em; line-height: .95; max-width: 15ch; }
.join p { margin-top: 18px; font-size: 1.15rem; max-width: 52ch; }
.join-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

/* lightning tips */
.tip { margin-top: clamp(40px, 6vw, 64px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; max-width: 760px; padding: 24px; border-radius: 12px; background: var(--deep); }
.tip-qr { background: #fff; padding: 10px; border-radius: 8px; line-height: 0; }
.tip-qr img, .tip-qr canvas { width: 156px; height: 156px; }
.tip h3 { font-size: 1.4rem; font-stretch: 112%; }
.tip p { margin-top: 8px; font-size: 1rem; }
.tip-addr { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-weight: 700; color: var(--sun); overflow-wrap: anywhere; }
.tip-note { color: var(--on-sea-2); font-size: .88rem !important; }
@media (max-width: 640px) { .tip { grid-template-columns: 1fr; } .tip-qr { justify-self: start; } }

/* ---------- footer ---------- */
.foot { background: var(--basalt); color: #E9E4DE; padding: 56px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot p { margin-top: 6px; color: #BFB7AE; }
.foot nav { display: flex; flex-direction: column; gap: 8px; }
.foot nav a, .foot p a { text-decoration: none; color: #E9E4DE; }
.foot nav a:hover, .foot p a:hover { color: var(--sun); }
.brand-foot img { width: 44px; height: 44px; }
.foot-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: .88rem; color: #A9A096; }
.foot-base a, .link-plain { color: #A9A096; }
.foot-base > a:first-of-type { margin-left: auto; }
.link-plain { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; text-underline-offset: 3px; }
.foot-base a { text-decoration: underline; text-underline-offset: 3px; }
.link-plain:hover { color: var(--sun); }
/* privacy dialog */
.legal { width: min(680px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: 12px; color: var(--deep); background: var(--paper); }
.legal::backdrop { background: rgba(6, 42, 71, .6); }
.legal-head { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; background: var(--sea); color: #fff; }
.legal-head h2 { font-size: 1.5rem; font-stretch: 112%; }
.legal-x { width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); background: none; color: #fff; font-size: 1.4rem; line-height: 1; }
.legal-x:hover { background: #fff; color: var(--sea); }
.legal-body { padding: 20px 24px 26px; font-size: 1rem; }
.legal-body ul { padding-left: 1.2em; }
.legal-body .muted { color: var(--ink-2); font-size: .88rem; }
.foot-base a:hover { color: var(--sun); }

/* ---------- blog pages ---------- */
.page-head { background: var(--sea); color: #fff; padding: clamp(40px, 7vw, 88px) 0 clamp(36px, 5vw, 64px); }
.page-head h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); font-stretch: 125%; font-weight: 850; letter-spacing: -.035em; line-height: .93; }
.page-head p { margin-top: 16px; font-size: 1.12rem; max-width: 58ch; }
.blog-list { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 9vw, 120px); }
.blog-tools { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.blog-list .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.blog-list .post-lead { grid-row: auto; grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: center; }
.blog-list .post-lead .post-cover { margin: 0; }
.blog-list .post:nth-child(2) { border-top: 1px solid var(--line); }
.article { padding: clamp(32px, 5vw, 64px) 0 clamp(64px, 9vw, 120px); }
.article-in { max-width: 760px; margin: 0 auto; padding: 0 var(--gut); }
.article-back { display: inline-block; margin-bottom: 26px; font-weight: 600; }
.article h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-stretch: 118%; letter-spacing: -.03em; line-height: 1; text-wrap: balance; }
.article .post-meta { margin: 18px 0 26px; }
.article-cover { margin: 0 0 32px; border-radius: var(--r); overflow: hidden; }
.prose { font-size: 1.12rem; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.7rem; font-stretch: 112%; letter-spacing: -.015em; margin-top: 1.8em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li + li { margin-top: .35em; }
.prose a { color: var(--sea); text-underline-offset: 3px; font-weight: 600; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 5px solid var(--sun); font-size: 1.2rem; }
.prose img { border-radius: var(--r); }
.prose code { background: var(--foam); padding: 1px 5px; border-radius: 4px; font-size: .92em; }
.prose pre { background: var(--deep); color: #fff; padding: 16px; border-radius: var(--r); overflow-x: auto; }
.prose pre code { background: none; padding: 0; }
.prose hr { border: 0; border-top: 2px solid var(--line); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .live-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
  .lv-stats { grid-column: 1 / -1; border-left: 0; padding-left: 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); }
  .menu { gap: 18px; }
  .partners { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .bar { height: 62px; gap: 12px; }
  .burger { display: block; }
  .menu {
    display: none; position: absolute; left: 0; right: 0; top: 62px; margin: 0; flex-direction: column; gap: 0;
    background: var(--sea); padding: 8px var(--gut) 20px; border-bottom: 2px solid var(--deep);
  }
  .menu a { padding: 14px 0; font-size: 1.15rem; border-bottom: 1px solid rgba(255, 255, 255, .18); }
  .menu .menu-join { display: block; font-weight: 800; }
  .menu-open .menu { display: flex; }
  .hero-in, .about-grid, .pulse-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; padding: 106px 0 0 0; max-width: 560px; }
  .coin { right: 20px; top: 0; width: 118px; height: 118px; border-width: 8px; }
  .coin-day { font-size: 2.5rem; }
  .coin-dow, .coin-mon { font-size: .72rem; }
  .coin-time { font-size: .8rem; }
  .hero-generic .hero-art { padding: 0; }
  .posts, .blog-list .posts { grid-template-columns: 1fr; }
  .post-lead { grid-row: auto; }
  .posts-single .post-lead { grid-template-columns: 1fr; gap: 0; }
  .posts-single .post-lead .post-cover { margin-bottom: 18px; }
  .blog-list .post-lead { grid-template-columns: 1fr; gap: 0; }
  .blog-list .post-lead .post-cover { margin-bottom: 18px; }
  .posts .post:nth-child(2) { border-top: 1px solid var(--line); }
  .crew { grid-template-columns: 1fr; }
  .venues, .sponsored { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .venues:has(.place) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quotes { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .bar-price { font-size: 1.1rem; margin-left: 4px; }
  .bar-price .chg { display: none; }
  .bar-price:not([hidden]) + .bar-end { margin-left: auto; }
  .live-in { grid-template-columns: 1fr; gap: 22px; padding-top: 22px; }
  .lv-chart { border-left: 0; padding-left: 0; }
  .lv-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
  .wa-btn { width: 38px; height: 38px; }
  body { font-size: 16px; }
  .brand span { display: none; }
  .langs button { padding: 5px 8px; min-width: 34px; }
  .hero-art { padding: 106px 0 0 0; }
  .hero-facts div { grid-template-columns: 1fr; gap: 2px; }
  .ev { grid-template-columns: 70px minmax(0, 1fr); gap: 10px 16px; }
  .ev-day { font-size: 2.1rem; }
  .ev-act { grid-column: 2; justify-content: flex-start; max-width: none; }
  .agenda-tools { align-items: flex-start; flex-direction: column; }
  .month-cell { min-height: 58px; padding: 4px; }
  .mark { font-size: 0; height: 6px; padding: 0; border-radius: 3px; }
  .month-wd { padding: 4px; font-size: .7rem; }
  .principles { grid-template-columns: 1fr; }
  .pulse-feats { grid-template-columns: 1fr; }
  .venues { gap: 16px; }
  .sponsored { grid-template-columns: 1fr; }
  .venues:has(.place) { grid-template-columns: 1fr; }
  .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mate { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; }
  .mate-photo { width: 64px; height: 64px; }
  .foot-base > a:first-of-type { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
