/* Cafune Living — site styles */
:root {
  --cream: #f7f2e8;
  --paper: #fcf9f3;
  --ink: #24352a;
  --green: #4f6b52;
  --sage: #8fa58a;
  --sage-soft: #e6ebe0;
  --terracotta: #b23a2e;
  --line: #d9d2c3;
  --muted: #5f6b61;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --radius: 18px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green); }
a:hover { color: var(--terracotta); }

.wrap { width: min(var(--max), 100% - 48px); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(247, 242, 232, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 14px 0;
}
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  text-decoration: none; color: var(--ink);
  font-size: 15px; letter-spacing: .12em; text-transform: uppercase;
}
.nav a:hover { color: var(--terracotta); }
.nav .btn { color: var(--cream); }

.menu-toggle { display: none; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  background: var(--green);
  color: var(--cream);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 15px; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid var(--green);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.btn-ghost { background: transparent; color: var(--green); }
.btn-ghost:hover { background: var(--green); color: var(--cream); }

/* Type */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(40px, 6vw, 64px); }
h2 { font-size: clamp(30px, 4vw, 42px); }
h3 { font-size: 24px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: var(--green);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: var(--terracotta); }
.lead { font-size: 20px; color: var(--muted); max-width: 34em; }

section { padding: 96px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::after { content: ""; width: 28px; height: 1.5px; background: var(--terracotta); }

/* Hero */
.hero { padding: 72px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-art {
  aspect-ratio: 1; border-radius: 50%;
  border: 1.5px solid var(--line);
  display: grid; place-items: center;
  padding: 14%;
  background: radial-gradient(circle at 50% 45%, var(--paper), var(--cream) 70%);
}

/* Shop */
.shop { background: var(--paper); border-block: 1px solid var(--line); }
.product {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px;
}
.product ul { padding-left: 1.1em; margin: 0 0 28px; }
.product li { margin-bottom: 6px; }
.product li::marker { color: var(--terracotta); }
.tag {
  display: inline-block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  background: var(--sage-soft); color: var(--green); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}

/* little spreadsheet illustration */
.sheet {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 18px 40px -24px rgba(36, 53, 42, .35);
  overflow: hidden; font-size: 13px;
}
.sheet-bar { background: var(--green); color: var(--cream); padding: 10px 16px; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; }
.sheet table { width: 100%; border-collapse: collapse; }
.sheet th, .sheet td { padding: 9px 14px; border-bottom: 1px solid #eee7da; text-align: left; }
.sheet th { background: var(--sage-soft); font-weight: 500; color: var(--green); }
.sheet td.num, .sheet th.num { text-align: right; font-variant-numeric: tabular-nums; }
.sheet tr.total td { font-weight: 600; background: #fbf3ef; color: var(--terracotta); border-bottom: 0; }

.coming {
  margin-top: 28px; text-align: center; color: var(--muted);
  font-family: var(--serif); font-style: italic; font-size: 20px;
}

/* About */
.about .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.word-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; background: var(--paper);
}
.word-card .word { font-family: var(--serif); font-size: 52px; line-height: 1; margin: 0; }
.word-card .pron { color: var(--green); letter-spacing: .08em; margin: 10px 0 18px; }
.word-card .def { font-family: var(--serif); font-style: italic; font-size: 20px; margin: 0; }

/* Journal */
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.post-card {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: var(--ink);
  transition: transform .2s, box-shadow .2s;
}
.post-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -26px rgba(36, 53, 42, .45); color: var(--ink); }
.post-card .thumb {
  aspect-ratio: 16 / 10; display: grid; place-items: center;
  background: var(--sage-soft);
}
.post-card .thumb img { width: 34%; }
.post-card .body { padding: 24px 26px 28px; }
.post-card .meta { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--green); }
.post-card h3 { margin: 8px 0 8px; }
.post-card p { margin: 0; color: var(--muted); font-size: 16px; }
.post-card.placeholder { border-style: dashed; background: transparent; justify-content: center; text-align: center; padding: 40px; }
.post-card.placeholder:hover { transform: none; box-shadow: none; }

/* Newsletter */
.newsletter { background: var(--green); color: var(--cream); }
.newsletter h2, .newsletter .eyebrow { color: var(--cream); }
.newsletter .lead { color: #dfe6dc; margin-inline: auto; }
.signup { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.signup input[type="text"], .signup input[type="email"] {
  flex: 1 1 220px; max-width: 300px;
  padding: 14px 20px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-size: 16px; background: var(--cream); color: var(--ink);
}
.signup input:focus { outline: 2px solid var(--sage); outline-offset: 2px; }
.signup .btn { background: var(--terracotta); border-color: var(--terracotta); }
.signup .btn:hover { background: var(--ink); border-color: var(--ink); }
.consent { font-size: 14px; color: #cfd9cc; margin-top: 18px; text-align: center; }
.consent a { color: var(--cream); }
.hidden { position: absolute; left: -9999px; }

/* Footer */
.site-footer { padding: 56px 0 40px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.site-footer img { height: 44px; width: auto; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--ink); text-decoration: none; }
.footer-links a:hover { color: var(--terracotta); }

/* Article pages */
.page-hero { padding: 72px 0 24px; text-align: center; }
.page-hero .eyebrow { justify-content: center; }
.article { max-width: 700px; margin: 0 auto; padding: 24px 0 96px; }
.article p, .article li { font-size: 19px; }
.article h2 { font-size: 30px; margin-top: 1.6em; }
.article blockquote {
  margin: 2em 0; padding: 4px 0 4px 26px; border-left: 2px solid var(--terracotta);
  font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--green);
}
.article .back { display: inline-block; margin-top: 40px; }

/* Responsive */
@media (max-width: 860px) {
  section { padding: 72px 0; }
  .hero .wrap, .about .wrap, .product { grid-template-columns: 1fr; }
  .hero-art { max-width: 380px; margin: 0 auto; order: -1; }
  .product { padding: 28px; }
  .menu-toggle {
    display: inline-block; background: none; border: 1px solid var(--line); border-radius: 999px;
    padding: 8px 16px; font: inherit; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
  }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 18px; padding: 24px; background: var(--cream); border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .brand img { height: 42px; }
}
