/* Kas Krochets — palette pulled from the logo: sage gingham, cream, olive ink, wooden hook. */
:root {
  --cream: #f6f1e6;
  --paper: #fffdf7;
  --sage-100: #e9ede0;
  --sage-200: #d7dfc6;
  --sage-300: #bccaa3;
  --sage-500: #8d9c6c;
  --olive-700: #5b6840;
  --olive-800: #4a5534;
  --olive-900: #343b25;
  --wood: #a2683a;
  --wood-dark: #7f4f2a;
  --blush: #e9b8ae;

  --ink: var(--olive-900);
  --ink-soft: #5d6450;
  --line: rgba(91, 104, 64, 0.22);

  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Nunito", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-script: "Allura", "Snell Roundhand", "Brush Script MT", cursive;

  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(52, 59, 37, 0.06), 0 10px 30px -12px rgba(52, 59, 37, 0.25);
  --shadow-lift: 0 2px 4px rgba(52, 59, 37, 0.08), 0 22px 44px -18px rgba(52, 59, 37, 0.35);
  --wrap: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--olive-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--wood-dark); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--olive-800);
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; text-wrap: pretty; }

:focus-visible { outline: 3px solid var(--wood); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--olive-800); color: var(--paper); padding: 0.6rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; color: var(--paper); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.script {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--wood);
  font-size: 1.9em;
  line-height: 1;
  letter-spacing: 0;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--olive-700);
  margin-bottom: 1rem;
}
.eyebrow::before, .eyebrow::after {
  content: ""; width: 1.6rem; border-top: 1.5px dashed currentColor; opacity: 0.6;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--olive-800); --fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font: 800 0.98rem/1 var(--font-body); letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer;
  box-shadow: inset 0 0 0 2px transparent, 0 6px 16px -8px rgba(52, 59, 37, 0.6);
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { --bg: var(--olive-900); color: var(--fg); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn--wood { --bg: var(--wood); }
.btn--wood:hover { --bg: var(--wood-dark); }
.btn--ghost {
  --bg: transparent; --fg: var(--olive-800);
  box-shadow: inset 0 0 0 2px var(--olive-700);
}
.btn--ghost:hover { --bg: var(--olive-800); --fg: var(--paper); }
.btn--small { padding: 0.7rem 1.1rem; font-size: 0.9rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 230, 0.86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(52, 59, 37, 0.5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }

.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--olive-800); }
.brand img { width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 3px 10px -4px rgba(52, 59, 37, 0.5); }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; line-height: 1; }
.brand-name span { display: block; font-family: var(--font-script); font-weight: 400; font-size: 1.05rem; color: var(--wood); margin-top: 0.2rem; }

.nav { display: flex; align-items: center; gap: clamp(0.8rem, 2.2vw, 1.9rem); }
.nav a:not(.btn) {
  color: var(--olive-800); text-decoration: none; font-weight: 700; font-size: 0.96rem;
  padding: 0.3rem 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  transition: background-size 0.25s ease;
}
.nav a:not(.btn):hover { background-size: 100% 2px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%;
  border: 2px solid var(--olive-700); background: transparent; color: var(--olive-800); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; inset: 100% 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 0.5rem var(--gutter) 1.25rem;
    background: var(--cream); border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -20px rgba(52, 59, 37, 0.5);
  }
  .nav a:not(.btn) { padding: 0.85rem 0; border-bottom: 1px dashed var(--line); background: none; }
  .nav .btn { margin-top: 1rem; }
  .js .nav:not(.is-open) { display: none; }
}

/* ---------- Gingham + scallops ---------- */
.gingham {
  background-color: var(--paper);
  background-image:
    linear-gradient(90deg, rgba(188, 202, 163, 0.42) 50%, transparent 0),
    linear-gradient(rgba(188, 202, 163, 0.42) 50%, transparent 0);
  background-size: 44px 44px;
}

/* A row of half-circles hanging off the bottom edge, like the logo's scalloped rim. */
.scallop-bottom { position: relative; }
.scallop-bottom::after {
  content: ""; position: absolute; left: 0; right: 0; top: calc(100% - 1px); height: 17px; z-index: 1;
  background: linear-gradient(var(--scallop, var(--paper)), var(--scallop, var(--paper))) 0 0 / 100% 2px no-repeat, radial-gradient(circle at 50% 1px, var(--scallop, var(--paper)) 15px, transparent 15.5px) 0 0 / 34px 17px repeat-x;
  pointer-events: none;
}

/* ---------- Hero ---------- */
.hero {
  --scallop: var(--sage-300);
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 6.5rem);
  background-color: var(--sage-100);
  border-bottom: 6px solid var(--sage-300);
  overflow-x: clip; /* the tilted badge must not cause sideways scroll on phones */
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero-copy {
  position: relative;
  background: var(--paper);
  border-radius: 34px;
  padding: clamp(1.75rem, 4vw, 3.25rem);
  box-shadow: var(--shadow);
}
.hero-copy::before { /* stitched edge */
  content: ""; position: absolute; inset: 12px; border: 2px dashed var(--sage-300); border-radius: 24px; pointer-events: none;
}
.hero-copy > * { position: relative; }
.hero h1 .script { display: block; font-size: 0.72em; margin: 0.2em 0 0.05em; color: var(--wood); }
.hero-lede { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--ink-soft); max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.75rem 0 1.5rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; padding: 0; margin: 0; list-style: none; font-weight: 700; font-size: 0.93rem; color: var(--olive-700); }
.hero-points li { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-points svg { width: 1.05rem; height: 1.05rem; color: var(--wood); }

.hero-visual { position: relative; justify-self: center; width: min(100%, 460px); }
.hero-photo {
  position: relative; margin: 0;
  border-radius: 999px 999px 28px 28px;
  padding: 12px; background: var(--paper);
  box-shadow: var(--shadow-lift);
  transform: rotate(1.5deg);
}
.hero-photo img { border-radius: 999px 999px 18px 18px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.hero-badge {
  position: absolute; left: -9%; bottom: -6%; width: clamp(120px, 34%, 170px);
  border-radius: 50%; box-shadow: var(--shadow-lift);
  transform: rotate(-8deg);
  animation: bob 6s ease-in-out infinite;
}
.hero-tag {
  position: absolute; right: -4%; top: 12%;
  background: var(--wood); color: var(--paper);
  font-family: var(--font-script); font-size: 1.7rem; line-height: 1;
  padding: 0.55rem 1.1rem 0.7rem; border-radius: 999px;
  box-shadow: var(--shadow); transform: rotate(6deg);
}
@keyframes bob { 50% { transform: rotate(-4deg) translateY(-8px); } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { width: min(88%, 400px); margin-top: 1rem; }
}

/* ---------- Promise strip ---------- */
.promise { padding: clamp(3.5rem, 6vw, 5rem) 0 1rem; }
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; list-style: none; padding: 0; margin: 0; }
.promise-grid li { text-align: center; padding: 0.5rem 0.75rem; }
.promise-icon {
  width: 64px; height: 64px; margin: 0 auto 0.9rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--sage-100); color: var(--olive-700);
  box-shadow: inset 0 0 0 2px var(--paper), 0 0 0 2px var(--sage-200);
}
.promise-icon svg { width: 30px; height: 30px; }
.promise h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.promise p { font-size: 0.97rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 860px) { .promise-grid { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; } }

/* ---------- Section heads ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-head { text-align: center; max-width: 44rem; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }

/* ---------- Collection ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin: -0.5rem 0 2.25rem; }
.filter {
  font: 700 0.93rem/1 var(--font-body); color: var(--olive-800);
  background: var(--paper); border: 1.5px solid var(--sage-300);
  padding: 0.7rem 1.15rem; border-radius: 999px; cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.filter:hover { border-color: var(--olive-700); }
.filter[aria-pressed="true"] { background: var(--olive-800); border-color: var(--olive-800); color: var(--paper); }

.gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.2vw, 1.75rem);
  grid-auto-flow: dense; list-style: none; padding: 0; margin: 0;
}
.card {
  display: flex; flex-direction: column;
  background: var(--paper); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card[hidden] { display: none; }
.card--wide { grid-column: span 2; }

.card-media {
  position: relative; display: block; padding: 0; border: 0; margin: 0; cursor: zoom-in;
  background: var(--sage-100); overflow: hidden;
}
.card-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 0.6s ease; }
.card--wide .card-media img { aspect-ratio: 8 / 5; }
.card:hover .card-media img { transform: scale(1.04); }
.card-media::after { /* stitched frame over the photo */
  content: ""; position: absolute; inset: 10px; border: 2px dashed rgba(255, 253, 247, 0.75); border-radius: 14px; pointer-events: none;
}
.card-tag {
  position: absolute; left: 1.1rem; top: 1.1rem; z-index: 1;
  background: rgba(255, 253, 247, 0.94); color: var(--olive-800);
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.4rem 0.7rem; border-radius: 999px;
}
.card-body { display: flex; flex-direction: column; flex: 1; padding: 1.3rem 1.4rem 1.4rem; }
.card-body h3 { margin-bottom: 0.4rem; }
.card-body p { color: var(--ink-soft); font-size: 0.98rem; }
.card-body .btn { margin-top: auto; align-self: flex-start; }

@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .gallery { grid-template-columns: 1fr; }
  .card--wide { grid-column: auto; }
  .card--wide .card-media img { aspect-ratio: 4 / 3; }
}

.collection-note {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem;
  margin-top: clamp(2rem, 4vw, 3rem); padding: 1.5rem 1.75rem;
  border: 2px dashed var(--sage-300); border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.6);
}
.collection-note p { margin: 0; max-width: 42rem; }
.collection-note strong { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--olive-800); display: block; }

/* ---------- Custom orders ---------- */
.custom { --scallop: var(--olive-800); background: var(--olive-800); color: var(--sage-100); position: relative; }
.custom::before { /* scallops on the top edge */
  content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: 17px;
  background: linear-gradient(var(--olive-800), var(--olive-800)) 0 100% / 100% 2px no-repeat, radial-gradient(circle at 50% calc(100% - 1px), var(--olive-800) 15px, transparent 15.5px) 0 0 / 34px 17px repeat-x;
}
.custom h2, .custom h3 { color: var(--paper); }
.custom .eyebrow { color: var(--sage-300); }
.custom .section-head p { color: var(--sage-200); }
.custom .script { color: var(--blush); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step {
  position: relative; padding: 2.4rem 1.75rem 1.75rem;
  border-radius: var(--radius); background: rgba(255, 253, 247, 0.06);
  border: 2px dashed rgba(215, 223, 198, 0.35);
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -1.35rem; left: 1.5rem;
  width: 2.7rem; height: 2.7rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--wood); color: var(--paper); font: 600 1.25rem/1 var(--font-display);
  box-shadow: 0 0 0 5px var(--olive-800);
}
.step p { color: var(--sage-200); margin: 0; }
.custom-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 1.5rem; margin-top: 3rem; text-align: center; }
.custom-cta p { margin: 0; color: var(--sage-200); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 2.25rem; } }

/* ---------- About ---------- */
.about { padding-top: calc(clamp(4rem, 8vw, 6.5rem) + 16px); }
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-photos { position: relative; aspect-ratio: 1 / 1.15; width: min(100%, 480px); justify-self: center; }
.about-photos figure { margin: 0; position: absolute; background: var(--paper); padding: 10px 10px 2.4rem; box-shadow: var(--shadow-lift); border-radius: 6px; }
.about-photos figure img { border-radius: 3px; object-fit: cover; }
.about-photos figcaption { position: absolute; left: 0; right: 0; bottom: 0.5rem; text-align: center; font-family: var(--font-script); font-size: 1.45rem; color: var(--olive-700); line-height: 1.2; }
.polaroid-1 { width: 60%; left: 0; top: 0; transform: rotate(-4deg); }
.polaroid-1 img { aspect-ratio: 4 / 5; }
.polaroid-2 { width: 50%; right: 0; bottom: 0; transform: rotate(3.5deg); }
.polaroid-2 img { aspect-ratio: 1; }
.about-copy p:not(.signature) { color: var(--ink-soft); }
.about-copy h2 + p { font-size: 1.2rem; color: var(--ink); }
.signature { font-family: var(--font-script); font-size: 2.6rem; color: var(--wood); line-height: 1; margin-top: 0.5rem; }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photos { width: min(100%, 420px); }
}

/* ---------- FAQ ---------- */
.faq { background: var(--paper); }
.faq-list { max-width: 50rem; margin: 0 auto; }
.faq details { border-bottom: 1.5px dashed var(--sage-300); }
.faq details:first-child { border-top: 1.5px dashed var(--sage-300); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.3rem 0.25rem; font: 600 1.2rem/1.3 var(--font-display); color: var(--olive-800);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--sage-100); color: var(--olive-800); font: 700 1.3rem/1 var(--font-body);
  transition: transform 0.25s ease, background-color 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--sage-200); }
.faq details > div { padding: 0 0.25rem 1.3rem; color: var(--ink-soft); max-width: 44rem; }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Order form ---------- */
.order { padding-top: calc(clamp(4rem, 8vw, 6.5rem) + 16px); }
.order-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.order-intro p { color: var(--ink-soft); }
.contact-list { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: 0.9rem; }
.contact-list li { display: flex; align-items: center; gap: 0.8rem; font-weight: 700; }
.contact-list svg { width: 1.3rem; height: 1.3rem; color: var(--wood); flex: none; }

.order-card {
  position: relative; background: var(--paper); border-radius: 30px;
  padding: clamp(1.5rem, 4vw, 2.75rem); box-shadow: var(--shadow-lift);
}
.order-card::before { content: ""; position: absolute; inset: 12px; border: 2px dashed var(--sage-200); border-radius: 22px; pointer-events: none; }
.order-card > * { position: relative; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: 0.4rem; margin-bottom: 1.1rem; }
.field label { font-weight: 800; font-size: 0.92rem; color: var(--olive-800); }
.field label .opt { font-weight: 600; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--cream); border: 1.5px solid var(--sage-300); border-radius: var(--radius-sm);
  padding: 0.8rem 0.95rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6840' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 1.1rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--olive-700); background-color: var(--paper);
  box-shadow: 0 0 0 4px rgba(141, 156, 108, 0.25);
}
.field.is-flashing select { animation: flash 1.2s ease; }
@keyframes flash { 30% { box-shadow: 0 0 0 6px rgba(162, 104, 58, 0.35); border-color: var(--wood); } }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; margin-top: 0.5rem; }
.form-note { font-size: 0.88rem; color: var(--ink-soft); margin: 0; flex: 1 1 14rem; }
.form-status { margin: 1rem 0 0; padding: 0.9rem 1rem; border-radius: var(--radius-sm); background: var(--sage-100); color: var(--olive-800); font-weight: 600; font-size: 0.95rem; }
.form-status a { font-weight: 800; }
@media (max-width: 900px) { .order-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--olive-900); color: var(--sage-200); padding: 3.5rem 0 2rem; position: relative; margin-top: 16px; }
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: 17px;
  background: linear-gradient(var(--olive-900), var(--olive-900)) 0 100% / 100% 2px no-repeat, radial-gradient(circle at 50% calc(100% - 1px), var(--olive-900) 15px, transparent 15.5px) 0 0 / 34px 17px repeat-x;
}
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand img { width: 84px; height: 84px; border-radius: 50%; }
.footer-brand p { margin: 0; font-family: var(--font-script); font-size: 1.8rem; color: var(--blush); line-height: 1.1; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.5rem; }
.site-footer a { color: var(--paper); text-decoration: none; font-weight: 700; }
.site-footer a:hover { color: var(--blush); }
.footer-base { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px dashed rgba(215, 223, 198, 0.25); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; font-size: 0.88rem; color: var(--sage-300); }
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-brand { flex-direction: column; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  width: min(96vw, 1100px); max-height: 94vh; padding: 0; border: 0; border-radius: var(--radius);
  background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6); overflow: hidden;
}
.lightbox::backdrop { background: rgba(38, 43, 27, 0.82); backdrop-filter: blur(4px); }
.lightbox[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; animation: pop 0.25s ease; }
.lightbox figure { margin: 0; display: contents; }
.lightbox img { width: 100%; height: 100%; max-height: calc(94vh - 5.5rem); object-fit: contain; background: var(--sage-100); }
.lightbox figcaption { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; }
.lightbox figcaption strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--olive-800); }
.lb-controls { display: flex; gap: 0.5rem; }
.lb-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--sage-300); background: var(--paper);
  color: var(--olive-800); cursor: pointer; display: grid; place-items: center;
}
.lb-btn:hover { background: var(--sage-100); }
.lb-btn svg { width: 20px; height: 20px; }
@keyframes pop { from { opacity: 0; transform: scale(0.97); } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- 404 ---------- */
.lost { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 2rem; }
.lost-card { background: var(--paper); border-radius: 34px; padding: clamp(2rem, 6vw, 3.5rem); max-width: 34rem; box-shadow: var(--shadow-lift); position: relative; }
.lost-card::before { content: ""; position: absolute; inset: 12px; border: 2px dashed var(--sage-300); border-radius: 24px; pointer-events: none; }
.lost-card > * { position: relative; }
.lost-card img { width: 150px; margin: 0 auto 1.25rem; border-radius: 50%; }
