/* Veora Advisory. Design system D: Fraunces on white. */

:root {
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: 'Source Sans 3', 'Segoe UI', Helvetica, Arial, sans-serif;
  --mono: 'JetBrains Mono', Consolas, 'Courier New', monospace;
  --bg: #FFFFFF;
  --ink: #15171C;
  --text: #23262C;
  --muted: #5F646D;
  --rule: rgba(21, 23, 28, 0.13);
  --rule-strong: rgba(21, 23, 28, 0.32);
  --accent: #C7501F;
  --accent-hover: #A8411A;
  --on-accent: #FFFFFF;
  --gutter: clamp(20px, 5vw, 64px);
  --max: 1200px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--accent); color: var(--on-accent); }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* The AI mark. Same size as the surrounding text, mono face, accent colour. */
.ai { font-family: var(--mono); font-weight: 500; letter-spacing: 0.04em; color: var(--accent); }

/* Type */
.eyebrow { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0 0 28px; font-weight: 500; }
h1 { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 6vw, 74px); line-height: 1.06; letter-spacing: -0.015em; color: var(--ink); max-width: 18ch; text-wrap: balance; font-variation-settings: 'opsz' 72; }
h2 { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.15; letter-spacing: -0.012em; color: var(--ink); max-width: 24ch; text-wrap: balance; font-variation-settings: 'opsz' 48; }
h3 { font-family: var(--display); font-weight: 500; font-size: clamp(21px, 1.8vw, 25px); line-height: 1.25; letter-spacing: -0.005em; color: var(--ink); font-variation-settings: 'opsz' 36; }
.lede { margin-top: 26px; max-width: 40ch; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.55; color: var(--text); text-wrap: pretty; }
.prose p { max-width: 62ch; text-wrap: pretty; }
.prose p + p { margin-top: 1.1em; }
.prose.large p { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.65; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; background: var(--accent); color: var(--on-accent); font-family: var(--body); font-size: 16px; font-weight: 500; padding: 15px 28px; border-radius: 999px; letter-spacing: 0.005em; white-space: nowrap; transition: background 160ms ease; }
.btn:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn.small { font-size: 13.5px; padding: 9px 18px; }
.cta-row { margin-top: clamp(28px, 3.5vw, 44px); display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
@media (max-width: 640px) { .btn:not(.small) { width: 100%; padding: 16px 20px; } }

/* Text links with an arrow */
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--rule-strong); padding-bottom: 2px; }
.link:hover { color: var(--accent); border-color: var(--accent); }
.link .arrow { font-family: var(--mono); font-size: 0.9em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.wordmark { display: inline-flex; align-items: baseline; gap: 10px; color: var(--ink); white-space: nowrap; }
.wordmark img { height: 20px; width: auto; }
.wordmark small { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
@media (max-width: 640px) { .wordmark small { display: none; } }

/* Sections */
section { border-bottom: 1px solid var(--rule); }
section > .wrap { padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(56px, 8vw, 112px); }
.hero > .wrap { padding-top: clamp(44px, 7vw, 104px); padding-bottom: clamp(44px, 7vw, 104px); }

/* Problem */
.problem-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 900px) { .problem-grid { grid-template-columns: 1.15fr 1fr; gap: clamp(48px, 6vw, 96px); align-items: start; } }
.problem-grid p { text-wrap: pretty; }
.problem-grid .lead { font-size: clamp(21px, 2.3vw, 28px); line-height: 1.4; color: var(--ink); letter-spacing: -0.005em; }
.problem-grid .support { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.65; max-width: 46ch; }
.problem-grid .close { margin-top: 28px; font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.18; color: var(--ink); letter-spacing: -0.015em; font-variation-settings: 'opsz' 48; }
.problem-grid .close em { font-style: italic; color: var(--accent); }

/* What we do: a ruled list */
.services { list-style: none; padding: 0; margin: clamp(36px, 4vw, 56px) 0 0; border-top: 1px solid var(--rule); }
.services li { display: grid; grid-template-columns: 1fr; gap: 6px 40px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 760px) { .services li { grid-template-columns: minmax(200px, 0.55fr) 1fr; padding: 26px 0; } }
.services li b { font-family: var(--display); font-weight: 500; font-size: clamp(20px, 1.7vw, 24px); line-height: 1.3; color: var(--ink); font-variation-settings: 'opsz' 36; }
.services li span { max-width: 54ch; text-wrap: pretty; color: var(--text); font-size: clamp(16.5px, 1.3vw, 18.5px); }

/* The refrain. Same treatment wherever it appears. */
.refrain { margin: clamp(48px, 6vw, 80px) 0 0; text-align: left; font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(24px, 3vw, 38px); line-height: 1.3; color: var(--ink); letter-spacing: -0.008em; font-variation-settings: 'opsz' 48; max-width: 30ch; text-wrap: balance; }
.refrain-rule { display: block; width: 48px; height: 1px; background: var(--rule-strong); margin: 0 0 26px; }

/* Founder */
.founder { display: grid; grid-template-columns: 1fr; gap: 36px; }
@media (min-width: 860px) { .founder { grid-template-columns: minmax(280px, 0.8fr) 1.2fr; gap: clamp(48px, 6vw, 96px); align-items: start; } }
.portrait { width: 100%; max-width: 420px; aspect-ratio: 4 / 5; object-fit: cover; border: 1px solid var(--rule); }
@media (max-width: 859px) { .portrait { max-width: 320px; } }
.founder-links { margin-top: 34px; display: flex; flex-direction: column; gap: 22px; }
.past { border-top: 1px solid var(--rule); padding-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; }
.past .label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); flex-basis: 100%; }
.past img { height: 28px; width: auto; }

/* Approach: numbered sequence */
.stages { list-style: none; padding: 0; margin: clamp(40px, 5vw, 64px) 0 0; counter-reset: stage; display: grid; gap: 0; }
.stages li { counter-increment: stage; position: relative; padding: 0 0 32px 52px; }
.stages li::before { content: counter(stage, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--rule-strong); background: var(--bg); font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.04em; color: var(--ink); display: flex; align-items: center; justify-content: center; }
.stages li::after { content: ''; position: absolute; left: 17px; top: 34px; bottom: 0; width: 1px; background: var(--rule); }
.stages li:last-child::after { display: none; }
.stages li:last-child { padding-bottom: 0; }
.stages h3 { margin-top: 5px; }
.stages p { margin-top: 8px; font-size: 16.5px; line-height: 1.6; max-width: 40ch; text-wrap: pretty; color: var(--text); }
@media (min-width: 960px) {
  .stages { grid-template-columns: repeat(5, 1fr); gap: 28px; }
  .stages li { padding: 56px 0 0 0; }
  .stages li::before { top: 0; left: 0; }
  .stages li::after { left: 42px; right: -28px; top: 17px; bottom: auto; height: 1px; width: auto; }
  .stages h3 { margin-top: 0; }
}

/* Proof */
.client { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 14px; }
.client img { height: 30px; width: auto; }
.client-desc { max-width: 60ch; color: var(--text); font-size: clamp(17px, 1.35vw, 19px); text-wrap: pretty; }
.figures { list-style: none; padding: 0; margin: clamp(40px, 5vw, 64px) 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px 40px; border-top: 1px solid var(--rule); }
.figures li { padding-top: 24px; }
.figures .num { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(48px, 5.4vw, 80px); line-height: 1; letter-spacing: -0.02em; color: var(--ink); font-variation-settings: 'opsz' 72; text-wrap: balance; }
.figures .num.long { font-size: clamp(30px, 3.1vw, 44px); line-height: 1.12; letter-spacing: -0.012em; min-height: 0; }
.figures .cap { display: block; margin-top: 14px; font-size: 16.5px; line-height: 1.5; color: var(--text); max-width: 26ch; text-wrap: pretty; }

.testimonials { margin-top: clamp(40px, 5vw, 64px); }
.testimonial { border-top: 1px solid var(--rule); padding: clamp(32px, 4vw, 48px) 0; display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 760px) { .testimonial { grid-template-columns: 96px 1fr; gap: 36px; align-items: start; } }
.testimonial img.face { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 1px solid var(--rule); }
.testimonial blockquote p { font-family: var(--display); font-weight: 400; font-size: clamp(20px, 2vw, 26px); line-height: 1.4; color: var(--ink); max-width: 30ch; text-wrap: pretty; font-variation-settings: 'opsz' 36; }
.testimonial figcaption { margin-top: 18px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; font-size: 15.5px; }
.testimonial figcaption .name { font-weight: 600; color: var(--ink); }
.testimonial figcaption .title { color: var(--muted); }
.testimonial figcaption img { height: 18px; width: auto; opacity: 0.7; }

/* Closing */
.closing .statement { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3.6vw, 48px); line-height: 1.15; letter-spacing: -0.012em; color: var(--ink); max-width: 24ch; text-wrap: balance; font-variation-settings: 'opsz' 48; }

/* Footer */
footer { padding: 36px 0 44px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 14.5px; color: var(--muted); }
footer a { color: var(--ink); border-bottom: 1px solid var(--rule-strong); }
footer a:hover { color: var(--accent); border-color: var(--accent); }
