@font-face {
  font-family: "DM Sans"; src: url("assets/fonts/dm-sans.woff2") format("woff2");
  font-weight: 400 700; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif"; src: url("assets/fonts/instrument-serif.woff2") format("woff2");
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif"; src: url("assets/fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fbf6ef;
  --sand: #f2e8de;
  --ink: #2c211d;
  --muted: #66524a;
  --wine: #712c41;
  --wine-dark: #4b1d2b;
  --edge: #dcc9ba;
  --rose: #f2c3a6;
  --white: #fffaf5;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--sans); }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .24em; }
button, input, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid #a23e5a; outline-offset: 5px; }
.frame { width: min(100% - 112px, 1264px); margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 10; transform: translateY(-150%); background: var(--white); padding: 12px 18px; }
.skip-link:focus { transform: none; }

.site-header { background: var(--paper); }
.header-inner { min-height: 79px; display: grid; grid-template-columns: 1fr max-content 1fr; gap: 26px; align-items: center; }
.brand { display: inline-flex; justify-self: start; align-items: center; gap: 10px; align-self: center; text-decoration: none; white-space: nowrap; font: 33px/1 var(--serif); letter-spacing: -.65px; }
.brand em { color: var(--wine); }
.brand-mark { width: 19px; height: 29px; display: inline-block; position: relative; color: var(--wine); }
.brand-mark::before { content: ""; position: absolute; width: 9px; height: 13px; top: 1px; left: 5px; background: currentColor; border-radius: 75% 10% 62% 53%; transform: rotate(-15deg); }
.brand-mark::after { content: ""; width: 13px; height: 10px; position: absolute; left: 3px; bottom: 0; border: 1px solid currentColor; border-radius: 3px 3px 0 0; }
.header-inner nav { display: flex; gap: clamp(18px, 3vw, 45px); align-items: center; }
.header-inner nav a { text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; }
.header-inner nav a:hover, .places-links a:hover, .site-footer nav a:hover { text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 11px 20px; border: 1px solid transparent; border-radius: 6px; text-decoration: none; font-size: 14px; font-weight: 700; line-height: 1.35; transition: background-color .2s, color .2s, border-color .2s; min-height: 46px; }
.button span { font-size: 19px; font-weight: 400; line-height: 1; }
.header-button { color: var(--wine); border-color: var(--wine); justify-self: end; }
.header-button:hover { background: var(--wine); color: var(--white); }

.hero { min-height: clamp(500px, 43vw, 665px); position: relative; display: grid; align-items: center; isolation: isolate; overflow: hidden; background: #2b1916; color: var(--white); }
.hero-picture, .hero-shade { position: absolute; inset: 0; z-index: -1; }
.hero-picture img { width: 100%; height: 100%; object-fit: cover; object-position: center 57%; }
.hero-shade { background: linear-gradient(90deg, rgba(30,16,16,.97) 0%, rgba(34,18,16,.88) 24%, rgba(35,19,16,.57) 47%, rgba(29,15,13,.10) 77%), linear-gradient(0deg, rgba(25,13,13,.27), transparent 40%); }
.hero-inner { padding-block: 50px 58px; }
.hero h1 { font: 400 clamp(76px, 8.4vw, 136px)/.86 var(--serif); letter-spacing: -.026em; }
.hero h1 em { color: var(--rose); font-weight: 400; white-space: nowrap; }
.hero p { max-width: 355px; margin-top: 26px; font-size: 17px; color: #fae8dc; }
.hero-button { margin-top: 30px; min-height: 52px; background: var(--white); color: var(--wine-dark); padding-inline: 21px; }
.hero-button:hover { background: #f2cfb9; }
.hero-button:focus-visible { outline-color: var(--white); }
.hero-caption, .image-note { color: #6b452f; font-weight: 600; }
.hero-caption { position: absolute; right: max(20px, calc((100% - 1264px) / 2)); bottom: 15px; padding: 3px 8px; border-radius: 3px; font-size: 11px; }

.places-strip { background: var(--sand); border-bottom: 1px solid #e8d9cb; }
.places-inner { min-height: 78px; display: flex; gap: 32px; align-items: center; padding-block: 15px; }
.places-inner h2 { font-size: 13px; font-weight: 700; white-space: nowrap; }
.places-links { display: flex; flex-wrap: wrap; align-items: center; gap: 11px clamp(17px, 3.3vw, 49px); }
.places-links a { padding-block: 4px; font-size: 14px; color: var(--muted); text-decoration: none; }
.places-links a:last-child { color: var(--wine); font-weight: 700; }
.places-links span { padding-left: 3px; }
.section-intro { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 30px; margin-bottom: 30px; }
.section-intro h2, .guide h2 { font: 400 clamp(46px, 5.1vw, 79px)/.96 var(--serif); letter-spacing: -.023em; }
.section-intro h2 em, .guide h2 em { font-weight: 400; color: var(--wine); }
.section-intro p { color: var(--muted); font-size: 15px; max-width: 320px; padding-bottom: 4px; }
.experiences { padding-block: 68px 78px; }
.themes, .offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 25px); }
.theme { display: grid; min-height: 220px; aspect-ratio: 1.53; align-content: end; position: relative; isolation: isolate; color: var(--white); border-radius: 11px; overflow: hidden; text-decoration: none; background: #49302a; }
.theme img, .guide-image img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.theme img { z-index: -2; transition: transform .35s ease-out; }
.theme:hover img { transform: scale(1.05); }
.theme::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(25,14,14,.91), rgba(25,14,14,.29) 49%, transparent 79%); }
.theme-content { display: flex; min-width: 0; align-items: end; justify-content: space-between; gap: 4px; padding: 17px 17px 20px; }
.theme h3 { font: 400 clamp(29px, 3vw, 47px)/.94 var(--serif); letter-spacing: -.015em; }
.round-arrow { flex: none; display: grid; place-items: center; border: 1px solid #f4e7d5; width: 35px; height: 35px; border-radius: 50%; font-size: 18px; transition: background-color .2s, color .2s; }
.theme:hover .round-arrow { background: var(--white); color: var(--wine-dark); }
.image-note { position: absolute; right: 10px; top: 10px; padding: 3px 7px; border-radius: 3px; font-size: 10px; line-height: 1.35; }

.directory { background: var(--sand); padding-block: 69px 74px; }
.directory-intro { margin-bottom: 27px; }
.filters { margin-bottom: 15px; }
.filter-fields { display: grid; grid-template-columns: 1.6fr minmax(0, 1fr) minmax(0, .85fr); gap: 12px; background: var(--paper); padding: 16px; border: 1px solid var(--edge); border-radius: 10px; }
.filter-fields label { display: grid; gap: 6px; font-weight: 700; font-size: 13px; min-width: 0; }
.filter-fields input, .filter-fields select { min-width: 0; width: 100%; min-height: 47px; border-radius: 5px; border: 1px solid #cdb6a8; background: #fffdf9; color: var(--ink); padding: 8px 10px; font-size: 15px; font-weight: 400; }
.filter-fields input::placeholder { color: #765f53; opacity: 1; }
.radius-search { margin-bottom: 8px; scroll-margin-top: 90px; }
.radius-search h3 { margin-bottom: 8px; font: 400 clamp(26px, 3vw, 36px)/1 var(--serif); }
.radius-fields { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: end; }
.radius-submit { min-height: 47px; background: var(--wine); color: var(--white); }
.radius-submit:hover { background: var(--wine-dark); }
.radius-submit:disabled { opacity: .65; cursor: wait; }
.radius-search > p { margin-top: 7px; color: var(--muted); font-size: 13px; }
#radius-status:empty { display: none; }
.filter-fields [aria-invalid="true"] { border-color: var(--wine); }
.offer-distance { color: var(--wine-dark); font-size: 13px; font-weight: 700; }
.filter-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding-block: 9px 0; color: var(--muted); font-size: 14px; }
.text-button { border: 0; background: transparent; color: var(--wine); text-decoration: underline; text-underline-offset: 3px; font-weight: 700; padding: 5px; }
.offer-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--edge); border-radius: 10px; overflow: hidden; background: var(--white); }
.offer-image { display: block; position: relative; aspect-ratio: 1.76; background: #4b3128; }
.offer-image:focus-visible, .place-offer-image:focus-visible, .map-preview-photo:focus-visible { outline-offset: -3px; z-index: 1; }
.offer-image img { width: 100%; height: 100%; object-fit: cover; }
.offer-content { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 17px 19px 19px; gap: 9px; }
.offer-location { font-size: 12px; font-weight: 700; color: var(--wine); }
.offer-content h3 { font: 400 clamp(28px, 2.65vw, 41px)/.99 var(--serif); }
.offer-content .offer-facts { color: var(--muted); font-size: 14px; }
.offer-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  margin: 4px 0;
  border: 1px solid var(--edge);
  border-radius: 8px;
  overflow: hidden;
  background: var(--sand);
}
.offer-overview > div { padding: 8px 10px; }
.offer-overview > div:nth-child(even) { border-left: 1px solid var(--edge); }
.offer-overview > div:nth-child(n+3) { border-top: 1px solid var(--edge); }
.offer-overview > div:last-child { grid-column: 1 / -1; }
.offer-overview dt { color: var(--muted); font-size: 12px; font-weight: 600; }
.offer-overview dd { margin: 1px 0 0; color: var(--ink); font-size: 13px; line-height: 1.35; overflow-wrap: anywhere; }
.offer-content .text-link { margin-top: auto; padding-top: 8px; }
.text-link { display: inline-flex; align-items: baseline; gap: 7px; color: var(--wine); font-size: 14px; font-weight: 700; text-decoration-color: #b17983; }
.text-link:hover { text-decoration-color: currentColor; text-decoration-thickness: 2px; }
.directory-end { text-align: center; }
.more-button { margin-top: 27px; background: var(--wine); color: var(--white); }
.more-button:hover { background: var(--wine-dark); }
#no-results { background: var(--white); border-radius: 6px; padding: 27px 21px; color: var(--muted); }

.guide { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(25px, 6vw, 91px); align-items: center; padding-block: 84px; }
.guide-image { min-height: 430px; position: relative; overflow: hidden; border-radius: 10px; background: #543128; }
.guide h2 { margin-bottom: 22px; }
.guide details { padding: 13px 0; border-top: 1px solid var(--edge); }
.guide summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.guide details p { color: var(--muted); font-size: 14px; margin: 6px 0 0; max-width: 520px; }
.guide .text-link { margin-top: 15px; }
.guide .home-evening-link { display: flex; width: fit-content; }
.site-footer { background: #30211f; color: var(--white); padding-block: 40px; }
.footer-inner { display: grid; grid-template-columns: .8fr 1.2fr auto; gap: 26px; align-items: start; }
.site-footer .brand em, .site-footer .brand-mark { color: var(--rose); }
.site-footer .brand { align-self: start; }
.site-footer h2 { font-size: 14px; font-weight: 700; margin-bottom: 9px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 7px 18px; }
.site-footer nav a, .back-top { font-size: 13px; color: #f2d9cd; text-decoration: none; }
.back-top:hover { text-decoration: underline; }

@media (max-width: 1000px) {
  .frame { width: calc(100% - 68px); }
  .theme { min-height: 190px; }
  .theme-content { padding-inline: 12px; }
}
@media (max-width: 760px) {
  .radius-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .frame { width: calc(100% - 38px); }
  .header-inner { gap: 10px; grid-template-columns: 1fr auto; min-height: 0; padding-block: 9px 7px; }
  .header-inner nav { grid-row: 2; grid-column: 1 / -1; gap: 24px; padding-block: 2px; }
  .header-inner nav a { padding-block: 3px; }
  .header-button { font-size: 13px; min-height: 38px; padding: 7px 10px; gap: 6px; }
  .brand { font-size: 27px; gap: 7px; }
  .hero { min-height: 505px; }
  .hero h1 { font-size: clamp(66px, 12vw, 100px); }
  .hero p { max-width: 305px; font-size: 16px; }
  .hero-shade { background: linear-gradient(90deg, rgba(29,15,15,.95), rgba(33,17,16,.63) 51%, rgba(29,15,13,.12)), linear-gradient(0deg, rgba(25,13,13,.35), transparent 52%); }
  .hero-picture img { object-position: 57% 52%; }
  .places-inner { display: block; }
  .places-links { gap: 5px 17px; margin-top: 5px; }
  .experiences, .directory { padding-block: 54px; }
  .themes,.offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .theme { min-height: 156px; }
  .theme h3 { font-size: 32px; }
  .guide { gap: 27px; padding-block: 57px; }
  .guide-image { min-height: 405px; }
  .footer-inner { grid-template-columns: 1fr auto; }
  .footer-inner div { grid-row: 2; grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .hero { min-height: 490px; }
  .hero h1 { font-size: clamp(61px, 14vw, 78px); }
  .hero-inner { padding-block: 48px; }
  .hero-shade { background: linear-gradient(90deg, rgba(29,15,15,.88), rgba(36,18,17,.41) 85%), linear-gradient(0deg, rgba(25,13,13,.36), transparent 56%); }
  .theme h3 { font-size: 33px; }
  .themes, .offer-grid { grid-template-columns: minmax(0, 1fr); }
  .theme { aspect-ratio: 1.95; }
  .filter-fields { grid-template-columns: 1fr 1fr; padding: 11px; gap: 10px; }
  .filter-fields label:first-child { grid-column: 1 / -1; }
  .radius-fields label:first-child { grid-column: auto; }
  .radius-submit { padding-inline: 10px; }
  .filter-fields select { font-size: 14px; }
  .guide { grid-template-columns: minmax(0, 1fr); }
  .guide-image { min-height: 0; aspect-ratio: 1.43; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.mobile-bar { display: none; }
@media (max-width: 800px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .mobile-bar {
    position: fixed;
    z-index: 5;
    inset: auto 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    min-height: 66px;
    padding: 8px max(14px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
    background: var(--paper);
    border-top: 1px solid var(--edge);
    box-shadow: 0 -5px 24px rgb(41 23 20 / .1);
  }
  .mobile-bar-copy { min-width: 0; }
  .mobile-bar-copy > span {
    font: 400 23px/.96 var(--serif);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .mobile-bar .button { flex: none; gap: 6px; background: var(--wine); color: var(--white); font-size: 13px; padding: 8px 12px; }
  .mobile-bar .button:hover { background: var(--wine-dark); }
}
@media (max-width: 350px) {
  .hero h1 { font-size: 54px; }
  .mobile-bar-copy > span { font-size: 21px; }
}

@media (min-width: 1001px) {
  .themes { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .theme h3 { font-size: clamp(28px, 3vw, 43px); }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .themes { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
