/* Speakers page — Figma speakers_pc (3:669) / speakers_sp (3:730) */

.section {
  padding: var(--section-pad-y) var(--section-pad-x);
}

.section__eyebrow {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 8px;
}

.section__title {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.11;
  margin: 0 0 16px;
  text-align: center;
  color: var(--color-heading);
}

.section__lead {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-body);
  text-align: center;
  max-width: 768px;
  margin: 0 auto;
}

.section__header {
  text-align: center;
  margin-bottom: 40px;
}

/* Hero — partner / attend と同仕様 */
.speakers-hero {
  position: relative;
  display: flex;
  align-items: center;
  height: 340px;
  padding: 0 var(--section-pad-x);
  border-bottom: 1px solid rgba(31, 41, 55, 0.12);
  background:
    linear-gradient(rgba(0, 27, 38, 0.8), rgba(0, 27, 38, 0.8)),
    url("../img/184.webp") center / cover no-repeat;
  color: var(--color-white);
}

.speakers-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  max-width: 1100px;
}

.speakers-hero__badge {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 6px 16px;
  background: rgba(234, 122, 19, 0.1);
  border: 1px solid rgba(234, 122, 19, 0.3);
  border-radius: 4px;
  backdrop-filter: blur(12px);
}

.speakers-hero__badge-label {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 800;
  line-height: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.speakers-hero__badge-label::before {
  content: "⚫︎";
  margin-right: 4px;
  color: var(--color-accent);
}

.speakers-hero__title {
  margin: 0;
  padding-top: 8px;
  font-size: clamp(20px, 4vw, 40px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.0503em;
}

.speakers-hero__lead {
  margin: 0;
  padding-top: 8px;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 720px;
}

/* Speakers grid */
.section--speakers-grid {
  background: #F6F7F8;
}

.section--speakers-grid .container {
  max-width: 940px;
  padding: 0;
}

.speakers-grid-wrap {
  position: relative;
  padding-top: 28px;
}

.speakers-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.speaker-tile {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 6px 12px;
  border-radius: 10px;
  background: var(--gradient-card);
}

.speaker-tile__photo {
  overflow: hidden;
  width: 93%;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
}

.speaker-tile__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.speaker-tile__photo img[src*="toni.webp"] {
  object-position: 72% 30%;
  transform: scale(1.25);
  transform-origin: 72% 68%;
}

.speaker-tile__photo img[src*="wicks.webp"] {
   object-position: 72% 7%;
  transform-origin: 72% 68%;
}

.speaker-tile__photo img[src*="suresh.webp"] {
  object-position: center 22%;
  transform: scale(1.6);
  transform-origin: 10% 0%;
}

.speaker-tile__photo img[src*="kubota-keiichi.webp"] {
  object-position: center -20%;
  transform: scale(1.4);
  transform-origin: 36% 28%;
}

.speaker-tile__photo img[src*="yamamuro.webp"] {
  object-position: center 22%;
  transform: scale(1.2);
  transform-origin: -3% 74%;
}

.speaker-tile__photo img[src*="mizutani.webp"] {
  object-position: center 14%;
  transform: scale(1.45);
  transform-origin: center 28%;
}

.speaker-tile__photo img[src*="nakamura.webp"] {
  transform: scale(1.12);
  transform-origin: 50% 0%;
}

.speaker-tile__photo img[src*="guillermo.webp"] {
  object-position: 78% -38%;
  transform: scale(1.35);
  transform-origin: 69% 25%;
}

.speaker-tile__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  align-self: center;
  width: 97%;
  padding: 12px 0 4px;
  text-align: center;
  color: var(--color-white);
}

.speaker-tile__body:not(:has(.speaker-tile__role)) {
  gap: 18px;
}

.speaker-tile__company {
  margin: 0;
  width: 100%;
  font-size: 12px;
  font-weight: 900;
  line-height: 15px;
}

.speaker-tile__role {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  width: 100%;
  min-height: 30px;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  text-align: center;
}

.speaker-tile__name {
  margin: 0;
  width: 100%;
  font-size: 14px;
  font-weight: 700;
  line-height: 17.5px;
}

.speakers-footnote {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  font-size: 12px;
  line-height: 20px;
  color: #9ca3a4;
  text-align: right;
}

.speakers-apply {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
  text-align: center;
}

.speakers-apply__lead {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-body);
}

.speakers-apply__note {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-body);
}

.speakers-apply__note a {
  color: var(--color-accent);
  text-decoration: underline;
}

/* Responsive */
@media (min-width: 641px) {
  .section__title {
    margin: 0 0 32px;
  }
}

@media (max-width: 1024px) {
  .speakers-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .speakers-hero {
    height: 260px;
    padding: 0 16px;
    text-align: center;
  }

  .speakers-hero__inner {
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    gap: 4px;
    padding: 0 16px;
  }

  .speakers-hero__title {
    font-size: 27px;
    line-height: 40px;
    letter-spacing: -0.06em;
    text-align: center;
  }

  .speakers-hero__lead {
    font-size: 16px;
    line-height: 26px;
    text-align: center;
    align-self: stretch;
    width: 100%;
  }

  .section {
    padding: var(--section-pad-y) 16px;
  }

  .section__title {
    font-size: 24px;
    line-height: 36px;
  }

  .section__header {
    margin-bottom: 32px;
    padding: 0;
  }

  .section__lead {
    font-weight: 400;
    text-align: left;
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
  }

  .section--speakers-grid .section__header {
    margin-bottom: 0;
    padding: 0;
  }

  .section--speakers-grid .container {
    padding: 0;
  }

  .speakers-grid-wrap {
    display: contents;
  }

  .speakers-footnote {
    position: static;
    margin: 8px 0 24px;
    text-align: center;
  }

  .speakers-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    max-width: none;
    width: 100%;
    margin: 0;
  }

  .speaker-tile {
    flex-direction: row;
    align-items: center;
    gap: 5%;
    padding: 12px 14px;
  }

  .speaker-tile__photo {
    width: 27%;
    min-width: 85px;
    max-width: 96px;
    flex-shrink: 0;
    margin: 0;
  }

  .speaker-tile__body {
    flex: 1;
    align-items: flex-start;
    align-self: center;
    width: auto;
    min-width: 0;
    padding: 0;
    text-align: left;
  }

  .speaker-tile__role {
    justify-content: flex-start;
    min-height: 0;
    text-align: left;
  }

  .speakers-apply {
    padding: 0 16px;
    align-items: stretch;
    text-align: left;
  }

  .speakers-apply__lead,
  .speakers-apply__note {
    font-weight: 500;
    text-align: left;
  }
}
