:root {
  --blue: #2e3192;
  --ink: #111;
  --muted: #5c5c5c;
  --paper: #fff;
  --field: #121212;
  --sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--field);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.98rem;
  line-height: 1.45;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.7rem;
  top: -4rem;
  z-index: 30;
  background: var(--blue);
  color: #fff;
  padding: 0.4rem 0.7rem;
  text-decoration: none;
}

.skip:focus { top: 0.7rem; color: #fff; }

.sheet {
  background: var(--paper);
  border: 1px solid var(--ink);
  margin: 0.7rem;
}

.sheet + .sheet { margin-top: 0; }

.hero-sheet,
.page-sheet {
  min-height: calc(100vh - 1.4rem);
  display: flex;
  flex-direction: column;
}

.page-sheet .foot { margin-top: auto; }

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid var(--ink);
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: -0.04em;
  font-size: 1.02rem;
}

.mark::before {
  content: "";
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--blue);
}

.top nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1.05rem;
}

.top nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  text-decoration: none;
  font-size: 0.92rem;
}

.top nav a i {
  width: 0.48rem;
  height: 0.48rem;
  border: 1.5px solid var(--blue);
  border-radius: 50%;
  display: block;
}

.top nav a:hover { color: var(--blue); }

.top nav a:hover i,
.top nav a[aria-current="page"] i { background: var(--blue); }

.split {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.72fr);
  min-height: 0;
}

.statement {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.4rem, 3vw, 2.4rem) clamp(1.2rem, 2.5vw, 2.2rem) 1.15rem;
}

.hero-sheet .statement { min-height: 28rem; }

.hero-plain,
.hero-plain .statement { min-height: 0; }

.hero-plain .pill { margin-top: 1.4rem; max-width: 18rem; }

.label {
  margin: 0 0 0.75rem;
  color: var(--ink);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.statement h1,
.page-head h1,
.about-split h1 {
  margin: 0;
  max-width: 16em;
  padding: 0;
  font-size: clamp(2rem, 3.5vw, 3.35rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.04;
  text-transform: none;
}

.about-split h1 {
  padding: clamp(1.4rem, 3vw, 2.4rem) 1.15rem 0.35rem;
}

.slash {
  position: absolute;
  left: 0;
  width: min(78%, 40rem);
  bottom: 5.6rem;
  height: 7.5rem;
  color: var(--blue);
  pointer-events: none;
}

.pill {
  margin-top: auto;
  display: block;
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--blue);
  color: var(--blue);
  border-radius: 999px;
  padding: 0.72rem 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.pill:hover { background: var(--blue); color: #fff; }

.side {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.1rem 1.1rem;
  min-height: 0;
}

.clock {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.15rem 0 1rem;
  color: var(--ink);
  font-size: 0.84rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.clock svg { display: block; }

.side figure { margin: auto 0 0; min-height: 0; }

.about-split { align-items: start; }

.about-split .side figure { margin: 1rem 0 0; }

.about-split .side img {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
}

.hero-sheet .side img {
  width: 100%;
  height: min(68vh, 38rem);
  object-fit: cover;
}

.article-split .side img {
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 38rem;
  object-fit: cover;
}

.side figcaption,
figcaption {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.01em;
}

.block { padding: 0.2rem 0 0.4rem; }

.block:has(> .top) { padding-top: 0; }

.block > h1,
.block > h2,
.block-head h2 {
  margin: 0;
  padding: 1rem 1.15rem 0.35rem;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.block-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-right: 1.15rem;
}

.block-head h2 { padding-right: 0; }

.block-head a {
  color: inherit;
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.block-head a:hover { color: var(--blue); }

.row {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
  padding: 0.95rem 1.15rem;
  border-top: 1px solid var(--ink);
  text-decoration: none;
}

.block .row:last-child,
.rows .row:last-child { border-bottom: 1px solid var(--ink); }

.page-sheet .rows .row:last-child { border-bottom: 0; }

.row span {
  color: inherit;
  font-variant-numeric: tabular-nums;
}

.row strong {
  font-weight: 500;
  letter-spacing: -0.03em;
  font-size: 1.35rem;
}

.row em {
  font-style: normal;
  font-size: 0.92rem;
}

.row:hover span,
.row:hover strong,
.row:hover em { color: var(--blue); }

.row:hover strong {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.page-head {
  padding: clamp(1.4rem, 3vw, 2.4rem) clamp(1.2rem, 2.5vw, 2.2rem) 1.15rem;
}

.deck {
  max-width: 36rem;
  margin: 0.9rem 0 0;
}

.quote {
  margin: 0.15rem 1.15rem 1rem;
  max-width: 28rem;
  color: inherit;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.people {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  padding: 0.4rem 1.15rem 1.2rem;
}

.people a { text-decoration: none; }

.people img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.people strong {
  display: block;
  margin-top: 0.45rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.people a:hover strong { color: var(--blue); }

.people em {
  display: block;
  margin-top: 0.1rem;
  font-style: normal;
  color: var(--muted);
  font-size: 0.78rem;
}

.prose { max-width: 40rem; }

.statement .prose { margin-top: 1.45rem; }

.copy { padding: 0.15rem 1.15rem 1.35rem; }

.prose p { margin: 0 0 1.05rem; }

.prose h2,
.prose h3 {
  font-size: 1.2rem;
  margin: 1.7rem 0 0.45rem;
}

.prose h3 { font-size: 1.02rem; }

.prose a { color: inherit; }

.prose a:hover { color: var(--blue); }

.prose ul { padding-left: 1.1rem; }

.prose li { margin: 0.28rem 0; }

.prose figure { margin: 1.4rem 0 1.6rem; }

.links {
  list-style: none;
  margin: 1.3rem 0 0;
  padding: 0;
}

.links a {
  color: inherit;
  text-decoration: none;
}

.links a:hover {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.links li + li { margin-top: 0.35rem; }

.foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.9rem 1.15rem 1rem;
  border-top: 1px solid var(--ink);
  color: var(--muted);
  font-size: 0.84rem;
}

.foot a { color: var(--ink); text-decoration: none; }

.foot a:hover { color: var(--blue); }

.woda {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
}

.woda canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.woda.is-live img { opacity: 0; }

.admin-form,
.admin-login {
  padding: 0 1.15rem 1.5rem;
}

.exit { padding: 0 1.15rem 0.2rem; }

.exit button {
  background: none;
  border: 0;
  padding: 0;
  color: var(--blue);
  font: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.admin-form label,
.admin-login label {
  display: block;
  margin: 1.15rem 0 0.35rem;
  color: var(--blue);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.admin-form input,
.admin-form textarea,
.admin-login input {
  width: min(100%, 40rem);
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--ink);
  padding: 0.65rem 0.75rem;
}

.admin-form textarea { min-height: 16rem; display: block; }

.admin-form button,
.admin-login button {
  font: inherit;
  background: var(--blue);
  color: #fff;
  border: 0;
  padding: 0.72rem 1.15rem;
  cursor: pointer;
  margin-top: 1.2rem;
}

.admin-list {
  list-style: none;
  margin: 0.4rem 1.15rem 1.2rem;
  padding: 0;
}

.admin-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  border-top: 1px solid var(--ink);
  padding: 0.75rem 0;
}

.admin-list a { color: inherit; }

.admin-list a:hover { color: var(--blue); }

.admin-list form { display: inline; margin: 0; }

.admin-list button {
  margin: 0;
  background: transparent;
  color: var(--ink);
  border: 0;
  text-decoration: underline;
  text-underline-offset: 0.12em;
  font: inherit;
  cursor: pointer;
  padding: 0;
}

.admin-error { color: var(--blue); }

.note { margin: 0 1.15rem 0.8rem; }

@media (min-width: 861px) {
  .article-split .side,
  .about-split .side {
    position: sticky;
    top: 0.7rem;
    align-self: start;
  }
}

@media (max-width: 860px) {
  .split,
  .row,
  .people { grid-template-columns: 1fr; }

  .hero-sheet,
  .page-sheet,
  .hero-sheet .statement { min-height: 0; }

  .slash { display: none; }

  .hero-sheet .side img { height: 22rem; }

  .row em { display: none; }

  .people { grid-template-columns: 1fr 1fr; }

  .top { align-items: flex-start; flex-direction: column; }

  .top nav { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
