.filters-photo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 128px), 1fr));
  gap: 12px;
  margin-block: 28px 32px;
}
.filters-photo .filter {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 132px;
  padding: 12px 8px;
  background: var(--surface);
  font: 600 1rem/1.2 var(--font-body);
  color: var(--ink);
  overflow-wrap: anywhere;
}
.filters-photo .filter:hover { background: var(--tint); }
.filters-photo .filter[aria-pressed="true"] {
  background: var(--tint);
  border-color: var(--accent);
  color: var(--accent);
}
.filter-photo {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  color: var(--accent);
  background: var(--tint);
}
.filters-photo .filter[aria-pressed="true"] .filter-photo { background: var(--surface); }
.filter-photo :is(picture, img) { width: 100%; height: 100%; }
.filter-photo img { object-fit: cover; }
.filter-photo .icon { width: 40px; height: 40px; stroke-width: 1.15; }

[data-layout="counter"] {
  --poster: var(--hero-paper, var(--dark));
  --poster-ink: var(--hero-ink, var(--on-dark));
  --poster-muted: var(--hero-muted, var(--on-dark));
  --poster-line: var(--hero-line, var(--line));
  --poster-action: var(--hero-accent, var(--accent));
  --on-poster-action: var(--on-hero-accent, var(--on-accent));
}
[data-layout="counter"] :is(.site-header, .hero, .offer-copy) {
  background: var(--poster);
  color: var(--poster-ink);
}
[data-layout="counter"] .preview-bar { background: var(--band); color: var(--on-band); }
[data-layout="counter"] .site-header { border-color: color-mix(in srgb, var(--poster-line) 70%, transparent); }
[data-layout="counter"] .brand-name { font-weight: 800; letter-spacing: -.055em; }
[data-layout="counter"] .brand-submark { color: var(--poster-muted); }
[data-layout="counter"] .brand-mark { color: var(--poster-action); }
[data-layout="counter"] .brand-mark .icon { width: 24px; height: 24px; }
[data-layout="counter"] .site-header .button-outline {
  color: var(--poster-ink);
  border-color: var(--poster-line);
}
[data-layout="counter"] .site-header .button-outline:hover {
  background: color-mix(in srgb, var(--poster), var(--poster-ink) 10%);
  border-color: var(--poster-muted);
}
[data-layout="counter"] .site-header a:focus-visible,
[data-layout="counter"] .site-header button:focus-visible,
[data-layout="counter"] .hero a:focus-visible,
[data-layout="counter"] .offer-copy button:focus-visible,
[data-layout="counter"] .offer-copy a:focus-visible { outline-color: var(--poster-action); }

[data-layout="counter"] .hero-layout {
  position: relative;
  isolation: isolate;
  display: grid;
  width: 100%;
  min-height: clamp(472px, 37vw, 576px);
  grid-template-columns: 1fr;
  gap: 0;
  padding-block: 52px 60px;
}
[data-layout="counter"] .hero-copy {
  z-index: 1;
  width: min(51%, 632px);
  margin-inline-start: max(48px, calc((100% - 1232px) / 2));
}
[data-layout="counter"] .hero-text-only .hero-copy { width: min(70%, 760px); }
[data-layout="counter"] .hero-eyebrow { color: var(--poster-muted); font-size: .875rem; }
[data-layout="counter"] h1 {
  font-size: clamp(4.25rem, 6.6vw, 6.4rem);
  font-weight: 800;
  letter-spacing: -.042em;
  line-height: .92;
  text-wrap: balance;
}
[data-layout="counter"] h2 {
  font-weight: 800;
  letter-spacing: -.038em;
  line-height: 1.03;
}
[data-layout="counter"] h3 { font-weight: 700; letter-spacing: -.025em; }
[data-layout="counter"] .hero-description { max-width: 33ch; color: var(--poster-muted); }
[data-layout="counter"] .hero-actions { gap: 12px 20px; }
[data-layout="counter"] :is(.hero, .offer-copy) .button:not(.button-quiet) {
  color: var(--on-poster-action);
  background: var(--poster-action);
  border-color: var(--poster-action);
}
[data-layout="counter"] :is(.hero, .offer-copy) .button:not(.button-quiet):hover {
  background: color-mix(in srgb, var(--poster-action), var(--poster-ink) 22%);
}
[data-layout="counter"] .hero .button-quiet {
  color: var(--poster-ink);
  text-decoration-color: var(--poster-line);
}
[data-layout="counter"] .hero .button-quiet:hover {
  background: color-mix(in srgb, var(--poster), var(--poster-ink) 10%);
  text-decoration-color: currentColor;
}
[data-layout="counter"] .hero-visual {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(73%, 1250px);
}
[data-layout="counter"] .hero-photo {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
  background: none;
  mask-image: linear-gradient(to right, transparent, #000 46%);
}
[data-layout="counter"] .hero-seal { inset-inline: auto 24px; }
[data-layout="counter"] .hero-band { position: relative; }

[data-layout="counter"] .menu-section { padding-top: 56px; }
[data-layout="counter"] .menu-section .section-heading {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  text-align: start;
}
[data-layout="counter"] .menu-section .section-heading .eyebrow { flex-basis: 100%; margin: 0; }
[data-layout="counter"] .menu-section .section-description { margin: 0; max-width: 32ch; }
[data-layout="counter"] .story-visual { border-radius: var(--radius); }
[data-layout="counter"] .custom-panel { border: 1px solid var(--line); background: var(--surface); }
[data-layout="counter"] .offer-copy :is(.eyebrow, .section-description, li p) { color: var(--poster-muted); }
[data-layout="counter"] .offer-copy li { border-color: var(--poster-line); }
[data-layout="counter"] .product-image img { aspect-ratio: 1.33; }

@media (max-width: 1050px) {
  [data-layout="counter"] .hero-copy { margin-inline-start: 32px; }
  [data-layout="counter"] .hero-layout { min-height: 428px; padding-block: 44px 48px; }
  [data-layout="counter"] h1 { font-size: clamp(3.5rem, 7.2vw, 5.3rem); }
}

@media (max-width: 850px) {
  [data-layout="counter"] .hero-copy { margin-inline-start: 24px; }
  [data-layout="counter"] h1 { font-size: clamp(2.875rem, 7vw, 4.5rem); }
  [data-layout="counter"] :is(.site-nav, .nav-toggle) { background: var(--poster); border-color: var(--poster-line); }
  [data-layout="counter"] .nav-links .text-link { border-color: var(--poster-line); }
  .filters-photo .filter { min-height: 112px; }
  .filter-photo { width: 64px; height: 64px; }
}

@media (max-width: 650px) {
  [data-layout="counter"] .hero-layout { min-height: 0; padding-block: 0 44px; }
  [data-layout="counter"] .hero-copy {
    grid-row: 2;
    width: calc(100% - 40px);
    margin: -20px auto 0;
  }
  [data-layout="counter"] .hero-text-only .hero-copy {
    grid-row: 1;
    width: calc(100% - 40px);
    margin-top: 40px;
  }
  [data-layout="counter"] :is(h1, .hero-copy h1) {
    font-size: clamp(3rem, 11.8vw, 4.5rem);
    text-wrap: initial;
  }
  [data-layout="counter"] .hero-visual {
    position: relative;
    inset: auto;
    grid-row: 1;
    width: 100%;
    height: clamp(172px, 51vw, 290px);
  }
  [data-layout="counter"] .hero-photo { mask-image: linear-gradient(to bottom, #000 60%, transparent); }
  [data-layout="counter"] .hero-seal { inset: 12px 12px auto auto; }
  [data-layout="counter"] .hero-eyebrow { margin-bottom: 12px; }
  [data-layout="counter"] .hero-actions { gap: 8px 12px; }
  [data-layout="counter"] .menu-section { padding-top: 44px; }
  .filters-photo {
    display: flex;
    gap: 8px;
    padding: 4px;
    margin: 16px -4px 12px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: var(--line) transparent;
  }
  .filters-photo .filter { flex: 0 0 100px; min-height: 108px; font-size: .875rem; scroll-snap-align: start; }
  .filters-photo .filter:focus-visible { outline-offset: 1px; }
}

@media (max-width: 360px) {
  [data-layout="counter"] :is(.hero-copy, .hero-text-only .hero-copy) { width: calc(100% - 32px); }
}
