.presentation-topbar {
  position: sticky;
}

.presentation-topbar .session-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.presentation-topbar .button {
  width: auto;
}

.presentation-shell {
  width: calc(100% - 28px);
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 0 56px;
  display: grid;
  gap: 18px;
  overflow: hidden;
}

.presentation-hero,
.presentation-tabs,
.closing-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(14, 14, 13, 0.84);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
}

.presentation-hero {
  min-height: 260px;
  padding: clamp(22px, 5vw, 52px);
  display: grid;
  align-content: end;
  background:
    linear-gradient(135deg, rgba(255, 121, 0, 0.16), transparent 46%),
    rgba(14, 14, 13, 0.84);
  overflow: hidden;
}

.presentation-hero h1,
.closing-panel h2 {
  width: 100%;
  min-width: 0;
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.2rem, 7vw, 5rem);
  line-height: 0.95;
  overflow-wrap: anywhere;
}

.presentation-hero p {
  width: 100%;
  min-width: 0;
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  overflow-wrap: anywhere;
}

.presentation-tabs {
  padding: 14px;
  overflow: hidden;
}

.tab-controls {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.tab-button {
  min-width: 0;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 247, 236, 0.06);
  color: var(--ink);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tab-button[aria-selected="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #15100c;
}

.tab-panel {
  display: grid;
  gap: 16px;
}

.presentation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.explain-card {
  min-width: 0;
  min-height: 168px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 247, 236, 0.055);
}

.explain-card span {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 950;
}

.explain-card h2 {
  margin: 18px 0 8px;
  font-size: 1.22rem;
}

.explain-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.shot-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(18px, 5vw, 72px);
  padding: 10px 0 6px;
}

.desktop-shots {
  display: grid;
  gap: 14px;
}

.shot-row figure {
  padding: 10px;
}

figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

figure img {
  width: 100%;
  height: auto;
  display: block;
}

.phone-shot {
  width: min(330px, 100%);
  flex: 0 1 330px;
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.36);
}

.phone-shot img {
  border-radius: 20px;
}

figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.closing-panel {
  padding: clamp(22px, 4vw, 40px);
}

.closing-panel h2 {
  font-size: clamp(1.7rem, 4vw, 3.4rem);
}

@media (max-width: 820px) {
  .presentation-shell {
    width: calc(100% - 20px);
    max-width: 1180px;
    padding-top: 18px;
  }

  .presentation-grid,
  .shot-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .phone-shot {
    justify-self: center;
  }

  .presentation-hero {
    min-height: 220px;
  }

  .presentation-hero h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .presentation-hero p {
    font-size: 1rem;
  }
}

@media (max-width: 560px) {
  .presentation-topbar .session-actions {
    display: grid;
  }

  .presentation-topbar .button {
    width: 100%;
  }

  .presentation-shell {
    width: auto;
    max-width: 1180px;
    margin-left: 10px;
    margin-right: 10px;
  }

  .presentation-hero,
  .presentation-tabs,
  .closing-panel {
    width: 100%;
    max-width: calc(100vw - 20px);
  }

  .presentation-hero h1 {
    max-width: calc(100vw - 56px);
    font-size: clamp(1.68rem, 8vw, 2.2rem);
  }

  .presentation-hero p,
  .explain-card p {
    max-width: calc(100vw - 56px);
  }
}
