/* =============================================================
   Veruntis Advisory — design system (Bold Dark)
   Change --accent / --bg to re-theme the whole site.
   ============================================================= */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg:        #0a0f16;
  --surface:   #121a24;
  --surface-2: #0f1720;
  --ink:       #eef3f8;
  --ink-2:     #b3c1d1;
  --muted:     #8496a8;
  --line:      #1e2a37;
  --line-2:    #263546;
  --accent:    #28e0a8;   /* emerald */
  --accent-2:  #1fbf8e;
  --accent-ink:#04231a;   /* text on emerald */
  --glow:      rgba(40,224,168,.22);

  --primary:      var(--accent);
  --primary-hover:#3cecb6;
  --primary-ink:  var(--accent-ink);

  --font-display: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-sans:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --maxw: 1160px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 24px 60px -24px rgba(0,0,0,.7);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.35), 0 14px 34px -18px rgba(0,0,0,.6);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; color: #fff; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
h3 { font-size: 1.22rem; }
p  { margin: 0 0 1rem; color: var(--ink-2); }
a  { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
em { color: var(--ink); font-style: normal; border-bottom: 1px solid var(--accent-2); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.center { text-align: center; }
.lead { font-size: 1.18rem; color: var(--ink-2); max-width: 62ch; }
.center .lead { margin-left: auto; margin-right: auto; }
.measure { max-width: 65ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans);
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.eyebrow::before { content: "◆"; font-size: .7em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-sans); font-weight: 600; font-size: .98rem;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: .18s ease; text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: var(--primary-ink); font-weight: 700; }
.btn-primary:hover { background: var(--primary-hover); color: var(--primary-ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--accent); background: rgba(40,224,168,.06); }
.btn-light { background: var(--primary); color: var(--primary-ink); font-weight: 700; }
.btn-light:hover { background: var(--primary-hover); }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

/* ---------- Header ---------- */
[data-site-header] {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,15,22,.82); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: #fff; }
.brand:hover { text-decoration: none; }
.brand-mark { display: block; flex: none; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-family: var(--font-sans); font-weight: 500; font-size: .97rem; color: var(--ink-2); }
.nav-links a:hover { color: #fff; text-decoration: none; }
.nav-links a.active { color: #fff; }
.nav-links a.btn { color: var(--primary-ink); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; align-items: center; justify-content: center; background: none; border: 1px solid var(--line-2); border-radius: 10px; cursor: pointer; }
.nav-toggle span { width: 18px; height: 2px; background: var(--ink); transition: .2s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 72px; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(46% 55% at 82% 12%, var(--glow), transparent 62%),
    radial-gradient(40% 40% at 6% 0%, rgba(40,224,168,.08), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { max-width: 15ch; }
.hero h1 .hl { color: var(--accent); }
.hero .lead { margin-top: 8px; }
.trustline { margin-top: 26px; font-size: .92rem; font-weight: 600; letter-spacing: .04em; color: var(--accent); }
.hero-media { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); }
.hero-media img { width: 100%; height: 460px; object-fit: cover; display: block; opacity: .94; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(130deg, rgba(10,15,22,.5), transparent 55%); }

/* Full-bleed cover hero (background image behind the whole section) */
.hero-cover { padding: 104px 0 96px; }
.hero-cover .hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center center;
  opacity: .62;
}
.hero-cover::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(10,15,22,.95) 0%, rgba(10,15,22,.72) 44%, rgba(10,15,22,.34) 100%),
    linear-gradient(0deg, var(--bg) 1%, transparent 50%),
    radial-gradient(46% 62% at 84% 26%, var(--glow), transparent 62%);
}
.hero-cover-grid { position: relative; z-index: 3; display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.hero-cover .hero-inner { max-width: 640px; }

/* Hero flow ("Constellation") — ambient line behind the hero text.
   Content width, medium band, V near the right; faded in from the left so text stays readable;
   sits above the veil so it's full-bright on the right. */
.hero-flow-layer {
  position: absolute; z-index: 2; pointer-events: none;
  left: 0; right: 0; margin-inline: auto; width: min(1120px, calc(100% - 48px));
  top: 50%; transform: translateY(-50%); height: 58%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 26%, #000 56%, #000 100%);
          mask-image: linear-gradient(90deg, transparent 0%, transparent 26%, #000 56%, #000 100%);
}
.hero-flow-layer canvas { width: 100%; height: 100%; display: block; }
.seal { width: 300px; height: 300px; filter: drop-shadow(0 0 40px rgba(40,224,168,.25)); }
.seal .ring-text { animation: seal-spin 44s linear infinite; transform-origin: 150px 150px; }
.seal text { fill: var(--accent); font-family: var(--font-sans); font-size: 12.5px; font-weight: 600; letter-spacing: 3.5px; }
@keyframes seal-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .seal .ring-text { animation: none; } }

/* Framed "knot → V → line" hero emblem */
.hemblem { width: 330px; height: 330px; filter: drop-shadow(0 0 34px rgba(40,224,168,.2)); }
.he-frame { stroke: rgba(40,224,168,.35); fill: none; stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; animation: heFrame 3.6s ease forwards; }
.he-mess { stroke: #5b6b7f; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; animation: heMess 3.6s ease forwards; }
.he-line { stroke: var(--accent); fill: none; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; animation: heLine 3.6s ease forwards; }
.he-arrow { stroke: var(--accent); fill: none; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; opacity: 0; animation: heNode 3.6s ease forwards; }
.he-node { fill: var(--accent); opacity: 0; animation: heNode 3.6s ease forwards; }
.he-ring { stroke: var(--accent); fill: none; stroke-width: 2; opacity: 0; animation: heNode 3.6s ease forwards; }
.he-logo { transform-box: fill-box; transform-origin: center; animation: heLogo 3.6s ease forwards; }
.he-logoR { fill: var(--accent); filter: drop-shadow(0 0 10px rgba(40,224,168,.7)); }
.he-logoV { stroke: var(--accent-ink); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }

@keyframes heMess { 0%{stroke-dashoffset:100;opacity:1} 32%{stroke-dashoffset:0;opacity:1} 46%{opacity:1} 60%{opacity:0} 100%{opacity:0} }
@keyframes heLogo { 0%,50%{opacity:0;transform:scale(.4)} 60%{opacity:1;transform:scale(1.22)} 66%{transform:scale(1)} 100%{opacity:1;transform:scale(1)} }
@keyframes heLine { 0%,66%{stroke-dashoffset:100;opacity:0} 70%{opacity:1} 96%{stroke-dashoffset:0} 100%{stroke-dashoffset:0;opacity:1} }
@keyframes heNode { 0%,70%{opacity:0} 80%{opacity:1} 100%{opacity:1} }
@keyframes heFrame { 0%,50%{opacity:0;transform:scale(.9)} 62%{opacity:1;transform:scale(1.02)} 70%{transform:scale(1)} 100%{opacity:1;transform:scale(1)} }
@media (prefers-reduced-motion: reduce) {
  .he-mess { display: none; }
  .he-line, .he-arrow, .he-node, .he-ring, .he-frame { opacity: 1; animation: none; stroke-dashoffset: 0; transform: none; }
  .he-logo { opacity: 1; transform: none; animation: none; }
}

@media (max-width: 900px) {
  .hero-cover-grid { grid-template-columns: 1fr; }
  .hero-emblem { display: none; }
}

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }
.card .kicker { font-family: var(--font-sans); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }

.pain { display: flex; gap: 12px; align-items: flex-start; }
.pain .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-top: 10px; box-shadow: 0 0 0 4px rgba(40,224,168,.12); }
.pain p { margin: 0; color: var(--ink-2); }

/* ---------- Steps (approach) ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 4px; }
.step .num {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--accent);
  line-height: 1; display: block; margin-bottom: 12px;
}
.step h3 { font-size: 1.35rem; }

/* ---------- Alt / band sections ---------- */
.band-alt { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-navy {
  background: linear-gradient(180deg, #0c1420, #0a1a17);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background-image: radial-gradient(60% 130% at 82% -10%, var(--glow), transparent 55%);
}
.band-navy h2, .band-navy h3 { color: #fff; }
.band-navy p { color: var(--ink-2); }
.band-navy .eyebrow { color: var(--accent); }

/* ---------- Service list (services page) ---------- */
.offer { display: grid; grid-template-columns: 1fr 2fr; gap: 30px; padding: 34px 0; border-top: 1px solid var(--line); }
.offer:first-of-type { border-top: none; }
.offer .offer-head .tag { font-family: var(--font-sans); font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.offer .offer-head h3 { font-size: 1.5rem; margin-top: 8px; }
.offer ul { margin: 0; padding-left: 0; list-style: none; }
.offer li { position: relative; padding-left: 26px; margin-bottom: 8px; color: var(--ink-2); }
.offer li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ---------- Value props ---------- */
.value h3 { display: flex; align-items: center; gap: 10px; font-size: 1.12rem; }
.value h3 .mk { color: var(--accent); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 1.5rem; color: var(--accent); transition: .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--ink-2); max-width: 70ch; }

/* ---------- About ---------- */
.founder-card { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; }
.avatar {
  width: 76px; height: 76px; border-radius: 50%; flex: none;
  background: linear-gradient(150deg, #143a33, var(--accent));
  display: grid; place-items: center; color: var(--accent-ink); font-family: var(--font-display); font-weight: 700; font-size: 1.8rem;
}

/* ---------- Booking ---------- */
.book-option { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--surface); }
.book-option.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-sm); }
.book-option .price { font-family: var(--font-display); font-weight: 600; color: #fff; font-size: 1.05rem; }
.embed-slot {
  margin-top: 14px; border: 2px dashed var(--line-2); border-radius: var(--radius);
  background: var(--surface-2); padding: 44px 24px; text-align: center; color: var(--muted);
}
.embed-slot code { background: #0a0f16; border: 1px solid var(--line-2); border-radius: 6px; padding: 2px 7px; font-size: .85rem; color: var(--accent); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; max-width: 620px; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--font-sans); font-weight: 600; font-size: .9rem; color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: var(--font-sans); font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  background: var(--surface); width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field select option { background: var(--surface); color: var(--ink); }
.form-note { font-size: .88rem; color: var(--muted); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- Testimonial ---------- */
.quote { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1.4; color: #fff; max-width: 22ch; }
.quote-meta { color: var(--muted); font-size: .95rem; margin-top: 16px; }

/* ---------- Footer ---------- */
[data-site-footer] { background: #070b11; color: var(--ink-2); margin-top: 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; padding: 56px 0 32px; }
[data-site-footer] .brand { color: #fff; }
[data-site-footer] .brand-mark rect { fill: var(--accent); }
[data-site-footer] .brand-mark path { stroke: var(--accent-ink); }
.footer-tag { color: var(--ink); margin: 12px 0 4px; }
.footer-promise { font-size: .9rem; color: var(--muted); margin: 0; }
.footer-col h4 { font-family: var(--font-sans); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.footer-col a { display: block; color: var(--ink-2); margin-bottom: 9px; font-size: .96rem; }
.footer-col a:hover { color: var(--accent); }
.footer-muted { color: var(--muted); font-size: .9rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 0 40px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-media img { height: 340px; }
}
@media (max-width: 860px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .offer { grid-template-columns: 1fr; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4, .row-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .founder-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 14px 24px 20px; box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; }
  .nav-links a.btn { margin-top: 8px; text-align: center; justify-content: center; }
}
