/* Private Capital — product page styles. Brand-token consistent with index.html.
   Linked from /products/*.html and /products/index.html. */

:root {
  --oxford: #0F2439;
  --admiralty: #1D3A5C;
  --slate: #4A5D73;
  --dove: #A5ADB8;
  --bone: #F2EEE3;
  --parchment: #FAF6EC;
  --gold: #B8944A;
  --gold-h: #a17c38;
  --rule: rgba(15, 36, 57, 0.15);
  --rule-d: rgba(245, 238, 227, 0.18);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --maxw: 760px;
  --maxw-wide: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--parchment);
  color: var(--oxford);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
}
img, svg { display: block; max-width: 100%; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.wrap-wide { max-width: var(--maxw-wide); margin: 0 auto; padding: 0 32px; }

a { color: var(--oxford); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; transition: color .15s; }
a:hover { color: var(--gold-h); }

.h-serif { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; }
.h-serif em { font-style: italic; font-weight: 400; color: var(--slate); }
.mono-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--slate); font-weight: 400; }
.mono-eyebrow.gold { color: var(--gold); }

/* Top nav — mirrors homepage but lightweight */
nav.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 236, .92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
nav.top .wrap-wide { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; gap: 24px; }
nav .logo-row { display: flex; flex-direction: column; }
nav .wm { font-family: var(--serif); font-weight: 600; font-variant: small-caps; font-size: 22px; letter-spacing: .01em; color: var(--oxford); line-height: 1; text-decoration: none; }
nav .sub { font-family: var(--mono); font-size: 9px; letter-spacing: .28em; text-transform: uppercase; color: var(--slate); margin-top: 2px; }
nav ul { display: flex; list-style: none; gap: 28px; align-items: center; }
nav ul a { font-family: var(--mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--slate); text-decoration: none; transition: color .15s; }
nav ul a:hover { color: var(--oxford); }
nav .cta { font-family: var(--mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; padding: 11px 18px; background: var(--oxford); color: var(--bone); text-decoration: none; border: 1px solid var(--oxford); }
nav .cta:hover { background: transparent; color: var(--oxford); }
@media (max-width: 860px) { nav ul { display: none; } }

/* Page head — breadcrumb + h1 + lede */
.page-head { padding: 56px 0 36px; border-bottom: 1px solid var(--rule); }
.breadcrumb { font-family: var(--mono); font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--slate); margin-bottom: 18px; }
.breadcrumb a { color: var(--slate); text-decoration: none; }
.breadcrumb a:hover { color: var(--oxford); }
.breadcrumb .sep { margin: 0 8px; color: var(--dove); }
.page-head h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -.01em; color: var(--oxford); margin-bottom: 18px; }
.page-head h1 em { font-style: italic; font-weight: 400; color: var(--slate); }
.page-head .lede { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 22px; color: var(--slate); max-width: 52ch; line-height: 1.45; }

/* Article body */
.product-body { padding: 40px 0 56px; }
.product-body h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3vw, 36px); line-height: 1.15; letter-spacing: -.005em; color: var(--oxford); margin: 48px 0 18px; padding-top: 12px; border-top: 1px solid var(--rule); }
.product-body h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.product-body h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.2; color: var(--oxford); margin: 32px 0 12px; }
.product-body h4 { font-family: var(--sans); font-weight: 600; font-size: 16px; color: var(--oxford); margin: 24px 0 10px; }
.product-body p { font-size: 17px; line-height: 1.75; color: var(--oxford); margin-bottom: 18px; }
.product-body p strong { font-weight: 600; color: var(--oxford); }
.product-body ul, .product-body ol { margin: 0 0 22px 22px; padding: 0; }
.product-body li { margin-bottom: 8px; line-height: 1.65; }
.product-body blockquote { border-left: 3px solid var(--gold); padding: 6px 0 6px 20px; margin: 20px 0; font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--slate); }
.product-body code { font-family: var(--mono); font-size: 14px; background: var(--bone); padding: 2px 6px; border-radius: 3px; }
.product-body table { width: 100%; border-collapse: collapse; margin: 22px 0; font-family: var(--sans); font-size: 14.5px; }
.product-body table th { text-align: left; padding: 12px 10px; border-bottom: 2px solid var(--oxford); font-weight: 600; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--slate); background: transparent; }
.product-body table td { padding: 11px 10px; border-bottom: 1px solid var(--rule); vertical-align: top; line-height: 1.55; }
.product-body table tbody tr:hover { background: var(--bone); }
.product-body hr { border: none; border-top: 1px solid var(--rule); margin: 36px 0; }
.product-body a { color: var(--oxford); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }

/* Related products section */
.related { padding: 48px 0 24px; border-top: 1px solid var(--rule); }
.related h2 { font-family: var(--serif); font-weight: 500; font-size: 28px; margin-bottom: 20px; }
.related .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.related a { display: block; padding: 18px 20px; background: var(--bone); border: 1px solid var(--rule); text-decoration: none; transition: border-color .15s, background .15s; }
.related a:hover { border-color: var(--gold); background: var(--parchment); }
.related .name { font-family: var(--serif); font-size: 18px; font-weight: 500; color: var(--oxford); display: block; margin-bottom: 4px; }
.related .desc { font-family: var(--sans); font-size: 13px; color: var(--slate); line-height: 1.45; }

/* Products index page */
.products-index { padding: 24px 0 40px; }
.products-index .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.products-index a.card { display: block; padding: 28px; background: var(--bone); border: 1px solid var(--rule); text-decoration: none; transition: border-color .15s, transform .15s; }
.products-index a.card:hover { border-color: var(--gold); transform: translateY(-1px); }
.products-index .card .num { font-family: var(--mono); font-size: 10px; letter-spacing: .28em; color: var(--gold); margin-bottom: 14px; text-transform: uppercase; }
.products-index .card h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.15; color: var(--oxford); margin-bottom: 10px; }
.products-index .card p { font-family: var(--sans); font-size: 14.5px; color: var(--slate); line-height: 1.55; }

/* Footer */
footer.site-foot { background: var(--oxford); color: var(--bone); padding: 48px 0 36px; margin-top: 64px; }
footer.site-foot .wrap-wide { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
footer.site-foot .contact { font-family: var(--sans); font-size: 14px; line-height: 1.7; color: var(--dove); }
footer.site-foot .contact strong { color: var(--bone); display: block; font-family: var(--serif); font-weight: 500; font-size: 18px; margin-bottom: 8px; letter-spacing: -.005em; }
footer.site-foot .contact a { color: var(--bone); text-decoration: underline; text-decoration-color: var(--gold); }
footer.site-foot ul { list-style: none; padding: 0; margin: 0; }
footer.site-foot ul.legal { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; justify-content: flex-start; }
footer.site-foot ul.legal a { font-family: var(--mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--dove); text-decoration: none; }
footer.site-foot ul.legal a:hover { color: var(--bone); }
footer.site-foot .meta { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(245, 238, 227, .18); font-family: var(--mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--dove); grid-column: 1 / -1; }
@media (max-width: 700px) { footer.site-foot .wrap-wide { grid-template-columns: 1fr; } }
