/* ---------------------------------------------------------
   BG2HHW — personal site
   Palette: archive paper, ink, signal red
   --------------------------------------------------------- */

:root {
  --paper: #f2ede3;
  --paper-deep: #e9e2d5;
  --paper-soft: #f7f2e9;
  --ink: #151b1d;
  --ink-soft: #4d4b45;
  --muted: #7c7569;
  --red: #ce3b2f;
  --red-deep: #a82c24;
  --line: rgba(21, 27, 29, 0.15);
  --line-strong: rgba(21, 27, 29, 0.34);
  --card: rgba(255, 255, 255, 0.28);
  --card-strong: rgba(255, 255, 255, 0.5);
  --shadow: 0 28px 70px -38px rgba(18, 22, 23, 0.45);
  --contact-bg: #13191a;
  --contact-fg: #f2ede3;
  --contact-muted: rgba(242, 237, 227, 0.58);
  --contact-line: rgba(242, 237, 227, 0.16);
  --header-bg: rgba(242, 237, 227, 0.82);
  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC",
    "Microsoft YaHei", "Segoe UI", sans-serif;
  --font-serif: "Iowan Old Style", "Baskerville", "Noto Serif SC",
    "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --font-mono: "SFMono-Regular", "Cascadia Code", "Roboto Mono", Consolas,
    monospace;
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-height: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] {
  --paper: #0f1415;
  --paper-deep: #161d1e;
  --paper-soft: #131a1b;
  --ink: #efe9dd;
  --ink-soft: #bbb4a7;
  --muted: #8f887b;
  --red: #ff5b4c;
  --red-deep: #d84438;
  --line: rgba(239, 233, 221, 0.15);
  --line-strong: rgba(239, 233, 221, 0.34);
  --card: rgba(255, 255, 255, 0.035);
  --card-strong: rgba(255, 255, 255, 0.06);
  --shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.9);
  --contact-bg: #e8e0d2;
  --contact-fg: #111718;
  --contact-muted: rgba(17, 23, 24, 0.6);
  --contact-line: rgba(17, 23, 24, 0.16);
  --header-bg: rgba(15, 20, 21, 0.82);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color 0.45s ease, color 0.45s ease;
}

body.menu-open {
  overflow: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--red);
  color: var(--paper);
}

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 10px;
  z-index: 500;
  padding: 10px 16px;
  background: var(--red);
  color: #fff;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 10px;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: multiply;
}

[data-theme="dark"] .grain {
  opacity: 0.03;
  mix-blend-mode: screen;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 400;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
}

/* ---------------------------------------------------------
   Header
   --------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: var(--header-bg);
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  backdrop-filter: blur(18px) saturate(1.1);
  transition: border-color 0.3s ease, background-color 0.45s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  width: min(100%, calc(var(--container) + var(--gutter) * 2));
  height: var(--header-height);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  width: 9px;
  height: 9px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(206, 59, 47, 0.12);
}

.brand-name {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.brand-sub {
  margin-left: 5px;
  padding-left: 14px;
  border-left: 1px solid var(--line-strong);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 42px);
}

.desktop-nav a {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.desktop-nav a span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 18px;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.35s var(--ease);
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.desktop-nav a.is-active {
  color: var(--red);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 16px;
}

.clock {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

.theme-toggle,
.menu-toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease,
    background-color 0.25s ease;
}

.theme-toggle:hover,
.menu-toggle:hover {
  color: var(--red);
  border-color: var(--red);
}

.theme-toggle svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-moon,
[data-theme="dark"] .icon-sun {
  display: none;
}

[data-theme="dark"] .icon-moon {
  display: block;
}

.menu-toggle {
  display: none;
  border-radius: 50%;
}

.menu-toggle span {
  position: absolute;
  width: 14px;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}

.menu-toggle span:first-child {
  transform: translateY(-3px);
}

.menu-toggle span:last-child {
  transform: translateY(3px);
}

.menu-open .menu-toggle span:first-child {
  transform: rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: var(--header-height) 0 auto;
  z-index: 90;
  display: none;
  flex-direction: column;
  height: calc(100svh - var(--header-height));
  padding: 44px var(--gutter) 28px;
  background: var(--paper);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-14px);
  transition: opacity 0.3s ease, transform 0.4s var(--ease),
    visibility 0.3s;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
}

.mobile-menu nav a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-serif);
  font-size: clamp(34px, 10vw, 46px);
  line-height: 1.1;
}

.mobile-menu nav a span {
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 10px;
}

.mobile-menu-foot {
  width: 100%;
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
}

/* ---------------------------------------------------------
   Shared typography
   --------------------------------------------------------- */

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
}

.section-kicker {
  margin-bottom: 18px;
}

.section-title {
  max-width: 900px;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(38px, 4.7vw, 68px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.14;
  text-wrap: balance;
}

.section-intro {
  max-width: 370px;
  margin: 0 0 7px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.85;
}

.section {
  width: min(100%, calc(var(--container) + var(--gutter) * 2));
  margin: 0 auto;
  padding: clamp(84px, 10vw, 142px) var(--gutter);
}

.section-head {
  margin-bottom: clamp(46px, 6vw, 78px);
}

.section-head-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: background-color 0.3s ease, color 0.3s ease,
    border-color 0.3s ease, transform 0.3s var(--ease);
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button:hover svg {
  transform: translateX(4px);
}

.button-primary {
  background: var(--ink);
  color: var(--paper);
}

.button-primary:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 2px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.text-link-line {
  position: relative;
  display: block;
  width: 34px;
  height: 1px;
  overflow: hidden;
  background: var(--line-strong);
}

.text-link-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--red);
  transform: translateX(-105%);
  transition: transform 0.35s var(--ease);
}

.text-link:hover .text-link-line::after {
  transform: none;
}

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: calc(var(--header-height) + 78px) var(--gutter) 156px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 88px 88px;
  opacity: 0.3;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 82%);
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: -34vw;
  right: -30vw;
  width: 76vw;
  height: 76vw;
  border: 1px solid var(--line);
  border-radius: 50%;
  opacity: 0.55;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  width: min(100%, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(370px, 0.78fr);
  align-items: center;
  gap: clamp(30px, 5vw, 72px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.live-dot {
  position: relative;
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
}

.live-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid var(--red);
  border-radius: 50%;
  animation: live-pulse 2.4s ease-out infinite;
}

.hero-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(54px, 6.2vw, 84px);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 1.01;
  text-wrap: balance;
}

.title-tail {
  display: inline;
}

.hero-title .accent {
  position: relative;
  display: inline-block;
  color: var(--red);
  font-style: italic;
  font-weight: 500;
}

.hero-title .accent::after {
  content: "";
  position: absolute;
  right: -0.02em;
  bottom: 0.035em;
  left: 0.05em;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--red) 7%,
    var(--red) 93%,
    transparent
  );
  opacity: 0.8;
  transform: rotate(-1deg);
  transform-origin: left center;
}

.hero-lead {
  max-width: 560px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 38px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 54px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-meta span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta span:not(:last-child)::after {
  content: "/";
  position: absolute;
  right: -16px;
  color: var(--line-strong);
}

.hero-meta i {
  width: 4px;
  height: 4px;
  background: var(--red);
  border-radius: 50%;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.radar {
  position: relative;
  width: min(43vw, 500px);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: radial-gradient(
      circle at center,
      transparent 0 18%,
      var(--line) 18.3% 18.6%,
      transparent 18.9% 100%
    ),
    radial-gradient(circle at center, var(--card-strong), transparent 68%);
  box-shadow: inset 0 0 80px rgba(20, 25, 26, 0.03);
}

.radar-ring {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.radar-ring-1 {
  inset: 13%;
}

.radar-ring-2 {
  inset: 30%;
}

.radar-ring-3 {
  inset: 44%;
  border-color: var(--line-strong);
}

.radar-axis {
  position: absolute;
  background: var(--line);
}

.radar-axis-x {
  top: 50%;
  right: 4%;
  left: 4%;
  height: 1px;
}

.radar-axis-y {
  top: 4%;
  bottom: 4%;
  left: 50%;
  width: 1px;
}

.radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 276deg,
    rgba(206, 59, 47, 0.16) 346deg,
    rgba(206, 59, 47, 0.4) 359deg,
    transparent 360deg
  );
  -webkit-mask-image: radial-gradient(circle, transparent 0 9%, #000 10%);
  mask-image: radial-gradient(circle, transparent 0 9%, #000 10%);
  animation: radar-spin 14s linear infinite;
}

[data-theme="dark"] .radar-sweep {
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 270deg,
    rgba(255, 91, 76, 0.1) 340deg,
    rgba(255, 91, 76, 0.36) 359deg,
    transparent 360deg
  );
}

.radar-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  background: var(--red);
  border: 2px solid var(--paper);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--red);
}

.radar-dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid var(--red);
  border-radius: 50%;
  opacity: 0;
  animation: blip 4.8s ease-out infinite;
}

.radar-dot span {
  position: absolute;
  top: -19px;
  left: 9px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.radar-dot-80 {
  top: 25%;
  left: 66%;
}

.radar-dot-80::after {
  animation-delay: 0.8s;
}

.radar-dot-20 {
  top: 62%;
  left: 27%;
}

.radar-dot-20::after {
  animation-delay: 2.3s;
}

.radar-dot-2 {
  top: 76%;
  left: 72%;
}

.radar-dot-2::after {
  animation-delay: 3.4s;
}

.radar-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 1px solid var(--red);
  border-radius: 50%;
  background: var(--paper);
  color: var(--red);
  font-family: var(--font-serif);
  font-size: 24px;
  font-style: italic;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 8px rgba(206, 59, 47, 0.04);
}

.station-card {
  position: absolute;
  right: 0;
  bottom: -12px;
  width: 288px;
  padding: 19px 20px 17px;
  background: var(--paper-soft);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  transform: rotate(1.4deg);
  transition: transform 0.5s var(--ease);
}

.hero-visual:hover .station-card {
  transform: rotate(0deg) translateY(-3px);
}

.station-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 52px;
  height: 3px;
  background: var(--red);
}

.station-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.station-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
}

.station-status i {
  width: 5px;
  height: 5px;
  background: var(--red);
  border-radius: 50%;
  animation: status-blink 2.2s ease-in-out infinite;
}

.station-callsign {
  margin: 15px 0 14px;
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
}

.station-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px 18px;
  margin: 0;
}

.station-list div {
  min-width: 0;
}

.station-list dt {
  margin-bottom: 2px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.12em;
}

.station-list dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.01em;
}

.wave-band {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 132px;
  opacity: 0.8;
  pointer-events: none;
}

.wave-band::before {
  content: "";
  position: absolute;
  top: 0;
  right: var(--gutter);
  left: var(--gutter);
  height: 1px;
  background: var(--line);
}

#signalCanvas {
  width: 100%;
  height: 100%;
}

.wave-labels {
  position: absolute;
  right: var(--gutter);
  bottom: 18px;
  left: var(--gutter);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

/* ---------------------------------------------------------
   Ticker
   --------------------------------------------------------- */

.ticker {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-move 42s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 42px;
  padding: 17px 21px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-item::after {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--red);
  border-radius: 50%;
}

/* ---------------------------------------------------------
   About
   --------------------------------------------------------- */

.about-section {
  border-bottom: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.7fr);
  gap: clamp(54px, 9vw, 130px);
  align-items: start;
}

.about-copy p {
  max-width: 720px;
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.95;
}

.about-copy p:first-child {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.72;
}

.about-copy strong {
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 0.78em;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.field-notes {
  position: relative;
  margin-top: 6px;
  padding: 26px 26px 30px;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 2px solid var(--ink);
}

.field-notes::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 13px;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--line-strong);
  border-right: 1px solid var(--line-strong);
}

.field-notes-head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.15em;
}

.field-list {
  margin: 0;
}

.field-list div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.field-list dt {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.11em;
}

.field-list dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  text-align: right;
}

.field-notes blockquote {
  margin: 27px 0 0;
  padding-left: 16px;
  border-left: 2px solid var(--red);
  color: var(--red);
  font-family: var(--font-serif);
  font-size: 19px;
  font-style: italic;
  line-height: 1.5;
}

/* ---------------------------------------------------------
   Work
   --------------------------------------------------------- */

.work-section {
  border-bottom: 1px solid var(--line);
}

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

.work-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  grid-column: span 4;
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), border-color 0.3s ease,
    background-color 0.3s ease;
}

.work-card:hover {
  border-color: var(--line-strong);
  background: var(--card-strong);
  transform: translateY(-6px);
}

.work-card.is-featured {
  grid-column: span 12;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  min-height: 500px;
}

.work-card.is-half {
  grid-column: span 6;
}

.work-card.is-featured:hover {
  transform: none;
}

.work-media {
  position: relative;
  overflow: hidden;
  min-height: 245px;
  background: var(--paper-deep);
}

.is-featured .work-media {
  min-height: 100%;
}

.work-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 20, 21, 0.25),
    transparent 42%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.work-card:hover .work-media::after {
  opacity: 1;
}

.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.work-image-button {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: zoom-in;
}

.work-card:hover .work-media img {
  transform: scale(1.045);
}

.work-media-hint {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.work-media-hint svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
}

.work-card:hover .work-media-hint {
  color: var(--red);
  border-color: var(--red);
}

.is-featured .work-media img {
  object-position: 52% center;
}

.work-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 30px 28px 28px;
}

.is-featured .work-body {
  justify-content: center;
  padding: clamp(34px, 4.2vw, 58px);
}

.work-index {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.13em;
}

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

.is-featured .work-index {
  margin-bottom: 40px;
}

.work-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(27px, 2.4vw, 36px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.is-featured .work-title {
  font-size: clamp(34px, 3.6vw, 54px);
}

.work-subtitle {
  margin: 9px 0 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.work-description {
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.85;
}

.is-featured .work-description {
  max-width: 470px;
  margin-top: 24px;
  font-size: 15px;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
}

.work-tags span {
  padding: 5px 9px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.05em;
}

.work-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 28px;
}

.work-meta {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.work-link {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background-color 0.3s ease, border-color 0.3s ease,
    color 0.3s ease;
}

.work-link svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.work-link:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* Project visuals */

.work-visual {
  position: relative;
  min-height: 245px;
  overflow: hidden;
  background-color: var(--paper-deep);
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 30px 30px;
}

.mock-ui {
  position: absolute;
  inset: 30px 22px -18px;
  display: flex;
  flex-direction: column;
  padding: 11px;
  background: var(--paper-soft);
  border: 1px solid var(--line-strong);
  border-radius: 7px 7px 0 0;
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.6);
  transform: rotate(-1.2deg);
  transition: transform 0.6s var(--ease);
}

.work-card:hover .mock-ui {
  transform: rotate(0) translateY(-4px);
}

.mock-top {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 17px;
  padding: 0 3px 8px;
  border-bottom: 1px solid var(--line);
}

.mock-top i {
  width: 4px;
  height: 4px;
  background: var(--line-strong);
  border-radius: 50%;
}

.mock-top i:first-child {
  background: var(--red);
}

.mock-top span {
  margin-left: auto;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 5px;
  letter-spacing: 0.1em;
}

.mock-body {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  flex: 1;
  padding-top: 10px;
}

.mock-side {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 7px 4px;
  border-right: 1px solid var(--line);
}

.mock-side i {
  width: 100%;
  height: 6px;
  background: var(--line);
}

.mock-side i:first-child {
  background: var(--red);
}

.mock-content {
  min-width: 0;
}

.mock-title {
  width: 44%;
  height: 7px;
  margin-bottom: 12px;
  background: var(--ink);
  opacity: 0.8;
}

.mock-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-bottom: 10px;
}

.mock-stats i {
  height: 24px;
  border: 1px solid var(--line);
  background: var(--card);
}

.mock-table {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.mock-table i {
  display: block;
  height: 10px;
  background: var(--line);
}

.mock-table i:nth-child(odd) {
  background: color-mix(in srgb, var(--line) 65%, transparent);
}

.drone-drawing {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 26px 18px;
  color: var(--ink);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.8s var(--ease);
}

.work-card:hover .drone-drawing {
  transform: scale(1.025) rotate(1deg);
}

.drone-drawing .drone-accent {
  stroke: var(--red);
}

.drone-drawing .drone-muted {
  stroke: var(--line-strong);
  stroke-dasharray: 3 4;
}

.drone-drawing .drone-thin {
  stroke: var(--line-strong);
  stroke-width: 0.7;
}

.drone-drawing text {
  fill: var(--muted);
  stroke: none;
  font-family: var(--font-mono);
  font-size: 5px;
  letter-spacing: 0.08em;
}

.poster-mini {
  position: absolute;
  inset: 25px 48px;
  overflow: hidden;
  padding: 16px;
  background: #111718;
  color: #eee7d9;
  border: 1px solid rgba(238, 231, 217, 0.45);
  transition: transform 0.7s var(--ease);
}

.work-card:hover .poster-mini {
  transform: translateY(-5px) rotate(-0.8deg);
}

.poster-mini::before,
.poster-mini::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(238, 231, 217, 0.18);
  border-radius: 50%;
}

.poster-mini::before {
  top: -52px;
  right: -58px;
}

.poster-mini::after {
  right: -28px;
  bottom: -88px;
  width: 210px;
  height: 210px;
}

.poster-mini-top {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 5px;
  letter-spacing: 0.13em;
}

.poster-mini-number {
  position: absolute;
  top: 48%;
  left: 12px;
  color: #eee7d9;
  font-family: var(--font-serif);
  font-size: clamp(62px, 8vw, 92px);
  font-style: italic;
  letter-spacing: -0.08em;
  line-height: 0.8;
  transform: translateY(-50%);
}

.poster-mini-cn {
  position: absolute;
  right: 13px;
  bottom: 14px;
  color: #eee7d9;
  font-family: var(--font-serif);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.poster-mini-red {
  position: absolute;
  top: 35px;
  right: 25px;
  width: 7px;
  height: 7px;
  background: #ff5b4c;
  border-radius: 50%;
}

/* ---------------------------------------------------------
   Field log
   --------------------------------------------------------- */

.log-section {
  border-bottom: 1px solid var(--line);
}

.log-list {
  border-top: 1px solid var(--line-strong);
}

.log-entry {
  position: relative;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 150px;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.log-entry::before {
  content: "";
  position: absolute;
  inset: 0 calc(var(--gutter) * -0.35);
  background: var(--card);
  opacity: 0;
  pointer-events: none;
  transform: scaleY(0.86);
  transition: opacity 0.35s ease, transform 0.45s var(--ease);
}

.log-entry:hover::before {
  opacity: 1;
  transform: none;
}

.log-date {
  position: relative;
  align-self: start;
  padding-top: 5px;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  line-height: 1.6;
  text-transform: uppercase;
}

.log-main {
  position: relative;
  min-width: 0;
}

.log-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.log-tags span:not(:last-child)::after {
  content: "/";
  margin-left: 7px;
  color: var(--line-strong);
}

.log-main h3 {
  margin: 9px 0 8px;
  font-family: var(--font-serif);
  font-size: clamp(25px, 2.5vw, 34px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.log-main p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.85;
}

.log-action {
  position: relative;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.07em;
  line-height: 1.4;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.log-action svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--ease);
}

.log-action:hover {
  color: var(--red);
  border-color: var(--red);
}

.log-action:hover svg {
  transform: translate(2px, -2px);
}

.qsl-callout {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
  margin-top: 42px;
  padding: 31px 34px;
  background: var(--card);
  border: 1px solid var(--line-strong);
}

.qsl-callout::after {
  content: "QSL";
  position: absolute;
  right: 190px;
  bottom: -38px;
  color: transparent;
  font-family: var(--font-serif);
  font-size: 146px;
  font-style: italic;
  line-height: 1;
  -webkit-text-stroke: 1px var(--line);
  opacity: 0.5;
  pointer-events: none;
}

.qsl-callout-copy,
.qsl-callout-actions {
  position: relative;
  z-index: 1;
}

.qsl-callout h3 {
  margin: 7px 0 6px;
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.qsl-callout-copy > p:last-child {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.11em;
}

.qsl-callout-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.mini-button {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 42px;
  padding: 0 16px;
  background: var(--ink);
  border: 1px solid var(--ink);
  color: var(--paper);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease,
    color 0.3s ease, transform 0.3s var(--ease);
}

.mini-button svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mini-button:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: translateY(-2px);
}

.qsl-link {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.qsl-link .text-link-line {
  width: 25px;
}

/* ---------------------------------------------------------
   Moments page
   --------------------------------------------------------- */

.moments-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-height) + 104px) var(--gutter) 96px;
  border-bottom: 1px solid var(--line);
}

.moments-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 88px 88px;
  opacity: 0.28;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 92%);
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
  pointer-events: none;
}

.moments-hero::after {
  content: "";
  position: absolute;
  top: -32vw;
  right: -24vw;
  width: 68vw;
  height: 68vw;
  border: 1px solid var(--line);
  border-radius: 50%;
  opacity: 0.6;
  pointer-events: none;
}

.moments-hero-grid {
  position: relative;
  z-index: 1;
  width: min(100%, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.7fr);
  align-items: end;
  gap: clamp(40px, 7vw, 110px);
}

.moments-hero .hero-eyebrow {
  margin-bottom: 26px;
}

.moments-title {
  max-width: 850px;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(52px, 7.4vw, 106px);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 1.02;
  text-wrap: balance;
}

.moments-title .accent {
  position: relative;
  display: inline-block;
  color: var(--red);
  font-style: italic;
  font-weight: 500;
}

.moments-title .accent::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.04em;
  left: 0.05em;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--red) 8%,
    var(--red) 93%,
    transparent
  );
  opacity: 0.8;
  transform: rotate(-1deg);
}

.moments-lead {
  max-width: 560px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.95;
}

.moments-now {
  position: relative;
  width: 100%;
  max-width: 360px;
  justify-self: end;
  padding: 22px 23px 20px;
  background: var(--paper-soft);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}

.moments-now::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 62px;
  height: 3px;
  background: var(--red);
}

.moments-now-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.moments-now-time {
  margin: 20px 0 2px;
  font-family: var(--font-serif);
  font-size: 62px;
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.moments-now-date {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.moments-now-status {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.moments-now-status p {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 1.3;
}

.moments-now-status span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.moments-now-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.moments-section {
  width: min(100%, calc(var(--container) + var(--gutter) * 2));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 120px) var(--gutter);
}

.moment-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.moment-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.moment-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 11px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease,
    color 0.25s ease;
}

.moment-filter span {
  color: var(--muted);
  font-size: 7px;
}

.moment-filter:hover {
  color: var(--red);
  border-color: var(--red);
}

.moment-filter.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.moment-filter.is-active span {
  color: var(--paper);
  opacity: 0.55;
}

.moment-count {
  flex: 0 0 auto;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.moment-list {
  border-top: 1px solid var(--line);
}

.moment-entry {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 58px);
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.moment-entry::before {
  content: "";
  position: absolute;
  inset: 0 calc(var(--gutter) * -0.35);
  z-index: -1;
  background: var(--card);
  opacity: 0;
  pointer-events: none;
  transform: scaleY(0.86);
  transition: opacity 0.35s ease, transform 0.45s var(--ease);
}

.moment-entry:hover::before {
  opacity: 1;
  transform: none;
}

.moment-time {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.moment-time span:first-child {
  color: var(--red);
}

.moment-time span:last-child {
  color: var(--muted);
}

.moment-body {
  max-width: 780px;
  min-width: 0;
}

.moment-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.moment-tags span:not(:last-child)::after {
  content: "/";
  margin-left: 7px;
  color: var(--line-strong);
}

.moment-body p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.92;
}

.moment-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.moment-link svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.moment-link:hover {
  color: var(--red);
  border-color: var(--red);
}

.moment-photo {
  max-width: 760px;
  margin: 18px 0 0;
  padding: 8px;
  background: var(--card);
  border: 1px solid var(--line);
}

.moment-photo > a {
  display: block;
  overflow: hidden;
  background: var(--paper-deep);
}

.moment-photo img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.7s var(--ease);
}

.moment-photo > a:hover img {
  transform: scale(1.015);
}

.moment-photo figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 2px 1px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.moment-empty {
  margin: 0;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
}

.moments-contact {
  padding-top: clamp(72px, 9vw, 110px);
  padding-bottom: clamp(72px, 9vw, 110px);
}

.moments-contact-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  max-width: 680px;
}

.moments-contact-row > p {
  max-width: 480px;
  margin: 0;
  color: var(--contact-muted);
  font-size: 15px;
  line-height: 1.9;
}

.moments-contact .button-primary {
  flex: 0 0 auto;
  border-color: var(--contact-fg);
  background: var(--contact-fg);
  color: var(--contact-bg);
}

.moments-contact .button-primary:hover {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

/* ---------------------------------------------------------
   Now
   --------------------------------------------------------- */

.now-section {
  border-bottom: 1px solid var(--line);
}

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

.now-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  padding: 28px 26px;
  background: var(--card);
  border: 1px solid var(--line);
  transition: background-color 0.3s ease, border-color 0.3s ease,
    transform 0.5s var(--ease);
}

.now-card:hover {
  background: var(--card-strong);
  border-color: var(--line-strong);
  transform: translateY(-5px);
}

.now-card::after {
  content: attr(data-index);
  position: absolute;
  right: 10px;
  bottom: -10px;
  color: transparent;
  font-family: var(--font-serif);
  font-size: 92px;
  line-height: 1;
  -webkit-text-stroke: 1px var(--line-strong);
  opacity: 0.45;
  pointer-events: none;
}

.now-label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.15em;
}

.now-label::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--red);
  border-radius: 50%;
}

.now-card h3 {
  margin: 34px 0 25px;
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.now-card ul {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.now-card li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
}

.now-card li::before {
  content: "";
  width: 12px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--line-strong);
}

/* ---------------------------------------------------------
   Contact
   --------------------------------------------------------- */

.contact-section {
  position: relative;
  overflow: hidden;
  padding: clamp(88px, 10vw, 136px) var(--gutter);
  background: var(--contact-bg);
  color: var(--contact-fg);
  transition: background-color 0.45s ease, color 0.45s ease;
}

.contact-inner {
  position: relative;
  z-index: 2;
  width: min(100%, var(--container));
  margin: 0 auto;
}

.contact-section .section-kicker {
  color: var(--red);
}

.contact-heading-row {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: clamp(44px, 6vw, 82px);
  border-bottom: 1px solid var(--contact-line);
}

.contact-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(64px, 10.5vw, 150px);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.92;
  text-wrap: balance;
}

.contact-73 {
  flex: 0 0 auto;
  color: transparent;
  font-family: var(--font-serif);
  font-size: clamp(86px, 12vw, 180px);
  font-style: italic;
  line-height: 0.7;
  -webkit-text-stroke: 1px var(--contact-muted);
  transform: rotate(-5deg) translateY(-5px);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(50px, 9vw, 140px);
  padding-top: 48px;
}

.contact-copy > p:first-child {
  max-width: 470px;
  margin: 0;
  color: var(--contact-muted);
  font-size: 16px;
  line-height: 1.9;
}

.copy-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 38px;
  padding: 12px 16px;
  background: transparent;
  color: var(--contact-fg);
  border: 1px solid var(--contact-line);
  cursor: pointer;
  transition: border-color 0.3s ease, background-color 0.3s ease,
    color 0.3s ease;
}

.copy-button span {
  color: var(--contact-muted);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.copy-button strong {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.05em;
}

.copy-button svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.copy-button:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.copy-button:hover span {
  color: rgba(255, 255, 255, 0.72);
}

.contact-note {
  margin: 16px 0 0;
  color: var(--contact-muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.contact-links {
  display: flex;
  flex-direction: column;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 2px;
  border-top: 1px solid var(--contact-line);
  transition: padding 0.35s var(--ease), color 0.3s ease;
}

.contact-link:last-child {
  border-bottom: 1px solid var(--contact-line);
}

.contact-link:hover {
  padding-right: 10px;
  padding-left: 10px;
  color: var(--red);
}

.contact-link-label {
  display: block;
  margin-bottom: 4px;
  color: var(--contact-muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.13em;
}

.contact-link-value {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.contact-link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--ease);
}

.contact-link:hover svg {
  transform: translate(3px, -3px);
}

.contact-orbit {
  position: absolute;
  border: 1px solid var(--contact-line);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  top: -36%;
  right: -12%;
  width: 62vw;
  height: 62vw;
}

.orbit-two {
  right: 10%;
  bottom: -66%;
  width: 56vw;
  height: 56vw;
}

/* ---------------------------------------------------------
   Footer & toast
   --------------------------------------------------------- */

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px var(--gutter);
  background: var(--contact-bg);
  color: var(--contact-muted);
  border-top: 1px solid var(--contact-line);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  transition: background-color 0.45s ease, color 0.45s ease;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--contact-fg);
}

.site-footer a:hover {
  color: var(--red);
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 600;
  padding: 12px 18px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.04em;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.35s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------------------------------------------------------
   Image lightbox
   --------------------------------------------------------- */

.lightbox {
  width: 100vw;
  height: 100svh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  border: 0;
}

.lightbox[open] {
  display: flex;
  flex-direction: column;
  animation: lightbox-in 0.35s var(--ease);
}

.lightbox::backdrop {
  background: rgba(8, 11, 11, 0.78);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

.lightbox-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
  padding: 0 clamp(20px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}

.lightbox-kicker {
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
}

.lightbox-close {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 10px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease,
    background-color 0.25s ease;
}

.lightbox-close svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.lightbox-close:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.lightbox-stage {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 28px clamp(62px, 8vw, 120px) 24px;
  background-color: var(--paper-deep);
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
}

.lightbox-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(100%, 1280px);
  max-height: 100%;
  margin: 0;
}

.lightbox-figure img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100svh - 188px);
  object-fit: contain;
  background: var(--paper-soft);
  box-shadow: var(--shadow);
}

.lightbox-caption {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 18px;
  width: 100%;
  padding-top: 15px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
}

.lightbox-caption #lightboxTitle {
  color: var(--ink);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.lightbox-caption #lightboxCount {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  color: var(--red);
  font-size: 9px;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  transform: translateY(-50%);
  transition: color 0.25s ease, border-color 0.25s ease,
    background-color 0.25s ease;
}

.lightbox-nav[hidden] {
  display: none;
}

.lightbox-nav svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lightbox-nav:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.lightbox-prev {
  left: clamp(14px, 3vw, 42px);
}

.lightbox-next {
  right: clamp(14px, 3vw, 42px);
}

@keyframes lightbox-in {
  from {
    opacity: 0;
    transform: scale(0.995);
  }
}

/* ---------------------------------------------------------
   Reveal & motion
   --------------------------------------------------------- */

.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease) var(--delay, 0ms),
    transform 0.9s var(--ease) var(--delay, 0ms);
}

.js-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes live-pulse {
  0% {
    opacity: 0.8;
    transform: scale(0.65);
  }
  80%,
  100% {
    opacity: 0;
    transform: scale(1.65);
  }
}

@keyframes radar-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes blip {
  0% {
    opacity: 0.7;
    transform: scale(0.5);
  }
  35% {
    opacity: 0;
    transform: scale(1.9);
  }
  100% {
    opacity: 0;
    transform: scale(1.9);
  }
}

@keyframes status-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}

@keyframes ticker-move {
  to {
    transform: translateX(-50%);
  }
}

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media (max-width: 1080px) {
  .desktop-nav {
    gap: 24px;
  }

  .hero {
    padding-top: calc(var(--header-height) + 64px);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.7fr);
  }

  .hero-title {
    font-size: clamp(50px, 6.4vw, 76px);
  }

  .hero-visual {
    min-height: 500px;
  }

  .radar {
    width: min(42vw, 440px);
  }

  .station-card {
    width: 260px;
  }

  .work-card {
    grid-column: span 6;
  }

  .work-card.is-featured {
    grid-column: span 12;
  }

  .work-card:nth-child(4) {
    grid-column: span 12;
  }

  .log-entry {
    grid-template-columns: 150px minmax(0, 1fr) 130px;
    gap: 30px;
  }

  .moments-title {
    font-size: clamp(50px, 6.6vw, 88px);
  }

  .moment-entry {
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 30px;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 68px;
  }

  .desktop-nav,
  .clock {
    display: none;
  }

  .menu-toggle,
  .mobile-menu {
    display: grid;
  }

  .mobile-menu {
    display: flex;
  }

  .brand-sub {
    display: none;
  }

  .menu-open .mobile-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 74px);
    padding-bottom: 150px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 62px;
  }

  .hero-title {
    font-size: clamp(58px, 12vw, 92px);
  }

  .hero-lead {
    max-width: 620px;
  }

  .hero-visual {
    min-height: 470px;
    width: min(100%, 560px);
    margin: 0 auto;
  }

  .radar {
    width: min(82vw, 450px);
  }

  .station-card {
    right: 2%;
    bottom: -20px;
  }

  .section-head-split {
    display: block;
  }

  .section-intro {
    max-width: 520px;
    margin-top: 24px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .field-notes {
    max-width: 560px;
  }

  .work-card.is-featured {
    grid-template-columns: 1fr;
  }

  .is-featured .work-media {
    min-height: 320px;
    aspect-ratio: 16 / 10;
  }

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

  .log-entry {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 16px 30px;
  }

  .log-action {
    grid-column: 2;
    justify-self: start;
    margin-top: -4px;
  }

  .qsl-callout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .qsl-callout::after {
    right: -8px;
    bottom: -34px;
    opacity: 0.3;
  }

  .moments-hero {
    padding-top: calc(var(--header-height) + 74px);
    padding-bottom: 72px;
  }

  .moments-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
  }

  .moments-now {
    justify-self: start;
    max-width: 520px;
  }

  .moment-entry {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 24px;
  }

  .moments-contact-row {
    align-items: flex-start;
  }

  .now-card {
    min-height: 240px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .contact-73 {
    display: none;
  }
}

@media (max-width: 640px) {
  .header-tools {
    gap: 9px;
  }

  .hero {
    padding-top: calc(var(--header-height) + 58px);
    padding-bottom: 138px;
  }

  .hero::before {
    background-size: 64px 64px;
  }

  .hero-title {
    font-size: clamp(48px, 14.6vw, 74px);
    letter-spacing: -0.07em;
  }

  .title-tail::before {
    content: "";
    display: block;
  }

  .hero-lead {
    margin-top: 24px;
    font-size: 14px;
  }

  .hero-actions {
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 30px;
  }

  .hero-meta {
    margin-top: 40px;
    gap: 8px 20px;
  }

  .hero-meta span:not(:last-child)::after {
    right: -13px;
  }

  .hero-visual {
    min-height: 390px;
  }

  .radar {
    width: min(88vw, 370px);
  }

  .station-card {
    right: 50%;
    bottom: -32px;
    width: min(86vw, 290px);
    transform: translateX(50%) rotate(1deg);
  }

  .hero-visual:hover .station-card {
    transform: translateX(50%) rotate(0) translateY(-3px);
  }

  .wave-labels span:nth-child(2) {
    display: none;
  }

  .section {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .section-head {
    margin-bottom: 42px;
  }

  .section-title {
    font-size: clamp(34px, 9.6vw, 48px);
  }

  .about-copy p:first-child {
    font-size: 21px;
  }

  .work-grid {
    gap: 18px;
  }

  .work-card,
  .work-card:nth-child(4) {
    grid-column: span 12;
  }

  .work-card.is-featured {
    min-height: 0;
  }

  .is-featured .work-media {
    min-height: 230px;
    aspect-ratio: 4 / 3;
  }

  .work-body,
  .is-featured .work-body {
    padding: 25px 22px 24px;
  }

  .is-featured .work-index {
    margin-bottom: 28px;
  }

  .work-visual,
  .work-media {
    min-height: 220px;
  }

  .log-entry {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 26px 0;
  }

  .log-date {
    padding-top: 0;
  }

  .log-main h3 {
    font-size: 27px;
  }

  .log-action {
    grid-column: 1;
    margin-top: 4px;
  }

  .qsl-callout {
    gap: 22px;
    padding: 26px 22px;
  }

  .qsl-callout::after {
    right: -12px;
    bottom: -28px;
    font-size: 108px;
    opacity: 0.24;
  }

  .qsl-callout-actions {
    flex-wrap: wrap;
    gap: 14px 20px;
  }

  .moments-hero {
    padding-top: calc(var(--header-height) + 56px);
    padding-bottom: 58px;
  }

  .moments-title {
    font-size: clamp(44px, 12.6vw, 68px);
  }

  .moments-lead {
    margin-top: 22px;
    font-size: 14px;
  }

  .moments-now {
    max-width: none;
    padding: 20px;
  }

  .moments-now-time {
    font-size: 54px;
  }

  .moments-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .moment-filter-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .moment-entry {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 24px 0;
  }

  .moment-time {
    flex-direction: row;
    gap: 12px;
  }

  .moment-body p {
    font-size: 14px;
  }

  .moments-contact-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .poster-mini {
    inset: 23px 44px;
  }

  .contact-heading-row {
    padding-bottom: 40px;
  }

  .contact-title {
    font-size: clamp(58px, 17vw, 86px);
  }

  .contact-copy > p:first-child {
    font-size: 14px;
  }

  .contact-link-value {
    font-size: 15px;
  }

  .lightbox-stage {
    padding: 48px 12px 18px;
  }

  .lightbox-figure img {
    max-height: calc(100svh - 198px);
  }

  .lightbox-nav {
    top: auto;
    bottom: 18px;
    width: 38px;
    height: 38px;
    transform: none;
  }

  .lightbox-prev {
    left: 16px;
  }

  .lightbox-next {
    right: 16px;
  }

  .lightbox-caption {
    width: calc(100% - 86px);
    grid-template-columns: 1fr;
    padding-top: 12px;
  }

  .lightbox-caption #lightboxCount {
    display: none;
  }

  .site-footer {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px 22px;
    padding: 22px var(--gutter);
  }

  .footer-note {
    order: 3;
    width: 100%;
    opacity: 0.7;
  }
}

@media (max-width: 380px) {
  .hero-title {
    font-size: 46px;
  }

  .hero-meta {
    font-size: 8px;
  }

  .station-card {
    width: 250px;
  }

  .station-callsign {
    font-size: 34px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .js-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
