/* ============================================================
   SEECEN IP — Luxury/Refined redesign
   Tonality: private-bank dark, champagne-gold accents,
   seal (印章) as the single memorable element.
   60-30-10: deep ink 60% · ivory 30% · gold 10%
   Fonts: Cormorant Garamond (display) · Jost (body) · IBM Plex Mono (labels)
   ============================================================ */

:root {
  --bg0: #0b0f17;            /* page */
  --bg1: #111725;            /* surface */
  --bg2: #171f31;            /* raised surface */
  --ivory: #ece5d4;          /* primary text */
  --ivory-dim: #a89f8c;      /* secondary text */
  --gold: #c8a35a;
  --gold-bright: #dfc07c;
  --gold-glow: rgba(200, 163, 90, 0.14);
  --hairline: rgba(200, 163, 90, 0.28);
  --line: rgba(236, 229, 212, 0.09);
  --ink-on-gold: #191207;

  --font-display: "Cormorant Garamond", "Songti SC", "Times New Roman", serif;
  --font-body: "Jost", "Avenir Next", "PingFang SC", sans-serif;
  --font-mono: "IBM Plex Mono", "SF Mono", monospace;

  --radius: 2px;
  --max: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ivory);
  background-color: var(--bg0);
  /* atmosphere: layered glows, never flat */
  background-image:
    radial-gradient(1100px 600px at 85% -10%, var(--gold-glow), transparent 60%),
    radial-gradient(900px 700px at -15% 45%, rgba(56, 78, 128, 0.22), transparent 60%),
    radial-gradient(700px 500px at 70% 110%, rgba(200, 163, 90, 0.07), transparent 60%);
  background-attachment: fixed;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
/* grain texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 1; }

img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-bright); }
::selection { background: var(--gold); color: var(--ink-on-gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

/* ---------- Typography helpers ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: 0.01em; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 23, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.logo { display: flex; align-items: baseline; gap: 14px; }
.logo .mark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.32em;
  color: var(--ivory);
}
.logo .tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  color: var(--ivory-dim);
  text-transform: uppercase;
}

.main-nav ul { display: flex; gap: 34px; list-style: none; }
.main-nav a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.25s var(--ease);
}
.main-nav a:hover, .main-nav a.active { color: var(--gold); border-bottom-color: var(--hairline); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary { background: var(--gold); color: var(--ink-on-gold); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-bright); color: var(--ink-on-gold); transform: translateY(-2px); }
.btn-outline { border-color: var(--hairline); color: var(--ivory); background: transparent; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-navy { background: transparent; color: var(--ivory); border-color: var(--hairline); }
.btn-navy:hover { border-color: var(--gold); color: var(--gold); }

.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; color: var(--ivory); cursor: pointer; }

/* ---------- Hero (home) — asymmetric, seal on the right ---------- */
.hero {
  padding: 130px 0 140px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 60px;
  align-items: center;
}
.hero .eyebrow { display: block; margin-bottom: 30px; }
.hero h1 {
  font-size: clamp(2.9rem, 5.6vw, 5.1rem);
  line-height: 1.08;
  font-weight: 500;
  max-width: 15ch;
  margin-bottom: 30px;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero .lead {
  font-size: 1.12rem;
  font-weight: 300;
  color: var(--ivory-dim);
  max-width: 54ch;
  margin-bottom: 44px;
}
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

/* The seal — single memorable element */
.seal-block {
  display: flex;
  justify-content: center;
  animation: sealFloat 7s ease-in-out infinite;
}
.seal-block svg {
  width: min(300px, 68vw);
  filter: drop-shadow(0 0 42px rgba(200, 163, 90, 0.22));
}
@keyframes sealFloat {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-14px) rotate(-2deg); }
}
@media (prefers-reduced-motion: reduce) {
  .seal-block { animation: none; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 110px 0;
  position: relative;
}
.page-hero::after {
  content: "";
  position: absolute;
  left: 32px; right: 32px; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--hairline), transparent 70%);
}
.page-hero h1 {
  font-size: clamp(2.6rem, 4.6vw, 4.2rem);
  line-height: 1.1;
  margin-bottom: 22px;
}
.page-hero p {
  color: var(--ivory-dim);
  max-width: 62ch;
  font-size: 1.08rem;
}

/* ---------- Stats ---------- */
.stats {
  border-bottom: 1px solid var(--line);
  padding: 64px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 40px 20px;
  text-align: center;
}
.stat .num {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 1;
  color: var(--ivory);
}
.stat .num span { color: var(--gold); font-style: italic; }
.stat .label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  margin-top: 14px;
}

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section.soft {
  background: rgba(17, 23, 37, 0.55);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head { max-width: 760px; margin-bottom: 70px; }
.section-head .eyebrow { display: block; margin-bottom: 18px; }
.section-head h2 {
  font-size: clamp(2.1rem, 3.6vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 20px;
}
.section-head p { color: var(--ivory-dim); font-size: 1.05rem; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 22px; }

/* ---------- Cards ---------- */
.card {
  background: var(--bg1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 34px;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.card:hover { border-color: var(--hairline); transform: translateY(-4px); }
.card .icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 26px;
}
.card h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
  color: var(--ivory);
}
.card p { color: var(--ivory-dim); font-size: 0.95rem; }
.card ul { margin: 16px 0 0 18px; color: var(--ivory-dim); font-size: 0.93rem; }
.card ul li { margin-bottom: 7px; }
.card ul li::marker { color: var(--gold); }

/* ---------- Feature split ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.checklist { list-style: none; margin-top: 28px; }
.checklist li {
  padding-left: 34px;
  position: relative;
  margin-bottom: 18px;
  color: var(--ivory);
}
.checklist li::before {
  content: "—";
  position: absolute; left: 0; top: 0;
  color: var(--gold);
  font-weight: 400;
}

/* ---------- Callout (dark replacements for old light note boxes) ---------- */
.callout {
  margin-top: 40px;
  padding: 28px 32px;
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  background: var(--bg1);
}
.callout p { font-size: 0.92rem; color: var(--ivory-dim); }
.callout strong { color: var(--ivory); }

/* ---------- Team ---------- */
.team-card h3 { font-size: 1.35rem; }
.team-card .role {
  font-family: var(--font-mono);
  color: var(--gold);
  font-weight: 400;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-top: 8px;
}
.team-card .bio { color: var(--ivory-dim); font-size: 0.92rem; margin-top: 14px; }

/* ---------- Tables ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg1);
}
table.fee { width: 100%; border-collapse: collapse; min-width: 680px; }
table.fee th, table.fee td { padding: 18px 22px; text-align: left; font-size: 0.92rem; }
table.fee thead th {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--hairline);
  background: var(--bg2);
}
table.fee tbody tr { border-bottom: 1px solid var(--line); transition: background 0.25s var(--ease); }
table.fee tbody tr:last-child { border-bottom: none; }
table.fee tbody tr:hover { background: var(--bg2); }
table.fee td.price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold-bright);
  white-space: nowrap;
}
.fee-note { color: var(--ivory-dim); font-size: 0.85rem; margin-top: 20px; max-width: 78ch; }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; max-width: 760px; }
.step { position: relative; padding: 0 0 44px 76px; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: -2px;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--gold);
  border: 1px solid var(--hairline);
  border-radius: 50%;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
}
.step::after {
  content: "";
  position: absolute; left: 26px; top: 58px; bottom: 6px;
  width: 1px;
  background: linear-gradient(var(--hairline), transparent);
}
.step:last-child::after { display: none; }
.step h3 { font-size: 1.5rem; margin-bottom: 10px; }
.step p { color: var(--ivory-dim); font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  padding: 120px 0;
  text-align: center;
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 480px; height: 480px;
  background: var(--gold-glow);
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.cta-band h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); margin-bottom: 18px; }
.cta-band p { color: var(--ivory-dim); max-width: 62ch; margin: 0 auto 40px; }
.cta-band .container { position: relative; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 72px; }
.contact-info .item { display: flex; gap: 20px; margin-bottom: 34px; }
.contact-info .item .icon {
  flex: 0 0 48px; width: 48px; height: 48px;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.contact-info .item h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.contact-info .item p { color: var(--ivory-dim); font-size: 0.95rem; }

.form-card {
  background: var(--bg1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px;
}
.form-card h3 { font-size: 1.8rem; }
.form-card label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 24px 0 8px;
  color: var(--gold);
}
.form-card input, .form-card select, .form-card textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: var(--font-body);
  background: var(--bg0);
  color: var(--ivory);
}
.form-card input::placeholder, .form-card textarea::placeholder { color: rgba(168, 159, 140, 0.55); }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus {
  outline: 1px solid var(--gold);
  border-color: var(--gold);
}
.form-card .disclaimer { font-size: 0.76rem; color: var(--ivory-dim); margin-top: 18px; line-height: 1.6; }

/* ---------- Footer ---------- */
.site-footer {
  background: rgba(7, 10, 16, 0.9);
  border-top: 1px solid var(--hairline);
  color: var(--ivory-dim);
  padding: 80px 0 36px;
  font-size: 0.9rem;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.site-footer h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { color: var(--ivory-dim); }
.site-footer a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}
.footer-disclaimer { font-size: 0.74rem; color: rgba(168, 159, 140, 0.7); margin-top: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero h1, .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .seal-block svg { width: min(220px, 55vw); }
  .feature-row, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 860px) {
  .logo .tag { display: none; }
  .main-nav {
    display: none;
    position: absolute;
    top: 78px; left: 0; right: 0;
    background: rgba(11, 15, 23, 0.97);
    border-bottom: 1px solid var(--hairline);
    padding: 20px 32px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 6px; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .section { padding: 80px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .container { padding: 0 24px; }
}
