/* Ruihong Team — Official Site */
:root {
  --bg-deep: #020914;
  --bg: #061428;
  --bg-elev: #0b1c36;
  --navy: #0a1a33;
  --gold: #c9a24a;
  --gold-bright: #e8c97a;
  --gold-dim: rgba(201, 162, 74, 0.35);
  --gold-glow: rgba(232, 201, 122, 0.45);
  --text: #f3efe4;
  --text-muted: rgba(243, 239, 228, 0.68);
  --line: rgba(201, 162, 74, 0.28);
  --glass: rgba(255, 255, 255, 0.035);
  --glass-border: rgba(201, 162, 74, 0.22);
  --radius: 4px;
  --max: 1180px;
  --header-h: 78px;
  --font-serif: "Noto Serif SC", "Cormorant Garamond", serif;
  --font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --font-display: "Cormorant Garamond", "Noto Serif SC", serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--text);
  background: var(--bg-deep);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1, h2, h3, strong {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.25;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(30, 70, 120, 0.28), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(120, 90, 30, 0.12), transparent 50%),
    linear-gradient(180deg, #020914 0%, #061428 40%, #020914 100%);
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

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

.site-header.is-scrolled {
  background: rgba(2, 9, 20, 0.86);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 50%;
  border: 1px solid var(--gold-dim);
  box-shadow: 0 0 18px rgba(201, 162, 74, 0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
}

.brand-text em {
  font-style: normal;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  color: var(--text-muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  font-size: 0.84rem;
  padding: 8px 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  transition: color 0.25s ease;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--gold-bright);
}

.site-nav .nav-cta {
  margin-left: 8px;
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  padding: 8px 16px;
}

.site-nav .nav-cta:hover {
  background: var(--gold);
  color: var(--bg-deep);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--gold-bright);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 28px;
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  background: transparent;
}

.btn:hover {
  background: var(--gold);
  color: var(--bg-deep);
  box-shadow: 0 0 28px rgba(201, 162, 74, 0.35);
  transform: translateY(-1px);
}

.btn-gold {
  background: linear-gradient(135deg, #b8923d, #e8c97a 55%, #b8923d);
  color: #1a1205;
  border-color: transparent;
  font-weight: 500;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #e8c97a, #f5e2a8 55%, #e8c97a);
  color: #1a1205;
}

.btn-lg {
  min-height: 54px;
  padding: 0 40px;
  font-size: 1rem;
}

.btn-outline {
  background: transparent;
}

/* Sections */
.section {
  padding: 110px 0;
  position: relative;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  color: var(--gold);
  margin: 0 0 18px;
  text-transform: uppercase;
}

.section-label span {
  color: var(--text-muted);
  margin-left: 8px;
}

.section-head {
  margin-bottom: 56px;
}

.section-head.center {
  text-align: center;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 56px;
}

.section-head h2,
.about-copy h2,
.strategy-copy h2,
.culture-copy h2,
.join-inner h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin: 0 0 18px;
  color: var(--text);
}

.section-lead {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin: 0;
}

.eyebrow {
  font-family: var(--font-display);
  letter-spacing: 0.32em;
  color: var(--gold);
  font-size: 0.78rem;
  margin: 0 0 20px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  z-index: -1;
  opacity: 0.55;
  filter: saturate(0.9) brightness(0.55);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 9, 20, 0.92) 0%, rgba(2, 9, 20, 0.72) 48%, rgba(2, 9, 20, 0.45) 100%),
    linear-gradient(180deg, rgba(2, 9, 20, 0.55) 0%, transparent 35%, rgba(2, 9, 20, 0.88) 100%);
}

.hero-glow {
  position: absolute;
  left: 55%;
  bottom: 8%;
  width: 55vw;
  height: 40vh;
  background: radial-gradient(ellipse, rgba(201, 162, 74, 0.22), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.05); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  margin: 0 0 24px;
  letter-spacing: 0.04em;
}

.hero-copy h1 span {
  color: var(--gold-bright);
}

.hero-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 34em;
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 42px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

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

.hero-meta strong {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--gold-bright);
  letter-spacing: 0.04em;
}

.hero-meta span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Orbit */
.hero-orbit {
  display: flex;
  justify-content: center;
}

.orbit-ring {
  position: relative;
  width: min(420px, 90vw);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--gold-dim);
  box-shadow:
    0 0 0 1px rgba(201, 162, 74, 0.08) inset,
    0 0 60px rgba(201, 162, 74, 0.12);
}

.orbit-ring::before {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 1px dashed rgba(201, 162, 74, 0.25);
}

.orbit-core {
  position: absolute;
  inset: 30%;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--gold);
  animation: coreGlow 4s ease-in-out infinite;
}

.orbit-core img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.orbit-item {
  position: absolute;
  width: 96px;
  height: 96px;
  margin: 0;
  border-radius: 50%;
  background: rgba(6, 20, 40, 0.88);
  border: 1px solid var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2px;
  font-size: 0.78rem;
  color: var(--text);
  box-shadow: 0 0 24px rgba(201, 162, 74, 0.2);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.orbit-item:hover {
  box-shadow: 0 0 32px rgba(232, 201, 122, 0.45);
  z-index: 2;
}

.orbit-num {
  font-family: var(--font-display);
  color: var(--gold-bright);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

@keyframes coreGlow {
  0%, 100% { box-shadow: 0 0 30px rgba(201, 162, 74, 0.28); }
  50% { box-shadow: 0 0 48px rgba(232, 201, 122, 0.5); }
}

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 36px;
  border: 1px solid var(--gold-dim);
  border-radius: 12px;
}

.scroll-hint span {
  display: block;
  width: 3px;
  height: 8px;
  margin: 8px auto 0;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollDot 1.6s ease-in-out infinite;
}

@keyframes scrollDot {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(12px); }
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-copy p {
  color: var(--text-muted);
  margin: 0 0 18px;
}

.about-copy .btn {
  margin-top: 12px;
}

.about-visual {
  position: relative;
}

.frame-gold {
  position: relative;
  overflow: hidden;
}

.frame-gold::before,
.frame-gold::after {
  content: "";
  position: absolute;
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--gold);
  z-index: 2;
  pointer-events: none;
}

.frame-gold::before {
  top: 12px;
  left: 12px;
  border-right: none;
  border-bottom: none;
}

.frame-gold::after {
  right: 12px;
  bottom: 12px;
  border-left: none;
  border-top: none;
}

.frame-gold img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.85);
}

.about-float {
  position: absolute;
  width: 42%;
  right: -8%;
  bottom: -12%;
  border: 1px solid var(--gold-dim);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.about-float img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

/* Origin */
.origin {
  padding-top: 40px;
  background: linear-gradient(180deg, transparent, rgba(10, 28, 54, 0.45), transparent);
}

.origin-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

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

.origin-card {
  padding: 32px 28px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-top: 2px solid var(--gold);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.origin-card:hover {
  border-color: var(--gold);
  box-shadow: 0 0 36px rgba(201, 162, 74, 0.12);
  transform: translateY(-4px);
}

.origin-card h3 {
  margin: 0 0 14px;
  color: var(--gold-bright);
  font-size: 1.2rem;
}

.origin-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Industry cards */
.industry {
  background:
    radial-gradient(ellipse at center top, rgba(201, 162, 74, 0.06), transparent 55%);
}

.industry-grid,
.risk-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.glass-card {
  padding: 34px 30px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--glass-border);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.glass-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35), 0 0 30px rgba(201, 162, 74, 0.12);
}

.card-icon {
  width: 48px;
  height: 48px;
  color: var(--gold-bright);
  margin-bottom: 18px;
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.card-num {
  font-family: var(--font-display);
  color: var(--gold);
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  margin: 0 0 10px;
}

.glass-card h3,
.team-card h3 {
  margin: 0 0 12px;
  font-size: 1.18rem;
}

.glass-card p:last-child {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* Strategy */
.strategy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 100px;
}

.strategy-copy p {
  color: var(--text-muted);
}

.strategy-points {
  margin: 24px 0 32px;
  display: grid;
  gap: 14px;
}

.strategy-points li {
  padding-left: 18px;
  border-left: 2px solid var(--gold);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.strategy-points strong {
  display: block;
  color: var(--gold-bright);
  margin-bottom: 4px;
  font-size: 1rem;
}

.strategy-diagram {
  position: relative;
  border: 1px solid var(--glass-border);
  overflow: hidden;
  background: var(--bg-elev);
}

.strategy-diagram img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  opacity: 0.92;
}

.diagram-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: space-between;
  padding: 18px;
}

.diagram-labels span {
  width: fit-content;
  padding: 6px 12px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
  background: rgba(2, 9, 20, 0.72);
  border: 1px solid var(--gold-dim);
}

.diagram-labels span:nth-child(2),
.diagram-labels span:nth-child(4) {
  justify-self: end;
}

.pillars {
  margin-top: 20px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.pillar {
  text-align: center;
  padding: 36px 18px;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.pillar:hover {
  border-color: var(--gold);
  box-shadow: 0 0 28px rgba(201, 162, 74, 0.14);
}

.pillar span {
  font-family: var(--font-display);
  color: var(--gold);
  letter-spacing: 0.2em;
  font-size: 0.85rem;
}

.pillar h3 {
  margin: 14px 0 10px;
  font-size: 1.05rem;
}

.pillar p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Timeline */
.timeline-visual {
  margin-bottom: 42px;
  border: 1px solid var(--glass-border);
  overflow: hidden;
}

.timeline-visual img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: center;
}

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

.timeline-item {
  padding: 28px 22px;
  border-top: 2px solid var(--gold);
  background: var(--glass);
  border-right: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  border-left: 1px solid var(--glass-border);
}

.timeline-item time {
  font-family: var(--font-display);
  color: var(--gold-bright);
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}

.timeline-item h3 {
  margin: 12px 0;
  font-size: 1.1rem;
}

.timeline-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.spirit-line {
  text-align: center;
  margin: 56px 0 0;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  line-height: 2;
}

.spirit-line strong {
  color: var(--gold-bright);
  font-size: 1.2rem;
  letter-spacing: 0.2em;
}

/* Risk */
.risk {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201, 162, 74, 0.08), transparent 50%),
    linear-gradient(180deg, transparent, rgba(8, 22, 42, 0.7), transparent);
}

.risk-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
  padding: 28px 18px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.02);
}

.risk-step {
  min-width: 120px;
  text-align: center;
  padding: 16px 12px;
}

.risk-step span {
  display: block;
  font-family: var(--font-display);
  color: var(--gold);
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  margin-bottom: 8px;
}

.risk-step strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.risk-step em {
  font-style: normal;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.risk-arrow {
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  position: relative;
}

.risk-arrow::after {
  content: "";
  position: absolute;
  right: -2px;
  top: -3px;
  border: 4px solid transparent;
  border-left-color: var(--gold);
}

.risk-quote {
  margin: 48px auto 0;
  max-width: 720px;
  text-align: center;
  border: none;
  padding: 28px;
  color: var(--gold-bright);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  line-height: 2;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 74, 0.08), transparent);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.team-card {
  padding: 36px 28px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 0 36px rgba(201, 162, 74, 0.14);
}

.team-icon {
  width: 52px;
  height: 52px;
  color: var(--gold-bright);
  margin-bottom: 18px;
}

.team-icon svg {
  width: 100%;
  height: 100%;
}

.team-card ul {
  display: grid;
  gap: 10px;
}

.team-card li {
  position: relative;
  padding-left: 16px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.team-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 1px;
  background: var(--gold);
}

/* Culture */
.culture-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.culture-visual {
  border: 1px solid var(--glass-border);
  overflow: hidden;
}

.culture-visual img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.culture-copy p {
  color: var(--text-muted);
}

.culture-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.culture-tags span {
  padding: 8px 16px;
  border: 1px solid var(--gold-dim);
  color: var(--gold-bright);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

/* Social */
.social-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.social-visual {
  border: 1px solid var(--glass-border);
  overflow: hidden;
}

.social-visual img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.social-cards {
  display: grid;
  gap: 16px;
}

.social-card {
  padding: 26px 24px;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  border-left: 2px solid var(--gold);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.social-card:hover {
  background: rgba(201, 162, 74, 0.06);
  box-shadow: 0 0 28px rgba(201, 162, 74, 0.1);
}

.social-card h3 {
  margin: 0 0 10px;
  color: var(--gold-bright);
  font-size: 1.15rem;
}

.social-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* Join */
.join {
  position: relative;
  padding: 140px 0;
  text-align: center;
  overflow: hidden;
}

.join-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  filter: brightness(0.45) saturate(0.85);
  z-index: -1;
}

.join-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 9, 20, 0.75), rgba(2, 9, 20, 0.55), rgba(2, 9, 20, 0.88)),
    radial-gradient(ellipse at center, rgba(201, 162, 74, 0.18), transparent 60%);
}

.join-inner {
  max-width: 720px;
}

.join-inner p {
  color: var(--text-muted);
  margin: 0 0 36px;
  font-size: 1.05rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 36px;
  background: #020914;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.3fr;
  gap: 36px;
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer-brand img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  border: 1px solid var(--gold-dim);
}

.footer-brand strong {
  display: block;
  color: var(--gold-bright);
  letter-spacing: 0.08em;
}

.footer-brand em {
  display: block;
  font-style: normal;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  color: var(--text-muted);
  margin: 4px 0 8px;
}

.footer-brand p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-muted);
  letter-spacing: 0.16em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-content: flex-start;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: var(--gold-bright);
}

.footer-note p {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.copyright {
  color: rgba(243, 239, 228, 0.45) !important;
  letter-spacing: 0.06em;
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 90;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--gold);
  background: rgba(2, 9, 20, 0.88);
  color: var(--gold-bright);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gold);
  color: var(--bg-deep);
  box-shadow: 0 0 28px rgba(201, 162, 74, 0.35);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: var(--d, 0s);
}

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

/* Orbit item positioning without inline style conflicts */
.orbit-item:nth-child(2) { left: 50%; top: 0%; transform: translate(-50%, -35%); margin: 0; }
.orbit-item:nth-child(3) { left: 100%; top: 50%; transform: translate(-65%, -50%); margin: 0; }
.orbit-item:nth-child(4) { left: 50%; top: 100%; transform: translate(-50%, -65%); margin: 0; }
.orbit-item:nth-child(5) { left: 0%; top: 50%; transform: translate(-35%, -50%); margin: 0; }

/* Responsive */
@media (max-width: 1080px) {
  .site-nav a:not(.nav-cta) {
    padding: 8px 8px;
    font-size: 0.78rem;
  }

  .hero-grid,
  .about-grid,
  .strategy-grid,
  .culture-grid,
  .social-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 28px);
  }

  .hero-orbit {
    order: -1;
  }

  .orbit-ring {
    width: min(340px, 78vw);
  }

  .about-float {
    right: 4%;
    bottom: -8%;
  }

  .timeline-list,
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 18px 20px 28px;
    background: rgba(2, 9, 20, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 14px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
  }

  .site-nav .nav-cta {
    margin: 12px 0 0;
    text-align: center;
    justify-content: center;
  }

  .industry-grid,
  .risk-grid,
  .team-grid,
  .origin-grid {
    grid-template-columns: 1fr;
  }

  .risk-arrow {
    width: 100%;
    height: 24px;
    background: linear-gradient(180deg, transparent, var(--gold), transparent);
  }

  .risk-arrow::after {
    right: 50%;
    top: auto;
    bottom: -2px;
    transform: translateX(50%) rotate(90deg);
  }

  .risk-flow {
    flex-direction: column;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .section {
    padding: 80px 0;
  }

  .hero-copy h1 {
    font-size: 2.3rem;
  }

  .hero-meta {
    gap: 18px;
  }

  .timeline-list,
  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .about-float {
    display: none;
  }

  .orbit-item {
    width: 78px;
    height: 78px;
    font-size: 0.68rem;
  }

  .brand-text {
    display: none;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-glow, .orbit-core, .scroll-hint span { animation: none; }
}
