.home .section-heading {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.home-teaser {
  border-bottom: 1px solid var(--color-line);
}

.home-teaser .section-heading {
  margin-bottom: 0;
}

.home-teaser--speakers {
  background: var(--color-cream);
}

.hero {
  position: relative;
  display: grid;
  min-height: clamp(40rem, calc(100svh - var(--header-height)), 50rem);
  overflow: hidden;
  color: var(--color-white);
  isolation: isolate;
}

.hero__media,
.hero__media img,
.hero__scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__media {
  z-index: -3;
  animation: hero-settle 1.4s var(--ease) both;
}

.hero__media img {
  object-fit: cover;
  object-position: 58% 50%;
}

.hero__scrim {
  z-index: -2;
  background:
    linear-gradient(90deg, rgb(12 31 55 / 94%) 0%, rgb(14 37 65 / 74%) 45%, rgb(10 27 48 / 20%) 78%),
    linear-gradient(0deg, rgb(10 27 48 / 48%), transparent 42%);
}

.hero__inner {
  display: flex;
  align-items: center;
  padding-block: clamp(4rem, 8vw, 7rem);
}

.hero__content {
  max-width: 52rem;
  animation: hero-content-in 850ms 150ms var(--ease) both;
}

.hero__eyebrow {
  color: #f6b59f;
  font-size: clamp(0.92rem, 1.5vw, 1.12rem);
  letter-spacing: 0.14em;
  margin-bottom: 1.25rem;
}

.hero h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.85rem, 6vw, 5.4rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.91;
}

.hero h1 span {
  display: block;
  color: #dce8f5;
  font-size: 0.72em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.hero__lead {
  max-width: 38rem;
  margin-top: 1.35rem;
  color: rgb(255 255 255 / 90%);
  font-family: var(--font-serif);
  font-size: clamp(1.02rem, 1.8vw, 1.35rem);
  font-style: italic;
  line-height: 1.45;
}

.hero__facts {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: 2.1rem;
}

.hero__facts div {
  padding-left: 1rem;
  border-left: 2px solid var(--color-terracotta);
}

.hero__facts dt {
  margin-bottom: 0.15rem;
  color: rgb(255 255 255 / 68%);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero__facts dd {
  color: var(--color-white);
  font-family: var(--font-serif);
  font-size: 1rem;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.25rem;
}

.text-link--light {
  color: var(--color-white);
}

.hero__credit {
  position: absolute;
  right: var(--gutter);
  bottom: 1rem;
  color: rgb(255 255 255 / 64%);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
}

.hero__scroll {
  position: absolute;
  bottom: 1rem;
  left: var(--gutter);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: rgb(255 255 255 / 72%);
  font-size: 0.63rem;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.hero__scroll i {
  position: relative;
  display: block;
  width: 2.8rem;
  height: 1px;
  overflow: hidden;
  background: rgb(255 255 255 / 28%);
}

.hero__scroll i::after {
  position: absolute;
  inset: 0;
  background: var(--color-white);
  content: "";
  transform-origin: left;
  animation: scroll-line 1.8s ease-in-out infinite;
}

.key-dates {
  background: var(--color-cobalt);
  color: var(--color-white);
}

.key-dates__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.date-item {
  display: flex;
  min-height: 7.2rem;
  flex-direction: column;
  justify-content: center;
  padding: 1.4rem clamp(1.2rem, 3vw, 2.5rem);
  border-right: 1px solid rgb(255 255 255 / 15%);
}

.date-item:last-child {
  border-right: 0;
}

.date-item__label {
  margin-bottom: 0.4rem;
  color: #b9cfe8;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.date-item__value {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.date-item--accent {
  background: var(--color-terracotta);
}

.date-item--accent .date-item__label {
  color: #ffe0d5;
}

.welcome__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(20rem, 0.82fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: center;
}

.section-copy {
  max-width: 42rem;
}

.section-copy h2 {
  margin: 0 0 2rem;
  color: var(--color-cobalt-deep);
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.section-copy p:not(.eyebrow) {
  max-width: 40rem;
  color: var(--color-steel);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.8;
}

.section-copy .lede {
  margin-bottom: 1rem;
  color: var(--color-charcoal) !important;
  font-size: clamp(1.08rem, 1.7vw, 1.25rem) !important;
}

.section-copy .text-link,
.social-programme > .shell > .text-link {
  margin-top: 2rem;
}

.home-status {
  margin-top: 2rem;
  color: var(--color-terracotta-dark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.editorial-media--welcome .editorial-media__frame,
.editorial-media--welcome .editorial-media__frame img {
  min-height: 33rem;
}

.editorial-media--welcome .editorial-media__frame img {
  height: 33rem;
  aspect-ratio: auto;
  object-position: 58% center;
}

.topics {
  border-top: 1px solid var(--color-line);
  background: var(--color-cream);
}

.home-section-heading {
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.65fr);
  gap: 4rem;
}

.home-section-heading h2 {
  max-width: 13ch;
}

.home-section-heading .text-link {
  margin-top: 1.25rem;
}

.speakers {
  background: var(--color-paper);
}

.speaker-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 2.5vw, 2.25rem);
}

.speaker {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  border: 1px solid var(--color-line);
  background: var(--color-white);
  box-shadow: 0 2px 8px rgb(22 56 100 / 3%);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.speaker:hover {
  border-color: #b4c6d9;
  box-shadow: 0 0.75rem 2rem rgb(22 56 100 / 7%);
  transform: translateY(-2px);
}

.speaker__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.speaker__avatar-frame {
  position: relative;
  width: 7.25rem;
  height: 7.25rem;
  flex-shrink: 0;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(145deg, #eef4fb 0%, #d4e2f2 100%);
  border: 2px solid var(--color-cobalt);
  box-shadow:
    0 0 0 3px rgb(31 71 136 / 8%),
    0 6px 16px rgb(22 56 100 / 10%);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.speaker:hover .speaker__avatar-frame {
  box-shadow:
    0 0 0 4px rgb(31 71 136 / 15%),
    0 8px 20px rgb(22 56 100 / 14%);
}

.speaker__avatar {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--color-cream);
}

.speaker__badge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  text-align: right;
}

.speaker__number {
  color: var(--color-terracotta-dark);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
}

.speaker__role {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 2px;
  background: var(--color-sky);
  color: var(--color-cobalt-deep);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.speaker__content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.speaker__name {
  margin: 0 0 0.35rem;
  color: var(--color-steel-dark);
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  line-height: 1.25;
}

.speaker__affiliation {
  margin: 0 0 1rem;
  color: var(--color-steel);
  font-size: 0.88rem;
  line-height: 1.4;
}

.speaker__country {
  color: var(--color-steel-dark);
  font-weight: 600;
}

.speaker__talk {
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--color-terracotta);
  background: var(--color-paper-bright);
  border-radius: 0 4px 4px 0;
}

.speaker__talk-label {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--color-terracotta-dark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.speaker__talk-title {
  margin: 0;
  color: var(--color-cobalt-deep);
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.4;
}

.speaker__details {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--color-line);
}

.speaker__details-toggle {
  cursor: pointer;
  color: var(--color-cobalt);
  font-size: 0.82rem;
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.speaker__details-toggle::-webkit-details-marker {
  display: none;
}

.speaker__details-toggle::after {
  content: "+";
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--color-steel);
}

.speaker__details[open] .speaker__details-toggle::after {
  content: "−";
  color: var(--color-cobalt);
}

.speaker__details-body {
  padding-top: 0.75rem;
}

.speaker__bio {
  margin: 0 0 0.85rem;
  color: var(--color-charcoal);
  font-size: 0.82rem;
  line-height: 1.55;
}

.speaker__research {
  font-size: 0.78rem;
  color: var(--color-steel-dark);
}

.speaker__research-label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  color: var(--color-steel-dark);
}

.speaker__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.speaker__tags li {
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
  background: var(--color-cream);
  color: var(--color-steel-dark);
  font-size: 0.72rem;
  line-height: 1.3;
}

.social-programme {
  border-top: 1px solid var(--color-line);
  background: var(--color-paper-bright);
}

.social-events {
  border-top: 1px solid var(--color-line);
}

.social-event {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) minmax(16rem, 0.7fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
  padding-block: clamp(1.75rem, 4vw, 2.75rem);
  border-bottom: 1px solid var(--color-line);
}

.social-event__number,
.social-event__type {
  color: var(--color-terracotta-dark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.social-event h3 {
  margin-top: 0.35rem;
  color: var(--color-cobalt-deep);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.1;
}

.social-event__status {
  color: var(--color-steel);
  font-family: var(--font-serif);
  line-height: 1.65;
}

.porto {
  position: relative;
  min-height: 39rem;
  overflow: hidden;
  background: var(--color-cobalt-deep);
  color: var(--color-white);
  isolation: isolate;
}

.porto__pattern {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.38;
  background-color: #244d7d;
  background-image:
    linear-gradient(30deg, rgb(255 255 255 / 8%) 12%, transparent 12.5%, transparent 87%, rgb(255 255 255 / 8%) 87.5%),
    linear-gradient(150deg, rgb(255 255 255 / 8%) 12%, transparent 12.5%, transparent 87%, rgb(255 255 255 / 8%) 87.5%),
    linear-gradient(60deg, rgb(255 255 255 / 5.5%) 25%, transparent 25.5%, transparent 75%, rgb(255 255 255 / 5.5%) 75%);
  background-position: 0 0, 2.5rem 4.35rem, 0 0;
  background-size: 5rem 8.7rem;
  transform: scale(1.1) rotate(-3deg);
}

.porto::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgb(14 35 61 / 95%), rgb(22 56 100 / 58%) 68%, rgb(200 90 58 / 20%));
  content: "";
}

.porto__inner {
  display: flex;
  min-height: 39rem;
  flex-direction: column;
  justify-content: center;
  padding-block: 5rem;
}

.porto .eyebrow {
  color: #f6b59f;
}

.porto h2 {
  max-width: 15ch;
  margin: 0;
  color: var(--color-white);
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.porto__inner > p:not(.eyebrow) {
  max-width: 40rem;
  margin-top: 1.5rem;
  color: #dfe9f3;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  line-height: 1.7;
}

.independent-visit {
  display: grid;
  max-width: 46rem;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 1.5rem;
  margin-top: 2.25rem;
  padding-block: 1.5rem;
  border-block: 1px solid rgb(255 255 255 / 22%);
}

.independent-visit > span {
  color: #f6b59f;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.independent-visit h3 {
  margin: 0 0 0.4rem;
  color: var(--color-white);
  font-size: 1.5rem;
}

.independent-visit p {
  color: #dfe9f3;
  font-size: 0.9rem;
  line-height: 1.65;
}

.porto .text-link {
  margin-top: 1.75rem;
}

.submission-cta {
  padding-block: clamp(4.5rem, 8vw, 7rem);
  background: var(--color-terracotta);
  color: var(--color-white);
}

.submission-cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.65fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: end;
}

.submission-cta .eyebrow {
  color: #ffe0d5;
}

.submission-cta h2 {
  max-width: 14ch;
  margin: 0;
  color: var(--color-white);
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.submission-cta__action p {
  margin-bottom: 1.6rem;
  color: #ffe9e1;
  font-family: var(--font-serif);
  line-height: 1.75;
}

.submission-cta .button {
  border-color: var(--color-white);
  background: var(--color-white);
  color: var(--color-terracotta-dark);
}

.submission-cta a.button:hover {
  border-color: var(--color-cream);
  background: var(--color-cream);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 650ms var(--ease), transform 650ms var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-settle {
  from { opacity: 0.45; transform: scale(1.07); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes hero-content-in {
  from { opacity: 0; transform: translateY(2.5rem); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scroll-line {
  0%, 100% { transform: scaleX(0.2); opacity: 0.35; }
  50% { transform: scaleX(1); opacity: 1; }
}

@media (max-width: 67.5rem) {
  .key-dates__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .date-item:nth-child(2) {
    border-right: 0;
  }

  .date-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgb(255 255 255 / 15%);
  }

  .welcome__grid,
  .home-section-heading,
  .submission-cta__grid {
    grid-template-columns: 1fr;
  }

  .home-section-heading {
    gap: 1.5rem;
  }

  .speaker-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 46rem) {
  .hero {
    min-height: calc(100svh - var(--header-height));
  }

  .hero__media img {
    object-position: 64% 50%;
  }

  .hero__scrim {
    background:
      linear-gradient(180deg, rgb(12 31 55 / 30%) 0%, rgb(14 37 65 / 80%) 48%, rgb(10 27 48 / 96%) 100%),
      linear-gradient(90deg, rgb(13 35 62 / 55%), rgb(13 35 62 / 8%));
  }

  .hero__inner {
    padding-block: 4.5rem 3rem;
  }

  .hero h1 {
    max-width: 11ch;
    font-size: clamp(2.35rem, 11vw, 3.6rem);
  }

  .hero__lead {
    font-size: 1rem;
  }

  .hero__facts {
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 1.5rem;
  }

  .hero__facts div {
    display: grid;
    grid-template-columns: 4.2rem 1fr;
    gap: 0.7rem;
    align-items: baseline;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.7rem;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__actions .text-link {
    justify-content: center;
  }

  .hero__credit,
  .hero__scroll {
    display: none;
  }

  .key-dates__grid,
  .speaker-grid {
    grid-template-columns: 1fr;
  }

  .date-item,
  .date-item:nth-child(2) {
    min-height: 6.2rem;
    border-right: 0;
    border-bottom: 1px solid rgb(255 255 255 / 15%);
  }

  .date-item:last-child {
    border-bottom: 0;
  }

  .welcome__grid {
    gap: 3rem;
  }

  .editorial-media--welcome .editorial-media__frame,
  .editorial-media--welcome .editorial-media__frame img {
    min-height: 22rem;
  }

  .editorial-media--welcome .editorial-media__frame img {
    height: 22rem;
  }

  .speaker-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .social-event {
    grid-template-columns: 2rem minmax(0, 1fr);
  }

  .social-event__status {
    grid-column: 2;
  }

  .porto,
  .porto__inner {
    min-height: 36rem;
  }

  .independent-visit {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
}

/* ==========================================================================
   Organization Section
   ========================================================================== */

.organization {
  border-top: 1px solid var(--color-line);
  background: var(--color-paper-bright);
  padding: clamp(4rem, 7vw, 6rem) 0;
}

.organization__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(3.5rem, 6vw, 5rem);
}

.organization-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.organization-group + .organization-group {
  margin-top: clamp(3.5rem, 6vw, 5rem);
}

.organization .eyebrow {
  margin: 0 0 clamp(2rem, 4.5vw, 3.25rem);
}

.organization-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  width: 100%;
}

.organization-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: opacity 200ms ease, transform 200ms ease;
}

.organization-logo:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.organization-logo img {
  display: block;
  height: clamp(3.25rem, 5.2vw, 4.5rem);
  width: auto;
  object-fit: contain;
}

.organization-logo--pes img {
  height: clamp(4.5rem, 7.5vw, 6.25rem);
}

.organization-record {
  display: block;
  margin-top: clamp(2rem, 3.5vw, 2.75rem);
  text-align: center;
}

.organization-record .text-link {
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}

@media (max-width: 46rem) {
  .organization__inner {
    gap: 2.75rem;
  }

  .organization-group + .organization-group {
    margin-top: 2.75rem;
  }

  .organization-logos {
    gap: 2.25rem;
  }

  .organization-logo img {
    height: 2.75rem;
  }

  .organization-logo--pes img {
    height: 3.75rem;
  }

  .organization-record {
    margin-top: 1.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

