/* JiJi — jijilife.com · warm-dark register per BRAND.md §3b
   Newsreader (self-hosted, variable opsz) at poster sizes only; Inter everywhere else. */

@font-face {
  font-family: "Newsreader";
  src: url("/assets/newsreader.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #232120;
  --surface: #2a2725;
  --panel: #1d1b1a;
  --cream: #f5efe0;
  --body: #c9c3b6;
  --muted: #9a958d;
  --faint: #77726a;
  --hairline: rgba(245, 239, 224, 0.12);
  --hairline-strong: rgba(245, 239, 224, 0.2);
  --amber: #c9a84c;
  --amber-bright: #e0be62;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--amber); text-decoration: none; }
a:hover { color: var(--amber-bright); }

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }

/* ── nav ─────────────────────────────────────── */
.nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 26px 0;
}
.nav .brand { display: flex; align-items: center; gap: 10px; color: var(--cream); }
.nav .brand img { height: 30px; width: auto; }
.nav .links { display: flex; align-items: center; gap: 32px; }
.nav .links a { color: var(--muted); font-size: 14px; }
.nav .links a:hover { color: var(--cream); }
.btn-outline {
  border: 1px solid var(--hairline-strong); border-radius: 999px;
  padding: 9px 22px; color: var(--cream) !important; font-size: 14px; font-weight: 500;
}
.btn-outline:hover { border-color: var(--cream); }

/* ── type ────────────────────────────────────── */
.poster { font-family: var(--serif); font-weight: 500; color: var(--cream); letter-spacing: -0.01em; }
.eyebrow { color: var(--muted); font-size: 13px; letter-spacing: 0.1em; }

/* ── hero ────────────────────────────────────── */
.hero { text-align: center; padding: 84px 0 72px; }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(56px, 9vw, 104px); line-height: 1.02; margin: 0; }
.hero .sub { max-width: 620px; margin: 26px auto 0; color: var(--body); font-size: clamp(17px, 2.2vw, 20px); }
.hero .sub strong { color: var(--cream); font-weight: 500; }
.hero .cta-row { margin-top: 42px; display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.btn-primary {
  display: inline-block; background: var(--amber); color: var(--bg) !important;
  border: none; border-radius: 999px; padding: 15px 34px;
  font-family: var(--sans); font-size: 15px; font-weight: 600; cursor: pointer;
}
.btn-primary:hover { background: var(--amber-bright); }

/* ── quote interlude ─────────────────────────── */
.quote { text-align: center; padding: 0 0 76px; }
.quote blockquote {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(20px, 2.6vw, 25px); line-height: 1.5; color: #e9e2d2;
  max-width: 660px; margin: 0 auto;
}
.quote cite { display: block; margin-top: 14px; color: var(--muted); font-size: 13px; letter-spacing: 0.08em; font-style: normal; }

/* ── beats ───────────────────────────────────── */
.beat { padding: 84px 0; }
.beat.lift { background: var(--surface); }
.beat h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 4.2vw, 42px); line-height: 1.14; margin: 0; }
.beat h2 em { font-style: italic; }
.beat p { color: var(--body); margin: 18px 0 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.figure img { border-radius: 16px; }
.figure figcaption { color: var(--faint); font-size: 12.5px; text-align: center; margin-top: 10px; }
.beat.center { text-align: center; }
.beat.center h2 { max-width: 860px; margin: 0 auto; }
.beat.center p { max-width: 620px; margin-left: auto; margin-right: auto; }

/* fragments stack */
.frag { display: flex; flex-direction: column; gap: 14px; }
.frag .item {
  border: 1px solid var(--hairline); border-radius: 14px;
  padding: 16px 20px; color: var(--muted); font-size: 14.5px;
}
.frag .item.result {
  background: rgba(201, 168, 76, 0.1); border-color: rgba(201, 168, 76, 0.4);
  color: var(--amber-bright); font-weight: 500;
}

/* method chips */
.chips { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.chips span {
  border: 1px solid var(--hairline-strong); border-radius: 999px;
  padding: 8px 18px; color: var(--body); font-size: 13.5px;
}

/* ── commission / form ───────────────────────── */
.card {
  background: var(--bg); border: 1px solid var(--hairline); border-radius: 18px; padding: 28px;
}
.beat.lift .card { background: var(--panel); }
.card h3 { margin: 0; font-size: 16px; font-weight: 600; color: var(--cream); font-family: var(--sans); }
.card .hint { margin: 6px 0 0; color: var(--muted); font-size: 13.5px; }
.card input, .card textarea {
  width: 100%; margin-top: 10px; background: transparent;
  border: 1px solid var(--hairline-strong); border-radius: 12px;
  padding: 13px 16px; color: var(--cream); font-family: var(--sans); font-size: 14px;
}
.card input::placeholder, .card textarea::placeholder { color: var(--faint); }
.card input:focus, .card textarea:focus { outline: none; border-color: var(--amber); }
.card .btn-primary { width: 100%; margin-top: 16px; text-align: center; }
.ownership { margin-top: 16px; color: var(--faint); font-size: 12.5px; text-align: center; }

/* ── footer ──────────────────────────────────── */
footer {
  border-top: 1px solid var(--hairline);
  padding: 34px 0; margin-top: 20px;
}
footer .row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
footer .copyright { color: var(--faint); font-size: 13px; }
footer .links { display: flex; gap: 26px; }
footer .links a { color: var(--muted); font-size: 13px; }
footer .links a:hover { color: var(--cream); }

/* ── policy pages ────────────────────────────── */
.policy { max-width: 700px; padding: 40px 0 60px; }
.policy h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 5vw, 44px); margin: 0; }
.policy .lede { color: var(--body); margin-top: 14px; }
.policy section { margin-top: 32px; }
.policy h2 { color: var(--amber-bright); font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; margin: 0; }
.policy section p { color: var(--body); font-size: 15px; margin: 8px 0 0; }
.policy strong { color: var(--cream); font-weight: 500; }
.shot { margin: 36px auto 0; max-width: 320px; text-align: center; }
.shot img { border-radius: 18px; border: 1px solid var(--hairline-strong); }
.shot figcaption { color: var(--faint); font-size: 12px; margin-top: 10px; }

/* ── responsive ──────────────────────────────── */
@media (max-width: 860px) {
  .grid2 { grid-template-columns: 1fr; gap: 36px; }
  .grid2 .figure { order: 2; }
  .beat { padding: 60px 0; }
  .hero { padding: 60px 0 52px; }
  .nav .links a.hide-sm { display: none; }
}
