/* ============================================
   CAROL L. SIROT : DESIGN SYSTEM
   Warm cream · Deep sapphire & aged gold · Heritage & dignity
============================================ */

:root {
  --cream:   #F7F3EC; /* Warm cream background */
  --warm-w:  #EEEAE0; /* Slightly darker warm off-white */
  --parch:   #E3DDD1; /* Soft warm parchment contrast */
  --ink:     #4A7A1E; /* Main green (headings, nav, buttons) */
  --ink-2:   #3B3B35; /* Warm charcoal for body text */
  --mid:     #3B3B35; /* text secondary color */
  --soft:    #6B6B5E; /* placeholder & meta text */
  --border:  #D6CFC1; /* soft warm border */
  --rust:    #6BAF2A; /* Accent hover color */
  --gold:    #C9A84C; /* aged gold secondary heritage accent */
  --dark:    #1A3A24; /* deep forest navy/green for shadow overlay contrast */

  --serif:  Georgia, "Times New Roman", serif;
  --sans:   Verdana, Geneva, sans-serif;

  --gutter: clamp(24px, 5.5vw, 96px);
  --max:    1400px;
  --ease:   cubic-bezier(0.25, 0.1, 0.25, 1);
  --eout:   cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 18px; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink-2);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.75;
}
img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
button { font-family: inherit; }

body { animation: pgFade .5s ease both; }
@keyframes pgFade { from { opacity: 0; } to { opacity: 1; } }

/* ══════════════════════════════════════
   NAV
══════════════════════════════════════ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  transition: background .4s var(--ease), box-shadow .4s;
}
.nav.scrolled {
  background: rgba(247,243,236,.97);
  border-bottom: 3px double var(--gold);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  transition: color .2s;
  line-height: 1;
}
.nav-logo:hover { color: var(--rust); }

/* Home page dynamic logo branding */
.brand-text-default {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  display: inline-block;
  transition: opacity 0.25s ease;
}
.brand-text-scrolled {
  display: none !important;
}
.brand-dots {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}
.nav.scrolled .brand-text-default {
  display: none !important;
}
.nav.scrolled .brand-text-scrolled {
  display: inline-block !important;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  text-transform: none;
  letter-spacing: normal;
  animation: fadeInLogo 0.25s ease-out;
}
.nav.scrolled .brand-dots {
  display: none !important;
}
@keyframes fadeInLogo {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mid);
  transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--rust);
  transition: width .3s var(--eout);
}
.nav-links a:hover,
.nav-links a.active { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  padding: .65rem 1.8rem;
  border: 1.5px solid var(--ink);
  font-size: 0.9rem !important;
  font-weight: 500;
  color: var(--ink) !important;
  letter-spacing: .12em;
  transition: background .25s, color .25s, border-color .25s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--rust); border-color: var(--rust); color: white !important; }

/* Hamburger */
.hamburger {
  display: none;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
}
.hamburger-text {
  display: none;
}
.hamburger-box {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.hamburger-box span {
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  transition: transform .3s var(--eout), opacity .3s;
}
.hamburger.open .hamburger-box span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .hamburger-box span:nth-child(2) { opacity: 0; }
.hamburger.open .hamburger-box span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Slide-in drawer overlay (behind drawer) ── */
.nav-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 8888;
  cursor: pointer;
}
.nav-drawer-overlay.open { display: block; }

/* ── Left slide-in drawer ──────────────────── */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 82vw;
  max-width: 320px;
  height: 100%;
  height: 100dvh;
  background: var(--cream);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 5rem 2rem 3rem;
  gap: 0;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 4px 0 30px rgba(0,0,0,0.12);
  box-sizing: border-box;
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }

/* Drawer brand name at top */
.mobile-nav::before {
  content: 'Carol L. Sirot';
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--rust);
  letter-spacing: 0.05em;
  position: absolute;
  top: 1.6rem;
  left: 2rem;
}

/* Close ✕ button */
.mobile-nav-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
  padding: 0.5rem 0.7rem;
  font-family: sans-serif;
  opacity: 0.6;
}
.mobile-nav-close:hover { opacity: 1; color: var(--rust); }

/* Nav links — left-aligned inside drawer */
.mobile-nav a {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.8rem;
  color: var(--ink);
  padding: 1rem 0;
  text-align: left;
  width: 100%;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, padding-left 0.2s;
  letter-spacing: 0.02em;
  display: block;
}
.mobile-nav a:first-of-type { border-top: 1px solid var(--border); }
.mobile-nav a:hover { color: var(--rust); padding-left: 0.4rem; }

/* ══════════════════════════════════════
   SHARED UTILITIES: ALL FONTS BIG
══════════════════════════════════════ */
.eyebrow {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 1.25rem;
}

/* Buttons */
.btn-filled {
  display: inline-block;
  padding: 1.05rem 2.8rem;
  background: var(--rust);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: white;
  border: none;
  cursor: pointer;
  transition: background .25s;
}
.btn-filled:hover { background: var(--ink); }

.btn-outline {
  display: inline-block;
  padding: 1.05rem 2.8rem;
  border: 1.5px solid var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
  transition: background .25s, color .25s;
}
.btn-outline:hover { background: var(--ink); color: white; }

.btn-outline-light {
  display: inline-block;
  padding: 1.05rem 2.8rem;
  border: 1.5px solid rgba(255,255,255,.4);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  transition: background .25s, color .25s, border-color .25s;
}
.btn-outline-light:hover { background: white; color: var(--ink); border-color: white; }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--eout), transform .8s var(--eout);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════
   HOME: HERO
══════════════════════════════════════ */
.hero {
  padding-top: 72px;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--warm-w);
  transition: background-color 0.8s ease-in-out;
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem var(--gutter);
  gap: 2.5rem;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--rust);
}
.hero-eyebrow::before {
  content: '';
  width: 28px; height: 1.5px;
  background: var(--rust);
  flex-shrink: 0;
}
.hero-name {
  font-family: var(--serif);
  font-size: clamp(4rem, 8vw, 8.5rem);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.02em;
  color: var(--ink);
}
.hero-name em,
.about-hero-h1 em { font-style: normal; font-weight: 300; display: block; }

.hero-desc {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  line-height: 1.7;
  color: var(--mid);
  max-width: 38ch;
}
.hero-actions {
  display: flex;
  gap: 1rem;
}
.hero-actions a {
  flex: 1;
  text-align: center;
  padding: 1.05rem 1.5rem;
  white-space: nowrap;
}

.hero-media { position: relative; overflow: hidden; }

/* Inline video (mobile only — hidden on desktop) */
.hero-media-inline {
  display: none;
  width: 100%;
  overflow: hidden;
  margin-bottom: 1rem;
}
.hero-video-inline {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.hero-video {
  position: absolute;
  top: 5%;
  left: 5%;
  width: 90%;
  height: 90%;
  object-fit: contain;
  display: block;
}

/* Home Screen Theme Selector Styles */
.theme-selector-container {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.theme-label {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--soft);
}
.theme-options {
  display: flex;
  gap: 0.75rem;
}
.theme-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
  position: relative;
  padding: 0;
}
.theme-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px solid transparent;
  border-radius: 50%;
  transition: border-color 0.25s;
}
.theme-dot:hover {
  transform: scale(1.15);
  border-color: var(--ink);
}
.theme-dot.active::after {
  border-color: var(--ink);
}
.hero-media-tag {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem;
  background: rgba(250,248,244,.92);
  backdrop-filter: blur(8px);
  padding: .7rem 1.25rem;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-2);
}

/* ══════════════════════════════════════
   HOME: INTRO BAND
══════════════════════════════════════ */
.intro-band {
  background: var(--warm-w);
  padding: 5.5rem var(--gutter);
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.intro-band-quote {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  color: var(--ink);
  max-width: 44ch;
  line-height: 1.6;
  font-weight: 400;
}
.intro-band-attr {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--rust);
  font-weight: 600;
}

/* ══════════════════════════════════════
   HOME: WORKS PREVIEW
══════════════════════════════════════ */
.home-works {
  padding: 7rem var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.home-works-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
  gap: 2rem; flex-wrap: wrap;
}
.home-works-title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.05;
}
.home-works-sub {
  font-size: 1.2rem;
  color: var(--mid);
  max-width: 36ch;
  line-height: 1.75;
  text-align: right;
}

/* 2-col feature grid */
.home-works-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
}
.hwi {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--parch);
}
.hwi-tall { grid-row: span 2; }
.hwi-tall img { aspect-ratio: 3/4; height: 100%; object-fit: cover; }
.hwi:not(.hwi-tall) img { aspect-ratio: 4/3; width: 100%; object-fit: cover; }
.hwi img { display: block; width: 100%; transition: transform .65s var(--eout); }
.hwi:hover img { transform: scale(1.04); }
.hwi-over {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(20,16,9,.72) 0%, transparent 55%);
  opacity: 0; transition: opacity .35s;
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 1.5rem;
}
.hwi:hover .hwi-over { opacity: 1; }
.hwi-label {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: white;
}
.hwi-med {
  font-size: 0.85rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.6); margin-top: .3rem;
}
.home-works-footer { margin-top: 2.5rem; text-align: center; }

/* ══════════════════════════════════════
   HOME: ABOUT STRIP
══════════════════════════════════════ */
.home-about {
  background: var(--parch);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.home-about-img { overflow: hidden; position: relative; min-height: 520px; }
.home-about-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.home-about-text {
  display: flex; flex-direction: column;
  justify-content: center; gap: 2rem;
  padding: 5rem var(--gutter);
}
.home-about-headline {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 3.5vw, 3.5rem);
  font-weight: 500;
  color: var(--ink); line-height: 1.15;
}
.home-about-body {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.85;
  color: var(--ink-2);
}

/* ══════════════════════════════════════
   HOME: SCROLLING GALLERY STRIP
══════════════════════════════════════ */
.home-gallery-strip {
  padding: 5rem 0;
  overflow: hidden;
}
.home-gallery-strip-header {
  padding: 0 var(--gutter) 2.5rem;
  max-width: var(--max); margin: 0 auto;
  display: flex; justify-content: space-between;
  align-items: baseline; gap: 1rem; flex-wrap: wrap;
}
.home-gallery-strip-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 500;
  color: var(--ink);
}
.gallery-scroll {
  display: flex;
  gap: 14px;
  padding: 0 var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.gallery-scroll::-webkit-scrollbar { display: none; }
.gs-item {
  flex: 0 0 300px;
  scroll-snap-align: start;
  overflow: hidden; cursor: pointer;
  background: var(--parch);
}
.gs-item img {
  width: 100%; height: 400px;
  object-fit: cover; display: block;
  transition: transform .6s var(--eout);
}
.gs-item:hover img { transform: scale(1.04); }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.site-footer {
  background: var(--ink);
  padding: 4.5rem var(--gutter) 2.5rem;
  border-top: 3px double var(--gold);
}
.pomegranate-motif {
  color: var(--gold);
  display: block;
  margin-bottom: 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
  margin-bottom: 2rem;
}
.footer-brand-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.75rem;
  color: white;
  margin-bottom: .75rem;
}
.footer-brand-desc {
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(255,255,255,.38);
  max-width: 30ch;
}
.footer-col-title {
  font-size: 0.85rem;
  letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.28);
  margin-bottom: 1.25rem;
  font-weight: 600;
}
.footer-col-links { display: flex; flex-direction: column; gap: .75rem; }
.footer-col-links a {
  font-size: 1.1rem;
  color: rgba(255,255,255,.55);
  transition: color .2s;
}
.footer-col-links a:hover { color: white; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,.3);
  flex-wrap: nowrap;
  gap: 1rem;
  white-space: nowrap;
}

/* ══════════════════════════════════════
   WORK PAGE
══════════════════════════════════════ */
.page-banner {
  padding-top: 72px;
  background: var(--warm-w);
  border-bottom: 1px solid var(--border);
}
.page-banner-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem var(--gutter);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.page-banner-title {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  font-weight: 500;
  color: var(--ink); line-height: .95;
}
.page-banner-desc {
  font-size: 1.05rem;
  color: var(--mid);
  line-height: 1.8;
  max-width: 40ch;
}

/* Medium filter tabs */
/* Desktop filter tabs (original styles) */
.medium-filter {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem var(--gutter) 0;
  display: flex;
  gap: .4rem;
  flex-wrap: nowrap;
  overflow: hidden;
}
.mf-btn {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .65rem 1.1rem;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--mid);
  cursor: pointer;
  transition: all .25s;
  white-space: nowrap;
}
.mf-btn:hover { border-color: var(--ink); color: var(--ink); }
.mf-btn.active {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}

.sub-filter {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem var(--gutter) 0;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  transition: all 0.3s ease;
}
.sub-btn {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: transparent;
  color: var(--mid);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.sub-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: rgba(74, 122, 30, 0.04);
}
.sub-btn.active {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}

/* Custom Dropdown Filters */
.filter-sheet[hidden], .filter-popover[hidden] {
  display: none !important;
}
.gallery-filters-bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem var(--gutter);
  display: none; /* Hidden on desktop by default */
  gap: 1.5rem;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.filter-dropdown-container {
  position: relative;
  display: inline-block;
}
.filter-trigger-btn {
  font-family: var(--sans);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.8rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
  user-select: none;
}
.filter-trigger-btn:hover {
  border-color: var(--ink);
  background: rgba(74, 122, 30, 0.02);
}
.filter-trigger-btn[aria-expanded="true"] .chevron-icon {
  transform: rotate(180deg);
}
.filter-label {
  font-size: 0.85rem;
  color: var(--mid);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}
.filter-value {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
}
.chevron-icon {
  color: var(--mid);
  transition: transform 0.25s;
}

/* Popover Dropdown (Desktop) */
.filter-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 1000;
  min-width: 220px;
  background: #FFFDF9;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(26,58,36,0.08);
  padding: 0.6rem 0;
  animation: popoverFadeIn 0.2s ease-out;
}
@keyframes popoverFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.filter-options-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.filter-option {
  font-family: var(--serif);
  font-size: 1.05rem;
  padding: 0.7rem 1.25rem;
  color: var(--mid);
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
  text-align: left;
}
.filter-option:hover {
  background: rgba(74, 122, 30, 0.04);
  color: var(--ink);
}
.filter-option.active {
  background: rgba(74, 122, 30, 0.08);
  color: var(--ink);
  font-weight: 600;
}

/* Custom Bottom Drawer Sheets (Mobile) */
.filter-sheet {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: opacity 0.3s ease;
}
.filter-sheet-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 25, 20, 0.4);
  backdrop-filter: blur(8px);
  animation: overlayFadeIn 0.3s ease-out;
}
@keyframes overlayFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.filter-sheet-content {
  position: relative;
  z-index: 10001;
  width: 100%;
  max-width: 500px;
  background: #FFFDF9;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.15);
  box-sizing: border-box;
  padding: 2rem 1.5rem calc(2rem + env(safe-area-inset-bottom));
  transform: translateY(0);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: sheetSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes sheetSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.filter-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.2rem;
  margin-bottom: 1.5rem;
}
.filter-sheet-title {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
}
.filter-sheet-close {
  background: transparent;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--mid);
  padding: 0.4rem;
  transition: color 0.2s;
}
.filter-sheet-close:hover {
  color: var(--ink);
}
.filter-sheet-options {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-height: 50vh;
  overflow-y: auto;
}
.filter-sheet-option {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  padding: 1.1rem 1.5rem;
  border-radius: 12px;
  color: var(--mid);
  cursor: pointer;
  transition: all 0.2s;
  background: transparent;
  user-select: none;
  border: 1px solid transparent;
  text-align: left;
}
.filter-sheet-option:active, .filter-sheet-option:hover {
  background: rgba(74, 122, 30, 0.04);
  color: var(--ink);
}
.filter-sheet-option.active {
  background: rgba(74, 122, 30, 0.08);
  border-color: rgba(74, 122, 30, 0.2);
  color: var(--ink);
  font-weight: 600;
}

/* Gallery masonry */
.gallery-masonry {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem var(--gutter) 6rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
}
.gallery-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 36px;
  min-width: 0;
}
.gm-item {
  width: 100%;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: var(--parch);
  aspect-ratio: 4 / 3;
}
.gm-item:hover img { transform: scale(1.04); }

/* ── Image loading skeleton + blur-up ── */
.gm-item img {
  width: 100%; height: auto;
  display: block;
  transition: transform .6s var(--eout), opacity 0.45s ease, filter 0.45s ease;
  opacity: 0;
  filter: blur(8px);
}
.gm-item img.img-loaded {
  opacity: 1;
  filter: blur(0);
}

/* Shimmer skeleton while image loads */
.gm-item::before {
  content: '';
  display: block;
  background: linear-gradient(
    90deg,
    var(--parch) 0%,
    var(--warm-w) 40%,
    var(--parch) 80%
  );
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite ease-in-out;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 0;
  transition: opacity 0.3s ease;
}
.gm-item.img-done::before {
  opacity: 0;
  pointer-events: none;
}
.gm-item img { position: relative; z-index: 1; }
.gm-overlay { z-index: 2; }

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.gm-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(20,16,9,.75) 0%, transparent 50%);
  opacity: 0; transition: opacity .35s;
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 1.5rem;
}
.gm-item:hover .gm-overlay { opacity: 1; }
.gm-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: white;
}
.gm-med {
  font-size: 0.85rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.6); margin-top: .3rem;
}
/* Hidden items for filter */
.gm-item.hidden { display: none; }

/* ══════════════════════════════════════
   ABOUT PAGE
══════════════════════════════════════ */
.about-hero {
  padding-top: 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 88vh;
  background: var(--warm-w);
}
.about-hero-img { overflow: hidden; }
.about-hero-img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
}
.about-hero-text {
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 5rem var(--gutter) 4rem;
  border-left: 1px solid var(--border);
  gap: 1.5rem;
}
.about-hero-h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 500;
  color: var(--ink); line-height: .95;
}
.about-hero-lead {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  color: var(--mid);
  line-height: 1.7; max-width: 38ch;
}

/* About body */
.about-body {
  max-width: var(--max);
  margin: 0 auto;
  padding: 6rem var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: stretch;
}
.about-body p {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.9;
  color: var(--ink-2);
  margin-bottom: 1.5rem;
}
.about-pull {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  color: var(--ink);
  border-left: 3px solid var(--rust);
  padding-left: 1.5rem;
  line-height: 1.5;
  margin: 2.5rem 0;
}
.about-actions {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
}
.about-actions a {
  flex: 1;
  text-align: center;
  padding: 1.05rem 1.5rem;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .about-actions {
    flex-direction: column;
  }
}
.about-img-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  height: 100%;
}
.about-artwork-img {
  width: 100%;
  flex: 1;
  min-height: 0;
  object-fit: contain;
  display: block;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

@media (max-width: 768px) {
  .about-img-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: auto;
    gap: 0.6rem;
  }
  .about-artwork-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
  }
}

/* ══════════════════════════════════════
   CONTACT PAGE: BOLD & BEAUTIFUL
══════════════════════════════════════ */
.contact-page {
  padding-top: 72px;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-sizing: border-box;
}

/* Left: dark, bold, statement */
.contact-left {
  background: var(--ink);
  padding: 4rem var(--gutter) 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  box-sizing: border-box;
}
.contact-left-top { display: flex; flex-direction: column; gap: 2rem; }
.contact-eyebrow {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact-heading {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 500;
  color: white;
  line-height: .9;
  letter-spacing: -.02em;
}
.contact-subline {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  color: rgba(255,255,255,.45);
  line-height: 1.65;
  max-width: 34ch;
}

.contact-topics { display: flex; flex-direction: column; }
.contact-topic {
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex; flex-direction: column; gap: .3rem;
}
.contact-topic:first-child { border-top: 1px solid rgba(255,255,255,.08); }
.contact-topic-tag {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold);
}
.contact-topic-name {
  font-family: var(--serif);
  font-size: 1.45rem;
  color: rgba(255,255,255,.8);
}

.contact-note {
  font-size: 0.95rem;
  color: rgba(255,255,255,.28);
  line-height: 1.5;
}
.contact-left-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.contact-copyright {
  font-size: 0.85rem;
  color: rgba(255,255,255,.3);
  font-family: var(--sans);
}

/* Right: warm, clean form with big inputs */
.contact-right {
  background: var(--cream);
  padding: 4rem var(--gutter) 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--border);
  box-sizing: border-box;
}
.contact-form { display: flex; flex-direction: column; gap: 2.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.form-field { display: flex; flex-direction: column; gap: .6rem; }
.form-field label {
  font-size: 0.85rem;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--soft); font-weight: 600;
}
.form-field input,
.form-field select,
.form-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--border);
  padding: 1rem 0;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--ink);
  outline: none; width: 100%;
  transition: border-color .25s;
  -webkit-appearance: none;
  border-radius: 0;
  line-height: 1.5;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--soft);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--rust); }
.form-field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a89f94' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 2rem;
}
.form-field textarea { resize: none; min-height: 120px; }

.form-submit {
  background: var(--rust);
  color: white;
  border: none;
  padding: 1.3rem 3rem;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s;
  width: 100%;
}
.form-submit:hover { background: var(--ink); }

/* ══════════════════════════════════════
   LIGHTBOX
══════════════════════════════════════ */
.lb-overlay {
  position: fixed; inset: 0;
  background: rgba(247, 243, 236, 0.96);
  z-index: 900;
  opacity: 0; pointer-events: none;
  transition: opacity .4s;
  backdrop-filter: blur(8px);
}
.lb-overlay.open { opacity: 1; pointer-events: all; }
.lb {
  position: fixed; inset: 0;
  z-index: 901;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  pointer-events: none;
}
.lb.open {
  display: flex;
  pointer-events: all;
}
.lb-inner {
  display: flex; flex-direction: column;
  align-items: center; gap: 1.5rem;
}
.lb-img {
  max-height: 80vh; max-width: 88vw;
  object-fit: contain;
  box-shadow: 0 20px 50px rgba(27, 58, 107, 0.12);
}
.lb-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.2rem;
}
.lb-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--ink);
  font-weight: 400;
}
.lb-med {
  font-size: 0.72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mid);
  font-family: var(--sans);
  font-weight: 500;
}
.lb-count {
  font-size: 0.7rem;
  color: var(--soft);
  font-family: var(--sans);
}
.lb-btn {
  position: fixed;
  background: var(--cream);
  border: 1px solid var(--border);
  color: var(--ink);
  width: 48px; height: 48px;
  display: flex; align-items: center;
  justify-content: center;
  font-size: 1rem; cursor: pointer;
  transition: opacity .25s ease, border-color .2s, color .2s, background-color .2s;
  z-index: 902;
  opacity: 0;
  pointer-events: none;
}
#lb-close {
  top: 1.5rem;
  right: 1.5rem;
  border-radius: 50%;
  font-size: .8rem;
  opacity: 0.7;
  pointer-events: auto;
}
#lb-close:hover {
  opacity: 1;
  border-color: var(--gold);
  color: var(--gold);
}
#lb-prev  { left: 1.5rem; top: 50%; transform: translateY(-50%); border-radius: 50%; }
#lb-next  { right: 1.5rem; top: 50%; transform: translateY(-50%); border-radius: 50%; }

/* Hover zones for slide arrows */
.lb-arrow-zone {
  position: fixed;
  top: 0;
  height: 100%;
  width: 25%;
  z-index: 901;
  cursor: pointer;
}
.lb-arrow-zone-left { left: 0; }
.lb-arrow-zone-right { right: 0; }

.lb-arrow-zone-left:hover ~ #lb-prev,
#lb-prev:hover {
  opacity: 1;
  pointer-events: auto;
}
.lb-arrow-zone-right:hover ~ #lb-next,
#lb-next:hover {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 768px) {
  .lb-arrow-zone { display: none; }
  #lb-prev, #lb-next { display: none !important; }
}


/* ══════════════════════════════════════
   LEGAL PAGES
   ══════════════════════════════════════ */
.legal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 120px var(--gutter) 6rem;
}
.legal-title-group {
  margin-bottom: 2.5rem;
}
.legal-title {
  font-family: Georgia, serif;
  font-size: 32px;
  color: #2D5A3D;
  margin-bottom: 0.5rem;
  font-weight: normal;
  line-height: 1.25;
}
.legal-date {
  font-size: 0.9rem;
  color: #6B6B5E;
}
.legal-container h2 {
  font-family: Georgia, serif;
  font-size: 20px;
  color: #2D5A3D;
  border-bottom: 1px solid #C9A84C;
  padding-bottom: 0.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-weight: normal;
}
.legal-container p {
  font-family: Verdana, sans-serif;
  font-size: 18px;
  line-height: 1.8;
  color: #3B3B35;
  margin-bottom: 1.5rem;
}
.legal-container ul, .legal-container ol {
  font-family: Verdana, sans-serif;
  font-size: 18px;
  line-height: 1.8;
  color: #3B3B35;
  margin-left: 1.75rem;
  margin-bottom: 1.5rem;
}
.legal-container li {
  margin-bottom: 0.5rem;
}
.legal-container a {
  color: #4A7A1E;
  text-decoration: underline;
  transition: color 0.2s;
}
.legal-container a:hover {
  color: #6BAF2A;
}
.legal-blockquote {
  border: 1px solid #C9A84C;
  background-color: rgba(238, 234, 224, 0.4);
  padding: 1.5rem;
  margin: 2rem 0;
  border-left: 4px solid #C9A84C;
}
.legal-blockquote p {
  font-style: italic;
  font-size: 19px !important;
  margin-bottom: 0 !important;
}

/* Footer Legal Links */
.footer-legal-links {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: center;
}
.footer-legal-links a {
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.25s;
  font-size: inherit;
  white-space: nowrap;
}
.footer-legal-links a:hover {
  color: white;
}
.footer-legal-sep {
  color: rgba(255, 255, 255, 0.15);
  font-weight: 300;
  font-size: inherit;
  white-space: nowrap;
}
.footer-attribution {
  color: rgba(255, 255, 255, 0.25);
  font-size: inherit;
  white-space: nowrap;
}
.footer-attribution a {
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.25s;
  text-decoration: underline;
  font-size: inherit;
  white-space: nowrap;
}
.footer-attribution a:hover {
  color: white;
}
.mobile-featured-artwork {
  display: none;
}

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 1080px) {
  .nav-links, .nav-cta-wrap { display: none; }
  .mobile-featured-artwork {
    display: block;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box;
  }
  .mobile-featured-artwork img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0 !important;
  }
  .hamburger { display: flex; }
  .footer-bottom { flex-wrap: wrap; justify-content: center; text-align: center; gap: 1rem; }

  .medium-filter {
    gap: 0.3rem;
  }
  .mf-btn {
    font-size: 0.72rem;
    padding: 0.6rem 0.85rem;
  }

  /* Hero: single column */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 3rem;
  }
  /* Show inline video below name, hide desktop right panel */
  .hero-media-inline { display: block; }
  .hero-media { display: none; }

  /* Buttons: keep side by side on tablet */
  .hero-actions { flex-direction: row; gap: 0.75rem; }
  .hero-actions a { flex: 1; text-align: center; white-space: nowrap; }

  /* Hide theme color dots on tablet/mobile */
  .theme-selector-container { display: none; }

  .home-about { grid-template-columns: 1fr; }
  .home-about-img { min-height: 60vw; }

  .home-works-grid { grid-template-columns: 1fr 1fr; }
  .hwi-tall { grid-row: span 1; }
  .hwi-tall img { aspect-ratio: 4/3; height: auto; }

  .about-hero { grid-template-columns: 1fr; min-height: auto; }
  .about-hero-img { height: 65vw; }
  .about-hero-text { border-left: none; border-top: 1px solid var(--border); padding: 3rem var(--gutter); }

  .about-body { grid-template-columns: 1fr; gap: 3rem; }

  .gallery-masonry { gap: 24px; }
  .gallery-col { gap: 24px; }

  .contact-page {
    grid-template-columns: 1fr;
    height: auto !important;
    overflow: visible !important;
  }
  .contact-left,
  .contact-right {
    height: auto !important;
    padding: 4rem var(--gutter) !important;
  }
  .contact-right { border-left: none; border-top: 1px solid var(--border); }

  /* Footer: 2-column layout */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 640px) {
  html { font-size: 15px; }
  .hero-name { font-size: clamp(2.8rem, 11vw, 4.5rem); }
  /* Buttons: side by side on phone too */
  .hero-actions { flex-direction: row; gap: 0.6rem; }
  .hero-actions a { flex: 1; font-size: 0.8rem; padding: 0.9rem 0.6rem; text-align: center; }
  /* Footer: 2-column compact grid */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-brand { grid-column: span 2; }
  .footer-col-links { display: flex; flex-direction: column; gap: 0.5rem; }
  .gallery-masonry { gap: 16px; }
  .gallery-col { gap: 16px; }
  .home-works-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .filter-popover { display: none !important; }
  .medium-filter, .sub-filter { display: none !important; }
  .gallery-filters-bar {
    display: flex;
    padding: 1.25rem 4px;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
  }
  .filter-dropdown-container {
    flex: 1;
    min-width: 0;
  }
  .filter-trigger-btn {
    padding: 0.65rem 0.8rem;
    gap: 0.4rem;
    width: 100%;
    justify-content: space-between;
    box-sizing: border-box;
    border-radius: 6px;
  }
  .filter-label {
    font-size: 0.72rem;
    letter-spacing: 0.02em;
  }
  .filter-value {
    font-size: 0.9rem;
  }
  #trigger-main-filter {
    background: var(--ink);
    border-color: var(--ink);
    color: #ffffff;
  }
  #trigger-main-filter .filter-label {
    color: rgba(255, 255, 255, 0.75);
  }
  #trigger-main-filter .filter-value {
    color: #ffffff;
  }
  #trigger-main-filter:hover {
    background: var(--rust);
    border-color: var(--rust);
  }
  #trigger-sub-filter {
    background: #ffffff;
    border-color: var(--border);
    color: var(--ink-2);
  }
  #trigger-sub-filter .filter-label {
    color: var(--soft);
  }
  #trigger-sub-filter .filter-value {
    color: var(--ink);
  }
  #trigger-sub-filter:hover {
    border-color: var(--ink);
    background: rgba(74, 122, 30, 0.04);
  }
  .footer-legal-links { flex-wrap: wrap; gap: 0.4rem; }
  .footer-bottom { font-size: 0.72rem; }
}

/* ── COOKIE CONSENT BANNER ── */
#cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  left: auto;
  z-index: 9999;
  width: min(360px, calc(100vw - 2rem));
  background: #FFFDF9;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow:
    0 4px 6px rgba(26,58,36,0.04),
    0 12px 40px rgba(26,58,36,0.12),
    0 0 0 1px rgba(201,168,76,0.15);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s var(--eout), transform 0.4s var(--eout);
  pointer-events: none;
}
#cookie-banner.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

/* Decorative gold top accent line */
#cookie-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 1.5rem; right: 1.5rem;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 2px 2px 0 0;
}

/* Small cookie icon label */
#cookie-banner-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
#cookie-banner-label span {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--soft);
}

#cookie-banner p {
  font-family: var(--serif);
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 1.1rem;
}
#cookie-banner p a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(74,122,30,0.3);
}
#cookie-banner p a:hover {
  text-decoration-color: var(--ink);
}

.cookie-btns {
  display: flex;
  gap: 0.6rem;
}
#cookie-accept {
  flex: 1;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.6rem 1rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
#cookie-accept:hover {
  background: #3a6018;
  transform: translateY(-1px);
}
#cookie-accept:active { transform: translateY(0); }

#cookie-decline {
  background: transparent;
  color: var(--soft);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.6rem 1rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
#cookie-decline:hover {
  border-color: var(--soft);
  color: var(--ink-2);
}

@media (max-width: 480px) {
  #cookie-banner {
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    border-radius: 16px 16px 0 0;
    transform: translateY(100%);
  }
  #cookie-banner.visible { transform: translateY(0); opacity: 1; }
}
