/* The opening cover stays unchanged. Page 02 shares the centered editorial rhythm. */
#experience.opening-page .opening-masthead,
#experience.opening-page .opening-footer,
#field.field-page .field-masthead,
#field.field-page .field-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: #d1b58a;
  font: 10px/1.8 ui-monospace, monospace;
  letter-spacing: .08em;
}

#experience.opening-page .opening-masthead {
  position: absolute;
  z-index: 3;
  top: clamp(34px, 5vh, 68px);
  left: max(5.5vw, calc((100vw - 1480px) / 2));
  right: max(144px, calc((100vw - 1480px) / 2));
  width: auto !important;
  padding: 0 0 18px !important;
  border-bottom: 1px solid #f3f0e82b;
}

#experience.opening-page .opening-masthead .brand-name {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  color: #f3f0e8;
  font: 12px/1.8 'Microsoft YaHei', 'PingFang SC', sans-serif;
  letter-spacing: .06em;
}

#experience.opening-page .opening-masthead .brand-name > span {
  margin: 0;
  color: #b7b0a5;
  font: inherit;
  letter-spacing: .04em;
}

#experience.opening-page .hero-copy {
  left: 56%;
  right: max(144px, calc((100vw - 1480px) / 2));
  top: 50%;
  width: auto;
  max-width: 660px;
  padding: 0 !important;
  background: none;
  transform: translateY(-50%);
}

#experience.opening-page .hero-copy::before {
  display: none;
}

#experience.opening-page .eyebrow {
  margin: 0 0 30px;
  color: #d1b58a;
  font: 10px/1.8 ui-monospace, monospace;
  letter-spacing: .13em;
}

#experience.opening-page .eyebrow > span {
  width: 30px;
  background: #d1b58a80;
}

#experience.opening-page h1 {
  margin: 0 0 30px;
  color: #f3f0e8;
  font: 700 clamp(52px, 6vw, 116px)/1.2 'Microsoft YaHei', 'PingFang SC', 'Noto Sans CJK SC', sans-serif;
  font-synthesis: weight;
  letter-spacing: -.025em;
  white-space: nowrap;
}

#experience.opening-page h1 > span {
  display: inline;
  background: linear-gradient(100deg, #fff8ec 10%, #f1cf9d 55%, #b98a55 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: none;
  text-shadow: none;
}

#experience.opening-page .hero-description {
  gap: 0;
  padding: 0;
  border: 0;
}

#experience.opening-page .hero-description p {
  margin: 0;
  color: #c4c1b8;
  font: 14px/1.95 'Microsoft YaHei', 'PingFang SC', sans-serif;
  letter-spacing: .02em;
}

#experience.opening-page .hero-actions {
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 32px;
}

#experience.opening-page .primary-button {
  min-width: 174px;
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid #eae4d8;
  background: #eae4d8;
  color: #21241f;
  font: 12px/1.8 'Microsoft YaHei', 'PingFang SC', sans-serif;
  letter-spacing: .03em;
}

#experience.opening-page .primary-button {
  transition: background-color 180ms ease, transform 180ms ease;
}

#experience.opening-page .primary-button:hover {
  background: #fff8ec;
}

#experience.opening-page .primary-button:active {
  transform: translateY(1px);
}

#experience.opening-page .relight-button {
  min-height: 44px;
  color: #bcb8ad;
  font: 11px/1.8 'Microsoft YaHei', 'PingFang SC', sans-serif;
  letter-spacing: 0;
}

#experience.opening-page .sculpture-caption {
  left: max(5.5vw, calc((100vw - 1480px) / 2));
  bottom: clamp(112px, 13vh, 180px);
}

#experience.opening-page .caption-note {
  font: 11px/1.8 'Microsoft YaHei', 'PingFang SC', sans-serif;
  letter-spacing: .02em;
}

#experience.opening-page .opening-footer {
  position: absolute;
  z-index: 3;
  left: max(5.5vw, calc((100vw - 1480px) / 2));
  right: max(144px, calc((100vw - 1480px) / 2));
  bottom: clamp(30px, 4.5vh, 60px);
  width: auto !important;
  padding: 16px 0 0 !important;
  border-top: 1px solid #f3f0e82b;
}

#experience.opening-page .opening-next,
#field.field-page .field-next {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 44px;
  color: #d1b58a;
  font: 12px/1.8 'Microsoft YaHei', 'PingFang SC', sans-serif;
  letter-spacing: 0;
  text-decoration: none;
}

#experience.opening-page .opening-next > span,
#field.field-page .field-next > span {
  font-size: 18px;
}

#experience.opening-page a:hover,
#field.field-page a:hover {
  color: #f3f0e8;
}

#experience.opening-page :is(a, button):focus-visible,
#field.field-page a:focus-visible {
  outline: 2px solid #d1b58a;
  outline-offset: 5px;
}

.scene-opening #experience.opening-page .opening-masthead {
  animation: fade-in 1.4s both 2.6s;
}

.scene-opening #experience.opening-page .opening-footer {
  animation: fade-in 1.6s both 3.2s;
}

.intro-pending #experience.opening-page :is(.opening-masthead, .opening-footer) {
  animation-play-state: paused;
}

.intro-pending #experience.opening-page :is(.opening-masthead, .hero-copy, .sculpture-caption, .opening-footer) {
  visibility: hidden;
  pointer-events: none;
}

/* 02 — Field spread: one clear thesis, one large radar. */
#profile.marklab-section {
  padding: 0;
  border-top: 0;
  background: #101211;
}

#field.field-page {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  gap: 0;
  color: #f3f0e8;
  background: #101211;
  font-family: 'Microsoft YaHei', 'PingFang SC', 'Noto Sans CJK SC', sans-serif;
  font-synthesis: weight;
  font-weight: 400;
}

#field.field-page .field-masthead {
  width: 100%;
  margin: 0 0 32px;
  padding: 0 0 18px;
  border-bottom: 1px solid #f3f0e82b;
}

#field.field-page .field-masthead small {
  font: 10px/1.8 'Microsoft YaHei', 'PingFang SC', sans-serif;
  letter-spacing: .06em;
}

#field.field-page .field-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(28px, 3vw, 44px);
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}

#field.field-page .marklab-copy {
  grid-column: 1;
  grid-row: 1;
  order: 0;
  min-width: 0;
  padding: 0;
  container-type: inline-size;
}

#field.field-page .marklab-kicker {
  margin: 0 0 28px;
  color: #d1b58a;
  font: 10px/1.8 ui-monospace, monospace;
  letter-spacing: .13em;
}

#field.field-page h2 {
  margin: 0 0 22px;
  color: #f3f0e8;
  font: 700 min(clamp(64px, 5.2vw, 88px), 14cqi)/1.35 'Microsoft YaHei', 'PingFang SC', 'Noto Sans CJK SC', sans-serif;
  letter-spacing: -.035em;
}

#field.field-page h2 .profile-title-line {
  display: block;
  color: inherit;
  line-height: inherit;
  white-space: nowrap;
}

#field.field-page h2 em {
  color: #d1b58a;
  font-style: normal;
}

#field.field-page .field-caption {
  margin: 0 0 30px;
  color: #d1b58a;
  font: 400 16px/1.8 'Microsoft YaHei', 'PingFang SC', sans-serif;
}

#field.field-page .marklab-summary {
  max-width: 36em;
  margin: 0;
  color: #c2c3b9;
  font: 400 16px/1.8 'Microsoft YaHei', 'PingFang SC', sans-serif;
  letter-spacing: 0;
}

#field.field-page .marklab-summary + .marklab-summary {
  margin-top: 10px;
}

#field.field-page .marklab-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  color: #d9bd93;
  font: 400 13px/1.8 'Microsoft YaHei', 'PingFang SC', sans-serif;
  letter-spacing: 0;
}

#field.field-page .marklab-source-note {
  margin: 22px 0 0;
  color: #b8bbaf !important;
  font: 400 13px/1.8 'Microsoft YaHei', 'PingFang SC', sans-serif !important;
}

#field.field-page .radar-art {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: center;
  position: relative;
  inset: auto;
  width: min(100%, 620px);
  max-width: 620px;
  height: auto;
  aspect-ratio: 1;
  margin: 0;
  padding: 0;
  opacity: 1;
  filter: none;
}

#field.field-page .radar-center {
  width: 124px;
  height: 124px;
  background: radial-gradient(circle, #31261be8, #101211f5 68%);
}

#field.field-page .radar-center-sub {
  font: 30px/1 Georgia, serif;
}

#field.field-page .field-footer {
  width: 100%;
  margin: 32px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid #f3f0e82b;
}

@media (min-width: 761px) {
  body.presentation-mode .slide-nav {
    gap: 0;
  }

  body.presentation-mode .slide-nav button {
    min-height: 44px;
    color: #a6ada3;
  }

  body.presentation-mode .slide-nav button:is(.is-active, :hover, :focus-visible) {
    color: #d1b58a;
  }

  body.presentation-mode .slide-nav button.is-active span {
    border-color: currentColor;
  }

  body.presentation-mode .slide-nav button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
  }

  body.presentation-mode .slide-nav button:focus-visible i {
    opacity: 1;
  }

  body.presentation-mode #experience.opening-page {
    overflow: auto;
  }

  body.presentation-mode #field.field-page.slide-page {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: safe center;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: none;
    height: 100dvh;
    min-height: 0;
    margin: 0;
    padding: clamp(32px, 5vh, 60px) 144px;
    padding-inline: clamp(128px, 10vw, 144px);
    overflow: auto;
    background: #101211;
  }

  body.presentation-mode #field.field-page.slide-page > * {
    flex: 0 0 auto;
    width: 100%;
    max-width: 1120px;
    padding-inline: 0;
  }
}

@media (min-width: 761px) and (max-width: 1099px) {
  #experience.opening-page .hero-copy {
    left: 44%;
  }

  #experience.opening-page h1 {
    font-size: clamp(46px, 5.6vw, 64px);
  }

  #field.field-page .field-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 24px;
  }

  #field.field-page h2 {
    font-size: min(clamp(48px, 6vw, 66px), 14cqi);
  }

  #field.field-page .radar-center {
    width: 82px;
    height: 82px;
  }

  #field.field-page .radar-center-sub {
    font-size: 23px;
  }
}

@media (min-width: 761px) and (max-height: 600px) {
  #experience.opening-page .opening-masthead {
    top: 22px;
  }

  #experience.opening-page .hero-copy {
    top: 98px;
    padding-bottom: 150px !important;
    transform: none;
  }

  #experience.opening-page h1 {
    font-size: clamp(44px, 4.8vw, 72px);
  }

  #experience.opening-page .opening-footer {
    top: 460px;
    bottom: auto;
  }

  #experience.opening-page .sculpture-caption {
    display: none;
  }
}

@media (max-width: 760px) {
  #experience.opening-page {
    display: flex;
    flex-direction: column;
    min-height: 100svh;
    height: auto;
    padding: 30px clamp(24px, 6vw, 40px) max(30px, env(safe-area-inset-bottom));
  }

  #experience.opening-page .opening-masthead {
    position: relative;
    inset: auto;
    width: 100% !important;
    flex: 0 0 auto;
    gap: 12px;
    padding-bottom: 18px !important;
  }

  #experience.opening-page .opening-masthead > span {
    white-space: nowrap;
    font-size: 9px;
  }

  #experience.opening-page .opening-masthead .brand-name {
    justify-content: flex-end;
    gap: 3px 8px;
    font-size: 11px;
    letter-spacing: 0;
  }

  #experience.opening-page .mobile-scene-anchor {
    height: clamp(236px, 36svh, 330px);
    margin-top: 18px;
  }

  #experience.opening-page .hero-copy {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: 600px;
    margin: 24px auto 32px;
    padding: 0 !important;
    transform: none;
  }

  #experience.opening-page h1 {
    font-size: clamp(48px, 14vw, 76px);
    margin-bottom: 24px;
    line-height: 1.2;
  }

  #experience.opening-page h1 > br {
    display: initial;
  }

  #experience.opening-page .eyebrow {
    margin-bottom: 24px;
    font-size: 9px;
  }

  #experience.opening-page .hero-description p {
    font-size: 14px;
  }

  #experience.opening-page .hero-actions {
    gap: 14px 22px;
    margin-top: 24px;
  }

  #experience.opening-page .primary-button {
    min-width: 160px;
    min-height: 48px;
  }

  #experience.opening-page .opening-footer {
    position: relative;
    inset: auto;
    flex-wrap: wrap;
    width: 100% !important;
    margin-top: auto;
    padding: 16px 0 0 !important;
    font-size: 9px;
    letter-spacing: .03em;
  }

  #experience.opening-page .scene-loading {
    top: 122px;
  }

  #field.field-page {
    display: flex;
    flex-direction: column;
    min-height: 100svh;
    margin: 0;
    padding: 54px clamp(24px, 6vw, 40px);
    background: #101211;
  }

  #field.field-page .field-masthead {
    gap: 12px;
    margin-bottom: 34px;
  }

  #field.field-page .field-masthead > span,
  #field.field-page .field-masthead small {
    font-size: 9px;
  }

  #field.field-page .field-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }

  #field.field-page .marklab-copy {
    grid-column: 1;
    grid-row: 1;
  }

  #field.field-page h2 {
    font-size: min(clamp(48px, 13vw, 78px), 14cqi);
  }

  #field.field-page .marklab-kicker {
    margin-bottom: 22px;
    font-size: 9px;
    letter-spacing: .07em;
  }

  #field.field-page .field-caption {
    margin-bottom: 24px;
  }

  #field.field-page .radar-art {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
    width: min(100%, 460px);
    max-width: 460px;
  }

  #field.field-page .radar-center {
    width: 104px;
    height: 104px;
  }

  #field.field-page .radar-center-sub {
    font-size: 26px;
  }

  #field.field-page .field-footer {
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: 34px;
  }
}

/* The prompt replaces the old CTA without adding a modal or another panel. */
#experience.opening-page .hero-actions.prompt-copy {
  display: grid;
  justify-items: start;
  gap: 12px;
  width: min(100%, 380px);
  font-synthesis: weight;
}

#experience.opening-page .prompt-copy-label {
  margin: 0;
  color: #c4c1b8;
  font: 400 16px/1.7 'Microsoft YaHei', 'PingFang SC', sans-serif;
  letter-spacing: 0;
}

#experience.opening-page .copy-prompt-button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 60px;
  padding: 14px;
  border: 1px solid #d1b58a80;
  border-radius: 2px;
  color: #f3f0e8;
  background: transparent;
  font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
  text-align: left;
  white-space: nowrap;
  transition: background-color 180ms ease, border-color 180ms ease;
}

#experience.opening-page .prompt-copy-text,
#experience.opening-page .prompt-copy-static {
  min-width: 0;
  margin: 0;
  color: #f3f0e8;
  font: 500 18px/1.6 'Microsoft YaHei', 'PingFang SC', sans-serif;
  user-select: text;
}

#experience.opening-page .prompt-copy-action {
  color: #d1b58a;
  font: 400 14px/1.6 'Microsoft YaHei', 'PingFang SC', sans-serif;
  text-align: right;
}

#experience.opening-page .copy-prompt-button:hover:not(:disabled) {
  border-color: #d1b58a;
  background: #d1b58a0c;
}

#experience.opening-page .copy-prompt-button:active:not(:disabled) {
  transform: translateY(1px);
}

#experience.opening-page .copy-prompt-button:disabled {
  opacity: .75;
}

#experience.opening-page .prompt-copy-feedback {
  margin: 4px 0 0;
  color: #f3f0e8;
  font: 14px/1.8 'Microsoft YaHei', 'PingFang SC', sans-serif;
}

@media (prefers-reduced-motion: reduce) {
  #experience.opening-page :is(.opening-masthead, .opening-footer) {
    animation: none;
  }

  #experience.opening-page .copy-prompt-button {
    transition: none;
  }
}
