/* caseorganic.com v3 — jnd.org-style single-column layout */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #F5F5F3;
  --text:         #111111;
  --muted:        #555555;
  --faint:        #888888;
  --accent:       #C47A00;
  --accent-dark:  #8B5500;
  --rule:         #DEDEDE;
  --rule-light:   #ECECEA;
  --header-bg:    #111111;
  --header-text:  #FFFFFF;
  --header-muted: #999999;
  --serif:        'Spectral', Georgia, 'Times New Roman', serif;
  --sans:         system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w:        1060px;
}

html { font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
  color: var(--text); font-family: var(--sans); line-height: 1.6;
  background-color: #F8FAFC;
  background-image:
    linear-gradient(rgba(0,0,0,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.06) 1px, transparent 1px),
    linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 60px 60px, 60px 60px, 12px 12px, 12px 12px;
}

/* Global rounded corners on all images */
img { border-radius: 5px; }
.book-cover, .carousel-cover, .talk-thumb, .podcast-art,
.hero-photo, .book-page-cover, .featured-cover { border-radius: 5px; overflow: hidden; }

/* ── Container ─────────────────────────────────────────────────────────── */

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }

/* ── Header ─────────────────────────────────────────────────────────────── */

.site-header { background: var(--header-bg); border-bottom: 1px solid rgba(255,255,255,0.06); }

.site-header .inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; flex-wrap: wrap; gap: 10px 20px;
}

.site-title a {
  font-family: var(--serif); font-weight: 300; font-size: 1.25rem;
  letter-spacing: -0.01em; color: var(--header-text); text-decoration: none;
}
.site-title a:hover { color: white; }

.site-nav { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }

.site-nav a { font-size: 0.875rem; color: var(--header-muted); text-decoration: none; }
.site-nav a:hover { color: var(--header-text); }

/* ── Hero (light, quote-forward — jnd.org style) ────────────────────── */

.hero {
  background: var(--header-bg);
  padding: 52px 0 64px;
}

.hero-inner {
  display: grid; grid-template-columns: 1fr 260px; gap: 56px; align-items: center;
}

.hero-quote {
  font-family: var(--serif); font-weight: 300; font-size: 2.125rem;
  line-height: 1.22; color: var(--header-text); margin-bottom: 16px; quotes: none;
}

.hero-context {
  font-size: 0.9375rem; color: var(--header-muted); line-height: 1.65;
  margin-bottom: 22px; max-width: 50ch;
}

.hero-dots { display: flex; gap: 6px; flex-wrap: wrap; }

.hero-dot {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.08);
  cursor: pointer; font-size: 0.5625rem; color: var(--header-muted);
  display: flex; align-items: center; justify-content: center; padding: 0;
}
.hero-dot.active { background: var(--header-text); border-color: var(--header-text); color: var(--header-bg); }
.hero-dot:hover:not(.active) { border-color: var(--header-text); color: var(--header-text); }

.hero-photo img {
  display: block; width: 260px; height: 340px; object-fit: cover; object-position: top;
}

.hero-photo-placeholder {
  width: 260px; height: 340px; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
}
.ph-label { font-size: 0.75rem; color: rgba(255,255,255,0.25); text-align: center; line-height: 1.5; padding: 16px; }

/* ── Sections ─────────────────────────────────────────────────────────── */

.section-wrap { padding: 52px 0; }
.section-wrap-alt {
  padding: 52px 0;
  background-color: #EEECEA;
  background-image:
    linear-gradient(rgba(0,0,0,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.06) 1px, transparent 1px),
    linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 60px 60px, 60px 60px, 12px 12px, 12px 12px;
}

/* jnd.org-style section header: large serif title left, "View more" link right */
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 28px; padding-bottom: 14px; border-bottom: 1px solid var(--rule);
}

.section-title {
  font-family: var(--serif); font-size: 1.625rem; font-weight: 300; color: var(--text);
}

.view-more { font-size: 0.875rem; color: var(--accent); text-decoration: none; white-space: nowrap; font-weight: 500; }
.view-more:hover { color: var(--accent-dark); }

/* ── Talk cards (large 16:9 thumbnails, 2-col grid) ─────────────────── */

.talk-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }

.talk-card { display: flex; flex-direction: column; gap: 12px; }

a.talk-thumb {
  display: block; position: relative; aspect-ratio: 16/9;
  background: var(--rule-light); overflow: hidden; text-decoration: none;
}
a.talk-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.talk-thumb-placeholder {
  position: absolute; inset: 0;
  background: #E8EAED;
  display: flex; align-items: center; justify-content: center;
}
.talk-thumb-placeholder-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(0,0,0,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: rgba(0,0,0,0.3);
}

.talk-body { display: flex; flex-direction: column; gap: 5px; }
.talk-venue-year { font-size: 0.75rem; color: var(--faint); }
a.talk-card-title {
  font-family: var(--serif); font-size: 1.0625rem; font-weight: 400;
  color: var(--text); text-decoration: none; line-height: 1.4;
}
a.talk-card-title:hover { color: var(--accent); }
a.talk-card-title[target="_blank"]::after { content: "\00a0\2197"; font-size: 0.72em; color: var(--faint); }
.talk-card-desc { font-size: 0.8125rem; color: var(--muted); line-height: 1.5; }

/* ── Essay / Writing cards (3-col grid with type tag) ──────────────── */

.essay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.essay-card {
  background: white; border: 1px solid var(--rule);
  padding: 18px; display: flex; flex-direction: column; gap: 10px;
  box-shadow: 0 2px 10px rgba(20, 50, 100, 0.07);
}

.card-tag {
  display: inline-block; font-size: 0.5875rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 3px 8px; border-radius: 2px; align-self: flex-start;
  color: white;
}

.card-title { font-family: var(--serif); font-size: 1rem; font-weight: 400; line-height: 1.4; }
.card-title a { color: var(--text); text-decoration: none; }
.card-title a:hover { color: var(--accent); }
.card-title a[target="_blank"]::after { content: "\00a0\2197"; font-size: 0.7em; color: var(--faint); }

.card-excerpt { font-size: 0.8125rem; color: var(--muted); line-height: 1.5; flex: 1; }

.card-foot {
  font-size: 0.75rem; color: var(--faint);
  padding-top: 10px; border-top: 1px solid var(--rule); margin-top: auto;
}

/* ── Podcast cards (compact 2-col with square artwork) ─────────────── */

.podcast-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.podcast-card {
  display: flex; gap: 14px;
  padding: 14px; background: white; border: 1px solid var(--rule);
  box-shadow: 0 2px 10px rgba(20, 50, 100, 0.07);
}

.podcast-art { flex-shrink: 0; width: 68px; height: 68px; background: var(--rule-light); overflow: hidden; }
.podcast-art img { width: 100%; height: 100%; object-fit: cover; }

.podcast-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.podcast-show { font-size: 0.6875rem; color: var(--faint); }
a.podcast-title {
  font-family: var(--serif); font-size: 0.9rem; font-weight: 400;
  color: var(--text); text-decoration: none; line-height: 1.35;
}
a.podcast-title:hover { color: var(--accent); }
a.podcast-title[target="_blank"]::after { content: "\00a0\2197"; font-size: 0.7em; color: var(--faint); }
.podcast-date { font-size: 0.6875rem; color: var(--faint); }

/* ── Featured book banner ───────────────────────────────────────────── */

.featured-book-section { background: var(--header-bg); padding: 56px 0; }

.featured-book-inner { display: grid; grid-template-columns: 180px 1fr; gap: 48px; align-items: center; }

.featured-cover img { display: block; width: 180px; aspect-ratio: 2/3; object-fit: cover; }
.featured-cover-ph {
  width: 180px; aspect-ratio: 2/3; background: #1B3F78;
  display: flex; align-items: flex-end; padding: 12px;
}
.featured-cover-ph span { font-family: var(--serif); font-size: 0.8125rem; color: rgba(255,255,255,0.8); line-height: 1.3; }

.featured-eyebrow {
  font-size: 0.6875rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--header-muted); margin-bottom: 12px;
}

.featured-title {
  font-family: var(--serif); font-size: 2rem; font-weight: 300;
  color: var(--header-text); line-height: 1.2; margin-bottom: 12px;
}

.featured-subtitle {
  font-family: var(--serif); font-size: 1rem; font-weight: 300;
  color: var(--header-muted); line-height: 1.7; margin-bottom: 24px;
}

.featured-btn {
  display: inline-block; padding: 10px 22px;
  background: #FFAB00; color: #111111;
  font-size: 0.875rem; font-weight: 700;
  text-decoration: none; border-radius: 5px;
}
.featured-btn:hover { background: #FFB822; color: #111111; }

/* ── Book carousel ──────────────────────────────────────────────────── */

.carousel-wrapper { position: relative; padding: 0 44px; }

.carousel {
  display: flex; gap: 16px;
  overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 0;
}
.carousel::-webkit-scrollbar { display: none; }

.carousel-item { flex: 0 0 160px; display: flex; flex-direction: column; gap: 9px; }

.carousel-cover-link { display: block; text-decoration: none; }

.carousel-cover { position: relative; width: 160px; aspect-ratio: 2/3; overflow: hidden; background: #1B3F78; }
.carousel-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.carousel-cover-ph { position: absolute; inset: 0; background: #1B3F78; display: flex; align-items: flex-end; padding: 10px 8px; }
.carousel-cover-ph span { font-family: var(--serif); font-size: 0.6875rem; font-weight: 300; color: rgba(255,255,255,0.8); line-height: 1.3; }

.carousel-item-title { font-family: var(--serif); font-size: 0.875rem; font-weight: 400; color: var(--text); line-height: 1.35; }
.carousel-item-title a { color: var(--text); text-decoration: none; }
.carousel-item-title a:hover { color: var(--accent); }
.carousel-item-meta { font-size: 0.75rem; color: var(--faint); }
a.carousel-item-link { font-size: 0.75rem; color: var(--accent); text-decoration: none; }

.carousel-btn {
  position: absolute; top: 38%; transform: translateY(-50%);
  width: 36px; height: 36px; background: white; border: 1px solid var(--rule);
  cursor: pointer; font-size: 1.375rem; color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  padding: 0; line-height: 1;
}
.carousel-btn:hover { color: var(--text); border-color: var(--text); }
.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }

/* ── Section interior pages (subnav left, content right — jnd.org) ─── */

.section-layout {
  display: grid; grid-template-columns: 220px 1fr; gap: 56px;
  padding: 48px 0 72px; align-items: start;
}

.section-subnav { position: sticky; top: 28px; }

.subnav-heading {
  font-family: var(--serif); font-size: 1.25rem; font-weight: 400;
  color: var(--text); margin-bottom: 8px; line-height: 1.3;
}

.subnav-rule { height: 3px; background: var(--accent); width: 48px; margin-bottom: 16px; }

.subnav-list { list-style: none; }

.subnav-list a {
  display: block; padding: 9px 0;
  font-size: 0.875rem; color: var(--muted); text-decoration: none;
  border-bottom: 1px solid var(--rule); line-height: 1.4;
}
.subnav-list a:hover { color: var(--accent); }
.subnav-list a.active { color: var(--text); font-weight: 500; }

.section-main-title {
  font-family: var(--serif); font-size: 1.75rem; font-weight: 300;
  margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px solid var(--rule);
  color: var(--text);
}

/* at bottom of section pages, related books */
.section-also-books { padding: 40px 0 0; border-top: 1px solid var(--rule); margin-top: 48px; }
.section-also-books h3 {
  font-family: var(--serif); font-size: 1.25rem; font-weight: 300;
  margin-bottom: 16px;
}
.section-also-books ul { list-style: none; }
.section-also-books li { padding: 8px 0; border-bottom: 1px solid var(--rule); }
.section-also-books a { font-family: var(--serif); font-size: 0.9375rem; color: var(--text); text-decoration: none; }
.section-also-books a:hover { color: var(--accent); }
.section-also-view { display: inline-block; font-size: 0.875rem; color: var(--accent); text-decoration: none; margin-top: 12px; }

/* ── Full listing pages ──────────────────────────────────────────────── */

.listing-page { padding: 48px 28px 72px; max-width: var(--max-w); margin: 0 auto; }
.listing-title { font-family: var(--serif); font-size: 1.75rem; font-weight: 300; margin-bottom: 32px; }
.listing-talk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 20px; }
.listing-essay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.listing-podcast-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.listing-carousel-full { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 28px 20px; }

/* ── Video embeds ────────────────────────────────────────────────────── */

.video-wrap {
  position: relative; padding-bottom: 56.25%; height: 0;
  overflow: hidden; margin: 2em 0; border-radius: 5px;
  background: #111;
}
.video-wrap iframe {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; border: 0; border-radius: 5px;
}

/* Full-width video on talk/podcast pages — expands past page-body column */
.page-video {
  margin: 28px -28px;
}
.page-video .video-wrap {
  margin: 0; border-radius: 0; padding-bottom: 56.25%;
}
.page-video .video-wrap iframe {
  border-radius: 0;
}

/* ── Photo grids (press, speaking) ──────────────────────────────────── */

.photo-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 12px; margin: 24px 0 32px;
}
.photo-grid-wide { grid-template-columns: repeat(2, 1fr); gap: 16px; }
.photo-item { display: flex; flex-direction: column; gap: 6px; }
.photo-item img { width: 100%; border-radius: 5px; border: 1px solid var(--rule); }
.photo-label { font-size: 0.75rem; color: var(--muted); font-style: italic; line-height: 1.4; }

@media (max-width: 700px) {
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
  .photo-grid-wide { grid-template-columns: 1fr; }
}

/* ── Book page header (cover + title side by side) ──────────────────── */

.book-page-header {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 36px;
  padding: 32px 0 28px;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}

.book-page-cover {
  width: 200px;
}

.book-page-cover img {
  display: block;
  width: 200px;
  aspect-ratio: 2/3;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.book-cover-ph-lg {
  width: 200px;
  aspect-ratio: 2/3;
  background: #1B3F78;
  display: flex;
  align-items: flex-end;
  padding: 14px;
}

.book-cover-ph-lg span {
  font-family: var(--serif);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.3;
}

.book-page-info {
  padding-top: 8px;
}

.book-page-info h1 {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1.25;
  margin-bottom: 10px;
}

@media (max-width: 560px) {
  .book-page-header {
    grid-template-columns: 140px 1fr;
    gap: 20px;
  }
  .book-page-cover img, .book-cover-ph-lg { width: 140px; }
}

.article-cta-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 22px;
  background: #FFAB00;
  color: #111111;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 2px;
}
.article-cta-btn:hover { background: #FFB822; color: #111111; }

/* ── Article pages ───────────────────────────────────────────────────── */

.article-wrap { max-width: 800px; margin: 0 auto; padding: 0 28px; }
.page-nav { padding: 36px 0 0; }
.back-link { font-size: 0.8125rem; color: var(--muted); text-decoration: none; }
.back-link:hover { color: var(--accent); }
.page-header { padding: 24px 0 28px; border-bottom: 1px solid var(--rule); }
.page-header h1 { font-family: var(--serif); font-size: 1.75rem; font-weight: 300; line-height: 1.3; margin-bottom: 10px; max-width: 50ch; }
.page-meta { font-size: 0.8125rem; color: var(--muted); }
.page-body { padding: 32px 0 72px; max-width: 62ch; }
.page-body p { font-family: var(--serif); font-size: 1.0625rem; line-height: 1.8; margin-bottom: 1.4em; }
.page-body h2 { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; margin: 2.5em 0 0.75em; }
.page-body h3 { font-family: var(--sans); font-size: 0.9375rem; font-weight: 600; margin: 2em 0 0.5em; }
.page-body ul, .page-body ol { padding-left: 1.5em; margin-bottom: 1.4em; }
.page-body li { font-family: var(--serif); font-size: 1.0625rem; line-height: 1.7; margin-bottom: 0.35em; }
.page-body blockquote { margin: 1.75em 0; padding-left: 1.25em; border-left: 2px solid var(--rule); }
.page-body blockquote p { color: var(--muted); font-style: italic; }
.page-body a { color: var(--accent); text-underline-offset: 2px; }
.page-body figure { margin: 2em 0; }
.page-body figure img { width: 100%; display: block; border-radius: 5px; }
.page-body figcaption {
  font-size: 0.8125rem; color: var(--muted); font-style: italic;
  margin-top: 10px; line-height: 1.5; padding: 0 4px;
  border-left: 2px solid var(--accent); padding-left: 12px;
}

.page-body code { font-size: 0.875em; background: #F1F1F0; padding: 0.15em 0.35em; border-radius: 2px; }
.page-body pre { background: #F5F5F4; border: 1px solid var(--rule); border-radius: 3px; padding: 1.25em; overflow-x: auto; margin-bottom: 1.4em; }
.page-body pre code { background: none; padding: 0; font-size: 0.875rem; line-height: 1.65; }

/* ── Archive page ────────────────────────────────────────────────────── */

.archive-intro { font-size: 1rem; color: var(--muted); margin-bottom: 28px; }

.archive-filters {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px;
}

.filter-btn {
  padding: 7px 16px; border-radius: 20px;
  border: 1.5px solid var(--rule); background: white;
  font-size: 0.8125rem; font-weight: 500; cursor: pointer; color: var(--muted);
}

.filter-btn:hover { border-color: var(--accent); color: var(--accent); }

.filter-btn.active {
  background: #C47A00; border-color: #C47A00; color: white; font-weight: 700;
}

.archive-year { margin-bottom: 40px; }

.archive-year-label {
  font-family: var(--serif); font-size: 1.75rem; font-weight: 300;
  color: var(--text); margin-bottom: 12px;
  padding-bottom: 10px; border-bottom: 2px solid #C47A00;
  display: inline-block;
}

.archive-list { list-style: none; }

.archive-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 0 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}

.archive-tag {
  font-size: 0.625rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.07em; color: #C47A00; white-space: nowrap; padding-top: 2px;
}

a.archive-title {
  font-family: var(--serif); font-size: 1rem; font-weight: 400;
  color: var(--text); text-decoration: none; line-height: 1.4;
}

a.archive-title:hover { color: var(--accent); }

.archive-venue { font-size: 0.8125rem; color: var(--faint); text-align: right; white-space: nowrap; }

@media (max-width: 600px) {
  .archive-item { grid-template-columns: 64px 1fr; }
  .archive-venue { display: none; }
}

.book-nav {
  display: flex; justify-content: space-between; align-items: stretch;
  padding: 40px 0; border-top: 2px solid var(--rule); margin-top: 40px; gap: 20px;
}
.book-nav-link {
  display: flex; flex-direction: column; gap: 6px; text-decoration: none;
  width: 46%; padding: 16px 20px; border: 1px solid var(--rule);
  border-radius: 5px; background: white;
}
.book-nav-link:hover { border-color: var(--accent); }
.book-nav-prev { align-items: flex-start; }
.book-nav-next { align-items: flex-end; text-align: right; }
.book-nav-dir {
  display: block; font-size: 0.6875rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent);
}
.book-nav-title {
  display: block; font-family: var(--serif); font-size: 1rem;
  font-weight: 400; color: var(--text); line-height: 1.35;
}
.book-nav-link:hover .book-nav-title { color: var(--accent); }

/* ── Notify form ─────────────────────────────────────────────────────── */
.notify-form-wrap {
  margin-top: 36px; padding: 32px; background: var(--header-bg); border-radius: 5px;
}
.notify-intro { font-family: var(--serif); font-size: 1rem; color: white; margin-bottom: 16px; }
.notify-form { display: flex; flex-direction: column; gap: 10px; }
.notify-row { display: flex; gap: 10px; flex-wrap: wrap; }
.notify-input {
  flex: 1; min-width: 180px; padding: 12px 14px;
  border: 1px solid #CCCCCC; border-radius: 5px;
  font-size: 1rem; font-family: var(--sans); background: white; color: #111111;
}
.notify-input::placeholder { color: #888888; }
.notify-input:focus { outline: none; border-color: #FFAB00; }
.notify-btn {
  padding: 12px 22px; background: #FFAB00; color: #111111;
  border: none; border-radius: 5px; font-size: 0.9375rem;
  font-weight: 700; cursor: pointer; white-space: nowrap;
}
.notify-btn:hover { background: #FFB822; }

/* ── Contact section ─────────────────────────────────────────────────── */

.contact-section { background: var(--header-bg); padding: 72px 0; }

.contact-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
}

.contact-title {
  font-family: var(--serif); font-size: 2rem; font-weight: 300;
  color: var(--header-text); margin-bottom: 16px;
}

.contact-desc {
  font-family: var(--serif); font-size: 1.125rem; font-weight: 300;
  color: #FFFFFF; line-height: 1.8; margin-bottom: 16px;
}

.contact-location { font-size: 1rem; color: #BBBBBB; line-height: 1.6; }

.contact-form { display: flex; flex-direction: column; gap: 16px; }

.form-row { display: flex; flex-direction: column; gap: 7px; }

.form-label {
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: #FFFFFF;
}

.form-input {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid #CCCCCC;
  color: #111111;
  padding: 13px 16px;
  border-radius: 5px;
  font-family: var(--sans);
  font-size: 1rem;
  -webkit-appearance: none;
}

.form-input::placeholder { color: #888888; }

.form-input:focus {
  outline: none;
  border-color: #C47A00;
  box-shadow: 0 0 0 3px rgba(196,122,0,0.15);
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-select option { background: #FFFFFF; color: #111111; }

.form-textarea { resize: vertical; min-height: 140px; line-height: 1.7; }

.form-submit {
  align-self: flex-start;
  padding: 12px 28px;
  background: #FFAB00;
  color: #111111;
  border: none;
  border-radius: 5px;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 4px;
}

.form-submit:hover { background: #FFB822; color: #111111; }

/* ── Footer ──────────────────────────────────────────────────────────── */

.site-footer { background: var(--header-bg); padding: 36px 0; }
.site-footer .footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; align-items: center; }
.site-footer p { font-size: 0.8125rem; color: var(--header-muted); }
.site-footer a { color: var(--header-muted); text-decoration: none; }
.site-footer a:hover { color: var(--header-text); }
.footer-copy { font-size: 0.75rem; color: #666666; }

/* ── Responsive ──────────────────────────────────────────────────────── */

@media (max-width: 820px) {
  .talk-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .essay-grid { grid-template-columns: repeat(2, 1fr); }
  .listing-talk-grid { grid-template-columns: repeat(2, 1fr); }
  .listing-essay-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr 200px; gap: 32px; }
  .hero-quote { font-size: 1.75rem; }
  .section-layout { grid-template-columns: 180px 1fr; gap: 36px; }
}

@media (max-width: 680px) {
  .section-layout { grid-template-columns: 1fr; gap: 16px; padding: 28px 0 48px; }
  .section-subnav { position: static; }
  .contact-inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { display: none; }
  .hero-name { font-size: 2.25rem; }
  .talk-grid { grid-template-columns: 1fr; }
  .essay-grid { grid-template-columns: 1fr; }
  .podcast-grid { grid-template-columns: 1fr; }
  .listing-talk-grid { grid-template-columns: 1fr; }
  .listing-essay-grid { grid-template-columns: 1fr; }
  .listing-podcast-grid { grid-template-columns: 1fr; }
  .featured-book-inner { grid-template-columns: 120px 1fr; gap: 20px; }
  .featured-title { font-size: 1.5rem; }
  .carousel-wrapper { padding: 0 36px; }
  .carousel-item { flex: 0 0 130px; }
  .carousel-cover { width: 130px; }
  .section-wrap, .section-wrap-alt { padding: 36px 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* Whole card clickable */
.essay-card { position: relative; transition: box-shadow 0.15s, transform 0.15s; }
.essay-card .card-title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.essay-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.10); transform: translateY(-1px); }
.talk-card { position: relative; }
a.talk-card-title::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.podcast-card { position: relative; transition: box-shadow 0.15s; }
a.podcast-title::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.podcast-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.10); }
.archive-item { position: relative; }
a.archive-title::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.archive-item:hover { background: rgba(0,0,0,0.025); }

/* White card on article pages for readability */
.article-wrap {
  background: white;
  box-shadow: 0 2px 20px rgba(20,50,100,0.07);
  padding-bottom: 48px;
}

/* Tag padding fix */
.card-tag, .archive-tag {
  padding: 4px 12px !important;
  letter-spacing: 0.07em !important;
}
/* Workshop/essay featured image */
.page-featured-img { margin: 24px -28px; }
.page-featured-img img {
  width: 100%; display: block;
  max-height: 55vh; object-fit: cover; border-radius: 0;
}
