:root {
  --ink: #080808;
  --paper: #ffffff;
  --fog: #f3f3f1;
  --line: #c9c9c6;
  --muted: #5d5d5a;
  --serif: "Bodoni 72", Didot, "Didot LT STD", "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--fog);
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--fog);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100dvh;
  margin: 0;
  background: var(--fog);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-shell {
  width: min(100%, 680px);
  min-height: 100dvh;
  margin-inline: auto;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 0 60px rgb(0 0 0 / 8%);
}

.brand-header {
  padding-top: max(8px, env(safe-area-inset-top));
  background: var(--paper);
}

.brand-banner {
  width: 100%;
  height: auto;
  border-block: 1px solid var(--ink);
  background: var(--paper);
}

.greek-border {
  height: 9px;
  margin: 6px 11px;
  background-image:
    linear-gradient(90deg, var(--ink) 1px, transparent 1px),
    linear-gradient(var(--ink) 1px, transparent 1px);
  background-size: 12px 12px;
  opacity: 0.45;
}

.greek-border--bottom {
  margin-top: 6px;
  transform: rotate(180deg);
}

#app:focus {
  outline: none;
}

.page {
  min-height: calc(100dvh - 154px);
  animation: page-in 360ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.intro {
  padding: 27px 24px 12px;
  text-align: center;
}

.eyebrow,
.detail-kicker,
.ingredients-kicker,
.market-location,
.provisional-note {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--muted);
}

.antique-rule {
  display: grid;
  grid-template-columns: 1fr 8px 1fr;
  gap: 11px;
  align-items: center;
  width: min(230px, 74vw);
  margin: 19px auto 0;
}

.antique-rule::before,
.antique-rule::after {
  content: "";
  height: 1px;
  background: var(--ink);
}

.antique-rule span {
  width: 7px;
  height: 7px;
  background: var(--ink);
  transform: rotate(45deg);
}

.product-list {
  display: grid;
  gap: 46px;
  padding: 30px 24px 52px;
}

.product-link {
  position: relative;
  display: grid;
  justify-items: center;
  color: var(--ink);
  text-align: center;
  text-decoration: none;
}

.product-link::after {
  content: "";
  position: absolute;
  inset: -12px max(-12px, calc((100vw - 100%) / -2));
  z-index: 0;
  border-radius: 2px;
  background: #f8f8f6;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 180ms ease, transform 180ms ease;
}

.product-link > * {
  position: relative;
  z-index: 1;
}

.product-link:active::after,
.product-link:focus-visible::after {
  opacity: 1;
  transform: scale(1);
}

.product-image-frame {
  display: grid;
  place-items: center;
  width: min(248px, 68vw);
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  transition: transform 260ms ease;
}

.product-link:hover .product-image-frame,
.product-link:focus-visible .product-image-frame {
  transform: scale(1.018);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}

.product-name {
  margin: 16px 0 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 9vw, 2.7rem);
  font-weight: 500;
  line-height: 1;
}

.product-name--long {
  font-size: clamp(1.65rem, 7vw, 2.2rem);
  line-height: 1.08;
}

.market-message {
  padding: 43px 24px 40px;
  border-top: 1px solid var(--ink);
  text-align: center;
}

.market-title {
  max-width: 480px;
  margin: 27px auto 0;
  font-family: var(--serif);
  font-size: clamp(1.85rem, 8vw, 2.55rem);
  font-weight: 500;
  line-height: 1.2;
}

.market-location {
  margin-top: 14px;
  color: var(--muted);
}

.brand-footer {
  margin: 0 22px;
  padding: 21px 12px calc(25px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  text-align: center;
}

.excellence {
  margin: 0;
  font-family: "Segoe Script", "Bradley Hand", "Snell Roundhand", "Apple Chancery", cursive;
  font-size: 1rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.025em;
}

.detail-page {
  padding-bottom: calc(27px + env(safe-area-inset-bottom));
}

.detail-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 8px 20px;
  border-bottom: 1px solid var(--line);
}

.back-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  padding: 0 8px 0 0;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
}

.back-link span {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  line-height: 0;
}

.monogram {
  font-family: var(--serif);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
}

.detail-hero {
  display: grid;
  justify-items: center;
  padding: 36px 24px 33px;
  text-align: center;
}

.detail-kicker {
  margin-bottom: 23px;
  color: var(--muted);
}

.detail-image-frame {
  width: min(278px, 72vw);
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.detail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}

.detail-title {
  margin: 20px 0 0;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 12vw, 4.1rem);
  font-weight: 500;
  line-height: 1;
}

.detail-subtitle {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ingredients {
  padding: 33px 22px 12px;
}

.ingredients-kicker {
  color: var(--muted);
  text-align: center;
}

.ingredients-title {
  margin: 4px 0 22px;
  font-family: var(--serif);
  font-size: clamp(2rem, 8vw, 2.7rem);
  font-weight: 500;
  text-align: center;
}

.ingredient-list {
  margin: 0;
  padding: 0 17px;
  border: 1px solid var(--ink);
  list-style: none;
}

.ingredient-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  min-height: 54px;
  border-bottom: 1px solid var(--line);
}

.ingredient-item:last-child {
  border-bottom: 0;
}

.ingredient-number {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 0.8rem;
}

.ingredient-name {
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.35;
}

.provisional-note {
  max-width: 470px;
  margin: 17px auto 0;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.65;
  text-align: center;
}

.detail-footer {
  margin: 30px 22px 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.detail-footer-brand {
  margin: 0 0 7px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
}

noscript {
  display: block;
  padding: 24px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
}

@media (min-width: 681px) {
  body {
    padding-block: 24px;
  }

  .site-shell {
    border: 1px solid #d7d7d3;
  }

  .product-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding-inline: 22px;
  }

  .product-image-frame {
    width: 184px;
  }

  .product-name {
    font-size: 2rem;
  }

  .product-name--long {
    font-size: 1.55rem;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .page {
    animation: none;
  }

  .product-link::after,
  .product-image-frame {
    transition: none;
  }
}
