/* Public entry shell only. Full portfolio styling is authenticated separately. */
.site-gate { margin: 0; min-height: 100svh; background: #f7f7f5; color: #202023; font: 17px/1.55 "roc-grotesk-variable", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.site-gate *, .site-gate *::before, .site-gate *::after { box-sizing: border-box; }
.site-gate a { color: inherit; text-decoration: none; }
.site-gate :focus-visible { outline: 3px solid #5948e8; outline-offset: 4px; border-radius: 4px; }
.site-gate .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.site-gate .skip-link { position: fixed; z-index: 100; top: 10px; left: 12px; padding: 10px 14px; background: #202023; color: #fff; border-radius: 8px; transform: translateY(-150%); }
.site-gate .skip-link:focus { transform: none; }
.site-gate .shell { width: min(calc(100% - clamp(25px, 5vw, 72px) * 2), 1240px); margin-inline: auto; }
.site-gate .site-header { position: absolute; inset: 0 0 auto; z-index: 20; height: 76px; background: #f7f7f5; }
.site-gate .header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-gate .brand { min-height: 44px; display: flex; align-items: center; font-size: 18.2px; font-weight: 700; letter-spacing: -.01em; }
.site-gate .nav { display: flex; align-items: center; gap: 8px; font-size: 18.2px; color: #5f6068; }
.site-gate .nav a { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 10px; }
.site-gate .nav a:hover, .site-gate .brand:hover { color: #202023; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.site-gate .nav-talks-short { display: none; }
.gate-nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; color: #202023; cursor: pointer; }
.gate-nav-toggle span { display: block; width: 24px; height: 2px; margin: 4px 0; border-radius: 2px; background: currentColor; }
.gate-main { min-height: 100svh; min-height: 100dvh; padding: 76px 24px 0; display: grid; place-items: center; }
.site-gate .access-form { width: min(100%, 440px); margin: 0; animation: gate-arrive .55s cubic-bezier(.22, 1, .36, 1) both; }
.site-gate .access-form label { display: block; margin-bottom: 12px; font-size: 15px; font-weight: 400; color: #5f6068; }
.access-entry-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; align-items: stretch; }
.access-entry-row input { display: block; width: 100%; min-width: 0; min-height: 52px; padding: 12px 14px; border: 1px solid #aaa5b0; border-radius: 6px; background: #fff; color: #202023; font: inherit; font-size: 18px; transition: border-color .25s, box-shadow .25s; }
.access-entry-row input:focus { border-color: #665776; box-shadow: 0 4px 22px #4c3d6810; }
.access-entry-row input[aria-invalid="true"] { border-color: #a53c43; }
.access-submit { min-width: 100px; min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 17px; border: 1px solid #302a38; border-radius: 6px; background: #302a38; color: #fff; font: inherit; font-size: 19.5px; cursor: pointer; transition: background .2s, transform .2s; }
.access-submit:hover { background: #453950; transform: translateY(-1px); }
.access-submit:disabled { cursor: wait; opacity: .75; }
.access-status { min-height: 22px; margin: 10px 0 0; font-size: 13px; line-height: 1.45; color: #9d343c; }
.access-form.is-success .access-status { color: #386850; }
@keyframes gate-arrive { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.is-session-checking main { visibility: hidden; opacity: 0; pointer-events: none; }
@media (max-width: 800px) {
  .site-gate .site-header { height: 64px; }
  .gate-main { padding-top: 64px; }
  .gate-nav-toggle { display: block; }
  .site-gate .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 14px 25px 22px; background: #f7f7f5; flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid #20202318; }
  .site-gate .site-header.is-menu-open .nav { display: flex; }
  .site-gate .nav a { padding-inline: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .site-gate .access-form { animation: none; }
  .access-entry-row input, .access-submit { transition: none; }
}
