/* ============================================================
   Hong Kong Jan — Corporate Services "Built for Growth in Asia"
   DARK LUXURY design system — near-black + gold
   ============================================================ */

:root {
  --bg:        #0A0A0C;   /* near-black base */
  --bg-soft:   #0D0E12;   /* alt sections */
  --bg-deep:   #060608;   /* deepest bands */
  --surface:   #121319;   /* cards */
  --surface-2: #17181F;   /* lifted */
  --navy:      #0E2036;   /* accent panel */

  --head:      #F5F2EB;   /* warm white headings */
  --text:      #BFC4CD;   /* body */
  --muted:     #8C929C;
  --muted-2:   #5C626C;

  --gold:      #C9A24E;
  --gold-soft: #E7CF97;
  --gold-deep: #A8863B;
  --jade:      #3BC9A0;
  --jade-deep: #2AA588;

  --line:      rgba(255,255,255,0.08);
  --line-2:    rgba(255,255,255,0.14);
  --gold-line: rgba(201,162,78,0.30);

  --radius:    18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 14px rgba(0,0,0,0.4);
  --shadow:    0 24px 60px -22px rgba(0,0,0,0.7);
  --shadow-lg: 0 50px 110px -35px rgba(0,0,0,0.85);
  --maxw:      1180px;
  --ease:      cubic-bezier(.22,.61,.36,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
/* subtle luxury grain */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%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");
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: 'Fraunces', 'Georgia', serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--head);
}
.gold-text {
  background: linear-gradient(92deg, var(--gold-soft), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-style: italic;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; position: relative; z-index: 2; }
.narrow { max-width: 820px; }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Inter', sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold-soft);
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--gold); display: inline-block; }
.eyebrow.center { justify-content: center; }

.section { padding: 112px 0; position: relative; }
.section.tight { padding: 84px 0; }
.section-head { max-width: 700px; margin-bottom: 58px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.6vw, 52px); margin: 18px 0 18px; }
.section-head p { font-size: 18px; color: var(--muted); }

.bg-deep  { background: var(--bg-deep); }
.bg-ink   { background: var(--bg-deep); }
.bg-paper { background: var(--bg-soft); }
.bg-ivory { background: var(--bg); }
.hairline-top { border-top: 1px solid var(--line); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 15px;
  padding: 15px 28px; border-radius: 100px; cursor: pointer;
  border: 1px solid transparent; transition: all .25s var(--ease); white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary, .btn-gold {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #211a08; box-shadow: 0 10px 30px -12px rgba(201,162,78,.5);
}
.btn-primary:hover, .btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 42px -14px rgba(201,162,78,.7); }
.btn-jade { background: var(--jade); color: #05221a; }
.btn-jade:hover { background: var(--jade-deep); transform: translateY(-2px); box-shadow: 0 16px 40px -16px rgba(59,201,160,.5); }
.btn-ghost { background: rgba(255,255,255,0.03); color: var(--head); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--gold); color: #fff; transform: translateY(-2px); background: rgba(201,162,78,.06); }
.btn-ghost.on-dark { color: var(--head); border-color: var(--line-2); }
.btn-ghost.on-dark:hover { border-color: var(--gold); background: rgba(201,162,78,.06); }
.btn-lg { padding: 17px 34px; font-size: 16px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; font-size: 14.5px; color: var(--gold-soft);
  transition: gap .2s var(--ease), color .2s;
}
.link-arrow:hover { gap: 12px; color: var(--gold); }
.link-arrow svg { width: 15px; height: 15px; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,12,0.72);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  background: linear-gradient(150deg, #1a1c24, #0c0d11);
  display: inline-flex; align-items: center; justify-content: center; color: var(--gold);
  font-family: 'Fraunces', serif; font-weight: 600; font-size: 16px; letter-spacing: 0.5px; line-height: 1;
  box-shadow: inset 0 0 0 1px var(--gold-line);
}
.brand-mark .kw { color: #fff; }
.brand-name { font-family: 'Fraunces', serif; font-weight: 600; font-size: 20px; color: var(--head); letter-spacing: -0.01em; line-height: 1; }
.brand-sub { display: block; font-family: 'Inter', sans-serif; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > a, .nav-item > button {
  font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 500; color: #C3C8D0;
  padding: 10px 15px; border-radius: 10px; background: none; border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; transition: color .2s, background .2s;
}
.nav-links > a:hover, .nav-item > button:hover { color: #fff; background: rgba(255,255,255,0.05); }
.nav-links a.active { color: var(--gold-soft); font-weight: 600; }
.nav-cta { margin-left: 10px; }

.nav-item { position: relative; }
.nav-item .chev { width: 13px; height: 13px; transition: transform .25s var(--ease); }
.nav-item:hover .chev { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px;
  box-shadow: var(--shadow); padding: 10px; min-width: 260px;
  opacity: 0; visibility: hidden; transition: all .22s var(--ease); z-index: 120;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown::before { content: ""; position: absolute; top: -18px; left: 0; right: 0; height: 18px; }
.dd-label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); padding: 8px 14px 6px; font-weight: 600; }
.dropdown a {
  display: flex; align-items: center; gap: 11px; padding: 10px 14px; border-radius: 10px;
  font-size: 14.5px; font-weight: 500; color: #CfD3DA; transition: background .16s, color .16s;
}
.dropdown a:hover { background: rgba(255,255,255,0.05); color: #fff; }
.dropdown a .flag { width: 22px; font-size: 15px; }
.dropdown a small { display: block; color: var(--muted-2); font-size: 12px; font-weight: 400; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 26px; height: 26px; color: var(--head); }
@media (max-width: 940px) { .nav-links { display: none; } .nav-toggle { display: block; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 82% -10%, rgba(59,201,160,0.12), transparent 52%),
    radial-gradient(90% 80% at 5% 0%, rgba(201,162,78,0.14), transparent 50%),
    var(--bg-deep);
  color: var(--text); padding: 120px 0 132px;
}
.hero .container { z-index: 3; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; border-radius: 100px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--gold-line);
  font-size: 13px; color: var(--gold-soft); font-weight: 500; margin-bottom: 28px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--jade); box-shadow: 0 0 0 4px rgba(59,201,160,.22); }
.hero h1 { color: var(--head); font-size: clamp(40px, 6vw, 72px); font-weight: 500; letter-spacing: -0.025em; }
.hero h1 em, .hero h1 .gold-text { font-style: italic; }
.hero-sub { font-size: 19px; color: var(--muted); max-width: 540px; margin: 26px 0 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 34px; margin-top: 48px; flex-wrap: wrap; }
.hero-trust .num { font-family: 'Fraunces', serif; font-size: 32px; color: var(--head); font-weight: 600; }
.hero-trust .num span { color: var(--gold); }
.hero-trust .lbl { font-size: 13px; color: var(--muted-2); letter-spacing: .02em; }

.skyline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 200px; z-index: 1; opacity: .6; }
.skyline path { fill: rgba(255,255,255,0.035); }

.hero-card {
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-2); border-radius: 22px; padding: 32px;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.hero-card::before { content:""; position:absolute; inset:0 0 auto 0; height:2px; background:linear-gradient(90deg, transparent, var(--gold), transparent); }
.hero-card h3 { color: var(--head); font-size: 19px; margin-bottom: 6px; }
.hero-card p.k { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.hero-card ul { list-style: none; display: grid; gap: 14px; }
.hero-card li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--text); }
.hero-card li svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 1px; }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 0; }
.trustbar .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.trustbar span { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; }
.trustbar .marks { display: flex; gap: 40px; flex-wrap: wrap; align-items: center; }
.trustbar .marks b { font-family: 'Fraunces', serif; font-size: 20px; color: #6b7280; font-weight: 500; letter-spacing: .01em; }

/* ---------- Grids & Service cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.service-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 30px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.service-card::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, var(--gold), var(--jade)); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold-line); }
.service-card:hover::after { transform: scaleX(1); }
.svc-icon {
  width: 56px; height: 56px; border-radius: 14px; flex: none;
  background: linear-gradient(160deg, #1b1d25, #131419); border: 1px solid var(--line-2);
  display: grid; place-items: center; color: var(--gold); margin-bottom: 22px;
}
.svc-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 21px; margin-bottom: 10px; color: var(--head); }
.service-card p { font-size: 15px; color: var(--muted); margin-bottom: 20px; flex: 1; }

/* ---------- Value cards ---------- */
.value { display: flex; gap: 16px; align-items: flex-start; }
.value .vi { width: 46px; height: 46px; border-radius: 12px; flex: none; display: grid; place-items: center; background: rgba(201,162,78,.1); border: 1px solid var(--gold-line); color: var(--gold); }
.value .vi svg { width: 22px; height: 22px; }
.value h4 { font-size: 18px; margin-bottom: 6px; font-family: 'Inter', sans-serif; font-weight: 700; color: var(--head); }
.value p { font-size: 14.5px; color: var(--muted); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stats .s .num { font-family: 'Fraunces', serif; font-size: clamp(38px,5vw,58px); color: var(--head); font-weight: 600; line-height: 1; }
.stats .s .num span { color: var(--gold); }
.stats .s .lbl { color: var(--muted); font-size: 14px; margin-top: 10px; }

/* ---------- Process steps ---------- */
.steps { display: grid; gap: 4px; }
.step { display: grid; grid-template-columns: 88px 1fr; gap: 26px; padding: 30px 0; border-top: 1px solid var(--line); align-items: start; }
.step:last-child { border-bottom: 1px solid var(--line); }
.step .n { font-family: 'Fraunces', serif; font-size: 40px; color: var(--gold); font-weight: 600; line-height: 1; }
.step h3 { font-size: 23px; margin-bottom: 8px; color: var(--head); }
.step p { color: var(--muted); font-size: 15.5px; max-width: 620px; }
.step .meta { font-size: 12.5px; color: var(--gold-soft); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-top: 10px; }

/* ---------- Jurisdictions ---------- */
.juris { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.juris a {
  display: flex; align-items: center; gap: 14px; padding: 20px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line); transition: all .25s var(--ease);
}
.juris a:hover { border-color: var(--gold-line); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.juris .flag { font-size: 28px; line-height: 1; }
.juris .jn { font-weight: 600; color: var(--head); font-size: 16px; }
.juris .jd { font-size: 12.5px; color: var(--muted-2); }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-media { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--surface); min-height: 420px; position: relative; }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 54px; align-items: center; }
.founder-photo { position: relative; }
.founder-photo img { width: 100%; border-radius: 22px; border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.founder-photo .badge {
  position: absolute; bottom: -18px; right: -14px; background: var(--surface); border: 1px solid var(--gold-line);
  border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow); text-align: center;
}
.founder-photo .badge .n { font-family: 'Fraunces', serif; font-size: 26px; color: var(--gold-soft); font-weight: 600; line-height: 1; }
.founder-photo .badge .l { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-top: 4px; }
.sig { font-family: 'Fraunces', serif; font-style: italic; font-size: 26px; color: var(--gold-soft); margin-top: 18px; }

/* ---------- Testimonials ---------- */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; transition: border-color .3s, transform .3s; }
.tcard:hover { border-color: var(--gold-line); transform: translateY(-4px); }
.tcard .stars { color: var(--gold); font-size: 15px; letter-spacing: 2px; margin-bottom: 16px; }
.tcard blockquote { font-size: 16px; color: var(--text); line-height: 1.6; flex: 1; }
.tcard .by { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.tcard .av { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(150deg, var(--gold), var(--gold-deep)); display: grid; place-items: center; color: #211a08; font-weight: 700; font-family: 'Fraunces', serif; flex: none; }
.tcard .by .nm { font-weight: 600; color: var(--head); font-size: 15px; }
.tcard .by .rl { font-size: 12.5px; color: var(--muted-2); }

.quote { max-width: 880px; margin: 0 auto; text-align: center; }
.quote .mark { font-family: 'Fraunces', serif; font-size: 90px; line-height: .5; color: var(--gold); height: 40px; display: block; }
.quote blockquote { font-family: 'Fraunces', serif; font-size: clamp(22px, 3vw, 32px); font-weight: 500; color: var(--head); letter-spacing: -0.01em; line-height: 1.4; margin: 20px 0 28px; }
.quote .who { color: var(--gold-soft); font-weight: 600; }
.quote .who small { display: block; color: var(--muted-2); font-weight: 400; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; padding: 70px 56px;
  background: radial-gradient(120% 140% at 85% -20%, rgba(201,162,78,.18), transparent 50%), linear-gradient(120deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); }
.cta-band::before { content:""; position:absolute; inset:0 0 auto 0; height:2px; background:linear-gradient(90deg, transparent, var(--gold), transparent); }
.cta-band h2 { color: var(--head); font-size: clamp(28px,4vw,46px); max-width: 640px; }
.cta-band p { color: var(--muted); font-size: 18px; margin: 16px 0 30px; max-width: 560px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Page hero ---------- */
.page-hero { position: relative; overflow: hidden; background: radial-gradient(100% 120% at 85% -30%, rgba(201,162,78,.14), transparent 55%), var(--bg-deep); color: var(--text); padding: 84px 0 80px; border-bottom: 1px solid var(--line); }
.page-hero h1 { color: var(--head); font-size: clamp(34px, 5vw, 58px); margin: 16px 0 18px; }
.page-hero p { font-size: 19px; color: var(--muted); max-width: 660px; }
.crumb { font-size: 13.5px; color: var(--muted-2); margin-bottom: 6px; }
.crumb a:hover { color: var(--gold-soft); }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 38px 32px; display: flex; flex-direction: column; position: relative; }
.plan.featured { border-color: var(--gold-line); box-shadow: var(--shadow); background: linear-gradient(180deg, var(--surface-2), var(--surface)); }
.plan.featured::before { content:""; position:absolute; inset:0 0 auto 0; height:2px; background:linear-gradient(90deg, transparent, var(--gold), transparent); border-radius:20px 20px 0 0; }
.plan .tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(180deg,var(--gold-soft),var(--gold)); color: #211a08; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 6px 16px; border-radius: 100px; }
.plan h3 { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); }
.plan .price { font-family: 'Fraunces', serif; font-size: 46px; color: var(--head); font-weight: 600; margin: 16px 0 2px; }
.plan .price small { font-size: 15px; color: var(--muted-2); font-family: 'Inter', sans-serif; font-weight: 400; }
.plan .pdesc { font-size: 14.5px; color: var(--muted); margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.plan ul { list-style: none; display: grid; gap: 13px; margin-bottom: 28px; flex: 1; }
.plan li { display: flex; gap: 11px; font-size: 14.5px; color: var(--text); align-items: flex-start; }
.plan li svg { width: 19px; height: 19px; color: var(--jade); flex: none; margin-top: 2px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-family: 'Fraunces', serif; font-size: 20px; font-weight: 500; color: var(--head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); flex: none; display: grid; place-items: center; transition: all .25s var(--ease); color: var(--gold); }
.faq details[open] summary .pm { background: var(--gold); border-color: var(--gold); color: #211a08; transform: rotate(45deg); }
.faq .fa-body { padding: 0 0 26px; color: var(--muted); font-size: 16px; max-width: 700px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--head); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line-2); border-radius: 12px;
  font-family: 'Inter', sans-serif; font-size: 15px; color: var(--head); background: var(--surface);
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,78,.16); }
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; }
.contact-side { background: linear-gradient(165deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-2); color: var(--text); border-radius: 20px; padding: 38px 34px; }
.contact-side h3 { color: var(--head); }
.contact-side .ci { display: flex; gap: 14px; align-items: flex-start; margin-top: 24px; }
.contact-side .ci svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 3px; }
.contact-side .ci .lbl { font-size: 12px; color: var(--muted-2); text-transform: uppercase; letter-spacing: .1em; }
.contact-side .ci .val { font-size: 16px; color: var(--head); }

/* ---------- Prose ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 30px; margin: 46px 0 16px; }
.prose h3 { font-size: 22px; margin: 32px 0 12px; }
.prose p { color: var(--text); font-size: 17px; margin-bottom: 18px; }
.prose ul { margin: 0 0 20px 20px; color: var(--text); font-size: 17px; }
.prose li { margin-bottom: 8px; }
.lead { font-size: 21px !important; color: var(--muted) !important; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-deep); border-top: 1px solid var(--line); color: var(--muted); padding: 74px 0 34px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid var(--line); }
.footer .brand-name { color: var(--head); }
.footer p.blurb { font-size: 14.5px; color: var(--muted); margin: 18px 0 22px; max-width: 300px; }
.footer h5 { color: var(--head); font-family: 'Inter', sans-serif; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; font-weight: 600; }
.footer ul { list-style: none; display: grid; gap: 11px; }
.footer ul a { font-size: 14.5px; color: var(--muted); transition: color .18s; }
.footer ul a:hover { color: var(--gold-soft); }
.footer-bot { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 26px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted-2); }
.footer-bot a:hover { color: var(--gold-soft); }
.footer .socials { display: flex; gap: 12px; }
.footer .socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: all .2s; color: var(--muted); }
.footer .socials a:hover { border-color: var(--gold); color: var(--gold-soft); }
.footer .socials svg { width: 17px; height: 17px; }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { max-width: 480px; }
  .split, .founder { grid-template-columns: 1fr; gap: 40px; }
  .grid-3, .grid-4, .price-grid, .juris, .tgrid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; }
  .contact-grid { grid-template-columns: 1fr; }
  .founder-photo { max-width: 380px; }
}
@media (max-width: 640px) {
  .section { padding: 78px 0; }
  .container { padding: 0 20px; }
  .grid-3, .grid-4, .grid-2, .price-grid, .juris, .tgrid { grid-template-columns: 1fr; }
  .cta-band { padding: 46px 26px; }
  .step { grid-template-columns: 1fr; gap: 8px; }
  .hero-trust { gap: 24px; }
  .footer-top { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   TECHY PREMIUM LAYER — mono labels, grid, precise details
   ============================================================ */
:root { --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace; }

/* mono, engineered-looking labels */
.eyebrow, .brand-sub, .stats .s .lbl, .hero-trust .lbl, .step .meta,
.plan h3, .dd-label, .footer h5, .trustbar span, .crumb,
.tcard .by .rl, .contact-side .ci .lbl, .kbd, .section-index {
  font-family: var(--mono);
  font-feature-settings: "ss01" on;
}
.eyebrow { letter-spacing: 0.16em; font-weight: 500; text-transform: uppercase; }
.eyebrow::before { width: 20px; }
.eyebrow.mono-tick::before { content: "//"; width: auto; height: auto; background: none; color: var(--gold); font-family: var(--mono); font-weight: 600; letter-spacing: 0; }
.brand-sub { letter-spacing: 0.22em; }

/* faint engineering grid on dark heroes */
.hero::after, .page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%);
}

/* section index tag, e.g. S/01 */
.section-index { font-size: 12px; color: var(--gold); letter-spacing: 0.12em; display: inline-block; margin-bottom: 6px; }

/* precise corner ticks on cards */
.service-card, .tcard, .plan {
  --tick: 9px;
}
.service-card::before {
  content: ""; position: absolute; top: 14px; right: 14px; width: 7px; height: 7px;
  border-top: 1px solid var(--line-2); border-right: 1px solid var(--line-2);
  transition: border-color .3s;
}
.service-card:hover::before { border-color: var(--gold); }

/* monospace inline chips */
.chip {
  display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 12px;
  color: var(--gold-soft); background: rgba(201,162,78,.07); border: 1px solid var(--gold-line);
  padding: 5px 11px; border-radius: 7px; letter-spacing: .02em;
}
.chip.jade { color: var(--jade); background: rgba(59,201,160,.07); border-color: rgba(59,201,160,.28); }

/* sharpen radii a touch for a more engineered feel */
.service-card, .tcard, .hero-card, .plan, .juris a, .contact-side, .split-media, .cta-band { border-radius: 14px; }
.btn { border-radius: 8px; }
.brand-mark { border-radius: 9px; }

/* ============================================================
   SLICK LAYER — motion, spotlight, sheen, progress
   ============================================================ */

::selection { background: rgba(201,162,78,0.28); color: #fff; }
html { scrollbar-color: #2a2c33 var(--bg-deep); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: #2b2d35; border-radius: 10px; border: 2px solid var(--bg-deep); }
::-webkit-scrollbar-thumb:hover { background: #3a3d47; }

/* scroll progress bar (element injected by app.js) */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%; z-index: 200;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-soft), var(--jade));
  box-shadow: 0 0 12px rgba(201,162,78,.6); transition: width .1s linear;
}

/* animated aurora glow behind the hero */
.hero::before {
  content: ""; position: absolute; inset: -25% -10% auto -10%; height: 130%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(38% 46% at 28% 32%, rgba(201,162,78,0.20), transparent 60%),
    radial-gradient(40% 48% at 72% 40%, rgba(59,201,160,0.16), transparent 62%);
  filter: blur(28px); animation: aurora 18s ease-in-out infinite alternate;
}
@keyframes aurora {
  0%   { transform: translate3d(-3%,-2%,0) scale(1); opacity: .85; }
  100% { transform: translate3d(4%,3%,0) scale(1.12); opacity: 1; }
}

/* condensing nav */
.nav { transition: background .3s var(--ease), box-shadow .3s var(--ease); }
.nav-inner { transition: height .3s var(--ease); }
.nav.scrolled { background: rgba(8,8,10,0.85); box-shadow: 0 14px 40px -26px rgba(0,0,0,.9); }
.nav.scrolled .nav-inner { height: 64px; }

/* nav link underline slide */
.nav-links > a { position: relative; }
.nav-links > a:not(.btn)::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 6px; height: 1.5px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease);
}
.nav-links > a:not(.btn):hover::after, .nav-links > a.active:not(.btn)::after { transform: scaleX(1); }

/* gold button sheen on hover */
.btn-gold, .btn-primary { position: relative; overflow: hidden; }
.btn-gold::after, .btn-primary::after {
  content: ""; position: absolute; top: 0; left: -130%; width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-18deg); pointer-events: none;
}
.btn-gold:hover::after, .btn-primary:hover::after { animation: sheen .85s var(--ease); }
@keyframes sheen { from { left: -130%; } to { left: 160%; } }

/* cursor spotlight on cards (--mx/--my set by app.js) */
.service-card, .tcard { --mx: 50%; --my: -20%; }
.service-card::after, .tcard::before { z-index: 1; }
.service-card > *, .tcard > * { position: relative; z-index: 2; }
.service-card:hover { background:
  radial-gradient(260px circle at var(--mx) var(--my), rgba(201,162,78,0.10), transparent 60%), var(--surface); }
.tcard:hover { background:
  radial-gradient(300px circle at var(--mx) var(--my), rgba(201,162,78,0.08), transparent 60%), var(--surface); }

/* shimmer on top accents */
.cta-band::before, .hero-card::before, .plan.featured::before { animation: lineglow 4s ease-in-out infinite; }
@keyframes lineglow { 0%,100% { opacity: .5; } 50% { opacity: 1; } }

/* marquee for the trust strip */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); flex: 1; }
.marquee-track { display: inline-flex; gap: 40px; align-items: center; white-space: nowrap; animation: marquee 26s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track b { font-family: 'Fraunces', serif; font-size: 20px; color: #6b7280; font-weight: 500; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* smoother, richer reveal */
.reveal { transform: translateY(26px) scale(.99); will-change: opacity, transform; }
.reveal.in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hero::before, .marquee-track, .cta-band::before, .hero-card::before, .plan.featured::before { animation: none !important; }
  .scroll-progress { display: none; }
}

/* ============================================================
   BANNER HERO — framed, centred, LinkedIn-banner style
   ============================================================ */
.hero-banner { padding: 92px 0 108px; }
.hero-frame {
  position: relative; max-width: 968px; margin: 0 auto; text-align: center;
  border: 1px solid var(--gold-line); border-radius: 22px;
  padding: 72px 46px 60px;
  background: linear-gradient(180deg, rgba(255,255,255,0.022), rgba(255,255,255,0));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 44px 100px -55px rgba(0,0,0,.85);
}
.hero-frame::before {
  content: ""; position: absolute; inset: -1px; border-radius: 22px; pointer-events: none;
  background: linear-gradient(180deg, rgba(201,162,78,0.30), transparent 42%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; padding: 1px;
}
.hero-frame .corner-mark { position: absolute; top: 24px; right: 24px; }
.hero-frame .corner-mark .brand-mark { width: 58px; height: 58px; font-size: 21px; border-radius: 15px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 16px; justify-content: center; margin-bottom: 26px;
  color: var(--gold-soft); font-family: var(--mono); letter-spacing: .24em; text-transform: uppercase; font-size: 12px; font-weight: 500;
}
.hero-eyebrow::before, .hero-eyebrow::after { content: ""; width: 48px; height: 1px; }
.hero-eyebrow::before { background: linear-gradient(90deg, transparent, var(--gold)); }
.hero-eyebrow::after  { background: linear-gradient(90deg, var(--gold), transparent); }
.banner-title { font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(46px, 8.5vw, 100px); line-height: 1; letter-spacing: -0.03em; color: var(--head); }
.banner-title .gold-text { font-style: italic; }
.banner-sub { font-size: clamp(17px, 2.3vw, 22px); color: #D6DAE1; max-width: 620px; margin: 24px auto 34px; }
.banner-flags { margin-top: 34px; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; font-family: var(--mono); font-size: 13px; color: var(--muted); letter-spacing: .03em; }
.banner-flags .fl { font-size: 20px; letter-spacing: 3px; }
.banner-flags .dot { color: var(--gold); }
@media (max-width: 640px) {
  .hero-banner { padding: 60px 0 80px; }
  .hero-frame { padding: 52px 22px 44px; }
  .hero-frame .corner-mark { display: none; }
  .banner-flags .fl { font-size: 17px; letter-spacing: 2px; }
}

/* ============================================================
   MOBILE MENU (built + toggled by app.js)
   ============================================================ */
.mnav {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(7,7,9,0.985); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  display: flex; flex-direction: column; padding: 94px 30px 44px;
  transform: translateY(-14px); opacity: 0; visibility: hidden;
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
}
.mnav.open { transform: none; opacity: 1; visibility: visible; }
.mnav a {
  font-family: 'Fraunces', serif; font-weight: 500; font-size: 27px; color: var(--head);
  padding: 18px 2px; border-bottom: 1px solid var(--line); display: block;
}
.mnav a:active { color: var(--gold-soft); }
.mnav a.mnav-cta {
  margin-top: 28px; border: none; justify-content: center; align-self: stretch;
  font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 600; padding: 16px 28px;
}
.mnav-close {
  position: absolute; top: 22px; right: 24px; background: none; border: none;
  color: var(--head); font-size: 40px; line-height: 1; cursor: pointer; width: 46px; height: 46px;
}
@media (min-width: 941px) { .mnav { display: none !important; } }

/* ============================================================
   FLOATING WHATSAPP BUTTON (built by app.js)
   ============================================================ */
.wa-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 250;
  height: 58px; min-width: 58px; padding: 0; border-radius: 50%;
  background: #25D366; color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 0;
  box-shadow: 0 14px 34px -10px rgba(37,211,102,.65);
  transition: border-radius .28s var(--ease), padding .28s var(--ease), transform .25s var(--ease), gap .28s var(--ease);
  animation: wapulse 2.8s ease-out infinite;
}
.wa-fab svg { width: 30px; height: 30px; flex: none; }
.wa-fab .wa-label {
  max-width: 0; overflow: hidden; white-space: nowrap;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 15px;
  transition: max-width .3s var(--ease);
}
.wa-fab:hover { border-radius: 30px; padding: 0 20px 0 18px; gap: 11px; transform: translateY(-2px); }
.wa-fab:hover .wa-label { max-width: 150px; }
@keyframes wapulse {
  0%   { box-shadow: 0 14px 34px -10px rgba(37,211,102,.65), 0 0 0 0 rgba(37,211,102,.5); }
  70%  { box-shadow: 0 14px 34px -10px rgba(37,211,102,.65), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 14px 34px -10px rgba(37,211,102,.65), 0 0 0 0 rgba(37,211,102,0); }
}
@media (max-width: 640px) { .wa-fab { right: 16px; bottom: 16px; height: 54px; min-width: 54px; } .wa-fab svg { width: 28px; height: 28px; } }
@media (prefers-reduced-motion: reduce) { .wa-fab { animation: none; } }
