/* Fonts (hosted, similar literary feel) */
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

:root{
  /* Core palette (solid, timeless) */
  --paper: #f4efe6;
  --paper-2: #fbf8f2;
  --ink: #111111;
  --muted: #505050;

  /* Your accents */
  --cobalt: #054169;
  --cobalt-2: #043552;
  --gold: #b08a2f;

  /* Lines + layout */    
  --rule: rgba(17,17,17,.14);
  --max: 1080px;
  --radius: 14px;

  /* Type scale */
  --h1: clamp(40px, 5vw, 64px);
  --h2: 12px;

  /* Motif opacity controls */
  --motif-white: rgba(255,255,255,.14);
  --motif-ink: rgba(255,255,255,.08);
  --motif-paper: rgba(5,65,105,.10);
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin:0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Links */
a{
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(17,17,17,.26);
  transition: color .15s ease, border-color .15s ease, background-color .15s ease;
}
a:hover{
  color: var(--cobalt);
  border-bottom-color: var(--cobalt);
  background-color: rgba(5,65,105,.10);
}

/* Page container */
.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 44px 22px 96px; /* more air */
}


/* Header (solid + subtle “designed” top rule) */
header{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0 18px;
  border-top: 2px solid var(--gold);
  border-bottom: 1px solid var(--rule);
}


.brand{
  font-weight: 700;
  letter-spacing: .02em;
  font-size: 20px;
}

nav{
  display:flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
nav a{ border-bottom-color: transparent; padding-bottom: 2px; }
nav a:hover{ border-bottom-color: var(--gold); color: var(--cobalt); background-color: transparent; }

/* Hero masthead */
.pagehead{
  padding: 54px 0 22px;
}
h1{
  margin: 0 0 10px;
  font-size: var(--h1);
  font-weight: 700;
  letter-spacing: .01em;
}
.lede{
  margin: 0;
  max-width: 72ch;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

/* Section blocks (solid backgrounds, no gradients) */
.panel{
  border-radius: var(--radius);
  border: 1px solid rgba(17,17,17,.10);
  overflow: hidden;
}

.panel-inner{
  padding: 26px;
}

/* Three solid panel styles */
.panel--paper{
  background: var(--paper-2);
}
.panel--cobalt{
  background: var(--cobalt);
  color: #ffffff;
  border-color: rgba(255,255,255,.18);
}
.panel--ink{
  background: #101016;
  color: #f4f4f6;
  border-color: rgba(255,255,255,.12);
}

/* Thin gold separator rule */
.gold-rule{
  height: 2px;
  background: var(--gold);
  opacity: .95;
}

/* Section headings (KatieKhan-like: small caps feel + simple rule) */
.section{
  padding-top: 48px;  /* bigger gaps between sections */
}
.section h2{
  margin: 0 0 12px;
  font-size: var(--h2);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  display:flex;
  align-items:center;
  gap: 10px;
}
.section h2::before{
  content:"";
  width: 26px;
  height: 1px;
  background: var(--gold);
}

/* Layout grids */
.grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 900px){
  .grid-2{ grid-template-columns: 1fr 1fr; }
  .grid-3{ grid-template-columns: 1fr 1fr 1fr; }
}

/* ===== About page layout: large photo + wrapped bio ===== */
.aboutWrap{
  display: grid;
  grid-template-columns: 2fr 1fr; /* photo 2/3, text 1/3 */
  gap: 22px;
  align-items: start;
}
/* Big image block */
.aboutMedia{
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(17,17,17,.10);
  background: var(--paper-2);
}
/* Placeholder box (replace with <img> later) */
.aboutMediaPlaceholder{
  width: 100%;
  aspect-ratio: 16 / 10; /* looks like a wide portrait/banner photo */
  display: grid;
  place-items: center;
  color: var(--muted);
  letter-spacing: .10em;
  text-transform: uppercase;
  font-size: 12px;
}

/* Text block that sits to the right of the photo */
.aboutSideBio{
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

/* Full-width continuation below */
.aboutFullBio{
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  max-width: 78ch;
}

/* Responsive: stack on smaller screens */
@media (max-width: 900px){
  .aboutWrap{
    grid-template-columns: 1fr;
  }
  .aboutFullBio{
    max-width: none;
  }
}
/* ===== Books page: media + text layout (1/3 image, 2/3 content) ===== */
.mediaRow{
  display: grid;
  grid-template-columns: 1fr 2fr; /* 1/3 media, 2/3 text */
  gap: 22px;
  align-items: start;
}

.mediaBox{
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(17,17,17,.10);
  background: var(--paper-2);
}

/* Placeholder for cover / promo image */
.mediaPlaceholder{
  width: 100%;
  aspect-ratio: 4 / 5; /* book-cover-ish */
  display: grid;
  place-items: center;
  color: var(--muted);
  letter-spacing: .10em;
  text-transform: uppercase;
  font-size: 12px;
}

/* For “Featured series” we’ll make the image a bit wider/taller */
.mediaPlaceholder--featured{
  aspect-ratio: 3 / 2; /* more cinematic */
}

/* Text content inside media row */
.mediaContent{
  color: inherit;
}

/* Tidy link cluster */
.linkRow{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 14px;
}

/* Give larger panels more breathing room */
.panel-inner--spacious{
  padding: 34px;
}

/* Responsive stacking */
@media (max-width: 900px){
  .mediaRow{
    grid-template-columns: 1fr;
  }
}

/* ===== Current Publications: compact 2-column grid ===== */
.pubGrid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

/* Individual publication card */
.pubItem{
  background: var(--paper-2);
  border: 1px solid rgba(17,17,17,.10);
  border-radius: var(--radius);
  padding: 18px;
}

.pubMedia{
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  border: 1px solid rgba(17,17,17,.10);
  background: var(--paper);
  margin-bottom: 12px;
}

.pubMediaPlaceholder{
  width: 100%;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.pubItem h3{
  margin: 0 0 6px;
  font-size: 18px;
}

.pubItem p{
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.pubLinks{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 14px;
}

/* Responsive: stack to one column */
@media (max-width: 900px){
  .pubGrid{
    grid-template-columns: 1fr;
  }
}





/* Portrait (square) */
.portrait{
  max-width: 380px;
  border-radius: var(--radius);
  overflow:hidden;
  border: 1px solid var(--rule);
  background: var(--paper-2);
}
.portrait img{
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display:block;
}

/* Quote block (solid cobalt, gold left rule) */
.quote{
  border-left: 3px solid var(--gold);
  padding: 14px 16px;
}
.quote p{
  margin: 0;
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
}
.quote cite{
  display:block;
  margin-top: 10px;
  font-style: normal;
  opacity: .9;
  font-size: 14px;
}

/* Buttons (solid, timeless) */
.btn{
  display:inline-block;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.45);
  background: transparent;
  color: inherit;
  font-size: 14px;
  letter-spacing: .02em;
  text-decoration: none;
}
.btn:hover{
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.70);
}

/* “Card” inside paper panels */
.card{
  background: var(--paper-2);
  border: 1px solid rgba(17,17,17,.10);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.card p{ margin: 0 0 12px; color: var(--muted); }
.card p:last-child{ margin-bottom: 0; }

.kicker{
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.86);
  margin-bottom: 8px;
}
.kicker--muted{ color: var(--muted); }



