:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #2e2620;
  background: #f5efe5;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --bg: #f5efe5;
  --surface: #fff8ee;
  --ink: #2e2620;
  --muted: #67574a;
  --line: #d9ccbb;
  --accent: #9f3b26;
  --button-bg: #9f3b26;
  --button-ink: #fff7eb;
  --hero-type: Georgia, 'Times New Roman', serif;
  --demo-bg: #efe6d6;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); }
a { color: inherit; text-decoration: none; }
a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 4px;
}
main:focus { outline: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .45; }
img { display: block; width: 100%; object-fit: cover; }
figure, p, h1, h2, h3 { margin: 0; }
p { line-height: 1.58; }
h1, h2, h3 { text-wrap: balance; }
.skip-link { position: fixed; z-index: 10; top: .5rem; left: .5rem; padding: .8rem 1rem; background: var(--surface); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.container { width: min(100% - 96px, 1320px); margin-inline: auto; }
.eyebrow { font-size: .7rem; font-weight: 750; line-height: 1.5; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; }
.brand-mark { color: var(--accent); display: grid; place-items: center; }
.brand-text { font-size: .77rem; font-weight: 800; line-height: 1.02; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.brand-text span { display: block; color: var(--ink); }
.action-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 9px; padding: .25rem 0 .38rem; border-bottom: 1px solid currentColor; width: fit-content; font-size: .84rem; font-weight: 700; }
.action-link:hover { color: var(--accent); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: fit-content; border: 1px solid transparent; min-height: 49px; padding: .7rem 1.12rem; background: var(--button-bg); color: var(--button-ink); font-weight: 750; font-size: .84rem; line-height: 1.2; }
.button:hover { filter: brightness(1.12); }
.button svg, .action-link svg { flex: none; }
.toast { position: fixed; z-index: 5; bottom: 20px; right: 20px; max-width: calc(100% - 40px); padding: 1rem 1.25rem; background: var(--ink); color: var(--bg); box-shadow: 0 10px 28px #0003; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s, transform .2s; }
.toast.visible { opacity: 1; transform: translateY(0); }

.preview-notice { padding: 9px 16px; text-align: center; background: #31271f; color: #fff7eb; font-size: .72rem; line-height: 1.4; }
.preview-notice span { padding-inline: 4px; }
.site-header { position: relative; border-bottom: 1px solid var(--line); z-index: 2; }
.nav-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; min-height: 77px; }
.site-nav, .nav-actions { display: flex; align-items: center; gap: clamp(14px, 2.35vw, 36px); }
.site-nav a, .cart-link { font-size: .84rem; font-weight: 700; }
.site-nav a { white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--accent); }
.nav-actions { justify-content: end; gap: 12px; }
.cart-link { display: flex; align-items: center; gap: 6px; }
.cart-count { min-width: 19px; min-height: 19px; display: grid; place-items: center; padding: 2px 5px; border-radius: 999px; color: var(--button-ink); background: var(--button-bg); font-size: .65rem; }
.menu-toggle { display: none; }
.site-main { min-height: 48vh; padding-bottom: clamp(54px, 7vw, 100px); }
.hero { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(24px, 5vw, 78px); padding-block: clamp(34px, 5vw, 68px); }
.hero-copy { min-width: 0; }
.hero h1, .page-top h1, .detail-copy h1 { font: 400 clamp(3rem, 6.4vw, 6.8rem)/.95 var(--hero-type); letter-spacing: -.073em; margin: 14px 0 18px; }
.hero-accent { display: block; color: var(--accent); font-style: italic; }
.hero-intro { color: var(--muted); max-width: 37ch; font-size: clamp(1rem, 1.45vw, 1.21rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 25px; }
.hero-figure { position: relative; min-width: 0; }
.hero-image { aspect-ratio: 1.23; min-height: 315px; max-height: 560px; }
.hero-figure figcaption { display: flex; justify-content: space-between; gap: 10px; padding-top: 10px; color: var(--muted); font: 700 .66rem/1.4 monospace; text-transform: uppercase; letter-spacing: .07em; }
.collection-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 15px; }
.collection-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 5px; }
.collection-grid a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 42px; padding-inline: 14px; border-left: 1px solid var(--line); font-weight: 700; font-size: .86rem; }
.collection-grid a:first-child { border-left: 0; padding-left: 0; }
.collection-grid a:hover { color: var(--accent); }
.collection-grid svg { flex: none; color: var(--accent); }
.workshop-callout { margin-top: clamp(38px, 6vw, 76px); padding: clamp(22px, 4vw, 51px); border: 1px solid var(--line); background: #eadfcf; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.workshop-callout h2 { font: 400 clamp(2.15rem, 4vw, 4rem)/1.04 var(--hero-type); letter-spacing: -.055em; margin-top: 8px; }
.workshop-callout p:not(.eyebrow) { margin-top: 10px; color: var(--muted); }
.workshop-callout .button { flex: none; }
.section { padding-top: clamp(48px, 6vw, 86px); }
.page-home .collection-strip + .section { padding-top: clamp(34px, 4.5vw, 62px); }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-title h2, .feature h2, .store-card h2, .empty-state h2 { font: 400 clamp(2rem, 4vw, 4rem)/1.04 var(--hero-type); letter-spacing: -.056em; margin-top: 8px; }
.section-title .action-link { flex: none; }
.product-grid, .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 27px); row-gap: 34px; }
.product-card { min-width: 0; }
.product-photo { display: block; position: relative; overflow: hidden; aspect-ratio: 1.18; background: #e3d6c4; }
.product-photo img { height: 100%; transition: transform .48s ease; }
.product-photo:hover img { transform: scale(1.045); }
.card-open { position: absolute; display: grid; place-items: center; color: var(--ink); background: var(--bg); border-radius: 50%; }
.product-photo img { object-fit: cover; }
.product-photo .card-open { width: 35px; height: 35px; bottom: 8px; right: 8px; }
.product-meta { display: flex; justify-content: space-between; gap: 5px; color: var(--muted); font-size: .73rem; margin: 13px 0 6px; }
.product-meta span:last-child { color: var(--ink); font-weight: 750; white-space: nowrap; }
.product-card h3 { font-size: clamp(1.02rem, 1.65vw, 1.38rem); letter-spacing: -.035em; }
.product-card h3 a:hover { color: var(--accent); }
.product-card p { color: var(--muted); font-size: .85rem; margin-top: 5px; }
.feature { display: grid; grid-template-columns: 1.17fr .83fr; background: var(--surface); border: 1px solid var(--line); }
.feature img { height: 100%; aspect-ratio: 1.55; }
.feature > div { align-self: center; padding: clamp(22px, 4vw, 56px); }
.feature p:not(.eyebrow), .store-card p:not(.eyebrow) { margin: 13px 0 16px; color: var(--muted); }
.fold-demo { border: 1px solid var(--line); max-width: 920px; margin-inline: auto; }
.fold-canvas { position: relative; background-color: var(--demo-bg); color: var(--accent); background-image: linear-gradient(0deg, #7a829026 1px, transparent 1px), linear-gradient(90deg, #7a829026 1px, transparent 1px); background-size: 24px 24px; min-height: 230px; display: grid; place-items: center; padding: 25px; }
.desk-diagram { width: min(100%, 570px); max-height: 310px; }
.desk-leaf { transform-origin: 155px 185px; transition: transform .5s cubic-bezier(.25,.65,.2,1); }
.desk-support { transition: opacity .22s; }
[data-state="closed"] .desk-leaf { transform: rotate(-90deg); }
[data-state="closed"] .desk-support { opacity: 0; }
.desk-arc { opacity: .52; }
.fold-code, .fold-caption { position: absolute; font: 700 .65rem/1.2 monospace; letter-spacing: .06em; }
.fold-code { top: 14px; left: 14px; }
.fold-caption { bottom: 12px; right: 13px; }
.fold-controls { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 16px; }
.fold-controls p { color: var(--muted); font-size: .86rem; }
.segmented { display: inline-flex; border: 1px solid var(--line); }
.segmented button { min-height: 36px; padding: 5px 12px; border: 0; background: var(--surface); color: var(--ink); font-size: .8rem; font-weight: 750; }
.segmented button[aria-pressed="true"] { background: var(--button-bg); color: var(--button-ink); }
.steps article { border-top: 1px solid var(--line); padding-top: 15px; }
.steps h3 { font-size: 1.12rem; margin: 6px 0; }
.steps p:not(.eyebrow) { font-size: .9rem; color: var(--muted); }
.page-top { padding-block: clamp(38px, 6vw, 84px) clamp(25px, 4vw, 53px); border-bottom: 1px solid var(--line); margin-bottom: clamp(23px, 3vw, 39px); }
.page-top h1, .detail-copy h1 { font-size: clamp(2.8rem, 6.1vw, 6.2rem); }
.page-top > p:not(.eyebrow) { color: var(--muted); max-width: 58ch; font-size: 1.04rem; }
.page-top > .button { margin-top: 20px; }
.filters { display: flex; flex-wrap: wrap; gap: 7px; }
.filters a { border: 1px solid var(--line); padding: .63rem .78rem; color: var(--ink); font-size: .79rem; font-weight: 700; }
.filters a:hover { border-color: var(--accent); }
.filters a[aria-current] { background: var(--button-bg); color: var(--button-ink); border-color: var(--button-bg); }
.result-count { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 16px 0; }
.product-page { padding-top: 24px; }
.breadcrumbs { font-size: .74rem; color: var(--muted); margin-bottom: 19px; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; }
.product-detail, .store-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(22px, 5vw, 68px); align-items: start; }
.detail-photo img { aspect-ratio: 1.12; background: #eadccc; }
.detail-photo figcaption, .store-grid figcaption { color: var(--muted); font-size: .74rem; margin-top: 9px; }
.detail-copy > p:not(.eyebrow) { color: var(--muted); }
.detail-copy .detail-price { font-weight: 750; color: var(--ink); font-size: 1.25rem; margin-bottom: 10px; }
.detail-price small { font-weight: 400; font-size: .72rem; margin-left: 5px; }
.add-form { display: grid; grid-template-columns: 1fr 69px; gap: 10px; margin: 23px 0; }
.add-form .button { grid-column: 1/-1; width: 100%; }
label { display: grid; gap: 7px; font-size: .8rem; font-weight: 750; }
input, select, textarea { width: 100%; min-width: 0; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 0; padding: 10px; min-height: 42px; }
textarea { resize: vertical; }
textarea::placeholder { color: var(--muted); opacity: 1; }
.product-states { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.product-states div { border-top: 1px solid var(--line); padding-top: 10px; }
.product-states h2 { font-size: .88rem; margin-bottom: 5px; }
.product-states p { font-size: .8rem; color: var(--muted); }
.page-about .page-top + .collection-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 15px; }
.collection-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 5px; }
.collection-grid a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 42px; padding-inline: 14px; border-left: 1px solid var(--line); font-weight: 700; font-size: .86rem; }
.collection-grid a:first-child { border-left: 0; padding-left: 0; }
.collection-grid a:hover { color: var(--accent); }
.collection-grid svg { flex: none; color: var(--accent); }
.workshop-callout { margin-top: clamp(38px, 6vw, 76px); padding: clamp(22px, 4vw, 51px); border: 1px solid var(--line); background: #eadfcf; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.workshop-callout h2 { font: 400 clamp(2.15rem, 4vw, 4rem)/1.04 var(--hero-type); letter-spacing: -.055em; margin-top: 8px; }
.workshop-callout p:not(.eyebrow) { margin-top: 10px; color: var(--muted); }
.workshop-callout .button { flex: none; }
.section { padding-top: 0; }
.store-grid img { aspect-ratio: 1.42; }
.store-card { background: var(--surface); padding: clamp(20px, 3vw, 43px); border: 1px solid var(--line); }
.address { display: flex; align-items: flex-start; gap: 8px; }
.address svg { flex: none; color: var(--accent); }
.store-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px; }
.form-layout { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(15px, 3vw, 36px); align-items: start; }
.panel { border: 1px solid var(--line); background: var(--surface); padding: clamp(18px, 2.8vw, 36px); min-width: 0; }
.panel h2 { letter-spacing: -.035em; font-size: 1.4rem; }
.form { display: grid; gap: 16px; }
.form-note { color: var(--muted); font-size: .82rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.side-panel h2 { margin: 6px 0; }
.side-panel p:not(.eyebrow) { color: var(--muted); }
.side-panel .action-link { display: flex; margin-top: 12px; }
.form-result { color: var(--ink); border: 1px solid var(--line); padding: 10px; font-size: .85rem; }
.accordion-list { max-width: 850px; }
.accordion-list details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.accordion-list summary { cursor: pointer; font-size: 1.01rem; font-weight: 750; }
.accordion-list p { color: var(--muted); margin: 10px 0 0 17px; }
.accordion-list .action-link { margin-top: 21px; }
.empty-state { padding: 26px 0 42px; text-align: center; }
.empty-state svg { color: var(--accent); }
.empty-state .button svg { color: inherit; }
.empty-state p, .confirmation p { color: var(--muted); margin: 8px 0 20px; }
.cart-items .action-link { margin-top: 17px; }
.cart-item { display: grid; grid-template-columns: clamp(62px, 9vw, 115px) 1fr auto; align-items: start; gap: 13px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.cart-item:first-child { border-top: 1px solid var(--line); }
.cart-item img { aspect-ratio: 1; }
.cart-item h2 { font-size: 1.05rem; }
.cart-item p { color: var(--muted); margin: 4px 0 8px; font-size: .79rem; }
.qty-control { display: inline-grid; grid-template-columns: 33px minmax(26px, auto) 33px; align-items: center; text-align: center; border: 1px solid var(--line); }
.qty-control button { height: 33px; background: var(--surface); color: var(--ink); border: 0; }
.qty-control span { font-size: .78rem; padding-inline: 4px; }
.remove { color: var(--accent); border: 0; padding: 3px 0; background: none; text-decoration: underline; font-size: .75rem; }
.summary-row, .summary-total { display: flex; justify-content: space-between; gap: 10px; font-size: .89rem; }
.summary-row { margin-top: 10px; color: var(--muted); }
.summary-row span:last-child { white-space: nowrap; }
.summary-total { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 14px; }
.order-summary .form-note { margin: 12px 0 0; }
.order-summary .button { margin-top: 16px; width: 100%; }
.confirmation { max-width: 600px; }
.confirmation > svg { color: var(--accent); margin-bottom: 10px; }
.site-footer { background: var(--surface); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 15px; padding-block: 39px; }
.footer-grid h2 { font-size: .83rem; margin-bottom: 8px; }
.footer-grid a:not(.brand), .footer-grid p { display: block; color: var(--muted); font-size: .78rem; line-height: 1.6; margin: 5px 0; }
.footer-grid a:hover, .footer-base a:hover { color: var(--accent); }
.footer-grid p { margin-top: 12px; }
.footer-base { min-height: 50px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--muted); font-size: .72rem; }
.footer-base a { display: inline-flex; align-items: center; gap: 5px; }

@media (max-width: 1050px) {
  .container { width: calc(100% - 60px); }
  .hero h1 { font-size: clamp(2.9rem, 6.7vw, 5.65rem); }
}
@media (max-width: 780px) {
  .container { width: calc(100% - 40px); }
  .nav-row { grid-template-columns: 1fr auto; min-height: 62px; }
  .menu-toggle { display: grid; place-items: center; background: transparent; color: var(--ink); border: 1px solid var(--line); min-width: 41px; min-height: 41px; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 12px 20px; background: var(--bg); border-bottom: 1px solid var(--line); gap: 0; }
  .site-nav.is-open { display: grid; }
  .site-nav a { padding: 11px 0; }
  .cart-word { display: none; }
  .hero { gap: 20px; }
  .hero-image { min-height: 265px; }
  .feature { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 590px) {
  .container { width: calc(100% - 32px); }
  .site-nav { padding-inline: 16px; }
  .hero { grid-template-columns: 1fr; gap: 20px; }
  .hero h1 { font-size: clamp(3.02rem, 11vw, 5rem); }
  .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collection-grid a:nth-child(3) { border-left: 0; padding-left: 0; }
  .collection-grid a:nth-child(n+3) { border-top: 1px solid var(--line); }
  .workshop-callout { align-items: flex-start; flex-direction: column; }
  .hero h1 { margin-bottom: 12px; }
  .hero-image { aspect-ratio: 1.49; min-height: 0; }
  .hero-actions { margin-top: 18px; }
  .section-title { align-items: start; flex-direction: column; gap: 7px; margin-bottom: 16px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 21px; }
  .steps, .feature, .product-detail, .store-grid, .form-layout { grid-template-columns: 1fr; }
  .feature img { height: auto; }
  .fold-canvas { min-height: 178px; padding: 21px 8px; }
  .fold-controls { gap: 8px; padding: 9px; }
  .fold-controls p { font-size: .73rem; }
  .product-photo .card-open { width: 29px; height: 29px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px 10px; padding-block: 25px; }
  .footer-base { flex-wrap: wrap; padding-block: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
