/* ================================================================
   DR. SARWAR HUSSAIN NAQSHBANDI — PORTFOLIO
   "THE ILLUMINATED MANUSCRIPT" EDITION
   ----------------------------------------------------------------
   Direction : editorial / museum exhibit of an illuminated Na'at
               manuscript. Chiaroscuro of parchment reading-spreads
               and dark gold-lit exhibit panels.
   Palette   : Parchment · Ink · Deep pine-green · Antique gold leaf
   Type      : Marcellus (display) · EB Garamond (reading/couplets)
               Archivo (museum-caption labels) · Cormorant (HERO only)
   Signature : the shamsa rosette seal + gold ruled margins (jadwal)
   ================================================================ */


/* ----------------------------------------------------------------
   TOKENS
   ---------------------------------------------------------------- */
:root {
  /* ── Parchment (light grounds) ── */
  --paper       : #F7F1E3;
  --paper-alt   : #F0E7D2;
  --paper-deep  : #E8DCC1;

  /* ── Dark grounds (exhibit panels / footer) ── */
  --ink-950     : #130D07;
  --ink-900     : #1A130B;
  --ink-800     : #241A0F;
  --pine-950    : #0E2219;
  --pine-900    : #143329;
  --pine-800    : #1B4436;

  /* ── Ink text on light ── */
  --ink         : #1E140B;
  --ink-body    : #3A2A1A;
  --ink-read    : #34251A;
  --ink-soft    : #6A5236;

  /* ── Illumination gold ── */
  --gold        : #A97C33;
  --gold-deep   : #855E1D;   /* legible gold text on parchment (AA) */
  --gold-lt     : #C49A50;   /* HERO rule/tagline — unchanged value */
  --gold-leaf   : #DABE86;   /* bright gold on dark grounds */
  --gold-line   : rgba(169, 124, 51, 0.26);
  --gold-hair   : rgba(169, 124, 51, 0.16);
  --gold-glow   : rgba(218, 190, 134, 0.16);

  /* ── Jewel accent (restrained) ── */
  --pine        : #1C4B3C;
  --pine-lt     : #4E8A72;

  /* ── Text on dark grounds ── */
  --on-dark     : #EFE6D2;
  --on-dark-dim : #B9A986;
  --on-dark-gold: #DCC08A;

  /* ── Legacy aliases (keep untouched hero + about/contact CSS valid) ── */
  --ivory       : var(--paper);
  --ivory-alt   : var(--paper-alt);
  --ivory-deep  : var(--paper-deep);
  --footer-bg   : var(--ink-950);
  --ink-warm    : var(--on-dark);
  --ink-mid     : var(--ink-soft);
  --gold-muted  : var(--gold-line);

  /* ── Type ── */
  --ff-head     : 'Cormorant Garamond', Georgia, serif;   /* HERO ONLY */
  --ff-display  : 'Marcellus', Georgia, 'Times New Roman', serif;
  --ff-serif    : 'EB Garamond', Georgia, 'Times New Roman', serif;
  --ff-ui       : 'Archivo', system-ui, -apple-system, sans-serif;
  --ff-body     : var(--ff-ui);   /* legacy alias (was Lato) */

  /* Reading scale */
  --fs-body     : 1.1875rem;   /* 19px */
  --fs-body-sm  : 1.0625rem;   /* 17px */
  --fs-lead     : 1.3125rem;   /* 21px */
  --lh-body     : 1.75;

  /* ── Motion / rhythm ── */
  --ease        : cubic-bezier(0.16, 1, 0.3, 1);
  --dur         : 0.9s;
  --pad-v       : 132px;
  --gutter      : 64px;
  --maxw        : 1240px;
}


/* ----------------------------------------------------------------
   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;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--paper);
  color: var(--ink-body);
  font-family: var(--ff-serif);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
::selection { background: rgba(169, 124, 51, 0.22); color: var(--ink); }


/* ----------------------------------------------------------------
   LAYOUT UTILITY
   ---------------------------------------------------------------- */
.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}


/* ----------------------------------------------------------------
   SHARED — EYEBROW (museum caption)
   ---------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--ff-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 26px;
}

.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--gold);
  margin-right: 16px;
  opacity: 0.9;
}


/* ----------------------------------------------------------------
   SHARED — DIVIDER (illuminated hairline)
   ---------------------------------------------------------------- */
.divider {
  position: relative;
  width: 64px;
  height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
  margin-block: 34px;
}
.divider::before {
  content: '';
  position: absolute;
  inset-block-start: -2px;
  inset-inline-start: 0;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  transform: rotate(45deg);
}


/* ----------------------------------------------------------------
   SHARED — BUTTON
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 42px;
  padding: 15px 34px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  font-family: var(--ff-ui);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 260ms var(--ease), color 260ms var(--ease), border-color 260ms var(--ease);
}
.btn svg { width: 15px; height: 15px; transition: transform 260ms var(--ease); }
.btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn:hover svg { transform: translateX(5px); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

/* Gold variant */
.btn--gold { border-color: var(--gold); color: var(--gold-deep); }
.btn--gold:hover { background: var(--gold); border-color: var(--gold); color: var(--ink-950); }
.btn--gold:focus-visible { outline-color: var(--gold); }

/* On dark exhibit panels */
.btn--on-dark { border-color: rgba(218, 190, 134, 0.5); color: var(--gold-leaf); }
.btn--on-dark:hover { background: var(--gold-leaf); border-color: var(--gold-leaf); color: var(--ink-950); }
.btn--on-dark:focus-visible { outline-color: var(--gold-leaf); }


/* ----------------------------------------------------------------
   SIGNATURE — SHAMSA SEAL + centered section openers
   ---------------------------------------------------------------- */
.shamsa { display: block; color: var(--gold); }
.shamsa--seal { width: 46px; height: 46px; margin-inline: auto; margin-bottom: 22px; }
/* seals glow gold-leaf on the dark exhibit grounds */
.book .shamsa, .hcrn .shamsa, .footer .shamsa { color: var(--gold-leaf); }

.opener { text-align: center; }
.opener .eyebrow { justify-content: center; }
.opener .divider { margin-inline: auto; background: linear-gradient(to right, transparent, var(--gold), transparent); }
.opener .divider::before { left: 50%; transform: translateX(-50%) rotate(45deg); }


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

.sr-stagger > * { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.sr.in .sr-stagger > * { opacity: 1; transform: none; }
.sr.in .sr-stagger > *:nth-child(1) { transition-delay: .06s; }
.sr.in .sr-stagger > *:nth-child(2) { transition-delay: .16s; }
.sr.in .sr-stagger > *:nth-child(3) { transition-delay: .26s; }
.sr.in .sr-stagger > *:nth-child(4) { transition-delay: .36s; }
.sr.in .sr-stagger > *:nth-child(5) { transition-delay: .46s; }


/* ----------------------------------------------------------------
   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, .sr-stagger > * { 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: linear-gradient(180deg, rgba(247, 241, 227, 0.97) 0%, rgba(240, 231, 210, 0.93) 100%);
  backdrop-filter: blur(16px) saturate(1.05);
  -webkit-backdrop-filter: blur(16px) saturate(1.05);
  border-bottom: 1px solid var(--gold-hair);
  transform: translateY(-100%);
  transition: transform 380ms var(--ease);
}
.navbar.show { transform: translateY(0); box-shadow: 0 18px 44px -30px rgba(19, 13, 7, 0.6); }

.navbar__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Brand with shamsa mark */
.navbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--ff-display);
  font-size: 1.24rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0.3px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 200ms ease;
}
.navbar__brand .brand-seal { width: 24px; height: 24px; color: var(--gold); flex-shrink: 0; transition: transform 500ms var(--ease); }
.navbar__brand:hover { color: var(--gold-deep); }
.navbar__brand:hover .brand-seal { transform: rotate(90deg); }
.navbar__brand:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

/* Links */
.navbar__menu { display: flex; align-items: center; gap: 30px; }
.navbar__menu a {
  position: relative;
  font-family: var(--ff-ui);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-body);
  padding-block: 6px;
  transition: color 200ms ease;
}
.navbar__menu a::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  inset-block-end: -1px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 280ms var(--ease);
}
.navbar__menu a:hover { color: var(--gold-deep); }
.navbar__menu a:hover::after,
.navbar__menu a[aria-current="page"]::after { transform: scaleX(1); }
.navbar__menu a[aria-current="page"] { color: var(--gold-deep); }
.navbar__menu a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 1px; }

/* Hamburger */
.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   (PRESERVED EXACTLY — do not modify)
   ================================================================ */
.hero {
  position: relative;
  width: 100%;
  height: min(100vh, 150vw);
  min-height: 480px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; }
.hero__photo { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.hero__dim { position: absolute; inset: 0; background: rgba(20, 12, 4, 0.36); }
.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%);
}
.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: 0.8125rem;
  font-weight: 400;
  letter-spacing: 4.5px;
  text-transform: uppercase;
  color: var(--gold-lt);
}
.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); } }

.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); } }
/* ================================================================
   END HERO
   ================================================================ */


/* ================================================================
   SECTION 2 — ABOUT  (light reading spread, illuminated portrait)
   ================================================================ */
.about {
  position: relative;
  background: var(--paper);
  padding-block: calc(var(--pad-v) + 8px) var(--pad-v);
  overflow: hidden;
}
.about__wrap {
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  gap: 92px;
  align-items: center;
}

/* Portrait framed like a manuscript plate: gold ruled margin + corner seals */
.about__figure { position: relative; }
.about__figure::before,
.about__figure::after {
  content: '';
  position: absolute;
  width: 34px;
  height: 34px;
  z-index: 2;
  pointer-events: none;
}
.about__figure::before { top: -10px; left: -10px; border-top: 1.5px solid var(--gold); border-left: 1.5px solid var(--gold); }
.about__figure::after { bottom: -10px; right: -10px; border-bottom: 1.5px solid var(--gold); border-right: 1.5px solid var(--gold); }

.about__frame {
  position: relative;
  border: 1px solid var(--gold-line);
  padding: 12px;
  background: var(--paper-alt);
  overflow: hidden;
}
.about__frame::after {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid var(--gold-hair);
  pointer-events: none;
  z-index: 3;
}
.about__photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 620px;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: saturate(0.96) contrast(1.02);
}

.about__prose { position: relative; }
.about__heading {
  font-family: var(--ff-display);
  font-size: clamp(38px, 4.4vw, 60px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: 0.2px;
}
.about__body {
  font-family: var(--ff-serif);
  font-size: var(--fs-lead);
  font-weight: 400;
  color: var(--ink-body);
  line-height: 1.85;
  max-width: 520px;
}
/* Drop cap on the opening paragraph — manuscript rubrication */
.about__body::first-letter {
  font-family: var(--ff-display);
  font-size: 3.5em;
  float: left;
  line-height: 0.82;
  padding-right: 14px;
  margin-top: 6px;
  color: var(--gold-deep);
}


/* ================================================================
   SECTION 3 — HUZOOR JANTAY HAIN  (DARK EXHIBIT — the flagship)
   ================================================================ */
.book {
  position: relative;
  background:
    radial-gradient(120% 90% at 80% 0%, rgba(27, 68, 54, 0.45), transparent 60%),
    linear-gradient(180deg, var(--ink-900) 0%, var(--pine-950) 100%);
  color: var(--on-dark);
  padding-block: calc(var(--pad-v) + 12px);
  overflow: hidden;
}
/* faint hairline frame — the exhibit vitrine */
.book::before {
  content: '';
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(218, 190, 134, 0.14);
  pointer-events: none;
}
.book__watermark {
  position: absolute;
  inset-block-start: -70px;
  inset-inline-end: -30px;
  font-family: var(--ff-head);
  font-size: clamp(240px, 30vw, 460px);
  color: rgba(218, 190, 134, 0.05);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.book__wrap { position: relative; z-index: 1; }
.book__header { text-align: center; margin-bottom: 64px; }
.book__header .eyebrow { justify-content: center; color: var(--on-dark-gold); }
.book__header .eyebrow::before { background: var(--gold-leaf); }

.book__layout {
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: 88px;
  align-items: center;
}

/* Cover lit in a vitrine — gold rule + halo */
.book__cover-col { position: relative; }
.book__cover {
  position: relative;
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(218, 190, 134, 0.35);
  padding: 10px;
  background: rgba(0, 0, 0, 0.25);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.3),
    0 40px 80px -30px rgba(0, 0, 0, 0.8),
    0 0 90px -20px var(--gold-glow);
}
.book__cover::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  background: radial-gradient(60% 60% at 50% 40%, var(--gold-glow), transparent 70%);
  filter: blur(24px);
}
.book__cover-img { width: 100%; height: 100%; object-fit: cover; display: block; }

.book__text-col { position: relative; }
.book__byline {
  font-family: var(--ff-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-dark-gold);
  margin-bottom: 20px;
}
.book__title {
  font-family: var(--ff-display);
  font-size: clamp(52px, 6.6vw, 96px);
  font-weight: 400;
  color: var(--paper);
  line-height: 0.98;
  letter-spacing: 0.5px;
}
.book .divider { background: linear-gradient(to right, var(--gold-leaf), transparent); }
.book .divider::before { background: var(--gold-leaf); }
.book__desc {
  font-family: var(--ff-serif);
  font-size: var(--fs-lead);
  font-weight: 400;
  color: var(--on-dark);
  line-height: 1.85;
  max-width: 480px;
}
.book .btn { margin-top: 40px; }


/* ================================================================
   SECTION — MIDHAT  (light spread, the five-volume set)
   ================================================================ */
.midhat {
  position: relative;
  background: var(--paper-alt);
  padding-block: var(--pad-v);
  overflow: hidden;
}
.midhat__watermark {
  position: absolute;
  inset-block-start: -60px;
  inset-inline-start: -30px;
  font-family: var(--ff-head);
  font-size: clamp(220px, 28vw, 440px);
  color: rgba(169, 124, 51, 0.05);
  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: 76px; }
.midhat__header .eyebrow { justify-content: center; }
.midhat__title {
  font-family: var(--ff-display);
  font-size: clamp(54px, 7vw, 96px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}
.midhat__author {
  font-family: var(--ff-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink-body);
}
.midhat__divider { margin-inline: auto; width: 72px; background: linear-gradient(to right, transparent, var(--gold), transparent); }
.midhat__divider::before { left: 50%; transform: translateX(-50%) rotate(45deg); }
.midhat__sub {
  font-family: var(--ff-ui);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* Volume set: five plates, numbered I–V */
.midhat__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  align-items: stretch;
}
.midhat__card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 20px 26px;
  background: var(--paper);
  border: 1px solid var(--gold-line);
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease), border-color 300ms var(--ease);
}
.midhat__card:hover {
  transform: translateY(-8px);
  border-color: rgba(169, 124, 51, 0.5);
  box-shadow: 0 30px 60px -28px rgba(30, 20, 11, 0.55);
}
/* roman numeral seal */
.midhat__vol {
  font-family: var(--ff-display);
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  text-align: center;
  margin-bottom: 16px;
}
.midhat__cover {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--ink-900);
  box-shadow: 0 16px 34px -20px rgba(30, 20, 11, 0.7);
}
.midhat__cover::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 1px solid rgba(218, 190, 134, 0.18);
  pointer-events: none;
}
.midhat__cover-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.midhat__info { text-align: center; margin-top: 18px; display: flex; flex-direction: column; flex: 1; }
.midhat__name { font-family: var(--ff-display); font-size: 1.32rem; font-weight: 400; color: var(--ink); letter-spacing: 0.3px; }
.midhat__desc {
  font-family: var(--ff-serif);
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink-read);
  line-height: 1.6;
  margin-top: 10px;
  flex: 1;
}
.midhat__read {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 18px;
  font-family: var(--ff-ui);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  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; }
/* whole card clickable */
.midhat__read::after { content: ''; position: absolute; inset: 0; z-index: 2; }


/* ================================================================
   SECTION 4 — HCRN  (DARK EXHIBIT — the institution)
   ================================================================ */
.hcrn {
  position: relative;
  background:
    radial-gradient(110% 90% at 15% 100%, rgba(27, 68, 54, 0.5), transparent 60%),
    linear-gradient(180deg, var(--pine-950) 0%, var(--ink-950) 100%);
  color: var(--on-dark);
  padding-block: var(--pad-v);
  overflow: hidden;
}
.hcrn::before {
  content: '';
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(218, 190, 134, 0.12);
  pointer-events: none;
}
.hcrn__wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 84px;
  align-items: center;
}
.hcrn__prose .eyebrow { color: var(--on-dark-gold); }
.hcrn__prose .eyebrow::before { background: var(--gold-leaf); }
.hcrn__heading {
  font-family: var(--ff-display);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 400;
  color: var(--paper);
  line-height: 1.14;
  margin-bottom: 18px;
}
.hcrn__sub {
  font-family: var(--ff-ui);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-dark-gold);
}
.hcrn .divider { background: linear-gradient(to right, var(--gold-leaf), transparent); }
.hcrn .divider::before { background: var(--gold-leaf); }
.hcrn__body {
  font-family: var(--ff-serif);
  font-size: var(--fs-lead);
  font-weight: 400;
  color: var(--on-dark);
  line-height: 1.85;
  max-width: 460px;
}

/* Institution plate — pointed-arch (mihrab) placeholder with shamsa */
.hcrn__media { position: relative; }
.hcrn__placeholder {
  position: relative;
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 40px;
  background:
    radial-gradient(80% 60% at 50% 35%, rgba(78, 138, 114, 0.16), transparent 70%),
    rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(218, 190, 134, 0.28);
}
.hcrn__placeholder::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(218, 190, 134, 0.16);
  pointer-events: none;
}
.hcrn__arch { width: min(72%, 220px); color: var(--gold-leaf); }
.hcrn__placeholder-label {
  font-family: var(--ff-ui);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-dark-dim);
  text-align: center;
  max-width: 240px;
  line-height: 1.7;
}


/* ================================================================
   SECTION 5 — NA'AT COLLECTION  (light — the discography)
   ================================================================ */
.naat { background: var(--paper); padding-block: var(--pad-v); }
.naat__wrap { text-align: center; }
.naat__header { margin-bottom: 66px; }
.naat__header .eyebrow { justify-content: center; }
.naat__heading {
  font-family: var(--ff-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.08;
  margin-bottom: 16px;
}
.naat__sub {
  font-family: var(--ff-ui);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.naat__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1040px;
  margin-inline: auto;
}

/* Discography brand cards with live previews */
.disc-card {
  --brand: var(--gold);
  --brand-tint: rgba(169, 124, 51, 0.08);
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper-alt);
  border: 1px solid var(--gold-line);
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  transition: transform 280ms var(--ease), box-shadow 280ms ease, border-color 280ms ease;
}
.disc-card[data-platform="spotify"]    { --brand: #1DB954; --brand-tint: rgba(29, 185, 84, 0.10); }
.disc-card[data-platform="youtube"]    { --brand: #FF0000; --brand-tint: rgba(255, 0, 0, 0.08); }
.disc-card[data-platform="soundcloud"] { --brand: #FF5500; --brand-tint: rgba(255, 85, 0, 0.10); }
.disc-card:hover,
.disc-card:focus-within,
.disc-card.is-active {
  transform: translateY(-8px);
  border-color: var(--brand);
  box-shadow: 0 30px 60px -26px rgba(30, 20, 11, 0.5), 0 0 0 1px var(--brand) inset;
}
.disc-card.is-active { cursor: default; }

.disc-card__preview {
  position: relative;
  height: 208px;
  background: linear-gradient(180deg, var(--brand-tint), transparent), var(--paper);
  overflow: hidden;
}
.disc-card__brand {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(106, 82, 54, 0.5);
  transition: opacity 240ms var(--ease), color 240ms var(--ease), transform 240ms var(--ease);
}
.disc-card__logo { width: 60px; height: 60px; }
.disc-card:hover .disc-card__brand,
.disc-card:focus-within .disc-card__brand { color: var(--brand); transform: scale(1.05); }
.disc-card__frame { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity 300ms var(--ease); }
.disc-card__frame iframe,
.disc-card__frame img { width: 100%; height: 100%; border: 0; display: block; object-fit: cover; }
.disc-card.is-active .disc-card__frame { opacity: 1; pointer-events: auto; }
.disc-card.is-active .disc-card__brand { opacity: 0; pointer-events: none; }

.disc-card__play-badge {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 58px;
  height: 40px;
  border-radius: 10px;
  background: #FF0000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  box-shadow: 0 8px 22px rgba(0,0,0,0.35);
}
.disc-card__play-badge svg { width: 22px; height: 22px; fill: #fff; }

.disc-card__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 24px;
  border-top: 1px solid var(--gold-line);
}
.disc-card__name { font-family: var(--ff-display); font-size: 1.4rem; font-weight: 400; color: var(--ink); letter-spacing: 0.3px; }
.disc-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-ui);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  white-space: nowrap;
  transition: color 200ms ease;
}
.disc-card__cta svg { width: 15px; height: 15px; transition: transform 200ms var(--ease); }
.disc-card:hover .disc-card__cta, .disc-card__cta:hover, .disc-card__cta:focus-visible { color: var(--brand); }
.disc-card:hover .disc-card__cta svg { transform: translateX(3px); }
.disc-card__cta:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.disc-card__hint {
  display: none;
  position: absolute;
  inset-block-start: 12px;
  inset-inline-end: 12px;
  z-index: 2;
  padding: 5px 11px;
  font-family: var(--ff-ui);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  background: rgba(19, 13, 7, 0.72);
  border-radius: 20px;
  pointer-events: none;
}
body.is-touch .disc-card:not(.is-active) .disc-card__hint { display: block; }
.disc-card.is-active .disc-card__hint { display: none; }


/* ================================================================
   SECTION — ARTICLES & DISCOURSE  (light — writings & talks)
   ================================================================ */
.articles { background: var(--paper-alt); padding-block: var(--pad-v); }
.articles__header { text-align: center; margin-bottom: 76px; }
.articles__header .eyebrow { justify-content: center; }
.articles__title {
  font-family: var(--ff-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.08;
}
.articles__divider { margin-inline: auto; width: 72px; background: linear-gradient(to right, transparent, var(--gold), transparent); }
.articles__divider::before { left: 50%; transform: translateX(-50%) rotate(45deg); }
.articles__intro {
  font-family: var(--ff-serif);
  font-size: var(--fs-lead);
  font-weight: 400;
  color: var(--ink-body);
  line-height: 1.8;
  max-width: 600px;
  margin-inline: auto;
}
.articles__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.articles__col {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 56px 52px;
  background: var(--paper);
  border: 1px solid var(--gold-line);
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease), border-color 300ms var(--ease);
}
.articles__col:hover {
  transform: translateY(-6px);
  border-color: rgba(169, 124, 51, 0.45);
  box-shadow: 0 30px 60px -30px rgba(30, 20, 11, 0.4);
}
.articles__col .divider { margin-block: 26px 30px; }
.articles__col-title { font-family: var(--ff-display); font-size: clamp(30px, 3.2vw, 42px); font-weight: 400; color: var(--ink); line-height: 1.1; }
.articles__col-desc {
  font-family: var(--ff-serif);
  font-size: var(--fs-body);
  font-weight: 400;
  color: var(--ink-body);
  line-height: 1.78;
  flex: 1;
  max-width: 440px;
}

/* platform logos */
.plat-logo { display: flex; align-items: center; height: 52px; margin-bottom: 28px; color: var(--gold); }
.plat-logo__img { height: 100%; width: auto; max-width: 220px; object-fit: contain; display: block; mix-blend-mode: multiply; }
.plat-logo svg { width: 52px; height: 52px; }


/* ================================================================
   FOOTER  (deep exhibit — closing colophon)
   ================================================================ */
:root {
  --footer-head : var(--gold-leaf);
  --footer-text : #D2C4AB;
  --footer-dim  : #A99B82;
}
.footer {
  position: relative;
  background:
    radial-gradient(1100px 480px at 84% -20%, rgba(27, 68, 54, 0.4), transparent 60%),
    linear-gradient(180deg, var(--ink-900) 0%, var(--ink-950) 62%);
  border-top: 1px solid rgba(218, 190, 134, 0.24);
  color: var(--footer-text);
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold-leaf), transparent);
  opacity: 0.65;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.5fr;
  gap: 60px 56px;
  padding-block: 96px 66px;
  align-items: start;
}
.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--gold-leaf);
  letter-spacing: 0.3px;
  transition: color 200ms ease;
}
.footer__logo .brand-seal { width: 24px; height: 24px; color: var(--gold-leaf); }
.footer__logo:hover { color: #EBD3A0; }
.footer__logo:focus-visible { outline: 2px solid var(--gold-leaf); outline-offset: 4px; }
.footer__tagline {
  font-family: var(--ff-ui);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--footer-head);
  opacity: 0.9;
  margin-top: 18px;
}
.footer__blurb {
  font-family: var(--ff-serif);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--footer-dim);
  max-width: 320px;
  margin-top: 18px;
}
.footer__heading {
  font-family: var(--ff-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--footer-head);
  margin-bottom: 22px;
}
.footer__links, .footer__contact { display: grid; gap: 15px; }
.footer__links a, .footer__contact a, .footer__contact span {
  display: inline-block;
  font-family: var(--ff-serif);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--footer-text);
  transition: color 200ms ease;
}
.footer__links a:hover, .footer__contact a:hover { color: var(--footer-head); }
.footer__links a:focus-visible, .footer__contact a:focus-visible { outline: 2px solid var(--gold-leaf); outline-offset: 3px; }

.footer__news-text { font-family: var(--ff-serif); font-size: 1.05rem; font-weight: 400; line-height: 1.65; color: var(--footer-dim); margin-bottom: 20px; max-width: 280px; }
.footer__field { display: flex; align-items: stretch; max-width: 320px; border: 1px solid rgba(218, 190, 134, 0.32); background: rgba(255,255,255,0.03); transition: border-color 200ms ease; }
.footer__field:focus-within { border-color: var(--gold-leaf); }
.footer__field input { flex: 1; min-width: 0; background: transparent; border: 0; padding: 13px 15px; font-family: var(--ff-ui); font-size: 0.9rem; font-weight: 400; color: var(--on-dark); }
.footer__field input::placeholder { color: rgba(210, 196, 171, 0.5); }
.footer__field input:focus { outline: none; }
.footer__field button { flex-shrink: 0; width: 48px; display: flex; align-items: center; justify-content: center; border: 0; background: var(--gold-leaf); color: var(--ink-950); cursor: pointer; transition: background 200ms ease; }
.footer__field button:hover { background: #EBD3A0; }
.footer__field button svg { width: 16px; height: 16px; }
.footer__field button:focus-visible { outline: 2px solid var(--gold-leaf); outline-offset: 2px; }
.footer__news-note { margin-top: 12px; min-height: 1em; font-family: var(--ff-ui); font-size: 0.8rem; font-weight: 600; color: var(--gold-leaf); }

.footer__social { display: flex; gap: 14px; margin-top: 30px; }
.footer__link { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(210, 196, 171, 0.28); color: var(--footer-text); transition: color 200ms ease, border-color 200ms ease; }
.footer__link svg { width: 18px; height: 18px; }
.footer__link:hover { color: var(--footer-head); border-color: rgba(218, 190, 134, 0.6); }
.footer__link:focus-visible { outline: 2px solid var(--gold-leaf); outline-offset: 3px; }

.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 28px 32px; border-top: 1px solid rgba(218, 190, 134, 0.16); }
.footer__copy { font-family: var(--ff-ui); font-size: 0.76rem; font-weight: 400; letter-spacing: 0.02em; color: var(--footer-dim); }
.footer__credit { font-family: var(--ff-serif); font-size: 1.05rem; font-style: italic; color: var(--footer-head); opacity: 0.78; }


/* ================================================================
   ABOUT PAGE  (about.html / template-about.php)
   ================================================================ */
.navbar__menu a[aria-current="page"] { color: var(--gold-deep); }

.ab-h2 { font-family: var(--ff-display); font-size: clamp(32px, 3.8vw, 50px); font-weight: 400; color: var(--ink); line-height: 1.16; }
.ab-head { text-align: center; margin-bottom: 66px; }
.ab-head .eyebrow { justify-content: center; }

.ab-intro { background: var(--paper); padding-block: 160px var(--pad-v); }
.ab-intro__wrap { display: grid; grid-template-columns: 0.85fr 1fr; gap: 84px; align-items: center; }
.ab-statement { font-family: var(--ff-display); font-size: clamp(28px, 3vw, 42px); font-weight: 400; color: var(--ink); line-height: 1.28; letter-spacing: 0.2px; }
.ab-lead { font-family: var(--ff-serif); font-size: var(--fs-lead); font-weight: 400; color: var(--ink-body); line-height: 1.85; max-width: 480px; }

.ab-stats { background: var(--pine-950); color: var(--on-dark); padding-block: 100px; }
.ab-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px; text-align: center; }
.ab-stat { position: relative; padding-inline: 8px; }
.ab-stat + .ab-stat::before { content: ''; position: absolute; inset-block: 6px; inset-inline-start: -22px; width: 1px; background: rgba(218, 190, 134, 0.28); }
.ab-stat__num { font-family: var(--ff-display); font-size: clamp(36px, 4.2vw, 60px); font-weight: 400; color: var(--gold-leaf); line-height: 1.05; margin-bottom: 16px; }
.ab-stat__label { font-family: var(--ff-ui); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-dim); line-height: 1.6; max-width: 200px; margin-inline: auto; }

.ab-callings { background: var(--paper); padding-block: var(--pad-v); }
.ab-roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.ab-role { background: var(--paper-alt); border: 1px solid var(--gold-line); padding: 44px 36px; display: flex; flex-direction: column; gap: 16px; transition: transform 240ms var(--ease), border-color 240ms ease, box-shadow 240ms ease; }
.ab-role:hover { transform: translateY(-6px); border-color: rgba(169, 124, 51, 0.45); box-shadow: 0 24px 52px -30px rgba(30, 20, 11, 0.45); }
.ab-role__icon { width: 42px; height: 42px; color: var(--gold); }
.ab-role__icon svg { width: 100%; height: 100%; }
.ab-role__title { font-family: var(--ff-display); font-size: 1.5rem; font-weight: 400; color: var(--ink); letter-spacing: 0.3px; }
.ab-role__desc { font-family: var(--ff-serif); font-size: var(--fs-body-sm); font-weight: 400; color: var(--ink-body); line-height: 1.7; }

.ab-hcrn { background: var(--pine-950); color: var(--on-dark); padding-block: var(--pad-v); }
.ab-hcrn__wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 76px; align-items: center; }
.ab-hcrn .ab-h2 { color: var(--paper); }
.ab-hcrn .eyebrow { color: var(--on-dark-gold); }
.ab-hcrn .eyebrow::before { background: var(--gold-leaf); }
.ab-hcrn__sub { font-family: var(--ff-ui); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-gold); margin-top: 8px; line-height: 1.6; }
.ab-hcrn .divider { background: linear-gradient(to right, var(--gold-leaf), transparent); }
.ab-hcrn .divider::before { background: var(--gold-leaf); }
.ab-hcrn__mission { font-family: var(--ff-serif); font-size: var(--fs-lead); font-weight: 400; color: var(--on-dark); line-height: 1.85; max-width: 480px; }
.ab-objectives { margin-top: 30px; display: grid; gap: 15px; }
.ab-objectives li { position: relative; padding-inline-start: 28px; font-family: var(--ff-serif); font-size: var(--fs-body-sm); font-weight: 400; color: var(--on-dark); line-height: 1.6; }
.ab-objectives li::before { content: ''; position: absolute; inset-inline-start: 0; inset-block-start: 12px; width: 14px; height: 1px; background: var(--gold-leaf); }

.ab-words { background: var(--paper); padding-block: var(--pad-v); }
.ab-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.ab-card { background: var(--paper-alt); border: 1px solid var(--gold-line); padding: 54px 48px; display: flex; flex-direction: column; }
.ab-card__title { font-family: var(--ff-display); font-size: clamp(28px, 3vw, 40px); font-weight: 400; color: var(--ink); line-height: 1.1; }
.ab-card .divider { margin-block: 26px 28px; }
.ab-card__desc { font-family: var(--ff-serif); font-size: var(--fs-body); font-weight: 400; color: var(--ink-body); line-height: 1.8; flex: 1; }

.ab-quote { background: var(--pine-950); color: var(--on-dark); padding-block: 128px; text-align: center; }
.ab-quote__mark { font-family: var(--ff-display); font-size: 120px; line-height: 0.5; color: var(--gold-leaf); opacity: 0.4; display: block; height: 60px; }
.ab-quote__text { font-family: var(--ff-serif); font-size: clamp(28px, 3.4vw, 46px); font-weight: 400; font-style: italic; color: var(--paper); line-height: 1.4; max-width: 920px; margin-inline: auto; }

.ab-connect { background: var(--paper); padding-block: var(--pad-v); }
.ab-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.ab-link { display: flex; flex-direction: column; gap: 14px; background: var(--paper-alt); border: 1px solid var(--gold-line); padding: 44px 36px; transition: transform 240ms var(--ease), border-color 240ms ease, box-shadow 240ms ease; }
.ab-link:hover { transform: translateY(-6px); border-color: rgba(169, 124, 51, 0.5); box-shadow: 0 24px 52px -30px rgba(30, 20, 11, 0.45); }
.ab-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.ab-link__icon { width: 36px; height: 36px; color: var(--gold); }
.ab-link__icon svg { width: 100%; height: 100%; }
.ab-link__label { font-family: var(--ff-display); font-size: 1.5rem; font-weight: 400; color: var(--ink); letter-spacing: 0.3px; }
.ab-link__host { display: flex; align-items: center; gap: 8px; font-family: var(--ff-ui); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; color: var(--ink-soft); }
.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: 58px; }


/* ================================================================
   CONTACT PAGE  (contact.html / template-contact.php)
   ================================================================ */
.contact { background: var(--paper-alt); padding-block: 160px var(--pad-v); }
.contact__head { text-align: center; margin-bottom: 66px; }
.contact__head .eyebrow { justify-content: center; }
.contact__title { font-family: var(--ff-display); font-size: clamp(40px, 5vw, 62px); font-weight: 400; color: var(--ink); line-height: 1.08; }
.contact__head .divider { margin-inline: auto; width: 72px; background: linear-gradient(to right, transparent, var(--gold), transparent); }
.contact__head .divider::before { left: 50%; transform: translateX(-50%) rotate(45deg); }
.contact__intro { font-family: var(--ff-serif); font-size: var(--fs-lead); font-weight: 400; color: var(--ink-body); line-height: 1.8; max-width: 540px; margin-inline: auto; }

.contact__wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 76px; align-items: start; max-width: 1040px; margin-inline: auto; }
.field { display: grid; gap: 10px; margin-bottom: 24px; }
.field label { font-family: var(--ff-ui); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field textarea { width: 100%; font-family: var(--ff-serif); font-size: 1.05rem; font-weight: 400; color: var(--ink); background: var(--paper); border: 1px solid var(--gold-line); 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(106, 82, 54, 0.5); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(169, 124, 51, 0.12); }
.contact-form__note { margin-top: 18px; min-height: 1.2em; font-family: var(--ff-ui); font-size: 0.85rem; font-weight: 600; color: var(--gold-deep); }

.contact-info__item { padding-block: 24px; border-bottom: 1px solid var(--gold-line); }
.contact-info__item:first-child { padding-top: 0; }
.contact-info__item:last-child { border-bottom: none; }
.contact-info__label { font-family: var(--ff-ui); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 10px; }
.contact-info__value { font-family: var(--ff-serif); font-size: var(--fs-body); font-weight: 400; color: var(--ink-body); line-height: 1.6; transition: color 200ms ease; }
a.contact-info__value:hover { color: var(--gold-deep); }
.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-line); color: var(--ink-soft); transition: color 200ms ease, border-color 200ms ease; }
.contact-social__link svg { width: 18px; height: 18px; }
.contact-social__link:hover { color: var(--gold-deep); border-color: rgba(169, 124, 51, 0.5); }
.contact-social__link:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.contact-map { max-width: 1040px; margin: 66px auto 0; border: 1px solid var(--gold-line); box-shadow: 0 24px 52px -30px rgba(30, 20, 11, 0.4); line-height: 0; }
.contact-map iframe { width: 100%; height: 440px; border: 0; display: block; }

/* generic page.php */
.page-content { background: var(--paper); padding-block: 160px var(--pad-v); }
.page__head { text-align: center; margin-bottom: 48px; }
.page__body { max-width: 760px; margin-inline: auto; font-family: var(--ff-serif); font-size: var(--fs-body); line-height: 1.85; color: var(--ink-body); }
.page__body h2, .page__body h3 { font-family: var(--ff-display); color: var(--ink); margin-block: 1.2em 0.5em; }
.page__body p { margin-bottom: 1.1em; }


/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1160px) {
  :root { --gutter: 48px; }
  .about__wrap, .hcrn__wrap { gap: 60px; }
  .book__layout { gap: 60px; grid-template-columns: minmax(220px, 300px) 1fr; }
  .midhat__grid { grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 52px 44px; }
}

@media (max-width: 900px) {
  :root { --pad-v: 92px; --gutter: 36px; }

  .navbar__inner { height: 74px; }
  .navbar__toggle { display: flex; }
  .navbar__menu {
    display: none;
    position: absolute;
    inset-block-start: 74px;
    inset-inline: 0;
    background: rgba(247, 241, 227, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-block: 12px;
    border-bottom: 1px solid var(--gold-line);
  }
  .navbar__menu.open { display: flex; }
  .navbar__menu li { width: 100%; }
  .navbar__menu a { display: block; padding: 15px 36px; font-size: 0.72rem; letter-spacing: 0.18em; }

  .about__wrap { grid-template-columns: 1fr; gap: 52px; }
  .about__figure { max-width: 380px; margin-inline: auto; }
  .about__body { max-width: 100%; }

  .book__layout { grid-template-columns: 1fr; gap: 48px; justify-items: center; text-align: center; }
  .book__cover-col { max-width: 300px; }
  .book__header { margin-bottom: 48px; }
  .book .divider, .book__desc { margin-inline: auto; }
  .book__desc { max-width: 560px; }
  .book::before, .hcrn::before { inset: 16px; }

  .midhat__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }

  .hcrn__wrap { grid-template-columns: 1fr; gap: 52px; }
  .hcrn__body { max-width: 100%; }
  .hcrn__media { max-width: 420px; }

  .naat__grid { grid-template-columns: 1fr; max-width: 440px; }

  .articles__cols { grid-template-columns: 1fr; gap: 32px; }
  .articles__col { padding: 44px 40px; }

  .ab-intro { padding-top: 116px; }
  .ab-intro__wrap { grid-template-columns: 1fr; gap: 48px; }
  .ab-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 48px 26px; }
  .ab-stat + .ab-stat:nth-child(odd)::before { display: none; }
  .ab-roles { grid-template-columns: 1fr; }
  .ab-hcrn__wrap { grid-template-columns: 1fr; gap: 48px; }
  .ab-hcrn__mission { max-width: 100%; }
  .ab-cards { grid-template-columns: 1fr; }
  .ab-links { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; }
  .contact { padding-top: 116px; }
  .contact__wrap { grid-template-columns: 1fr; gap: 48px; max-width: 580px; }

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

@media (max-width: 600px) {
  :root { --pad-v: 76px; --gutter: 22px; }

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

  .midhat__grid { grid-template-columns: 1fr; max-width: 300px; margin-inline: auto; }
  .book__watermark { font-size: 200px; }

  .articles__col { padding: 36px 28px; }
  .articles__col-desc { max-width: 100%; }

  .about__body::first-letter { font-size: 3em; }

  .footer__top { grid-template-columns: 1fr; gap: 44px; padding-block: 66px 48px; }
  .footer__bottom { flex-direction: column; text-align: center; gap: 12px; }
  .footer__blurb, .footer__news-text { max-width: 100%; }

  .ab-stats__grid { grid-template-columns: 1fr; gap: 42px; }
  .ab-stat + .ab-stat::before { display: none; }
  .ab-card { padding: 40px 28px; }
}

@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: 520px; }
  .hero__content { inset-block-end: 88px; }
  .hero__name { font-size: 32px; }
}
