/* wristhomage — shared dark editorial shell + reading template.
 * One stylesheet across the finder homepage, per-watch pages, hub, rubric,
 * disclosure, articles and 404 — reads as one product. */

:root {
  --bg: #0c0b0a;
  --accent: #e2dac6;                 /* soft ivory — themeable (see home.css options) */
  --accent-text: #1a1714;            /* text on accent fills (light accent) */
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, "Helvetica Neue", Arial, sans-serif;
  --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;                     /* shell width (nav + footer) */
  --read: 680px;                     /* article reading column */
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: #fff;
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ambient background ------------------------------------------------------
 * Three fixed radial glows, painted via body pseudo-elements so no page
 * needs the markup — the top-center gold glow gently pulses. */
body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: -1;
}
body::before {                                  /* top-center gold, pulsing */
  top: -20%; left: 50%;
  width: 960px; height: 960px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(201,168,106,0.16), transparent 64%);
  animation: dnGlow 12s ease-in-out infinite;
}
body::after {                                   /* right white + bottom-left oxblood */
  inset: 0;
  background:
    radial-gradient(620px 620px at 114% 34%, rgba(255,255,255,0.05), transparent 68%),
    radial-gradient(600px 600px at -10% 116%, rgba(120,52,52,0.10), transparent 68%);
}
@keyframes dnGlow { 0%, 100% { opacity: 0.55; } 50% { opacity: 0.8; } }
@media (prefers-reduced-motion: reduce) { body::before { animation: none; } }

/* shell -------------------------------------------------------------------- */
.wrap { position: relative; z-index: 1; width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* wordmark + nav (matches homepage — transparent, non-sticky) */
.site-header { position: relative; z-index: 1; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; }
.brand { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: #fff; letter-spacing: -0.5px; }
.brand b { color: var(--accent); font-weight: 700; }
.nav { display: flex; gap: 28px; }
.nav a { font-family: var(--font-display); font-size: 15px; font-weight: 500; color: rgba(255,255,255,0.72); }
.nav a:hover { color: #fff; }

/* footer (matches homepage) */
.site-footer { border-top: 1px solid rgba(255,255,255,0.09); margin-top: 96px; padding: 40px 0 56px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; }
.site-footer { color: rgba(255,255,255,0.6); font-size: 14px; }
.site-footer a { color: rgba(255,255,255,0.6); }
.site-footer a:hover { color: #fff; }

/* article / reading template (section 8) ---------------------------------- */
.article { max-width: var(--read); margin: 0 auto; padding: 36px 0 20px; }

.crumbs { font-family: var(--font-text); font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.42); }
.crumbs a { color: rgba(255,255,255,0.6); }
.crumbs a:hover { color: #fff; }
.article > .crumbs:first-child { margin-bottom: 28px; }

.article h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 6vw, 46px); line-height: 1.06;
  font-weight: 800; letter-spacing: -1.6px;
  margin: 14px 0 0;
}

.lede {
  font-family: var(--font-text);
  font-size: 21px; line-height: 1.5; font-weight: 400;
  color: rgba(255,255,255,0.82);
  margin: 24px 0 0;
}

/* disclosure callout */
.disc-bar {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 28px 0 40px;
  color: rgba(255,255,255,0.6);
  font-size: 13.5px; line-height: 1.55;
}
.disc-bar a { color: var(--accent); border-bottom: 1px solid rgba(226,218,198,0.35); }
.disc-bar a:hover { border-color: var(--accent); }

/* prose */
.article p, .article li { font-size: 17.5px; line-height: 1.72; color: rgba(255,255,255,0.72); }
.article p { margin: 0 0 26px; }
.article ul, .article ol { margin: 0 0 26px; padding-left: 22px; }
.article li { margin: 0 0 8px; }
.article strong { color: #fff; font-weight: 600; }
.article em { color: rgba(255,255,255,0.92); font-style: italic; }
.article p a, .article li a { color: var(--accent); border-bottom: 1px solid rgba(226,218,198,0.35); }
.article p a:hover, .article li a:hover { border-color: var(--accent); }
/* keep buttons and breadcrumb links from inheriting the ivory prose-link style */
.article .crumbs a { color: rgba(255,255,255,0.6); border-bottom: none; }
.article .crumbs a:hover { color: #fff; }
.article .btn { color: var(--accent-text); border-bottom: none; }
.article .btn:hover { border-color: transparent; }

.article h2 {
  font-family: var(--font-display);
  font-size: 27px; line-height: 1.2; font-weight: 700; letter-spacing: -0.6px;
  color: #fff; margin: 44px 0 16px;
}
.article h3 {
  font-family: var(--font-display);
  font-size: 20px; line-height: 1.25; font-weight: 700; letter-spacing: -0.3px;
  color: #fff; margin: 32px 0 12px;
}

/* tables — wrapped so wide tables scroll inside their own rounded container */
.tablewrap { overflow-x: auto; margin: 24px 0; border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; }
.article table { width: 100%; border-collapse: collapse; font-family: var(--font-text); font-size: 14.5px; }
.article thead th {
  background: rgba(255,255,255,0.03);
  font-family: var(--font-display); font-weight: 700; color: var(--accent);
  border-top: none;
}
.article th, .article td { text-align: left; padding: 13px 16px; border-top: 1px solid rgba(255,255,255,0.08); vertical-align: top; }
.article tbody td { color: rgba(255,255,255,0.8); }
.article tbody td strong { color: #fff; font-weight: 600; }
.article tbody td b { color: var(--accent); font-weight: 700; }
.article td .muted, .muted { color: rgba(255,255,255,0.45); }

/* summary / note callout + pull quote */
.callout {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-left: 3px solid var(--accent);
  border-radius: 14px;
  padding: 16px 20px; margin: 28px 0;
  color: rgba(255,255,255,0.75); font-size: 15px; line-height: 1.6;
}
.callout strong { color: #fff; }
.callout a { color: var(--accent); border-bottom: 1px solid rgba(226,218,198,0.35); }

blockquote {
  font-family: var(--font-display);
  font-size: 22px; line-height: 1.4; font-weight: 600; letter-spacing: -0.4px;
  color: #fff; border-left: 3px solid var(--accent);
  padding-left: 24px; margin: 34px 0;
}

/* button (404 + inline CTAs) */
.btn {
  display: inline-block;
  background: var(--accent); color: var(--accent-text);
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  padding: 12px 22px; border-radius: 12px; border: none; cursor: pointer;
  transition: filter 0.15s ease;
}
.btn:hover { filter: brightness(1.06); text-decoration: none; }

/* responsive -------------------------------------------------------------- */
@media (max-width: 620px) {
  .site-header .wrap { padding: 18px 20px; }
  .nav { gap: 16px; }
  .wrap { padding: 0 20px; }
  .article { padding-top: 26px; }
  .article h1 { letter-spacing: -1px; }
  .lede { font-size: 19px; }
}

/* affiliate "Shop" buttons in dupe tables --------------------------------- */
a.shop {
  display: inline-block; white-space: nowrap;
  padding: 4px 11px; border-radius: 999px;
  background: var(--accent); color: var(--accent-text) !important;
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  text-decoration: none; border: none !important; line-height: 1.4;
}
a.shop:hover { filter: brightness(1.08); border: none !important; }

/* ---- wristhomage finder + homepage ------------------------------------- */
.hero { padding: 56px 0 20px; }
.hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px,5vw,52px);
  letter-spacing: -1.2px; line-height: 1.03; margin: 0 0 14px; }
.hero .lede { max-width: var(--read); font-size: 19px; color: rgba(255,255,255,0.82); }
.finder { padding: 8px 0 40px; }
.controls { display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; }
#q { width: 100%; box-sizing: border-box; padding: 14px 16px; font-size: 17px;
  color: #fff; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px; font-family: var(--font-text); }
#q::placeholder { color: rgba(255,255,255,0.4); }
#q:focus { outline: none; border-color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 7px 13px; border-radius: 999px; font-size: 13px; font-family: var(--font-display);
  font-weight: 600; color: rgba(255,255,255,0.72); background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--accent); color: var(--accent-text); border-color: var(--accent); }
.count { font-size: 13px; color: rgba(255,255,255,0.5); margin: 6px 0 16px; font-family: var(--font-display); }
.cards { display: grid; gap: 18px; }
.card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.09);
  border-radius: 16px; padding: 20px; }
.card-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.card-head h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.card-head h3 a { color: #fff; text-decoration: none; border: none; }
.card-head h3 a:hover { color: var(--accent); }
.house { font-size: 13px; color: rgba(255,255,255,0.55); }
.hrow { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.07); }
.fid { flex: 0 0 auto; width: 46px; text-align: center; font-family: var(--font-display);
  font-weight: 800; font-size: 22px; color: var(--accent); line-height: 1; }
.fid s { display: block; text-decoration: none; font-size: 9px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.5px; color: rgba(255,255,255,0.4); margin-top: 3px; }
.hinfo { flex: 1 1 auto; min-width: 0; }
.hinfo .nm { font-weight: 700; }
.hinfo .nm .meta { font-weight: 400; color: rgba(255,255,255,0.55); }
.hinfo .meta { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 2px; }
.hinfo .note { font-size: 13.5px; color: rgba(255,255,255,0.75); margin-top: 6px; line-height: 1.5; }
.buy { flex: 0 0 auto; }
.more { padding-top: 14px; }
.more a { font-size: 14px; color: var(--accent); }
.empty { padding: 40px; text-align: center; color: rgba(255,255,255,0.55); border: 1px dashed rgba(255,255,255,0.15); border-radius: 16px; }
/* note text inside the static watch-page tables */
.article tbody .note { font-size: 13px; color: rgba(255,255,255,0.62); margin-top: 4px; line-height: 1.5; font-weight: 400; }
@media (max-width: 560px) { .hrow { flex-wrap: wrap; } .buy { width: 100%; } }
