:root {
  color-scheme: light;
  --paper: #fdfbf5;
  --ink: #462c08;
  --muted: #645946;
  --line: #d6cdb9;
  --stage: #f2f0ed;
  font: 16px/1.5 system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button, input { color: inherit; font: inherit; }
button:not(:disabled), summary { cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
[hidden] { display: none !important; }
.visually-hidden, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip:focus { position: absolute; z-index: 2; padding: 8px; background: white; }
.site-header {
  position: sticky; top: 0; z-index: 5; background: var(--paper);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 12px clamp(16px, 3vw, 52px); border-bottom: 1px solid var(--line);
}
.site-header a { text-decoration: none; }
.site-header a:hover { text-decoration: underline; }
.brand { display: flex; width: fit-content; align-items: center; gap: 10px; font: 24px/1 Georgia, serif; }
.brand img { display: block; border-radius: 8px; }
.site-header nav { display: flex; align-items: center; gap: 26px; }
.site-header nav a, .header-link { color: var(--muted); font-size: .87rem; }
.header-link { justify-self: end; }
.product { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.gallery {
  display: flex; min-width: 0; flex-direction: column; justify-content: center; gap: 12px;
  background: var(--stage); border-right: 1px solid var(--line); padding: 23px 0;
}
.media-stage { position: relative; display: grid; place-items: center; padding: 0 clamp(45px, 5vw, 85px); }
.media {
  position: relative; overflow: hidden; margin: 0; border-radius: 8px; touch-action: pan-y pinch-zoom;
  width: min(100%, 830px); aspect-ratio: 4 / 3;
}
.media.square { width: min(100%, 600px); aspect-ratio: 1; }
.media:has(video:not([hidden])) { width: min(100%, clamp(235px, 24vw, 328px)); aspect-ratio: 9 / 16; background: #262823; }
.media :is(video, img) { display: block; width: 100%; height: 100%; object-fit: contain; }
.media video { cursor: pointer; }
:where(.media-arrow, .play-overlay) {
  position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid #adb9ab; background: var(--paper); font-size: 22px;
}
.play-overlay { left: 50%; transform: translate(-50%,-50%); font-size: 16px; }
.previous { inset-inline-start: clamp(6px, 2vw, 28px); }
.next { inset-inline-end: clamp(6px, 2vw, 28px); }
.thumbs {
  display: flex; width: min(100%, 830px); margin: 0 auto; padding: 5px 13px;
  gap: 7px; overflow-x: auto; scrollbar-width: thin;
}
.thumbs button {
  display: grid; place-items: center; flex: 0 0 49px; width: 49px; height: 47px;
  overflow: hidden; padding: 0; border-radius: 5px; background: var(--paper); border: 1px solid #adb9ab;
}
.thumbs button:first-child { margin-inline-start: auto; }
.thumbs button:last-child { margin-inline-end: auto; }
.thumbs button[aria-pressed=true] { box-shadow: 0 0 0 2px var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-copy { width: min(100%, 720px); margin: auto; padding: clamp(29px, 4.5vw, 76px) clamp(25px, 5vw, 82px); }
h1, h2 { font-family: Georgia, serif; font-weight: 400; line-height: 1.06; }
h1 { margin: 0; font-size: clamp(38px, 4.1vw, 67px); letter-spacing: -.045em; }
.price { margin: 13px 0 0; font-size: 1.2rem; font-weight: 700; }
.description { margin: 18px 0; max-width: 48ch; }
.finishes { display: flex; gap: 10px; padding: 8px 0 0; border: 0; margin: 0 0 15px; }
.finishes legend { font-size: .87rem; }
.finishes label { cursor: pointer; position: relative; display: grid; place-items: center; width: 39px; height: 39px; }
.finishes input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; margin: 0; }
.finishes input + span { width: 29px; height: 29px; border-radius: 50%; background: var(--swatch); border: 1px solid #9b9a90; }
.finishes input:checked + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.finishes input:focus-visible + span { box-shadow: 0 0 0 5px #98ad9c; }
.buy { display: flex; gap: 8px; }
.buy input { max-width: 70px; padding: 6px 8px; border: 1px solid #adb9ab; border-radius: 4px; background: var(--paper); }
.buy > button, .oil-buy {
  flex: 1; min-height: 47px; border-radius: 4px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper); font-weight: 650;
}
.buy > button:disabled { background: #e5e9df; color: #35473d; border-color: #adb9ab; }
 .buy { gap: 0; }
.quantity-picker { display: flex; border: 1px solid var(--ink); border-right: 0; }
.quantity-picker button, .quantity-picker input { border: 0; background: transparent; border-radius: 0; padding: 0; text-align: center; }
.quantity-picker button { width: 44px; }
.quantity-picker input { width: 3ch; appearance: textfield; }
.quantity-picker input::-webkit-inner-spin-button { appearance: none; }
.quantity-picker :disabled { color: var(--muted); opacity: 1; }
.buy > button { border-radius: 0; }
.details, .oils { border-top: 1px solid var(--line); margin-top: 22px; }
.tabs { display: flex; flex-wrap: wrap; gap: 0 17px; }
.tabs button {
  padding: 0; min-height: 44px; border: 0; border-bottom: 2px solid transparent; background: none;
  font-size: .88rem; font-weight: 650; color: var(--muted);
}
.tabs button[aria-selected=true] { color: var(--ink); border-bottom-color: var(--ink); }
[role=tabpanel] { padding-top: 10px; color: var(--muted); }
[role=tabpanel] p { margin: 0; }
.facts { margin: 16px 0 0; }
.facts div + div { margin-top: 16px; }
.facts dt { font: 700 1rem/1.25 "Barlow Detail", Barlow, sans-serif; color: var(--ink); }
.facts dd { margin: 3px 0 0; font: 400 1rem/1.5 Barlow, sans-serif; color: var(--muted); }
.oils { padding-top: 13px; }
.oils h2 { margin: 0; font-size: 23px; }
.oils p { margin: 4px 0 10px; color: var(--muted); font-size: .87rem; }
.oil-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); max-width: 720px; column-gap: clamp(20px,3vw,40px); }
.oil { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: baseline; min-width: 0; }
.oil-photo { grid-column: 1 / -1; padding: 0; border: 0; background: none; }
.oil-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1; }
.oil span { color: var(--muted); }
.oil-buy { grid-column: 1 / -1; margin: 0; }
@media (min-width: 850px) {
  .product-copy > .oils { max-width: 980px; margin-right: 22px; }
}
@media (max-width: 420px) {
  .oil { grid-template-columns: 1fr; gap: 4px; }
  .oil-buy { margin-top: 3px; padding-inline: 3px; }
}
.oil-preview { width: min(90vw, 650px); padding: 0; border: 0; background: var(--paper); color: var(--ink); }
.oil-preview::backdrop { background: #15221ad1; }
.oil-preview img { width: 100%; display: block; }
.oil-preview button {
  position: absolute; right: 12px; top: 12px; width: 44px; height: 44px;
  border: 0; background: var(--paper); border-radius: 50%; font-size: 25px;
}
.faq { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); background: var(--paper); border-top: 1px solid var(--line); }
.faq-copy { width: min(100%, 670px); margin: auto; padding: clamp(28px, 5vw, 72px); }
.faq h2, .reviews h2 { margin: 0 0 18px; font-size: clamp(30px, 3.2vw, 48px); }
.faq details { border-block-start: 1px solid var(--line); }
.faq details:last-child { border-block-end: 1px solid var(--line); }
.faq summary { min-height: 44px; padding-block: 10px; font-weight: 600; }
.faq details p { margin: 0 0 12px; color: var(--muted); }
.faq img { display: block; width: 100%; height: 100%; max-height: 610px; min-height: 0; object-fit: cover; }
.reviews { border-top: 1px solid var(--line); padding: clamp(30px, 6vw, 78px) 20px; text-align: center; }
.reviews p { margin: 0; color: var(--muted); }
footer { background: var(--paper); color: var(--ink); border-top: 1px solid var(--line); }
.footer-inner, .footer-bottom { width: min(100%,1350px); margin: auto; padding: 20px clamp(21px, 5vw, 66px); }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 22px; padding-top: 36px; }
.footer-inner h2, .footer-inner h3, .footer-inner p { margin: 0 0 7px; }
.footer-inner h2 { font-size: 28px; }
.footer-inner h3 { font-size: .92rem; }
.footer-inner a { display: block; width: fit-content; padding: 3px 0; }
.footer-inner a, .footer-bottom { font-size: .85rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); }
footer :focus-visible { outline-color: var(--ink); }
@media (max-width: 849px) {
  .product, .faq { grid-template-columns: minmax(0,1fr); }
  .gallery { border-right: 0; border-bottom: 1px solid var(--line); padding: 15px 0; }
  .media-stage { padding-inline: 17px; }
  .media:has(video:not([hidden])) { width: min(100%, 235px); }
  .faq img { height: auto; max-height: 460px; }
  .product-copy { padding-inline: 22px; }
}
@media (max-width: 560px) {
  .site-header { display: flex; justify-content: space-between; gap: 8px; padding-inline: 12px; }
  .brand { font-size: 18px; gap: 6px; }
  .brand img { width: 31px; height: 31px; }
  .site-header nav { gap: 10px; }
  .site-header nav a { font-size: .78rem; }
  .header-link { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 17px; }
  .footer-inner > :first-child { grid-column: 1 / -1; }
}

html { scroll-padding-top: 74px; }
.announcement { display: block; padding: 7px 14px; text-align: center; background: var(--ink); color: var(--paper); font-size: .8rem; text-decoration: none; }
.announcement span { margin-left: 8px; }
.announcement:focus-visible { outline-offset: -3px; outline-color: white; }
h1, .faq h2, .reviews h2 { font-family: system-ui, sans-serif; font-weight: 650; text-transform: uppercase; letter-spacing: .035em; }
h1 { max-width: 14ch; font-size: clamp(32px,2.6vw,52px); }
.price { margin: 21px 0 14px; }
.faq h2, .reviews h2 { font-size: clamp(24px,2.25vw,42px); }
.tabs button { font-family: ui-monospace, monospace; text-transform: uppercase; font-size: .78rem; }
.photo-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.photo-pair figure { position: relative; margin: 0; }
.photo-pair img { width: 100%; aspect-ratio: 4/3; display: block; object-fit: cover; }
.photo-pair figcaption { position: absolute; bottom: 12px; left: 12px; background: var(--paper); padding: 4px 9px; font-size: .8rem; }
@media (min-width: 850px) {
  .product-copy { margin: 0; width: 100%; padding: clamp(38px,3.5vw,72px) 0 26px; }
  .product-copy > * { margin-inline: 22px; max-width: 610px; }
  .product-copy > .details { max-width: none; margin-inline: 0; margin-top: 42px; padding: 24px 22px 0; }
  .details > * { max-width: 610px; }
  .media-stage { padding-inline: 0; }
  .media, .media.square { width: 100%; border-radius: 0; }
  .media:has(video:not([hidden])) { width: min(88%, 40vh, 455px); }
  .gallery { padding-top: 0; padding-bottom: 14px; }
}
@media (max-width: 560px) { .photo-pair figcaption { position: static; font-size: .72rem; } }
.cart-link { justify-self: end; padding: 8px 0; background: none; border: none; font-size: .86rem; }
.cart-panel { position: fixed; margin: 0 0 0 auto; width: min(100%,420px); height: 100%; max-height: 100%; border: 0; padding: 22px; color: var(--ink); background: var(--paper); }
.cart-panel::backdrop { background: #211a1380; }
.cart-heading { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.cart-panel button { cursor: pointer; }
.cart-heading button, #cart-lines button { border: 0; background: transparent; }
.cart-heading button { font-size: 24px; min-width: 44px; min-height: 44px; }
#cart-lines button { text-decoration: underline; }
#cart-checkout { background: var(--ink); color: var(--paper); padding: 13px; width: 100%; border: 0; }


.comparison, .reviews { max-width: 1240px; margin: auto; padding: clamp(30px,5vw,72px) clamp(16px,4vw,48px); }
.comparison h2 { margin: 0 0 16px; font: 650 clamp(22px,2.25vw,36px)/1.15 system-ui,sans-serif; text-transform: uppercase; letter-spacing: .035em; }
.finish-strip { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 3px; }
.finish-strip button { text-align: left; padding: 0; border: 0; background: transparent; }
.finish-strip img { display: block; width: 100%; height: auto; }
.finish-strip span { display: block; padding: 7px 2px; font-size: .85rem; }
.finish-strip button:hover span { text-decoration: underline; }
.reviews { text-align: left; }
.footer-inner img { border-radius: 8px; }
@media (max-width: 560px) { .finish-strip { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; } }
@font-face { font-family: Barlow; src: url("/fonts/barlow.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("/fonts/barlowsemicondensed.ttf") format("truetype"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/fonts/ibmplexmono.ttf") format("truetype"); font-style: normal; font-weight: 600; font-display: swap; }
:root { font-family: Barlow, sans-serif; }
h1, .faq h2, .reviews h2, .comparison h2 { font-family: "Barlow Semi Condensed", sans-serif; font-weight: 600; letter-spacing: .025em; }
h1 { font-size: clamp(32px,2.25vw,40px); line-height: 1.05; }
.tabs button, .buy > button, .oil-buy { font-family: "IBM Plex Mono",monospace; font-size: .85rem; font-weight: 600; letter-spacing: .045em; text-transform: uppercase; }
.price, .price-preview { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; }
.regular-price { color: var(--muted); font-size: .85rem; font-weight: 400; }
.price-preview strong { font: 600 .8rem "Barlow Semi Condensed",sans-serif; text-transform: uppercase; background: #dde7d8; color: #2e462f; padding: .13rem .55rem; border-radius: 1rem; }
.outgoing-media { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); pointer-events: none; object-fit: contain; border-radius: 8px; }
.media-stage { overflow: clip; }
.media-arrow { z-index: 1; }

.gallery-inner { width: 100%; display: grid; gap: 12px; }
.tabs button[aria-selected=true] { background: linear-gradient(#d8cdb7,#d8cdb7) left center / 100% 1.24em no-repeat; border-bottom-color: transparent; }
@media (min-width: 850px) {
  .gallery { display: block; }
  .gallery-inner { position: sticky; top: 68px; min-height: min(80vh, 860px); align-content: center; }
  .media.square { max-width: min(100%,calc(100svh - 155px)); }
  .media:not(.square):has(.main-photo:not([hidden])) { max-width: min(100%,calc((100svh - 155px) * 1.3333)); }
  .product-copy > .details { margin-top: clamp(48px, 4vw, 72px); padding-top: 32px; }
}
@font-face { font-family: "Barlow Condensed"; src: url("/fonts/wordmark.ttf") format("truetype"); font-weight: 800; font-display: swap; }
.brand, .footer-inner .wordmark { font: 800 clamp(17px,1.35vw,22px)/1.1 "Barlow Condensed",sans-serif; text-transform: uppercase; letter-spacing: .17em; }
.site-header { min-height: 49px; }
.faq summary { font-size: .94rem; }
.faq details ul { list-style: disc; margin: 0 0 16px 12px; padding-inline-start: 27px; font-size: .875rem; line-height: 1.55; color: var(--muted); }
.faq details li + li { margin-top: 4px; }
#product-reviews .product-review { display: grid; grid-template-columns: minmax(115px,15%) 1fr; gap: 12px 20px; border-top: 1px solid var(--line); padding-block: 32px; }
.review-source { margin: 0 0 18px; font-size: 1rem; }
.review-author { display: grid; align-content: start; justify-items: start; font-size: .9rem; }
.shop-mark { display: inline-block; padding: 2px 5px; border-radius: 3px; background: #efeeec; color: #211e1b; font: 12px/1.3 system-ui,sans-serif; }
.shop-mark b { letter-spacing: -.04em; }
.review-stars { font-size: 18px; line-height: 1; }
.product-review h3 { margin: 12px 0; font: 600 1.2rem "Barlow Semi Condensed",sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.product-review time { font-size: .9rem; }
.review-votes { grid-column: 2 / -1; justify-self: end; display: flex; align-items: center; gap: 3px; font-size: .8rem; }
.review-votes button { display: inline-flex; align-items: center; gap: 3px; min-height: 30px; border: 0; background: transparent; }
.review-votes button[aria-pressed=true] { background: #e6ddcf; border-radius: 3px; }
.review-votes svg { width: 13px; height: 13px; }
.review-votes button:last-child svg { transform: rotate(180deg); }
@media (max-width: 650px) {
  #product-reviews .product-review { grid-template-columns: 1fr auto; padding-block: 20px; }
  .product-review time { grid-column: 2; grid-row: 1; }
  .review-content, .review-votes { grid-column: 1 / -1; }
  .review-votes button { min-width: 40px; min-height: 44px; }
}

.shop-menu { position: relative; }
.shop-menu summary { display: flex; align-items: center; gap: 8px; min-height: 44px; list-style: none; font-size: .87rem; text-transform: uppercase; }
.shop-menu summary::-webkit-details-marker { display: none; }
.shop-menu summary::after { content: ""; width: 6px; height: 6px; border-right: 1px solid; border-bottom: 1px solid; transform: translateY(-2px) rotate(45deg); }
.shop-menu[open] summary::after { transform: translateY(2px) rotate(225deg); }
.nav-panel { position: absolute; z-index: 1; left: -14px; top: 100%; min-width: 170px; padding: 5px 14px; background: var(--paper); border: 1px solid var(--line); }
.site-header .nav-panel a { display: flex; align-items: center; min-height: 44px; font-size: .94rem; }
.site-header { padding-block: 2px; }
@media (max-width: 560px) {
  .shop-menu summary { gap: 4px; font-size: .78rem; }
  .nav-panel { left: auto; right: 0; }
}

.footer-inner:has(.newsletter-preview:not([hidden])) { grid-template-columns: 1fr 1fr 1fr minmax(210px,1.4fr); padding-block: 48px; }
.newsletter-preview h3 { font: 600 1.35rem "Barlow Semi Condensed",sans-serif; text-transform: uppercase; letter-spacing: .06em; }
.newsletter-preview p { font-size: .85rem; }
.newsletter-preview input, .newsletter-preview button { width: 100%; padding: 10px 12px; border: 1px solid var(--ink); border-radius: 0; }
.newsletter-preview input { background: var(--paper); margin: 6px 0; }
.newsletter-preview button { background: var(--ink); color: var(--paper); font: 600 .85rem "IBM Plex Mono",monospace; text-transform: uppercase; opacity: 1; }
@media (max-width: 750px) {
  .footer-inner:has(.newsletter-preview:not([hidden])) { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .newsletter-preview { grid-column: 1 / -1; }
}
.review-jump, .review-heading a { color: var(--ink); font-size: .9rem; font-weight: 400; text-underline-offset: 3px; }
.review-jump { padding-inline-start: 8px; border-inline-start: 1px solid var(--line); }
.review-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 20px; margin-bottom: 18px; }
.review-heading h2 { margin: 0; }

@media (min-width: 850px) { .product-copy h1 span { display: block; } }

@media (min-width: 850px) {
  .site-header { padding-inline: 20px; }
  .buy { max-width: 602px; }
  .buy > button { min-height: 42px; color: #f2ecdf; }
  .buy .quantity-picker { width: 150px; justify-content: space-evenly; }
}

@font-face { font-family: "Barlow Detail"; src: url("/fonts/barlow-bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

.back-to-top { display: grid; place-items: center; width: 48px; height: 44px; border-radius: 4px; background: var(--ink); color: var(--paper); text-decoration: none; font-size: 1.4rem; }
.back-to-top.floating { position: fixed; inset-inline-end: max(12px,env(safe-area-inset-right)); bottom: max(12px,env(safe-area-inset-bottom)); z-index: 3; }
@media (max-width: 560px) {
  .product-copy { padding-top: 20px; }
  .product-copy h1 { max-width: none; }
  .description { margin-block: 9px 12px; line-height: 1.35; }
  .price { margin-block: 12px; gap: 3px 6px; }
  .price-preview { gap: 5px; }
  .regular-price { font-size: .8rem; }
  .review-jump { padding-inline-start: 5px; font-size: .83rem; }
  .finishes { margin-bottom: 9px; padding-top: 4px; }
}

.review-filters { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.review-filters label { display: grid; gap: 5px; font-size: .9rem; }
.review-filters label:first-child { flex: 1 1 180px; max-width: 430px; }
.review-filters input, .review-filters select { min-width: 0; height: 40px; padding: 6px 10px; border: 1px solid var(--line); color: var(--ink); background: white; font: inherit; }
.reviews .review-count { margin: 12px 0; font-size: .85rem; }
