/* =========================================================
   Rachel Kaur — personal site
   Palette: terracotta / lime green / fuchsia on white
   Type: Fraunces (display, a little artsy) + Nunito Sans
   ========================================================= */

:root {
  --terracotta: #c4633f;
  --terracotta-soft: #e9b9a6;
  --lime: #9fc131;
  --lime-soft: #dfeeb0;
  --fuchsia: #d6296b;
  --fuchsia-soft: #f4b8d1;
  --ink: #2c2420;
  --ink-soft: #6a5f57;
  --white: #ffffff;
  --cream: #fbf8f4;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max: 960px;
  --radius: 18px;
  --shadow: 0 14px 40px -18px rgba(44, 36, 32, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 0.4em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
h3 { font-size: 1.3rem; }

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

/* ---------- Banner / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--lime-soft);
}
.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand:hover { text-decoration: none; }
.brand .dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--terracotta);
  box-shadow: 10px 0 0 var(--lime), 20px 0 0 var(--fuchsia);
  margin-right: 22px;
}
.nav-links {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--ink);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover { text-decoration: none; background: var(--cream); }
.nav-links a.active {
  background: var(--fuchsia);
  color: #fff;
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(48px, 9vw, 110px) 0 clamp(40px, 7vw, 80px);
  position: relative;
  overflow: hidden;
}
.hero .eyebrow {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: var(--terracotta);
  margin: 0 0 14px;
}
.hero h1 { max-width: 14ch; }
.hero h1 .swash { color: var(--fuchsia); font-style: italic; }
.hero p.lead {
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 18px 0 30px;
}
.blobs { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
  opacity: 0.5;
}
.blob.a { width: 220px; height: 220px; background: var(--lime-soft); top: -40px; right: 6%; }
.blob.b { width: 150px; height: 150px; background: var(--terracotta-soft); bottom: 10%; right: 22%; }
.blob.c { width: 120px; height: 120px; background: var(--fuchsia-soft); top: 30%; left: -30px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 800;
  font-size: 1rem;
  padding: 13px 26px;
  border-radius: 999px;
  background: var(--terracotta);
  color: #fff !important;
  border: 2px solid var(--terracotta);
  transition: transform 0.12s ease, background 0.15s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn.alt { background: transparent; color: var(--ink) !important; border-color: var(--ink); }
.btn.alt:hover { background: var(--ink); color: #fff !important; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Feature cards (landing) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  padding: 20px 0 80px;
}
.card {
  display: block;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--cream);
  border: 2px solid transparent;
  color: var(--ink);
  transition: transform 0.15s ease, border-color 0.15s, box-shadow 0.2s;
}
.card:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--ink-soft); margin: 0; }
.card .tag {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 12px;
}
.card:nth-child(1) { border-color: var(--terracotta-soft); }
.card:nth-child(1):hover { border-color: var(--terracotta); }
.card:nth-child(2) { border-color: var(--lime-soft); }
.card:nth-child(2):hover { border-color: var(--lime); }
.card:nth-child(3) { border-color: var(--fuchsia-soft); }
.card:nth-child(3):hover { border-color: var(--fuchsia); }

/* ---------- Sections ---------- */
.section { padding: clamp(40px, 7vw, 72px) 0; }
.section.tinted { background: var(--cream); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 44px;
  align-items: start;
}
.about-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 4px solid #fff;
  outline: 3px solid var(--lime);
}
.about-grid p { margin: 0 0 1.1em; }
.about-lead { font-size: 1.2rem; }
.chips { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  background: #fff;
  border: 2px solid var(--lime-soft);
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
}
@media (max-width: 680px) {
  .about-grid { grid-template-columns: 1fr; gap: 26px; }
  .about-photo { max-width: 260px; }
}

/* ---------- Blog list ---------- */
.post-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 20px; }
.post-item {
  border: 2px solid var(--cream);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color 0.15s, transform 0.15s;
  background: #fff;
}
.post-item:hover { border-color: var(--fuchsia-soft); transform: translateY(-3px); }
.post-item .date {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--terracotta);
}
.post-item h3 { margin: 6px 0 8px; }
.post-item h3 a { color: var(--ink); }
.post-item p { margin: 0; color: var(--ink-soft); }
.empty-note { color: var(--ink-soft); font-style: italic; }

/* ---------- Article (blog post) ---------- */
.article { max-width: 720px; }
.article .date {
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em;
  font-size: 0.82rem; color: var(--terracotta);
}
.article h1 { margin: 10px 0 18px; }
.article p, .article ul, .article ol { margin: 0 0 1.2em; }
.article img { border-radius: var(--radius); margin: 1.4em 0; }
.article blockquote {
  margin: 1.4em 0;
  padding: 4px 22px;
  border-left: 4px solid var(--lime);
  color: var(--ink-soft);
  font-style: italic;
}
.back-link { display: inline-block; margin-bottom: 26px; font-weight: 700; }

/* ---------- Coming soon ---------- */
.coming-soon {
  text-align: center;
  padding: clamp(50px, 12vw, 120px) 0;
}
.coming-soon .badge {
  display: inline-block;
  background: var(--lime);
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.coming-soon p { color: var(--ink-soft); max-width: 40ch; margin: 12px auto 0; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 2px solid var(--lime-soft);
  padding: 40px 0;
  margin-top: 40px;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.footer-dots { display: inline-flex; gap: 8px; }
.footer-dots span { width: 12px; height: 12px; border-radius: 50%; }
.footer-dots .t { background: var(--terracotta); }
.footer-dots .l { background: var(--lime); }
.footer-dots .f { background: var(--fuchsia); }
