/* G-People's General Store
   Shop structure in the live site's colors:
   white, peru #cd853f, and the browns already on gpeoplesgeneralstore.com.
   Gold shows up only as the oval's lettering on dark bands. */

:root {
  --white: #ffffff;
  --paper: #ffffff;
  --paper-2: #f5f5f5;
  --mist: #fbf6f0;
  --ink: #161616;
  --cream: #fff8f1;
  --peru: #cd853f;
  --peru-deep: #a6682b;
  --bark: #643e1a;
  --walnut: #462a0f;
  --walnut-2: #4b2e11;
  --night: #2a1809;
  --gold: #f3d7a1;
  --line: rgba(70, 42, 15, 0.14);
  --header-h: 78px;
  --wrap: min(1520px, calc(100% - clamp(20px, 3vw, 48px)));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { width: 100%; margin: 0; }
html {
  background: var(--white);
  scroll-behavior: smooth;
  scroll-padding-top: 5.6rem;
}
body {
  background: var(--white);
  color: var(--ink);
  font-family: Figtree, "Avenir Next", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--peru); outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap { width: var(--wrap); margin-inline: auto; }
#bench, #floor, #corral, #road, #about, #line, #order, #top { scroll-margin-top: 5.6rem; }

.eyebrow {
  margin: 0 0 10px;
  color: var(--peru-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
h1, h2, h3, .wordmark strong, .mosaiccopy strong, .pull, .visit-card h2, .visit-card h3 {
  font-family: Fraunces, Palatino, "Iowan Old Style", serif;
  font-weight: 560;
  letter-spacing: -0.03em;
}

/* Header — white bar, peru action */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid rgba(205, 133, 63, 0.35);
}
.navin {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
}
.wordmark {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  min-width: 0;
}
.wordmark strong {
  font-size: 1.45rem;
  line-height: 1;
  font-weight: 560;
}
.wordmark span {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--peru-deep);
}
.links {
  display: none;
  flex: 1;
  justify-content: space-evenly;
  gap: 12px;
  min-width: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.links a { text-decoration: none; }
.links a:hover, .links a[aria-current="page"] { color: var(--peru-deep); }
.navbuttons { margin-left: auto; display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.navbtn, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.navbtn, .btn.solid {
  background: var(--peru);
  color: var(--ink);
}
.navbtn:hover, .btn.solid:hover {
  background: var(--bark);
  color: var(--cream);
  transform: translateY(-1px);
}
.btn.ghost {
  background: transparent;
  border-color: rgba(255, 248, 241, 0.45);
  color: var(--cream);
}
.btn.ghost:hover { border-color: var(--peru); color: var(--gold); }
.btn.line {
  background: transparent;
  border-color: rgba(70, 42, 15, 0.25);
  color: var(--ink);
}
.btn.line:hover { border-color: var(--peru); color: var(--bark); }
.btn.arrow::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
}
.menu {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mobnav {
  display: none;
  gap: 4px;
  padding: 8px 20px 18px;
  border-top: 1px solid rgba(205, 133, 63, 0.35);
  background: var(--white);
}
body.menu-open .mobnav { display: grid; }
.mobnav a, .mobnav span {
  padding: 12px 0;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.mobnav .quiet {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  color: var(--bark);
}

/* Their theme color, black type — same pairing as the live cards */
.announce { background: var(--peru); color: var(--ink); }
.announce-in {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  padding: 11px 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}
.announce a { color: var(--night); text-underline-offset: 3px; }
.announce b { font-weight: 700; }

/* Framed hero — white card, oval as the sign */
.hero {
  background: linear-gradient(180deg, #fff 0%, var(--mist) 100%);
  padding: 16px 0 22px;
}
.hero-shell {
  position: relative;
  display: grid;
  gap: 8px;
  align-items: center;
  min-width: 0;
  padding: 28px 22px 34px;
  border: 1px solid rgba(205, 133, 63, 0.35);
  border-radius: 22px;
  overflow: hidden;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 18px 48px rgba(70, 42, 15, 0.08);
}
.hero-copy { min-width: 0; }
.hero-sign { position: relative; display: grid; place-items: center; min-height: 220px; order: -1; }
.hero-sign::before {
  content: "";
  position: absolute;
  width: 78%;
  height: 72%;
  background: radial-gradient(ellipse, rgba(205, 133, 63, 0.2), transparent 68%);
  filter: blur(8px);
}
.hero-sign img {
  position: relative;
  width: min(520px, 100%);
  height: auto;
  filter: drop-shadow(0 16px 28px rgba(70, 42, 15, 0.16));
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--peru-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero .kicker { color: var(--peru-deep); }
.hero .kicker::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--peru);
}
.hero h1 {
  margin: 0;
  max-width: 11em;
  font-size: clamp(46px, 6.2vw, 82px);
  line-height: 0.92;
  font-weight: 560;
  color: var(--ink);
}
.hero h1 em { font-style: italic; font-weight: 520; color: var(--peru-deep); }
.lede {
  max-width: 34em;
  margin: 18px 0 0;
  color: var(--bark);
  font-size: 18px;
  line-height: 1.55;
}
.proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.proof span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(70, 42, 15, 0.16);
  border-radius: 999px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 24px; }
.hero .actions .btn.solid { min-width: 168px; min-height: 52px; padding: 0 28px; font-size: 13px; }
.markets-link {
  color: var(--bark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.markets-link:hover { color: var(--peru-deep); }
.backbar { padding-top: 22px; }
main:has(.backbar) > section:first-of-type { padding-top: 28px; }
.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}
.back::before {
  content: "←";
  font-size: 18px;
  letter-spacing: 0;
  line-height: 1;
}
.back:hover { color: var(--peru-deep); }
.made {
  margin: 18px 0 0;
  color: var(--peru-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.strip {
  background: var(--white);
  border-bottom: 1px solid rgba(205, 133, 63, 0.35);
}
.stripin {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 16px;
  padding: 16px 0;
  text-align: center;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}
.dot { color: var(--peru); font-weight: 700; }

section { padding: 84px 0; }
.sectionhead { max-width: 680px; margin-bottom: 28px; }
.sectionhead h1, .sectionhead h2, .doorcopy h2, .notecopy h2, .build h1 {
  margin: 0;
  font-size: clamp(46px, 5.8vw, 78px);
  line-height: 0.92;
}
.sectionhead p, .doorcopy p, .notecopy .plain, .build .sentence, .build .home-line {
  margin: 14px 0 0;
  color: var(--bark);
  font-size: 17px;
  line-height: 1.6;
}
.sectionhead p + p { margin-top: 6px; }

/* Bench sits on the same warm paper as the rest of the store */
#bench {
  background: linear-gradient(180deg, #fff 0%, #f8f1e6 42%, #f3e6d4 100%);
  color: var(--ink);
}
#bench .eyebrow { color: var(--peru-deep); }
#bench .sectionhead h2 { color: var(--ink); }
#bench .mosaiccopy small { color: var(--gold); }
.mosaic { display: grid; gap: 12px; }
.mosaicitem {
  position: relative;
  display: block;
  min-height: 260px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(70, 42, 15, 0.12);
  background: #efe4d4;
  text-decoration: none;
  color: var(--cream);
}
.mosaicitem img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mosaicitem.plate { background: #2a1809; min-height: 340px; }
.deck {
  position: absolute;
  inset: 92px 16px 18px;
}
.mosaicitem.plate .deck img {
  position: absolute;
  inset: auto;
  width: 38%;
  height: auto;
  object-fit: cover;
  border-radius: 14px;
  border: 3px solid #f4e7d4;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.38);
  background: #1c120a;
}
.mosaicitem.plate .deck img:nth-child(1) { left: 0; top: 14%; height: 74%; transform: rotate(-9deg); }
.mosaicitem.plate .deck img:nth-child(2) {
  left: 30%;
  top: 2%;
  height: 94%;
  z-index: 2;
  object-fit: contain;
  object-position: center;
  background: #f4efe6;
  transform: rotate(-1deg);
}
.mosaicitem.plate .deck img:nth-child(3) { left: 60%; top: 10%; height: 82%; z-index: 3; transform: rotate(8deg); }
.mosaicitem.plate:hover .deck img:nth-child(1) { transform: rotate(-12deg) translate(-4px, 4px); }
.mosaicitem.plate:hover .deck img:nth-child(2) { transform: rotate(-1deg) translateY(-6px); }
.mosaicitem.plate:hover .deck img:nth-child(3) { transform: rotate(11deg) translate(4px, 4px); }
.mosaiccopy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 64px 16px 16px;
  background: linear-gradient(transparent, rgba(42, 24, 9, 0.88));
}
.mosaicitem.plate .mosaiccopy {
  top: 14px;
  right: auto;
  bottom: auto;
  left: 14px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(42, 24, 9, 0.82);
}
.mosaiccopy small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.mosaiccopy strong { display: block; margin-top: 4px; font-size: clamp(24px, 2.2vw, 34px); line-height: 1; }
.mosaicitem img { transition: transform 0.35s ease; }
.mosaicitem:hover img { transform: scale(1.03); }

/* The floor — white shop, lifting cards */
#floor { background: var(--white); }
.shopbar {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 0 18px;
  padding: 12px 0;
  background: var(--white);
  border-bottom: 1px solid transparent;
}
.filter {
  flex: 0 0 auto;
  border: 1px solid rgba(70, 42, 15, 0.16);
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.filter.active, .filter:hover {
  background: var(--peru);
  border-color: var(--peru);
  color: var(--ink);
}
.shelves { display: grid; gap: 14px; }
.shelf {
  display: grid;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(70, 42, 15, 0.12);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(70, 42, 15, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.shelf:hover {
  transform: translateY(-4px);
  border-color: rgba(205, 133, 63, 0.55);
  box-shadow: 0 22px 44px rgba(70, 42, 15, 0.12);
}
#floor.photos-off .shelf-photo { display: none; }
.shelf-photo { position: relative; min-height: 320px; background: var(--mist); }
.shelf-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shelf[data-cat="crystal"] .shelf-photo {
  background: radial-gradient(circle at 50% 42%, #fff, #f3e4d0 72%);
}
.shelf[data-cat="crystal"] .shelf-photo img {
  object-fit: contain;
  object-position: center;
}
.shelf-body { padding: 22px 22px 8px; }
.shelf-body h2, .shelf-body h3 { margin: 0 0 4px; font-size: clamp(28px, 3vw, 36px); line-height: 1.05; }
.shelf-note { margin: 0 0 8px; color: var(--bark); font-size: 15px; line-height: 1.45; }
.good {
  display: flex;
  width: 100%;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  text-align: left;
}
.good-name {
  min-width: 0;
  font-family: Fraunces, Palatino, serif;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}
.good-go {
  flex: 0 0 auto;
  color: var(--peru-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.good:hover .good-name { color: var(--peru-deep); }
.moreline {
  width: 100%;
  margin-top: 14px;
  padding: 22px 24px;
  border: 0;
  border-radius: 16px;
  background: var(--peru);
  color: var(--ink);
  text-align: left;
  font-family: Fraunces, Palatino, serif;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.03em;
}
.moreline small {
  display: block;
  margin-bottom: 6px;
  font-family: Figtree, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--night);
}

/* Corral door */
#corral { background: var(--paper-2); }
.doorbox {
  display: grid;
  gap: 22px;
  padding: 22px;
  border: 1px solid rgba(205, 133, 63, 0.4);
  border-radius: 22px;
  background:
    radial-gradient(circle at 0% 0%, rgba(205, 133, 63, 0.16), transparent 36%),
    var(--white);
  box-shadow: 0 18px 40px rgba(70, 42, 15, 0.06);
}
.doorcopy { min-width: 0; }
.doorfeatures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 22px;
  margin: 20px 0 8px;
  padding: 0;
  list-style: none;
}
.doorfeatures li {
  display: grid;
  gap: 3px;
  justify-items: start;
  min-width: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
  text-align: left;
  text-transform: none;
}
.doorfeatures span {
  color: var(--peru-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.doorcopy .btn { width: 100%; }
.doorvisual {
  display: grid;
  place-items: center;
  min-height: 280px;
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, #fff, #f3e4d0 72%);
  border: 1px solid rgba(70, 42, 15, 0.08);
}
.doorvisual img { width: 100%; height: 100%; max-height: 520px; object-fit: contain; }

/* Road */
.road-intro { max-width: 680px; }
.road .more-markets { margin-top: 28px; }
.pagehead { padding: 56px 0 8px; }
.pagehead h1 {
  margin: 0;
  max-width: 12em;
  font-size: clamp(46px, 5.8vw, 78px);
  line-height: 0.92;
}
.pagehead p { margin: 14px 0 0; max-width: 40em; color: var(--bark); line-height: 1.6; }
.pagehead p + p { margin-top: 6px; }
.road-intro h1, .road-intro h2, .about h1 {
  margin: 0 0 12px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 0.96;
}
.see {
  margin: 22px 0 0;
  font-family: Fraunces, Palatino, serif;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
}
.visits { display: grid; gap: 14px; margin-top: 28px; }
.visit-card {
  padding: 26px 24px 24px;
  border: 1px solid rgba(205, 133, 63, 0.28);
  border-top: 4px solid var(--peru);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(70, 42, 15, 0.05);
}
.when {
  margin: 0;
  color: var(--peru-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.visit-card h2, .visit-card h3 { margin: 10px 0; font-size: clamp(28px, 3vw, 36px); line-height: 1.1; }
.where { margin: 0; line-height: 1.5; }
.where a { color: var(--ink); }
.when-note { margin: 28px 0 12px; color: var(--bark); }
.passed { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.passed li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper-2);
}
.passed .when { color: var(--bark); }
.flag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--peru);
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.prints { display: grid; gap: 14px; margin-top: 28px; }
.prints figure { margin: 0; }
.prints img { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); }
.prints figcaption { margin-top: 8px; color: var(--bark); font-size: 14px; }

/* About — its own page, not a homepage essay */
.about { background: var(--white); }
.about .story { margin-top: 8px; }
.story p { margin: 0 0 16px; max-width: 62ch; font-size: 18px; line-height: 1.7; }
.story p:last-child { margin-bottom: 0; }

/* Note — warm paper beside a white form. Peru stays on the button. */
.line { padding-top: 28px; background: var(--white); }
.notebox {
  display: grid;
  align-items: stretch;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(70, 42, 15, 0.1);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(70, 42, 15, 0.06);
}
.notecopy {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
  padding: 28px 22px;
  border-radius: 20px;
  background: linear-gradient(180deg, #fffdf9 0%, #f6ecdf 100%);
  color: var(--ink);
}
.fbcard {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 220px;
  margin-top: auto;
  overflow: hidden;
  border: 1px solid rgba(70, 42, 15, 0.1);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(70, 42, 15, 0.06);
  text-decoration: none;
}
.fbcard:hover { border-color: var(--peru); }
.fbcover { display: grid; flex: 1; grid-template-columns: 1.35fr 1fr 1fr; min-height: 168px; }
.fbcover img { width: 100%; height: 100%; object-fit: cover; }
.fbmeta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px 16px;
}
.fbmark {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: block;
}
.fbmeta strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: none;
}
.fbmeta small {
  display: block;
  margin-top: 2px;
  color: var(--bark);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}
.notecopy h2 { font-size: clamp(36px, 4vw, 52px); max-width: 8em; }
.notecopy .eyebrow { color: var(--peru-deep); }
.notecopy .plain { color: var(--bark); }
.contact-block { display: grid; gap: 14px; margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(70, 42, 15, 0.12); }
.contact-block p { margin: 0; }
.contact-block .phone { font-family: Fraunces, Palatino, serif; font-size: 28px; letter-spacing: -0.02em; }
.notecopy .emails span { display: block; color: var(--bark); }
.emails span { display: block; color: var(--night); }
.noteform { display: flex; flex-direction: column; justify-content: center; padding: 28px 22px 32px; background: var(--white); }
.fields { display: grid; gap: 14px; }
.fields label, .noteform label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.fields input, .fields textarea, .noteform input, .noteform textarea {
  width: 100%;
  border: 1px solid rgba(70, 42, 15, 0.16);
  border-radius: 10px;
  background: var(--white);
  padding: 12px 14px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  font-size: 16px;
}
.fields textarea, .noteform textarea { min-height: 120px; resize: vertical; }
.fields input:focus, .fields textarea:focus, .noteform input:focus, .noteform textarea:focus {
  outline: 2px solid var(--peru);
  outline-offset: 1px;
  border-color: transparent;
}
.submit { margin-top: 16px; width: 100%; }
.about-chip {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--mist);
  color: var(--bark);
  font-size: 14px;
  font-weight: 700;
}
.demo-note {
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid var(--peru);
  border-radius: 8px;
  background: var(--mist);
  color: var(--bark);
  font-weight: 700;
}

/* Close + footer */
.closing { padding: 8px 0 72px; background: var(--white); }
.closebox {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  min-height: 220px;
  padding: 36px 28px;
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(243, 215, 161, 0.16), transparent 46%),
    var(--night);
  color: var(--cream);
  text-align: left;
}
.closebox > div { width: 100%; min-width: 0; }
.closebox .eyebrow { color: var(--gold); }
.closebox h2 { max-width: 16em; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.02; color: var(--cream); }
.closebox p { margin: 0; max-width: 36em; color: rgba(255, 248, 241, 0.78); }
.closing .btn.solid { background: var(--peru); color: var(--ink); }
.closing .btn.solid:hover { background: var(--gold); color: var(--night); }
.site-foot {
  background: var(--night);
  color: rgba(255, 248, 241, 0.78);
  padding: 36px 0 40px;
}
.foot { display: grid; gap: 14px; }
.foot strong {
  font-family: Fraunces, Palatino, serif;
  color: var(--cream);
  font-size: 22px;
  font-weight: 560;
}
.foot .emails span { display: block; color: var(--gold); font-size: 14px; }
.footlinks { display: flex; flex-wrap: wrap; gap: 16px; }
.footlinks a {
  color: var(--cream);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}
.footlinks a:hover { color: var(--peru); }
.legal { margin: 0; font-size: 13px; }

/* Corral room */
.build {
  padding-bottom: 28px;
  background:
    radial-gradient(circle at 80% 0%, rgba(205, 133, 63, 0.14), transparent 32%),
    var(--white);
}
.build-grid { display: grid; gap: 18px; }
.build h1 { max-width: 8em; color: var(--ink); }
.shirt {
  margin: 0;
  display: grid;
  place-items: center;
  min-height: 280px;
  border-radius: 18px;
  background: radial-gradient(circle at 50% 42%, #fff, #f3e4d0 72%);
  border: 1px solid rgba(205, 133, 63, 0.35);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(70, 42, 15, 0.08);
}
.shirt img { width: 100%; height: 100%; max-height: 560px; object-fit: contain; }

.wizard {
  grid-column: 1 / -1;
  padding: 22px 20px 20px;
  border: 1px solid rgba(70, 42, 15, 0.1);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(70, 42, 15, 0.06);
}
.wizard-progress {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.wizard-progress li {
  display: grid;
  gap: 3px;
  padding-top: 8px;
  border-top: 3px solid rgba(70, 42, 15, 0.12);
  color: var(--bark);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}
.wizard-progress li.on { border-top-color: var(--peru); color: var(--ink); }
.wizard-progress li.done { border-top-color: var(--peru-deep); }
.wizard-progress span {
  color: var(--peru-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.wizard-step h2 { margin: 0 0 8px; font-size: clamp(28px, 3vw, 40px); line-height: 1.05; }
.wizard-step p { margin: 0 0 16px; color: var(--bark); }
.wizard-error { margin: 12px 0 0; color: var(--bark); font-weight: 700; }
.wizard-nav { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.wizard-nav .btn { min-width: 148px; min-height: 48px; }
.wizard-nav .btn.solid { margin-left: auto; }
.wizard-nav .wizard-back {
  border-color: rgba(22, 22, 22, 0.45);
  background: var(--white);
  color: var(--ink);
}
.wizard-nav .wizard-back::before {
  content: "";
  width: 8px;
  height: 8px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
.wizard-nav .wizard-back:hover { border-color: var(--peru); color: var(--bark); }
.pick { margin: 0 0 18px; }
.pick-label {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.style-picks, .chips, .swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.style-card, .chips label, .swatches label {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  margin: 0;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  font-size: 14px;
}
.style-card {
  width: 148px;
  padding: 12px 10px 14px;
  border: 1px solid rgba(70, 42, 15, 0.14);
  border-radius: 14px;
  background: #fbf6f0;
}
.style-card svg { width: 78px; height: 78px; color: var(--bark); }
.style-card svg path,
.style-card svg circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.style-card input, .chips input, .swatches input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.style-card:has(input:checked), .chips label:has(input:checked) {
  border-color: var(--peru);
  box-shadow: inset 0 0 0 1px var(--peru);
}
.swatches label:has(input:checked) i {
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--peru);
}
.chips label {
  min-width: 52px;
  min-height: 44px;
  place-items: center;
  padding: 0 12px;
  border: 1px solid rgba(70, 42, 15, 0.16);
  border-radius: 10px;
  background: var(--white);
}
.swatches label { width: 72px; }
.swatches label:last-child { width: 104px; }
.swatches i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(70, 42, 15, 0.2);
}
.swatch-other {
  background:
    linear-gradient(135deg, transparent 46%, var(--bark) 46% 54%, transparent 54%),
    #f3e6d4;
}
.other-field { max-width: 360px; margin-top: 10px; }
.upload input { padding: 10px; }
.design-preview {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.review {
  display: grid;
  margin: 0 0 18px;
  border: 1px solid rgba(70, 42, 15, 0.1);
  border-radius: 16px;
  overflow: hidden;
  background: #fffdf9;
}
.review-row {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  border-top: 1px solid rgba(70, 42, 15, 0.08);
}
.review-row:first-child { border-top: 0; }
.review-row span {
  color: var(--peru-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.review-row strong { font-weight: 600; }
.review-row img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.wizard-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 16px 0 0;
  color: var(--bark);
  font-size: 14px;
}
.wizard-contact .phone { font-family: Fraunces, Palatino, serif; color: var(--ink); font-size: 18px; }

.cartbtn {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(70, 42, 15, 0.16);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
}
.cartbtn .carticon { display: block; width: 22px; height: 22px; }
.cartbtn:hover { border-color: var(--peru); color: var(--bark); }
.cartbtn i {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--peru);
  color: var(--ink);
  box-shadow: 0 0 0 2px var(--white);
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}
.cartbtn i[hidden] { display: none !important; }
.cart {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  justify-items: end;
  background: rgba(42, 24, 9, 0.45);
}
.cartbox {
  position: relative;
  width: min(420px, 100%);
  height: 100%;
  overflow: auto;
  padding: 28px 22px 32px;
  background: var(--white);
  box-shadow: -18px 0 40px rgba(42, 24, 9, 0.18);
}
.cartbox h2 { margin: 0 0 6px; font-size: 36px; }
.cartbox .plain { margin: 0 0 12px; color: var(--bark); }
.cartline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 14px;
  align-items: center;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(70, 42, 15, 0.1);
  border-radius: 14px;
  background: #fffdf9;
}
.cart-toggle {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 4px;
  border: 0;
  background: none;
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}
.cart-toggle strong { font-family: Fraunces, Palatino, serif; font-size: 20px; font-weight: 560; }
.cart-toggle span { color: var(--bark); font-size: 14px; }
.cart-remove {
  align-self: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(22, 22, 22, 0.35);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cart-remove:hover { border-color: var(--peru); color: var(--bark); }
.cart-more {
  grid-column: 1 / -1;
  display: grid;
  gap: 6px;
  padding: 8px 4px 2px;
  border-top: 1px solid rgba(70, 42, 15, 0.08);
}
.cart-more p { margin: 0; color: var(--bark); font-size: 14px; }
.cart-more img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; }
.cart-empty { margin: 18px 0; color: var(--bark); }
.cartbox .btn.solid { width: 100%; margin-top: 16px; }
.steps {
  display: grid;
  gap: 10px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.steps li {
  display: grid;
  gap: 4px;
  align-items: start;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}
.steps .n {
  color: var(--peru-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.steps h2 { margin: 0; font-size: 22px; line-height: 1.1; }
.steps p { margin: 4px 0 0; color: var(--bark); font-size: 15px; }

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(42, 24, 9, 0.72);
}
.modal.show { display: flex; }
.modalbox {
  position: relative;
  width: min(920px, 100%);
  max-height: min(92vh, 780px);
  overflow: auto;
  border-radius: 18px;
  background: var(--white);
  color: var(--ink);
}
.modalbox.text-only { width: min(440px, 100%); }
.product-modal { display: grid; min-width: 0; }
.modalbox.text-only .product-modal { display: block; }
.product-shot {
  display: grid;
  place-items: center;
  min-height: 240px;
  background: radial-gradient(circle at 50% 42%, #fff, #f3e4d0 72%);
}
.product-shot img { width: 100%; height: 100%; max-height: 520px; object-fit: contain; }
.modalcopy { min-width: 0; padding: 28px 22px 32px; }
.modalbox.text-only .modalcopy { padding: 28px 32px 32px; }
.modalbox.text-only .modalcopy h3 { padding-right: 36px; }
.modalcopy h3 {
  margin: 8px 0;
  max-width: 100%;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 0.98;
  overflow-wrap: break-word;
}
.modalcopy p { margin: 0 0 10px; max-width: 36ch; color: var(--bark); line-height: 1.55; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.modalbox.text-only .modal-actions { justify-content: center; }
.modal-actions .btn.ghost {
  border-color: rgba(70, 42, 15, 0.25);
  color: var(--ink);
}
.modal-actions .btn.ghost:hover { border-color: var(--peru); color: var(--bark); }
.close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
}

@media (min-width: 640px) {
  .prints { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 980px) {
  .links { display: flex; }
  .menu { display: none; }
  .navbuttons { margin-left: 0; }
  body.menu-open .mobnav { display: none; }
  .hero { padding: 22px 0 28px; }
  .hero-shell {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 28px;
    padding: 48px 48px 52px;
    border-radius: 26px;
  }
  .hero-sign { order: 0; min-height: 0; }
  .hero-sign img { width: min(600px, 100%); }
  .stripin { gap: 22px; }
  .mosaic {
    grid-template-columns: 1.25fr 1fr;
    grid-template-rows: minmax(250px, 1fr) minmax(250px, 1fr) auto;
  }
  .mosaicitem.big { grid-row: 1 / span 2; min-height: 0; }
  .mosaicitem.plate { grid-column: 1 / -1; min-height: 360px; }
  .deck { inset: 28px 36px 28px 280px; }
  .shelves { grid-template-columns: 1fr 1fr; }
  .shelf.wide { grid-column: 1 / -1; grid-template-columns: 0.86fr 1.14fr; }
  #floor.photos-off .shelf.wide { grid-template-columns: 1fr; }
  .shelf.wide .shelf-photo { min-height: 460px; }
  .doorbox { grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 36px; padding: 42px; }
  .visits { grid-template-columns: 1fr 1fr; }
  .doorfeatures, .wizard-progress { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .notebox { grid-template-columns: 0.86fr 1.14fr; }
  .notecopy, .noteform { padding: 40px 40px 32px; }
  .closebox {
    flex-direction: row;
    align-items: flex-start;
    gap: 48px;
    min-height: 260px;
    padding: 52px 64px;
  }
  .closebox .btn { flex: 0 0 auto; align-self: flex-end; }
  .foot { grid-template-columns: 1.4fr auto auto; align-items: center; }
  .build-grid { grid-template-columns: 1fr 0.9fr; align-items: center; }
  .steps { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); }
  .product-modal { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .modalbox.text-only .product-modal { display: block; }
  .product-shot { min-height: 100%; }
  .modalcopy { display: flex; flex-direction: column; justify-content: center; padding: 40px 36px 40px 28px; }
  .modalbox.text-only .modalcopy { display: block; padding: 32px 32px 36px; }
}

@media (max-width: 979px) {
  .navbtn { display: none; }
  .actions .btn { flex: 1 1 auto; }
  .style-card { width: calc(50% - 6px); }
}
@media (max-width: 640px) {
  .closebox h2 { font-size: 32px; }
  .fbcover { min-height: 108px; }
  .announce-in { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .shelf, .btn, .navbtn, .mosaicitem img { transition: none; }
}
