
:root {
  --bg: #06090d;
  --bg-2: #0b1118;
  --surface: rgba(13, 18, 25, 0.82);
  --surface-2: rgba(16, 22, 30, 0.92);
  --text: #edf2f7;
  --muted: #b5c0cb;
  --line: rgba(220, 181, 88, 0.22);
  --gold: #d8b45b;
  --gold-2: #a87c23;
  --gold-soft: rgba(216, 180, 91, 0.16);
  --cyan: #75c8da;
  --white-soft: rgba(255,255,255,0.07);
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.42);
  --max: 1160px;
  --font-mono: 'IBM Plex Mono', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(216, 180, 91, 0.07), transparent 30%),
    radial-gradient(circle at 85% 20%, rgba(117, 200, 218, 0.09), transparent 28%),
    linear-gradient(180deg, #071018 0%, #05080c 100%);
  min-height: 100vh;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at top, black 35%, transparent 90%);
  opacity: .22;
}

.site-bg::before,
.site-bg::after {
  content: '';
  position: fixed;
  pointer-events: none;
  inset: auto;
  border-radius: 50%;
  z-index: 0;
}

.site-bg::before {
  width: 760px;
  height: 760px;
  top: -140px;
  right: -180px;
  border: 1px solid rgba(216, 180, 91, 0.09);
  box-shadow: 0 0 0 60px rgba(216, 180, 91, 0.03), 0 0 0 130px rgba(216, 180, 91, 0.02);
}

.site-bg::after {
  width: 480px;
  height: 480px;
  left: -180px;
  top: 380px;
  border: 1px solid rgba(117, 200, 218, 0.08);
  box-shadow: 0 0 0 50px rgba(117, 200, 218, 0.025);
}

.glow {
  position: fixed;
  border-radius: 999px;
  filter: blur(75px);
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}
.glow-1 {
  width: 240px; height: 240px; right: 10%; top: 10%;
  background: rgba(216, 180, 91, 0.34);
}
.glow-2 {
  width: 180px; height: 180px; left: 8%; top: 45%;
  background: rgba(117, 200, 218, 0.22);
}

/* constellation network background, echoing the seal's circuit/star motif */
#network-canvas{
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  opacity: 0.5;
  pointer-events: none;
}
.scanline{
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom, rgba(255,255,255,0.01) 0px, rgba(255,255,255,0.01) 1px,
    transparent 1px, transparent 3px
  );
  mix-blend-mode: overlay;
}

/* large faint seal watermark reused behind sections */
.seal-watermark{
  position: absolute;
  z-index: 0;
  pointer-events: none;
  width: 620px;
  height: 620px;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.045;
}
.seal-watermark img{ width: 100%; height: 100%; display: block; }

@media (max-width: 720px){
  .seal-watermark{ width: 400px; height: 400px; }
}

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

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(6, 10, 15, 0.72);
  border-bottom: 1px solid rgba(216, 180, 91, 0.14);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  min-width: 0;
}
.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(216, 180, 91, 0.28));
}
.brand-name {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand-tag {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
}
.nav-links a:hover,
.nav-links a:focus-visible { color: var(--text); }

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 22px;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.nav-cta {
  background: linear-gradient(135deg, rgba(216, 180, 91, 0.22), rgba(216, 180, 91, 0.12));
  border: 1px solid rgba(216, 180, 91, 0.34);
  color: var(--text);
  white-space: nowrap;
}
.nav-cta:hover,
.button:hover { transform: translateY(-1px); }

.hero {
  padding: 96px 0 58px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 42px;
  align-items: center;
}
.eyebrow,
.section-label {
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-mono);
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before,
.section-label::before{
  content: '//';
  color: var(--cyan);
  opacity: 0.75;
  font-weight: 500;
}
.hero h1,
.section h2 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.hero h1 { font-size: clamp(3rem, 6vw, 5.3rem); max-width: 11ch; }
.hero-text {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
  max-width: 62ch;
  margin: 24px 0 0;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.button.primary {
  color: #0a0c0f;
  background: linear-gradient(135deg, #efcf83 0%, #d8b45b 58%, #b4852d 100%);
  box-shadow: 0 10px 24px rgba(216, 180, 91, 0.2);
}
.button.secondary {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.11);
  color: var(--text);
}
.hero-points {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-points li {
  color: #d8e0e7;
  padding-left: 20px;
  position: relative;
}
.hero-points li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--cyan));
  position: absolute;
  left: 0;
  top: 0.52rem;
}

.hero-art {
  min-height: 560px;
  position: relative;
  display: grid;
  place-items: center;
  perspective: 1000px;
}
.seal-orbit {
  position: absolute;
  inset: 8% 6%;
  border-radius: 50%;
  border: 1px solid rgba(216, 180, 91, 0.16);
  box-shadow: 0 0 0 32px rgba(216, 180, 91, 0.04), 0 0 0 86px rgba(117, 200, 218, 0.025);
  animation: orbit-spin 46s linear infinite;
}
.seal-orbit::before,
.seal-orbit::after {
  content: '';
  position: absolute;
  inset: 13%;
  border-radius: 50%;
  border: 1px dashed rgba(117, 200, 218, 0.2);
}
.seal-orbit::after {
  inset: 28%;
  border-style: solid;
  border-color: rgba(216,180,91,0.16);
}
.seal-orbit-2{
  border: 1px dashed rgba(117, 200, 218, 0.14);
  box-shadow: none;
  animation: orbit-spin 68s linear infinite reverse;
}
.seal-orbit-2::before,
.seal-orbit-2::after{ content: none; }

.orbit-node{
  position: absolute;
  width: 7px; height: 7px;
  border-radius: 50%;
  top: -3.5px; left: 50%;
}
.node-gold{
  background: var(--gold);
  box-shadow: 0 0 10px rgba(216,180,91,0.85), 0 0 22px rgba(216,180,91,0.4);
}
.node-cyan{
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(117,200,218,0.85), 0 0 22px rgba(117,200,218,0.4);
  top: auto; bottom: 6%; left: 12%;
}

@keyframes orbit-spin{ to{ transform: rotate(360deg); } }

@keyframes seal-pulse{
  0%, 100%{ filter: drop-shadow(0 0 32px rgba(216, 180, 91, 0.16)); }
  50%{ filter: drop-shadow(0 0 52px rgba(216, 180, 91, 0.30)); }
}

@keyframes seal-turn{
  0%   { transform: rotateY(-22deg) rotateX(2deg); }
  50%  { transform: rotateY(22deg) rotateX(-2deg); }
  100% { transform: rotateY(-22deg) rotateX(2deg); }
}

.hero-seal {
  width: min(100%, 600px);
  opacity: 0.92;
  filter: drop-shadow(0 0 40px rgba(216, 180, 91, 0.18));
  transform-style: preserve-3d;
  animation:
    seal-pulse 4.2s ease-in-out infinite,
    seal-turn 7s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce){
  .seal-orbit, .seal-orbit-2, .hero-seal{ animation: none; }
}

.section { padding: 42px 0 34px; }
.section-head { margin-bottom: 28px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.section-head p { color: var(--muted); max-width: 58ch; line-height: 1.7; }
.narrow h2 { max-width: 15ch; }

.panel,
.service-card {
  position: relative;
  background: linear-gradient(180deg, rgba(16, 22, 30, 0.92), rgba(9, 13, 18, 0.92));
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.panel::before,
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(216,180,91,0.10), transparent 35%, transparent 70%, rgba(117,200,218,0.06));
  pointer-events: none;
}
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}
.intro-panel, .stat-panel, .contact-panel, .note-panel, .step { padding: 28px; }
.intro-panel p, .contact-panel p, .note-panel li, .step p {
  color: var(--muted);
  line-height: 1.75;
}
.intro-panel h2, .contact-panel h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 18px; }

.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}
.mini-card {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
}
.mini-card span,
.step-num {
  position: relative;
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,244,214,0.16), rgba(0,0,0,0) 45%),
    radial-gradient(circle, #0c0f14, #05070a 72%);
  border: 1.5px solid transparent;
  border-image: linear-gradient(135deg, #f3d99a, #d8b45b 35%, #8a6417 65%, #d8b45b) 1;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.55),
    0 0 0 4px rgba(216,180,91,0.10),
    inset 0 0 8px rgba(216,180,91,0.22),
    0 0 14px rgba(216,180,91,0.18);
  color: var(--gold);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.86rem;
  text-shadow: 0 0 6px rgba(216,180,91,0.45), 0 1px 0 rgba(0,0,0,0.6);
  margin-bottom: 12px;
}
.mini-card span::after,
.step-num::after{
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1px solid rgba(216,180,91,0.32);
  pointer-events: none;
}
.mini-card p { margin: 0; color: #dfe5ea; line-height: 1.55; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.service-card { padding: 24px; }
.service-card h3, .step h3 {
  margin: 0 0 12px;
  font-size: 1.18rem;
}
.service-card p { margin: 0; color: var(--muted); line-height: 1.7; }

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.step h3 { font-size: 1.12rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}
.contact-list a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}
.bullet-list {
  margin: 16px 0 0;
  padding-left: 18px;
}
.bullet-list li + li { margin-top: 10px; }

.footer {
  padding: 28px 0 40px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(216, 180, 91, 0.13);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

@media (max-width: 1080px) {
  .nav { flex-wrap: wrap; }
  .nav-links { order: 3; width: 100%; justify-content: center; }
  .hero-grid,
  .two-col,
  .contact-grid,
  .timeline { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .hero-art { min-height: 420px; }
}

@media (max-width: 720px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .header { position: static; }
  .nav { padding: 16px 0; }
  .brand img { width: 48px; height: 48px; }
  .nav-links { gap: 14px; font-size: 0.95rem; flex-wrap: wrap; }
  .nav-cta { width: 100%; }
  .hero { padding-top: 54px; }
  .hero h1 { max-width: none; }
  .card-grid,
  .mini-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .hero-art { min-height: 320px; }
}

/* scroll-reveal */
.reveal{ opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .reveal{ opacity: 1; transform: none; transition: none; }
}
