/* ============================================================
   VESSEL TECH LLC — design system
   Light, premium, enterprise. Serif display (Fraunces) +
   Inter for UI/body. Restrained ink-navy accent.
   ============================================================ */

:root {
  /* palette */
  --bg:        #FBFAF7;   /* warm off-white page */
  --surface:   #FFFFFF;
  --surface-2: #F4F2EC;   /* soft sand for alt sections */
  --ink:       #14181E;   /* near-black text */
  --ink-soft:  #3A4250;
  --muted:     #6B7484;
  --hairline:  #E7E4DB;
  --hairline-2:#EFEDE6;
  --navy:      #15315B;   /* primary brand */
  --navy-deep: #0E2444;
  --accent:    #1F5EFF;   /* confident action blue */
  --accent-ink:#16335B;
  --gold:      #B08542;   /* sparing premium accent */
  --good:      #1E7A53;

  /* type */
  --serif: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* spacing / radius */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --maxw: 1180px;
  --shadow-sm: 0 1px 2px rgba(20,24,30,.04), 0 1px 3px rgba(20,24,30,.06);
  --shadow-md: 0 6px 24px -8px rgba(20,24,30,.12), 0 2px 8px -4px rgba(20,24,30,.08);
  --shadow-lg: 0 30px 60px -24px rgba(14,36,68,.28), 0 8px 24px -12px rgba(14,36,68,.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1,h2,h3,h4 { font-family: var(--serif); font-weight: 480; letter-spacing: -.01em; line-height: 1.1; margin: 0; color: var(--ink); }
p { margin: 0; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 28px; }

/* eyebrow / small caps label */
.eyebrow {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--gold);
  display: inline-block;
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-weight: 550; font-size: 15.5px;
  padding: 13px 22px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--navy-deep); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--hairline); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn-lg { padding: 16px 28px; font-size: 16.5px; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------------------------------------------------------- nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.scrolled { border-bottom-color: var(--hairline); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.brand .mark { width: 34px; height: 34px; }
.brand .word { font-family: var(--serif); font-size: 20px; letter-spacing: -.01em; font-weight: 520; }
.brand .word b { font-weight: 520; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 15px; color: var(--ink-soft); font-weight: 480; transition: color .15s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; }

/* ---------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 84px; }
.hero::before {
  content:""; position:absolute; inset:0; z-index:0;
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(31,94,255,.07), transparent 60%),
    radial-gradient(760px 460px at 6% 4%, rgba(21,49,91,.06), transparent 58%);
  pointer-events:none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.4vw, 68px); letter-spacing: -.025em; margin-top: 22px; }
.hero h1 .em { font-style: italic; color: var(--accent-ink); }
.hero-sub { font-size: 19px; color: var(--ink-soft); max-width: 30em; margin-top: 24px; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.hero-meta .item { display: flex; flex-direction: column; gap: 2px; }
.hero-meta .k { font-family: var(--serif); font-size: 26px; color: var(--ink); }
.hero-meta .l { font-size: 13.5px; color: var(--muted); }

/* hero visual: layered "platforms" panel */
.hero-visual { position: relative; }
.panel {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px;
}
.panel-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--hairline-2); }
.panel-head .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px rgba(30,122,83,.12); }
.panel-head .t { font-size: 13px; color: var(--muted); font-weight: 550; letter-spacing:.02em; }
.panel-rows { display: flex; flex-direction: column; gap: 12px; padding-top: 16px; }
.prow { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--surface-2); border: 1px solid var(--hairline-2); }
.prow .ic { width: 34px; height: 34px; border-radius: 9px; background: #fff; border: 1px solid var(--hairline); display: grid; place-items: center; color: var(--navy); flex: none; }
.prow .meta { flex: 1; min-width: 0; }
.prow .meta .n { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.prow .meta .s { font-size: 12.5px; color: var(--muted); }
.prow .stat { font-family: var(--serif); font-size: 17px; color: var(--accent-ink); }
.float-card {
  position: absolute; right: -18px; bottom: -26px;
  background: var(--navy); color: #fff;
  border-radius: var(--r-md); padding: 16px 20px;
  box-shadow: var(--shadow-lg); max-width: 230px;
}
.float-card .fc-k { font-family: var(--serif); font-size: 22px; }
.float-card .fc-l { font-size: 12.5px; color: rgba(255,255,255,.72); margin-top: 2px; }

/* ---------------------------------------------------------- logos / trust */
.trust { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); background: var(--surface); }
.trust .container { padding-block: 30px; display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: space-between; }
.trust .lead { font-size: 13.5px; color: var(--muted); font-weight: 550; letter-spacing: .02em; }
.trust .items { display: flex; gap: 38px; flex-wrap: wrap; align-items: center; }
.trust .items span { font-size: 14px; color: var(--ink-soft); font-weight: 550; display: inline-flex; align-items: center; gap: 9px; }
.trust .items svg { color: var(--navy); }

/* ---------------------------------------------------------- section shell */
.section { padding: 96px 0; }
.section.alt { background: var(--surface); border-block: 1px solid var(--hairline); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); margin-top: 16px; letter-spacing: -.02em; }
.section-head p { font-size: 18px; color: var(--ink-soft); margin-top: 18px; }

/* capability grid */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cap {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-md);
  padding: 30px; transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.cap:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--hairline-2); }
.cap .ic { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(160deg,#fff,var(--surface-2)); border: 1px solid var(--hairline); display: grid; place-items: center; color: var(--navy); margin-bottom: 20px; }
.cap h3 { font-size: 21px; }
.cap p { color: var(--ink-soft); margin-top: 10px; font-size: 15.5px; }
.cap ul { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 8px; }
.cap li { font-size: 14.5px; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; }
.cap li::before { content: ""; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--gold); flex: none; }

/* portfolio split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.portfolio-list { display: flex; flex-direction: column; gap: 16px; }
.pitem { display: flex; gap: 18px; padding: 22px; border: 1px solid var(--hairline); border-radius: var(--r-md); background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.pitem:hover { box-shadow: var(--shadow-sm); border-color: var(--hairline-2); }
.pitem .num { font-family: var(--serif); font-size: 15px; color: var(--gold); padding-top: 2px; }
.pitem h3 { font-size: 18.5px; }
.pitem p { font-size: 14.5px; color: var(--ink-soft); margin-top: 6px; }

/* consulting / engagement */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; counter-reset: s; }
.step { padding: 30px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--hairline); position: relative; }
.step .n { font-family: var(--serif); font-size: 14px; color: var(--muted); letter-spacing: .04em; }
.step h3 { font-size: 20px; margin: 12px 0 8px; }
.step p { font-size: 15px; color: var(--ink-soft); }

/* principles / trust band */
.principles { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.principle { padding: 26px; border-radius: var(--r-md); border: 1px solid var(--hairline); background: var(--surface); }
.principle .ic { color: var(--navy); margin-bottom: 16px; }
.principle h3 { font-size: 17px; }
.principle p { font-size: 14px; color: var(--muted); margin-top: 8px; }

/* big statement */
.statement { background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: 72px; position: relative; overflow: hidden; }
.statement::after { content:""; position:absolute; inset:0; background: radial-gradient(700px 360px at 90% 0%, rgba(31,94,255,.28), transparent 60%); pointer-events:none; }
.statement .container-inner { position: relative; z-index: 1; max-width: 760px; }
.statement .eyebrow { color: rgba(255,255,255,.66); }
.statement .eyebrow::before { background: var(--gold); }
.statement h2 { color: #fff; font-size: clamp(28px,3.4vw,40px); margin-top: 18px; }
.statement h2 .em { font-style: italic; color: #BFD2FF; }
.statement p { color: rgba(255,255,255,.78); font-size: 18px; margin-top: 20px; }

/* contact / cta */
.cta-wrap { text-align: center; max-width: 680px; margin-inline: auto; }
.cta-wrap h2 { font-size: clamp(32px,4vw,50px); letter-spacing: -.02em; }
.cta-wrap p { font-size: 19px; color: var(--ink-soft); margin-top: 18px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.cta-mail { margin-top: 26px; font-size: 15px; color: var(--muted); }
.cta-mail a { color: var(--accent-ink); font-weight: 550; border-bottom: 1px solid color-mix(in srgb, var(--accent-ink) 30%, transparent); }

/* ---------------------------------------------------------- footer */
.footer { background: var(--surface); border-top: 1px solid var(--hairline); padding: 64px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand { margin-bottom: 18px; }
.footer .blurb { font-size: 14.5px; color: var(--muted); max-width: 30em; }
.footer h4 { font-family: var(--sans); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.footer ul a { font-size: 14.5px; color: var(--ink-soft); }
.footer ul a:hover { color: var(--ink); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--hairline); flex-wrap: wrap; gap: 14px; }
.footer-bottom p { font-size: 13.5px; color: var(--muted); }
.footer-bottom .legal { display: flex; gap: 22px; }
.footer-bottom .legal a { font-size: 13.5px; color: var(--muted); }
.footer-bottom .legal a:hover { color: var(--ink); }

/* legal/article pages */
.doc { padding: 72px 0 96px; }
.doc .container { max-width: 800px; }
.doc h1 { font-size: clamp(34px,4vw,48px); letter-spacing: -.02em; }
.doc .updated { color: var(--muted); font-size: 14.5px; margin-top: 14px; }
.doc h2 { font-size: 24px; margin-top: 44px; }
.doc h3 { font-size: 18.5px; margin-top: 28px; font-family: var(--sans); font-weight: 650; }
.doc p, .doc li { color: var(--ink-soft); font-size: 16px; margin-top: 14px; }
.doc ul { padding-left: 22px; }
.doc a { color: var(--accent-ink); border-bottom: 1px solid color-mix(in srgb, var(--accent-ink) 30%, transparent); }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--muted); margin-bottom: 28px; }
.back-link:hover { color: var(--ink); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------- responsive */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 480px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .cap-grid, .steps { grid-template-columns: 1fr 1fr; }
  .principles { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .statement { padding: 48px 32px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-grid; place-items:center; width:42px;height:42px;border:1px solid var(--hairline);border-radius:10px;background:var(--surface); }
  .section { padding: 68px 0; }
  .cap-grid, .steps, .principles { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 56px; }
  .float-card { right: 10px; bottom: -16px; }
  .container { padding-inline: 20px; }
}
