/* ============================================================
   Tiny Corner — warm, editorial, mobile-first
   Palette: soft cream, warm clay accent, deep ink text
   ============================================================ */
:root {
  --bg: #fbf7f1;
  --surface: #ffffff;
  --ink: #2c2622;
  --ink-soft: #6b615a;
  --line: #ece3d8;
  --clay: #b56a4f;
  --clay-dark: #9c573e;
  --sage: #7d8a6f;
  --gold: #f6efdf;
  --shadow: 0 1px 2px rgba(44, 38, 34, 0.04), 0 8px 24px rgba(44, 38, 34, 0.06);
  --radius: 14px;
  --radius-sm: 9px;
  --maxw: 880px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }

a { color: var(--clay-dark); }

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

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; border-radius: 8px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.site-header .wrap {
  display: flex; flex-direction: column; gap: 2px;
}
.brand { text-decoration: none; }
.brand-mark {
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.5rem; letter-spacing: -0.01em; color: var(--ink);
}
.brand-mark span { color: var(--clay); }
.brand-tag { margin: 0; font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 32px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.74rem;
  font-weight: 600; color: var(--clay); margin: 0 0 14px;
}
.hero h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.1rem, 7vw, 3.3rem); line-height: 1.08;
  letter-spacing: -0.02em; margin: 0 0 18px; max-width: 16ch;
}
.hero h1 em { color: var(--clay); font-style: italic; }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; margin: 0; }

/* ---------- Section ---------- */
.section-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.5rem; margin: 8px 0 22px;
}

/* ---------- Home card grid ---------- */
.card-grid {
  list-style: none; margin: 0 0 64px; padding: 0;
  display: grid; gap: 22px; grid-template-columns: 1fr;
}
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(44,38,34,0.10); }
.card-link { text-decoration: none; color: inherit; display: block; }
.card-media {
  aspect-ratio: 1 / 1; background: linear-gradient(135deg, #f0e7da, #e7dccd);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
img.card-media { padding: 0; object-fit: contain; width: 100%; height: 100%; background: #fff; }
.card-media-hint, .product-media-hint {
  font-size: 0.8rem; color: var(--ink-soft); text-align: center; opacity: 0.8;
  border: 1px dashed #c9bba8; border-radius: 8px; padding: 8px 12px; background: rgba(255,255,255,0.4);
}
.card-body { padding: 20px 22px 24px; }
.card-title { font-family: var(--font-display); font-weight: 600; font-size: 1.28rem; line-height: 1.18; margin: 0 0 8px; }
.card-blurb { color: var(--ink-soft); margin: 0 0 14px; }
.card-cta { color: var(--clay-dark); font-weight: 600; font-size: 0.95rem; }

@media (min-width: 720px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Post ---------- */
.post-head { padding: 48px 20px 8px; }
.post-head h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.9rem, 5.5vw, 2.8rem); line-height: 1.1;
  letter-spacing: -0.02em; margin: 0 0 22px; max-width: 22ch;
}
.ftc {
  background: var(--gold); border: 1px solid #e7dcc4; border-radius: var(--radius-sm);
  padding: 13px 16px; font-size: 0.9rem; color: #6a5d3e; margin: 0 0 28px;
}
.post-intro p { font-size: 1.12rem; }

/* Human-tip placeholders — easy to spot, easy to delete */
.human-tip {
  background: #f4f7f0; border-left: 4px solid var(--sage);
  border-radius: 0 8px 8px 0; padding: 12px 16px;
  font-size: 0.92rem; color: #4f5a43; font-style: italic;
}

/* ---------- Product list ---------- */
.product-list { list-style: none; margin: 36px auto; padding-inline: 20px; display: grid; gap: 30px; }
.product {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1fr;
}
.product-media {
  aspect-ratio: 4 / 3; background: linear-gradient(135deg, #f0e7da, #e7dccd);
  display: flex; align-items: center; justify-content: center;
}
img.product-media { object-fit: cover; width: 100%; }
.product-info { padding: 22px 22px 26px; }
.product-heading {
  font-family: var(--font-display); font-weight: 600; font-size: 1.32rem;
  line-height: 1.2; margin: 0 0 6px; display: flex; gap: 12px; align-items: baseline;
}
.product-num {
  flex: none; font-family: var(--font-body); font-weight: 600; font-size: 0.85rem;
  color: #fff; background: var(--clay); width: 1.7em; height: 1.7em;
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
}
.product-name { font-size: 0.85rem; color: var(--ink-soft); margin: 0 0 12px; font-weight: 500; }
.product-body { margin: 0 0 14px; }
.product-consider {
  font-size: 0.92rem; color: var(--ink-soft);
  background: #faf4ee; border-radius: 8px; padding: 10px 14px; margin: 0 0 18px;
}
.consider-label { font-weight: 600; color: var(--clay-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; background: var(--clay); color: #fff;
  font-weight: 600; font-size: 0.98rem; text-decoration: none;
  padding: 12px 22px; border-radius: 999px; transition: background 0.15s ease;
}
.btn:hover { background: var(--clay-dark); }
.btn-pending {
  background: #efe7db; color: #8a7d6c; cursor: not-allowed;
  border: 1px dashed #cdbfa9;
}

@media (min-width: 680px) {
  .product { grid-template-columns: 42% 1fr; }
  .product-media { aspect-ratio: auto; height: 100%; min-height: 240px; }
  /* Center the text in the row so a tall photo's extra height is shared evenly
     above and below the text, instead of dumped under the button. */
  .product-info { display: flex; flex-direction: column; justify-content: center; }
  .product-info .btn { align-self: flex-start; }
}

/* ---------- Post footer ---------- */
.post-foot { padding: 16px 20px 64px; }
.wrap-title { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; margin: 28px 0 10px; }
.post-foot > p { font-size: 1.1rem; }
.more-rooms {
  margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line);
}
.more-rooms h3 { font-family: var(--font-display); font-size: 1.15rem; margin: 0 0 12px; }
.more-rooms ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.more-rooms a { color: var(--clay-dark); text-decoration: none; font-weight: 500; }
.more-rooms a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer {
  background: #f2ebe1; border-top: 1px solid var(--line);
  margin-top: 40px; padding: 30px 0 40px;
}
.disclosure { font-size: 0.86rem; color: var(--ink-soft); max-width: 70ch; margin: 0 0 12px; }
.copyright { font-size: 0.82rem; color: var(--ink-soft); margin: 0; }
