@font-face {
  font-family: Fraunces;
  src: url("../fonts/fraunces-500.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Outfit;
  src: url("../fonts/outfit-400.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f3efe6;
  --bg-2: #eae4d8;
  --paper: #fffcf7;
  --ink: #16140f;
  --muted: #5f5a52;
  --line: #ddd4c6;
  --brand: #0c5c52;
  --brand-2: #14786c;
  --brand-soft: #dff1ed;
  --accent: #c45c26;
  --danger: #9b2c2c;
  --danger-bg: #fdecec;
  --ok: #0e7c66;
  --shadow: 0 24px 60px rgba(22, 20, 15, 0.08);
  --radius: 22px;
  --font: "Outfit", "Segoe UI", system-ui, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --space: clamp(1rem, 2vw, 2rem);
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 1.05rem;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
a:hover { color: var(--brand-2); }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
.muted { color: var(--muted); }
.wrap { width: min(calc(100% - 2rem), var(--wrap)); margin-inline: auto; }
.wrap.narrow { width: min(calc(100% - 2rem), 720px); }
.skip {
  position: absolute; left: -999px; top: 0; background: var(--brand); color: #fff; padding: 0.6rem 1rem; z-index: 20;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.site-header {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(243, 239, 230, 0.92);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid transparent;
}
.header-inner, .footer-grid {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px;
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: inherit; }
.logo img { width: 48px; height: 48px; object-fit: contain; border-radius: 10px; background: #fff; }
.brand-name { font-family: var(--display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.02em; }
.site-nav { display: flex; align-items: center; gap: 1.25rem; }
.site-nav a { text-decoration: none; color: var(--ink); font-weight: 500; }
.site-nav a:hover { color: var(--brand); }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative;
}
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s;
}
.nav-toggle span:first-of-type { top: 17px; }
.nav-toggle span:last-of-type { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-of-type { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-of-type { transform: translateY(-4px) rotate(-45deg); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border: 0; cursor: pointer; text-decoration: none; font-weight: 600; font-family: inherit;
  border-radius: 999px; padding: 0.85rem 1.35rem; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(12,92,82,.22); }
.btn-primary:hover { background: var(--brand-2); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-small { padding: 0.55rem 1rem; font-size: 0.95rem; }
.btn-block { width: 100%; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, button:focus-visible {
  outline: 3px solid var(--brand-2);
  outline-offset: 3px;
}

.hero { position: relative; padding: clamp(2rem, 6vw, 5rem) 0 3rem; overflow: hidden; }
.hero-bg {
  position: absolute; inset: -20% -10% auto;
  height: 80%;
  background:
    radial-gradient(600px 280px at 12% 20%, rgba(12,92,82,.12), transparent 70%),
    radial-gradient(500px 240px at 88% 10%, rgba(196,92,38,.10), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; position: relative;
}
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.75rem; font-weight: 600;
  color: var(--brand); margin-bottom: 0.8rem;
}
.lede { font-size: 1.15rem; color: var(--muted); max-width: 38ch; }
.form-card { margin-top: 1.6rem; padding: 1.4rem; }
.card {
  background: var(--paper);
  border: 1px solid rgba(22,20,15,.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem;
}
.trust-row {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; list-style: none; padding: 1rem 0 0; margin: 0; color: var(--muted); font-size: 0.92rem;
}
.trust-row li { display: flex; align-items: center; gap: 0.4rem; }
.trust-row li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }

.subscribe-form .form-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 0.8rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.85rem; }
.field label, .consent, .resend-form label { font-weight: 550; font-size: 0.92rem; }
.optional { color: var(--muted); font-weight: 400; }
input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="url"], select, textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 14px; padding: 0.85rem 0.95rem;
  font: inherit; background: #fff; color: var(--ink);
}
textarea { min-height: 180px; resize: vertical; line-height: 1.5; }
input:hover, select:hover, textarea:hover { border-color: #c9bfb0; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(12,92,82,.12); }
.alert-ok { background: var(--brand-soft); color: var(--brand); }
.send-ready {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.pill-draft { background: #ececec; color: #555; }
.pill-queued { background: #f3e7d3; color: #8a5a12; }
.pill-sending { background: #f3e7d3; color: #8a5a12; }
.pill-paused { background: #ececec; color: #555; }
.pill-sending { background: #f3e7d3; color: #8a5a12; }
.nl-stats { grid-template-columns: repeat(6, 1fr); }
.cat-picks { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0 0 0.7rem; }
.cat-pick {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 0.4rem 0.85rem; font: inherit; font-size: 0.9rem; cursor: pointer; color: var(--ink);
}
.cat-pick:hover, .cat-pick.is-active { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.nl-progress {
  height: 10px; background: #ece7dc; border-radius: 999px; overflow: hidden; margin: 0.7rem 0 0.4rem;
}
.nl-progress span { display: block; height: 100%; background: var(--brand); border-radius: 999px; }
.consent {
  display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start;
  font-weight: 400; color: var(--muted); margin: 0.4rem 0 1rem; font-size: 0.95rem;
}
.consent input { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; accent-color: var(--brand); }
.form-hint { min-height: 1.3em; font-size: 0.92rem; color: var(--muted); }
.alert { padding: 0.85rem 1rem; border-radius: 14px; margin-bottom: 1rem; }
.alert-error { background: var(--danger-bg); color: var(--danger); }
.alert-note { display: block; margin-top: 0.35rem; font-weight: 400; }
.hp { position: absolute; left: -10000px; height: 0; overflow: hidden; }
.spinner {
  width: 1rem; height: 1rem; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff;
  border-radius: 50%; display: none;
}
.is-loading .spinner { display: inline-block; animation: spin .6s linear infinite; }
.is-loading [data-label] { opacity: .7; }
@keyframes spin { to { transform: rotate(360deg); } }
.is-success { color: var(--ok); }
.is-error { color: var(--danger); }

.hero-art img { width: 100%; border-radius: 22px; background: #fff; object-fit: contain; box-shadow: var(--shadow); }

.section { padding: clamp(3rem, 8vw, 5.5rem) 0; }
.section.alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,.35) 20%, transparent); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.panel { background: var(--brand); color: #eef7f4; border-radius: var(--radius); padding: 1.8rem; }
.panel h3 { color: #fff; }
.steps { margin: 0; padding-left: 1.2rem; }
.steps li { margin: 0.7rem 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 1.5rem; }
.icon-blob {
  width: 42px; height: 42px; border-radius: 14px; background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; font-weight: 700; margin-bottom: 1rem;
}
.faq details {
  background: var(--paper); border-radius: 16px; padding: 0.2rem 1rem; margin: 0.6rem 0; border: 1px solid var(--line);
}
.faq summary { cursor: pointer; font-weight: 600; padding: 0.95rem 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { color: var(--muted); }
.cta-band { padding-top: 0; }
.cta-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  background: var(--ink); color: #f6f1e8; border-radius: 28px; padding: clamp(1.5rem, 4vw, 2.4rem);
}
.cta-inner h2, .cta-inner p { color: inherit; margin-bottom: 0.35rem; }
.cta-inner .btn-primary { background: #fff; color: var(--ink); }

.status-page { padding-top: 3rem; padding-bottom: 5rem; }
.status-card { padding: 2rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }
.inline-fields { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.inline-fields input { flex: 1; min-width: 220px; }

.prose-page h1 { margin-bottom: 0.4em; }
.prose-page h2 { margin-top: 1.6em; font-size: 1.45rem; }
.prose-page ul { padding-left: 1.2rem; }
.prose-page code { background: #fff; padding: 0.1rem 0.35rem; border-radius: 6px; }

.site-footer { border-top: 1px solid var(--line); padding: 2rem 0 2.5rem; color: var(--muted); }
.footer-grid nav { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-grid a, .footer-meta a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--brand); }
.footer-meta { font-size: 0.9rem; }

.admin-body { background: #efeae0; }
.admin-bar { background: var(--paper); border-bottom: 1px solid var(--line); }
.admin-main { padding: 2rem 0 4rem; }
.stat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.8rem; margin: 1.2rem 0; }
.stat .stat-num { font-family: var(--display); font-size: 1.8rem; margin: 0; }
.filters { display: flex; gap: 0.6rem; margin: 1.2rem 0; flex-wrap: wrap; }
.table-wrap { overflow: auto; padding: 0; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { text-align: left; padding: 0.75rem 1rem; border-bottom: 1px solid var(--line); }
.ip-cell { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.85rem; white-space: nowrap; }
th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.pill { display: inline-block; padding: 0.15rem 0.55rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600; }
.pill-pending { background: #f3e7d3; color: #8a5a12; }
.pill-confirmed { background: var(--brand-soft); color: var(--brand); }
.pill-unsubscribed { background: #ececec; color: #555; }
.bars { display: flex; align-items: flex-end; gap: 6px; min-height: 100px; overflow-x: auto; padding-top: 0.5rem; }
.bar-col { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; min-width: 22px; }
.bar { width: 14px; background: var(--brand); border-radius: 6px 6px 2px 2px; }
.bar-col span { font-size: 0.62rem; color: var(--muted); writing-mode: vertical-rl; transform: rotate(180deg); }
.pager { display: flex; gap: 1rem; align-items: center; margin-top: 1rem; }
.admin-login { min-height: 100vh; display: grid; place-items: center; }
.wrap-wide { width: min(calc(100% - 2rem), 1280px); }
.admin-title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.compose-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1.2rem;
  align-items: start;
  margin-top: 0.4rem;
}
.compose-preview { position: sticky; top: 1rem; }
.compose-fields .eyebrow { margin: 1.2rem 0 0.4rem; }
.compose-fields .eyebrow:first-of-type { margin-top: 0.2rem; }
.email-preview {
  background: #f4f1ea;
  border-radius: 16px;
  padding: 1.1rem 0.9rem 1.3rem;
  min-height: 280px;
}
.email-preview h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.3;
  margin: 0 0 0.8rem;
}
.email-preview p { margin: 0 0 0.8rem; font-size: 0.95rem; color: #3d3a35; }
.email-preview img { width: 100%; border-radius: 12px; margin: 0 0 0.9rem; }
.email-from {
  text-align: center;
  color: var(--brand) !important;
  letter-spacing: 0.04em;
  font-family: var(--display);
  font-size: 1.05rem !important;
}
.email-cta { text-align: center; margin: 1rem 0 0.4rem !important; }
.email-cta a {
  display: inline-block;
  background: var(--brand);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  padding: 0.75rem 1.4rem;
  border-radius: 8px;
}
.email-link { text-align: center; font-size: 0.78rem !important; word-break: break-all; }
.mail-stats { grid-template-columns: repeat(4, 1fr); }
.health { margin: 1rem 0 1.2rem; }
.health .stat-num { display: flex; align-items: center; gap: 0.7rem; }
.health-notes { margin: 0.4rem 0 0.8rem; padding-left: 1.1rem; color: var(--muted); }
.health-healthy { border-color: #b7e3d8; }
.health-watch { border-color: #ead8b0; }
.health-risk { border-color: #e8b4b4; }
.health-warming { border-color: var(--line); }
.pill-healthy, .pill-delivered { background: var(--brand-soft); color: var(--brand); }
.pill-watch, .pill-soft, .pill-warming { background: #f3e7d3; color: #8a5a12; }
.pill-risk, .pill-hard, .pill-block { background: var(--danger-bg); color: var(--danger); }
.pill-complaint { background: #fdecec; color: #9b2c2c; }
.mail-tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1.4rem 0 0.8rem; }
.mail-tabs a {
  text-decoration: none; color: var(--muted); background: var(--paper);
  border: 1px solid var(--line); border-radius: 999px; padding: 0.35rem 0.8rem; font-size: 0.9rem;
}
.mail-tabs a.is-active, .site-nav a.is-active { color: var(--brand); border-color: var(--brand); font-weight: 600; }
.clip { max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stack-bar { display: flex; flex-direction: column-reverse; width: 14px; border-radius: 6px 6px 2px 2px; overflow: hidden; }
.seg { display: block; width: 100%; }
.seg-del { background: var(--brand); }
.seg-soft { background: #d4a017; }
.seg-hard { background: var(--danger); }
.legend { display: flex; gap: 0.8rem; align-items: center; margin-top: 0.8rem; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 0.25rem; }
.dot-del { background: var(--brand); }
.dot-soft { background: #d4a017; }
.dot-hard { background: var(--danger); }
.snap-meta { font-size: 0.85rem; margin: 0; }
.site-nav a.is-active { font-weight: 600; }
.inbox-message h2 { margin: 0.2rem 0 0.6rem; }
.inbox-body { margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.inbox-body pre {
  white-space: pre-wrap;
  word-break: break-word;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.55;
  margin: 0;
}
.inbox-html p { margin: 0 0 0.8rem; }
.inbox-html a { color: var(--brand); }
.inbox-html img { max-width: 100%; height: auto; margin: 0.6rem 0; border-radius: 8px; }
.inbox-clip { color: var(--muted); font-size: 0.85rem; white-space: nowrap; }
.inbox-files { margin-top: 1rem; padding: 0.9rem 0 0; border-top: 1px solid var(--line); }
.inbox-files ul { list-style: none; padding: 0; margin: 0.35rem 0 0; }
.inbox-files li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}
.inbox-files li:last-child { border-bottom: 0; }
.inbox-files strong { display: block; word-break: break-all; }
.inbox-file-preview {
  max-width: 240px;
  max-height: 140px;
  margin-top: 0.5rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-2);
}

@media (max-width: 900px) {
  .hero-grid, .split, .cards, .stat-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .nl-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-art { order: -1; max-width: 420px; margin: 0 auto; }
  .compose-grid { grid-template-columns: 1fr; }
  .compose-preview { position: static; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; inset: 72px 1rem auto; background: var(--paper);
    border-radius: 16px; padding: 1rem; flex-direction: column; align-items: stretch; box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-header { position: sticky; }
  .header-inner { position: relative; }
}

@media (max-width: 430px) {
  body { font-size: 1rem; }
  .btn { width: 100%; }
  .inline-fields { flex-direction: column; }
  .inline-fields .btn { width: 100%; }
}

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

/* Atelier homepage — scoped so #subscribe keeps its current look */
.atelier-hero { background: #fbf8f1; }
.atelier-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: min(78vh, 720px);
}
.atelier-pane {
  position: relative;
  margin: 0;
  overflow: hidden;
  min-height: 420px;
  background: #1a120c;
}
.atelier-pane img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.atelier-overlay {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.6rem, 5vw, 4rem);
  color: #fff;
  background: linear-gradient(180deg, rgba(26,18,12,.18), rgba(26,18,12,.42));
}
.atelier-kicker {
  margin: 0 0 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
}
.atelier-kicker-ink { color: #8a5a12; }
.atelier-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 0.8rem;
  max-width: 14ch;
}
.atelier-overlay p:not(.atelier-kicker):not(.atelier-title) {
  max-width: 36ch;
  color: rgba(255,255,255,.92);
  font-size: 1.02rem;
}
.atelier-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 0.4rem; }
.atelier-btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; font-weight: 600; font-size: 0.92rem; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 0.85rem 1.35rem; border-radius: 0;
}
.atelier-btn-ghost { color: #fff; border: 1px solid #fff; background: transparent; }
.atelier-btn-ghost:hover { background: #fff; color: #1a120c; }
.atelier-btn-solid { background: #fff; color: #1a120c; border: 1px solid #fff; }
.atelier-btn-solid:hover { background: transparent; color: #fff; }
.atelier-btn-ink { background: #1a120c; color: #fbf8f1; border: 1px solid #1a120c; }
.atelier-btn-ink:hover { background: transparent; color: #1a120c; }
.atelier-cats, .atelier-shelf, .atelier-story { background: #fbf8f1; padding: clamp(2.4rem, 6vw, 4.5rem) 0; }
.atelier-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  border-bottom: 1px solid #ddd4c6; margin-bottom: 1.4rem; padding-bottom: 0.55rem;
}
.atelier-head h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  text-transform: lowercase;
  margin: 0;
  font-weight: 700;
}
.atelier-head a { color: #1a120c; text-decoration: none; font-size: 0.88rem; letter-spacing: 0.06em; text-transform: uppercase; }
.atelier-head a:hover { color: #0c5c52; }
.atelier-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}
.atelier-cat {
  position: relative; display: block; overflow: hidden; min-height: 220px; color: #fff; text-decoration: none;
}
.atelier-cat img { width: 100%; height: 240px; object-fit: cover; }
.atelier-cat span {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.1rem 0.9rem 0.9rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  background: linear-gradient(transparent, rgba(26,18,12,.72));
}
.atelier-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.atelier-card {
  background: #fff;
  border: 1px solid #eee6d8;
  padding: 0 0 1rem;
}
.atelier-card img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  background: #fff;
  padding: 0.6rem;
}
.atelier-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0.7rem 1rem 0;
  font-weight: 600;
}
.atelier-story-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.4rem;
  align-items: center;
}
.atelier-story h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}
.atelier-story-grid img { width: 100%; height: 360px; object-fit: cover; }
.atelier-story .atelier-btn { margin-top: 0.4rem; }

@media (max-width: 900px) {
  .atelier-split, .atelier-cat-grid, .atelier-products, .atelier-story-grid { grid-template-columns: 1fr 1fr; }
  .atelier-pane-photo { min-height: 280px; }
  .atelier-cat-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .atelier-split, .atelier-products, .atelier-cat-grid, .atelier-story-grid { grid-template-columns: 1fr; }
  .atelier-card img, .atelier-cat img { height: 240px; }
}
