:root {
  --bg: #f5f3f0;
  --ink: #111111;
  --ink-dim: #999990;
  --rule: #e0ddd8;
  --nav-h: 52px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Archivo Narrow', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 400;
  overflow-x: clip;
  text-transform: uppercase;
}

body {
  min-height: 100vh;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}

/* ── Site Nav ── */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  color: var(--ink);
}

.nav-brand-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.18em;
  padding-left: 0.18em;
  line-height: 1;
}

.nav-links {
  display: flex;
  gap: 14px;
  align-items: center;
}

.nav-links a {
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--ink-dim);
  text-decoration: none;
  font-weight: 400;
  padding-left: 0.3em;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--ink);
  font-weight: 700;
}

/* ── Landing ── */

.landing {
  min-height: calc(100vh - var(--nav-h));
  background: #F2E8D0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.landing-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 28px 64px;
}

.landing-mark svg {
  width: 108px;
  height: auto;
  display: block;
  margin: 0 auto 28px;
}

.landing-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 72px;
  letter-spacing: 0.18em;
  padding-left: 0.18em;
  line-height: 1;
  color: #0C1520;
}

.landing-tagline {
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: #6b5f45;
  margin-top: 10px;
  padding-left: 2.2px;
}

.landing-cta {
  display: inline-block;
  margin-top: 48px;
  padding: 14px 40px;
  border: 1px solid #0C1520;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.45em;
  padding-left: calc(0.45em + 40px);
  color: #0C1520;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.landing-cta:hover {
  background: #0C1520;
  color: #F2E8D0;
}

.landing-info {
  margin-top: 40px;
  font-size: 9px;
  letter-spacing: 0.3em;
  color: #6b5f45;
  line-height: 2.4;
  padding-left: 0.3em;
}

.landing-info span { color: #0C1520; }

/* ── Menu Page ── */

.wrap { padding: 32px 28px 96px; }

.menu-header {
  text-align: center;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 4px;
  width: 100%;
}

.brand-mark { flex-shrink: 0; }

.brand-mark svg {
  width: 83px;
  height: auto;
  display: block;
}

.header-text {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.wordmark {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 42px;
  letter-spacing: 0.18em;
  line-height: 1;
  color: var(--ink);
}

.tagline {
  font-family: 'Outfit', sans-serif;
  margin-top: 6px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--ink-dim);
  padding-left: 2.2px;
}

.tabs {
  display: flex;
  margin-bottom: 40px;
}

.tab {
  flex: 1;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Archivo Narrow', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--ink-dim);
  padding: 0;
  text-align: center;
}

.tab.active {
  color: var(--ink);
  font-weight: 700;
}

section.course { margin-bottom: 72px; }

.course-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.45em;
  color: var(--ink);
  padding-left: 0.45em;
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 8px;
}

.section-note {
  font-size: 9px;
  letter-spacing: 0.25em;
  color: var(--ink-dim);
  margin-bottom: 8px;
}

.size-header {
  text-align: right;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--ink-dim);
  margin-bottom: 4px;
  padding-right: 0.3em;
}

.items { list-style: none; }

.item {
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}

.item:last-child { border-bottom: none; }

.item-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.item-name {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.2;
  padding-left: 0.18em;
  color: var(--ink);
  flex: 1;
}

.item-name .qual {
  display: block;
  font-weight: 400;
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--ink-dim);
  margin-top: 3px;
  padding-left: 0;
}

.item-price {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--ink);
  white-space: nowrap;
}

.item-caption {
  margin-top: 8px;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--ink-dim);
  padding-left: 0.3em;
  line-height: 1.6;
}

.item-notes {
  margin-top: 4px;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--ink-dim);
  padding-left: 0.3em;
  line-height: 1.6;
  opacity: 0.6;
}

.item-variants {
  margin-top: 10px;
  border-top: 1px solid var(--rule);
}

.variant {
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
}

.variant-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.variant-name {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  flex: 1;
  padding-left: 0.15em;
}

.variant-price {
  font-size: 12px;
  font-weight: 400;
  color: var(--ink);
  white-space: nowrap;
}

.variant-caption {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--ink-dim);
  margin-top: 4px;
  padding-left: 0.25em;
  line-height: 1.6;
}

.food-link {
  margin-bottom: 64px;
  text-align: center;
}

.food-link a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 20px 32px;
  border: 1px solid var(--rule);
  color: inherit;
  transition: border-color 0.2s;
}

.food-link a:hover { border-color: var(--ink); }

.food-link-label {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.4em;
  color: var(--ink-dim);
  padding-left: 0.4em;
}

.food-link-name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--ink);
  padding-left: 0.3em;
}

/* ── Brew Page ── */

.page-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.45em;
  color: var(--ink);
  padding-left: 0.45em;
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 48px;
}

.brew-card {
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--rule);
}

/* ── Coffee Page ── */

.coffee-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 16px 32px;
}

.ocard {
  position: relative;
  width: 100%;
  aspect-ratio: 380 / 536;
  overflow: hidden;
}

.ocard--cream { background: #F2E8D0; }
.ocard--cobalt { background: #1B4DDB; }

.ocard-rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.ocard-inner {
  position: relative;
  z-index: 2;
  padding: 10% 9%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.ocard-top {
  display: flex;
  justify-content: flex-start;
}

.ocard-mark svg {
  width: 19%;
  display: block;
}

.ocard-hero {
  text-align: center;
}

.ocard-farm {
  font-weight: 700;
  font-size: clamp(28px, 9vw, 48px);
  letter-spacing: 0.04em;
  line-height: 0.95;
  margin-bottom: 10px;
}

.ocard--cream .ocard-farm { color: #0C1520; }
.ocard--cobalt .ocard-farm { color: #F2E8D0; }

.ocard-qual {
  font-weight: 700;
  font-size: clamp(7px, 2vw, 10px);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.ocard--cream .ocard-qual { color: #1B4DDB; }
.ocard--cobalt .ocard-qual { color: #F5C842; }

.ocard-origin {
  font-weight: 400;
  font-size: clamp(7px, 2vw, 10px);
  letter-spacing: 0.35em;
  margin-bottom: 14px;
}

.ocard--cream .ocard-origin { color: #6b5f45; }
.ocard--cobalt .ocard-origin { color: rgba(242,232,208,0.7); }

.ocard-notes {
  font-weight: 700;
  font-size: clamp(7px, 2vw, 10px);
  letter-spacing: 0.3em;
}

.ocard--cream .ocard-notes { color: #0C1520; }
.ocard--cobalt .ocard-notes { color: #F5C842; }

.ocard-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: clamp(7px, 2vw, 9px);
  letter-spacing: 0.4em;
}

.ocard--cream .ocard-bottom { color: #6b5f45; }
.ocard--cobalt .ocard-bottom { color: rgba(242,232,208,0.55); }

.ocard-wordmark {
  font-weight: 700;
  font-size: clamp(14px, 4.5vw, 20px);
  letter-spacing: 0.22em;
  padding-left: 0.22em;
  line-height: 1;
}

.ocard--cream .ocard-wordmark { color: #0C1520; }
.ocard--cobalt .ocard-wordmark { color: #F2E8D0; }

.brew-card:last-child {
  border-bottom: none;
}

.brew-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
}

.brew-note {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--ink-dim);
  margin-bottom: 16px;
}

.brew-name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.2em;
  padding-left: 0.2em;
  color: var(--ink);
}

.brew-type {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--ink-dim);
  padding-left: 0.3em;
}

.brew-specs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.spec {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 0;
  border-right: 1px solid var(--rule);
}

.spec:last-child { border-right: none; }

.spec-label {
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--ink-dim);
  padding-left: 0.3em;
  margin-bottom: 6px;
}

.spec-value {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--ink);
  padding-left: 0.1em;
}

.brew-steps {
  list-style: none;
  counter-reset: step;
}

.brew-steps li {
  counter-increment: step;
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--ink-dim);
  line-height: 1.6;
  align-items: baseline;
}

.brew-steps li:last-child { border-bottom: none; }

.brew-steps li::before {
  content: counter(step, decimal-leading-zero);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink);
  flex-shrink: 0;
  padding-top: 1px;
}

.brew-gear {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gear-label {
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.35em;
  color: var(--ink-dim);
  padding-left: 0.35em;
}

.gear-value {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--ink-dim);
  padding-left: 0.2em;
  line-height: 1.8;
  opacity: 0.7;
}

/* ── Contact Page ── */

.contact-section {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-block {
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-block:last-child { border-bottom: none; }

.contact-label {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.35em;
  color: var(--ink-dim);
  padding-left: 0.35em;
  display: block;
}

.contact-value {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--ink);
  padding-left: 0.18em;
  display: block;
  line-height: 1.6;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink-dim);
  font-size: 9px;
  letter-spacing: 0.3em;
  padding-left: 0.3em;
  transition: color 0.2s;
}

.contact-link:hover { color: var(--ink); }

.contact-link svg { flex-shrink: 0; }

/* ── Shared Footer ── */

footer {
  margin-top: 96px;
  padding-top: 56px;
  border-top: 1px solid var(--ink);
  text-align: center;
}

.foot-block {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--ink-dim);
  line-height: 2.2;
  margin-bottom: 28px;
  padding-left: 0.3em;
}

.foot-block strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 4px;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-dim);
  text-decoration: none;
  letter-spacing: 0.3em;
  font-size: 9px;
}

.map-link:hover { color: var(--ink); }

/* ── Animations ── */

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

.landing { animation: fade-in 0.8s ease-out; }

.site-nav { animation: fade-in 0.4s ease-out; }

section.course { margin-bottom: 72px; }
section.course:nth-of-type(1) { animation: fade-in 0.6s ease-out 0.1s both; }
section.course:nth-of-type(2) { animation: fade-in 0.6s ease-out 0.2s both; }
section.course:nth-of-type(3) { animation: fade-in 0.6s ease-out 0.3s both; }
section.course:nth-of-type(4) { animation: fade-in 0.6s ease-out 0.4s both; }
section.course:nth-of-type(5) { animation: fade-in 0.6s ease-out 0.5s both; }

/* ── Responsive ── */

@media (min-width: 481px) {
  body {
    border-left: 1px solid var(--rule);
    border-right: 1px solid var(--rule);
  }
}
