/* Foxtopus Ink — the hub for Scott Carney + Laura Krantz's books, podcasts and shop.
   Same newsroom bones as scottcarney.com (Anton / Source Serif / IBM Plex). Light page,
   dark navy ink, built around the exact "flat UI" palette supplied: midnight blue, wet
   asphalt, green sea, orange, off-white. */
:root {
  --ink: #2c3e50;
  --slate: #34495e;
  --paper: #f7f9f9;
  --card: #ffffff;
  --fox: #f39c12;
  --fox-dark: #d4860a;
  --teal: #16a085;
  --aqua: #7cd8d7;
  --teal-dark: #118f76;
  --deep: #2c3e50;
  --muted: #34495e;
  --rule: rgba(44, 62, 80, .16);
  --wash: #eef2f3;
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --ui: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--paper); color: var(--ink); }
body { font-family: var(--body); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--fox); outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }

/* Masthead */
.top { border-bottom: 3px solid var(--ink); background: var(--card); position: sticky; top: 0; z-index: 10; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0; flex-wrap: wrap; }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; line-height: 1; }
.mark img { width: 38px; height: 38px; }
.mark .word { font-family: var(--display); font-size: 26px; letter-spacing: .02em; color: var(--ink); }
.mark .word span { color: var(--fox); }
.nav { display: flex; gap: 22px; flex-wrap: wrap; font-family: var(--ui); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.nav a { text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; color: var(--ink); }
.nav a:hover { border-color: var(--fox); }
.nav .cta { color: #fff; background: var(--fox); padding: 6px 12px; border: 0; }
.nav .cta:hover { background: var(--fox-dark); }

/* Hero */
.hero { padding: 56px 0 48px; border-bottom: 1px solid var(--rule); }
.hero .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.kicker { font-family: var(--ui); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fox-dark); margin: 0 0 14px; }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(42px, 6.2vw, 80px); line-height: 1.08; text-transform: uppercase; color: var(--ink); }
.hero h1 mark { display: inline-block; background: var(--fox); color: #fff; padding: .04em .18em; line-height: 1.15; }
.hero p.lede { font-size: 21px; max-width: 36em; margin: 22px 0 28px; color: var(--muted); }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { font-family: var(--ui); font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; padding: 14px 20px; border: 2px solid var(--ink); display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.btn.solid { background: var(--fox); border-color: var(--fox); color: #fff; }
.btn.solid:hover { background: var(--fox-dark); border-color: var(--fox-dark); }
.btn:not(.solid):hover { background: var(--ink); color: #fff; }
.stats { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--rule); font-family: var(--ui); }
.stats b { display: block; font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink); }
.stats span { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

/* fox•to•pus definition box */
.defbox { position: relative; background: var(--ink); border: 2px solid var(--fox); padding: 28px 30px 30px; box-shadow: 16px 16px 0 var(--fox); margin: 0 16px 16px 0; }
.defhead { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.defbox .word { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.defbox .word b { font-family: var(--display); font-size: 32px; text-transform: lowercase; letter-spacing: .01em; color: #fff; }
.defbox .pos { font-family: var(--ui); font-style: italic; font-size: 14px; color: #a9b2ba; }
.defbox .ipa { font-family: var(--mono); font-size: 14px; color: #a9b2ba; margin: 6px 0 0; }
.defbox p.def { font-family: var(--ui); font-size: 16px; line-height: 1.5; margin: 18px 0 0; color: #d2d7db; }
.defbox img.icon { width: 124px; height: 124px; flex: none; margin-top: -6px; }

/* Sections */
section.block { padding: 56px 0; border-bottom: 1px solid var(--rule); }
.head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.head h2 { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 4.2vw, 50px); line-height: 1.15; text-transform: uppercase; color: var(--ink); }
.head h2 em { font-style: normal; display: inline-block; background: var(--fox); color: #fff; padding: .02em .14em; line-height: 1.15; }
.head h2 a, .head h2 a:link, .head h2 a:visited, .head h2 a:hover, .head h2 a:active { text-decoration: none; color: inherit; font-family: inherit; font-size: inherit; font-weight: inherit; letter-spacing: inherit; text-transform: inherit; line-height: inherit; }
.head h2 a:hover em { background: var(--fox-dark); }
.head p { font-family: var(--ui); font-size: 16px; color: var(--muted); max-width: 46em; margin: 10px 0 0; }
.head a { font-family: var(--ui); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); text-decoration: none; }
.head a:hover { color: var(--fox-dark); }

/* Team */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.person { display: grid; grid-template-columns: 160px 1fr; gap: 22px; background: var(--card); border: 1px solid var(--rule); padding: 24px; box-shadow: 0 10px 24px rgba(44,62,80,.12); }
.person .ph { position: relative; isolation: isolate; }
.person .ph::before { content: ""; position: absolute; inset: 10px -10px -10px 10px; background: var(--fox); z-index: -1; }
.person.alt .ph::before { background: var(--teal); }
.person .ph img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.person h3 { font-family: var(--display); font-weight: 400; font-size: 26px; text-transform: uppercase; color: var(--ink); }
.person .role { font-family: var(--ui); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--teal-dark); margin: 4px 0 12px; }
.person.alt .role { color: var(--fox-dark); }
.person p.bio { font-size: 16px; line-height: 1.5; margin: 0 0 14px; color: var(--muted); }
.person .links { display: flex; gap: 16px; flex-wrap: wrap; font-family: var(--ui); font-size: 14px; font-weight: 600; }
.person .links a { text-decoration: none; color: var(--ink); border-bottom: 2px solid var(--fox); }
.person .links a:hover { color: var(--fox-dark); }
.person.host { max-width: 640px; }
.ph.mono { aspect-ratio: 3/4; display: grid; place-items: center; background: linear-gradient(145deg, var(--slate), var(--ink)); }
.ph.mono span { font-family: var(--display); font-size: 46px; letter-spacing: .02em; color: #fff; }

/* Podcasts */
.pods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pairgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.pairgrid .pod { max-width: 420px; }
.pod { text-decoration: none; display: grid; gap: 14px; color: inherit; }
.pod .art { aspect-ratio: 1; overflow: hidden; background: var(--card); display: grid; place-items: center; border: 1px solid var(--rule); text-decoration: none; }
.pod .art img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.pod:hover .art img { transform: scale(1.03); }
.pod .art.ph { background: linear-gradient(145deg, var(--slate), var(--ink)); border: 0; }
.pod .art.ph span { font-family: var(--display); font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: #cdd6dc; text-align: center; padding: 0 16px; }
.pod .tag { font-family: var(--ui); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--teal-dark); }
.pod h3 { font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.05; text-transform: uppercase; color: var(--ink); }
.pod p { margin: 0; font-size: 15px; color: var(--muted); }
.pod .go { font-family: var(--ui); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); }
.pod:hover h3 { color: var(--fox-dark); }

/* Books */
.books { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.books.nine { grid-template-columns: repeat(5, 1fr); }
.book { text-decoration: none; display: grid; gap: 10px; align-content: start; min-width: 0; color: inherit; }
.book img { width: 100%; aspect-ratio: 264/400; object-fit: cover; box-shadow: 0 10px 22px rgba(44,62,80,.2); transition: transform .2s, box-shadow .2s; }
.book:hover img { box-shadow: 0 14px 28px rgba(44,62,80,.28); }
.book:hover img { transform: translateY(-4px); }
.book strong { font-family: var(--ui); font-size: 15px; line-height: 1.25; color: var(--ink); }
.book span { font-family: var(--ui); font-size: 13px; color: var(--muted); }
.book .by { color: var(--teal-dark); font-weight: 600; }

/* Newsletter / cross-promo */
.letter { background: var(--wash); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.letter .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.letter .site { display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: var(--card); border: 1px solid var(--rule); box-shadow: 0 6px 16px rgba(44,62,80,.08); }
.letter .site img { width: 46px; height: 46px; flex: none; }
.letter .site h3 { font-family: var(--display); font-weight: 400; font-size: 20px; text-transform: uppercase; color: var(--ink); }
.letter .site p { margin: 6px 0 10px; font-size: 15px; color: var(--muted); }
.letter .site a.go { font-family: var(--ui); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; color: var(--ink); border-bottom: 2px solid var(--fox); }

/* Shop */
.shop { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pimg { width: 100%; aspect-ratio: 1; object-fit: cover; background: #fff; }
.item { border: 1px solid var(--rule); background: var(--card); padding: 16px; display: grid; gap: 8px; font-family: var(--ui); min-width: 0; box-shadow: 0 6px 16px rgba(44,62,80,.08); }
.item strong { font-size: 15px; line-height: 1.3; color: var(--ink); }
.item .price { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 14px; }
.item a.buy { font: 700 13px var(--ui); text-transform: uppercase; letter-spacing: .06em; background: var(--fox); color: #fff; border: 2px solid var(--fox); padding: 9px; cursor: pointer; text-align: center; text-decoration: none; }
.item a.buy:hover { background: var(--fox-dark); border-color: var(--fox-dark); }
.item a.buy.ext { background: transparent; color: var(--teal-dark); border-color: var(--teal); }
.item a.buy.ext:hover { background: var(--teal); color: #fff; }
.shopgroup + .shopgroup { margin-top: 40px; }
.shopgroup h3 { font-family: var(--display); font-weight: 400; font-size: 22px; text-transform: uppercase; margin-bottom: 18px; border-top: 3px solid var(--ink); padding-top: 16px; color: var(--ink); }
.liveflag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--ui); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.liveflag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }

/* Tipline / contact */
.tips { background: var(--ink); color: #fff; border-bottom: 0; }
section.block.tips { padding: 34px 0 36px; }
.tips .kicker { color: var(--fox); opacity: 1; margin-bottom: 6px; }
.tipbox { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; margin-top: 16px; }
.tipbox p { margin-top: 0; color: #d4dade; }
.tips h2 { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.12; text-transform: uppercase; }
.tips h2 em { font-style: normal; display: inline-block; background: var(--fox); color: var(--ink); padding: .02em .14em; line-height: 1.15; }
.tips p { max-width: 34em; font-size: 18px; margin-bottom: 0; }
.channels { display: grid; gap: 10px; }
.ch { background: #fff; color: var(--ink); padding: 11px 16px; display: grid; gap: 1px; font-family: var(--ui); border-left: 6px solid var(--teal); }
.ch span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--fox-dark); }
.ch b { font-size: 18px; }
.ch small { font-size: 13px; color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 0; border-top: 3px solid var(--ink); max-width: 760px; }
.faq details { border-bottom: 1px solid var(--rule); padding: 18px 0; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--ui); font-weight: 700; font-size: 17px; cursor: pointer; list-style: none; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--fox); font-weight: 700; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details[open] summary { color: var(--fox-dark); }
.faq p { margin: 12px 0 0; font-family: var(--body); font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 62ch; }
.faq a { color: var(--fox-dark); }

.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 3px solid var(--ink); }
.ct { padding: 22px 22px 6px 0; font-family: var(--ui); }
.ct + .ct { padding-left: 22px; border-left: 1px solid var(--rule); }
.ct h3 { font-family: var(--display); font-weight: 400; font-size: 26px; text-transform: uppercase; color: var(--ink); }
.ct p { font-family: var(--body); font-size: 16px; color: var(--muted); }
.ct b { font-size: 17px; }

/* Footer */
footer { background: var(--ink); color: #c7ced4; padding: 44px 0 30px; font-family: var(--ui); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
footer .fmark { display: flex; align-items: center; gap: 10px; }
footer .fmark img { width: 30px; height: 30px; }
footer .fmark span { color: #fff; font-family: var(--display); font-size: 22px; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--fox); }
footer small { display: block; margin-top: 10px; color: #8696a3; }

/* Podcast detail pages */
.pod-hero { padding: 48px 0 44px; border-bottom: 1px solid var(--rule); background: var(--wash); }
.pod-hero .wrap { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: center; }
.pod-hero-art { aspect-ratio: 1; overflow: hidden; box-shadow: 14px 14px 0 var(--ink); }
.pod-hero-art img { width: 100%; height: 100%; object-fit: cover; }
.pod-hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 5.6vw, 66px); line-height: 1.05; text-transform: uppercase; color: var(--ink); }
.pod-hero h1 mark { display: inline-block; background: var(--fox); color: #fff; padding: .02em .16em; line-height: 1.12; }
.pod-hero .lede { font-family: var(--ui); font-size: 19px; max-width: 34em; margin: 18px 0 26px; color: var(--muted); }

.pullquote { font-family: var(--display); font-weight: 400; font-size: clamp(21px, 2.4vw, 28px); line-height: 1.35; text-transform: none; color: var(--ink); border-left: 6px solid var(--fox); padding: 2px 0 2px 24px; margin: 28px 0; }
.pullquote cite { display: block; margin-top: 10px; font-family: var(--ui); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-style: normal; }

.episodes { display: grid; gap: 0; border-top: 1px solid var(--rule); max-width: 820px; }
.ep { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.ep .epnum { font-family: var(--display); font-size: 26px; color: var(--fox); line-height: 1.15; }
.ep h3 { font-family: var(--ui); font-weight: 700; font-size: 17px; color: var(--ink); margin-bottom: 6px; }
.ep h3 a { color: inherit; text-decoration: none; border-bottom: 2px solid var(--fox); }
.ep h3 a:hover { color: var(--fox-dark); }
.ep h3 small { font-family: var(--mono); font-weight: 400; font-size: 13px; color: var(--muted); text-transform: none; margin-left: 10px; }
.ep p { margin: 0; font-size: 15px; color: var(--muted); }
.ep.bonus .epnum { color: var(--teal-dark); font-size: 13px; font-family: var(--ui); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }

.press { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.press blockquote { margin: 0; background: var(--card); border: 1px solid var(--rule); padding: 22px; box-shadow: 0 6px 16px rgba(44,62,80,.08); height: 100%; }
.press blockquote p { font-family: var(--body); font-style: italic; font-size: 17px; line-height: 1.4; margin: 0 0 12px; color: var(--ink); }
.press cite { font-family: var(--ui); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--fox-dark); font-style: normal; }
.press a.pq { text-decoration: none; display: block; }
.press a.pq blockquote { transition: border-color .15s, box-shadow .15s; }
.press a.pq:hover blockquote { border-color: var(--fox); box-shadow: 0 10px 22px rgba(44,62,80,.14); }
.press a.pq cite { display: inline-flex; align-items: center; gap: 6px; }
.press a.pq cite::after { content: "→"; color: var(--fox); }

/* Simple article page (privacy policy etc.) */
.article-head { padding: 54px 0 30px; border-bottom: 3px solid var(--ink); }
.article-head h1 { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 5vw, 60px); line-height: 1; text-transform: uppercase; color: var(--ink); }
.article { padding: 40px 0 64px; }
.prose { max-width: 70ch; font-size: 18px; line-height: 1.6; color: var(--muted); }
.prose h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 26px; line-height: 1.1; margin: 1.6em 0 .5em; color: var(--ink); }
.prose p { margin: 0 0 1.1em; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--fox); text-underline-offset: 2px; }

@media (max-width: 900px) {
  .hero .wrap, .letter .wrap, .team { grid-template-columns: 1fr; gap: 36px; }
  .pods, .pairgrid { grid-template-columns: 1fr; }
  .pairgrid .pod { max-width: none; }
  .books, .books.nine { grid-template-columns: repeat(3, 1fr); }
  .shop { grid-template-columns: repeat(2, 1fr); }
  .tipbox, .contact { grid-template-columns: 1fr; }
  .ct + .ct { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .person { grid-template-columns: 110px 1fr; }
  .pod-hero .wrap { grid-template-columns: 1fr; }
  .pod-hero-art { max-width: 320px; }
  .press { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  body { font-size: 17px; }
  .books, .books.nine { grid-template-columns: repeat(2, 1fr); }
  .shop { grid-template-columns: repeat(2, 1fr); }
  .nav { gap: 14px; font-size: 13px; }
  .person { grid-template-columns: 1fr; }
  .person .ph { max-width: 180px; }
  .press { grid-template-columns: 1fr; }
  .ep { grid-template-columns: 1fr; gap: 4px; }
  .ep .epnum { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
