/*
  Ishrat Digital Creation — ZoaQ Digital Novels
  Black ground, white + classic logo gold (#d4af37 family).
*/

:root {
  --bg: #0a0a0a;
  --bg-elevated: #121212;
  --bg-card: #141414;
  --text: #f7f7f5;
  --text-muted: rgba(247, 247, 245, 0.72);
  --text-dim: rgba(247, 247, 245, 0.55);

  /* Classic metallic gold — aligns with typical “logo gold” */
  --gold: #d4af37;
  --gold-mid: #c5a028;
  --gold-bright: #e8c14a;
  --gold-deep: #8f7420;
  --gold-glow: rgba(212, 175, 55, 0.35);
  --gold-line: rgba(212, 175, 55, 0.45);
  --gold-soft: rgba(212, 175, 55, 0.12);
  --border-gold: rgba(212, 175, 55, 0.38);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  --radius: 20px;
  --radius-sm: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 520px at 50% -10%, rgba(212, 175, 55, 0.07), transparent 55%),
    radial-gradient(700px 400px at 100% 40%, rgba(212, 175, 55, 0.04), transparent 50%),
    radial-gradient(600px 360px at 0% 80%, rgba(212, 175, 55, 0.035), transparent 50%),
    linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.55;
  letter-spacing: 0.01em;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  position: relative;
  z-index: 1;
}

.container {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Subtle golden watermark on black */
.watermark {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 1;
}

.watermark::before {
  content: "Ishrat Zahid · Ishrat Zahid · Ishrat Zahid · Ishrat Zahid · Ishrat Zahid · Ishrat Zahid · ";
  position: absolute;
  top: -20%;
  left: -30%;
  width: 200%;
  height: 200%;
  font-family: "Cormorant Garamond", ui-serif, Georgia, serif;
  font-size: clamp(56px, 11vw, 120px);
  font-weight: 500;
  font-style: italic;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: rgba(212, 175, 55, 0.045);
  white-space: pre-wrap;
  word-break: break-word;
  transform: rotate(-18deg);
  user-select: none;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 10px 12px;
  border-radius: 999px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-gold);
  color: var(--text);
  box-shadow: var(--shadow);
  transform: translateY(-160%);
  transition: transform 160ms ease;
  z-index: 50;
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(10, 10, 10, 0.82);
  border-bottom: 1px solid var(--border-gold);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand-zoaq {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
}

.brand-logo-slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: min(280px, 72vw);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--gold-line);
  background: linear-gradient(145deg, rgba(20, 20, 20, 0.95), rgba(12, 12, 12, 0.98));
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.brand-logo-slot.has-logo {
  border-style: solid;
  border-color: var(--border-gold);
  padding: 8px 16px;
  background: rgba(18, 18, 18, 0.95);
  min-width: auto;
}

.brand-logo-img {
  display: none;
  max-height: 72px;
  width: auto;
  max-width: min(320px, 78vw);
  height: auto;
  vertical-align: middle;
  object-fit: contain;
}

.brand-logo-slot.has-logo .brand-logo-img {
  display: block;
}

.brand-logo-slot.has-logo .brand-logo-placeholder {
  display: none;
}

.brand-logo-placeholder {
  font-family: "Cormorant Garamond", ui-serif, Georgia, serif;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: center;
  background: linear-gradient(120deg, var(--gold-bright) 0%, var(--gold) 45%, var(--text) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.nav-link:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--border-gold);
  color: var(--text);
}

.hero {
  padding: 56px 0 22px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}

.hero-copy {
  padding: 26px 0;
}

.title {
  margin: 0;
  font-family: "Cormorant Garamond", ui-serif, Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: clamp(42px, 5.4vw, 68px);
  line-height: 1.05;
  color: var(--text);
}

.hero-brand-sub {
  margin: 12px 0 0;
  font-family: "Cormorant Garamond", ui-serif, Georgia, serif;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: 0 0 40px var(--gold-glow);
}

.subtitle {
  margin: 22px 0 18px;
  color: var(--text-muted);
  font-size: clamp(16px, 1.25vw, 18px);
  max-width: 62ch;
}

.byline {
  margin: 0 0 8px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.byline-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-weight: 600;
}

.byline-name {
  font-family: "Cormorant Garamond", ui-serif, Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-gold);
  background: rgba(18, 18, 18, 0.9);
  color: var(--text);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
  font-weight: 600;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5);
  border-color: var(--gold);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-mid) 0%, var(--gold) 40%, var(--gold-bright) 100%);
  color: #1a1508;
  border-color: rgba(212, 175, 55, 0.65);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 50%, #f5d55c 100%);
  border-color: var(--gold-bright);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--gold-soft), rgba(20, 20, 20, 0.95));
  color: var(--text);
  border-color: var(--border-gold);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(247, 247, 245, 0.2);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--border-gold);
  background: rgba(212, 175, 55, 0.06);
}

.meta {
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.meta-item {
  padding: 14px 14px;
  border-radius: var(--radius-sm);
  background: rgba(18, 18, 18, 0.75);
  border: 1px solid rgba(212, 175, 55, 0.22);
}

.meta dt {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
  font-weight: 600;
}

.meta dd {
  margin: 0;
  font-weight: 600;
  color: var(--text);
}

.hero-card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--border-gold);
  background:
    radial-gradient(380px 280px at 20% 0%, var(--gold-soft), transparent 58%),
    radial-gradient(360px 260px at 100% 40%, rgba(212, 175, 55, 0.06), transparent 55%),
    var(--bg-card);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 320px;
}

.card-sheen {
  position: absolute;
  inset: -60px -80px auto auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(212, 175, 55, 0.12), transparent 58%);
  transform: rotate(10deg);
  pointer-events: none;
}

.card-body {
  position: relative;
  height: 100%;
  padding: 22px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.card-topline {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-gold);
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold);
  font-weight: 600;
  font-size: 0.85rem;
}

.card-title {
  font-family: "Cormorant Garamond", ui-serif, Georgia, serif;
  font-size: 34px;
  letter-spacing: -0.02em;
  font-weight: 600;
  line-height: 1.1;
  color: var(--text);
}

.card-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, var(--gold-line), transparent);
  margin: 4px 0;
}

.card-quote {
  color: var(--text-muted);
  font-size: 16px;
}

.card-status {
  color: var(--gold);
  font-style: normal;
  font-weight: 600;
}

.section {
  padding: 38px 0 58px;
}

.section-connect {
  padding-bottom: 44px;
}

.section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}

.section-title {
  margin: 0;
  font-family: "Cormorant Garamond", ui-serif, Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 34px;
  color: var(--text);
}

.section-kicker {
  margin: 0;
  color: var(--text-muted);
}

.works-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.works-item {
  margin: 0;
}

.works-link {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border-gold);
  background: linear-gradient(165deg, rgba(22, 22, 22, 0.98) 0%, var(--bg-card) 100%);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.works-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border-color: var(--gold);
}

.works-link:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
}

.works-titles {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
}

.works-title {
  font-family: "Cormorant Garamond", ui-serif, Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
}

.works-paren {
  font-size: 1rem;
  color: var(--gold);
  font-weight: 500;
}

.works-status {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding-top: 2px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.works-status--complete {
  color: var(--gold);
}

.works-status--ongoing {
  color: var(--gold-bright);
  text-shadow: 0 0 24px var(--gold-glow);
}

.connect-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.connect-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border-gold);
  background: linear-gradient(165deg, #161616 0%, #0e0e0e 100%);
  color: var(--text);
  box-shadow: var(--shadow);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.connect-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.55);
  border-color: var(--gold);
}

.connect-card:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
}

.connect-card-social {
  border-color: var(--border-gold);
}

.connect-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  font-weight: 600;
}

.connect-title {
  font-family: "Cormorant Garamond", ui-serif, Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
}

.connect-meta {
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-top: 6px;
}

.connect-fb {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 2px;
}

.icon-facebook {
  width: 32px;
  height: 32px;
  color: var(--gold);
  flex-shrink: 0;
}

.icon-facebook-sm {
  width: 20px;
  height: 20px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 16px;
  align-items: start;
}

.panel {
  border-radius: var(--radius);
  border: 1px solid rgba(212, 175, 55, 0.22);
  background: rgba(18, 18, 18, 0.88);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  padding: 20px 20px;
}

.panel-accent {
  border-color: var(--border-gold);
  background:
    radial-gradient(280px 220px at 0% 0%, var(--gold-soft), transparent 60%),
    rgba(16, 16, 16, 0.92);
}

.panel-title {
  margin: 0 0 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 18px;
  color: var(--text);
}

.panel-text {
  margin: 10px 0 0;
  color: var(--text-muted);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 10px;
  color: var(--text-muted);
}

.checklist li {
  padding-left: 26px;
  position: relative;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 16px;
  height: 16px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--gold-mid), var(--gold-deep));
  border: 1px solid var(--border-gold);
}

.mini-cta {
  margin-top: 16px;
}

.site-footer {
  padding: 22px 0 30px;
  border-top: 1px solid var(--border-gold);
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-text {
  margin: 0;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-link {
  color: var(--text);
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-gold);
  background: rgba(20, 20, 20, 0.9);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
  font-weight: 500;
  font-size: 0.9rem;
}

.footer-link:hover {
  transform: translateY(-1px);
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold);
}

.footer-link-icon {
  padding: 10px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.footer-link-icon .icon-facebook {
  color: currentColor;
}

.muted {
  color: var(--text-dim);
}

.nowrap {
  white-space: nowrap;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: 260px;
  }

  .meta {
    grid-template-columns: 1fr;
  }

  .intro-grid {
    grid-template-columns: 1fr;
  }

  .connect-row {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .nav {
    justify-content: flex-start;
  }
}

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