:root {
  color-scheme: dark;
  --bg: #230302;
  --bg-deep: #110101;
  --panel: rgba(73, 8, 5, 0.76);
  --panel-strong: rgba(116, 16, 9, 0.82);
  --line: rgba(255, 202, 109, 0.28);
  --line-strong: rgba(255, 212, 128, 0.72);
  --gold: #ffd479;
  --gold-deep: #b66b24;
  --text: #fff6df;
  --muted: #e9b982;
  --danger: #ff716a;
  --green: #80efb8;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.42);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 48% 0%, rgba(255, 144, 43, 0.42), transparent 28rem),
    radial-gradient(circle at 88% 18%, rgba(229, 35, 18, 0.32), transparent 28rem),
    linear-gradient(145deg, #4f0603 0%, var(--bg) 48%, var(--bg-deep) 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
}

body::before {
  background:
    linear-gradient(90deg, rgba(255, 214, 117, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 214, 117, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 78%, transparent);
}

body::after {
  background:
    radial-gradient(ellipse at 15% 15%, rgba(255, 214, 117, 0.2), transparent 26rem);
  background-size: auto;
  background-position: center top;
  opacity: 0.22;
  mix-blend-mode: screen;
}

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

button {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  padding: 18px clamp(16px, 3vw, 40px) 28px;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(37, 4, 3, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand-seal {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 223, 155, 0.88);
  border-radius: 50%;
  color: #4b1008;
  background: linear-gradient(135deg, #fff0ba, #d69031 48%, #fff1bc);
  box-shadow: 0 0 26px rgba(255, 188, 76, 0.45);
  font-weight: 900;
}

.brand-mark strong {
  display: block;
  font-size: 20px;
  letter-spacing: 0;
}

.brand-mark small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.topnav a,
.gold-button,
.ghost-button {
  min-height: 38px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 212, 121, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.topnav a:hover,
.ghost-button:hover {
  border-color: var(--line-strong);
  background: rgba(255, 212, 121, 0.16);
  transform: translateY(-1px);
}

.gold-button {
  border-color: rgba(255, 232, 166, 0.86);
  color: #481005;
  background: linear-gradient(135deg, #fff0b6, #d9892d 54%, #fff3bd);
  box-shadow: 0 12px 34px rgba(255, 172, 59, 0.26);
  cursor: pointer;
}

.ghost-button {
  cursor: pointer;
}

.app-root {
  max-width: 1240px;
  margin: 28px auto 0;
}

.hero {
  position: relative;
  min-height: 580px;
  padding: clamp(32px, 6vw, 72px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(63, 4, 3, 0.92), rgba(87, 7, 3, 0.66) 45%, rgba(28, 2, 1, 0.72));
  background-size: cover;
  background-position: center top;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: auto -8% 0;
  height: 170px;
  background: radial-gradient(ellipse at center, rgba(255, 208, 113, 0.25), transparent 62%);
  content: "";
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
}

.eyebrow::before {
  width: 34px;
  height: 1px;
  background: var(--gold);
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 700px;
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 88px);
  line-height: 1.02;
  letter-spacing: 0;
  text-shadow: 0 0 36px rgba(255, 183, 64, 0.28);
}

.lead {
  max-width: 620px;
  color: #f9d6a7;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.8;
}

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

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.metric,
.card,
.data-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(111, 13, 7, 0.82), rgba(45, 4, 2, 0.74)),
    radial-gradient(circle at 90% 0%, rgba(255, 211, 114, 0.14), transparent 18rem);
  box-shadow: var(--shadow);
}

.metric {
  padding: 18px;
}

.metric b {
  display: block;
  color: var(--gold);
  font-size: clamp(24px, 3vw, 38px);
}

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

.section {
  margin-top: 24px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(31, 3, 2, 0.64);
  box-shadow: var(--shadow);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.section-header h2 {
  margin-bottom: 8px;
  font-size: clamp(26px, 4vw, 44px);
}

.section-header p {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.75;
}

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

.card {
  position: relative;
  min-height: 188px;
  padding: 22px;
  overflow: hidden;
}

.card::after {
  position: absolute;
  right: -30px;
  bottom: -40px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(255, 216, 133, 0.34);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 209, 118, 0.18), transparent 58%);
  content: "";
}

.card-number {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.card h3 {
  margin-bottom: 12px;
  font-size: 23px;
}

.card p {
  color: var(--muted);
  line-height: 1.72;
}

.card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.page-title {
  display: grid;
  min-height: 300px;
  align-content: end;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(50, 3, 2, 0.9), rgba(98, 10, 5, 0.72));
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.page-title h1 {
  margin-bottom: 12px;
  font-size: clamp(34px, 6vw, 68px);
}

.page-title p {
  max-width: 720px;
  color: #f6c992;
  line-height: 1.72;
}

.page-title-with-visual {
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1.22fr);
  align-items: center;
  align-content: center;
  gap: clamp(22px, 4vw, 48px);
  min-height: 330px;
}

.page-title-copy {
  min-width: 0;
}

.page-title-visual {
  min-height: clamp(220px, 24vw, 300px);
  border: 1px solid rgba(255, 212, 121, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 226, 150, 0.08), rgba(255, 44, 22, 0.08)),
    rgba(38, 10, 10, 0.52);
  box-shadow:
    inset 0 0 48px rgba(255, 232, 170, 0.08),
    0 18px 52px rgba(33, 0, 0, 0.35);
  overflow: hidden;
}

.records-hero-image {
  height: 100%;
  min-height: inherit;
  margin: 0;
}

.records-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.04);
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.home-return-button {
  width: fit-content;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.data-panel {
  margin-top: 16px;
  padding: 20px;
  overflow: hidden;
}

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

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

th,
td {
  padding: 13px 12px;
  border-bottom: 1px solid rgba(255, 214, 133, 0.16);
  text-align: left;
  white-space: nowrap;
}

th {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

td {
  color: #ffe6bd;
}

.is-locked-stock-row td {
  border-bottom-color: rgba(255, 214, 133, 0.22);
  background:
    linear-gradient(90deg, rgba(38, 6, 5, 0.94), rgba(92, 10, 7, 0.68)),
    repeating-linear-gradient(135deg, rgba(255, 212, 121, 0.06) 0 1px, transparent 1px 10px);
}

.is-locked-stock-row .number-cell {
  color: rgba(255, 212, 121, 0.72);
}

.locked-stock-cell {
  color: #ffe9b9;
}

.locked-stock-cell strong {
  margin-right: 10px;
  color: var(--gold);
}

.locked-stock-cell span:last-child {
  color: rgba(255, 230, 189, 0.72);
}

.stock-row-lock-mark {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 18px;
  margin-right: 10px;
  vertical-align: -3px;
  border: 2px solid rgba(255, 212, 121, 0.9);
  border-radius: 5px;
  background: rgba(255, 212, 121, 0.1);
  box-shadow: 0 0 18px rgba(255, 184, 71, 0.24);
}

.stock-row-lock-mark::before {
  position: absolute;
  left: 50%;
  bottom: 13px;
  width: 12px;
  height: 10px;
  border: 2px solid rgba(255, 212, 121, 0.9);
  border-bottom: 0;
  border-radius: 9px 9px 0 0;
  content: "";
  transform: translateX(-50%);
}

.number-cell {
  color: #ff3a28;
  font-weight: 850;
  text-shadow: 0 0 14px rgba(255, 54, 34, 0.28);
}

th.focus-col {
  color: #fff2bf;
  font-size: 13px;
  font-weight: 950;
  background: linear-gradient(180deg, rgba(255, 218, 133, 0.1), rgba(255, 57, 29, 0.08));
}

td.focus-col {
  background: rgba(255, 65, 38, 0.07);
}

th.focus-start,
td.focus-start {
  border-left: 2px solid rgba(255, 55, 34, 0.9);
}

th.focus-end,
td.focus-end {
  border-right: 2px solid rgba(255, 55, 34, 0.9);
}

th.focus-start,
th.focus-end {
  box-shadow: inset 0 2px 0 rgba(255, 220, 130, 0.5);
}

td.focus-start,
td.focus-end {
  box-shadow: inset 0 0 18px rgba(255, 53, 31, 0.1);
}

.focus-number,
.focus-number.positive,
.focus-number.negative {
  color: #ff3324;
  font-weight: 950;
  letter-spacing: 0;
  text-shadow:
    0 0 12px rgba(255, 47, 28, 0.36),
    0 0 24px rgba(255, 202, 94, 0.12);
}

.positive {
  color: var(--danger);
}

.negative {
  color: var(--green);
}

.focus-number.positive {
  color: #ff3324;
}

.focus-number.negative {
  color: var(--green);
  text-shadow:
    0 0 12px rgba(128, 239, 184, 0.34),
    0 0 24px rgba(128, 239, 184, 0.12);
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(255, 214, 117, 0.1);
  font-size: 12px;
}

.clip-grid,
.review-grid,
.knowledge-grid,
.profile-intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.clip-card,
.review-card,
.knowledge-card,
.profile-intro-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(78, 8, 4, 0.72);
}

.clip-card-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.clip-card.is-member-locked {
  border-color: rgba(255, 214, 117, 0.58);
  background:
    linear-gradient(145deg, rgba(111, 13, 7, 0.84), rgba(23, 2, 1, 0.88)),
    rgba(78, 8, 4, 0.72);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.42),
    0 0 26px rgba(255, 186, 76, 0.12);
}

.member-only-tag {
  border-color: rgba(255, 228, 147, 0.72);
  color: #fff2bf;
  background: rgba(255, 214, 117, 0.16);
}

.member-lock-cover {
  position: relative;
  container-type: inline-size;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  margin: 14px 0;
  overflow: hidden;
  border: 1px solid rgba(255, 226, 150, 0.58);
  border-radius: 8px;
  background: rgba(12, 1, 1, 0.86);
  box-shadow:
    inset 0 0 36px rgba(255, 58, 35, 0.12),
    0 16px 38px rgba(0, 0, 0, 0.32);
}

.member-lock-cover picture,
.member-lock-cover img {
  display: block;
  width: 100%;
  height: 100%;
}

.member-lock-cover img {
  object-fit: cover;
  filter: saturate(1.08) contrast(1.06);
}

.member-lock-date,
.member-lock-message,
.member-lock-copy {
  position: absolute;
  z-index: 2;
}

.member-lock-date {
  top: 4.8%;
  left: 50%;
  display: grid;
  min-width: 86px;
  min-height: 48px;
  place-items: center;
  color: #fff7d4;
  font-family: "DIN Alternate", "Arial", sans-serif;
  font-size: clamp(18px, 8cqw, 32px);
  font-weight: 900;
  line-height: 1;
  text-shadow:
    0 0 12px rgba(255, 214, 117, 0.45),
    0 2px 7px rgba(0, 0, 0, 0.7);
  transform: translateX(-50%);
}

.member-lock-message {
  top: 48.5%;
  right: 12%;
  left: 12%;
  padding: 9px 10px;
  border: 1px solid rgba(255, 226, 150, 0.42);
  border-radius: 8px;
  color: #fff0be;
  background: rgba(22, 2, 1, 0.52);
  box-shadow: inset 0 0 18px rgba(255, 208, 113, 0.08);
  font-size: clamp(14px, 5.4cqw, 23px);
  font-weight: 900;
  text-align: center;
  text-shadow: 0 0 12px rgba(255, 214, 117, 0.34);
}

.member-lock-copy {
  right: 8.5%;
  bottom: 6.4%;
  left: 8.5%;
  display: grid;
  gap: 10px;
  padding: 0;
}

.member-lock-copy span {
  width: fit-content;
  padding: 6px 14px;
  border: 1px solid rgba(255, 178, 128, 0.68);
  border-radius: 8px;
  color: #ffe4a7;
  background: rgba(124, 20, 12, 0.52);
  font-size: clamp(12px, 4cqw, 17px);
  font-weight: 900;
}

.member-lock-copy strong {
  display: block;
  color: #fff8e8;
  font-size: clamp(19px, 7cqw, 34px);
  line-height: 1.22;
  text-shadow:
    0 0 16px rgba(255, 214, 117, 0.28),
    0 2px 8px rgba(0, 0, 0, 0.56);
}

.member-lock-copy small {
  color: rgba(255, 231, 182, 0.76);
  font-size: clamp(12px, 3.8cqw, 17px);
  font-weight: 800;
}

.clip-card .member-lock-date {
  top: 5.1%;
  min-width: 72px;
  min-height: 40px;
  font-size: clamp(20px, 7cqw, 28px);
}

.clip-card .member-lock-message {
  top: 50.5%;
  right: 13%;
  left: 13%;
  padding: 5px 8px;
  font-size: clamp(13px, 4.2cqw, 17px);
  line-height: 1.16;
}

.clip-card .member-lock-copy {
  right: 9%;
  bottom: 6.2%;
  left: 9%;
  gap: 5px;
}

.clip-card .member-lock-copy span {
  padding: 4px 10px;
  font-size: clamp(11px, 3.4cqw, 13px);
  line-height: 1.15;
}

.clip-card .member-lock-copy strong {
  max-width: 82%;
  font-size: clamp(19px, 5.7cqw, 24px);
  line-height: 1.12;
}

.clip-card .member-lock-copy small {
  font-size: clamp(11px, 3.3cqw, 13px);
  line-height: 1.2;
}

.profile-intro-card {
  min-height: 100%;
}

.muted-line {
  color: var(--muted);
  font-size: 13px;
}

.review-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  gap: 12px;
}

.review-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}

.image-preview-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: zoom-in;
}

.review-media-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255, 214, 133, 0.24);
  border-radius: 8px;
  background: rgba(20, 2, 1, 0.5);
  object-fit: contain;
}

.review-wall-section {
  display: grid;
  gap: 18px;
}

.review-wall-summary {
  display: grid;
  grid-template-columns: 0.8fr 0.8fr minmax(260px, 1.45fr) 0.9fr;
  gap: 12px;
}

.review-metric {
  min-height: 116px;
  padding: 16px;
  border: 1px solid rgba(255, 214, 117, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(91, 8, 4, 0.82), rgba(26, 2, 1, 0.76)),
    rgba(78, 8, 4, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 242, 196, 0.06);
}

.review-metric.primary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(130, 15, 8, 0.88), rgba(33, 3, 1, 0.92)),
    rgba(78, 8, 4, 0.82);
}

.review-metric span,
.review-metric small {
  color: rgba(255, 226, 170, 0.76);
  font-size: 13px;
}

.review-metric strong {
  display: block;
  margin: 7px 0 5px;
  color: #fff4c7;
  font-family: "DIN Alternate", "Inter", "PingFang SC", sans-serif;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 18px rgba(255, 196, 89, 0.36);
}

.keyword-metric {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.review-keyword-list span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 214, 117, 0.28);
  border-radius: 999px;
  color: #ffe8b0;
  background: rgba(255, 214, 117, 0.1);
  font-size: 12px;
  line-height: 1.2;
}

.review-wall-stage {
  position: relative;
  isolation: isolate;
  padding-top: 4px;
}

.review-wall-stage::before {
  position: absolute;
  top: 58px;
  right: 4%;
  left: 4%;
  z-index: -1;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 214, 117, 0.46), rgba(255, 58, 35, 0.34), transparent);
  box-shadow:
    0 92px 0 rgba(255, 214, 117, 0.1),
    0 184px 0 rgba(255, 70, 34, 0.08),
    0 276px 0 rgba(255, 214, 117, 0.08);
}

.review-wall-toolbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.toolbar-kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.review-wall-toolbar h2 {
  margin: 0;
  color: #fff1bd;
  font-size: clamp(25px, 3vw, 42px);
  line-height: 1.1;
}

.review-wall-toolbar p {
  margin: 0;
  color: rgba(255, 226, 170, 0.72);
  font-size: 14px;
}

.review-waterfall {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.review-wall-section .review-card {
  display: block;
  width: 100%;
  min-height: 0;
  padding: 8px;
  border: 1px solid rgba(255, 214, 117, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(78, 8, 4, 0.88), rgba(21, 2, 1, 0.86)),
    rgba(78, 8, 4, 0.72);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.3);
}

.review-wall-section .review-card:hover {
  border-color: rgba(255, 231, 168, 0.56);
}

.review-image-button {
  cursor: zoom-in;
}

.review-phone-frame {
  display: block;
  width: 100%;
  padding: 7px;
  border: 1px solid rgba(255, 239, 190, 0.13);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 241, 188, 0.08), rgba(18, 2, 1, 0.32)),
    #090302;
  box-shadow: inset 0 0 0 4px #120402, 0 14px 32px rgba(0, 0, 0, 0.28);
}

.review-phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 214, 117, 0.16);
  border-radius: 15px;
  background: rgba(9, 1, 1, 0.72);
  object-fit: contain;
  object-position: top center;
}

.review-card-meta {
  min-height: 102px;
  padding: 11px 4px 2px;
}

.review-card-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 7px;
}

.review-card-topline span {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 3px 7px;
  border: 1px solid rgba(255, 214, 117, 0.22);
  border-radius: 999px;
  color: rgba(255, 229, 174, 0.78);
  background: rgba(255, 214, 117, 0.08);
  font-size: 11px;
}

.review-card-meta h3 {
  margin: 0 0 7px;
  color: #fff4c7;
  font-size: 16px;
  line-height: 1.35;
}

.review-card-meta p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: rgba(255, 226, 170, 0.68);
  font-size: 13px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.media-button {
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(255, 214, 117, 0.1);
  cursor: pointer;
}

.media-button:hover {
  border-color: var(--line-strong);
  background: rgba(255, 214, 117, 0.18);
}

.media-strip {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}

.media-strip img,
.media-strip video {
  display: block;
  width: 100%;
  max-height: 220px;
  border: 1px solid rgba(255, 214, 133, 0.24);
  border-radius: 8px;
  background: rgba(20, 2, 1, 0.5);
  object-fit: contain;
}

.profile-media-stack {
  display: grid;
  gap: 22px;
}

.profile-media-section {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(78, 8, 4, 0.72);
}

.profile-media-section h3 {
  margin-bottom: 14px;
}

.profile-media-list {
  display: grid;
  gap: 14px;
}

.profile-media-list figure {
  margin: 0;
}

.profile-media-list img,
.profile-media-list video {
  display: block;
  width: 100%;
  max-height: 68vh;
  border: 1px solid rgba(255, 214, 133, 0.24);
  border-radius: 8px;
  background: rgba(20, 2, 1, 0.5);
  object-fit: contain;
}

.empty-line {
  color: var(--muted);
}

.media-gallery {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.media-gallery figure {
  margin: 0;
}

.media-gallery img,
.media-gallery video {
  display: block;
  width: 100%;
  max-height: 62vh;
  border: 1px solid rgba(255, 214, 133, 0.28);
  border-radius: 8px;
  background: rgba(20, 2, 1, 0.7);
  object-fit: contain;
}

.media-gallery .member-lock-cover {
  width: min(520px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.media-gallery figcaption,
.media-file-link {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  word-break: break-all;
}

.video-open-link {
  display: grid;
  min-height: 180px;
  place-items: center;
  border: 1px solid rgba(255, 214, 122, 0.4);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 214, 122, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(98, 12, 6, 0.84), rgba(22, 8, 12, 0.9));
  color: #ffe5a3;
  font-weight: 800;
}

.clip-card button {
  width: 100%;
  margin-top: 16px;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(64, 6, 4, 0.72);
}

.timeline-year {
  color: var(--gold);
  font-size: 30px;
  font-weight: 900;
}

.profile-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 16px;
}

.profile-visual {
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(54, 4, 2, 0.2), rgba(18, 2, 1, 0.78));
  background-size: cover;
  background-position: center;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 1240px;
  margin: 24px auto 0;
  color: rgba(255, 218, 156, 0.78);
  font-size: 13px;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  justify-items: center;
  align-items: start;
  padding: 22px;
  overflow: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(9, 1, 1, 0.78);
  cursor: pointer;
}

.modal-panel {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  max-height: 86vh;
  margin-top: 0;
  overflow: auto;
  padding: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(91, 8, 4, 0.96), rgba(28, 2, 1, 0.98));
  box-shadow: var(--shadow);
}

.modal-image-preview {
  display: block;
  width: min(100%, 1120px);
  max-height: 76vh;
  margin: 18px auto 0;
  object-fit: contain;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.modal-panel:has(.modal-image-preview) {
  width: min(1180px, 100%);
}

.icon-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(255, 214, 117, 0.08);
  cursor: pointer;
}

@media (max-width: 1100px) {
  .review-wall-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 980px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .topnav {
    justify-content: flex-start;
  }

  .module-grid,
  .clip-grid,
  .review-grid,
  .knowledge-grid,
  .profile-intro-grid,
  .stats-grid,
  .metric-strip,
  .profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .page-title-with-visual {
    grid-template-columns: 1fr;
  }

  .page-title-visual {
    min-height: 260px;
  }
}

@media (max-width: 640px) {
  .site-shell {
    padding: 12px 10px 22px;
  }

  .hero {
    min-height: 520px;
    padding: 28px 20px;
  }

  .page-title-with-visual {
    min-height: 0;
  }

  .page-title-visual {
    min-height: 190px;
  }

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

  .review-wall-summary,
  .review-waterfall {
    grid-template-columns: 1fr;
  }

  .review-wall-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .module-grid,
  .clip-grid,
  .review-grid,
  .knowledge-grid,
  .profile-intro-grid,
  .stats-grid,
  .metric-strip,
  .profile-grid {
    grid-template-columns: 1fr;
  }

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

/* High-tech red-gold cockpit layer */
body {
  --cursor-x: 50vw;
  --cursor-y: 32vh;
  background:
    radial-gradient(circle at var(--cursor-x) var(--cursor-y), rgba(255, 211, 117, 0.18), transparent 18rem),
    radial-gradient(circle at 48% 0%, rgba(255, 144, 43, 0.42), transparent 28rem),
    radial-gradient(circle at 88% 18%, rgba(229, 35, 18, 0.32), transparent 28rem),
    linear-gradient(145deg, #4f0603 0%, var(--bg) 48%, var(--bg-deep) 100%);
}

body::before {
  animation: gridDrift 18s linear infinite;
}

body::after {
  background:
    radial-gradient(circle at var(--cursor-x) var(--cursor-y), rgba(255, 221, 139, 0.22), transparent 18rem),
    radial-gradient(ellipse at 15% 15%, rgba(255, 214, 117, 0.2), transparent 26rem);
  background-size: auto, auto;
  background-position: center, center;
  opacity: 0.26;
  mix-blend-mode: screen;
}

.ambient-system {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.site-shell {
  position: relative;
  z-index: 1;
}

.energy-ring {
  position: absolute;
  border: 1px solid rgba(255, 213, 122, 0.2);
  border-radius: 50%;
  box-shadow:
    inset 0 0 80px rgba(255, 48, 18, 0.16),
    0 0 42px rgba(255, 186, 67, 0.12);
  transform: rotateX(64deg);
}

.ring-a {
  right: -16vw;
  top: 8vh;
  width: 46vw;
  height: 46vw;
  animation: ringPulse 7s ease-in-out infinite;
}

.ring-b {
  left: -18vw;
  bottom: -24vw;
  width: 58vw;
  height: 58vw;
  animation: ringPulse 9s ease-in-out infinite reverse;
}

.light-beam {
  position: absolute;
  width: 54vw;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 228, 158, 0.94), rgba(255, 46, 24, 0.78), transparent);
  box-shadow: 0 0 22px rgba(255, 191, 80, 0.55);
  opacity: 0.72;
}

.beam-a {
  top: 24vh;
  left: -18vw;
  transform: rotate(-16deg);
  animation: beamTravel 6.8s linear infinite;
}

.beam-b {
  right: -22vw;
  bottom: 18vh;
  transform: rotate(-12deg);
  animation: beamTravelReverse 8.5s linear infinite;
}

.particle-field {
  position: absolute;
  inset: -20%;
  background-image:
    radial-gradient(circle, rgba(255, 227, 153, 0.7) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(255, 50, 28, 0.42) 0 1px, transparent 1.5px);
  background-position: 0 0, 34px 49px;
  background-size: 120px 120px, 150px 150px;
  filter: drop-shadow(0 0 8px rgba(255, 192, 84, 0.35));
  opacity: 0.28;
  animation: particleLift 16s linear infinite;
}

.topbar {
  overflow: hidden;
}

.topbar::before,
.hero::after,
.section::before,
.page-title::after,
.data-panel::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.topbar::before {
  background: linear-gradient(110deg, transparent 0%, rgba(255, 226, 158, 0.2) 42%, transparent 55%);
  transform: translateX(-120%);
  animation: sweepGlow 5.6s ease-in-out infinite;
}

.topnav a {
  position: relative;
  overflow: hidden;
}

.topnav a::after,
.gold-button::after,
.ghost-button::after,
.media-button::after {
  position: absolute;
  inset: auto 14px 5px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transform: scaleX(0.25);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.topnav a:hover::after,
.topnav a.is-active::after,
.gold-button:hover::after,
.ghost-button:hover::after,
.media-button:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.topnav a.is-active {
  border-color: rgba(255, 230, 160, 0.82);
  color: #fff7dc;
  background: rgba(255, 212, 121, 0.17);
  box-shadow: 0 0 20px rgba(255, 186, 76, 0.18);
}

.gold-button,
.ghost-button,
.media-button {
  position: relative;
  overflow: hidden;
}

.hero,
.page-title,
.section,
.data-panel,
.modal-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero::after,
.page-title::after {
  z-index: 1;
  background:
    linear-gradient(120deg, transparent 0 36%, rgba(255, 231, 168, 0.16) 42%, transparent 49%),
    linear-gradient(180deg, rgba(255, 213, 122, 0.08), transparent 34%, rgba(255, 42, 18, 0.12));
  mix-blend-mode: screen;
  transform: translateX(-16%);
  animation: heroScan 7s ease-in-out infinite;
}

.hero-content,
.page-title > * {
  position: relative;
  z-index: 2;
}

.hero-content::after {
  display: block;
  width: min(440px, 70vw);
  height: 1px;
  margin-top: 26px;
  content: "";
  background: linear-gradient(90deg, rgba(255, 234, 170, 0.95), rgba(255, 51, 24, 0.45), transparent);
  box-shadow: 0 0 24px rgba(255, 192, 84, 0.45);
}

.hero-hud {
  position: absolute;
  right: clamp(28px, 6vw, 88px);
  top: 50%;
  z-index: 2;
  display: grid;
  width: min(360px, 32vw);
  min-width: 280px;
  place-items: center;
  transform: translateY(-50%);
}

.hud-orbit {
  position: relative;
  width: min(330px, 30vw);
  min-width: 260px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 218, 139, 0.2);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 215, 126, 0.16) 0 4%, transparent 5% 100%),
    conic-gradient(from 120deg, transparent, rgba(255, 224, 154, 0.58), rgba(255, 48, 22, 0.28), transparent 72%);
  box-shadow:
    inset 0 0 70px rgba(255, 35, 18, 0.16),
    0 0 54px rgba(255, 184, 58, 0.18);
  animation: hudSpin 13s linear infinite;
}

.hud-orbit::before,
.hud-orbit::after,
.hud-orbit span {
  position: absolute;
  border: 1px solid rgba(255, 224, 154, 0.28);
  border-radius: 50%;
  content: "";
}

.hud-orbit::before {
  inset: 12%;
  animation: hudSpin 9s linear infinite reverse;
}

.hud-orbit::after {
  inset: 26%;
  background: radial-gradient(circle, rgba(255, 229, 163, 0.3), transparent 58%);
}

.hud-orbit span:nth-child(1) {
  inset: -5px auto auto 48%;
  width: 10px;
  height: 10px;
  background: #ffe9a7;
  box-shadow: 0 0 18px rgba(255, 227, 153, 0.85);
}

.hud-orbit span:nth-child(2) {
  right: 11%;
  bottom: 17%;
  width: 7px;
  height: 7px;
  background: #ff4427;
  box-shadow: 0 0 16px rgba(255, 72, 39, 0.72);
}

.hud-orbit span:nth-child(3) {
  left: 13%;
  bottom: 29%;
  width: 8px;
  height: 8px;
  background: #ffd479;
  box-shadow: 0 0 16px rgba(255, 212, 121, 0.72);
}

.hud-panel {
  position: absolute;
  display: grid;
  width: min(270px, 26vw);
  gap: 9px;
  padding: 18px;
  border: 1px solid rgba(255, 224, 154, 0.34);
  border-radius: 8px;
  background: rgba(38, 3, 2, 0.76);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34), inset 0 0 32px rgba(255, 47, 23, 0.08);
  backdrop-filter: blur(16px);
}

.hud-panel b {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.hud-panel span {
  color: #ffe7b8;
  font-size: 12px;
}

.hud-panel i {
  display: block;
  height: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 224, 154, 0.2);
  border-radius: 8px;
  background: rgba(255, 214, 117, 0.08);
}

.hud-panel i::before {
  display: block;
  width: var(--level);
  height: 100%;
  content: "";
  background: linear-gradient(90deg, #ff361f, #ffd479, #fff1bb);
  box-shadow: 0 0 16px rgba(255, 203, 97, 0.6);
  animation: hudBar 2.8s ease-in-out infinite;
}

.metric,
.card,
.clip-card,
.review-card,
.knowledge-card,
.profile-intro-card,
.timeline-item {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}

.metric::before,
.card::before,
.clip-card::before,
.review-card::before,
.knowledge-card::before,
.profile-intro-card::before,
.timeline-item::before,
.data-panel::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  padding: 1px;
  border-radius: inherit;
  content: "";
  background: linear-gradient(135deg, rgba(255, 238, 180, 0.72), transparent 22%, rgba(255, 45, 24, 0.38) 58%, rgba(255, 213, 122, 0.52));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0.24;
  transition: opacity 0.24s ease;
}

.metric:hover::before,
.card:hover::before,
.clip-card:hover::before,
.review-card:hover::before,
.knowledge-card:hover::before,
.profile-intro-card:hover::before,
.timeline-item:hover::before,
.data-panel:hover::before {
  opacity: 0.82;
}

.metric::after,
.clip-card::after,
.review-card::after,
.knowledge-card::after,
.profile-intro-card::after {
  position: absolute;
  top: -30%;
  left: -40%;
  z-index: -1;
  width: 60%;
  height: 160%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 239, 187, 0.16), transparent);
  transform: rotate(16deg) translateX(-140%);
  transition: transform 0.7s ease;
}

.metric:hover::after,
.clip-card:hover::after,
.review-card:hover::after,
.knowledge-card:hover::after,
.profile-intro-card:hover::after {
  transform: rotate(16deg) translateX(260%);
}

.fx-card {
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.fx-card:hover {
  border-color: rgba(255, 231, 168, 0.78);
  box-shadow:
    0 26px 90px rgba(0, 0, 0, 0.48),
    0 0 34px rgba(255, 179, 56, 0.18);
}

.is-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.metric b,
.positive,
.card-number,
.tag {
  text-shadow: 0 0 18px rgba(255, 202, 109, 0.3);
}

.positive {
  color: #ff8b7f;
}

.negative {
  color: var(--green);
}

.focus-number.positive {
  color: #ff3324;
}

.focus-number.negative {
  color: var(--green);
  text-shadow:
    0 0 12px rgba(128, 239, 184, 0.34),
    0 0 24px rgba(128, 239, 184, 0.12);
}

tbody tr {
  transition: background 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

tbody tr:hover {
  background: rgba(255, 212, 121, 0.08);
  box-shadow: inset 3px 0 0 rgba(255, 214, 117, 0.72);
}

.media-strip,
.profile-media-list,
.review-media-grid,
.media-gallery {
  perspective: 1000px;
}

.media-strip img,
.media-strip video,
.profile-media-list img,
.profile-media-list video,
.review-media-grid img,
.media-gallery img,
.media-gallery video {
  transition: transform 0.28s ease, filter 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.media-strip img:hover,
.media-strip video:hover,
.profile-media-list img:hover,
.profile-media-list video:hover,
.review-media-grid img:hover,
.media-gallery img:hover,
.media-gallery video:hover {
  border-color: rgba(255, 232, 166, 0.82);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36), 0 0 28px rgba(255, 182, 58, 0.22);
  filter: saturate(1.12) contrast(1.05);
  transform: translateY(-3px) scale(1.015);
}

.modal-panel {
  animation: modalEnter 0.22s ease;
}

@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 34px 34px, 34px 34px; }
}

@keyframes ringPulse {
  0%, 100% { opacity: 0.26; transform: rotateX(64deg) scale(0.98); }
  50% { opacity: 0.58; transform: rotateX(64deg) scale(1.04); }
}

@keyframes beamTravel {
  from { translate: -30vw 0; opacity: 0; }
  18%, 72% { opacity: 0.78; }
  to { translate: 120vw 0; opacity: 0; }
}

@keyframes beamTravelReverse {
  from { translate: 30vw 0; opacity: 0; }
  18%, 72% { opacity: 0.68; }
  to { translate: -120vw 0; opacity: 0; }
}

@keyframes particleLift {
  from { transform: translateY(0); }
  to { transform: translateY(-120px); }
}

@keyframes sweepGlow {
  0%, 46% { transform: translateX(-120%); }
  70%, 100% { transform: translateX(120%); }
}

@keyframes heroScan {
  0%, 100% { opacity: 0.24; transform: translateX(-18%); }
  50% { opacity: 0.72; transform: translateX(18%); }
}

@keyframes hudSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes hudBar {
  0%, 100% { filter: brightness(0.95); }
  50% { filter: brightness(1.35); }
}

@keyframes modalEnter {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 980px) {
  .hero-hud {
    opacity: 0.72;
    right: 24px;
    width: 260px;
    min-width: 240px;
  }

  .hud-orbit {
    width: 250px;
    min-width: 240px;
  }

  .hud-panel {
    width: 220px;
  }
}

@media (max-width: 640px) {
  .hero-hud {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    margin-top: 28px;
    opacity: 1;
    transform: none;
  }

  .hud-orbit {
    width: min(280px, 76vw);
  }

  .hud-panel {
    width: min(250px, 70vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

/* Browser feedback pass: compact first screen and replace HUD with brand badge */
.topbar {
  justify-content: flex-start;
  min-height: 62px;
  padding: 10px 14px;
}

.brand-mark {
  min-width: 280px;
}

.brand-mark strong {
  font-size: 18px;
}

.brand-mark small {
  color: #f0d09a;
  font-size: 11px;
  letter-spacing: 0.02em;
}

.app-root {
  margin-top: 18px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  align-items: center;
  min-height: 430px;
  padding: clamp(30px, 4.5vw, 54px);
}

.hero-content {
  max-width: 680px;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(42px, 6.4vw, 78px);
}

.hero .lead {
  max-width: 660px;
  font-size: clamp(18px, 1.9vw, 23px);
  line-height: 1.68;
}

.hero-content::after {
  width: min(520px, 74vw);
  margin-top: 28px;
}

.hero-badge {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  justify-self: center;
  width: min(320px, 28vw);
  min-width: 250px;
}

.badge-medallion {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 50%;
  filter: drop-shadow(0 28px 52px rgba(0, 0, 0, 0.34)) drop-shadow(0 0 26px rgba(255, 202, 109, 0.22));
  animation: badgeFloat 4.8s ease-in-out infinite;
}

.badge-arc-text {
  fill: rgba(70, 45, 25, 0.72);
  font-family: Arial, sans-serif;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 2px;
}

.badge-portrait {
  filter: drop-shadow(0 7px 10px rgba(67, 34, 18, 0.16));
}

.section {
  margin-top: 16px;
  padding-top: clamp(22px, 3vw, 34px);
}

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

.section-header h2 {
  margin-bottom: 8px;
}

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-10px) rotate(1.5deg); }
}

@media (max-width: 980px) {
  .topbar {
    align-items: center;
    flex-direction: row;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 30px 24px;
  }

  .hero-badge {
    width: min(260px, 60vw);
    min-width: 220px;
    margin-top: 18px;
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .brand-mark {
    min-width: 0;
  }

  .brand-mark strong {
    font-size: 16px;
  }

  .brand-mark small {
    font-size: 9px;
  }

  .hero {
    padding: 26px 18px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero .lead {
    font-size: 17px;
  }

  .hero-badge {
    width: min(230px, 72vw);
  }
}
