/* EZPZ redesign - shared tokens, layout and components.
   Palette: black, white, grays, one orange. Radius 2px. Inter + IBM Plex Mono. */

@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-variable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('/assets/fonts/ibm-plex-mono-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('/assets/fonts/ibm-plex-mono-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  color-scheme: light;
  --ink: #111111;
  --paper: #FFFFFF;
  --orange: #FF381D;
  --gray-50: #F4F4F4;
  --gray-100: #F2F2F2;
  --gray-200: #E5E5E5;
  --gray-300: #D4D4D4;
  --gray-400: #BDBDBD;
  --gray-600: #4A4A4A;
  --gray-700: #333333;
  --gray-900: #1C1C1C;
  --radius: 2px;
  --max: 1280px;
  --gutter: 24px;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --section: 112px;
}
@media (max-width: 760px) { :root { --gutter: 16px; --section: 72px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
.dot { color: var(--orange); }
.h-display, .h1, .h2, .h3 { font-weight: 900; letter-spacing: -0.045em; margin: 0; }
.h-display { font-size: clamp(52px, 9vw, 128px); line-height: 0.98; }
.h1 { font-size: clamp(44px, 7vw, 104px); line-height: 1.0; }
.h2 { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.04; }
.h3 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.05; letter-spacing: -0.03em; }
.eyebrow { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin: 0 0 16px; }
.eyebrow--orange { color: var(--orange); }
.lede { font-size: 18px; line-height: 1.55; color: var(--gray-700); margin: 0; max-width: 560px; }
.on-dark .lede, .lede--light { color: #D4D4D4; }
.muted { color: var(--gray-600); }
.ph { font-family: var(--mono); font-size: .92em; background: var(--gray-100); padding: 0 4px; border-radius: var(--radius); }
.on-dark .ph { background: #2a2a2a; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--section); padding-bottom: var(--section); }
.section--tight { padding-top: 64px; padding-bottom: 64px; }
.on-dark { background: var(--ink); color: var(--paper); }
.on-gray { background: var(--gray-50); }
.on-orange { background: var(--orange); color: var(--ink); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head .h2 { max-width: 760px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--radius); border: 2px solid var(--ink); background: var(--ink); color: var(--paper); font-weight: 800; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.btn:hover { background: var(--gray-700); border-color: var(--gray-700); color: var(--paper); }
.btn--orange { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.btn--orange:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--white { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--white:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.btn--ghost-light { background: transparent; border-color: var(--paper); color: var(--paper); }
.btn--ghost-light:hover { background: var(--paper); color: var(--ink); }
.btn--block { width: 100%; }
.btn--lg { min-height: 60px; font-size: 16px; }
.btn svg { flex: none; }
.link-arrow { font-weight: 800; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; border-bottom: 2px solid var(--orange); padding-bottom: 2px; }
.link-arrow:hover { color: var(--orange); }

/* ---------- Announcement ---------- */
.announce { background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 500; position: relative; }
.announce__track { height: 38px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 48px; }
.announce__msg { display: none; gap: 10px; align-items: center; }
.announce__msg.is-active { display: inline-flex; animation: fadeUp .4s ease; }
.announce a { color: var(--orange); font-weight: 700; text-decoration: none; }
.announce__close { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: none; color: var(--paper); cursor: pointer; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--paper); border-bottom: 1px solid var(--gray-200); }
.utility { border-bottom: 1px solid var(--gray-200); font-size: 13px; }
.utility .wrap { display: flex; justify-content: flex-end; gap: 22px; height: 34px; align-items: center; }
.utility a { text-decoration: none; color: var(--gray-600); }
.utility a:hover { color: var(--ink); }
.utility .lang b { color: var(--ink); }
.utility__left { margin-right: auto; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--gray-600); }
.header-main { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo img { height: 44px; width: auto; }
.nav { display: flex; align-items: stretch; height: 100%; gap: 4px; flex: 1; }
.nav__item { display: flex; align-items: stretch; }
.nav__trigger { display: flex; align-items: center; gap: 6px; padding: 0 14px; border: 0; background: none; font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none; position: relative; }
.nav__trigger::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 3px; background: var(--orange); transform: scaleX(0); transition: transform .2s; }
.nav__item.is-open .nav__trigger::after, .nav__trigger[aria-current="page"]::after, .nav__trigger:hover::after { transform: scaleX(1); }
.nav__trigger svg { transition: transform .2s; }
.nav__item.is-open .nav__trigger svg { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 4px; }
.icon-btn { position: relative; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: none; cursor: pointer; border-radius: var(--radius); text-decoration: none; }
.icon-btn:hover { background: var(--gray-50); }
.cart-count { position: absolute; top: 5px; right: 3px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: var(--radius); background: var(--orange); color: var(--ink); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.header-cta { margin-left: 10px; min-height: 44px; padding: 0 18px; font-size: 14px; }
.burger { display: none; }

/* Mega menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--ink); box-shadow: 0 30px 60px -30px rgba(0,0,0,.25); display: none; }
.nav__item.is-open .mega { display: block; animation: fadeUp .18s ease; }
.mega__inner { display: grid; grid-template-columns: repeat(3, minmax(0, 190px)) 1fr; gap: 40px; padding-top: 36px; padding-bottom: 40px; }
.mega__col h4 { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gray-600); margin: 0 0 14px; }
.mega__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mega__col a { text-decoration: none; font-weight: 600; font-size: 15px; }
.mega__col a:hover { color: var(--orange); }
.mega__col a.all { font-weight: 800; border-bottom: 2px solid var(--orange); }
.mega__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tile { position: relative; display: block; text-decoration: none; border: 1px solid var(--ink); border-radius: var(--radius); overflow: hidden; background: var(--gray-50); }
.tile img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .5s ease; }
.tile:hover img { transform: scale(1.04); }
.tile__body { padding: 14px 16px 16px; background: var(--paper); border-top: 1px solid var(--ink); }
.tile__title { font-weight: 900; letter-spacing: -0.02em; font-size: 17px; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.tile__sub { font-size: 13px; color: var(--gray-600); margin-top: 2px; }
.mega-scrim { position: fixed; inset: 0; top: var(--header-bottom, 144px); background: rgba(17,17,17,.35); z-index: 40; display: none; }
.mega-scrim.is-on { display: block; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 100; display: none; }
.drawer.is-open { display: block; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(17,17,17,.5); }
.drawer__panel { position: absolute; top: 0; bottom: 0; width: min(420px, 100%); background: var(--paper); display: flex; flex-direction: column; animation: slideIn .25s ease; }
.drawer--left .drawer__panel { left: 0; }
.drawer--right .drawer__panel { right: 0; animation-name: slideInR; }
@keyframes slideIn { from { transform: translateX(-100%); } to { transform: none; } }
@keyframes slideInR { from { transform: translateX(100%); } to { transform: none; } }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 12px var(--gutter); border-bottom: 1px solid var(--gray-200); min-height: 64px; }
.drawer__body { overflow-y: auto; flex: 1; padding: 8px var(--gutter) 24px; }
.drawer__foot { padding: 16px var(--gutter); border-top: 1px solid var(--gray-200); display: grid; gap: 10px; }
.m-acc { border-bottom: 1px solid var(--gray-200); }
.m-acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 60px; font-weight: 900; font-size: 22px; letter-spacing: -0.03em; cursor: pointer; }
.m-acc summary::-webkit-details-marker { display: none; }
.m-acc[open] summary svg { transform: rotate(45deg); }
.m-acc h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--gray-600); margin: 12px 0 6px; }
.m-acc ul { list-style: none; margin: 0 0 12px; padding: 0; }
.m-acc li a { display: block; padding: 9px 0; text-decoration: none; font-weight: 600; }

/* Cart drawer */
.cart-empty { text-align: center; padding: 48px 0; color: var(--gray-600); }
.cart-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--gray-200); }
.cart-line img { width: 72px; height: 72px; object-fit: contain; background: var(--gray-50); border: 1px solid var(--ink); border-radius: var(--radius); mix-blend-mode: multiply; }
.cart-line b { display: block; font-size: 15px; }
.cart-line span { font-size: 13px; color: var(--gray-600); }
.cart-upsell { background: var(--gray-50); border: 1px solid var(--gray-200); padding: 14px; border-radius: var(--radius); font-size: 14px; margin-top: 16px; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; background: var(--ink); color: var(--paper); overflow: hidden; }
.hero__slide { display: none; position: relative; min-height: clamp(560px, 48vw, 960px); }
.hero__slide.is-active { display: block; }
.hero__media { position: absolute; inset: 0; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,17,17,.82) 0%, rgba(17,17,17,.45) 42%, rgba(17,17,17,0) 70%); }
.hero__content { position: relative; z-index: 2; min-height: inherit; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 88px; padding-top: 88px; }
.hero .h-display { font-size: clamp(48px, 7vw, 104px); }
.hero__content .lede { color: #E6E6E6; margin: 20px 0 32px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__ui { position: absolute; z-index: 3; right: var(--gutter); bottom: 32px; display: flex; gap: 8px; align-items: center; }
.hero__dots { display: flex; gap: 8px; margin-right: 12px; }
.hero__dot { width: 28px; height: 4px; border: 0; padding: 0; background: rgba(255,255,255,.4); cursor: pointer; border-radius: 0; }
.hero__dot.is-active { background: var(--orange); }
.hero__arrow { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.6); background: transparent; color: var(--paper); cursor: pointer; border-radius: var(--radius); display: inline-flex; align-items: center; justify-content: center; }
.hero__arrow:hover { background: var(--paper); color: var(--ink); }
.hero__stamp { position: absolute; right: var(--gutter); top: 32px; z-index: 3; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border: 1px solid rgba(255,255,255,.5); padding: 6px 10px; }

/* ---------- Path tiles (Shop / Business split) ---------- */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.path { position: relative; display: block; text-decoration: none; color: var(--paper); border-radius: var(--radius); overflow: hidden; min-height: 560px; border: 1px solid var(--ink); }
.path img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.path:hover img { transform: scale(1.03); }
.path::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,17,17,0) 35%, rgba(17,17,17,.85) 100%); }
.path__body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 36px; }
.path__body p { margin: 10px 0 22px; color: #E6E6E6; max-width: 420px; }
.path__kicker { position: absolute; z-index: 2; top: 24px; left: 24px; background: var(--paper); color: var(--ink); font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: var(--radius); }
.path__list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.path__list span { font-size: 13px; font-weight: 700; border: 1px solid rgba(255,255,255,.6); padding: 5px 10px; border-radius: var(--radius); }

/* ---------- Product cards & carousel ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-nav { display: flex; gap: 8px; }
.rail-nav button { width: 48px; height: 48px; border: 1px solid var(--ink); background: var(--paper); border-radius: var(--radius); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.rail-nav button:hover { background: var(--ink); color: var(--paper); }
.on-dark .rail-nav button { background: transparent; border-color: var(--paper); color: var(--paper); }
.on-dark .rail-nav button:hover { background: var(--paper); color: var(--ink); }

.grid-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 20px; }
.card { display: flex; flex-direction: column; gap: 12px; height: 100%; }
.card__media { position: relative; aspect-ratio: 4/5; border: 1px solid var(--ink); border-radius: var(--radius); background: var(--gray-50); overflow: hidden; display: block; text-decoration: none; color: var(--ink); }
.card__media { background: #F1F1F1; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease, opacity .3s ease; }
.card__media img.alt { opacity: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.card__media:hover img.alt { opacity: 1; }
.card__media:hover img:not(.alt) { transform: scale(1.04); }
.card__media img.alt { transform: none; }
.card__media img.wide { object-fit: contain; transform: none; }
.card__media:hover img.wide { transform: scale(1.04); }
.card__top { position: absolute; z-index: 2; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; gap: 10px; padding: 16px; align-items: flex-start; }
.card__origin { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--paper); color: var(--ink); padding: 4px 7px; border-radius: var(--radius); }
.badge { flex: none; background: var(--orange); color: var(--ink); font-size: 12px; font-weight: 800; padding: 4px 8px; border-radius: var(--radius); }
.badge--ink { background: var(--ink); color: var(--paper); }
.card__media--dark { background: #1F1F1F; color: var(--paper); }
.card__word { position: absolute; left: 16px; bottom: 16px; font-weight: 900; font-size: 34px; letter-spacing: -0.045em; line-height: 1.0; }
.card__row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.card__name { font-weight: 800; font-size: 17px; letter-spacing: -0.01em; margin: 0; min-height: 2.5em; line-height: 1.25; }
.card__name a { text-decoration: none; }
.card__name a:hover { color: var(--orange); }
.card__price { font-weight: 800; white-space: nowrap; font-size: 15px; }
.card__notes { font-size: 14px; color: var(--gray-600); margin: -6px 0 0; }
.roast { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; }
.roast__bar { display: flex; gap: 3px; }
.roast__bar i { width: 18px; height: 5px; background: var(--gray-300); }
.roast__bar i.on { background: var(--ink); }
.card .btn { margin-top: auto; }
.promo { border-radius: var(--radius); border: 1px solid var(--ink); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; aspect-ratio: 4/5; position: relative; overflow: hidden; }
.promo .h3 { font-size: clamp(30px, 2.8vw, 40px); line-height: 1.0; letter-spacing: -0.045em; }
.promo p { margin: 0; }
.promo--orange { background: var(--orange); }
.promo--dark { background: var(--ink); color: var(--paper); }
.promo--dark img { position: absolute; right: -14%; bottom: -22%; width: 58%; transform: rotate(-8deg); }
.promo--dark > *:not(img) { position: relative; z-index: 1; }
.promo--dark p { max-width: 210px; }

/* ---------- Steps ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split__media { border: 1px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.steps { list-style: none; margin: 36px 0 36px; padding: 0; border-top: 1px solid var(--gray-200); }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--gray-200); }
.steps .num { font-family: var(--mono); font-weight: 700; color: var(--orange); font-size: 14px; padding-top: 3px; display: grid; gap: 8px; align-content: start; }
.steps b { display: block; font-size: 18px; letter-spacing: -0.01em; }
.steps span { color: var(--gray-600); font-size: 15px; }
.on-dark .steps, .on-dark .steps li { border-color: #2c2c2c; }
.on-dark .steps span { color: var(--gray-400); }

/* ---------- Manifesto / founder ---------- */
.manifesto { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.manifesto blockquote { margin: 0; }
.manifesto .quote { font-size: clamp(30px, 3.6vw, 52px); font-weight: 900; letter-spacing: -0.045em; line-height: 1; margin: 0 0 28px; }
.manifesto .quote__2 { color: var(--gray-400); display: block; }
.manifesto img { border: 1px solid #2c2c2c; border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #2c2c2c; margin-top: 72px; }
.fact { padding: 28px 24px 0 0; }
.fact b { display: block; font-size: clamp(40px, 5vw, 72px); font-weight: 900; letter-spacing: -0.05em; line-height: 1; }
.fact span { color: var(--gray-400); font-size: 14px; }

/* ---------- Formats ---------- */
.formats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.format { text-decoration: none; display: flex; flex-direction: column; border: 1px solid var(--ink); border-radius: var(--radius); background: var(--paper); transition: background .2s; }
.format:hover { background: var(--gray-50); }
.format__img { aspect-ratio: 1; overflow: hidden; border-bottom: 1px solid var(--ink); background: #F1F1F1; }
.format__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.format:hover .format__img img { transform: scale(1.05); }
.format__body { padding: 18px 18px 20px; display: grid; gap: 4px; }
.format__body b { font-size: 20px; font-weight: 900; letter-spacing: -0.03em; display: flex; justify-content: space-between; }
.format__body span { font-size: 14px; color: var(--gray-600); }
.format__body .eyebrow { margin: 0 0 4px; color: var(--gray-600); font-size: 11px; }

/* ---------- Brand band ---------- */
.band { background: #EDEDED; text-align: center; overflow: hidden; padding-top: var(--section); }
.band .lede { margin: 20px auto 32px; }
.band > img { width: 100%; max-width: 1600px; margin: 24px auto 0; mix-blend-mode: multiply; }

/* ---------- Alternating story rows ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; padding: 56px 0; }
.story + .story { border-top: 1px solid var(--gray-200); }
.story:nth-child(even) .story__media { order: 2; }
.story__media { border: 1px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.story__media img { width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.story .lede { margin: 18px 0 26px; }
.ticks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.ticks svg { flex: none; margin-top: 2px; }

/* ---------- Logos ---------- */
.logos { display: grid; grid-template-columns: repeat(9, 1fr); border-top: 1px solid var(--gray-200); border-left: 1px solid var(--gray-200); }
.logos a { min-height: 108px; display: flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; padding: 12px; border-right: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); font-weight: 900; letter-spacing: -0.03em; font-size: 15px; color: var(--gray-600); transition: color .2s, background .2s; line-height: 1.1; }
.logos a:hover { color: var(--ink); background: var(--gray-50); }
.logos a.serif { font-family: Georgia, serif; font-weight: 400; letter-spacing: 0; font-style: italic; }
.logos a.mono { font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }

/* ---------- Case studies ---------- */
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.case { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); border-radius: var(--radius); text-decoration: none; overflow: hidden; background: var(--paper); }
.case img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.case__body { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.case__body h3 { font-size: 22px; letter-spacing: -0.03em; line-height: 1.1; margin: 0; font-weight: 900; }
.case__body p { margin: 0; color: var(--gray-600); font-size: 15px; }
.case__body .link-arrow { margin-top: auto; align-self: flex-start; }

/* ---------- UGC ---------- */
.ugc { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.ugc a { position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: var(--radius); display: block; }
.ugc img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ugc a:hover img { transform: scale(1.05); }

/* ---------- Trust strip ---------- */
.trust { background: var(--gray-50); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 28px; padding-bottom: 28px; }
.trust__item { display: flex; gap: 14px; align-items: flex-start; }
.trust__item b { display: block; font-size: 15px; }
.trust__item span { font-size: 13px; color: var(--gray-600); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--gray-200); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq p { margin: 0 0 22px; color: var(--gray-700); max-width: 720px; }

/* ---------- Newsletter + footer ---------- */
.footer { background: var(--ink); color: var(--paper); }
.footer__top { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; padding-top: 88px; padding-bottom: 64px; }
.footer__news h3 { font-size: clamp(28px, 3vw, 40px); font-weight: 900; letter-spacing: -0.045em; line-height: 1; margin: 22px 0 12px; }
.footer__news p { color: var(--gray-400); margin: 0 0 20px; font-size: 15px; }
.news-form { display: flex; gap: 8px; }
.news-form input { flex: 1; min-width: 0; height: 52px; border-radius: var(--radius); border: 1px solid #3a3a3a; background: var(--gray-900); color: var(--paper); padding: 0 16px; }
.news-form input::placeholder { color: #8a8a8a; }
.news-form .btn { min-height: 52px; }
.footer small { display: block; color: #8a8a8a; margin-top: 10px; font-size: 12px; }
.footer address { font-style: normal; margin-top: 28px; color: var(--gray-400); font-size: 14px; line-height: 1.7; }
.footer address a { color: var(--paper); }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer__cols h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #8a8a8a; margin: 0 0 16px; font-weight: 700; }
.footer__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer__cols a { text-decoration: none; font-size: 14px; color: #E6E6E6; }
.footer__cols a:hover { color: var(--orange); }
.footer__cols details summary { list-style: none; pointer-events: none; }
.footer__cols details summary::-webkit-details-marker { display: none; }
.footer__cols details summary svg { display: none; }
.footer__bottom { border-top: 1px solid #2c2c2c; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 22px; padding-bottom: 28px; flex-wrap: wrap; font-size: 13px; color: #8a8a8a; }
.footer__bottom a { color: #BDBDBD; }
.socials { display: flex; gap: 8px; }
.socials a { width: 44px; height: 44px; border: 1px solid #3a3a3a; border-radius: var(--radius); display: inline-flex; align-items: center; justify-content: center; color: var(--paper); }
.socials a:hover { border-color: var(--orange); color: var(--orange); }
.wordmark { overflow: hidden; border-top: 1px solid #2c2c2c; }
.wordmark span { display: block; font-weight: 900; letter-spacing: -0.06em; line-height: .78; font-size: 25vw; color: #1a1a1a; text-align: center; padding-top: 2vw; user-select: none; }
.wordmark span i { font-style: normal; color: var(--orange); }

/* ---------- Toast ---------- */
.toast { position: fixed; z-index: 120; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--ink); color: var(--paper); padding: 14px 18px; border-radius: var(--radius); font-weight: 700; font-size: 14px; display: flex; gap: 14px; align-items: center; transition: transform .3s ease; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.toast:empty { visibility: hidden; }
.toast:not(.is-on) { visibility: hidden; transition: transform .3s ease, visibility 0s .3s; }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; }
.toast a { color: var(--orange); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav, .utility, .header-cta { display: none; }
  .burger { display: inline-flex; }
  .header-main { height: 64px; justify-content: space-between; }
  .logo { position: absolute; left: 50%; transform: translateX(-50%); }
  .rail { grid-auto-columns: calc((100% - 2 * 16px) / 2.6); gap: 16px; }
  .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .logos { grid-template-columns: repeat(5, 1fr); }
  .formats { grid-template-columns: repeat(2, 1fr); }
  .cases { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .logo img { height: 38px; }
  .btn { white-space: normal; text-align: left; }
  .header-actions a[aria-label="Account"] { display: none; }
  .hero__slide { min-height: 640px; }
  .hero__media::after { background: linear-gradient(180deg, rgba(17,17,17,0) 25%, rgba(17,17,17,.9) 78%); }
  .hero__content { padding-bottom: 96px; }
  .hero__ui { left: var(--gutter); right: auto; bottom: 28px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .paths, .split, .manifesto, .story { grid-template-columns: 1fr; gap: 28px; }
  .path { min-height: 480px; }
  .path__body { padding: 22px; }
  .story:nth-child(even) .story__media { order: 0; }
  .story { padding: 40px 0; }
  .rail { grid-auto-columns: 72%; gap: 12px; }
  .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 12px; }
  .card__word { font-size: 24px; }
  .card__name { font-size: 15px; }
  .card__notes { font-size: 13px; }
  .card__top { padding: 10px; }
  .card__origin { font-size: 9.5px; }
  .badge { font-size: 10.5px; padding: 3px 6px; }
  .promo { padding: 18px; aspect-ratio: auto; grid-column: 1 / -1; min-height: 260px; }
  .facts { grid-template-columns: 1fr 1fr; row-gap: 28px; margin-top: 48px; }
  .formats { gap: 12px; }
  .format__body { padding: 14px; }
  .format__body b { font-size: 17px; }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .logos a { min-height: 84px; font-size: 13px; }
  .case { grid-template-columns: 1fr; }
  .case img { min-height: 220px; aspect-ratio: 16/10; }
  .ugc { grid-template-columns: repeat(3, 1fr); }
  .trust .wrap { grid-template-columns: 1fr 1fr; }
  .section-head { margin-bottom: 28px; }
  .news-form { flex-direction: column; }
  .footer__top { padding-top: 64px; gap: 40px; }
  .footer__cols { grid-template-columns: 1fr; gap: 0; }
  .footer__cols details { border-bottom: 1px solid #2c2c2c; }
  .footer__cols details summary { pointer-events: auto; display: flex; justify-content: space-between; align-items: center; min-height: 56px; cursor: pointer; }
  .footer__cols details summary svg { display: block; }
  .footer__cols details summary h4 { margin: 0; }
  .footer__cols details ul { padding-bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* unified select arrow: same chevron, size and inset on every dropdown (native + font picker) */
select { -webkit-appearance: none; appearance: none; cursor: pointer; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important; background-position: right 14px center !important; background-size: 14px 14px !important; padding-right: 40px !important; }
select::-ms-expand { display: none; }
.cart-count[hidden] { display: none; }
/* grid children never grow past their track (stops long text / selects / tables pushing layouts wider than the screen) */
.paths > *, .split > *, .story > *, .cases > *, .case > *, .manifesto > *, .footer__top > *, .footer__cols > *, .trust .wrap > * { min-width: 0; }

.announce__msg a { white-space: nowrap; }
.drawer__foot[hidden] { display: none; }
@media (max-width: 760px) { .announce__msg { font-size: 12px; line-height: 1.35; text-align: center; flex-wrap: wrap; justify-content: center; row-gap: 2px; } }
.card__origin { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.card__top .badge { flex: none; }

/* client logo wall: real logos, unified in greyscale, full colour on hover */
.logos img { display: block; max-width: 78%; max-height: 46px; width: auto; height: auto; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .78; transition: filter .25s, opacity .25s; }
.logos a:hover img, .logos a:focus-visible img { filter: none; opacity: 1; }
.logos img.sq { max-height: 64px; }
@media (max-width: 760px) { .logos img { max-height: 34px; } .logos img.sq { max-height: 48px; } }
.story__media video { width: 100%; aspect-ratio: 5/4; object-fit: cover; display: block; }
.hero__media { overflow: hidden; }
@media (min-width: 761px) { .hero__media video { transform: scale(1.25); transform-origin: 50% 50%; } }

/* No black frames around pictures; cards keep shape with a soft grey body. */
.tile, .path, .card__media, .split__media, .story__media, .manifesto img, .cart-line img, .format, .case { border: 0; }
.tile__body { border-top: 0; background: var(--gray-50); }
.format__img { border-bottom: 0; }
.format, .case { background: var(--gray-50); }
/* No dark gradient over banners; a soft shadow keeps white type legible. */
.hero__media::after, .path::after { display: none; }
.hero__content, .path__body { text-shadow: 0 1px 2px rgba(0,0,0,.35), 0 2px 18px rgba(0,0,0,.35); }
.hero__content .btn, .path__body .btn, .path__list span { text-shadow: none; }
/* Light photo (snow): dark type and controls instead of a dark overlay. */
.hero__slide--light .hero__content { color: var(--ink); text-shadow: none; }
.hero__slide--light .hero__content .lede { color: #2a2a2a; }
.hero__slide--light .btn--ghost-light { border-color: var(--ink); color: var(--ink); }
.hero__slide--light .btn--ghost-light:hover { background: var(--ink); color: var(--paper); }
.hero:has(.hero__slide--light.is-active) .hero__dot:not(.is-active) { background: rgba(17,17,17,.3); }
.hero:has(.hero__slide--light.is-active) .hero__arrow { border-color: var(--ink); color: var(--ink); }
.hero:has(.hero__slide--light.is-active) .hero__arrow:hover { background: var(--ink); color: var(--paper); }
/* How it works: four columns, no image. */
.steps--cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; border-top: 0; }
.steps--cols li { grid-template-columns: 1fr; gap: 14px; padding: 24px 0 0; border-bottom: 0; border-top: 1px solid var(--gray-200); }
.steps--cols .num { display: flex; align-items: center; gap: 12px; padding-top: 0; }
@media (max-width: 960px) { .steps--cols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps--cols { grid-template-columns: 1fr; gap: 8px; } }
/* Dark gradient only on the roaster video slide. */
.hero__slide--video .hero__media::after { display: block; }
.hero__slide--video .hero__content { text-shadow: none; }
#design { padding-top: 24px; }
.steps--cols li { align-content: start; }
/* Slim trust strip: one line per item. */
.trust .wrap { padding-top: 14px; padding-bottom: 14px; }
.trust__item { align-items: center; gap: 10px; }
.trust__item svg { width: 20px; height: 20px; flex: none; }
.trust__item span { display: none; }
.trust__item b { font-size: 14px; }

/* Brand it / Taste it: picture on top, light panel below with copy + button. */
.path { display: flex; flex-direction: column; min-height: 0; background: var(--gray-50); color: var(--ink); }
.path__media { aspect-ratio: 1 / 1; overflow: hidden; }
.path__media img { position: static; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.path:hover .path__media img { transform: scale(1.04); }
.path__body { position: static; text-shadow: none; display: grid; grid-template-columns: 1fr auto; column-gap: 32px; align-items: center; padding: 32px 36px 36px; flex: 1; }
.path__body .h2 { grid-column: 1; margin: 0; font-size: clamp(36px, 3.4vw, 52px); }
.path__body p { grid-column: 1; margin: 10px 0 0; color: var(--gray-600); max-width: 420px; }
.path__body .btn { grid-column: 2; grid-row: 1 / span 2; align-self: center; white-space: nowrap; }
@media (max-width: 760px) {
  .path__body { grid-template-columns: 1fr; padding: 22px 22px 24px; }
  .path__body .btn { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 20px; }
}

/* Our standard: full-bleed photo half, statement half. */
.standard { display: grid; grid-template-columns: 1fr 1fr; min-height: clamp(560px, 52vw, 820px); }
.standard__media { position: relative; overflow: hidden; background: #F3EFE8; }
.standard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.standard__body { align-self: center; padding: clamp(48px, 6vw, 112px) clamp(24px, 6vw, 112px); max-width: 720px; }
.standard__quote { font-size: clamp(36px, 4.4vw, 68px); font-weight: 900; letter-spacing: -0.045em; line-height: .98; margin: 16px 0 28px; }
.standard__quote > span { display: block; color: var(--gray-400); }
.standard__lede { color: #CFCFCF; font-size: 17px; line-height: 1.55; max-width: 480px; margin: 0 0 20px; }
.standard__list { list-style: none; margin: 0 0 36px; padding: 0; max-width: 480px; border-top: 1px solid #2c2c2c; }
.standard__list li { display: flex; align-items: baseline; gap: 18px; padding: 14px 0; border-bottom: 1px solid #2c2c2c; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.standard__list span { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--orange); }
@media (max-width: 760px) {
  .standard { grid-template-columns: 1fr; min-height: 0; }
  .standard__media { aspect-ratio: 1; }
  .standard__body { padding: 40px 20px 56px; }
}

/* ---------- Trust strip as a ticker ---------- */
.trust { background: var(--ink); color: var(--paper); border: 0; overflow: hidden; position: relative; }
.trust::before, .trust::after { content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none; }
.trust::before { left: 0; background: linear-gradient(90deg, var(--ink), rgba(17,17,17,0)); }
.trust::after { right: 0; background: linear-gradient(270deg, var(--ink), rgba(17,17,17,0)); }
.trust__track { display: flex; width: max-content; animation: trust-tick 38s linear infinite; }
.trust:hover .trust__track { animation-play-state: paused; }
.trust__group { display: flex; flex-shrink: 0; }
.trust .trust__item { display: flex; align-items: center; gap: 12px; padding: 15px 0; margin: 0; border: 0; white-space: nowrap; }
.trust .trust__item::after { content: ''; width: 7px; height: 7px; background: var(--orange); transform: rotate(45deg); margin: 0 34px 0 22px; flex: none; }
.trust .trust__item svg { width: 18px; height: 18px; }
.trust .trust__item b { font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--paper); }
.trust .trust__item span { display: none; }
@keyframes trust-tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .trust__track { animation: none; width: auto; justify-content: center; flex-wrap: wrap; }
  .trust__group[aria-hidden] { display: none; }
  .trust__group > [aria-hidden] { display: none; }
  .trust::before, .trust::after { display: none; }
}
/* Ticker without separator diamonds; spacing alone separates items */
.trust .trust__item::after { content: none; }
.trust .trust__item { margin-right: 64px; }

/* ---------- Sleeker slider controls: one frosted pill ---------- */
.hero__ui { gap: 2px; padding: 4px; border-radius: 999px; background: rgba(17,17,17,.32); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.hero__dots { gap: 6px; margin: 0 10px; order: 0; }
.hero__ui [data-hero="prev"] { order: -1; }
.hero__ui [data-hero="next"] { order: 1; }
.hero__dot { width: 14px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.45); transition: width .35s ease, background .2s; }
.hero__dot.is-active { width: 34px; background: var(--paper); }
.hero__arrow { width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; transition: background .2s, color .2s; }
.hero__arrow svg { width: 16px; height: 16px; }
.hero__arrow:hover { background: var(--paper); color: var(--ink); }
.hero:has(.hero__slide--light.is-active) .hero__ui { background: rgba(255,255,255,.55); box-shadow: inset 0 0 0 1px rgba(17,17,17,.1); }
.hero:has(.hero__slide--light.is-active) .hero__dot.is-active { background: var(--ink); }
.hero:has(.hero__slide--light.is-active) .hero__arrow { border: 0; }

/* ---------- Slider controls: square, editorial (matches site's hard edges) ---------- */
.hero__ui { gap: 0; padding: 0; border-radius: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
.hero__dots { gap: 4px; margin: 0 20px 0 0; order: 0; }
.hero__ui [data-hero="prev"] { order: 1; }
.hero__ui [data-hero="next"] { order: 2; }
.hero__dot { width: 32px; height: 3px; border-radius: 0; background: rgba(255,255,255,.35); }
.hero__dot.is-active { width: 32px; background: var(--orange); }
.hero__arrow { width: 44px; height: 44px; border-radius: 0; background: rgba(17,17,17,.35); border: 1px solid rgba(255,255,255,.35); }
.hero__arrow + .hero__arrow { border-left: 0; }
.hero__arrow:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.hero:has(.hero__slide--light.is-active) .hero__ui { background: none; box-shadow: none; }
.hero:has(.hero__slide--light.is-active) .hero__dot.is-active { background: var(--orange); }
.hero:has(.hero__slide--light.is-active) .hero__arrow { border: 1px solid var(--ink); background: rgba(255,255,255,.5); }

/* ---------- 01/02/03 stories: colour panels that stack as you scroll ---------- */
.stories { display: grid; gap: 28px; counter-reset: story; }
.stories .story { position: sticky; top: 96px; grid-template-columns: 1fr 1fr; gap: 0; padding: 0; border: 0; min-height: clamp(520px, 44vw, 640px); background: var(--story-bg, #F2F2F2); border-radius: var(--radius); overflow: hidden; box-shadow: 0 -18px 40px -24px rgba(17,17,17,.35); }
.stories .story:nth-child(1) { --story-bg: #F8D3DC; }
.stories .story:nth-child(2) { --story-bg: #D4E6F8; top: 112px; }
.stories .story:nth-child(3) { --story-bg: #EFE6DC; top: 128px; }
.stories .story + .story { border-top: 0; }
.stories .story__media { position: relative; align-self: stretch; }
.stories .story__media img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
.stories .story > div:last-child { padding: clamp(40px, 5vw, 80px); position: relative; }
.stories .story > div:last-child::before { counter-increment: story; content: counter(story, decimal-leading-zero); display: block; font-size: clamp(88px, 9vw, 148px); font-weight: 900; letter-spacing: -0.06em; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(17,17,17,.28); margin-bottom: 24px; }
.stories .story .eyebrow { color: var(--ink); opacity: .6; }
.stories .story .h2 { font-size: clamp(44px, 5vw, 76px); }
.stories .story .lede { color: #2a2a2a; max-width: 460px; }
@media (max-width: 760px) {
  .stories .story { position: static; min-height: 0; }
  .stories .story__media { aspect-ratio: 4 / 3; }
  .stories .story > div:last-child { padding: 28px 22px 34px; }
  .stories .story > div:last-child::before { font-size: 72px; margin-bottom: 16px; }
}
.stories .story { top: 124px; }
.stories .story:nth-child(2) { top: 140px; }
.stories .story:nth-child(3) { top: 156px; }

/* ---------- Trusted by: two counter-scrolling logo rows ---------- */
.trusted { background: var(--paper); overflow: hidden; }
.trusted__head { text-align: center; max-width: 860px; }
.trusted__head .h2 { font-size: clamp(36px, 4.6vw, 68px); margin: 12px 0 14px; }
.trusted__sub { color: var(--gray-600); font-size: 17px; margin: 0 auto 48px; max-width: 520px; }
.trusted__rows { display: grid; gap: 0; border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); position: relative; }
.trusted__rows::before, .trusted__rows::after { content: ''; position: absolute; top: 0; bottom: 0; width: 12vw; z-index: 2; pointer-events: none; }
.trusted__rows::before { left: 0; background: linear-gradient(90deg, var(--paper), rgba(255,255,255,0)); }
.trusted__rows::after { right: 0; background: linear-gradient(270deg, var(--paper), rgba(255,255,255,0)); }
.logo-row { overflow: hidden; }
.logo-row + .logo-row { border-top: 1px solid var(--gray-200); }
.logo-row__track { display: flex; width: max-content; animation: logo-left 48s linear infinite; }
.logo-row--right .logo-row__track { animation-name: logo-right; animation-duration: 42s; }
.trusted__rows:hover .logo-row__track { animation-play-state: paused; }
.logo-row__set { display: flex; flex-shrink: 0; }
.logo-row a { width: clamp(180px, 16vw, 260px); height: 128px; display: grid; place-items: center; padding: 0 28px; border-right: 1px solid var(--gray-200); }
.logo-row img { max-width: 100%; max-height: 52px; width: auto; height: auto; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .6; transition: filter .25s, opacity .25s, transform .25s; }
.logo-row img.sq { max-height: 70px; }
.logo-row a:hover img { filter: none; opacity: 1; transform: scale(1.06); }
.trusted__foot { display: flex; justify-content: center; margin-top: 36px; }
@keyframes logo-left { to { transform: translateX(-50%); } }
@keyframes logo-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (max-width: 760px) {
  .logo-row a { width: 150px; height: 96px; padding: 0 18px; }
  .logo-row img { max-height: 36px; } .logo-row img.sq { max-height: 50px; }
  .trusted__sub { margin-bottom: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .logo-row__track { animation: none; width: auto; }
  .logo-row__set { flex-wrap: wrap; justify-content: center; flex-shrink: 1; }
  .logo-row__set[aria-hidden], .logo-row__set > [aria-hidden] { display: none; }
}

/* ---------- Brand type: Circular for titles, subtitles and body ---------- */
@font-face { font-family: 'Circular'; src: url('/assets/fonts/circular-book.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Circular'; src: url('/assets/fonts/circular-medium.woff2') format('woff2'); font-weight: 500 600; font-display: swap; }
@font-face { font-family: 'Circular'; src: url('/assets/fonts/circular-bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Circular'; src: url('/assets/fonts/circular-black.woff2') format('woff2'); font-weight: 800 900; font-display: swap; }
:root { --sans: 'Circular', 'Inter', system-ui, -apple-system, sans-serif; }
.h-display, .h1, .h2, .h3 { letter-spacing: -0.035em; }

/* ---------- Hero: secondary text easier to read over photos ---------- */
.hero__content .lede { color: #fff; font-size: clamp(18px, 1.5vw, 21px); font-weight: 500; line-height: 1.45; max-width: 540px; text-shadow: 0 1px 2px rgba(0,0,0,.45), 0 2px 16px rgba(0,0,0,.45); }
.hero__slide--light .hero__content .lede { color: #1a1a1a; text-shadow: none; }

/* Sky banner: a soft sky-blue wash behind the copy so it reads over the clouds */
.hero__slide--sky .hero__media::after { display: block; background: linear-gradient(90deg, rgba(28,92,170,.62) 0%, rgba(40,110,190,.38) 38%, rgba(40,110,190,0) 62%); }
@media (max-width: 760px) {
  .hero__slide--sky .hero__media::after { background: linear-gradient(180deg, rgba(40,110,190,0) 25%, rgba(28,92,170,.72) 75%); }
}

/* Story panels can carry a looping video in place of the image */
.stories .story__media video { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }

/* Hero copy: the subtext never runs wider than the headline above it.
   The single column sizes to the headline; the lede adds no width of its own. */
.hero__content { display: grid; grid-template-columns: fit-content(100%); align-content: end; justify-content: start; }
.hero__content .lede { width: 0; min-width: 100%; max-width: none; }

/* Story panels: no big counters */
.stories .story > div:last-child::before { content: none; display: none; }

/* ---------- Text links become square outline buttons (no underline) ---------- */
.link-arrow { border: 2px solid currentColor; border-bottom-width: 2px; padding: 13px 20px; font-size: 15px; font-weight: 700; line-height: 1; gap: 10px; color: var(--ink); background: transparent; border-radius: 0; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.link-arrow::after { content: '→'; display: inline-block; transition: transform .2s; }
.link-arrow:hover, a:hover > .link-arrow, a:focus-visible > .link-arrow { background: var(--ink); border-color: var(--ink); color: #fff; }
.link-arrow:hover::after, a:hover > .link-arrow::after, a:focus-visible > .link-arrow::after { transform: translateX(4px); }
.on-dark .link-arrow { color: #fff; }
.on-dark .link-arrow:hover, .on-dark a:hover > .link-arrow { background: #fff; border-color: #fff; color: var(--ink); }

/* ---------- Format cards: the body comes alive on hover / focus / press ---------- */
.format { overflow: hidden; }
.format__body { position: relative; transition: background .25s, color .25s; }
.format__body::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.format__body b, .format__body > span, .format__body .eyebrow { transition: color .25s; }
.format__body b span { font-size: 22px; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin: -6px -6px 0 0; transition: transform .25s, background .25s, color .25s; }
.format:hover .format__body, .format:focus-visible .format__body, .format:active .format__body { background: var(--ink); }
.format:hover .format__body::before, .format:focus-visible .format__body::before, .format:active .format__body::before { transform: scaleX(1); }
.format:hover .format__body b, .format:focus-visible .format__body b, .format:active .format__body b { color: #fff; }
.format:hover .format__body > span, .format:focus-visible .format__body > span, .format:active .format__body > span { color: #c9c9c9; }
.format:hover .format__body .eyebrow, .format:focus-visible .format__body .eyebrow, .format:active .format__body .eyebrow { color: var(--orange); }
.format:hover .format__body b span, .format:focus-visible .format__body b span, .format:active .format__body b span { background: var(--orange); color: #fff; transform: translateX(2px); }
.format:active { transform: scale(.985); }
.format { transition: transform .15s; }

/* ---------- Buttons with an arrow use the same long arrow + nudge as text links ---------- */
.btn svg:has(path[d="M5 12h14M13 6l6 6-6 6"]) { display: none; }
.btn:has(svg path[d="M5 12h14M13 6l6 6-6 6"])::after { content: '→'; display: inline-block; font-size: 1.1em; line-height: 1; transition: transform .2s; }
.btn:has(svg path[d="M5 12h14M13 6l6 6-6 6"]):hover::after, .btn:has(svg path[d="M5 12h14M13 6l6 6-6 6"]):focus-visible::after { transform: translateX(4px); }

/* ---------- One arrow hover everywhere: the arrow stretches a bit longer ---------- */
.link-arrow::after, .btn:has(svg path[d="M5 12h14M13 6l6 6-6 6"])::after { transform-origin: left center; transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.link-arrow:hover::after, a:hover > .link-arrow::after, a:focus-visible > .link-arrow::after,
.btn:has(svg path[d="M5 12h14M13 6l6 6-6 6"]):hover::after, .btn:has(svg path[d="M5 12h14M13 6l6 6-6 6"]):focus-visible::after { transform: scaleX(1.45); }

/* Format cards: no orange box, the arrow itself turns orange and stretches */
.format__body b span { transform-origin: left center; transition: transform .25s cubic-bezier(.2,.7,.2,1), color .2s; }
.format:hover .format__body b span, .format:focus-visible .format__body b span, .format:active .format__body b span { background: none; color: var(--orange); transform: scaleX(1.45); }

/* ---------- No arrows on buttons anywhere ---------- */
.link-arrow::after, .btn:has(svg path[d="M5 12h14M13 6l6 6-6 6"])::after { content: none !important; }
.btn svg:has(path[d="M5 12h14M13 6l6 6-6 6"]) { display: none !important; }
.btn:has(svg path[d="M5 12h14M13 6l6 6-6 6"]) { justify-content: center !important; }

/* ---------- Brand it / Taste it: same hover as the format cards ---------- */
.path__body { position: relative; transition: background .25s; }
.path__body::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.path__body .h2, .path__body p { transition: color .25s; }
.path:hover .path__body, .path:focus-within .path__body { background: var(--ink); }
.path:hover .path__body::before, .path:focus-within .path__body::before { transform: scaleX(1); }
.path:hover .path__body .h2, .path:focus-within .path__body .h2 { color: #fff; }
.path:hover .path__body p, .path:focus-within .path__body p { color: #c9c9c9; }
.path:hover .path__body .btn--ghost, .path:focus-within .path__body .btn--ghost { border-color: #fff; color: #fff; }
.path:hover .path__body .btn--ghost:hover { background: #fff; color: var(--ink); }
.path:hover .path__body .btn--orange:hover { background: #fff; border-color: #fff; color: var(--ink); }
.path:active { transform: scale(.995); }
.path { transition: transform .15s; }

/* Hero copy sits in the vertical middle of the banner */
.hero__content { align-content: center; }

/* Story panels: flat, no drop shadow */
.stories .story, .stories .story > * { box-shadow: none !important; }

/* Story panels on phones: one column, photo on top, text below */
@media (max-width: 760px) {
  .stories { gap: 16px; }
  .stories .story { grid-template-columns: 1fr; position: static; }
  .stories .story > * { min-width: 0; }
  .stories .story__media, .stories .story:nth-child(even) .story__media { order: -1; aspect-ratio: 4 / 3; width: 100%; height: auto; align-self: start; }
  .stories .story .h2 { font-size: clamp(36px, 10vw, 48px); }
  .stories .story .lede { max-width: none; }
}

/* Menu picture tiles: no arrows */
.tile__title svg { display: none; }

/* ---------- Story panels: on-brand looks (set data-look on .stories) ---------- */
.stories .story .h2 { font-size: clamp(40px, 4.2vw, 64px); }
/* A. Brand trio: grey, black, orange */
.stories[data-look="brand"] .story:nth-child(1) { --story-bg: #F2F2F2; }
.stories[data-look="brand"] .story:nth-child(2) { --story-bg: #111111; color: #fff; }
.stories[data-look="brand"] .story:nth-child(3) { --story-bg: #FF381D; color: var(--ink); }
.stories[data-look="brand"] .story:nth-child(2) .h2, .stories[data-look="brand"] .story:nth-child(2) .ticks li { color: #fff; }
.stories[data-look="brand"] .story:nth-child(2) .lede { color: #BDBDBD; }
.stories[data-look="brand"] .story:nth-child(2) .link-arrow { color: #fff; }
.stories[data-look="brand"] .story:nth-child(2) .link-arrow:hover { background: #fff; border-color: #fff; color: var(--ink); }
.stories[data-look="brand"] .story:nth-child(2) .h2 .dot { color: var(--orange); }
.stories[data-look="brand"] .story:nth-child(3) .h2 .dot { color: #fff; }
.stories[data-look="brand"] .story:nth-child(3) .lede { color: #2a1410; }
.stories[data-look="brand"] .story:nth-child(3) .ticks svg { stroke: var(--ink); }
/* B. All black, orange accents */
.stories[data-look="black"] .story { --story-bg: #111111; color: #fff; outline: 1px solid #2B2B2B; }
.stories[data-look="black"] .story .h2, .stories[data-look="black"] .story .ticks li { color: #fff; }
.stories[data-look="black"] .story .lede { color: #BDBDBD; }
.stories[data-look="black"] .story .link-arrow { color: #fff; }
.stories[data-look="black"] .story .link-arrow:hover { background: #fff; border-color: #fff; color: var(--ink); }
/* C. All light grey */
.stories[data-look="grey"] .story { --story-bg: #F2F2F2; }

/* ---------- Our standard: bag scan graphic ---------- */
.standard__media--scan { background: #0E0E0E; border-right: 1px solid #242424; }
.standard__media--scan canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.standard__list li[data-trace] { cursor: default; transition: color .2s, padding .25s; outline: none; }
.standard__list li[data-trace]:hover, .standard__list li[data-trace]:focus-visible, .standard__list li.is-active { color: var(--orange); padding-left: 8px; }
.bag3d { position: absolute; inset: 0; cursor: grab; touch-action: pan-y; user-select: none; }
.bag3d.is-grabbing { cursor: grabbing; }
.bag3d__gl, .bag3d__ui { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.bag3d__ui { pointer-events: none; }
.standard__media--scan { background: radial-gradient(120% 80% at 40% 45%, #1A1A1A 0%, #0D0D0D 70%); }

/* ---------- Wide screens: full-bleed splits stop growing at 1680px ----------
   Past that width the section centres and its own background colour carries
   on to the screen edges, so nothing stretches and the page stays one column. */
:root { --bleed: 1680px; }
@media (min-width: 1700px) {
  /* the block and its ticker stop together; the page's white shows either side */
  .hero, .standard, .trust, .p-hero, .trusted__rows { max-width: var(--bleed); margin-left: auto; margin-right: auto; }
}

/* Our standard: text on the left, 3D bag on the right */
.standard__body { order: 1; justify-self: end; }
.standard__media--scan { order: 2; border-right: 0; border-left: 1px solid #242424; }
.standard__list li[data-trace] { cursor: pointer; }
.standard__list li[data-trace][aria-expanded="true"] { color: var(--orange); padding-left: 8px; }
/* popup that opens beside the bag */
.bag3d__pop { position: absolute; left: 0; top: 0; z-index: 2; width: 230px; padding: 14px 16px 16px; background: #141414; border: 1px solid rgba(255,56,29,.9); color: #fff; pointer-events: none;
  opacity: 0; transform: translate(-6px, -50%); transition: opacity .25s, transform .3s cubic-bezier(.2,.8,.2,1); }
.bag3d__pop.is-open { opacity: 1; transform: translate(0, -50%); }
.bag3d__pop-k { display: block; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; }
.bag3d__pop b { display: block; font-size: 18px; line-height: 1.2; letter-spacing: -0.01em; }
.bag3d__pop p { margin: 6px 0 0; font-size: 13px; line-height: 1.4; color: #A8A8A8; }
@media (max-width: 960px) {
  .standard__body { order: 1; justify-self: stretch; }
  .standard__media--scan { order: 2; border-left: 0; border-top: 1px solid #242424; }
  .bag3d__pop { width: 168px; padding: 10px 12px 12px; }
  .bag3d__pop b { font-size: 14px; }
  .bag3d__pop p { font-size: 11px; }
}

/* Wide screens: every full-width section (colour bands, product band, footer)
   stops at the same 1680px as the hero pictures, centred on white. */
@media (min-width: 1700px) {
  main > section, main > div > section, .footer { max-width: var(--bleed); margin-left: auto; margin-right: auto; }
}

/* wide screens: the builder's preview panel is a grid column, not a page band.
   Keep it full width in its column and cap the builder as a whole instead. */
@media (min-width: 1700px) {
  .d3 { max-width: var(--bleed); margin-left: auto; margin-right: auto; border-right: 1px solid var(--gray-300); }
  .d3 > .d3-stage { max-width: none; margin-left: 0; margin-right: 0; }
}

/* ---------- Shared two-column grid ----------
   Every side-by-side content block uses the same structure as the orange CTA band:
   two equal columns, 32px gap, inside the page wrap, so columns line up page to page.
   (Article sidebars, card grids and the bag builder keep their own layouts.) */
@media (min-width: 1001px) {
  main .p-split, main .p-statement, main .p-cta, main .paths, main .cases, main .b-feature,
  main .p-quotes:not(:has(> :nth-child(3))), main .apply__grid, main .qp__grid, main .origins-map {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 32px;
  }
}
/* Full-width halves (page heroes, the home Specialty coffee section, story panels)
   put their split on the same grid lines: column one ends 16px left of centre,
   column two starts 16px right of it, and text sits inside those lines. */
@media (min-width: 1001px) {
  main .p-hero .wrap.p-hero__grid { grid-template-columns: minmax(0, calc(50% - 16px)) minmax(0, 1fr); }
  main .p-hero .p-hero__text { padding-left: 32px; padding-right: var(--gutter); max-width: calc(var(--max) / 2 + 16px); }

  .standard { grid-template-columns: minmax(0, calc(50% + 16px)) minmax(0, 1fr); }
  .standard__body { padding-left: var(--gutter); padding-right: 32px; max-width: calc(var(--max) / 2 + 16px); justify-self: end; width: 100%; }

  .stories .story { grid-template-columns: minmax(0, calc(50% - 16px)) minmax(0, 1fr); }
  .stories .story > div:last-child { padding-left: 32px; }
  .stories .story:nth-child(even) { grid-template-columns: minmax(0, calc(50% - 16px)) minmax(0, 1fr); }
  .stories .story:nth-child(even) > div:last-child { padding-left: clamp(40px, 5vw, 80px); padding-right: 32px; }
}
/* below 1000px every two-column block stacks (a later .p-split rule had kept two
   narrow columns on phones) */
@media (max-width: 1000px) {
  main .p-split { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

/* menu previews for graphic heroes (careers city codes, blog icon wall) */
.tile__g { display: grid; aspect-ratio: 4 / 3; background: #111; overflow: hidden; }
.tile__g--cities { align-content: center; padding: 6% 8%; gap: 0; }
.tile__g--cities b { font-size: clamp(30px, 3vw, 46px); font-weight: 900; line-height: .95; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.2px #4a4a4a; border-bottom: 1px solid #2a2a2a; }
.tile__g--cities b.is-on { color: var(--orange); -webkit-text-stroke-color: var(--orange); }
.tile__g--wall { grid-template-columns: repeat(4, 1fr); gap: 1px; background: #2a2a2a; }
.tile__g--wall i { display: grid; place-items: center; background: #111; color: #5c5c5c; }
.tile__g--wall i svg { width: 46%; height: auto; }
.tile__g--wall i:nth-child(1), .tile__g--wall i:nth-child(7) { color: var(--orange); }
.tile__g--wall i.is-on { background: var(--orange); color: #111; }
.tile:hover .tile__g--cities b:nth-child(2) { color: var(--orange); -webkit-text-stroke-color: var(--orange); }
.tile:hover .tile__g--wall i:nth-child(6) { background: var(--orange); color: #111; }
/* blog menu preview: code wall, matching the blog hero */
.tile__g--codes i b { font-size: clamp(16px, 1.5vw, 24px); font-weight: 900; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1px #6a6a6a; font-style: normal; }
.tile__g--codes i:nth-child(4n+1) b, .tile__g--codes i:nth-child(7) b { -webkit-text-stroke-color: var(--orange); }
.tile__g--codes i.is-on b { color: #111; -webkit-text-stroke-color: #111; }
.tile:hover .tile__g--codes i:nth-child(5) { background: var(--orange); }
.tile:hover .tile__g--codes i:nth-child(5) b { color: #111; -webkit-text-stroke-color: #111; }
/* menus: link columns only, no preview tiles */
.mega__inner { grid-template-columns: repeat(4, minmax(0, 230px)); }
.mega__tiles { display: none; }

/* ---------- App integration (Next.js) ---------- */
.rd-main { display: contents; }
.lang a { color: inherit; text-decoration: none; }
.lang a[aria-current="true"] { font-weight: 800; }
/* real cart lines */
.cart-line__info { display: grid; gap: 2px; min-width: 0; }
.cart-line__info small { font-size: 12px; color: var(--gray-600); }
.cart-line__qty { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.cart-line__qty .icon-btn { width: 28px; height: 28px; border: 1px solid var(--gray-300); font-weight: 800; }
.cart-line__qty span { min-width: 18px; text-align: center; font-weight: 700; color: var(--ink); font-size: 14px; }
.cart-line__rm { background: none; border: 0; padding: 0 0 0 6px; font: inherit; font-size: 12px; text-decoration: underline; color: var(--gray-600); cursor: pointer; }
.cart-line__price { font-size: 14px; white-space: nowrap; }
.cart-line__ph { width: 72px; height: 72px; background: var(--gray-50); }
[data-checkout]:disabled, .cart-line button:disabled { opacity: .5; cursor: progress; }
/* cookie consent */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; max-width: 720px; margin: 0 auto; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 18px 20px; background: #111; color: #fff; border: 1px solid #333; box-shadow: 0 10px 40px rgba(0,0,0,.25); }
.consent p { margin: 0; flex: 1 1 320px; font-size: 14px; line-height: 1.5; color: #ddd; }
.consent a { color: #fff; text-decoration: underline; }
.consent__btns { display: flex; gap: 10px; flex-shrink: 0; }
.consent .btn:not(.btn--orange) { background: transparent; color: #fff; border-color: #555; }
/* custom-bag gallery */
.p-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 40px; }
.p-gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--ink); }
@media (max-width: 760px) { .p-gallery { grid-template-columns: repeat(2, 1fr); } }
/* shop (Next.js page) */
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.shop-card { display: flex; flex-direction: column; border: 1px solid var(--ink); border-radius: var(--radius); overflow: hidden; background: #fff; color: inherit; text-decoration: none; transition: transform .2s; }
.shop-card:hover { transform: translateY(-3px); }
.shop-card__img { position: relative; aspect-ratio: 1; background: #F1F1F1; border-bottom: 1px solid var(--ink); display: grid; place-items: center; }
.shop-card__img img { object-fit: cover; }
.shop-card__ph { font-weight: 900; font-size: 32px; letter-spacing: -0.03em; }
.shop-card__body { padding: 18px 18px 0; flex: 1; }
.shop-card__body h2 { font-size: 20px; line-height: 1.15; letter-spacing: -0.02em; margin: 6px 0 8px; }
.shop-card__body p:not(.eyebrow) { font-size: 14px; color: #555; margin: 0; }
.shop-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px; font-weight: 800; }
@media (max-width: 1000px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .shop-grid { grid-template-columns: 1fr; } }
