/* The Curation Corner — thecurationcorner.ie
   Created by Kiara @ The Curation Corner
   Editorial system: ivory ground, charcoal frame, sage accent */

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

:root {
  --sage: #5F735C;
  --sage-deep: #4F6250;
  --warm-stone: #B7AEA4;
  --greige: #D6D0C7;
  --charcoal: #2F2F2F;
  --ink: #262626;
  --olive-grey: #6E7468;
  --ivory: #F4F1EB;
  --cream: #ECE8DF;
  --white: #FFFFFF;
  --hairline: rgba(47, 47, 47, 0.14);
  --display: 'Cormorant Garamond', Georgia, serif;
  --body: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--ivory);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 768px) { body { font-size: 17px; } }

/* ── Navigation ─────────────────────────────── */
.site-nav {
  background: var(--charcoal);
  padding: 0 1.75rem;
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding: 1.35rem 0;
}
.nav-logo {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ivory);
  text-decoration: none;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  gap: 2.1rem;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 241, 235, 0.82);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}
.nav-links a:hover { color: var(--white); border-color: var(--warm-stone); }
.nav-links a[aria-current="page"] { color: var(--white); border-color: var(--sage); }
@media (max-width: 680px) {
  .nav-inner { justify-content: center; text-align: center; }
  .nav-links { justify-content: center; gap: 1rem 1.4rem; }
}

/* ── Shared sections ────────────────────────── */
.section { padding: 118px 1.75rem; }
.section-inner { max-width: 860px; margin: 0 auto; }
.section-inner--narrow { max-width: 680px; margin: 0 auto; }
.bg-stone { background: var(--ivory); }
.bg-greige { background: var(--cream); }
.bg-charcoal { background: var(--charcoal); }

.section-label {
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 500;
  margin-bottom: 1.6rem;
}
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(40px, 7vw, 68px); line-height: 1.04; margin-bottom: 1.75rem; }
h2 { font-size: clamp(30px, 4.6vw, 46px); margin-bottom: 1.5rem; }
h3 { font-size: 26px; margin-bottom: 0.85rem; }
p + p { margin-top: 1.3rem; }

.lede { font-size: 18px; line-height: 1.85; max-width: 640px; color: var(--ink); }
@media (min-width: 768px) { .lede { font-size: 19.5px; } }

/* ── Buttons ────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--sage);
  color: var(--white);
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 18px 40px;
  border-radius: 2px;
  border: 1px solid var(--sage);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s;
}
.btn-primary:hover { background: var(--sage-deep); border-color: var(--sage-deep); }
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--ink);
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 18px 40px;
  border: 1px solid rgba(47,47,47,0.4);
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
}
.btn-secondary:hover { border-color: var(--ink); background: var(--ink); color: var(--ivory); }
.footer-cta .btn-secondary { color: var(--ivory); border-color: rgba(244,241,235,0.5); }
.footer-cta .btn-secondary:hover { background: var(--ivory); color: var(--ink); }
.cta-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  text-decoration: none;
  border-bottom: 1px solid var(--sage);
  padding-bottom: 4px;
  transition: color 0.25s, border-color 0.25s;
}
.cta-link:hover { color: var(--sage-deep); border-color: var(--sage-deep); }

/* ── Hero ───────────────────────────────────── */
.hero { padding: 150px 1.75rem 120px; text-align: center; }
.hero-inner { max-width: 880px; margin: 0 auto; }
.hero .hero-sub {
  font-size: 18px;
  line-height: 1.9;
  max-width: 620px;
  margin: 0 auto 3rem;
  color: var(--olive-grey);
}
@media (min-width: 768px) { .hero .hero-sub { font-size: 19px; } }
.hero-ctas { display: flex; gap: 1.1rem; justify-content: center; flex-wrap: wrap; }

/* ── Cards & grids ──────────────────────────── */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 3.5rem; border-top: 1px solid var(--hairline); }
@media (max-width: 680px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  padding: 2.5rem 2rem 2.5rem 0;
  background: transparent;
  border-radius: 0;
}
.pillar + .pillar { border-left: 1px solid var(--hairline); padding-left: 2rem; }
@media (max-width: 680px) {
  .pillar + .pillar { border-left: none; padding-left: 0; border-top: 1px solid var(--hairline); }
  .pillar { padding: 2rem 0; }
}
.bg-stone .pillar, .bg-greige .pillar { background: transparent; }
.pillar h3 { font-size: 24px; }
.pillar p { font-size: 15px; line-height: 1.75; color: var(--olive-grey); }

/* ── Footer CTA & footer ────────────────────── */
.footer-cta { padding: 130px 1.75rem; text-align: center; }
.footer-cta h2 { color: var(--ivory); margin-bottom: 1.25rem; }
.footer-cta p {
  font-size: 16px;
  color: rgba(244, 241, 235, 0.7);
  margin: 0 auto 3rem;
  max-width: 520px;
  line-height: 1.85;
}
footer {
  background: var(--charcoal);
  border-top: 1px solid rgba(244, 241, 235, 0.1);
  padding: 2.75rem 1.75rem;
  text-align: center;
}
footer p {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 241, 235, 0.55);
}
footer p + p { margin-top: 0.7rem; }
footer a { color: rgba(244,241,235,0.7); text-decoration: none; border-bottom: 1px solid rgba(244,241,235,0.3); }

/* ── Blog: index cards ──────────────────────── */
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4rem 3rem; margin-top: 3rem; }
@media (max-width: 680px) { .post-grid { grid-template-columns: 1fr; gap: 3rem; } }
.post-card {
  background: transparent;
  border-radius: 0;
  overflow: visible;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.post-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s;
}
.post-card:hover img { opacity: 0.88; }
.post-card .card-body { padding: 1.6rem 0 0; border-top: 1px solid var(--hairline); margin-top: 1.4rem; }
.post-card h3 { font-size: 25px; line-height: 1.18; }
.post-card:hover h3 { color: var(--sage-deep); }
.post-card .card-pillar {
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 500;
  margin-bottom: 0.8rem;
}
.post-card p { font-size: 15px; color: var(--olive-grey); line-height: 1.7; margin-top: 0.6rem; }
.post-card .read-on {
  margin-top: 1.1rem;
  font-size: 12px;
  font-weight: 500;
  color: var(--sage);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ── Blog: post pages ───────────────────────── */
.post-header { padding: 110px 1.75rem 60px; text-align: center; }
.post-header .section-label { margin-bottom: 1.4rem; }
.post-header h1 { font-size: clamp(34px, 5.6vw, 56px); line-height: 1.08; max-width: 820px; margin-left: auto; margin-right: auto; }
.post-header .post-sub {
  font-family: var(--display);
  font-size: 21px;
  font-style: italic;
  font-weight: 400;
  color: var(--olive-grey);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}
.post-meta { margin-top: 1.75rem; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--olive-grey); }
.post-hero-img { max-width: 860px; margin: 0 auto; padding: 20px 1.75rem 0; }
.post-hero-img img { width: 100%; border-radius: 2px; display: block; }
.post-hero-img img.portrait { max-width: 460px; margin: 0 auto; }
.post-body { padding: 70px 1.75rem 100px; }
.post-body .section-inner--narrow > * + * { margin-top: 1.45rem; }
.post-body p { font-size: 17px; line-height: 1.9; }
.post-body h2 { font-size: clamp(27px, 3.4vw, 36px); margin-top: 3.6rem; }
.post-body h3 { margin-top: 2.6rem; font-size: 24px; }
.post-body ul, .post-body ol { padding-left: 1.4rem; }
.post-body li { margin-top: 0.6rem; font-size: 17px; line-height: 1.8; }
.post-body blockquote {
  font-family: var(--display);
  font-size: 25px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink);
  background: var(--cream);
  border-left: 2px solid var(--sage);
  padding: 2rem 2.25rem;
  margin: 3rem 0;
  border-radius: 2px;
}
.post-body img { width: 100%; border-radius: 2px; }
.post-footer-nav { text-align: center; padding: 0 1.75rem 110px; }
.post-footer-nav .btn-primary, .post-footer-nav .btn-secondary { margin: 0.4rem 0.35rem; }

/* ── Quote block (About etc.) ───────────────── */
blockquote {
  font-family: var(--display);
  font-style: italic;
}

/* ── Forms
/* ── Footer social ──────────────────────────── */
.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.75rem;
  margin-bottom: 1.4rem;
}
.footer-social a {
  color: rgba(244, 241, 235, 0.5);
  border: none;
  display: inline-flex;
  transition: color 0.25s;
}
.footer-social a:hover { color: var(--ivory); }
