/* Açılış, sağlanan masaüstü ve mobil maketlerin kompozisyonunu izler. */
.hero {
  display: block;
  height: 100svh;
  min-height: 530px;
  background: linear-gradient(90deg, var(--cream) 0 50%, var(--rust) 50% 100%);
  overflow: hidden;
}

.hero-top { display: contents; }

.language-switch {
  position: absolute;
  z-index: 10;
  top: clamp(16px, 2.2vw, 28px);
  right: clamp(18px, 2.6vw, 38px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 15px 7px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--cream);
  font-size: .76rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .09em;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}
.language-switch:hover {
  color: var(--ink);
  background: var(--acid);
  transform: translateY(-2px);
}
.language-switch:focus-visible { outline: 2px solid var(--acid); outline-offset: 4px; }

.hero-art {
  position: absolute;
  inset: 0 auto auto 0;
  width: 50%;
  height: 80%;
  display: block;
  overflow: hidden;
}

.hero-art img {
  display: block;
  width: 122%;
  max-width: none;
  height: auto;
  transform: translateX(-10%);
}

.hero-program {
  position: absolute;
  left: calc(50% + clamp(36px, 4.5vw, 70px));
  top: 19%;
  width: calc(50% - clamp(72px, 9vw, 140px));
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 3vw, 42px);
  align-items: start;
  border: 0;
  color: var(--cream);
  font-weight: 400;
}

.summary-column {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2vh, 22px);
  min-width: 0;
}

.summary-column + .summary-column {
  border-left: 2px solid var(--acid);
  padding-left: clamp(18px, 3vw, 42px);
}

.summary-item { padding: 0; }
.summary-item time {
  display: block;
  color: var(--acid);
  font-size: clamp(.75rem, .95vw, .88rem);
  font-weight: 700;
  line-height: 1.08;
}
.summary-item span {
  display: block;
  margin-top: 2px;
  font-size: clamp(.9rem, 1.2vw, 1.12rem);
  font-weight: 400;
  line-height: 1.12;
}
.summary-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.summary-link:hover span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.summary-link:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.session { scroll-margin-top: 28px; }
.session h2 {
  text-transform: none;
  font-weight: 700;
  line-height: 1.08;
}
.session-kicker {
  display: block;
  margin-bottom: 5px;
  font-variant-caps: all-small-caps;
  text-transform: lowercase;
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: .035em;
  line-height: 1;
}
.session:has(+ .session.break) { border-bottom: 0; }
.session.break { border-top: 1px solid rgba(38, 22, 16, .45); }
.people {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  margin-top: 18px;
}
.speaker-group { margin-top: 18px; }
.speaker-group .people { margin-top: 0; }
.speaker-group--moderator .people { grid-template-columns: 1fr; }
.moderator-mobile { display: none; }
.session-heading .speaker-group { margin-top: 26px; }
.speaker-label {
  margin-bottom: 8px;
  color: var(--rust);
  font-variant-caps: all-small-caps;
  text-transform: lowercase;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .035em;
}
.person {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  border-bottom: 0;
  line-height: 1.18;
}
.person-name { border-bottom: 1px solid var(--rust); }
.person-affiliation,
.person-detail {
  margin-top: 3px;
  color: var(--rust);
  font-size: .78rem;
  font-weight: 400;
  line-height: 1.2;
}
.person-detail { margin-top: 1px; }
.person-pending { font-size: .95rem; }
.bio-dialog { max-height: calc(100svh - 34px); overflow: auto; }
.bio-media {
  position: relative;
  min-height: 390px;
  margin: 0;
  overflow: hidden;
  background: var(--cream);
}
.bio-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  opacity: 1;
}
.bio-dialog.is-loading .bio-media img { opacity: 0; }
.bio-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  display: none;
  width: 42px;
  height: 42px;
  margin: -21px 0 0 -21px;
  border: 4px solid rgba(188, 92, 40, .2);
  border-top-color: var(--rust);
  border-radius: 50%;
  animation: bio-loading .75s linear infinite;
}
.bio-dialog.is-loading .bio-loader { display: block; }
@keyframes bio-loading { to { transform: rotate(360deg); } }
.bio-content h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.02;
  letter-spacing: -.035em;
  text-transform: none;
}
.bio-role {
  margin-bottom: 20px;
  color: var(--rust);
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}
.bio-role span { display: block; }
.bio-content #bio-text { margin: 0; font-size: 1rem; line-height: 1.43; }
.bio-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--rust);
  font-size: .96rem;
  font-weight: 600;
  line-height: 1.35;
  text-underline-offset: 3px;
}
.bio-link[hidden] { display: none; }
@media (min-width: 721px) {
  .program-section { padding-top: clamp(32px, 4vw, 60px); }
}
.section-intro img {
  display: block;
  width: 100%;
  max-width: 1080px;
  height: auto;
  margin-inline: auto;
}
.section-intro .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.summary-kicker {
  display: block;
  font-variant-caps: all-small-caps;
  text-transform: lowercase;
  font-size: 1.16em;
  font-weight: 500;
  letter-spacing: .035em;
  line-height: 1;
}

.partners {
  position: absolute;
  left: 5%;
  bottom: 9%;
  width: 40%;
  height: auto;
  min-height: 44px;
  display: flex;
  justify-content: space-between;
  gap: clamp(10px, 1.5vw, 22px);
  padding: 0;
  background: transparent;
}
.partners a { min-width: 0; }
.partners img {
  width: 100%;
  max-width: 130px;
  height: 36px;
  object-fit: contain;
}

.scroll-cue {
  position: absolute;
  bottom: 2.5%;
  left: calc(50% - 24px);
  width: 48px;
  height: 48px;
  color: var(--ink);
  background: transparent;
}
.scroll-cue svg { display: block; }

@media (max-width: 720px) {
  .language-switch {
    top: 13px;
    right: auto;
    left: 14px;
    min-height: 32px;
    padding: 7px 12px 6px;
    color: var(--ink);
    background: color-mix(in srgb, var(--cream) 90%, transparent);
    font-size: .68rem;
  }
  .program-section { padding-top: 30px; }
  .people { grid-template-columns: 1fr; gap: 12px; }
  .moderator-desktop { display: none; }
  .moderator-mobile { display: block; }
  .bio-content h2 { font-size: clamp(1.7rem, 6vw, 2.1rem); }
  .bio-media,
  .bio-media img {
    height: 260px;
    min-height: 0;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100svh;
    background: var(--cream);
  }

  .hero::after {
    content: '';
    position: absolute;
    z-index: 0;
    left: 50%;
    bottom: 0;
    width: 140%;
    height: 9%;
    transform: translateX(-50%);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    background: var(--acid);
    pointer-events: none;
  }

  .hero-art {
    position: relative;
    order: 1;
    inset: auto;
    flex: none;
    width: 100%;
    height: auto;
    aspect-ratio: 1080 / 746.2725;
    min-height: 0;
    overflow: hidden;
  }
  .hero-art img {
    width: 100%;
    transform: none;
    margin: 0;
  }

  .partners {
    position: relative;
    order: 2;
    inset: auto;
    flex: none;
    width: 100%;
    height: 8.5%;
    min-height: 75px;
    justify-content: center;
    align-items: center;
    gap: clamp(12px, 3.5vw, 24px);
    padding: 0 clamp(20px, 8vw, 52px);
    background: var(--cream);
  }
  .partners a { flex: 1 1 0; }
  .partners img { max-width: 110px; height: 36px; }
  .partners a:first-child { flex: 1.55 1 0; }
  .partners a:first-child img { max-width: 140px; }

  .hero-program {
    position: relative;
    order: 3;
    inset: auto;
    flex: none;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 20px clamp(36px, 8.8vw, 60px) 0;
    color: var(--ink);
    background: transparent;
  }
  .summary-column { gap: clamp(10px, 1.4vh, 16px); }
  .summary-column + .summary-column {
    border-left-color: var(--ink);
    padding-left: clamp(22px, 6.5vw, 42px);
  }
  .summary-item time {
    color: var(--rust);
    font-size: clamp(.77rem, 3vw, .94rem);
    font-weight: 700;
  }
  .summary-item span {
    font-size: clamp(.94rem, 3.2vw, 1.03rem);
    font-weight: 400;
    line-height: 1.06;
  }
  .scroll-cue {
    z-index: 1;
    bottom: 1%;
    left: calc(50% - 24px);
    margin: 0;
    background: transparent;
  }
}

@media (max-width: 720px) and (max-height: 760px) {
  .hero-art {
    height: 34svh;
    aspect-ratio: auto;
  }
  .hero-art img {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    transform: none;
  }
  .partners {
    height: 8.5%;
    min-height: 46px;
    gap: 10px;
    padding-inline: 22px;
  }
  .partners img { height: 25px; }
  .hero-program {
    padding: 5px 28px 0;
  }
  .summary-column { gap: 5px; }
  .summary-column + .summary-column { padding-left: 16px; }
  .summary-item time { font-size: .7rem; }
  .summary-item span {
    font-size: .76rem;
    line-height: 1.06;
  }
  .hero::after { height: 8%; }
  .scroll-cue svg { width: 27px; height: 36px; }
}

@media (max-width: 720px) and (min-height: 601px) and (max-height: 760px) {
  .hero-art { height: 35svh; }
  .hero-program { padding-top: 10px; }
  .summary-column { gap: 8px; }
  .summary-item time { font-size: .73rem; }
  .summary-item span { font-size: .8rem; }
}

@media (max-width: 720px) and (max-height: 600px) {
  .hero-program { padding-top: 4px; }
  .summary-column { gap: 4.5px; }
}

@media (max-width: 360px) {
  .section-intro { margin-bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue { animation: none; }
}
