/* ---------- 1.  CSS Variables ------------------------------------------------ */
:root{
  /* Colours */
  --brand-blue:#FF6B5B;
  --text:#331D21;
  --bg:#FFF9F8;
  --bg-mid:#FBF2F0;
  --bg‑alt:#F5E7E4;
  --border:rgba(35,34,33,.08);
  --logo-size:30px;
  /* Spacing scale (matches original */
  --space‑xs:15px;
  --space‑sm:20px;
  --space‑md:40px;
  --space‑lg:60px;
  --space‑xl:70px;
  /* Card */
  --card‑radius:8px;
  --card‑shadow:0 2px 4px rgba(0,0,0,.04);
}

/* ---------- 2.  Base typography ---------------------------------------------- */
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"IBM Plex Serif", "Source Serif 4", "Newsreader",warnock-pro, Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif;
  font-size:16px;
  line-height:1.3;
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  background:var(--bg);
}

h1,h2,h3{font-family: "IBM Plex Sans", ETBookRoman,warnock-pro,Palatino,"Palatino Linotype","Palatino LT STD","Book Antiqua",Georgia,serif;
         color:var(--text)}
h1{font-size:3rem;font-weight:300}
h2{font-size:2rem;font-weight:300;margin:0.5em 0;}
h3{font-size:1.125rem;font-weight:400;color:var(--brand-blue)}

p{margin:0 0 1em}
ul{margin:0 0 1em 1.2em}

a{color:var(--brand-blue);text-decoration:none;transition:.15s}

/* ---------- grids --------------------------------------------- */
.grid{
  display:grid;
  gap:var(--space‑lg) var(--space‑lg);
  max-width:1300px;
  margin:0 auto;
  padding: 20px 40px 0px;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
}

@media(max-width:640px){.grid{gap:var(--space‑md) var(--space‑sm);padding:var(--space‑sm)}}

.card{
  padding:0;
  display:flex;
  flex-direction:column;
}

.card-title{
  border-bottom:1px solid var(--text);
  margin-bottom:10px;
}

/* ---------- Post links -------------------------------------------------- */
.featured-post{
  display:grid;
  grid-template-columns: 200px auto;
  gap: 25px;
  color: var(--text);
  margin-bottom:30px;
}

.featured-post:hover{
  color: var(--brand-blue);
}

.featured-post-title{
  font-size: 1.2rem;
  font-weight: 400;
}

.featured-post-desc{
  font-size: 1rem;
}

.post{
  color: var(--text);
  margin-bottom:30px;
}

.post:hover{
  color: var(--brand-blue);
}

.post-title{
  font-size: 1.2rem;
  font-weight: 600;
}

.post-authors{
  font-size: 1rem;
  font-style: italic;
  padding: 0 0 0.4em;
}

.post-desc{
  font-size: 0.8rem;
}

/* ---------- 5.  Header / nav -------------------------------------------------- */
header{
  background:var(--bg‑alt);
}
.header-inner{
  max-width:1300px;
  padding-left: 40px;
  padding-right:40px;
  margin-left:auto;
  margin-right: auto;
}

.header-content{
  border-bottom:1px solid var(--text);
  display:flex;
  height:90px;
  justify-content:space-between;
  align-items:center;
}

.logo {
  font-size:var(--logo-size):
}
nav ul{
  list-style:none;
  margin:0;
  display:flex;
  gap:25px;
  padding:0}
nav a{
  font-size:1rem;
  color:var(--text)}

/* ---------- Intro blurb -------------------------------------------------- */

.intro-blurb{
  background:var(--bg‑alt);
}

.intro-blurb-content{
  display:grid;
  gap:var(--space‑lg) var(--space‑lg);
  max-width:1300px;
  padding: 20px 40px;
  margin-left: auto;
  margin-right: auto;
    /* 2 : 1 ratio while there’s room */
  grid-template-columns:minmax(0,2fr) minmax(0,1fr);
}

/* single column when on mobile */
@media (max-width:640px){
  .intro-blurb-content{
    grid-template-columns:1fr;
  }
}

/* ----- Featured section ------------------------------------------------------ */
  .featured-section{
    background:var(--bg-mid);
  }

/* ---------- 7.  Footer -------------------------------------------------------- */
footer{
  background:var(--bg‑alt);
  text-align:center;
  font-family:"Inter",sans-serif;font-size:.75rem;font-weight:400;
  color:var(--brand-blue);
  padding:var(--space‑md);
  margin-top:var(--space‑lg);
  display: none;
}
