:root {
  color-scheme: light;
  --bg: #f3e7d8;
  --ink: #3a261c;
  --heading: #2c1812;
  --muted: #7d5c48;
  --line: #d4bba4;
  --paper: #e7d3c0;
  --sand: #efe1d1;
  --sale: #8d342c;
  --header-bg: #f7efe4;
  --btn: #4a2c24;
  --btn-text: #f6efe6;
  --card-text: #5c4032;
  --input-bg: #fbf6ef;
  --input-border: #c9ae96;
  --cream: #f6efe6;
  --bar: #e6d2b8;
  --bar-ink: #2c1812;
  --bar-muted: #7d5c48;
  --bar-line: rgba(44, 24, 18, 0.18);
  --bar-hover: rgba(44, 24, 18, 0.06);
  --hide: rgba(74, 44, 36, 0.07);
  --header: 118px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #2a1816;
  --ink: #f0e2d4;
  --heading: #f7efe6;
  --muted: #c9b09c;
  --line: #5c3c34;
  --paper: #3a2420;
  --sand: #321c1a;
  --sale: #e7a090;
  --header-bg: #241412;
  --btn: #e8d4c0;
  --btn-text: #2a1816;
  --card-text: #e4d2c2;
  --input-bg: #321c1a;
  --input-border: #6a4a40;
  --cream: #f6efe6;
  --bar: #241412;
  --bar-ink: #f6efe6;
  --bar-muted: rgba(246, 239, 230, 0.72);
  --bar-line: rgba(246, 239, 230, 0.16);
  --bar-hover: rgba(246, 239, 230, 0.08);
  --hide: rgba(246, 239, 230, 0.05);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html { background: var(--bg); }
body {
  margin: 0;
  font-family: Raleway, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background-color: var(--bg);
  background-image: radial-gradient(var(--hide) 0.7px, transparent 0.8px);
  background-size: 3px 3px;
  font-size: 16px;
  line-height: 1.5;
}
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; color: var(--heading); margin: 0 0 0.4em; }
p { margin: 0 0 0.8em; }
::selection { background: #e4c7b0; }
:focus-visible { outline: 2px solid var(--heading); outline-offset: 3px; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--bg);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 50;
}
.skip:focus { top: 12px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.noscript { padding: 24px; }

.header-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px 28px;
  background: var(--bar);
  color: var(--bar-ink);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px dashed var(--bar-muted);
}
.logo { display: flex; align-items: center; justify-self: start; }
.brand {
  justify-self: center;
  text-align: center;
  color: var(--bar-ink);
}
.brand strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-variant-numeric: lining-nums;
  display: block;
  line-height: 1;
  color: var(--bar-ink);
}
.brand small {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-variant-numeric: lining-nums;
  color: var(--bar-muted);
}
.logo-mark {
  display: block;
  width: 72px;
  height: 72px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
}
.logo-mark img { grid-area: 1 / 1; width: 78px; height: 78px; object-fit: contain; }
.logo-img-dark { display: none; }
html[data-theme="dark"] .logo-img-light { display: none; }
html[data-theme="dark"] .logo-img-dark { display: block; }
.logo strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  display: block;
  line-height: 1;
  color: #f6efe6;
}
.logo small {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 239, 230, 0.72);
}
.tools { display: flex; align-items: center; gap: 4px; position: relative; justify-self: end; }
.icon-btn, .menu-btn, .chev, .text-btn {
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  color: var(--heading);
}
.header-bar .icon-btn,
.header-bar .menu-btn,
.header-bar .account-link,
.header-bar .nav a { color: var(--bar-ink); }
.menu-btn { display: none; letter-spacing: 0.12em; text-transform: uppercase; font-size: 12px; }
.count { font-size: 12px; }

.nav {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px 18px;
  padding: 0 28px 12px;
}
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a { font-size: 14px; padding: 6px 0; }
.nav-item.is-current > a { text-decoration: none; box-shadow: inset 0 -1px 0 var(--bar-ink); }
.chev { display: none; padding: 4px; }
.menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 190px;
  background: var(--header-bg);
  border: 1px solid var(--line);
  padding: 8px 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  z-index: 5;
}
.menu a { display: block; padding: 8px 16px; font-size: 14px; }
.menu a:hover { background: var(--sand); }
.nav-item:hover .menu, .nav-item:focus-within .menu { display: block; }

.search-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(340px, 80vw);
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  padding: 12px;
  z-index: 25;
}
.search-panel[hidden] { display: none; }
.search-panel input { width: 100%; padding: 10px 12px; border: 1px solid var(--input-border); background: var(--input-bg); }
.search-panel a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.search-panel a:hover { background: var(--sand); }

.hero {
  position: relative;
  height: min(78vh, 760px);
  min-height: 460px;
  background: #111;
  overflow: hidden;
}
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}
.slide.is-on { opacity: 1; z-index: 1; pointer-events: auto; }
.hero-chip {
  position: absolute;
  left: 28px;
  bottom: 28px;
  background: rgba(255, 255, 255, 0.92);
  color: #1c1915;
  padding: 10px 14px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}
.hero-arrow.prev { left: 16px; }
.hero-arrow.next { right: 16px; }
.dots {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.dot { width: 28px; height: 3px; border: 0; padding: 0; background: rgba(255, 255, 255, 0.45); cursor: pointer; }
.dot.is-on { background: #fff; }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); }
.tile {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.tile-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.tile:hover .tile-bg { transform: scale(1.05); }
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.05) 55%);
}
.tile-copy { position: relative; z-index: 1; padding: 32px; }
.tile h2 { color: #fff; font-size: 28px; margin-bottom: 8px; }
.tile p { margin: 0; max-width: 36ch; line-height: 1.5; }

.story { display: grid; grid-template-columns: 1.05fr 0.95fr; min-height: 560px; }
.story-photo { min-height: 420px; background-size: cover; background-position: center; }
.story-copy { padding: 64px 56px; display: flex; flex-direction: column; justify-content: center; }
.story-copy h2 { font-size: clamp(28px, 3vw, 36px); }
.story-copy p { line-height: 1.7; }
.quote { font-family: "Cormorant Garamond", Georgia, serif; font-size: 26px; font-style: italic; color: var(--heading); line-height: 1.35; }
.text-link { text-decoration: underline; text-underline-offset: 3px; width: fit-content; }
.text-btn { padding: 0; text-decoration: underline; text-underline-offset: 3px; }

.prose-block { max-width: 760px; margin: 0 auto; padding: 72px 24px; text-align: center; }
.prose-block h2 { font-size: 28px; }
.prose-block p { line-height: 1.7; }
.phone-link { font-weight: 600; }

.section-head { text-align: center; padding: 12px 20px 8px; }
.section-head h2 { font-size: 28px; }
.section-head a:hover { text-decoration: underline; text-underline-offset: 4px; }

.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.page { padding: 28px 0 72px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 18px; }
.card a { display: block; }
.art {
  position: relative;
  background-color: #5c3832;
  background-image: url("../images/weave.jpg");
  background-size: cover;
  background-position: center;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.art img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.card:hover .art img { transform: scale(1.04); }
.card:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.card h3, .card .meta, .card .price { text-align: left; }
.card h3 { font-size: 22px; margin: 12px 0 4px; }
.card .meta, .card .price { margin: 0; color: var(--card-text); font-size: 14px; }
.card .price { margin-top: 2px; margin-bottom: 8px; }
.price s { color: var(--muted); margin-right: 6px; }
.price .now { color: var(--sale); }
.badge {
  position: absolute;
  z-index: 1;
  top: 12px;
  left: 12px;
  background: #1e1e1e;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 8px;
}
.badge.sale { background: var(--sale); }
.card.is-out .art { opacity: 0.55; }

.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding-bottom: 64px; }
.post-card img { width: 100%; height: 230px; object-fit: cover; }
.post-card h3 { font-size: 18px; margin-top: 12px; }
.post-card p { color: var(--card-text); }
.post-card a:hover h3 { text-decoration: underline; text-underline-offset: 3px; }

.cta {
  min-height: 420px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  background-size: cover;
  background-position: center;
  position: relative;
}
.cta::before { content: ""; position: absolute; inset: 0; background: rgba(20, 16, 12, 0.45); }
.cta div { position: relative; max-width: 640px; padding: 56px 20px; }
.cta h2 { color: #fff; font-size: clamp(28px, 4vw, 40px); }
.cta p { font-size: 17px; }
.btn {
  display: inline-block;
  border: 1px solid currentColor;
  padding: 12px 22px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  background: transparent;
  cursor: pointer;
  text-align: center;
}
.btn-dark { background: var(--btn); color: var(--btn-text); border-color: var(--btn); }
.btn-light { color: #fff; border-color: #fff; }
.cta .btn { margin-top: 8px; }

.stamp { text-align: center; padding: 36px 16px 8px; }
.stamp-mark { display: grid; width: 92px; margin: 0 auto; }
.stamp-mark img { grid-area: 1 / 1; width: 92px; height: 80px; object-fit: contain; }
.stamp p {
  margin-top: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--muted);
}

.lead-notice {
  background: #1c100e;
  color: #e7d7c8;
  border-top: 1px solid rgba(196, 142, 74, 0.45);
  padding: 56px 8vw 48px;
}
.lead-inner { max-width: 880px; margin: 0 auto; text-align: center; }
.lead-pill {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 8px 16px;
  border: 1px solid rgba(212, 164, 96, 0.55);
  border-radius: 999px;
  background: rgba(92, 48, 18, 0.55);
  color: #f0d7a8;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}
.lead-notice h2 { color: #fff; font-size: clamp(28px, 4vw, 40px); margin-bottom: 12px; }
.lead-copy {
  max-width: 62ch;
  margin: 0 auto;
  color: #d9c7b6;
  font-size: 16px;
  line-height: 1.65;
}
.lead-copy strong { color: #f3e2c4; }
.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}
.lead-card {
  padding: 16px 12px;
  background: #2a1814;
  border: 1px solid #3d2822;
  border-radius: 10px;
}
.lead-card p {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b7a090;
}
.lead-card strong {
  display: block;
  color: #e8c27a;
  font-family: Raleway, Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
}
.lead-ack {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 0;
  font-family: Raleway, Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.45;
  text-align: left;
}
.quote label.lead-ack {
  display: flex;
  font-family: Raleway, Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-style: normal;
  letter-spacing: 0;
  text-transform: none;
}
.lead-ack input { width: auto; margin: 3px 0 0; flex: 0 0 auto; }
@media (min-width: 800px) {
  .lead-grid { grid-template-columns: repeat(4, 1fr); }
}

.footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 48px 8vw 32px;
  background: var(--bar);
  color: var(--bar-ink);
  border-top: 0;
}
.footer h2 { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bar-ink); }
.footer a, .footer .label { color: var(--bar-ink); }
html[data-theme="dark"] .footer .btn-dark { background: #f6efe6; color: #241412; border-color: #f6efe6; }
.footer .label { font-style: italic; }
.footer a:hover { text-decoration: underline; }
.news { display: flex; flex-wrap: wrap; gap: 8px; }
.news input { flex: 1 1 180px; padding: 12px; border: 1px solid var(--input-border); background: var(--input-bg); color: var(--ink); }
.form-note { flex: 1 0 100%; min-height: 1.2em; font-size: 14px; }
.legal { grid-column: 1 / -1; color: var(--bar-muted); font-size: 13px; margin: 0; }
.studio {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--bar-muted);
  font-size: 12px;
}
.studio-mark {
  font-family: Syne, sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.03em;
  color: #0d3d28;
  text-decoration: none;
}
html[data-theme="dark"] .studio-mark { color: #a8ecc4; }
.footer .studio-mark:hover { text-decoration: none; }

.banner {
  min-height: 340px;
  display: grid;
  align-items: end;
  color: #fff;
  background-size: cover;
  position: relative;
}
.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.12));
}
.banner div { position: relative; padding: 48px 8vw; max-width: 760px; }
.banner h1 { color: #fff; font-size: clamp(36px, 5vw, 56px); }
.banner p { margin: 0; font-size: 17px; }

.toolbar { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin: 8px 0 22px; }
.toolbar select { padding: 8px 10px; border: 1px solid var(--input-border); background: var(--input-bg); color: var(--ink); }
.filter-note { color: var(--muted); font-size: 14px; }
.empty { padding: 24px 0 48px; }

.product { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.product .art { background: var(--paper); }
.buy label { display: block; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; margin: 16px 0 6px; }
.buy select, .buy input[type="number"] { width: 100%; padding: 12px; border: 1px solid var(--input-border); background: var(--input-bg); color: var(--ink); }
.buy .btn { width: 100%; margin-top: 18px; }
.fine { color: var(--muted); font-size: 14px; margin-top: 12px; }
.specs { margin: 18px 0 0; padding: 0; list-style: disc; padding-left: 18px; }
.specs li { margin: 6px 0; }
.crumb { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumb a:hover { text-decoration: underline; }
.product h1 { font-size: clamp(28px, 3vw, 36px); }

.service-grid, .visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.service-card, .policy, .visit-card { border: 1px solid var(--line); padding: 22px; }
.policy { margin-top: 18px; background: var(--sand); }
.shape-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.shape-card { border: 1px solid var(--line); }
.shape-card div { padding: 4px 16px 18px; }
table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
th { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }

.article { max-width: 760px; padding-top: 36px; }
.article h1 { font-size: clamp(32px, 4vw, 46px); }
.date { color: var(--muted); font-size: 14px; }
.article img { width: 100%; max-height: 480px; object-fit: cover; margin: 12px 0 22px; }
.article p { font-size: 17px; line-height: 1.75; }

.cart-layout { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 36px; align-items: start; }
.cart-summary { border: 1px solid var(--line); padding: 22px; position: sticky; top: 140px; }
.cart-summary .btn { width: 100%; margin-top: 10px; }
.line { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line-top { display: flex; justify-content: space-between; gap: 8px; }
.line h3 { font-size: 15px; }
.line .meta { color: var(--muted); font-size: 13px; margin: 0; }
.remove { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; font-size: 13px; }
.qty { display: inline-flex; border: 1px solid var(--input-border); margin-top: 8px; }
.qty button { width: 28px; height: 28px; border: 0; background: var(--input-bg); color: var(--ink); cursor: pointer; }
.qty span { min-width: 22px; text-align: center; line-height: 28px; font-size: 14px; }
.subtotal { display: flex; justify-content: space-between; font-size: 18px; margin: 8px 0 12px; }

.backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.4); z-index: 30; }
.backdrop[hidden] { display: none; }
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 100%);
  background: var(--bg);
  z-index: 31;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.drawer.open { transform: none; }
.drawer header, .drawer footer { padding: 16px 18px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.drawer footer { border-bottom: 0; border-top: 1px solid var(--line); }
.drawer-body { padding: 0 18px; overflow: auto; flex: 1; }
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: #1e1e1e;
  color: #fff;
  padding: 12px 16px;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 40;
  font-size: 14px;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

dialog {
  border: 0;
  padding: 28px;
  max-width: min(460px, calc(100% - 32px));
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}
dialog::backdrop { background: rgba(0, 0, 0, 0.45); }
dialog .btn { margin-top: 8px; }

@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1080px) {
  .menu-btn { display: inline-flex; }
  .header-bar {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "logo tools"
      "brand brand";
    align-items: center;
    gap: 6px 8px;
    padding: 10px 12px 8px;
  }
  .logo { grid-area: logo; }
  .tools { grid-area: tools; justify-self: end; }
  .brand {
    grid-area: brand;
    justify-self: center;
    width: 100%;
    min-width: 0;
  }
  .brand strong { font-size: 28px; white-space: nowrap; }
  .brand small {
    font-size: clamp(8px, 2.5vw, 10px);
    letter-spacing: 0.08em;
    white-space: nowrap;
  }
  .logo-mark { width: 56px; height: 56px; }
  .nav { display: none; }
  body.nav-open .nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bar);
    padding: 8px 20px 20px;
    border-bottom: 1px solid var(--line);
  }
  .chev { display: inline-flex; }
  .menu { position: static; display: none; box-shadow: none; border: 0; padding: 0 0 8px 12px; min-width: 0; }
  .nav-item.open .menu { display: block; }
  .nav-item:hover .menu { display: none; }
  .nav-item.open:hover .menu, .nav-item.open .menu { display: block; }
}
@media (max-width: 800px) {
  .header-bar { padding: 10px 12px 8px; }
  .brand strong { font-size: 26px; }
  .tiles, .story, .posts, .footer, .product, .service-grid, .visit-grid, .shape-grid, .cart-layout, .shelves { grid-template-columns: 1fr 1fr; }
  .shelves { display: grid; }
  .shelves a { border-right: 0; border-bottom: 1px solid var(--bar-line); }
  .hero-logo { width: min(220px, 58vw); height: min(220px, 58vw); }
  .tile { min-height: 380px; }
  .story-copy { padding: 36px 22px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .cart-summary { position: static; }
  .header-bar { padding: 12px 16px; }
}
@media (min-width: 1081px) {
  .header-bar.is-home-rest .logo { display: none; }
  .header-bar.is-home-rest .brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    text-align: left;
    width: auto;
  }
  .header-bar.is-home-rest .tools {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }
}
@media (max-width: 1080px) {
  .header-bar.is-home-rest {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 24px;
    row-gap: 12px;
    padding: 16px 16px 14px;
  }
  .header-bar.is-home-rest .logo { display: none; }
  .header-bar.is-home-rest .brand {
    display: block;
    flex: 1 1 auto;
    min-width: min(100%, max-content);
    text-align: left;
    width: auto;
  }
  .header-bar.is-home-rest .brand strong {
    font-size: 30px;
    line-height: 1;
    white-space: nowrap;
    overflow: visible;
    text-overflow: unset;
    max-width: none;
  }
  .header-bar.is-home-rest .brand small {
    display: block;
    width: auto;
    margin-top: 5px;
    font-size: 10px;
    letter-spacing: 0.14em;
    line-height: 1.35;
    white-space: nowrap;
    text-align: left;
  }
  .header-bar.is-home-rest .tools {
    flex: 0 0 auto;
    margin-left: auto;
    max-width: 100%;
  }
}
@media (max-width: 640px) {
  .header-bar.is-home-rest .brand,
  .header-bar.is-home-rest .tools {
    flex: 1 0 100%;
    margin-left: 0;
  }
  .header-bar.is-home-rest .tools { justify-content: flex-start; }
}
.sandbox-banner { margin: 0; padding: 8px 16px; background: #3a2a12; color: #f4efe6; text-align: center; }
.final-sale { border: 1px solid var(--line); background: var(--sand); padding: 12px; }
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 72px; align-items: start; }
.account-grid form label {
  display: block;
  margin: 16px 0 0;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.account-grid form input {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  border: 1px solid var(--input-border);
  background: var(--input-bg);
  color: var(--ink);
}
.account-grid form .btn { margin-top: 18px; }
.account-link { font-size: 13px; padding: 8px; }
@media (max-width: 800px) {
  .account-grid { grid-template-columns: 1fr; gap: 40px; }
  .account-grid form .btn { width: 100%; }
  .account-grid form + form { padding-top: 8px; border-top: 1px solid var(--line); }
}
.cart-summary input, .cart-summary select, .cart-summary textarea, .edit-row select, .edit-row input {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 10px;
  border: 1px solid var(--input-border);
  background: var(--input-bg);
  color: var(--ink);
}
.edit-row { display: grid; grid-template-columns: 1fr 1fr 90px; gap: 8px; }
.origin { color: var(--muted); font-size: 13px; }
.delta { color: var(--sale); font-size: 13px; min-height: 1.2em; }
.addons { display: grid; gap: 6px; margin-top: 8px; }
.check { display: flex; gap: 8px; align-items: center; }
.check input { width: auto; }
@media (max-width: 800px) {
  .edit-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.logo-word {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px dashed var(--cream);
  box-shadow: inset 0 0 0 4px rgba(36, 16, 12, 0.35);
  font-family: "Roboto Slab", Rockwell, "Courier New", serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--cream);
  text-shadow: 0 1px 2px rgba(20, 8, 6, 0.55);
  background-color: #5c3832;
  background-image: url("../images/weave.jpg");
  background-size: cover;
  background-position: center;
}
.stamp-word { width: 92px; height: 80px; margin: 0 auto; }
.hero.is-blank,
.tile.is-blank,
.story-photo.is-blank,
.banner.is-blank,
.cta.is-blank {
  background-color: #5c3832;
  background-image: url("../images/weave.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: var(--cream);
}
.tile.is-blank:nth-child(1) { background-position: 20% center; }
.tile.is-blank:nth-child(2) { background-position: center; }
.tile.is-blank:nth-child(3) { background-position: 80% center; }
.hero.is-blank {
  height: min(52vh, 520px);
  min-height: 280px;
}
.tile.is-blank {
  min-height: 320px;
  border-right: 1px solid rgba(246, 239, 230, 0.28);
}
.tile.is-blank:last-child { border-right: 0; }
.tile.is-blank h2 { color: var(--cream); text-shadow: 0 1px 8px rgba(20, 8, 6, 0.45); }
.banner.is-blank { min-height: 168px; align-items: end; }
.banner.is-blank h1 { font-size: clamp(40px, 5vw, 64px); line-height: 0.95; }
.banner.is-blank::before {
  display: block;
  background: linear-gradient(to top, rgba(28, 12, 10, 0.62), rgba(28, 12, 10, 0.16));
}
.banner.is-blank h1,
.banner.is-blank p { color: var(--cream); }
.cta.is-blank { min-height: 180px; }
.cta.is-blank::before { background: rgba(28, 12, 10, 0.28); }
.cta.is-blank h2 { color: var(--cream); }

.bench {
  position: relative;
  z-index: 0;
  height: calc(100dvh - var(--head-h, 0px));
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #1b120c url("../images/sunset.jpg") center 62% / cover no-repeat;
}
@media (min-width: 900px) {
  .bench { background-position: center 58%; }
}
.bench::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}
.leather {
  position: relative;
  min-height: calc(100dvh - var(--head-h, 0px));
  display: flex;
  flex-direction: column;
  background: #5c3832 url("../images/weave.jpg") center / cover no-repeat;
  color: #f6efe6;
}
.leather::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}
.leather-copy {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  padding: 72px 24px 48px;
}
.leather-copy h1 {
  color: #f6efe6;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.95;
  max-width: 12ch;
}
.leather-copy p { color: #f3e6d4; max-width: 38ch; }
.leather .eyebrow { color: #f0d7a8; }
.leather .shelves { position: relative; z-index: 1; }
.hero-logo {
  position: relative;
  z-index: 1;
  width: min(280px, 46vw);
  height: min(280px, 46vw);
  object-fit: cover;
  border-radius: 50%;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.45));
  transform-origin: center center;
  will-change: transform, opacity;
}
.after-hero {
  position: relative;
  z-index: 1;
  background-color: var(--bg);
  background-image: radial-gradient(var(--hide) 0.7px, transparent 0.8px);
  background-size: 3px 3px;
}
.collar-chart {
  display: block;
  width: min(100%, 794px);
  height: auto;
  margin: 8px 0 18px;
  border: 1px solid var(--line);
}
.eyebrow { margin: 0 0 12px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
.shelves { display: flex; flex-wrap: wrap; background: var(--bar); }
.shelves a {
  flex: 1 1 140px;
  color: var(--bar-ink);
  text-align: center;
  padding: 16px 10px 18px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  border-right: 1px solid var(--bar-line);
}
.shelves a:last-child { border-right: 0; }
.shelves a:hover { background: var(--bar-hover); }
.shelf-head { display: flex; justify-content: space-between; align-items: baseline; text-align: left; gap: 16px; padding-left: 0; padding-right: 0; }
.lede { font-size: 20px; line-height: 1.6; max-width: 46ch; }
.receipt { max-width: 640px; }
.receipt-line { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.admin-form {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 22px 22px 24px;
  max-width: 520px;
}
#owner-login { margin: 24px auto; }
#owner-login h1 { font-size: clamp(42px, 8vw, 64px); line-height: 0.95; }
.admin-list { display: grid; gap: 12px; }
.admin-actions { display: flex; flex-direction: column; gap: 8px; }
.admin-form label {
  display: block;
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.admin-form input,
.admin-form select,
.admin-form textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 6px;
  padding: 12px;
  border: 1px solid var(--input-border);
  background: var(--input-bg);
  color: var(--ink);
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
}
.admin-form textarea { resize: vertical; }
.admin-form .check {
  margin-top: 12px;
  padding: 12px 14px;
  background: var(--sand);
  border: 1px solid var(--line);
  text-transform: none;
  letter-spacing: 0;
  font-size: 15px;
}
.admin-form .check input {
  width: 1.15em;
  height: 1.15em;
  margin: 0;
  accent-color: var(--btn);
}
.admin-preview { margin: 0; }
.admin-preview img { width: 100%; margin-top: 12px; aspect-ratio: 1; object-fit: cover; }
.desk-chrome {
  position: sticky;
  top: var(--head-h, 118px);
  z-index: 15;
  background: var(--bar);
  color: var(--bar-ink);
  border-bottom: 1px dashed var(--bar-muted);
}
.desk-bar,
.desk-nav-list { width: min(840px, calc(100% - 40px)); margin-left: auto; margin-right: auto; }
.desk-body.wrap { width: min(840px, calc(100% - 40px)); }
.desk-bar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0 18px;
}
.desk-bar-copy { min-width: 0; }
.desk-bar .eyebrow { margin: 0 0 2px; color: var(--bar-muted); }
.desk-bar h1 {
  margin: 0;
  color: var(--bar-ink);
  font-size: clamp(42px, 10vw, 68px);
  line-height: 0.9;
}
.desk-menu-btn {
  flex: none;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--bar-line);
  background: transparent;
  color: var(--bar-ink);
  cursor: pointer;
}
.desk-menu-btn[aria-expanded="true"] { background: var(--bar-hover); }
.desk-scrim {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 14;
  border: 0;
  padding: 0;
  background: rgba(28, 12, 10, 0.45);
  cursor: pointer;
}
.desk-page.is-open .desk-scrim { display: block; }
.desk-nav {
  display: none;
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: 100%;
  max-height: min(70vh, 420px);
  overflow: auto;
  background: var(--bar);
  border-bottom: 1px solid var(--bar-line);
  box-shadow: 0 18px 40px rgba(28, 12, 10, 0.18);
}
.desk-page.is-open .desk-nav { display: block; }
.desk-nav-list { display: flex; flex-direction: column; padding: 6px 0 18px; }
.desk-nav a {
  display: block;
  padding: 10px 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 34px;
  line-height: 1.05;
  color: var(--bar-ink);
}
.desk-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--bar-ink); padding-left: 12px; }
.desk-nav a:hover { background: var(--bar-hover); }
.desk-logout {
  align-self: flex-start;
  margin-top: 10px;
  padding: 10px 16px;
  border: 1px solid var(--bar-line);
  background: transparent;
  color: var(--bar-ink);
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}
.desk-logout:hover { background: var(--bar-hover); }
.desk-body.page { padding-top: 22px; }
.desk-lead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 22px;
  margin: 0 0 20px;
}
.desk-lead p { margin: 0; max-width: 46ch; font-size: 17px; line-height: 1.5; }
.desk-lead h2 { margin: 0 0 6px; font-size: clamp(32px, 5vw, 44px); line-height: 1; }
.desk-narrow { max-width: 640px; }
.desk-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 14px 16px;
  align-items: center;
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  scroll-margin: 24px;
}
.desk-card.is-saved { border-color: var(--heading); box-shadow: inset 0 0 0 1px var(--heading); }
.desk-card .art { width: 100%; aspect-ratio: 1; }
.desk-card h2 { margin: 0 0 6px; font-size: 30px; line-height: 1; overflow-wrap: break-word; }
.desk-card .meta { margin: 0; color: var(--muted); font-size: 14px; overflow-wrap: break-word; }
.desk-card .meta s { text-decoration: line-through; margin-right: 0.35em; }
.desk-saved {
  margin: 0 0 4px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--heading);
}
.desk-card .admin-actions .btn { min-width: 108px; }
.desk-empty { margin: 8px 0 0; color: var(--muted); }
.desk-field { margin-top: 8px; }
.desk-field .check { margin-top: 10px; }
.desk-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.desk-flags { display: grid; gap: 8px; margin-top: 16px; }
.desk-flags .check { margin-top: 0; }
.desk-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.desk-editor { display: grid; gap: 22px; max-width: none; width: 100%; }
.desk-visit { max-width: none; }
.desk-photo {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 240px;
  padding: 14px;
  background-color: #5c3832;
  background-image: url("../images/weave.jpg");
  background-size: cover;
  background-position: center;
}
.desk-photo .admin-preview {
  order: -1;
  flex: 1;
  display: grid;
  place-items: center;
  min-height: 180px;
  margin: 0;
}
.desk-photo .admin-preview img { width: 100%; height: 100%; min-height: 180px; margin: 0; object-fit: cover; }
.desk-photo label {
  margin-top: 0;
  padding: 12px;
  background: rgba(20, 8, 6, 0.72);
  color: #f6efe6;
}
.desk-photo-note {
  display: block;
  margin: 0;
  padding: 12px 14px;
  background: rgba(20, 8, 6, 0.45);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f6efe6;
}
@media (min-width: 800px) {
  .desk-editor { grid-template-columns: minmax(0, 1fr) 250px; align-items: stretch; }
}
@media (max-width: 799px) {
  .desk-photo { order: -1; }
}
@media (max-width: 640px) {
  .desk-lead { flex-direction: column; align-items: stretch; }
  .desk-lead .btn { width: 100%; }
  .desk-card { grid-template-columns: 88px minmax(0, 1fr); }
  .desk-card h2 { font-size: 26px; }
  .desk-card .admin-actions { grid-column: 1 / -1; flex-direction: row; }
  .desk-card .admin-actions .btn { flex: 1; min-width: 0; }
  .desk-split { grid-template-columns: 1fr; }
  .desk-actions .btn { flex: 1; }
}
@media (min-width: 900px) {
  .desk-menu-btn { display: none; }
  .desk-bar { padding-bottom: 6px; }
  .desk-page.is-open .desk-scrim { display: none; }
  .desk-nav {
    display: block;
    position: static;
    max-height: none;
    overflow: visible;
    border: 0;
    box-shadow: none;
  }
  .desk-nav-list { flex-direction: row; align-items: center; gap: 8px 28px; padding: 0 0 16px; }
  .desk-nav a { width: auto; padding: 4px 0 6px; font-size: 28px; }
  .desk-nav a[aria-current="page"] { box-shadow: inset 0 -1px 0 var(--bar-ink); padding-left: 0; }
  .desk-logout { margin-top: 0; margin-left: auto; align-self: center; }
}

.size-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 28px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: var(--sand);
}
.size-callout h2, .size-callout h3 { margin: 0 0 6px; }
.size-callout p { margin: 0; max-width: 54ch; }
.size-callout.collar-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 560px);
  grid-template-areas:
    "copy chart"
    "actions chart";
  column-gap: 28px;
  row-gap: 14px;
  align-items: stretch;
}
.size-callout.collar-callout > div:first-child { grid-area: copy; align-self: end; }
.size-callout.collar-callout .size-actions { grid-area: actions; align-self: start; justify-self: start; }
.size-callout.collar-callout .collar-chart {
  grid-area: chart;
  width: 100%;
  min-width: 0;
  margin: 0;
  align-self: center;
}
.size-guide .collar-chart,
.quote .collar-chart { width: 100%; max-width: 100%; }
@media (max-width: 960px) {
  .size-callout.collar-callout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "chart"
      "actions";
  }
}
.size-actions { display: flex; flex-wrap: wrap; gap: 10px; }
button.text-link {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.size-links { display: flex; flex-wrap: wrap; gap: 16px; }
.quote { max-width: 720px; }
.quote label, .quote .size-field {
  display: block;
  margin: 16px 0 0;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.quote input, .quote select, .quote textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 6px;
  padding: 12px;
  border: 1px solid var(--input-border);
  background: var(--input-bg);
  color: var(--ink);
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
}
.quote .btn { margin-top: 18px; }
.size-diagram { width: 100%; height: auto; color: var(--heading); margin: 10px 0 6px; }
.size-guide {
  width: min(720px, calc(100% - 24px));
  max-width: min(720px, calc(100% - 24px));
  max-height: min(90vh, 880px);
  overflow: auto;
  padding: 28px 24px 32px;
}
.size-guide h2 { font-size: clamp(28px, 4vw, 40px); }
.size-guide h3 { margin-top: 22px; }
.size-guide .icon-btn { position: absolute; top: 12px; right: 12px; }
.size-guide .size-table { margin-top: 4px; }
@media (max-width: 480px) {
  .size-guide {
    width: calc(100% - 16px);
    max-width: calc(100% - 16px);
    padding: 44px 14px 22px;
  }
}
.size-rule { border: 1px solid var(--line); background: var(--sand); padding: 12px 14px; margin-top: 12px; }
