/* ══════════════════════════════════════════════════════════════════════
   Reset With Me — public design system
   Warm, editorial, photographic. Blush & dusty rose on warm cream.
   ══════════════════════════════════════════════════════════════════════ */

:root {
  --bg: #fdfaf8;
  --bg-soft: #f9f2ed;
  --surface: #ffffff;
  --blush-50: #fbf1ef;
  --blush-100: #f6e3df;
  --blush-200: #efd2cc;
  --rose-300: #e2b3ab;
  --rose-400: #d09a92;
  --rose-500: #b07a72;
  --rose-600: #9a5b53;
  --rose-700: #7f4a43;
  --mauve-200: #dccdd3;
  --mauve-400: #ae96a3;
  --gold-300: #dcc49e;
  --gold-500: #c0a176;
  --gold-600: #a9885c;
  --ink: #45363b;
  --ink-soft: #5e4c52;
  --muted: #97858b;
  --border: #ece0db;
  --border-strong: #e0cfc8;
  --shadow-sm: 0 2px 10px rgba(80, 50, 55, 0.06);
  --shadow-md: 0 14px 36px rgba(80, 50, 55, 0.1);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 1180px;
  --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans: 'Work Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 500; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

:focus-visible { outline: 2px solid var(--rose-500); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blush-200); color: var(--ink); }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--blush-200); border-radius: 6px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--rose-300); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--rose-600); color: #fff; padding: 0.75rem 1.25rem; border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

/* ── Typography helpers ─────────────────────────────────────────────── */
.overline {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin: 0 0 0.9rem;
}
.text-link {
  color: var(--rose-600);
  font-weight: 500;
  position: relative;
}
.text-link::after {
  content: ''; position: absolute; left: 0; bottom: -3px; height: 1.5px; width: 0;
  background: var(--rose-500); transition: width 0.3s ease;
}
.text-link:hover::after { width: 100%; }

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  font-family: var(--font-sans); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--rose-600); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--rose-700); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { border-color: var(--border-strong); color: var(--ink-soft); background: transparent; }
.btn-outline:hover { border-color: var(--rose-500); color: var(--rose-600); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost-light { border-color: rgba(255, 255, 255, 0.85); color: #fff; background: rgba(45, 28, 33, 0.28); backdrop-filter: blur(5px); text-shadow: 0 1px 6px rgba(30, 18, 22, 0.5); }
.btn-ghost-light:hover { background: rgba(45, 28, 33, 0.42); transform: translateY(-2px); }
.btn-small { padding: 0.6rem 1.3rem; font-size: 0.875rem; }

/* ── Header ─────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 250, 248, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand {
  font-family: var(--font-serif); font-size: 1.5rem; letter-spacing: -0.01em; color: var(--ink);
  display: inline-flex; align-items: baseline; gap: 0.35rem;
}
.brand-strong { font-weight: 600; }
.brand-italic { font-style: italic; font-weight: 400; color: var(--rose-600); }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav-link {
  font-size: 0.92rem; font-weight: 500; color: var(--ink-soft);
  position: relative; padding: 0.4rem 0;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--rose-500); border-radius: 2px; transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--rose-600); }
.nav-cta {
  border: 1.5px solid var(--border-strong); border-radius: 999px; padding: 0.5rem 1.25rem !important;
  color: var(--rose-600) !important;
}
.nav-cta::after { display: none; }
.nav-cta:hover { border-color: var(--rose-500); background: var(--blush-50); }
.nav-toggle {
  display: none; background: none; border: none; width: 44px; height: 44px; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 0.75rem 1.5rem 1.25rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-link { padding: 0.85rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--border); }
  .nav-link:last-child { border-bottom: none; }
  .nav-cta { text-align: center; margin-top: 0.75rem; }
}

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero { position: relative; min-height: min(88vh, 860px); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(50, 32, 38, 0.5) 0%, rgba(50, 32, 38, 0.12) 38%, rgba(50, 32, 38, 0.72) 100%);
}
.hero-content { position: relative; text-align: center; color: #fff8f4; padding: 7rem 1.5rem 5rem; max-width: 860px; }
.hero-kicker {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-300); margin: 0 0 1.4rem;
  text-shadow: 0 1px 12px rgba(40, 22, 28, 0.65);
}
.hero-title {
  font-size: clamp(2.7rem, 7vw, 4.7rem); font-weight: 450; line-height: 1.08;
  text-shadow: 0 2px 30px rgba(40, 20, 25, 0.45);
}
.hero-sub { margin: 1.4rem auto 0; max-width: 560px; font-size: 1.13rem; font-weight: 300; color: rgba(255, 248, 244, 0.95); text-shadow: 0 1px 14px rgba(40, 22, 28, 0.6); }
.hero-actions { display: flex; gap: 0.9rem; justify-content: center; margin-top: 2.3rem; flex-wrap: wrap; }
.hero-actions .btn { box-shadow: 0 4px 18px rgba(35, 20, 25, 0.28); }
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  color: #fff; opacity: 0.95; transition: opacity 0.3s ease, transform 0.3s ease;
  filter: drop-shadow(0 1px 8px rgba(40, 22, 28, 0.55));
}
.hero-scroll:hover { opacity: 1; transform: translateX(-50%) translateY(4px); }

/* ── Sections ───────────────────────────────────────────────────────── */
.section { padding-block: clamp(4rem, 9vw, 6.75rem); }
.section-alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(2.4rem, 6vw, 3.6rem); }
.section-head .text-link { margin-top: 0.8rem; display: inline-block; }
.section-title { font-size: clamp(1.9rem, 4vw, 2.7rem); }

/* Welcome */
.welcome-inner { text-align: center; max-width: 760px; }
.welcome-title { font-size: clamp(1.9rem, 4.4vw, 2.9rem); margin-bottom: 1.1rem; }
.welcome-text { color: var(--ink-soft); font-size: 1.1rem; font-weight: 300; }

/* Featured post */
.featured-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.featured-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); aspect-ratio: 3/2; object-fit: cover; width: 100%; transition: transform 0.6s ease; }
.featured-media { overflow: hidden; border-radius: var(--radius-lg); }
.featured-media:hover img { transform: scale(1.03); }
.featured-copy { display: flex; flex-direction: column; justify-content: center; }
.featured-title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 0.4rem 0 0.9rem; }
.featured-title a:hover { color: var(--rose-600); }
.featured-excerpt { color: var(--ink-soft); font-weight: 300; margin: 0 0 1.1rem; }
.featured-meta { display: flex; gap: 1rem; align-items: center; color: var(--muted); font-size: 0.9rem; margin-bottom: 1.6rem; }

/* Categories */
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.category-card {
  background: linear-gradient(155deg, var(--surface) 40%, var(--blush-50));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.9rem 1.7rem 1.7rem; display: flex; flex-direction: column; gap: 0.35rem;
  position: relative; overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.category-card::before {
  content: '❀'; position: absolute; top: -0.5rem; right: 1rem;
  font-size: 3.4rem; color: var(--blush-200); transform: rotate(12deg);
  transition: transform 0.4s ease, color 0.3s ease;
}
.category-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.category-card:hover::before { transform: rotate(0deg) scale(1.08); color: var(--rose-300); }
.category-name { font-family: var(--font-serif); font-size: 1.4rem; color: var(--ink); }
.category-count { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-600); }
.category-desc { color: var(--muted); font-size: 0.92rem; font-weight: 300; }

/* Photo gallery + masonry */
.masonry { columns: 3; column-gap: 1.25rem; }
@media (max-width: 1023px) { .masonry { columns: 2; } }
@media (max-width: 620px) { .masonry { columns: 1; } }
.photo-tile {
  break-inside: avoid; margin: 0 0 1.25rem; position: relative; border-radius: var(--radius);
  overflow: hidden; cursor: pointer; box-shadow: var(--shadow-sm);
}
.photo-tile img { width: 100%; height: auto; transition: transform 0.6s ease; }
.photo-tile:hover img { transform: scale(1.04); }
.photo-caption {
  position: absolute; inset: auto 0 0 0; margin: 0; padding: 2.6rem 1.1rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(45, 28, 33, 0.72));
  color: #fff; font-family: var(--font-serif); font-style: italic; font-size: 1rem;
  opacity: 0; transform: translateY(8px); transition: opacity 0.35s ease, transform 0.35s ease;
}
.photo-tile:hover .photo-caption, .photo-tile:focus-visible .photo-caption { opacity: 1; transform: none; }
.home-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.home-gallery .photo-tile { margin: 0; aspect-ratio: 3/3.4; }
.home-gallery .photo-tile img { height: 100%; object-fit: cover; }
@media (max-width: 820px) { .home-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .home-gallery { grid-template-columns: 1fr 1fr; gap: 0.8rem; } }

/* Posts grid & cards */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
@media (max-width: 960px) { .posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .posts-grid { grid-template-columns: 1fr; } }
.post-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card-media { display: block; overflow: hidden; aspect-ratio: 3/2; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.post-card:hover .card-media img { transform: scale(1.05); }
.card-media-empty { display: flex; align-items: center; justify-content: center; background: var(--blush-100); }
.card-media-empty span { font-family: var(--font-serif); font-size: 3rem; color: var(--rose-400); }
.card-body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.card-meta { display: flex; align-items: center; gap: 0.6rem; font-size: 0.8rem; color: var(--muted); }
.card-cat {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--rose-600); background: var(--blush-50); border: 1px solid var(--blush-200);
  padding: 0.28rem 0.7rem; border-radius: 999px;
}
.card-title { font-size: 1.3rem; line-height: 1.3; }
.card-title a:hover { color: var(--rose-600); }
.card-excerpt { color: var(--ink-soft); font-weight: 300; font-size: 0.98rem; margin: 0; flex: 1; }
.card-date::before { content: '·'; margin-right: 0.6rem; color: var(--border-strong); }
.card-foot { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 0.83rem; padding-top: 0.35rem; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 3rem; flex-wrap: wrap; }
.page-link {
  min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 999px; color: var(--ink-soft); font-size: 0.95rem;
  transition: all 0.25s ease;
}
.page-link:hover { border-color: var(--rose-400); color: var(--rose-600); }
.page-link.current { background: var(--rose-600); border-color: var(--rose-600); color: #fff; }

/* Chips & filters */
.chip-row { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.chip {
  border: 1px solid var(--border-strong); background: var(--surface); border-radius: 999px;
  padding: 0.5rem 1.1rem; font-size: 0.88rem; font-weight: 500; color: var(--ink-soft);
  transition: all 0.25s ease;
}
.chip:hover { border-color: var(--rose-400); color: var(--rose-600); }
.chip.active { background: var(--rose-600); border-color: var(--rose-600); color: #fff; }
.chip em { font-style: normal; font-size: 0.75rem; opacity: 0.75; }
.filter-group { margin-top: 1.2rem; text-align: center; }
.filter-label { display: block; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.6rem; }
.blog-tools { padding-top: clamp(2.4rem, 5vw, 3.6rem); }

/* Search form */
.search-form { display: flex; gap: 0.7rem; max-width: 560px; margin: 0 auto 1.4rem; }
.search-form input {
  flex: 1; padding: 0.72rem 1.2rem; border: 1.5px solid var(--border); border-radius: 999px;
  font-size: 0.95rem; font-family: inherit; background: var(--surface); color: var(--ink);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.search-form .btn { padding: 0.66rem 1.3rem; }
.search-form input:focus { outline: none; border-color: var(--rose-400); box-shadow: 0 0 0 4px rgba(208, 154, 146, 0.18); }

/* Page hero */
.page-hero { padding: clamp(3.4rem, 8vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem); text-align: center; }
.page-title { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
.page-subtitle { color: var(--ink-soft); font-weight: 300; max-width: 620px; margin: 1rem auto 0; }
.gallery-tools { padding-top: 0.5rem; }

/* Albums */
.album-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4rem; }
.album-card { display: block; border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow-sm); width: min(340px, 100%); }
.album-cover { aspect-ratio: 4/5; position: relative; }
.album-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.album-card:hover .album-cover img { transform: scale(1.05); }
.album-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: var(--blush-100); font-family: var(--font-serif); font-size: 3rem; color: var(--rose-400); }
.album-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(45, 28, 33, 0.75)); }
.album-title { position: absolute; inset: auto 0 0 0; padding: 1.4rem 1.2rem 1.1rem; color: #fff; }
.album-title span { font-family: var(--font-serif); font-size: 1.35rem; display: block; }
.album-title em { font-style: normal; font-size: 0.8rem; letter-spacing: 0.1em; color: var(--gold-300); }

/* Quote band */
.quote-band { text-align: center; }
.quote-inner { max-width: 760px; position: relative; }
.quote-mark { font-family: var(--font-serif); font-size: 6rem; line-height: 0.6; color: var(--rose-300); display: block; margin-bottom: 1.2rem; }
.quote-text { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.4rem, 3.4vw, 2rem); font-weight: 400; line-height: 1.45; color: var(--ink); margin: 0; }
.quote-author { margin-top: 1.2rem; color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.8rem; }

/* About teaser */
.about-teaser-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-teaser-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; max-height: 560px; object-fit: cover; }
.about-teaser-copy { display: flex; flex-direction: column; justify-content: center; }
.about-teaser-copy .section-title { margin-bottom: 1rem; }
.about-teaser-text { color: var(--ink-soft); font-weight: 300; margin: 0 0 1.6rem; }

/* About page */
.about-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.about-photo img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; }
.about-title { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 1.2rem; }
.about-content .prose p:first-child { margin-top: 0; }
.about-socials { display: flex; gap: 0.7rem; margin-top: 1.8rem; flex-wrap: wrap; }
@media (max-width: 860px) {
  .about-layout, .about-teaser-grid, .featured-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 480px; }
}

/* Contact */
.contact-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-form-wrap .card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); }

/* Forms */
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 0.45rem; }
.field input, .field textarea, .newsletter-form input {
  width: 100%; padding: 0.85rem 1.1rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 0.98rem; color: var(--ink); background: var(--bg);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .newsletter-form input:focus {
  outline: none; border-color: var(--rose-400); box-shadow: 0 0 0 4px rgba(208, 154, 146, 0.18); background: #fff;
}
.form-note { margin: 0.9rem 0 0; font-size: 0.9rem; color: var(--rose-600); min-height: 1.2em; }
.form-note.ok { color: #5d8a6b; }

/* Newsletter */
.newsletter-band { background: linear-gradient(160deg, var(--blush-100), var(--blush-50) 55%, var(--bg-soft)); }
.newsletter-inner { text-align: center; max-width: 620px; }
.newsletter-title { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 0.7rem; }
.newsletter-text { color: var(--ink-soft); font-weight: 300; margin: 0 0 1.8rem; }
.newsletter-form { display: flex; gap: 0.7rem; }
.newsletter-form input { background: #fff; border-radius: 999px; }
.newsletter-form input:focus { background: #fff; }
@media (max-width: 560px) { .newsletter-form { flex-direction: column; } .newsletter-form .btn { width: 100%; } }

/* Footer */
.site-footer { background: #3a2b31; color: #e8dcd8; margin-top: 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 0.8fr 1fr; gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(3rem, 7vw, 4.5rem) 2.5rem;
}
.footer-logo { font-family: var(--font-serif); font-size: 1.6rem; color: #f7ece8; margin-bottom: 0.8rem; }
.footer-logo .brand-italic { color: var(--rose-300); }
.footer-tagline { color: rgba(232, 220, 216, 0.72); font-weight: 300; max-width: 300px; margin: 0 0 1.4rem; }
.footer-social { display: flex; gap: 0.7rem; }
.footer-social-link {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(232, 220, 216, 0.35);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; color: #f7ece8;
  transition: all 0.25s ease;
}
.footer-social-link:hover { background: var(--rose-600); border-color: var(--rose-600); transform: translateY(-2px); }
.footer-heading { font-family: var(--font-serif); font-size: 1.05rem; color: #f7ece8; margin-bottom: 1rem; }
.footer-nav { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-nav a { color: rgba(232, 220, 216, 0.8); font-size: 0.95rem; transition: color 0.25s ease, transform 0.25s ease; width: fit-content; }
.footer-nav a:hover { color: var(--gold-300); transform: translateX(3px); }
.footer-news p { color: rgba(232, 220, 216, 0.72); font-weight: 300; font-size: 0.92rem; margin: 0 0 1rem; }
.footer-news-form input { background: rgba(255, 255, 255, 0.1); border-color: rgba(232, 220, 216, 0.4); color: #fff; }
.footer-news-form input::placeholder { color: rgba(232, 220, 216, 0.55); }
.footer-news-form input:focus { background: rgba(255, 255, 255, 0.14); border-color: var(--rose-400); box-shadow: 0 0 0 4px rgba(208, 154, 146, 0.25); }
.footer-news-form .btn { background: var(--rose-600); color: #fff; }
.footer-news-form .btn:hover { background: var(--rose-700); }
.footer-bottom { border-top: 1px solid rgba(232, 220, 216, 0.14); padding-block: 1.4rem; }
.footer-bottom p { margin: 0; font-size: 0.85rem; color: rgba(232, 220, 216, 0.55); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; } }

/* Single post */
.post-header { text-align: center; padding: clamp(3rem, 7vw, 5rem) 0 0; }
.post-meta { display: flex; align-items: center; justify-content: center; gap: 0.7rem; color: var(--muted); font-size: 0.88rem; flex-wrap: wrap; }
.post-title { font-size: clamp(2.1rem, 5.4vw, 3.5rem); max-width: 900px; margin: 1.1rem auto 0; }
.post-deck { max-width: 660px; margin: 1.1rem auto 0; color: var(--ink-soft); font-weight: 300; font-size: 1.15rem; }
.post-hero-media { margin-top: clamp(2rem, 5vw, 3.2rem); }
.post-hero-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.post-layout { display: grid; grid-template-columns: 64px 1fr; gap: 1rem; margin-top: clamp(2.2rem, 5vw, 3.4rem); }
.post-aside { position: sticky; top: 100px; align-self: start; }
.share-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--border-strong);
  background: var(--surface); color: var(--ink-soft); display: flex; align-items: center; justify-content: center;
  transition: all 0.25s ease;
}
.share-btn:hover { border-color: var(--rose-500); color: var(--rose-600); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
@media (max-width: 720px) {
  .post-layout { grid-template-columns: 1fr; }
  .post-aside { position: static; display: flex; justify-content: center; }
}

/* Prose */
.prose { max-width: 70ch; font-size: 1.08rem; line-height: 1.85; color: var(--ink-soft); }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 1.75rem; color: var(--ink); margin: 2.2em 0 0.7em; }
.prose h3 { font-size: 1.35rem; color: var(--ink); margin: 1.8em 0 0.6em; }
.prose p { margin: 0 0 1.35em; }
.prose a { color: var(--rose-600); text-decoration: underline; text-decoration-color: var(--rose-300); text-underline-offset: 3px; transition: color 0.2s ease; }
.prose a:hover { color: var(--rose-700); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose blockquote {
  margin: 1.8em 0; padding: 0.4em 0 0.4em 1.6em; border-left: 3px solid var(--gold-500);
  font-family: var(--font-serif); font-style: italic; font-size: 1.2rem; color: var(--ink);
}
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 1.4em; }
.prose li { margin-bottom: 0.5em; }
.prose figure { margin: 2em 0; }
.prose figure img { border-radius: var(--radius); box-shadow: var(--shadow-sm); width: 100%; }
.prose figcaption { font-size: 0.88rem; color: var(--muted); font-style: italic; text-align: center; margin-top: 0.7rem; }
.prose .embed-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.prose .embed-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.prose .embed-gallery img:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 16/7; }
.prose .embed-gallery figcaption { grid-column: 1 / -1; }
.prose img { cursor: zoom-in; }
@media (max-width: 640px) { .prose .embed-gallery { grid-template-columns: 1fr; } }

/* Post footer */
.post-footer { margin-top: clamp(2.5rem, 6vw, 4rem); border-top: 1px solid var(--border); padding-top: 2rem; }
.post-footer-inner { display: flex; flex-direction: column; gap: 1.6rem; }
.tag-row { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.post-nav-link { display: flex; flex-direction: column; gap: 0.25rem; font-family: var(--font-serif); font-size: 1.08rem; color: var(--ink); padding: 1rem 1.2rem; border: 1px solid var(--border); border-radius: var(--radius); transition: all 0.25s ease; }
.post-nav-link span { font-family: var(--font-sans); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.post-nav-link:hover { border-color: var(--rose-400); color: var(--rose-600); transform: translateY(-2px); }
.post-nav-link.right { text-align: right; }
@media (max-width: 640px) { .post-nav { grid-template-columns: 1fr; } }

/* Empty state */
.empty-state { text-align: center; padding: 4rem 1rem; }
.empty-title { font-family: var(--font-serif); font-size: 1.8rem; margin-bottom: 0.5rem; }
.empty-text { color: var(--muted); font-weight: 300; margin: 0 0 1.6rem; }

/* Error page */
.error-page { min-height: 62vh; display: flex; align-items: center; text-align: center; }
.error-inner { margin: 0 auto; }
.error-code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 300; color: var(--rose-400); line-height: 1; margin-bottom: 0.5rem; }
.error-text { color: var(--ink-soft); font-weight: 300; margin: 0 0 2rem; }

/* Lightbox */
.lightbox {
  border: none; padding: 0; margin: 0; background: rgba(28, 16, 20, 0.94);
  width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; color: #fff;
}
.lightbox::backdrop { background: rgba(28, 16, 20, 0.94); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox-inner { position: relative; max-width: min(92vw, 1400px); max-height: 92vh; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 92vw; max-height: 80vh; object-fit: contain; border-radius: 8px; box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5); }
.lightbox-caption { font-family: var(--font-serif); font-style: italic; color: #f3e2dd; margin-top: 1rem; min-height: 1.4em; text-align: center; }
.lightbox-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1); color: #fff; font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center; transition: background 0.25s ease;
}
.lightbox-btn:hover { background: rgba(255, 255, 255, 0.25); }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-close { position: absolute; top: 1.5rem; right: 1.5rem; width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(255,255,255,0.12); color: #fff; font-size: 1.1rem; }
.lightbox-close:hover { background: rgba(255,255,255,0.25); }
.lightbox-counter { position: absolute; top: 1.7rem; left: 1.7rem; font-size: 0.85rem; letter-spacing: 0.12em; color: rgba(255,255,255,0.7); }
@media (max-width: 700px) {
  .lightbox-btn { width: 42px; height: 42px; font-size: 1.1rem; }
  .lightbox-prev { left: 0.6rem; } .lightbox-next { right: 0.6rem; }
}

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
