:root {
  --bg: #f2eee7;
  --bg-soft: #f8f5ef;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --surface-dark: rgba(12, 24, 37, 0.82);
  --panel-dark: rgba(16, 34, 52, 0.9);
  --ink: #16212f;
  --muted: #6a7785;
  --light: #f4f1eb;
  --light-muted: rgba(231, 239, 247, 0.76);
  --line: rgba(20, 33, 47, 0.12);
  --line-strong: rgba(20, 33, 47, 0.2);
  --accent: #173c64;
  --accent-strong: #0b2340;
  --accent-soft: #dfe9f6;
  --gold: #c2a36c;
  --gold-soft: rgba(194, 163, 108, 0.16);
  --danger: #b42318;
  --danger-soft: #fff2ef;
  --shadow-xl: 0 32px 80px rgba(10, 22, 36, 0.16);
  --shadow-lg: 0 18px 44px rgba(10, 22, 36, 0.12);
  --shadow-sm: 0 10px 24px rgba(10, 22, 36, 0.08);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --texture-sem-primary: url("./media/和田玉SEM底纹 - 致密纤维交织.png");
  --texture-sem-secondary: url("./media/和田玉SEM底纹 - 长纤维结构.png");
  --texture-polar-primary: url("./media/矿物偏光底纹 - 晶体碎片结构.png");
  --texture-polar-secondary: url("./media/矿物偏光底纹04 - 冷色调晶体网络.png");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(194, 163, 108, 0.08), transparent 22%),
    linear-gradient(180deg, #081828 0%, #091523 24%, #eef2f6 24%, #f8f5ef 100%);
  font-family: "Avenir Next", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0, rgba(194, 163, 108, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(7, 25, 42, 0.92) 0%, rgba(7, 25, 42, 0.32) 26%, rgba(255, 255, 255, 0) 52%);
  opacity: 1;
  pointer-events: none;
  z-index: -2;
}

body::after {
  display: none;
}

body.is-modal-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

button {
  border: 0;
  background: none;
}

::selection {
  background: rgba(23, 60, 100, 0.16);
}

.container {
  width: min(1200px, calc(100% - 56px));
  margin: 0 auto;
}

.page-shell {
  position: relative;
  overflow-x: clip;
  padding-top: 88px;
}

.below-hero-surface {
  position: relative;
  isolation: isolate;
}

.below-hero-surface::before,
.below-hero-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.below-hero-surface::before {
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(233, 240, 246, 0.88) 0%, rgba(241, 238, 232, 0.7) 16%, rgba(218, 228, 236, 0.48) 28%, rgba(8, 22, 36, 0.62) 44%, rgba(13, 33, 51, 0.86) 64%, rgba(231, 238, 244, 0.74) 80%, rgba(12, 24, 39, 0.8) 100%),
    var(--texture-sem-primary) center top / cover fixed no-repeat;
  opacity: 0.28;
}

.below-hero-surface::after {
  z-index: 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(194, 163, 108, 0.1), transparent 20%),
    radial-gradient(circle at 88% 32%, rgba(30, 88, 168, 0.18), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 14%, rgba(255, 255, 255, 0) 78%, rgba(255, 255, 255, 0.1));
  opacity: 1;
}

.below-hero-surface > * {
  position: relative;
  z-index: 1;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 20, 33, 0.84);
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(2, 10, 18, 0.24);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 88px;
}

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

.brand__mark {
  width: 60px;
  height: 60px;
  flex: 0 0 auto;
}

.brand__copy {
  min-width: 0;
}

.brand__wordmark {
  display: flex;
  align-items: center;
  min-height: 34px;
}

.brand__wordmark span {
  display: block;
  color: rgba(247, 242, 234, 0.96);
  font-size: clamp(22px, 1.9vw, 28px);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.15;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.22);
}

.brand__copy p {
  margin: 6px 0 0;
  color: rgba(238, 245, 252, 0.8);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.site-nav a {
  position: relative;
  color: rgba(246, 249, 252, 0.9);
  font-size: 14px;
  letter-spacing: 0.06em;
  transition: color 0.2s ease;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.24);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: linear-gradient(90deg, rgba(194, 163, 108, 0), rgba(194, 163, 108, 0.9), rgba(194, 163, 108, 0));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  opacity: 1;
}

.header-query,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.24s ease,
    background-color 0.24s ease,
    border-color 0.24s ease,
    color 0.24s ease,
    box-shadow 0.24s ease;
}

.header-query {
  color: #fff;
  background: linear-gradient(135deg, rgba(194, 163, 108, 0.24), rgba(194, 163, 108, 0.12));
  border-color: rgba(194, 163, 108, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.header-query:hover,
.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.hero {
  padding: 44px 0 80px;
  background:
    radial-gradient(circle at top right, rgba(194, 163, 108, 0.18), transparent 26%),
    linear-gradient(180deg, #091523 0%, #122739 65%, #eff3f6 65%, #eff3f6 100%);
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 44px;
  align-items: start;
}

.hero__copy {
  padding-top: 34px;
  color: var(--light);
}

.overline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: rgba(194, 163, 108, 0.94);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.overline::before {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.overline--soft {
  color: rgba(194, 163, 108, 0.88);
}

.overline--light {
  color: rgba(194, 163, 108, 0.82);
}

.hero__copy h1,
.chapter-heading h2,
.story-row__content h3,
.service-card h3,
.timeline-step h3,
.credentials-intro h3,
.evidence-card h3,
.contact-hero__copy h2,
.contact-card h3,
.process-note h3 {
  margin: 0;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero__copy h1 {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.08;
}

.hero__subtitle {
  margin: 18px 0 0;
  max-width: 540px;
  color: rgba(231, 239, 247, 0.78);
  font-size: 18px;
}

.hero__lead {
  margin: 22px 0 0;
  max-width: 560px;
  color: rgba(231, 239, 247, 0.88);
  font-size: 17px;
}

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

.hero__meta article {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.hero__meta span {
  display: block;
  color: rgba(231, 239, 247, 0.62);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__meta strong {
  display: block;
  margin-top: 10px;
  color: #fff;
  font-size: 18px;
  line-height: 1.4;
}

.hero__actions,
.contact-hero__actions,
.contact-card__actions,
.file-card__actions,
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__actions {
  margin-top: 28px;
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #28588d);
  box-shadow: 0 16px 34px rgba(23, 60, 100, 0.22);
}

.button--secondary {
  color: var(--accent-strong);
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(255, 255, 255, 0.7);
}

.button--ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(20, 33, 47, 0.14);
  backdrop-filter: blur(10px);
}

.button--block {
  width: 100%;
}

.button[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.45;
}

.hero-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-bottom: 0;
}

.panel,
.info-card,
.service-card,
.timeline-step,
.process-note,
.file-card,
.contact-card,
.evidence-card,
.contact-hero,
.credentials-intro {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08)),
    linear-gradient(135deg, rgba(15, 35, 54, 0.1), rgba(255, 255, 255, 0));
  box-shadow:
    0 20px 48px rgba(6, 18, 30, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(24px) saturate(125%);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.intro-statement,
.info-card,
.service-card,
.timeline-step,
.process-note,
.credentials-intro,
.evidence-card,
.file-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.intro-statement::before,
.info-card::before,
.service-card::before,
.timeline-step::before,
.process-note::before,
.credentials-intro::before,
.evidence-card::before,
.file-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0) 48%),
    var(--texture-polar-primary) center / cover no-repeat;
  opacity: 0.08;
  mix-blend-mode: screen;
  pointer-events: none;
}

.contact-hero::before,
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 54%),
    var(--texture-sem-secondary) center / cover no-repeat;
  opacity: 0.08;
  mix-blend-mode: screen;
  pointer-events: none;
}

.panel > *,
.info-card > *,
.service-card > *,
.timeline-step > *,
.process-note > *,
.file-card > *,
.contact-card > *,
.evidence-card > *,
.intro-statement > *,
.credentials-intro > *,
.contact-hero > * {
  position: relative;
  z-index: 1;
}

.media-slot {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #112133;
  box-shadow: var(--shadow-xl);
  isolation: isolate;
}

.media-slot__image,
.hero-stage__video,
.media-slot__overlay,
.hero-stage__gem,
.media-slot__badge,
.media-slot__emblem {
  position: absolute;
}

.media-slot__image {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-stage__video {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero-stage__visual--video-ready .hero-stage__video {
  opacity: 1;
}

.hero-stage__visual--video-ready .media-slot__image {
  opacity: 0.24;
}

.media-slot__overlay {
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 21, 35, 0.08) 0%, rgba(9, 21, 35, 0.42) 52%, rgba(9, 21, 35, 0.9) 100%),
    radial-gradient(circle at top left, rgba(194, 163, 108, 0.24), transparent 36%);
  z-index: 1;
}

.media-slot--hero::before {
  content: "";
  position: absolute;
  inset: -12%;
  z-index: 0;
  background:
    radial-gradient(circle at 20% 24%, rgba(94, 170, 255, 0.26), transparent 40%),
    radial-gradient(circle at 78% 18%, rgba(194, 163, 108, 0.2), transparent 46%),
    radial-gradient(circle at 52% 88%, rgba(72, 132, 240, 0.18), transparent 46%);
  animation: heroPulse 11s ease-in-out infinite alternate;
}

.media-slot::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: inherit;
  pointer-events: none;
  z-index: 3;
}

.media-slot__note {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 2;
  margin: 0;
  color: rgba(244, 241, 235, 0.92);
  font-size: 13px;
  line-height: 1.6;
}

.hero-stage__visual {
  min-height: 760px;
}

.hero-stage__chips {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-stage__chips span {
  padding: 9px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(9, 21, 35, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-stage__gem {
  right: -2%;
  bottom: 10%;
  z-index: 2;
  width: 48%;
  min-width: 250px;
  opacity: 0.9;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.24));
  animation: floatGem 8s ease-in-out infinite;
}

.query-card {
  position: relative;
  order: -1;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: 4;
  width: min(430px, 100%);
  max-width: 430px;
  margin: 0 0 0 clamp(16px, 3vw, 24px);
  padding: 24px;
  background: rgba(248, 245, 239, 0.96);
  scroll-margin-top: 112px;
}

.query-card__head h2,
.file-card h3,
.evidence-card h3,
.contact-card h3 {
  font-size: 28px;
  line-height: 1.24;
}

.query-card__head p:last-child,
.field__label,
.query-card__notes span,
.chapter-heading p:last-child,
.intro-statement p,
.info-card p,
.story-row__content p,
.detail-list,
.service-card p,
.timeline-step p,
.process-note p,
.credentials-intro p,
.evidence-card p,
.file-card p,
.contact-hero__copy p,
.contact-card address,
.site-footer p {
  color: var(--muted);
}

.query-card__head p:last-child {
  margin: 10px 0 0;
}

.query-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(20, 33, 47, 0.14);
  border-radius: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus {
  outline: none;
  border-color: rgba(23, 60, 100, 0.38);
  box-shadow: 0 0 0 4px rgba(23, 60, 100, 0.08);
}

.query-card__notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.query-card__notes span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(23, 60, 100, 0.07);
  font-size: 12px;
}

.chapter {
  position: relative;
  overflow: hidden;
  padding: 128px 0;
}

.chapter::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--texture-sem-secondary) center / cover no-repeat;
  opacity: 0.08;
  mix-blend-mode: multiply;
  pointer-events: none;
}

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

.chapter--intro {
  padding-top: 70px;
  background:
    linear-gradient(180deg, rgba(239, 245, 248, 0.66), rgba(248, 245, 239, 0.5)),
    linear-gradient(140deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
  position: relative;
  overflow: hidden;
}

.chapter--intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 26%),
    var(--texture-sem-primary) center top / cover no-repeat;
  opacity: 0.16;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.chapter--intro > .container {
  position: relative;
  z-index: 1;
}

.chapter--soft {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.42) 100%),
    linear-gradient(180deg, rgba(237, 242, 246, 0.86) 0%, rgba(247, 244, 238, 0.72) 100%);
}

.chapter--soft::before,
#credentials.chapter::before {
  background: var(--texture-polar-secondary) center / cover no-repeat;
  opacity: 0.1;
  mix-blend-mode: screen;
}

.chapter--dark {
  background:
    radial-gradient(circle at top right, rgba(194, 163, 108, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(9, 21, 35, 0.92) 0%, rgba(16, 37, 56, 0.94) 100%);
  color: var(--light);
}

.chapter--dark::before,
.chapter--closing::before {
  background: var(--texture-sem-primary) center / cover no-repeat;
  opacity: 0.12;
  mix-blend-mode: screen;
}

.chapter--closing {
  background:
    radial-gradient(circle at bottom right, rgba(194, 163, 108, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(10, 24, 39, 0.94) 0%, rgba(16, 35, 56, 0.96) 100%);
  color: var(--light);
}

.chapter-heading {
  margin-bottom: 34px;
}

.chapter-heading h2 {
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.14;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.chapter-heading p:last-child {
  max-width: 760px;
  margin: 14px 0 0;
  font-size: 16px;
}

.chapter-heading--light p:last-child,
.chapter-heading--light h2,
.story-row__content,
.contact-hero__copy,
.chapter--closing .contact-card,
.chapter--closing .contact-card address,
.chapter--closing .contact-link,
.chapter--closing .contact-card__label,
.chapter--closing .site-footer a {
  color: var(--light);
}

.chapter-heading--light p:last-child {
  color: var(--light-muted);
}

.intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 32px;
  align-items: stretch;
}

.intro-statement {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(246, 248, 250, 0.46));
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-sm);
}

.intro-statement__lead {
  margin: 0;
  color: var(--accent-strong);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.55;
  font-family: inherit;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.intro-statement p + p {
  margin-top: 18px;
}

.intro-visual {
  min-height: 460px;
}

.media-slot__badge,
.media-slot__emblem {
  z-index: 2;
}

.media-slot__badge {
  top: 24px;
  right: 24px;
  width: 140px;
  opacity: 0.92;
}

.media-slot__badge--wide {
  width: 220px;
}

.media-slot__emblem {
  right: 24px;
  bottom: 92px;
  width: 118px;
  opacity: 0.92;
}

.media-slot__emblem--soft {
  right: 24px;
  bottom: 76px;
  width: min(440px, 72%);
  opacity: 0.34;
}

.info-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.info-card {
  padding: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(252, 253, 255, 0.6));
}

.info-card__label,
.service-card__tag,
.evidence-card__tag,
.file-card__tag,
.contact-card__label,
.process-note__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.info-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.34;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.info-card p {
  margin: 12px 0 0;
}

.instrument-gallery {
  margin: 28px 0 56px;
}

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

.instrument-gallery__item {
  margin: 0;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, rgba(194, 163, 108, 0.08), rgba(255, 255, 255, 0));
  box-shadow:
    0 16px 40px rgba(4, 12, 22, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(20px) saturate(125%);
}

.instrument-gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.3s ease;
  transform-origin: center;
}

.instrument-gallery__item:hover img,
.instrument-gallery__item:focus-within img {
  transform: scale(1.05);
}

.story-stack {
  display: grid;
  gap: 14px;
}

.story-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  padding: 52px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.story-row:first-child {
  border-top: 0;
  padding-top: 8px;
}

.story-row--reverse .story-row__media {
  order: 2;
}

.story-row--reverse .story-row__content {
  order: 1;
}

.story-row__media {
  position: relative;
}

.story-visual {
  min-height: 470px;
  position: sticky;
  top: 112px;
}

.story-visual__index {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(194, 163, 108, 0.22);
  border: 1px solid rgba(194, 163, 108, 0.38);
  backdrop-filter: blur(8px);
  font-size: 20px;
  font-weight: 700;
}

.story-row__content {
  align-self: center;
  max-width: 520px;
}

.story-index {
  display: inline-flex;
  margin-bottom: 16px;
  color: rgba(194, 163, 108, 0.94);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.story-row__content h3 {
  font-size: clamp(28px, 4vw, 40px);
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.story-row__content p {
  margin: 16px 0 0;
  color: var(--light-muted);
}

.detail-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--light-muted);
}

.detail-list li {
  padding-left: 4px;
}

.detail-list--compact {
  color: var(--muted);
}

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

.service-card {
  min-height: 260px;
  padding: 28px 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.7)),
    linear-gradient(135deg, rgba(194, 163, 108, 0.06), transparent);
}

.service-card h3 {
  font-size: 26px;
  line-height: 1.3;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.service-card p {
  margin: 12px 0 0;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 38px;
  height: 1px;
  background: linear-gradient(90deg, rgba(194, 163, 108, 0.16), rgba(194, 163, 108, 0.5), rgba(194, 163, 108, 0.16));
}

.timeline-step {
  position: relative;
  padding: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(252, 253, 255, 0.64));
}

.timeline-step__index {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-bottom: 20px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #2b5d93);
  box-shadow: 0 16px 32px rgba(23, 60, 100, 0.18);
  font-size: 18px;
  font-weight: 700;
}

.timeline-step h3 {
  font-size: 24px;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.timeline-step p {
  margin: 10px 0 0;
}

.process-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: 26px 28px;
  background:
    linear-gradient(135deg, rgba(194, 163, 108, 0.08), rgba(255, 255, 255, 0.7)),
    rgba(255, 255, 255, 0.76);
}

.process-note h3 {
  font-size: 28px;
  line-height: 1.26;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.process-note p {
  margin: 10px 0 0;
}

.credentials-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 24px;
  align-items: stretch;
}

.credentials-intro {
  padding: 30px;
}

.credentials-intro h3 {
  font-size: 30px;
  line-height: 1.24;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 0.04em;
}

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

.evidence-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(250, 251, 253, 0.78));
}

.evidence-card__media {
  display: grid;
  place-items: center;
  min-height: 340px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(239, 244, 249, 0.92), rgba(255, 255, 255, 0.84)),
    var(--texture-polar-secondary) center / cover no-repeat;
  background-blend-mode: screen;
}

.evidence-card__media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.evidence-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
}

.evidence-card__body h3 {
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.document-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.document-strip[hidden] {
  display: none !important;
}

.file-card {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px;
  background:
    linear-gradient(135deg, rgba(194, 163, 108, 0.08), rgba(255, 255, 255, 0.82)),
    rgba(255, 255, 255, 0.84);
}

.file-card__meta {
  flex: 1;
}

.file-card__meta h3 {
  font-size: 26px;
  line-height: 1.28;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.file-card__status {
  margin: 14px 0 0;
  color: var(--danger);
  font-weight: 700;
}

.file-card.is-unavailable {
  border-color: rgba(180, 35, 24, 0.2);
  background: var(--danger-soft);
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 28px;
  align-items: stretch;
  padding: 34px;
  border-radius: var(--radius-xl);
}

.contact-hero__visual {
  min-height: 460px;
}

.contact-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-hero__copy h2 {
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.12;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.contact-hero__copy p {
  margin: 18px 0 0;
  color: var(--light-muted);
}

.contact-hero__actions {
  margin-top: 24px;
}

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

.contact-card {
  padding: 26px;
  box-shadow: none;
}

.contact-card__label {
  color: rgba(194, 163, 108, 0.94);
}

.contact-card h3 {
  font-size: 30px;
  line-height: 1.2;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.contact-card address {
  margin: 14px 0 18px;
  color: var(--light-muted);
  font-style: normal;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
}

.contact-card--wide {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.site-footer {
  padding: 42px 0 46px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0a1827;
  color: var(--light);
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-start;
}

.site-footer__meta {
  max-width: 720px;
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.site-footer p {
  margin: 0;
  color: var(--light-muted);
}

.site-footer__credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(244, 241, 235, 0.88);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.footer-badge__icon {
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(244, 241, 235, 0.86);
  border-radius: 50%;
  position: relative;
  flex: 0 0 auto;
}

.footer-badge__icon::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: rgba(244, 241, 235, 0.86);
}

.site-footer__links {
  justify-content: flex-end;
}

.site-footer__links a,
.beian-link {
  color: rgba(244, 241, 235, 0.88);
  font-weight: 600;
}

.beian-link {
  padding: 0;
  cursor: pointer;
}

.preview-modal[hidden] {
  display: none !important;
}

.preview-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 22px;
  pointer-events: none;
}

.preview-modal:not([hidden]) {
  pointer-events: auto;
}

.preview-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 15, 24, 0.72);
  backdrop-filter: blur(8px);
}

.preview-modal__dialog {
  position: relative;
  width: min(980px, 100%);
  max-height: 90vh;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 30px 80px rgba(7, 15, 24, 0.3);
}

.preview-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.preview-modal__head h2 {
  margin: 0;
  font-size: 24px;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.preview-modal__close {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
}

.preview-modal__body {
  max-height: calc(90vh - 78px);
  overflow: auto;
  padding: 22px;
  background: linear-gradient(180deg, #f4f1eb 0%, #eef2f6 100%);
}

.preview-modal__body img {
  width: 100%;
  height: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(44px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

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

@keyframes floatGem {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(-10px, -14px, 0);
  }
}

@keyframes heroPulse {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-1.5%, -2%, 0) scale(1.06);
  }
}

@media (max-width: 1180px) {
  .hero__layout,
  .intro-layout,
  .credentials-layout,
  .contact-hero {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .timeline,
  .document-strip,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .contact-card--wide,
  .process-note,
  .file-card,
  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .story-row,
  .story-row--reverse {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .story-row--reverse .story-row__media,
  .story-row--reverse .story-row__content {
    order: initial;
  }

  .story-visual {
    position: relative;
    top: auto;
  }
}

@media (max-width: 980px) {
  .page-shell {
    padding-top: 76px;
  }

  .container {
    width: min(100% - 32px, 1200px);
  }

  .site-header__inner {
    min-height: 76px;
  }

  .site-nav {
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    background: rgba(9, 21, 35, 0.96);
    box-shadow: var(--shadow-lg);
    z-index: 29;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a::after {
    display: none;
  }

  .header-query {
    margin-left: auto;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero {
    padding-top: 24px;
  }

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

  .hero-stage__visual {
    min-height: 620px;
  }

  .hero-stage {
    gap: 14px;
  }

  .query-card {
    position: relative;
    width: min(560px, calc(100% - 12px));
    order: -1;
    left: auto;
    right: auto;
    bottom: auto;
    max-width: none;
    margin: 0 auto;
  }

  .info-strip,
  .service-grid,
  .timeline,
  .document-strip,
  .contact-grid,
  .credentials-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body::after {
    display: none;
  }

  .brand__mark {
    width: 52px;
    height: 52px;
  }

  .brand__copy p,
  .header-query {
    display: none;
  }

  .brand__wordmark {
    min-height: auto;
  }

  .brand__wordmark span {
    font-size: 16px;
    line-height: 1.2;
  }

  .hero {
    padding: 10px 0 42px;
    background:
      linear-gradient(180deg, #091523 0%, #122739 74%, #eff3f6 74%, #eff3f6 100%);
  }

  .hero__layout {
    gap: 12px;
  }

  .hero-stage {
    order: -1;
    gap: 10px;
  }

  .hero__copy {
    order: 2;
    padding-top: 0;
  }

  .hero__copy h1 {
    font-size: clamp(30px, 12vw, 44px);
  }

  .hero__subtitle,
  .hero__lead,
  .chapter-heading p:last-child,
  .contact-hero__copy p {
    font-size: 15px;
  }

  .query-card {
    width: 100%;
    margin: 0 auto;
    padding: 16px;
  }

  .hero-stage__visual {
    min-height: 300px;
  }

  .hero-stage__chips {
    left: 16px;
    right: 16px;
    top: 16px;
  }

  .hero-stage__gem {
    width: 48%;
    min-width: 140px;
    bottom: 10%;
  }

  .chapter {
    padding: 88px 0;
  }

  .chapter--intro {
    padding-top: 50px;
  }

  .intro-statement,
  .info-card,
  .timeline-step,
  .process-note,
  .credentials-intro,
  .evidence-card__body,
  .file-card,
  .contact-card,
  .contact-hero {
    padding: 20px;
  }

  .intro-visual,
  .contact-hero__visual,
  .story-visual,
  .evidence-card__media {
    min-height: 320px;
  }

  .story-row__content h3,
  .chapter-heading h2,
  .contact-hero__copy h2 {
    font-size: clamp(26px, 8vw, 34px);
  }

  .service-card {
    min-height: auto;
    padding: 22px;
  }

  .timeline::before {
    display: none;
  }

  .timeline-step__index {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
  }

  .site-footer__links,
  .hero__actions,
  .contact-hero__actions,
  .contact-card__actions,
  .file-card__actions {
    width: 100%;
  }

  .hero__actions .button,
  .contact-hero__actions .button,
  .contact-card__actions .button,
  .file-card__actions .button {
    width: 100%;
  }

  .preview-modal {
    padding: 12px;
  }

  .preview-modal__body {
    padding: 14px;
  }
}

/* Narrative-first hero + query drawer overrides */
body.is-query-open {
  overflow: hidden;
}

body.narrative-ready .hero {
  padding: 0;
  background: #07192a;
  position: relative;
  min-height: calc(100vh - 88px);
  overflow-x: clip;
}

body.narrative-ready .header-query {
  display: none;
}

body.narrative-ready .hero__layout {
  display: block;
  position: static;
}

body.narrative-ready .hero-stage {
  position: absolute;
  inset: 0;
  display: block;
  gap: 0;
  padding: 0;
}

body.narrative-ready .hero-stage__visual {
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: calc(100vh - 88px);
  height: calc(100vh - 88px);
  border-radius: 0;
  border: 0;
  box-shadow: none;
}

body.narrative-ready .hero-stage__chips,
body.narrative-ready .hero-stage__gem,
body.narrative-ready .media-slot__note {
  display: none;
}

body.narrative-ready .hero__copy {
  position: relative;
  z-index: 4;
  max-width: 900px;
  margin-left: clamp(20px, 5vw, 64px);
  padding-top: calc(88px + 12vh);
  color: #f4f1eb;
}

body.narrative-ready .hero__copy h1 {
  font-size: clamp(44px, 7.2vw, 96px);
  line-height: 1.06;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
}

.hero-title {
  display: none;
  white-space: nowrap;
}

.hero-title--desktop {
  display: block;
}

body.narrative-ready .hero__subtitle {
  max-width: 680px;
  margin-top: 22px;
  color: rgba(239, 246, 255, 0.92);
  font-size: clamp(18px, 2.2vw, 30px);
  line-height: 1.5;
}

body.narrative-ready .hero__lead {
  display: none;
}

body.narrative-ready .hero .hero__meta,
body.narrative-ready .hero .hero__actions {
  display: none;
}

body.narrative-ready .hero .media-slot__overlay {
  background:
    linear-gradient(180deg, rgba(8, 24, 40, 0.45) 0%, rgba(8, 24, 40, 0.55) 30%, rgba(8, 24, 40, 0.72) 100%),
    radial-gradient(circle at 70% 22%, rgba(194, 163, 108, 0.18), transparent 42%);
}

.hero-scroll {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 32px auto 0;
  color: rgba(241, 248, 255, 0.92);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 500;
  padding: 10px 24px;
  border: 1px solid rgba(194, 163, 108, 0.35);
  border-radius: 999px;
  background: rgba(194, 163, 108, 0.08);
  backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.hero-scroll:hover {
  color: #fff;
  background: rgba(194, 163, 108, 0.22);
  border-color: rgba(194, 163, 108, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(194, 163, 108, 0.2);
}

.hero-scroll:active {
  transform: translateY(0);
}

.hero-stage__visual .hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  margin: 0;
}

.hero-stage__visual .hero-scroll:hover {
  transform: translateX(-50%) translateY(-2px);
}

.hero-stage__visual .hero-scroll:active {
  transform: translateX(-50%) translateY(0);
}

.hero-scroll::after {
  content: "↓";
  font-size: 20px;
  line-height: 1;
  animation: scrollBounce 1.5s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

body.narrative-ready .chapter--intro {
  padding-top: 86px;
  background:
    linear-gradient(180deg, rgba(237, 242, 247, 0.68) 0%, rgba(248, 245, 239, 0.48) 100%);
}

.hero-scroll::after {
  content: "↓";
}

.hero-summary {
  margin-bottom: 34px;
}

.hero-summary .hero__meta {
  margin-top: 0;
}

.hero-summary .hero__actions {
  margin-top: 16px;
}

.query-launcher {
  position: fixed;
  top: 106px;
  right: 28px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(194, 163, 108, 0.45);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, rgba(194, 163, 108, 0.24), rgba(194, 163, 108, 0.06));
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 24px rgba(8, 24, 40, 0.32);
  font-weight: 700;
  cursor: pointer;
}

.query-launcher svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.query-launcher span {
  white-space: nowrap;
}

.query-drawer[hidden] {
  display: none !important;
}

.query-drawer {
  position: fixed;
  inset: 0;
  z-index: 96;
  pointer-events: none;
}

.query-drawer.is-open {
  pointer-events: auto;
}

.query-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 18, 30, 0.52);
  backdrop-filter: blur(3px);
}

.query-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(480px, 100vw);
  height: 100%;
  padding: 18px 0 24px;
  background: rgba(246, 242, 235, 0.98);
  border-left: 1px solid rgba(17, 33, 49, 0.16);
  box-shadow: -20px 0 40px rgba(10, 22, 36, 0.16);
  transform: translateX(102%);
  transition: transform 0.24s ease;
  overflow-y: auto;
}

.query-drawer.is-open .query-drawer__panel {
  transform: translateX(0);
}

.query-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 26px 14px;
}

.query-drawer__head p {
  margin: 0;
  color: rgba(18, 40, 60, 0.6);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}

.query-drawer__close {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(20, 33, 47, 0.16);
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
}

.query-drawer .query-card {
  position: static;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0 26px 10px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.query-drawer .query-card__head h2 {
  margin-top: 0;
}

@media (max-width: 1180px) {
  body.narrative-ready .hero__copy {
    padding-top: calc(76px + 8vh);
    max-width: 86%;
  }

  .hero-title--desktop {
    display: none;
  }

  .hero-title--tablet {
    display: block;
  }

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

@media (max-width: 980px) {
  .query-launcher {
    top: 94px;
    right: 28px;
    bottom: auto;
    min-height: 46px;
    padding: 0 18px;
    z-index: 92;
  }

  .query-drawer__panel {
    top: auto;
    right: auto;
    left: 0;
    width: 100vw;
    height: auto;
    max-height: 82vh;
    border-left: 0;
    border-top: 1px solid rgba(20, 33, 47, 0.14);
    border-radius: 24px 24px 0 0;
    transform: translate3d(0, 102%, 0);
  }

  .query-drawer.is-open .query-drawer__panel {
    transform: translate3d(0, 0, 0);
  }

  .instrument-gallery {
    margin-bottom: 42px;
  }

  .instrument-gallery__grid {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x proximity;
  }

  .instrument-gallery__item {
    flex: 0 0 min(320px, 72vw);
    padding: 12px;
    scroll-snap-align: start;
  }
}

@media (max-width: 720px) {
  body.narrative-ready .hero {
    min-height: calc(100vh - 76px);
    width: 100%;
    max-width: none;
    overflow-x: visible;
  }

  body.narrative-ready .hero-stage {
    width: 100%;
    max-width: none;
    left: 0;
    right: 0;
  }

  body.narrative-ready .hero-stage__visual {
    width: 100%;
    max-width: none;
    min-height: calc(100vh - 76px);
    height: calc(100vh - 76px);
  }

  body.narrative-ready .hero__copy {
    max-width: calc(100% - 28px);
    margin-left: 14px;
    padding-top: calc(76px + 22vh);
  }

  body.narrative-ready .hero__copy h1 {
    font-size: clamp(34px, 11vw, 52px);
  }

  .hero-title--tablet {
    display: none;
  }

  .hero-title--mobile {
    display: block;
  }

  body.narrative-ready .hero__subtitle {
    font-size: 16px;
    line-height: 1.52;
  }

  .hero-scroll {
    font-size: 14px;
    padding: 8px 20px;
    margin-top: 16px;
  }

  .hero-scroll::after {
    font-size: 16px;
  }

  .below-hero-surface::before {
    opacity: 0.2;
    background:
      linear-gradient(180deg, rgba(237, 242, 247, 0.9) 0%, rgba(245, 242, 235, 0.78) 24%, rgba(7, 21, 35, 0.58) 44%, rgba(13, 33, 51, 0.72) 64%, rgba(240, 244, 247, 0.84) 82%, rgba(12, 24, 39, 0.72) 100%),
      var(--texture-sem-primary) center top / cover no-repeat;
  }

  .intro-statement::before,
  .info-card::before,
  .service-card::before,
  .timeline-step::before,
  .process-note::before,
  .credentials-intro::before,
  .evidence-card::before,
  .file-card::before {
    opacity: 0.055;
  }

  .instrument-gallery__item {
    flex-basis: min(240px, 76vw);
  }

  .query-drawer__head,
  .query-drawer .query-card {
    padding-left: 16px;
    padding-right: 16px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-stage__gem {
    animation: none;
  }

  .instrument-gallery__item img {
    transition: none;
  }
}

.hero-scroll::after {
  content: "↓";
}
