/* ============================================================
   Kerry Simmons — Fine Artist
   Editorial gallery design: cream paper, ink text, serif voice.
   ============================================================ */

:root {
  /* the site is a designed light theme; keep OS dark mode from inverting
     form controls (search, sort) into unreadable combinations */
  color-scheme: light;
  --paper: #faf8f3;
  --paper-alt: #f1ede4;
  --ink: #1d1b18;
  --ink-soft: #56524b;
  --line: #e2dcd0;
  --accent: #8a6f4d;          /* warm umber */
  --accent-dark: #6e5739;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
  --max: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

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

/* ---------- Typography ---------- */

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
}

h1 { font-size: clamp(2.6rem, 7vw, 5rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.35rem; }

em { font-style: italic; }
h1 em, h2 em { color: var(--accent); }

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 38em;
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* keep clear of the notch / rounded corners on phones (viewport-fit=cover) */
  padding: env(safe-area-inset-top)
           max(clamp(1.2rem, 4vw, 3rem), env(safe-area-inset-right))
           0
           max(clamp(1.2rem, 4vw, 3rem), env(safe-area-inset-left));
  height: calc(72px + env(safe-area-inset-top));
  transition: background 0.35s, box-shadow 0.35s, height 0.35s, transform 0.3s var(--ease);
}

.nav--solid {
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
  height: calc(60px + env(safe-area-inset-top));
}

/* tucked away while the visitor scrolls down through the page */
.nav--hidden { transform: translateY(-100%); }

.nav__logo {
  font-family: var(--serif);
  font-size: 1.45rem;
  letter-spacing: 0.04em;
}

.nav__logo span { color: var(--accent); font-style: italic; }

.nav__links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
}

.nav__links a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, color 0.25s;
}

.nav__links a:hover,
.nav__links a.active { border-color: var(--accent); color: var(--accent-dark); }

/* light nav over dark hero */
.nav--light:not(.nav--solid) { color: #fff; }
.nav--light:not(.nav--solid) .nav__logo span { color: #e8d9bf; }
.nav--light:not(.nav--solid) .nav__links a:hover,
.nav--light:not(.nav--solid) .nav__links a.active { color: #e8d9bf; border-color: #e8d9bf; }

.nav__burger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 30px; height: 22px;
  position: relative;
}
.nav__burger span {
  position: absolute; left: 0;
  width: 100%; height: 2px;
  background: currentColor;
  transition: 0.3s;
}
.nav__burger span:nth-child(1) { top: 0; }
.nav__burger span:nth-child(2) { top: 10px; }
.nav__burger span:nth-child(3) { top: 20px; }

/* phones in EITHER orientation: landscape phones are wider than 820px but
   far too short for the desktop link row, so key off height as well */
@media (max-width: 820px), (max-height: 540px) {
  .nav__burger { display: block; }
  .nav__links {
    position: fixed;
    inset: 0;
    background: var(--paper);
    color: var(--ink);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(0.3rem, 2.2vh, 1rem); /* compresses in phone-landscape */
    font-size: 1.2rem;
    overflow-y: auto;
    /* breathing room inside the notch / home-indicator areas */
    padding: calc(env(safe-area-inset-top) + 1.5rem)
             env(safe-area-inset-right)
             calc(env(safe-area-inset-bottom) + 1.5rem)
             env(safe-area-inset-left);
    transform: translateY(-100%);
    transition: transform 0.4s var(--ease);
  }
  .nav__links.open { transform: translateY(0); }
  /* generous tap targets (44px+): the padding, not just the text, is tappable */
  .nav__links a { font-size: 1.05rem; padding: 0.65rem 1.6rem; }
  /* pin the body (not just overflow:hidden) so the page can't scroll behind the
     menu and doesn't jump to the top — main.js restores the offset on close */
  body.menu-open { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; }
  body.menu-open .nav__burger span:nth-child(1) { top: 10px; transform: rotate(45deg); }
  body.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
  body.menu-open .nav__burger span:nth-child(3) { top: 10px; transform: rotate(-45deg); }
  body.menu-open .nav__burger { color: var(--ink); z-index: 102; }
  .nav__links { z-index: 101; }
}

/* ---------- Collector FAQ ---------- */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}

.faq-item:last-child { border-bottom: none; }

.faq-item dt {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.faq-item dd {
  color: var(--ink-soft);
  margin: 0;
}

.faq-item dd a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- Full-bleed hero ---------- */

.hero {
  position: relative;
  height: 92vh;
  height: 92svh; /* mobile: ignore the collapsing address bar */
  min-height: 540px;
  display: flex;
  align-items: flex-end;
  background-color: #14110d; /* dark base — the video fades in over this, no still image */
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}

/* looping background video fills its banner slot; overlay + text paint above. */
.banner-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* fill the slot edge-to-edge — never letterbox */
  opacity: 0;
  transition: opacity 0.9s ease;
}

/* every banner video starts transparent and fades in once it's actually
   playing — no poster, no still image, so there's nothing to flash before
   the first frame paints (the dark .hero base shows through meanwhile). */
.banner-video.is-playing { opacity: 1; }

/* respect reduced-motion: drop the video, the dark hero base + text remain */
@media (prefers-reduced-motion: reduce) {
  .banner-video { display: none; }
}

.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20, 17, 13, 0.72) 0%, rgba(20, 17, 13, 0.15) 45%, rgba(20, 17, 13, 0.38) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 4vw, 3rem) clamp(3rem, 8vh, 6rem);
}

.hero__inner .tag { color: #e8d9bf; }

/* over artwork, umber accent vanishes — use cream + soft shadow instead */
.hero h1 { text-shadow: 0 2px 28px rgba(20, 17, 13, 0.55); }
.hero h1 em { color: #ecdfc4; }
.hero__inner .tag { text-shadow: 0 1px 12px rgba(20, 17, 13, 0.6); }

.hero p {
  margin-top: 1rem;
  font-size: 1.05rem;
  max-width: 34em;
  color: rgba(255, 255, 255, 0.88);
}

.hero__credit {
  position: absolute;
  right: 1.2rem; bottom: 1rem;
  z-index: 1;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* shorter hero for sub-pages */
.hero--page { height: 62vh; height: 62svh; min-height: 420px; }

/* landscape phones: a 540px-min hero would overflow a ~380px-tall screen */
@media (max-height: 540px) {
  .hero { height: 100svh; min-height: 0; }
  .hero--page { height: 100svh; min-height: 0; }
  .hero__inner { padding-bottom: 2.2rem; }
  .hero h1 { font-size: clamp(2rem, 6vw, 3.2rem); }
  .hero p { font-size: 0.95rem; margin-top: 0.6rem; }
}

/* ---------- Full-bleed art band (no margins, edge to edge) ---------- */

.art-band {
  position: relative;
  height: clamp(320px, 55vh, 560px);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* parallax only on true desktops — iPadOS reports >=1024px but its Safari
   renders background-attachment:fixed incorrectly, so require a fine pointer */
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .art-band--fixed { background-attachment: fixed; }
}

@media (max-width: 600px) {
  .art-band { height: clamp(240px, 38vh, 380px); }
  .art-band__label { bottom: 1.2rem; max-width: 88vw; white-space: normal; text-align: center; }
}

.art-band__label {
  position: absolute;
  left: 50%; bottom: 2rem;
  transform: translateX(-50%);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(20, 17, 13, 0.55);
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  backdrop-filter: blur(4px);
  white-space: nowrap;
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(4rem, 10vh, 7rem) clamp(1.2rem, 4vw, 3rem);
}

.section--alt { background: var(--paper-alt); }

.section__inner { max-width: var(--max); margin: 0 auto; }

.section__head { max-width: 44em; margin-bottom: 3rem; }

.center { text-align: center; }
.center .section__head { margin-left: auto; margin-right: auto; }

/* ---------- Split (2-col) ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}

.split--reverse > .split__media { order: -1; }

.split__media img {
  width: 100%;
  box-shadow: 0 24px 60px -24px rgba(29, 27, 24, 0.35);
}

.split__body p { margin-top: 1.2rem; color: var(--ink-soft); }

@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse > .split__media { order: 0; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.95rem 2.3rem;
  border-radius: 100px;
  border: 1px solid var(--ink);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  cursor: pointer;
  background: transparent;
  color: var(--ink);
}

.btn:hover { background: var(--ink); color: var(--paper); }

.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }

.btn--light { border-color: #fff; color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink); }

/* ---------- Featured categories (home) ---------- */

.collections {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  max-width: var(--max);
  margin: 0 auto;
}

.collection-card {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-alt);
}

.collection-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}

.collection-card:hover img { transform: scale(1.05); }

.collection-card__label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.2rem 1.4rem 1.2rem;
  background: linear-gradient(to top, rgba(20, 17, 13, 0.7), transparent);
  color: #fff;
  font-family: var(--serif);
  font-size: 1.3rem;
}

.collection-card__label small {
  display: block;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 0.2rem;
}

@media (max-width: 820px) {
  .collections { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .collections { grid-template-columns: 1fr; }
  .collection-card { aspect-ratio: 4 / 3; }
}

/* ---------- Pull quote ---------- */

.quote {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  font-style: italic;
  line-height: 1.4;
  max-width: 26em;
  margin: 0 auto;
  text-align: center;
}

.quote footer {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 1.6rem;
}

/* ---------- Gallery ---------- */

.search-bar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  max-width: 460px;
  margin: 0 auto 1.6rem;
  padding: 0.65rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: #fff;
  color: var(--ink-soft);
  transition: border-color 0.4s, box-shadow 0.4s;
}

.search-bar:focus-within {
  border-color: var(--accent);
  box-shadow: 0 6px 24px -12px rgba(29, 27, 24, 0.25);
}

.search-bar svg { width: 17px; height: 17px; flex-shrink: 0; }

.search-bar input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.92rem;
  color: var(--ink);
}

.search-bar input::placeholder { color: #a39d92; }

@media (max-width: 820px) {
  /* 16px minimum stops iOS Safari from auto-zooming on focus */
  .search-bar input { font-size: 16px; }
}

/* larger tap targets on touch devices */
@media (hover: none) {
  .filter-bar button { padding: 0.7rem 1.3rem; }
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  max-width: var(--max);
  margin: 0 auto 3rem;
}

.filter-bar button {
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 1.15rem;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: 0.25s;
}

.filter-bar button:hover { border-color: var(--accent); color: var(--accent-dark); }

.filter-bar button.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.masonry {
  columns: 4 260px;
  column-gap: 1.1rem;
  max-width: var(--max);
  margin: 0 auto;
}

.masonry figure {
  break-inside: avoid;
  margin: 0 0 1.1rem;
  cursor: zoom-in;
  position: relative;
  overflow: hidden;
  background: var(--paper-alt);
}

.masonry img {
  width: 100%;
  transition: transform 1.2s var(--ease), opacity 0.8s;
}

.masonry figure:hover img { transform: scale(1.04); }

/* editorial hover reveal: title, price, a drawn rule, then the artist's note */
.masonry figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 3rem 1.1rem 0.95rem;
  background: linear-gradient(to top,
    rgba(20, 17, 13, 0.88) 0%,
    rgba(20, 17, 13, 0.62) 45%,
    rgba(20, 17, 13, 0.25) 75%,
    transparent 100%);
  color: #fff;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.masonry figure:hover figcaption { opacity: 1; }

.cap-title {
  text-shadow: 0 1px 10px rgba(20, 17, 13, 0.65);
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.3;
  color: #faf8f3;
  text-transform: capitalize;
}

.cap-meta {
  text-shadow: 0 1px 8px rgba(20, 17, 13, 0.7);
  display: block;
  margin-top: 0.15rem;
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e8d9bf;
}

/* a thin umber rule that draws itself before the note appears */
.cap-rule {
  display: block;
  width: 1.8rem;
  height: 1px;
  margin: 0.5rem 0 0.45rem;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease) 0.08s;
}

.masonry figure:hover .cap-rule { transform: scaleX(1); }

.cap-note {
  text-shadow: 0 1px 8px rgba(20, 17, 13, 0.7);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(250, 248, 243, 0.85);
  opacity: 0;
  transform: translateY(7px);
  transition: opacity 0.5s ease 0.16s, transform 0.5s var(--ease) 0.16s;
}

.masonry figure:hover .cap-note {
  opacity: 1;
  transform: translateY(0);
}

/* touch devices have no hover — keep titles visible so works are identifiable;
   the full note lives one tap away in the lightbox */
@media (hover: none) {
  .masonry figcaption { opacity: 1; padding-top: 1.6rem; }
  .cap-rule, .cap-note { display: none; }
}

.gallery-count {
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}

/* ---------- Sale / Sold badges (gallery tiles) ---------- */

.badge {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.32rem 0.75rem;
  border-radius: 100px;
  backdrop-filter: blur(4px);
  pointer-events: none;
}

.badge--sale { background: rgba(250, 248, 243, 0.92); color: var(--accent-dark); }
.badge--sold { background: rgba(29, 27, 24, 0.65); color: rgba(255, 255, 255, 0.85); }
.badge--new { background: var(--accent); color: #fdfbf6; }
.badge--featured { background: rgba(29, 27, 24, 0.78); color: #e8d9bf; }

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 13, 10, 0.93);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 3rem 1rem 2rem;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: min(94vw, 1500px);
  max-height: 82vh;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.lightbox figcaption {
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  margin-top: 1.1rem;
  text-align: center;
}

/* purchase path inside the lightbox */
.lightbox__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin-top: 0.9rem;
  min-height: 2.6rem;
}

.lightbox__price {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: #e8d9bf;
}

.lightbox__buy { padding: 0.7rem 1.8rem; font-size: 0.75rem; }

.lightbox__sold {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.45rem 1.3rem;
  border-radius: 100px;
}

.lightbox__ask {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 2px;
  transition: color 0.25s, border-color 0.25s;
}

.lightbox__ask:hover { color: #fff; border-color: #fff; }

/* the artist's note under the title in the lightbox */
.lightbox__desc {
  display: block;
  margin-top: 0.45rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(250, 248, 243, 0.62);
  max-width: 44em;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* secondary Etsy path next to the primary purchase CTA */
.lightbox__etsy {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  padding-bottom: 2px;
  transition: color 0.25s, border-color 0.25s;
}

.lightbox__etsy:hover { color: #fff; border-color: #fff; }

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  background: none;
  border: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  transition: color 0.2s;
  line-height: 1;
}

.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { color: #fff; }

.lightbox__close { top: 1rem; right: 1.2rem; }
.lightbox__prev { left: 0.6rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 0.6rem; top: 50%; transform: translateY(-50%); }

@media (max-width: 700px) {
  .lightbox { padding: 2.6rem 0.4rem 1.4rem; }
  .lightbox img { max-width: 96vw; max-height: 76vh; }
  /* arrows shrink — swipe is the primary navigation on touch */
  .lightbox__prev, .lightbox__next { font-size: 1.6rem; padding: 0.5rem 0.5rem; }
  .lightbox figcaption { font-size: 1rem; padding: 0 3rem; }
}

/* ---------- Shop ---------- */

/* one quiet editorial control line: text filters left, minimal sort right */
.shop-controls {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  flex-wrap: wrap;
  max-width: var(--max);
  margin: 0 auto;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2.2rem;
}

.shop-filters button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 0.15rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}

.shop-filters button:hover { color: var(--accent-dark); }

.shop-filters button.active {
  color: var(--ink);
  font-weight: 500;
  border-bottom-color: var(--accent);
}

.shop-sort {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  flex-shrink: 0;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.shop-sort select {
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238a6f4d' stroke-width='1.2' fill='none'/%3E%3C/svg%3E") no-repeat right center;
  border: none;
  padding: 0.15rem 1.2rem 0.15rem 0;
  cursor: pointer;
  transition: color 0.25s;
}

.shop-sort select:hover, .shop-sort select:focus { color: var(--accent-dark); outline: none; }

@media (max-width: 700px) {
  .shop-controls { flex-direction: column; align-items: center; }
  .shop-filters { justify-content: center; }
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 2rem;
  max-width: var(--max);
  margin: 0 auto;
}

.shop-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  transition: box-shadow 0.3s, transform 0.3s;
}

.shop-card:hover {
  box-shadow: 0 18px 44px -18px rgba(29, 27, 24, 0.25);
  transform: translateY(-3px);
}

.shop-card__img {
  position: relative; /* anchors the New / Featured badge */
  aspect-ratio: 1;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--paper-alt);
}

.shop-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.shop-card:hover .shop-card__img img { transform: scale(1.04); }

/* the artist's note drifts up over the image on hover */
.tile-note {
  text-shadow: 0 1px 8px rgba(20, 17, 13, 0.7);
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.8rem 1.1rem 0.95rem;
  background: linear-gradient(to top,
    rgba(20, 17, 13, 0.86) 0%,
    rgba(20, 17, 13, 0.55) 55%,
    transparent 100%);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(250, 248, 243, 0.9);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.5s var(--ease);
  pointer-events: none;
}

.tile-note span {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shop-card__img:hover .tile-note {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: none) {
  .tile-note { display: none; } /* the note lives in the lightbox on touch */
}

.shop-card__body { padding: 1.2rem 1.3rem 1.4rem; }

.shop-card__body h3 {
  font-style: italic;
  font-size: 1.2rem;
  text-transform: capitalize;
}

.shop-card__body p {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin: 0.3rem 0 0.8rem;
}

.shop-card__price {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.shop-card__price--ask {
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 400;
  color: var(--ink-soft);
}

.shop-card .btn { padding: 0.6rem 1.5rem; font-size: 0.72rem; }

/* primary CTA (direct purchase) + quiet secondary Etsy link */
.shop-card__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.shop-card__etsy {
  font-size: 0.74rem;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.shop-card__etsy:hover { color: var(--accent-dark); }

/* Phones (portrait): a single column of full-width cards turns the shop into an
   endless scroll. Two compact columns read like a proper shop and roughly halve
   the page height. Card body tightens and the CTA goes full-width to fit. */
@media (max-width: 560px) {
  .shop-grid { grid-template-columns: 1fr 1fr; gap: 0.85rem; }
  .shop-card__body { padding: 0.8rem 0.85rem 1rem; }
  .shop-card__body h3 { font-size: 1.02rem; }
  .shop-card__body p { font-size: 0.72rem; margin: 0.2rem 0 0.55rem; }
  .shop-card__price { font-size: 1.05rem; margin-bottom: 0.7rem; }
  .shop-card__actions { gap: 0.45rem; }
  .shop-card .btn { width: 100%; text-align: center; padding: 0.62rem 1rem; }
  .shop-card__etsy { font-size: 0.7rem; }
  .badge { font-size: 0.58rem; }
}

/* understated Etsy pointer below the grid */
.etsy-band {
  max-width: 46em;
  margin: 3.5rem auto 0;
  text-align: center;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.etsy-band a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.notice {
  max-width: 46em;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* ---------- About ---------- */

.cv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  max-width: var(--max);
  margin: 0 auto;
}

.cv-grid h3 {
  font-size: 1rem;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.cv-list { list-style: none; }

.cv-list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.cv-list li strong { color: var(--ink); font-weight: 500; }

@media (max-width: 820px) {
  .cv-grid { grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  max-width: 900px;
  margin: 0 auto;
}

.contact-card {
  text-align: center;
  padding: 2.6rem 1.6rem;
  background: #fff;
  border: 1px solid var(--line);
  transition: box-shadow 0.3s, transform 0.3s;
}

.contact-card:hover {
  box-shadow: 0 18px 44px -18px rgba(29, 27, 24, 0.25);
  transform: translateY(-3px);
}

.contact-card svg {
  width: 30px; height: 30px;
  margin: 0 auto 1rem;
  stroke: var(--accent);
}

.contact-card h3 { margin-bottom: 0.4rem; }

.contact-card p { font-size: 0.85rem; color: var(--ink-soft); }

@media (max-width: 700px) {
  .contact-cards { grid-template-columns: 1fr; }
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding: clamp(4rem, 10vh, 6.5rem) 1.5rem;
}

.cta-band h2 { margin-bottom: 1rem; }
.cta-band h2 em { color: #e8d9bf; }
.cta-band p { color: rgba(250, 248, 243, 0.7); max-width: 36em; margin: 0 auto 2.2rem; }

/* ---------- Brand logo ---------- */

/* the logo's cream background multiplies away into the paper background */
.brand-mark {
  display: block;
  width: clamp(180px, 24vw, 250px);
  margin: 0 auto 1.6rem;
  mix-blend-mode: multiply;
}

.footer__logo-img {
  display: block;
  width: 140px;
  margin: 0 auto 0.5rem;
  mix-blend-mode: multiply;
}

/* ---------- Events page (dark editorial — deliberately unlike the rest) ---------- */

.events-hero {
  background: #14110d;
  background-image: radial-gradient(ellipse 80% 60% at 70% 110%, rgba(138, 111, 77, 0.28), transparent);
  color: var(--paper);
  padding: clamp(9rem, 18vh, 13rem) clamp(1.2rem, 4vw, 3rem) clamp(3.5rem, 8vh, 5.5rem);
}

.events-hero__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.events-hero .tag { color: #e8d9bf; }

.events-hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 500;
  line-height: 1.05;
}

.events-hero h1 em { color: var(--accent); }

.events-hero p {
  margin-top: 1rem;
  max-width: 36em;
  color: rgba(250, 248, 243, 0.65);
}

.events-dark {
  background: #14110d;
  color: var(--paper);
  padding: 0 clamp(1.2rem, 4vw, 3rem) clamp(4rem, 9vh, 6.5rem);
}

.events-dark__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.events-heading {
  font-size: 0.8rem;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #e8d9bf;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.events-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(232, 217, 191, 0.25);
}

.events-timeline {
  display: grid;
  gap: 1.5rem;
}

.event-card {
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: clamp(1.2rem, 3vw, 3rem);
  padding: 2rem clamp(1.2rem, 2.5vw, 2.4rem);
  border: 1px solid rgba(232, 217, 191, 0.16);
  border-left: 3px solid var(--accent);
  background: rgba(250, 248, 243, 0.03);
  transition: background 0.3s, border-color 0.3s;
}

.event-card:hover {
  background: rgba(250, 248, 243, 0.06);
  border-color: rgba(232, 217, 191, 0.35);
  border-left-color: var(--accent);
}

.event-card__dates {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 500;
  font-style: italic;
  color: #e8d9bf;
  line-height: 1.25;
}

.event-card__live {
  display: inline-block;
  margin-top: 0.7rem;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9fd49b;
}

.event-card__live::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9fd49b;
  margin-right: 0.5rem;
  animation: livePulse 2s infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.event-card__type {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.event-card__body h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  margin: 0.3rem 0 0.4rem;
  color: var(--paper);
}

.event-card__where {
  font-size: 0.92rem;
  color: rgba(250, 248, 243, 0.6);
}

.event-card__details {
  margin-top: 0.8rem;
  font-size: 0.88rem;
  color: rgba(250, 248, 243, 0.72);
  max-width: 52em;
}

.event-card__link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e8d9bf;
  border-bottom: 1px solid rgba(232, 217, 191, 0.4);
  padding-bottom: 2px;
  transition: color 0.25s, border-color 0.25s;
}

.event-card__link:hover { color: #fff; border-color: #fff; }

.events-empty {
  border: 1px dashed rgba(232, 217, 191, 0.3);
  padding: 2.5rem clamp(1.2rem, 3vw, 3rem);
  text-align: center;
  color: rgba(250, 248, 243, 0.65);
  font-size: 0.95rem;
}

.events-empty a {
  color: #e8d9bf;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 640px) {
  .event-card { grid-template-columns: 1fr; gap: 0.8rem; }
}

/* archive (back on paper) */
.events-archive {
  max-width: 860px;
  margin: 0 auto;
}

.events-year {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1.5rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}

.events-year:last-child { border-bottom: none; }

.events-year h3 {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 500;
  font-style: italic;
  color: var(--accent-dark);
  line-height: 1;
}

.events-year ul { list-style: none; display: grid; gap: 0.7rem; }

.events-year__title {
  display: block;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
}

.events-year__title a { text-decoration: underline; text-underline-offset: 3px; }

.events-year__meta {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

@media (max-width: 560px) {
  .events-year { grid-template-columns: 1fr; gap: 0.6rem; }
}

/* ---------- Find Her Work: numbered editorial partner index ---------- */

.partner-list {
  max-width: 880px;
  margin: 0 auto;
}

.partner {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(2rem, 5vw, 3rem) 0;
  border-bottom: 1px solid var(--line);
}

.partner:last-child { border-bottom: none; }

.partner__index {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  color: var(--line);
  line-height: 1;
  transition: color 0.4s;
}

.partner:hover .partner__index { color: var(--accent); }

.partner__kicker {
  display: block;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.partner__name {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 500;
  line-height: 1.1;
}

.partner__name a { transition: color 0.3s; }
.partner__name a:hover { color: var(--accent-dark); }

.partner__arrow {
  display: inline-block;
  margin-left: 0.4rem;
  font-size: 0.55em;
  color: var(--accent);
  transform: translate(0, -0.2em);
  transition: transform 0.35s var(--ease);
}

.partner__name a:hover .partner__arrow { transform: translate(0.25em, -0.45em); }

.partner__blurb {
  margin-top: 0.7rem;
  max-width: 44em;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.partner__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.8rem;
  margin-top: 1.1rem;
}

.partner__links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: border-color 0.25s, color 0.25s;
}

.partner__links a:hover { border-color: var(--accent); color: var(--ink); }

.partner__links a em {
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

.partner__links--grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.7rem 1.8rem;
}

@media (max-width: 560px) {
  .partner { grid-template-columns: 1fr; gap: 0.4rem; }
  .partner__index { font-size: 1.5rem; }
}

/* ---------- The Salon: deep-green gallery wall with gilt frames ----------
   Deliberately unlike anything else on the site: a private viewing room. */

.salon {
  background: #1b2a21;
  background-image:
    radial-gradient(ellipse 70% 55% at 50% -10%, rgba(201, 179, 126, 0.14), transparent),
    radial-gradient(ellipse 90% 60% at 50% 115%, rgba(10, 18, 13, 0.65), transparent);
  color: #f3eee2;
  padding: clamp(4rem, 9vw, 7rem) clamp(1.2rem, 4vw, 3rem);
}

.salon__inner { max-width: var(--max); margin: 0 auto; }

.salon__head {
  text-align: center;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.salon__kicker {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #c9b37e;
  margin-bottom: 1rem;
}

.salon__kicker::before,
.salon__kicker::after {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201, 179, 126, 0.7));
}

.salon__kicker::after {
  background: linear-gradient(to left, transparent, rgba(201, 179, 126, 0.7));
}

.salon__head h2 {
  color: #faf8f3;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
}

.salon__head h2 em { color: #c9b37e; }

.salon__head p {
  margin: 0.8rem auto 0;
  max-width: 38em;
  color: rgba(243, 238, 226, 0.6);
  font-size: 0.95rem;
}

.salon__wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: clamp(1.6rem, 4vw, 2.8rem);
  align-items: start;
}

/* gilt frame on a cream mat — a painting hung on the wall */
.salon-frame {
  background: #f4efe3;
  padding: 12px;
  border: 1px solid #c9b37e;
  outline: 1px solid rgba(201, 179, 126, 0.35);
  outline-offset: 5px;
  box-shadow:
    0 0 0 5px rgba(16, 26, 20, 0.55),
    0 26px 50px -18px rgba(5, 10, 7, 0.8);
  cursor: zoom-in;
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}

/* salon hang: gentle stagger so the wall breathes */
.salon-frame:nth-child(3n+2) { margin-top: 1.6rem; }
.salon-frame:nth-child(3n)   { margin-top: 0.7rem; }

.salon-frame:hover {
  transform: translateY(-6px);
  box-shadow:
    0 0 0 5px rgba(16, 26, 20, 0.55),
    0 0 34px -4px rgba(201, 179, 126, 0.35),
    0 34px 60px -20px rgba(5, 10, 7, 0.9);
}

.salon-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.salon-frame figcaption {
  padding: 0.7rem 0.2rem 0.25rem;
  text-align: center;
}

.salon-frame__type {
  display: block;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #9b8557;
}

.salon-frame__title {
  display: block;
  margin-top: 0.1rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--ink);
}

@media (max-width: 640px) {
  .salon-frame:nth-child(3n+2), .salon-frame:nth-child(3n) { margin-top: 0; }
}

/* ---------- A Royal Visit: editorial photo feature ---------- */

.royal__lede {
  max-width: 42em;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 1rem;
}

.royal-anchor {
  max-width: 880px;
  margin: 0 auto;
  background: #fff;
  padding: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px -28px rgba(29, 27, 24, 0.4);
}

.royal-anchor img { width: 100%; display: block; }

.royal-anchor figcaption,
.royal-still figcaption {
  padding: 0.75rem 0.2rem 0.2rem;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.98rem;
  color: var(--ink-soft);
}

.royal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.2rem, 3vw, 2rem);
  max-width: 1080px;
  margin: clamp(2rem, 5vw, 3rem) auto 0;
}

.royal-still {
  background: #fff;
  padding: 10px;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px -22px rgba(29, 27, 24, 0.35);
  transition: transform 0.45s var(--ease), box-shadow 0.45s;
}

.royal-still:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 52px -24px rgba(29, 27, 24, 0.45);
}

.royal-still img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.royal-still figcaption { font-size: 0.88rem; padding-bottom: 0.35rem; }

/* ---------- In Good Company: matted press frames ---------- */

.press-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.press-card {
  width: min(320px, 80vw);
  background: #fff;
  padding: 14px 14px 0;
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px -20px rgba(29, 27, 24, 0.35);
  transform: rotate(-1.4deg);
  transition: transform 0.45s var(--ease), box-shadow 0.45s;
}

.press-card:nth-child(even) { transform: rotate(1.2deg); }

.press-card:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 26px 56px -22px rgba(29, 27, 24, 0.45);
}

.press-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--paper-alt);
}

.press-card figcaption {
  padding: 0.8rem 0.2rem 1rem;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink);
}

/* graceful placeholder until the photo arrives */
.press-card--empty img { display: none; }

.press-card--empty::before {
  content: attr(data-initial);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--paper-alt), #e6dfd2);
  font-family: var(--serif);
  font-style: italic;
  font-size: 5rem;
  color: var(--accent);
  opacity: 0.85;
}

.press-card--empty::after {
  content: "photograph coming soon";
  display: block;
  text-align: center;
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: -0.4rem;
  padding-bottom: 0.4rem;
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 3rem clamp(1.2rem, 4vw, 3rem) 2.2rem;
  text-align: center;
}

.footer__logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.footer__logo span { color: var(--accent); font-style: italic; }

/* brand-colored icon tiles (sizing/colors mirror the ClearData AI site) */
.footer__social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 1.2rem 0 1.6rem;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer__social a:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.footer__social a[aria-label="Facebook"] { background: #1877F2; }
.footer__social a[aria-label="Instagram"] {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}
.footer__social a[aria-label="Etsy"] { background: #F1641E; }
.footer__social a[aria-label="Email"] { background: var(--accent-dark); }

.footer__social svg { width: 24px; height: 24px; }

.footer small { font-size: 0.72rem; color: var(--ink-soft); letter-spacing: 0.06em; }

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.8s var(--ease), transform 1.8s var(--ease);
}

.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Footer privacy link ---------- */
.footer small a {
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer small a:hover { color: var(--accent-dark); }

/* ---------- Subtle privacy / cookie notice ---------- */
/* A slim card in the corner — informative, dismissible, never a full-width
   wall. Slides in after load; main.js (analytics.js) wires the choice. */
.consent {
  position: fixed;
  left: clamp(1rem, 4vw, 2rem);
  bottom: clamp(1rem, 4vw, 2rem);
  z-index: 200;
  max-width: 26rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  padding: 0.9rem 1.1rem;
  background: rgba(250, 248, 243, 0.97);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 44px -20px rgba(29, 27, 24, 0.4);
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--ink-soft);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.consent--in { opacity: 1; transform: none; }
.consent__text { flex: 1 1 14rem; }
.consent a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 2px; }
.consent__btns { display: flex; gap: 0.5rem; flex-shrink: 0; }
.consent button {
  font-family: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.consent button:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.consent__decline {
  background: transparent;
  color: var(--ink-soft);
  border-color: var(--line);
}
.consent__decline:hover { background: transparent; color: var(--ink); border-color: var(--ink); }

@media (max-width: 480px) {
  .consent { left: 0.7rem; right: 0.7rem; bottom: 0.7rem; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .consent { transition: none; }
}

/* purchase thank-you toast (shown on return from Stripe checkout) */
.purchase-thanks {
  position: fixed;
  left: 50%;
  top: calc(72px + env(safe-area-inset-top) + 0.8rem);
  z-index: 200;
  max-width: min(34rem, calc(100vw - 2rem));
  padding: 0.95rem 1.3rem;
  background: rgba(229, 240, 224, 0.97); /* same soft green as the For-Sale tag */
  backdrop-filter: blur(10px);
  border: 1px solid #cfe0c6;
  border-radius: 12px;
  box-shadow: 0 18px 44px -20px rgba(29, 27, 24, 0.4);
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ink);
  text-align: center;
  opacity: 0;
  transform: translate(-50%, -14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.purchase-thanks.in { opacity: 1; transform: translate(-50%, 0); }
.purchase-thanks strong { color: var(--accent-dark); }
@media (prefers-reduced-motion: reduce) {
  .purchase-thanks { transition: opacity 0.5s; transform: translate(-50%, 0); }
}

/* (shipping is handled on Stripe's checkout page — no on-site prompt) */
