/* fabon5th reviews. The storefront's palette (D63): black, white and warm
   grey, square cornered, controls in tracked capitals. No star imagery:
   Yelp's brand rules forbid it next to quoted reviews. */

@font-face {
  font-family: "Italiana";
  src: url(fonts/italiana-regular.woff2) format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url(fonts/newsreader-latin.woff2) format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url(fonts/newsreader-italic-latin.woff2) format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url(fonts/ibmplexsans-latin.woff2) format("woff2");
  font-weight: 100 700;
  font-display: swap;
}

:root {
  --ink: #141413;
  --muted: #474643;
  --paper: #ffffff;
  --mist: #f4f3f1;
  --rule: #e4e3df;
  --ivory: #f3f1ec;
  --muted-on-ink: #bdbab3;
  --hair-on-ink: rgb(243 241 236 / 0.16);
  --house: "Italiana", "Newsreader", "Iowan Old Style", Georgia, serif;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --page: 72rem;
  --gutter: clamp(1rem, 0.4rem + 3vw, 3rem);
  --band: clamp(3.5rem, 2rem + 6vw, 8rem);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.shell {
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--paper);
  z-index: 10;
}
.skip:focus { top: 0.75rem; }

/* Labels, links and buttons share the storefront's tracked capitals. */
.kicker, .top__link, .button, figcaption, .group h2, .visit dt, .foot {
  font-family: var(--body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.top { border-bottom: 1px solid var(--rule); }
.top__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}
.wordmark {
  font-family: var(--house);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark span { font-family: var(--serif); font-style: italic; }
.top__link { text-decoration: none; white-space: nowrap; }
.top__link:hover { text-decoration: underline; }

.opening { padding: var(--band) 0 calc(var(--band) * 0.6); text-align: center; }
.kicker { margin: 0 0 1.5rem; color: var(--muted); }
/* Newsreader, heavy and upright, with "reviews" in its italic: Italiana's
   hairlines were hard to read at a glance. */
h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(3.25rem, 1.5rem + 7.5vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
}
h1 em { font-style: italic; font-weight: 400; }
.lede {
  max-width: 38rem;
  margin: 2rem auto 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
  line-height: 1.5;
  color: var(--muted);
}

figure { margin: 0; }
blockquote { margin: 0; }
blockquote p { margin: 0; }
figcaption { margin-top: 1.25rem; color: var(--muted); }
figcaption .by { color: var(--ink); }
figcaption time::before { content: "· "; }

/* The one long quote, on ink, the way the storefront sets a vitrine. */
.feature { background: var(--ink); color: var(--ivory); }
.feature figure {
  max-width: 54rem;
  margin: 0 auto;
  padding: var(--band) 0;
  text-align: center;
}
.feature blockquote p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.5rem, 1.05rem + 1.9vw, 2.6rem);
  line-height: 1.32;
}
.feature blockquote p::before { content: "\201C"; }
.feature blockquote p::after { content: "\201D"; }
.feature figcaption { margin-top: 2rem; color: var(--muted-on-ink); }
.feature figcaption .by { color: var(--ivory); }

.group { padding: var(--band) 0 0; }
.group h2 {
  margin: 0 0 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--ink);
}
/* Two across, never three: four reviews in three columns left an empty cell. */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.review {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--paper);
}
.review blockquote p {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.05rem + 0.45vw, 1.4rem);
  line-height: 1.45;
}
.review blockquote p::before { content: "\201C"; }
.review blockquote p::after { content: "\201D"; }

.source { padding: var(--band) 0; }
.source__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}
.source p { max-width: 40rem; margin: 0; color: var(--muted); }
.button {
  display: inline-block;
  padding: 1rem 1.5rem;
  border: 1px solid var(--ink);
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}
.button:hover { background: var(--ink); color: var(--paper); }

.visit { background: var(--mist); padding: var(--band) 0; }
.visit__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: 2rem 4rem;
}
.visit h2 {
  margin: 0 0 1rem;
  font-family: var(--house);
  font-weight: 400;
  font-size: clamp(2.2rem, 1.5rem + 2.8vw, 3.75rem);
  line-height: 1;
}
.visit p { margin: 0; max-width: 28rem; font-family: var(--serif); font-size: 1.2rem; color: var(--muted); }
.visit dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 1rem 2rem; }
.visit dt { color: var(--muted); padding-top: 0.2em; }
.visit dd { margin: 0; }

.foot { background: var(--ink); color: var(--muted-on-ink); padding: 2.5rem 0; }
.foot__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.foot p { margin: 0; }
.foot ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; margin: 0; padding: 0; list-style: none; }
.foot a { color: var(--ivory); text-decoration: none; }
.foot a:hover { text-decoration: underline; }

@media (min-width: 48rem) {
  .grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 30rem) {
  .top__link { display: none; }
  .visit dl { grid-template-columns: 1fr; gap: 0.25rem; }
  .visit dd { margin-bottom: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}
