/* styles.css — Heroic Leadership (static, minimal, editorial) */

/* Google Fonts (optional): if you prefer no external fonts, remove the <link> tags in HTML */
:root{
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #1f2328;
  --muted: #5b636a;
  --faint: #7a838b;
  --line: #e6e2db;

  --accent: #2a5b4b;        /* deep calm green */
  --accent-soft: rgba(42,91,75,0.10);

  --max: 980px;
  --col: 720px;

  --radius: 14px;
  --shadow: 0 8px 30px rgba(0,0,0,0.06);

  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;

  --h1: clamp(2.0rem, 3.0vw, 2.7rem);
  --h2: clamp(1.45rem, 2.2vw, 1.9rem);
  --h3: 1.1rem;
  --body: 1.05rem;
  --small: 0.94rem;

  --lh: 1.72;
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: var(--lh);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

header.site{
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251,250,247,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:baseline;
  gap: 10px;
}
.brand .mark{
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-soft);
}
.brand .title{
  font-family: var(--serif);
  font-size: 1.06rem;
  letter-spacing: 0.2px;
  color: var(--text);
}
.brand .sub{
  font-size: 0.88rem;
  color: var(--muted);
}

.navlinks{
  display:flex;
  gap: 16px;
  align-items:center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.navlinks a{
  font-size: 0.95rem;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 10px;
}
.navlinks a.active{
  color: var(--text);
  background: var(--accent-soft);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 2px 0 rgba(0,0,0,0.02);
  font-size: 0.95rem;
}
.btn:hover{ text-decoration:none; border-color: rgba(42,91,75,0.35); }
.btn.primary{
  background: var(--accent);
  color: #fff;
  border-color: rgba(42,91,75,0.65);
}
.btn.primary:hover{ filter: brightness(0.98); }

main{
  padding: 46px 0 60px;
}

.hero{
  padding: 28px 0 6px;

.hero-card 

.img-cover{
  width: min(360px, 100%);   /* max 360px, but responsive on mobile */
  height: auto;             /* keep aspect ratio */
  margin: 0 auto;           /* center */
}


}
.kicker{
  display:inline-block;
  font-size: 0.92rem;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.55);
}
h1{
  font-family: var(--serif);
  font-size: var(--h1);
  line-height: 1.25;
  letter-spacing: -0.2px;
  margin: 14px 0 10px;
}
.lede{
  max-width: var(--col);
  font-size: 1.12rem;
  color: var(--muted);
  margin: 0 0 18px;
}
.ctaRow{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items:center;
  margin-top: 18px;
}

.section{
  margin-top: 44px;
  padding-top: 10px;
}
.section h2{
  font-family: var(--serif);
  font-size: var(--h2);
  margin: 0 0 10px;
}
.section .subtitle{
  color: var(--muted);
  font-style: italic;
  margin: 0 0 18px;
  max-width: var(--col);
}

.prose{
  max-width: var(--col);
}
.prose p{ margin: 0 0 14px; }
.prose ul{
  margin: 10px 0 18px 18px;
  padding:0;
}
.prose li{ margin: 6px 0; color: var(--text); }
.prose em{ font-style: italic; }
.prose strong{ font-weight: 650; } /* avoid heavy bold look */

.hr{
  height:1px;
  background: var(--line);
  margin: 26px 0;
}

.grid3{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  margin-top: 18px;
}
.card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 16px 14px;
  box-shadow: var(--shadow);
}
.card h3{
  font-size: var(--h3);
  margin: 0 0 8px;
  font-family: var(--serif);
}
.card .hint{
  color: var(--muted);
  margin: 0 0 10px;
  font-style: italic;
}
.badge{
  display:inline-block;
  padding: 4px 10px;
  font-size: 0.86rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(42,91,75,0.06);
  color: var(--text);
}

.quote{
  border-left: 3px solid rgba(42,91,75,0.55);
  padding: 10px 14px;
  background: rgba(255,255,255,0.7);
  border-radius: 10px;
  margin: 14px 0;
}
.quote p{ margin: 0; color: var(--text); }
.quote .who{
  margin-top: 10px;
  color: var(--muted);
  font-size: var(--small);
}

.figure{
  background: rgba(255,255,255,0.65);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  margin: 14px 0 18px;
}
.figure .imgbox{
  height: 210px;
  border-radius: 12px;
  border: 1px dashed rgba(91,99,106,0.35);
  display:flex;
  align-items:center;
  justify-content:center;
  color: var(--faint);
  font-size: 0.95rem;
  background: rgba(42,91,75,0.04);
  text-align:center;
  padding: 14px;
}
.figure figcaption{
  margin-top: 10px;
  color: var(--muted);
  font-size: var(--small);
  font-style: italic;
}

.callout{
  max-width: var(--col);
  background: rgba(42,91,75,0.06);
  border: 1px solid rgba(42,91,75,0.18);
  border-radius: var(--radius);
  padding: 16px;
  margin-top: 18px;
}

.small{
  font-size: var(--small);
  color: var(--muted);
}

footer{
  border-top: 1px solid var(--line);
  padding: 26px 0;
  color: var(--muted);
  font-size: var(--small);
}
.footerRow{
  display:flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items:center;
  justify-content: space-between;
}
.footerLinks a{ color: var(--muted); margin-left: 12px; }
.footerLinks a:hover{ color: var(--text); text-decoration: underline; }

form{
  max-width: var(--col);
  display:grid;
  gap: 12px;
}
label{
  font-size: 0.92rem;
  color: var(--muted);
}
input, textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--text);
}
textarea{ min-height: 140px; resize: vertical; }
input:focus, textarea:focus{
  outline: 2px solid rgba(42,91,75,0.25);
  border-color: rgba(42,91,75,0.35);
}

/* Responsive */
@media (max-width: 860px){
  .grid3{ grid-template-columns: 1fr; }
  .brand .sub{ display:none; }
}
/* ===== FORCE BOOK COVER SIZE (FINAL OVERRIDE) ===== */

.book-cover-wrap{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.book-cover{
  width: auto !important;
  max-width: 320px !important;   /* adjust: 280 / 320 / 360 */
  max-height: 480px !important;  /* prevents tall explosion */
  height: auto !important;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

