@import url('https://fonts.googleapis.com/css2?family=Anuphan:wght@300;400;500;600;700&family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500;1,600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --bg: #0a0b0e;
  --bg-2: #131519;
  --bg-3: #17191f;
  --ink: #eef1f2;
  --muted: #9aa2ac;
  --muted-2: #6d7580;
  --line: rgba(238, 241, 242, 0.09);
  --line-gold: rgba(201, 169, 98, 0.32);
  --gold: #c9a962;
  --gold-bright: #e6cb8e;
  --gold-soft: rgba(201, 169, 98, 0.1);
  --font: 'Anuphan', sans-serif;
  --heading: 'Anuphan', sans-serif;
  --brand: 'Cormorant Garamond', 'Anuphan', serif;
  --mono: 'IBM Plex Mono', 'Anuphan', monospace;
  --max: 1160px;
  --demo-h: 48px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 85% -5%, rgba(201, 169, 98, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 40% at 5% 15%, rgba(201, 169, 98, 0.05), transparent 55%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(201, 169, 98, 0.04), transparent 60%);
}
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.wrap { position: relative; z-index: 1; width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

.demo-bar {
  position: sticky; top: 0; z-index: 60;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: 0.55rem 1.25rem; background: #050608; color: #fff; font-size: 0.82rem;
  border-bottom: 1px solid var(--line);
}
.demo-bar strong { font-size: 0.72rem; letter-spacing: 0.06em; color: var(--gold); font-weight: 500; }
.demo-bar__actions { display: flex; gap: 0.45rem; flex-wrap: wrap; }
.demo-bar a {
  padding: 0.35rem 0.7rem; border: 1px solid rgba(255,255,255,0.2); font-size: 0.78rem; font-weight: 500;
}
.demo-bar a.is-primary { background: var(--gold); border-color: var(--gold); color: #0a0b0e; }

.site-header {
  position: absolute; top: var(--demo-h); left: 0; right: 0; z-index: 40; height: 84px;
}
.site-header.is-solid {
  position: fixed; top: var(--demo-h);
  background: rgba(10,11,14,0.9); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { font-family: var(--brand); font-size: 1.7rem; font-weight: 700; letter-spacing: 0.01em; }
.brand small {
  font-family: var(--mono); font-size: 0.58rem; color: var(--gold); font-weight: 500; margin-left: 0.55rem;
  letter-spacing: 0.16em; text-transform: uppercase; vertical-align: middle;
}
.nav { display: flex; gap: 2rem; align-items: center; }
.nav a { font-size: 0.87rem; font-weight: 500; color: rgba(238,241,242,0.7); letter-spacing: 0.01em; }
.nav a:hover { color: var(--gold); }
.nav-cta {
  border: 1px solid var(--line-gold); padding: 0.5rem 1.15rem; color: var(--gold) !important;
}
.nav-cta:hover { background: var(--gold-soft); }
.menu-toggle {
  display: none; border: 1px solid var(--line); background: transparent; color: var(--ink);
  padding: 0.4rem 0.7rem; font-size: 0.7rem; cursor: pointer;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.95rem 1.7rem; font-weight: 600; font-size: 0.92rem; letter-spacing: 0.01em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: #0a0b0e; }
.btn--gold:hover { background: var(--gold-bright); }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(238,241,242,0.25); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* Hero */
.hero {
  padding: calc(84px + 4.5rem) 0 0;
}
.hero__eyebrow {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.4rem; font-weight: 500;
  display: flex; align-items: center; gap: 0.6rem;
}
.hero__eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--gold); display: inline-block; }
.hero h1 {
  font-family: var(--brand); font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 600;
  letter-spacing: -0.01em; line-height: 1.12; max-width: 16ch; margin-bottom: 1.5rem;
}
.hero__lead { color: var(--muted); font-size: 1.12rem; max-width: 42ch; margin-bottom: 2.3rem; }

.trust-bar { padding: 2.4rem 0; margin-top: 1rem; border-top: 1px solid var(--line); }
.trust-bar__label {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted-2); margin-bottom: 1.2rem;
}
.trust-bar__row { display: flex; align-items: center; gap: 2.4rem; flex-wrap: wrap; row-gap: 1rem; }
.trust-bar__row span {
  font-family: var(--brand); font-size: 1.15rem; font-weight: 600; color: var(--muted); letter-spacing: 0.02em;
  white-space: nowrap;
}

.stats-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stats-strip article {
  padding: 2.4rem 1.5rem; text-align: center; border-left: 1px solid var(--line);
}
.stats-strip article:first-child { border-left: none; }
.stats-strip strong {
  display: block; font-family: var(--brand); font-size: clamp(1.9rem, 3.4vw, 2.5rem); font-weight: 600;
  color: var(--gold); letter-spacing: 0; line-height: 1; margin-bottom: 0.5rem;
}
.stats-strip span { font-size: 0.85rem; color: var(--muted); }

/* Sections */
.section { padding: 6.5rem 0; border-bottom: 1px solid var(--line); }
.section--tight { padding: 4.5rem 0; }
.section__head { margin-bottom: 3rem; max-width: 40rem; }
.section__head .eyebrow {
  color: var(--gold); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 500; margin-bottom: 0.9rem; display: flex; align-items: center; gap: 0.6rem;
}
.section__head .eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--gold); display: inline-block; }
.section__head h2 {
  font-family: var(--brand); font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 600;
  letter-spacing: -0.005em; line-height: 1.2; margin-bottom: 0.75rem;
}
.section__head p { color: var(--muted); font-size: 1.02rem; }

/* Approach */
.approach { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.approach article { background: var(--bg); padding: 2.4rem 2.2rem; }
.approach .num {
  font-family: var(--brand); font-size: 1rem; color: var(--gold); letter-spacing: 0.06em; margin-bottom: 1rem; font-weight: 600;
}
.approach h3 { font-family: var(--brand); font-size: 1.4rem; font-weight: 600; margin-bottom: 0.6rem; }
.approach p { color: var(--muted); font-size: 0.96rem; }

/* Tiers */
.tiers { display: grid; grid-template-columns: 1fr 1.1fr 1fr; border: 1px solid var(--line); }
.tier { background: var(--bg-2); padding: 2.4rem 2rem; display: flex; flex-direction: column; gap: 1rem; border-left: 1px solid var(--line); }
.tier:first-child { border-left: none; }
.tier--hot { background: linear-gradient(180deg, rgba(201,169,98,0.09), var(--bg-2) 40%); position: relative; }
.tier__tag {
  position: absolute; top: 0; right: 0; background: var(--gold); color: #0a0b0e; font-size: 0.65rem;
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.35rem 0.8rem;
}
.tier .name {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); font-weight: 500;
}
.tier h3 { font-family: var(--brand); font-size: 1.7rem; font-weight: 600; }
.tier .price { font-family: var(--brand); font-size: 2.5rem; font-weight: 600; letter-spacing: 0; }
.tier .price small { font-family: var(--font); font-size: 0.82rem; font-weight: 400; color: var(--muted); }
.tier hr { border: none; border-top: 1px solid var(--line); margin: 0.2rem 0; }
.tier ul { list-style: none; display: grid; gap: 0.65rem; flex: 1; }
.tier li { font-size: 0.9rem; color: var(--muted); padding-left: 1.1rem; position: relative; }
.tier li::before { content: '—'; position: absolute; left: 0; color: var(--gold); }

/* Services rows */
.svc-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.svc-row {
  background: var(--bg); display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center;
  padding: 1.5rem 1.75rem;
}
.svc-row__code { font-family: var(--mono); font-size: 0.78rem; color: var(--gold); letter-spacing: 0.05em; }
.svc-row h3 { font-family: var(--brand); font-size: 1.15rem; font-weight: 600; margin-bottom: 0.25rem; }
.svc-row p { color: var(--muted); font-size: 0.9rem; }
.svc-row__fee { font-family: var(--mono); font-size: 0.85rem; color: var(--muted); white-space: nowrap; }

/* Process */
.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.process::before {
  content: ''; position: absolute; top: 14px; left: 6%; right: 6%; height: 1px; background: var(--line-gold);
}
.process article { position: relative; }
.process .dot {
  width: 28px; height: 28px; border-radius: 50%; background: var(--bg); border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 0.72rem;
  color: var(--gold); margin-bottom: 1.5rem; position: relative; z-index: 1;
}
.process h3 { font-family: var(--brand); font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; }
.process p { color: var(--muted); font-size: 0.9rem; }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.testimonial { background: var(--bg); padding: 2.6rem 2.4rem; display: flex; flex-direction: column; gap: 1.5rem; }
.testimonial__mark { font-family: var(--brand); font-size: 3rem; color: var(--gold); line-height: 0.5; }
.testimonial p.quote { font-family: var(--brand); font-size: 1.3rem; font-style: italic; font-weight: 500; line-height: 1.55; color: var(--ink); }
.testimonial__person { display: flex; align-items: center; gap: 0.9rem; margin-top: auto; }
.testimonial__person img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.testimonial__person strong { display: block; font-size: 0.92rem; }
.testimonial__person span { font-size: 0.8rem; color: var(--muted-2); }

/* Leadership */
.leaders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.leader__photo {
  aspect-ratio: 4/5; overflow: hidden; margin-bottom: 1.1rem; position: relative; border: 1px solid var(--line);
}
.leader__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.6) sepia(0.15) contrast(1.05); transition: filter 0.4s var(--ease); }
.leader__photo:hover img { filter: grayscale(0) sepia(0.05) contrast(1.05); }
.leader h3 { font-family: var(--brand); font-size: 1.2rem; font-weight: 600; }
.leader span { font-size: 0.85rem; color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.faq details { background: var(--bg); padding: 1.5rem 1.75rem; }
.faq summary {
  cursor: pointer; font-weight: 600; font-size: 1.02rem; list-style: none; display: flex;
  justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--brand); font-size: 1.4rem; color: var(--gold); flex-shrink: 0; }
.faq details[open] summary::after { content: '−'; }
.faq p { color: var(--muted); margin-top: 0.9rem; font-size: 0.95rem; max-width: 60ch; }

/* CTA block */
.cta-block {
  background: linear-gradient(135deg, rgba(201,169,98,0.1), rgba(201,169,98,0.02));
  border: 1px solid var(--line-gold);
  padding: 3.2rem 2.6rem; display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap;
}
.cta-block h2 { font-family: var(--brand); font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 600; max-width: 18ch; }
.cta-block p { color: var(--muted); margin-top: 0.5rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3.5rem; }
.contact-info__list { display: grid; gap: 1.1rem; margin-top: 2rem; }
.contact-info__list li { display: flex; flex-direction: column; gap: 0.15rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.contact-info__list li:first-child { border-top: none; padding-top: 0; }
.contact-info__list span { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); }
.contact-info__list strong { font-size: 1rem; font-weight: 500; }

.form-grid { display: grid; gap: 1.3rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.field label { display: block; font-size: 0.75rem; font-weight: 500; margin-bottom: 0.5rem; color: var(--muted); letter-spacing: 0.02em; }
.field input, .field select, .field textarea {
  width: 100%; border: none; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink);
  padding: 0.7rem 0.1rem; outline: none; border-radius: 0;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.field textarea { min-height: 90px; resize: vertical; }
.field option { background: var(--bg-2); }

.site-footer { padding: 3rem 0 1.5rem; color: var(--muted); border-top: 1px solid var(--line-gold); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer__grid p { font-size: 0.9rem; max-width: 32ch; margin-top: 0.6rem; }
.footer__grid h4 { color: var(--gold); font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.9rem; }
.footer__grid a { display: block; margin-bottom: 0.5rem; font-size: 0.92rem; color: rgba(238,241,242,0.7); }
.footer__grid a:hover { color: var(--gold); }
.footer__bottom {
  border-top: 1px solid var(--line); padding-top: 1.25rem; display: flex; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; font-size: 0.75rem; font-family: var(--mono); letter-spacing: 0.02em;
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .approach, .testimonials, .contact-grid, .footer__grid, .stats-strip { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .tier { border-left: none; border-top: 1px solid var(--line); }
  .tier:first-child { border-top: none; }
  .process { grid-template-columns: 1fr 1fr; }
  .process::before { display: none; }
  .leaders { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .nav {
    display: none; position: absolute; top: 84px; left: 0; right: 0; flex-direction: column;
    background: var(--bg-2); padding: 0.5rem 1.25rem 1rem; gap: 0; border-bottom: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
  .nav-cta { border: none; padding: 0.9rem 0; }
  .menu-toggle { display: inline-flex; }
  .form-row { grid-template-columns: 1fr; }
  .site-header { position: relative; top: 0; }
  .hero { padding-top: 2.5rem; }
  .stats-strip, .approach, .testimonials, .footer__grid, .svc-row, .leaders { grid-template-columns: 1fr; }
  .stats-strip article, .approach article { border-left: none; border-top: 1px solid var(--line); }
  .stats-strip article:first-child, .approach article:first-child { border-top: none; }
  .process { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 1fr; text-align: left; }
}
