:root {
  color-scheme: light;
  --ink: #141311;
  --ink-2: #1e1c18;
  --ink-3: #2a2722;
  --stone: #c4bbad;
  --stone-2: #b7ad9e;
  --stone-3: #a89e8e;
  --cream: #e8e2d6;
  --muted-on-dark: #b3aa9c;
  --muted-on-stone: #4a453c;
  --line-on-dark: rgba(232, 226, 214, 0.16);
  --line-on-stone: rgba(20, 19, 17, 0.16);
  --accent: #c4b199;
  --accent-soft: rgba(196, 177, 153, 0.22);
  --header: #12110f;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--cream);
  background: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

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

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 0 clamp(20px, 5vw, 72px);
  color: var(--cream);
  background:
    linear-gradient(180deg, rgba(196, 177, 153, 0.06), transparent 42%),
    var(--header);
  border-bottom: 1px solid rgba(196, 177, 153, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.06em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(196, 177, 153, 0.55);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 28px);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.site-nav a {
  opacity: 0.8;
}

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

.site-nav-login {
  padding-left: 18px;
  border-left: 1px solid var(--line-on-dark);
  opacity: 0.7;
}

.site-nav-login:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

.site-nav-mobile {
  display: none;
  position: relative;
}

.site-nav-mobile summary {
  list-style: none;
  cursor: pointer;
  padding: 6px 0;
  font-size: 13px;
  letter-spacing: 0.1em;
}

.site-nav-mobile summary::-webkit-details-marker {
  display: none;
}

.site-nav-mobile-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  min-width: 188px;
  padding: 8px 0;
  background: #1a1916;
  border: 1px solid var(--line-on-dark);
}

.site-nav-mobile-panel a {
  padding: 10px 18px;
  font-size: 14px;
  color: var(--cream);
}

.site-nav-mobile-panel a:hover,
.site-nav-mobile-panel a:focus-visible {
  background: rgba(232, 226, 214, 0.06);
}

.hero {
  position: relative;
  min-height: 64vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  color: var(--cream);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.hero-shade {
  background:
    radial-gradient(ellipse 50% 48% at 50% 82%, rgba(196, 177, 153, 0.18), transparent 64%),
    radial-gradient(ellipse 40% 32% at 82% 18%, rgba(196, 177, 153, 0.08), transparent 58%),
    linear-gradient(0deg, rgba(12, 11, 9, 0.84) 0%, rgba(12, 11, 9, 0.5) 34%, rgba(12, 11, 9, 0.2) 56%, rgba(12, 11, 9, 0.1) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 40px));
  margin: 0 auto 44px;
  padding-top: 80px;
  text-align: center;
}

.hero-content::before,
.hero-content::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  pointer-events: none;
  border-color: rgba(196, 177, 153, 0.55);
  border-style: solid;
}

.hero-content::before {
  top: 72px;
  left: -2px;
  border-width: 1px 0 0 1px;
}

.hero-content::after {
  right: -2px;
  bottom: -8px;
  width: 18px;
  height: 18px;
  border-width: 0 1px 1px 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 1px;
  margin-right: 10px;
  vertical-align: middle;
  background: currentColor;
  opacity: 0.75;
}

.hero .eyebrow {
  color: rgba(232, 226, 214, 0.72);
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: 0.06em;
}

.hero h1 {
  font-size: clamp(48px, 7.2vw, 80px);
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 650;
  line-height: 1.28;
  letter-spacing: 0.02em;
}

h3 {
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.4;
}

.hero-copy {
  width: min(544px, 100%);
  margin-left: auto;
  margin-right: auto;
  color: rgba(232, 226, 214, 0.88);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(232, 226, 214, 0.5);
  font-size: 14px;
  letter-spacing: 0.06em;
}

.primary-link {
  background: var(--cream);
  color: var(--ink);
}

.secondary-link {
  color: var(--cream);
  background: rgba(20, 19, 17, 0.28);
}

.primary-link:hover,
.secondary-link:hover,
.primary-link:focus-visible,
.secondary-link:focus-visible {
  background: var(--cream);
  color: var(--ink);
}

.intro-band {
  position: relative;
  isolation: isolate;
  background: var(--ink);
  color: var(--cream);
  border-top: 1px solid rgba(196, 177, 153, 0.28);
}

.intro-grid {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.intro-grid > div {
  padding: 32px 28px 36px;
}

.intro-grid > div + div {
  border-left: 1px solid var(--line-on-dark);
}

.stat {
  display: block;
  margin-bottom: 8px;
  color: #d6c7ae;
  font-size: 32px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.intro-grid p {
  margin: 0;
  color: var(--muted-on-dark);
  font-size: 14px;
  line-height: 1.7;
}

.section {
  position: relative;
  isolation: isolate;
  padding: clamp(40px, 5vw, 64px) clamp(20px, 5vw, 72px);
}

.section-heading {
  width: min(1120px, 100%);
  margin: 0 auto 28px;
}

.section-heading p:not(.eyebrow) {
  max-width: 40em;
}

.split-section {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 24px;
  align-items: stretch;
}

.split-section.reverse {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.split-section.reverse .section-copy {
  order: 2;
}

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

#position {
  background: var(--stone);
  color: var(--ink);
}

#position .eyebrow {
  color: #5a5348;
}

#position .section-copy p,
#position .plain-list span {
  color: var(--muted-on-stone);
}

.plain-list {
  display: grid;
  gap: 1px;
  background: var(--line-on-stone);
  border: 1px solid var(--line-on-stone);
  min-width: 0;
}

.plain-list div {
  display: grid;
  gap: 6px;
  padding: 22px 24px;
  background:
    linear-gradient(180deg, rgba(232, 226, 214, 0.05), transparent 48%),
    var(--ink-2);
  color: var(--cream);
  box-shadow: inset 0 1px 0 rgba(196, 177, 153, 0.12);
}

.plain-list strong {
  font-size: 18px;
  font-weight: 650;
  color: var(--cream);
}

.plain-list span {
  color: var(--muted-on-dark) !important;
  font-size: 16px;
}

#support {
  background: var(--ink-2);
  color: var(--cream);
}

#support .section-heading p:not(.eyebrow) {
  color: var(--muted-on-dark);
}

.service-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-on-dark);
  border: 1px solid var(--line-on-dark);
}

.service-grid article {
  min-height: 230px;
  padding: 26px 22px 28px;
  background:
    linear-gradient(180deg, rgba(232, 226, 214, 0.055), transparent 46%),
    #25221d;
  box-shadow: inset 0 1px 0 rgba(196, 177, 153, 0.14);
}

.service-grid article span {
  display: block;
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.service-grid article h3 {
  color: var(--cream);
  font-size: 18px;
}

.service-grid article p {
  color: var(--muted-on-dark);
  font-size: 16px;
}

#anchors {
  background: var(--stone-2);
  color: var(--ink);
}

#anchors .eyebrow {
  color: #5a5348;
}

#anchors .section-copy p,
#anchors .check-list li {
  color: var(--muted-on-stone);
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1px;
  background: var(--line-on-stone);
  border: 1px solid var(--line-on-stone);
  min-width: 0;
}

.check-list li {
  padding: 22px 24px;
  background:
    linear-gradient(180deg, rgba(232, 226, 214, 0.05), transparent 48%),
    var(--ink-3);
  color: var(--cream) !important;
  font-size: 16px;
  box-shadow: inset 0 1px 0 rgba(196, 177, 153, 0.12);
}

.process-section {
  background: var(--ink);
  color: var(--cream);
}

.process-section .section-heading p:not(.eyebrow) {
  color: var(--muted-on-dark);
}

.process-list {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  counter-reset: step;
  gap: 1px;
  background: var(--line-on-dark);
  border: 1px solid var(--line-on-dark);
}

.process-list li {
  min-height: 176px;
  padding: 24px 22px 26px;
  background:
    linear-gradient(180deg, rgba(232, 226, 214, 0.05), transparent 48%),
    var(--ink-3);
  box-shadow: inset 0 1px 0 rgba(196, 177, 153, 0.12);
  counter-increment: step;
}

.process-list li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.process-list strong,
.process-list span {
  display: block;
}

.process-list strong {
  color: var(--cream);
  font-size: 18px;
}

.process-list span {
  margin-top: 8px;
  color: var(--muted-on-dark);
  font-size: 16px;
}

.rules-section {
  background: var(--stone);
  color: var(--ink);
  padding-top: clamp(36px, 4vw, 48px);
  padding-bottom: clamp(36px, 4vw, 48px);
}

.rules-section .eyebrow {
  color: #5a5348;
}

.rules-section .section-heading p:not(.eyebrow) {
  color: var(--muted-on-stone);
}

.rule-row {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-on-stone);
  border: 1px solid var(--line-on-stone);
}

.rule-row span {
  padding: 26px 16px;
  text-align: center;
  font-size: 16px;
  letter-spacing: 0.04em;
  background:
    linear-gradient(180deg, rgba(232, 226, 214, 0.05), transparent 50%),
    var(--ink-2);
  box-shadow: inset 0 1px 0 rgba(196, 177, 153, 0.12);
  color: var(--cream);
}

.contact-section {
  background: #100f0d;
  color: var(--cream);
}

.contact-section .eyebrow {
  color: var(--accent);
}

.contact-section .section-copy p,
.contact-section .contact-note {
  color: var(--muted-on-dark);
}

.contact-copy-wrap {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.contact-open {
  margin-top: 22px;
  cursor: pointer;
}

.contact-note {
  margin-top: 16px;
  font-size: 15px;
}

.site-footer {
  position: relative;
  isolation: isolate;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 22px max(clamp(20px, 5vw, 72px), 108px) 92px;
  border-top: 1px solid rgba(196, 177, 153, 0.2);
  background: var(--header);
  color: #9a9388;
  font-size: 13px;
  text-align: center;
}

.site-footer a {
  color: #cfc6b8;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--cream);
  text-decoration: underline;
}

.float-contact {
  position: fixed;
  z-index: 30;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  gap: 0;
  border: 1px solid rgba(196, 177, 153, 0.7);
  border-radius: 999px;
  color: var(--ink);
  background: var(--cream);
  cursor: pointer;
}

.float-contact span {
  align-self: end;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.float-contact small {
  align-self: start;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.float-contact:hover,
.float-contact:focus-visible {
  background: #fff8eb;
  outline: 1px solid rgba(232, 226, 214, 0.4);
}

.contact-panel {
  position: fixed;
  z-index: 31;
  right: clamp(16px, 3vw, 28px);
  bottom: 90px;
  width: min(260px, calc(100vw - 32px));
  padding: 18px 16px 14px;
  background: var(--cream);
  border: 1px solid rgba(196, 177, 153, 0.55);
  color: var(--ink);
}

.contact-panel strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 650;
}

.contact-panel p {
  margin-bottom: 12px;
  color: var(--muted-on-stone);
  font-size: 13px;
}

.contact-panel img {
  display: block;
  width: 100%;
  max-width: 228px;
  height: auto;
  aspect-ratio: 999 / 1278;
  object-fit: contain;
  object-position: center top;
  background: #fff;
}

.panel-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  color: var(--muted-on-stone);
}

@media (max-width: 1020px) {
  .service-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .contact-copy-wrap {
    width: min(1120px, 100%);
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 0 18px;
    min-height: 54px;
  }

  .site-nav {
    display: none;
  }

  .site-nav-mobile {
    display: block;
  }

  .hero {
    min-height: 62vh;
  }

  .hero-content {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 32px;
    padding-right: 0;
  }

  .intro-grid,
  .split-section,
  .split-section.reverse,
  .service-grid,
  .process-list,
  .rule-row,
  .product-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .intro-grid > div + div {
    border-left: 0;
    border-top: 1px solid var(--line-on-dark);
  }

  .split-section.reverse .section-copy {
    order: initial;
  }

  .split-section,
  .split-section.reverse {
    gap: 16px;
  }

  .float-contact {
    width: 54px;
    height: 54px;
  }

  .site-footer {
    padding: 20px 20px 100px;
  }

  .intro-grid > div {
    padding-right: 88px;
  }
}


/* t1386u-r5: keep warm gold and hairlines; support rail on the left, process rail on the right. */

.hero {
  box-shadow: inset 0 -1px 0 rgba(196, 177, 153, 0.3);
}

.intro-band::after,
.section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  pointer-events: none;
  z-index: 1;
}

#support::after,
.process-section::after,
#product::after,
.contact-section::after,
.intro-band::after {
  background: linear-gradient(90deg, transparent 4%, rgba(196, 177, 153, 0.28) 18%, rgba(196, 177, 153, 0.28) 82%, transparent 96%);
}

#position::after,
#anchors::after,
.rules-section::after {
  background: linear-gradient(90deg, transparent 4%, rgba(255, 248, 230, 0.42) 18%, rgba(255, 248, 230, 0.42) 82%, transparent 96%);
}

#position,
#anchors,
.rules-section {
  box-shadow: inset 0 1px 0 rgba(255, 248, 230, 0.22);
}

#support,
.process-section,
#product,
.contact-section {
  box-shadow: inset 0 1px 0 rgba(196, 177, 153, 0.12);
}

.contact-section {
  background:
    radial-gradient(ellipse 48% 60% at 88% 20%, rgba(196, 177, 153, 0.1), transparent 64%),
    #100f0d;
}

.primary-link {
  border-color: rgba(196, 177, 153, 0.65);
}

.secondary-link {
  border-color: rgba(196, 177, 153, 0.38);
}

/* Livestream atmosphere panels: independent local studio photos, not crops of the hero original. */
.scene-rail {
  position: absolute;
  inset: 0 auto 0 auto;
  width: min(46%, 560px);
  pointer-events: none;
  z-index: 0;
}

.scene-rail-support {
  left: 0;
  right: auto;
  background:
    linear-gradient(90deg, rgba(30, 28, 24, 0.16) 0%, rgba(30, 28, 24, 0.42) 48%, rgba(30, 28, 24, 0.88) 82%, var(--ink-2) 100%),
    radial-gradient(ellipse 55% 45% at 22% 28%, rgba(196, 177, 153, 0.2), transparent 68%),
    url("./scene-support-studio.jpg") 38% 40% / cover no-repeat;
}

.scene-rail-process {
  left: auto;
  right: 0;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(20, 19, 17, 0.86) 10%, rgba(20, 19, 17, 0.28) 42%, rgba(20, 19, 17, 0.08) 100%),
    radial-gradient(ellipse 50% 45% at 78% 48%, rgba(196, 177, 153, 0.16), transparent 70%),
    url("./scene-process-studio-r5.jpg") 58% 46% / cover no-repeat;
}

#support,
.process-section {
  overflow: hidden;
}

#support > *:not(.scene-rail),
.process-section > *:not(.scene-rail) {
  position: relative;
  z-index: 1;
}

@media (min-width: 761px) {
  #support {
    padding-left: max(clamp(20px, 5vw, 72px), min(36%, 400px));
  }

  .process-section {
    padding-right: max(clamp(20px, 5vw, 72px), min(36%, 400px));
  }
}

@media (max-width: 760px) {
  .contact-panel {
    left: 16px;
    right: 16px;
    width: auto;
    bottom: 80px;
    max-height: min(70vh, calc(100dvh - 110px));
    overflow: auto;
  }

  .contact-panel img {
    margin: 0 auto;
    max-width: min(228px, 70vw);
  }

  .scene-rail {
    height: 38%;
    inset: 0 0 auto 0;
    width: 100%;
  }

  .scene-rail-support {
    left: 0;
    right: auto;
    width: 86%;
    background:
      linear-gradient(180deg, rgba(30, 28, 24, 0.28) 0%, rgba(30, 28, 24, 0.72) 55%, var(--ink-2) 100%),
      radial-gradient(ellipse 60% 50% at 20% 20%, rgba(196, 177, 153, 0.16), transparent 70%),
      url("./scene-support-studio.jpg") 16% 32% / cover no-repeat;
  }

  .scene-rail-process {
    left: auto;
    right: 0;
    width: 86%;
    background:
      linear-gradient(180deg, rgba(20, 19, 17, 0.12) 0%, rgba(20, 19, 17, 0.4) 50%, var(--ink) 100%),
      radial-gradient(ellipse 60% 50% at 84% 35%, rgba(196, 177, 153, 0.16), transparent 70%),
      url("./scene-process-studio-r5.jpg") 86% 42% / cover no-repeat;
  }
}

/* t1386u-r7: product intro after process, before rules. Left photo, right copy. Reuse existing black-gold tokens only. */
#product {
  background: var(--ink-2);
  color: var(--cream);
}

#product .product-kicker {
  color: var(--muted-on-dark);
}

.product-split {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.08fr);
  gap: 36px;
  align-items: stretch;
}

.product-visual {
  margin: 0;
  min-width: 0;
  border: 1px solid var(--line-on-dark);
  background: var(--ink-3);
}

.product-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.product-kicker {
  margin: -4px 0 22px;
  font-size: 16px;
}

.product-label {
  margin: 18px 0 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.product-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1px;
  background: var(--line-on-dark);
  border: 1px solid var(--line-on-dark);
}

.product-copy li {
  padding: 14px 16px;
  background:
    linear-gradient(180deg, rgba(232, 226, 214, 0.05), transparent 48%),
    var(--ink-3);
  box-shadow: inset 0 1px 0 rgba(196, 177, 153, 0.12);
  color: var(--cream);
  font-size: 16px;
  line-height: 1.7;
}

@media (max-width: 760px) {
  .product-split {
    gap: 20px;
    grid-template-columns: minmax(0, 1fr);
  }

  .product-visual img {
    width: 100%;
    height: 220px;
    object-fit: cover;
  }
}
