/* Frisino oil redesign. Radius rule: buttons and chips are pills, tiles and cards 14px. One accent: oil gold. */
:root {
  --bg: #f1eee7;
  --bg-2: #e8e4da;
  --bg-3: #ddd7ca;
  --ink: #171715;
  --ink-2: #57544c;
  --line: rgba(23, 23, 21, 0.14);
  --accent: #d6b01e;
  --dark: #171715;
  --on-dark: #f1eee7;
  --on-dark-2: #b9b5ab;
  --serif: "Source Serif 4", ui-serif, Georgia, serif;
  --sans: "Figtree", ui-sans-serif, system-ui, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --r: 14px;
  --gutter: clamp(16px, 4vw, 56px);
  --nav-h: 72px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { width: 100%; max-width: 1400px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 999px; }
.skip:focus { left: 8px; }

.h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.5rem, 5.2vw, 4.75rem); line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
.h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.75rem, 2.4vw, 2.25rem); line-height: 1.1; }
.lede { color: var(--ink-2); font-size: 1.125rem; max-width: 50ch; text-wrap: pretty; }
.section { padding-block: clamp(96px, 12vw, 176px); }
.section--tint { background: var(--bg-2); }
.head-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 48px; align-items: end; }
.head-row .lede { justify-self: end; }

/* split headings: masks never clip ascenders or descenders */
.w { display: inline-block; overflow: clip; padding: 0.16em 0.06em 0.26em; margin: -0.16em -0.06em -0.26em; vertical-align: top; }
.w > span { display: inline-block; will-change: transform; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 52px; padding-inline: 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 500; font-size: 1rem; white-space: nowrap; cursor: pointer; background: var(--bg-2); color: var(--ink);
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn--ink { background: var(--ink); color: var(--bg); }
.btn--light { background: var(--bg); color: var(--ink); }
.btn--ghost { background: rgba(23, 23, 21, 0.35); color: var(--on-dark); border-color: rgba(241, 238, 231, 0.55); }
.btn--line { background: transparent; border-color: rgba(23, 23, 21, 0.3); }
@media (hover: hover) and (pointer: fine) {
  .btn--ink:hover { background: #33322e; }
  .btn--light:hover { background: #fff; }
  .btn--ghost:hover { background: rgba(23, 23, 21, 0.55); border-color: var(--on-dark); }
  .btn--line:hover { border-color: var(--ink); }
}
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: gap 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link:hover { gap: 12px; } }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 999px; border: 0; background: transparent; cursor: pointer; font-size: 22px; transition: background-color 200ms ease, transform 160ms var(--ease-out); }
.icon-btn:active { transform: scale(0.94); }
.icon-btn--line { border: 0; background: var(--bg-2); }
@media (hover: hover) and (pointer: fine) { .icon-btn:hover { background: var(--bg-3); } }

/* nav: solid from the first pixel */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; padding-inline: var(--gutter); background: var(--bg); box-shadow: 0 1px 0 var(--line); }
.nav__logo { justify-self: start; }
.nav__logo img { width: 116px; height: auto; }
.nav__links { display: flex; gap: 28px; font-size: 0.9375rem; font-weight: 500; }
.nav__links a { position: relative; padding-block: 6px; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 300ms var(--ease-out); }
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover::after { transform: scaleX(1); transform-origin: left; } }
.nav__actions { grid-column: 3; justify-self: end; display: flex; gap: 2px; }
.nav__burger { display: none; position: relative; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform 300ms var(--ease-out); }
.nav__burger span:first-child { transform: translateY(-4px); }
.nav__burger span:last-child { transform: translateY(4px); }
.nav__burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 49; background: var(--bg); padding: calc(var(--nav-h) + 40px) var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between; }
.menu nav { display: flex; flex-direction: column; gap: 4px; }
.menu nav a { font-family: var(--serif); font-weight: 600; font-size: clamp(2.25rem, 9vw, 3.25rem); line-height: 1.2; }
.menu__foot { display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--ink-2); font-size: 0.9375rem; }
main { padding-top: var(--nav-h); }

/* hero: graded full-bleed photo, type on the dark ground at the bottom */
.hero { position: relative; height: calc(100dvh - var(--nav-h)); min-height: 600px; max-height: 1000px; display: flex; align-items: flex-end; overflow: clip; isolation: isolate; background: var(--dark); color: var(--on-dark); }
.hero__media { position: absolute; inset: 0 0 0 32%; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform-origin: 60% 55%; }
.hero__scrim { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, var(--dark) 32%, rgba(23,23,21,.7) 40%, rgba(23,23,21,0) 56%), linear-gradient(0deg, rgba(23,23,21,.6) 0%, rgba(23,23,21,0) 30%); }
.hero__inner { padding-bottom: clamp(40px, 7vh, 88px); }
.hero__title { font-family: var(--serif); font-weight: 600; font-size: clamp(3rem, 7.4vw, 6.75rem); line-height: 1.06; letter-spacing: -0.025em; max-width: 12ch; }
.hero__sub { margin-top: 22px; max-width: 44ch; font-size: 1.1875rem; color: #e2dfd8; }
.hero__ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__badge { position: absolute; right: var(--gutter); bottom: clamp(40px, 7vh, 88px); width: 128px; height: 128px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--ink); }
.hero__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--ink); font: 600 19px var(--sans); text-transform: uppercase; }
.hero__badge img { width: auto; height: 58px; }

/* marquee */
.marquee { overflow: clip; padding-block: 28px; background: var(--accent); color: var(--ink); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__set { display: flex; align-items: center; gap: 36px; padding-right: 36px; font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.1; white-space: nowrap; }
.marquee__set img { width: 30px; height: auto; }

/* bento of the three lines */
.bento { margin-top: 56px; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: 1fr 1fr; gap: 16px; }
.tile { position: relative; overflow: clip; border-radius: var(--r); display: flex; align-items: flex-end; isolation: isolate; color: var(--on-dark); min-height: 300px; }
.tile--big { grid-column: 1 / 8; grid-row: 1 / 3; aspect-ratio: 1; min-height: 0; align-self: start; }
.tile--a { grid-column: 8 / 13; min-height: 0; }
.tile--b { grid-column: 8 / 13; min-height: 0; }
.tile__bg { position: absolute; inset: 0; z-index: -2; }
.tile__bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14,14,12,.92) 0%, rgba(14,14,12,.6) 45%, rgba(14,14,12,.25) 80%), rgba(14,14,12,.12); }
.tile__body { display: grid; gap: 6px; padding: clamp(22px, 2.6vw, 36px); padding-right: 96px; }
.tile h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 3vw, 2.75rem); line-height: 1.05; }
.tile--big h3 { font-size: clamp(2.5rem, 4.6vw, 4.25rem); }
.tile__meta { font-weight: 600; }
.tile__p { color: #ddd9d0; font-size: 0.9375rem; max-width: 44ch; }
.tile__go { position: absolute; right: clamp(22px, 2.6vw, 36px); bottom: clamp(22px, 2.6vw, 36px); width: 52px; height: 52px; border-radius: 999px; background: var(--bg); color: var(--ink); display: grid; place-items: center; font-size: 22px; transition: background-color 300ms ease; }
@media (hover: hover) and (pointer: fine) { .tile:hover .tile__bg img { transform: scale(1.04); } .tile:hover .tile__go { background: var(--accent); } }

/* choose by olive: three static cards, icons from the house line set */
.ocards { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ocard { display: flex; flex-direction: column; padding: clamp(24px, 2.6vw, 36px); border-radius: var(--r); background: var(--bg-2); }
.ocard--intense { background: var(--dark); color: var(--on-dark); }
.ocard--intense .ocard__p, .ocard--intense .ocard__oils, .ocard--intense .ocard__label { color: var(--on-dark-2); }
.ocard--intense .btn--ink { background: var(--accent); color: var(--ink); }
.ocard__notes { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ocard__notes li { display: grid; justify-items: center; gap: 10px; text-align: center; font-size: 0.875rem; font-weight: 600; }
.ocard__notes .ico { width: clamp(64px, 6vw, 88px); height: clamp(64px, 6vw, 88px); }
.ocard h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 2.8vw, 2.5rem); line-height: 1.1; }
.ocard__fam { margin-top: 6px; font-weight: 600; font-size: 0.9375rem; }
.ocard__p { margin-top: 12px; color: var(--ink-2); }
.ocard__label { margin-top: 24px; font-size: 0.875rem; font-weight: 600; color: var(--ink-2); }
.ocard__pairs { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.ocard__pairs li { display: flex; align-items: center; gap: 8px; font-size: 0.9375rem; }
.ocard__oils { margin: 8px 0 28px; font-size: 0.9375rem; }
.ocard__cta { margin-top: auto; align-self: flex-start; }
.ocard__cta span { opacity: 0.7; font-weight: 400; }

/* line icons: one SVG used as a mask, so the color follows the text color */
.ico { display: inline-block; flex: none; width: 48px; height: 48px; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.ico--sm { width: 40px; height: 40px; }
.ico--chip { width: 22px; height: 22px; margin-right: 8px; vertical-align: -6px; }
.ico--lg { width: 64px; height: 64px; }
.stars { display: inline-flex; gap: 2px; color: var(--accent); font-size: 18px; }
.tp { justify-self: end; display: grid; justify-items: end; gap: 6px; text-align: right; }
.tp__score { font-family: var(--serif); font-weight: 600; font-size: clamp(3.5rem, 6vw, 5rem); line-height: 1; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 10px; }
.tp__score small { font-family: var(--sans); font-weight: 400; font-size: 1rem; color: var(--ink-2); }
.tp .stars { font-size: 22px; }
.tp__from { color: var(--ink-2); font-size: 0.9375rem; }

/* shop grid + product card */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { height: 42px; padding-inline: 18px; border-radius: 999px; border: 0; background: var(--bg-2); font-size: 0.9375rem; font-weight: 500; cursor: pointer; transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out); }
.chips button:active { transform: scale(0.96); }
.chips button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.chips button:disabled { opacity: 0.4; cursor: not-allowed; }
@media (hover: hover) and (pointer: fine) { .chips button:not([aria-pressed="true"]):not(:disabled):hover { background: var(--bg-3); } }
.shop .head-row { align-items: end; }
.shop .chips { justify-self: end; }
.pgrid { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 16px; }
.pcard { position: relative; display: flex; flex-direction: column; min-width: 0; }
.pcard__link::after { content: ""; position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 4 / 5; border-radius: var(--r); }
.pcard__link:focus-visible { outline: none; }
.pcard__link:focus-visible::after { outline: 2px solid var(--ink); outline-offset: 3px; }
.pcard[hidden] { display: none; }
.pcard__img { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: clip; background: var(--bg-2); }
.pcard__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .pcard:has(.pcard__link:hover) .pcard__img img { transform: scale(1.03); } .pcard__link:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; } }
.pcard__body { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; flex: 1; }
.pcard h3 { font-family: var(--serif); font-weight: 600; font-size: 1.625rem; line-height: 1.1; }
.pcard__meta { color: var(--ink-2); font-size: 0.9375rem; margin-top: -4px; }
.mini-seg { display: flex; gap: 6px; }
.mini-seg button { flex: 1; height: 38px; border-radius: 999px; border: 0; background: var(--bg-2); font-size: 0.875rem; font-weight: 500; cursor: pointer; transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease; }
.mini-seg button[aria-checked="true"] { background: var(--bg-3); font-weight: 700; }
.pcard__add { margin-top: auto; height: 48px; justify-content: space-between; padding-inline: 20px; }
.pcard__price { font-variant-numeric: tabular-nums; }
[data-add].is-added { background: var(--accent) !important; color: var(--ink) !important; }

/* process */
.process { background: var(--dark); color: var(--on-dark); padding-block: clamp(96px, 12vw, 176px); }
.process__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 112px); align-items: start; }  /* photo top flush with the heading (Guido 10-29) */
.process__read { margin-top: 32px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.3vw, 2rem); line-height: 1.3; max-width: 32ch; }
.process__read .rw { opacity: 0.25; transition: opacity 200ms linear; }
.process .facts th, .process .facts td { border-color: rgba(241, 238, 231, 0.18); }
.process .facts td { color: var(--on-dark-2); }
.process__img { margin: calc(0.23 * clamp(2.5rem, 5.2vw, 4.75rem)) 0 0; border-radius: var(--r); overflow: clip; aspect-ratio: 4 / 5; }  /* top aligns with the cap height of the heading */
.process__img img { width: 100%; height: 100%; object-fit: cover; }
.facts { width: 100%; max-width: 620px; margin: 36px 0 0; border-collapse: collapse; font-size: 0.9375rem; }
.facts th, .facts td { text-align: left; vertical-align: top; padding: 13px 0; border-top: 1px solid var(--line); }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 1px solid var(--line); }
.facts th { font-weight: 600; width: 130px; padding-right: 16px; }
.facts td { color: var(--ink-2); }
.facts--tight { margin-top: 16px; }
.facts--tight tr:first-child th, .facts--tight tr:first-child td { border-top: 0; }
.facts--tight tr:last-child th, .facts--tight tr:last-child td { border-bottom: 0; }
.months-label { margin-top: 28px; font-size: 0.875rem; font-weight: 600; }
.months { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: 5px; }
.months li { height: 40px; border-radius: 8px; background: rgba(127, 124, 116, 0.16); display: grid; place-items: center; font-size: 0.75rem; }
.months li.on { background: var(--accent); color: var(--ink); font-weight: 600; }

/* refill builder */
.refill__ui { margin-top: 48px; display: grid; grid-template-columns: 0.9fr 1.3fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(20px, 3vw, 40px); border-radius: var(--r); background: var(--bg-2); }
.refill__controls { display: grid; gap: 22px; }
.refill__cta { height: 56px; justify-content: space-between; padding-inline: 26px; }
.refill__pair { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.refill__item { display: grid; gap: 12px; font-weight: 600; text-align: center; }
.refill__img { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: clip; background: var(--bg-3); }
.refill__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.refill__plus { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); font-size: 22px; }
.seg { border: 0; margin: 0; padding: 0; min-width: 0; }
.seg legend { font-size: 0.875rem; font-weight: 600; margin-bottom: 10px; padding: 0; }
.seg__track { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; border-radius: 999px; background: var(--bg-2); }
.refill .seg__track { background: var(--bg); }
.seg__thumb { position: absolute; left: 0; top: 4px; bottom: 4px; width: 0; border-radius: 999px; background: var(--ink); will-change: transform, width; }
.seg label { position: relative; z-index: 1; height: 46px; display: grid; place-items: center; cursor: pointer; border-radius: 999px; font-size: 0.9375rem; font-weight: 500; color: var(--ink-2); transition: color 250ms ease; white-space: nowrap; padding-inline: 12px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { color: var(--bg); }
.seg label:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }

/* estate video */
.estate { position: relative; overflow: clip; isolation: isolate; color: var(--on-dark); min-height: 100dvh; display: flex; align-items: flex-end; }
.estate__video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.estate__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14,14,12,.9) 0%, rgba(14,14,12,.55) 45%, rgba(14,14,12,.15) 100%); }
.estate__inner { position: relative; padding-block: 160px clamp(56px, 8vw, 104px); }
.estate__year { position: absolute; right: var(--gutter); top: 40px; font-family: var(--serif); font-weight: 600; font-size: clamp(7rem, 22vw, 20rem); line-height: 0.85; letter-spacing: -0.04em; color: rgba(241, 238, 231, 0.18); user-select: none; }
.estate .h2 { max-width: 15ch; }
.estate .lede { color: #dedad2; margin-top: 20px; }
.estate__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 24px; margin: 40px 0 36px; }
.estate__stats div { border-top: 1px solid rgba(241, 238, 231, 0.3); padding-top: 14px; }
.estate__stats dt { font-size: 0.875rem; color: var(--on-dark-2); }
.estate__stats dd { margin: 6px 0 0; font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1; font-variant-numeric: tabular-nums; }
.estate__stats dd.small { font-size: 1.5rem; line-height: 1.15; }

/* reviews */
.quotes { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 16px; }
.quote { display: flex; flex-direction: column; margin: 0; padding: 28px; border-radius: var(--r); background: var(--bg-2); }
.quote figcaption { margin-top: auto !important; padding-top: 16px; }
.quote:nth-child(3n+2) { background: #e6e2c9; }
.quote .stars { margin-bottom: 14px; }
.quote blockquote { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 1.625rem; line-height: 1.15; }
.quote p { margin-top: 12px; color: var(--ink-2); font-size: 0.9375rem; }
.quote figcaption { margin-top: 16px; font-size: 0.9375rem; font-weight: 600; }
.quote figcaption span { font-weight: 400; color: var(--ink-2); }

/* faq */
.faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq__more { margin-top: 24px; }
:root { interpolate-size: allow-keywords; }
details { border-bottom: 1px solid var(--line); }
details::details-content { block-size: 0; overflow: clip; transition: block-size 400ms var(--ease-out), content-visibility 400ms allow-discrete; }
details[open]::details-content { block-size: auto; }
summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 22px 0; cursor: pointer; font-family: var(--serif); font-weight: 600; font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.2; }
summary::-webkit-details-marker { display: none; }
summary i { flex: none; font-size: 20px; transition: transform 300ms var(--ease-out); }
details[open] summary i { transform: rotate(45deg); }
details p { padding: 0 0 24px; color: var(--ink-2); max-width: 60ch; }

/* rail */
.rail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.rail-nav { display: flex; gap: 8px; }
.rail { margin-top: 48px; display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 24vw, 320px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 4px var(--gutter) 16px; scrollbar-width: none; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.rail .pcard { scroll-snap-align: start; }

/* footer */
.footer { background: var(--dark); color: var(--on-dark); padding-top: clamp(80px, 9vw, 128px); overflow: clip; }
.footer__top { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(40px, 6vw, 96px); }
.signup__p { color: var(--on-dark-2); margin-top: 12px; max-width: 44ch; }
.signup__row { margin-top: 22px; display: flex; gap: 8px; max-width: 480px; }
.signup input { flex: 1; min-width: 0; height: 52px; border-radius: 999px; border: 1px solid rgba(241,238,231,.35); background: transparent; color: var(--on-dark); padding-inline: 22px; font: inherit; font-size: 1rem; }
.signup input::placeholder { color: #9a968c; }
.signup input:focus { outline: none; border-color: var(--on-dark); }
.footer .btn--ink { background: var(--accent); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .footer .btn--ink:hover { background: #e6c23a; } }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; font-size: 0.9375rem; }
.footer__cols nav { display: flex; flex-direction: column; gap: 10px; }
.footer__cols h3 { font-family: var(--serif); font-weight: 600; font-size: 1.375rem; margin-bottom: 6px; }
.footer__cols a, .footer__addr p { color: var(--on-dark-2); }
.footer__addr p + p { margin-top: 10px; }
@media (hover: hover) and (pointer: fine) { .footer__cols a:hover { color: var(--on-dark); } }
.footer__word { display: block; width: 100%; height: auto; margin: clamp(64px, 9vw, 120px) 0 0; fill: var(--on-dark); overflow: visible; }
.footer__word .ch { transform-box: fill-box; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding-block: 24px 28px; margin-top: 24px; font-size: 0.8125rem; color: var(--on-dark-2); border-top: 1px solid rgba(241,238,231,.16); }
.demo-ok { padding: 14px 0; color: var(--on-dark); }

/* cart: badge, drawer, lines */
.cart-btn { position: relative; }
.cart-count { position: absolute; top: 3px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 0.6875rem; font-weight: 700; line-height: 18px; text-align: center; }
.cdrawer { position: fixed; inset: 0; z-index: 80; }
.cdrawer__scrim { position: absolute; inset: 0; background: rgba(14, 14, 12, 0.45); opacity: 0; transition: opacity 400ms ease; }
.cdrawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%); display: flex; flex-direction: column; background: var(--bg); transform: translateX(100%); transition: transform 450ms cubic-bezier(0.32, 0.72, 0, 1); }
.cdrawer.is-open .cdrawer__scrim { opacity: 1; }
.cdrawer.is-open .cdrawer__panel { transform: none; }
.cdrawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 14px 24px; border-bottom: 1px solid var(--line); }
.cdrawer__head h2 { font-family: var(--serif); font-weight: 600; font-size: 2rem; line-height: 1; }
.cdrawer__head h2 span { font-family: var(--sans); font-size: 1rem; color: var(--ink-2); }
.ship { padding: 16px 24px; border-bottom: 1px solid var(--line); font-size: 0.875rem; }
.ship__track { display: block; height: 6px; margin-top: 10px; border-radius: 999px; background: var(--bg-3); overflow: hidden; }
.ship__bar { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); transition: transform 600ms var(--ease-out); }
.clines { list-style: none; margin: 0; padding: 8px 24px; overflow-y: auto; flex: 1; overscroll-behavior: contain; }
.cline { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cline:last-child { border-bottom: 0; }
.cline__img { position: relative; flex: none; width: 84px; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--bg-2); }
.cline__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cline__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cline__name { font-family: var(--serif); font-weight: 600; font-size: 1.375rem; line-height: 1.1; }
.cline__var { color: var(--ink-2); font-size: 0.8125rem; margin-top: 2px; }
.cline__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 10px; }
.cline__price { font-weight: 600; font-variant-numeric: tabular-nums; }
.cline__rm { align-self: flex-start; margin-top: 6px; padding: 4px 0; border: 0; background: none; color: var(--ink-2); font-size: 0.8125rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.qty { display: flex; align-items: center; height: 56px; border-radius: 999px; border: 0; padding: 4px; background: var(--bg-2); }
.qty__btn { width: 46px; height: 46px; border-radius: 999px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; font-size: 16px; transition: background-color 200ms ease, transform 160ms var(--ease-out); }
.qty__btn:active { transform: scale(0.92); }
@media (hover: hover) and (pointer: fine) { .qty__btn:hover { background: var(--bg-3); } }
.qty__n { width: 28px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; }
.qty--sm { height: 40px; padding: 2px; }
.qty--sm .qty__btn { width: 34px; height: 34px; font-size: 13px; }
.cempty { flex: 1; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 24px; text-align: center; }
.cempty p { font-family: var(--serif); font-weight: 600; font-size: 1.75rem; }
.cdrawer__foot { padding: 18px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.cdrawer__sub { display: flex; justify-content: space-between; font-size: 1.0625rem; font-weight: 600; }
.cdrawer__note { color: var(--ink-2); font-size: 0.8125rem; }
.cdrawer__view { justify-self: center; font-size: 0.875rem; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }

[hidden] { display: none !important; }

/* responsive */
@media (max-width: 1180px) {
  .nav__links { display: none; }
  .nav__burger { display: inline-grid; }
  .pgrid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .head-row { grid-template-columns: 1fr; }
  .head-row .lede, .shop .chips, .tp { justify-self: start; }
  .tp { justify-items: start; text-align: left; }
  .ocards { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .bento { grid-template-rows: auto; }
  .tile--big { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 1; }
  .tile--a, .tile--b { grid-column: auto; min-height: 360px; }
  .pgrid { grid-template-columns: repeat(2, 1fr); }
  .process__grid, .refill__ui, .faq__grid, .footer__top { grid-template-columns: 1fr; }
  .process__img { margin-top: 0; }
  .quotes { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  body { font-size: 16px; }
  .nav__logo img { width: 100px; }
  .hero { min-height: 620px; }
  .hero__media { inset: 0 0 40% 0; }
  .hero__media img { object-position: 55% 50%; }
  .hero__scrim { background: linear-gradient(0deg, var(--dark) 40%, rgba(23,23,21,.75) 48%, rgba(23,23,21,0) 64%); }
  .hero__badge { display: none; }
  .hero__sub { font-size: 1.0625rem; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .bento { grid-template-columns: 1fr; }
  .tile--a, .tile--b { min-height: 320px; }
  .tile__body { padding-right: 84px; }
  .pgrid { gap: 32px 12px; }
  .pcard h3 { font-size: 1.3125rem; }
  .pcard__meta { font-size: 0.8125rem; }
  .pcard__add { padding-inline: 14px; font-size: 0.875rem; height: 44px; }
  .pcard__add span:first-child { overflow: hidden; text-overflow: ellipsis; }
  .mini-seg button { height: 34px; font-size: 0.8125rem; }
  .estate__stats { grid-template-columns: 1fr 1fr; }
  .estate__year { top: 72px; }
  .quotes { grid-template-columns: 1fr; }
  .months li { height: 34px; font-size: 0.625rem; }
  .footer__cols { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .signup__row { flex-direction: column; }
  .signup input { flex: none; }
  .refill__pair { gap: 8px; }
  .refill__plus { width: 36px; height: 36px; font-size: 16px; }
  .refill__item { font-size: 0.875rem; }
}
@media (max-width: 420px) {
  .pcard__add span:first-child { display: none; }
  .pcard__add { justify-content: center; }
  .pcard__add .pcard__price::before { content: "Add · "; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation: none !important; scroll-behavior: auto !important; }
  .process__read .rw { opacity: 1; }
}
