@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Fraunces:opsz,wght@9..144,500;9..144,650&display=swap');

:root { --ink:#1d2722; --muted:#748078; --paper:#f2efe8; --paper-2:#e6e2d8; --sage:#a9b6a3; --line:rgba(29,39,34,.16); --accent:#db754a; --cream:#fbfaf6; }
* { box-sizing:border-box; }
html { background:var(--paper); color:var(--ink); scroll-behavior:smooth; }
body { margin:0; font-family:'DM Sans', sans-serif; background:radial-gradient(circle at 75% 10%, rgba(169,182,163,.35), transparent 30rem), var(--paper); min-height:100vh; }
button, input, textarea { font:inherit; }
button { cursor:pointer; }
.grain { position:fixed; inset:0; pointer-events:none; opacity:.07; z-index:4; background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E"); }
.site-header { height:84px; padding:0 5vw; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--line); position:relative; z-index:5; }
.brand { color:var(--ink); text-decoration:none; display:flex; align-items:center; gap:12px; font-weight:600; letter-spacing:-.03em; }
.brand small { display:block; color:var(--muted); font-weight:400; font-size:10px; letter-spacing:.08em; text-transform:uppercase; margin-top:3px; }
.brand-mark { width:30px; height:30px; display:grid; place-items:center; border-radius:50%; background:var(--ink); color:var(--paper); font-family:Fraunces,serif; font-size:18px; }
.nav-tabs { display:flex; gap:24px; margin-left:12vw; }
.nav-tab, .cart-button, .text-button, .secondary-button, .close-button { border:0; background:none; color:var(--ink); }
.nav-tab { padding:10px 0; color:var(--muted); font-size:13px; border-bottom:1px solid transparent; }
.nav-tab.is-active { color:var(--ink); border-color:var(--ink); }
.cart-button { border:1px solid var(--ink); padding:10px 14px; font-size:12px; border-radius:99px; }
.cart-button span { display:inline-grid; place-items:center; background:var(--accent); color:white; border-radius:50%; width:18px; height:18px; margin-left:5px; font-size:10px; }
.hero { min-height:535px; max-width:1320px; margin:0 auto; padding:92px 8vw 80px; display:grid; grid-template-columns:1.2fr .8fr; align-items:center; }
.eyebrow { color:var(--accent); font-size:10px; letter-spacing:.17em; text-transform:uppercase; font-weight:600; margin:0 0 18px; }
h1, h2 { font-family:Fraunces, Georgia, serif; font-weight:500; letter-spacing:-.06em; margin:0; }
h1 { font-size:clamp(56px,8.4vw,118px); line-height:.88; }
h1 em, h2 em { color:var(--accent); font-style:italic; }
.hero-lede { max-width:390px; color:var(--muted); line-height:1.65; font-size:15px; margin:34px 0 22px; }
.hero-note { font-size:11px; color:var(--muted); display:flex; align-items:center; gap:8px; }
.status-dot { width:7px; height:7px; background:var(--accent); border-radius:50%; box-shadow:0 0 0 5px rgba(219,117,74,.14); }
.hero-aside { height:320px; position:relative; display:grid; place-items:center; }
.vertical-label { position:absolute; right:0; top:12px; writing-mode:vertical-rl; color:var(--muted); letter-spacing:.2em; font-size:10px; }
.hero-orbit { width:240px; height:240px; border:1px solid var(--ink); border-radius:50%; position:relative; opacity:.8; }
.hero-orbit:before, .hero-orbit:after { content:''; position:absolute; inset:22px; border:1px solid var(--line); border-radius:50%; transform:rotate(38deg) scaleX(.44); }
.hero-orbit:after { transform:rotate(-38deg) scaleX(.44); }
.hero-orbit { box-shadow:inset 0 0 0 1px var(--line); }
.hero-orbit:after { background:var(--sage); opacity:.6; }
.catalog-section { background:var(--cream); padding:86px 8vw 120px; position:relative; z-index:1; }
.section-heading { max-width:1320px; margin:0 auto 38px; display:flex; justify-content:space-between; align-items:end; gap:30px; }
h2 { font-size:clamp(40px,5vw,72px); line-height:.9; }
.section-caption { color:var(--muted); max-width:280px; line-height:1.55; font-size:12px; margin:0 0 5px; }
.filter-row { max-width:1320px; margin:0 auto 28px; display:flex; gap:8px; flex-wrap:wrap; }
.filter { border:1px solid var(--line); background:none; border-radius:99px; padding:8px 13px; color:var(--muted); font-size:11px; }
.filter.is-active { background:var(--ink); color:var(--cream); border-color:var(--ink); }
.product-grid { max-width:1320px; margin:0 auto; display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.product-card { border:1px solid var(--line); min-height:370px; display:flex; flex-direction:column; background:var(--paper); transition:transform .25s ease, box-shadow .25s ease; animation:rise .6s both; }
.product-card:hover { transform:translateY(-5px); box-shadow:10px 12px 0 rgba(29,39,34,.08); }
.product-image { height:215px; background:linear-gradient(135deg,#d2dbc9,#e4c9a9); display:grid; place-items:center; overflow:hidden; }
.product-image img { width:100%; height:100%; object-fit:cover; }
.image-placeholder { font-family:Fraunces,serif; font-size:55px; color:rgba(29,39,34,.48); }
.product-body { padding:20px; display:flex; flex:1; flex-direction:column; }
.product-category { color:var(--accent); text-transform:uppercase; letter-spacing:.15em; font-size:9px; margin-bottom:10px; }
.product-name { font-family:Fraunces,serif; font-size:25px; line-height:1; }
.product-description { color:var(--muted); font-size:12px; line-height:1.45; margin:10px 0 18px; }
.product-meta { display:flex; align-items:center; justify-content:space-between; margin-top:auto; }
.price { font-size:13px; font-weight:600; }
.add-button { border:0; background:var(--ink); color:var(--cream); border-radius:50%; width:34px; height:34px; font-size:18px; }
.loading, .empty-state { color:var(--muted); padding:50px 0; font-size:13px; }
.loading span { color:var(--accent); margin-left:5px; }
.public-label { color:var(--muted); font-size:12px; letter-spacing:.16em; text-transform:uppercase; margin-left:auto; margin-right:24px; }
.admin-auth { padding:110px 8vw 140px; max-width:720px; margin:0 auto; }
.admin-auth h1 { font-size:clamp(52px,8vw,96px); margin:18px 0 24px; }
.auth-copy { color:var(--muted); max-width:440px; line-height:1.7; }
.auth-form { max-width:360px; margin-top:42px; }
.auth-form .primary-button { margin-top:18px; }
.orders-panel { margin-top:80px; padding-top:42px; border-top:1px solid var(--line); }
.inventory-panel { margin-top:80px; padding-top:42px; border-top:1px solid var(--line); }
.inventory-toolbar { display:grid; grid-template-columns:minmax(260px, 360px) 1fr; gap:24px; align-items:start; margin-bottom:52px; }
.inline-form { display:flex; gap:12px; align-items:end; }.inline-form input { flex:1; }.inline-form .secondary-button { white-space:nowrap; }
.location-list { display:flex; flex-wrap:wrap; gap:8px; }.location-chip { border:1px solid var(--line); padding:9px 12px; font-size:11px; color:var(--muted); }
.inventory-heading { margin-bottom:18px; }.inventory-actions { display:flex; align-items:center; gap:10px; }.inventory-actions select { border:1px solid var(--line); background:transparent; color:var(--ink); padding:11px; min-width:150px; }
.inventory-record { grid-template-columns:1fr auto; }.inventory-adjust { display:flex; align-items:center; gap:10px; }.inventory-adjust input { width:85px; border:1px solid var(--line); padding:10px; }.inventory-adjust .secondary-button { white-space:nowrap; }.inventory-note { margin-top:18px; }
.orders-panel .list-heading { margin-bottom:24px; }
.orders-panel .record { grid-template-columns:1fr auto; }
.admin-view { padding:82px 8vw 120px; max-width:1400px; margin:0 auto; }
.admin-intro { max-width:600px; margin-bottom:55px; }.admin-intro h1 { font-size:clamp(48px,7vw,88px); }.admin-intro p:last-child { color:var(--muted); max-width:430px; line-height:1.6; font-size:14px; margin-top:28px; }
.integration-panel { display:flex; justify-content:space-between; gap:30px; align-items:center; margin:0 0 55px; padding:24px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }.integration-panel h2 { margin:8px 0 10px; font-size:20px; }.integration-panel p { max-width:560px; line-height:1.55; }.integration-panel .secondary-button { flex:0 0 auto; white-space:nowrap; }.merchant-links { display:flex; gap:10px; flex-wrap:wrap; margin-top:16px; }.merchant-links .secondary-button { text-decoration:none; display:inline-flex; }
.admin-layout { display:grid; grid-template-columns:340px 1fr; gap:70px; align-items:start; }
.product-form { border-top:2px solid var(--ink); padding-top:18px; }.form-heading, .list-heading { display:flex; justify-content:space-between; align-items:center; text-transform:uppercase; font-size:10px; letter-spacing:.14em; margin-bottom:26px; }
.text-button { color:var(--accent); text-transform:none; letter-spacing:0; font-size:11px; }.product-form label { display:block; font-size:11px; color:var(--muted); margin-bottom:18px; }.muted { font-size:9px; color:var(--muted); opacity:.8; }
input, textarea { width:100%; border:0; border-bottom:1px solid var(--line); background:transparent; color:var(--ink); border-radius:0; padding:10px 0; outline:0; resize:vertical; }.product-form input:focus, .product-form textarea:focus { border-color:var(--accent); }
.form-two { display:grid; grid-template-columns:1fr 1fr; gap:16px; }.primary-button, .secondary-button { border:0; padding:13px 15px; text-transform:uppercase; letter-spacing:.12em; font-size:10px; display:flex; justify-content:space-between; align-items:center; }.primary-button { background:var(--ink); color:var(--cream); width:100%; }.primary-button span:last-child { font-size:16px; }.secondary-button { border:1px solid var(--line); color:var(--ink); }.form-status { min-height:18px; font-size:11px; color:var(--accent); line-height:1.45; }.list-heading { border-bottom:1px solid var(--line); padding-bottom:16px; }.list-heading h2 { font-family:'DM Sans',sans-serif; font-size:12px; letter-spacing:.14em; text-transform:uppercase; font-weight:600; }
.record { display:grid; grid-template-columns:1fr auto; gap:18px; align-items:center; padding:19px 0; border-bottom:1px solid var(--line); }.record-main { display:flex; gap:15px; align-items:center; }.record-thumb { width:46px; height:46px; background:var(--sage); display:grid; place-items:center; font-family:Fraunces,serif; font-size:20px; }.record-name { font-family:Fraunces,serif; font-size:20px; }.record-meta { color:var(--muted); font-size:10px; margin-top:4px; }.record-actions { display:flex; gap:10px; }.record-actions button { border:0; background:none; color:var(--muted); font-size:11px; }.record-actions button:hover { color:var(--accent); }
.cart-drawer { position:fixed; z-index:10; top:0; right:0; bottom:0; width:min(440px,100vw); box-sizing:border-box; overflow-y:auto; background:var(--cream); padding:40px; transform:translateX(100%); transition:transform .3s ease; display:flex; flex-direction:column; box-shadow:-15px 0 40px rgba(29,39,34,.12); }.cart-drawer.is-open { transform:translateX(0); }.drawer-head { display:flex; justify-content:space-between; align-items:start; border-bottom:1px solid var(--line); padding-bottom:20px; }.drawer-head h2 { font-size:46px; }.close-button { font-size:26px; line-height:1; }.cart-items { flex:1; overflow:auto; }.cart-line { display:grid; grid-template-columns:1fr auto; gap:10px; padding:17px 0; border-bottom:1px solid var(--line); }.cart-line-name { font-family:Fraunces,serif; font-size:18px; }.cart-line-meta { color:var(--muted); font-size:11px; margin-top:5px; }.quantity { display:flex; align-items:center; gap:9px; font-size:12px; }.quantity button { border:1px solid var(--line); background:none; border-radius:50%; width:22px; height:22px; }.cart-footer { border-top:1px solid var(--line); padding-top:22px; }.total-line { display:flex; justify-content:space-between; margin-bottom:18px; font-family:Fraunces,serif; font-size:24px; }.cart-footer form { display:grid; gap:10px; }.cart-footer input, .cart-footer select { min-width:0; width:100%; box-sizing:border-box; border:1px solid var(--line); padding:12px; }.test-warning { color:var(--muted); font-size:10px; line-height:1.5; }.scrim { position:fixed; inset:0; background:rgba(29,39,34,.28); z-index:9; }
.cart-footer input, .cart-footer select { border:1px solid var(--line); padding:12px; background:transparent; color:var(--ink); }.field-label { font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); margin-top:4px; }.shipping-hint { margin:0; color:var(--muted); font-size:12px; line-height:1.5; }.shipping-address-fields { display:grid; gap:10px; }.address-two { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.quote-test-panel { margin:28px 0 42px; padding:22px; border:1px solid var(--line); background:rgba(255,255,255,.32); }.quote-form { display:grid; grid-template-columns:repeat(6, minmax(0, 1fr)); gap:12px; align-items:end; }.quote-form label { display:grid; gap:6px; color:var(--muted); font-size:12px; }.quote-form input { width:100%; box-sizing:border-box; border:1px solid var(--line); padding:11px; background:transparent; color:var(--ink); }.quote-form button { min-height:41px; white-space:nowrap; }.quote-results { display:grid; gap:8px; margin-top:14px; }.quote-result { display:flex; justify-content:space-between; gap:16px; padding:12px 14px; border-top:1px solid var(--line); }.quote-result span { display:block; margin-top:4px; color:var(--muted); font-size:12px; }.integration-panel + .quote-test-panel { margin-top:0; }
.delivery-operations-panel { margin:0 0 28px; padding:22px; border:1px solid var(--line); background:rgba(255,255,255,.32); }.delivery-state-grid { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:16px; }.delivery-state-grid > div { display:grid; gap:8px; padding:14px; border-top:2px solid var(--accent); }.delivery-state-grid strong { font-size:12px; }.delivery-state-grid span { color:var(--muted); font-size:11px; line-height:1.55; }
.shipping-settings-panel { margin:0 0 28px; padding:22px; border:1px solid var(--line); }.shipping-settings-form { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:12px; align-items:end; }.shipping-settings-form label { display:grid; gap:6px; color:var(--muted); font-size:12px; }.shipping-settings-form input { width:100%; box-sizing:border-box; border:1px solid var(--line); padding:11px; background:transparent; color:var(--ink); }.shipping-settings-form button { min-height:41px; white-space:nowrap; }.shipping-settings-form .muted { font-size:10px; }
.integration-steps { margin:16px 0 0; padding-left:18px; color:var(--muted); font-size:12px; line-height:1.7; }.shipping-address-fields select { min-width:0; width:100%; box-sizing:border-box; }.shipping-address-fields .form-status { margin:0; }
@media (max-width: 900px) { .quote-form { grid-template-columns:repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .shipping-settings-form { grid-template-columns:repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .delivery-state-grid { grid-template-columns:1fr; } }
@keyframes rise { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:translateY(0); } }
@media (max-width:760px) { .site-header { padding:0 5vw; }.nav-tabs { margin-left:0; gap:12px; }.brand span:last-child { display:none; }.hero { min-height:520px; padding:70px 8vw; grid-template-columns:1fr; }.hero-aside { position:absolute; right:8vw; top:150px; opacity:.35; transform:scale(.7); }.hero-lede { max-width:300px; }.section-heading { display:block; }.section-caption { margin-top:24px; }.product-grid { grid-template-columns:1fr; }.admin-layout { grid-template-columns:1fr; gap:50px; }.admin-intro h1 { font-size:58px; }.admin-view { padding-top:60px; }.cart-drawer { padding:28px; }.inventory-toolbar { grid-template-columns:1fr; }.inline-form { display:grid; grid-template-columns:1fr auto; }.inventory-heading { display:block; }.inventory-actions { margin-top:18px; }.inventory-record { grid-template-columns:1fr; gap:12px; }.inventory-adjust { justify-content:flex-start; } }
