/* TCF brand: Deep Teal, Foundation Gold, Nanum Myeongjo, Afacad Flux. */

:root {
  --teal: #0B4168;
  --gold: #867E33;
  --ink: #1E2A32;
  --body: #5A646C;
  --muted: #98A1A8;
  --border: #E6E9EB;
  --serif: "Nanum Myeongjo", serif;
  --sans: "Afacad Flux", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
  color: var(--body);
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(134, 126, 51, 0.3); }

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero */

.hero {
  background: linear-gradient(155deg, #0E3E63 0%, #0A3050 55%, #072238 100%);
  padding: 72px 0 88px;
}

.logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 96px;
}

.logo-tcf {
  display: block;
  width: 250px;
  opacity: 0.95;
}

.logo-rh {
  display: block;
  width: 170px;
  opacity: 0.95;
}

.logo-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.3);
}

.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero .eyebrow { color: #B5AC5C; }

h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 46px;
  line-height: 1.25;
  color: #FFFFFF;
}

.hero-lede {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 20px;
  max-width: 520px;
}

.rule {
  width: 44px;
  height: 1px;
  background: var(--gold);
  margin: 36px 0;
}

/* Sections */

main section.wrap { padding-top: 88px; }

h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.35;
  color: var(--teal);
}

h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 21px;
  color: var(--teal);
}

.lede {
  margin-top: 16px;
  max-width: 600px;
}

.lede a {
  color: var(--teal);
  text-underline-offset: 3px;
}

.footnote {
  margin-top: 28px;
  font-size: 16px;
  color: var(--body);
}

/* Event facts */

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.facts dt {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  color: var(--muted);
  margin-bottom: 8px;
}

.facts dd {
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
}

/* Themes */

.themes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 48px;
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}

.theme-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 12px;
  vertical-align: middle;
  border-radius: 50%;
  background: var(--gold);
}

.themes-more {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.themes-more .lede {
  margin-bottom: 24px;
}

.theme p,
.bio p {
  font-size: 16px;
  margin-top: 8px;
}

/* Panelists and moderator */

.faces {
  display: grid;
  gap: 36px;
  margin-top: 16px;
}

.face {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.face img {
  flex-shrink: 0;
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
}

.face img.face-img-top {
  object-position: 50% 0;
}

.face p {
  font-size: 16px;
  margin-top: 8px;
}

.face-title {
  color: var(--ink);
}

.bios {
  display: grid;
  gap: 28px;
  margin-top: 8px;
}

/* People */

.people {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-top: 48px;
}

.person img {
  display: block;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}

.role {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--gold);
  margin-top: 6px;
}

.person p {
  font-size: 16px;
  margin-top: 12px;
}

/* Topics */

.topics {
  display: grid;
  gap: 12px;
  margin-top: 36px;
}

.topic {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
  padding: 20px 22px;
  text-align: left;
  font-family: inherit;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, opacity 0.15s;
}

.topic:hover { border-color: var(--muted); }

.topic:focus-visible,
.button:focus-visible,
.field input:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.dot,
.slot-number {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--muted);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 15px;
  color: #FFFFFF;
}

.topic-text { display: block; }

.topic-title {
  display: block;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.4;
  color: var(--teal);
}

.topic-line {
  display: block;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--body);
  margin-top: 4px;
}

.topic[aria-pressed="true"] {
  border-color: var(--teal);
  background: #F4F8FA;
}

.topic[aria-pressed="true"] .dot,
.slot.filled .slot-number {
  border-color: var(--teal);
  background: var(--teal);
}

.topic:disabled {
  opacity: 0.45;
  cursor: default;
}

.topic:disabled:hover { border-color: var(--border); }

/* Ranking */

.ranking { margin-top: 44px; }

.slots {
  display: grid;
  gap: 10px;
  list-style: none;
}

.slot {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 62px;
  padding: 12px 14px 12px 18px;
  border: 1px dashed var(--faded, #C9D2D8);
  border-radius: 10px;
}

.slot .slot-number { color: var(--muted); }

.slot.filled {
  border: 1px solid var(--teal);
  background: #F4F8FA;
}

.slot.filled .slot-number { color: #FFFFFF; }

.slot.moved { animation: settle 0.3s ease-out; }

@keyframes settle {
  from { transform: scale(0.98); background: #E6EEF3; }
  to { transform: scale(1); background: #F4F8FA; }
}

.slot-title {
  flex: 1;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.4;
  color: var(--teal);
}

.slot-empty {
  flex: 1;
  font-size: 16px;
  color: var(--muted);
}

.slot-controls {
  display: flex;
  gap: 6px;
}

.slot-button {
  width: 36px;
  height: 36px;
  font-family: inherit;
  font-size: 17px;
  line-height: 1;
  color: var(--teal);
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}

.slot-button:hover { border-color: var(--teal); }

.slot-button:disabled {
  opacity: 0.3;
  cursor: default;
}

.slot-button:disabled:hover { border-color: var(--border); }

.slot-button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Fields */

.field {
  display: block;
  margin-top: 32px;
}

.field-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  color: var(--muted);
  margin-bottom: 10px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 300;
  color: var(--ink);
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 8px;
  resize: vertical;
}

.field ::placeholder { color: var(--muted); }

/* Pills: one choice per group */

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  padding: 10px 16px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 300;
  color: var(--ink);
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.pill:hover { border-color: var(--muted); }

.pill:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.pill[aria-pressed="true"] {
  color: #FFFFFF;
  background: var(--teal);
  border-color: var(--teal);
}

/* Hidden field that only bots fill in. */
.trap {
  position: absolute;
  left: -9999px;
}

/* Buttons */

.button {
  display: inline-block;
  padding: 14px 30px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #FFFFFF;
  background: var(--teal);
  border: 1px solid var(--teal);
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
}

.button-icon {
  margin-left: 10px;
  vertical-align: -3px;
}

.button:disabled {
  opacity: 0.4;
  cursor: default;
}

.button-light {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

.submit-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 36px;
}

.status {
  font-size: 16px;
  color: var(--muted);
}

.status.error { color: #B91C1C; }

.thanks { padding-top: 8px; }

/* Footer */

.foot {
  margin-top: 112px;
  padding: 36px 24px 44px;
  text-align: center;
  border-top: 1px solid var(--border);
}

.foot a {
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--muted);
  text-decoration: none;
}

/* Phone */

@media (max-width: 640px) {
  .hero { padding: 48px 0 64px; }
  .logos { gap: 20px; margin-bottom: 56px; }
  .logo-tcf { width: 210px; }
  .logo-rh { width: 140px; }
  .logo-divider { display: none; }
  .themes { grid-template-columns: 1fr; gap: 28px; }
  .faces { grid-template-columns: 1fr; gap: 36px; }
  h1 { font-size: 34px; }
  h2 { font-size: 25px; }
  .hero-lede { font-size: 18px; }
  main section.wrap { padding-top: 64px; }
  .facts { grid-template-columns: 1fr; gap: 22px; }
  .people { grid-template-columns: 1fr; gap: 40px; }
  .topic { padding: 18px; gap: 14px; }
  .slot { gap: 12px; padding: 10px 10px 10px 14px; }
  .slot-title { font-size: 16px; }
  .slot-button { width: 34px; height: 34px; }
}
