@font-face {
  font-family: Fraunces;
  src: url("/assets/marketing/Fraunces_400Regular.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("/assets/marketing/Inter_400Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("/assets/marketing/Inter_500Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
:root {
  --cream: #f7f3ec;
  --espresso: #2a1f17;
  --ink: #3a3129;
  --muted: #6f6256;
  --line: #e4ddd4;
  --stone: #f1ebe1;
  --white: #fff;
  --gold: #b78b5a;
  --red: #b74a48;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--espresso);
  outline-offset: 5px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
h1,
h2 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 400;
}
h1 {
  font-size: 64px;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--espresso);
}
h2 {
  font-size: 28px;
  letter-spacing: -0.015em;
}
.wrap {
  width: min(1120px, calc(100% - 80px));
  margin-inline: auto;
}
.skip {
  position: absolute;
  top: -100px;
  padding: 12px;
  background: var(--espresso);
  color: var(--cream);
  z-index: 3;
}
.skip:focus {
  top: 8px;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--espresso);
}
.brand span {
  color: var(--gold);
  margin-left: -10px;
}
.nav nav,
.footer nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}
.nav nav > a:first-child {
  text-decoration: none;
}
.button {
  min-height: 44px;
  padding: 12px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--espresso);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
  transition:
    background 0.18s,
    color 0.18s;
}
.button.primary {
  color: var(--cream);
  background: var(--espresso);
  border-color: var(--espresso);
}
.button:hover {
  background: var(--stone);
}
.button.primary:hover {
  background: var(--ink);
}
.intro {
  padding-top: 64px;
  max-width: 720px;
}
.location {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 22px;
}
.location span {
  padding-inline: 10px;
  color: var(--gold);
}
.lede {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 24px;
  max-width: 60ch;
}
.search-form {
  margin-top: 40px;
  max-width: 640px;
}
.search-form label {
  display: block;
  font-size: 14px;
  margin-bottom: 12px;
  font-weight: 500;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 6px 6px 20px;
}
.search-box svg {
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.6;
  flex-shrink: 0;
}
.search-box input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  outline-offset: 0;
  padding: 10px 0;
  font-size: 15px;
  color: var(--ink);
}
input::placeholder {
  color: var(--muted);
  opacity: 1;
}
.results-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: baseline;
  margin-top: 60px;
  margin-bottom: 24px;
}
.results-heading p {
  font-size: 13px;
  color: var(--muted);
}
.roastery-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
  border-top: 1px solid var(--line);
}
.roastery {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px 4px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  min-width: 0;
  transition: background 0.18s;
}
.roastery:hover {
  background: var(--stone);
}
.logo {
  height: 80px;
  width: 80px;
  flex-shrink: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  overflow: hidden;
  padding: 10px;
}
.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.monogram {
  font-family: Fraunces, Georgia, serif;
  font-size: 30px;
  color: var(--muted);
  background: var(--stone);
}
.roastery-copy {
  min-width: 0;
  flex: 1;
}
.roastery h3 {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.roastery p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
}
.arrow {
  font-size: 21px;
  flex-shrink: 0;
  color: var(--muted);
}
.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 36px;
}
.page-link {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 50%;
  text-decoration: none;
  font-size: 14px;
}
.page-link:hover {
  border-color: var(--line);
  background: var(--white);
}
.page-link[aria-current] {
  background: var(--espresso);
  color: var(--cream);
}
.pagination .button {
  margin-inline: 10px;
}
.notice {
  grid-column: 1/-1;
  padding: 48px 0;
  max-width: 65ch;
  line-height: 1.7;
}
.notice h2 {
  margin-bottom: 12px;
}
.notice .button {
  margin-top: 20px;
}
.skeleton {
  height: 133px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, var(--stone) 0 80px, transparent 80px);
  background-size: 100% 80px;
  background-repeat: no-repeat;
  background-position: 0 26px;
}
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--line);
  margin-top: 88px;
  padding-block: 32px 40px;
}
.footer .brand {
  font-size: 24px;
}
.footer p {
  font-size: 13px;
  color: var(--muted);
}
.footer nav {
  gap: 20px;
  font-size: 13px;
}
.back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  min-height: 44px;
  font-size: 14px;
}
.detail-hero {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-block: 40px 44px;
  border-bottom: 1px solid var(--line);
}
.detail-hero .logo {
  height: 150px;
  width: 150px;
  padding: 20px;
  border-radius: 16px;
}
.detail-hero .monogram {
  font-size: 54px;
}
.detail-hero h1 {
  font-size: 52px;
  overflow-wrap: anywhere;
}
.detail-hero .location {
  margin-bottom: 16px;
}
.detail-body {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
  gap: 80px;
  padding-top: 44px;
}
.about {
  font-size: 17px;
  line-height: 1.85;
  max-width: 65ch;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.about h2 {
  margin-bottom: 20px;
}
.about p {
  color: var(--muted);
}
.visit h2 {
  margin-bottom: 24px;
}
.visit address {
  font-style: normal;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 24px;
}
.external-links {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
}
.detail-footer {
  border-top: 1px solid var(--line);
  margin-top: 44px;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.detail-footer p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
@media (min-width: 1600px) {
  .intro {
    padding-top: 80px;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .nav {
    padding-block: 20px;
    gap: 12px;
  }
  .nav nav {
    gap: 16px;
  }
  .nav .app-link {
    padding-inline: 16px;
  }
  .brand {
    font-size: 25px;
  }
  .brand img {
    width: 28px;
    height: 28px;
  }
  .intro {
    padding-top: 40px;
  }
  h1 {
    font-size: 44px;
  }
  .lede {
    font-size: 16px;
  }
  .search-form {
    margin-top: 30px;
  }
  .results-heading {
    margin-top: 40px;
  }
  .results-heading h2 {
    font-size: 25px;
  }
  .roastery-list {
    grid-template-columns: 1fr;
  }
  .roastery {
    padding-block: 22px;
  }
  .logo {
    height: 72px;
    width: 72px;
  }
  .pagination {
    gap: 4px;
  }
  .pagination .button {
    margin-inline: 2px;
    padding-inline: 14px;
  }
  .footer {
    margin-top: 60px;
    align-items: flex-start;
    flex-direction: column;
  }
  .footer nav {
    flex-wrap: wrap;
  }
  .detail-hero {
    gap: 20px;
    align-items: flex-start;
  }
  .detail-hero .logo {
    height: 96px;
    width: 96px;
    padding: 12px;
  }
  .detail-hero h1 {
    font-size: 36px;
  }
  .detail-hero .location {
    font-size: 13px;
  }
  .detail-body {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .detail-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 380px) {
  .nav nav > a:first-child {
    display: none;
  }
  h1 {
    font-size: 39px;
  }
  .search-box {
    gap: 9px;
    padding-left: 14px;
  }
  .search-box input {
    font-size: 14px;
  }
  .search-box .button {
    padding-inline: 14px;
  }
  .results-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .detail-hero {
    flex-direction: column;
  }
  .desktop-break {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.logo-dark {
  background: var(--espresso);
}
