/* =========================================================
   PC²BS 2027 — PSG College of Arts & Science
   Theme from the poster: PSG navy/royal blue, crimson, bronze-gold
   ========================================================= */
:root {
  --navy-950: #070b2a;
  --navy-900: #0c1240;
  --navy-800: #141a52;
  --navy-700: #1f2770;
  --royal: #2e3192;      /* PSG logo blue */
  --blue: #1d5fa8;       /* poster footer blue */
  --sky: #5aa9e6;
  --cyan: #7fd3f2;
  --crimson: #b8202f;    /* poster title red */
  --crimson-600: #9c1826;
  --rose: #e0485c;
  --gold: #c8996a;       /* poster divider bronze */
  --gold-light: #ecc89c;
  --ink: #161a3a;
  --text: #2c3150;
  --muted: #5b6182;
  --paper: #f5f7fc;
  --white: #ffffff;
  --line: rgba(46, 49, 146, 0.12);

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;

  --radius: 18px;
  --shadow-sm: 0 2px 10px rgba(12, 18, 64, 0.06);
  --shadow: 0 14px 40px rgba(12, 18, 64, 0.12);
  --shadow-lg: 0 24px 60px rgba(12, 18, 64, 0.22);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--royal); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
h2 { font-family: var(--font-serif); font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
sup { font-size: .6em; line-height: 0; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 120px) 0; position: relative; }
.small { font-size: .9rem; }
.muted { color: var(--muted); }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 1000; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

/* ---------- Section heads ---------- */
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }
.section-head .sub { max-width: 760px; margin: 18px auto 0; color: var(--muted); font-size: 1.05rem; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--crimson); margin-bottom: 10px;
}
.eyebrow.light { color: var(--gold-light); }
.divider {
  position: relative; width: 220px; height: 2px; margin: 18px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold) 15%, var(--gold) 85%, transparent);
}
.divider::before, .divider::after {
  content: ""; position: absolute; top: 50%; width: 10px; height: 10px; background: var(--gold);
  transform: translateY(-50%) rotate(45deg);
}
.divider::before { left: 10px; }
.divider::after { right: 10px; }
.divider.left { margin-left: 0; }

/* ---------- Buttons ---------- */
.btn {
  --bx: 0px; --by: 0px;
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  font: 600 1rem/1 var(--font-sans); text-decoration: none; cursor: pointer;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
  transform: translate(var(--bx), var(--by));
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn-lg { padding: 17px 30px; font-size: 1.05rem; }
.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--rose), var(--crimson) 55%, var(--crimson-600));
  box-shadow: 0 10px 26px rgba(184, 32, 47, .35);
}
.btn-primary:hover { box-shadow: 0 14px 34px rgba(184, 32, 47, .5); }
.btn-ghost { color: var(--white); border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn-outline { color: var(--royal); border-color: var(--royal); background: transparent; word-break: break-all; }
.btn-outline:hover { background: var(--royal); color: var(--white); }
.btn-light { color: var(--navy-900); background: var(--white); }
.btn-light:hover { background: var(--gold-light); }
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.pulse { animation: pulse 2.6s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(224, 72, 92, .55), 0 10px 26px rgba(184,32,47,.35); }
  70% { box-shadow: 0 0 0 16px rgba(224, 72, 92, 0), 0 10px 26px rgba(184,32,47,.35); }
  100% { box-shadow: 0 0 0 0 rgba(224, 72, 92, 0), 0 10px 26px rgba(184,32,47,.35); }
}

/* ---------- Custom cursor ---------- */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; opacity: 0; will-change: transform; }
.cursor-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--crimson); }
.cursor-ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%;
  border: 2px solid rgba(200, 153, 106, .85);
  transition: width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease), background-color .25s, border-color .25s, opacity .3s;
}
.has-cursor .cursor-dot, .has-cursor .cursor-ring { opacity: 1; }
.cursor-ring.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(200, 153, 106, .14); border-color: var(--gold); }
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 200;
  background: linear-gradient(90deg, var(--crimson), var(--gold), var(--sky));
  transform-origin: 0 50%; transform: scaleX(0);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 100;
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.scrolled { background: rgba(12, 18, 64, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 6px 24px rgba(0,0,0,.18); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-weight: 600; letter-spacing: .02em; }
.brand img { width: 40px; height: 40px; object-fit: contain; background: var(--white); border-radius: 10px; padding: 3px; }
.brand-text strong { color: var(--gold-light); }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a {
  color: rgba(255,255,255,.86); text-decoration: none; font-size: .92rem; font-weight: 500;
  padding: 8px 12px; border-radius: 999px; transition: color .2s, background-color .2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--white); background: rgba(255,255,255,.1); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--white); margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 1. Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 90px; overflow: hidden; color: var(--white); isolation: isolate;
  background:
    radial-gradient(1000px 600px at 85% 10%, rgba(29, 95, 168, .55), transparent 60%),
    radial-gradient(800px 500px at 10% 90%, rgba(184, 32, 47, .35), transparent 60%),
    linear-gradient(160deg, var(--navy-950), var(--navy-800) 55%, var(--royal));
}
#particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-glow {
  position: absolute; z-index: -1; width: 520px; height: 520px; left: 0; top: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(90, 169, 230, .22), transparent 65%);
  transform: translate(-50%, -50%); pointer-events: none; will-change: transform;
}
.hero-inner { text-align: center; position: relative; }
.hero-logos { display: flex; justify-content: center; gap: 14px; margin-bottom: 26px; flex-wrap: wrap; }
.hero-logos img { height: 80px; width: auto; background: var(--white); border-radius: 14px; padding: 6px 10px; box-shadow: 0 8px 22px rgba(0,0,0,.25); }
.hero-college { font-family: var(--font-serif); font-size: clamp(1.5rem, 4vw, 3rem); font-weight: 700; color: var(--white); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; }
.hero-kicker { color: #ff9595; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: clamp(.9rem, 1.9vw, 1.2rem); margin-bottom: 16px; }
.hero-title {
  font-family: var(--font-serif); color: #ecc89c; font-weight: 700;
  font-size: clamp(1.3rem, 3.2vw, 2.5rem); line-height: 1.22; max-width: 1050px; margin: 0 auto 16px;
  text-shadow: 0 4px 30px rgba(0,0,0,.35);
}
.hero-title .hl { background: linear-gradient(90deg, #ff8a98, var(--rose)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-title .hl-gold { background: linear-gradient(90deg, var(--gold-light), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-acronym {
  display: table; margin-inline: auto; font-family: var(--font-serif); font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  letter-spacing: .04em; padding: 6px 22px; border-radius: 12px; margin-bottom: 28px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(236,200,156,.4);
}
.hero-acronym span { color: var(--gold-light); }
.hero-meta {
  display: inline-flex; align-items: center; gap: 28px; padding: 16px 28px; border-radius: 18px; margin-bottom: 28px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(8px);
}
.meta-item { display: flex; flex-direction: column; text-align: left; }
.meta-label { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); font-weight: 600; }
.meta-value { font-size: clamp(1rem, 2vw, 1.2rem); font-weight: 600; color: var(--white); }
.meta-sep { width: 1px; align-self: stretch; background: rgba(255,255,255,.25); }
.countdown { display: flex; justify-content: center; gap: 14px; margin-bottom: 34px; }
.countdown div {
  min-width: 84px; padding: 12px 10px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.14);
}
.countdown span { display: block; font: 700 clamp(1.5rem, 3vw, 2rem)/1.1 var(--font-sans); font-variant-numeric: tabular-nums; color: var(--white); }
.countdown small { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.7); }
.countdown.done { display: none; }
.hero-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-note { color: rgba(255,255,255,.82); font-size: 1rem; font-style: italic; margin: 0; }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold-light); animation: cue 1.8s infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- 2. Accreditation marquee ---------- */
.accreditation { background: linear-gradient(90deg, var(--crimson-600), var(--crimson), var(--crimson-600)); color: var(--white); overflow: hidden; }
.marquee { display: flex; width: max-content; }
.marquee-track { display: flex; align-items: center; gap: 28px; padding: 16px 14px; flex-shrink: 0; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { white-space: nowrap; font-weight: 600; font-size: .98rem; letter-spacing: .01em; }
.marquee-track i { color: var(--gold-light); font-style: normal; font-size: .7rem; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- 3. Heritage (gate background) ---------- */
.heritage { background: linear-gradient(180deg, #ffffff 0%, #f3f5fc 55%, #e6ecfa 100%); overflow: hidden; padding-bottom: clamp(230px, 34vw, 500px); }
.heritage-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("../img/psgcas-gate.png");
  background-image: image-set(url("../img/psgcas-gate.webp") type("image/webp"), url("../img/psgcas-gate.png") type("image/png"));
  background-repeat: no-repeat; background-position: center bottom; background-size: min(1320px, 125%) auto;
  opacity: .9;
}
.heritage-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.7) 40%, rgba(255,255,255,0) 72%); }
.heritage .container { position: relative; }
.heritage h2 em { font-style: italic; color: var(--crimson); }
.heritage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.glass-card {
  background: rgba(255,255,255,.8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.9); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow);
  border-top: 4px solid var(--royal);
}
.glass-card:nth-child(2) { border-top-color: var(--crimson); }
.glass-card h3 { font-size: 1.35rem; color: var(--crimson); text-transform: uppercase; letter-spacing: .02em; }
.glass-card:nth-child(2) h3 { color: var(--royal); }
blockquote { margin: 0 0 18px; padding: 16px 20px; border-left: 4px solid var(--gold); background: rgba(200,153,106,.1); border-radius: 0 12px 12px 0; font-family: var(--font-serif); font-style: italic; font-size: 1.12rem; color: var(--ink); }
blockquote cite { display: block; margin-top: 8px; font-family: var(--font-sans); font-style: normal; font-size: .88rem; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.stat {
  background: var(--navy-800); color: var(--white); border-radius: 16px; padding: 22px 18px; text-align: center;
  background-image: linear-gradient(145deg, var(--navy-800), var(--royal));
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.stat:nth-child(even) { background-image: linear-gradient(145deg, var(--blue), var(--navy-700)); }
.stat:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.stat .num { display: block; font: 700 clamp(1.7rem, 3vw, 2.3rem)/1.1 var(--font-sans); color: var(--gold-light); font-variant-numeric: tabular-nums; }
.stat .lbl { display: block; font-size: .88rem; color: rgba(255,255,255,.85); margin-top: 6px; }

/* ---------- 4. About ---------- */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.about-side { position: sticky; top: calc(var(--header-h) + 24px); }
.focus-card {
  margin-top: 30px; padding: 28px; border-radius: var(--radius); color: var(--white);
  background: linear-gradient(135deg, var(--crimson), var(--crimson-600) 50%, var(--navy-800));
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.focus-card::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border: 2px solid rgba(255,255,255,.18); transform: rotate(45deg); }
.focus-label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 10px; }
.focus-card p { font-family: var(--font-serif); font-size: 1.3rem; line-height: 1.45; margin: 0; position: relative; z-index: 1; }
.about-body p { font-size: 1.06rem; }
.about-body .lead { font-size: 1.22rem; color: var(--ink); font-weight: 500; line-height: 1.65; }
.about-body .lead::first-letter { font-family: var(--font-serif); float: left; font-size: 3.6em; line-height: .85; padding: 6px 10px 0 0; color: var(--crimson); }
.format-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.format-list li { padding: 14px 16px 14px 44px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; color: var(--ink); position: relative; }
.format-list li::before { content: ""; position: absolute; left: 18px; top: 50%; width: 10px; height: 10px; background: var(--gold); transform: translateY(-50%) rotate(45deg); }
.attend { margin-top: clamp(56px, 8vw, 90px); text-align: center; padding: 44px 28px; border-radius: 24px; background: linear-gradient(135deg, #eef3ff, #fdf1f2); border: 1px solid var(--line); }
.attend h3 { font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 2rem); color: var(--crimson); margin-bottom: 22px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips li {
  padding: 10px 18px; border-radius: 999px; background: var(--white); border: 1px solid rgba(46,49,146,.2); color: var(--navy-800);
  font-weight: 600; font-size: .95rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), background-color .25s, color .25s;
}
.chips li:hover { transform: translateY(-3px); background: var(--royal); color: var(--white); }

/* ---------- 5. Modules (bento) ---------- */
.modules { background: radial-gradient(900px 500px at 15% 0%, rgba(29,95,168,.45), transparent 60%), linear-gradient(180deg, var(--navy-900), var(--navy-800)); color: var(--white); overflow: hidden; }
.modules h2 { color: var(--white); }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.module {
  --mx: 50%; --my: 50%;
  position: relative; padding: 32px 28px; border-radius: 22px; overflow: hidden;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  transition: transform .35s var(--ease), border-color .3s, box-shadow .3s;
  transform-style: preserve-3d;
}
.module::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(236,200,156,.18), transparent 60%);
}
.module:hover { border-color: rgba(236,200,156,.5); box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.module:hover::before { opacity: 1; }
.m1 { grid-column: span 3; background-image: linear-gradient(145deg, rgba(184,32,47,.35), rgba(255,255,255,.03)); }
.m2 { grid-column: span 3; background-image: linear-gradient(145deg, rgba(29,95,168,.45), rgba(255,255,255,.03)); }
.m3, .m4, .m5 { grid-column: span 2; }
.m4 { background-image: linear-gradient(145deg, rgba(200,153,106,.25), rgba(255,255,255,.03)); }
.m-num { display: block; font: 800 3rem/1 var(--font-sans); color: transparent; -webkit-text-stroke: 1.5px rgba(236,200,156,.75); margin-bottom: 18px; }
.module h3 { color: var(--white); font-size: 1.25rem; line-height: 1.35; }
.module p { color: rgba(255,255,255,.84); font-size: .98rem; margin: 0; }

/* ---------- 6. Speakers ---------- */
.speakers { background: var(--paper); }
.speaker-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.speaker {
  background: var(--white); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  display: flex; flex-direction: column;
}
.speaker:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.sp-photo { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #dfe3ee; }
.sp-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.sp-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(0deg, rgba(12,18,64,.55), transparent); opacity: 0; transition: opacity .35s; }
.speaker:hover .sp-photo img { transform: scale(1.06); }
.speaker:hover .sp-photo::after { opacity: 1; }
.sp-info { padding: 18px 20px 22px; border-top: 3px solid var(--crimson); flex: 1; }
.speaker:nth-child(even) .sp-info { border-top-color: var(--royal); }
.sp-info h3 { color: var(--crimson); font-size: 1.08rem; margin-bottom: 8px; }
.sp-info p { font-size: .9rem; line-height: 1.55; color: var(--text); margin: 0; }

/* ---------- 7. Committee ---------- */
.committee { color: var(--white); background: linear-gradient(160deg, var(--royal), var(--navy-900) 70%); overflow: hidden; }
.committee::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 44px 44px; pointer-events: none; }
.committee .container { position: relative; }
.committee h2 { color: var(--white); }
.tier { display: grid; gap: 18px; margin-bottom: 26px; }
.tier-top { grid-template-columns: repeat(3, 1fr); margin-bottom: 44px; }
.tier-2 { grid-template-columns: repeat(2, 1fr); max-width: 860px; margin-inline: auto; }
.tier-4 { grid-template-columns: repeat(4, 1fr); }
.person {
  text-align: center; padding: 22px 18px; border-radius: 16px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  transition: background-color .3s, transform .3s var(--ease), border-color .3s;
}
.person:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); border-color: rgba(236,200,156,.45); }
.person.big { padding: 30px 22px; background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.04)); border-color: rgba(236,200,156,.35); }
.person .role { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--white); background: var(--crimson); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.person h3 { color: var(--white); font-size: 1.12rem; margin-bottom: 6px; }
.person.big h3 { font-family: var(--font-serif); font-size: 1.45rem; color: var(--gold-light); }
.person p { color: rgba(255,255,255,.8); font-size: .93rem; margin: 0; line-height: 1.5; }
.tier-label { display: flex; align-items: center; gap: 16px; justify-content: center; margin: 8px 0 18px; }
.tier-label span { font-size: .85rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); white-space: nowrap; }
.tier-label::before, .tier-label::after { content: ""; height: 1px; flex: 1; max-width: 160px; background: linear-gradient(90deg, transparent, var(--gold)); }
.tier-label::after { transform: scaleX(-1); }
.tier-2.split { margin-top: 10px; }

/* ---------- 8. Call for presentation ---------- */
.call { background: var(--white); }
.call-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.call-intro p { font-size: 1.08rem; margin-top: 22px; }
.deadline {
  margin: 26px 0; padding: 22px 24px; border-radius: 18px; color: var(--white);
  background: linear-gradient(135deg, var(--navy-800), var(--blue)); box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 4px; border-left: 6px solid var(--gold);
}
.d-label { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); font-weight: 700; }
.d-date { font: 800 clamp(1.8rem, 3.6vw, 2.5rem)/1.1 var(--font-serif); color: var(--white); }
.steps { list-style: none; padding: 0; margin: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 23px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(180deg, var(--crimson), var(--gold), var(--royal)); }
.steps li { display: flex; gap: 22px; margin-bottom: 22px; position: relative; }
.step-n {
  flex: 0 0 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  font: 700 1.15rem/1 var(--font-sans); color: var(--white); background: var(--crimson); box-shadow: 0 0 0 6px var(--white), 0 6px 16px rgba(184,32,47,.35);
  position: relative; z-index: 1;
}
.steps li:nth-child(even) .step-n { background: var(--royal); box-shadow: 0 0 0 6px var(--white), 0 6px 16px rgba(46,49,146,.35); }
.steps li > div { flex: 1; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; transition: box-shadow .3s, transform .3s var(--ease); }
.steps li:hover > div { box-shadow: var(--shadow); transform: translateX(4px); }
.steps h3 { color: var(--navy-800); margin-bottom: 6px; }
.steps p { margin: 0; font-size: 1rem; }
.poster-step { display: flex; gap: 20px; align-items: center; }
.poster-dim { flex: 0 0 72px; margin-right: 26px; height: 96px; border: 2px dashed var(--crimson); border-radius: 6px; position: relative; background: rgba(184,32,47,.05); }
.poster-dim .h, .poster-dim .w { position: absolute; font-size: .72rem; font-weight: 700; color: var(--crimson); white-space: nowrap; }
.poster-dim .h { right: -34px; top: 50%; transform: translateY(-50%) rotate(90deg); }
.poster-dim .w { bottom: -22px; left: 50%; transform: translateX(-50%); }

/* ---------- 9. Registration ---------- */
.registration { background: radial-gradient(900px 500px at 90% 10%, rgba(184,32,47,.4), transparent 60%), linear-gradient(180deg, var(--navy-800), var(--navy-950)); color: var(--white); overflow: hidden; }
.registration h2, .registration h3 { color: var(--white); }
.registration .section-head .sub { color: rgba(255,255,255,.85); }
.includes { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 16px; margin-bottom: 40px; }
.includes > span { font-weight: 600; color: var(--gold-light); }
.includes ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.includes li { padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); font-weight: 500; }
.fee-caption { text-align: center; color: rgba(255,255,255,.85); margin-bottom: 18px; }
.fee-caption strong { color: var(--gold-light); }
.fees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fee {
  position: relative; padding: 26px 24px; border-radius: 18px; overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.14);
  display: flex; flex-direction: column; justify-content: space-between; gap: 14px; min-height: 150px;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.fee::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--crimson), var(--gold)); }
.fee:hover { transform: translateY(-6px); border-color: rgba(236,200,156,.55); box-shadow: 0 20px 44px rgba(0,0,0,.35); }
.fee .cat { font-size: 1rem; color: rgba(255,255,255,.88); font-weight: 500; }
.fee .amt { font: 800 clamp(1.8rem, 3vw, 2.3rem)/1 var(--font-sans); color: var(--white); }
.register-panel {
  margin-top: 40px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
  padding: 34px; border-radius: 24px; background: var(--white); color: var(--text); box-shadow: var(--shadow-lg);
}
.register-panel h3 { color: var(--navy-800); font-size: 1.3rem; }
.rp-link { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .95rem; color: var(--crimson); word-break: break-all; background: #fdf1f2; padding: 10px 14px; border-radius: 10px; }
.register-panel .small { color: var(--muted); margin: 14px 0 0; }
.rp-qr { margin: 0; text-align: center; }
.rp-qr img { width: 170px; height: auto; border-radius: 12px; border: 6px solid var(--white); box-shadow: 0 0 0 2px var(--line); }
.rp-qr figcaption { margin-top: 8px; font-weight: 700; color: var(--crimson); letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; }
.accommodation { margin-top: 22px; padding: 18px 22px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px dashed rgba(236,200,156,.5); color: rgba(255,255,255,.9); }
.accommodation strong { color: var(--gold-light); }

/* ---------- 10. Sponsorship ---------- */
.sponsor { background: linear-gradient(110deg, var(--crimson-600), var(--crimson) 45%, var(--blue)); color: var(--white); padding: 64px 0; position: relative; overflow: hidden; }
.sponsor::before { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border: 40px solid rgba(255,255,255,.07); transform: rotate(45deg); }
.sponsor-inner { display: flex; align-items: center; gap: 40px; justify-content: space-between; position: relative; }
.sponsor h2 { color: var(--white); font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.sponsor p { max-width: 760px; margin: 0; color: rgba(255,255,255,.92); }
.sponsor .btn { flex-shrink: 0; }

/* ---------- 11. Contact ---------- */
.contact { background: linear-gradient(180deg, #eef1fa, var(--white)); }
.contact-card {
  max-width: 760px; margin: 0 auto; text-align: center; padding: clamp(36px, 6vw, 56px); border-radius: 28px;
  background: var(--white); box-shadow: var(--shadow-lg); border: 1px solid var(--line); position: relative; overflow: hidden;
}
.contact-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, var(--royal), var(--crimson), var(--gold)); }
.contact-card h3 { margin-top: 28px; font-size: 1.4rem; color: var(--royal); }
.phones { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 24px 0; }
.phones a { display: block; padding: 14px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); color: var(--navy-800); text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums; transition: background-color .25s, color .25s, transform .25s var(--ease); }
.phones a:hover { background: var(--royal); color: var(--white); transform: translateY(-2px); }
.mail { display: inline-block; font-size: 1.15rem; font-weight: 700; color: var(--crimson); text-decoration: none; border-bottom: 2px solid currentColor; word-break: break-all; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.8); padding: 44px 0 32px; text-align: center; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: linear-gradient(90deg, var(--navy-800) 0 48%, var(--blue) 52% 100%); }
.footer-logos { display: flex; gap: 12px; justify-content: center; margin-bottom: 18px; flex-wrap: wrap; }
.footer-logos img { height: 52px; width: auto; background: var(--white); border-radius: 10px; padding: 5px 8px; }
.site-footer p { margin: 0 0 6px; }
.site-footer strong { color: var(--white); }
.to-top { display: inline-block; margin-top: 14px; color: var(--gold-light); text-decoration: none; font-weight: 600; }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav a { padding: 8px 9px; font-size: .86rem; }
  .speaker-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; margin-left: 6px; }
  .header-cta { margin-left: auto; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 2px; margin: 0;
    padding: 12px 20px 20px; background: rgba(12,18,64,.97); backdrop-filter: blur(12px);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav-open .main-nav { opacity: 1; transform: none; visibility: visible; }
  .main-nav a { padding: 12px 14px; font-size: 1rem; }
  .nav-open .site-header { background: rgba(12,18,64,.97); }
  .heritage-grid, .about-grid, .call-grid { grid-template-columns: 1fr; }
  .about-side { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: 1fr 1fr; }
  .m1, .m2, .m3, .m4 { grid-column: span 1; }
  .m5 { grid-column: span 2; }
  .tier-top { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .tier-4 { grid-template-columns: repeat(2, 1fr); }
  .fees { grid-template-columns: repeat(2, 1fr); }
  .sponsor-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .container { width: min(1180px, 100% - 32px); }
  .brand-text { display: none; }
  .hero-logos img { height: 50px; }
  .hero-meta { flex-direction: column; gap: 12px; padding: 16px 22px; }
  .meta-item { text-align: center; }
  .meta-sep { width: 60%; height: 1px; align-self: center; }
  .countdown { gap: 8px; }
  .countdown div { min-width: 0; flex: 1; max-width: 80px; padding: 10px 4px; }
  .countdown small { font-size: .62rem; letter-spacing: .06em; }
  .glass-card { padding: 24px; }
  .speaker-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .sp-info { padding: 14px; }
  .sp-info p { font-size: .84rem; }
  .bento { grid-template-columns: 1fr; }
  .m5 { grid-column: span 1; }
  .tier-2, .tier-4 { grid-template-columns: 1fr; }
  .fees { grid-template-columns: 1fr; }
  .fee { min-height: 0; flex-direction: row; align-items: center; }
  .fee .amt { font-size: 1.5rem; white-space: nowrap; }
  .register-panel { grid-template-columns: 1fr; text-align: center; padding: 26px 20px; }
  .format-list { grid-template-columns: 1fr; }
  .phones { grid-template-columns: 1fr; }
  .poster-step { flex-direction: column; align-items: flex-start; }
  .poster-dim { margin: 0 0 22px 10px; }
  .steps li { gap: 14px; }
  .steps::before { left: 19px; }
  .step-n { flex-basis: 40px; height: 40px; }
  .btn-outline { font-size: .9rem; }
}
@media (max-width: 400px) {
  .speaker-grid { grid-template-columns: 1fr; }
  .header-cta { padding: 9px 14px; }
}

/* ---------- Motion & pointer preferences ---------- */
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring, .hero-glow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .marquee { width: auto; flex-wrap: wrap; }
}
