/* ============================================================ NATURAL LABS — shared design system Serif display (Newsreader) · grotesk body (Hanken) · mono labels (IBM Plex Mono) Palette: warm paper, deep eucalyptus ink, forest green brand, clay savings accent ============================================================ */ :root { --paper: oklch(0.987 0.008 95); --cream: oklch(0.965 0.013 92); --cream-deep: oklch(0.945 0.016 95); --forest-bg: oklch(0.305 0.045 158); /* dark section bg */ --ink: oklch(0.27 0.022 158); --ink-2: oklch(0.42 0.018 158); --ink-3: oklch(0.56 0.014 158); --on-dark: oklch(0.96 0.012 100); --on-dark-2: oklch(0.80 0.02 150); --line: oklch(0.90 0.012 130); --line-soft: oklch(0.935 0.01 130); --forest: oklch(0.44 0.085 158); --forest-deep: oklch(0.36 0.078 158); --sage: oklch(0.70 0.06 152); --sage-bg: oklch(0.945 0.028 152); --sage-line: oklch(0.88 0.035 152); --clay: oklch(0.585 0.105 47); --clay-bg: oklch(0.945 0.04 55); --gold: oklch(0.74 0.13 78); --serif: "Newsreader", Georgia, "Times New Roman", serif; --sans: "Hanken Grotesk", system-ui, -apple-system, sans-serif; --mono: "IBM Plex Mono", ui-monospace, monospace; --maxw: 1200px; --gap: clamp(20px, 4vw, 28px); --radius: 14px; --shadow-sm: 0 1px 2px oklch(0.3 0.03 150 / 0.06), 0 2px 8px oklch(0.3 0.03 150 / 0.05); --shadow-md: 0 4px 14px oklch(0.3 0.03 150 / 0.08), 0 18px 40px oklch(0.3 0.03 150 / 0.07); --shadow-lg: 0 10px 30px oklch(0.3 0.03 150 / 0.1), 0 30px 70px oklch(0.3 0.03 150 / 0.12); } * { box-sizing: border-box; } html { scroll-behavior: smooth; } body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; } img { max-width: 100%; display: block; } a { color: inherit; text-decoration: none; } button { font-family: inherit; cursor: pointer; } .wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: clamp(20px, 5vw, 48px); } .narrow { max-width: 760px; } /* ---------- type ---------- */ h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.015em; line-height: 1.05; margin: 0; } h1 { font-size: clamp(40px, 6.4vw, 76px); } h2.section-title { font-size: clamp(31px, 4.6vw, 52px); line-height: 1.04; } em { font-style: italic; } .serif-em { font-style: italic; color: var(--forest); } .eyebrow { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--forest); display: inline-flex; align-items: center; gap: 9px; } .eyebrow::before { content: ""; width: 22px; height: 1.5px; background: var(--sage); display: inline-block; } .eyebrow.center::after { content: ""; width: 22px; height: 1.5px; background: var(--sage); display: inline-block; } .eyebrow.on-dark { color: var(--sage); } .lead { font-size: clamp(17px, 1.7vw, 20px); color: var(--ink-2); line-height: 1.6; } /* ---------- buttons ---------- */ .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--sans); font-weight: 600; font-size: 16px; padding: 16px 30px; border-radius: 999px; border: 1.5px solid transparent; transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s; line-height: 1; white-space: nowrap; } .btn:active { transform: translateY(1px); } .btn-primary { background: var(--forest); color: var(--on-dark); box-shadow: var(--shadow-sm); } .btn-primary:hover { background: var(--forest-deep); box-shadow: var(--shadow-md); } .btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); } .btn-ghost:hover { border-color: var(--ink-2); background: oklch(0.96 0.01 130); } .btn-light { background: var(--paper); color: var(--ink); } .btn-light:hover { background: var(--cream); } .btn-block { width: 100%; } .btn-lg { padding: 19px 34px; font-size: 17px; } /* ---------- stars ---------- */ .stars { color: var(--gold); letter-spacing: 1px; font-size: 15px; } .stars.lg { font-size: 20px; } /* ---------- announcement bar ---------- */ .announce { background: var(--forest-bg); color: var(--on-dark); font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.04em; display: flex; align-items: center; justify-content: center; gap: 28px; padding: 10px 20px; text-align: center; flex-wrap: wrap; } .announce .sep { opacity: .4; } .announce b { color: var(--gold); font-weight: 500; } .announce #countdown { font-variant-numeric: tabular-nums; color: var(--gold); } /* ---------- header ---------- */ .site-header { position: sticky; top: 0; z-index: 60; background: oklch(0.987 0.008 95 / 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-soft); } .nav { display: flex; align-items: center; gap: 32px; height: 70px; } .brand { font-family: var(--serif); font-weight: 600; font-size: 23px; letter-spacing: -0.01em; display: flex; align-items: center; gap: 10px; white-space: nowrap; } .brand .mark { width: 30px; height: 30px; border-radius: 8px; background: var(--forest); display: grid; place-items: center; color: var(--on-dark); font-family: var(--mono); font-weight: 600; font-size: 15px; } .brand .tm { font-family: var(--mono); font-size: 10px; vertical-align: super; color: var(--ink-3); } .nav-links { display: flex; gap: 26px; margin-left: 14px; } .nav-links a { font-size: 15px; color: var(--ink-2); font-weight: 500; transition: color .15s; white-space: nowrap; } .nav-links a:hover { color: var(--forest); } .nav-right { margin-left: auto; display: flex; align-items: center; gap: 18px; } .icon-btn { background: none; border: none; padding: 6px; display: grid; place-items: center; color: var(--ink); position: relative; } .icon-btn:hover { color: var(--forest); } .cart-count { position: absolute; top: -3px; right: -4px; background: var(--clay); color: #fff; font-family: var(--mono); font-size: 10px; min-width: 17px; height: 17px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; font-weight: 500; } .cart-count[data-n="0"] { display: none; } .nav-toggle { display: none; } /* ---------- generic section ---------- */ section { padding: clamp(64px, 9vw, 110px) 0; } .section-head { max-width: 720px; } .section-head.center { margin: 0 auto; text-align: center; } .section-head .eyebrow { margin-bottom: 20px; } .section-head p { margin: 18px 0 0; } /* badge pills */ .pill { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--sage-bg); color: var(--forest); border: 1px solid var(--sage-line); font-weight: 500; } .pill.clay { background: var(--clay-bg); color: var(--clay); border-color: oklch(0.85 0.06 55); } /* image slots default framing */ image-slot { --is-bg: var(--cream-deep); background: var(--cream-deep); border-radius: var(--radius); display: block; width: 100%; height: auto !important; /* let each slot's aspect-ratio drive height (beats component :host height) */ } /* trust row */ .trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; } .trust-row .ti { background: var(--paper); padding: 22px 20px; } .trust-row .ti h4 { font-family: var(--sans); font-weight: 600; font-size: 15px; margin: 0 0 4px; display: flex; align-items: center; gap: 8px; } .trust-row .ti p { margin: 0; font-size: 13.5px; color: var(--ink-3); line-height: 1.45; } .trust-row .ti svg { color: var(--forest); flex: none; } /* footer */ .site-footer { background: var(--forest-bg); color: var(--on-dark-2); padding: clamp(56px, 7vw, 84px) 0 36px; } .footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; } .site-footer .brand { color: var(--on-dark); } .site-footer .brand .mark { background: var(--sage); color: var(--forest-bg); } .footer-about { margin: 18px 0 22px; font-size: 14.5px; line-height: 1.6; max-width: 34ch; } .footer-col h5 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage); margin: 0 0 16px; font-weight: 500; } .footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; } .footer-col a { font-size: 14.5px; color: var(--on-dark-2); transition: color .15s; } .footer-col a:hover { color: var(--on-dark); } .news-form { display: flex; gap: 8px; margin-top: 14px; } .news-form input { flex: 1; background: oklch(0.26 0.03 158); border: 1px solid oklch(0.4 0.04 158); color: var(--on-dark); border-radius: 999px; padding: 12px 18px; font-family: var(--sans); font-size: 14px; } .news-form input::placeholder { color: var(--on-dark-2); } .news-form button { background: var(--sage); color: var(--forest-bg); border: none; border-radius: 999px; padding: 0 20px; font-weight: 600; font-size: 14px; } .footer-contact { font-size: 14px; margin-top: 16px; line-height: 1.7; } .footer-contact a { color: var(--sage); } .footer-bottom { border-top: 1px solid oklch(0.4 0.03 158); margin-top: 44px; padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; font-size: 13px; } .footer-bottom .pays { display: flex; gap: 8px; flex-wrap: wrap; } .footer-bottom .pay { font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; background: oklch(0.26 0.03 158); border: 1px solid oklch(0.4 0.04 158); padding: 4px 8px; border-radius: 5px; color: var(--on-dark-2); } .footer-bottom .legal { display: flex; gap: 18px; flex-wrap: wrap; } /* ---------- cart drawer ---------- */ .cart-overlay { position: fixed; inset: 0; background: oklch(0.2 0.02 150 / 0.4); backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: .25s; z-index: 90; } .cart-overlay.open { opacity: 1; visibility: visible; } .cart-drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 90vw); background: var(--paper); z-index: 95; transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; box-shadow: var(--shadow-lg); } .cart-drawer.open { transform: translateX(0); } .cart-hd { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); } .cart-hd h3 { font-family: var(--serif); font-size: 22px; } .cart-body { flex: 1; overflow-y: auto; padding: 22px 24px; } .cart-empty { color: var(--ink-3); text-align: center; padding: 60px 0; font-size: 15px; } .cart-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); } .cart-item .ci-img { width: 64px; height: 64px; border-radius: 10px; background: var(--cream-deep); flex: none; display:grid; place-items:center; color: var(--ink-3); font-family: var(--mono); font-size: 9px; text-align:center; } .cart-item .ci-info { flex: 1; } .cart-item .ci-info b { display: block; font-size: 14.5px; font-weight: 600; } .cart-item .ci-info .ci-var { font-size: 13px; color: var(--ink-3); margin: 2px 0 8px; } .qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; } .qty button { background: none; border: none; width: 30px; height: 30px; font-size: 16px; color: var(--ink-2); } .qty span { min-width: 26px; text-align: center; font-family: var(--mono); font-size: 13px; } .cart-item .ci-price { font-family: var(--mono); font-weight: 500; font-size: 14px; } .cart-ft { border-top: 1px solid var(--line); padding: 20px 24px 24px; } .cart-ship-bar { background: var(--sage-bg); border-radius: 10px; padding: 12px 14px; font-size: 13px; color: var(--forest); margin-bottom: 16px; } .cart-ship-bar .bar { height: 5px; background: var(--sage-line); border-radius: 3px; margin-top: 8px; overflow: hidden; } .cart-ship-bar .bar i { display: block; height: 100%; background: var(--forest); border-radius: 3px; transition: width .3s; } .cart-subtotal { display: flex; justify-content: space-between; font-size: 16px; margin-bottom: 4px; } .cart-subtotal b { font-family: var(--mono); } .cart-note { font-size: 12.5px; color: var(--ink-3); margin: 0 0 16px; } /* utilities */ .center { text-align: center; } .mt-s { margin-top: 14px; } .mt-m { margin-top: 26px; } .mt-l { margin-top: 44px; } .muted { color: var(--ink-3); } .tnum { font-variant-numeric: tabular-nums; } @media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } .trust-row { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 720px) { .nav-links { display: none; } .nav-toggle { display: grid; } }