/* CafeTeller theme. Tokens first; see BRAND_GUIDELINES.md for contrast pairs. */
:root {
  --espresso: #38271e;
  --ivory: #f4efe5;
  --caramel: #a47750;
  --charcoal: #242424;
  --sage: #78816b;
  /* Darker accents for text: the brand caramel and sage fail AA at body sizes. */
  --caramel-ink: #7a5434;
  --sage-ink: #4f5744;
  --surface: #fbf8f2;
  --tint: #ece5d8;
  --muted: #5c524b;
  --line: #d8cebd;
  --control: #86786b;
  --danger: #8f2d1f;
  --ok: #3f5a2c;

  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 3px;
  --space: clamp(56px, 8vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--ivory); color: var(--charcoal); font: 400 1rem/1.65 var(--sans); overflow-wrap: break-word; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--espresso); line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 500; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--caramel-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--espresso); }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--caramel); outline-offset: 2px; }
[hidden] { display: none !important; }

.wrap { width: min(100%, var(--wrap)); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -80px; z-index: 100; background: var(--espresso); color: var(--ivory); padding: 12px 18px; }
.skip-link:focus { top: 8px; color: var(--ivory); }
.muted { color: var(--muted); font-size: .9rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; font-weight: 600; color: var(--caramel-ink); margin-bottom: .9em; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 56ch; }

/* Buttons and links */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 26px; border: 1px solid var(--espresso); border-radius: var(--radius); background: var(--espresso); color: var(--ivory); font: 500 .95rem/1.2 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s; }
.button:hover { background: #1f140f; color: var(--ivory); }
.button-quiet { background: transparent; color: var(--espresso); }
.button-quiet:hover { background: var(--espresso); color: var(--ivory); }
.button-light { background: var(--ivory); border-color: var(--ivory); color: var(--espresso); }
.button-light:hover { background: #fff; color: var(--espresso); }
.button-small { min-height: 40px; padding: 8px 16px; font-size: .85rem; }
.button-block { width: 100%; }
.button:disabled { background: var(--tint); border-color: var(--control); color: var(--muted); cursor: not-allowed; }
.text-link { font-weight: 500; }
.link-button { border: 0; background: none; padding: 8px 0; color: var(--caramel-ink); text-decoration: underline; font: inherit; cursor: pointer; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-block: 24px; }

/* Announcement, ribbon and header */
.dev-ribbon { margin: 0; padding: 6px var(--gutter); background: var(--sage-ink); color: #fff; font-size: .8rem; text-align: center; }
.announcement { background: var(--espresso); color: var(--ivory); font-size: .84rem; text-align: center; }
.announcement p { margin: 0 auto; padding-block: 8px; }
.announcement a { color: var(--ivory); }
.site-header { background: var(--ivory); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.header-row { display: flex; align-items: center; gap: 12px; min-height: 78px; }
.logo { flex: none; display: block; }
.logo img { width: 190px; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.icon-button { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 0; background: none; color: var(--espresso); cursor: pointer; }
.cart-count { position: absolute; top: 4px; right: 0; min-width: 18px; padding: 0 4px; border-radius: 9px; background: var(--caramel-ink); color: #fff; font-size: .68rem; line-height: 18px; text-align: center; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.nav-menu summary, .nav-link { display: flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 12px; color: var(--espresso); font-weight: 500; font-size: .93rem; text-decoration: none; cursor: pointer; list-style: none; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary .icon { width: 14px; height: 14px; transition: transform .2s; }
.nav-menu[open] summary .icon { transform: rotate(180deg); }
.nav-panel a { display: block; padding: 10px 14px; color: var(--charcoal); text-decoration: none; }
.nav-panel a:hover { background: var(--tint); }
.nav-toggle { display: none; }
.no-js .nav-toggle { display: none; }
@media (min-width: 1080px) {
  .primary-nav { margin-left: 18px; }
  .primary-nav > ul { display: flex; }
  .primary-nav li { position: relative; }
  .nav-panel { position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px; padding: 8px 0 !important; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 18px 40px rgb(56 39 30 / .12); }
}
@media (max-width: 1079px) {
  .header-row { flex-wrap: wrap; min-height: 68px; }
  .js .nav-toggle { display: inline-flex; margin-left: -10px; }
  .logo img { width: 160px; }
  .primary-nav { order: 5; width: 100%; padding-bottom: 12px; }
  .js .primary-nav { display: none; }
  .js .primary-nav.is-open { display: block; }
  .primary-nav > ul > li { border-top: 1px solid var(--line); }
  .nav-menu summary, .nav-link { justify-content: space-between; padding-inline: 0; }
  .nav-panel { padding: 0 0 8px 8px !important; }
}
@media (max-width: 420px) { .hide-small { display: none; } .logo img { width: 142px; } }

/* Hero */
.hero { border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; gap: 32px; align-items: center; padding-block: clamp(32px, 6vw, 72px); }
.hero h1 { font-size: clamp(2.7rem, 7vw, 5.2rem); font-weight: 600; line-height: 1.03; max-width: 9em; }
.hero-media img { width: 100%; aspect-ratio: 9 / 10; max-height: 640px; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 899px) { .hero-media img { aspect-ratio: 4 / 3; object-position: center 70%; } }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 64px; } }

/* Sections and grids */
.section { padding-block: var(--space); }
.section-tint { background: var(--surface); }
.section-dark { background: var(--espresso); color: var(--ivory); }
.section-dark h2, .section-dark h3 { color: var(--ivory); }
.section-dark .eyebrow { color: #d6b491; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
.section-head h2, .section-head p { margin-bottom: 0; }
.section-head h2 + p { margin-top: 10px; color: var(--muted); }
.category-grid, .product-grid, .article-grid, .preset-grid, .card-grid, .link-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(14px, 2.4vw, 32px); }
.category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.category-card { display: block; text-decoration: none; }
.category-media { display: block; overflow: hidden; border-radius: var(--radius); background: var(--tint); aspect-ratio: 1; }
.category-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.category-card:hover img, .product-card:hover .product-media img { transform: scale(1.035); }
.category-title { display: block; padding-top: 12px; font-family: var(--serif); font-size: 1.1rem; color: var(--espresso); }
@media (min-width: 800px) { .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 800px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .section .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.product-card { display: flex; flex-direction: column; height: 100%; }
.product-media { position: relative; display: block; overflow: hidden; margin-bottom: 14px; aspect-ratio: 1; border-radius: var(--radius); background: var(--tint); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.product-placeholder { position: relative; display: block; }
.product-media .product-placeholder { height: 100%; }
.photo-note { position: absolute; right: 8px; bottom: 8px; padding: 3px 8px; font-size: .75rem; background: rgba(255, 255, 255, .9); color: #242424; border-radius: var(--radius); }
.badge { position: absolute; left: 10px; top: 10px; padding: 3px 9px; border-radius: 20px; background: var(--surface); color: var(--espresso); font-size: .7rem; font-weight: 600; letter-spacing: .03em; }
.badge-pending { background: var(--espresso); color: var(--ivory); }
.product-brand { margin: 0; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.product-title { margin: 4px 0 6px; font-family: var(--sans); font-weight: 500; font-size: 1rem; line-height: 1.4; }
.product-title a { color: var(--charcoal); text-decoration: none; }
.product-title a:hover { text-decoration: underline; }
.price { margin: 0 0 6px; font-weight: 600; color: var(--espresso); }
.price-pending, .stock-out { font-weight: 400; color: var(--muted); }
.stock-out { display: inline-block; margin-left: 8px; font-size: .85rem; }
.compare-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; margin-top: auto; font-size: .85rem; color: var(--muted); cursor: pointer; }
.no-js .compare-toggle { display: none; }

.feature-split { display: grid; gap: 40px; }
@media (min-width: 900px) { .feature-split { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; } }
.step-list { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.step-list li { counter-increment: step; position: relative; padding: 22px 0 8px 62px; border-top: 1px solid var(--line); }
.step-list li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 20px; font-family: var(--serif); font-size: 1.35rem; color: var(--caramel-ink); }
.preset-grid { grid-template-columns: 1fr; gap: 1px; background: rgb(244 239 229 / .22); }
.preset-grid li { background: var(--espresso); }
.preset-grid a { display: block; height: 100%; padding: 24px; color: var(--ivory); text-decoration: none; transition: background-color .2s; }
.preset-grid a:hover { background: #4a362a; color: var(--ivory); }
.preset-grid p { margin: 0; color: #dcd2c3; font-size: .93rem; }
@media (min-width: 640px) { .preset-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .preset-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.article-grid { grid-template-columns: 1fr; }
@media (min-width: 760px) { .article-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.article-card { height: 100%; padding-top: 20px; border-top: 2px solid var(--espresso); }
.article-card h3 { font-size: 1.35rem; }
.article-card h3 a { color: var(--espresso); text-decoration: none; }
.article-card h3 a:hover { text-decoration: underline; }
.commercial-panel { display: grid; gap: 16px; width: min(calc(100% - 2 * var(--gutter)), calc(var(--wrap) - 2 * var(--gutter))); padding: clamp(28px, 5vw, 56px) 0; border-block: 1px solid var(--espresso); }
@media (min-width: 900px) { .commercial-panel { grid-template-columns: 1.4fr auto; align-items: center; } }
.brand-list { display: flex; flex-wrap: wrap; gap: 32px; list-style: none; padding: 0; font-family: var(--serif); font-size: 1.4rem; }
.card-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-bottom: 56px; }
.card { padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.card h2 { font-size: 1.3rem; }
.link-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px 24px; margin-bottom: 40px; }
.link-grid a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; }

/* Page furniture */
.breadcrumbs { padding-top: 18px; font-size: .82rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; color: var(--muted); }
.breadcrumbs li + li::before { content: '/'; margin-right: 6px; }
.page-head { padding-block: clamp(28px, 5vw, 56px) 24px; }
.notice { padding: 14px 18px; border-left: 3px solid var(--caramel); background: var(--surface); font-size: .93rem; }
.empty-state { padding: 40px 24px; background: var(--surface); border: 1px dashed var(--line); text-align: center; }
.empty-state .actions { justify-content: center; }
.empty-state img { margin: 0 auto 20px; }
.loading { padding: 40px 0; color: var(--muted); }
.rich-text { padding-bottom: var(--space); max-width: 68ch; }
.rich-text h2 { margin-top: 1.8em; font-size: 1.6rem; }
.rich-text h3 { margin-top: 1.5em; }
.rich-text li { margin-bottom: .4em; }
.rich-text table { width: 100%; border-collapse: collapse; margin-bottom: 1.5em; font-size: .93rem; }
.rich-text th, .rich-text td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table-scroll { overflow-x: auto; }
.article-next { padding-block: 32px var(--space); border-top: 1px solid var(--line); }
.faq { border-top: 1px solid var(--line); }
.faq summary { padding: 18px 0; font-family: var(--serif); font-size: 1.15rem; color: var(--espresso); cursor: pointer; }
.faq .rich-text { padding-bottom: 8px; }

/* Collections */
.collection { padding-bottom: var(--space); }
.collection-layout { display: grid; gap: 28px; }
@media (min-width: 900px) { .collection-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; } }
.filters-panel { border-block: 1px solid var(--line); }
.filters-panel > summary { padding: 12px 0; font-weight: 600; cursor: pointer; }
@media (min-width: 900px) { .filters-panel { border-bottom: 0; } }
.filters fieldset { margin: 0 0 18px; }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: .85rem; }
.filter-actions { display: flex; align-items: center; gap: 16px; padding-bottom: 20px; }
.result-count { font-size: .88rem; color: var(--muted); }
.pagination { display: flex; justify-content: center; gap: 24px; padding-top: 48px; }

/* Forms */
fieldset { border: 0; padding: 0; min-width: 0; margin: 0 0 24px; }
legend { padding: 0; margin-bottom: 8px; font-weight: 600; color: var(--espresso); }
.field { margin-bottom: 18px; }
.field > label { display: block; margin-bottom: 6px; font-weight: 500; font-size: .93rem; }
input:not([type='checkbox']):not([type='radio']), select, textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--control); border-radius: var(--radius); background: #fff; color: var(--charcoal); font: inherit; }
input[type='checkbox'], input[type='radio'] { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--espresso); }
.check { display: flex; align-items: flex-start; gap: 10px; min-height: 32px; padding: 4px 0; font-size: .94rem; cursor: pointer; }
.check input { margin-top: 3px; }
.field > label.check { display: flex; margin-bottom: 0; font-weight: 400; }
.stacked-form > .check + .button { display: flex; margin-top: 20px; width: fit-content; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 18px; }
.help { margin: 6px 0 0; font-size: .83rem; color: var(--muted); }
.has-error input, .has-error select, .has-error textarea { border-color: var(--danger) !important; border-width: 2px !important; }
.field-error { margin: 6px 0 0; font-size: .85rem; color: var(--danger); }
.form-error { padding: 12px 16px; border: 1px solid var(--danger); background: #fbeeea; color: var(--danger); }
.form-success { padding: 18px 20px; border: 1px solid var(--ok); background: #eef3e8; color: var(--ok); }
.form-success h2 { color: var(--ok); }
.stacked-form { padding-bottom: var(--space); }
.search-form { display: flex; gap: 10px; max-width: 640px; }

/* Product page */
.product { display: grid; gap: 32px; padding-block: 24px var(--space); }
@media (min-width: 900px) { .product { grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; } .product-gallery { position: sticky; top: 24px; } }
.product-gallery { display: grid; gap: 14px; }
.product-gallery img { width: 100%; border-radius: var(--radius); background: var(--tint); }
.product-info h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.product-info > .price { font-size: 1.35rem; margin-bottom: 20px; }
.product-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-block: 16px 24px; }
.spec-list { margin: 0 0 32px; }
.spec-list > div { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; text-align: right; }

/* Cart */
.cart-lines { list-style: none; padding: 0; }
.cart-lines li { display: grid; grid-template-columns: 90px 1fr auto; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-lines h2 { font-size: 1.05rem; }
.cart-lines input[type='number'] { width: 90px; margin: 0 12px; }
.cart-total { display: flex; justify-content: space-between; font-weight: 600; font-size: 1.2rem; }

/* Interactive tools */
.tool { padding-bottom: var(--space); }
.tool-layout { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .tool-layout { grid-template-columns: 380px minmax(0, 1fr); gap: 56px; } }
.tool-form { padding: 24px; background: var(--surface); border: 1px solid var(--line); }
.tool-result:focus { outline: none; }
.result-total { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 18px 22px; background: var(--espresso); color: var(--ivory); font-size: 1.15rem; }
.result-total strong { font-family: var(--serif); font-size: 1.6rem; }
.item-list { list-style: none; margin: 0 0 32px; padding: 0; }
.item-row { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 6px 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.item-row img, .item-thumb { width: 76px; height: 76px; object-fit: cover; background: var(--tint); }
.item-row h3 { margin-bottom: 2px; font-family: var(--sans); font-size: 1rem; }
.item-row p { margin: 0; font-size: .9rem; }
.item-kind { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--caramel-ink); }
.item-price { grid-column: 2; font-weight: 600; }
@media (min-width: 620px) { .item-row { grid-template-columns: 76px minmax(0, 1fr) auto; } .item-price { grid-column: 3; grid-row: 1; text-align: right; } }
.steps { display: flex; gap: 4px; overflow-x: auto; margin: 0 0 32px; padding: 0 0 4px; list-style: none; }
.steps button { min-height: 44px; padding: 8px 14px; border: 0; border-bottom: 3px solid var(--line); background: none; font: inherit; font-size: .88rem; white-space: nowrap; color: var(--muted); cursor: pointer; }
.steps button[aria-current='step'] { border-color: var(--espresso); color: var(--espresso); font-weight: 600; }
.steps button:disabled { cursor: not-allowed; opacity: .6; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-bottom: 28px; }
.choice { display: flex; flex-direction: column; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); cursor: pointer; }
.choice:has(input:checked) { border: 2px solid var(--espresso); padding: 13px; }
.choice img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--tint); }
.choice-head { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: .95rem; line-height: 1.4; }
.preset-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.issue-list { list-style: none; padding: 0; }
.issue-list li { padding: 10px 14px; margin-bottom: 8px; border-left: 3px solid var(--caramel); background: var(--surface); font-size: .92rem; }
.issue-list li.blocker { border-color: var(--danger); }
.compare-table { width: 100%; border-collapse: collapse; table-layout: fixed; min-width: 560px; }
.compare-table th, .compare-table td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: .92rem; }
.compare-table tbody th { width: 170px; color: var(--muted); font-weight: 500; }
.compare-table thead th:first-child { width: 170px; }
.compare-table img { width: 100%; max-width: 150px; margin-bottom: 8px; }
.compare-table tr.differs td { background: var(--surface); }
.compare-picker { display: grid; gap: 14px; margin-bottom: 28px; }
@media (min-width: 720px) { .compare-picker { grid-template-columns: 1fr 1fr auto; align-items: end; } .compare-picker .field { margin: 0; } }
.compare-tray { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; max-width: 720px; margin-inline: auto; padding: 14px 18px; background: var(--espresso); color: var(--ivory); border-radius: var(--radius); box-shadow: 0 16px 40px rgb(0 0 0 / .25); font-size: .92rem; }
.compare-tray p { margin: 0; }
.compare-tray .link-button { color: var(--ivory); margin-right: 14px; }
body.has-tray { padding-bottom: 110px; }

/* Newsletter and footer */
.newsletter { background: var(--tint); padding-block: clamp(40px, 6vw, 72px); }
.newsletter-grid { display: grid; gap: 24px; }
@media (min-width: 880px) { .newsletter-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } }
.inline-field { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.inline-field input { flex: 1 1 220px; width: auto !important; }
.site-footer { background: var(--espresso); color: #dcd2c3; padding-block: 64px 32px; font-size: .92rem; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-brand { grid-column: 1 / -1; max-width: 34ch; }
.footer-brand img { margin-bottom: 16px; width: 190px; }
.footer-column h2 { color: var(--ivory); font: 600 .75rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.footer-column ul { list-style: none; margin: 0; padding: 0; }
.footer-column a { display: inline-block; padding: 5px 0; color: #dcd2c3; text-decoration: none; }
.footer-column a:hover { color: #fff; text-decoration: underline; }
.footer-legal { width: min(calc(100% - 2 * var(--gutter)), calc(var(--wrap) - 2 * var(--gutter))); margin-top: 48px; padding: 24px 0 0; border-top: 1px solid rgb(244 239 229 / .2); font-size: .8rem; }
.footer-legal p { margin-bottom: 4px; }
.site-footer :focus-visible, .section-dark :focus-visible, .compare-tray :focus-visible { outline-color: var(--ivory); }
@media (min-width: 880px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } .footer-brand { grid-column: auto; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
