@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/static/fonts/manrope-latin-wght-normal.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: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/static/fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --red: #d0101b;
  --red-dark: #a80c15;
  --ink: #161616;
  --text: #4a4a4a;
  --muted: #5c5c5c;
  --line: #e4e4e4;
  --grey-bg: #f4f4f4;
  --container: 1180px;
  --gutter: 24px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 700; letter-spacing: -0.03em; line-height: 1.12; }
p { margin: 0 0 1.1em; }

a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.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;
}

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 10;
  background: var(--ink); color: #fff; padding: 8px 14px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* Header */
.site-header { background: #fff; }
.page-about .site-header, .page-privacy .site-header { border-bottom: 3px solid var(--red); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 108px; padding-block: 18px; }
.brand { margin-left: 28px; }
.brand img { height: 68px; width: auto; }
.site-nav { display: flex; gap: 30px; }
.site-nav a { font-size: 15px; font-weight: 600; text-decoration: none; padding-block: 4px; border-bottom: 2px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--ink); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--red); }

/* Shared bits */
.eyebrow { color: var(--red-dark); font-size: 14px; font-weight: 700; margin-bottom: 14px; letter-spacing: 0; }
.muted { color: var(--muted); }
.text-link { color: var(--red-dark); text-underline-offset: 3px; }
.text-link:hover { color: var(--ink); }
.emphasis { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.narrow { max-width: 30rem; }

.link-red, .link-light {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1.5px;
}
.link-red { color: var(--red-dark); }
.link-red:hover { color: var(--ink); }
.link-light { color: #fff; }
.link-light:hover { text-decoration-color: var(--red); }

.section { padding-block: 56px 64px; }
.section-grey { background: var(--grey-bg); border-top: 1px solid var(--line); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 72px; align-items: start; }

h2 { font-size: 32px; margin-bottom: 18px; }
.h2-large { font-size: 34px; line-height: 1.2; }

/* Hero */
.hero { position: relative; color: #fff; background: #222; overflow: hidden; isolation: isolate; }
.hero-img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: center 60%;
  filter: grayscale(1) contrast(1.05);
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-img.is-active { opacity: 1; }
.hero-img[src*="/panorama.jpg"] { object-position: center 20%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.42) 55%, rgba(0,0,0,.25) 100%);
}
.hero-inner { position: relative; min-height: 400px; display: flex; align-items: center; padding-block: 72px 64px; }
.hero-caption {
  position: absolute; top: 0; right: var(--gutter); margin: 0;
  background: rgba(0,0,0,.82); color: #fff; font-size: 13px; font-weight: 500; padding: 4px 9px;
  display: flex; align-items: center; gap: 8px;
}
.hero-toggle {
  display: grid; place-items: center; width: 20px; height: 20px; padding: 0; margin-right: -4px;
  background: none; border: 0; border-radius: 2px; color: #fff; cursor: pointer;
}
.hero-toggle[hidden] { display: none; }
.hero-toggle:hover { background: rgba(255,255,255,.18); }
.hero-toggle svg { fill: currentColor; }
.hero-toggle .icon-play, .hero-toggle.is-paused .icon-pause { display: none; }
.hero-toggle.is-paused .icon-play { display: block; }
.hero h1 { color: #fff; font-size: clamp(44px, 6vw, 72px); letter-spacing: -0.035em; margin-bottom: 26px; }
.hero-lead { max-width: 37rem; font-size: 19px; line-height: 1.6; color: rgba(255,255,255,.92); margin-bottom: 38px; }

.facts { background: rgba(10,10,10,.82); border-top: 1px solid rgba(255,255,255,.08); }
.facts-inner { list-style: none; margin-block: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.fact { display: flex; align-items: center; gap: 16px; padding: 20px 0 20px 24px; border-left: 1px solid rgba(255,255,255,.28); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact svg { flex: none; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fact-label { display: block; font-size: 13px; color: rgba(255,255,255,.85); line-height: 1.4; }
.fact-value { display: block; font-size: 17px; font-weight: 700; line-height: 1.4; }

/* Signup */
.signup-section .two-col { grid-template-columns: 1fr 1fr; }
.signup { padding-top: 22px; }
.signup-form label { display: block; font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.signup-row { display: flex; gap: 10px; }
.signup-row input {
  flex: 1; min-width: 0; height: 52px; padding: 0 14px;
  font: inherit; font-size: 17px; color: var(--ink);
  border: 1px solid #9a9a9a; border-radius: 3px; background: #fff;
}
.signup-row input::placeholder { color: #8a8a8a; }
.signup-row input:focus { border-color: var(--ink); outline: 3px solid rgba(208,16,27,.25); outline-offset: 0; }
.signup-row input[aria-invalid="true"] { border-color: var(--red); }
.signup-row button {
  height: 52px; padding: 0 20px;
  font: inherit; font-size: 16px; font-weight: 700; color: #fff;
  background: var(--red); border: 0; border-radius: 3px; cursor: pointer; white-space: nowrap;
}
.signup-row button:hover { background: var(--red-dark); }
.signup-row button:disabled { opacity: .7; cursor: progress; }
.signup-error { color: var(--red-dark); font-size: 15px; font-weight: 600; margin: 10px 0 0; }
.signup-success { border-left: 3px solid var(--red); padding: 6px 0 6px 18px; }
.signup-success p { margin: 0; color: var(--muted); }
.signup-success .signup-success-title { color: var(--ink); font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.signup-note { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 18px 0 0; }
.signup-note a { text-underline-offset: 3px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.sponsors { text-align: center; }
.sponsors .muted { font-size: 17px; margin: 0; }
.sponsors a { color: var(--red-dark); font-weight: 600; text-underline-offset: 3px; }

/* Intro band (about / privacy) */
.intro { background: var(--grey-bg); padding-block: 48px 50px; }
.intro h1 { font-size: clamp(38px, 4.5vw, 56px); letter-spacing: -0.035em; margin-bottom: 26px; }
.intro-lead { font-size: 19px; color: var(--text); margin: 0; }

/* About */
.about-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 96px; }
.about-cols h2 { font-size: 30px; margin-bottom: 26px; }
.about-cols p { line-height: 1.8; }
.callout { border-left: 3px solid var(--red); padding: 4px 0 4px 18px; color: var(--text); }

.team { border-top: 1px solid var(--line); }
.team-heading { color: var(--red); font-size: 34px; margin-bottom: 48px; text-align: center; }
.team-grid {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 24px;
}
.team-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  flex: 0 1 216px; min-width: 200px; min-height: 318px; padding: 24px 16px 22px;
  border: 1px solid var(--red); border-radius: 3px; background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.avatar { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-bottom: 26px; flex: none; }
.avatar-placeholder { background: #efefef; display: grid; place-items: center; }
.avatar-placeholder svg { fill: none; stroke: #6b6b6b; stroke-width: 1.4; stroke-linecap: round; }
.team-name { color: var(--red); font-size: 16px; font-weight: 700; margin-bottom: 18px; }
.team-role { color: var(--muted); font-size: 16px; line-height: 1.5; margin: 0; }
.team-linkedin { margin-top: auto; padding-top: 22px; color: #ec7a80; }
.team-linkedin:hover { color: var(--red); }
.team-linkedin svg { fill: currentColor; }

/* Privacy */
.prose { max-width: calc(860px + 2 * var(--gutter)); }
.prose .updated { font-size: 14px; color: var(--muted); margin-bottom: 36px; }
.prose h2 { font-size: 24px; letter-spacing: -0.02em; margin: 40px 0 18px; }
.prose h2:first-of-type { margin-top: 0; }
.prose p { color: var(--text); line-height: 1.8; }
.prose p a { text-underline-offset: 3px; }
.prose .back { margin-top: 48px; }

/* Footer */
.site-footer { background: var(--ink); color: #fff; padding-block: 40px 30px; font-size: 14px; }
.site-footer hr { border: 0; border-top: 1px solid rgba(255,255,255,.22); margin: 26px 0 22px; }
.site-footer p { margin: 0; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.socials { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.socials a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #fff; transition: background-color .15s, color .15s; }
.socials a:hover { background: var(--red); }
.socials svg { fill: currentColor; }
.credits summary { cursor: pointer; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; width: max-content; }
.credits[open] summary { margin-bottom: 12px; }
.credits p, .credits li { font-size: 13px; color: rgba(255,255,255,.8); }
.credits ul { margin: 8px 0 0; padding-left: 18px; }
.credits a { color: #fff; text-underline-offset: 3px; }

/* Responsive */
@media (max-width: 860px) {
  .two-col, .signup-section .two-col, .about-cols { grid-template-columns: 1fr; }
  .signup { padding-top: 0; }
  .facts-inner { grid-template-columns: 1fr; }
  .fact, .fact:first-child { border-left: 0; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.18); }
  .fact:first-child { border-top: 0; }
}
@media (max-width: 520px) {
  :root { --gutter: 18px; }
  .brand { margin-left: 0; }
  .brand img { height: 52px; }
  .header-inner { min-height: 84px; }
  .hero-inner { min-height: 340px; padding-block: 64px 48px; }
  .hero-lead { font-size: 17px; }
  .signup-row { flex-direction: column; }
  h2, .h2-large, .team-heading { font-size: 28px; }
}

@media (prefers-reduced-motion: no-preference) {
  .signup-success { animation: fade-in .3s ease-out; }
  @keyframes fade-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
}
