/* Orbra Journal — luxury-nude editorial system */
:root {
  --canvas: #F4EDE1;
  --surface: #FBF7EF;
  --near-white: #FCF9F2;
  --ink: #392E26;
  --ink-soft: #4A3F34;
  --muted: #7A6E5E;
  --secondary: #6E6253;
  --subtle: #938678;
  --bronze: #A87C3C;
  --bronze-dark: #8E6932;
  --sage: #6E8160;
  --clay: #A65A3A;
  --greige: #E0D5C3;
  --border: #D8CDBA;
  --border-light: #E4DBCC;
  --tint-gold: #F6EEDC;
  --tint-sage: #EDF0E8;
  --tint-terracotta: #F8EDE6;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  background: var(--canvas);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--bronze-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; border-radius: 2px; }

/* ---------- Header ---------- */
.site-header {
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand .journal { color: var(--bronze); font-style: italic; }
.header-cta {
  display: inline-block;
  background: var(--ink);
  color: var(--near-white);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 999px;
  letter-spacing: 0.01em;
}
.header-cta:hover { background: var(--ink-soft); text-decoration: none; }

/* ---------- Sun-horizon divider (signature) ---------- */
.sun-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 56px auto;
  max-width: 320px;
}
.sun-divider::before,
.sun-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}
.sun-divider .sun {
  width: 14px;
  height: 7px;
  border-radius: 14px 14px 0 0;
  background: var(--bronze);
  margin: 0 14px;
}

/* ---------- Index hero ---------- */
.hero {
  max-width: 720px;
  margin: 48px auto 0;
  padding: 0 24px;
  text-align: center;
}
.hero .eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 18px;
}
.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: clamp(34px, 6vw, 52px);
  line-height: 1.18;
  margin-bottom: 18px;
}
.hero p {
  color: var(--secondary);
  font-size: 18px;
  max-width: 520px;
  margin: 0 auto;
}

/* ---------- Article cards ---------- */
.article-grid {
  max-width: 1080px;
  margin: 24px auto 0;
  padding: 0 24px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--bronze);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(57, 46, 38, 0.08);
}
.card a.card-link { color: inherit; }
.card a.card-link:hover { text-decoration: none; }
.card .kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 12px;
}
.card h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.3;
  margin-bottom: 12px;
}
.card p {
  font-size: 15px;
  color: var(--secondary);
  flex: 1;
}
.card .read {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--bronze-dark);
}
.card.sage { border-left-color: var(--sage); background: var(--tint-sage); }
.card.sage .kicker { color: var(--sage); }
.card.terracotta { border-left-color: var(--clay); background: var(--tint-terracotta); }
.card.terracotta .kicker { color: var(--clay); }
.card.gold { background: var(--tint-gold); }

/* ---------- Article page ---------- */
.article {
  max-width: 680px;
  margin: 40px auto 0;
  padding: 0 24px;
}
.article .eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 16px;
}
.article h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: clamp(30px, 5.5vw, 44px);
  line-height: 1.2;
  margin-bottom: 16px;
}
.article .meta {
  font-size: 14px;
  color: var(--subtle);
  margin-bottom: 8px;
}
.article .lede {
  font-size: 20px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 28px 0 8px;
}
.article h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: 27px;
  line-height: 1.3;
  margin: 48px 0 14px;
}
.article h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 32px 0 10px;
}
.article p { margin: 0 0 20px; color: var(--ink-soft); }
.article ul, .article ol { margin: 0 0 20px 24px; color: var(--ink-soft); }
.article li { margin-bottom: 10px; }
.article strong { color: var(--ink); font-weight: 600; }
.article blockquote {
  border-left: 3px solid var(--bronze);
  background: var(--tint-gold);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin: 28px 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink);
}

/* App verdict rows for listicles */
.app-row {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 24px 26px;
  margin: 0 0 18px;
}
.app-row h3 { margin: 0 0 8px; }
.app-row .best-for {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 10px;
}
.app-row p { margin-bottom: 0; font-size: 16px; }
.app-row.featured {
  background: var(--tint-gold);
  border-left: 3px solid var(--bronze);
}

/* ---------- CTA block ---------- */
.cta-block {
  background: var(--greige);
  border-radius: 18px;
  max-width: 680px;
  margin: 56px auto;
  padding: 44px 36px;
  text-align: center;
}
.cta-block .sun {
  width: 28px;
  height: 14px;
  border-radius: 28px 28px 0 0;
  background: var(--bronze);
  margin: 0 auto 18px;
}
.cta-block h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: 26px;
  margin: 0 0 10px;
}
.cta-block p {
  color: var(--secondary);
  font-size: 16px;
  max-width: 440px;
  margin: 0 auto 24px;
}
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-store {
  display: inline-block;
  background: var(--ink);
  color: var(--near-white);
  font-size: 15px;
  font-weight: 500;
  padding: 13px 28px;
  border-radius: 999px;
}
.btn-store:hover { background: var(--ink-soft); text-decoration: none; }
.btn-store.outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-store.outline:hover { background: var(--surface); }
.cta-block .launch-note {
  font-size: 13px;
  color: var(--subtle);
  margin: 16px auto 0;
}

/* ---------- Footer ---------- */
.site-footer {
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 24px 48px;
  text-align: center;
  font-size: 14px;
  color: var(--subtle);
  border-top: 1px solid var(--border-light);
}
.site-footer a { color: var(--secondary); margin: 0 10px; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .article .lede { font-size: 18px; }
  .cta-block { margin: 40px 16px; padding: 36px 22px; }
}
