/* QTS site styles.
   Two typefaces only: DM Sans for reading and controls, Space Grotesk for headings, labels and numbers. */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/dm-sans-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: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/space-grotesk-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;
}

:root {
  --bg: #000; --ink: #eceef2; --muted: #a4aab6; --line: #22262c; --line-strong: #2c3139; --navy: #1f3556;
  --surface: #0b0c0f; --surface-2: #101215;
  /* One blue accent family; slate supports secondary details. Sponsor tiers keep their own muted metals. */
  --blue: #7f9fd4; --blue-fill: #2f4d86; --blue-fill-hover: #3a5c9e; --blue-text: #9db5dd;
  --slate: #91a0b7; --rose: #b48d95;
  --body: 'DM Sans', sans-serif; --display: 'Space Grotesk', sans-serif;
  --radius: 5px; --radius-lg: 10px;
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue-text); outline-offset: 4px; }
::selection { color: white; background: #3b5fb0; }
[hidden] { display: none !important; }
img { max-width: 100%; }
.container { max-width: 1200px; padding-inline: 40px; margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: -100px; left: 15px; background: var(--navy); color: white; padding: 12px; }
.skip-link:focus { top: 15px; }
.accent-text { color: var(--blue-text); }

/* ---------- Header ---------- */
.header { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { display: block; width: 54px; height: 54px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font: 700 30px/1 var(--display); letter-spacing: -.6px; color: var(--ink); }
.brand-sub { display: block; font: 500 9px/1 var(--body); letter-spacing: 2.2px; margin-top: 7px; margin-left: 1px; color: var(--blue); }
.site-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.site-nav > a, .nav-trigger { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 9px 0; border: 0; background: none; color: #aab4c4; font: 400 14px/1.65 var(--body); cursor: pointer; transition: color 180ms; }
.site-nav > a::after, .nav-trigger::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 220ms ease; }
.site-nav > a:hover, .nav-trigger:hover, .nav-group.is-open .nav-trigger, .site-nav > a[aria-current="page"], .nav-group.is-current .nav-trigger { color: var(--ink); }
.site-nav > a:hover::after, .nav-trigger:hover::after, .nav-group.is-open .nav-trigger::after, .site-nav > a[aria-current="page"]::after, .nav-group.is-current .nav-trigger::after { transform: scaleX(1); }
.site-nav > a[aria-current="page"], .nav-group.is-current .nav-trigger { font-weight: 600; }
.nav-trigger svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 200ms; }
.nav-group { position: relative; }
.nav-group.is-open .nav-trigger svg { transform: rotate(180deg); }
.nav-menu { position: absolute; top: 100%; left: 0; z-index: 40; display: none; min-width: 210px; margin-top: 8px; padding: 6px; border: 1px solid var(--line-strong); border-radius: 8px; background: #0e0f12; }
.nav-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -9px; height: 9px; }
.nav-menu-compact { min-width: 130px; }
.nav-group.is-open .nav-menu { display: block; }
@media (hover: hover) {
  .nav-group:hover .nav-menu { display: block; }
  .nav-group:hover .nav-trigger svg { transform: rotate(180deg); }
}
html:not(.js) .nav-group:focus-within .nav-menu { display: block; }
.nav-menu a { display: block; padding: 10px 14px; border-left: 2px solid transparent; border-radius: var(--radius); color: #b9c3d3; font-size: 14px; white-space: nowrap; transition: background .15s, color .15s; }
.nav-menu a:hover, .nav-menu a:focus-visible { background: #17191e; color: #fff; }
.nav-menu a[aria-current="page"] { border-left-color: var(--blue); color: #fff; font-weight: 600; }

/* ---------- Buttons and links ---------- */
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 22px; border: 1px solid transparent; border-radius: var(--radius); background: #15171b; color: #d8e1f0; font-size: 14px; font-weight: 600; transition: background .18s, color .18s, border-color .18s; }
.button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.button:hover svg { transform: translateX(3px); }
.button.blue { background: var(--blue-fill); color: #fff; }
.button.blue:hover { background: var(--blue-fill-hover); }
.button.large { min-height: 68px; padding: 16px 40px; font-size: 20px; }
.events-button { background: transparent; color: #c6d2e5; border-color: #363c48; }
.events-button:hover { background: #15171b; border-color: #6e7a90; color: #fff; }
.text-link { color: #c3d4ef; font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--blue-fill-hover); transition: color .2s, text-decoration-color .2s; }
.text-link:hover { color: #fff; text-decoration-color: var(--blue); }
.section-heading .text-link { white-space: nowrap; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 392px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: center; padding-block: 28px 24px; }
.hero-copy { min-width: 0; }
.eyebrow { font: 600 12px/1.4 var(--body); letter-spacing: 1.6px; color: var(--blue); margin: 0 0 16px; }
h1, h2 { color: var(--ink); text-shadow: none; filter: none; transform: translateZ(0); backface-visibility: hidden; -webkit-font-smoothing: antialiased; }
h1 { font: 600 clamp(46px, 5.2vw, 64px)/1.08 var(--display); letter-spacing: -2.8px; margin: 0; }
.hero-description { max-width: 530px; color: #b4bdcc; font-size: 16px; line-height: 1.6; margin: 18px 0 22px; }
.hero-buttons { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.hero-art { position: relative; width: 100%; height: 300px; min-width: 0; }
.member-count { display: flex; align-items: center; gap: 9px; margin: 22px 0 0; font-size: 14px; color: #a4adbb; }
.member-count strong { font: 600 27px var(--display); letter-spacing: -.7px; color: var(--blue); }
.member-icons { position: relative; width: 54px; height: 28px; margin-right: 3px; }
.member-icons svg { position: absolute; left: 0; top: 1px; width: 24px; height: 24px; fill: none; stroke: var(--blue); stroke-width: 1.4; animation: member-orbit 9s ease-in-out infinite; }
.member-icons svg:nth-child(2) { animation-delay: -3s; stroke: var(--blue); }
.member-icons svg:nth-child(3) { animation-delay: -6s; stroke: var(--blue-text); }
@keyframes member-orbit { 0%, 100% { transform: translate(0,0) scale(.8); opacity: .45; } 33% { transform: translate(15px,-1px) scale(1); opacity: .95; } 66% { transform: translate(30px,0) scale(.8); opacity: .45; } 83% { transform: translate(15px,3px) scale(.7); opacity: .15; } }

/* ---------- Sections ---------- */
.section { padding-block: 38px; }
h2 { font: 600 41px/1.08 var(--display); letter-spacing: -1.5px; margin: 0; }
.section-label { --label: var(--blue); display: flex; align-items: center; gap: 12px; margin-bottom: 12px; color: var(--label); font: 500 12px/1.4 var(--display); letter-spacing: 1.8px; text-transform: uppercase; }
.section-label::before { content: ''; flex: none; width: 22px; height: 1px; background: currentColor; opacity: .75; }
#events .section-label { --label: var(--blue-text); }
#sponsors .section-label { --label: var(--blue); }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 10px; }
.section-note { color: #a1aec1; font-size: 15px; margin: 0 0 20px; }
.about { display: grid; grid-template-columns: .95fr 1.15fr; align-items: start; gap: 40px; margin-top: 12px; padding-top: 60px; }
.about-copy { position: relative; isolation: isolate; }
.about-copy > p { color: #b4bdcb; font-size: 16px; line-height: 1.65; margin: 16px 0 0; max-width: 500px; }
.about-copy > p.small-copy { font-size: 14px; color: #95a2b6; margin-top: 16px; }
.about-visual { min-width: 0; margin: 20px -20px 0 0; padding-left: 12px; border-left: 2px solid var(--blue); }
.about-media { position: relative; overflow: hidden; }
.about-image { display: block; width: 100%; height: 292px; object-fit: cover; object-position: 50% 56%; filter: saturate(.95) brightness(.97); }
.sponsors-section { padding-top: 34px; }
.events-section { padding-top: 28px; }

/* ---------- Events: blue accents and quieter slate details ---------- */
.events-pause { margin-top: 24px; padding: clamp(24px, 4vw, 40px); border-top: 2px solid var(--blue); background: #0f1114; }
.events-pause h3 { margin: 0; font: 600 clamp(26px, 3.4vw, 36px)/1.2 var(--display); letter-spacing: -.7px; }
.events-pause p { max-width: 620px; margin: 16px 0 0; color: #a1aec1; font-size: 16px; line-height: 1.65; }
.event-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; list-style: none; margin: 24px 0 0; padding: 0; }
.event-row { --accent: var(--blue); min-width: 0; }
.event-trading { --accent: var(--blue); }
.event-probability { --accent: var(--blue-text); }
.event-poker { --accent: var(--slate); }
.event-row:last-child .event-panel { border-top: 0; }
.event-row:not(.event-featured) .event-panel { height: 100%; }
.event-featured { grid-column: 1 / -1; }
.event-panel { display: grid; grid-template-columns: 76px minmax(0, 1fr) 140px; align-items: center; gap: 26px; padding: 18px 24px; border-block: 1px solid #2a2f37; transition: border-color .2s, background .2s; }
.event-featured .event-panel { min-height: 148px; padding: 24px; background: #0f1114; border: 0; border-top: 2px solid var(--accent); }
.event-row:hover .event-panel, .event-panel:focus-visible { border-color: var(--accent); background: #14161b; }
.event-featured:hover .event-panel { background: #14161b; }
.event-index { align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 10px; border-right: 1px solid #2a2f37; font: 400 10px/1.4 var(--display); color: #9aacc5; }
.event-number { font: 600 24px/1 var(--display); letter-spacing: -1px; color: var(--accent); }
.event-featured .event-number { font-size: 34px; }
.event-copy { min-width: 0; }
.event-type { display: block; margin-bottom: 6px; font: 600 10px/1.4 var(--display); letter-spacing: 1.1px; text-transform: uppercase; color: var(--accent); }
.event-copy h3 { font: 600 21px/1.2 var(--display); letter-spacing: -.55px; margin: 0; color: #e3e9f3; }
.event-featured h3 { font-size: 28px; }
.event-location { font-size: 12px; line-height: 1.5; color: #a1afc3; margin: 7px 0 0; }
.event-location + .event-location { margin-top: 2px; }
.event-motif { width: 140px; height: 80px; min-width: 0; justify-self: end; align-self: center; }
.event-motif svg { display: block; width: 100%; height: 100%; overflow: visible; }
.poker-hand { display: flex; align-items: center; justify-content: center; }
.mini-card { display: flex; flex-direction: column; gap: 4px; width: 40px; height: 56px; padding: 6px 7px; border: 1px solid var(--accent); border-radius: 3px; background: #0d0e11; color: #eaf0fa; font: 600 11px/1 var(--display); transform: rotate(-12deg); transform-origin: 50% 100%; transition: transform 200ms ease-out; }
.mini-card + .mini-card { margin-left: -10px; transform: translateY(-3px) rotate(10deg); }
.mini-card > span { font-size: 21px; text-align: center; color: var(--accent); }
.event-panel:is(:hover, :focus-visible) .mini-card:first-child { transform: translateX(-2px) rotate(-17deg); }
.event-panel:is(:hover, :focus-visible) .mini-card + .mini-card { transform: translate(2px, -3px) rotate(15deg); }
.tree-branches { fill: none; stroke: var(--accent); stroke-opacity: .5; stroke-width: 1; }
.tree-highlight { fill: none; stroke: var(--accent); stroke-width: 1.5; opacity: 0; transition: opacity 200ms ease-out; }
.tree-nodes { fill: var(--accent); }
.tree-labels { fill: #a9b8d1; font: 8px var(--display); }
.event-panel:is(:hover, :focus-visible) .tree-highlight { opacity: 1; }
.spread-axis, .spread-tick { fill: none; stroke: var(--accent); stroke-opacity: .65; stroke-width: 1; }
.spread-mid { fill: none; stroke: #fff; stroke-opacity: .8; stroke-width: 1; }
.spread-label { fill: #a9b8d1; font: 7px var(--display); letter-spacing: .6px; }
.spread-price { font: 600 10px var(--display); }
.spread-bid .spread-price { fill: var(--blue); }
.spread-ask .spread-price { fill: var(--rose); }
.spread-bid text { text-anchor: start; }
.spread-ask text { text-anchor: end; }
.spread-mid-label { text-anchor: middle; }
.spread-axis { transform-origin: 70px 40px; transition: transform 200ms ease-out; }
.spread-bid, .spread-ask { transition: transform 200ms ease-out; }
.event-panel:is(:hover, :focus-visible) .spread-axis { transform: scaleX(.9); }
.event-panel:is(:hover, :focus-visible) .spread-bid { transform: translateX(5.8px); }
.event-panel:is(:hover, :focus-visible) .spread-ask { transform: translateX(-5.8px); }

/* ---------- Social cards: only the logo takes colour on hover, never the card ---------- */
.social-symbols { position: absolute; pointer-events: none; }
.community-links { --card-width: 170px; --card-height: 238px; --spread: 59px; --push: 8px; --lift: 22px; position: relative; isolation: isolate; width: 100%; height: 280px; margin: 0 auto; }
.social-card { --fan-x: 0px; --nudge: 0px; --rise: 0px; --angle: 0deg; position: absolute; left: 50%; bottom: 22px; width: var(--card-width); height: var(--card-height); margin-left: calc(var(--card-width) / -2); border: 1px solid #2d323a; border-radius: 5px; background: #0d0e11; overflow: hidden; transform-origin: 50% 100%; transform: translate(calc(var(--fan-x) + var(--nudge)), var(--rise)) rotate(var(--angle)); box-shadow: 0 6px 14px #00000088; transition: transform .4s cubic-bezier(.22,.68,.2,1), border-color .3s, background .3s; }
.social-card:nth-child(1) { --fan-x: calc(0px - var(--spread)); --angle: -17deg; z-index: 1; }
.social-card:nth-child(2) { z-index: 2; }
.social-card:nth-child(3) { --fan-x: var(--spread); --angle: 17deg; z-index: 3; }
.community-links[data-active="1"] .social-card:nth-child(1), .community-links[data-active="2"] .social-card:nth-child(2), .community-links[data-active="3"] .social-card:nth-child(3) { --rise: calc(0px - var(--lift)); border-color: #586278; background: #14171c; }
.community-links[data-active="1"] .social-card:nth-child(1) { --nudge: calc(0px - var(--push)); --angle: -10deg; }
.community-links[data-active="3"] .social-card:nth-child(3) { --nudge: var(--push); --angle: 10deg; }
.community-links[data-active="1"] .social-card:nth-child(2), .community-links[data-active="1"] .social-card:nth-child(3), .community-links[data-active="2"] .social-card:nth-child(3) { --nudge: var(--push); }
.community-links[data-active="2"] .social-card:nth-child(1), .community-links[data-active="3"] .social-card:nth-child(1), .community-links[data-active="3"] .social-card:nth-child(2) { --nudge: calc(0px - var(--push)); }
.social-card svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-index { position: absolute; left: 13px; top: 14px; display: flex; flex-direction: column; align-items: center; gap: 4px; color: #9ba7bb; font: 600 17px/1 var(--display); }
.card-index svg { width: 15px; height: 15px; transition: color .3s; }
.card-index-bottom { inset: auto 13px 14px auto; transform: rotate(180deg); }
.card-suit { position: absolute; width: 52px; height: 52px; left: calc(50% - 26px); top: calc(50% - 37px); color: #65718a; transition: color .3s, opacity .35s ease; }
.card-label { position: absolute; top: calc(50% + 28px); left: 9px; right: 9px; text-align: center; font: 600 12px/1.3 var(--display); text-transform: uppercase; letter-spacing: 1.4px; color: #97a3b8; transition: color .3s; }
.community-links[data-active="1"] .social-card:nth-child(1) .card-suit, .community-links[data-active="2"] .social-card:nth-child(2) .card-suit, .community-links[data-active="3"] .social-card:nth-child(3) .card-suit { color: #a9b6cf; }
/* Each logo has its own brand colour, drawn as a second copy that fades in over the grey one. Flat colour, no glow. */
.social-instagram { --brand: #e8607c; }
.social-discord { --brand: #7480ee; }
.social-linkedin { --brand: #4a98dc; }
.social-card .card-suit-colour { stroke: var(--brand); opacity: 0; pointer-events: none; }
.social-card.is-active .card-suit-colour { opacity: 1; }
.social-card.is-active .card-suit:not(.card-suit-colour) { opacity: 0; }
.social-card.is-active .card-index svg { color: var(--brand); }
@media (hover: none) {
  .social-card .card-suit-colour { opacity: 1; }
  .card-suit:not(.card-suit-colour) { opacity: 0; }
  .card-index svg { color: var(--brand); }
}

/* ---------- Logo tiles (shared by the carousels and the sponsor pages) ----------
   Tiles are light so full-colour logos read well. Each logo sits in a slot and is fitted with
   object-fit: contain, so it is never stretched. */
.logo-tile { position: relative; display: block; overflow: hidden; border: 1px solid #d9dfe9; border-radius: var(--radius-lg); background: #f3f5f9; transition: background .25s ease, border-color .25s ease, transform .25s ease; }
/* The tier bar becomes one continuous frame, flush against the tile edge. */
.logo-tile::before { content: ''; position: absolute; inset: 0; border: 0 solid var(--tier-color, #8d9db8); border-top-width: 3px; border-radius: inherit; pointer-events: none; transition: border-width .25s ease; }
.logo-tile:focus-visible { background: var(--tier-surface, #e9eef6); border-color: var(--tier-color, #8d9db8); transform: translateY(-2px); }
.logo-tile:focus-visible::before { border-width: 3px; }
@media (hover: hover) and (pointer: fine) {
  .logo-tile:hover { background: var(--tier-surface, #e9eef6); border-color: var(--tier-color, #8d9db8); transform: translateY(-2px); }
  .logo-tile:hover::before { border-width: 3px; }
}
.logo-slot { position: absolute; inset: var(--slot-top, 14px) var(--slot-x, 18px) var(--slot-bottom, 14px); display: grid; place-items: center; }
.logo-slot img { display: block; max-width: none; width: min(100%, calc(var(--fw, .8) * var(--boost, 1) * 100%)); height: min(100%, calc(var(--fh, .6) * var(--boost, 1) * 100%)); object-fit: contain; -webkit-user-drag: none; user-select: none; }
/* Sponsor logos are shown in their own colours. A greyscale placeholder (a file with "-mono" in its name) is darkened so it still reads on the light tile. */
.logo-tile img[src*="-mono"] { filter: brightness(.46) contrast(1.05); }
.tier-gold { --tier-color: #b5a06c; --tier-text: #c9b98e; --tier-ink: #74623b; --tier-surface: #f0ebdf; }
.tier-silver { --tier-color: #99a7ba; --tier-text: #bdc7d5; --tier-ink: #586579; --tier-surface: #e5ebf3; }
.tier-bronze { --tier-color: #ac896f; --tier-text: #c4a58e; --tier-ink: #76583f; --tier-surface: #eee5de; }
/* How much of its slot each logo may fill. Wide wordmarks are width-limited, compact marks height-limited. */
.logo-sig { --fw: .86; --fh: .34; }
.gold-grid .logo-sig { --fw: .62; }
.logo-jane { --fw: .66; --fh: .8; }
.logo-flow { --fw: .94; --fh: .24; }
.logo-citadel { --fw: .62; --fh: .8; }
.logo-vivcourt { --fw: .62; --fh: .8; }
.logo-gresearch { --fw: .82; --fh: .4; }
.logo-optiver { --fw: .78; --fh: .52; }
.logo-imc { --fw: .8; --fh: .46; }
.logo-eclipse { --fw: .68; --fh: .74; }

/* ---------- Sponsor carousel ----------
   It scrolls by itself. app.js pauses it while it is pointed at or focused and lets it be dragged,
   swiped or spun with the wheel. Without JavaScript it is a plain row that scrolls sideways. */
.sponsor-intro { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 14px; }
.sponsor-intro .section-note { margin: 0; }
.sponsor-intro .text-link { flex-shrink: 0; }
.sponsor-carousel {
  position: relative; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; padding-block: 22px 26px;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.sponsor-carousel::-webkit-scrollbar { display: none; }
.sponsor-carousel.is-live { overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.sponsor-carousel.is-dragging, .sponsor-carousel.is-dragging * { cursor: grabbing !important; }
.sponsor-carousel.is-live .carousel-sponsor { cursor: pointer; }
.sponsor-carousel-track { display: flex; width: max-content; gap: 16px; will-change: transform; }
.sponsor-carousel-group { display: flex; gap: 16px; }
.carousel-sponsor { --tile-w: 250px; --tile-h: 128px; --slot-top: 30px; --slot-bottom: 12px; --slot-x: 18px; flex: 0 0 var(--tile-w); width: var(--tile-w); height: var(--tile-h); }
.carousel-sponsor .tier-tag { position: absolute; top: 13px; left: 16px; z-index: 1; font: 600 10px/1 var(--display); letter-spacing: 1.4px; text-transform: uppercase; color: var(--tier-ink, #51627d); }
.sponsor-carousel.compact .carousel-sponsor { --tile-w: 222px; --tile-h: 112px; --slot-top: 28px; }

/* ---------- Tiers, partner and offers (sponsors page and homepage) ---------- */
.tier-heading { display: flex; align-items: center; gap: 18px; margin: 0 0 20px; font: 600 clamp(30px, 3.4vw, 40px)/1 var(--display); letter-spacing: -1px; color: var(--tier-text); }
.tier-heading::after { content: ''; flex: 1; height: 1px; background: var(--tier-color); opacity: .4; }
.sponsor-tier { padding-block: 26px 14px; }
.sponsor-tier + .sponsor-tier { border-top: 1px solid #1c2026; margin-top: 12px; }
.tier-grid { display: grid; gap: 18px; min-width: 0; }
.gold-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.silver-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bronze-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gold-grid .logo-tile { height: 210px; --boost: 1.12; --slot-x: 36px; --slot-top: 26px; --slot-bottom: 26px; }
.silver-grid .logo-tile { height: 126px; --slot-x: 22px; --slot-top: 18px; --slot-bottom: 18px; }
.bronze-grid .logo-tile { height: 112px; --slot-x: 24px; --slot-top: 16px; --slot-bottom: 16px; }
.perks { margin-top: 24px; }
.perks-title { margin: 0 0 12px; color: var(--muted); font: 500 10px/1.4 var(--display); letter-spacing: 1.3px; text-transform: uppercase; }
/* A compact member benefit sits below the sponsors, with equal spacing inside both rules. */
.partner-offer { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; align-items: center; gap: 28px; padding: 18px 0; border-block: 1px solid var(--line); transition: border-color .25s ease; }
.partner-logo { display: block; width: min(100%, 160px); height: auto; }
.partner-benefit { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; color: var(--muted); font-size: 13px; }
.partner-benefit strong { color: var(--ink); font: 500 18px/1.3 var(--display); letter-spacing: -.3px; white-space: nowrap; }
.partner-link { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 500; white-space: nowrap; }
.partner-link svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; }
.partner-offer:focus-visible { border-color: var(--blue); }
.partner-offer:focus-visible .partner-link { color: var(--ink); }
.partner-offer:focus-visible .partner-link svg { transform: translate(2px, -2px); }
@media (hover: hover) and (pointer: fine) {
  .partner-offer:hover { border-color: var(--blue); }
  .partner-offer:hover .partner-link { color: var(--ink); }
  .partner-offer:hover .partner-link svg { transform: translate(2px, -2px); }
}

/* ---------- Call-to-action panel (sponsors and sponsor-us pages) ---------- */
.cta-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 48px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line-strong); }
.cta-panel h2 { font-size: clamp(26px, 3vw, 34px); }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.cta-actions .button { min-height: 44px; padding: 10px 20px; border-color: var(--line-strong); background: transparent; font-size: 14px; }
.cta-actions .button:hover { border-color: var(--blue-text); background: var(--surface); }
.cta-email { color: #aab5c6; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-strong); overflow-wrap: anywhere; }
.cta-email:hover { color: #fff; text-decoration-color: var(--blue); }

/* ---------- Sponsors page ---------- */
.sponsors-page, .sponsorship-page, .committee-page, .team-page, .merch-page, .guide-page { min-height: 100svh; display: flex; flex-direction: column; }
body > .header { width: 100%; }
.sponsors-main, .sponsorship-main, .committee-main, .team-main, .merch-main, .guide-main { width: 100%; flex: 1; }
.sponsors-main { padding-block: 42px 56px; }
.sponsors-heading { padding-bottom: 18px; }
.sponsors-heading .section-heading { align-items: end; margin: 0; }
.sponsors-heading h1 { font-size: clamp(44px, 5vw, 64px); }
.sponsors-heading > p:last-child { max-width: 720px; margin: 17px 0 0; color: #b0bacb; text-wrap: balance; }

/* ---------- Sponsor-us page ---------- */
.sponsorship-main { padding-block: 24px 56px; }
.sp-hero { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 64px; padding-block: 40px 52px; }
.sp-hero h1 { font-size: clamp(50px, 6vw, 78px); letter-spacing: -3px; }
.sp-lead { max-width: 520px; margin: 22px 0 28px; color: #bac4d4; font-size: 18px; line-height: 1.65; }
.sp-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sp-photo { margin: 0; min-width: 0; }
.sp-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 56%; border: 1px solid #2a2f37; border-radius: var(--radius); }
.sp-photo figcaption { margin-top: 12px; color: #8f9db2; font-size: 12.5px; }
.sp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 28px; }
.sp-stat { padding-top: 18px; border-top: 2px solid var(--blue); }
.sp-stat strong { display: block; font: 600 clamp(34px, 3.6vw, 46px)/1 var(--display); letter-spacing: -1.6px; color: var(--ink); }
.sp-stat span { display: block; margin-top: 10px; color: #aab5c6; font-size: 13.5px; line-height: 1.45; }
.sp-stat a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #566176; transition: color .2s; }
.sp-stat a:hover { color: #fff; }
.sp-block { padding-top: 64px; }
.sp-block > .section-heading { margin-bottom: 18px; }
.sp-block h2 { font-size: clamp(30px, 3.6vw, 42px); }
.sp-backed .sponsor-carousel { margin-top: 4px; }
.sp-collaborate { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); scroll-margin-top: 32px; }
.sp-collaborate h2 { margin: 0; font-size: clamp(30px, 3.6vw, 42px); }
.sp-areas { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 16px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 16px; }
.sp-areas li { display: flex; align-items: center; gap: 9px; }
.sp-areas li::before { content: ''; flex: none; width: 4px; height: 4px; border-radius: 50%; background: var(--blue); }

/* ---------- Meet the committee: one horizontal feature per person ---------- */
.team-main { padding-block: 40px 72px; }
.team-heading { margin-bottom: 40px; }
.team-heading h1 { font-size: clamp(44px, 5.4vw, 68px); }
.team-heading > p:last-child { max-width: 560px; margin: 16px 0 0; color: #b0bacb; font-size: 17px; }
.team-section { --accent: var(--blue); }
.team-directors { --accent: var(--blue-text); }
.team-section + .team-section { margin-top: 64px; }
.team-title { display: flex; align-items: center; gap: 16px; margin: 0; padding-bottom: 18px; font: 600 clamp(26px, 3vw, 34px)/1.1 var(--display); letter-spacing: -.8px; }
.team-title::after { content: ''; flex: 1; height: 1px; background: var(--accent); opacity: .45; }
.feature { --name-size: clamp(28px, 3.2vw, 38px); display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 48px; padding-block: 34px; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature-photos { display: flex; gap: 16px; }
/* Keep the original photos; percentage crops scale with the portrait frame on every screen size. */
.member-photo { --photo-w: 200px; position: relative; flex: none; width: var(--photo-w); aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: #101216; }
.member-photo img { position: absolute; display: block; width: var(--photo-width, 100%); max-width: none; height: auto; left: var(--photo-left, 0%); top: var(--photo-top, 0%); }
.member-photo--ethan-lau { --photo-width: 121.2054%; --photo-left: -12.5%; --photo-top: -12.0536%; }
.member-photo--jeremiah-lim { --photo-width: 100%; --photo-left: 0%; --photo-top: 0%; }
.member-photo--preston-long { --photo-width: 131.6964%; --photo-left: -16.9643%; --photo-top: -35.7143%; }
.member-photo--zhong-chun-xie { --photo-width: 263.6161%; --photo-left: -94.5313%; --photo-top: -80.3571%; }
.member-photo--damon-jasinski { --photo-width: 133.9286%; --photo-left: -9.1518%; --photo-top: -27.6786%; }
.member-photo--charlize-yuan { --photo-width: 112.203%; --photo-left: -12.203%; --photo-top: 0%; }
.member-photo--warren-kusuma { --photo-width: 203.6401%; --photo-left: 0%; --photo-top: -38.5989%; }
.member-photo--benson-pan { --photo-width: 135.4167%; --photo-left: -25.8929%; --photo-top: -3.3333%; }
.member-photo--quan-nguyen { --photo-width: 149.6139%; --photo-left: -24.8069%; --photo-top: -47.7317%; }
.member-photo--morris-chan { --photo-width: 261.1607%; --photo-left: -128.5714%; --photo-top: -67.8571%; }
.member-initials { font: 700 44px/1 var(--display); letter-spacing: -1.5px; color: #55657f; }
.feature-body { min-width: 0; max-width: 640px; }
.feature-role { margin: 0 0 8px; color: var(--accent); font: 600 13px/1.4 var(--display); letter-spacing: 1.4px; text-transform: uppercase; }
/* Each name keeps its LinkedIn icon beside it. */
.feature-title { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.feature-name { margin: 0; font: 600 var(--name-size)/1.1 var(--display); letter-spacing: -1px; }
.feature-text { margin: 14px 0 0; color: #b0bacb; font-size: 16px; line-height: 1.7; }
.linkedin { flex: none; display: block; width: calc(var(--name-size) * .8); aspect-ratio: 1; color: #4a98dc; transition: color .18s; }
.linkedin svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.linkedin:hover { color: #93c5f0; }
.team-archive-link { margin-top: 56px; }

/* ---------- Committee archive (the original typographic roster) ---------- */
.committee-main { padding-block: 48px 72px; }
.committee-heading { margin-bottom: 56px; }
.committee-heading .eyebrow { margin-bottom: 12px; }
.committee-heading h1 { font-size: 54px; letter-spacing: -2px; }
.committee-roster { display: grid; grid-template-columns: 260px minmax(0, 240px) minmax(0, 340px); gap: 28px; max-width: 896px; }
.committee-year { position: relative; padding-top: 32px; font: 600 58px/1 var(--display); letter-spacing: -3px; color: var(--blue-text); }
.committee-year::after { content: ''; position: absolute; top: 32px; right: 96px; width: 4px; height: calc(1em + 75px); background: var(--blue); }
.committee-group { min-width: 0; }
.committee-group h2 { margin: 0 0 26px; color: var(--blue-text); font: 600 12px/1.4 var(--display); letter-spacing: 1.5px; text-transform: uppercase; }
.committee-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 24px; }
.committee-list h3 { margin: 0 0 3px; font: 600 23px/1.2 var(--display); letter-spacing: -.5px; }
.committee-list p { margin: 0; font-size: 15px; line-height: 1.5; color: #aab4c4; }
.committee-executive .committee-list p { color: var(--blue); }

/* ---------- Merch ---------- */
.merch-main { display: grid; place-items: center; min-height: calc(100svh - 172px); padding-block: 64px; text-align: center; }
.merch-content { position: relative; display: grid; place-items: center; width: min(100%, 1000px); min-height: 430px; isolation: isolate; }
.merch-content h1 { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: .1em .4em; margin: 0; font-size: clamp(30px, 4.5vw, 60px); font-weight: 500; line-height: 1.15; letter-spacing: -1.5px; }
.merch-content h1 > span { white-space: nowrap; }
.merch-maybe { color: var(--muted); }
.merch-doodle { position: absolute; width: 120px; height: auto; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; color: var(--blue); opacity: .65; pointer-events: none; transform: rotate(var(--tilt, 0deg)); animation: merch-drift 9s ease-in-out infinite alternate; }
.merch-doodle text { fill: currentColor; stroke: none; font: 500 11px var(--display); letter-spacing: 1px; }
.merch-shirt { --tilt: -13deg; top: 4%; left: 5%; width: 128px; }
.merch-cap { --tilt: 12deg; top: 7%; right: 7%; width: 132px; animation-delay: -4s; }
.merch-keyring { --tilt: -12deg; bottom: 0; left: 17%; width: 106px; animation-delay: -6s; }
.merch-sticker { --tilt: 7deg; bottom: 0; right: 11%; width: 128px; animation-delay: -2s; }
.merch-sticker-inset { opacity: .45; }
.merch-sticker .merch-sticker-name { font-size: 18px; letter-spacing: 2px; }
.merch-sticker .merch-sticker-sub { font-size: 6px; letter-spacing: 1.5px; }
@keyframes merch-drift { to { transform: translateY(-7px) rotate(calc(var(--tilt, 0deg) + 3deg)); } }
.merch-page .site-footer { margin-top: 0; }

/* ---------- Poker guide and glossary ---------- */
.guide-main { padding-block: 40px 72px; }
.guide-heading { max-width: 780px; padding-bottom: 44px; }
.guide-heading h1 { font-size: clamp(44px, 5.4vw, 68px); }
.guide-lead { max-width: 620px; margin: 18px 0 0; color: #b0bacb; font-size: 17.5px; line-height: 1.7; }
.guide-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 0; padding: 0; list-style: none; }
.guide-jump a { display: inline-flex; align-items: baseline; gap: 8px; padding: 9px 15px; border: 1px solid var(--line-strong); border-radius: var(--radius); color: #c1c9d6; font-size: 13.5px; line-height: 1.2; transition: border-color .18s, color .18s, background .18s; }
.guide-jump a:hover { border-color: var(--blue); background: var(--surface-2); color: #fff; }
.guide-jump a b { color: var(--ink); font: 600 13px/1.2 var(--display); letter-spacing: .6px; }
.guide-section { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr); gap: 64px; padding-block: 56px; border-top: 1px solid var(--line); scroll-margin-top: 8px; }
.guide-aside { align-self: start; position: sticky; top: 28px; }
.guide-part { margin: 0 0 12px; color: var(--blue); font: 500 12px/1.4 var(--display); letter-spacing: 1.8px; text-transform: uppercase; }
.guide-aside h2 { font-size: clamp(28px, 3vw, 36px); letter-spacing: -1px; }
.guide-body { min-width: 0; max-width: 780px; }
.guide-body > p:not([class]) { margin: 0 0 18px; color: #b9c2d0; font-size: 16.5px; line-height: 1.75; }
.guide-body > p:not([class]):last-child { margin-bottom: 0; }
.guide-body strong { color: var(--ink); font-weight: 600; }
.guide-body h3 { margin: 40px 0 14px; font: 600 21px/1.25 var(--display); letter-spacing: -.4px; }
.guide-body > h3:first-child { margin-top: 0; }
.guide-note { margin: 26px 0 0; padding: 18px 22px; border: 1px solid var(--line-strong); border-left: 2px solid var(--blue); border-radius: var(--radius); background: var(--surface); color: #b4bdcc; font-size: 15px; line-height: 1.7; }
.guide-note a { color: #c3d4ef; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--blue-fill-hover); }
.guide-note a:hover { color: #fff; }
.guide-next { margin: 0; padding-top: 28px; border-top: 1px solid var(--line); }

/* Playing cards, drawn in CSS and SVG */
.card-sprite, .icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.pcard { --suit: #16181d; display: inline-flex; flex: none; flex-direction: column; align-items: center; justify-content: space-between; width: 46px; height: 64px; padding: 7px 0 8px; border: 1px solid #c8c7bf; border-radius: 6px; background: #f1f0eb; color: var(--suit); font: 600 19px/1 var(--display); letter-spacing: -.5px; user-select: none; }
.pcard.red { --suit: #a5454e; }
.pcard svg { width: 19px; height: 19px; fill: currentColor; }
.pslot { display: inline-block; flex: none; width: 46px; height: 64px; border: 1px dashed #3a404b; border-radius: 6px; }
.hand { display: flex; gap: 6px; }
.hand.large .pcard, .hand.large .pslot { width: 54px; height: 76px; padding-top: 9px; font-size: 22px; }
.hand.large .pcard svg { width: 22px; height: 22px; }
.hand-caption { margin: 10px 0 0; color: #8f98a7; font-size: 13px; }
.hand-label { margin: 0 0 8px; color: #8f98a7; font: 500 11px/1.3 var(--display); letter-spacing: 1.5px; text-transform: uppercase; }
.hand-row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 22px 40px; margin-top: 22px; }
.rank-strip { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; }
.rank-strip li { display: grid; place-items: center; width: 42px; height: 46px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); color: var(--ink); font: 600 16px/1 var(--display); }
.rank-caption { display: flex; justify-content: space-between; max-width: 590px; margin: 10px 0 0; color: #8f98a7; font: 500 11px/1.3 var(--display); letter-spacing: 1.5px; text-transform: uppercase; }
.suit-list { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 22px 0 0; padding: 0; list-style: none; }
.suit-list li { display: inline-flex; align-items: center; gap: 10px; color: #b4bdcc; font-size: 15px; }
.suit-list svg { width: 20px; height: 20px; fill: #d8dce4; }
.suit-list .red svg { fill: #c0646d; }

/* Hand rankings */
.rankings { margin: 0; padding: 0; list-style: none; }
.rank-row { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 20px; padding-block: 20px; border-top: 1px solid var(--line); }
.rank-row:first-child { padding-top: 0; border-top: 0; }
.rank-no { align-self: start; padding-top: 4px; color: var(--blue); font: 600 14px/1 var(--display); letter-spacing: .6px; }
.guide-body .rank-name { margin: 0; font: 600 19px/1.25 var(--display); letter-spacing: -.3px; }
.rank-desc { margin: 4px 0 0; color: #a4adbc; font-size: 14.5px; line-height: 1.55; }

/* A round of poker */
.steps { margin: 30px 0 0; padding: 0; list-style: none; }
.step { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 22px; padding-bottom: 40px; }
.step:last-child { padding-bottom: 0; }
.step:not(:last-child)::before { content: ''; position: absolute; left: 21px; top: 50px; bottom: 6px; width: 1px; background: var(--line-strong); }
.step-no { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--bg); color: var(--blue); font: 600 15px/1 var(--display); }
.step-body { min-width: 0; padding-top: 6px; }
.step h3 { margin: 0; font: 600 21px/1.25 var(--display); letter-spacing: -.4px; }
.step-body > p:not([class]) { margin: 8px 0 0; color: #b0bacb; font-size: 16px; line-height: 1.7; }
.step .hand-row { margin-top: 18px; }
.seat-tokens { display: flex; gap: 10px; margin-top: 18px; }
.token { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #3a404b; border-radius: 50%; color: #c5ccd8; font: 600 12px/1 var(--display); letter-spacing: .4px; }
.token.is-blind { border-color: var(--blue); color: var(--blue); }

/* Betting options */
.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin: 26px 0 0; padding: 0; list-style: none; }
.option { padding-block: 18px; border-top: 1px solid var(--line); }
.option h3 { margin: 0; font: 600 19px/1.25 var(--display); letter-spacing: -.3px; }
.option p { margin: 6px 0 0; color: #a9b3c3; font-size: 15px; line-height: 1.65; }

/* Glossary */
.abbr-strip { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 0; padding: 0; list-style: none; }
.abbr-strip a { display: inline-flex; align-items: baseline; gap: 8px; padding: 9px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--ink); font: 600 13px/1.2 var(--display); letter-spacing: .6px; transition: border-color .18s, background .18s; }
.abbr-strip a span { color: #8f98a7; font: 400 12.5px/1.2 var(--body); letter-spacing: 0; }
.abbr-strip a:hover { border-color: var(--blue); background: var(--surface-2); }
.glossary { margin: 0; }
.term { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 6px 36px; padding-block: 20px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.term:first-child { padding-top: 0; border-top: 0; }
.term dt { font: 600 18px/1.3 var(--display); letter-spacing: -.3px; color: var(--ink); }
.term dt small { display: block; margin-top: 5px; color: var(--blue); font: 500 11.5px/1.3 var(--display); letter-spacing: 1.5px; text-transform: uppercase; }
.term dd { margin: 0; color: #b0bacb; font-size: 15.5px; line-height: 1.7; }
.term:target dt { color: var(--blue); }

/* ---------- Footer, dividers, reveal ---------- */
.section { position: relative; }
.site-footer { width: 100%; margin-top: 48px; border-top: 1px solid var(--line); background: var(--surface); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 32px; }
.footer-brand { flex: none; }
.footer-brand .brand { display: inline-flex; }
.footer-brand .brand-logo { width: 48px; height: 48px; }
.footer-brand .brand-name { font-size: 28px; }
.footer-social-nav { min-width: 0; max-width: 100%; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-socials { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 24px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; color: #a6aebb; font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; transition: color .18s; }
.footer-links a:hover { color: #fff; }
.footer-links svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.footer-base { margin: 12px 0 0; color: #838b99; font-size: 13px; }
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 550ms ease-out, transform 550ms ease-out; }
.reveal.is-visible { opacity: 1; transform: none; }
.section-divider { position: absolute; top: 0; left: 40px; right: 40px; height: 1px; background: var(--line); pointer-events: none; }
.divider-tick { position: absolute; top: 50%; width: 1px; height: 5px; background: #2e333b; transform: translate(-50%, -50%); }
.major-tick { height: 9px; background: #566175; }
.divider-dot, .divider-trail { z-index: 1; position: absolute; top: 50%; left: var(--walk-position, 50%); width: 6px; height: 6px; border-radius: 50%; background: var(--blue); transform: translate(-50%, -50%); }
.divider-dot { transition: left 150ms ease-out; }
.divider-dot::after { content: ''; position: absolute; top: 50%; left: calc(50% - 9px - var(--walk-direction, 1) * 4px); width: 18px; height: 4px; border-radius: 50%; background: var(--blue); filter: blur(2px); opacity: 0; transform: translateY(-50%); }
.divider-dot.is-moving::after { animation: divider-motion-blur 150ms ease-out both; }
@keyframes divider-motion-blur { 0% { opacity: 0; } 25% { opacity: .5; } 100% { opacity: 0; } }
.divider-trail { z-index: 0; width: 4px; height: 4px; }
.page-paused * { animation-play-state: paused; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .silver-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .container { padding-inline: 28px; }
  .site-nav { gap: 20px; }
  .header { gap: 22px; }
  .hero { min-height: 368px; padding-block: 24px; }
  h1 { font-size: clamp(42px, 5.3vw, 54px); letter-spacing: -2.2px; }
  .hero-art { height: 270px; }
  .community-links { --card-width: 148px; --card-height: 207.2px; --spread: 47px; --lift: 20px; --push: 6px; height: 255px; }
  .about { gap: 28px; }
  .about-visual { margin-right: 0; }
  .about-image { height: 280px; }
  .section-divider { left: 28px; right: 28px; }
  .event-featured .event-panel { grid-template-columns: 64px minmax(0, 1fr) 140px; gap: 20px; padding: 20px; }
  .event-panel { grid-template-columns: 64px minmax(0, 1fr) 140px; gap: 12px; }
  .event-copy h3 { font-size: 19px; }
  .event-featured h3 { font-size: 25px; }
  .sp-hero { gap: 40px; }
}
@media (max-width: 900px) {
  .committee-roster { grid-template-columns: 196px minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; max-width: 824px; }
  .committee-year { font-size: 44px; letter-spacing: -2px; }
  .committee-year::after { right: 64px; }
  .cta-panel { grid-template-columns: 1fr; gap: 24px; }
  .sp-collaborate { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .gold-grid .logo-tile { height: 170px; }
}
@media (max-width: 860px) {
  .event-list { grid-template-columns: minmax(0, 1fr); }
  .event-panel { grid-template-columns: 64px minmax(0, 1fr) 140px; gap: 20px; padding: 16px 20px; }
  .sp-hero { grid-template-columns: 1fr; gap: 44px; }
  .sp-photo { max-width: 560px; }
}
@media (max-width: 760px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, .7fr); gap: 8px; min-height: 360px; }
  h1 { font-size: clamp(37px, 6.3vw, 46px); letter-spacing: -1.8px; }
  .hero-description { font-size: 15px; }
  .hero-art { height: 240px; }
  .community-links { --card-width: 122px; --card-height: 170.8px; --spread: 32px; --push: 5px; --lift: 18px; height: 235px; }
  .about { grid-template-columns: 1fr 1fr; gap: 22px; }
  .about-copy > p { font-size: 15px; }
  .about-image { height: 294px; }
  .card-index { font-size: 15px; left: 10px; top: 12px; }
  .card-index-bottom { inset: auto 10px 12px auto; }
  .card-index svg { width: 13px; height: 13px; }
  .card-suit { width: 40px; height: 40px; left: calc(50% - 20px); top: calc(50% - 29px); }
  .card-label { top: calc(50% + 23px); font-size: 10px; letter-spacing: .8px; }
  .gold-grid { grid-template-columns: minmax(0, 1fr); }
  .gold-grid .logo-tile { height: 150px; }
  .bronze-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bronze-grid .logo-tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .container { padding-inline: 22px; }
  .header { flex-wrap: wrap; gap: 8px; padding-top: 16px; padding-bottom: 12px; min-height: 76px; }
  .brand-logo { width: 44px; height: 44px; }
  .brand-name { font-size: 26px; }
  .site-nav { width: 100%; margin-left: 0; justify-content: flex-start; flex-wrap: wrap; gap: 0 18px; }
  .hero { grid-template-columns: minmax(0, 1fr); min-height: auto; padding-block: 24px 18px; gap: 8px; }
  h1 { font-size: clamp(35px, 10.7vw, 52px); letter-spacing: -1.7px; }
  .eyebrow { font-size: 11px; margin-bottom: 12px; }
  .hero-description { margin: 16px 0 16px; max-width: 430px; }
  .hero-buttons .button { font-size: 13px; padding: 10px 16px; }
  .hero-art { max-width: 330px; height: 238px; margin-inline: auto; }
  .community-links { --card-width: 134px; --card-height: 187.6px; --spread: 40px; --lift: 18px; height: 226px; }
  .member-count { margin-top: 16px; }
  .section { padding-block: 28px; }
  h2 { font-size: 34px; letter-spacing: -1.1px; }
  .about { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 50px; }
  .about-visual { margin: 15px 0 0 0; }
  .about-image { height: auto; aspect-ratio: 1.5; object-position: 50% 54%; }
  .section-heading { align-items: baseline; gap: 12px; }
  .events-section .section-heading { flex-wrap: wrap; }
  .events-section { padding-top: 22px; }
  .sponsors-section { padding-top: 24px; }
  .section-note { font-size: 14px; margin-bottom: 16px; }
  .section-divider { left: 22px; right: 22px; }
  .event-list { margin-top: 20px; }
  .event-panel, .event-featured .event-panel { grid-template-columns: 52px minmax(0, 1fr); gap: 12px; padding: 18px 12px; }
  .event-index { grid-column: 1; grid-row: 1 / 3; justify-content: flex-start; padding-top: 3px; }
  .event-number, .event-featured .event-number { font-size: 25px; }
  .event-copy { grid-column: 2; grid-row: 1; }
  .event-copy h3, .event-featured h3 { font-size: 21px; }
  .event-type { font-size: 9px; letter-spacing: .8px; }
  .event-location { font-size: 12px; }
  .event-motif { grid-column: 2; grid-row: 2; margin-top: 4px; }
  .sponsor-intro { flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
  .sponsor-carousel { margin-inline: -22px; }
  .sponsor-carousel.compact { margin-inline: -22px; }
  .carousel-sponsor { --tile-w: 206px; --tile-h: 108px; --slot-top: 28px; }
  .sponsor-carousel.compact .carousel-sponsor { --tile-w: 190px; --tile-h: 100px; }
  .tier-grid { gap: 12px; }
  .silver-grid .logo-tile { height: 104px; --slot-x: 14px; }
  .bronze-grid .logo-tile { height: 100px; --slot-x: 14px; }
  .cta-panel { margin-top: 32px; padding-top: 24px; }
  .button.large { width: 100%; font-size: 17px; }
  .sponsors-main { padding-block: 28px 38px; }
  .sponsors-heading { padding-bottom: 12px; }
  .sponsors-heading .section-heading { align-items: baseline; }
  .sponsors-heading h1 { font-size: 43px; letter-spacing: -1.8px; }
  .sp-hero { padding-block: 24px 36px; }
  .sp-lead { font-size: 16.5px; }
  .sp-block { padding-top: 44px; }
  .committee-main { padding-block: 30px 44px; }
  .committee-heading { margin-bottom: 30px; }
  .committee-heading h1 { font-size: 44px; letter-spacing: -1.5px; }
  .committee-roster { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .committee-year { width: max-content; padding: 0 24px 40px 0; font-size: 40px; }
  .committee-year::after { top: 0; right: 0; height: calc(1em + 30px); }
  .committee-group { margin-left: 32px; }
  .committee-group h2 { margin-bottom: 18px; }
  .committee-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
  .committee-list h3 { font-size: 21px; }
  .committee-list p { font-size: 14px; }
}
@media (max-width: 520px) {
  .silver-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .committee-list { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 360px) {
  .header { gap: 8px; }
  .site-nav { gap: 0 12px; }
  .brand { gap: 8px; }
  .brand-logo { width: 40px; height: 40px; }
  .community-links { --card-width: 116px; --card-height: 162.4px; --spread: 30px; --lift: 16px; }
  .hero-art { height: 222px; }
  .community-links { height: 214px; }
  .text-link { font-size: 13px; }
}
/* ---------- Responsive: dropdown nav, stats and committee features ---------- */
@media (max-width: 860px) {
  .sp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .feature { gap: 32px; }
  .member-photo { --photo-w: 168px; }
}
@media (max-width: 640px) {
  .site-nav > a, .nav-trigger { min-height: 44px; font-size: 13px; }
  .site-nav > a::after, .nav-trigger::after { bottom: 8px; }
  .nav-menu { min-width: 190px; }
  .sp-stats { gap: 22px 20px; }
  .sp-collaborate { margin-top: 32px; padding-top: 28px; }
  .sp-areas { flex-direction: column; gap: 10px; }
  .team-main { padding-block: 28px 48px; }
  .team-heading { margin-bottom: 28px; }
  .team-section + .team-section { margin-top: 44px; }
  .feature { --name-size: 30px; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 22px; padding-block: 28px; }
  .feature-photos { gap: 12px; }
  .member-photo { --photo-w: 150px; }
  .feature-text { font-size: 15px; }
}
@media (max-width: 360px) {
  .site-nav { gap: 0 10px; }
  .site-nav > a, .nav-trigger { font-size: 12px; }
}
/* ---------- Responsive: footer, offers, poker guide and merch ---------- */
@media (max-width: 1000px) {
  .guide-section { gap: 44px; }
}
@media (max-width: 900px) {
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-socials { justify-content: flex-start; }
  .guide-section { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-block: 44px; }
  .guide-aside { position: static; }
  .term { grid-template-columns: minmax(0, 170px) minmax(0, 1fr); gap: 6px 26px; }
}
@media (max-width: 640px) {
  .site-nav { position: relative; gap: 0 12px; }
  .nav-trigger { gap: 4px; }
  .nav-trigger svg { width: 9px; height: 9px; }
  .nav-group { position: static; }
  .nav-menu, .nav-menu-compact { left: 0; right: 0; min-width: 0; }
  .perks { margin-top: 30px; }
  .site-footer { margin-top: 36px; }
  .footer-inner { padding-block: 28px; }
  .footer-socials { column-gap: 20px; }
  .guide-main { padding-block: 28px 48px; }
  .guide-heading { padding-bottom: 28px; }
  .guide-lead { font-size: 16px; }
  .guide-body > p { font-size: 16px; }
  .guide-note { padding: 16px 18px; }
  .rank-row { grid-template-columns: 30px minmax(0, 1fr); gap: 8px 14px; }
  .rank-row .hand { grid-column: 2; margin-top: 6px; }
  .term { grid-template-columns: minmax(0, 1fr); gap: 4px; padding-block: 16px; }
  .step { grid-template-columns: 38px minmax(0, 1fr); gap: 16px; padding-bottom: 32px; }
  .step-no { width: 38px; height: 38px; font-size: 13px; }
  .step:not(:last-child)::before { left: 18px; top: 44px; }
  .options { grid-template-columns: minmax(0, 1fr); }
  .merch-main { min-height: calc(100svh - 220px); padding-block: 36px; }
  .merch-content { min-height: 370px; }
  .merch-content h1 { letter-spacing: -1px; }
  .merch-shirt { top: 0; left: 0; width: 88px; }
  .merch-cap { top: 6%; right: 0; width: 94px; }
  .merch-keyring { bottom: 0; left: 7%; width: 88px; }
  .merch-sticker { bottom: 0; right: 3%; width: 102px; }
  .hand { gap: 5px; }
  .pcard, .pslot { width: 42px; height: 58px; font-size: 17px; }
  .hand.large .pcard, .hand.large .pslot { width: 48px; height: 68px; font-size: 20px; }
  .rank-strip li { width: 38px; height: 42px; }
}
@media (max-width: 560px) {
  .partner-offer { grid-template-columns: minmax(0, 1fr) auto; gap: 12px 16px; padding-block: 16px; }
  .partner-logo { grid-column: 1 / -1; }
  .partner-benefit { grid-column: 1; grid-row: 2; }
  .partner-link { grid-column: 2; grid-row: 2; }
}

/* Click effect: a thin blue ring spreads from the point of a click or tap, then fades (see app.js). Flat: no glow, no gradient. */
.click-layer { position: fixed; inset: 0; z-index: 1000; overflow: hidden; pointer-events: none; }
.click-ring { position: absolute; width: 0; height: 0; }
.click-ring::before { content: ''; position: absolute; inset: 0; border: 1.5px solid var(--blue-text); border-radius: 50%; background: #9db5dd14; animation: click-ring-grow .6s cubic-bezier(.16, .8, .3, 1) forwards, click-ring-fade .6s ease-in forwards; }
@keyframes click-ring-grow { to { inset: -36px; } }
@keyframes click-ring-fade { from { opacity: .95; } to { opacity: 0; } }
@media (forced-colors: active) {
  .accent-text, .member-count strong, .committee-year { color: CanvasText; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .click-layer { display: none; }
  .reveal { opacity: 1; transform: none; }
  .member-icons svg:nth-child(2) { transform: translateX(15px); }
  .member-icons svg:nth-child(3) { transform: translateX(30px); }
}
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
