:root { --paper: #2C4F2F; --paper-raised: #375E3B; --ink: #F3EEDC; --ink-soft: #CBC1A2; --sage: #A9C99B; --sage-soft: #C3DBB2; --clay: #7A4A28; --sun: #E7A62E; --sun-ink: #2E2008; --line: #4F7048; --ok: #2F5D34; --ok-bg: #E0EAD9; --low: #B4790C; --low-bg: #F6E8C4; --out: #9C4530; --out-bg: #F0DED2; } @media (prefers-color-scheme: dark) { :root { --paper: #14241A; --paper-raised: #1C3020; --ink: #ECE4CD; --ink-soft: #B4A88A; --sage: #8FBB78; --sage-soft: #A6CB90; --clay: #A8672E; --sun: #D9A73A; --sun-ink: #241905; --line: #2A4527; --ok: #8FBB8C; --ok-bg: #253524; --low: #E0B23E; --low-bg: #3A3020; --out: #D98567; --out-bg: #3A2620; } } * { box-sizing: border-box; } html, body { margin: 0; padding: 0; } body { background: var(--paper); color: var(--ink); font-family: Seravek, "Gill Sans Nova", "Gill Sans", "Segoe UI", system-ui, sans-serif; font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; } h1, h2, h3 { font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; font-weight: 500; text-wrap: balance; margin: 0 0 0.6em; } a { color: var(--sage); } .site-header { display: flex; align-items: center; justify-content: space-between; max-width: 960px; margin: 0 auto; padding: 1.75rem 1.5rem 1rem; } .site-header .brand { font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; font-size: 1.3rem; color: var(--ink); text-decoration: none; } .site-header nav { display: flex; gap: 1.5rem; } .site-header nav a { color: var(--ink-soft); text-decoration: none; font-size: 0.95rem; } .site-header nav a:hover { color: var(--sage); } main { max-width: 960px; margin: 0 auto; padding: 1rem 1.5rem 4rem; } .site-footer { max-width: 960px; margin: 0 auto; padding: 2rem 1.5rem 3rem; color: var(--ink-soft); font-size: 0.85rem; border-top: 1px solid var(--line); } /* Home hero */ .hero { padding: 3rem 0 2.5rem; text-align: center; } .hero h1 { font-size: clamp(2rem, 5vw, 2.8rem); } .hero p { color: var(--ink-soft); max-width: 42ch; margin: 0 auto 1.5rem; } .hero .cta { display: inline-block; background: var(--sun); color: var(--sun-ink); padding: 0.7rem 1.4rem; border-radius: 4px; text-decoration: none; font-size: 0.95rem; } /* Shop hero */ .shop-hero { position: relative; height: 260px; border-radius: 6px; overflow: hidden; margin: 0.5rem 0 1.5rem; } .shop-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; } .shop-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,32,22,0.35) 0%, rgba(28,42,26,0.55) 55%, var(--paper) 100%), linear-gradient(90deg, rgba(20,32,22,0.45) 0%, rgba(20,32,22,0.05) 45%); } .shop-hero-copy { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 0 1.75rem; } .shop-hero-copy h1 { margin-bottom: 0.3rem; } .shop-hero-copy p { color: var(--ink-soft); margin: 0; max-width: 34ch; font-size: 0.95rem; } @media (max-width: 620px) { .shop-hero { height: 220px; } } /* Product grid */ .product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; margin-top: 1.5rem; } .product-card { background: var(--paper-raised); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; } .product-card img { width: 100%; display: block; } .product-card .body { padding: 1rem 1.1rem 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; } .product-card h3 { font-size: 1.1rem; margin: 0; } .product-card p.desc { color: var(--ink-soft); font-size: 0.9rem; margin: 0; flex: 1; } .product-card .price { font-weight: 600; font-variant-numeric: tabular-nums; } .status-pill { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.25rem 0.55rem; border-radius: 100px; align-self: flex-start; } .status-pill::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: currentColor; } .status-pill.available { background: var(--ok-bg); color: var(--ok); } .status-pill.low { background: var(--low-bg); color: var(--low); } .status-pill.out { background: var(--out-bg); color: var(--out); } .buy-btn { display: inline-block; text-align: center; padding: 0.55rem 1rem; border-radius: 4px; text-decoration: none; font-size: 0.9rem; font-weight: 600; } .buy-btn.enabled { background: var(--sun); color: var(--sun-ink); } .buy-btn.disabled { background: transparent; border: 1px solid var(--line); color: var(--ink-soft); cursor: default; pointer-events: none; } .low-note { font-size: 0.8rem; color: var(--low); margin: 0; } /* Reorder box */ .reorder-box { margin-top: 2.5rem; padding: 1.5rem; background: var(--paper-raised); border: 1px solid var(--line); border-radius: 6px; } .reorder-box h2 { font-size: 1.1rem; margin-bottom: 0.4rem; } .reorder-box p { color: var(--ink-soft); font-size: 0.9rem; margin: 0 0 1rem; } .reorder-box form { display: flex; gap: 0.6rem; flex-wrap: wrap; } .reorder-box input[type="email"] { flex: 1; min-width: 200px; padding: 0.55rem 0.75rem; border-radius: 4px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: 0.9rem; } .reorder-box button { padding: 0.55rem 1.1rem; border-radius: 4px; border: none; background: var(--clay); color: #fff; font-size: 0.9rem; font-weight: 600; cursor: pointer; } .reorder-box .demo-note { margin-top: 0.75rem; font-size: 0.78rem; color: var(--ink-soft); font-style: italic; } @media (max-width: 620px) { .site-header { flex-direction: column; gap: 0.75rem; align-items: flex-start; } }