/* SIDIQ PUBLISHING — Production Stylesheet */
:root {
  --navy: #071a2d;
  --navy-dark: #04101c;
  --surface: #0c2238;
  --surface-light: #163553;
  --gold: #d4af37;
  --gold-soft: #bfa46f;
  --text: #f5f5f5;
  --muted: #c3ccd4;
  --border: rgba(255,255,255,.13);
  --shadow: 0 18px 45px rgba(0,0,0,.28);
  --heading: "Cormorant Garamond", Georgia, serif;
  --body: "Inter", Arial, sans-serif;
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: radial-gradient(circle at 80% 0%, #123454 0, var(--navy-dark) 38rem);
  font-family: var(--body);
  line-height: 1.7;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
.container { width: min(calc(100% - 2rem), var(--container)); margin-inline: auto; }
.skip-link {
  position: fixed; top: .5rem; left: .5rem; z-index: 1000;
  padding: .75rem 1rem; background: white; color: black;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(4,16,28,.9); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.header-inner { min-height: 5.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.site-brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; }
.site-brand__mark {
  width: 3.2rem; height: 3.2rem; display: grid; place-items: center;
  border: 1px solid var(--gold); border-radius: 50%;
  color: var(--gold); font-family: var(--heading); font-weight: 700;
}
.site-brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.site-brand__name { font-family: var(--heading); font-size: 1.35rem; letter-spacing: .08em; }
.site-brand__tagline { color: var(--muted); font-size: .67rem; letter-spacing: .08em; }
.site-nav ul, .footer-links { list-style: none; padding: 0; margin: 0; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: .25rem; }
.site-nav a {
  display: block; padding: .6rem .7rem; border-radius: .35rem;
  color: var(--muted); text-decoration: none; font-size: .91rem;
}
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a[aria-current="page"] {
  color: white; background: rgba(212,175,55,.14);
}
.nav-toggle {
  display: none; padding: .65rem .85rem; color: white; background: transparent;
  border: 1px solid var(--border); border-radius: .4rem; font: inherit;
}
.hero { min-height: 68vh; display: grid; place-items: center; padding: 6rem 0; }
.hero-inner { max-width: 880px; text-align: center; }
.eyebrow { margin: 0 0 .75rem; color: var(--gold); text-transform: uppercase; letter-spacing: .15em; font-size: .82rem; font-weight: 600; }
h1, h2, h3 { font-family: var(--heading); line-height: 1.12; }
h1 { margin: 0; font-size: clamp(3rem, 8vw, 6.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
.hero-lead { max-width: 760px; margin: 1.5rem auto 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3rem;
  padding: .8rem 1.25rem; border-radius: 999px; text-decoration: none; font-weight: 600;
}
.button-primary { color: #071a2d; background: linear-gradient(135deg, #ead47e, var(--gold)); }
.button-secondary { border: 1px solid var(--gold-soft); color: white; background: rgba(255,255,255,.03); }
.button:hover { transform: translateY(-1px); }
.section { padding: 5rem 0; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.4rem; }
.card {
  padding: 2rem; border: 1px solid var(--border); border-radius: 1rem;
  background: linear-gradient(150deg, rgba(22,53,83,.72), rgba(12,34,56,.78));
  box-shadow: var(--shadow);
}
.card h2 { margin: .3rem 0 1rem; font-size: 2.2rem; }
.card p:not(.eyebrow) { color: var(--muted); }
.card .button { margin-top: .6rem; }
.card-cover {
  margin: -2rem -2rem 1.5rem;
  overflow: hidden;
  border-radius: 1rem 1rem 0 0;
  background: #000;
}
.card-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 1411 / 2048;
  object-fit: cover;
}
.site-footer { padding: 4rem 0 1.25rem; border-top: 1px solid var(--border); background: rgba(3,11,20,.7); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
.site-footer h2 { font-size: 1.5rem; margin-top: 0; }
.site-footer p, .footer-links a { color: var(--muted); }
.footer-links a { display: inline-block; padding: .2rem 0; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); font-size: .9rem; }
.fade-up { opacity: 0; transform: translateY(1rem); transition: opacity .6s ease, transform .6s ease; }
.fade-up.is-visible { opacity: 1; transform: none; }
:focus-visible { outline: 3px solid #f4d35e; outline-offset: 3px; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; top: 100%; left: 1rem; right: 1rem; display: none;
    padding: 1rem; background: #071a2d; border: 1px solid var(--border); border-radius: .75rem;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { display: grid; }
  .card-grid, .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .site-brand__tagline { display: none; }
  .hero { min-height: 60vh; padding: 4.5rem 0; }
  .section { padding: 3.5rem 0; }
  .card { padding: 1.4rem; }
  .card-cover { margin: -1.4rem -1.4rem 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .fade-up { opacity: 1; transform: none; }
}

.product-catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.product-card__media {
  margin: 0;
  overflow: hidden;
  border-radius: .75rem;
  background: rgba(255,255,255,.03);
}
.product-card__media img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}
.product-card__body { padding-top: 1.25rem; }
.product-card__category {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  font-weight: 600;
}
.product-card__title { margin: .4rem 0 .75rem; font-size: 2rem; }
.product-card__description { color: var(--muted); }
.product-card__footer { margin-top: 1rem; }
.book-detail {
  display: grid;
  grid-template-columns: minmax(250px, 420px) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}
.book-detail__media { margin: 0; }
.book-detail__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: .65rem;
}
@media (max-width: 760px) {
  .product-catalog,
  .book-detail {
    grid-template-columns: 1fr;
  }
}
