@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=DM+Sans:wght@300;400;500&display=swap');

/* ── Tokens ─────────────────────────────────────────────────────── */
:root {
  --cream:        #F4EDE0;
  --cream-dark:   #EBE0CE;
  --cream-deeper: #DDD0B8;
  --green:        #2C4A35;
  --green-mid:    #3D6147;
  --green-light:  #5C8A68;
  --green-muted:  #7BA68A;
  --gold:         #B8922A;
  --gold-light:   #D4AC4A;
  --gold-pale:    #E8CC85;
  --ink:          #1C1812;
  --ink-mid:      #3A3228;
  --ink-light:    #6B5F50;
  --ink-faint:    #9C907E;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;

  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  8rem;

  --radius-sm: 4px;
  --max-w: 1100px;
}

/* ── Reset ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

a { color: inherit; text-decoration: none; }

/* ── Scroll Reveal ──────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Nav ────────────────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-nav.scrolled {
  border-bottom-color: var(--cream-deeper);
  box-shadow: 0 2px 24px rgba(44, 74, 53, 0.06);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-light);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--green);
  transition: width 0.25s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover,
.nav-links a.active { color: var(--green); font-weight: 500; }

/* ── Hero ───────────────────────────────────────────────────────── */
#about {
  position: relative;
  overflow: hidden;
}

/* large faded watermark behind the whole hero */
#about::before {
  content: 'MG';
  position: absolute;
  top: 50%;
  right: -2rem;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(14rem, 22vw, 22rem);
  font-weight: 700;
  font-style: italic;
  color: var(--cream-dark);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.06em;
}

.hero {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 112px 40px 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* gold radial glow top-right */
.hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle at 70% 30%, rgba(184,146,42,0.1) 0%, transparent 65%);
  pointer-events: none;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 4.5vw, 4.5rem);
  font-weight: 300;
  line-height: 0.97;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 1.75rem;
}
.hero-headline em { font-style: italic; color: var(--green); }

.hero-body {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.8;
  margin-bottom: 2.25rem;
  max-width: 40ch;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-photo-wrap {
  position: relative;
  width: 280px;
  height: 280px;
}
.hero-photo-wrap::before {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px solid var(--gold-pale);
  opacity: 0.5;
}
.hero-photo-wrap::after {
  content: '';
  position: absolute;
  inset: -28px;
  border-radius: 50%;
  border: 1px solid var(--cream-deeper);
  opacity: 0.6;
}
.hero-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}

/* ── Social row ─────────────────────────────────────────────────── */
.social-row { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.social-link {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mid);
  border: 1.5px solid var(--cream-deeper);
  padding: 7px 15px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.social-link:hover {
  border-color: var(--green);
  color: var(--green);
}

/* ── Now strip ──────────────────────────────────────────────────── */
.now-strip {
  background: var(--cream);
  border-top: 1px solid var(--cream-deeper);
  border-bottom: 1px solid var(--cream-deeper);
  padding: 32px 32px;
}
.now-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.now-row {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
}
.now-label {
  font-family: var(--font-body), 'DM Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold, #B8922A);
  min-width: 72px;
  flex-shrink: 0;
}
.now-text {
  font-family: var(--font-display), 'Cormorant Garamond', Georgia, serif;
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 300;
  color: var(--ink-light, #6B5F50);
  line-height: 1.5;
}

/* ── Marquee ────────────────────────────────────────────────────── */
.marquee-wrap {
  overflow: hidden;
  background: var(--green);
  padding: 15px 0;
  cursor: default;
}
.marquee-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: marquee 26s linear infinite;
  will-change: transform;
}
.marquee-item {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 300;
  color: var(--cream);
  opacity: 0.8;
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 4px;
  position: relative;
  transition: opacity 0.2s;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}
.marquee-item::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 4px; right: 4px;
  height: 1px;
  background: var(--gold-light);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.marquee-item:hover { opacity: 1; }
.marquee-item:hover::after { transform: scaleX(1); }
.marquee-item--active {
  opacity: 1;
  color: var(--gold-pale);
}
.marquee-item--active::after { transform: scaleX(1); }

.marquee-sep { color: var(--gold-light); opacity: 0.55; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Filter clear pill ──────────────────────────────────────────── */
.filter-clear {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--ink-faint);
  letter-spacing: 0.05em;
}
.filter-clear.hidden { display: none; }
#filter-label {
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
#filter-clear-btn {
  background: none;
  border: 1px solid var(--cream-deeper);
  color: var(--ink-light);
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  padding: 4px 10px;
  transition: border-color 0.2s, color 0.2s;
}
#filter-clear-btn:hover { border-color: var(--green); color: var(--green); }

/* ── Card dimmed / matched states ───────────────────────────────── */
.card.card--dimmed {
  display: none;
}
.card.card--matched {
  border-left: 3px solid var(--gold-pale);
}

/* ── Sections ───────────────────────────────────────────────────── */
.section {
  padding: 96px 40px;
  border-top: 1px solid var(--cream-deeper);
}
.section-alt { background: var(--cream-dark); }

.section-inner { max-width: var(--max-w); margin: 0 auto; }

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 3rem;
  gap: 2rem;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.1;
}
.section-title em { font-style: italic; color: var(--green); }

/* ── Divider ────────────────────────────────────────────────────── */
.divider-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}
.divider {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 16px 0;
}
.divider-line { flex: 1; height: 1px; background: var(--cream-deeper); }
.divider-ornament { color: var(--gold); font-size: 0.85rem; }

/* ── Cards ──────────────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

/* Asymmetric editorial grid: 7+5, 5+7, 7+5, 5+7 */
.card-grid .card:nth-child(1) { grid-column: span 7; }
.card-grid .card:nth-child(2) { grid-column: span 5; }
.card-grid .card:nth-child(3) { grid-column: span 5; }
.card-grid .card:nth-child(4) { grid-column: span 7; }
.card-grid .card:nth-child(5) { grid-column: span 7; }
.card-grid .card:nth-child(6) { grid-column: span 5; }
.card-grid .card:nth-child(7) { grid-column: span 5; }
.card-grid .card:nth-child(8) { grid-column: span 7; }

/* personal grid is equal halves */
.card-grid.card-grid-equal .card:nth-child(1),
.card-grid.card-grid-equal .card:nth-child(2) { grid-column: span 6; }

/* filtered state: drop nth-child spans, reflow into equal columns */
.card-grid.card-grid--filtered { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card-grid.card-grid--filtered .card { grid-column: span 1 !important; }

.card {
  background: var(--cream);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--cream-deeper);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(44, 74, 53, 0.12);
}

.card-thumb {
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
/* taller thumbs for wide cards */
.card-grid .card:nth-child(1) .card-thumb,
.card-grid .card:nth-child(4) .card-thumb,
.card-grid .card:nth-child(5) .card-thumb,
.card-grid .card:nth-child(8) .card-thumb { height: 200px; }
.card-thumb { height: 148px; }

.card-thumb-text {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(244,237,224,0.2);
  letter-spacing: -0.04em;
  user-select: none;
}
.card-thumb-gold  { background: var(--gold); }
.card-thumb-ink   { background: var(--ink-mid); }
.card-thumb-media { background: #000; }

.card-thumb-video,
.card-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.card-body { padding: 1.4rem 1.6rem 1.75rem; }

.card-tag {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.55rem;
}
.card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 0.6rem;
}
.card-excerpt {
  font-size: 0.83rem;
  color: var(--ink-light);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 1.1rem;
}
.card-link {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s ease;
}
.card-link:hover { gap: 0.6rem; }

/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  border-radius: 0;
  transition: all 0.25s ease;
  text-decoration: none;
}
.btn-primary { background: var(--green); color: var(--cream); padding: 14px 28px; }
.btn-primary:hover { background: var(--green-mid); color: var(--cream); }

.btn-outline {
  background: transparent;
  color: var(--green);
  padding: 13px 27px;
  border: 1.5px solid var(--green);
}
.btn-outline:hover { background: var(--green); color: var(--cream); }

.btn-ghost { background: transparent; color: var(--ink-mid); padding: 0; font-size: 0.78rem; }
.btn-ghost .arrow { display: inline-block; transition: transform 0.2s ease; }
.btn-ghost:hover .arrow { transform: translateX(5px); }

.btn-row { display: flex; gap: 1.25rem; flex-wrap: wrap; align-items: center; }

/* ── Contact ────────────────────────────────────────────────────── */
.contact-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: start;
}

.contact-heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.0;
  color: var(--ink);
  margin-bottom: 1.75rem;
}
.contact-heading em { font-style: italic; color: var(--green); }

.contact-body {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.8;
  margin-bottom: 2.25rem;
  max-width: 42ch;
}

.contact-aside-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 1.25rem;
}

.contact-location {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--ink-light);
  margin-bottom: 2rem;
  line-height: 1.5;
}

/* ── Footer ─────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--cream-deeper);
  padding: 2rem 40px;
}
.site-footer {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--ink-faint);
}
.footer-tagline {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--ink-faint);
}

/* ── Writings / Posts ───────────────────────────────────────────── */
.posts-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 2.5rem;
}

.post-row {
  display: grid;
  grid-template-columns: 160px 1fr 24px;
  gap: 1.5rem;
  align-items: start;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--cream-deeper);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
}
.post-row:first-child { border-top: 1px solid var(--cream-deeper); }
.post-row:hover .post-title { color: var(--green); }
.post-row:hover .post-arrow { transform: translateX(4px); color: var(--green); }

.post-date {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 0.2rem;
  flex-shrink: 0;
}

.post-content {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.post-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}

.post-excerpt {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--ink-light);
  line-height: 1.6;
}

.post-arrow {
  font-size: 1rem;
  color: var(--ink-faint);
  padding-top: 0.2rem;
  transition: transform 0.2s ease, color 0.2s;
  justify-self: end;
}

.posts-footer { padding-top: 0.5rem; }

@media (max-width: 640px) {
  .post-row {
    grid-template-columns: 1fr 24px;
    gap: 1rem;
  }
  .post-date {
    grid-column: 1 / -1;
    padding-bottom: 0;
  }
  .post-content { grid-column: 1; }
  .post-arrow   { grid-column: 2; align-self: center; }
}

/* ── Modal ──────────────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(244, 237, 224, 0.72);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.modal-backdrop.modal--open {
  opacity: 1;
  pointer-events: all;
}

.modal-panel {
  background: var(--cream);
  border: 1px solid var(--cream-deeper);
  border-radius: var(--radius-sm);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(24px);
  transition: transform 0.3s ease;
  outline: none;
  box-shadow: 0 24px 80px rgba(44, 74, 53, 0.15);
}
.modal-backdrop.modal--open .modal-panel {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: 1px solid var(--cream-deeper);
  color: var(--ink-light);
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 1;
  transition: border-color 0.2s, color 0.2s;
}
.modal-close:hover { border-color: var(--green); color: var(--green); }

.modal-thumb {
  width: 100%;
  height: 220px;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-thumb.card-thumb-gold { background: var(--gold); }
.modal-thumb.card-thumb-ink  { background: var(--ink-mid); }

.modal-thumb-text {
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(244,237,224,0.2);
  letter-spacing: -0.04em;
  user-select: none;
}

.modal-media-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.modal-media-img,
.modal-media-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.modal-body { padding: 2rem 2rem 2.5rem; }

.modal-tag {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.modal-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.modal-text {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.75;
  max-width: 56ch;
  margin-bottom: 1.75rem;
}
.modal-footer { display: flex; gap: 1rem; }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
  .card-grid .card { grid-column: span 1 !important; }

  .contact-block { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-inner { padding: 0 24px; }

  #about::before { display: none; }

  .hero {
    grid-template-columns: 1fr;
    padding: 64px 24px 56px;
  }
  .hero-visual { display: none; }

  .section { padding: 64px 24px; }
  .now-strip { padding: 32px 24px; }
  .now-row { flex-direction: column; gap: 0.25rem; }

  .card-grid,
  .card-grid.card-grid-equal { grid-template-columns: 1fr; }

  .site-footer { flex-direction: column; gap: 0.5rem; text-align: center; }
  footer { padding: 1.5rem 24px; }
}
