/* Club de Ajedrez El Peón Bala — sitio estático.
   Paleta monocroma, tomada del escudo (negro, plata, hueso). */

@font-face { font-family: "EB Garamond"; src: url("assets/fonts/EBGaramond-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("assets/fonts/EBGaramond-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("assets/fonts/EBGaramond-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/Inter-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/Inter-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --black:   #0B0B0B;
  --charcoal:  #161616;
  --border:   #2A2A2A;
  --silver:   #A9A9A9;
  --bone:   #ECE8E1;
  --serif: "EB Garamond", Georgia, serif;
  --sans:  "Inter", system-ui, sans-serif;
  --max-width: 64rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 4rem; }

body {
  margin: 0;
  background: var(--black);
  color: var(--bone);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--bone); text-underline-offset: 3px; }
a:hover { color: #fff; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0; }

/* ---------- Topbar ---------- */

.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 2.5rem);
  background: rgb(11 11 11 / 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.topbar__brand {
  font: 600 1.25rem var(--serif);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.topbar__nav { display: flex; gap: clamp(0.75rem, 2.5vw, 1.75rem); }
.topbar__nav a {
  font-size: 0.875rem;
  color: var(--silver);
  text-decoration: none;
}
.topbar__nav a:hover { color: var(--bone); }

@media (max-width: 40rem) {
  .topbar { flex-direction: column; gap: 0.4rem; }
  .topbar__nav { flex-wrap: wrap; justify-content: center; }
}

/* ---------- Hero ---------- */

.hero {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(2rem, 6vw, 4rem) 1.5rem clamp(3rem, 8vw, 5.5rem);
  background: radial-gradient(ellipse at center 35%, #1d1d1d 0%, var(--black) 70%);
}
.hero__title {
  font-size: clamp(2.75rem, 9vw, 5rem);
  letter-spacing: 0.01em;
}
.hero__sub {
  margin: 0.25rem 0 2rem;
  font: italic 400 1.2rem var(--serif);
  color: var(--silver);
}

/* ---------- Botones ---------- */

.btn {
  display: inline-block;
  padding: 0.75rem 1.6rem;
  border: 1px solid var(--bone);
  background: var(--bone);
  color: var(--black);
  font: 500 0.9rem var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.btn:hover { background: transparent; color: var(--bone); }

/* ---------- Secciones ---------- */

.section {
  padding: clamp(3rem, 8vw, 5rem) clamp(1.25rem, 5vw, 2.5rem);
}
.section > * { max-width: var(--max-width); margin-inline: auto; }
.section--alt { background: var(--charcoal); border-block: 1px solid var(--border); }

.section__title {
  font-size: clamp(2rem, 5vw, 2.75rem);
  margin-bottom: 1.75rem;
  text-align: center;
}
.section__title::after {
  content: "";
  display: block;
  width: 3rem; height: 1px;
  margin: 1rem auto 0;
  background: var(--silver);
}

.prose { max-width: 42rem; text-align: center; }
.prose p { margin: 0 0 1.1rem; }

/* ---------- Actividades ---------- */

.cards {
  list-style: none; padding: 0;
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
.card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  background: var(--black);
}
.card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.card p { margin: 0; color: var(--silver); }

.schedule {
  margin-top: 2.5rem;
  text-align: center;
}
.schedule h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.schedule p { margin: 0.3rem 0; }

/* ---------- Footer ---------- */

.footer {
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.85rem;
  color: var(--silver);
}
.footer p { margin: 0; }

/* Visual identity and progressive motion */
:root { --black:#090909; --charcoal:#141414; --border:#303030; --silver:#b4b4b4; --bone:#ffffff; --gold:#ffd329; --max-width:72rem; }
body { background:var(--black); }
:focus-visible { outline:2px solid var(--gold); outline-offset:5px; }
.topbar { padding:1.2rem max(1.5rem,calc((100vw - 72rem)/2)); background:#090909e8; }
.topbar__brand { white-space:nowrap; font-size:1.45rem; }
.topbar__brand span { color:var(--gold); margin-right:.5rem; }
.topbar__nav a { transition:color .2s; }
.topbar__nav a:hover { color:var(--gold); }
.hero { max-width:90rem; margin:auto; min-height:690px; display:grid; grid-template-columns:1.1fr 1fr; text-align:left; gap:2rem; padding:5rem max(1.5rem,calc((100vw - 72rem)/2)) 5rem; background:radial-gradient(ellipse at 80% 50%,#ffd3290d,transparent 60%); overflow:hidden; }
.hero__title { font-size:clamp(3.5rem,5.7vw,6rem); line-height:1.02; letter-spacing:-.04em; }
.hero__title em { color:var(--gold); font-weight:400; }
.hero__sub { font:400 1rem/1.8 var(--sans); max-width:27rem; margin:1.6rem 0 2rem; }
.hero__actions { display:flex; align-items:center; gap:1.5rem; flex-wrap:wrap; }
.btn { border-color:var(--gold); background:var(--gold); border-radius:4px; text-transform:none; letter-spacing:0; padding:1rem 1.5rem; transition:transform .25s,background .25s,color .25s; }
.btn:hover { transform:translateY(-3px); color:var(--gold); }
.btn span { margin-left:1rem; }
.section { padding:6rem max(1.5rem,calc((100vw - 72rem)/2)); }
.section__title { font-size:clamp(2.5rem,4vw,3.6rem); letter-spacing:-.025em; }
.section__title::after { background:var(--gold); }
.prose { color:var(--silver); line-height:1.9; }
.cards { gap:1.5rem; }
.card { border-radius:12px; padding:2rem; background:linear-gradient(135deg,#232323,#121212); transition:transform .3s,border-color .3s,box-shadow .3s; position:relative; overflow:hidden; }
/* Chess icons: decorative, so empty alt text after the slash (older browsers keep the first declaration). U+FE0E keeps the pawn a gold text glyph; without it many phones draw it as a grey emoji. */
.card:before { content:'\265F\FE0E'; content:'\265F\FE0E' / ''; display:block; font:3rem Georgia,serif; color:var(--gold); margin-bottom:1.5rem; }
.card:nth-child(2):before { content:'\265E'; content:'\265E' / ''; } .card:nth-child(3):before { content:'\265A'; content:'\265A' / ''; }
.card:hover { transform:perspective(700px) translateY(-8px) rotateX(3deg); border-color:#ffd32970; box-shadow:0 20px 35px #0003; }
.card h3 { font-size:1.9rem; margin-bottom:1rem; } .card p { font-size:.9rem; }
.schedule { margin-top:3rem; padding:2rem; border:1px solid var(--border); border-radius:12px; }
.schedule p { font-size:.9rem; }
.carousel { max-width:65rem; }
.carousel__track { display:flex; overflow-x:auto; scrollbar-width:none; border-radius:14px; border:1px solid var(--border); }
.carousel__track::-webkit-scrollbar { display:none; }
.slide { flex:0 0 100%; min-width:0; margin:0; position:relative; background:#121212; }
.slide img { width:100%; height:460px; object-fit:cover; display:block; }
.slide:after { content:''; position:absolute; inset:0; background:linear-gradient(0deg,#090909f2,transparent 75%); pointer-events:none; }
.slide figcaption { position:absolute; bottom:2.5rem; left:2.5rem; right:2rem; z-index:1; }
.slide figcaption span { font-size:.65rem; color:var(--gold); letter-spacing:.2em; }
.slide h3 { font-size:clamp(2rem,3.8vw,3.3rem); margin-top:.7rem; }
.slide p { color:var(--silver); font-size:.75rem; margin-bottom:0; }
.carousel__controls { display:flex; justify-content:space-between; align-items:center; padding-top:1.3rem; gap:1rem; }
.carousel__dots { display:flex; gap:.5rem; }
.carousel__dots button { width:32px; height:32px; border:0; padding:0; background:transparent; cursor:pointer; position:relative; }
.carousel__dots button:after { content:''; position:absolute; inset:12px 2px; border-radius:5px; background:#555555; }
.carousel__dots button.is-active:after { background:var(--gold); }
.carousel__count { font-size:.7rem; letter-spacing:.15em; color:var(--silver); }
.carousel__arrows { display:flex; gap:.6rem; }
.carousel__arrows button { width:46px; height:46px; border:1px solid #555555; border-radius:50%; background:transparent; color:var(--bone); font-size:1.3rem; cursor:pointer; transition:background .2s; }
.carousel__arrows button:hover { background:#ffd32930; }
.reveal { opacity:0; transform:translateY(25px); transition:opacity .7s,transform .7s; }
.reveal.is-visible { opacity:1; transform:none; }
@media(max-width:800px) { .hero { grid-template-columns:1fr; padding-top:3rem; gap:3rem; } .hero__copy { max-width:34rem; } .hero__title { font-size:clamp(3.2rem,10vw,5rem); } .section { padding-block:4rem; } .slide img { height:390px; } }
@media(max-width:480px) { .topbar { padding:.7rem 1rem; } .topbar__nav { gap:1rem; } .topbar__nav a { font-size:.7rem; } .hero { padding-inline:1.3rem; } .slide img { height:340px; } .slide figcaption { bottom:1.7rem; left:1.4rem; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*::before,*::after { animation:none!important; transition:none!important; } .reveal { opacity:1; transform:none; } }

/* Club identity and collaboration */
.topbar__brand { display:flex; align-items:center; gap:.65rem; }
.topbar__crest { border-radius:50%; object-fit:cover; border:1px solid #ffffff30; }
.hero__title { font-size:clamp(4rem,6.5vw,6.7rem); }
.partner-btn { display:inline-flex; align-items:center; gap:1.2rem; padding:1.25rem 1.75rem; margin-top:1rem; background:#111; border:1px solid #ffd32970; border-radius:12px; text-decoration:none; text-align:left; transition:transform .25s,border-color .25s,box-shadow .25s; }
.partner-btn img { flex-shrink:0; object-fit:contain; }
.partner-btn small { display:block; color:var(--gold); font-size:.65rem; letter-spacing:.12em; text-transform:uppercase; }
.partner-btn strong { display:block; color:#fff; font:600 clamp(1.4rem,3vw,2rem)/1.3 var(--serif); margin:.2rem 0; }
.partner-btn__action { display:block; color:var(--silver); font-size:.7rem; }
.partner-btn:hover { transform:translateY(-4px); border-color:var(--gold); box-shadow:0 10px 30px #ffd3290c; }
@media(max-width:480px) { .hero__title { font-size:4.1rem; } .partner-btn { padding:1.1rem; gap:1rem; width:100%; } }

/* Editorial club-led home */
.hero { max-width:none; grid-template-columns:1fr 1fr; min-height:0; padding-block:3.5rem 3rem; gap:3.5rem; align-items:center; background:var(--black); }
.hero__copy { position:relative; }
.hero__title { font-family:var(--sans); font-size:clamp(4.5rem,7.7vw,8rem); font-weight:900; letter-spacing:-.075em; line-height:.88; }
.hero__title > span,.hero__title > em { display:block; }
.hero__title > em { font-family:var(--sans); font-style:normal; font-weight:900; color:var(--gold); margin-top:.13em; }
.hero__sub { font-size:.9rem; max-width:25rem; margin:1rem 0 1.7rem; }
.topbar__crest { width:48px; height:48px; border-radius:0; object-fit:contain; border:0; }
.card { border-radius:0; background:transparent; border:0; border-top:1px solid #555; padding:2rem 0; }
.card:hover { border-color:var(--gold); box-shadow:none; transform:translateY(-5px); }
.section__title { text-align:left; }
.section__title::after { margin-left:0; width:4rem; height:3px; }
.prose { max-width:48rem; text-align:left; }
.carousel { max-width:72rem; }
#online .prose { max-width:72rem; display:grid; grid-template-columns:1fr 1fr; gap:3rem; align-items:center; }
#online .partner-btn { margin:0; justify-self:end; }
@media(max-width:900px) { .hero { gap:2rem; } .hero__title { font-size:clamp(3.6rem,8.5vw,6rem); } }
@media(max-width:700px) { .hero { grid-template-columns:1fr; padding-top:2rem; gap:2rem; } .hero__copy { max-width:none; } .hero__title { font-size:clamp(4.6rem,17vw,7rem); } #online .prose { grid-template-columns:1fr; gap:1rem; } #online .partner-btn { justify-self:stretch; } }

/* Animated welcome and a separate home for the club emblem */
.hero { min-height:650px; padding-block:4.5rem; gap:2rem; background:radial-gradient(ellipse at 78% 48%,#ffd3290b,transparent 58%); }
.hero__title { font:600 clamp(3.3rem,5.8vw,6rem)/1.02 var(--serif); letter-spacing:-.035em; }
.hero__title > em { display:inline; font:italic 400 1em var(--serif); color:var(--gold); margin:0; }
.hero__sub { margin-top:.7rem; font-size:.95rem; }
.section { padding-block:5.5rem; }
.section__title { font-size:clamp(2.5rem,4.2vw,4rem); margin-bottom:1.8rem; line-height:1.08; }
.section__title::after { display:none; }
.about-layout { display:grid; grid-template-columns:.85fr 1.15fr; align-items:center; gap:5rem; }
.cards { gap:1.5rem; margin-top:2rem; }
.card { border:1px solid #343434; border-radius:16px; background:linear-gradient(135deg,#202020,#111); padding:2rem; }
.card:hover { border-color:#ffd32970; box-shadow:0 16px 28px #0004; transform:perspective(700px) translateY(-6px) rotateX(2deg); }
.card h3 { font-size:1.8rem; } .card p { font-size:.88rem; line-height:1.75; }
.schedule { text-align:left; background:#0b0b0b; border-radius:12px; display:grid; grid-template-columns:1fr 2fr; column-gap:2rem; }
.schedule h3 { grid-row:span 2; font-size:1.7rem; }
@media(max-width:900px) { .hero__title { font-size:clamp(3rem,5.8vw,5rem); } .about-layout { gap:2.5rem; } }
@media(max-width:700px) { .hero { min-height:0; padding-block:3rem; grid-template-columns:1fr; gap:2.5rem; } .hero__title { font-size:clamp(3.4rem,10.7vw,5.5rem); } .about-layout { grid-template-columns:1fr; gap:2.5rem; } .section { padding-block:4rem; } .schedule { grid-template-columns:1fr; } .schedule h3 { grid-row:auto; } }

/* Compact, centered activities */
#activities { padding-block:4rem; }
#activities .section__title { text-align:center; margin-bottom:1.75rem; font-size:clamp(2.4rem,4vw,3.5rem); }
#activities .cards { max-width:64rem; margin:0 auto; gap:1rem; grid-template-columns:repeat(3,minmax(0,1fr)); }
#activities .card { text-align:center; padding:1.5rem 1.25rem; border-radius:12px; }
#activities .card:before { font-size:2.5rem; line-height:1; margin-bottom:1rem; }
#activities .card h3 { font-size:1.65rem; margin-bottom:.65rem; }
#activities .card p { max-width:25rem; margin-inline:auto; font-size:.85rem; line-height:1.65; }
#activities .schedule { max-width:64rem; margin:1.25rem auto 0; padding:1.35rem 1.5rem; text-align:center; display:block; background:#0b0b0b; }
#activities .schedule h3 { font-size:1.45rem; margin-bottom:.7rem; }
#activities .schedule p { font-size:.82rem; line-height:1.65; margin:.35rem 0; color:var(--silver); }
#activities .schedule strong { color:var(--bone); }
@media(max-width:700px) { #activities { padding-block:3rem; } #activities .cards { grid-template-columns:1fr; gap:.75rem; } #activities .card { padding:1.25rem; } #activities .card:before { margin-bottom:.65rem; font-size:2.1rem; } #activities .card h3 { font-size:1.5rem; } #activities .schedule { padding:1.25rem; margin-top:1rem; } }

/* Centered online collaboration */
#online { padding-block:4rem; }
#online .section__title { text-align:center; margin-bottom:1.1rem; font-size:clamp(2.4rem,4vw,3.5rem); }
#online .prose { display:flex; flex-direction:column; align-items:center; gap:1.25rem; max-width:42rem; text-align:center; }
#online .prose > p { margin:0; font-size:.95rem; line-height:1.75; color:var(--silver); }
#online .prose > p > a { color:var(--bone); }
#online .partner-btn { margin:0; align-self:center; justify-self:auto; gap:1.2rem; padding:1.25rem 1.75rem; width:auto; max-width:100%; border-radius:12px; }
#online .partner-btn strong { font-size:1.8rem; }
#online .partner-btn img { width:40px; height:68px; }
@media(max-width:700px) { #online { padding-block:3rem; } #online .prose { gap:1.1rem; } #online .prose > p { font-size:.9rem; } #online .partner-btn { padding:1.1rem 1.25rem; } #online .partner-btn strong { font-size:1.6rem; } }

/* Consistent centered section rhythm */
.section { padding-block:4rem; }
.section__title { text-align:center; font-size:clamp(2.4rem,4vw,3.5rem); margin-bottom:1.25rem; }
.about-layout { display:flex; flex-direction:column; gap:1.5rem; max-width:48rem; }
#gallery .carousel { max-width:64rem; }
#gallery .slide img { height:400px; }
#gallery .slide figcaption { left:1.75rem; right:1.75rem; bottom:1.75rem; text-align:center; }
#gallery .slide h3 { font-size:clamp(1.8rem,3vw,2.6rem); margin-top:0; }
#gallery .carousel__controls { padding-top:1rem; }
#contact .prose { text-align:center; max-width:42rem; font-size:.95rem; line-height:1.75; }
#contact .prose > p { margin:0 0 1.25rem; }
.footer { padding:1.5rem; font-size:.75rem; }
@media(max-width:700px) { .section { padding-block:3rem; } .about-layout { gap:1.25rem; } #gallery .slide img { height:320px; } #gallery .slide figcaption { left:1rem; right:1rem; bottom:1.5rem; } }

/* Mini gallery integrated into the club presentation */
.about-layout .carousel--mini { order:1; width:100%; max-width:36rem; margin:0 auto; scroll-margin-top:7rem; }
.carousel--mini .carousel__track { border-radius:12px; }
.carousel--mini .slide img { height:300px; object-fit:cover; }
.carousel--mini .slide figcaption { bottom:1.25rem; left:1.25rem; right:1.25rem; text-align:center; }
.carousel--mini .slide h3 { font-size:1.65rem; margin:0; }
.carousel--mini .slide p { font-size:.65rem; }
.carousel--mini .carousel__controls { padding-top:.65rem; }
.carousel--mini .carousel__arrows button { width:38px; height:38px; font-size:1.1rem; }
@media(max-width:700px) { .carousel--mini .slide img { height:260px; } .carousel--mini .slide h3 { font-size:1.4rem; } }

.carousel--mini .carousel__controls { justify-content:center; }
#about .carousel--mini .slide img { height:300px; }
#about .carousel--mini .slide figcaption { bottom:1.25rem; left:1.25rem; right:1.25rem; }
#about .carousel--mini .slide h3 { font-size:1.65rem; }
#about .carousel--mini .carousel__controls { padding-top:.65rem; }
@media(max-width:700px) { #about .carousel--mini .slide img { height:260px; } #about .carousel--mini .slide h3 { font-size:1.4rem; } }

#online .prose { max-width:64rem; }
#online .prose > p { max-width:42rem; }
#online .partner-yaxis { flex-direction:column; gap:.85rem; }
.partner-yaxis__brand { display:flex; align-items:center; gap:1rem; text-align:left; }
#online .partner-yaxis img { width:56px; height:56px; border-radius:12px; }
.partner-yaxis__stores { display:flex; flex-wrap:wrap; gap:.6rem; justify-content:center; }
.partner-yaxis__stores a { padding:.45rem .7rem; font-size:.7rem; line-height:1.5; border:1px solid #555; border-radius:6px; text-decoration:none; color:#eee; transition:border-color .2s,color .2s; }
.partner-yaxis__stores a:hover { color:var(--gold); border-color:var(--gold); }

/* Yaxis has its own space below online chess */
#yaxis .prose { display:flex; flex-direction:column; align-items:center; gap:1.25rem; max-width:42rem; text-align:center; font-size:.95rem; line-height:1.75; }
#yaxis .prose > p { margin:0; }
#yaxis .partner-yaxis { display:flex; flex-direction:column; gap:1rem; padding:1.5rem 2rem; margin:0; width:min(100%,26rem); }
#yaxis .partner-yaxis__brand { gap:1.15rem; }
#yaxis .partner-yaxis img { width:68px; height:68px; border-radius:14px; }
#yaxis .partner-yaxis strong { font-size:1.9rem; }
#yaxis .partner-yaxis__stores { width:100%; }
#yaxis .partner-yaxis__stores a { flex:1; text-align:center; padding:.65rem .8rem; font-size:.8rem; }
@media(max-width:700px) { #yaxis .prose { font-size:.9rem; } #yaxis .partner-yaxis { padding:1.25rem; } }

#about .slide--photo img { object-fit:contain; background:#050505; }
#about .slide--photo:after { background:linear-gradient(0deg,#000b,transparent 30%); }
#about .slide--photo figcaption { bottom:.6rem; }
#about .slide--photo p { font-size:.6rem; margin:0; color:white; }

/* Lightweight contact links */
#contact .prose { max-width:42rem; }
.contact-flow { display:flex; flex-direction:column; align-items:center; gap:1.7rem; }
.contact-flow__networks { display:flex; justify-content:center; gap:2.5rem; }
.network-link { display:flex; flex-direction:column; align-items:center; gap:.55rem; text-decoration:none; font-size:.75rem; color:var(--silver); transition:color .2s,transform .2s; }
.network-link svg { width:29px; height:29px; color:var(--bone); }
.network-link:hover { color:var(--gold); transform:translateY(-3px); }
.network-link:hover svg { color:var(--gold); }
.contact-flow__whatsapp { display:flex; gap:.75rem; justify-content:center; flex-wrap:wrap; }
.whatsapp-link { display:flex; align-items:center; gap:.65rem; border:1px solid #ffd32965; border-radius:30px; padding:.7rem 1.2rem; color:var(--bone); text-decoration:none; font-size:.8rem; line-height:1.5; transition:background .2s,border-color .2s,transform .2s; }
.whatsapp-link svg { width:20px; height:20px; color:var(--gold); }
.whatsapp-link:hover { background:#ffd3290d; border-color:var(--gold); transform:translateY(-2px); }
.location-link { display:inline-flex; align-items:center; justify-content:center; gap:.5rem; text-decoration:none; color:var(--silver); font-size:.75rem; line-height:1.6; }
.location-link svg { width:18px; height:18px; flex-shrink:0; }
.location-link:hover { color:var(--gold); }
@media(max-width:480px) { .contact-flow { gap:1.5rem; } .whatsapp-link { font-size:.75rem; padding:.65rem .95rem; } .location-link { font-size:.7rem; } }

/* Club identity beside a portrait photo carousel */
#about > .section__title { margin-bottom:2rem; }
.about-layout--split { display:grid; grid-template-columns:1.15fr .85fr; align-items:center; gap:4rem; max-width:62rem; }
.about-identity { display:flex; flex-direction:column; align-items:center; gap:1.5rem; min-width:0; }
.about-identity .prose { text-align:center; font-size:.95rem; line-height:1.8; color:var(--silver); max-width:30rem; }
.about-identity .prose p { margin-bottom:1rem; }
.about-identity .prose p:last-child { margin:0; }
#about .about-layout--split .carousel--mini { order:initial; width:100%; max-width:350px; }
#about .about-layout--split .carousel__track { aspect-ratio:3 / 4; }
#about .about-layout--split .slide { height:100%; }
#about .about-layout--split .slide img { width:100%; height:100%; object-fit:cover; }
#about .about-layout--split .slide--photo figcaption { bottom:.75rem; left:.6rem; right:.6rem; }
@media(max-width:700px) { .about-layout--split { grid-template-columns:1fr; gap:2rem; } .about-identity { gap:1.25rem; } .about-identity .prose { font-size:.9rem; } #about .about-layout--split .carousel--mini { max-width:320px; } }

/* Balanced identity and photo hierarchy */
#about { padding-block:4rem; }
#about > .section__title { margin-bottom:2.25rem; }
.about-layout--split { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:3rem; max-width:58rem; align-items:center; }
.about-identity { align-items:flex-start; gap:1.5rem; }
.about-identity .prose { text-align:left; max-width:none; font-size:.92rem; line-height:1.8; }
.about-identity .prose p:first-child { color:#eee; }
.about-identity .prose p:last-child { color:var(--silver); font-size:.86rem; }
#about .about-layout--split .carousel--mini { max-width:330px; justify-self:center; margin:0; }
#about .about-layout--split .carousel__track { aspect-ratio:3 / 4; border-radius:14px; }
#about .about-layout--split .slide--photo:after { display:none; }
#about .about-layout--split .carousel__controls { padding-top:.5rem; }
@media(max-width:700px) { #about { padding-block:3rem; } #about > .section__title { margin-bottom:1.75rem; } .about-layout--split { grid-template-columns:1fr; gap:1.75rem; } .about-identity { gap:1.25rem; align-items:center; } .about-identity .prose { text-align:center; font-size:.9rem; } .about-identity .prose p:last-child { font-size:.85rem; } #about .about-layout--split .carousel--mini { max-width:300px; } }

/* Club-first welcome and uncropped community photos */
.hero { grid-template-columns:1.1fr 1fr; gap:3rem; min-height:600px; background:var(--black); padding-block:3.5rem; }
.hero__title { font-size:clamp(4rem,6.5vw,6.7rem); }
.hero__sub { max-width:29rem; }
.hero-emblem { width:100%; max-width:440px; justify-self:center; }
.hero-emblem img { display:block; width:100%; height:auto; border-radius:12px; animation:emblem-enter .8s ease-out both; }
@keyframes emblem-enter { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
.about-layout--split { max-width:64rem; grid-template-columns:1fr 1.1fr; gap:3rem; }
.about-identity { gap:0; }
.about-identity .prose { font-size:1rem; line-height:1.85; }
.about-identity .prose p:last-child { font-size:.92rem; }
#about .about-layout--split .carousel--mini { max-width:none; }
#about .about-layout--split .carousel__track { aspect-ratio:4 / 3; background:#080808; }
#about .about-layout--split .slide img { object-fit:contain; }
@media(max-width:700px) { .hero { grid-template-columns:1fr; min-height:0; padding-block:2.5rem; gap:2rem; } .hero__title { font-size:clamp(3.8rem,12vw,5.5rem); } .hero-emblem { max-width:340px; } .about-layout--split { grid-template-columns:1fr; gap:1.75rem; } .about-identity .prose { font-size:.92rem; } .about-identity .prose p:last-child { font-size:.88rem; } }
@media(prefers-reduced-motion:reduce) { .hero-emblem img { animation:none; } }

/* Soft circular emblem, preserving the entire original image */
.hero-emblem { aspect-ratio:1; padding:clamp(2.2rem,4vw,3.5rem); border-radius:50%; border:1px solid #ffd32945; background:radial-gradient(circle at 50% 40%,#25231b,#0b0b0b 72%); box-shadow:0 0 0 10px #ffffff02,0 20px 60px #0005; display:grid; place-items:center; }
.hero-emblem img { border-radius:18px; object-fit:contain; box-shadow:0 0 28px #0008; }
.collaborators { max-width:52rem; }
.collaborator { text-align:center; max-width:42rem; margin-inline:auto; }
.collaborator + .collaborator { border-top:1px solid var(--border); padding-top:2.5rem; margin-top:2.5rem; }
.collaborator > h3 { font-size:clamp(1.7rem,3vw,2.2rem); margin-bottom:.9rem; }
.collaborator > p { font-size:.92rem; color:var(--silver); line-height:1.8; margin:0 auto 1.4rem; }
#collaborators #online,#collaborators #yaxis { padding-block:0; }
#collaborators .partner-btn { margin:0; }
#collaborators .partner-yaxis { margin:auto; }
@media(max-width:700px) { .hero-emblem { padding:2.5rem; max-width:340px; } .collaborator > p { font-size:.88rem; } .collaborator + .collaborator { padding-top:2rem; margin-top:2rem; } }
.hero-emblem { padding:1.25rem; }
.hero-emblem img { border-radius:50%; }
@media(max-width:700px) { .hero-emblem { padding:1rem; } }

/* Collaborators in one concise horizontal row */
.collaborators { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:2rem; max-width:58rem; }
.collaborator { display:flex; flex-direction:column; align-items:center; width:100%; max-width:none; }
.collaborator + .collaborator { border-top:0; padding-top:0; margin-top:0; }
.collaborator > h3 { font-size:1.8rem; margin-bottom:.6rem; }
.collaborator > p { font-size:.88rem; line-height:1.7; max-width:25rem; margin-bottom:1.25rem; }
#collaborators .partner-btn { margin-top:auto; width:100%; min-height:150px; justify-content:center; }
#collaborators #yaxis .partner-yaxis { margin-top:auto; width:100%; max-width:none; padding:1.25rem; }
@media(max-width:700px) { .collaborators { grid-template-columns:1fr; max-width:26rem; gap:2rem; } #collaborators .partner-btn { min-height:130px; } }
.collaborator > h3 { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
#collaborators .collaborator > .partner-btn { order:0; min-height:168px; margin-top:0; }
.collaborator > p { order:1; margin:1rem auto 0; }

/* Official store artwork, keeping original proportions and clear space */
#yaxis .partner-yaxis__stores { gap:.35rem; align-items:center; }
#yaxis .partner-yaxis__stores .store-badge { flex:0 0 auto; display:flex; align-items:center; justify-content:center; padding:0; border:0; border-radius:0; background:none; line-height:0; }
#yaxis .partner-yaxis__stores .store-badge img { border-radius:0; object-fit:contain; width:auto; }
#yaxis .partner-yaxis__stores .store-badge--apple img { height:40px; }
#yaxis .partner-yaxis__stores .store-badge--google img { height:60px; }
#collaborators .partner-yaxis:hover { transform:none; }

/* Equal collaborator cards and clearly separated store links */
#collaborators .collaborator > .partner-btn,
#collaborators #yaxis .partner-yaxis { height:190px; min-height:190px; padding:1.25rem; box-sizing:border-box; }
#yaxis .partner-yaxis__stores { gap:1rem; flex-wrap:wrap; justify-content:center; }
#yaxis .partner-yaxis__stores .store-badge { width:155px; height:52px; display:grid; place-items:center; border-radius:7px; }
#yaxis .partner-yaxis__stores .store-badge--apple img { width:auto; height:40px; max-width:none; }
#yaxis .partner-yaxis__stores .store-badge--google img { width:auto; height:58px; max-width:none; }
#yaxis .partner-yaxis__stores .store-badge:focus-visible { outline:2px solid var(--gold); outline-offset:5px; }
@media(max-width:480px) { #yaxis .partner-yaxis__stores { gap:.7rem; } #yaxis .partner-yaxis__stores .store-badge { width:130px; } }
#yaxis .partner-yaxis__stores .store-badge--google img { height:52px; }
#yaxis .partner-yaxis__stores .store-badge { border:1px solid #ffffff25; background:#090909; }
#yaxis .partner-yaxis__stores .store-badge:hover { border-color:var(--gold); }

/* Store badges stand on their own, without an extra enclosing button */
#yaxis .partner-yaxis__stores .store-badge,
#yaxis .partner-yaxis__stores .store-badge:hover { border:0; background:transparent; border-radius:0; box-shadow:none; }

.hero__title > em { color:var(--bone); }

.hero__title > em { font-family:inherit; font-size:inherit; font-style:normal; font-weight:inherit; color:inherit; }

.carousel--mini .carousel__dots { flex-wrap:wrap; justify-content:center; gap:.2rem; }
.carousel--mini .carousel__dots button { width:24px; }

.carousel--mini .carousel__controls { flex-wrap:wrap; gap:.5rem 1rem; }
.carousel--mini .carousel__arrows { justify-content:center; }

.hero__category { margin:0 0 1.2rem; color:var(--gold); font:500 .75rem/1.5 var(--sans); letter-spacing:.16em; text-transform:uppercase; }
.about-identity { align-items:center; }
.about-identity .prose { text-align:center; margin-inline:auto; }

/* A tighter, centered club heading */
.hero__category { margin:0 0 .45rem; text-align:center; letter-spacing:.1em; font-size:.8rem; color:var(--silver); }
.hero__title { text-align:center; }
.hero__copy { text-align:center; }
.hero__sub { margin:1.2rem auto 1.7rem; }
.hero__actions { justify-content:center; }
/* Shared gold glow for activities and collaborators */
#activities .card { transition:transform .25s,border-color .25s,box-shadow .25s; }
#activities .card:hover,#activities .card:focus-within { border-color:var(--gold); box-shadow:0 10px 30px #ffd3290c; transform:translateY(-4px); }

.whatsapp-link:hover { background:transparent; border-color:var(--gold); box-shadow:0 0 12px #ffd32918; }

/* Let phone gestures scroll the page without dragging gallery images. */
.carousel__track { touch-action:pan-y; overscroll-behavior-x:contain; }
.carousel__track img { -webkit-user-drag:none; user-select:none; -webkit-user-select:none; }

/* Fixed frame: vertical gestures scroll the page; JS handles horizontal swipes. */
.carousel__track { overflow:hidden; touch-action:pan-y pinch-zoom; }

/* Carousel controls: same line icons for the arrows and the pause button, which shows one icon per state. */
.carousel__arrows button svg { display:block; width:18px; height:18px; margin:auto; }
.carousel__toggle .carousel__icon--play, .carousel__toggle.is-paused .carousel__icon--pause { display:none; }
.carousel__toggle.is-paused .carousel__icon--play { display:block; }

/* Phones: thirteen dots don't fit in one row, so a "3 / 13" counter takes their place. */
.carousel__count { display:none; font-variant-numeric:tabular-nums; }
@media(max-width:480px) { .carousel--mini .carousel__dots { display:none; } .carousel__count { display:block; font-size:.8rem; } }
