
  :root {
    --navy-950: #081226;
    --navy-900: #0b1730;
    --navy-800: #13254a;
    --navy-line: #22375f;
    --on-navy: #e9eefb;
    --on-navy-muted: #9fb0d0;
    --ink: #14213b;
    --ink-soft: #45526c;
    --muted: #6d7890;
    --paper: #ffffff;
    --paper-alt: #f5f7fb;
    --line: #e4e9f2;
    --amber: #f5a524;
    --amber-hover: #ffb845;
    --amber-deep: #a86e07;
    --amber-soft: #fdf3df;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    font-size: 16px;
  }
  h1, h2, h3, .logo { font-family: 'Sora', 'Inter', sans-serif; }
  .wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

  .btn {
    display: inline-block;
    background: var(--amber);
    color: var(--navy-950);
    padding: 13px 26px;
    border-radius: 9px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: background .15s, transform .15s;
  }
  .btn:hover { background: var(--amber-hover); transform: translateY(-1px); }
  .btn.ghost {
    background: transparent;
    color: var(--on-navy);
    border: 1.5px solid var(--navy-line);
  }
  .btn.ghost:hover { background: var(--navy-800); border-color: #35507f; }
  .btn.ghost-light {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid #cbd5e6;
  }
  .btn.ghost-light:hover { background: var(--paper-alt); }

  /* ============ Header ============ */
  header {
    background: var(--navy-900);
    position: sticky; top: 0; z-index: 40;
    border-bottom: 1px solid var(--navy-line);
  }
  .header-in {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 14px; padding-bottom: 14px;
  }
  .logo-badge {
    width: 38px; height: 38px; border-radius: 10px;
    background: var(--navy-800);
    border: 1px solid var(--navy-line);
    color: var(--amber);
    font-family: 'Sora', sans-serif;
    font-weight: 700; font-size: 15px;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; flex: none;
    transition: border-color .15s;
  }
  .logo-badge:hover { border-color: var(--amber); }
  .head-left { display: flex; align-items: center; gap: 28px; }
  .topnav { display: flex; gap: 24px; }
  .topnav a {
    color: var(--on-navy-muted);
    font-size: 14px; font-weight: 600;
    text-decoration: none;
    transition: color .15s;
  }
  .topnav a:hover { color: #fff; }
  .header-in .btn { padding: 9px 18px; font-size: 14px; }
  @media (max-width: 640px) {
    .topnav { display: none; }
  }

  /* ============ Hero ============ */
  .hero {
    background:
      radial-gradient(900px 480px at 78% 10%, #1a3767 0%, transparent 60%),
      linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
    color: var(--on-navy);
    overflow: hidden;
    position: relative;
  }
  .hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(159,176,208,.055) 1px, transparent 1px),
      linear-gradient(90deg, rgba(159,176,208,.055) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 75%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 75%);
    pointer-events: none;
  }
  .hero-in {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 40px;
    align-items: center;
    padding: 76px 0 84px;
  }
  .kicker {
    display: inline-block;
    color: var(--amber);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .09em;
    text-transform: uppercase;
    margin-bottom: 20px;
  }
  .hero h1 {
    font-size: clamp(32px, 4.4vw, 50px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -.02em;
    color: #fff;
  }
  .hero p.lede {
    margin-top: 22px;
    font-size: 18px;
    color: var(--on-navy-muted);
    max-width: 520px;
  }
  .hero .cta-row { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
  .hero .cta-note { font-size: 14px; color: #7a8cad; margin-top: 16px; }

  /* Hero visual: building + floating cards */
  .scene { position: relative; min-height: 480px; }
  .scene svg.building { display: block; width: 100%; max-width: 430px; margin: 0 auto; }
  .b-stroke { fill: none; stroke: #3d5686; stroke-width: 1.6; }
  .b-fill { fill: #10213f; stroke: #3d5686; stroke-width: 1.6; }
  .b-win { fill: #1b3059; }
  .b-win.lit { fill: var(--amber); }
  .vignette {
    position: absolute;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(3,10,26,.45);
    padding: 13px 15px;
    width: 232px;
    color: var(--ink);
  }
  .vignette .v-head { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--ink); }
  .vignette .v-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); flex: none; }
  .vignette .v-body { margin-top: 7px; font-size: 12px; line-height: 1.5; color: var(--ink-soft); }
  .vignette .v-chip {
    display: inline-block; margin-top: 9px;
    font-size: 11px; font-weight: 700;
    background: var(--amber-soft); color: var(--amber-deep);
    border-radius: 99px; padding: 3px 10px;
  }
  .vignette .v-chip.ok { background: #e5f6ec; color: #14713d; }
  .vg-1 { top: 8px; right: -6px; }
  .vg-2 { top: 178px; left: -14px; }
  .vg-3 { bottom: 6px; right: 4px; }

  /* ============ Value strip ============ */
  .strip { background: var(--navy-950); border-top: 1px solid var(--navy-line); }
  .strip-in {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
    padding: 26px 0;
  }
  .strip-item { display: flex; gap: 12px; align-items: flex-start; }
  .strip-item svg { flex: none; margin-top: 2px; }
  .strip-item h3 { font-size: 15px; color: #fff; font-weight: 700; }
  .strip-item p { font-size: 13.5px; color: var(--on-navy-muted); margin-top: 2px; }

  /* ============ Sections ============ */
  section { padding: 84px 0; }
  section.alt { background: var(--paper-alt); }
  .sec-kicker {
    color: var(--amber-deep);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 12px;
  }
  h2 {
    font-size: clamp(26px, 3.2vw, 38px);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.15;
    max-width: 760px;
  }
  .sec-sub { margin-top: 16px; color: var(--ink-soft); max-width: 660px; font-size: 17px; }

  /* Featured services: 2x2 bento */
  .bento {
    margin-top: 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
  .feat {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    display: flex; flex-direction: column;
  }
  .feat .feat-visual {
    background: linear-gradient(135deg, #eef2fa 0%, #f7f9fd 100%);
    border-bottom: 1px solid var(--line);
    padding: 22px 26px;
    display: flex; align-items: center; gap: 14px;
  }
  .feat .feat-visual .fico {
    width: 46px; height: 46px; border-radius: 12px;
    background: var(--navy-900);
    display: flex; align-items: center; justify-content: center;
    flex: none;
  }
  .feat .feat-visual .fdemo { font-size: 12.5px; color: var(--ink-soft); line-height: 1.5; }
  .feat .feat-visual .fdemo b { color: var(--ink); }
  .feat .feat-body { padding: 24px 26px 28px; }
  .feat h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
  .feat .feat-body p { margin-top: 10px; font-size: 15px; color: var(--ink-soft); }

  /* Compact services */
  .more { margin-top: 54px; }
  .more h3 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 20px; }
  .more-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .mini {
    display: flex; gap: 12px; align-items: flex-start;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px 18px;
  }
  .mini svg { flex: none; margin-top: 2px; }
  .mini b { display: block; font-size: 14.5px; font-weight: 700; color: var(--ink); }
  .mini span { font-size: 13px; color: var(--muted); line-height: 1.45; display: block; margin-top: 2px; }
  .grid-note { margin-top: 26px; font-size: 15px; color: var(--muted); }
  .grid-note a { color: var(--amber-deep); font-weight: 700; text-decoration: none; }
  .grid-note a:hover { text-decoration: underline; }

  /* Process */
  .steps {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    position: relative;
  }
  .step {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 28px 26px;
    position: relative;
  }
  .step .num {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--navy-900);
    color: var(--amber);
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 16px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
  }
  .step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
  .step p { font-size: 15px; color: var(--ink-soft); }
  .stack-line { margin-top: 36px; font-size: 15px; color: var(--muted); }
  .stack-line strong { color: var(--ink-soft); font-weight: 600; }

  /* Principles */
  .principles {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
  }
  .principle .pico {
    width: 42px; height: 42px; border-radius: 11px;
    background: var(--navy-900);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
  }
  .principle h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
  .principle p { font-size: 14.5px; color: var(--ink-soft); }

  /* About */
  .about-in { display: flex; gap: 28px; align-items: flex-start; max-width: 760px; }
  .avatar {
    flex: none;
    width: 74px; height: 74px; border-radius: 50%;
    background: var(--navy-900);
    color: var(--amber);
    font-family: 'Sora', sans-serif;
    font-weight: 700; font-size: 24px;
    display: flex; align-items: center; justify-content: center;
  }
  .about-in p { color: var(--ink-soft); font-size: 17px; }
  .about-in p + p { margin-top: 14px; }
  .about-in p strong { color: var(--ink); }

  /* Final CTA */
  .final {
    background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
    color: #fff;
    text-align: center;
    padding: 96px 0 0;
    position: relative;
    overflow: hidden;
  }
  .final h2 { color: #fff; margin: 0 auto; }
  .final p { color: var(--on-navy-muted); margin: 18px auto 0; max-width: 560px; font-size: 17px; }
  .final .btn { margin-top: 34px; font-size: 16px; padding: 15px 32px; }
  .final .mail-fallback { margin-top: 18px; font-size: 15px; color: #7a8cad; }
  .final .mail-fallback a { color: #cdd6e6; }
  .final .skyline { display: block; width: 100%; margin-top: 64px; opacity: .5; }

  footer {
    background: var(--navy-950);
    padding: 24px 0;
    font-size: 14px;
    color: #7a8cad;
    border-top: 1px solid var(--navy-line);
  }
  .footer-in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
  footer a { color: #a9b8d4; }

  /* ============ Motion ============ */
  @media (prefers-reduced-motion: no-preference) {
    .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
    .reveal.in { opacity: 1; transform: none; }
    .feat, .mini { transition: transform .22s ease, box-shadow .22s ease, opacity .6s ease, border-color .22s; }
    .feat:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(14,27,53,.10); border-color: #cfdaec; }
    .mini:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(14,27,53,.08); border-color: #cfdaec; }
    .hero .kicker, .hero h1, .hero .lede, .hero .cta-row, .hero .cta-note { animation: rise .7s ease both; }
    .hero h1 { animation-delay: .06s; }
    .hero .lede { animation-delay: .12s; }
    .hero .cta-row { animation-delay: .18s; }
    .hero .cta-note { animation-delay: .24s; }
    .scene { animation: rise .8s ease both .15s; }
    .vignette { animation: floaty 5.5s ease-in-out infinite; }
    .vg-1 { animation-delay: 0s; }
    .vg-2 { animation-delay: 1.6s; animation-duration: 6.2s; }
    .vg-3 { animation-delay: 3s; animation-duration: 5s; }
    .b-win.lit { animation: winpulse 3.6s ease-in-out infinite; }
    .b-win.lit.w2 { animation-delay: 1.1s; }
    .b-win.lit.w3 { animation-delay: 2.2s; }
  }
  @keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
  @keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
  @keyframes winpulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

  /* ============ Responsive ============ */
  @media (max-width: 960px) {
    .hero-in { grid-template-columns: 1fr; padding: 56px 0 36px; }
    .scene { min-height: 0; margin-top: 8px; }
    .scene svg.building { max-width: 350px; }
    .bento { grid-template-columns: 1fr; }
    .more-grid { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: 1fr; }
    .principles { grid-template-columns: 1fr 1fr; }
    .strip-in { grid-template-columns: 1fr; gap: 14px; }
  }
  @media (max-width: 640px) {
    section { padding: 60px 0; }
    .more-grid { grid-template-columns: 1fr; }
    .principles { grid-template-columns: 1fr; }
    .vignette { width: 200px; padding: 11px 13px; }
    .vg-1 { right: 0; }
    .vg-2 { left: 0; }
    .about-in { flex-direction: column; }
  }

/* ============ Service detail pages ============ */
.hero.slim .hero-in { grid-template-columns: 1fr; padding: 60px 0 68px; }
.hero.slim .hero-in > div { max-width: 780px; }
.feat-link { display: inline-block; margin-top: 14px; color: var(--amber-deep); font-weight: 700; font-size: 14px; text-decoration: none; }
.feat-link:hover { text-decoration: underline; }
.steps.detail { grid-template-columns: repeat(2, 1fr); }
.needs { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.faq { margin-top: 44px; max-width: 780px; }
.faq-item { border-top: 1px solid var(--line); padding: 20px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item h3 { font-size: 16px; font-weight: 700; }
.faq-item p { margin-top: 8px; font-size: 15px; color: var(--ink-soft); }
.related { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.related a { font-size: 14px; font-weight: 600; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 99px; padding: 8px 16px; text-decoration: none; transition: border-color .15s, color .15s; }
.related a:hover { color: var(--amber-deep); border-color: var(--amber); }
@media (max-width: 960px) {
  .steps.detail { grid-template-columns: 1fr; }
  .needs { grid-template-columns: 1fr; }
}

/* Clickable hero vignettes */
a.vignette { display: block; text-decoration: none; color: var(--ink); cursor: pointer; transition: box-shadow .2s ease, outline-color .2s ease; outline: 2px solid transparent; }
a.vignette:hover { box-shadow: 0 24px 52px rgba(3,10,26,.62); outline-color: var(--amber); }
