:root {
  --ink: #111111;
  --yellow: #c9a7ff;
  --white: #ffffff;
  --body: "Inter Tight", Arial, sans-serif;
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --gutter: clamp(1rem, 4vw, 4rem);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 7rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
}

h1,
h2,
h3,
p,
figure,
blockquote,
ul,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  overflow-wrap: anywhere;
}

h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.08;
}

h2 {
  font-size: clamp(2.8rem, 6.5vw, 5.75rem);
  text-transform: uppercase;
}

h3 {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
}

p,
li,
dd,
dt,
a {
  overflow-wrap: break-word;
}

p + p {
  margin-top: 1rem;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  filter: grayscale(1) contrast(1.12) brightness(1.05);
}

picture {
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
}

a:hover {
  text-decoration-thickness: 4px;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
input,
select,
textarea,
.btn {
  border-radius: 0;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--ink);
}

::selection {
  color: var(--white);
  background: var(--ink);
}

.skip {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  padding: 0.8rem 1rem;
  color: var(--ink);
  background: var(--yellow);
  font-weight: 800;
  transform: translateY(-200%);
}

.skip:focus {
  transform: translateY(0);
}

.masthead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  max-width: 90rem;
  margin-inline: auto;
  padding: 1rem var(--gutter);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--yellow);
  font-family: var(--display);
  font-size: 1.55rem;
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
}

.masthead nav {
  width: 100%;
  min-width: 0;
}

.masthead ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 0.4rem;
  padding: 0;
  list-style: none;
}

.masthead nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.2rem;
  font-size: 1rem;
  font-weight: 700;
}

.masthead .nav-book {
  padding-inline: 0.65rem;
  color: var(--ink);
  background: var(--yellow);
  text-decoration: none;
}

.hero {
  max-width: 90rem;
  margin-inline: auto;
  padding: 0 var(--gutter) 2rem;
}

.lanyard {
  display: flex;
  justify-content: center;
  gap: clamp(3rem, 12vw, 10rem);
  height: clamp(3.5rem, 8vw, 6rem);
}

.lanyard span {
  width: clamp(1.7rem, 4vw, 2.75rem);
  height: 100%;
  background: repeating-linear-gradient(
    135deg,
    var(--yellow) 0,
    var(--yellow) 12px,
    var(--ink) 12px,
    var(--ink) 17px
  );
  border-inline: 4px solid var(--yellow);
}

.speaker-badge {
  position: relative;
  display: grid;
  min-width: 0;
  padding-top: 3rem;
  border: 6px solid var(--yellow);
  background: var(--yellow);
  color: var(--ink);
}

.speaker-badge::before,
.speaker-badge::after {
  position: absolute;
  top: 0.7rem;
  width: 2.75rem;
  height: 0.7rem;
  background: var(--ink);
  content: "";
}

.speaker-badge::before {
  left: calc(50% - clamp(1.5rem, 6vw, 5rem) - 2.75rem);
}

.speaker-badge::after {
  right: calc(50% - clamp(1.5rem, 6vw, 5rem) - 2.75rem);
}

.hero-text {
  min-width: 0;
  padding: 0 1rem 1.75rem;
}

.hero h1 {
  font-size: inherit;
  font-weight: 400;
}

.name {
  display: block;
  margin-bottom: 1.1rem;
  font-family: var(--display);
  font-size: clamp(3.15rem, 12.5vw, 7.8rem);
  line-height: 1.02;
  text-transform: uppercase;
}

.name > span {
  display: block;
}

.strap {
  display: block;
  max-width: 16ch;
  font-size: clamp(1.6rem, 4vw, 2.7rem);
  font-weight: 800;
  line-height: 1.08;
}

.lede {
  max-width: 51ch;
  margin-top: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.4rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  max-width: 100%;
  padding: 0.75rem 1.15rem;
  border: 3px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--white);
  color: var(--ink);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  font-weight: 800;
}

.link-arrow span {
  font-size: 1.5rem;
}

.hero-photo {
  min-width: 0;
  border-top: 6px solid var(--ink);
  background: var(--ink);
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 1.12;
  object-fit: cover;
  object-position: 30% center;
}

.credits {
  border-top: 6px solid var(--white);
}

.credits-inner,
.section-inner {
  width: 100%;
  max-width: 82rem;
  margin-inline: auto;
}

.credits-inner {
  padding: 1.5rem var(--gutter) 2rem;
}

.credits-label {
  margin-bottom: 0.75rem;
  color: var(--yellow);
  font-weight: 700;
}

.credits ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.7rem;
  padding: 0;
  list-style: none;
}

.credits li {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
}

.section-pad {
  padding: clamp(3rem, 7vw, 6rem) var(--gutter);
}

.section-head > p {
  max-width: 57ch;
  margin-top: 1.4rem;
}

.endorse {
  padding: 2rem var(--gutter) 3.5rem;
  background: var(--ink);
  color: var(--white);
}

.quote-divider {
  display: block;
  width: fit-content;
  height: 0.6em;
  color: var(--yellow);
  font-family: var(--display);
  font-size: clamp(6rem, 14vw, 12rem);
  line-height: 1;
  user-select: none;
}

.quote {
  min-width: 0;
}

.quote blockquote {
  max-width: 25ch;
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 4.2rem);
  line-height: 1.14;
}

.quote-more {
  max-width: 70ch;
  margin-top: 1.5rem;
}

summary {
  cursor: pointer;
}

.quote-more summary {
  width: fit-content;
  min-height: 44px;
  padding-block: 0.65rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

.quote-more summary:hover {
  text-decoration-thickness: 4px;
}

.quote-full {
  margin-top: 0.75rem;
}

.quote figcaption {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  max-width: 65ch;
  margin-top: 1.5rem;
  font-size: 1rem;
}

.quote figcaption img {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
}

.quote figcaption strong {
  display: block;
  margin-bottom: 0.15rem;
}

.topics {
  background: var(--yellow);
  color: var(--ink);
}

.topics .section-head {
  max-width: 56rem;
}

.topic-lead {
  position: relative;
  margin-top: 2.5rem;
  padding: 3.75rem 1.25rem 1.5rem;
  background: var(--ink);
  color: var(--white);
}

.topic-lead::before {
  position: absolute;
  top: 1.3rem;
  left: 1.25rem;
  width: 3.5rem;
  height: 0.7rem;
  background: var(--yellow);
  content: "";
}

.topic-tag {
  width: fit-content;
  margin-bottom: 1rem;
  padding: 0.25rem 0.6rem;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
}

.topic-lead h3 {
  max-width: 20ch;
  color: var(--yellow);
  font-size: clamp(2.5rem, 5.5vw, 4.6rem);
}

.topic p:last-child {
  max-width: 66ch;
  margin-top: 1rem;
}

.topic-row {
  margin-top: 2.5rem;
}

.topic-row .topic {
  padding-left: 1.25rem;
  border-left: 8px solid var(--ink);
}

.topic-row .topic + .topic {
  margin-top: 2rem;
}

.talks {
  background: var(--white);
  color: var(--ink);
}

.talks-layout {
  display: grid;
  gap: 2.5rem;
}

.talks-layout > *,
.about-layout > *,
.book-layout > *,
.award-groups > * {
  min-width: 0;
}

.talks-photo {
  max-width: 30rem;
  margin-top: 2rem;
  border: 5px solid var(--ink);
}

.talks-photo img {
  width: 100%;
}

.talks-photo figcaption {
  padding: 0.5rem 0.9rem;
  background: var(--ink);
  color: var(--yellow);
  font-weight: 800;
}

.programme {
  padding: 0;
  border-top: 6px solid var(--ink);
  list-style: none;
}

.programme > li {
  border-bottom: 4px solid var(--ink);
}

.programme summary {
  min-height: 44px;
  padding: 1.35rem 0.4rem;
}

.programme summary::marker {
  font-size: 1.1rem;
}

.programme summary:hover,
.programme details[open] summary {
  background: var(--yellow);
}

.year {
  display: inline-block;
  margin-right: 0.6rem;
  padding: 0.1rem 0.4rem;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.event {
  font-weight: 800;
}

.programme .title {
  display: block;
  margin-top: 0.8rem;
  font-size: clamp(1.25rem, 2.1vw, 1.7rem);
  font-weight: 800;
  line-height: 1.22;
}

.programme details > p {
  max-width: 65ch;
  padding: 0 0.75rem 1.5rem;
  margin-top: 1rem;
}

.band {
  position: relative;
  border-block: 6px solid var(--yellow);
  background: var(--ink);
}

.band img {
  width: 100%;
  height: auto;
}

.band figcaption {
  width: fit-content;
  padding: 0.45rem 1rem;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
}

.about {
  background: var(--ink);
  color: var(--white);
}

.about-layout {
  display: grid;
  gap: 2rem;
}

.about-photo {
  align-self: start;
  max-width: 34rem;
}

.about-photo img {
  width: 100%;
}

.label {
  width: fit-content;
  margin-bottom: 1rem;
  padding: 0.2rem 0.7rem;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
}

.about h2 {
  max-width: 18ch;
  color: var(--yellow);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.about-text > p:not(.label) {
  max-width: 62ch;
  margin-top: 1.4rem;
}

.about-text a {
  color: var(--yellow);
}

.about-recommendation {
  margin-top: 3.5rem;
  padding: 1.5rem 1.25rem 2rem;
  background: var(--yellow);
  color: var(--ink);
}

.about-recommendation .quote-divider {
  color: var(--ink);
}

.recognition {
  background: var(--white);
  color: var(--ink);
}

.award-groups {
  display: grid;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.personal-awards,
.agency-awards {
  padding-top: 1.25rem;
  border-top: 10px solid var(--ink);
}

.award-groups h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

.awards > div {
  padding-bottom: 1.1rem;
  border-bottom: 2px solid var(--ink);
}

.awards {
  margin-top: 1.5rem;
}

.awards > div + div {
  margin-top: 1.4rem;
}

.awards dt {
  font-weight: 800;
  line-height: 1.3;
}

.awards dd {
  margin-top: 0.25rem;
  font-size: 1rem;
}

.book {
  background: var(--yellow);
  color: var(--ink);
}

.book-layout {
  display: grid;
  gap: 2.5rem;
}

.book-intro h2 {
  max-width: 12ch;
}

.book-intro > p {
  max-width: 48ch;
  margin-top: 1.5rem;
}

.elsewhere {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin-top: 1.5rem;
  padding: 0;
  list-style: none;
}

.elsewhere a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 800;
}

.book-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.25rem;
  border-top: 12px solid var(--white);
  background: var(--ink);
  color: var(--white);
}

.proto-note {
  font-size: 1rem;
}

.proto-note a {
  color: var(--yellow);
}

.field {
  min-width: 0;
}

.field label {
  display: block;
  margin-bottom: 0.45rem;
  font-weight: 700;
}

.req {
  font-size: 0.875rem;
  font-weight: 400;
}

input,
select,
textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0.65rem;
  border: 3px solid var(--white);
  background: var(--white);
  color: var(--ink);
}

select {
  padding-right: 1.5rem;
}

textarea {
  resize: vertical;
}

.help {
  margin-top: 0.6rem;
  font-size: 0.9375rem;
}

.form-foot .btn {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--ink);
}

.form-foot .btn:hover {
  border-color: var(--white);
  background: var(--white);
}

.form-foot .btn:disabled {
  border: 3px dashed var(--white);
  background: var(--ink);
  color: var(--white);
  opacity: 1;
  cursor: not-allowed;
}

.form-note:not(:empty) {
  margin-top: 1rem;
}

.footer {
  padding: 1.5rem var(--gutter);
  background: var(--ink);
  color: var(--white);
  font-size: 0.9375rem;
}

.footer p {
  max-width: 82rem;
  margin-inline: auto;
}

@media (min-width: 600px) {
  .masthead nav {
    width: auto;
  }

  .masthead ul {
    gap: 1rem;
  }

  .hero-text {
    padding: 0 2rem 2rem;
  }

  .hero-photo img {
    aspect-ratio: 1.5;
  }

  .credits-inner {
    display: flex;
    align-items: baseline;
    gap: 2rem;
  }

  .credits-label {
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .topic-lead {
    padding: 4rem 2rem 2rem;
  }

  .topic-lead::before {
    left: 2rem;
  }

  .topic-row .topic:nth-child(2) {
    margin-left: 8%;
  }

  .topic-row .topic:nth-child(3) {
    margin-left: 16%;
  }

  .about-recommendation {
    padding: 2rem 2.5rem 2.5rem;
  }

  .book-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 2rem;
  }

  .field-wide {
    grid-column: 1 / -1;
  }

  .band figcaption {
    position: absolute;
    bottom: 0;
    left: var(--gutter);
  }
}

@media (min-width: 960px) {
  .hero {
    padding-bottom: 3rem;
  }

  .speaker-badge {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  }

  .hero-text {
    padding: 0.75rem clamp(2rem, 4vw, 4rem) 2.5rem;
  }

  .name {
    font-size: clamp(4rem, 7.5vw, 7rem);
  }

  .hero-photo {
    border-top: 0;
    border-left: 6px solid var(--ink);
  }

  .hero-photo picture {
    height: 100%;
  }

  .hero-photo img {
    height: 100%;
    min-height: 38rem;
    aspect-ratio: auto;
    object-position: 30% center;
  }

  .endorse .section-inner {
    display: grid;
    grid-template-columns: minmax(8rem, 0.3fr) minmax(0, 1fr);
    align-items: start;
    gap: 2rem;
  }

  .endorse .quote {
    padding-top: 2.5rem;
  }

  .topics .section-head {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: end;
    gap: 3rem;
    max-width: none;
  }

  .topics .section-head > p {
    margin-top: 0;
  }

  .topic-lead {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 3rem;
    margin-right: 8%;
    padding: 4.5rem 3rem 3rem;
  }

  .topic-lead::before {
    left: 3rem;
  }

  .topic-tag {
    grid-column: 1 / -1;
  }

  .topic-lead > p:last-child {
    align-self: end;
    margin-top: 0;
  }

  .topic-row {
    margin-left: 15%;
  }

  .topic-row .topic {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 2rem;
    padding-left: 2rem;
  }

  .topic-row .topic p {
    margin-top: 0;
  }

  .topic-row .topic:nth-child(2),
  .topic-row .topic:nth-child(3) {
    margin-left: 0;
  }

  .topic-row .topic + .topic {
    margin-top: 2.5rem;
  }

  .talks-layout {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(2.5rem, 6vw, 6rem);
  }

  .talks h2 {
    max-width: 10ch;
  }

  .programme summary {
    padding: 1.5rem 0.75rem;
  }

  .about-layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: clamp(2rem, 5vw, 5rem);
  }

  .about-recommendation {
    display: grid;
    grid-template-columns: minmax(8rem, 0.3fr) minmax(0, 1fr);
    gap: 2rem;
    margin-top: 5rem;
    padding: 2rem 3rem 3rem;
  }

  .about-recommendation .quote {
    padding-top: 2rem;
  }

  .award-groups {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: 4rem;
  }

  .personal-awards,
  .agency-awards {
    padding-top: 1.5rem;
  }

  .book-layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: 4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (forced-colors: active) {
  .speaker-badge,
  .topic-lead,
  .about-recommendation,
  .book-form,
  .btn,
  .nav-book,
  .year {
    border: 3px solid CanvasText;
  }

  a:focus-visible,
  button:focus-visible,
  summary:focus-visible,
  input:focus-visible,
  select:focus-visible,
  textarea:focus-visible,
  [tabindex]:focus-visible {
    outline-color: Highlight;
  }
}

/* Astra judge pass fixes */
.btn-contact {
  border-color: var(--ink);
  color: var(--white);
  text-decoration: none;
}

.book-form {
  margin-top: 0;
}

.footer {
  padding-block: 2rem 2.5rem;
}

@media (max-width: 599px) {
  .lanyard {
    display: none;
  }

  .hero {
    padding-top: 0.5rem;
  }

  .speaker-badge {
    padding-top: 1.5rem;
  }

  .speaker-badge::before,
  .speaker-badge::after {
    display: none;
  }

  .hero-photo img {
    aspect-ratio: 4 / 3;
    object-position: 26% 30%;
  }
}

/* Instagram reels */
.insta {
  background: var(--ink);
  color: var(--white);
  border-top: 6px solid var(--yellow);
}

.insta-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.insta h2 {
  color: var(--yellow);
}

.btn-insta {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--ink);
}

.btn-insta:hover {
  border-color: var(--white);
  background: var(--white);
}

.insta-intro {
  margin-top: 1rem;
}

.reels {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(68vw, 16rem);
  gap: 1rem;
  margin: 2rem calc(var(--gutter) * -1) 0;
  padding: 0 var(--gutter) 1rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  list-style: none;
}

.reels li {
  scroll-snap-align: start;
  min-width: 0;
}

.reel {
  display: block;
  height: 100%;
  border: 4px solid var(--yellow);
  background: var(--yellow);
  color: var(--ink);
  text-decoration: none;
}

.reel img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: none;
}

.reel-cap {
  display: block;
  padding: 0.7rem 0.8rem 0.8rem;
  font-weight: 800;
  line-height: 1.3;
}

.reel-cap::after {
  content: " \2197";
}

.reel:hover .reel-cap,
.reel:focus-visible .reel-cap {
  text-decoration: underline;
  text-decoration-thickness: 3px;
}

@media (min-width: 960px) {
  .reels {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-inline: 0;
    padding: 0;
    overflow: visible;
  }
}

.credits .loc {
  font-family: var(--body, inherit);
  font-size: 0.55em;
  font-weight: 600;
  letter-spacing: 0;
  opacity: 0.85;
  white-space: nowrap;
}

/* Linked appearances (no talk description yet) */
.talk-link > a {
  display: block;
  min-height: 44px;
  padding: 1.25rem 0.4rem;
  color: inherit;
  text-decoration: none;
}

.talk-link > a:hover {
  background: var(--yellow);
}

.talk-link .title::after {
  content: " \2197";
}

.talk-link > a:hover .title {
  text-decoration: underline;
  text-decoration-thickness: 3px;
}

@media (min-width: 960px) {
  .talk-link > a {
    padding: 1.5rem 0.75rem;
  }
}

/* Sticky header (Harry, 25 Sep) */
.masthead {
  position: sticky;
  top: 0;
  z-index: 30;
  max-width: none;
  padding-inline: max(var(--gutter), calc((100vw - 90rem) / 2 + var(--gutter)));
  background: var(--ink);
  border-bottom: 3px solid var(--yellow);
}

.header-book {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.8rem;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 599px) {
  .masthead {
    padding-block: 0.4rem 0.2rem;
    row-gap: 0;
  }

  .wordmark {
    font-size: 1.3rem;
  }

  .nav-book-item {
    display: none;
  }

  .masthead ul {
    justify-content: flex-start;
    gap: 0 1.25rem;
  }

  .masthead nav a {
    min-height: 40px;
    font-size: 0.95rem;
  }
}

@media (min-width: 600px) {
  html {
    scroll-padding-top: 5.5rem;
  }

  .header-book {
    display: none;
  }

  .masthead {
    padding-block: 0.6rem;
  }
}

/* Mobile header alignment pass */
@media (max-width: 599px) {
  .masthead {
    align-items: center;
    padding-block: 0.5rem 0.25rem;
  }

  .wordmark {
    min-height: 40px;
    font-size: 1.35rem;
    line-height: 1;
  }

  .header-book {
    min-height: 40px;
    padding: 0 0.75rem;
    font-size: 0.95rem;
  }

  .masthead nav a {
    min-height: 40px;
    padding-inline: 0;
    font-size: 0.9rem;
  }
}

/* Astra round 3 fixes */
.section-pad {
  padding: clamp(2.5rem, 6vw, 5rem) var(--gutter);
}

.endorse {
  padding-top: 1rem;
}

/* One row system for talks: marker column on the right for both kinds */
.programme summary,
.talk-link > a {
  position: relative;
  padding-right: 2.75rem;
  list-style: none;
}

.programme summary::-webkit-details-marker {
  display: none;
}

.programme summary::after,
.talk-link > a::after {
  position: absolute;
  top: 50%;
  right: 0.6rem;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-50%);
}

.programme summary::after {
  content: "+";
}

.programme details[open] summary::after {
  content: "\2212";
}

.talk-link > a::after {
  content: "\2197";
}

.talk-link .title::after {
  content: none;
}

@media (min-width: 960px) {
  .programme summary,
  .talk-link > a {
    padding-right: 3.25rem;
  }

  .talks .section-head {
    position: sticky;
    top: 6rem;
    align-self: start;
  }
}

@media (max-width: 599px) {
  .band {
    display: none;
  }

  .header-book {
    min-height: 44px;
  }

  .masthead {
    padding-block: 0.4rem 0.1rem;
  }
}

.cf-turnstile {
  min-height: 65px;
}
