/* Atomic Seagull / Goéland atomique — the whole design lives in this one file.
   Palette comes from the logo: navy seagull, teal wing, orange and yellow orbits, on warm paper. */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/bricolage.11f6ab2d.woff2') format('woff2');
}

:root {
  --bg: #f6f1e8;
  --bg-2: #fffcf7;
  --bg-3: #ece5d7;
  --ink: #12283d;
  --ink-2: #364a5e;
  --muted: #566879;
  --line: #e0d8c9;
  --line-2: #cfc5b3;
  --navy: #12283d;
  --teal: #0d6e63; /* dark enough for 11 px text on paper (WCAG AA 4.5:1) */
  --teal-soft: rgba(13, 110, 99, 0.12);
  --orange: #f08a24;
  --orange-soft: rgba(240, 138, 36, 0.14);
  --coral: #e4572e;
  --yellow: #f4b41f;
  --link: #0d6e63;
  --btn-bg: #12283d;
  --btn-ink: #fff;
  --radius: 14px;
  --radius-s: 9px;
  --shadow: 0 1px 2px rgba(18, 40, 61, 0.05), 0 10px 30px -14px rgba(18, 40, 61, 0.25);
  --shadow-2: 0 2px 4px rgba(18, 40, 61, 0.06), 0 18px 44px -18px rgba(18, 40, 61, 0.35);
  --font-head: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1160px;
  --narrow: 780px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #0d1a27;
    --bg-2: #142838;
    --bg-3: #1a3044;
    --ink: #edf2f6;
    --ink-2: #c6d3de;
    --muted: #93a7ba;
    --line: #233a4f;
    --line-2: #2f4a63;
    --teal: #2fc0af;
    --teal-soft: rgba(47, 192, 175, 0.16);
    --orange: #f6a04b;
    --orange-soft: rgba(246, 160, 75, 0.16);
    --link: #5ad8c8;
    --btn-bg: #2fc0af;
    --btn-ink: #0b1a24;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 30px -14px rgba(0, 0, 0, 0.6);
    --shadow-2: 0 2px 4px rgba(0, 0, 0, 0.35), 0 18px 44px -18px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bg: #0d1a27;
  --bg-2: #142838;
  --bg-3: #1a3044;
  --ink: #edf2f6;
  --ink-2: #c6d3de;
  --muted: #93a7ba;
  --line: #233a4f;
  --line-2: #2f4a63;
  --teal: #2fc0af;
  --teal-soft: rgba(47, 192, 175, 0.16);
  --orange: #f6a04b;
  --orange-soft: rgba(246, 160, 75, 0.16);
  --link: #5ad8c8;
  --btn-bg: #2fc0af;
  --btn-ink: #0b1a24;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 30px -14px rgba(0, 0, 0, 0.6);
  --shadow-2: 0 2px 4px rgba(0, 0, 0, 0.35), 0 18px 44px -18px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}

/* ---------------------------------------------------------------- base */

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}
a:hover {
  text-decoration-thickness: 2px;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2rem, 1.2rem + 3vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}
h2 {
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem);
}
h3 {
  font-size: 1.3rem;
}
p {
  margin: 0 0 1em;
}
button {
  font: inherit;
  color: inherit;
}
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  background: var(--bg-3);
  padding: 0.1em 0.4em;
  border-radius: 5px;
}
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}
.wrap.narrow {
  max-width: var(--narrow);
}
.section {
  padding-block: clamp(2rem, 4vw, 3.5rem) 0;
}
.section:last-child {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--navy);
  color: #fff;
  padding: 0.6em 1em;
  border-radius: 8px;
  z-index: 200;
}
.skip:focus {
  top: 12px;
}
.kicker {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.9em;
}
.lede {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 62ch;
}
.section-title {
  margin-bottom: 1rem;
}
.section-head {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}
.section-head.row {
  grid-template-columns: 1fr auto;
  align-items: baseline;
}
.section-intro {
  color: var(--ink-2);
  margin: -0.4rem 0 0.4rem;
  max-width: 64ch;
}
.more {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  font-weight: 600;
  text-decoration: none;
}
.more:hover {
  text-decoration: underline;
}
.more svg {
  transition: transform 0.2s;
}
.more:hover svg {
  transform: translateX(3px);
}

/* ---------------------------------------------------------------- buttons, badges, chips */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: var(--btn-bg);
  color: var(--btn-ink);
  border: 2px solid var(--btn-bg);
  border-radius: 999px;
  padding: 0.65em 1.35em;
  font-weight: 650;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  text-decoration: none;
}
.btn.is-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn.is-ghost:hover {
  border-color: var(--ink);
}
.btn.is-small {
  padding: 0.45em 1em;
  font-size: 0.9rem;
}
.badge {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-soft);
  border-radius: 999px;
  padding: 0.3em 0.75em;
  text-decoration: none;
  line-height: 1.3;
}
a.badge:hover {
  background: var(--teal);
  color: #fff;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  background: var(--bg-2);
  border: 1.5px solid var(--line);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.4em 0.95em;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.chip small {
  font-size: 0.78em;
  color: var(--muted);
  font-weight: 600;
}
.chip:hover {
  border-color: var(--teal);
}
.chip[aria-current='page'],
.chip[aria-pressed='true'] {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.chip[aria-current='page'] small,
.chip[aria-pressed='true'] small {
  color: rgba(255, 255, 255, 0.7);
}
:root[data-theme='dark'] .chip[aria-current='page'],
:root[data-theme='dark'] .chip[aria-pressed='true'] {
  background: var(--teal);
  border-color: var(--teal);
  color: #0b1a24;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .chip[aria-current='page'],
  :root:not([data-theme='light']) .chip[aria-pressed='true'] {
    background: var(--teal);
    border-color: var(--teal);
    color: #0b1a24;
  }
}

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 70px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.brand img {
  width: 46px;
  height: 46px;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.brand:hover img {
  transform: rotate(-8deg) translateY(-2px);
}
.brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand-accent {
  color: var(--teal);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.nav-links {
  display: flex;
  gap: 0.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: 0.45em 0.8em;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.97rem;
  text-decoration: none;
}
.nav-links a:hover {
  background: var(--bg-3);
}
.nav-links a[aria-current='page'] {
  color: var(--teal);
  box-shadow: inset 0 -2px 0 var(--teal);
  border-radius: 0;
}
.search-form {
  display: flex;
  align-items: center;
  background: var(--bg-2);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding-left: 0.9em;
  height: 40px;
  transition: border-color 0.15s;
}
.search-form:focus-within {
  border-color: var(--teal);
}
.search-form input {
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  width: 170px;
  outline: none;
}
.search-form input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
.search-form button {
  border: 0;
  background: transparent;
  color: var(--muted);
  width: 40px;
  height: 38px;
  display: grid;
  place-items: center;
  cursor: pointer;
  border-radius: 999px;
}
.search-form button:hover {
  color: var(--teal);
}
.nav-tools {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.lang-switch {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--ink);
  border: 1.5px solid var(--line-2);
  border-radius: 999px;
  padding: 0.35em 0.75em;
}
.lang-switch:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.theme-toggle {
  border: 0;
  background: transparent;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink);
}
.theme-toggle:hover {
  background: var(--bg-3);
}
.theme-toggle .i-moon {
  display: none;
}
:root[data-theme='dark'] .theme-toggle .i-sun {
  display: none;
}
:root[data-theme='dark'] .theme-toggle .i-moon {
  display: block;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .theme-toggle .i-sun {
    display: none;
  }
  :root:not([data-theme='light']) .theme-toggle .i-moon {
    display: block;
  }
}
.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  cursor: pointer;
  position: relative;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: '';
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}
.nav-toggle-bar {
  top: 21px;
}
.nav-toggle-bar::before {
  left: 0;
  top: -7px;
}
.nav-toggle-bar::after {
  left: 0;
  top: 7px;
}
.nav-toggle[aria-expanded='true'] .nav-toggle-bar {
  background: transparent;
}
.nav-toggle[aria-expanded='true'] .nav-toggle-bar::before {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded='true'] .nav-toggle-bar::after {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 960px) {
  .nav-toggle {
    display: block;
  }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
    padding: 1rem 20px 1.3rem;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-2);
  }
  .site-nav.is-open {
    display: flex;
  }
  .nav-links {
    flex-direction: column;
  }
  .nav-links a {
    font-size: 1.1rem;
    padding: 0.6em 0.4em;
  }
  .nav-links a[aria-current='page'] {
    box-shadow: none;
    border-left: 3px solid var(--teal);
    padding-left: 0.6em;
  }
  .search-form input {
    width: 100%;
  }
  .search-form {
    width: 100%;
  }
  .nav-tools {
    justify-content: space-between;
  }
}

/* ---------------------------------------------------------------- hero */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(60% 80% at 85% 40%, var(--orange-soft), transparent 70%),
    radial-gradient(40% 60% at 70% 90%, var(--teal-soft), transparent 70%);
}
.hero::before {
  /* the atomic orbits from the logo, faint, drifting behind the art */
  content: '';
  position: absolute;
  right: -10%;
  top: -30%;
  width: 60vw;
  max-width: 820px;
  aspect-ratio: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke-width='1.4'%3E%3Cellipse cx='100' cy='100' rx='92' ry='36' stroke='%23f08a24' transform='rotate(-30 100 100)'/%3E%3Cellipse cx='100' cy='100' rx='92' ry='36' stroke='%23178f83' transform='rotate(30 100 100)'/%3E%3Cellipse cx='100' cy='100' rx='92' ry='36' stroke='%23f4b41f' transform='rotate(90 100 100)'/%3E%3Ccircle cx='100' cy='8' r='3.5' fill='%23f08a24' stroke='none'/%3E%3Ccircle cx='180' cy='146' r='3' fill='%23178f83' stroke='none'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0.55;
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 2rem;
  padding-block: clamp(2.5rem, 6vw, 5rem);
  position: relative;
}
.hero h1 {
  max-width: 14ch;
}
.hero .lede {
  margin-bottom: 1.6rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.hero-art {
  display: grid;
  place-items: center;
}
.hero-art img {
  width: min(100%, 340px);
  filter: drop-shadow(0 18px 30px rgba(18, 40, 61, 0.25));
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-10px) rotate(-1.5deg);
  }
}
@media (max-width: 800px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-art {
    order: -1;
  }
  .hero-art img {
    width: 180px;
  }
  .hero::before {
    right: -30%;
    top: -10%;
    width: 90vw;
  }
}

/* ---------------------------------------------------------------- cards */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: var(--line-2);
}
.card-media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-3);
}
.card-body {
  padding: 1.1rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.card-title {
  font-size: 1.28rem;
  margin: 0;
}
.card-title a {
  color: var(--ink);
  text-decoration: none;
}
.card-title a:hover {
  color: var(--teal);
}
.card-summary {
  color: var(--ink-2);
  margin: 0;
  font-size: 0.98rem;
}
.card .more {
  margin-top: 0.4rem;
}
.card.is-featured {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
}
.card.is-featured .card-media {
  aspect-ratio: auto;
  min-height: 320px;
  height: 100%;
}
.card.is-featured .card-body {
  padding: 2rem 2.2rem;
  justify-content: center;
  gap: 0.8rem;
}
.card.is-featured .card-title {
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem);
}
.card.is-featured .card-summary {
  font-size: 1.05rem;
}
@media (max-width: 760px) {
  .card.is-featured {
    grid-template-columns: 1fr;
  }
  .card.is-featured .card-media {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }
  .card.is-featured .card-body {
    padding: 1.3rem 1.4rem 1.6rem;
  }
}
.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.6rem;
  font-size: 0.86rem;
  color: var(--muted);
}
.meta time,
.meta .meta-read {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
}
.meta .meta-read::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--orange);
}

/* before / after split used on cards */
.split {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.split img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split.single img {
  position: static;
}
.split .split-after {
  clip-path: polygon(58% 0, 100% 0, 100% 100%, 42% 100%);
}
.split::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #fff;
  clip-path: polygon(58% 0, 58.7% 0, 42.7% 100%, 42% 100%);
  opacity: 0.9;
}
.split-label {
  position: absolute;
  bottom: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25em 0.65em;
  border-radius: 999px;
  color: #fff;
  z-index: 1;
}
.split-label.is-before {
  left: 10px;
  background: rgba(18, 40, 61, 0.78);
}
.split-label.is-after {
  right: 10px;
  background: var(--teal);
}

/* ---------------------------------------------------------------- pagination */

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}
.page-link {
  font-weight: 600;
  text-decoration: none;
}
.page-link.is-disabled {
  color: var(--muted);
  opacity: 0.6;
}
.page-count {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------------------------------------------------------------- why band, contact band, upcoming strip */

.why {
  padding-top: clamp(2rem, 4vw, 3.5rem);
}
.why-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.5rem 2rem;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.4rem, 3vw, 2.8rem);
  position: relative;
  overflow: hidden;
}
.why-inner::before {
  content: '';
  position: absolute;
  right: -140px;
  top: -190px;
  width: 300px;
  height: 300px;
  border: 1.5px solid rgba(240, 138, 36, 0.55);
  border-radius: 50%;
  transform: scaleY(0.42) rotate(-25deg);
}
.why-inner h2 {
  color: var(--yellow);
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}
.why-inner p {
  margin: 0;
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.9);
}
.why-inner .btn.is-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  position: relative;
}
.why-inner .btn.is-ghost:hover {
  border-color: #fff;
}
@media (max-width: 700px) {
  .why-inner {
    grid-template-columns: 1fr;
  }
}
.contact-band p {
  margin: 0;
  text-align: center;
  font-size: 1.1rem;
  padding: 1.4rem;
  border: 1.5px dashed var(--line-2);
  border-radius: var(--radius);
}
.up-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 1rem;
}
.up-mini {
  display: grid;
  gap: 0.45rem;
  text-decoration: none;
  color: var(--ink);
}
.up-mini-media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-s);
  overflow: hidden;
  background: var(--bg-3);
  border: 1px solid var(--line);
}
.up-mini-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.up-mini:hover img {
  transform: scale(1.03);
}
.up-mini strong {
  font-family: var(--font-head);
  font-size: 1.05rem;
  line-height: 1.25;
}
.badge.is-static {
  cursor: default;
}
.no-photo {
  width: 100%;
  height: 100%;
  min-height: 120px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.9rem;
  background:
    linear-gradient(135deg, var(--bg-3) 25%, transparent 25%, transparent 50%, var(--bg-3) 50%, var(--bg-3) 75%, transparent 75%) 0 0 / 22px 22px,
    var(--bg-2);
}
.no-photo.is-large {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-s);
  border: 1px dashed var(--line-2);
}

/* ---------------------------------------------------------------- story */

.story-head {
  padding-top: clamp(2rem, 4vw, 3.2rem);
  padding-bottom: 1.6rem;
}
.story-head .meta {
  margin-bottom: 1rem;
}
.story-head h1 {
  margin-bottom: 0.6rem;
}
.story-head .lede {
  margin-bottom: 1.2rem;
}

.compare {
  margin-bottom: 1rem;
}
.cmp-stage {
  position: relative;
  aspect-ratio: 4 / 3;
  max-height: 78vh;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: #0a141d;
  box-shadow: var(--shadow-2);
  user-select: none;
  -webkit-user-select: none;
}
.cmp-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.cmp-after {
  clip-path: inset(0 0 0 var(--pos));
}
.cmp-label {
  position: absolute;
  top: 14px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  padding: 0.35em 0.85em;
  border-radius: 999px;
  pointer-events: none;
  z-index: 2;
}
.cmp-label.is-before {
  left: 14px;
  background: rgba(18, 40, 61, 0.82);
}
.cmp-label.is-after {
  right: 14px;
  background: var(--teal);
}
.cmp-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 0;
  z-index: 2;
  pointer-events: none;
}
.cmp-handle::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1.5px;
  width: 3px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
}
.cmp-grip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s;
}
.cmp-stage:hover .cmp-grip,
.cmp-stage.is-dragging .cmp-grip {
  transform: translate(-50%, -50%) scale(1.08);
}
.cmp-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 3;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  touch-action: pan-y;
}
.cmp-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 48px;
  height: 100vh;
}
.cmp-range::-moz-range-thumb {
  width: 48px;
  height: 100vh;
  border: 0;
}
.cmp-range:focus-visible {
  opacity: 1;
  outline-offset: -3px;
}
.cmp-pairs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.9rem;
}
.cmp-pair {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 0.6rem;
  border: 2px solid var(--line);
  background: var(--bg-2);
  border-radius: var(--radius-s);
  padding: 4px 12px 4px 4px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
  color: var(--ink);
}
.cmp-pair img {
  width: 72px;
  height: 54px;
  object-fit: cover;
  border-radius: 6px;
}
.cmp-pair:hover {
  border-color: var(--line-2);
}
.cmp-pair[aria-selected='true'] {
  border-color: var(--teal);
}

.facts {
  margin: 1.8rem 0 0;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.facts::after {
  content: '';
  position: absolute;
  right: -40px;
  bottom: -70px;
  width: 200px;
  height: 200px;
  border: 1.5px solid var(--orange);
  border-radius: 50%;
  transform: scaleY(0.4) rotate(-30deg);
  opacity: 0.45;
  pointer-events: none;
}
.facts-title {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}
.facts dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1.6rem;
  margin: 0;
}
.fact dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.15em;
}
.fact dd {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
}
@media (max-width: 560px) {
  .facts dl {
    grid-template-columns: 1fr;
  }
}
.toc {
  margin: 1.6rem 0 0;
  padding: 1rem 1.3rem;
  border-left: 3px solid var(--orange);
  background: var(--orange-soft);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  font-size: 0.95rem;
}
.toc strong {
  display: block;
  margin-bottom: 0.3rem;
  font-family: var(--font-head);
}
.toc ol {
  margin: 0;
  padding-left: 1.2em;
  columns: 2;
  column-gap: 2rem;
}
.toc a {
  text-decoration: none;
  color: var(--ink);
}
.toc a:hover {
  text-decoration: underline;
}
@media (max-width: 560px) {
  .toc ol {
    columns: 1;
  }
}

/* ---------------------------------------------------------------- prose */

.prose {
  margin-top: 1.8rem;
  font-size: 1.1rem;
  line-height: 1.72;
}
.prose > p,
.prose > ul,
.prose > ol {
  margin-bottom: 1.25em;
}
.prose h2 {
  margin-top: 2.4em;
  margin-bottom: 0.6em;
  padding-top: 0.6em;
  position: relative;
}
.prose h2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
}
.prose h3 {
  margin-top: 1.8em;
  margin-bottom: 0.5em;
}
.prose li {
  margin-bottom: 0.35em;
}
.prose li::marker {
  color: var(--orange);
}
.prose hr {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 2.5em auto;
  width: 40%;
}
.prose strong {
  font-weight: 650;
}
.note {
  margin: 1.6em 0;
  padding: 1rem 1.3rem;
  background: var(--teal-soft);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  font-size: 0.97em;
}
.note > :last-child {
  margin-bottom: 0;
}
.photo {
  margin: 1.8em 0;
}
.photo img {
  width: 100%;
  border-radius: var(--radius-s);
  border: 1px solid var(--line);
  background: var(--bg-3);
}
.zoom {
  display: block;
  cursor: zoom-in;
  border-radius: var(--radius-s);
}
.zoom:hover img {
  filter: brightness(1.04);
}
figcaption {
  margin-top: 0.6em;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
  padding-left: 0.9em;
  border-left: 2px solid var(--orange);
}
.gallery {
  display: grid;
  gap: 0.9rem;
  margin: 1.8em 0;
  align-items: start;
}
.gallery .photo {
  margin: 0;
}
.gallery.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.gallery.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 560px) {
  .gallery.cols-2,
  .gallery.cols-3 {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------- share, story footer */

.share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
}
.share-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}
.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.share-buttons a,
.share-buttons button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--bg-2);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, transform 0.15s;
}
.share-buttons a:hover,
.share-buttons button:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
}
.share-buttons .share-native {
  width: auto;
  padding: 0 1em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
}
.share-copy.is-done {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}
.story-foot {
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1.6rem;
}
.story-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.story-nav-link {
  display: block;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--bg-2);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s;
}
.story-nav-link:hover {
  border-color: var(--teal);
}
.story-nav-link span {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.25em;
}
.story-nav-link strong {
  font-family: var(--font-head);
  font-size: 1.05rem;
  line-height: 1.3;
}
.story-nav-link.is-next {
  text-align: right;
}
@media (max-width: 560px) {
  .story-nav {
    grid-template-columns: 1fr;
  }
  .story-nav-link.is-next {
    text-align: left;
  }
}
.related {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
}

/* ---------------------------------------------------------------- pages */

.page-head {
  padding-top: clamp(1rem, 3vw, 2.5rem);
  margin-bottom: 0.5rem;
}
.page .prose {
  margin-top: 1rem;
}
.search-big {
  display: flex;
  gap: 0.6rem;
  margin: 1.4rem 0 1.2rem;
}
.search-big input {
  flex: 1;
  font: inherit;
  font-size: 1.1rem;
  padding: 0.7em 1.1em;
  border: 2px solid var(--line-2);
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--ink);
  min-width: 0;
}
.search-big input:focus {
  outline: none;
  border-color: var(--teal);
}
.search-status {
  color: var(--muted);
  margin: 1rem 0 0;
  min-height: 1.5em;
}
mark {
  background: var(--orange-soft);
  color: inherit;
  border-radius: 3px;
  padding: 0 0.1em;
}

.upcoming-list {
  display: grid;
  gap: 2rem;
}
.upcoming {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 1.6rem 2.4rem;
  padding: 1.6rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.upcoming h2 {
  margin-top: 0.5rem;
  font-size: 1.6rem;
}
.upcoming .prose {
  margin-top: 0.6rem;
  font-size: 1.02rem;
}
.upcoming .gallery {
  margin: 0;
}
.sold-as {
  color: var(--ink-2);
}
@media (max-width: 760px) {
  .upcoming {
    grid-template-columns: 1fr;
    padding: 1.2rem;
  }
  .upcoming-media {
    order: -1;
  }
}
.empty {
  color: var(--muted);
  padding: 2rem;
  text-align: center;
  border: 1.5px dashed var(--line-2);
  border-radius: var(--radius);
}

.email-reveal {
  margin: 1.6em 0;
}
.email-out {
  margin-top: 1rem;
}
.email-hint {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}
.email-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}
.email-field {
  flex: 1;
  min-width: 220px;
  font: inherit;
  font-size: 1.05rem;
  padding: 0.55em 1em;
  border: 2px solid var(--teal);
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--ink);
}

.not-found {
  text-align: center;
  padding-block: 4rem;
}
.not-found .lede {
  margin-inline: auto;
}

/* ---------------------------------------------------------------- lightbox (built by site.js) */

.lb {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(6, 13, 20, 0.95);
  display: grid;
  grid-template-rows: 1fr auto;
  animation: lb-in 0.18s ease-out;
}
@keyframes lb-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.lb-stage {
  display: grid;
  place-items: center;
  padding: 56px 64px 8px;
  min-height: 0;
}
.lb-stage img {
  max-width: 100%;
  max-height: calc(100vh - 130px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.lb-cap {
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  padding: 0 20px 22px;
  font-size: 0.95rem;
  min-height: 2.6em;
}
.lb-count {
  color: rgba(255, 255, 255, 0.55);
  margin-left: 0.8em;
  font-size: 0.85em;
}
.lb button {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s;
}
.lb button:hover {
  background: rgba(255, 255, 255, 0.22);
}
.lb-close {
  top: 12px;
  right: 12px;
}
.lb-prev,
.lb-next {
  top: 50%;
  transform: translateY(-50%);
}
.lb-prev {
  left: 10px;
}
.lb-next {
  right: 10px;
}
.lb[hidden],
.lb button[hidden] {
  display: none;
}
body.lb-open {
  overflow: hidden;
}
@media (max-width: 600px) {
  .lb-stage {
    padding: 56px 8px 8px;
  }
  .lb-prev,
  .lb-next {
    top: auto;
    bottom: 60px;
    transform: none;
  }
}

/* ---------------------------------------------------------------- footer */

.site-footer {
  margin-top: 3rem;
  background: var(--bg-3);
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.95rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 0.8fr;
  gap: 2rem;
  padding-block: 2.6rem 2rem;
}
.footer-brand {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.footer-brand strong {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--ink);
}
.footer-brand p {
  margin: 0.2em 0 0;
}
.footer-why p {
  margin: 0;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}
.footer-links a {
  color: var(--ink);
  text-decoration: none;
}
.footer-links a:hover {
  text-decoration: underline;
}
.footer-links .rss {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
}
.footer-note {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}
@media (max-width: 800px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
