/* Andrew Marcinko: site styles
   Colours: navy #1E2761, deep navy #141B45, ice #CADCFC, amber #E8A53D, paper #F3F6FC
   Fonts: Schibsted Grotesk (headings, labels, buttons), Newsreader (body). Both self-hosted, SIL OFL. */

@font-face { font-family: "Schibsted Grotesk"; src: url("fonts/schibsted-grotesk-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("fonts/schibsted-grotesk-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("fonts/schibsted-grotesk-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("fonts/schibsted-grotesk-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --navy: #1E2761;
  --deep: #141B45;
  --ice: #CADCFC;
  --amber: #E8A53D;
  --amber-hover: #F0B65A;
  --paper: #F3F6FC;
  --panel: #E3EBFC;
  --white: #FFFFFF;
  --ink: #2B3358;
  --muted: #4A5378;
  --rule: #CADCFC;
  --field: #6B7AA8;
  --display: "Schibsted Grotesk", "Helvetica Neue", sans-serif;
  --body: "Newsreader", Georgia, serif;
  --gutter: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 20px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--deep); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-family: var(--display); color: var(--navy); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }

.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; padding: 12px 16px; border-radius: 6px; background: var(--amber); color: var(--deep); font-family: var(--display); font-weight: 700; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: 104px; padding-bottom: 104px; }
.bg-white { background: var(--white); }
.bg-paper { background: var(--paper); }
.bg-navy { background: var(--navy); }
.bg-deep { background: var(--deep); }

.h2 { font-weight: 800; font-size: clamp(36px, 4.2vw, 56px); line-height: 1.04; letter-spacing: -0.02em; }
.lead { font-size: 21px; line-height: 1.55; }
.text-link { font-family: var(--display); font-weight: 600; font-size: 17px; }
.section-intro { max-width: 660px; display: flex; flex-direction: column; gap: 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border: 0; border-radius: 6px; font-family: var(--display); font-weight: 700; font-size: 17px; text-decoration: none; cursor: pointer; }
.btn-amber { background: var(--amber); color: var(--deep); }
.btn-amber:hover { background: var(--amber-hover); color: var(--deep); }
.btn-outline { border: 1.5px solid var(--ice); color: var(--paper); font-weight: 600; }
.btn-outline:hover { background: rgba(202, 220, 252, 0.12); color: var(--paper); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 16px; }

/* Social links */
.social-line { font-family: var(--display); font-size: 16px; line-height: 1.5; }
.social-line a { font-weight: 600; }
.on-dark .social-line { color: var(--ice); }
.on-dark .social-line a { color: var(--paper); }
.social-list { display: flex; flex-wrap: wrap; gap: 8px 24px; font-family: var(--display); font-size: 16px; }

/* Header and navigation */
.site-header { background: var(--navy); }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding-top: 28px; padding-bottom: 28px; }
.brand { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.01em; color: var(--paper); text-decoration: none; }
.brand:hover { color: var(--paper); }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; font-family: var(--display); font-weight: 500; font-size: 16px; }
.nav-links a { color: var(--ice); text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--paper); text-decoration: underline; }
.nav-links a.btn, .nav-links a.btn:hover { color: var(--deep); text-decoration: none; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px 64px; padding-top: 40px; padding-bottom: 104px; }
.hero-text { flex: 1 1 520px; display: flex; flex-direction: column; gap: 32px; }
.hero h1 { font-weight: 800; font-size: clamp(56px, 7.6vw, 108px); line-height: 0.94; letter-spacing: -0.035em; color: var(--paper); }
.hero-role { margin-top: 20px; max-width: 560px; font-family: var(--display); font-weight: 600; font-size: clamp(22px, 2.1vw, 28px); line-height: 1.3; color: var(--amber); }
.hero-intro { max-width: 560px; font-size: 22px; line-height: 1.5; color: var(--ice); }
.button-row { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-photo { flex: 0 1 420px; min-width: 260px; width: 420px; height: 650px; object-fit: cover; object-position: 50% 30%; border-radius: 12px; }

/* Highlights */
.highlights { display: flex; flex-wrap: wrap; gap: 32px 48px; padding-top: 52px; padding-bottom: 52px; }
.highlight { flex: 1 1 280px; display: flex; flex-direction: column; gap: 14px; }
.highlight::before { content: ""; width: 36px; height: 4px; background: var(--amber); }
.highlight p { font-family: var(--display); font-weight: 600; font-size: 19px; line-height: 1.4; color: var(--navy); }

/* About */
.about { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 56px 72px; padding-top: 64px; padding-bottom: 104px; }
.about-text { flex: 1 1 520px; max-width: 640px; display: flex; flex-direction: column; gap: 20px; }
.about-text p { font-size: 20px; line-height: 1.6; }
.about-photos { flex: 1 1 400px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; align-items: start; }
.about-photos figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.about-photos img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 30%; border-radius: 10px; }
.about-photos .wide { grid-column: span 2; }
.about-photos .wide img { aspect-ratio: 4 / 3; object-position: 50% 50%; }
figcaption { font-family: var(--display); font-size: 14px; color: var(--muted); }

/* Authenticity */
.split { display: flex; flex-wrap: wrap; gap: 56px 72px; }
.auth-text { flex: 1 1 380px; display: flex; flex-direction: column; gap: 24px; }
.domains { flex: 1 1 520px; display: flex; flex-direction: column; }
.domain { padding: 28px 0; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 8px; }
.domain:last-child { border-bottom: 1px solid var(--rule); }
.domain h3 { font-weight: 700; font-size: 26px; line-height: 1.2; }
.domain p { font-size: 20px; line-height: 1.5; }

.gauge-card { background: var(--navy); border-radius: 12px; padding: 32px 32px 28px; }
.gauge { position: relative; height: 112px; font-family: var(--display); }
.gauge > span { position: absolute; }
.g-label { left: 0; font-size: 15px; font-weight: 500; color: var(--ice); }
.g-say { top: 0; }
.g-do { top: 58px; }
.g-bar { left: 0; height: 12px; border-radius: 2px; background: var(--ice); }
.g-bar-say { top: 26px; width: 100%; }
.g-bar-do { top: 84px; width: 62%; }
.g-line { left: calc(62% + 10px); right: 0; top: 89px; height: 2px; background: var(--amber); }
.g-tick { top: 82px; width: 2px; height: 16px; background: var(--amber); }
.g-tick-l { left: calc(62% + 10px); }
.g-tick-r { right: 0; }
.g-gap { left: calc(62% + 10px); right: 0; top: 58px; text-align: center; font-size: 15px; font-weight: 600; color: var(--amber); }

/* Speaking */
.speaking { display: flex; flex-direction: column; gap: 40px; }
.speaking-intro { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 64px; }
.speaking-photo { flex: 1 1 520px; min-width: 280px; width: 600px; height: 440px; object-fit: cover; object-position: 50% 30%; border-radius: 12px; }
.speaking-photo.pos-right { object-position: 72% 40%; }
.speaking-text { flex: 1 1 380px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.keynote { background: var(--navy); border-radius: 12px; padding: clamp(32px, 4vw, 56px); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 48px; }
.keynote-main { flex: 1 1 520px; display: flex; flex-direction: column; gap: 16px; }
.keynote-label { font-family: var(--display); font-weight: 600; font-size: 16px; color: var(--amber); }
.keynote h3 { font-weight: 800; font-size: clamp(34px, 3.6vw, 48px); line-height: 1.05; letter-spacing: -0.02em; color: var(--paper); }
.keynote-desc { max-width: 640px; font-size: 21px; line-height: 1.5; color: var(--ice); }
.keynote-format { flex: 0 1 280px; font-family: var(--display); font-size: 16px; line-height: 1.5; color: var(--ice); }
.talks { display: flex; flex-wrap: wrap; gap: 24px; }
.talk { flex: 1 1 300px; background: var(--panel); border-radius: 12px; padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.talk h3 { font-weight: 700; font-size: 26px; line-height: 1.2; }
.talk p { font-size: 19px; line-height: 1.5; }
.talk .audience { margin-top: auto; padding-top: 8px; font-family: var(--display); font-size: 15px; line-height: 1.45; color: var(--muted); }
.proof { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 32px 56px; }
.proof img { flex: 1 1 480px; min-width: 280px; width: 560px; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.proof .proof-portrait { flex: 0 1 300px; min-width: 220px; width: 300px; aspect-ratio: 303 / 470; object-position: 50% 30%; }
.proof figure { flex: 1 1 360px; margin: 0; display: flex; flex-direction: column; gap: 14px; }
blockquote { margin: 0; font-style: italic; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.3; color: var(--navy); }
.proof figcaption { font-size: 16px; }

/* Writing lists */
.stack-40 { display: flex; flex-direction: column; gap: 40px; }
.item { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 32px; padding: 24px 0; border-top: 1px solid var(--rule); }
.item:last-child { border-bottom: 1px solid var(--rule); }
.item-type { flex: 0 0 110px; font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--muted); }
.item-title { flex: 1 1 420px; font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.3; color: var(--navy); text-decoration: none; }
a.item-title:hover { text-decoration: underline; }
.item-source { flex: 0 1 300px; font-size: 18px; line-height: 1.4; color: var(--muted); }

/* Newsletter */
.newsletter { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 40px 64px; padding-top: 88px; padding-bottom: 88px; }
.newsletter-text { flex: 1 1 480px; max-width: 620px; display: flex; flex-direction: column; gap: 16px; }
.newsletter h2 { font-weight: 800; font-size: clamp(32px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -0.02em; color: var(--paper); }
.newsletter-text p { font-size: 20px; line-height: 1.55; color: var(--ice); }
.newsletter-form { flex: 1 1 420px; display: flex; flex-direction: column; gap: 10px; }
.newsletter-form label { font-family: var(--display); font-weight: 600; font-size: 16px; color: var(--ice); }
.inline-field { display: flex; flex-wrap: wrap; gap: 12px; }
.newsletter-form input[type="email"] { flex: 1 1 240px; min-height: 52px; padding: 0 16px; border-radius: 6px; border: 1px solid #8C9BC9; background: var(--navy); color: var(--paper); font-family: var(--body); font-size: 18px; }
.newsletter-form input::placeholder { color: #AFC0E6; }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 48px 72px; }
.contact-text { flex: 1 1 340px; display: flex; flex-direction: column; gap: 20px; }
.contact-form { flex: 1 1 560px; display: flex; flex-wrap: wrap; gap: 20px 24px; }
.field { flex: 1 1 240px; display: flex; flex-direction: column; gap: 8px; }
.field-full { flex-basis: 100%; }
.field label { font-family: var(--display); font-weight: 600; font-size: 16px; color: var(--navy); }
.field input, .field select, .field textarea { min-height: 48px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--field); background: var(--paper); color: var(--navy); font-family: var(--body); font-size: 18px; }
.field textarea { padding: 12px 14px; line-height: 1.5; resize: vertical; }
.hidden { display: none; }
.form-note { font-family: var(--display); font-size: 14px; line-height: 1.5; color: var(--muted); }
.on-dark .form-note { color: var(--ice); }
.on-dark .form-note a { color: var(--paper); }

/* Footer */
.site-footer { background: var(--deep); color: var(--ice); }
.site-footer a { color: var(--ice); }
.footer-inner { display: flex; flex-direction: column; gap: 20px; padding-top: 48px; padding-bottom: 56px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-brand { font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--paper); }
.footer-note { font-family: var(--display); font-size: 15px; line-height: 1.5; }

/* Inner pages (Writing, posts, thank-you pages) */
.page-head { padding-top: 40px; padding-bottom: 88px; }
.page-head h1 { font-weight: 800; font-size: clamp(48px, 6vw, 80px); line-height: 0.98; letter-spacing: -0.03em; color: var(--paper); }
.page-head p { margin-top: 20px; max-width: 640px; font-size: 22px; line-height: 1.5; color: var(--ice); }
.subhead { font-weight: 800; font-size: clamp(28px, 3vw, 36px); line-height: 1.1; letter-spacing: -0.01em; }
.empty-state { padding: 28px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-size: 20px; }
.reference { padding: 24px 0; border-top: 1px solid var(--rule); font-size: 19px; line-height: 1.55; }
.reference:last-child { border-bottom: 1px solid var(--rule); }
.reference a { word-break: break-word; }

.post { padding-top: 72px; padding-bottom: 104px; }
.post-column { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 20px; font-family: var(--display); font-size: 15px; color: var(--muted); }
.post-title { font-weight: 800; font-size: clamp(38px, 5vw, 60px); line-height: 1.02; letter-spacing: -0.025em; }
.post-standfirst { font-size: 24px; line-height: 1.45; color: var(--ink); }
.post-image { width: 100%; height: auto; border-radius: 12px; }
.post-body { display: flex; flex-direction: column; gap: 22px; }
.post-body p, .post-body li { font-size: 21px; line-height: 1.65; }
.post-body h2 { margin-top: 16px; font-weight: 800; font-size: 30px; line-height: 1.15; letter-spacing: -0.01em; }
.post-body ul, .post-body ol { padding-left: 24px; display: flex; flex-direction: column; gap: 10px; }
.post-body ul { list-style: disc; }
.post-body blockquote { padding-left: 0; font-size: 28px; }
.post-author { margin-top: 24px; padding: 28px; border-radius: 12px; background: var(--panel); display: flex; flex-wrap: wrap; align-items: center; gap: 20px 24px; }
.post-author img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.post-author p { flex: 1 1 300px; font-size: 18px; line-height: 1.5; }
