@font-face {
  font-family: Montserrat;
  src: url(montserrat.woff2) format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #1d181a;
  --muted: #62575a;
  --bg: #f8f5f2;
  --surface: #fffdfb;
  --white: #fff;
  --line: #e7ddd8;
  --strong-line: #bfb0aa;
  --wine: #621f37;
  --wine-dark: #35131f;
  --ivory: #f7f1ea;
  --rose: #dba9b8;
  --coral: #b33c41;
  --coral-hover: #962c33;
  --coral-tint: #fff0ee;
  --accent-light: #ffb1a8;
  --focus: #a62f43;
  --radius: 16px;
  --max: 1240px;
  --shadow: 0 8px 26px #3913230c;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-height: 100%; scroll-behavior: smooth; }
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 500 14px/1.6 Montserrat, system-ui, sans-serif;
}
body:has(dialog[open]), body.filter-open { overflow: hidden; }
main { flex: 1; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .58; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.035em; }
h1 { font-size: clamp(32px, 5vw, 54px); font-weight: 750; }
h2 { font-size: clamp(20px, 2.1vw, 28px); font-weight: 750; }
h3 { font-size: 18px; font-weight: 730; }
p, li, td, dd { overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
::selection { background: #ffcac5; color: var(--wine-dark); }
.wrap { width: min(var(--max), calc(100% - 64px)); margin-inline: auto; }
.narrow { width: min(630px, calc(100% - 40px)); }
.page { padding-block: 44px 76px; }
.page > h1, .page h1:first-child { margin-block: 10px 20px; }
.intro { max-width: 67ch; margin: 14px 0 24px; color: var(--muted); font-size: 16px; }
.muted, small { color: var(--muted); }
small { font-size: 12px; }
td small, .history small, .order-option small { display: block; margin-top: 4px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  color: var(--wine);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.ui-icon {
  width: 1.35em;
  height: 1.35em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -.28em;
}
.underlink {
  color: var(--wine);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: #ad7586;
  text-underline-offset: 4px;
}
.underlink:hover { color: var(--coral-hover); }
.skip {
  position: absolute;
  z-index: 20;
  top: 10px;
  left: 10px;
  transform: translateY(-200%);
  padding: 10px;
  background: var(--white);
}
.skip:focus { transform: none; }

.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 74px; }
.brand { display: inline-flex; width: 188px; max-width: 100%; flex: none; align-items: center; }
.brand img { object-fit: contain; }
.header-nav { display: flex; align-items: center; gap: 23px; margin-left: auto; font-size: 13px; font-weight: 650; white-space: nowrap; }
.header-nav a:not(.button), .header-nav .link-button { min-height: 44px; display: inline-flex; align-items: center; }
.header-nav a:not(.button):hover, .header-nav .link-button:hover { color: var(--coral-hover); }
.nav-favorites { gap: 6px; }
.nav-favorites .ui-icon { color: var(--wine); }
.location-link {
  display: flex;
  min-height: 42px;
  max-width: 310px;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.25;
  text-align: left;
}
.location-link:hover { border-color: var(--strong-line); background: var(--bg); }
.location-link > .ui-icon:first-child { color: var(--coral); }
.location-link > .ui-icon:last-child { color: var(--muted); }
.test-bar {
  padding: 6px 14px;
  border-bottom: 1px solid #efded8;
  background: #f9ebe5;
  color: #733948;
  text-align: center;
  font-size: 11px;
  font-weight: 650;
}
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  transition: background-color .16s, border-color .16s, color .16s;
}
.button.primary { background: var(--coral); color: var(--white); }
.button.primary:hover:not(:disabled) { background: var(--coral-hover); }
.button.outline { border-color: #d8c8c5; background: var(--white); color: var(--wine); }
.button.outline:hover:not(:disabled) { border-color: #b68791; background: var(--coral-tint); }
.button.small { min-height: 38px; padding: 7px 11px; font-size: 12px; }
.button.full { width: 100%; }
.link-button { padding: 0; border: 0; background: none; text-align: left; }
.inline { display: inline; margin: 0; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-block: 13px; }
.flash {
  margin-block: 16px;
  padding: 12px 15px;
  border: 1px solid #ead0cf;
  border-radius: 9px;
  background: #fff0ed;
  color: #782833;
}

.catalog-page { padding-block: 26px 56px; }
.hero {
  --focus: #ffb1a8;
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 398px;
  align-items: center;
  overflow: hidden;
  border-radius: 23px;
  background: var(--wine-dark);
  color: var(--ivory);
}
.hero::before, .hero::after { position: absolute; z-index: -1; inset: 0; content: ""; }
.hero::before { background: url(salvador.jpg) right 48% / 76% auto no-repeat; }
.hero::after {
  background: linear-gradient(90deg, #341422 3%, #3f192a 28%, #431e2eea 40%, #4a1d3250 72%, #290e1a25),
    linear-gradient(0deg, #260f1cab, transparent 43%);
}
.hero-compact { min-height: 291px; }
.hero-compact::before {
  background: radial-gradient(ellipse at 92% 4%, #a04054 0, transparent 60%),
    linear-gradient(120deg, #391522, #561d35);
}
.hero-compact::after {
  right: 0;
  left: auto;
  width: 51%;
  opacity: .72;
  background: repeating-radial-gradient(ellipse at 84% 110%, transparent 0 29px, #ffc0b42b 30px 31px, transparent 32px 53px);
  mask-image: linear-gradient(90deg, transparent, black 40%);
}
.hero-content { width: min(730px, 100%); padding: 33px clamp(28px, 4.5vw, 60px); }
.hero-kicker {
  width: fit-content;
  margin-bottom: 13px;
  padding: 6px 10px;
  border: 1px solid #f8b3b54d;
  border-radius: 6px;
  background: #240c1b3d;
  color: #ffdfd8;
  font-size: 10px;
}
.hero-kicker:hover { background: #6c2b44; }
.hero h1 {
  color: #fffaf6;
  font-size: clamp(39px, 4.4vw, 56px);
  font-weight: 750;
  line-height: 1.04;
  letter-spacing: -.057em;
  overflow-wrap: anywhere;
}
.hero-compact h1 { font-size: clamp(34px, 4vw, 50px); }
.hero h1 em { color: var(--accent-light); font-style: normal; }
.hero p { margin-block: 15px 23px; color: #f5dfde; font-size: 14px; }
.hero-search {
  display: flex;
  width: min(460px, 100%);
  align-items: stretch;
  gap: 5px;
  padding: 5px;
  border: 1px solid #ead1ca;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 8px 24px #210b1850;
  color: var(--ink);
}
.search-trigger {
  display: flex;
  flex: 1;
  min-width: 0;
  align-items: center;
  gap: 10px;
  padding: 3px 9px;
  border: 0;
  border-radius: 7px;
  background: none;
  line-height: 1.3;
  text-align: left;
}
.search-trigger:hover { background: var(--bg); }
.search-trigger > span { flex: 1; font-size: 13px; font-weight: 750; overflow-wrap: anywhere; }
.search-trigger small { display: block; margin-bottom: 2px; font-size: 10px; font-weight: 600; }
.search-trigger .ui-icon:first-child { color: var(--coral); }
.search-trigger .ui-icon:last-child { color: var(--muted); }
.hero-search .button { min-height: 46px; padding-inline: 17px; }
.hero-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 14px; margin-top: 9px; }
.hero-tools .link-button { display: inline-flex; min-height: 32px; align-items: center; gap: 6px; color: #ffebe5; font-size: 12px; font-weight: 720; }
.hero-tools .link-button:hover { color: var(--accent-light); text-decoration: underline; text-underline-offset: 4px; }
.hero-hint { color: #f0cbd0; font-size: 10px; }
.hero-credit {
  position: absolute;
  right: 18px;
  bottom: 17px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 9px;
  border: 1px solid #f4d9d451;
  border-radius: 7px;
  background: #26111bcc;
  color: #ffefe9;
  font-size: 10px;
  font-weight: 650;
}

.categories {
  display: flex;
  gap: 8px;
  overflow: auto;
  margin-block: 19px 25px;
  padding: 3px 3px 14px;
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
}
.category-tab, .chip {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: #493e41;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}
.category-tab .ui-icon { color: var(--wine); }
.category-tab.selected, .chip.selected { border-color: #e0a6a3; background: var(--coral-tint); color: #842a36; }
.category-tab:hover, .chip:hover { border-color: #b68791; }
.catalog-columns { display: grid; grid-template-columns: 232px minmax(0, 1fr); align-items: start; gap: 25px; }
.filter-card { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.filter-card h2 { display: flex; align-items: center; gap: 7px; font-size: 17px; }
.filter-card h2 .ui-icon, .filter-card .link-button .ui-icon { color: var(--coral); }
.fields { display: grid; gap: 14px; }
label { display: grid; gap: 5px; color: #3b2e32; font-size: 12px; font-weight: 720; }
input:not([type=checkbox]):not([type=hidden]), textarea, select {
  width: 100%;
  min-width: 0;
  min-height: 43px;
  padding: 9px 10px;
  border: 1px solid var(--strong-line);
  border-radius: 8px;
  background: var(--white);
  font-weight: 550;
}
input::placeholder, textarea::placeholder { color: #6c6164; opacity: 1; }
input[type=checkbox] { width: 18px; height: 18px; flex: none; accent-color: var(--wine); }
textarea { resize: vertical; }
.check { display: flex; align-items: flex-start; gap: 8px; font-weight: 500; }
.check input { margin: 2px 0 0; }
.filter-card .fields { gap: 12px; }
.filter-card .link-button { display: flex; align-items: center; gap: 5px; min-height: 30px; font-size: 12px; }
.clear-filters { color: var(--muted); font-size: 12px; text-align: center; text-decoration: underline; text-underline-offset: 3px; }
.results-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.results-heading > div { min-width: 0; }
.results-heading h2 { font-size: clamp(24px, 3.1vw, 36px); overflow-wrap: anywhere; }
.results-heading h1 { margin-block: 8px; overflow-wrap: anywhere; }
.results-heading .muted { margin-top: 5px; font-size: 13px; }
.results-heading .button { flex: none; }
.results-heading > .underlink { flex: none; font-size: 12px; }

.access-card, .empty {
  display: grid;
  min-height: 210px;
  align-content: center;
  justify-items: center;
  gap: 11px;
  padding: 27px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
}
.access-card p, .empty p { color: var(--muted); }
.access-card .button { margin-top: 3px; }
.access-banner {
  grid-template-columns: minmax(0, 1fr) 235px;
  align-items: center;
  justify-items: stretch;
  gap: 0;
  overflow: hidden;
  padding: 0;
  border-color: #ead8d2;
  background: #fff8f5;
  text-align: left;
}
.access-copy { position: relative; z-index: 1; padding: 27px 29px; }
.access-copy h3 { max-width: 27ch; margin-bottom: 7px; font-size: clamp(19px, 2vw, 24px); }
.access-copy p { margin-bottom: 12px; font-size: 13px; }
.access-illustration {
  display: grid;
  height: 100%;
  min-height: 210px;
  place-items: center;
  background: radial-gradient(circle at 52% 50%, #f5cdd0, #f9e4dd 54%, #fff8f5 83%);
  color: var(--wine);
}
.access-illustration > span {
  display: grid;
  grid-auto-flow: column;
  width: 100px;
  height: 100px;
  align-items: center;
  justify-content: center;
  border: 1px solid #bb7f8d;
  border-radius: 50%;
  box-shadow: 0 0 0 11px #fffdfb5c, 0 0 0 12px #bb7f8d33, 0 0 0 25px #fffdfb45, 0 0 0 26px #bb7f8d25;
  font-size: 36px;
  font-weight: 750;
  letter-spacing: -.08em;
}
.access-illustration > span > span { color: var(--coral); font-size: .61em; }
.standalone { min-height: 355px; padding: 38px 25px; box-shadow: var(--shadow); }
.standalone .fields { width: min(320px, 100%); text-align: left; }
.standalone h1 { font-size: clamp(30px, 6vw, 43px); }
.standalone .eyebrow { margin-bottom: 0; }
.lock-symbol {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #ecd1d2;
  border-radius: 11px;
  background: var(--coral-tint);
  color: var(--wine);
  font-size: 17px;
}
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 206px), 1fr)); gap: 13px; }
.ad-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  box-shadow: 0 3px 12px #41182b09;
}
.ad-card:hover { border-color: #b88894; }
.card-link { display: block; height: 100%; }
.card-link:focus-visible { outline-offset: -3px; }
.card-photo { position: relative; overflow: hidden; aspect-ratio: 4 / 4.7; background: linear-gradient(145deg, #ecd3d7, #aa6f82); }
.card-photo img { height: 100%; object-fit: cover; object-position: center 35%; }
.card-body { padding: 12px; }
.card-body h3 { margin-block: 4px 5px; font-size: clamp(15px, 2vw, 18px); overflow-wrap: anywhere; }
.card-body p { color: var(--muted); font-size: 12px; }
.card-body p .ui-icon { color: var(--coral); }
.card-category { color: var(--wine); font-size: 10px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.featured {
  position: absolute;
  top: 9px;
  left: 8px;
  display: inline-flex;
  max-width: calc(100% - 55px);
  align-items: center;
  gap: 4px;
  padding: 5px 7px;
  border: 1px solid #fff8;
  border-radius: 7px;
  background: #ffefdc;
  color: #66351c;
  font-size: 9px;
  font-weight: 750;
  line-height: 1.25;
}
.favorite-button, .icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  flex: none;
  place-items: center;
  padding: 0;
  border: 1px solid #e5d5d2;
  border-radius: 50%;
  background: var(--white);
  color: var(--wine);
  font-size: 21px;
  line-height: 1;
}
.favorite-button { position: absolute; top: 7px; right: 7px; box-shadow: 0 3px 12px #2d131a2b; }
.favorite-button .ui-icon, .icon-button .ui-icon { width: 18px; height: 18px; }
.favorite-button:hover, .icon-button:hover { background: var(--coral-tint); border-color: #d7a4a3; }
[data-favorite][aria-pressed=true] { border-color: #d0979b; background: var(--coral-tint); color: var(--coral-hover); }
[data-favorite][aria-pressed=true] .ui-icon { fill: currentColor; }
.verified {
  display: inline-grid;
  width: 1.38em;
  height: 1.38em;
  place-items: center;
  border-radius: 50%;
  background: #e4f1ec;
  color: #245c4e;
  font-size: .72em;
  vertical-align: .05em;
}
.verified .ui-icon { width: .94em; height: .94em; stroke-width: 2.3; }
.area-links, .nearby { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.area-links h3, .nearby p { margin-bottom: 10px; }
.area-links .chip { margin: 0 5px 6px 0; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin-block: 23px; font-size: 12px; }
.popular { margin-top: 31px; padding-top: 25px; border-top: 1px solid var(--line); }
.popular-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.popular-heading .underlink { font-size: 12px; white-space: nowrap; }
.city-links { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; }
.city-tile {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 61px;
  align-items: center;
  gap: 8px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  font-size: 12px;
  font-weight: 750;
}
.city-tile:hover { border-color: #b88894; background: var(--coral-tint); }
.city-tile small { display: block; font-size: 10px; font-weight: 600; }
.city-tile > .ui-icon { color: var(--wine); }
.city-tile-icon {
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  border-radius: 8px;
  background: var(--coral-tint);
  color: var(--wine);
}
.site-footer {
  --focus: #ffb1a8;
  padding: 28px 0;
  background: #291820;
  color: #f7e9e6;
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 19px; }
.footer-inner .brand { width: 171px; }
.footer-inner p { margin-top: 5px; color: #ead2d7; font-size: 11px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 8px 15px; font-size: 12px; }
.footer-inner nav a:hover { color: var(--accent-light); }
.adult-mark {
  display: grid;
  width: 43px;
  height: 43px;
  flex: none;
  place-items: center;
  border: 1px solid #b98090;
  border-radius: 50%;
  color: #ffcec9;
  font-weight: 750;
}

dialog {
  width: min(480px, calc(100% - 28px));
  max-height: min(86vh, 720px);
  overflow: auto;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 20px 60px #2d102d38;
}
dialog::backdrop { background: #2c122b80; backdrop-filter: blur(3px); }
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 13px; }
.sheet .underlink { display: inline-block; margin-top: 13px; }
.sheet form { margin-top: 12px; }
.sheet [data-city-confirm] { margin-top: 8px; }
.sheet [role=status]:empty { display: none; }
.sheet [role=status] { margin-block: 5px; font-size: 12px; }
.city-results { display: grid; gap: 4px; max-height: 185px; overflow: auto; margin-block: 4px; }
.city-option {
  min-height: 41px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  text-align: left;
}
.city-option:hover, .city-option:focus-visible { background: var(--coral-tint); }
.directory-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 225px), 1fr)); gap: 8px; margin-top: 22px; padding: 0; list-style: none; }
.directory-list a { display: block; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-size: 13px; }
.directory-list a:hover { border-color: #b88894; }
.directory-list strong { margin-right: 5px; color: var(--wine); }

.panel { padding: clamp(16px, 2.1vw, 24px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.panel h2 { margin-bottom: 10px; }
.panel p + p { margin-top: 8px; }
.form-panel, .message { padding: clamp(21px, 4vw, 35px); }
.form-panel h1, .message h1 { font-size: clamp(27px, 6vw, 42px); }
.auth-links { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 16px; font-size: 12px; }
.auth-links a { color: var(--wine); text-decoration: underline; text-underline-offset: 3px; }
.message p { margin-block: 12px 17px; }
.message .underlink { display: inline-block; margin-left: 8px; }
.plan-grid, .admin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 225px), 1fr)); gap: 13px; }
.plan .price, .price { margin-block: 9px; color: var(--wine); font-size: clamp(27px, 3vw, 40px); font-weight: 750; letter-spacing: -.055em; line-height: 1.08; }
.plan .button { margin-top: 14px; }
.legal > p:not(.eyebrow) { margin-block: 15px; }
.profile-grid, .editor-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; gap: 19px; }
.gallery-frame { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #e8dde0; }
.gallery-frame figure { margin: 0; }
.gallery-frame img { height: min(66vh, 680px); object-fit: contain; touch-action: pan-y; }
.gallery-controls { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.profile-details h1 { margin-bottom: 8px; font-size: clamp(30px, 4.3vw, 48px); overflow-wrap: anywhere; }
.profile-details h2 { margin-top: 22px; font-size: 18px; }
.profile-details form { margin-block: 13px; }
details { margin-top: 14px; }
summary { cursor: pointer; color: var(--wine); font-weight: 700; }
details[open] summary { margin-bottom: 10px; }
.stack, .history { display: grid; gap: 12px; padding: 0; list-style: none; }
.form-grid, .photo-edit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.photo-edit { margin-bottom: 8px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; }
.photo-edit img { aspect-ratio: 4 / 3; margin-bottom: 5px; border-radius: 6px; object-fit: cover; }
.order-option { display: flex; justify-content: space-between; align-items: center; gap: 7px; padding: 10px 0; border-top: 1px solid var(--line); }
.section-heading { margin-block: 25px 12px; }
.table-scroll { overflow: auto; margin-top: 14px; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; background: var(--surface); text-align: left; }
th, td { padding: 11px 13px; border-bottom: 1px solid var(--line); }
tbody tr:last-child td { border-bottom: 0; }
th { background: #f4eeeb; color: #534346; font-size: 12px; white-space: nowrap; }
.pill {
  display: inline-block;
  padding: 4px 8px;
  border: 1px solid #e2c0c8;
  border-radius: 7px;
  background: #fbebee;
  color: var(--wine);
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
}
.data-list { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; }
.data-list dt { color: var(--muted); }
.data-list dd { margin: 0; text-align: right; }
.admin-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 15px 0 21px; }
.admin-list { display: grid; gap: 10px; }
.admin-record { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); align-items: start; gap: 15px; }
.admin-record h2 { overflow-wrap: anywhere; }
.admin-settings, .inline-search { margin-block: 12px; }
.inline-search { display: flex; align-items: end; gap: 9px; }
.inline-search label { width: min(370px, 65vw); }
.mobile-only { display: none; }

@media (max-width: 1040px) {
  .wrap { width: calc(100% - 44px); }
  .narrow { width: min(630px, calc(100% - 40px)); }
  .header-inner { gap: 13px; }
  .header-nav { gap: 13px; }
  .catalog-columns { grid-template-columns: 198px minmax(0, 1fr); gap: 15px; }
  .hero::before { background-size: 87% auto; }
  .hero-compact::before { background-size: auto; }
  .city-links { grid-template-columns: repeat(auto-fit, minmax(143px, 1fr)); }
}
@media (max-width: 770px) {
  .header-nav a.nav-cities:not(.button) { display: none; }
  .catalog-columns { grid-template-columns: 177px minmax(0, 1fr); }
  .filter-card { padding: 12px; }
  .hero::before { background-size: auto 119%; }
  .hero-compact::before { background-size: auto; }
  .access-banner { grid-template-columns: minmax(0, 1fr) 145px; }
  .access-copy { padding-inline: 19px; }
  .access-illustration > span { width: 73px; height: 73px; font-size: 28px; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 26px); }
  .narrow { width: min(630px, calc(100% - 26px)); }
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 0;
    gap: 6px 8px;
    padding-block: 9px;
  }
  .brand { width: clamp(122px, 42vw, 174px); }
  .header-nav { grid-area: 1 / 2; flex-wrap: wrap; justify-content: end; gap: 2px 9px; max-width: calc(100vw - 157px); font-size: 11px; white-space: normal; }
  .header-nav .nav-favorites { min-width: 38px; justify-content: center; }
  .nav-favorites > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .nav-favorites .ui-icon { width: 21px; height: 21px; }
  .header-nav .nav-announce { padding-inline: 9px; font-size: 11px; }
  .header-nav .nav-announce .ui-icon { display: none; }
  .location-link { grid-area: 2 / 1 / 3 / 3; min-height: 36px; justify-self: start; font-size: 11px; }
  .catalog-page { padding-top: 12px; }
  .hero { min-height: 321px; border-radius: 15px; }
  .hero-compact { min-height: 245px; }
  .hero::before { background-position: 58% 50%; background-size: auto 102%; }
  .hero::after { background: linear-gradient(90deg, #351422f8, #42192bd9 46%, #4a1d327f), linear-gradient(0deg, #280d18a8, transparent 65%); }
  .hero-compact::before { background-size: auto; }
  .hero-compact::after { width: 65%; background: repeating-radial-gradient(ellipse at 84% 110%, transparent 0 23px, #ffc0b429 24px 25px, transparent 26px 36px); }
  .hero-content { padding: 20px 14px 24px; }
  .hero:not(.hero-compact) .hero-content { padding-bottom: 34px; }
  .hero h1 { font-size: clamp(32px, 8.5vw, 51px); }
  .hero p { margin-block: 11px 15px; font-size: 12px; }
  .hero-search .button { padding-inline: 10px; }
  .search-trigger { gap: 6px; padding-inline: 5px; }
  .search-trigger > span { font-size: 12px; }
  .hero-credit { right: 8px; bottom: 8px; padding: 3px 6px; font-size: 9px; }
  .categories { gap: 5px; margin-block: 12px 16px; padding-bottom: 10px; }
  .category-tab { min-height: 42px; gap: 5px; padding-inline: 9px; font-size: 11px; }
  .catalog-columns { grid-template-columns: minmax(0, 1fr); }
  .desktop-only { display: none !important; }
  .mobile-only { display: inline-flex; }
  .icon-button.mobile-only { justify-content: center; align-items: center; }
  .filter-card { display: none; }
  .filter-card.is-open {
    position: fixed;
    z-index: 11;
    inset: auto 0 0;
    display: block;
    max-height: 85dvh;
    overflow: auto;
    padding: 16px 17px max(20px, env(safe-area-inset-bottom));
    border-radius: 18px 18px 0 0;
  }
  .filter-open::before { position: fixed; z-index: 10; inset: 0; background: #2b142b7d; content: ""; }
  .results-heading h2 { font-size: clamp(22px, 6vw, 34px); }
  .results-heading > .button { padding-inline: 9px; font-size: 11px; }
  .access-banner { grid-template-columns: minmax(0, 1fr) 96px; min-height: 182px; }
  .access-copy { padding: 18px 12px; }
  .access-copy h3 { font-size: 17px; }
  .access-copy .eyebrow { font-size: 9px; }
  .access-copy p { font-size: 11px; }
  .access-copy .button { padding-inline: 9px; font-size: 11px; }
  .access-illustration { min-height: 100%; }
  .access-illustration > span { width: 52px; height: 52px; font-size: 21px; box-shadow: 0 0 0 7px #fffdfb5c, 0 0 0 8px #bb7f8d33, 0 0 0 15px #fffdfb45, 0 0 0 16px #bb7f8d25; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .card-body { padding: 8px; }
  .card-body p { font-size: 11px; }
  .favorite-button { top: 5px; right: 5px; }
  .featured { top: 7px; left: 4px; max-width: calc(100% - 51px); padding-inline: 4px; font-size: 8px; }
  .city-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { flex-wrap: wrap; align-items: start; }
  .footer-inner nav { order: 2; flex-basis: 100%; }
  .profile-grid, .editor-grid, .admin-record { grid-template-columns: minmax(0, 1fr); }
  .gallery-frame img { height: min(57vh, 495px); }
  .page { padding-block: 25px 52px; }
  dialog.sheet { position: fixed; inset: auto 0 0; width: 100%; max-width: 100%; margin: 0; padding-bottom: max(19px, env(safe-area-inset-bottom)); border-radius: 16px 16px 0 0; }
}
@media (max-width: 360px) {
  .header-nav { gap: 2px 5px; }
  .header-nav .nav-favorites { min-width: 30px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: 30px; }
  .access-banner { grid-template-columns: minmax(0, 1fr) 72px; }
  .access-illustration > span { width: 45px; height: 45px; }
  .city-tile { gap: 5px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
