/* =========================================================
   BA4KWH · Personal Radio Log
   No external fonts or libraries
   ========================================================= */

:root {
  --paper: #f0ece2;
  --paper-rgb: 240, 236, 226;
  --paper-deep: #e6e0d2;
  --card: #f8f5ed;
  --ink: #13191e;
  --ink-soft: #39434a;
  --muted: #6d7373;
  --line: rgba(19, 25, 30, 0.15);
  --line-strong: rgba(19, 25, 30, 0.34);
  --accent: #df5a32;
  --accent-text: #b34425;
  --signal: #77b587;
  --navy: #0a131b;
  --navy-soft: #12202b;
  --night: #081118;
  --cream: #f2eee5;
  --shadow: 0 30px 80px rgba(9, 17, 24, 0.18);
  --font-serif: "Noto Serif SC", "Songti SC", "STSong", SimSun, serif;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --font-display: "Arial Black", "Noto Sans SC", "Helvetica Neue", sans-serif;
  --font-mono: "Cascadia Mono", "SFMono-Regular", Consolas, "Courier New", monospace;
  --container: 1280px;
  --gutter: clamp(20px, 4.5vw, 64px);
  --header-h: 86px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0d1216;
  --paper-rgb: 13, 18, 22;
  --paper-deep: #141b20;
  --card: #171e23;
  --ink: #efeae1;
  --ink-soft: #c8c4ba;
  --muted: #92958f;
  --line: rgba(239, 234, 225, 0.14);
  --line-strong: rgba(239, 234, 225, 0.32);
  --accent: #f4774f;
  --accent-text: #ff8b65;
  --signal: #8bc99b;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.46);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.4s ease, color 0.4s ease;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

::selection {
  background: var(--accent);
  color: #10171c;
}

h1,
h2,
h3,
p,
dl,
dd,
blockquote,
figure,
figcaption,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

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

button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

svg {
  display: block;
}

img {
  max-width: 100%;
}

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

::-webkit-scrollbar {
  width: 11px;
}

::-webkit-scrollbar-track {
  background: var(--paper);
}

::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border: 3px solid var(--paper);
  border-radius: 20px;
}

/* ---------- Helpers ---------- */

.container {
  width: min(calc(100% - var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.section {
  padding: clamp(88px, 10vw, 148px) 0;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.section-kicker > span {
  color: var(--accent-text);
}

.section-heading {
  margin-bottom: clamp(40px, 5.5vw, 72px);
}

.heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-top: 22px;
}

.heading-row h2 {
  max-width: 920px;
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4.8vw, 4.5rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.045em;
}

.section-note {
  flex-shrink: 0;
  padding-bottom: 0.4em;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8.5px;
  line-height: 1.9;
  letter-spacing: 0.12em;
  text-align: right;
  text-transform: uppercase;
}

.status-dot {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 3px rgba(119, 181, 135, 0.14);
}

.mobile-break {
  display: none;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2001;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  transform: translateY(-160%);
  transition: transform 0.25s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

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

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  height: 2px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  color: var(--cream);
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(var(--paper-rgb), 0.86);
  border-bottom-color: var(--line);
  color: var(--ink);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

body.menu-open .site-header {
  background: var(--paper);
  border-bottom-color: var(--line);
  color: var(--ink);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border: 1px solid rgba(242, 238, 229, 0.38);
  border-radius: 50%;
  color: var(--cream);
  transition: border-color 0.3s ease, color 0.3s ease, transform 0.45s var(--ease);
}

.brand:hover .brand-mark {
  transform: rotate(-10deg);
  color: var(--accent);
}

.site-header.is-scrolled .brand-mark,
body.menu-open .brand-mark {
  border-color: var(--line);
  color: var(--accent-text);
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.06em;
}

.brand-sub {
  margin-top: 4px;
  color: rgba(242, 238, 229, 0.52);
  font-family: var(--font-sans);
  font-size: 7.5px;
  font-weight: 400;
  letter-spacing: 0.12em;
  transition: color 0.3s ease;
}

.site-header.is-scrolled .brand-sub,
body.menu-open .brand-sub {
  color: var(--muted);
}

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

.desktop-nav a {
  position: relative;
  padding: 9px 0;
  color: rgba(242, 238, 229, 0.6);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  transition: color 0.25s ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateX(-50%) scale(0);
  transition: transform 0.3s var(--ease);
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--cream);
}

.site-header.is-scrolled .desktop-nav a {
  color: var(--muted);
}

.site-header.is-scrolled .desktop-nav a:hover,
.site-header.is-scrolled .desktop-nav a.is-active {
  color: var(--ink);
}

.desktop-nav a.is-active::after {
  transform: translateX(-50%) scale(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(242, 238, 229, 0.3);
  border-radius: 50%;
  color: var(--cream);
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.icon-button:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: rotate(-8deg);
}

.site-header.is-scrolled .icon-button,
body.menu-open .icon-button {
  border-color: var(--line);
  color: var(--ink);
}

.site-header.is-scrolled .icon-button:hover,
body.menu-open .icon-button:hover {
  border-color: var(--accent);
  color: var(--accent-text);
}

.icon-sun {
  display: none;
}

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

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

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 17px;
  border: 1px solid rgba(242, 238, 229, 0.34);
  border-radius: 999px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  transition: background-color 0.28s ease, color 0.28s ease, border-color 0.28s ease;
}

.header-cta:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #101418;
}

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

.site-header.is-scrolled .header-cta:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #101418;
}

.header-cta svg {
  transition: transform 0.3s var(--ease);
}

.header-cta:hover svg {
  transform: translate(2px, -2px);
}

.menu-toggle {
  position: relative;
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(242, 238, 229, 0.34);
  border-radius: 50%;
  color: var(--cream);
}

.site-header.is-scrolled .menu-toggle,
body.menu-open .menu-toggle {
  border-color: var(--line);
  color: var(--ink);
}

.menu-toggle span {
  position: absolute;
  left: 50%;
  width: 16px;
  height: 1px;
  background: currentColor;
  transform: translateX(-50%);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.menu-toggle span:first-child { top: 16px; }
.menu-toggle span:last-child { top: 23px; }

.menu-toggle[aria-expanded="true"] span:first-child {
  top: 19px;
  transform: translateX(-50%) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  top: 19px;
  transform: translateX(-50%) rotate(-45deg);
}

/* ---------- Mobile menu ---------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 20px) var(--gutter) 28px;
  background: var(--paper);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-102%);
  transition: transform 0.55s var(--ease), opacity 0.35s ease, visibility 0.55s;
}

.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu nav {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
}

.mobile-menu nav a {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: baseline;
  gap: 10px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-serif);
  font-size: clamp(2rem, 9vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.mobile-menu nav a > span {
  color: var(--accent-text);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.mobile-menu nav a > em {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mobile-menu-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

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

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  padding-top: var(--header-h);
  background: var(--navy);
  color: var(--cream);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(242, 238, 229, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 238, 229, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 86%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 86%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -8%;
  width: 58vw;
  max-width: 900px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223, 90, 50, 0.2), transparent 64%);
  filter: blur(12px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 1.15fr) minmax(350px, 0.85fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
  width: min(calc(100% - var(--gutter) * 2), var(--container));
  margin-inline: auto;
  padding: clamp(26px, 4vw, 54px) 0 24px;
}

.hero-copy {
  min-width: 0;
}

.hero-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  color: rgba(242, 238, 229, 0.62);
  font-family: var(--font-mono);
  font-size: 8.5px;
  line-height: 1.5;
  letter-spacing: 0.13em;
  animation: fadeUp 0.8s 0.08s var(--ease) both;
}

.status-sep {
  color: rgba(242, 238, 229, 0.22);
}

.hero-de {
  margin-top: clamp(30px, 4.5vw, 52px);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.32em;
  animation: fadeUp 0.8s 0.16s var(--ease) both;
}

.hero-call {
  margin-top: 5px;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: clamp(4.4rem, 9.4vw, 9.4rem);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.075em;
  animation: fadeUp 0.95s 0.2s var(--ease) both;
}

.call-accent {
  color: var(--accent);
}

.hero-name {
  margin-top: 18px;
  color: rgba(242, 238, 229, 0.88);
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  animation: fadeUp 0.9s 0.3s var(--ease) both;
}

.hero-name span {
  margin-left: 10px;
  color: rgba(242, 238, 229, 0.4);
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 400;
  letter-spacing: 0.14em;
}

.hero-tagline {
  margin-top: clamp(24px, 3vw, 34px);
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 2.5vw, 2.35rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.03em;
  animation: fadeUp 0.9s 0.38s var(--ease) both;
}

.hero-description {
  max-width: 530px;
  margin-top: 17px;
  color: rgba(242, 238, 229, 0.55);
  font-size: 13px;
  line-height: 1.95;
  animation: fadeUp 0.9s 0.46s var(--ease) both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
  margin-top: 28px;
  animation: fadeUp 0.9s 0.54s var(--ease) both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: background-color 0.28s ease, color 0.28s ease, border-color 0.28s ease, transform 0.3s var(--ease);
}

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

.btn-primary {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #101418;
}

.btn-primary:hover {
  border-color: #f2eee5;
  background: #f2eee5;
  color: #101418;
}

.btn-primary svg {
  transition: transform 0.3s var(--ease);
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

.btn-ghost {
  border: 1px solid rgba(242, 238, 229, 0.32);
  color: var(--cream);
}

.btn-ghost:hover {
  border-color: rgba(242, 238, 229, 0.7);
  background: rgba(242, 238, 229, 0.07);
}

.btn-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px clamp(24px, 3vw, 42px);
  max-width: 620px;
  margin-top: 37px;
  padding-top: 15px;
  border-top: 1px solid rgba(242, 238, 229, 0.15);
  animation: fadeUp 0.9s 0.62s var(--ease) both;
}

.hero-meta li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-meta span {
  color: rgba(242, 238, 229, 0.35);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.14em;
}

.hero-meta strong {
  color: rgba(242, 238, 229, 0.86);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* Hero receiver panel */

.hero-panel {
  position: relative;
  z-index: 2;
  width: min(100%, 424px);
  justify-self: end;
  padding-bottom: 44px;
  animation: heroPanel 1.15s 0.34s var(--ease) both;
}

.rx-card {
  position: relative;
  z-index: 2;
  padding: 17px;
  border: 1px solid rgba(242, 238, 229, 0.16);
  border-radius: 7px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.05), transparent 40%),
    linear-gradient(155deg, #172630 0%, #101c25 62%, #0b141b 100%);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.4);
  transform: rotate(-1.2deg);
  transition: transform 0.65s var(--ease);
}

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

.rx-card::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(242, 238, 229, 0.055);
  border-radius: 3px;
  pointer-events: none;
}

.rx-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 2px 12px;
  color: rgba(242, 238, 229, 0.44);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.12em;
}

.rx-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--signal);
}

.rx-status i,
.contact-card-led i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

.rx-screen {
  position: relative;
  overflow: hidden;
  padding: 16px;
  border: 1px solid rgba(139, 201, 155, 0.2);
  border-radius: 3px;
  background:
    radial-gradient(90% 55% at 50% 0%, rgba(87, 142, 99, 0.12), transparent 75%),
    #06110e;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.36);
}

.rx-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 2px,
    rgba(0, 0, 0, 0.16) 2px 3px
  );
  pointer-events: none;
  opacity: 0.55;
}

.rx-screen-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(139, 201, 155, 0.55);
  font-family: var(--font-mono);
  font-size: 5.8px;
  letter-spacing: 0.1em;
}

.rx-frequency {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 10px;
  color: #e7efdc;
  font-family: var(--font-mono);
  font-size: clamp(2.25rem, 3.7vw, 3.05rem);
  line-height: 1;
  letter-spacing: -0.055em;
  text-shadow: 0 0 18px rgba(139, 201, 155, 0.2);
}

.rx-frequency em {
  color: rgba(139, 201, 155, 0.58);
  font-size: 8px;
  font-style: normal;
  letter-spacing: 0.08em;
}

.rx-mode {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 7px;
  color: rgba(139, 201, 155, 0.45);
  font-family: var(--font-mono);
  font-size: 5.8px;
  letter-spacing: 0.12em;
}

.rx-mode strong {
  color: rgba(231, 239, 220, 0.8);
  font-size: 7px;
  font-weight: 500;
}

.rx-wave {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 54px;
  margin-top: 10px;
  padding: 3px 0;
  border-top: 1px solid rgba(139, 201, 155, 0.1);
  border-bottom: 1px solid rgba(139, 201, 155, 0.1);
}

.rx-wave span {
  width: 100%;
  height: var(--h);
  min-height: 2px;
  border-radius: 1px;
  background: rgba(139, 201, 155, 0.64);
  transform-origin: center;
  animation: wave 2.8s ease-in-out infinite alternate;
}

.rx-wave span:nth-child(2n) { animation-delay: -0.7s; }
.rx-wave span:nth-child(3n) { animation-delay: -1.4s; }
.rx-wave span:nth-child(5n) { animation-delay: -2s; }
.rx-wave span:nth-child(10),
.rx-wave span:nth-child(20),
.rx-wave span:nth-child(30) {
  background: var(--accent);
}

.rx-scale {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.rx-scale-label {
  color: rgba(139, 201, 155, 0.38);
  font-family: var(--font-mono);
  font-size: 5px;
  letter-spacing: 0.05em;
}

.rx-scale-line {
  position: relative;
  flex: 1;
  height: 7px;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(139, 201, 155, 0.28) 0 1px,
    transparent 1px 8.33%
  );
  background-position: bottom;
  background-size: 100% 5px;
  background-repeat: no-repeat;
  border-bottom: 1px solid rgba(139, 201, 155, 0.16);
}

.rx-scale-line i {
  position: absolute;
  left: 64%;
  bottom: -2px;
  width: 2px;
  height: 10px;
  background: var(--accent);
  box-shadow: 0 0 7px var(--accent);
}

.rx-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 13px;
  padding: 12px 2px 0;
  border-top: 1px solid rgba(242, 238, 229, 0.11);
}

.rx-bottom > div:not(.rx-73) {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rx-bottom span {
  color: rgba(242, 238, 229, 0.34);
  font-family: var(--font-mono);
  font-size: 5.5px;
  letter-spacing: 0.13em;
}

.rx-bottom strong {
  color: rgba(242, 238, 229, 0.8);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.rx-73 {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(223, 90, 50, 0.55);
  border-radius: 50%;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.02em;
}

.award-chip {
  position: absolute;
  z-index: 3;
  left: -32px;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 10px;
  width: 190px;
  padding: 12px 14px;
  border: 1px solid rgba(19, 25, 30, 0.16);
  border-radius: 3px;
  background: #f2eee5;
  color: #13191e;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
  transform: rotate(2.6deg);
  transition: transform 0.5s var(--ease);
}

.award-chip:hover {
  transform: rotate(0deg) translateY(-3px);
}

.award-chip-label {
  grid-column: 1 / -1;
  color: #7b7368;
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: 0.13em;
}

.award-chip strong {
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.award-chip-arrow {
  color: var(--accent-text);
  font-size: 12px;
  grid-row: 2;
  align-self: center;
  transition: transform 0.3s var(--ease);
}

.award-chip:hover .award-chip-arrow {
  transform: translate(2px, -2px);
}

.hero-stamp {
  position: absolute;
  z-index: 4;
  top: -25px;
  right: -27px;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--accent);
  color: #101418;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.26);
  animation: spin 34s linear infinite;
}

.hero-stamp svg {
  position: absolute;
  inset: 11px;
  width: calc(100% - 22px);
  height: calc(100% - 22px);
  overflow: visible;
}

.hero-stamp text {
  fill: currentColor;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 1px;
}

.hero-stamp > span {
  font-size: 24px;
  line-height: 1;
}

.hero-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(calc(100% - var(--gutter) * 2), var(--container));
  margin-inline: auto;
  padding: 16px 0 25px;
  border-top: 1px solid rgba(242, 238, 229, 0.1);
  animation: fadeUp 0.9s 0.8s var(--ease) both;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(242, 238, 229, 0.52);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.scroll-cue:hover {
  color: var(--cream);
}

.scroll-line {
  position: relative;
  width: 42px;
  height: 1px;
  overflow: hidden;
  background: rgba(242, 238, 229, 0.22);
}

.scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(-100%);
  animation: scrollLine 2.6s ease-in-out infinite;
}

.scroll-en {
  color: rgba(242, 238, 229, 0.24);
}

.hero-foot-code {
  color: rgba(242, 238, 229, 0.34);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.12em;
}

.hero-foot-code span {
  margin: 0 5px;
  color: var(--accent);
}

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden;
  padding: 14px 0;
  background: var(--accent);
  color: #101418;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

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

.marquee-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: clamp(24px, 3vw, 44px);
  padding-right: clamp(24px, 3vw, 44px);
}

.marquee-group span {
  font-family: var(--font-mono);
  font-size: clamp(11px, 1.1vw, 14px);
  font-weight: 600;
  letter-spacing: 0.14em;
}

.marquee-group i {
  color: rgba(16, 20, 24, 0.55);
  font-style: normal;
  font-size: 12px;
}

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

.about {
  background: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.88fr);
  gap: clamp(48px, 7vw, 108px);
  align-items: start;
}

.about-lead {
  max-width: 680px;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: -0.015em;
}

.about-copy {
  display: grid;
  gap: 14px;
  max-width: 620px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
}

.about-quote {
  margin-top: 30px;
  padding: 3px 0 3px 20px;
  border-left: 2px solid var(--accent);
  color: var(--ink-soft);
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.8;
}

.about-signature {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 27px;
}

.about-signature > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--accent-text);
  font-family: var(--font-mono);
  font-size: 11px;
}

.about-signature p {
  color: var(--ink-soft);
  font-family: var(--font-serif);
  font-size: 13px;
  line-height: 1.55;
}

.about-signature em {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  font-style: normal;
  letter-spacing: 0.12em;
}

.operator-card {
  position: relative;
  overflow: hidden;
  padding: 26px 27px 24px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background:
    radial-gradient(95% 80% at 100% 100%, rgba(223, 90, 50, 0.08), transparent 64%),
    var(--card);
  box-shadow: 0 20px 50px rgba(33, 29, 21, 0.07);
  transform: rotate(1.4deg);
  transition: transform 0.6s var(--ease), box-shadow 0.4s ease;
}

html[data-theme="dark"] .operator-card {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

.operator-card:hover {
  transform: rotate(0.3deg) translateY(-3px);
  box-shadow: var(--shadow);
}

.operator-card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--accent);
}

.operator-card::after {
  content: "";
  position: absolute;
  right: -75px;
  bottom: -75px;
  width: 210px;
  height: 210px;
  border: 1px solid var(--line);
  border-radius: 50%;
  pointer-events: none;
}

.op-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.13em;
}

.op-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--signal);
}

.op-status i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 7px currentColor;
}

.op-call {
  margin-top: 22px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: clamp(2.3rem, 3.7vw, 3.15rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.055em;
}

.op-name {
  margin-top: 9px;
  color: var(--ink-soft);
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.06em;
}

.op-name span {
  margin-left: 7px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.12em;
}

.op-divider {
  height: 1px;
  margin: 21px 0 16px;
  background: var(--line);
}

.op-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 20px;
}

.op-facts > div {
  min-width: 0;
}

.op-facts dt {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.14em;
}

.op-facts dd {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 11.5px;
  line-height: 1.55;
}

.op-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 5.5px;
  letter-spacing: 0.11em;
}

.op-73 {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #101418;
  font-size: 8px;
}

.op-barcode {
  flex: 1;
  height: 18px;
  background: repeating-linear-gradient(
    90deg,
    var(--ink-soft) 0 1px,
    transparent 1px 3px,
    var(--ink-soft) 3px 5px,
    transparent 5px 8px
  );
  opacity: 0.45;
}

.radio-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(50px, 7vw, 88px);
  border-top: 1px solid var(--line);
}

.radio-notes article {
  padding: 25px clamp(18px, 3vw, 38px) 0 0;
}

.radio-notes article + article {
  padding-left: clamp(18px, 3vw, 38px);
  border-left: 1px solid var(--line);
}

.note-num {
  display: block;
  margin-bottom: 16px;
  color: var(--accent-text);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.radio-notes h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 1.55vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.radio-notes h3 em {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.55em;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.06em;
}

.radio-notes p {
  max-width: 290px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.85;
}

/* ---------- ARISS ---------- */

.ariss {
  --ink: #f2eee5;
  --ink-soft: #d2cdc2;
  --muted: rgba(242, 238, 229, 0.55);
  --line: rgba(242, 238, 229, 0.14);
  --line-strong: rgba(242, 238, 229, 0.34);
  --accent: #ef7656;
  --accent-text: #ff8b65;
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: var(--ink);
}

.ariss::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 24%, rgba(242, 238, 229, 0.38) 0 1px, transparent 1.5px),
    radial-gradient(circle at 74% 18%, rgba(242, 238, 229, 0.24) 0 1px, transparent 1.5px),
    radial-gradient(circle at 62% 72%, rgba(242, 238, 229, 0.28) 0 1px, transparent 1.5px),
    radial-gradient(circle at 88% 54%, rgba(242, 238, 229, 0.2) 0 1px, transparent 1.5px),
    radial-gradient(circle at 38% 84%, rgba(242, 238, 229, 0.18) 0 1px, transparent 1.5px);
  background-size: 320px 320px, 410px 410px, 290px 290px, 520px 520px, 380px 380px;
  opacity: 0.65;
  pointer-events: none;
}

.ariss::after {
  content: "";
  position: absolute;
  top: 20%;
  right: -10%;
  width: 48vw;
  max-width: 720px;
  aspect-ratio: 1;
  border: 1px solid rgba(239, 118, 86, 0.15);
  border-radius: 50%;
  pointer-events: none;
}

.ariss .container {
  position: relative;
  z-index: 1;
}

.ariss-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(48px, 7vw, 100px);
  align-items: start;
}

.ariss-visual {
  position: relative;
  max-width: 430px;
}

.certificate-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 9px;
  border: 1px solid rgba(242, 238, 229, 0.2);
  border-radius: 4px;
  background: #f2eee5;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  transform: rotate(-1.6deg);
  transition: transform 0.65s var(--ease), box-shadow 0.4s ease;
  cursor: zoom-in;
}

.certificate-card:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.55);
}

.certificate-card img {
  width: 100%;
  height: auto;
  border-radius: 1px;
}

.certificate-caption {
  display: block;
  margin-top: 13px;
  color: rgba(242, 238, 229, 0.4);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.12em;
  text-align: right;
}

.image-zoom {
  position: absolute;
  right: 17px;
  bottom: 17px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(242, 238, 229, 0.93);
  color: #101418;
  font-family: var(--font-sans);
  font-size: 8px;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.4s var(--ease);
  pointer-events: none;
}

.certificate-card:hover .image-zoom,
.qsl-image:hover .image-zoom,
.certificate-card:focus-visible .image-zoom,
.qsl-image:focus-visible .image-zoom {
  opacity: 1;
  transform: translateY(0);
}

.ariss-copy {
  padding-top: 8px;
}

.ariss-date {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.16em;
}

.ariss-copy h3 {
  margin-top: 14px;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.04em;
}

.ariss-summary {
  max-width: 620px;
  margin-top: 23px;
  color: rgba(242, 238, 229, 0.82);
  font-size: 14px;
  line-height: 1.95;
}

.ariss-note {
  max-width: 600px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.95;
}

.ariss-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 30px;
  margin-top: 29px;
  border-top: 1px solid var(--line);
}

.ariss-facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.ariss-facts dt {
  color: rgba(242, 238, 229, 0.38);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.13em;
}

.ariss-facts dd {
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 8px;
  text-align: right;
  letter-spacing: 0.03em;
}

.ariss-copy blockquote {
  margin-top: 28px;
  padding-left: 18px;
  border-left: 1px solid var(--accent);
  color: rgba(242, 238, 229, 0.62);
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.8;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 25px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink-soft);
  font-size: 11.5px;
  letter-spacing: 0.03em;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.text-link span {
  color: var(--accent);
  transition: transform 0.3s var(--ease);
}

.text-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.text-link:hover span {
  transform: translate(2px, -2px);
}

/* ---------- QSL gallery ---------- */

.qsl {
  background: var(--paper);
}

.qsl-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(24px, 3.4vw, 44px);
  align-items: start;
}

.qsl-item--narrow {
  margin-top: clamp(38px, 6vw, 82px);
}

.qsl-item--narrow .qsl-index {
  display: none;
}

.qsl-image {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 3px;
  background: var(--paper-deep);
  cursor: zoom-in;
}

.qsl-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.85s var(--ease), filter 0.5s ease;
}

.qsl-image:hover img {
  transform: scale(1.025);
  filter: saturate(1.04);
}

.qsl-index {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 9px;
  border-radius: 2px;
  background: rgba(10, 19, 27, 0.82);
  color: #f2eee5;
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.13em;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.qsl-item figcaption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding-top: 13px;
}

.qsl-kicker {
  display: block;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.12em;
}

.qsl-item h3 {
  margin-top: 4px;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 1.65vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.qsl-item figcaption p {
  max-width: 270px;
  padding-top: 2px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
  text-align: right;
}

.qsl-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: clamp(48px, 6vw, 76px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.qsl-note p {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.qsl-note span {
  flex-shrink: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.1em;
  text-align: right;
}

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

.contact {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 9vw, 126px) 0 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.contact-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.contact-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.1em;
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  gap: clamp(42px, 6vw, 88px);
  align-items: end;
  margin-top: clamp(38px, 5.5vw, 68px);
}

.contact-heading h2 {
  font-family: var(--font-serif);
  font-size: clamp(3.3rem, 7.5vw, 7.2rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.contact-heading h2 span {
  color: var(--accent);
}

.contact-heading p {
  margin-top: 22px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.95;
}

.contact-card {
  position: relative;
  z-index: 2;
  padding: 26px 27px 20px;
  border-radius: 4px;
  background:
    radial-gradient(100% 85% at 100% 0%, rgba(239, 118, 86, 0.18), transparent 58%),
    #101820;
  color: #f2eee5;
  box-shadow: 0 28px 70px rgba(9, 17, 24, 0.23);
  transform: rotate(-1deg);
  transition: transform 0.6s var(--ease);
}

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

.contact-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(242, 238, 229, 0.4);
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: 0.13em;
}

.contact-card-led {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--signal);
}

.contact-call {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: clamp(2.2rem, 3.3vw, 2.85rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.055em;
}

.contact-card-copy {
  max-width: 390px;
  margin-top: 14px;
  color: rgba(242, 238, 229, 0.55);
  font-size: 11.5px;
  line-height: 1.85;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 21px;
}

.contact-actions .btn {
  height: 42px;
  padding: 0 16px;
  font-size: 10.5px;
}

.btn-outline-light {
  border: 1px solid rgba(242, 238, 229, 0.28);
  color: #f2eee5;
}

.btn-outline-light:hover {
  border-color: var(--accent);
  background: rgba(239, 118, 86, 0.12);
  color: var(--accent);
}

.contact-card-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 23px;
  padding-top: 12px;
  border-top: 1px solid rgba(242, 238, 229, 0.14);
  color: rgba(242, 238, 229, 0.4);
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: 0.11em;
}

.contact-bottom {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: clamp(48px, 6vw, 76px);
  padding: 20px 0 30px;
  border-top: 1px solid var(--line);
}

.contact-bottom > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact-bottom span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.12em;
}

.contact-bottom p {
  color: var(--ink-soft);
  font-size: 11px;
}

.contact-73 {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: -0.12em;
  color: var(--line-strong);
  font-family: var(--font-display);
  font-size: clamp(9rem, 14vw, 14rem);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.1em;
  opacity: 0.34;
  pointer-events: none;
  user-select: none;
}

/* ---------- Footer ---------- */

.footer {
  padding: 21px 0;
  background: #080c0f;
  color: rgba(242, 238, 229, 0.48);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 7px;
  line-height: 1.7;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-center {
  color: rgba(242, 238, 229, 0.28);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.footer-right > span {
  color: rgba(242, 238, 229, 0.3);
}

.footer a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(242, 238, 229, 0.8);
  transition: color 0.25s ease;
}

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

/* ---------- Lightbox ---------- */

.lightbox {
  width: min(1120px, calc(100vw - 36px));
  max-width: none;
  max-height: calc(100vh - 36px);
  max-height: calc(100svh - 36px);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(5, 8, 10, 0.82);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}

.lightbox[open] {
  animation: dialogIn 0.4s var(--ease) both;
}

.lightbox-shell {
  position: relative;
  padding: 10px;
  border-radius: 5px;
  background: var(--paper);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.45);
}

.lightbox img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 110px);
  max-height: calc(100svh - 110px);
  margin-inline: auto;
  border-radius: 2px;
}

.lightbox-caption {
  padding: 11px 4px 4px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.08em;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid rgba(242, 238, 229, 0.24);
  border-radius: 999px;
  background: rgba(10, 19, 27, 0.82);
  color: #f2eee5;
  font-size: 9px;
  letter-spacing: 0.04em;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.lightbox-close span {
  font-size: 14px;
  line-height: 1;
}

.lightbox-close:hover {
  background: var(--accent);
  color: #101418;
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 2000;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
  letter-spacing: 0.03em;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
  transition: opacity 0.3s ease, transform 0.4s var(--ease);
}

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

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Reveal ---------- */

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}

html.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Keyframes ---------- */

@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.8; }
  70%, 100% { transform: scale(1.9); opacity: 0; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroPanel {
  from { opacity: 0; transform: translateY(26px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes wave {
  from { transform: scaleY(0.62); opacity: 0.65; }
  to { transform: scaleY(1); opacity: 1; }
}

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

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

@keyframes scrollLine {
  0% { transform: translateX(-100%); }
  50%, 100% { transform: translateX(100%); }
}

@keyframes dialogIn {
  from { opacity: 0; transform: translateY(16px) scale(0.988); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 40px;
  }

  .hero-call {
    font-size: clamp(4.2rem, 8.8vw, 7.4rem);
  }

  .hero-panel {
    width: min(100%, 392px);
  }

  .hero-stamp {
    width: 98px;
    height: 98px;
    top: -18px;
    right: -14px;
  }

  .award-chip {
    left: -16px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-h: 76px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero::after {
    top: 34%;
    right: -30%;
    width: 90vw;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 54px;
    padding-top: clamp(36px, 7vw, 62px);
    padding-bottom: 34px;
  }

  .hero-call {
    font-size: clamp(4.2rem, 12vw, 7rem);
  }

  .hero-panel {
    justify-self: center;
    width: min(92vw, 430px);
    margin-top: 2px;
  }

  .hero-stamp {
    width: 108px;
    height: 108px;
    top: -14px;
    right: -16px;
  }

  .award-chip {
    left: -18px;
    bottom: 0;
  }

  .about-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 45px;
  }

  .operator-card {
    max-width: 540px;
  }

  .ariss-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 52px;
  }

  .ariss-visual {
    max-width: 400px;
  }

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

  .qsl-item--narrow {
    margin-top: 52px;
  }

  .qsl-item figcaption {
    display: block;
  }

  .qsl-item figcaption p {
    max-width: 100%;
    margin-top: 7px;
    text-align: left;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
    align-items: start;
  }

  .contact-card {
    max-width: 510px;
  }

  .contact-heading h2 {
    font-size: clamp(3.2rem, 10vw, 5.5rem);
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 22px;
    --header-h: 70px;
  }

  body {
    font-size: 14px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-wordmark {
    font-size: 12px;
  }

  .brand-sub {
    font-size: 6.5px;
  }

  .header-actions {
    gap: 8px;
  }

  .icon-button,
  .menu-toggle {
    width: 36px;
    height: 36px;
  }

  .menu-toggle span:first-child { top: 14px; }
  .menu-toggle span:last-child { top: 21px; }
  .menu-toggle[aria-expanded="true"] span:first-child,
  .menu-toggle[aria-expanded="true"] span:last-child { top: 17px; }

  .section {
    padding: 80px 0;
  }

  .heading-row {
    display: block;
    margin-top: 18px;
  }

  .heading-row h2 {
    font-size: clamp(2.2rem, 9vw, 3.2rem);
  }

  .section-note {
    margin-top: 15px;
    padding-bottom: 0;
    text-align: left;
  }

  .hero-inner {
    padding-top: 30px;
    gap: 42px;
    padding-bottom: 29px;
  }

  .hero-status {
    font-size: 7px;
    gap: 7px;
  }

  .hero-de {
    margin-top: 28px;
  }

  .hero-call {
    font-size: clamp(3.2rem, 16.5vw, 6rem);
    letter-spacing: -0.08em;
  }

  .mobile-break {
    display: inline;
  }

  .hero-name {
    margin-top: 13px;
    font-size: 0.95rem;
  }

  .hero-name span {
    display: block;
    margin: 6px 0 0;
    font-size: 6px;
  }

  .hero-tagline {
    margin-top: 23px;
    font-size: clamp(1.55rem, 7.2vw, 2rem);
  }

  .hero-description {
    margin-top: 14px;
    font-size: 12.5px;
  }

  .hero-actions {
    margin-top: 23px;
  }

  .btn {
    height: 45px;
    padding: 0 18px;
    font-size: 11px;
  }

  .hero-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 24px;
    margin-top: 29px;
  }

  .hero-meta li {
    min-width: 0;
  }

  .hero-panel {
    width: 100%;
    max-width: 390px;
    padding-bottom: 56px;
  }

  .rx-card {
    padding: 13px;
  }

  .rx-screen {
    padding: 13px;
  }

  .rx-frequency {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .rx-wave {
    height: 46px;
    gap: 1.5px;
  }

  .award-chip {
    left: 0;
    bottom: 0;
    width: 174px;
    padding: 10px 12px;
  }

  .award-chip strong {
    font-size: 13px;
  }

  .hero-stamp {
    width: 88px;
    height: 88px;
    top: -16px;
    right: -5px;
  }

  .hero-stamp text {
    font-size: 6.5px;
  }

  .hero-stamp > span {
    font-size: 19px;
  }

  .hero-foot {
    padding: 15px 0 20px;
  }

  .hero-foot-code {
    font-size: 6px;
  }

  .marquee {
    padding: 12px 0;
  }

  .marquee-group span {
    font-size: 10px;
  }

  .about-grid {
    gap: 38px;
  }

  .about-lead {
    font-size: 1.22rem;
  }

  .about-copy {
    margin-top: 19px;
    font-size: 13px;
  }

  .about-quote {
    margin-top: 24px;
    font-size: 1.05rem;
  }

  .operator-card {
    padding: 21px 20px 20px;
  }

  .op-call {
    margin-top: 18px;
    font-size: 2.35rem;
  }

  .radio-notes {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 42px;
  }

  .radio-notes article,
  .radio-notes article + article {
    padding: 20px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .radio-notes article:last-child {
    border-bottom: 0;
  }

  .note-num {
    margin-bottom: 8px;
  }

  .radio-notes p {
    max-width: 100%;
  }

  .ariss-grid {
    gap: 38px;
  }

  .ariss-visual {
    max-width: 100%;
  }

  .certificate-card {
    padding: 7px;
  }

  .ariss-copy h3 {
    font-size: clamp(1.85rem, 8.2vw, 2.5rem);
  }

  .ariss-summary {
    font-size: 12.5px;
  }

  .ariss-facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .ariss-facts > div {
    padding: 9px 0;
  }

  .ariss-copy blockquote {
    font-size: 1rem;
  }

  .qsl-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .qsl-item--narrow {
    margin-top: 0;
  }

  .qsl-item figcaption {
    padding-top: 10px;
  }

  .qsl-note {
    display: block;
    margin-top: 42px;
  }

  .qsl-note span {
    display: block;
    margin-top: 9px;
    text-align: left;
  }

  .contact {
    padding-top: 70px;
  }

  .contact-top {
    align-items: flex-start;
    gap: 14px;
  }

  .contact-status {
    max-width: 190px;
    font-size: 6.2px;
    text-align: right;
  }

  .contact-grid {
    margin-top: 34px;
    gap: 32px;
  }

  .contact-heading h2 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .contact-heading p {
    margin-top: 16px;
    font-size: 11.5px;
  }

  .contact-card {
    padding: 21px 20px 18px;
    transform: none;
  }

  .contact-call {
    font-size: 2.3rem;
  }

  .contact-bottom {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
    margin-top: 38px;
    padding-bottom: 24px;
  }

  .contact-73 {
    right: -2%;
    bottom: -0.08em;
    font-size: 9rem;
    opacity: 0.42;
  }

  .footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 20px;
    font-size: 6.2px;
  }

  .footer-center {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .footer-right {
    gap: 12px;
  }

  .footer-right > span {
    display: none;
  }

  .lightbox {
    width: calc(100vw - 18px);
    max-height: calc(100svh - 18px);
  }

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

  .lightbox-close {
    top: 12px;
    right: 12px;
  }

  .toast {
    bottom: 18px;
    max-width: calc(100vw - 32px);
    white-space: nowrap;
    font-size: 10px;
  }
}

@media (max-width: 410px) {
  .hero-actions .btn {
    width: 100%;
  }

  .hero-stamp {
    width: 78px;
    height: 78px;
  }

  .rx-screen-head span:first-child {
    max-width: 150px;
  }

  .qsl-index {
    top: 10px;
    left: 10px;
  }

  .contact-status {
    display: none;
  }
}

@media (max-width: 350px) {
  .hero-call {
    font-size: 3.2rem;
  }
}

/* ---------- Motion preferences ---------- */

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

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

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

  .marquee-track,
  .hero-stamp,
  .rx-wave span {
    animation: none;
  }
}
