/* Journal — standalone styling.
   These pages are plain static HTML on real URLs (not part of the hash-routed
   SPA), so they can't use styles.css, which is built around the app shell.
   Kept deliberately small and self-contained. */

* { box-sizing: border-box; }

:root {
  --green: #2f5e5a;
  --pink: #ffd6e6;
  --ink: #20242c;
  --body: #3a4150;
  --muted: #8892a4;
  --line: #e6e9ef;
}

html { background: #fff; }

body {
  margin: 0;
  background: #fff;
  color: var(--body);
  font-family: "EB Garamond", Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* --- header --- */
.jr-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 22px clamp(20px, 5vw, 64px);
  background: var(--green);
}

.jr-brand {
  color: var(--pink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-decoration: none;
}

.jr-nav {
  display: flex;
  gap: clamp(16px, 3vw, 34px);
}

.jr-nav a {
  color: var(--pink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.86;
}

.jr-nav a:hover { opacity: 1; }

/* --- article --- */
.jr-main { padding: clamp(44px, 7vw, 88px) clamp(20px, 5vw, 64px) 40px; }

.jr-article {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.jr-eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.jr-article h1 {
  margin: 0 0 14px;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.jr-meta {
  margin: 0 0 40px;
  color: var(--muted);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.jr-lede {
  margin: 0 0 44px;
  color: var(--body);
  font-size: 21px;
  font-style: italic;
}

.jr-body h2 {
  margin: 46px 0 16px;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(23px, 2.6vw, 29px);
  font-weight: 500;
  line-height: 1.25;
}

.jr-body p { margin: 0 0 20px; }
.jr-body strong { color: var(--ink); font-weight: 600; }
.jr-body em { font-style: italic; }

.jr-body ul,
.jr-body ol { margin: 0 0 22px; padding-left: 24px; }
.jr-body li { margin-bottom: 10px; }

/* --- related + cta --- */
.jr-related {
  margin: 56px 0 0;
  padding: 26px 28px;
  border: 1px solid var(--line);
  background: #fafbfc;
}

.jr-related h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.jr-related ul { margin: 0; padding-left: 20px; }
.jr-related li { margin-bottom: 8px; }
.jr-related a { color: var(--green); }

.jr-cta {
  margin: 40px 0 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.jr-cta a { color: var(--green); text-decoration: none; }
.jr-cta a:hover { text-decoration: underline; }

/* --- index list --- */
.jr-list { margin: 48px 0 0; padding: 0; list-style: none; }

.jr-card {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.jr-card:last-child { border-bottom: 1px solid var(--line); }

.jr-card h2 {
  margin: 0 0 10px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(21px, 2.4vw, 27px);
  font-weight: 500;
  line-height: 1.25;
}

.jr-card h2 a { color: var(--ink); text-decoration: none; }
.jr-card h2 a:hover { color: var(--green); }
.jr-card p { margin: 0 0 12px; color: var(--body); }

.jr-card-link {
  color: var(--green);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
}

.jr-card-link:hover { text-decoration: underline; }

/* --- footer --- */
.jr-footer {
  margin-top: 80px;
  padding: 44px clamp(20px, 5vw, 64px) 52px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.jr-foot-slogan {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 20px;
  font-style: italic;
}

.jr-foot-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 22px;
}

.jr-foot-nav a {
  color: var(--green);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
}

.jr-foot-nav a:hover { text-decoration: underline; }

.jr-foot-legal {
  margin: 0;
  color: var(--muted);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  body { font-size: 18px; }
  .jr-header { justify-content: center; text-align: center; }
}

/* --- static product pages (/shop/<id>/) --------------------------------- */

.pd-price {
  margin: 0 0 26px;
  color: var(--green);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.pd-hero {
  display: block;
  width: 100%;
  height: auto;
  max-width: 520px;
  margin: 0 auto 40px;
  background: #fff;
}

.pd-table-wrap { overflow-x: auto; margin: 0 0 12px; }

.pd-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.pd-table th,
.pd-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.pd-table th {
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.pd-note {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 17px;
  font-style: italic;
}
