:root {
  --paper: #FAF7F2;
  --ink: #1C1B18;
  --muted: #6E6A62;
  --line: #E5DED3;
  --forest: #213029;
  --gold: #9C7B45;
  --serif: "Playfair Display", "Times New Roman", serif;
  --sans: "Roboto", system-ui, -apple-system, sans-serif;
  --gutter: clamp(20px, 4vw, 72px);
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 150px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.label {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.label em { font-family: var(--serif); font-size: 16px; letter-spacing: 0; text-transform: none; font-variant-numeric: lining-nums; color: var(--gold); }
.label em::after { content: ""; display: inline-block; width: 28px; height: 1px; margin-left: 12px; vertical-align: middle; background: currentColor; opacity: .5; }
.collection .label, .fact .label { color: rgba(241, 238, 230, .6); }
.collection .label em, .fact .label em { color: #D7BC8A; }
.btn {
  display: inline-flex;
  align-items: center;
  height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.btn:hover { background: var(--forest); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; }

/* ------------------------------------------------------------------ topbar + header */
.utility {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px var(--gutter);
  background: var(--forest);
  color: #EDEBE4;
  font-size: 13px;
}
.utility p { margin: 0; }
.utility__links { display: flex; gap: 22px; }
.utility__links a { color: rgba(237, 235, 228, .75); transition: color .25s; }
.utility__links a:hover { color: #D7BC8A; }

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 247, 242, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  height: 78px;
  padding: 0 var(--gutter);
}
.header__logo img { height: 40px; width: auto; }

.header__nav { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 2.4vw, 40px); }
.header__group { display: flex; gap: clamp(18px, 2vw, 32px); }
.header__nav a { position: relative; padding: 10px 0; font-size: 15px; font-weight: 500; white-space: nowrap; transition: color .25s; }
.header__nav a small { margin-left: 3px; font-size: 11px; font-weight: 400; color: var(--muted); vertical-align: 5px; }
.header__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.header__nav a:hover::after, .header__nav a:focus-visible::after { transform: scaleX(1); }
.header__group--soft a { font-weight: 400; color: var(--muted); }
.header__group--soft a:hover { color: var(--ink); }
.header__divider { width: 1px; height: 22px; background: var(--line); }

.header__search { padding: 18px var(--gutter) 22px; border-top: 1px solid var(--line); }
.header__search[hidden] { display: none; }
.search {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 760px;
  height: 56px;
  margin: 0 auto;
  padding: 0 8px 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}
.search:focus-within { border-color: var(--ink); }
.search svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--muted); stroke-width: 1.6; stroke-linecap: round; }
.search input { width: 100%; border: 0; outline: 0; background: none; font-size: 17px; }
.search__close { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; font-size: 24px; line-height: 1; color: var(--muted); }
.search__close:hover { background: #F1ECE3; color: var(--ink); }
.header__popular { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.header__popular a { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); }
.header__popular a:hover { border-color: var(--ink); }

.header__tools { display: flex; align-items: center; gap: 4px; }
.header__tools svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.header__icon { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; transition: background .25s; }
.header__icon:hover, .header__icon[aria-expanded="true"] { background: #EFEAE1; }
.header__cart {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  margin-left: 8px;
  padding: 0 18px 0 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  transition: background .25s;
}
.header__cart:hover { background: var(--forest); }
.header__cart svg { width: 19px; height: 19px; }
.header__cart .count { position: static; background: #D7BC8A; color: var(--ink); }
.count {
  position: absolute;
  top: 3px;
  right: 1px;
  display: grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
}
.count[hidden] { display: none; }

/* ------------------------------------------------------------------ hero */
.hero {
  --pad: clamp(40px, 6vw, 96px);
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(600px, calc(100svh - 170px), 900px);
  margin: 14px var(--gutter) 0;
  padding: var(--pad);
  border-radius: var(--radius);
  background: #18150B;
  color: #F1EEE6;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; border-radius: inherit; }
.hero__media img { position: absolute; top: 0; right: 0; width: 92%; height: 100%; object-fit: cover; object-position: 100% 50%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 12, 7, .9) 0%, rgba(14, 12, 7, .55) 36%, rgba(14, 12, 7, 0) 60%); }
.hero__text { position: relative; z-index: 1; width: min(100%, 560px); }
.hero h1 { font-size: clamp(44px, 5vw, 84px); line-height: 1.02; }
.hero h1 em { display: block; color: #D7BC8A; }
.hero__lead { max-width: 430px; margin: 26px 0 44px; font-size: 17px; color: rgba(241, 238, 230, .72); }

.finder__label { display: block; margin-bottom: 4px; font-size: 13px; color: rgba(241, 238, 230, .55); }
.finder__row { position: relative; display: flex; align-items: center; gap: 20px; border-bottom: 1px solid rgba(241, 238, 230, .3); }
.finder__row::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: #D7BC8A; transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.finder__row:focus-within::after { transform: scaleX(1); }
.finder input { flex: 1; min-width: 0; height: 62px; padding: 0; border: 0; outline: 0; background: none; color: #F1EEE6; font-family: var(--serif); font-size: clamp(24px, 2vw, 30px); font-variant-numeric: lining-nums; }
.finder input::placeholder { color: rgba(241, 238, 230, .32); font-style: italic; }
.finder input::-webkit-search-cancel-button { display: none; }
.finder button { display: inline-flex; flex: none; align-items: center; gap: 10px; padding: 8px 0; color: #F1EEE6; font-size: 15px; font-weight: 500; transition: color .3s; }
.finder button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s; }
.finder button:hover { color: #D7BC8A; }
.finder button:hover svg { transform: translateX(4px); }

.hero__popular { margin: 22px 0 0; font-size: 14px; color: rgba(241, 238, 230, .55); }
.hero__popular a { margin-left: 10px; white-space: nowrap; color: #F1EEE6; text-decoration: underline; text-decoration-color: rgba(241, 238, 230, .3); text-underline-offset: 4px; transition: color .3s, text-decoration-color .3s; }
.hero__popular a:hover { color: #D7BC8A; text-decoration-color: currentColor; }

.finder { position: relative; z-index: 2; max-width: 500px; }
.suggest {
  color: var(--ink);
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 5;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 50px -20px rgba(28, 27, 24, .25);
}
.suggest[hidden] { display: none; }
.suggest a { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 14px; padding: 8px 12px 8px 8px; border-radius: var(--radius); }
.suggest a:hover, .suggest a:focus-visible { background: #F4EFE6; outline: 0; }
.suggest img { width: 44px; height: 56px; object-fit: contain; border-radius: var(--radius); background: #F1ECE3; }
.suggest strong { display: block; font-family: var(--serif); font-size: 19px; font-weight: 400; line-height: 1.2; }
.suggest small { display: block; font-size: 13px; color: var(--muted); }
.suggest__empty { padding: 14px 16px; font-size: 14px; color: var(--muted); }

.hero__media img, .family__img, .card__media img { will-change: transform; }
.card__media img { transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.card__media:hover img { transform: translateY(-3%) scale(1.04); }


.fly { position: fixed; z-index: 50; pointer-events: none; object-fit: contain; }

/* ------------------------------------------------------------------ section heads */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(32px, 3vw, 48px); line-height: 1.1; }
.more { font-size: 14px; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; white-space: nowrap; }

/* ------------------------------------------------------------------ families */
.families { padding: clamp(64px, 10vh, 110px) 0 0; }
.families .section-head { padding: 0 var(--gutter); }
.families__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.family { position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; color: #fff; isolation: isolate; }
.family__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.6s cubic-bezier(.2, .8, .2, 1);
}
.family::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 9, 6, 0) 45%, rgba(10, 9, 6, .55) 100%); }
.family:hover .family__img { transform: scale(1.14); }
.family__body {
  position: absolute;
  left: clamp(20px, 2.4vw, 40px);
  right: clamp(20px, 2.4vw, 40px);
  bottom: clamp(20px, 2.4vw, 40px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.family__name { display: block; font-family: var(--serif); font-size: clamp(34px, 3.4vw, 58px); font-weight: 400; line-height: 1; }
.family__notes { display: block; margin-top: 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.family__count { font-family: var(--serif); font-size: 20px; line-height: 1.2; text-align: right; }
.family__count small { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; opacity: .75; }

/* ------------------------------------------------------------------ catalog */
.catalog { padding: clamp(72px, 11vh, 120px) var(--gutter); }
.tabs { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.tabs button { height: 36px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); }
.tabs button:hover { color: var(--ink); }
.tabs button.is-active { background: var(--ink); color: #fff; }

.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--tone, #EFE9DE);
  isolation: isolate;
  transition: box-shadow .5s;
}
.card:hover { box-shadow: 0 28px 50px -30px rgba(28, 27, 24, .45); }
.card[hidden] { display: none; }
.card__media { position: relative; display: block; flex: 1; min-height: 0; aspect-ratio: 1 / 1.05; }
/* Renders are 1600x2500: the bottle stands on 95% of the image height, so its base sits 4.4% above the img bottom. */
.card__media img { position: absolute; left: 50%; bottom: 6%; width: auto; max-width: none; height: 88%; transform: translateX(-50%); transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.card__media::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8.5%;
  width: 36%;
  height: 4%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(28, 27, 24, .24), transparent);
  transform: translateX(-50%);
  transition: transform .7s cubic-bezier(.2, .8, .2, 1), opacity .7s;
}
.card:hover .card__media img { transform: translateX(-50%) translateY(-10px); }
.card:hover .card__media::after { opacity: .6; transform: translateX(-50%) scale(.82); }
.card__tag { position: absolute; left: 14px; top: 14px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .8); font-size: 12px; font-weight: 500; }
.card__save { position: absolute; right: 10px; top: 10px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .8); }
.card__save svg { width: 19px; height: 19px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; }
.card__save:hover { background: #fff; }
.card__save[aria-pressed="true"] svg { fill: #B4463C; stroke: #B4463C; }
.card__body {
  position: relative;
  display: grid;
  gap: 4px;
  margin: 0 10px 10px;
  padding: 16px 16px 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .74);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.card__family { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.card__row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.card h3 { font-size: 24px; line-height: 1.15; }
.card__price { font-size: 15px; font-weight: 600; white-space: nowrap; }
.card__notes { margin: 0 0 12px; overflow: hidden; font-size: 13px; white-space: nowrap; text-overflow: ellipsis; color: var(--muted); }
.card__add { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 40px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; transition: background .3s; }
.card__add:hover { background: var(--forest); }
.card__add svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card__add .i-check, .card__add.is-added .i-plus { display: none; }
.card__add.is-added { background: var(--gold); }
.card__add.is-added .i-check { display: block; }

.card--all {
  justify-content: center;
  gap: 6px;
  padding: 32px;
  border: 1px dashed #CFC6B8;
  border-radius: var(--radius);
  text-align: center;
  align-items: center;
}
.card--all:hover { border-color: var(--ink); background: #fff; }
.card--all__num { font-family: var(--serif); font-size: clamp(64px, 6vw, 96px); line-height: 1; }
.card--all__text { color: var(--muted); }
.card--all__link { margin-top: 18px; font-weight: 500; border-bottom: 1px solid currentColor; }

/* ------------------------------------------------------------------ collection */
.collection {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(560px, 52vw, 860px);
  margin: 0 var(--gutter);
  padding: clamp(48px, 6vw, 96px);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--collection-bg, #070D09);
  color: #F1EEE6;
  isolation: isolate;
}
.collection__img { position: absolute; top: 0; right: 0; z-index: -2; width: 92%; height: 100%; object-fit: cover; object-position: 100% 50%; }
.collection::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 12, 10, .85) 0%, rgba(10, 12, 10, .45) 34%, rgba(10, 12, 10, 0) 58%); }
.collection__text { max-width: 420px; }
.collection h2 { font-size: clamp(34px, 3.4vw, 56px); line-height: 1.08; }
.collection h2 em { display: block; color: #D7BC8A; }
@media (min-width: 601px) { .hero h1, .collection h2 { width: max-content; } }
.collection__text > p:not(.label) { margin: 20px 0 0; color: rgba(241, 238, 230, .75); }
.collection__steps { display: grid; gap: 14px; margin: 28px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(241, 238, 230, .14); list-style: none; }
.collection__steps li { display: grid; grid-template-columns: 34px 128px minmax(0, 1fr); align-items: baseline; font-size: 13px; color: rgba(241, 238, 230, .6); }
.collection__steps em { font-family: var(--serif); font-size: 15px; font-variant-numeric: lining-nums; color: #D7BC8A; }
.collection__steps strong { font-family: var(--serif); font-size: 20px; font-weight: 400; color: #F1EEE6; }
.collection__text > p.collection__hint { margin: 26px 0 28px; font-size: 13px; color: rgba(241, 238, 230, .6); }
.collection .btn span { margin-left: 8px; }

/* ------------------------------------------------------------------ facts */
.facts {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  --gap: 14px;
  gap: var(--gap);
  padding: var(--gap) var(--gutter) clamp(48px, 8vh, 80px);
}
.fact {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 250px;
  padding: clamp(24px, 2.6vw, 40px);
  overflow: hidden;
  border-radius: var(--radius);
  background: #121714;
  color: #F1EEE6;
  isolation: isolate;
}
.fact__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; }
.fact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 12, 10, .82) 0%, rgba(10, 12, 10, .5) 45%, rgba(10, 12, 10, 0) 75%); }
.fact--catalog { grid-row: span 2; min-height: 520px; }
.fact--catalog .fact__bg { object-position: 85% 60%; }
.fact .label { margin: 0; }
.fact__num { margin-top: auto; padding-top: 32px; font-family: var(--serif); font-size: clamp(52px, 5vw, 84px); font-weight: 400; line-height: .95; letter-spacing: -.03em; white-space: nowrap; font-variant-numeric: lining-nums; }
.fact--catalog .fact__num { margin-top: 36px; padding-top: 0; font-size: clamp(110px, 13vw, 220px); line-height: .85; }
.fact__text { margin: 10px 0 0; font-size: 15px; color: rgba(241, 238, 230, .72); }
.fact--catalog .fact__text { margin-top: 18px; font-size: 17px; }
.fact__link { margin-top: auto; padding-bottom: 3px; border-bottom: 1px solid currentColor; font-size: 14px; font-weight: 500; }
.fact__dots { display: flex; gap: 6px; margin: 22px 0 0; padding: 0; list-style: none; }
.fact__dots li { width: 22px; height: 22px; border-radius: 50%; background: rgba(241, 238, 230, .9); box-shadow: 0 0 0 3px rgba(10, 12, 10, .6), 0 0 0 4px rgba(241, 238, 230, .2); }
.fact__dots li:last-child { background: #D7BC8A; }

/* ------------------------------------------------------------------ footer */
.footer {
  --cream: #F1EEE6;
  --cream-soft: rgba(241, 238, 230, .55);
  --cream-line: rgba(241, 238, 230, .12);
  overflow: hidden;
  margin: 0 var(--gutter) var(--gutter);
  padding: clamp(64px, 10vh, 110px) clamp(28px, 6vw, 88px) 0;
  border-radius: var(--radius);
  background: radial-gradient(90% 70% at 100% 0%, #22302A 0%, #121714 60%);
  color: var(--cream);
}
.footer .label { color: var(--cream-soft); }
.footer .label em { color: #D7BC8A; }
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 140px);
  padding-bottom: clamp(56px, 8vh, 88px);
  border-bottom: 1px solid var(--cream-line);
}
.footer__title { max-width: 560px; font-size: clamp(34px, 3.6vw, 56px); line-height: 1.08; }
.footer__title em { color: #D7BC8A; }
.footer__news {
  display: flex;
  max-width: 480px;
  margin-top: 34px;
  padding: 6px;
  border: 1px solid rgba(241, 238, 230, .22);
  border-radius: 999px;
  transition: border-color .3s;
}
.footer__news:focus-within { border-color: #D7BC8A; }
.footer__news input { flex: 1; min-width: 0; padding: 0 18px; border: 0; outline: 0; background: none; }
.footer__news input::placeholder { color: rgba(241, 238, 230, .45); }
.footer__news button { flex: none; padding: 14px 26px; border-radius: 999px; background: var(--cream); color: var(--ink); font-weight: 500; transition: background .3s; }
.footer__news button:hover { background: #D7BC8A; }
.footer__note { margin: 12px 0 0 20px; font-size: 13px; color: var(--cream-soft); }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; align-content: start; padding-top: 4px; }
.footer__col { display: grid; align-content: start; gap: 12px; font-size: 15px; }
.footer__col h2 { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--cream-soft); }
.footer__col h2::before { content: ""; width: 28px; height: 1px; background: #D7BC8A; opacity: .7; }
.footer__col a, .footer__col span { width: fit-content; color: rgba(241, 238, 230, .85); transition: color .25s; }
.footer__col a:hover { color: #D7BC8A; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 0; font-size: 13px; color: var(--cream-soft); }
.footer__bottom p { margin: 0; }
.footer__up { display: inline-flex; align-items: center; gap: 8px; color: rgba(241, 238, 230, .8); transition: color .25s; }
.footer__up:hover { color: #D7BC8A; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1360px) {
  .header__bar { gap: 24px; }
  .header__nav { gap: 18px; }
  .header__group { gap: 18px; }
  .header__nav a { font-size: 14px; }
  .header__cart { padding: 0 14px; }
  .header__cart-label { display: none; }
}
@media (max-width: 1180px) {
  .header__bar { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "logo tools" "nav nav"; row-gap: 0; height: auto; padding: 0; }
  .header__logo { grid-area: logo; padding: 14px var(--gutter); }
  .header__tools { grid-area: tools; justify-self: end; padding-right: calc(var(--gutter) - 6px); }
  .header__nav { grid-area: nav; gap: 28px; padding: 0 var(--gutter); border-top: 1px solid var(--line); }
  .header__group { gap: 28px; }
  .header__nav a { padding: 13px 0; }
  .header__cart-label { display: inline; }
}
@media (max-width: 900px) {
  .utility__links { display: none; }
  .utility { justify-content: center; }
  .header__logo img { height: 34px; }
  .header__nav { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .header__nav::-webkit-scrollbar { display: none; }
  /* Bottles sit in the right part of the photo; on narrow screens show only that part above the text. */
  .hero { --pad: clamp(22px, 5vw, 40px); display: block; min-height: 0; padding: 0 var(--pad) 40px; }
  .hero__media { position: relative; inset: auto; z-index: 0; aspect-ratio: 1 / .92; margin: 0 calc(-1 * var(--pad)) -14%; border-radius: var(--radius) var(--radius) 0 0; }
  .hero__media img { width: 158%; }
  .hero__media::after { background: linear-gradient(180deg, rgba(24, 21, 11, 0) 55%, #18150B 100%); }
  .hero__text { width: auto; }
  .families__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact--catalog { min-height: 460px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Bottles sit in the right 62% of the photo; on narrow screens show only that part. */
  .collection { display: block; min-height: 0; padding: 0 var(--gutter) 52px; }
  .collection__img {
    position: relative;
    inset: auto;
    width: calc((100% + 2 * var(--gutter)) * 1.61);
    max-width: none;
    height: auto;
    margin: 0 0 -6% calc(-1 * var(--gutter) - (100% + 2 * var(--gutter)) * .61);
  }
  .collection::before { inset: 0 0 auto; height: auto; aspect-ratio: 1 / .9; background: linear-gradient(180deg, rgba(10, 12, 10, 0) 55%, var(--collection-bg, #070D09) 100%); }
  .footer__top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .header__logo img { height: 30px; }
  .header__tools { gap: 0; }
  .header__icon { width: 38px; height: 38px; }
  .header__cart { gap: 8px; height: 40px; margin-left: 4px; padding: 0 14px; }
  .header__cart-label { display: none; }
  .header__nav, .header__group { gap: 22px; }
  .header__nav a { padding: 12px 0; font-size: 14px; }
  .header__search { padding: 14px var(--gutter) 18px; }
  .search { height: 50px; padding-left: 18px; }
  .search input { font-size: 16px; }
  .header__popular { justify-content: flex-start; }
  .hero__lead { font-size: 16px; }
  .hero__lead { margin-bottom: 34px; }
  .finder input { height: 56px; font-size: 22px; }
  .hero__popular span { display: block; margin-bottom: 6px; }
  .hero__popular span + a { margin-left: 0; }
  .hero__popular a { margin-left: 12px; }
  .section-head { flex-direction: column; align-items: start; }
  .family { aspect-ratio: 3 / 4; }
  .family__body { left: 14px; right: 14px; bottom: 16px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .family__name { font-size: 26px; }
  .family__notes { margin-top: 6px; font-size: 10px; letter-spacing: .1em; }
  .family__count { order: -1; font-size: 14px; text-align: left; }
  .family__count small { display: inline; margin-left: 4px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card__media { aspect-ratio: 1 / 1.25; }
  .card__tag { left: 8px; top: 8px; font-size: 11px; }
  .card__save { right: 6px; top: 6px; width: 34px; height: 34px; }
  .card__body { margin: 0 6px 6px; padding: 12px 12px 10px; }
  .card h3 { font-size: 19px; }
  .card__price { font-size: 13px; }
  .card__notes { margin-bottom: 10px; font-size: 12px; }
  .card__add { height: 36px; font-size: 13px; }
  .card__add-more { display: none; }
  .card--all { padding: 20px; }
  .facts { --gap: 10px; grid-template-columns: minmax(0, 1fr); }
  .fact { min-height: 210px; }
  .fact--catalog { grid-row: auto; min-height: 520px; }
  .fact--catalog .fact__bg { top: auto; bottom: 0; height: 64%; object-position: 80% 60%; }
  .fact--catalog::before { background: linear-gradient(180deg, #121714 36%, rgba(18, 23, 20, 0) 56%, rgba(10, 12, 10, .7) 100%); }
  .fact__link { margin-top: auto; }
  .fact__dots li { width: 18px; height: 18px; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .footer__col:last-child { grid-column: 1 / -1; }
  .footer__news button { padding: 12px 18px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
