:root {
  --ink: #0a1220;
  --ink-soft: #394455;
  --paper: #f7f4ed;
  --paper-deep: #ece7dd;
  --line: rgba(10, 18, 32, 0.14);
  --blue: #258bc4;
  --violet: #7357c9;
  --gold: #a58248;
  --white: #fff;
  --shadow: 0 28px 80px rgba(6, 13, 24, 0.12);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .8rem 1rem; background: var(--white); }
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 0 clamp(1.25rem, 5vw, 5rem);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 244, 237, .88);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--violet));
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(67, 99, 193, .24);
}
.brand-name { letter-spacing: .08em; font-size: .9rem; font-weight: 700; }
.brand-name strong { font-weight: 900; }
nav { display: flex; gap: clamp(1rem, 3vw, 2.5rem); }
nav a { color: var(--ink-soft); font-size: .9rem; font-weight: 650; text-decoration: none; }
nav a:hover, nav a:focus-visible { color: var(--violet); }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 5vw, 5rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 46rem;
  height: 46rem;
  right: -18rem;
  top: -17rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(112, 90, 202, .16), transparent 68%);
  pointer-events: none;
}
.eyebrow { display: flex; align-items: center; gap: .7rem; margin: 0 0 1.4rem; color: var(--gold); font-size: .76rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow span { width: 28px; height: 1px; background: currentColor; }
h1, h2, h3 { margin-top: 0; line-height: 1.05; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.045em; }
h1 { max-width: 780px; margin-bottom: 1.8rem; font-size: clamp(3.4rem, 6.5vw, 7.2rem); }
h1 em { color: var(--violet); font-weight: 500; }
.hero-lead { max-width: 680px; margin: 0; color: var(--ink-soft); font-size: clamp(1.05rem, 1.55vw, 1.35rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2.4rem 0 3.2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; min-height: 52px; padding: .85rem 1.35rem; border: 1px solid transparent; border-radius: 14px; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: linear-gradient(135deg, var(--blue), var(--violet)); box-shadow: 0 16px 34px rgba(67, 91, 188, .24); }
.button-secondary { border-color: var(--line); background: rgba(255,255,255,.35); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: .88rem; font-weight: 700; }
.hero-trust span { display: block; color: var(--gold); font: 700 1.05rem Georgia, serif; }

.hero-panel { position: relative; padding: 1.1rem; border: 1px solid rgba(255,255,255,.14); border-radius: 30px; color: var(--white); background: linear-gradient(145deg, #10192a, #080d17); box-shadow: var(--shadow); overflow: hidden; }
.panel-glow { position: absolute; width: 280px; height: 280px; right: -80px; top: -100px; border-radius: 50%; background: rgba(104, 76, 198, .28); filter: blur(50px); }
.panel-label { position: relative; margin: .5rem .5rem 1rem; color: #baa679; font-size: .68rem; font-weight: 800; letter-spacing: .22em; }
.signal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.signal-card { position: relative; display: flex; flex-direction: column; min-height: 150px; padding: 1.3rem; border: 1px solid rgba(255,255,255,.09); border-radius: 20px; background: rgba(255,255,255,.045); }
.signal-card-main { min-height: 180px; margin-bottom: .75rem; flex-direction: row; align-items: flex-end; justify-content: space-between; background: linear-gradient(145deg, rgba(41, 148, 202, .2), rgba(113, 83, 197, .12)); }
.signal-kicker { display: block; color: #aab4c4; font-size: .8rem; }
.signal-card strong { margin-top: auto; font: 500 1.35rem Georgia, serif; }
.signal-card-main strong { display: block; margin-top: .5rem; font-size: 2rem; }
.signal-card small { margin-top: .45rem; color: #99a4b4; }
.signal-icon { color: #baa679; font: 700 1rem Georgia, serif; }
.accent-card { background: linear-gradient(145deg, rgba(44, 146, 198, .28), rgba(109, 77, 194, .3)); }
.pulse { width: 14px; height: 14px; margin: 0 .4rem .4rem 0; border-radius: 50%; background: #58c3df; box-shadow: 0 0 0 0 rgba(88,195,223,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 18px rgba(88,195,223,0); } 100% { box-shadow: 0 0 0 0 rgba(88,195,223,0); } }

.fit-strip { padding: 1.4rem clamp(1.25rem, 5vw, 5rem); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.fit-strip p { max-width: 900px; margin: 0 auto; color: var(--ink-soft); font-weight: 650; }
.section { padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 5vw, 5rem); }
.section-heading { display: grid; grid-template-columns: 1fr 1.25fr; column-gap: 3rem; align-items: end; margin-bottom: 3.5rem; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(2.7rem, 5vw, 5rem); }
.section-heading > p:last-child { max-width: 600px; margin: 0 0 .5rem; color: var(--ink-soft); font-size: 1.05rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: stretch; }
.service-card { position: relative; display: flex; flex-direction: column; padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.38); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card:hover { transform: translateY(-6px); border-color: rgba(83, 76, 170, .35); box-shadow: var(--shadow); }
.service-card.featured { background: var(--ink); color: var(--white); transform: translateY(-12px); }
.service-card.featured:hover { transform: translateY(-18px); }
.popular { position: absolute; right: 1.5rem; top: -13px; padding: .35rem .7rem; border-radius: 999px; background: linear-gradient(135deg, #d3b171, #b88d48); color: #15110b; font-size: .62rem; font-weight: 900; letter-spacing: .12em; }
.card-topline { display: flex; justify-content: space-between; gap: 1rem; color: var(--gold); font-size: .72rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.service-card h3 { margin: 2rem 0 1rem; font: 500 clamp(1.7rem, 2.5vw, 2.35rem) Georgia, serif; }
.service-card > p { min-height: 78px; color: var(--ink-soft); }
.service-card.featured > p, .service-card.featured li { color: #b8c0cc; }
.service-card ul { display: grid; gap: .75rem; margin: 1.2rem 0 2rem; padding: 0; list-style: none; }
.service-card li::before { content: "•"; margin-right: .75rem; color: var(--blue); }
.price { display: flex; flex-direction: column; margin-top: auto; padding-top: 1.4rem; border-top: 1px solid currentColor; border-color: rgba(120,130,145,.24); }
.price small { color: var(--ink-soft); }
.featured .price small { color: #9aa5b5; }
.price strong { font: 500 1.8rem Georgia, serif; }
.service-card > a { margin-top: 1.5rem; color: var(--violet); font-weight: 850; text-decoration: none; }
.featured > a { color: #72c9ea; }
.scope-note { max-width: 980px; margin: 2rem auto 0; color: #677181; font-size: .82rem; text-align: center; }

.process-section { color: var(--white); background: var(--ink); }
.section-heading.compact { display: block; max-width: 900px; }
.section-heading.compact h2 { max-width: 800px; }
.eyebrow.light { color: #d1b276; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; }
.process-grid li { min-height: 260px; padding: 2rem; border-top: 1px solid rgba(255,255,255,.18); border-right: 1px solid rgba(255,255,255,.18); }
.process-grid li:last-child { border-right: 0; }
.process-grid span { color: #d1b276; font: 700 1.2rem Georgia, serif; }
.process-grid h3 { margin: 3rem 0 1rem; font: 500 1.7rem Georgia, serif; }
.process-grid p { color: #aeb7c4; }

.standards-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.standards-copy h2 { font-size: clamp(3rem, 5vw, 5rem); }
.standards-copy > p:last-child { color: var(--ink-soft); font-size: 1.05rem; }
.standards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.standard { display: flex; gap: 1rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.32); }
.standard > span { display: grid; flex: 0 0 34px; height: 34px; place-items: center; border-radius: 50%; color: var(--white); background: linear-gradient(135deg, var(--blue), var(--violet)); font-weight: 900; }
.standard strong { font-size: 1rem; }
.standard p { margin: .35rem 0 0; color: var(--ink-soft); font-size: .88rem; }

.contact-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 8vw, 8rem); color: var(--white); background: linear-gradient(145deg, #101a2b, #080d17); }
.contact-copy h2 { max-width: 650px; font-size: clamp(3rem, 5vw, 5rem); }
.contact-copy > p:not(.eyebrow) { max-width: 520px; color: #aeb7c4; }
.direct-email { display: inline-block; margin-top: 1.5rem; color: #77c9e8; font-weight: 750; word-break: break-word; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-content: start; padding: 1.5rem; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); background: rgba(255,255,255,.05); }
.contact-form label { display: grid; gap: .45rem; color: #c7ced8; font-size: .82rem; font-weight: 700; }
.contact-form label:nth-child(3), .contact-form label:nth-child(4), .contact-form .form-note { grid-column: 1 / -1; }
input, select, textarea { width: 100%; padding: .85rem 1rem; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; color: var(--white); background: rgba(255,255,255,.06); font: inherit; }
select option { color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid #6cc2e3; outline-offset: 2px; }
.contact-form button { justify-self: start; }
.form-note { margin: 0; color: #8e99a9; font-size: .75rem; }
footer { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; padding: 2rem clamp(1.25rem, 5vw, 5rem); border-top: 1px solid var(--line); font-size: .78rem; }
footer p { margin: 0; color: var(--ink-soft); }
footer p:last-child { text-align: right; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } .pulse { animation: none; } .button, .service-card { transition: none; } }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-panel { max-width: 720px; }
  .section-heading, .standards-section, .contact-section { grid-template-columns: 1fr; }
  .section-heading > p:last-child { margin-top: 1.5rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card.featured { transform: none; }
  .service-card.featured:hover { transform: translateY(-6px); }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid li:nth-child(2) { border-right: 0; }
  .process-grid li:nth-child(n+3) { border-top: 0; }
  footer { grid-template-columns: 1fr; }
  footer p:last-child { text-align: left; }
}
@media (max-width: 680px) {
  .site-header { min-height: 68px; }
  nav a:not(:last-child) { display: none; }
  .hero { min-height: auto; padding-top: 4rem; }
  h1 { font-size: clamp(3rem, 14vw, 4.5rem); }
  .signal-grid, .standards-grid, .contact-form { grid-template-columns: 1fr; }
  .contact-form label { grid-column: 1 / -1; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid li { min-height: auto; border-right: 0; border-top: 1px solid rgba(255,255,255,.18) !important; }
  .process-grid h3 { margin-top: 1.5rem; }
  .hero-trust { gap: 1rem; }
}
