/* ==========================================================================
   Conversations w/ Aidan Edwards — cwapod.com
   Hand-written CSS. No frameworks, no external requests, no tracking.
   ========================================================================== */

:root{
  /* Palette sampled from the CWApod logo: charcoal #191919, white, orange #C85A28.
     --accent is a lightened tint of the brand orange so link text clears
     WCAG AA (7.2:1) on the dark background; --accent-2 is the true brand orange. */
  --bg:#0A0A0A;
  --bg-2:#101010;
  --surface:#161616;
  --surface-2:#1D1D1D;
  --line:#2C2C2C;
  --line-soft:#202020;
  --text:#F4F4F4;
  --muted:#A0A0A0;
  --muted-2:#8A8A8A;
  --accent:#E88044;
  --accent-2:#C85A28;
  --accent-ink:#140A04;
  --radius:14px;
  --radius-lg:20px;
  --maxw:1080px;
  --font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif;
  --font-display:"Helvetica Neue",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}

*,*::before,*::after{box-sizing:border-box}

html{
  -webkit-text-size-adjust:100%;
  scroll-behavior:smooth;
  scroll-padding-top:86px;
}

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font);
  font-size:17px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
}

img{max-width:100%;height:auto;display:block}

a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}

:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:3px;
  border-radius:6px;
}

.skip-link{
  position:absolute;left:-9999px;top:0;
  background:var(--accent);color:var(--accent-ink);
  padding:12px 20px;font-weight:700;z-index:999;border-radius:0 0 10px 0;
}
.skip-link:focus{left:0}

.wrap{
  width:100%;
  max-width:var(--maxw);
  margin:0 auto;
  padding:0 22px;
}

/* ---------- Header ---------------------------------------------------- */

.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(10,10,10,.84);
  backdrop-filter:saturate(150%) blur(14px);
  -webkit-backdrop-filter:saturate(150%) blur(14px);
  border-bottom:1px solid var(--line-soft);
}

.site-header .wrap{
  display:flex;align-items:center;justify-content:space-between;
  gap:18px;min-height:66px;
}

.brand{
  display:inline-flex;align-items:center;gap:11px;
  color:var(--text);font-weight:750;letter-spacing:-.02em;
  font-size:1.02rem;text-decoration:none;flex:0 0 auto;
}
.brand:hover{text-decoration:none}

/* The real CWApod logo mark, cropped from the uploaded artwork. */
.monogram{
  width:34px;height:34px;border-radius:9px;flex:0 0 auto;
  display:block;object-fit:cover;
  border:1px solid var(--line);
}

.brand-text{white-space:nowrap}
.brand-text{line-height:1.18}
.brand-text .sub{
  display:block;font-size:.63rem;font-weight:700;letter-spacing:.17em;
  text-transform:uppercase;color:var(--accent);margin-bottom:1px;
}

.nav{
  display:flex;align-items:center;gap:4px;
  flex-wrap:wrap;justify-content:flex-end;
}
.nav a{
  color:var(--muted);font-size:.88rem;font-weight:600;
  padding:8px 11px;border-radius:9px;letter-spacing:-.01em;
}
.nav a:hover{color:var(--text);background:var(--surface-2);text-decoration:none}

/* ---------- Buttons ---------------------------------------------------- */

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  padding:13px 22px;border-radius:11px;
  font-weight:700;font-size:.95rem;letter-spacing:-.01em;
  border:1px solid transparent;cursor:pointer;
  transition:transform .14s ease,background .14s ease,border-color .14s ease;
}
.btn:hover{text-decoration:none;transform:translateY(-1px)}
.btn svg{width:17px;height:17px;fill:currentColor;flex:0 0 auto}

/* Hero platform row: four buttons. Wraps naturally on desktop,
   stacks full-width on mobile (see the 720px block below). */
.btn-row--platforms{max-width:620px}
.btn-row--platforms .btn{flex:0 1 auto}
/* The lead button (YouTube) is deliberately heavier than the other three. */
.btn-row--platforms .btn-primary{padding:15px 26px;font-size:1rem}

.btn-primary{
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
  color:var(--accent-ink);
  box-shadow:0 8px 26px -10px rgba(200,90,40,.85);
}
.btn-primary:hover{filter:brightness(1.06);box-shadow:0 10px 30px -10px rgba(200,90,40,.95)}

.btn-ghost{
  background:var(--surface);color:var(--text);border-color:var(--line);
}
.btn-ghost:hover{background:var(--surface-2);border-color:#3A3A3A}

.btn-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.btn-row--center{justify-content:center}

/* ---------- Hero ------------------------------------------------------- */

.hero{
  position:relative;
  padding:78px 0 64px;
  border-bottom:1px solid var(--line-soft);
  overflow:hidden;
}
.hero::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:
    radial-gradient(760px 380px at 12% -8%, rgba(232,128,68,.13), transparent 62%),
    radial-gradient(620px 340px at 92% 8%, rgba(200,90,40,.11), transparent 62%);
}
.hero .wrap{position:relative}

.hero-grid{
  display:grid;grid-template-columns:1.35fr .8fr;
  gap:56px;align-items:center;
}

.eyebrow{
  display:inline-flex;align-items:center;gap:9px;
  font-size:.72rem;font-weight:700;letter-spacing:.15em;text-transform:uppercase;
  color:var(--accent);
  background:rgba(232,128,68,.09);
  border:1px solid rgba(232,128,68,.26);
  padding:6px 13px;border-radius:100px;
}
.dot{
  width:6px;height:6px;border-radius:50%;
  background:var(--accent);flex:0 0 auto;
}

h1{
  font-family:var(--font-display);
  font-size:clamp(2.35rem,5.6vw,3.9rem);
  line-height:1.03;letter-spacing:-.035em;font-weight:800;
  margin:22px 0 0;
}
h1 .amp{
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;color:var(--accent);
}

.lede{
  font-size:1.13rem;color:var(--muted);
  margin:22px 0 0;max-width:56ch;line-height:1.62;
}

.credentials{
  display:flex;flex-wrap:wrap;gap:8px;margin-top:24px;
  list-style:none;padding:0;
}
.credentials li{
  font-size:.8rem;font-weight:600;color:var(--muted);
  background:var(--surface);border:1px solid var(--line);
  padding:6px 13px;border-radius:100px;
}

.hero-art{position:relative}
.cover{
  border-radius:var(--radius-lg);
  border:1px solid var(--line);
  background:linear-gradient(150deg,var(--surface-2),var(--surface));
  aspect-ratio:1/1;width:100%;
  box-shadow:0 26px 70px -22px rgba(0,0,0,.85);
  overflow:hidden;
  display:grid;place-items:stretch;
  text-align:center;
}
.cover img{width:100%;height:100%;object-fit:cover;border-radius:0}
.cover-fallback{
  font-family:var(--font-display);
  font-size:clamp(1.5rem,3.4vw,2.1rem);line-height:1.1;
  letter-spacing:-.03em;font-weight:800;color:var(--text);
}
.cover-fallback span{
  display:block;font-size:.68rem;letter-spacing:.2em;font-weight:700;
  text-transform:uppercase;color:var(--accent);margin-bottom:14px;
}

/* ---------- Sections --------------------------------------------------- */

section{padding:76px 0;border-bottom:1px solid var(--line-soft)}
section:last-of-type{border-bottom:0}

.section-head{max-width:62ch;margin-bottom:38px}

h2{
  font-family:var(--font-display);
  font-size:clamp(1.7rem,3.4vw,2.35rem);
  line-height:1.12;letter-spacing:-.028em;font-weight:800;margin:0;
}
h3{
  font-size:1.06rem;font-weight:750;letter-spacing:-.015em;
  margin:0;line-height:1.35;
}

.section-head p{color:var(--muted);margin:14px 0 0;font-size:1.04rem}

.kicker{
  font-size:.72rem;font-weight:700;letter-spacing:.16em;
  text-transform:uppercase;color:var(--accent);margin:0 0 12px;
}

/* Single headline figure. Deliberately one number, not a dashboard. */
.stat{
  display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;
  margin:26px 0 0;padding-top:22px;
  border-top:1px solid var(--line);
  color:var(--muted);font-size:1rem;
}
.stat-num{
  font-family:var(--font-display);
  font-size:clamp(1.9rem,4vw,2.5rem);line-height:1;
  font-weight:800;letter-spacing:-.03em;
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;color:var(--accent);
}

.alt{background:var(--bg-2)}

/* ---------- Featured episode ------------------------------------------ */

.featured{
  display:grid;grid-template-columns:1.15fr 1fr;gap:40px;align-items:center;
  background:var(--surface);border:1px solid var(--line);
  border-radius:var(--radius-lg);padding:34px;
}
.featured h3{font-size:1.5rem;letter-spacing:-.025em;line-height:1.22}
.featured p{color:var(--muted);margin:14px 0 0}

.player{
  border-radius:var(--radius);overflow:hidden;
  border:1px solid var(--line);background:var(--surface-2);
  min-height:152px;
}
.player iframe{display:block;width:100%;border:0}

.meta{
  display:flex;flex-wrap:wrap;gap:8px 16px;
  font-size:.8rem;color:var(--muted-2);font-weight:600;
  letter-spacing:.02em;margin-bottom:14px;
}
.meta .tag{color:var(--accent)}

/* ---------- Episode list ----------------------------------------------- */

.episodes{list-style:none;margin:0;padding:0;display:grid;gap:14px}

.episode{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:24px 26px;
  transition:border-color .16s ease,background .16s ease,transform .16s ease;
}
.episode:hover{border-color:#3A3A3A;background:var(--surface-2);transform:translateY(-2px)}
.episode h3 a{color:var(--text)}
.episode h3 a:hover{color:var(--accent);text-decoration:none}
.episode p{color:var(--muted);margin:11px 0 0;font-size:.97rem;max-width:78ch}

.ep-top{
  display:flex;justify-content:space-between;align-items:baseline;
  gap:20px;flex-wrap:wrap;margin-bottom:8px;
}
.ep-date{
  font-size:.76rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase;
  color:var(--muted-2);white-space:nowrap;
}
.ep-num{
  font-size:.76rem;font-weight:800;color:var(--accent);
  letter-spacing:.09em;text-transform:uppercase;
}
.listen-link{
  display:inline-flex;align-items:center;gap:6px;
  font-size:.86rem;font-weight:700;margin-top:14px;
  max-width:100%;
}
.listen-link::after{content:"\2192";transition:transform .14s ease}
.episode:hover .listen-link::after{transform:translateX(3px)}

/* ---------- Cards grid ------------------------------------------------- */

.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
.cards--4{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:1040px){.cards--4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.cards--4{grid-template-columns:1fr}}

.card{
  background:var(--surface);border:1px solid var(--line);
  border-radius:var(--radius);padding:28px;
  display:flex;flex-direction:column;
  transition:border-color .16s ease,transform .16s ease,background .16s ease;
}
.card:hover{border-color:#3A3A3A;background:var(--surface-2);transform:translateY(-2px)}
.card p{color:var(--muted);margin:11px 0 0;font-size:.95rem;flex:1}
.card .listen-link{margin-top:18px}

.card-icon{
  width:40px;height:40px;border-radius:11px;margin-bottom:16px;
  display:grid;place-items:center;
  background:var(--surface-2);border:1px solid var(--line);
  color:var(--accent);
}
.card:hover .card-icon{background:var(--surface)}
.card-icon svg{width:20px;height:20px;fill:currentColor}

/* ---------- About ------------------------------------------------------ */

.about-grid{
  display:grid;grid-template-columns:.62fr 1fr;gap:52px;align-items:start;
}
.portrait{
  border-radius:var(--radius-lg);border:1px solid var(--line);
  overflow:hidden;aspect-ratio:1/1;
  background:linear-gradient(150deg,var(--surface-2),var(--surface));
  display:grid;place-items:stretch;
  box-shadow:0 22px 60px -26px rgba(0,0,0,.8);
}
.portrait img{width:100%;height:100%;object-fit:cover}
.portrait .initials{
  font-family:var(--font-display);font-size:3.2rem;font-weight:800;
  letter-spacing:-.04em;color:var(--muted-2);
}
.prose--lead{margin-top:20px}
.prose p{color:var(--muted);margin:0 0 17px;max-width:66ch}
.prose p:last-child{margin-bottom:0}
.prose strong{color:var(--text);font-weight:700}

/* ---------- Support ---------------------------------------------------- */

.panel{
  background:linear-gradient(150deg,rgba(232,128,68,.08),rgba(200,90,40,.05));
  border:1px solid rgba(232,128,68,.22);
  border-radius:var(--radius-lg);padding:44px;
}
.panel h2{margin-bottom:0}
.panel p{color:var(--muted);margin:16px 0 0;max-width:60ch}

/* ---------- Footer ----------------------------------------------------- */

.site-footer{
  padding:56px 0 40px;background:var(--bg-2);
  border-top:1px solid var(--line-soft);
}
.footer-top{
  display:flex;justify-content:space-between;gap:32px;flex-wrap:wrap;
  padding-bottom:30px;border-bottom:1px solid var(--line-soft);
}
.footer-links{
  display:flex;flex-wrap:wrap;gap:8px 22px;list-style:none;margin:0;padding:0;
}
.footer-links a{color:var(--muted);font-size:.9rem;font-weight:600}
.footer-links a:hover{color:var(--text)}

.social{display:flex;gap:9px;list-style:none;margin:18px 0 0;padding:0}
.social a{
  width:38px;height:38px;border-radius:10px;
  display:grid;place-items:center;
  background:var(--surface);border:1px solid var(--line);color:var(--muted);
  transition:color .14s ease,border-color .14s ease,background .14s ease;
}
.social a:hover{color:var(--accent);border-color:rgba(232,128,68,.42);background:var(--surface-2)}
.social svg{width:17px;height:17px;fill:currentColor}

.legal{margin-top:28px}
.legal p{
  color:var(--muted-2);font-size:.82rem;line-height:1.65;
  margin:0 0 10px;max-width:78ch;
}
.legal p:last-child{margin-bottom:0}

/* ---------- Long-form pages (privacy, 404) ----------------------------- */

.page{padding:64px 0 84px}
.page .wrap{max-width:760px}
.page h1{font-size:clamp(1.9rem,4vw,2.6rem);margin:0 0 8px}
.page h2{font-size:1.24rem;margin:38px 0 12px}
.page p,.page li{color:var(--muted);font-size:1rem}
.page ul{padding-left:20px}
.page li{margin-bottom:8px}
.updated{color:var(--muted-2);font-size:.86rem;margin:0 0 32px}
.center{text-align:center}

/* ---------- Responsive -------------------------------------------------- */

@media (max-width:900px){
  .hero-grid{grid-template-columns:1fr;gap:44px}
  .hero-art{max-width:330px}
  .featured{grid-template-columns:1fr;gap:28px;padding:28px}
  .about-grid{grid-template-columns:1fr;gap:34px}
  .portrait{max-width:290px}
}

@media (max-width:720px){
  body{font-size:16px}
  .hero{padding:54px 0 48px}
  section{padding:58px 0}
  .site-header .wrap{flex-direction:column;align-items:flex-start;gap:2px;padding-top:12px;padding-bottom:10px}
  .nav{justify-content:flex-start;margin-left:-11px;width:100%;overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px;scrollbar-width:none}
  .nav::-webkit-scrollbar{display:none}
  .nav a{white-space:nowrap}
  html{scroll-padding-top:130px}
  .panel{padding:30px 24px}
  .episode{padding:20px}
  .btn{width:100%}
  .btn-row{gap:10px}
  .btn-row--platforms .btn{flex:1 1 100%}
  .footer-top{flex-direction:column;gap:24px}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}
  .btn:hover,.card:hover,.episode:hover{transform:none}
}

@media print{
  .site-header,.social,.btn-row{display:none}
  body{background:#fff;color:#000}
}
