/* Onion Cafe — white listing desk. Color lives in the photographs. */
:root {
  --page: #ffffff;
  --fill: #f4f4f4;
  --ink: #111111;
  --mute: #8a8a8a;
  --font-ui: "Source Sans 3", "Segoe UI", "Helvetica Neue", sans-serif;
  --font-title: "Cormorant Garamond", "Palatino Linotype", "Times New Roman", serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 18px; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-ui);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--mute); }
h1 {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 2.4rem;
}
h2 {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 1.7rem;
  margin: 2.4rem 0 0.8rem;
}
h3 {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  margin: 1.6rem 0 0.45rem;
}
p { margin: 0 0 1.05em; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: var(--page); padding: 0.4em 0.8em;
}
.skip-link:focus { left: 0; z-index: 40; }

.site-header {
  display: grid;
  grid-template-columns: auto minmax(12rem, 34rem) auto;
  align-items: center;
  gap: 1.2rem;
  padding: 0.85rem 4vw;
  background: var(--page);
}
.wordmark {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: lowercase;
  text-decoration: none;
  white-space: nowrap;
}
.seek {
  display: flex;
  align-items: center;
  background: var(--fill);
  border-radius: 999px;
  padding: 0 0.35rem 0 1rem;
  min-width: 0;
}
.seek input {
  flex: 1;
  border: 0;
  background: transparent;
  font: inherit;
  color: var(--ink);
  padding: 0.62rem 0.4rem;
  min-width: 0;
}
.seek input::placeholder { color: var(--mute); }
.seek input:focus { outline: none; }
.seek button {
  border: 0;
  background: transparent;
  color: var(--mute);
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  justify-content: flex-end;
}
.pill-drop { position: relative; }
.pill-drop summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--fill);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  cursor: pointer;
  font-size: 0.92rem;
  color: var(--ink);
}
.pill-drop summary::-webkit-details-marker { display: none; }
.drop-list {
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  background: var(--page);
  border: 1px solid #ececec;
  border-radius: 14px;
  min-width: 14rem;
  padding: 0.45rem 0;
  z-index: 20;
}
.drop-list a {
  display: block;
  padding: 0.4rem 1rem;
  text-decoration: none;
  font-size: 0.92rem;
}
.mail-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  height: 2.5rem;
  padding: 0 0.85rem;
  border-radius: 999px;
  border: 1px solid #dedede;
  color: var(--mute);
  text-decoration: none;
  font-size: 0.92rem;
  background: var(--page);
}
.mail-link:hover { color: var(--ink); }
.icon-mail, .menu-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid #dedede;
  color: var(--mute);
  display: grid;
  place-items: center;
  background: var(--page);
  text-decoration: none;
  cursor: pointer;
}
.menu-btn { padding: 0; }

.drawer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.4rem;
  padding: 0.6rem 4vw 1.4rem;
  border-bottom: 1px solid #f0f0f0;
}
.drawer[hidden] { display: none !important; }
.drawer a {
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--mute);
}
.drawer a:hover { color: var(--ink); }

main {
  max-width: 78rem;
  margin: 0 auto;
  padding: 4.2rem 4vw 5rem;
}
.crumbs {
  font-size: 0.82rem;
  color: var(--mute);
  margin: 0 0 2.2rem;
}
.crumbs a { color: var(--mute); text-decoration: none; }
.hat {
  font-size: 1.02rem;
  color: var(--mute);
  margin: -1.6rem 0 2.6rem;
  max-width: 38rem;
}
.listing-wrap { margin: 0 0 4.2rem; }
.listing {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.6rem 1.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.place-card a {
  display: block;
  text-decoration: none;
  color: inherit;
}
.place-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  margin-bottom: 0.85rem;
}
.place-kicker {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0 0 0.28rem;
}
.place-name {
  display: block;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  margin: 0 0 0.2rem;
}
.place-line {
  display: block;
  font-size: 0.92rem;
  color: var(--mute);
}
.listing-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 48rem;
}
figure.photo {
  margin: 0 0 2.4rem;
  max-width: 52rem;
}
figure.photo img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
figure.photo-portrait {
  max-width: 22rem;
}
figure.photo-exhibit {
  max-width: 72rem;
  margin: 0 0 2.6rem;
}
figure.photo-exhibit img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top center;
}
.sheet-sec { max-width: 38.5rem; }
.close-sec { margin-top: 2rem; }
.notice {
  background: var(--fill);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  margin: 0 0 1.3rem;
}
.address-block {
  background: var(--fill);
  border-radius: 16px;
  padding: 1.1rem 1.15rem;
  margin: 0 0 1.3rem;
}
.onion-list { list-style: none; margin: 0.4rem 0 0; padding: 0; }
.onion-list li { margin: 0 0 0.7rem; }
code.onion {
  display: block;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.82rem;
  word-break: break-all;
  background: var(--page);
  border-radius: 10px;
  padding: 0.45rem 0.55rem;
  cursor: pointer;
}
code.onion.is-copied { outline: 1px solid var(--ink); }

footer {
  padding: 2.4rem 4vw 3.2rem;
  color: var(--mute);
}
.foot-inner { max-width: 78rem; margin: 0 auto; }
.foot-brand {
  font-family: var(--font-ui);
  letter-spacing: 0.16em;
  text-transform: lowercase;
  color: var(--ink);
  margin: 0 0 0.8rem;
}
.foot-links, .foot-rooms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.1rem;
  margin: 0 0 0.85rem;
}
.foot-links a, .foot-rooms a {
  text-decoration: none;
  font-size: 0.92rem;
}
.foot-rooms a { color: var(--ink); }
.disc { font-size: 0.88rem; max-width: 44rem; }

@media (max-width: 1100px) {
  .listing { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .site-header {
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
  }
  .seek { grid-column: 1 / -1; order: 3; }
  .listing { grid-template-columns: 1fr; max-width: 26rem; }
  .listing-three { grid-template-columns: 1fr; }
  main { padding-top: 2.4rem; }
}
