/* ============================================================
   Fancy Cheese — styles
   Paper + ink editorial system pulled from the label artwork.
   ============================================================ */

:root {
  --paper: #fcf7f1;        /* matches the cream inside the badge */
  --paper-deep: #f3ebdf;
  --ink: #171310;
  --ink-soft: #46403a;
  --line: rgba(23, 19, 16, 0.16);
  --line-strong: rgba(23, 19, 16, 0.55);
  --brass: #a07d2c;
  --paper-on-ink: rgba(252, 247, 241, 0.92);
  --line-on-ink: rgba(252, 247, 241, 0.18);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;

  --gutter: clamp(1.25rem, 4vw, 4rem);
  --section-pad: clamp(4.5rem, 10vw, 9rem);
}

/* ------------------------------- base ------------------------------- */

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

/* film grain over everything, very quiet */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 2000;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.045;
}

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

a {
  color: inherit;
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 560;
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0;
}

.container {
  width: min(100% - 2 * var(--gutter), 82rem);
  margin-inline: auto;
}

/* small uppercase label used everywhere */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* ------------------------------ buttons ------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  border: 1px solid var(--ink);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.btn-solid {
  background: var(--ink);
  color: var(--paper);
}

.btn-solid:hover {
  background: transparent;
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.on-ink .btn {
  border-color: var(--paper-on-ink);
}

.on-ink .btn-solid {
  background: var(--paper);
  color: var(--ink);
}

.on-ink .btn-solid:hover {
  background: transparent;
  color: var(--paper-on-ink);
}

.on-ink .btn-ghost {
  color: var(--paper-on-ink);
}

.on-ink .btn-ghost:hover {
  background: var(--paper);
  color: var(--ink);
}

/* ------------------------------- header ------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.site-header.scrolled {
  background: rgba(252, 247, 241, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand img {
  width: 62px;
  height: auto;
  transition: transform 0.3s ease;
}

.brand:hover img {
  transform: rotate(-4deg);
}

.brand span {
  font-family: var(--serif);
  font-weight: 640;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.5vw, 2.4rem);
}

.site-nav a:not(.btn) {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  padding: 0.35rem 0;
}

.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.site-nav a:not(.btn):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav .btn {
  padding: 0.62rem 1.25rem;
}

.menu-toggle {
  display: none;
  appearance: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--ink);
  margin: 6px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* full-screen mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--paper-on-ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--gutter);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 9vw, 4rem);
  font-weight: 560;
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--line-on-ink);
  transition: padding-left 0.25s ease;
}

.mobile-menu a:hover {
  padding-left: 0.75rem;
}

.mobile-menu .menu-contact {
  margin-top: 2.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  line-height: 2;
  opacity: 0.75;
}

.mobile-menu .menu-close {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  background: none;
  border: 0;
  color: inherit;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
}

/* -------------------------------- hero -------------------------------- */

.hero {
  padding-top: clamp(7rem, 16vh, 10rem);
  text-align: center;
  position: relative;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.hero .eyebrow::before,
.hero .eyebrow::after {
  content: "";
  width: clamp(1.5rem, 6vw, 4rem);
  height: 1px;
  background: var(--line-strong);
}

.hero-title {
  font-size: clamp(3.6rem, 16.5vw, 15rem);
  font-weight: 620;
  line-height: 0.86;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 1.2rem 0 0;
}

.hero-title span {
  display: block;
}

.hero-sub {
  max-width: 34rem;
  margin: 1.8rem auto 0;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.7;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 2.2rem;
}

/* media band under the hero type, with the badge stamped on the seam */
.hero-media-wrap {
  position: relative;
  margin-top: clamp(3.5rem, 8vw, 6rem);
}

.hero-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -55%) rotate(-5deg);
  width: clamp(110px, 15vw, 200px);
  z-index: 5;
  filter: drop-shadow(0 12px 24px rgba(23, 19, 16, 0.25));
}

.hero-tray {
  display: flex;
  justify-content: center;
  padding-inline: var(--gutter);
}

.hero-tray img {
  width: min(80vw, 34rem);
  height: auto;
  filter: drop-shadow(0 45px 65px rgba(23, 19, 16, 0.3));
  animation: floaty 9s ease-in-out infinite;
}

@keyframes floaty {
  50% {
    transform: translateY(-14px);
  }
}

/* ------------------------- media placeholders ------------------------- */
/* Every photo/video slot sits in a .media box. If the file is missing,
   the box shows an intentional-looking ruled placeholder instead. */

.media {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(-45deg, transparent 0 18px, rgba(23, 19, 16, 0.045) 18px 19px),
    var(--paper-deep);
  border: 1px solid var(--line);
}

.media > img,
.media > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

.media::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(23, 19, 16, 0.4);
  z-index: 1;
  text-align: center;
  padding: 1rem;
}

/* ------------------------------- marquee ------------------------------- */

.marquee {
  background: var(--ink);
  color: var(--paper-on-ink);
  overflow: hidden;
  padding: 0.95rem 0;
  border-block: 1px solid var(--ink);
}

.marquee .track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 30s linear infinite;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee:hover .track {
  animation-play-state: paused;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ----------------------------- cert strip ----------------------------- */

.cert-strip {
  padding-top: clamp(1rem, 2vw, 1.5rem);
  /* the craft section's own top padding provides the space below */
  margin-bottom: calc(-1 * var(--section-pad) / 1.4);
}

.cert-strip .eyebrow {
  text-align: center;
}

.cert-logos {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem clamp(2.5rem, 7vw, 5.5rem);
}

.cert-logos a {
  display: block;
}

.cert-logos img {
  width: auto;
  height: 46px;
  opacity: 0.85;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.cert-logos .cert-crc {
  height: 94px;
}

.cert-logos a:hover img {
  opacity: 1;
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .cert-logos img {
    height: 34px;
  }

  .cert-logos .cert-crc {
    height: 70px;
  }
}

/* ------------------------------ sections ------------------------------ */

.section {
  padding-block: var(--section-pad);
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.section-head .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--brass);
  white-space: nowrap;
}

.section-head .line {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.section-title {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  max-width: 18ch;
}

.section-title em {
  font-style: italic;
  font-weight: 420;
}

/* ------------------------------- craft ------------------------------- */

.craft-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.craft-copy .section-title {
  margin-bottom: 1.8rem;
}

.craft-copy p {
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 52ch;
}

.craft-points {
  margin-top: 2.5rem;
  display: grid;
  gap: 0;
}

.craft-points li {
  list-style: none;
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 500;
}

.craft-points li:last-child {
  border-bottom: 1px solid var(--line);
}

.craft-points .idx {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--brass);
}

.craft-media {
  position: sticky;
  top: 7rem;
}

.craft-media .media {
  aspect-ratio: 4 / 5;
}

.craft-media figcaption {
  margin-top: 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ------------------------------- cheese ------------------------------- */

.cheese-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
}

.cheese-card {
  text-decoration: none;
  display: block;
}

.cheese-card .media {
  aspect-ratio: 4 / 5;
}

.cheese-card .media > img {
  transition: transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.cheese-card:hover .media > img {
  transform: scale(1.045);
}

.cheese-card h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  margin-top: 1.1rem;
}

.cheese-card p {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.cheese-note {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
}

.cheese-note p {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  color: var(--ink-soft);
}

/* ----------------------------- photo band ----------------------------- */

.photo-band {
  height: clamp(18rem, 64vh, 38rem);
  overflow: hidden;
}

.photo-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ------------------------------ platters ------------------------------ */

.platters {
  background: var(--ink);
  color: var(--paper-on-ink);
}

.platters .eyebrow {
  color: rgba(252, 247, 241, 0.6);
}

.platters .section-head .line {
  background: var(--line-on-ink);
}

.platters-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.tray-stack {
  position: relative;
  padding-bottom: 14%;
}

.tray-stack .tray-board {
  display: block;
  width: min(72%, 26rem);
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 35px 55px rgba(0, 0, 0, 0.55));
}

.tray-stack .tray-round {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(52%, 19rem);
  height: auto;
  filter: drop-shadow(0 25px 45px rgba(0, 0, 0, 0.6));
  will-change: transform;
}

.platters-copy .section-title {
  margin-bottom: 1.6rem;
}

.platters-copy > p {
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.8;
  color: rgba(252, 247, 241, 0.75);
  max-width: 48ch;
}

.platter-tiers {
  margin: 2.2rem 0 0;
  padding: 0;
}

.platter-tiers li {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line-on-ink);
}

.platter-tiers li:last-child {
  border-bottom: 1px solid var(--line-on-ink);
}

.platter-tiers .tier {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 540;
}

.platter-tiers .desc {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: rgba(252, 247, 241, 0.6);
  text-align: right;
}

.platters-copy .hero-actions {
  justify-content: flex-start;
  margin-top: 2.4rem;
}

/* ------------------------------- gallery ------------------------------- */

#gallery {
  padding-top: calc(var(--section-pad) * 0.45);
}

#gallery .section-head {
  margin-bottom: clamp(0.9rem, 2vw, 1.25rem);
}

.gallery-lede {
  margin: 0 0 clamp(1.75rem, 4vw, 3rem);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  color: var(--ink-soft);
}

.gallery-lede strong {
  font-weight: 640;
  color: var(--ink);
}

.gallery-grid {
  columns: 3;
  column-gap: 1.2rem;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1.2rem;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: zoom-in;
  padding: 0;
  width: 100%;
  background: var(--paper-deep);
  display: block;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.gallery-item:hover img,
.gallery-item:hover video {
  transform: scale(1.03);
}

.gallery-item .play-badge {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: rgba(23, 19, 16, 0.75);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  pointer-events: none;
}

.gallery-item {
  animation: gallery-in 0.55s cubic-bezier(0.2, 0.6, 0.2, 1) both;
}

@keyframes gallery-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

.gallery-more {
  display: flex;
  justify-content: center;
  margin-top: clamp(1.8rem, 4vw, 2.8rem);
}

.gallery-empty {
  border: 1px dashed var(--line-strong);
  padding: clamp(3rem, 8vw, 6rem) 2rem;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ink-soft);
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(15, 12, 10, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
}

.lightbox.open {
  display: flex;
}

.lightbox .stage {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox .stage img,
.lightbox .stage video {
  max-width: 92vw;
  max-height: 86vh;
  width: auto;
  height: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox button {
  position: absolute;
  background: none;
  border: 0;
  color: rgba(252, 247, 241, 0.85);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 1rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.lightbox button:hover {
  color: #fff;
  transform: scale(1.08);
}

.lightbox .lb-close {
  top: 0.6rem;
  right: 0.6rem;
  font-size: 2.4rem;
}

.lightbox .lb-prev {
  left: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox .lb-next {
  right: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
}

/* -------------------------------- visit -------------------------------- */

.visit-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.visit-address {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 560;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.visit-address a {
  text-decoration: none;
  background-image: linear-gradient(var(--ink), var(--ink));
  background-repeat: no-repeat;
  background-size: 0 2px;
  background-position: 0 96%;
  transition: background-size 0.4s ease;
}

.visit-address a:hover {
  background-size: 100% 2px;
}

.visit-phone {
  display: inline-block;
  margin-top: 1.6rem;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  font-weight: 500;
  text-decoration: none;
  color: var(--brass);
}

.visit-meta {
  border-top: 1px solid var(--line);
}

.visit-meta .row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.visit-meta .row span:first-child {
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--ink-soft);
  padding-top: 0.15rem;
}

.visit-meta .row span:last-child {
  text-align: right;
}

.visit-actions {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* ------------------------------- footer ------------------------------- */

.site-footer {
  background: var(--ink);
  color: var(--paper-on-ink);
  padding: clamp(3.5rem, 8vw, 6rem) 0 2rem;
  overflow: hidden;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2.5rem;
}

.footer-brand img {
  width: 120px;
}

.footer-col h4 {
  margin: 0 0 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(252, 247, 241, 0.55);
}

.footer-col a,
.footer-col p {
  display: block;
  margin: 0 0 0.55rem;
  font-size: 0.92rem;
  color: var(--paper-on-ink);
  text-decoration: none;
  line-height: 1.6;
}

.footer-col a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-word {
  font-family: var(--serif);
  font-weight: 640;
  font-size: clamp(2.6rem, 11.4vw, 11rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-align: center;
  margin-top: clamp(2.5rem, 6vw, 5rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(252, 247, 241, 0.28);
  user-select: none;
  white-space: nowrap;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-on-ink);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: rgba(252, 247, 241, 0.5);
}

.footer-base a {
  color: inherit;
  text-decoration: none;
}

.footer-base a:hover {
  color: var(--paper-on-ink);
}

/* ---------------------------- kosher page ---------------------------- */

.page-hero {
  padding-top: clamp(8rem, 18vh, 11rem);
}

.page-title {
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: 15ch;
  margin: 1.2rem auto 0;
}

.page-title em {
  font-style: italic;
  font-weight: 420;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
}

.cert-card {
  border: 1px solid var(--line);
  background: var(--paper-deep);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  display: flex;
  flex-direction: column;
}

.cert-card .cert-abbr {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 600;
  line-height: 1;
}

.cert-card .cert-name {
  margin-top: 0.7rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
}

.cert-card p {
  margin: 1rem 0 1.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.cert-card .cert-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.cert-card .cert-actions .btn {
  padding: 0.62rem 1.2rem;
  font-size: 0.72rem;
}

.cert-facts {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

/* ------------------------------- reveal ------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ----------------------------- responsive ----------------------------- */

@media (max-width: 900px) {
  .site-nav a:not(.btn) {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .craft-grid,
  .platters-grid,
  .visit-grid {
    grid-template-columns: 1fr;
  }

  .craft-media {
    position: static;
    order: -1;
  }

  .cheese-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cert-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    columns: 2;
  }

  .platter-tiers .desc {
    max-width: 55%;
  }
}

@media (max-width: 520px) {
  .brand span {
    display: none;
  }

  .site-nav .btn {
    padding: 0.55rem 1.05rem;
    font-size: 0.72rem;
  }

  .hero-tray img {
    width: min(88vw, 34rem);
  }

  .gallery-grid {
    columns: 2;
    column-gap: 0.7rem;
  }

  .gallery-item {
    margin-bottom: 0.7rem;
  }

  .footer-word {
    -webkit-text-stroke-width: 0.6px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .marquee .track {
    animation: none;
  }

  .hero-tray img {
    animation: none;
  }

  .tray-stack .tray-round {
    transform: none !important;
  }

  .cheese-card .media > img,
  .gallery-item img,
  .gallery-item video {
    transition: none;
  }

  .gallery-item {
    animation: none;
  }
}
