:root {
  color-scheme: light;
  --paper: #fbfaf7;
  --white: #fffefa;
  --ink: #262821;
  --muted: #5c6154;
  --line: #deded3;
  --accent: #2c493b;
  --accent-text: #fffef5;
  --wash: #efefe5;
  --display: Georgia, 'Times New Roman', serif;
  font: 16px/1.5 system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 0; background: var(--paper); }
html { scroll-behavior: smooth; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2 { font: 400 clamp(2.2rem, 4.6vw, 4.6rem)/1.02 var(--display); letter-spacing: -.056em; text-wrap: balance; }
h3 { font-weight: 680; line-height: 1.28; }
p { line-height: 1.65; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
img { display: block; max-width: 100%; }
button, input, select, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .57; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #527968; outline-offset: 4px; }
.wrap { width: min(1220px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; left: 1rem; top: .7rem; transform: translateY(-180%); padding: 8px 12px; background: white; }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
.muted { color: var(--muted); }
.site-header { border-bottom: 1px solid var(--line); }
.announcement { text-align: center; background: var(--accent); color: var(--accent-text); padding: 6px 12px; font-size: .795rem; }
.header-main { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font: 600 1.6rem/1.04 var(--display); white-space: nowrap; letter-spacing: -.065em; }
.brand i { font-weight: 400; }
.brand span { display: block; margin-top: 5px; font: 650 .55rem/1.2 system-ui,sans-serif; letter-spacing: .16em; color: var(--muted); }
.main-nav, .header-actions, .actions { display: flex; gap: clamp(10px, 1.9vw, 23px); align-items: center; flex-wrap: wrap; }
.main-nav, .header-actions { font-size: .89rem; font-weight: 650; }
.header-actions { gap: 12px; }
.header-actions a { white-space: nowrap; }
.header-actions span { display: inline-grid; min-width: 19px; min-height: 19px; place-items: center; border-radius: 50%; background: var(--wash); font-size: .7rem; }
.header-actions .bag-link { padding: 6px 10px; border: 1px solid var(--line); border-radius: 6px; }
.theme-bar { display: flex; justify-content: end; font-size: .78rem; min-height: 22px; }
.theme-bar details { position: relative; }
.theme-bar summary { border: 0; padding: 0 1px; color: var(--muted); }
.theme-bar nav { display: flex; flex-wrap: wrap; gap: 8px; justify-content: end; position: absolute; right: 0; top: 100%; z-index: 3; background: var(--white); border: 1px solid var(--line); padding: 9px; width: max-content; max-width: min(85vw, 350px); box-shadow: 0 5px 14px #26282110; }
.theme-bar nav a { padding: 3px 5px; }
.theme-bar [aria-current] { background: var(--wash); font-weight: 700; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 6px; min-height: 45px; padding: 9px 15px; border: 1px solid transparent; border-radius: 5px; font-size: .9rem; font-weight: 690; line-height: 1.2; text-align: center; }
.button:hover { text-decoration: none; }
.primary { background: var(--accent); color: var(--accent-text); }
.primary:hover { filter: brightness(1.14); }
.secondary { background: var(--white); border-color: var(--line); color: var(--ink); }
.secondary:hover { border-color: var(--accent); }
.text-link, .text-button { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; font-size: .9rem; font-weight: 660; }
.text-button { border: 0; background: transparent; padding: 6px 0; }
.eyebrow { color: var(--muted); font-size: .75rem; letter-spacing: .13em; font-weight: 740; margin-bottom: 10px; text-transform: uppercase; }
.hero { display: grid; grid-template-columns: .86fr 1.38fr; gap: clamp(20px, 4.5vw, 66px); align-items: center; padding-block: 46px 22px; }
.hero h1, .gallery-hero h1, .collection-hero h1 { font-size: clamp(3.2rem, 7vw, 7rem); }
.hero-copy > p:not(.eyebrow), .gallery-copy > p:not(.eyebrow), .collections-intro > p:not(.eyebrow) { margin: 15px 0 20px; color: var(--muted); max-width: 420px; font-size: 1.06rem; }
.hero-photo { overflow: hidden; background: var(--wash); }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 1.42; object-fit: cover; }
.layout-gallery { --accent: #324650; --wash: #e9edec; --paper: #f7f8f6; }
.gallery-hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(64vw, 620px); display: grid; align-items: end; padding: 46px 0; color: #fffdf3; background: #313830; }
.gallery-hero img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 56%; }
.gallery-hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,#171d19e8,#20262079 58%,transparent),linear-gradient(0deg,#1519156b,transparent 48%); }
.gallery-copy .eyebrow, .gallery-copy > p:not(.eyebrow) { color: #f4f1e4; }
.gallery-copy h1 { max-width: 680px; }
.gallery-copy .button { background: #f8f5e9; color: #273733; }
.layout-collections { --accent: #714f3a; --wash: #f1e5d8; --paper: #faf6ee; --display: 'Trebuchet MS', system-ui, sans-serif; }
.collection-hero { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); grid-template-rows: repeat(2,minmax(155px,20vw)); gap: 10px; padding-top: 28px; }
.collections-intro { grid-area: 1 / 1 / 3 / 3; display: grid; align-content: center; justify-items: start; padding: clamp(22px,4vw,52px); background: #e8d7c4; }
.collections-intro h1 { font-weight: 720; font-size: clamp(2.5rem,5.5vw,5.4rem); }
.bento { position: relative; min-width: 0; min-height: 0; overflow: hidden; background: var(--wash); }
.bento-chair { grid-area: 1 / 3 / 3 / 4; }
.bento-lamp { grid-area: 1 / 4 / 2 / 5; }
.bento-decor { grid-area: 2 / 4 / 3 / 5; }
.bento img { width: 100%; height: 100%; object-fit: cover; }
.bento-chair img { object-position: 49% 50%; }
.bento span { position: absolute; left: 10px; bottom: 10px; background: var(--white); padding: 6px 10px; font-size: .9rem; font-weight: 710; }
.layout-product { --accent: #4c343e; --wash: #eee7e8; --paper: #fbf8f7; }
.hero-single { grid-template-columns: 1.26fr 1fr; }
.hero-single .hero-photo img { aspect-ratio: 1.17; object-position: 50% 54%; }
.hero-spec { display: flex; flex-wrap: wrap; gap: 14px 24px; margin: 15px 0 22px; padding-block: 13px; border-block: 1px solid var(--line); }
.hero-spec dt { color: var(--muted); font-size: .8rem; }
.hero-spec dd { font-weight: 670; }
.section { padding-top: 53px; }
.section-head { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.section-head h2, .story h2 { font-size: clamp(1.95rem, 4vw, 3.5rem); }
.category-rail { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border: 1px solid var(--line); }
.category-rail a { padding: 16px 13px; font-weight: 680; }
.category-rail a + a { border-left: 1px solid var(--line); }
.category-rail span { display: block; color: var(--muted); font-size: .81rem; font-weight: 460; }
.product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.product-card { min-width: 0; }
.product-media { position: relative; overflow: hidden; background: var(--wash); }
.product-media img { width: 100%; height: auto; aspect-ratio: 4/4.3; object-fit: cover; transition: transform .25s ease; }
.product-media a:hover img { transform: scale(1.035); }
.save-button { position: absolute; top: 9px; right: 9px; display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid #ebebe3; border-radius: 50%; color: var(--accent); background: var(--white); font: 700 1.32rem/1 system-ui,sans-serif; }
.save-button:hover { background: var(--wash); }
.product-card-body { display: grid; gap: 4px; padding: 11px 0 17px; }
.card-category { font-size: .78rem; color: var(--muted); }
.price { font-weight: 700; }
.price s { margin-left: 6px; color: var(--muted); font-size: .86em; font-weight: 500; }
.story { display: grid; grid-template-columns: .9fr 1fr; align-items: center; gap: 18px; background: var(--wash); padding: clamp(18px,4vw,40px); }
.story p:not(.eyebrow) { color: var(--muted); margin-bottom: 9px; max-width: 525px; }
.page-intro { padding-top: 52px; margin-bottom: 26px; }
.page-intro p:not(.eyebrow) { color: var(--muted); margin-top: 10px; }
.shop-controls, .form-grid { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 12px; padding-bottom: 14px; }
.shop-controls label,.form label { display: grid; gap: 5px; font-size: .88rem; font-weight: 660; }
input, select, textarea { width: 100%; min-width: 0; background: var(--white); border: 1px solid #b9beaf; border-radius: 4px; padding: .59rem .65rem; font-weight: 440; }
textarea { resize: vertical; }
.result-line { margin: 1px 0 11px; font-size: .85rem; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: .85rem; padding-block: 18px; }
.product-detail { display: grid; grid-template-columns: 1.13fr 1fr; gap: clamp(20px, 5vw, 60px); align-items: start; }
.detail-photo { width: 100%; height: auto; max-height: 640px; object-fit: cover; aspect-ratio: 4/4.3; }
.detail-copy { display: grid; gap: 12px; padding-top: clamp(6px, 3vw, 32px); }
.detail-copy h1 { font-size: clamp(2.2rem, 5vw, 4.4rem); }
.detail-copy .eyebrow, .detail-copy .feedback:empty { margin: 0; }
.detail-copy .price { font-size: 1.29rem; }
.finish { font-size: .9rem; }
.finish strong { margin-right: 6px; }
.product-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; }
.product-actions label { display: grid; gap: 3px; width: 82px; font-size: .82rem; }
.product-actions input { min-height: 45px; }
.feedback { color: var(--accent); font-size: .88rem; }
.detail-copy details, .article details { border-top: 1px solid var(--line); padding-top: 8px; }
summary { cursor: pointer; font-weight: 670; }
details p { color: var(--muted); margin: 7px 0 11px; }
.split { display: grid; grid-template-columns: 1.65fr 1fr; gap: clamp(14px, 4vw, 44px); align-items: start; }
.bag-rows { display: grid; gap: 12px; }
.bag-row { display: grid; grid-template-columns: minmax(62px,100px) 1fr auto; gap: 13px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.bag-row h2 { font: 690 1.1rem/1.2 system-ui,sans-serif; letter-spacing: 0; margin-bottom: 4px; }
.bag-row .muted { font-size: .86rem; }
.bag-photo img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.bag-row-end { display: grid; justify-items: end; align-content: start; white-space: nowrap; gap: 4px; }
.stepper { display: inline-flex; border: 1px solid var(--line); margin-top: 7px; align-items: center; border-radius: 4px; }
.stepper button { width: 33px; height: 33px; background: none; border: 0; }
.stepper span { min-width: 23px; text-align: center; font-size: .86rem; }
.summary, .panel { background: var(--white); padding: clamp(14px, 3vw, 25px); border: 1px solid var(--line); border-radius: 6px; }
.summary h2, .panel h2, .empty h2 { font-size: clamp(1.4rem, 2.8vw, 2.25rem); margin-bottom: 9px; }
.summary > div, .delivery, .order-total { display: flex; justify-content: space-between; gap: 8px; padding-block: 8px; }
.summary-total, .delivery { border-top: 1px solid var(--line); }
.summary .button { width: 100%; margin-top: 8px; }
.form { display: grid; gap: 12px; justify-items: start; }
.form label, .form-grid { width: 100%; }
.form-grid { grid-template-columns: 1fr 1fr; padding: 0; }
.full { grid-column: 1 / -1; }
.demo-note { padding: 9px; background: var(--wash); color: var(--muted); font-size: .87rem; }
.delivery { width: 100%; }
.form [role=status]:empty { display: none; }
.checkout-items, .order-panel ul, .order-list { margin: 9px 0; padding-left: 0; list-style: none; display: grid; gap: 7px; }
.checkout-items { color: var(--muted); font-size: .86rem; }
.order-panel { max-width: 660px; }
.order-panel li, .order-list li { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--line); padding-bottom: 5px; }
.order-panel .actions { margin-top: 8px; }
.empty { padding: 14px 17px; border: 1px dashed #b2b8a9; background: var(--wash); border-radius: 5px; color: var(--muted); }
.empty .button { margin-top: 11px; }
.short-form { max-width: 630px; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .88rem; margin: 0; }
.info-split { display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px; align-items: center; }
.info-image { width: 100%; height: auto; }
.info-split p, .article p { color: var(--muted); margin: 9px 0 16px; }
.article { max-width: 800px; }
.article h2 { margin-top: 18px; font-size: 1.75rem; }
.article details { padding-bottom: 5px; }
.footer { margin-top: 60px; background: var(--wash); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.65fr 1fr 1fr; gap: 12px; padding-block: 25px; }
.footer-grid > div p { max-width: 310px; color: var(--muted); margin-top: 7px; font-size: .9rem; }
.footer-grid nav { display: grid; justify-items: start; align-content: start; gap: 5px; font-size: .88rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; padding-block: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
@media(max-width:850px) {
  .wrap { width: calc(100% - 36px); }
  .header-main { min-height: 65px; flex-wrap: wrap; padding-block: 9px; gap: 8px; }
  .main-nav { order: 3; width: 100%; }
  .hero { gap: 18px; padding-top: 32px; }
  .product-grid { gap: 11px; }
  .collection-hero { grid-template-rows: repeat(2,minmax(132px,24vw)); }
  .section { padding-top: 39px; }
}
@media(max-width:600px) {
  .wrap { width: calc(100% - 28px); }
  .header-actions { gap: 8px; font-size: .8rem; }
  .brand { font-size: 1.25rem; }
  .brand span { font-size: .46rem; letter-spacing: .1em; }
  .header-actions .bag-link { padding: 4px 7px; }
  .hero, .hero-single, .story, .product-detail, .split, .info-split { grid-template-columns: 1fr; }
  .hero-single .hero-photo { order: 1; }
  .gallery-hero { min-height: 465px; }
  .gallery-hero img { object-position: 58% 50%; }
  .gallery-hero::after { background: linear-gradient(0deg,#141913f2,#181e1666 74%); }
  .collection-hero { grid-template-columns: repeat(3,1fr); grid-template-rows: auto 154px; gap: 6px; }
  .collections-intro { grid-area: 1 / 1 / 2 / 4; }
  .bento-chair { grid-area: 2 / 1; }.bento-lamp { grid-area: 2 / 2; }.bento-decor { grid-area: 2 / 3; }
  .bento span { font-size: .76rem; left: 5px; bottom: 5px; padding: 3px 5px; }
  .category-rail { grid-template-columns: repeat(2,1fr); }
  .category-rail a:nth-child(3) { border-left: 0; }
  .category-rail a:nth-child(n+3) { border-top: 1px solid var(--line); }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .page-intro { padding-top: 33px; }
  .shop-controls { grid-template-columns: 1fr 1fr; }
  .shop-controls label:nth-child(2) { order: -1; grid-column: 1 / -1; }
  .footer { margin-top: 38px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }.footer-grid > div { grid-column: 1 / -1; }
}
@media(max-width:360px) {
  .account-link { display: none; }
  .hero h1,.gallery-hero h1 { font-size: 2.8rem; }
  .bag-row { gap: 7px; }
  .bag-row h2 { font-size: .95rem; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  .product-media img { transition: none; }
}
