/* clivevanderwagen.com — site styles */
:root {
  --paper: #F6F7F8;
  --white: #FFFFFF;
  --ink: #1C2230;
  --nightfall: #3E455A;
  --deep: #222939;
  --muted: #5A6070;
  --blu: #2E7CA8;
  --blu-dark: #23648A;
  --jacaranda: #726994;
  --jacaranda-light: #B9B2D6;
  --amber: #B37C56;
  --rule: #DEE3E3;
  --frost: #ECEFF0;

  --serif: "Jost", "Gill Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --sans: "Montserrat", "Gill Sans", "Segoe UI", Helvetica, Arial, sans-serif;

  --wrap: 1160px;
  --gutter: 20px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; background: var(--frost); }
a { color: var(--blu); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blu-dark); }
:focus-visible { outline: 3px solid var(--blu); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 300; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; text-wrap: balance; }
h3 { font-weight: 500; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1.1em; }
.lead { font-size: 1.12rem; font-weight: 300; color: var(--nightfall); max-width: 62ch; }
.muted { color: var(--muted); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 720px; }
section { padding: 88px 0; }
@media (max-width: 720px) { section { padding: 60px 0; } body { font-size: 16.5px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246,247,248,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.brand { font-family: var(--serif); font-weight: 300; font-size: 1.25rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; white-space: nowrap; }
.brand span { color: var(--jacaranda); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blu); }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--rule); border-radius: var(--radius); padding: 8px 12px; font: inherit; font-size: .95rem; color: var(--ink); cursor: pointer; }

.btn { display: inline-block; padding: 13px 22px; border-radius: var(--radius); font-weight: 600; font-size: .98rem; text-decoration: none; border: 1px solid transparent; transition: background .15s, color .15s; }
.btn-primary { background: var(--blu); color: #fff; }
.btn-primary:hover { background: var(--blu-dark); color: #fff; }
.btn-ghost { border-color: var(--nightfall); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--frost); color: var(--ink); }
.nav .btn { padding: 9px 16px; color: #fff; }
.nav .btn:hover { color: #fff; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--rule); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--rule); font-size: 1.05rem; }
  .nav .btn { margin-top: 14px; text-align: center; border-bottom: 0; }
}

/* Hero — the waterline */
.hero { padding: 72px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 64px; align-items: center; }
.hero h1 { margin: 0; }
.waterline { position: relative; margin: 28px 0 24px; height: 1px; background: var(--nightfall); }
.waterline::after { content: "the surface"; position: absolute; right: 0; top: -1.6em; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: .85rem; color: var(--muted); }
.below { font-family: var(--serif); font-weight: 300; font-size: clamp(1.7rem, 3.6vw, 2.7rem); line-height: 1.15; color: var(--jacaranda); margin: 0 0 28px; }
.hero .lead { margin-bottom: 30px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-portrait { position: relative; }
.hero-portrait img { border-radius: 200px 200px var(--radius) var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.hero-portrait figcaption { font-size: .88rem; color: var(--muted); margin-top: 12px; }
@media (max-width: 900px) {
  .hero { padding: 44px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-portrait { max-width: 380px; }
}

/* Proof */
.proof { background: var(--white); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.proof-grid { display: grid; grid-template-columns: auto 1fr; gap: 56px; align-items: center; }
.big-number { font-family: var(--serif); font-weight: 200; letter-spacing: -0.04em; font-size: clamp(5rem, 13vw, 9rem); line-height: .9; color: var(--blu); }
.big-number small { display: block; font-family: var(--sans); font-size: 1rem; color: var(--muted); margin-top: 14px; line-height: 1.4; max-width: 18ch; }
.proof-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--nightfall); font-size: .96rem; }
.proof-facts li { padding-left: 16px; position: relative; }
.proof-facts li::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: var(--jacaranda); }
@media (max-width: 720px) { .proof-grid { grid-template-columns: 1fr; gap: 24px; } }

.clients { padding: 40px 0; }
.clients p { margin: 0; font-family: var(--serif); font-weight: 300; font-size: 1.2rem; line-height: 1.5; color: var(--nightfall); max-width: 900px; }
.clients strong { font-weight: 600; color: var(--ink); }

/* Areas: above / below */
.section-head { max-width: 720px; margin-bottom: 44px; }
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.area { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); display: flex; flex-direction: column; }
.area h3 { padding: 26px 26px 0; margin-bottom: 18px; }
.area .see, .area .drive { padding: 0 26px 20px; margin: 0; font-size: .97rem; }
.area .see b, .area .drive b { display: block; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: .92rem; margin-bottom: 4px; }
.area .see b { color: var(--muted); }
.area .drive { border-top: 1px solid var(--nightfall); padding-top: 18px; background: linear-gradient(var(--frost), var(--frost)); flex: 1; border-radius: 0 0 var(--radius) var(--radius); }
.area .drive b { color: var(--jacaranda); }
.area .more { padding: 0 26px 24px; background: var(--frost); border-radius: 0 0 var(--radius) var(--radius); margin-top: -1px; }
@media (max-width: 900px) { .areas { grid-template-columns: 1fr; } }

/* Method */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } .split img { aspect-ratio: 3/2; } }
.frameworks { list-style: none; padding: 0; margin: 24px 0; border-top: 1px solid var(--rule); }
.frameworks li { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.frameworks strong { display: block; font-weight: 600; font-size: 1.02rem; }
.frameworks span { color: var(--muted); font-size: .95rem; }

/* Dark band (book, contact) */
.dark { background: var(--deep); color: #E9ECF1; }
.dark h2, .dark h3 { color: #fff; }
.dark a:not(.btn) { color: #9CC9E3; }
.dark .muted { color: #A9B0BF; }
.book-grid { display: grid; grid-template-columns: 300px 1fr; gap: 64px; align-items: center; }
.book-cover { border-radius: 4px; box-shadow: 0 24px 50px rgba(0,0,0,.35); max-width: 300px; width: 100%; }
.book-grid .lead { color: #D3D8E2; }
.dark .btn-ghost { border-color: #fff; color: #fff; }
.dark .btn-ghost:hover { background: #fff; color: var(--ink); }
.endorse { margin-top: 26px; padding-left: 18px; border-left: 3px solid var(--amber); color: #C9CED9; font-size: .97rem; }
@media (max-width: 820px) { .book-grid { grid-template-columns: 1fr; gap: 36px; } .book-cover { max-width: 220px; } }

/* Video */
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.video { text-decoration: none; color: var(--ink); }
.video .thumb { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; background: var(--deep); }
.video .thumb img { width: 100%; height: 100%; object-fit: cover; }
.video .thumb::after { content: ""; position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgba(255,255,255,.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l9 5-9 5z' fill='%231C2230'/%3E%3C/svg%3E") center/26px no-repeat; }
.video h3 { font-size: 1.12rem; margin-top: 14px; }
.video:hover h3 { color: var(--blu); }
.video p { font-size: .92rem; color: var(--muted); }
@media (max-width: 900px) { .videos { grid-template-columns: 1fr; } }

/* Insights */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.post { border-top: 1px solid var(--nightfall); padding-top: 18px; }
.post .meta { font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.post h3 a { color: var(--ink); text-decoration: none; }
.post h3 a:hover { color: var(--blu); }
.post p { color: var(--muted); font-size: .97rem; }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr; gap: 28px; } }
.post-list .post { display: grid; grid-template-columns: 180px 1fr; gap: 28px; padding: 26px 0; border-top: 1px solid var(--rule); }
.post-list .post:first-child { border-top-color: var(--nightfall); }
@media (max-width: 720px) { .post-list .post { grid-template-columns: 1fr; gap: 4px; } }

/* Article */
.article-head { padding: 64px 0 28px; }
.article-head .meta { color: var(--muted); font-size: .92rem; margin-top: 14px; }
.article { font-family: var(--sans); font-size: 1.08rem; line-height: 1.8; max-width: 680px; padding-bottom: 40px; }
.article h2 { font-size: 1.7rem; margin-top: 1.6em; }
.article blockquote { margin: 1.6em 0; padding-left: 22px; border-left: 3px solid var(--jacaranda); font-style: italic; color: var(--nightfall); }
.article-end { border-top: 1px solid var(--rule); padding: 30px 0 70px; font-family: var(--sans); font-size: 1rem; }
@media (max-width: 720px) { .article { font-size: 1rem; } .article-head { padding-top: 40px; } }

/* Page head */
.page-head { padding: 72px 0 40px; }
.page-head .lead { margin-top: 10px; }
@media (max-width: 720px) { .page-head { padding: 44px 0 24px; } }

/* Credentials / timeline */
.creds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; list-style: none; padding: 0; margin: 0; }
.creds li { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.creds strong { display: block; font-weight: 600; }
.creds span { color: var(--muted); font-size: .94rem; }
@media (max-width: 720px) { .creds { grid-template-columns: 1fr; } }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--nightfall); }
.timeline li { position: relative; padding: 0 0 28px 26px; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 2px solid var(--jacaranda); }
.timeline strong { font-weight: 600; font-size: 1.02rem; display: block; }

/* Topics (speaking) */
.topics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.topic { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 26px; }
.topic p { margin: 0; color: var(--muted); }
@media (max-width: 820px) { .topics { grid-template-columns: 1fr; } }

/* Case study */
.case { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 36px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; }
.case .big-number { font-size: clamp(4rem, 9vw, 6.5rem); }
@media (max-width: 820px) { .case { grid-template-columns: 1fr; padding: 26px; gap: 20px; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.contact-list { list-style: none; padding: 0; margin: 24px 0; }
.contact-list li { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.contact-list span { display: block; font-size: .85rem; color: var(--muted); }
form .field { margin-bottom: 18px; }
form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
form input, form select, form textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid #C4CAD0; border-radius: var(--radius); background: #fff; color: var(--ink); }
form textarea { min-height: 150px; resize: vertical; }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { form .row { grid-template-columns: 1fr; } }
.hidden { position: absolute; left: -9999px; }

.cta-band h2 { max-width: 20ch; }
.cta-band .actions { margin-top: 26px; }

/* Footer */
.site-footer { background: var(--ink); color: #B9C0CC; padding: 56px 0 36px; font-size: .94rem; }
.site-footer a { color: #E2E6EC; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer-grid .brand { color: #fff; font-size: 1.35rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-base { border-top: 1px solid #343C4E; margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Photography */
.hero-portrait img { object-position: center 18%; }
.split img.seated { object-position: center 30%; }
.book-desk { border-radius: var(--radius); width: 100%; max-width: 300px; aspect-ratio: 2 / 3; object-fit: cover; box-shadow: 0 24px 50px rgba(0,0,0,.35); }
@media (max-width: 820px) { .book-desk { max-width: 260px; } }
.big-number small { font-weight: 400; letter-spacing: 0; }

/* ===== Colour layer — palette from the Thriving Culture cover ===== */
:root {
  --navy: #2F4058;
  --sky: #84AFD3;
  --sky-soft: #E4EFF8;
  --coral: #D9604E;
  --coral-dark: #BF4A39;
  --sun: #F6CB6B;
  --sun-soft: #FDF4DE;
  --deep: var(--navy);
  --blu: #2E7CA8;
}

/* Buttons */
.btn-primary { background: var(--coral-dark); }
.btn-primary:hover { background: #A63E2F; }
.nav .btn { background: var(--coral-dark); }

/* Hero: target rings behind the portrait */
.hero { background: linear-gradient(180deg, var(--paper) 0%, var(--sky-soft) 100%); }
.hero-portrait { isolation: isolate; }
.hero-portrait::before {
  content: ""; position: absolute; z-index: -1; width: 78%; aspect-ratio: 1; right: -14%; top: -8%; border-radius: 50%;
  background: radial-gradient(circle closest-side, var(--sun) 0 14%, var(--coral) 14% 28%, var(--sky) 28% 44%, #FBF3E6 44% 58%, var(--sky) 58% 74%, var(--navy) 74% 100%);
  opacity: .9;
}
.hero-portrait img { position: relative; box-shadow: 0 20px 40px rgba(47,64,88,.18); }
@media (max-width: 900px) { .hero-portrait::before { width: 60%; right: -8%; top: -6%; } }
.waterline { background: var(--navy); height: 2px; }
.below { color: var(--coral-dark); }
.brand span { color: var(--coral-dark); }

/* Proof */
.proof { background: var(--sun-soft); border-color: transparent; }
.big-number { color: var(--coral-dark); }
.proof-facts li::before { background: var(--coral); }

/* Clients */
.clients { background: var(--navy); }
.clients p { color: #C9D6E6; }
.clients strong { color: #fff; }

/* Areas: each area owns a colour */
.area { border: 0; box-shadow: 0 1px 0 rgba(47,64,88,.08), 0 10px 30px rgba(47,64,88,.06); overflow: hidden; }
.area h3 { border-top: 6px solid var(--a, var(--sky)); padding-top: 22px; }
.area:nth-child(1) { --a: var(--sky); --a-soft: var(--sky-soft); }
.area:nth-child(2) { --a: var(--coral); --a-soft: #FBE7E3; }
.area:nth-child(3) { --a: var(--sun); --a-soft: var(--sun-soft); }
.area .drive { background: var(--a-soft); border-top-color: var(--a); border-top-width: 2px; }
.area .drive b { color: var(--navy); font-weight: 600; }

/* Frameworks list markers */
.frameworks li { border-bottom-color: var(--rule); position: relative; padding-left: 22px; }
.frameworks li::before { content: ""; position: absolute; left: 0; top: 23px; width: 10px; height: 10px; border-radius: 50%; border: 3px solid var(--coral); }
.frameworks li:nth-child(2)::before { border-color: var(--sky); }
.frameworks li:nth-child(3)::before { border-color: var(--sun); }
.frameworks li:nth-child(4)::before { border-color: var(--navy); }

/* Book band */
.endorse { border-left-color: var(--sun); }

/* Insights */
.post { border-top: 4px solid var(--sky); }
.posts .post:nth-child(2) { border-top-color: var(--coral); }
.posts .post:nth-child(3) { border-top-color: var(--sun); }
.post-list .post, .post-list .post:first-child { border-top: 1px solid var(--rule); }
.post-list .post .meta { color: var(--coral-dark); font-weight: 500; }
.article blockquote { border-left-color: var(--coral); background: var(--sun-soft); padding: 16px 22px; border-radius: 0 var(--radius) var(--radius) 0; }

/* Timeline + case study */
.timeline { border-left-color: var(--sky); }
.timeline li::before { border-color: var(--coral); }
.case { border: 0; background: var(--sun-soft); }

/* Speaking topics */
.topic { border: 0; border-left: 5px solid var(--sky); }
.topic:nth-child(2) { border-left-color: var(--coral); }
.topic:nth-child(3) { border-left-color: var(--sun); }
.topic:nth-child(4) { border-left-color: var(--navy); }

/* Call-to-action band in coral */
.cta-band { background: var(--coral-dark); color: #fff; }
.cta-band .muted { color: #FCE3DE; }
.cta-band .btn-light { color: var(--coral-dark); }
.cta-band .btn-ghost { border-color: #fff; color: #fff; }
.cta-band .btn-ghost:hover { background: #fff; color: var(--coral-dark); }

/* Page heads get a soft tint */
.page-head { background: linear-gradient(180deg, var(--paper), var(--sky-soft)); margin-bottom: 48px; padding-bottom: 56px; }
.site-footer { background: #22304A; }

/* Headshot framing: clean rectangle, no arch */
.hero { overflow-x: clip; }
.hero-portrait img { border-radius: 14px; }
.about-photo { border-radius: 14px; max-width: 400px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; }
.hero-portrait::before { width: 40%; right: auto; left: -14%; top: auto; bottom: 12%; z-index: 1; opacity: 1; box-shadow: 0 12px 30px rgba(47,64,88,.2); }
@media (max-width: 900px) { .hero-portrait::before { width: 34%; left: auto; right: -6%; bottom: 14%; } }
