:root {
  --paper: #f5f0e5;
  --paper-2: #ece4d4;
  --card: #fffdf8;
  --ink: #17232b;
  --muted: #52616a;
  --line: #d8cdb9;
  --sea: #0b5262;
  --sea-dark: #073945;
  --orange: #d87722;
  --orange-pale: #f7e4ce;
  --green: #537457;
  --green-pale: #e8f0e5;
  --purple: #79516d;
  --purple-pale: #f2e8ef;
  --red: #9b433a;
  --red-pale: #f7e4df;
  --blue-pale: #e4eff2;
  --shadow: 0 14px 40px rgba(24, 35, 43, .07);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Archivo", system-ui, sans-serif;
  --mono: "Spline Sans Mono", ui-monospace, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
}

body::before {
  background:
    radial-gradient(circle at 16% 0%, rgba(216, 119, 34, .12), transparent 25rem),
    radial-gradient(circle at 88% 8%, rgba(11, 82, 98, .12), transparent 28rem);
  content: "";
  height: 34rem;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  z-index: -1;
}

a {
  border-bottom: 1px solid rgba(11, 82, 98, .28);
  color: var(--sea);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  border-bottom-color: var(--sea);
}

button,
input {
  font: inherit;
}

.shell {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 30px;
}

.masthead {
  padding: 58px 0 36px;
}

.eyebrow,
.overline {
  color: var(--sea);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.masthead h1 {
  font-family: var(--serif);
  font-size: clamp(44px, 7vw, 82px);
  font-weight: 590;
  letter-spacing: -.035em;
  line-height: .98;
  margin: 18px 0 17px;
  max-width: 900px;
}

.masthead h1 em {
  color: var(--sea);
  font-weight: 390;
}

.standfirst {
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(18px, 2.1vw, 23px);
  line-height: 1.48;
  max-width: 850px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.pill,
.tag {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.25;
  padding: 5px 10px;
}

.pill {
  background: rgba(255, 253, 248, .76);
}

.tag.en {
  background: var(--green-pale);
  border-color: #b8cbb5;
  color: #34533a;
}

.tag.sync {
  background: var(--purple-pale);
  border-color: #cdb5c6;
  color: #68425e;
}

.tag.et {
  background: var(--orange-pale);
  border-color: #e0bd93;
  color: #985313;
}

.tag.music {
  background: var(--blue-pale);
  border-color: #b8cdd3;
  color: var(--sea-dark);
}

.tag.action {
  background: var(--red-pale);
  border-color: #d7aea6;
  color: var(--red);
}

.tabs-wrap {
  backdrop-filter: blur(12px);
  background: rgba(245, 240, 229, .94);
  border-bottom: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  position: sticky;
  top: 0;
  z-index: 50;
}

.tabs {
  display: flex;
  gap: 4px;
  margin: 0 auto;
  max-width: 1180px;
  overflow-x: auto;
  padding: 9px 30px;
  scrollbar-width: thin;
}

.tab {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 11.5px;
  padding: 8px 13px;
}

.tab:hover {
  background: var(--paper-2);
}

.tab[aria-selected="true"] {
  background: var(--ink);
  color: var(--paper);
}

.searchbar {
  align-items: center;
  display: flex;
  gap: 10px;
  margin: 24px 0 0;
}

.searchbar label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.searchbar input {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--ink);
  max-width: 520px;
  padding: 10px 13px;
  width: 100%;
}

.tab-panel {
  display: none;
  padding: 42px 0 72px;
}

.tab-panel.active {
  display: block;
}

.section {
  margin: 0 0 60px;
  scroll-margin-top: 92px;
}

.section-head {
  align-items: baseline;
  border-bottom: 2px solid var(--ink);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 10px;
}

.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(27px, 3.8vw, 40px);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin: 0;
}

.section-head span {
  color: var(--orange);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.lede {
  color: var(--muted);
  margin: 14px 0 28px;
  max-width: 850px;
}

h3 {
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.22;
  margin: 34px 0 15px;
}

h4 {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.25;
  margin: 0;
}

.hero-card {
  background: var(--sea-dark);
  border-radius: 4px;
  box-shadow: var(--shadow);
  color: #edf4f1;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, .75fr);
  margin-bottom: 42px;
  overflow: hidden;
}

.hero-card .main {
  padding: 38px 42px;
}

.hero-card .side {
  background: rgba(255, 255, 255, .065);
  border-left: 1px solid rgba(255, 255, 255, .13);
  padding: 35px 30px;
}

.hero-card h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 550;
  line-height: 1.13;
  margin: 9px 0 14px;
}

.hero-card p {
  color: #c9d8d2;
  margin: 8px 0;
}

.hero-card strong {
  color: white;
}

.hero-card .overline {
  color: #ef9c4d;
}

.fact {
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  padding: 12px 0;
}

.fact:last-child {
  border-bottom: 0;
}

.fact b {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  margin-bottom: 3px;
  text-transform: uppercase;
}

.fact span {
  color: #d7e2de;
  font-size: 13px;
}

.grid {
  display: grid;
  gap: 16px;
}

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

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

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: 0 8px 22px rgba(24, 35, 43, .035);
  padding: 21px 22px;
}

.card.featured {
  background: linear-gradient(180deg, #fff6e9 0, var(--card) 155px);
  border-color: #dfbf96;
}

.card .card-meta {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.45;
  margin: 5px 0 10px;
}

.card p {
  color: var(--muted);
  font-size: 13.5px;
  margin: 8px 0 0;
}

.card p strong {
  color: var(--ink);
}

.card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 10px;
}

.why {
  background: var(--paper-2);
  border-left: 3px solid var(--green);
  color: var(--ink) !important;
  margin-top: 12px !important;
  padding: 8px 11px;
}

.alert {
  background: var(--red-pale);
  border: 1px solid #d9aaa2;
  border-left: 4px solid var(--red);
  border-radius: 3px;
  margin: 18px 0;
  padding: 15px 18px;
}

.alert.amber {
  background: var(--orange-pale);
  border-color: #dfbd94;
  border-left-color: var(--orange);
}

.alert.green {
  background: var(--green-pale);
  border-color: #b8cbb5;
  border-left-color: var(--green);
}

.alert b {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.alert p {
  font-size: 14px;
  margin: 5px 0 0;
}

.timeline {
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 3px;
  overflow: hidden;
}

.timeline-row {
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 165px minmax(0, 1fr);
}

.timeline-row:last-child {
  border-bottom: 0;
}

.timeline-row .when {
  background: var(--paper-2);
  border-right: 1px solid var(--line);
  color: var(--sea);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  padding: 15px 16px;
}

.timeline-row .what {
  padding: 14px 18px;
}

.timeline-row .what b {
  display: block;
  font-size: 14px;
}

.timeline-row .what span {
  color: var(--muted);
  font-size: 13px;
}

.timeline-row.must .when {
  background: var(--orange);
  color: white;
}

.session-day {
  align-items: center;
  display: flex;
  gap: 13px;
  margin: 34px 0 14px;
}

.session-day h3 {
  margin: 0;
}

.session-day::after {
  background: var(--line);
  content: "";
  flex: 1;
  height: 1px;
}

.session {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--sea);
  border-radius: 3px;
  margin-bottom: 11px;
  padding: 18px 20px;
}

.session.p1 {
  border-left-color: var(--orange);
}

.session.sync {
  border-left-color: var(--purple);
}

.session.culture {
  border-left-color: var(--green);
}

.session-head {
  align-items: flex-start;
  display: grid;
  gap: 15px;
  grid-template-columns: 105px minmax(0, 1fr);
}

.session-time {
  color: var(--sea);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
}

.session-title h4 {
  font-size: 18px;
}

.session-title .translation {
  color: var(--muted);
  font-size: 12.5px;
  font-style: italic;
  margin-top: 2px;
}

.session .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 10px 0 7px 120px;
}

.session-body {
  color: var(--muted);
  font-size: 13.5px;
  margin-left: 120px;
}

.session-body p {
  margin: 7px 0;
}

.session-body strong {
  color: var(--ink);
}

details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 3px;
  margin: 10px 0;
}

summary {
  cursor: pointer;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  padding: 15px 18px;
}

details[open] summary {
  border-bottom: 1px solid var(--line);
}

.details-body {
  padding: 6px 18px 18px;
}

.details-body p,
.details-body li {
  color: var(--muted);
  font-size: 13.5px;
}

.details-body li + li {
  margin-top: 5px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  background: var(--card);
  border-collapse: collapse;
  font-size: 13px;
  margin: 18px 0;
  min-width: 720px;
  width: 100%;
}

th {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .12em;
  padding: 10px 12px;
  text-align: left;
  text-transform: uppercase;
}

td {
  border-bottom: 1px solid var(--line);
  padding: 11px 12px;
  vertical-align: top;
}

tbody tr:nth-child(even) td {
  background: rgba(236, 228, 212, .38);
}

td strong {
  color: var(--ink);
}

.rank {
  color: var(--orange);
  font-family: var(--serif);
  font-size: 24px;
  font-style: italic;
}

.checklist {
  counter-reset: item;
  list-style: none;
  margin: 18px 0;
  max-width: 950px;
  padding: 0;
}

.checklist li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 3px;
  counter-increment: item;
  margin-bottom: 8px;
  padding: 14px 18px 14px 63px;
  position: relative;
}

.checklist li::before {
  color: var(--orange);
  content: counter(item, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 23px;
  font-style: italic;
  left: 18px;
  position: absolute;
  top: 10px;
}

.checklist li p {
  color: var(--muted);
  font-size: 13.5px;
  margin: 3px 0 0;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 18px 0;
}

.filter-btn {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 10.5px;
  padding: 6px 11px;
}

.filter-btn.active {
  background: var(--sea);
  border-color: var(--sea);
  color: white;
}

.filterable.hidden,
.search-hidden {
  display: none !important;
}

.contact-strip {
  background: var(--sea-dark);
  border-radius: 3px;
  color: white;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 20px 0;
  overflow: hidden;
}

.contact-strip > div {
  background: rgba(255, 255, 255, .055);
  padding: 18px 20px;
}

.contact-strip b {
  color: #f2a45b;
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.contact-strip span,
.contact-strip a {
  border: 0;
  color: white;
  font-size: 13px;
}

.source-list {
  columns: 2;
  gap: 30px;
  list-style: none;
  padding: 0;
}

.source-list li {
  break-inside: avoid;
  color: var(--muted);
  font-size: 12.5px;
  margin-bottom: 8px;
}

footer {
  border-top: 3px solid var(--ink);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  padding: 30px 0 52px;
}

.noscript {
  background: var(--red-pale);
  padding: 12px;
  text-align: center;
}

@media (max-width: 900px) {
  .grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-card {
    grid-template-columns: 1fr;
  }

  .hero-card .side {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .13);
  }

  .contact-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .shell {
    padding: 0 18px;
  }

  .masthead {
    padding-top: 38px;
  }

  .tabs {
    padding-left: 14px;
    padding-right: 14px;
  }

  .grid.two,
  .grid.three {
    grid-template-columns: 1fr;
  }

  .hero-card .main,
  .hero-card .side {
    padding: 27px 23px;
  }

  .timeline-row {
    grid-template-columns: 1fr;
  }

  .timeline-row .when {
    border-bottom: 1px dashed var(--line);
    border-right: 0;
  }

  .session-head {
    gap: 4px;
    grid-template-columns: 1fr;
  }

  .session .tags,
  .session-body {
    margin-left: 0;
  }

  .source-list {
    columns: 1;
  }
}

.quick-brief {
  align-items: center;
  background: var(--ink);
  border-radius: 5px;
  color: var(--paper);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: space-between;
  margin-top: 18px;
  padding: 13px 16px;
  text-decoration: none;
}

.quick-brief span:last-child {
  color: #a8d9df;
  font-family: var(--mono);
  font-size: 10px;
}

.quick-brief:hover,
.quick-brief:focus-visible {
  background: var(--sea-dark);
}

@media print {
  body {
    background: white;
    font-size: 11px;
  }

  body::before,
  .tabs-wrap,
  .searchbar,
  .filter-row {
    display: none;
  }

  .tab-panel {
    display: block !important;
    padding: 20px 0;
  }

  .tab-panel::before {
    border-bottom: 2px solid black;
    content: attr(data-print-title);
    display: block;
    font-family: var(--serif);
    font-size: 30px;
    margin: 20px 0;
  }

  .card,
  .session,
  details,
  .timeline-row {
    break-inside: avoid;
  }

  details .details-body {
    display: block;
  }
}
