/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Figtree', system-ui, sans-serif;
  background: #F5F4EF;
  color: #111;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
input, select, button { font-family: inherit; }

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #ebebeb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 62px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #111;
  letter-spacing: 0.01em;
}
.nav-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
  filter: invert(1);
}
.nav-series {
  display: none;
}
.nav-cta {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: #111;
  padding: 9px 22px;
  border-radius: 4px;
  letter-spacing: 0.01em;
  transition: background 0.15s;
  white-space: nowrap;
}
.nav-cta:hover { background: #333; }

/* ── HERO ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 90vh;
  border-bottom: 1px solid #ebebeb;
}
.hero-img-wrap {
  overflow: hidden;
  position: relative;
  min-height: 400px;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.hero-text {
  padding: 72px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 22px;
}
h1 {
  font-size: clamp(30px, 3.2vw, 50px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #111;
  margin-bottom: 22px;
}
.hero-sub {
  font-size: 15px;
  line-height: 1.75;
  color: #666;
  margin-bottom: 28px;
  max-width: 400px;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #999;
  margin-bottom: 36px;
}
.hero-meta .sep { color: #ddd; }
.hero-btn {
  display: inline-block;
  align-self: flex-start;
  padding: 14px 32px;
  background: #111;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  letter-spacing: 0.01em;
  transition: background 0.15s;
}
.hero-btn:hover { background: #333; }

/* ── SPEAKERS ── */
.speakers-section {
  padding: 88px 40px;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid #ebebeb;
}
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 40px;
}
.speakers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.speaker-card {
  border: 1px solid #ebebeb;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}
.speaker-card:hover {
  box-shadow: 0 6px 28px rgba(0,0,0,0.07);
}

/* Portrait photo */
.speaker-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #f5f5f5;
  overflow: hidden;
}
.speaker-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.speaker-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.sp-a { background: #f0f3f1; }
.sp-b { background: #f3f1ee; }
.speaker-photo-placeholder > span {
  font-size: 60px;
  font-weight: 900;
  color: #d0d0d0;
  letter-spacing: -0.03em;
}
.photo-hint {
  font-size: 11px;
  color: #c0c0c0;
  letter-spacing: 0.03em;
}

.speaker-info {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
}
.speaker-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 10px;
}
.speaker-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: #111;
  margin-bottom: 3px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.speaker-role {
  font-size: 13px;
  color: #999;
  margin-bottom: 16px;
  font-weight: 400;
}
.speaker-bio {
  font-size: 14px;
  line-height: 1.75;
  color: #666;
}

/* ── REGISTER ── */
.register-section {
  background: #fafafa;
  border-top: 1px solid #ebebeb;
}
.register-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  max-width: 1200px;
  margin: 0 auto;
}
.register-left {
  padding: 80px 48px 80px 40px;
  border-right: 1px solid #ebebeb;
  position: sticky;
  top: 62px;
  height: calc(100vh - 62px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.register-left h2 {
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #111;
}
.event-details {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #e0e0e0;
}
.detail-row {
  display: flex;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid #e0e0e0;
  font-size: 13px;
  line-height: 1.55;
  align-items: baseline;
}
.dl {
  width: 72px;
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #bbb;
  padding-top: 2px;
}
.partner-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.partner-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #bbb;
}
.partner-logo {
  height: 30px;
  width: auto;
  object-fit: contain;
  
  opacity: 1;
}

.register-right {
  padding: 80px 40px 80px 48px;
  background: #fff;
}

/* ── FORM ── */
form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 500px;
}
.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #999;
}
.req { color: #ccc; }
input, select {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 12px 14px;
  font-size: 14px;
  color: #111;
  outline: none;
  width: 100%;
  transition: border-color 0.15s;
  font-family: 'Figtree', system-ui, sans-serif;
}
input::placeholder { color: #ccc; }
input:focus, select:focus { border-color: #111; }
input.err, select.err { border-color: #d08080; }
select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23bbb' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.checks {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}
.ck {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  color: #555;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  transition: border-color 0.15s;
  user-select: none;
}
.ck:hover { border-color: #111; color: #111; }
.ck input[type=checkbox] {
  accent-color: #111;
  width: 14px; height: 14px;
  flex-shrink: 0;
  border: none; background: transparent; padding: 0;
}

.radios { display: flex; gap: 10px; flex-wrap: wrap; }
.rd {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  color: #555;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  transition: border-color 0.15s;
  user-select: none;
}
.rd:hover { border-color: #111; color: #111; }
.rd input[type=radio] {
  accent-color: #111;
  width: 14px; height: 14px;
  flex-shrink: 0;
  border: none; background: transparent; padding: 0;
}

.form-msg {
  display: none;
  padding: 13px 16px;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 500;
}
.form-msg.ok  { display: block; background: #f0faf4; border: 1px solid #b5ddc5; color: #256b40; }
.form-msg.bad { display: block; background: #fdf3f3; border: 1px solid #e0bbbb; color: #8b3333; }

button[type=submit] {
  width: 100%;
  padding: 15px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.15s;
  font-family: 'Figtree', system-ui, sans-serif;
}
button[type=submit]:hover { background: #333; }
button[type=submit]:disabled { opacity: 0.5; cursor: not-allowed; }

.note {
  text-align: center;
  font-size: 11px;
  color: #bbb;
  letter-spacing: 0.03em;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid #ebebeb;
  padding: 28px 40px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-logo {
  height: 22px;
  width: auto;
  object-fit: contain;
  opacity: 0.6;
  filter: invert(1);
}
footer p {
  font-size: 12px;
  color: #bbb;
  flex: 1;
  min-width: 160px;
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  font-size: 12px;
  color: #bbb;
  transition: color 0.15s;
}
.footer-links a:hover { color: #111; }

/* ── RESPONSIVE ── */

/* Tablet */
@media (max-width: 1024px) {
  .register-inner { grid-template-columns: 1fr; }
  .register-left {
    position: static;
    height: auto;
    padding: 56px 40px 40px;
    border-right: none;
    border-bottom: 1px solid #ebebeb;
  }
  .register-right { padding: 40px; }
  form { max-width: 100%; }
}

/* Mobile */
@media (max-width: 768px) {
  nav { padding: 0 20px; height: 56px; }
  .nav-series { display: none; }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-img-wrap {
    height: 56vw;
    min-height: 240px;
    max-height: 380px;
  }
  .hero-text {
    padding: 40px 20px 48px;
  }
  .hero-sub { max-width: 100%; }
  .hero-btn { align-self: stretch; text-align: center; }

  .speakers-section { padding: 56px 20px; }
  .speakers-grid { grid-template-columns: 1fr; gap: 20px; }

  /* Landscape speaker card on mobile */
  .speaker-card { flex-direction: row; align-items: stretch; }
  .speaker-photo-wrap {
    width: 130px;
    min-width: 130px;
    aspect-ratio: unset;
  }
  .speaker-photo-placeholder > span { font-size: 32px; }
  .photo-hint { display: none; }
  .speaker-info { padding: 20px 20px 24px; }
  .speaker-card h3 { font-size: 18px; }
  .speaker-bio { font-size: 13px; }

  .register-left { padding: 48px 20px 36px; }
  .register-right { padding: 36px 20px 56px; }

  .row-2 { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr 1fr; }

  footer { padding: 24px 20px; }
  .footer-inner { gap: 12px; }
}

/* Small mobile */
@media (max-width: 420px) {
  h1 { font-size: 26px; }
  .checks { grid-template-columns: 1fr; }

  /* Full portrait on very small screens */
  .speaker-card { flex-direction: column; }
  .speaker-photo-wrap {
    width: 100%;
    min-width: unset;
    aspect-ratio: 4 / 3;
  }
  .speaker-photo-placeholder > span { font-size: 52px; }
  .speaker-info { padding: 20px 20px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
