@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("./work-sans-latin.woff2") format("woff2");
}

:root {
  --pink: #f4d2d4;
  --blue: #233dcc;
  --orange: #f26745;
  --paper: #faf8f2;
  --lime: #e7ef9b;
  --ink: #20254e;
  --line: rgba(32, 37, 78, .25);
  --gutter: clamp(22px, 5vw, 72px);
  color: var(--ink);
  background: var(--pink);
  font-family: "Work Sans", Arial, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  scroll-padding-top: 54px;
}

* { box-sizing: border-box; }
body { margin: 0; }
::selection { color: var(--paper); background: var(--blue); }
a { color: inherit; text-underline-offset: .22em; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
button, input { font: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; }
ul, ol { list-style: none; margin: 0; padding: 0; }
.wrap { width: min(100%, 1280px); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow { font-size: 14px; font-weight: 600; line-height: 1.5; letter-spacing: .07em; text-transform: uppercase; }
.small { font-size: 16px; line-height: 1.5; }
.icon { display: inline-block; width: 16px; height: 16px; flex: 0 0 16px; vertical-align: middle; }
.skip-link { position: fixed; z-index: 20; top: 12px; left: 12px; padding: 14px 20px; background: var(--paper); transform: translateY(-180%); }
.skip-link:focus { transform: none; }

.masthead { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 10px; color: var(--blue); }
.brand { min-height: 44px; display: flex; gap: 11px; align-items: center; text-decoration: none; }
.brand span { font-size: 25px; font-weight: 600; letter-spacing: -.06em; }
.masthead__rsvp { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; font-size: 15px; font-weight: 500; text-decoration: none; }

/* Each block fills at least one screen below the sticky nav; taller content still scrolls. */
.hero { color: var(--blue); min-height: calc(100svh - 118px); display: grid; grid-template-rows: auto 1fr; padding-bottom: 24px; }
.hero__agu { width: 190px; height: auto; flex: none; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tile { height: 100%; min-height: 260px; display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 20px; color: var(--ink); text-decoration: none; }
.tile--booth { background: var(--orange); }
.tile--happy-hour { background: var(--blue); color: var(--pink); }
.tile--spark-session { background: var(--lime); }
.tile--presentation { background: var(--paper); }
.tile__kind { font-size: 14px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.tile__perk { margin-top: 14px; font-size: clamp(18px, 1.5vw, 21px); font-weight: 500; line-height: 1.35; color: var(--lime); }
.tile__name { margin-top: auto; font-size: clamp(26px, 2.3vw, 36px); font-weight: 600; line-height: 1.08; letter-spacing: -.04em; overflow-wrap: break-word; }
.tile--happy-hour .tile__name { color: var(--lime); }
.tile__when { display: flex; flex-direction: column; font-size: clamp(24px, 2.3vw, 34px); font-weight: 500; letter-spacing: -.035em; line-height: 1.15; }
.tile__when span:last-child { font-size: .72em; opacity: .85; margin-top: 4px; }
.tile__where { font-size: 16px; line-height: 1.45; }
.tile__more { display: inline-flex; align-items: center; gap: 8px; padding-top: 12px; border-top: 1px solid currentColor; font-size: 15px; font-weight: 500; }
.tile:hover .tile__more { text-decoration: underline; }
/* Spacebar, Page Down and swipes stop at each section, below the sticky nav. A section taller than the screen still scrolls inside. */
html { scroll-snap-type: y mandatory; }
.masthead, .happy-hour, .spark, .presentation, .booth { scroll-snap-align: start; }
.closing { scroll-snap-align: end; }
.hero__body { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-block: 28px 26px; }
.hero__date { margin-bottom: 14px; font-size: 17px; font-weight: 500; }
.hero h1 { font-size: clamp(48px, 6.5vw, 86px); line-height: 1.05; letter-spacing: -.065em; }

.jump-nav { position: sticky; top: 0; z-index: 10; background: var(--blue); color: var(--paper); }
.jump-nav__inner { display: flex; align-items: center; justify-content: space-between; min-height: 54px; gap: 20px; }
.jump-nav__brand { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 600; letter-spacing: -.02em; text-decoration: none; }
.jump-nav__links { display: flex; gap: clamp(22px, 3vw, 44px); }
.jump-nav__links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 16px; }
.jump-nav a:hover { color: var(--lime); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 48px; padding: 13px 18px; background: var(--blue); color: var(--paper); text-decoration: none; font-size: 17px; font-weight: 500; border: 1px solid transparent; }
.button:hover { background: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 17px; font-weight: 500; }


.event-kicker { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.event-kicker__date { font-size: 16px; }
.event-details { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.event-details dt { font-size: 14px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.event-details dd { margin: 0; font-size: 21px; line-height: 1.4; font-weight: 500; letter-spacing: -.025em; }
.event-details dd > span { display: block; font-size: 17px; font-weight: 400; letter-spacing: 0; margin-top: 3px; }

.happy-hour { background: var(--blue); color: var(--pink); }
.happy-hour__inner { padding-block: 44px; }
.happy-hour__bottom { display: grid; grid-template-columns: 1.45fr 1fr; gap: 70px; }
.happy-hour h2 { font-size: clamp(44px, 5.4vw, 72px); line-height: 1.05; letter-spacing: -.055em; color: var(--lime); }
.happy-hour__description { font-size: 21px; line-height: 1.5; margin-top: 14px; }
.happy-hour .button { margin-top: 18px; background: var(--lime); color: var(--ink); min-width: 220px; }
.happy-hour .button:hover { background: var(--paper); }
.happy-hour .small { margin-top: 10px; font-size: 12px; opacity: .75; }

.spark { background: var(--lime); padding-block: 44px; }
.spark__grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 70px; }
.spark h2 { font-size: clamp(42px, 4.8vw, 64px); letter-spacing: -.05em; line-height: 1.08; }
.spark__subtitle { font-size: 25px; line-height: 1.35; max-width: 500px; letter-spacing: -.025em; margin-top: 12px; }
.spark__description { font-size: 20px; line-height: 1.5; margin-top: 16px; max-width: 560px; }
.spark__topics { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 0 20px; }
.spark__topics li { padding-block: 8px; font-size: 17px; border-bottom: 1px solid var(--line); }
.speakers { border-top: 1px solid var(--ink); margin-top: 22px; }
.speakers li { padding-block: 12px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.speakers strong { font-size: 20px; font-weight: 500; letter-spacing: -.025em; }
.speakers span { font-size: 16px; }
.spark__aside > .small { margin-top: 10px; }
.spark .text-link { margin-top: 6px; }

.presentation { background: var(--paper); padding-block: 44px; }
.presentation__grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 70px; }
.presentation h2 { font-size: clamp(38px, 4.2vw, 56px); line-height: 1.1; letter-spacing: -.045em; }
.presentation__subtitle { font-size: 24px; line-height: 1.4; letter-spacing: -.02em; margin-top: 12px; }
.presentation__author { margin-top: 18px; font-size: 20px; line-height: 1.5; }
.presentation__author strong { font-weight: 600; }
.presentation .text-link { margin-top: 6px; }

.booth { background: var(--orange); padding-block: 44px; }
.booth__grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 70px; }
.booth h2 { font-size: clamp(44px, 5.4vw, 72px); line-height: 1.05; letter-spacing: -.055em; }
.booth__description { max-width: 480px; font-size: 21px; line-height: 1.5; margin-top: 16px; }
.booth__links { display: flex; flex-wrap: wrap; gap: 0 24px; margin-top: 8px; }
.booth__venue { margin-bottom: 18px; font-size: 23px; letter-spacing: -.03em; line-height: 1.35; }
.booth__venue span { display: block; font-size: 17px; letter-spacing: 0; margin-top: 5px; }
.booth-hours { width: 100%; border-collapse: collapse; font-size: 18px; }
.booth-hours caption { text-align: left; margin-bottom: 10px; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.booth-hours tr { border-top: 1px solid var(--line); }
.booth-hours tr:last-child { border-bottom: 1px solid var(--line); }
.booth-hours th, .booth-hours td { padding-block: 12px; font-weight: 400; }
.booth-hours th { text-align: left; }
.booth-hours td { text-align: right; }
.booth__aside .text-link { margin-top: 8px; }

.closing { background: var(--blue); color: var(--pink); padding-block: 28px 20px; }
.closing__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; }
.closing h2 { font-size: 30px; line-height: 1.15; letter-spacing: -.04em; }
.closing__link { font-size: 17px; min-height: 44px; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.closing__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 24px; padding-top: 14px; border-top: 1px solid rgba(244,210,212,.35); }
.closing__bottom p { font-size: 15px; line-height: 1.5; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
.footer-nav a { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; gap: 5px; font-size: 15px; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }

@media (max-width: 1000px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile { min-height: 220px; }
  .happy-hour__bottom, .spark__grid, .presentation__grid, .booth__grid { gap: 36px; }
  .jump-nav__brand { display: none; }
  .jump-nav__links { width: 100%; justify-content: space-between; }
}

@media (max-width: 760px) {
  :root { scroll-padding-top: 52px; }
  .masthead { padding-block: 8px; }
  .hero { padding-bottom: 16px; }
  .hero__body { display: block; padding-block: 14px 16px; }
  .hero__agu { width: 150px; margin-top: 12px; }
  .tiles { grid-template-columns: 1fr; gap: 8px; }
  .tile { min-height: 0; gap: 4px; padding: 14px 16px; }
  .tile__kind { font-size: 13px; }
  .tile__name { order: -1; margin-top: 0; font-size: 24px; }
  .tile__kind { order: -2; }
  .tile__when { flex-direction: row; flex-wrap: wrap; gap: 0 .4em; margin-top: 4px; font-size: 18px; }
  .tile__when span:last-child { font-size: 1em; margin-top: 0; }
  .tile__when span:first-child::after { content: " ·"; }
  .tile__where { font-size: 15px; }
  .tile__perk { margin-top: 2px; font-size: 16px; }
  .tile__more { display: none; }
  .hero__date { font-size: 15px; margin-bottom: 12px; }
  .hero h1 { font-size: clamp(34px, 10.5vw, 64px); }
  .jump-nav__inner { min-height: 52px; padding-inline: 16px; }
  .jump-nav__links { gap: 4px; }
  .jump-nav__links a { font-size: 14px; padding-inline: 4px; white-space: nowrap; }
  .event-kicker { gap: 12px; margin-bottom: 16px; }
  .event-kicker__date { display: none; }
  .event-details { display: grid; grid-template-columns: 1fr; gap: 16px; }
  .event-details dd { font-size: 20px; }
  .event-details dd > span { font-size: 17px; }
  .happy-hour__inner, .spark, .presentation, .booth { padding-block: 30px; }
  .happy-hour__bottom { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .happy-hour__rsvp { display: contents; }
  .happy-hour h2 { font-size: 46px; order: 0; }
  .happy-hour__description { font-size: 20px; margin-top: 0; order: 1; }
  .happy-hour__bottom .event-details { order: 2; margin-block: 6px; padding-top: 16px; border-top: 1px solid rgba(244,210,212,.4); }
  .happy-hour .button { width: 100%; margin-top: 0; order: 3; }
  .happy-hour .small { font-size: 12px; margin-top: 0; order: 4; }
  .spark__grid, .presentation__grid, .booth__grid { display: block; }
  .spark h2 { font-size: 42px; }
  .spark__subtitle { font-size: 23px; margin-top: 10px; }
  .spark__description { font-size: 19px; margin-top: 14px; }
  .spark__topics { gap: 0 16px; margin-top: 10px; }
  .spark__topics li { font-size: 16px; }
  .spark__aside, .presentation__aside, .booth__aside { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
  .speakers { margin-top: 20px; }
  .presentation h2 { font-size: 38px; }
  .presentation__subtitle { font-size: 22px; margin-top: 10px; }
  .presentation__author { margin-top: 14px; }
  .booth h2 { font-size: 48px; }
  .booth__description { font-size: 20px; margin-top: 12px; }
  .booth__links { gap: 0 22px; }
  .booth__venue { font-size: 22px; margin-bottom: 18px; }
  .closing { padding-block: 24px 16px; }
  .closing__top { flex-wrap: wrap; gap: 4px; padding-bottom: 12px; }
  .closing h2 { font-size: 28px; }
  .closing__bottom { display: block; padding-top: 16px; }
  .footer-nav { margin-top: 8px; gap: 0 18px; }
}

@media (max-width: 360px) {
  :root { --gutter: 20px; }
  .hero__date { font-size: 14px; }
  .hero h1 { font-size: 34px; }
  .jump-nav__inner { padding-inline: 10px; }
  .jump-nav__links a { font-size: 12.5px; padding-inline: 2px; }
  .masthead__rsvp { font-size: 14px; white-space: nowrap; }
  .booth-hours { font-size: 17px; }
  .speakers strong { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
}

/* Discord link, pinned bottom right. The cookie banner (z-index 1000) covers it until dismissed. */
.chat-fab { position: fixed; right: 14px; bottom: 14px; z-index: 15; display: grid; place-items: center; width: 44px; height: 44px; color: var(--blue); opacity: .7; transition: opacity .15s; }
/* No background: a paper outline keeps the logo visible over the blue sections too. */
.chat-fab svg { width: 28px; height: 28px; overflow: visible; stroke: var(--paper); stroke-width: 1.5px; stroke-linejoin: round; paint-order: stroke; }
.chat-fab:hover, .chat-fab:focus-visible { opacity: 1; }
/* Instant hover label; the native title tooltip is slow and Safari often skips it. */
.chat-fab::before { content: "Chat with us"; position: absolute; right: 100%; top: 50%; transform: translateY(-50%); margin-right: 4px; padding: 4px 8px; border-radius: 4px; background: var(--ink); color: var(--paper); font-size: 13px; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .15s; }
.chat-fab:hover::before, .chat-fab:focus-visible::before { opacity: 1; }
