:root {
  /* Lichen & Stone — pale grey-green, quiet lichen accent (chosen 2026-07-12) */
  --paper: #d4d4c9;      /* stone-green background */
  --cream: #c9cabc;      /* deeper panel */
  --sand:  #b2b4a4;      /* deeper stone */
  --clay:  #5a6b52;      /* lichen green accent */
  --clay-deep: #414f3b;
  --ink:   #1f221d;      /* deep green-black */
  --ink-soft: #494e45;   /* muted grey-green text */
  --olive: #363c31;      /* deep moss (announce bar) */
  --line:  #a8aa9a;
  --radius: 2px;
  --maxw: 1180px;
  --display: "Fraunces", Georgia, serif;
  --logo: "Raleway", "Century Gothic", "Futura", sans-serif;
  --brand-olive: #4d5a47;
  --sans: "Nunito Sans", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
main { display: block; }

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

/* ---------- Announcement ---------- */
.announce {
  background: var(--olive);
  color: var(--paper);
  text-align: center;
  font-size: 12.5px;
  letter-spacing: .05em;
  padding: 9px 16px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 20px 24px; gap: 12px;
}
.nav-left, .nav-right {
  list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 28px;
}
.nav-right { justify-content: flex-end; }
.nav-link, .nav-icon {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink); font-weight: 500; cursor: pointer;
  padding: 6px 0; position: relative; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--sans);
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--clay); transition: width .25s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--clay-deep); }
.caret { font-size: 9px; }
.nav-icon { font-size: 12.5px; letter-spacing: .12em; }
.cart-count {
  background: var(--clay); color: var(--paper); border-radius: 999px;
  font-size: 10px; padding: 1px 6px; margin-left: 2px; line-height: 1.6;
}

/* Brand lockup — "Ananas E1": fine-lattice pineapple + Raleway Thin caps */
.brand {
  text-align: center; line-height: 1;
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  color: var(--brand-olive);
}
.brand-mark {
  width: 20px; height: 27.5px; display: block;
  fill: none; stroke: currentColor; stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round;
}
.brand-mark .fine { stroke-width: 1.35; }
.brand-name {
  font-family: var(--logo); font-weight: 200; font-size: 17px;
  letter-spacing: .34em; text-transform: uppercase; color: var(--ink);
  display: block; padding-left: .34em; /* optical centering for tracking */
}
.brand-sub {
  font-family: var(--logo); font-size: 8px; letter-spacing: .6em; color: var(--brand-olive);
  font-weight: 400; text-transform: uppercase; margin-top: 5px; display: block; padding-left: .6em;
}

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  list-style: none; margin: 0; padding: 10px 0;
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px);
  background: var(--paper); border: 1px solid var(--line);
  min-width: 220px; box-shadow: 0 18px 40px -20px rgba(35,25,15,.5);
  opacity: 0; visibility: hidden; transition: all .2s ease; z-index: 70;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.dropdown.open {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.dropdown li a {
  display: block; padding: 9px 22px; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft); transition: background .15s, color .15s;
}
.dropdown li a:hover { background: var(--sand); color: var(--clay-deep); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; background: var(--ink); color: var(--paper);
  border: none; cursor: pointer; font-family: var(--sans);
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  padding: 15px 30px; border-radius: var(--radius); transition: background .2s, transform .1s;
}
.btn:hover { background: var(--clay); }
.btn:active { transform: translateY(1px); }
.btn-outline {
  background: transparent; color: var(--ink); border: 1px solid var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-dark { background: var(--ink); }
.btn-sm { padding: 10px 18px; font-size: 11px; }
.add.added { background: var(--clay-deep); }

/* ---------- Page header band (interior pages) ---------- */
.page-head {
  text-align: center; padding: 70px 24px 10px; max-width: 720px; margin: 0 auto;
}
.page-head .eyebrow { justify-content: center; }
.page-head h1 {
  font-family: var(--display); font-weight: 400; font-size: clamp(34px, 5vw, 52px);
  line-height: 1.1; margin: 0 0 16px; color: var(--ink); letter-spacing: -.01em;
}
.page-head p { color: var(--ink-soft); font-size: 17.5px; margin: 0; }

/* ---------- Hero ---------- */
.hero {
  max-width: var(--maxw); margin: 0 auto; padding: 70px 24px 50px;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 44px;
}
.hero-art {
  background: radial-gradient(circle at 50% 42%, var(--sand), #c6b8a1);
  border-radius: 50% 50% 48% 52% / 55% 55% 45% 45%;
  aspect-ratio: 1/1; display: grid; place-items: center; overflow: hidden;
  position: relative;
}
.hero-vessel { width: 60%; filter: drop-shadow(0 22px 34px rgba(40,25,12,.32)); }
.hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .28em; font-size: 11px;
  font-weight: 600; color: var(--clay); margin: 0 0 16px; display: flex; gap: 8px;
  font-family: var(--sans);
}
.eyebrow.light { color: color-mix(in srgb, var(--clay) 55%, var(--paper)); }
.hero-copy h1 {
  font-family: var(--display); font-weight: 400; font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08; letter-spacing: -.015em; margin: 0 0 20px; color: var(--ink);
}
.lede { font-size: 18px; color: var(--ink-soft); max-width: 46ch; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: 80px 24px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.section-head .eyebrow { justify-content: center; }
.section-head h2, .about-copy h2, .mailing h2 {
  font-family: var(--display); font-weight: 400; font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12; margin: 0 0 16px; color: var(--ink);
}
.section-lede { color: var(--ink-soft); font-size: 17px; margin: 0; }
.section-lede.light { color: color-mix(in srgb, var(--paper) 82%, var(--ink)); }

/* Collections */
.collection { margin-bottom: 68px; }
.collection:last-child { margin-bottom: 0; }
.collection-head { margin-bottom: 26px; border-top: 1px solid var(--line); padding-top: 22px; }
.collection-head h3 {
  font-family: var(--display); font-weight: 400; font-size: 28px; margin: 0 0 4px; color: var(--ink);
}
.collection-head p { margin: 0; color: var(--ink-soft); font-size: 15px; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.card { text-align: left; }
.card h4 { margin: 14px 0 2px; font-weight: 600; font-size: 15.5px; letter-spacing: .01em; }
.price { margin: 0 0 12px; color: var(--clay-deep); font-size: 14px; font-weight: 700; }

/* Placeholder tiles + moody tones */
.ph {
  aspect-ratio: 4/5; border-radius: var(--radius); position: relative;
  overflow: hidden; display: grid; place-items: center;
  background: linear-gradient(160deg, #d4c8b3, #b09c80);
}
.ph::after {
  content: attr(data-label); position: absolute; bottom: 10px; left: 10px; right: 10px;
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: rgba(45,30,15,.5);
  font-weight: 700;
}
.ph::before {
  content: ""; width: 46%; height: 46%; border-radius: 50% 50% 46% 54% / 60% 60% 40% 40%;
  background: rgba(240,232,220,.28); box-shadow: inset 0 -10px 24px rgba(60,35,18,.3);
}
.ph.wide { aspect-ratio: 3/2; }
.t-oat      { background: linear-gradient(160deg,#d8cdb8,#b3a488); }
.t-clay     { background: linear-gradient(160deg,#c08a63,#9d5638); }
.t-sage     { background: linear-gradient(160deg,#b3b39a,#7c7d67); }
.t-stone    { background: linear-gradient(160deg,#c2b9ac,#88806f); }
.t-honey    { background: linear-gradient(160deg,#d3b27b,#ac7c3d); }
.t-charcoal { background: linear-gradient(160deg,#98918a,#453f39); }
.t-rust     { background: linear-gradient(160deg,#bd7850,#894326); }
.t-mush     { background: linear-gradient(160deg,#cbbdad,#998a76); }
.t-olive    { background: linear-gradient(160deg,#a7a784,#6d6e4e); }

/* ---------- Shop overview (category cards) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 980px; margin: 40px auto 0; }
.cat-card { display: block; }
.cat-card .ph { aspect-ratio: 16/10; margin-bottom: 16px; transition: transform .35s ease; }
.cat-card:hover .ph { transform: scale(1.015); }
.cat-card h3 { font-family: var(--display); font-weight: 400; font-size: 24px; margin: 0 0 4px; }
.cat-card p { margin: 0 0 6px; color: var(--ink-soft); font-size: 15px; }
.cat-card .go { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--clay-deep); font-weight: 700; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: center; }
.about-art {
  background: radial-gradient(circle at 50% 45%, var(--cream), var(--sand));
  border-radius: 46% 54% 52% 48% / 52% 48% 52% 48%; padding: 30px; display: grid; place-items: center;
}
.hands { width: 78%; filter: drop-shadow(0 18px 26px rgba(40,25,12,.3)); }
.about-photo { padding: 0; position: relative; aspect-ratio: 4/5; }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.about-copy p { color: var(--ink-soft); }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; max-width: 760px; margin: 0 auto; }
.team-card { text-align: center; }
.team-photo {
  width: 230px; height: 230px; margin: 0 auto 20px; border-radius: 50%;
  overflow: hidden; position: relative; border: 1px solid var(--line);
  box-shadow: 0 18px 36px -18px rgba(30, 25, 15, .4);
}
.team-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.team-card h4 { font-family: var(--display); font-weight: 500; font-size: 22px; margin: 0 0 2px; }
.team-role {
  margin: 0 0 10px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--clay-deep); font-weight: 700;
}
.team-bio { margin: 0 auto; color: var(--ink-soft); font-size: 14.5px; max-width: 34ch; }
@media (max-width: 640px) { .team-grid { grid-template-columns: 1fr; gap: 34px; } }
/* desktop: keep the big imagery in check */
@media (min-width: 900px) {
  .team-photo { width: 170px; height: 170px; }
  .hero-art { width: 100%; max-width: 440px; justify-self: center; }
  .about-photo { max-width: 380px; margin: 0 auto; }
}
.sig { font-family: var(--display); font-style: italic; color: var(--clay-deep) !important; font-size: 19px; margin-top: 24px; }
.about-contact { font-size: 14.5px; margin-top: 18px; }
.about-contact a { color: var(--clay-deep); text-decoration: underline; text-underline-offset: 3px; }
.about-contact a:hover { color: var(--clay); }

/* ---------- Collabs ---------- */
.collab-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.collab-card .ph { aspect-ratio: 3/2; margin-bottom: 18px; }
.collab-card h4 { font-family: var(--display); font-weight: 500; font-size: 21px; margin: 0 0 8px; }
.collab-card p { color: var(--ink-soft); font-size: 15px; margin: 0; }
.collab-cta { text-align: center; margin-top: 46px; }
.collab-email { margin: 14px 0 0; font-size: 14px; color: var(--ink-soft); }
.collab-email a { color: var(--clay-deep); text-decoration: underline; text-underline-offset: 3px; }
.tinted { background: var(--cream); }

/* ---------- Mailing ---------- */
.mailing { background: var(--ink); color: var(--paper); padding: 84px 24px; }
.mailing-inner { max-width: 620px; margin: 0 auto; text-align: center; }
.mailing h2 { color: var(--paper); }
.signup { display: flex; gap: 10px; margin: 30px auto 0; max-width: 460px; }
.signup input {
  flex: 1; padding: 15px 18px;
  border: 1px solid color-mix(in srgb, var(--ink) 70%, var(--paper));
  background: color-mix(in srgb, var(--ink) 88%, var(--paper));
  color: var(--paper); font-family: var(--sans); font-size: 15px; border-radius: var(--radius);
}
.signup input::placeholder { color: color-mix(in srgb, var(--paper) 55%, var(--ink)); }
.signup input:focus { outline: none; border-color: var(--clay); }
.signup .btn-dark { background: var(--clay); }
.signup .btn-dark:hover { background: var(--clay-deep); }
.signup-msg { min-height: 22px; margin: 16px 0 0; font-size: 14px; color: color-mix(in srgb, var(--clay) 45%, var(--paper)); }
.signup-msg.err { color: color-mix(in srgb, #c96f52 70%, var(--paper)); }

/* ---------- Footer ---------- */
.site-footer { background: var(--sand); color: var(--ink); padding: 64px 24px 28px; }
.footer-grid {
  max-width: var(--maxw); margin: 0 auto; display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px;
}
.footer-brand .brand-mark { width: 18px; height: 24.75px; margin-bottom: 8px; color: var(--brand-olive); }
.footer-brand .brand-name { font-size: 16px; }
.footer-tag { color: var(--ink-soft); font-size: 14px; margin: 16px 0 0; }
.footer-nav h5, .footer-social h5 {
  text-transform: uppercase; letter-spacing: .18em; font-size: 11px; color: var(--clay-deep);
  margin: 0 0 16px; font-weight: 700;
}
.footer-nav a { display: block; color: var(--ink-soft); font-size: 14.5px; padding: 5px 0; transition: color .15s; }
.footer-nav a:hover { color: var(--clay); }
.footer-email { margin: 0 0 14px; font-size: 14px; }
.footer-email a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; transition: color .15s; }
.footer-email a:hover { color: var(--clay); }
.social-row { display: flex; gap: 12px; }
.social {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--ink); border-radius: 50%; color: var(--ink); transition: all .2s;
}
.social:hover { background: var(--clay); border-color: var(--clay); color: var(--paper); }
.footer-bottom {
  max-width: var(--maxw); margin: 44px auto 0; padding-top: 22px; border-top: 1px solid var(--line);
  text-align: center; font-size: 12.5px; color: var(--ink-soft); letter-spacing: .05em;
}

/* ---------- Chat widget ---------- */
.chat-widget { position: fixed; right: 24px; bottom: 24px; z-index: 100; }
.chat-toggle {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  background: var(--clay); color: var(--paper); border: none; border-radius: 999px;
  padding: 14px 22px; font-family: var(--sans); font-weight: 600; font-size: 14px;
  letter-spacing: .04em; box-shadow: 0 14px 30px -10px rgba(60,32,18,.65); transition: background .2s, transform .15s;
}
.chat-toggle:hover { background: var(--clay-deep); transform: translateY(-2px); }
.chat-toggle-icon { font-size: 18px; }

.chat-panel {
  position: absolute; right: 0; bottom: 64px; width: 340px; max-width: calc(100vw - 48px);
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 26px 60px -18px rgba(30,18,8,.55); overflow: hidden;
  display: flex; flex-direction: column; animation: pop .18s ease;
}
.chat-panel[hidden] { display: none; }
@keyframes pop { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.chat-header {
  background: var(--ink); color: var(--paper); padding: 16px 18px;
  display: flex; align-items: center; justify-content: space-between;
}
.chat-title { font-family: var(--logo); font-weight: 300; text-transform: uppercase; letter-spacing: .28em; font-size: 13px; margin: 0; }
.chat-status { margin: 4px 0 0; font-size: 11.5px; color: color-mix(in srgb, var(--paper) 72%, var(--ink)); display: flex; align-items: center; gap: 6px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #8aa87d; display: inline-block; }
.chat-close { background: none; border: none; color: var(--paper); font-size: 24px; line-height: 1; cursor: pointer; }
.chat-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; max-height: 320px; overflow-y: auto; }
.chat-msg { padding: 11px 14px; border-radius: 14px; font-size: 14px; line-height: 1.5; max-width: 85%; }
.chat-msg.bot { background: var(--sand); color: var(--ink); border-bottom-left-radius: 4px; align-self: flex-start; }
.chat-msg.user { background: var(--clay); color: var(--paper); border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-form { display: flex; border-top: 1px solid var(--line); }
.chat-form input {
  flex: 1; border: none; padding: 14px 16px; font-family: var(--sans); font-size: 14px;
  background: transparent; color: var(--ink);
}
.chat-form input:focus { outline: none; }
.chat-form button { border: none; background: var(--clay); color: var(--paper); width: 48px; cursor: pointer; font-size: 15px; }
.chat-form button:hover { background: var(--clay-deep); }
.chat-alt { margin: 0; padding: 9px 16px 12px; font-size: 12px; color: var(--ink-soft); text-align: center; border-top: 1px solid var(--line); }
.chat-alt a { color: var(--clay-deep); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Cart drawer ---------- */
.cart-root[hidden] { display: none; }
.cart-overlay {
  position: fixed; inset: 0; background: rgba(20, 16, 10, .45); z-index: 140;
}
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 400px; max-width: 92vw; z-index: 141;
  background: var(--paper); border-left: 1px solid var(--line);
  display: flex; flex-direction: column; animation: slide-in .22s ease;
  box-shadow: -24px 0 60px -24px rgba(20, 12, 6, .5);
}
@keyframes slide-in { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.cart-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; border-bottom: 1px solid var(--line);
}
.cart-head h4 { font-family: var(--display); font-weight: 400; font-size: 22px; margin: 0; }
.cart-close { background: none; border: none; font-size: 26px; line-height: 1; cursor: pointer; color: var(--ink-soft); }
.cart-items { flex: 1; overflow-y: auto; padding: 10px 24px; }
.cart-empty { color: var(--ink-soft); font-size: 15px; padding: 30px 0; text-align: center; }
.cart-row {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: start;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.cart-thumb { aspect-ratio: 4/5; width: 64px; border-radius: 2px; }
.cart-thumb::after { display: none; }
.cart-row-name { margin: 0 0 2px; font-weight: 600; font-size: 14.5px; }
.cart-row-price { margin: 0 0 8px; color: var(--ink-soft); font-size: 13px; }
.cart-row-total { margin: 0; font-weight: 700; font-size: 14.5px; color: var(--clay-deep); }
.qty { display: flex; align-items: center; gap: 10px; }
.qty button {
  width: 26px; height: 26px; border: 1px solid var(--line); background: none;
  cursor: pointer; border-radius: 50%; color: var(--ink); font-size: 14px; line-height: 1;
}
.qty button:hover { background: var(--cream); }
.qty span { min-width: 18px; text-align: center; font-size: 14px; font-weight: 600; }
.qty .rm {
  width: auto; height: auto; border: none; border-radius: 0; font-size: 11.5px;
  color: var(--ink-soft); text-decoration: underline; padding: 0; margin-left: 6px;
}
.cart-foot { padding: 18px 24px 22px; border-top: 1px solid var(--line); }
.ship-note { margin: 0 0 10px; font-size: 12.5px; color: var(--clay-deep); min-height: 16px; }
.cart-subtotal {
  display: flex; justify-content: space-between; font-size: 15px; font-weight: 700; margin-bottom: 14px;
}
.cart-checkout { width: 100%; }
.cart-err { margin: 10px 0 0; min-height: 18px; font-size: 13px; color: #a4483a; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: var(--paper); padding: 13px 22px; border-radius: 999px;
  font-size: 14px; opacity: 0; pointer-events: none; transition: all .3s ease; z-index: 120;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 44px; }
  .hero-art { max-width: 380px; order: -1; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .about-art { max-width: 340px; }
  .collab-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 640px) {
  .nav { grid-template-columns: auto 1fr; row-gap: 12px; }
  .brand { order: -1; grid-column: 1 / -1; }
  .nav-left { gap: 18px; }
  .nav-right { gap: 16px; }
  .nav-left, .nav-right { flex-wrap: wrap; }
  .grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .signup { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .chat-toggle-text { display: none; }
  .chat-toggle { padding: 15px; }
}

/* =====================================================================
   Color schemes — moody, earthy alternates. Applied via
   <html data-theme="…">; the default greige needs no attribute.
   ===================================================================== */

/* Peat & Ember — the dark one: peat-brown night, ember terracotta */
[data-theme="ember"] {
  --paper: #26211b; --cream: #2d2721; --sand: #372f26;
  --clay: #b7643a; --clay-deep: #cd7f52;
  --ink: #e9dfcf; --ink-soft: #b3a793;
  --olive: #a8a88b; --line: #3f382f; --brand-olive: #a3a382;
}

/* Forest Floor — dry sage ground, deep moss & pine */
[data-theme="moss"] {
  --paper: #d6d2c0; --cream: #ccc7b2; --sand: #bab294;
  --clay: #5c6b45; --clay-deep: #414f33;
  --ink: #23271d; --ink-soft: #4f5442;
  --olive: #3b402f; --line: #aca489; --brand-olive: #4a5741;
}

/* Stone & Soot — cool stone grey, iron-rust accent */
[data-theme="soot"] {
  --paper: #d0ccc3; --cream: #c5c0b6; --sand: #b0a99b;
  --clay: #7e4a33; --clay-deep: #5f3722;
  --ink: #1f1e1b; --ink-soft: #504c44;
  --olive: #3a3833; --line: #a8a194; --brand-olive: #565348;
}

/* Ochre Dusk — amber-washed sand, burnt ochre & umber */
[data-theme="ochre"] {
  --paper: #ddd2b6; --cream: #d2c5a3; --sand: #c0af88;
  --clay: #9c6c22; --clay-deep: #7a5316;
  --ink: #2b2415; --ink-soft: #5c4f35;
  --olive: #4a3f22; --line: #b3a37b; --brand-olive: #6b5d33;
}

/* Oxblood Kiln — warm grey clay, oxblood glaze accent */
[data-theme="oxblood"] {
  --paper: #d8cdc7; --cream: #cdbfb8; --sand: #b9a79d;
  --clay: #7e3a30; --clay-deep: #5f2b22;
  --ink: #251d1b; --ink-soft: #55463f;
  --olive: #443733; --line: #af9f95; --brand-olive: #6e5348;
}

/* --- Round 2: hybrids of Peat & Ember (dark) and Forest Floor (green) --- */

/* Midnight Pine — dark spruce night, pale sage text, moss accent */
[data-theme="pine"] {
  --paper: #1f241d; --cream: #262b23; --sand: #303628;
  --clay: #74855a; --clay-deep: #93a475;
  --ink: #e3e4d3; --ink-soft: #a9ac97;
  --olive: #a4ad8c; --line: #363c2f; --brand-olive: #9aa385;
}

/* Juniper Smoke — smoked grey-green dark, cool eucalyptus accent */
[data-theme="juniper"] {
  --paper: #262a26; --cream: #2d322d; --sand: #383e37;
  --clay: #5f7d6c; --clay-deep: #82a08d;
  --ink: #dfe3da; --ink-soft: #a7aea3;
  --olive: #9fae9d; --line: #3a413a; --brand-olive: #93a48f;
}

/* Tobacco Leaf — dark umber, aged-gold accent */
[data-theme="tobacco"] {
  --paper: #2a241a; --cream: #322b1f; --sand: #3d3527;
  --clay: #b08238; --clay-deep: #c99a53;
  --ink: #ecdfc3; --ink-soft: #b7a985;
  --olive: #ab9e77; --line: #443b2a; --brand-olive: #a89a6f;
}

/* Greige — the original warm terracotta default, kept selectable */
[data-theme="greige"] {
  --paper: #e7dfd2; --cream: #ded4c3; --sand: #d2c6b2;
  --clay: #9d5638; --clay-deep: #7c4028;
  --ink: #201d18; --ink-soft: #554d40;
  --olive: #474a3b; --line: #c9bca7; --brand-olive: #55583f;
}

/* Fern & Bark — deep parchment, dark fern accent; moodier Forest Floor */
[data-theme="fern"] {
  --paper: #cdc6ac; --cream: #c1b899; --sand: #ab9f7c;
  --clay: #4e5e35; --clay-deep: #3a4827;
  --ink: #211f14; --ink-soft: #4b4936;
  --olive: #3c3d26; --line: #a1976f; --brand-olive: #4c5936;
}

/* Chartreuse Ash — dark ash-olive night, chartreuse glow accent */
[data-theme="chartreuse"] {
  --paper: #23241b; --cream: #2b2c21; --sand: #35372a;
  --clay: #a9b52e; --clay-deep: #c2cf49;
  --ink: #e9e8d3; --ink-soft: #b2b299;
  --olive: #b4b98a; --line: #3c3d2e; --brand-olive: #b0b878;
}

/* Burgundy Cellar — deep wine dark, dusty burgundy-rose accent */
[data-theme="burgundy"] {
  --paper: #2b1b1d; --cream: #332224; --sand: #3f2b2e;
  --clay: #9e4352; --clay-deep: #b86273;
  --ink: #ecdcd6; --ink-soft: #b79c96;
  --olive: #a89083; --line: #463336; --brand-olive: #a3838a;
}

/* ---------- Theme picker (only shown with ?themes) ---------- */
.theme-picker {
  position: fixed; left: 24px; bottom: 24px; z-index: 130;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 22px 50px -18px rgba(20,12,6,.55);
  padding: 14px 14px 10px; width: 232px; font-family: var(--sans);
  max-height: min(72vh, 560px); overflow-y: auto;
}
.theme-picker h6 {
  margin: 0 4px 8px; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 700;
  display: flex; justify-content: space-between; align-items: center;
}
.tp-close { background: none; border: none; cursor: pointer; font-size: 16px; line-height: 1; color: var(--ink-soft); padding: 0 2px; }
.theme-picker .opt {
  display: flex; align-items: center; gap: 10px; width: 100%;
  background: none; border: none; padding: 8px; cursor: pointer; border-radius: 8px;
  font-size: 13px; color: var(--ink); font-family: var(--sans); text-align: left;
}
.theme-picker .opt:hover { background: var(--cream); }
.theme-picker .opt.active { background: var(--sand); font-weight: 700; }
.theme-picker .sw { display: inline-flex; gap: 3px; flex-shrink: 0; }
.theme-picker .sw i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0,0,0,.25); }
@media (max-width: 640px) {
  .theme-picker { left: 12px; bottom: 12px; width: 210px; }
}
