:root {
  --paper: #EAE7E0;
  --ink: #1B1B18;
  --caption: #6B6862;
  --pitch: #3F5233;
  --hairline: #C9C3B8;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--paper);
  font-family: 'IBM Plex Mono', monospace;
  color: var(--ink);
}

/* ---------- Section banner ---------- */

.boc-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  background: #0A0A0A;
}

.boc-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.boc-banner-copy {
  position: absolute;
  top: 50%;
  right: 6vw;
  transform: translateY(-50%);
  text-align: right;
  max-width: 46ch;
}

.boc-banner-copy .eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: #C9D6C2;
  margin-bottom: 14px;
}

.boc-banner-copy h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: 0.02em;
  line-height: 1.02;
  color: #F5F3EE;
}

.boc-banner-sub {
  margin-top: 18px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #C7C3BA;
}

@media (max-width: 700px) {
  .boc-banner {
    aspect-ratio: 4 / 5;
  }
  .boc-banner-copy {
    right: 6vw;
    left: 6vw;
    text-align: left;
    max-width: none;
  }
}

/* ---------- Grid ---------- */

.boc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1px;
  background: var(--hairline);
  padding: 1px;
}

.boc-card {
  background: var(--paper);
  cursor: pointer;
  overflow: hidden;
}

.boc-card-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #ddd;
}

.boc-card-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.boc-card:hover .boc-card-frame img {
  transform: scale(1.04);
}

.boc-card-tag {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 20px 4px 20px;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  color: var(--caption);
}

.boc-card-tag .no {
  color: var(--pitch);
  font-weight: 500;
}

.boc-card-title {
  padding: 4px 20px 4px 20px;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.boc-card-native {
  padding: 0 20px 18px 20px;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--pitch);
}

.boc-card-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 18px 20px;
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  color: var(--caption);
}

.boc-card-toggle .plus {
  display: inline-block;
  transition: transform 0.35s ease;
  font-size: 0.9rem;
  color: var(--pitch);
}

.boc-card.is-open .boc-card-toggle .plus {
  transform: rotate(45deg);
}

.boc-card-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.boc-card.is-open .boc-card-panel {
  grid-template-rows: 1fr;
}

.boc-card-panel-inner {
  overflow: hidden;
}

.boc-card-panel-content {
  padding: 0 20px 24px 20px;
  border-top: 1px solid var(--hairline);
  padding-top: 16px;
  margin: 0 20px 0 20px;
  padding-left: 0;
  padding-right: 0;
}

.boc-card-panel-content .label {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--pitch);
  margin-bottom: 6px;
}

.boc-card-panel-content .meal {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 16px;
}

.boc-card-panel-content .edge-label {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--pitch);
  margin-bottom: 6px;
}

.boc-card-panel-content .edge {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--caption);
  padding-bottom: 24px;
}

/* ---------- Interstitial ---------- */

.boc-interstitial {
  width: 100%;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  background: #0A0A0A;
}

.boc-interstitial-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 700px) {
  .boc-interstitial {
    aspect-ratio: 4 / 5;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .boc-card-frame img,
  .boc-card-toggle .plus,
  .boc-card-panel {
    transition: none !important;
  }
}
