/* ============================================================
   V PROSPER – AI Governance Advisory
   Shared stylesheet / design system
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,400;1,6..72,500&family=Public+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  /* ---- Colour: Ink & Paper ---- */
  --ink:        #16181c;   /* near-black – primary text */
  --ink-soft:   #34373d;
  --paper:      #f8f7f4;   /* bone white */
  --paper-alt:  #efeee9;   /* alt section bg */
  --paper-deep: #16181c;   /* dark section bg */
  --muted:      #5b5953;   /* secondary text */
  --muted-on-dark: #b2aea5;
  --line:       #e3e0d8;   /* hairlines */
  --line-dark:  #34363a;
  --accent:     #16181c;   /* monochrome – accent = ink */
  --accent-deep:#16181c;
  --eyebrow:    #7e7b73;   /* warm muted for eyebrows */

  /* ---- Type ---- */
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans:  'Public Sans', system-ui, -apple-system, sans-serif;
  --mono:  'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;

  /* ---- Layout ---- */
  --container: 1140px;
  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

::selection { background: var(--accent); color: var(--paper); }

/* ---- Structure ---- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(24px, 3.5vw, 48px); }
.section--tight { padding-block: clamp(16px, 2vw, 28px); }
.section--alt { background: var(--paper-alt); }
.section--dark { background: var(--paper-deep); color: var(--paper); }

/* ---- Typography helpers ---- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--eyebrow);
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--ink);
  display: inline-block;
  opacity: 0.55;
}
.eyebrow--center { justify-content: center; }
.section--dark .eyebrow { color: var(--muted-on-dark); }
.section--dark .eyebrow::before { background: var(--muted-on-dark); opacity: 0.6; }

.emph { font-style: italic; font-weight: 400; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

.h-hero {
  font-size: clamp(38px, 6.2vw, 70px);
  line-height: 1.04;
  font-weight: 400;
}
.h-section { font-size: clamp(30px, 4.4vw, 48px); }
.h-sub     { font-size: clamp(22px, 2.6vw, 30px); }

.lead {
  font-size: clamp(19px, 2.1vw, 23px);
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 400;
  text-wrap: pretty;
}
.section--dark .lead { color: var(--muted-on-dark); }

p { text-wrap: pretty; }

.muted { color: var(--muted); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.005em;
  padding: 15px 26px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}
.btn:hover { background: var(--ink-soft); border-color: var(--ink-soft); color: var(--paper); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.section--dark .btn--ghost { color: var(--paper); border-color: var(--line-dark); }
.section--dark .btn--ghost:hover { background: var(--paper); color: var(--paper-deep); border-color: var(--paper); }

.btn--lg { padding: 17px 30px; font-size: 17px; }

.textlink {
  font-family: var(--mono);
  font-size: 13.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  transition: opacity .2s ease;
}
.textlink:hover { opacity: 0.6; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--paper) 86%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand__mark {
  width: 30px; height: 30px;
  flex: none;
}
.brand__name {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.brand__name b { font-weight: 500; }
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}
.nav__link {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
  letter-spacing: 0.005em;
  position: relative;
  padding-block: 6px;
  transition: color .18s ease;
}
.nav__link:hover { color: var(--ink); }
.nav__link[aria-current="page"] { color: var(--ink); }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--ink);
}
.nav__cta {
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  color: var(--paper);
  background: var(--ink);
  transition: background .2s ease, border-color .2s ease;
}
.nav__cta:hover { background: var(--ink-soft); border-color: var(--ink-soft); }

/* ---- Mobile nav ---- */
.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 2px;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.nav__toggle svg { width: 18px; height: 18px; }
.nav__toggle .icon-close { display: none; }
body.nav-open .nav__toggle .icon-open  { display: none; }
body.nav-open .nav__toggle .icon-close { display: block; }

.nav__panel {
  display: none;
  position: fixed;
  inset: 74px 0 0 0;
  z-index: 40;
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 32px var(--gutter) 48px;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}
.nav__panel a {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.nav__panel a[aria-current="page"] { font-style: italic; }
.nav__panel .nav__cta {
  margin-top: 22px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  padding: 16px 20px;
  align-self: stretch;
  border-bottom: 0;
}
body.nav-open { overflow: hidden; }
body.nav-open .nav__panel { display: flex; }

@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--paper-deep);
  color: var(--muted-on-dark);
  padding-block: clamp(24px, 3vw, 40px) 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px 40px;
}
.footer-brand .brand__name { color: var(--paper); }
.footer-tag {
  margin: 18px 0 0;
  max-width: 30ch;
  font-size: 15.5px;
  line-height: 1.6;
}
.footer-col h4 {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
  margin: 4px 0 18px;
  font-weight: 500;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col a {
  text-decoration: none;
  color: var(--muted-on-dark);
  font-size: 15.5px;
  transition: color .18s ease;
}
.footer-col a:hover { color: var(--paper); }
.footer-meta {
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: 26px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: oklch(0.62 0.015 256);
}

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ============================================================
   REUSABLE BLOCKS
   ============================================================ */

.points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.point {
  background: var(--paper);
  padding: 34px 32px 38px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.point__num {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.point__num::before {
  content: "";
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--ink);
  transform: rotate(45deg);
  display: inline-block;
}
.point__title {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.point__body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}
@media (max-width: 820px) {
  .points { grid-template-columns: 1fr; }
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
}
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 28px; } }

.tags { display: flex; flex-wrap: wrap; gap: 9px; }
.tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 6px 11px;
  border-radius: 2px;
}
.section--dark .tag { color: var(--muted-on-dark); border-color: var(--line-dark); background: transparent; }

/* ---- Service offers ---- */
.offer {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 5vw, 72px);
  padding-block: clamp(40px, 5vw, 60px);
  border-top: 1px solid var(--line);
}
.offer:last-child { border-bottom: 1px solid var(--line); }
.offer__index {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--ink);
  margin: 0 0 18px;
}
.offer__name {
  font-family: var(--serif);
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.012em;
}
.offer__for {
  margin: 18px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}
.offer__for b {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 6px;
}
.offer__desc { font-size: 17.5px; line-height: 1.62; margin: 0 0 26px; color: var(--ink-soft); }
.offer__receive { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.offer__receive li {
  position: relative;
  padding-left: 26px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
}
.offer__receive li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 9px; height: 9px;
  border: 1.5px solid var(--ink);
  transform: rotate(45deg);
}
.offer__receive-label {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 16px;
}
@media (max-width: 820px) { .offer { grid-template-columns: 1fr; gap: 20px; } }

/* ---- Catalogue download card ---- */
.download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding: 30px 34px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.download__title { font-family: var(--serif); font-size: 22px; font-weight: 500; margin: 0 0 6px; }
.download__sub { margin: 0; font-size: 15px; color: var(--muted); }

/* ---- About: credential grid ---- */
.cred-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.cred {
  background: var(--paper);
  padding: 26px 28px;
}
.cred h4 {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--eyebrow);
  margin: 0 0 14px;
  font-weight: 500;
}
.cred ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.cred li { font-size: 16px; line-height: 1.45; }
.cred li .note { color: var(--muted); font-size: 14px; }
.cred p { margin: 0; font-size: 16px; line-height: 1.5; }
@media (max-width: 680px) { .cred-grid { grid-template-columns: 1fr; } }

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.calendly-wrap {
  border: 1px solid var(--line);
  background: var(--paper);
  min-height: 700px;
  position: relative;
  overflow: hidden;
}
.calendly-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  padding: 40px;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, oklch(0.95 0.008 85) 14px 15px),
    var(--paper);
}
.contact-rail { display: grid; gap: 2px; }
.contact-item {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.contact-item:last-child { border-bottom: 1px solid var(--line); }
.contact-item h4 {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--eyebrow);
  margin: 0 0 9px;
  font-weight: 500;
}
.contact-item a, .contact-item p {
  font-family: var(--serif);
  font-size: 21px;
  text-decoration: none;
  color: var(--ink);
  margin: 0;
  transition: color .18s ease;
  word-break: break-word;
}
.contact-item a:hover { opacity: 0.6; }

/* utility */
.stack-sm > * + * { margin-top: 14px; }
.maxw-60 { max-width: 60ch; }
.maxw-46 { max-width: 46ch; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }
.center { text-align: center; }
