/* NFC Summit 2027 — team page. One deliberate look: the evening register of the design system (ink, chalk, sun yellow). */
:root {
  --ink: #0B0B0B; --graphite: #1A1A1A; --chalk: #F2F0EB; --grey: #9A968C; --yellow: #F6B800; --blue: #1442B2;
  --rule: rgba(242, 240, 235, 0.14);
  --gutter: max(20px, 5vw);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--ink); }
body { margin: 0; background: var(--ink); color: var(--chalk); font: 400 18px/1.5 'Space Grotesk', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
h1, h2, p { margin: 0; }
a { color: inherit; }
.lab { font-weight: 600; font-size: 16px; line-height: 1.2; color: var(--yellow); }

/* header: the title, and the seven dragons along the bottom edge */
.hero { position: relative; overflow: hidden; background: var(--ink); min-height: clamp(620px, 94vh, 1000px); display: flex; flex-direction: column; justify-content: space-between;
  padding-top: calc(40px + env(safe-area-inset-top, 0px)); }
.hero-in { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 18px; box-sizing: border-box; width: 100%; max-width: calc(1440px + 2 * var(--gutter)); margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.logo { width: 132px; height: auto; margin-bottom: 18px; }
.hero h1 { font: 400 clamp(76px, 12.5vw, 216px)/0.86 Anton, Impact, sans-serif; text-transform: uppercase; letter-spacing: -0.005em; text-wrap: balance; }
.hero .lead { font-size: clamp(18px, 1.7vw, 24px); line-height: 1.35; max-width: 34em; }
.hero .sub { color: var(--grey); font-size: 16px; font-weight: 500; }
.dragons { position: relative; flex: none; height: clamp(150px, 40vh, 440px); margin-top: 32px; display: flex; justify-content: center; align-items: flex-end; gap: 0.6vw; pointer-events: none; overflow: hidden; }
.dragons img { width: auto; flex: none; transform: translateY(9%); max-width: none; }

/* yellow band: how to present */
.howto { background: var(--yellow); color: var(--ink); }
.howto-in { max-width: calc(1440px + 2 * var(--gutter)); margin: 0 auto; padding-block: 22px; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 40px; }
.howto-t { font: 400 28px/1 Anton, Impact, sans-serif; text-transform: uppercase; }
.howto ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-weight: 600; font-size: 16px; }
.howto li { display: flex; align-items: center; gap: 6px; }
kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 30px; padding: 0 7px; background: var(--ink); color: var(--yellow);
  font: 600 15px/1 'Space Grotesk', Arial, sans-serif; }

/* the decks */
main { max-width: calc(1440px + 2 * var(--gutter)); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); padding-block: 24px 40px; }
.decks { list-style: none; margin: 0; padding: 0; }
.deck { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; padding-block: clamp(40px, 5.5vw, 80px); border-top: 1px solid var(--rule); }
.deck:first-child { border-top: 0; }
.thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--graphite); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.thumb:hover img, .thumb:focus-visible img { transform: scale(1.025); }
.thumb:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
.play { position: absolute; left: 0; bottom: 0; background: var(--yellow); color: var(--ink); font-weight: 600; font-size: 16px; padding: 12px 18px 12px 16px; display: flex; align-items: center; gap: 10px; }
.play::before { content: ""; width: 0; height: 0; border-left: 11px solid var(--ink); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.info { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.num { font: 400 30px/1 Anton, Impact, sans-serif; color: var(--yellow); }
.info h2 { font: 400 clamp(40px, 4.4vw, 64px)/0.92 Anton, Impact, sans-serif; text-transform: uppercase; text-wrap: balance; }
.aud { font-weight: 600; font-size: 17px; color: var(--yellow); }
.desc { font-size: 19px; line-height: 1.5; max-width: 34em; color: rgba(242, 240, 235, 0.88); }
.meta { font-size: 15px; color: var(--grey); font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.btn { appearance: none; display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 22px; border: 2px solid rgba(242, 240, 235, 0.32);
  background: transparent; color: var(--chalk); font: 600 16px/1 'Space Grotesk', Arial, sans-serif; text-decoration: none; cursor: pointer; }
.btn:hover { border-color: var(--chalk); }
.btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.btn.primary { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.btn.primary:hover { background: #FFC81F; border-color: #FFC81F; }
.strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.strip img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; opacity: 0.82; background: var(--graphite); }

/* jump links in the header */
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.jump a { font-weight: 600; font-size: 16px; text-decoration: none; padding: 10px 16px; border: 2px solid rgba(242, 240, 235, 0.32); }
.jump a:hover, .jump a:focus-visible { border-color: var(--yellow); color: var(--yellow); outline: none; }

/* partner offers: the vertical catalogue and its decks */
.offers-sec { border-top: 1px solid var(--rule); padding-block: clamp(40px, 5.5vw, 80px) 0; scroll-margin-top: 24px; }
.offers-head { display: flex; flex-direction: column; gap: 14px; max-width: 46em; }
.offers-head h2 { font: 400 clamp(44px, 6vw, 96px)/0.9 Anton, Impact, sans-serif; text-transform: uppercase; text-wrap: balance; }
.offers-head .lead { font-size: 19px; line-height: 1.5; color: rgba(242, 240, 235, 0.88); }
.offers-head.floor { padding-block: clamp(16px, 3vw, 40px) clamp(20px, 3vw, 36px); scroll-margin-top: 24px; }
.offers { list-style: none; margin: clamp(28px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 232px), 1fr)); gap: 48px 28px; }
.offer { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.offer .desc { flex: 1 1 auto; }
.offer .aud { min-height: 2.6em; }
.o-thumb { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; background: var(--graphite); margin-bottom: 8px; }
.o-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.o-thumb:hover img, .o-thumb:focus-visible img { transform: scale(1.025); }
.o-thumb:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
.offer h3 { margin: 0; font: 400 clamp(32px, 3vw, 44px)/0.95 Anton, Impact, sans-serif; text-transform: uppercase; }
.offer .desc { font-size: 17px; }
.offer .actions .btn { height: 44px; padding: 0 16px; font-size: 15px; }

footer { border-top: 1px solid var(--rule); }
.foot-in { max-width: calc(1440px + 2 * var(--gutter)); margin: 0 auto; padding-block: 48px calc(56px + env(safe-area-inset-bottom, 0px)); padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 64px; font-size: 16px; color: rgba(242, 240, 235, 0.8); }
.foot-in > div { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.contact { color: var(--chalk); font-weight: 600; overflow-wrap: anywhere; }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); background: var(--yellow); color: var(--ink);
  font-weight: 600; font-size: 16px; padding: 12px 20px; opacity: 0; pointer-events: none; transition: opacity 200ms ease, transform 200ms ease; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .deck { grid-template-columns: minmax(0, 1fr); }
  .strip { display: none; }
  .foot-in { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: 0; }
  .dragons { height: clamp(150px, 30vh, 300px); }
}
@media (max-width: 520px) {
  .logo { width: 104px; margin-bottom: 8px; }
  .dragons { height: 170px; gap: 0; }
  .howto-t { font-size: 24px; }
  .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) { .thumb img, .toast { transition: none; } }
