/* ============================================
   Graham Raddings — grahamraddings.co.uk
   Shared Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:     #0b1829;
  --navy-mid: #132240;
  --blue:     #1a6fd4;
  --blue-lt:  #2e88f0;
  --orange:   #f4621a;
  --orange-lt:#ff7a35;
  --cream:    #f7f8fc;
  --mid:      #4a5a72;
  --light:    #e8edf5;
  --white:    #ffffff;
  --font:     'Space Grotesk', sans-serif;
  --radius:   6px;
  --max:      1160px;
  --transition: 0.22s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---- Layout ---- */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

section { padding: 80px 0; }

/* ---- Navigation ---- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.3px;
}

.nav-logo span { color: var(--orange); }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.72);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.2px;
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-links a.active { 
  color: var(--orange); 
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---- Hero ---- */
.hero {
  background: var(--navy);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(26,111,212,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(244,98,26,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 32px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 24px;
}

.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--orange);
}

.hero h1 {
  font-size: clamp(46px, 5.5vw, 80px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: normal;
  color: var(--blue-lt);
}

.hero-desc {
  font-size: 19px;
  color: rgba(255,255,255,0.68);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.65;
  font-weight: 400;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}

.tag {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.78);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 100px;
  letter-spacing: 0.2px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  letter-spacing: 0.1px;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--orange-lt);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(244,98,26,0.35);
}

.btn-secondary {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.18);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-1px);
}

/* Hero photo */
.hero-photo-wrap {
  position: relative;
}

.hero-photo-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
}

.hero-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--orange);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 14px 20px;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(244,98,26,0.4);
  line-height: 1.3;
}

.hero-badge strong { display: block; font-size: 18px; }

/* ---- Section Labels ---- */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 20px;
}

.section-sub {
  font-size: 17px;
  color: var(--mid);
  max-width: 600px;
  line-height: 1.65;
}

/* ---- About Section ---- */
.about-section { background: var(--cream); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-text p {
  color: var(--mid);
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.75;
}

.about-text p:last-child { margin-bottom: 0; }

.about-pillars {
  display: grid;
  gap: 20px;
}

.pillar {
  background: var(--white);
  border-radius: 10px;
  padding: 28px;
  border: 1px solid var(--light);
  transition: box-shadow var(--transition);
}

.pillar:hover {
  box-shadow: 0 8px 32px rgba(11,24,41,0.08);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  background: rgba(26,111,212,0.12);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 1px solid rgba(26,111,212,0.2);
  image-rendering: pixelated;
}

.pillar-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--blue);
  image-rendering: pixelated;
  shape-rendering: crispEdges;
}

.pillar h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.pillar p {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.6;
}

/* ---- Interests Bar ---- */
.interests-section { background: var(--navy); padding: 64px 0; }

.interests-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}

.interests-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  white-space: nowrap;
}

.interests-items {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.interest-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 10px 20px;
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  font-weight: 500;
}

.interest-chip .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

/* ---- Cards ---- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 56px;
}

.card {
  background: var(--white);
  border: 1px solid var(--light);
  border-radius: 12px;
  padding: 36px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover {
  box-shadow: 0 16px 48px rgba(11,24,41,0.1);
  transform: translateY(-2px);
}

.card:hover::before { opacity: 1; }

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(244,98,26,0.1);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid rgba(244,98,26,0.2);
  image-rendering: pixelated;
}

.card-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--orange);
  image-rendering: pixelated;
  shape-rendering: crispEdges;
}

.card h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
  color: var(--navy);
}

.card p {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.65;
}

/* ---- Timeline (Career page) ---- */
.timeline { position: relative; padding-left: 32px; }

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--light);
}

.timeline-item {
  position: relative;
  padding-bottom: 52px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -37px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--blue);
}

.timeline-period {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}

.timeline-item h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--navy);
  margin-bottom: 6px;
}

.timeline-item .sector {
  font-size: 14px;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 14px;
}

.timeline-item p {
  font-size: 16px;
  color: var(--mid);
  line-height: 1.7;
  max-width: 680px;
}

/* ---- Podcast Page ---- */
.podcast-hero {
  background: var(--navy);
  padding: 100px 0;
}

.podcast-hero-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

.podcast-logo {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #1a2a4a 0%, #0b1829 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
}

.podcast-logo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(26,111,212,0.3), transparent 60%);
}

.podcast-logo-text {
  position: relative;
  text-align: center;
  font-weight: 900;
  font-size: 22px;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.5px;
  padding: 24px;
}

.podcast-logo-text span { color: var(--orange); }

.podcast-listen {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 36px;
}

.listen-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 16px 20px;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
}

.listen-btn:hover {
  background: rgba(255,255,255,0.12);
  transform: translateX(4px);
}

.listen-btn .listen-icon { font-size: 22px; }

/* ---- Page Hero (sub pages) ---- */
.page-hero {
  background: var(--navy);
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 100% at 80% 50%, rgba(26,111,212,0.15) 0%, transparent 70%);
}

.page-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

.breadcrumb a {
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}

.breadcrumb a:hover { color: rgba(255,255,255,0.8); }

.breadcrumb .sep { color: rgba(255,255,255,0.2); }

.page-hero h1 {
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -1.5px;
  line-height: 1.08;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  line-height: 1.6;
}

/* ---- Stat Row ---- */
.stat-row {
  display: flex;
  gap: 0;
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.stat {
  flex: 1;
  padding: 36px;
  border-right: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

.stat:last-child { border-right: none; }

.stat-value {
  font-size: 40px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-value span { color: var(--orange); }

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 48px 0;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
}

.footer-brand span { color: var(--orange); }

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.footer-links a {
  color: rgba(255,255,255,0.45);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--white); }

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

/* ---- Divider ---- */
.divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  border-radius: 2px;
  margin: 20px 0 32px;
}

/* ---- Highlight box ---- */
.highlight-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: 16px;
  padding: 56px 64px;
  text-align: center;
  margin-top: 72px;
  position: relative;
  overflow: hidden;
}

.highlight-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(244,98,26,0.12), transparent 60%);
}

.highlight-box h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.8px;
  margin-bottom: 16px;
  position: relative;
}

.highlight-box p {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 32px;
  position: relative;
}

.highlight-box .btn { position: relative; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-eyebrow { justify-content: center; }
  .hero-tags { justify-content: center; }
  .hero-cta { justify-content: center; }
  .hero-desc { margin: 0 auto 40px; }

  .hero-photo-wrap { order: -1; max-width: 320px; margin: 0 auto; }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }

  .podcast-hero-inner { grid-template-columns: 1fr; gap: 48px; }

  .stat-row { flex-wrap: wrap; }
  .stat { min-width: 50%; border-bottom: 1px solid rgba(255,255,255,0.06); }

  .footer-inner { flex-direction: column; gap: 24px; text-align: center; }
  .footer-links { justify-content: center; }

  .nav-links { display: none; flex-direction: column; gap: 0; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.open li a { padding: 14px 32px; display: block; font-size: 16px; }
  .nav-toggle { display: flex; }

  .interests-inner { flex-direction: column; align-items: flex-start; gap: 20px; }

  .highlight-box { padding: 40px 24px; }

  section { padding: 60px 0; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .hero-inner { padding: 60px 20px; }
  .stat { min-width: 100%; }
}
