/* =========================================================
   Cassius the Doberman: site styles
   Colors live in :root below. Change them once, they update everywhere.
   ========================================================= */

:root {
  --cream: #F7F4EE;
  --charcoal: #242424;
  --sage: #A7B59A;
  --tan: #D8BEA0;
  --white: #FFFFFF;

  /* Deeper versions of the palette for small text, so it stays readable */
  --sage-deep: #4F5C45;
  --tan-deep: #7A5C3E;
  --tan-soft: #EFE4D6;
  --sage-soft: #E4E9DE;
  --muted: #55514B;
  --line: rgba(36, 36, 36, 0.12);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(36,36,36,.04), 0 8px 28px rgba(36,36,36,.07);
  --shadow-hover: 0 2px 4px rgba(36,36,36,.05), 0 18px 40px rgba(36,36,36,.12);
  --ease: cubic-bezier(.2,.7,.2,1);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--sage-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--charcoal); color: var(--cream); padding: 10px 16px; border-radius: var(--radius-sm);
  text-decoration: none; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 780px; }

/* ---------- Type ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  font-optical-sizing: auto;
}
h1 { font-size: clamp(2.5rem, 6.2vw, 4.75rem); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.2; }
p { margin: 0 0 1.1em; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 14px;
}
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 40em; }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  border-radius: 999px; border: 1.5px solid var(--charcoal);
  background: var(--charcoal); color: var(--cream);
  font-weight: 600; font-size: .98rem; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(36,36,36,.18); text-decoration: none; }
.btn--ghost { background: transparent; color: var(--charcoal); }
.btn--ghost:hover { background: var(--charcoal); color: var(--cream); }
.btn--light { background: var(--cream); color: var(--charcoal); border-color: var(--cream); }
.btn--light:hover { background: var(--white); }
.btn--small { min-height: 42px; padding: 9px 18px; font-size: .92rem; }
.btn--block { width: 100%; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link {
  font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--sage);
  padding-bottom: 2px; transition: border-color .2s var(--ease);
}
.text-link:hover { border-color: var(--charcoal); }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 238, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }

.brand { display: inline-flex; flex-direction: column; line-height: 1; text-decoration: none; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; letter-spacing: -.02em; }
.brand__sub { font-size: .66rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--tan-deep); margin-top: 5px; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 1.5px solid var(--charcoal); border-radius: 999px;
  padding: 9px 16px; font-weight: 600; font-size: .9rem; cursor: pointer;
}
.nav-toggle__bars { width: 16px; height: 10px; position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .25s var(--ease), top .25s var(--ease);
}
.nav-toggle__bars::before { top: 1px; }
.nav-toggle__bars::after { top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 4.5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 4.5px; transform: rotate(-45deg); }

.site-nav {
  position: fixed; inset: 76px 0 0 0; background: var(--cream);
  padding: 24px var(--gutter) 40px; overflow-y: auto;
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: 14px 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; text-decoration: none;
}
.site-nav a[aria-current="page"] { color: var(--sage-deep); }
.site-nav .nav-cta { margin-top: 24px; }
.site-nav .nav-cta a { border: 0; font-family: var(--font-body); font-size: 1rem; }
body.nav-open { overflow: hidden; }
/* The blur on the header would trap the fixed menu panel inside it; turn it off while the menu is open */
body.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--cream); }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static; visibility: visible; opacity: 1; transform: none; padding: 0; background: none; overflow: visible;
  }
  .site-nav ul { display: flex; align-items: center; gap: 30px; }
  .site-nav a {
    padding: 6px 0; border: 0; font-family: var(--font-body); font-size: .95rem; font-weight: 500;
    position: relative;
  }
  .site-nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: var(--charcoal);
    transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
  }
  .site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .site-nav a[aria-current="page"] { color: var(--charcoal); }
  .site-nav .nav-cta { margin: 0; }
  .site-nav .nav-cta a { padding: 10px 20px; }
  .site-nav .nav-cta a::after { display: none; }
}

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

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--white { background: var(--white); }
.section--tan { background: var(--tan-soft); }
.section--sage { background: var(--sage-soft); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head h2 { margin: 0; max-width: 16em; }
.section-head p { margin: 10px 0 0; color: var(--muted); max-width: 34em; }

/* ---------- Media + missing image fallback ---------- */

.media { position: relative; overflow: hidden; background: var(--tan-soft); border-radius: var(--radius); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--missing { background: linear-gradient(135deg, var(--tan-soft), var(--sage-soft)); }
.media--missing img { visibility: hidden; }
.media--missing::after {
  content: "Photo coming soon"; position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.05rem; color: var(--tan-deep);
}

/* ---------- Hero ---------- */

.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(56px, 8vw, 104px); }
.hero__grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--sage-deep); }
.hero .lede { margin-bottom: 32px; }
.hero__media { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); }
.hero__badge {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  background: rgba(247,244,238,.94); padding: 12px 16px; border-radius: 14px; font-size: .85rem; line-height: 1.35; max-width: 240px;
}
.hero__badge strong { display: block; font-family: var(--font-display); font-size: 1.05rem; }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.05fr .95fr; }
  .hero__media { aspect-ratio: 5 / 6; }
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero { padding: clamp(28px, 4vw, 48px) 0 clamp(40px, 6vw, 72px); }
.page-hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); max-width: 14em; }
.page-hero--split .page-hero__grid { display: grid; gap: 36px; align-items: center; }
.page-hero--split .media { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); }
@media (min-width: 900px) { .page-hero--split .page-hero__grid { grid-template-columns: 1.1fr .9fr; } }

.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 26px; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--tan-deep); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Collection cards ---------- */

.collection-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.collection-card {
  position: relative; display: block; text-decoration: none; color: var(--cream);
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--tan-soft);
}
.collection-card .media { position: absolute; inset: 0; border-radius: 0; }
.collection-card img { transition: transform .8s var(--ease); }
.collection-card::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(36,36,36,0) 40%, rgba(36,36,36,.78) 100%);
}
.collection-card__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 24px; }
.collection-card__num { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.collection-card h3 { color: var(--cream); margin: 6px 0 4px; font-size: 1.55rem; }
.collection-card p { margin: 0; font-size: .92rem; opacity: .9; line-height: 1.45; }
.collection-card:hover img { transform: scale(1.04); }
.collection-card:focus-visible { outline-offset: 4px; }

/* ---------- Product cards ---------- */

.product-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.product-card {
  display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.product-card .media { aspect-ratio: 1 / 1; border-radius: 0; background: var(--cream); }
.product-card img { transition: transform .7s var(--ease); }
.product-card:hover img { transform: scale(1.03); }
.product-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 22px; }
.product-card__cat { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--tan-deep); margin-bottom: 8px; }
.product-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.product-card p { font-size: .94rem; color: var(--muted); line-height: 1.55; margin-bottom: 18px; flex: 1; }
.product-card .btn { width: 100%; }

.disclosure-note {
  font-size: .86rem; line-height: 1.5; color: var(--muted);
  border-left: 3px solid var(--sage); padding: 4px 0 4px 14px; margin: 0 0 28px; max-width: 46em;
}
.disclosure-note a { color: var(--charcoal); }

.empty-state { text-align: center; padding: 56px 20px; border: 1.5px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.empty-state h3 { color: var(--charcoal); }

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

.toolbar { display: grid; gap: 18px; margin-bottom: 32px; }
.search-field { position: relative; max-width: 460px; }
.search-field svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.search-field input {
  width: 100%; height: 52px; padding: 0 18px 0 48px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--white); font-size: 1rem;
  transition: border-color .2s var(--ease);
}
.search-field input:focus { outline: none; border-color: var(--charcoal); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1.5px solid var(--line); background: var(--white); border-radius: 999px;
  padding: 9px 16px; font-size: .9rem; font-weight: 500; cursor: pointer; min-height: 42px;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.chip:hover { border-color: var(--charcoal); }
.chip[aria-pressed="true"] { background: var(--charcoal); border-color: var(--charcoal); color: var(--cream); }
.result-count { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- Split / feature blocks ---------- */

.split { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split .media { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__media { order: 2; }
}
.split__text h2 { max-width: 12em; }
.split__text p { color: var(--muted); }
.split__text .big-quote {
  font-family: var(--font-display); font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.4; color: var(--charcoal);
}

.fact-list { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.fact-list li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.fact-list span:first-child { color: var(--muted); }
.fact-list span:last-child { font-weight: 600; text-align: right; }

/* ---------- Blog cards ---------- */

.post-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.post-card { display: flex; flex-direction: column; }
.post-card .media { aspect-ratio: 3 / 2; margin-bottom: 18px; }
.post-card img { transition: transform .7s var(--ease); }
.post-card:hover img { transform: scale(1.03); }
.post-card__meta { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--tan-deep); margin-bottom: 10px; }
.post-card h3 { margin-bottom: 10px; }
.post-card h3 a { text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card { position: relative; }
.post-card p { color: var(--muted); font-size: .97rem; margin-bottom: 14px; }
.post-card .text-link { position: relative; z-index: 2; align-self: flex-start; }
.post-card[hidden] { display: none; }

/* ---------- Social band ---------- */

.social-band { background: var(--charcoal); color: var(--cream); }
.social-band h2 { color: var(--cream); }
.social-band p { color: rgba(247,244,238,.78); }
.social-band .eyebrow { color: var(--sage); }
.social-links { display: grid; gap: 12px; margin-top: 32px; }
@media (min-width: 720px) { .social-links { grid-template-columns: repeat(3, 1fr); } }
.social-link {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 24px; border: 1px solid rgba(247,244,238,.22); border-radius: var(--radius);
  text-decoration: none; transition: background .25s var(--ease), border-color .25s var(--ease);
}
.social-link:hover { background: rgba(247,244,238,.07); border-color: var(--sage); text-decoration: none; }
.social-link strong { display: block; font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; }
.social-link span { font-size: .88rem; opacity: .75; }
.social-link svg { width: 22px; height: 22px; flex: none; }

/* ---------- Newsletter ---------- */

.newsletter { background: var(--sage); }
.newsletter__inner { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .newsletter__inner { grid-template-columns: 1fr 1fr; gap: 64px; } }
.newsletter h2 { margin-bottom: 10px; }
.newsletter p { margin: 0; }
.newsletter-form { display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter-form input[type="email"] {
  flex: 1 1 240px; height: 54px; border-radius: 999px; border: 1.5px solid var(--charcoal);
  background: var(--cream); padding: 0 22px; font-size: 1rem;
}
.newsletter-form input[type="email"]:focus { outline: 3px solid var(--charcoal); outline-offset: 2px; }
.newsletter-form .btn { height: 54px; }
.form-fineprint { flex-basis: 100%; font-size: .82rem; margin-top: 4px; }
.form-status { flex-basis: 100%; font-weight: 600; font-size: .95rem; min-height: 1.4em; margin: 4px 0 0; }

/* ---------- Article ---------- */

.article-head { padding: clamp(28px, 4vw, 48px) 0 32px; }
.article-head h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9rem; color: var(--muted); margin-top: 18px; }
.article-meta strong { color: var(--charcoal); font-weight: 600; }
.article-hero { aspect-ratio: 16 / 9; border-radius: var(--radius-lg); margin-bottom: clamp(36px, 5vw, 56px); }

.prose { font-size: 1.1rem; line-height: 1.75; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 2em 0 .55em; }
.prose h3 { font-size: 1.35rem; margin: 1.7em 0 .45em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--sage-deep); }
.prose a { font-weight: 500; text-decoration-color: var(--sage-deep); }
.prose strong { font-weight: 650; }
.prose blockquote {
  margin: 1.8em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--tan);
  font-family: var(--font-display); font-size: 1.35rem; line-height: 1.45;
}
.prose .callout {
  background: var(--white); border-radius: var(--radius); padding: 22px 24px; margin: 1.8em 0; font-size: 1rem; box-shadow: var(--shadow);
}
.prose .callout p:last-child { margin: 0; }

.fill-in {
  background: #FFF6E3; border: 1.5px dashed var(--tan-deep); border-radius: var(--radius-sm);
  padding: 14px 18px; font-size: .97rem; line-height: 1.55; color: var(--charcoal);
}
.fill-in__label {
  display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  background: var(--tan-deep); color: var(--white); padding: 3px 8px; border-radius: 5px; margin-right: 8px; vertical-align: 2px;
}

.article-products { margin: 2.2em 0; padding: clamp(22px, 3vw, 32px); background: var(--sage-soft); border-radius: var(--radius-lg); }
.article-products h3 { margin-top: 0; }
.article-products .product-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.article-products .product-card h3 { font-size: 1.05rem; }
.article-products .product-card p { font-size: .88rem; }
.article-products .product-card__body { padding: 16px 16px 18px; }
.article-products .btn { padding: 9px 12px; font-size: .86rem; white-space: nowrap; }

.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 48px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.share-row span { font-weight: 600; margin-right: 6px; }

.pin-block { display: grid; gap: 24px; align-items: center; background: var(--white); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); margin-top: 48px; }
@media (min-width: 640px) { .pin-block { grid-template-columns: 200px 1fr; } }
.pin-block .media { aspect-ratio: 2 / 3; border-radius: var(--radius-sm); }
.pin-block h2 { font-size: 1.5rem; margin-bottom: 8px; }
.pin-block p { color: var(--muted); font-size: .97rem; }

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

.gallery { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.gallery .media { aspect-ratio: 1 / 1; border-radius: var(--radius); }
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .gallery .media:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
}

/* ---------- Cards / tiles ---------- */

.tile-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.tile { background: var(--white); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow); }
.tile__num { font-family: var(--font-display); font-size: 1rem; color: var(--tan-deep); margin-bottom: 18px; display: block; }
.tile h3 { font-size: 1.3rem; }
.tile p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ---------- Forms ---------- */

.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 7px; }
.field .optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--white);
  padding: 13px 15px; font-size: 1rem; transition: border-color .2s var(--ease);
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--charcoal); box-shadow: 0 0 0 3px var(--sage-soft); }
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.hp-field { position: absolute; left: -9999px; }

/* ---------- Legal / simple pages ---------- */

.legal h2 { font-size: 1.6rem; margin-top: 1.8em; }
.legal p, .legal li { color: var(--charcoal); }

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

.site-footer { background: var(--charcoal); color: rgba(247,244,238,.8); padding: clamp(56px, 7vw, 88px) 0 32px; font-size: .95rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--cream); text-decoration: underline; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.site-footer .brand__name { color: var(--cream); }
.site-footer .brand__sub { color: var(--tan); }
.footer-about { max-width: 26em; margin-top: 18px; }
.footer-col h2 { font-family: var(--font-body); font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--tan); margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(247,244,238,.14); display: grid; gap: 10px; font-size: .84rem; }
@media (min-width: 800px) { .footer-bottom { grid-template-columns: 1fr auto; } }

/* ---------- 404 ---------- */

.error-page { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.error-page h1 { font-size: clamp(2.6rem, 7vw, 5rem); }
.error-page .lede { margin: 0 auto 32px; }
.error-page .btn-row { justify-content: center; }

/* ---------- Utilities ---------- */

.center { text-align: center; }
.mt-lg { margin-top: clamp(32px, 4vw, 48px); }
.stack-sm > * + * { margin-top: 12px; }

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

@media print {
  .site-header, .site-footer, .newsletter, .social-band, .share-row { display: none; }
}

/* Mobile menu CTA keeps its button shape */
.site-nav .nav-cta a.btn { display: flex; color: var(--cream); }
@media (min-width: 960px) { .site-nav .nav-cta a.btn { display: inline-flex; } }

/* Product photos: show the whole product on white, like a shop listing */
.product-card .media { background: var(--white); }
.product-card .media img { object-fit: contain; padding: 6%; }
@media (min-width: 900px) { .product-grid--three { grid-template-columns: repeat(3, 1fr); } }

/* =========================================================
   v2: simpler, quieter layout
   ========================================================= */
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section-head { align-items: baseline; margin-bottom: clamp(24px, 3vw, 36px); }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.hero { padding: clamp(24px, 4vw, 56px) 0 clamp(48px, 7vw, 88px); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.page-hero h1 { margin-bottom: .3em; }
.page-hero .lede { margin: 0; }

/* collection cards: name + quiet "Shop" cue */
.collection-card__body { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.collection-card h2, .collection-card h3 { margin: 0; font-size: 1.45rem; color: var(--cream); }
.collection-card__cta { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; white-space: nowrap; opacity: .9; }
.collection-card__cta svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.collection-card:hover .collection-card__cta svg { transform: translateX(3px); }

/* disclosure sits quietly under product grids */
.disclosure-note { border: 0; padding: 0; margin: 24px 0 0; font-size: .8rem; max-width: none; }

/* post cards */
.post-card .media { margin-bottom: 14px; }
.post-card h2, .post-card h3 { font-size: 1.3rem; margin: 0; }

/* social: light band, inline links */
.social-band { background: var(--white); color: var(--charcoal); border-top: 1px solid var(--line); }
.social-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 40px; padding-bottom: 40px; }
.social-band h2 { color: var(--charcoal); font-size: 1.6rem; margin: 0; }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.social-link {
  display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px; border: 1.5px solid var(--charcoal);
  border-radius: 999px; font-weight: 600; font-size: .95rem; text-decoration: none;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.social-link:hover { background: var(--charcoal); color: var(--cream); border-color: var(--charcoal); }
.social-link svg { width: 18px; height: 18px; }

/* newsletter: compact */
.newsletter { padding: clamp(40px, 5vw, 64px) 0; }
.newsletter h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }

/* footer: one row */
.site-footer { padding: 56px 0 28px; }
.footer-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; grid-template-columns: none; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-bottom { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .8rem; }
.footer-bottom p { margin: 0; }

/* partnerships tags */
.tag-list { margin-top: 18px; font-size: .92rem; color: var(--muted); line-height: 1.8; }

/* article header */
.article-head .post-card__meta { margin-bottom: 14px; }
.article-head h1 { margin-bottom: 0; }
.split .media.media--square { aspect-ratio: 1 / 1; }
