/* KEKKAY — cinematic club. Shared by the community and institutional pages. */
:root {
  color-scheme: dark;
  --paper: #090d18;
  --navy: #101727;
  --navy-2: #151e30;
  --card: #111827;
  --ink: #f5f3ee;
  --muted: #a8b2c6;
  --line: #283247;
  --stamp: #ff315d;
  --button: #df1645;
  --button-hover: #e61949;
  --teal: #98c6ff;
  --gold: #dcc698;
  --white: #fff;
  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --shadow: 0 24px 70px #0005;
  --radius: 16px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { background: var(--paper); color: var(--ink); font: 400 16px/1.8 var(--font-body); -webkit-font-smoothing: antialiased; }
::selection { background: var(--stamp); color: var(--white); }
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 4px; }
button, .btn { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--teal); outline-offset: 6px; border-radius: 4px; }
.wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
/* Brand and navigation */
.topbar { position: relative; z-index: 2; border-bottom: 1px solid var(--line); background: var(--paper); }
.topbar-inner { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand-symbol { width: 38px; height: 38px; }
.brand-mark { font: 700 31px/1 var(--font-display); letter-spacing: .065em; }
.brand-kana { border-left: 1px solid var(--line); margin-left: 6px; padding-left: 16px; color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 12px; font-weight: 600; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--muted); transition: color .2s; position: relative; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--white); }
.nav a[aria-current='page']::after { content: ''; position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--stamp); bottom: 0; left: calc(50% - 2px); }
/* A collectible visitor pass in an anime setting */
.hero-scene { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-scene::before { content: ''; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, var(--paper) 2%, #090d18e8 35%, #090d185c 78%), linear-gradient(0deg, var(--paper), transparent 70%), url('../assets/club-hall.webp') center/cover; opacity: .72; }
.hero-scene::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 90% 20%, #3d67d91c, transparent 60%); }
.hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); align-items: center; gap: 94px; padding-block: 72px 80px; }
.issue { display: flex; align-items: center; gap: 12px; font: 400 11px/1.6 var(--font-mono); letter-spacing: .11em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.issue::before { content: ''; width: 7px; height: 7px; background: var(--stamp); box-shadow: 0 0 18px #ff315d60; border-radius: 50%; flex-shrink: 0; }
h1 { font: 600 clamp(3.8rem, 6.2vw, 5.75rem)/.99 var(--font-display); text-transform: uppercase; letter-spacing: -.012em; }
.headline-accent { color: var(--stamp); }
.headline-secondary { display: block; margin-top: 12px; color: #c4cee1; }
.lede { margin-top: 26px; max-width: 540px; font-size: 15px; line-height: 1.95; color: var(--muted); }
.meta-row { display: flex; gap: 30px; margin-top: 34px; padding-top: 25px; border-top: 1px solid var(--line); }
.stat { flex: 1; }
.stat + .stat { border-left: 1px solid var(--line); padding-left: 30px; }
.stat b { display: block; font: 500 36px/1.1 var(--font-display); letter-spacing: .015em; }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-size: 10px; white-space: nowrap; }
.badge { position: relative; background: var(--navy); border: 1px solid #52668965; border-radius: var(--radius); box-shadow: var(--shadow); transform: rotate(2deg); }
.badge::before { content: ''; position: absolute; top: -7px; left: calc(50% - 27px); width: 54px; height: 12px; border: 1px solid #70819b; border-radius: 8px; background: var(--paper); z-index: 1; }
.badge-art { height: 196px; position: relative; overflow: hidden; border-radius: 15px 15px 0 0; background: #172649; }
.badge-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, var(--navy), transparent 65%); }
.badge-art > img:first-child { width: 100%; height: 100%; object-fit: cover; object-position: center 37%; }
.badge-art .badge-seal { position: absolute; width: 48px; height: 48px; bottom: 14px; left: 28px; z-index: 1; }
.badge-content { padding: 0 28px 24px; }
.badge-kicker { color: var(--gold); font: 400 10px/1.7 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; }
.badge h2 { font: 600 33px/1.1 var(--font-display); margin: 12px 0 16px; max-width: 260px; }
.badge p:not(.badge-kicker):not(.fine) { color: var(--muted); font-size: 14px; line-height: 1.9; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 18px; min-height: 52px; padding: 15px 22px; margin-top: 22px; border: 1px solid transparent; border-radius: 8px; background: var(--button); color: var(--white); text-decoration: none; font-size: 13px; font-weight: 800; line-height: 1.6; cursor: pointer; transition: background .2s, box-shadow .2s; }
a.btn::after { content: ''; flex-shrink: 0; width: 8px; height: 8px; border-top: 1.5px solid; border-right: 1.5px solid; transform: rotate(45deg); }
.btn:hover { background: var(--button-hover); box-shadow: 0 5px 24px #ff315d25; }
.btn:active { background: #cf2147; }
.btn-wide { width: 100%; padding-inline: 12px; gap: 12px; }
.fine { margin-top: 14px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.ticket-edge { margin-top: 20px; height: 12px; border-top: 1px dashed #45516a; position: relative; }
.ticket-edge::after { content: ''; position: absolute; right: 0; bottom: 0; width: 76px; height: 5px; background: repeating-linear-gradient(90deg, #64718a 0 1px, transparent 1px 4px, #64718a 4px 6px, transparent 6px 9px); opacity: .7; }
/* Library and editorial introduction */
.band { padding-block: 88px; }
.band p { color: var(--muted); }
.section-kicker { display: flex; align-items: center; gap: 10px; color: var(--teal) !important; font: 400 10px/1.6 var(--font-mono); text-transform: uppercase; letter-spacing: .16em; margin-bottom: 20px; }
.section-kicker::before { content: ''; width: 20px; height: 1px; background: currentColor; }
h2.display { font: 600 clamp(2.2rem, 3.1vw, 3rem)/1.12 var(--font-display); letter-spacing: .005em; margin-bottom: 22px; max-width: 760px; }
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 110px; align-items: center; }
.split > div > p:not(.section-kicker) { font-size: 14px; }
.catalog { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 6px; padding: 6px 12px; color: #c3cddd; font-size: 11px; }
.chip:first-child { color: var(--teal); background: #98c6ff0a; border-color: #98c6ff3d; }
.belief-panel { position: relative; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(140deg, #192239, var(--navy)); }
.belief-panel .belief-mark { width: 34px; height: 34px; margin-bottom: 28px; }
.belief-panel h2.display { font-size: 35px; max-width: 300px; }
/* Community spaces */
.band-navy { background: var(--navy); border-block: 1px solid var(--line); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 38px; }
#comunidade > .wrap > p:not(.section-kicker), #voz > .wrap > p:not(.section-kicker) { font-size: 14px; }
#comunidade .grid-3 { grid-template-columns: 1.4fr 1fr 1fr; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.card-icon { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #98c6ff30; color: var(--teal); background: #98c6ff08; border-radius: 10px; margin-bottom: 26px; }
.card-icon svg { width: 22px; height: 22px; }
.card h3 { font: 500 29px/1.2 var(--font-display); margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 13px; line-height: 1.85; }
.community-card:nth-child(2) { background: radial-gradient(ellipse at bottom right, #31436f38, transparent 70%), var(--card); }
.community-card:nth-child(3) { background: radial-gradient(ellipse at bottom right, #6952382b, transparent 70%), var(--card); border-color: #dcc69830; }
.community-card:nth-child(3) .card-icon { color: var(--gold); border-color: #dcc69840; background: #dcc69808; }
.thread { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 11px; color: #d1d8e5; }
.card p + .thread { margin-top: 22px; }
.thread:last-child { padding-bottom: 0; }
.votes { font: 400 10px/1.8 var(--font-mono); color: var(--teal); white-space: nowrap; }
.request-card { display: flex; flex-direction: column; background: transparent; border-radius: 0; border-width: 0 0 1px; border-top: 2px solid #42516c; padding: 24px 0; }
.request-card + .request-card { margin-left: 12px; }
.request-card:first-child { border-top-color: var(--stamp); }
.request-card h3 { font: 400 11px/1.6 var(--font-mono); color: var(--muted); margin-bottom: 16px; }
.request-card p:not(.votes) { font-size: 16px; color: var(--ink); }
.request-card .vote-count { margin-top: auto; padding-top: 28px; color: var(--teal); font-size: 12px; display: flex; align-items: center; gap: 8px; }
.vote-count::before { content: ''; width: 7px; height: 7px; border-left: 1px solid; border-top: 1px solid; transform: translateY(2px) rotate(45deg); }
/* Four real steps; the closing invitation */
.access-band { position: relative; isolation: isolate; overflow: hidden; }
.access-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--navy) 10%, #101727d9), url('../assets/club-hall.webp') center/cover; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 42px; margin-bottom: 34px; }
.step { border-top: 1px solid #53617b; padding-top: 20px; }
.step b { display: block; color: var(--gold); font: 500 38px/1 var(--font-display); margin-bottom: 18px; }
.step p { font-size: 13px; max-width: 210px; }
#acesso > .wrap > p:not(.section-kicker) { font-size: 13px; }
/* Institutional pages retain their content and share the brand system. */
.legal-page { max-width: 860px; padding-block: 68px 88px; }
.legal-page h1 { font-size: clamp(2.7rem, 6vw, 4.5rem); margin-bottom: 22px; }
.legal-page .updated { font-size: 12px; margin-bottom: 34px; }
.legal-page h2 { font: 500 30px/1.2 var(--font-display); margin: 34px 0 18px; padding-top: 24px; border-top: 1px solid var(--line); }
.legal-page p, .legal-page li { color: var(--muted); margin-bottom: 12px; }
.legal-page ul { padding-left: 1.3em; }
.legal-page a { color: var(--teal); overflow-wrap: anywhere; }
.legal-page .btn { color: var(--white); }
.contact-box { background: var(--card); padding: 26px; margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
/* Footer and consent */
footer { padding: 52px 0 28px; color: var(--muted); font-size: 12px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 90px; }
footer strong { display: block; color: var(--ink); font-size: 12px; font-weight: 700; margin-bottom: 14px; }
.foot-grid > div:first-child strong { font: 600 29px/1 var(--font-display); letter-spacing: .08em; }
footer a { display: inline-block; padding-block: 7px; text-decoration: none; transition: color .2s; }
footer a:hover { color: var(--white); }
.foot-copy { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 22px; font-size: 10px; }
.cookie { position: fixed; left: 24px; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 20; width: min(510px, calc(100% - 48px)); display: flex; align-items: center; gap: 20px; padding: 18px 20px; background: #192337; border: 1px solid #42516b; border-radius: 12px; box-shadow: var(--shadow); color: #d0d9e8; font-size: 11px; }
.cookie[hidden] { display: none; }
.cookie a { color: var(--teal); }
.cookie .btn { margin: 0; min-width: 48px; min-height: 44px; padding: 10px 14px; flex-shrink: 0; }
@media (min-width: 1600px) { .hero { padding-block: 90px; } }
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  .nav { gap: 18px; }
  .brand-kana { display: none; }
  .hero { gap: 48px; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  h1 { font-size: clamp(3.7rem, 7.3vw, 5rem); }
  .split { gap: 48px; }
  .meta-row { gap: 18px; }
  .stat + .stat { padding-left: 18px; }
  .card { padding: 24px; }
  .request-card { padding-inline: 0; }
  .foot-grid { gap: 48px; }
}
@media (max-width: 800px) {
  .wrap { width: calc(100% - 40px); }
  .topbar-inner { min-height: 80px; flex-wrap: wrap; justify-content: center; gap: 8px; padding-block: 18px 10px; }
  .brand-kana { display: block; }
  .nav { justify-content: center; gap: 24px; width: 100%; font-size: 11px; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); gap: 28px; padding-block: 52px; }
  h1 { font-size: clamp(3.2rem, 7.5vw, 4.2rem); }
  .lede { font-size: 13px; }
  .meta-row { gap: 12px; }
  .stat + .stat { padding-left: 12px; }
  .stat b { font-size: 29px; }
  .stat span { font-size: 9px; white-space: normal; }
  .badge { transform: none; }
  .badge-content { padding: 0 20px 20px; }
  .badge-art { height: 170px; }
  .badge-art .badge-seal { left: 20px; }
  .badge h2 { font-size: 30px; }
  .btn-wide { font-size: 11px; }
  .band { padding-block: 64px; }
  .split { gap: 32px; }
  .belief-panel { padding: 26px; }
  #comunidade .grid-3 { grid-template-columns: 1fr 1fr; }
  .community-card:first-child { grid-column: 1 / -1; }
  .card { padding: 24px; }
  .request-card { padding-inline: 0; }
  .grid-3 { gap: 20px; }
  .steps { gap: 20px; }
  .foot-grid { gap: 30px; }
}
@media (max-width: 600px) {
  .nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); justify-items: center; gap: 0 8px; font-size: 12px; }
  .nav a { min-height: 44px; }
  .brand-mark { font-size: 28px; }
  .brand-symbol { width: 32px; height: 32px; }
  .hero { grid-template-columns: 1fr; gap: 48px; padding-block: 40px 48px; }
  .hero-scene::before { background: linear-gradient(180deg, #090d1880, var(--paper) 72%), url('../assets/club-hall.webp') center top/auto 650px no-repeat; opacity: .5; }
  .issue { font-size: 10px; margin-bottom: 24px; }
  h1 { font-size: clamp(3.65rem, 12.5vw, 5rem); max-width: 460px; }
  .headline-secondary { margin-top: 12px; }
  .lede { margin-top: 24px; font-size: 16px; line-height: 1.9; }
  .meta-row { gap: 16px; padding-top: 24px; margin-top: 26px; }
  .stat + .stat { padding-left: 16px; }
  .stat b { font-size: 34px; }
  .stat span { font-size: 10px; }
  .badge { width: 100%; max-width: 420px; justify-self: center; }
  .badge-art { height: 185px; }
  .badge-content { padding: 0 26px 24px; }
  .badge-art .badge-seal { left: 26px; }
  .badge h2 { font-size: 35px; max-width: 270px; }
  .badge p:not(.badge-kicker):not(.fine) { font-size: 16px; }
  .badge-kicker { font-size: 11px; }
  .fine { font-size: 11px; }
  .btn, .btn-wide { font-size: 12px; }
  .band { padding-block: 52px; }
  .split, .grid-3, #comunidade .grid-3 { grid-template-columns: 1fr; gap: 20px; }
  .split { gap: 32px; }
  .belief-panel { padding: 28px; }
  h2.display { font-size: 37px; }
  .card p, .split > div > p:not(.section-kicker), #comunidade > .wrap > p:not(.section-kicker), #voz > .wrap > p:not(.section-kicker) { font-size: 16px; }
  .thread { font-size: 12px; }
  .votes { font-size: 10px; }
  .request-card + .request-card { margin-left: 0; }
  .request-card .vote-count { padding-top: 20px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .step p { font-size: 13px; }
  .access-band .btn { width: 100%; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot-grid > div:first-child { grid-column: 1 / -1; max-width: 290px; }
  footer a { min-height: 44px; }
  .foot-copy { font-size: 10px; line-height: 1.9; }
  .cookie { left: 12px; bottom: max(12px, env(safe-area-inset-bottom)); width: calc(100% - 24px); gap: 12px; padding: 14px; }
  .legal-page { padding-block: 44px 64px; }
  .legal-page h1 { font-size: 3rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
