/* ================================================================
   DR. SARWAR HUSSAIN NAQSHBANDI — PORTFOLIO  (WARM EDITION)
   ----------------------------------------------------------------
   Design System — UI/UX Pro Max Skill Recommendations Applied:
   · Typography : Cormorant Garamond + Lato  (Editorial Classic)
   · Style      : Editorial Luxury / Exaggerated Minimalism
   · Colors     : Warm Ivory + Antique Gold
   · UX         : ease-out entries, scroll-reveal, reduced-motion
   ================================================================ */


/* ----------------------------------------------------------------
   CUSTOM PROPERTIES
   ---------------------------------------------------------------- */
:root {
  /* ── Backgrounds ── */
  --ivory      : #FEFCF7;    /* main warm white           */
  --ivory-alt  : #F6EFE0;    /* alternate warm parchment  */
  --ivory-deep : #EDE3CE;    /* deep cream — card fills   */
  --footer-bg  : #140C05;    /* rich dark warm — footer   */

  /* ── Ink scale (all dark-on-light, passes WCAG AA) ── */
  --ink        : #1C1008;    /* headings / primary text   */
  --ink-body   : #3A2918;    /* body paragraphs           */
  --ink-mid    : #6B5240;    /* captions, eyebrows        */
  --ink-warm   : #F2E6D0;    /* text on dark footer       */

  /* ── Gold (decorative only — borders, rules, icons) ── */
  --gold       : #A87830;    /* antique gold — main       */
  --gold-lt    : #C49A50;    /* lighter accent            */
  --gold-deep  : #8A5E1E;    /* deeper antique gold — legible label/kicker text (AA 5.5:1 on ivory) */
  --gold-muted : rgba(168, 120, 48, 0.20);  /* hairlines  */

  /* ── Typography ── */
  --ff-head    : 'Cormorant Garamond', Georgia, serif;
  --ff-body    : 'Lato', system-ui, sans-serif;

  /* ── Motion ── */
  --ease       : cubic-bezier(0.16, 1, 0.3, 1);
  --dur        : 0.85s;

  /* ── Section spacing ── */
  --pad-v      : 128px;
}


/* ----------------------------------------------------------------
   RESET + BASE
   ---------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--ff-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

ul { list-style: none; }


/* ----------------------------------------------------------------
   LAYOUT UTILITY
   ---------------------------------------------------------------- */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 64px;
}


/* ----------------------------------------------------------------
   SHARED — EYEBROW LABEL
   ---------------------------------------------------------------- */
.eyebrow {
  display: block;
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 24px;
  position: relative;
}

/* Gold accent line before the eyebrow label */
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 14px;
  margin-bottom: 2px;
}


/* ----------------------------------------------------------------
   SHARED — GOLD DIVIDER
   ---------------------------------------------------------------- */
.divider {
  width: 52px;
  height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
  opacity: 0.7;
  margin-block: 32px;
}


/* ----------------------------------------------------------------
   SHARED — BUTTON
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  padding: 14px 36px;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  background: transparent;
  font-family: var(--ff-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 240ms var(--ease), color 240ms var(--ease), border-color 240ms var(--ease);
}

.btn svg {
  width: 14px;
  height: 14px;
  transition: transform 240ms var(--ease);
}

.btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink-warm);
}

.btn:hover svg {
  transform: translateX(4px);
}

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


/* ----------------------------------------------------------------
   SCROLL REVEAL
   ---------------------------------------------------------------- */
.sr {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity  var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}

.sr.in {
  opacity: 1;
  transform: translateY(0);
}


/* ----------------------------------------------------------------
   REDUCED MOTION
   ---------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration   : 0.01ms !important;
    animation-iteration-count: 1  !important;
    transition-duration  : 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .sr {
    opacity: 1;
    transform: none;
  }

  .ha {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}


/* ================================================================
   NAVBAR
   ================================================================ */
.navbar {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 200;
  background: rgba(254, 252, 247, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gold-muted);
  transform: translateY(-100%);
  transition: transform 360ms var(--ease);
}

.navbar.show {
  transform: translateY(0);
}

.navbar__inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 64px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Brand / Logo */
.navbar__brand {
  font-family: var(--ff-head);
  font-size: 18px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0.3px;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: color 200ms ease;
}

.navbar__brand:hover { color: var(--gold); }

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

/* Links */
.navbar__menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.navbar__menu a {
  font-family: var(--ff-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ink-mid);
  cursor: pointer;
  transition: color 200ms ease;
  padding-block: 4px;
}

.navbar__menu a:hover { color: var(--gold); }

.navbar__menu a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 1px;
}

/* Hamburger toggle (mobile) */
.navbar__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
}

.navbar__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 240ms var(--ease), opacity 200ms ease;
  transform-origin: center;
}

.navbar__toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.navbar__toggle.open span:nth-child(2) { opacity: 0; }
.navbar__toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }


/* ================================================================
   SECTION 1 — HERO
   ================================================================ */
.hero {
  position: relative;
  width: 100%;
  /* Cap height by viewport WIDTH so the wide hero photo (≈2.36:1) never
     crops the centred figure on tall/narrow screens (mobile, portrait
     tablet). Desktop stays full-height via 100vh. */
  height: min(100vh, 150vw);
  min-height: 480px;
  overflow: hidden;
}

/* Background photo */
.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Very slight warm darkening overlay */
.hero__dim {
  position: absolute;
  inset: 0;
  background: rgba(20, 12, 4, 0.36);
}

/* Stronger gradient at the bottom for text readability */
.hero__fade {
  position: absolute;
  inset-block-end: 0;
  inset-inline: 0;
  height: 60%;
  background: linear-gradient(
    to bottom,
    transparent          0%,
    rgba(14, 8, 3, 0.12) 30%,
    rgba(14, 8, 3, 0.60) 70%,
    rgba(14, 8, 3, 0.80) 100%
  );
}

/* Text block — pinned to bottom */
.hero__content {
  position: absolute;
  inset-block-end: 152px;
  inset-inline: 0;
  text-align: center;
  padding-inline: 24px;
}

.hero__name {
  font-family: var(--ff-head);
  font-size: clamp(32px, 5.5vw, 68px);
  font-weight: 300;
  color: #F4EDD8;
  letter-spacing: 0.5px;
  line-height: 1.1;
  margin-bottom: 22px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.30);
}

.hero__rule {
  width: 56px;
  height: 1px;
  background: var(--gold-lt);
  margin-inline: auto;
  margin-bottom: 22px;
  opacity: 0.85;
}

.hero__tagline {
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 4.5px;
  text-transform: uppercase;
  color: var(--gold-lt);
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  inset-block-end: 36px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
}

.hero__scroll:focus-visible {
  outline: 2px solid var(--gold-lt);
  outline-offset: 4px;
  border-radius: 2px;
}

.hero__scroll-word {
  font-family: var(--ff-body);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: rgba(212, 185, 120, 0.75);
}

.hero__scroll-icon {
  width: 18px;
  height: 18px;
  color: rgba(212, 185, 120, 0.75);
  animation: bob 2.4s ease-in-out infinite;
}

.hero__scroll-icon svg {
  width: 100%;
  height: 100%;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(7px); }
}

/* ── Hero staggered fade-in ── */
.ha {
  opacity: 0;
  transform: translateY(20px);
}

.ha.go {
  animation: riseIn 1s var(--ease) forwards;
}

.ha--1 { animation-delay: 0.10s; }
.ha--2 { animation-delay: 0.42s; }
.ha--3 { animation-delay: 0.72s; }
.ha--4 { animation-delay: 1.05s; }

@keyframes riseIn {
  to { opacity: 1; transform: translateY(0); }
}


/* ================================================================
   SECTION 2 — ABOUT
   ================================================================ */
.about {
  background: var(--ivory);
  padding-block: var(--pad-v);
}

.about__wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}

/* Photo frame with decorative corner brackets */
.about__figure {
  position: relative;
}

/* Outer corner ornaments — top-left and bottom-right */
.about__figure::before,
.about__figure::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  z-index: 2;
  pointer-events: none;
}

.about__figure::before {
  top: -6px;
  left: -6px;
  border-top: 1.5px solid var(--gold);
  border-left: 1.5px solid var(--gold);
}

.about__figure::after {
  bottom: -6px;
  right: -6px;
  border-bottom: 1.5px solid var(--gold);
  border-right: 1.5px solid var(--gold);
}

.about__frame {
  border: 1px solid var(--gold-muted);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  max-height: 580px;
  box-shadow:
    6px 6px 0 rgba(168, 120, 48, 0.10),
    0 24px 64px rgba(28, 16, 8, 0.14);
}

.about__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Text column */
.about__heading {
  font-family: var(--ff-head);
  font-size: clamp(34px, 3.8vw, 48px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.18;
}

.about__body {
  font-family: var(--ff-body);
  font-size: 20px;
  font-weight: 300;
  color: var(--ink-body);
  line-height: 2.0;
  max-width: 500px;
}


/* ================================================================
   SECTION 3 — BOOK
   ================================================================ */
.book {
  background: var(--ivory-alt);
  padding-block: var(--pad-v);
  position: relative;
  overflow: hidden;
}

/* Watermark — large Arabic initial in background */
.book__watermark {
  position: absolute;
  inset-block-start: -40px;
  inset-inline-end: -20px;
  font-family: var(--ff-head);
  font-size: clamp(200px, 28vw, 400px);
  color: rgba(168, 120, 48, 0.055);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.book__wrap {
  position: relative;
  z-index: 1;
}

.book__header {
  margin-bottom: 60px;
}

.book__layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 96px;
  align-items: center;
}

/* Book cover placeholder */
.book__cover {
  background: var(--ivory-deep);
  border: 1px solid rgba(168, 120, 48, 0.28);
  aspect-ratio: 2 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  box-shadow:
    8px 10px 0 rgba(168, 120, 48, 0.08),
    0 28px 60px rgba(28, 16, 8, 0.14);
  cursor: default;
  position: relative;
}

/* Spine shadow */
.book__cover::before {
  content: '';
  position: absolute;
  inset-block: 6%;
  inset-inline-start: -5px;
  width: 5px;
  background: linear-gradient(to right, rgba(28,16,8,0.15), transparent);
  border-radius: 3px 0 0 3px;
}

.book__svg {
  width: 68px;
  height: 68px;
  color: rgba(168, 120, 48, 0.55);
}

.book__cover-caption {
  font-family: var(--ff-head);
  font-size: 11px;
  font-style: italic;
  letter-spacing: 1.5px;
  color: var(--gold);
  opacity: 0.60;
}

/* Book text */
.book__byline {
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ink-mid);
  margin-bottom: 18px;
}

.book__title {
  font-family: var(--ff-head);
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 400;
  color: var(--ink);
  line-height: 0.95;
  letter-spacing: 1px;
}

.book__desc {
  font-family: var(--ff-body);
  font-size: 16px;
  font-weight: 300;
  color: var(--ink-body);
  line-height: 2.0;
  max-width: 420px;
}


/* ================================================================
   SECTION 4 — HCRN
   ================================================================ */
.hcrn {
  background: var(--ivory-alt);
  padding-block: var(--pad-v);
}

.hcrn__wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}

.hcrn__heading {
  font-family: var(--ff-head);
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.18;
  margin-bottom: 18px;
}

.hcrn__sub {
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink-mid);
}

.hcrn__body {
  font-family: var(--ff-body);
  font-size: 16px;
  font-weight: 300;
  color: var(--ink-body);
  line-height: 2.0;
  max-width: 440px;
}

/* Institution image placeholder */
.hcrn__placeholder {
  background: var(--ivory);
  border: 1px solid var(--gold-muted);
  aspect-ratio: 16 / 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  box-shadow:
    0 24px 56px rgba(28, 16, 8, 0.10),
    0 4px 16px rgba(28, 16, 8, 0.06);
}

.hcrn__svg {
  width: 88px;
  height: 64px;
  color: rgba(168, 120, 48, 0.50);
}

.hcrn__placeholder-label {
  font-family: var(--ff-body);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink-mid);
  opacity: 0.55;
  text-align: center;
  padding-inline: 20px;
}


/* ================================================================
   SECTION 5 — NA'AT COLLECTION
   ================================================================ */
.naat {
  background: var(--ivory);
  padding-block: var(--pad-v);
}

.naat__wrap {
  text-align: center;
}

.naat__header {
  margin-bottom: 70px;
}

/* Centre eyebrow in naat section */
.naat__header .eyebrow {
  justify-content: center;
  display: flex;
  align-items: center;
}

.naat__heading {
  font-family: var(--ff-head);
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 16px;
}

.naat__sub {
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink-mid);
}

/* Cards */
.naat__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 860px;
  margin-inline: auto;
}

.naat__card {
  background: var(--ivory-alt);
  border: 1px solid var(--gold-muted);
  padding: 52px 28px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  transition:
    transform    220ms var(--ease),
    box-shadow   220ms ease,
    border-color 220ms ease;
}

.naat__card:hover,
.naat__card:focus-visible {
  transform: translateY(-10px);
  border-color: rgba(168, 120, 48, 0.50);
  box-shadow:
    0 24px 56px rgba(28, 16, 8, 0.12),
    0  0  30px rgba(168, 120, 48, 0.06);
  outline: none;
}

.naat__icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.naat__icon svg {
  width: 100%;
  height: 100%;
}

.naat__platform {
  font-family: var(--ff-head);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0.5px;
}

/* Play circle button */
.naat__play {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border: 1.5px solid rgba(168, 120, 48, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: background 220ms ease, border-color 220ms ease;
}

.naat__play svg {
  width: 12px;
  height: 12px;
  margin-inline-start: 2px;
}

.naat__card:hover .naat__play,
.naat__card:focus-visible .naat__play {
  background: rgba(168, 120, 48, 0.10);
  border-color: rgba(168, 120, 48, 0.55);
}

.naat__status {
  font-family: var(--ff-body);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink-mid);
}


/* ================================================================
   FOOTER — warm, structured, cohesive with the site
   ================================================================ */
.footer {
  position: relative;
  background:
    radial-gradient(1100px 440px at 82% -18%, rgba(168, 120, 48, 0.13), transparent 62%),
    linear-gradient(180deg, #22140A 0%, var(--footer-bg) 58%);
  border-top: 1px solid rgba(168, 120, 48, 0.28);
  overflow: hidden;
}

/* Gold gradient accent along the very top edge */
.footer::before {
  content: '';
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0.7;
}

/* Column region */
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.5fr;
  gap: 56px 48px;
  padding-block: 88px 64px;
}

/* Brand */
.footer__logo {
  display: inline-block;
  font-family: var(--ff-head);
  font-size: 25px;
  font-weight: 500;
  color: var(--gold-lt);
  letter-spacing: 0.3px;
  transition: color 200ms ease;
}

.footer__logo:hover { color: var(--gold); }

.footer__logo:focus-visible {
  outline: 2px solid var(--gold-lt);
  outline-offset: 4px;
}

.footer__tagline {
  font-family: var(--ff-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(194, 154, 80, 0.75);
  margin-top: 16px;
}

.footer__blurb {
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(242, 230, 208, 0.58);
  max-width: 300px;
  margin-top: 20px;
}

/* Column headings */
.footer__heading {
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 24px;
}

/* Link + contact lists */
.footer__links,
.footer__contact {
  display: grid;
  gap: 13px;
}

.footer__links a,
.footer__contact a,
.footer__contact span {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(242, 230, 208, 0.60);
  transition: color 200ms ease;
}

.footer__links a:hover,
.footer__contact a:hover { color: var(--gold-lt); }

.footer__links a:focus-visible,
.footer__contact a:focus-visible {
  outline: 2px solid var(--gold-lt);
  outline-offset: 3px;
}

/* Newsletter */
.footer__news-text {
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(242, 230, 208, 0.58);
  margin-bottom: 20px;
  max-width: 280px;
}

.footer__field {
  display: flex;
  align-items: stretch;
  max-width: 300px;
  border: 1px solid rgba(194, 154, 80, 0.35);
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 200ms ease;
}

.footer__field:focus-within { border-color: var(--gold-lt); }

.footer__field input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  padding: 12px 14px;
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--ink-warm);
}

.footer__field input::placeholder { color: rgba(242, 230, 208, 0.40); }
.footer__field input:focus { outline: none; }

.footer__field button {
  flex-shrink: 0;
  width: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: var(--gold);
  color: var(--footer-bg);
  cursor: pointer;
  transition: background 200ms ease;
}

.footer__field button:hover { background: var(--gold-lt); }
.footer__field button svg { width: 16px; height: 16px; }

.footer__field button:focus-visible {
  outline: 2px solid var(--gold-lt);
  outline-offset: 2px;
}

.footer__news-note {
  margin-top: 12px;
  min-height: 1em;
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-lt);
}

/* Social */
.footer__social {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}

.footer__link {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(194, 154, 80, 0.28);
  color: rgba(194, 154, 80, 0.70);
  cursor: pointer;
  transition: color 200ms ease, border-color 200ms ease;
}

.footer__link svg {
  width: 18px;
  height: 18px;
}

.footer__link:hover {
  color: var(--gold-lt);
  border-color: rgba(194, 154, 80, 0.60);
}

.footer__link:focus-visible {
  outline: 2px solid var(--gold-lt);
  outline-offset: 3px;
}

/* Bottom bar */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 26px 30px;
  border-top: 1px solid rgba(168, 120, 48, 0.18);
}

.footer__copy {
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.4px;
  color: rgba(242, 230, 208, 0.50);
}

.footer__credit {
  font-family: var(--ff-head);
  font-size: 15px;
  font-style: italic;
  letter-spacing: 0.3px;
  color: rgba(194, 154, 80, 0.60);
}

/* Footer — responsive */
@media (max-width: 1100px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 48px 40px;
  }
}

@media (max-width: 560px) {
  .footer__top {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-block: 64px 48px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding-block: 24px 28px;
  }

  .footer__blurb,
  .footer__news-text { max-width: 100%; }
}


/* ================================================================
   SECTION — MIDHAT (6 Volumes)
   ================================================================ */
.midhat {
  background: var(--ivory);
  padding-block: var(--pad-v);
  position: relative;
  overflow: hidden;
}

/* Large decorative Arabic watermark — mirrors the Huzoor section */
.midhat__watermark {
  position: absolute;
  inset-block-start: -60px;
  inset-inline-start: -30px;
  font-family: var(--ff-head);
  font-size: clamp(200px, 28vw, 420px);
  color: rgba(168, 120, 48, 0.048);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.midhat__inner {
  position: relative;
  z-index: 1;
}

.midhat__header {
  text-align: center;
  margin-bottom: 80px;
}

.midhat__header .eyebrow {
  display: flex;
  justify-content: center;
  align-items: center;
}

.midhat__divider {
  margin-inline: auto;
  width: 64px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.midhat__title {
  font-family: var(--ff-head);
  font-size: clamp(52px, 7vw, 92px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
  letter-spacing: 1px;
  margin-bottom: 22px;
}

.midhat__author {
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 600;
  font-style: italic;
  color: var(--ink-body);
  letter-spacing: 0.5px;
}

.midhat__sub {
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink-mid);
}

/* Grid */
.midhat__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Card — padded and centred; cover sits within generous whitespace */
.midhat__card {
  background: var(--ivory-deep);
  border: 1px solid var(--gold-muted);
  padding: 32px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow:
    4px 4px 0 rgba(168, 120, 48, 0.06),
    0 16px 40px rgba(28, 16, 8, 0.08);
  transition:
    transform    220ms ease,
    border-color 220ms ease,
    box-shadow   220ms ease;
}

.midhat__card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow:
    6px 6px 0 rgba(168, 120, 48, 0.10),
    0 28px 60px rgba(28, 16, 8, 0.13);
}

/* Cover — portrait book, restrained height, centred in card */
.midhat__cover {
  position: relative;
  aspect-ratio: 2 / 3;
  max-height: 192px;
  width: auto;
  background: var(--ivory);
  border: 1px solid rgba(168, 120, 48, 0.30);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
  box-shadow:
    3px 4px 0 rgba(168, 120, 48, 0.08),
    0 10px 24px rgba(28, 16, 8, 0.11);
}

/* Book spine shadow */
.midhat__cover::before {
  content: '';
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 6px;
  background: linear-gradient(to right, rgba(28,16,8,0.16), transparent);
  pointer-events: none;
}

/* Inset decorative gold border */
.midhat__cover::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(168, 120, 48, 0.18);
  pointer-events: none;
}

.midhat__card-svg {
  width: 36px;
  height: 36px;
  color: rgba(168, 120, 48, 0.45);
  position: relative;
  z-index: 1;
}

.midhat__cover-caption {
  font-family: var(--ff-head);
  font-size: 9px;
  font-style: italic;
  letter-spacing: 1.5px;
  color: var(--gold);
  opacity: 0.55;
  position: relative;
  z-index: 1;
}

/* Info strip below cover — full width, inherits card padding sides */
.midhat__info {
  width: 100%;
  padding-top: 4px;
  text-align: center;
}

.midhat__vol {
  font-family: var(--ff-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink-mid);
  margin-bottom: 7px;
}

.midhat__name {
  font-family: var(--ff-head);
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0.3px;
}

.midhat__desc {
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.65;
  margin-top: 8px;
  max-width: 172px;
  margin-inline: auto;
}


/* ================================================================
   SECTION — ARTICLES & DISCOURSE
   ================================================================ */
.articles {
  background: var(--ivory-alt);
  padding-block: var(--pad-v);
}

.articles__header {
  text-align: center;
  margin-bottom: 80px;
}

.articles__header .eyebrow {
  display: flex;
  justify-content: center;
  align-items: center;
}

.articles__title {
  font-family: var(--ff-head);
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.1;
}

/* Centred symmetric divider in header */
.articles__divider {
  margin-inline: auto;
  width: 64px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.articles__intro {
  font-family: var(--ff-body);
  font-size: 18px;
  font-weight: 300;
  color: var(--ink-body);
  line-height: 1.9;
  max-width: 560px;
  margin-inline: auto;
}

/* Two editorial columns — equal height via grid stretch */
.articles__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
}

/* Each column uses --ivory on --ivory-alt: same relationship as naat cards */
.articles__col {
  background: var(--ivory);
  border: 1px solid var(--gold-muted);
  padding: 56px 52px 52px;
  display: flex;
  flex-direction: column;
  box-shadow:
    6px 6px 0 rgba(168, 120, 48, 0.06),
    0 20px 48px rgba(28, 16, 8, 0.08);
}

/* Tighten divider spacing inside columns */
.articles__col .divider {
  margin-block: 24px 28px;
}

.articles__col-title {
  font-family: var(--ff-head);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.1;
}

.articles__col-desc {
  font-family: var(--ff-body);
  font-size: 17px;
  font-weight: 300;
  color: var(--ink-body);
  line-height: 2.0;
  flex: 1;
  max-width: 440px;
}

/* Gold button modifier — reuses .btn structure, overrides colour */
.btn--gold {
  margin-top: 44px;
  border-color: var(--gold);
  color: var(--gold);
}

.btn--gold:hover {
  background: var(--gold);
  color: var(--ink-warm);
}

.btn--gold:focus-visible {
  outline-color: var(--gold);
}


/* ================================================================
   RESPONSIVE — 1100px (Large tablet / small laptop)
   ================================================================ */
@media (max-width: 1100px) {
  .container    { padding-inline: 48px; }
  .navbar__inner{ padding-inline: 48px; }

  .book__layout {
    grid-template-columns: 240px 1fr;
    gap: 64px;
  }

  .book__title { font-size: clamp(46px, 6vw, 72px); }
}


/* ================================================================
   RESPONSIVE — 860px (Tablet)
   ================================================================ */
@media (max-width: 860px) {

  :root { --pad-v: 88px; }

  .container     { padding-inline: 32px; }
  .navbar__inner { padding-inline: 32px; }

  /* Navbar hamburger */
  .navbar__toggle { display: flex; }

  .navbar__menu {
    display: none;
    position: absolute;
    inset-block-start: 72px;
    inset-inline: 0;
    background: rgba(254, 252, 247, 0.98);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-block: 14px;
    border-bottom: 1px solid var(--gold-muted);
  }

  .navbar__menu.open { display: flex; }

  .navbar__menu li { width: 100%; }

  .navbar__menu a {
    display: block;
    padding: 14px 32px;
    font-size: 11px;
    letter-spacing: 3px;
  }

  /* About — stack portrait */
  .about__wrap {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .about__frame {
    max-width: 340px;
    max-height: 456px;
    margin-inline: auto;
  }

  .about__body { max-width: 100%; }

  /* Book — stack */
  .book__layout {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .book__cover-col {
    max-width: 220px;
    margin-inline: auto;
  }

  .book__byline,
  .book__desc { text-align: left; }

  /* HCRN — stack */
  .hcrn__wrap {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .hcrn__body { max-width: 100%; }

  /* Na'at — single column */
  .naat__grid {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  /* Midhat — 2 columns at tablet */
  .midhat__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Articles — stack columns */
  .articles__cols {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .articles__col { padding: 40px 36px; }
}


/* ================================================================
   RESPONSIVE — 560px (Mobile)
   ================================================================ */
@media (max-width: 560px) {

  :root { --pad-v: 72px; }

  .container     { padding-inline: 20px; }
  .navbar__inner { padding-inline: 20px; }
  .navbar__menu a{ padding-inline: 20px; }

  .hero__content { inset-block-end: 110px; }

  .book__watermark { font-size: 160px; }

  /* Midhat — single column mobile */
  .midhat__grid {
    grid-template-columns: 1fr;
    max-width: 260px;
    margin-inline: auto;
  }

  /* Articles — mobile padding */
  .articles__col { padding: 32px 28px; }

  .articles__col-desc { max-width: 100%; }
}


/* ================================================================
   RESPONSIVE — Landscape short viewports
   ================================================================ */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: 520px; }
  .hero__content { inset-block-end: 88px; }
  .hero__name { font-size: 32px; }
}


/* ================================================================
   ABOUT PAGE  (about.html) — reuses the Warm Ivory theme
   Self-contained block: shared atoms (.eyebrow .divider .btn
   .container .hero .footer) are reused; only page-specific
   layouts are defined here.
   ================================================================ */

/* Active nav item */
.navbar__menu a[aria-current="page"] { color: var(--gold); }

/* The About page has no hero, so its navbar is shown persistently
   (markup carries .show); the page opens straight into content. */

/* ---- Shared about-page section heading ---- */
.ab-h2 {
  font-family: var(--ff-head);
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.18;
}

/* Centred section header */
.ab-head {
  text-align: center;
  margin-bottom: 64px;
}

.ab-head .eyebrow {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ---- INTRO / identity statement (page opener) ---- */
/* Extra top padding clears the persistent fixed navbar and gives the
   page a deliberate, unhurried opening. */
.ab-intro {
  background: var(--ivory);
  padding-block: 150px var(--pad-v);
}

.ab-intro__wrap {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 80px;
  align-items: center;
}

.ab-statement {
  font-family: var(--ff-head);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: 0.2px;
}

.ab-lead {
  font-family: var(--ff-body);
  font-size: 17px;
  font-weight: 300;
  color: var(--ink-body);
  line-height: 1.9;
  max-width: 460px;
}

/* ---- AT A GLANCE — stat band ---- */
.ab-stats {
  background: var(--ivory-alt);
  padding-block: 96px;
}

.ab-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.ab-stat {
  position: relative;
  padding-inline: 8px;
}

/* Gold hairline between stats */
.ab-stat + .ab-stat::before {
  content: '';
  position: absolute;
  inset-block: 6px;
  inset-inline-start: -20px;
  width: 1px;
  background: var(--gold-muted);
}

.ab-stat__num {
  font-family: var(--ff-head);
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 400;
  color: var(--gold);
  line-height: 1.05;
  margin-bottom: 16px;
}

.ab-stat__label {
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-mid);
  line-height: 1.6;
  max-width: 200px;
  margin-inline: auto;
}

/* ---- CALLINGS — role cards ---- */
.ab-callings {
  background: var(--ivory);
  padding-block: var(--pad-v);
}

.ab-roles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ab-role {
  background: var(--ivory-alt);
  border: 1px solid var(--gold-muted);
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition:
    transform    220ms var(--ease),
    border-color 220ms ease,
    box-shadow   220ms ease;
}

.ab-role:hover {
  transform: translateY(-6px);
  border-color: rgba(168, 120, 48, 0.45);
  box-shadow: 0 22px 50px rgba(28, 16, 8, 0.10);
}

.ab-role__icon {
  width: 40px;
  height: 40px;
  color: var(--gold);
}

.ab-role__icon svg { width: 100%; height: 100%; }

.ab-role__title {
  font-family: var(--ff-head);
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.3px;
}

.ab-role__desc {
  font-family: var(--ff-body);
  font-size: 15px;
  font-weight: 300;
  color: var(--ink-body);
  line-height: 1.7;
}

/* ---- HCRN SPOTLIGHT ---- */
.ab-hcrn {
  background: var(--ivory-alt);
  padding-block: var(--pad-v);
}

.ab-hcrn__wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.ab-hcrn__sub {
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-mid);
  margin-top: 8px;
  line-height: 1.6;
}

.ab-hcrn__mission {
  font-family: var(--ff-body);
  font-size: 17px;
  font-weight: 300;
  color: var(--ink-body);
  line-height: 1.9;
  max-width: 480px;
}

.ab-objectives {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}

.ab-objectives li {
  position: relative;
  padding-inline-start: 26px;
  font-family: var(--ff-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--ink-body);
  line-height: 1.5;
}

.ab-objectives li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 10px;
  width: 13px;
  height: 1px;
  background: var(--gold);
}

/* ---- WORDS & VOICE ---- */
.ab-words {
  background: var(--ivory);
  padding-block: var(--pad-v);
}

.ab-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.ab-card {
  background: var(--ivory-alt);
  border: 1px solid var(--gold-muted);
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  box-shadow:
    6px 6px 0 rgba(168, 120, 48, 0.06),
    0 20px 48px rgba(28, 16, 8, 0.08);
}

.ab-card__title {
  font-family: var(--ff-head);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.1;
}

.ab-card .divider { margin-block: 24px 26px; }

.ab-card__desc {
  font-family: var(--ff-body);
  font-size: 16px;
  font-weight: 300;
  color: var(--ink-body);
  line-height: 1.9;
  flex: 1;
}

/* ---- PULL QUOTE ---- */
.ab-quote {
  background: var(--ivory-alt);
  padding-block: 120px;
  text-align: center;
}

.ab-quote__mark {
  font-family: var(--ff-head);
  font-size: 110px;
  line-height: 0.5;
  color: var(--gold);
  opacity: 0.35;
  display: block;
  height: 56px;
}

.ab-quote__text {
  font-family: var(--ff-head);
  font-size: clamp(26px, 3.4vw, 44px);
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  line-height: 1.4;
  max-width: 900px;
  margin-inline: auto;
}

/* ---- CONNECT — explore links ---- */
.ab-connect {
  background: var(--ivory);
  padding-block: var(--pad-v);
}

.ab-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ab-link {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--ivory-alt);
  border: 1px solid var(--gold-muted);
  padding: 40px 34px;
  cursor: pointer;
  transition:
    transform    220ms var(--ease),
    border-color 220ms ease,
    box-shadow   220ms ease;
}

.ab-link:hover {
  transform: translateY(-6px);
  border-color: rgba(168, 120, 48, 0.50);
  box-shadow: 0 22px 50px rgba(28, 16, 8, 0.10);
}

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

.ab-link__icon {
  width: 34px;
  height: 34px;
  color: var(--gold);
}

.ab-link__icon svg { width: 100%; height: 100%; }

.ab-link__label {
  font-family: var(--ff-head);
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.3px;
}

.ab-link__host {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--ink-mid);
}

.ab-link__host svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
  transition: transform 220ms var(--ease);
}

.ab-link:hover .ab-link__host svg { transform: translateX(4px); }

.ab-back {
  text-align: center;
  margin-top: 56px;
}

/* ---- ABOUT PAGE — responsive ---- */
@media (max-width: 1100px) {
  .ab-hcrn__wrap { gap: 48px; }
  .ab-intro__wrap { gap: 56px; }
}

@media (max-width: 860px) {
  .ab-intro { padding-top: 104px; }
  .ab-intro__wrap { grid-template-columns: 1fr; gap: 48px; }

  .ab-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 44px 24px; }
  .ab-stat + .ab-stat::before { display: none; }

  .ab-roles { grid-template-columns: repeat(2, 1fr); }

  .ab-hcrn__wrap { grid-template-columns: 1fr; gap: 44px; }
  .ab-hcrn__mission { max-width: 100%; }

  .ab-cards { grid-template-columns: 1fr; }

  .ab-links { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
}

@media (max-width: 560px) {
  .ab-stats__grid { grid-template-columns: 1fr; gap: 40px; }
  .ab-roles { grid-template-columns: 1fr; }
  .ab-role,
  .ab-card,
  .ab-link { padding-inline: 28px; }
  .ab-card { padding-block: 40px; }
}


/* ================================================================
   CONTACT PAGE  (contact.html) — reuses the Warm Ivory theme
   No hero: navbar is persistent (.show) and the section carries
   top padding to clear it.
   ================================================================ */
.contact {
  background: var(--ivory-alt);
  padding-block: 150px var(--pad-v);
}

.contact__head {
  text-align: center;
  margin-bottom: 64px;
}

.contact__head .eyebrow {
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact__title {
  font-family: var(--ff-head);
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.1;
}

.contact__head .divider {
  margin-inline: auto;
  width: 64px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.contact__intro {
  font-family: var(--ff-body);
  font-size: 17px;
  font-weight: 300;
  color: var(--ink-body);
  line-height: 1.9;
  max-width: 520px;
  margin-inline: auto;
}

/* Layout — form beside details */
.contact__wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: start;
  max-width: 1000px;
  margin-inline: auto;
}

/* ---- Form ---- */
.field {
  display: grid;
  gap: 9px;
  margin-bottom: 22px;
}

.field label {
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-mid);
}

.field input,
.field textarea {
  width: 100%;
  font-family: var(--ff-body);
  font-size: 15px;
  font-weight: 300;
  color: var(--ink);
  background: var(--ivory);
  border: 1px solid var(--gold-muted);
  padding: 14px 16px;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.field textarea {
  resize: vertical;
  min-height: 150px;
  line-height: 1.7;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(107, 82, 64, 0.48);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(168, 120, 48, 0.12);
}

.contact-form__note {
  margin-top: 18px;
  min-height: 1.2em;
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--gold-deep);
}

/* ---- Details ---- */
.contact-info__item {
  padding-block: 22px;
  border-bottom: 1px solid var(--gold-muted);
}

.contact-info__item:first-child { padding-top: 0; }
.contact-info__item:last-child { border-bottom: none; }

.contact-info__label {
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 10px;
}

.contact-info__value {
  font-family: var(--ff-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--ink-body);
  line-height: 1.6;
  transition: color 200ms ease;
}

a.contact-info__value:hover { color: var(--gold); }

.contact-social {
  display: flex;
  gap: 14px;
  margin-top: 2px;
}

.contact-social__link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-muted);
  color: var(--ink-mid);
  transition: color 200ms ease, border-color 200ms ease;
}

.contact-social__link svg { width: 18px; height: 18px; }

.contact-social__link:hover {
  color: var(--gold);
  border-color: rgba(168, 120, 48, 0.5);
}

.contact-social__link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---- Contact page — responsive ---- */
@media (max-width: 860px) {
  .contact { padding-top: 104px; }
  .contact__wrap {
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: 560px;
  }
}


/* ================================================================
   MIDHAT — real cover images + PDF "Read" links
   ================================================================ */
.midhat__cover {
  height: 192px;
  max-height: none;
}

/* Drop the decorative inset frame now that real cover art fills the box */
.midhat__cover::after { content: none; }

.midhat__cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Huzoor featured book — real cover image (same placeholder image for now) */
.book__cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.midhat__read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-family: var(--ff-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-deep);
  cursor: pointer;
  transition: color 200ms ease;
}

.midhat__read svg {
  width: 13px;
  height: 13px;
  transition: transform 220ms var(--ease);
}

.midhat__read:hover { color: var(--gold); }
.midhat__read:hover svg { transform: translateX(3px); }

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


/* ================================================================
   CONTACT — embedded map (below the form)
   ================================================================ */
.contact-map {
  max-width: 1000px;
  margin: 64px auto 0;
  border: 1px solid var(--gold-muted);
  box-shadow: 0 20px 48px rgba(28, 16, 8, 0.08);
  line-height: 0;
}

.contact-map iframe {
  width: 100%;
  height: 440px;
  border: 0;
  display: block;
}

@media (max-width: 860px) {
  .contact-map { margin-top: 48px; }
  .contact-map iframe { height: 320px; }
}


/* ================================================================
   PLATFORM LOGOS — Articles / Words sections (Daily Pakistan, YouTube)
   Same monochrome-gold treatment as the Na'at platform icons.
   ================================================================ */
.plat-logo {
  display: flex;
  align-items: center;
  height: 50px;
  margin-bottom: 26px;
  color: var(--gold);
}

.plat-logo__img {
  height: 100%;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  display: block;
  /* Blends any white logo background into the warm card behind it */
  mix-blend-mode: multiply;
}

.plat-logo svg {
  width: 50px;
  height: 50px;
}

/* Make the entire Midhat volume card clickable (opens its PDF).
   The visible "Read Book" link stays; its stretched ::after overlay
   extends the clickable area across the whole card. */
.midhat__card {
  position: relative;
}

.midhat__read::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
