/*
Theme Name: My Hygge Moment
Theme URI: https://myhyggemoment.com
Author: Solstice Creative Studio
Author URI: https://solsticecreative.studio
Description: A warm editorial lifestyle theme. Simple pleasures, shared with those we love.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: myhyggemoment
Tags: blog, lifestyle, editorial, custom-colors, featured-images, full-width-template
*/

/* ── DESIGN TOKENS ─────────────────────────────────────────────────────────── */
:root {
  --linen:     #F5F0E8;
  --parchment: #E8DFD0;
  --walnut:    #2C2420;
  --sage:      #7A8C6E;
  --clay:      #B8856A;
  --gold:      #C4A882;
  --white:     #FDFAF6;
  --muted:     #8A7F75;

  /* Typography */
  --f-wordmark: 'Croissant One', cursive;
  --f-nav:      'Caudex', serif;
  --f-body:     'Sorts Mill Goudy', serif;

  /* Glass menu */
  --glass-bg:     rgba(32, 26, 22, 0.52);
  --glass-border: rgba(253, 250, 246, 0.18);
  --glass-blur:   28px;
}

/* ── RESET ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--linen);
  color: var(--walnut);
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── HEADER ─────────────────────────────────────────────────────────────────── */
#site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(to bottom, rgba(245,240,232,0.97) 0%, rgba(245,240,232,0) 100%);
  pointer-events: none;
}

.site-wordmark {
  font-family: var(--f-wordmark);
  font-size: 16px; letter-spacing: 0.06em;
  color: var(--walnut);
  pointer-events: all;
  opacity: 0; transition: opacity 0.4s;
}
.site-wordmark.visible { opacity: 1; }

/* Hamburger */
.hamburger-btn {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(30,22,18,0.45);
  border: 1px solid rgba(240,234,224,0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
  cursor: pointer; pointer-events: all;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
  transition: background 0.2s;
}
.hamburger-btn:hover { background: rgba(30,22,18,0.65); }
.hamburger-btn span {
  display: block; width: 16px; height: 1px;
  background: rgba(240,234,224,0.9);
  transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
  transform-origin: center;
}
.hamburger-btn.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── MENU OVERLAY ───────────────────────────────────────────────────────────── */
.menu-overlay {
  position: fixed; inset: 0;
  background: rgba(44,36,32,0.2);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 190;
  opacity: 0; pointer-events: none;
  transition: opacity 0.45s;
}
.menu-overlay.open { opacity: 1; pointer-events: all; }

/* ── GLASS MENU PANEL ───────────────────────────────────────────────────────── */
.menu-panel {
  position: fixed; top: 12px; right: 12px;
  width: min(308px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  z-index: 200;

  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.4) brightness(0.72);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.4) brightness(0.72);
  border: 1px solid var(--glass-border);
  border-radius: 20px 20px 22px 18px / 18px 22px 20px 20px;
  box-shadow:
    0 8px 48px rgba(12,8,6,0.45),
    0 2px 10px rgba(12,8,6,0.25),
    inset 0 1px 0 rgba(253,250,246,0.12),
    inset 0 -1px 0 rgba(0,0,0,0.08);

  transform: scale(0.88) translateY(-12px);
  transform-origin: top right;
  opacity: 0; pointer-events: none;
  transition:
    transform 0.45s cubic-bezier(0.16,1,0.3,1),
    opacity 0.35s ease;

  overflow-y: auto; overflow-x: hidden;
  padding: 18px 22px 26px;
  display: flex; flex-direction: column;
  scrollbar-width: none;
}
.menu-panel::-webkit-scrollbar { display: none; }
.menu-panel.open { transform: scale(1) translateY(0); opacity: 1; pointer-events: all; }

/* Glass sheen */
.menu-panel::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 40%;
  background: linear-gradient(to bottom, rgba(253,250,246,0.07) 0%, rgba(253,250,246,0) 100%);
  border-radius: 20px 20px 0 0; pointer-events: none;
}
/* Corner warm tints */
.menu-panel::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(196,168,130,0.22) 0%, transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(122,140,110,0.16) 0%, transparent 50%);
  pointer-events: none;
}

/* ── MENU INTERIOR ──────────────────────────────────────────────────────────── */
.menu-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px; position: relative; z-index: 1;
}
.menu-brand {
  font-family: var(--f-wordmark);
  font-size: 13px; letter-spacing: 0.06em;
  color: rgba(240,234,224,0.82);
}
.menu-close-btn {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(240,234,224,0.1);
  border: 1px solid rgba(240,234,224,0.2);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-nav); font-size: 13px;
  color: rgba(240,234,224,0.78);
  transition: background 0.2s;
}
.menu-close-btn:hover { background: rgba(240,234,224,0.16); }

/* Section labels */
.menu-section-label {
  font-family: var(--f-nav);
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(196,168,130,0.9);
  margin-bottom: 8px; margin-top: 16px;
  position: relative; z-index: 1;
}
.menu-section-label:first-of-type { margin-top: 0; }

/* View toggle */
.view-toggle {
  display: flex;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(240,234,224,0.08);
  border-radius: 10px; padding: 3px; gap: 3px;
  position: relative; z-index: 1;
}
.view-btn {
  flex: 1; padding: 7px 0; border-radius: 7px;
  background: transparent;
  font-family: var(--f-nav);
  font-size: 16px; letter-spacing: 0.04em;
  color: rgba(240,234,224,0.62);
  cursor: pointer; transition: all 0.2s;
}
.view-btn.active {
  background: rgba(240,234,224,0.18);
  color: rgba(240,234,224,0.95);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  border: 1px solid rgba(240,234,224,0.2);
}

/* Grid toggle */
.grid-toggle {
  display: flex; gap: 6px; margin-top: 6px;
  opacity: 0.45; pointer-events: none;
  transition: opacity 0.3s;
  position: relative; z-index: 1;
}
.grid-toggle.enabled { opacity: 1; pointer-events: all; }
.grid-btn {
  flex: 1; padding: 8px 0;
  border: 1px solid rgba(240,234,224,0.2); border-radius: 8px;
  background: transparent;
  font-family: var(--f-nav);
  font-size: 15px; letter-spacing: 0.06em;
  color: rgba(240,234,224,0.7);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  transition: all 0.2s;
}
.grid-btn.active {
  border-color: rgba(122,140,110,0.6);
  color: rgba(140,170,126,0.9);
  background: rgba(122,140,110,0.15);
}
.grid-icon { display: grid; gap: 2px; }
.grid-icon.two   { grid-template-columns: repeat(2, 7px); }
.grid-icon.three { grid-template-columns: repeat(3, 5px); }
.grid-icon span  { display: block; height: 6px; background: currentColor; border-radius: 1px; opacity: 0.85; }

/* Glass divider */
.glass-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(240,234,224,0.14) 25%, rgba(240,234,224,0.14) 75%, transparent);
  margin: 12px 0; flex-shrink: 0;
  position: relative; z-index: 1;
}

/* Primary nav items */
.menu-nav { display: flex; flex-direction: column; position: relative; z-index: 1; }

.menu-nav-item {
  font-family: var(--f-nav);
  font-size: 20px; font-weight: 400;
  color: rgba(240,234,224,0.92);
  padding: 4px 10px; margin: 0 -10px;
  border-radius: 9px; display: block;
  transition: color 0.2s; letter-spacing: 0.01em; line-height: 1.3;
  text-shadow: 0 1px 4px rgba(0,0,0,0.35);
}
.menu-nav-item:hover { color: rgba(170,210,160,0.95); }

/* Selection animation */
.menu-nav-item.selecting,
.menu-dd-trigger.selecting,
.menu-sub-link.selecting,
.menu-secondary-link.selecting {
  animation: selectPop 0.4s cubic-bezier(0.16,1,0.3,1) forwards;
}
@keyframes selectPop {
  0%   { background: rgba(122,140,110,0);    transform: scale(1); }
  40%  { background: rgba(122,140,110,0.13); transform: scale(1.04); color: rgba(170,210,160,0.95); }
  100% { background: rgba(122,140,110,0);    transform: scale(1); }
}

/* Dropdown triggers */
.menu-dd-trigger {
  font-family: var(--f-nav);
  font-size: 20px; font-weight: 400;
  color: rgba(240,234,224,0.92);
  padding: 4px 10px; margin: 0 -10px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: space-between;
  width: calc(100% + 20px);
  cursor: pointer; transition: color 0.2s;
  letter-spacing: 0.01em; line-height: 1.3;
  text-shadow: 0 1px 4px rgba(0,0,0,0.35);
}
.menu-dd-trigger:hover,
.menu-dd-trigger.open { color: rgba(170,210,160,0.95); }

.dd-arrow {
  font-size: 9px; color: rgba(140,170,126,0.8);
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
  margin-left: 4px; font-family: var(--f-nav);
}
.menu-dd-trigger.open .dd-arrow { transform: rotate(180deg); }

/* Dropdown sub-panels */
.menu-dd-sub {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1);
  padding-left: 14px;
  border-left: 1px solid rgba(240,234,224,0.12);
  margin: 1px 0 3px 10px;
}
.menu-dd-sub.open { max-height: 400px; }

.menu-sub-link {
  font-family: var(--f-nav);
  font-size: 14px;
  color: rgba(230,220,205,0.88);
  padding: 5px 8px; margin: 0 -8px; border-radius: 7px;
  display: flex; align-items: center; gap: 7px;
  transition: all 0.18s; letter-spacing: 0.04em;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.menu-sub-link:hover { color: rgba(240,234,224,0.95); background: rgba(240,234,224,0.08); }

.sub-icon { font-size: 12px; width: 16px; text-align: center; }

/* Season items */
.season-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(140,170,126,0.9);
  opacity: 0; flex-shrink: 0; transition: opacity 0.2s;
}
.season-now {
  font-size: 8px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(140,170,126,0.85); margin-left: auto;
  font-family: var(--f-nav);
}
.menu-sub-link.current-season { color: rgba(170,210,160,0.95); }
.menu-sub-link.current-season .season-dot { opacity: 1; }

/* Secondary links */
.menu-secondary { display: flex; flex-direction: column; position: relative; z-index: 1; }
.menu-secondary-link {
  font-family: var(--f-nav);
  font-size: 19px;
  color: rgba(240,234,224,0.78);
  padding: 4px 10px; margin: 0 -10px; border-radius: 7px;
  display: block; transition: all 0.18s; letter-spacing: 0.05em;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.menu-secondary-link:hover { color: rgba(240,234,224,0.95); background: rgba(240,234,224,0.07); }

/* Menu footer */
.menu-footer {
  margin-top: auto; padding-top: 14px;
  border-top: 1px solid rgba(240,234,224,0.1);
  position: relative; z-index: 1;
}
.menu-tagline {
  font-family: var(--f-body);
  font-style: italic; font-size: 18px;
  color: rgba(220,200,170,0.8);
  line-height: 1.65; letter-spacing: 0.02em;
}

/* ── HERO ───────────────────────────────────────────────────────────────────── */
.hero-section {
  height: 100svh; position: relative; overflow: hidden;
  display: flex; align-items: flex-end; padding: 48px 24px;
}
.hero-section .hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(44,36,32,0.58) 0%, transparent 55%);
}
.hero-content { position: relative; z-index: 1; color: var(--white); }

.hero-eyebrow {
  font-family: var(--f-nav);
  font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(253,250,246,0.7); margin-bottom: 12px;
}
.hero-title {
  font-family: var(--f-body);
  font-size: clamp(36px, 9vw, 50px); font-weight: 400;
  line-height: 1.1; letter-spacing: -0.01em; margin-bottom: 14px;
}
.hero-title em { font-style: italic; }
.hero-sub {
  font-family: var(--f-nav);
  font-size: 13px; letter-spacing: 0.07em;
  color: rgba(253,250,246,0.75); margin-bottom: 24px;
}
.hero-cta {
  font-family: var(--f-nav);
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--white);
  border-bottom: 1px solid rgba(253,250,246,0.4); padding-bottom: 4px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: border-color 0.2s;
}
.hero-cta:hover { border-color: var(--white); }

/* ── EDITORIAL FEED ─────────────────────────────────────────────────────────── */
.editorial-feed {
  padding: 52px 22px;
  display: flex; flex-direction: column; gap: 50px;
  max-width: 760px; margin: 0 auto;
}

.feed-section-label {
  font-family: var(--f-nav);
  font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 18px;
  display: flex; align-items: center; gap: 12px;
}
.feed-section-label::after { content: ''; flex: 1; height: 1px; background: var(--parchment); }

.article-card { display: flex; flex-direction: column; }
.article-card .card-image {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: 4px; margin-bottom: 14px; transition: opacity 0.3s;
}
.article-card:hover .card-image { opacity: 0.9; }

.card-meta {
  font-family: var(--f-nav);
  font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 7px;
}
.card-title {
  font-family: var(--f-body);
  font-size: 23px; line-height: 1.25; margin-bottom: 9px; color: var(--walnut);
}
.card-excerpt {
  font-family: var(--f-body);
  font-size: 14px; line-height: 1.8; color: var(--muted);
}
.card-read {
  font-family: var(--f-nav);
  font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--clay); margin-top: 11px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap 0.2s;
}
.article-card:hover .card-read { gap: 10px; }

/* ── EXPLORE / GALLERY ──────────────────────────────────────────────────────── */
.explore-notice {
  text-align: center; padding: 18px 20px 4px;
}
.explore-notice p {
  font-family: var(--f-nav);
  font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted);
}

.gallery-grid { columns: 2; column-gap: 0; }
.gallery-grid.cols-3 { columns: 3; }

.gallery-tile {
  position: relative; break-inside: avoid;
  cursor: pointer; overflow: hidden; display: block;
}
.gallery-tile img {
  width: 100%; display: block;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.tile-overlay {
  position: absolute; inset: 0;
  background: rgba(44,36,32,0); transition: background 0.35s;
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 14px 10px;
}
.tile-info { opacity: 0; transform: translateY(6px); transition: all 0.3s; }
.tile-category {
  font-family: var(--f-nav);
  font-size: 8px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--sage); display: flex; align-items: center; gap: 5px; margin-bottom: 3px;
}
.tile-category::before { content: ''; display: block; width: 10px; height: 1px; background: var(--sage); }
.tile-title {
  font-family: var(--f-body);
  font-size: 13px; line-height: 1.2; color: var(--white);
}
.tile-read {
  font-family: var(--f-nav);
  font-size: 8px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(253,250,246,0.55); margin-top: 5px;
}

.gallery-tile.revealed .tile-overlay { background: rgba(44,36,32,0.55); }
.gallery-tile.revealed .tile-info    { opacity: 1; transform: translateY(0); }
.gallery-tile.revealed img           { transform: scale(1.03); }

@media (hover: hover) {
  .gallery-tile:hover .tile-overlay { background: rgba(44,36,32,0.5); }
  .gallery-tile:hover .tile-info    { opacity: 1; transform: translateY(0); }
  .gallery-tile:hover img            { transform: scale(1.03); }
  .gallery-tile.revealed .tile-overlay { background: rgba(44,36,32,0); }
  .gallery-tile.revealed .tile-info    { opacity: 0; }
  .gallery-tile.revealed img           { transform: scale(1); }
}

/* ── INFINITE SCROLL ────────────────────────────────────────────────────────── */
.load-sentinel { height: 44px; display: flex; align-items: center; justify-content: center; }
.load-dots { display: flex; gap: 6px; opacity: 0; transition: opacity 0.3s; }
.load-dots.visible { opacity: 1; }
.load-dots span {
  width: 4px; height: 4px; border-radius: 50%; background: var(--gold);
  animation: dotPulse 1.4s ease-in-out infinite;
}
.load-dots span:nth-child(2) { animation-delay: 0.2s; }
.load-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dotPulse {
  0%,80%,100% { opacity: 0.3; transform: scale(0.8); }
  40%         { opacity: 1;   transform: scale(1); }
}

.breathing-moment {
  padding: 28px 24px; text-align: center; column-span: all;
}
.breathing-moment p {
  font-family: var(--f-body); font-style: italic; font-size: 15px;
  color: var(--muted); letter-spacing: 0.02em; line-height: 1.65;
}

/* ── SINGLE POST ────────────────────────────────────────────────────────────── */
.post-hero {
  height: min(65vw, 420px); position: relative; overflow: hidden;
}
.post-hero img { width: 100%; height: 100%; object-fit: cover; }
.post-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(44,36,32,0.3) 0%, transparent 60%);
}

.post-body { padding: 32px 24px 80px; max-width: 720px; margin: 0 auto; }

.post-category {
  font-family: var(--f-nav);
  font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 12px;
}
.post-title {
  font-family: var(--f-body);
  font-size: clamp(28px, 7vw, 40px); font-weight: 400;
  line-height: 1.15; margin-bottom: 16px;
}
.post-byline {
  font-family: var(--f-nav);
  font-size: 11px; letter-spacing: 0.08em; color: var(--muted);
  padding-bottom: 28px; margin-bottom: 28px;
  border-bottom: 1px solid var(--parchment);
}
.post-content p {
  font-family: var(--f-body); font-size: 16px; line-height: 1.85;
  color: var(--walnut); margin-bottom: 22px;
}
.post-content h2 {
  font-family: var(--f-body); font-size: 26px; margin: 36px 0 16px;
}
.post-content h3 {
  font-family: var(--f-body); font-size: 20px; margin: 28px 0 12px;
}
.post-content blockquote {
  border-left: 2px solid var(--sage); padding-left: 20px; margin: 32px 0;
  font-family: var(--f-body); font-size: 20px; font-style: italic;
  line-height: 1.55; color: var(--walnut);
}
.post-content img { width: 100%; border-radius: 4px; margin: 28px 0; }
.post-content ul, .post-content ol { padding-left: 20px; margin-bottom: 22px; }
.post-content li { font-family: var(--f-body); font-size: 16px; line-height: 1.75; margin-bottom: 6px; }
.post-content a { color: var(--clay); border-bottom: 1px solid rgba(184,133,106,0.3); }
.post-content a:hover { border-color: var(--clay); }

/* Post navigation */
.post-nav {
  margin-top: 52px; display: flex; justify-content: space-between; gap: 16px;
  padding-top: 28px; border-top: 1px solid var(--parchment);
}
.post-nav-label {
  font-family: var(--f-nav);
  font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 6px;
}
.post-nav-title {
  font-family: var(--f-body);
  font-size: 16px; line-height: 1.3; color: var(--walnut);
}

/* ── CATEGORY PAGE ──────────────────────────────────────────────────────────── */
.category-header {
  padding: 100px 24px 36px;
  border-bottom: 1px solid var(--parchment);
}
.category-eyebrow {
  font-family: var(--f-nav);
  font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 10px;
}
.category-title {
  font-family: var(--f-body);
  font-size: clamp(32px, 8vw, 52px); font-weight: 400;
}
.category-description {
  font-family: var(--f-body);
  font-size: 14px; font-style: italic; color: var(--muted);
  margin-top: 10px; max-width: 480px; line-height: 1.65;
}
.category-feed {
  padding: 40px 22px; display: flex; flex-direction: column; gap: 40px;
  max-width: 760px; margin: 0 auto;
}

/* ── PAGINATION ─────────────────────────────────────────────────────────────── */
.pagination {
  padding: 0 24px 48px;
  display: flex; justify-content: center; gap: 16px;
}
.pagination a, .pagination span {
  font-family: var(--f-nav);
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); padding: 6px 0; transition: color 0.2s;
}
.pagination a:hover { color: var(--sage); }
.pagination .current { color: var(--walnut); border-bottom: 1px solid var(--walnut); }

/* ── FOOTER ─────────────────────────────────────────────────────────────────── */
.site-footer {
  padding: 48px 24px 36px;
  border-top: 1px solid var(--parchment);
  text-align: center; background: var(--linen);
}
.footer-wordmark {
  font-family: var(--f-wordmark);
  font-size: 20px; letter-spacing: 0.05em; color: var(--walnut); margin-bottom: 6px;
}
.footer-tagline {
  font-family: var(--f-body); font-style: italic; font-size: 13px;
  color: var(--muted); margin-bottom: 24px; line-height: 1.6;
}
.footer-nav {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px 22px; margin-bottom: 24px;
}
.footer-nav a {
  font-family: var(--f-nav);
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); transition: color 0.2s;
}
.footer-nav a:hover { color: var(--sage); }
.footer-copy {
  font-family: var(--f-nav);
  font-size: 11px; color: var(--muted); letter-spacing: 0.04em;
}

/* ── TILE FADE ──────────────────────────────────────────────────────────────── */
.tile-fade { animation: tileIn 0.5s ease both; }
@keyframes tileIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── UTILITY ────────────────────────────────────────────────────────────────── */
.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;
}

/* ── RESPONSIVE ─────────────────────────────────────────────────────────────── */
@media (min-width: 768px) {
  .gallery-grid   { columns: 3; }
  .gallery-grid.cols-3 { columns: 4; }
}
@media (min-width: 1024px) {
  .gallery-grid        { columns: 4; }
  .gallery-grid.cols-3 { columns: 5; }
}
