:root {
  --ink: #161b2e;
  --ink-soft: #3d4357;
  --muted: #6b7083;
  --paper: #fbf9f5;
  --paper-alt: #f2eee6;
  --navy: #14213d;
  --navy-deep: #0e1830;
  --accent: #a3242b;
  --rule: #ddd6c8;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.1875rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 500; line-height: 1.15; margin: 0 0 .6em; letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
figure { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 249, 245, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-size: 1.45rem; font-weight: 500; text-decoration: none; letter-spacing: -0.01em; }
.nav { display: flex; gap: 28px; font-family: var(--sans); font-size: .82rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.nav a { text-decoration: none; color: var(--ink-soft); padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.nav a:hover { color: var(--ink); border-color: var(--accent); }
.nav-toggle { display: none; font: 500 .8rem var(--sans); letter-spacing: .08em; text-transform: uppercase; background: none; border: 1px solid var(--ink); padding: 8px 14px; cursor: pointer; color: var(--ink); }

/* Buttons & labels */
.btn {
  display: inline-block; font-family: var(--sans); font-size: .85rem; font-weight: 600; letter-spacing: .04em;
  text-decoration: none; padding: 13px 22px; border: 1px solid var(--navy); background: var(--navy); color: #fff;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost-light:hover { background: #fff; color: var(--navy); border-color: #fff; }

.section-label, .kicker {
  font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.1em;
}
.intro { font-size: 1.35rem; line-height: 1.5; color: var(--ink); }
.prose p { color: var(--ink-soft); }
.prose p.intro { color: var(--ink); }
.prose p.section-label { color: var(--accent); }
.note { font-family: var(--sans); font-size: .8rem; color: var(--muted); margin-top: 14px; }

/* Hero */
.hero { display: grid; grid-template-columns: 45fr 55fr; min-height: calc(100vh - 64px); max-height: 860px; background: var(--paper); }
.hero-text { display: flex; flex-direction: column; justify-content: center; padding: 60px clamp(24px, 5vw, 80px); }
.hero h1 { font-size: clamp(3.2rem, 7vw, 6rem); font-weight: 400; line-height: .95; letter-spacing: -0.03em; margin-bottom: .35em; }
.hero .lede { font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.45; color: var(--ink-soft); max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.hero-image { position: relative; overflow: hidden; }
.hero-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 45%; }

/* Section headings: section title (Journalism, Podcast, Book, Events) > subhead (The Times, BBC News…) > minor head (Recent tech columns, Latest episodes, Praise…) */
.section-head { text-align: center; margin-bottom: clamp(44px, 6vw, 72px); }
.section-title { font-size: clamp(2.8rem, 6vw, 4.4rem); font-weight: 400; letter-spacing: -0.025em; margin: 0; }
.section-title::after { content: ""; display: block; width: 56px; height: 3px; background: var(--accent); margin: 22px auto 0; }
.section-dark .section-title::after { background: #e9a8a3; }
.subhead { font-size: clamp(1.8rem, 3vw, 2.3rem); font-weight: 500; margin-bottom: .6em; }
.minor-head { font-size: 1.45rem; font-weight: 500; margin: 0 0 22px; }

/* Sections */
.section { padding: clamp(70px, 10vw, 130px) 0; }
.section-alt { background: var(--paper-alt); }
.section-dark { background: var(--navy); color: #f3f1ec; }
.section-dark .prose p { color: rgba(243, 241, 236, .82); }
.section-dark .prose p.intro { color: #fff; }
.section-dark .section-label, .section-dark .prose p.section-label { color: #e9a8a3; }

/* About */
.about { display: grid; grid-template-columns: minmax(260px, 400px) 1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.about-portrait { position: sticky; top: 100px; }
.about-portrait img { width: 100%; box-shadow: 18px 18px 0 var(--paper-alt); }
.about-portrait figcaption { margin-top: 30px; }
.about-text { max-width: 640px; }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.split .prose { max-width: 600px; }

/* Photo grid */
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.photo-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-grid figure:nth-child(4) img { object-position: 50% 30%; }
figcaption { font-family: var(--sans); font-size: .78rem; color: var(--muted); margin-top: 8px; line-height: 1.4; }

/* Columns */
.columns-head { margin-top: clamp(60px, 8vw, 90px); }
.more-link { margin: 32px 0 0; }
.columns { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
.columns li { border-bottom: 1px solid var(--rule); }
.columns a { display: block; padding: 22px 0 24px; text-decoration: none; height: 100%; }
.columns time { font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.columns h4 { font-size: 1.12rem; line-height: 1.3; margin: 8px 0 8px; transition: color .2s; }
.columns p { font-size: .95rem; color: var(--ink-soft); margin: 0; }
.columns a:hover h4 { color: var(--accent); }

/* BBC */
.bbc { margin-top: clamp(80px, 11vw, 130px); grid-template-columns: 1fr minmax(240px, 380px); }
.bbc-photo img { width: 100%; }

/* Book */
.book { display: grid; grid-template-columns: minmax(220px, 360px) 1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.book-cover img { width: 100%; box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.book-text { max-width: 640px; }
.book-title { font-size: clamp(2rem, 3.6vw, 2.7rem); }
.meta { font-family: var(--sans); font-size: .85rem; letter-spacing: .04em; color: rgba(243,241,236,.65) !important; }
.buy { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 24px; }
.buy-note { font-size: 1.05rem; font-style: italic; color: rgba(243,241,236,.85); }

.reviews { margin-top: clamp(70px, 10vw, 120px); }
.reviews-head { text-align: center; margin-bottom: 36px; }
blockquote { margin: 0; }
cite { display: block; font-style: normal; font-family: var(--sans); font-size: .8rem; letter-spacing: .03em; color: rgba(243,241,236,.65); margin-top: 10px; }
cite a { color: inherit; }
.press-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; padding: 36px 0; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.press-quotes p { font-size: 1.55rem; line-height: 1.3; font-style: italic; margin: 0; }
.feature-quote { max-width: 860px; margin: 60px auto; text-align: center; }
.feature-quote p { font-size: clamp(1.45rem, 2.6vw, 2rem); line-height: 1.35; margin: 0; }
.quotes { columns: 3 260px; column-gap: 40px; }
.quotes blockquote { break-inside: avoid; padding: 0 0 28px; margin-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.12); }
.quotes p { font-size: 1.15rem; line-height: 1.45; margin: 0; }

/* Podcast */
.podcast-photos { display: grid; gap: 18px; }
.podcast-photos img { width: 100%; }
.podcast-guest { max-width: 300px; }
.episodes-head { margin-top: clamp(60px, 8vw, 90px); }
.episodes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 28px; }
.episode a { display: block; text-decoration: none; }
.episode-thumb { display: block; position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #ddd; margin-bottom: 12px; }
.episode-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.episode-thumb::after {
  content: ""; position: absolute; left: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(20,33,61,.85) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 22px no-repeat;
  transition: background-color .2s;
}
.episode a:hover .episode-thumb img { transform: scale(1.04); }
.episode a:hover .episode-thumb::after { background-color: var(--accent); }
.episode-date { display: block; font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.episode-title { display: block; font-size: 1.2rem; line-height: 1.3; margin-top: 6px; }
.episode a:hover .episode-title { color: var(--accent); }

/* Speaking */
.topics { list-style: none; margin: 56px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; align-content: start; }
.topics li { font-family: var(--sans); font-size: .85rem; font-weight: 500; padding: 9px 16px; border: 1px solid var(--ink); border-radius: 999px; }
.gallery { margin-top: clamp(50px, 7vw, 80px); display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(180px, 22vw, 270px); grid-auto-flow: dense; gap: 14px; }
.gallery figure { position: relative; overflow: hidden; }
.gallery .wide { grid-column: span 2; }
.gallery .tall { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; transition: transform .5s; }
.gallery .tall img { object-position: 50% 25%; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 28px 14px 12px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.65)); }

/* Contact */
.contact { text-align: center; max-width: 760px; }
.contact .intro { color: rgba(243,241,236,.82); }
.contact-email { font-size: clamp(1.6rem, 4vw, 2.6rem); margin-top: 20px; }
.contact-email a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); transition: border-color .2s; }
.contact-email a:hover { border-color: #e9a8a3; }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(243,241,236,.6); font-family: var(--sans); font-size: .8rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 26px; padding-bottom: 26px; }
.footer-inner p { margin: 0; }
.footer-inner a { text-decoration: none; }
.footer-inner a:hover { color: #fff; }

/* Responsive */
@media (max-width: 1000px) {
  .columns, .episodes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--rule); padding: 8px clamp(20px, 4vw, 40px) 18px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .hero { grid-template-columns: 1fr; min-height: 0; max-height: none; }
  .hero-image { order: -1; aspect-ratio: 4 / 3; }
  .hero-image img { object-position: 70% 22%; }
  .hero-text { padding: 44px clamp(20px, 4vw, 40px) 56px; }
  .about, .split, .book, .bbc { grid-template-columns: 1fr; }
  .about-portrait { position: static; max-width: 380px; }
  .book-cover { max-width: 300px; }
  .bbc-photo { max-width: 380px; }
  .topics { margin-top: 0; }
  .press-quotes { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  body { font-size: 1.0625rem; }
  .columns, .episodes { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
