:root {
  --bg:           #f4f0e7;   /* warm off-cream, near the in-room wall color */
  --bg-soft:      #ebe4d4;   /* card surface / footer */
  --bg-card:      #ffffff;
  --text:         #2a2620;   /* dark warm-brown */
  --text-muted:   #6a6258;   /* same muted-brown as the in-room signage */
  --accent-deep:  #1c1611;   /* near-black for emphasis */
  --accent-brass: #b89968;   /* hover / focus tint */
  --accent-red:   #c82838;   /* CTA / disclosure-bar (matches the entry runner) */
  --border:       rgba(42, 38, 32, 0.14);
  --border-strong:rgba(42, 38, 32, 0.28);
  --shadow:       0 1px 2px rgba(28, 22, 17, 0.06), 0 6px 24px rgba(28, 22, 17, 0.04);
  --shadow-hover: 0 2px 4px rgba(28, 22, 17, 0.08), 0 12px 32px rgba(28, 22, 17, 0.10);
  --serif:        Georgia, "Times New Roman", serif;
  --sans:         -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
  -webkit-tap-highlight-color: transparent;
}

a { color: inherit; }

/* --- header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 19;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
}
.brand {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--accent-deep);
  white-space: nowrap;
}
.primary-nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.primary-nav a {
  text-decoration: none;
  color: var(--text-muted);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.12s ease, border-color 0.12s ease;
}
.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--accent-deep);
  border-bottom-color: var(--accent-brass);
  outline: none;
}

.experience-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--bg);
  background: var(--accent-deep);
  border: 1px solid var(--accent-brass);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}
.experience-link:hover,
.experience-link:focus-visible {
  border-color: var(--accent-red);
  background: #2a2620;
  transform: translateY(-1px);
  outline: none;
}
.experience-link-icon { color: var(--accent-brass); font-size: 14px; line-height: 1; }
.experience-link-short { display: none; }
.experience-link-hint {
  font-size: 10px;
  color: var(--accent-brass);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-left: 4px;
}

/* --- hero --- */
.hero {
  padding: 64px 24px 32px;
  max-width: 1240px;
  margin: 0 auto;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: 0.005em;
  margin: 0 0 12px;
  color: var(--accent-deep);
}
.hero p {
  margin: 0;
  font-size: 16px;
  color: var(--text-muted);
  max-width: 56ch;
}
.hero-disclosure {
  margin-top: 14px !important;
  font-size: 12px !important;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  opacity: 0.75;
}

/* --- catalog (rendered by shop.js) --- */
.category {
  padding: 32px 24px 16px;
  max-width: 1240px;       /* caps the product grid at 5 columns on wide screens */
  margin: 0 auto;
}
.category-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.category h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 3.5vw, 32px);
  letter-spacing: 0.22em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin: 0;
}
.category-count {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

/* --- card --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.card:hover,
.card:focus-within {
  transform: translateY(-2px);
  border-color: var(--accent-brass);
  box-shadow: var(--shadow-hover);
}
.card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.card-link:focus-visible { outline: 2px solid var(--accent-brass); outline-offset: 2px; }
.card-image {
  aspect-ratio: 4 / 5;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.3;
  margin: 0;
  color: var(--accent-deep);
  /* clamp to 2 lines for consistent card height */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta {
  margin: 6px 0 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.card-meta:empty { display: none; }
.card-desc {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}
.card-desc:empty { display: none; }
.card-price {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  color: var(--accent-deep);
  letter-spacing: 0.01em;
}
.card-cta {
  margin: 14px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-red);
  letter-spacing: 0.02em;
}

/* --- error --- */
.catalog-error {
  margin: 32px 24px;
  padding: 16px 20px;
  border: 1px solid var(--accent-red);
  border-radius: 8px;
  background: rgba(200, 40, 56, 0.06);
  color: var(--accent-red);
  font-size: 14px;
}

/* --- footer --- */
.site-footer {
  margin-top: 48px;
  padding: 32px 24px 40px;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
}
.footer-disclosure {
  margin: 0 0 12px;
  max-width: 72ch;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
.footer-disclosure strong { color: var(--text); font-family: var(--serif); font-weight: 400; }
.footer-meta {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.footer-meta a { color: var(--text-muted); text-decoration: none; border-bottom: 1px solid var(--border); }
.footer-meta a:hover { color: var(--accent-deep); border-bottom-color: var(--accent-brass); }

/* --- mobile --- */
@media (max-width: 700px) {
  .primary-nav { display: none; }
  .experience-link-label { display: none; }
  .experience-link-short { display: inline; }
  .experience-link-hint { display: none; }
  .experience-link { padding: 8px 14px; }
  .site-header { padding: 12px 16px; gap: 12px; }
  .brand { font-size: 18px; letter-spacing: 0.02em; }
  .hero { padding: 40px 16px 24px; }
  .category { padding: 24px 16px 8px; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .card-image { padding: 12px; }
  .card-body { padding: 12px; }
  .card-name { font-size: 14px; }
  .card-cta { font-size: 12px; }
  .site-footer { padding: 24px 16px 32px; }
}

