/* ==========================================================================
   Toronto Muslim Hub — Media Kit
   Midnight emerald + brass · Fraunces / Archivo
   ========================================================================== */

:root {
  --ink: #0c211b;
  --ink-2: #10281f;
  --ink-3: #143126;
  --cream: #f7f1e4;
  --cream-2: #efe7d3;
  --brass: #c3a45f;
  --brass-bright: #dcc180;
  --brass-deep: #9c8040;
  --on-dark: #ede6d4;
  --on-dark-muted: rgba(237, 230, 212, 0.6);
  --on-light: #142620;
  --on-light-muted: rgba(20, 38, 32, 0.62);
  --line-dark: rgba(195, 164, 95, 0.22);
  --line-light: rgba(20, 38, 32, 0.14);
  --shadow: 0 24px 60px -24px rgba(4, 12, 9, 0.55);
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --container: 1160px;
  --radius: 14px;
  --star-tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='132' height='132' viewBox='0 0 132 132'%3E%3Cg fill='none' stroke='%23c3a45f' stroke-opacity='0.09'%3E%3Crect x='46' y='46' width='40' height='40'/%3E%3Crect x='46' y='46' width='40' height='40' transform='rotate(45 66 66)'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Reset & base ---------- */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--on-dark);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
blockquote {
  margin: 0;
}

a {
  color: inherit;
}

section {
  scroll-margin-top: 84px;
}

::selection {
  background: var(--brass);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 100;
  padding: 10px 18px;
  background: var(--brass);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 10px 10px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

.container {
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
}

.container-narrow {
  width: min(820px, 100% - 3rem);
}

/* ---------- Shared type ---------- */

.kicker {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
}

.kicker::after {
  content: "";
  display: inline-block;
  width: 44px;
  height: 1px;
  margin-left: 14px;
  vertical-align: middle;
  background: var(--line-dark);
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 560;
  font-variation-settings: "opsz" 100;
  line-height: 1.06;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2.9rem, 6.6vw, 5.1rem);
  margin-top: 1.1rem;
}

h2 {
  font-size: clamp(2.05rem, 4.1vw, 3.15rem);
  margin-top: 0.9rem;
  max-width: 21ch;
}

h1 em,
h2 em {
  font-style: italic;
  font-weight: 420;
  color: var(--brass-bright);
}

.section-light h2 em,
.section-cream h2 em {
  color: var(--brass-deep);
}

h3 {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: 1.35rem;
  line-height: 1.2;
}

.lede {
  margin-top: 1.25rem;
  max-width: 56ch;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.7;
  color: var(--on-dark-muted);
}

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
}

.section-slim {
  padding-block: clamp(3.5rem, 6vw, 5rem);
}

.section-dark {
  background: var(--ink);
  color: var(--on-dark);
}

.section-dark:nth-of-type(odd) {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
}

.section-light {
  background: var(--cream);
  color: var(--on-light);
}

.section-cream {
  background: var(--cream-2);
  color: var(--on-light);
}

.section-light .lede,
.section-cream .lede {
  color: var(--on-light-muted);
}

.section-light .kicker::after,
.section-cream .kicker::after {
  background: var(--line-light);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(2.6rem, 5vw, 4rem);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.9rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
  background: var(--brass);
  border: 1px solid var(--brass);
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease,
    color 0.22s ease;
}

.btn:hover {
  background: var(--brass-bright);
  border-color: var(--brass-bright);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -14px rgba(195, 164, 95, 0.55);
}

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

.btn-ghost {
  background: transparent;
  color: var(--brass);
  border-color: var(--line-dark);
}

.btn-ghost:hover {
  background: rgba(195, 164, 95, 0.1);
  color: var(--brass-bright);
  box-shadow: none;
}

.section-light .btn-ghost,
.section-cream .btn-ghost {
  color: var(--brass-deep);
  border-color: rgba(156, 128, 64, 0.4);
}

.btn-small {
  padding: 0.55rem 1.25rem;
  font-size: 0.88rem;
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  background: rgba(12, 33, 27, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
}

.nav-inner {
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.8rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--on-dark);
}

.brand-mark {
  width: 30px;
  height: 30px;
  color: var(--brass);
  flex: none;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 560;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand-name em {
  font-style: italic;
  font-weight: 420;
  color: var(--brass-bright);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-links a:not(.btn) {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--on-dark-muted);
  text-decoration: none;
  padding-block: 0.35rem;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:not(.btn):hover {
  color: var(--brass-bright);
  border-bottom-color: var(--brass);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--brass);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(8.5rem, 16vw, 12rem) clamp(5rem, 10vw, 8rem);
  background: radial-gradient(120% 90% at 80% -10%, var(--ink-3) 0%, var(--ink) 58%);
  background-color: var(--ink);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--star-tile);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 78%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 78%);
  pointer-events: none;
}

.hero-ornament {
  position: absolute;
  top: 50%;
  right: -14vw;
  width: clamp(420px, 52vw, 780px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  color: var(--brass);
  opacity: 0.14;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.hero .kicker {
  letter-spacing: 0.26em;
}

.hero .lede {
  max-width: 50ch;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.8rem;
}

.chip {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
  padding: 0.5rem 1.05rem;
  font-size: 0.88rem;
  color: var(--on-dark-muted);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(16, 40, 31, 0.55);
}

.chip strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 560;
  color: var(--brass-bright);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.2rem;
}

.hero-micro {
  margin-top: 1.6rem;
  font-size: 0.9rem;
  color: var(--on-dark-muted);
}

.hero-micro a {
  color: var(--brass-bright);
  text-decoration: none;
  border-bottom: 1px solid var(--line-dark);
}

.hero-micro a:hover {
  border-bottom-color: var(--brass-bright);
}

/* Profile card */

.profile-card {
  position: relative;
  padding: 1.9rem 1.9rem 1.6rem;
  background: linear-gradient(160deg, rgba(20, 49, 38, 0.92), rgba(12, 33, 27, 0.96));
  border: 1px solid var(--line-dark);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
}

.profile-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: var(--star-tile);
  opacity: 0.5;
  pointer-events: none;
}

.profile-card > * {
  position: relative;
}

.pc-head {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pc-avatar {
  width: 58px;
  height: 58px;
  flex: none;
  display: grid;
  place-items: center;
  padding: 13px;
  color: var(--brass);
  border: 1px solid var(--brass);
  border-radius: 50%;
  background: rgba(195, 164, 95, 0.08);
}

.pc-name {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 560;
  line-height: 1.15;
}

.pc-handle {
  margin-top: 0.2rem;
  font-size: 0.88rem;
  color: var(--on-dark-muted);
}

.pc-tag {
  color: var(--brass-bright);
}

.pc-stats {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 1.4rem 0 0;
  padding: 1rem 0.2rem;
  list-style: none;
  border-block: 1px solid var(--line-dark);
}

.pc-stats li {
  display: grid;
  gap: 0.1rem;
  text-align: center;
}

.pc-stats strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 560;
  color: var(--brass-bright);
}

.pc-stats span {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

.pc-bio {
  margin-top: 1.2rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

.pc-bio span {
  color: var(--on-dark-muted);
}

.pc-link {
  display: block;
  margin-top: 1.3rem;
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--brass-bright);
  text-decoration: none;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.pc-link:hover {
  background: rgba(195, 164, 95, 0.1);
  border-color: var(--brass);
}

.pc-note {
  margin-top: 0.9rem;
  font-size: 0.74rem;
  text-align: center;
  letter-spacing: 0.04em;
  color: var(--on-dark-muted);
}

/* ---------- Pillars ---------- */

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.pillar {
  padding: 1.8rem 1.6rem;
  background: #fffdf7;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pillar:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px -26px rgba(20, 38, 32, 0.35);
}

.pillar-icon {
  width: 34px;
  height: 34px;
  color: var(--brass-deep);
}

.pillar h3 {
  margin-top: 1.1rem;
  font-size: 1.22rem;
}

.pillar p {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--on-light-muted);
}

/* ---------- Audience stats ---------- */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.stat {
  padding: 1.7rem 1.5rem 1.5rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(20, 49, 38, 0.55), rgba(12, 33, 27, 0.2));
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 3.6vw, 3.2rem);
  font-weight: 560;
  line-height: 1;
  color: var(--brass-bright);
}

.stat-unit {
  font-size: 0.6em;
}

.stat-label {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--on-dark-muted);
}

.stat sup {
  color: var(--brass);
}

/* Demographics */

.demo-panel {
  margin-top: 2.4rem;
  padding: clamp(1.8rem, 3.5vw, 2.8rem);
  border: 1px solid var(--line-dark);
  border-radius: calc(var(--radius) + 4px);
  background: rgba(16, 40, 31, 0.45);
}

.demo-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 1.9rem;
}

.demo-head h3 {
  font-size: 1.45rem;
}

.demo-head sup {
  color: var(--brass);
  font-size: 0.6em;
}

.demo-note {
  font-size: 0.84rem;
  color: var(--on-dark-muted);
  max-width: 46ch;
}

.demo-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.8rem, 4vw, 3.5rem);
}

.demo-group h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.1rem;
}

.bar-row {
  display: grid;
  grid-template-columns: 92px 1fr 46px;
  align-items: center;
  gap: 0.9rem;
  padding-block: 0.42rem;
}

.bar-label {
  font-size: 0.9rem;
  color: var(--on-dark);
}

.bar-track {
  position: relative;
  display: block;
  height: 8px;
  border-radius: 4px;
  background: rgba(237, 230, 212, 0.1);
  overflow: hidden;
}

.bar-fill {
  position: absolute;
  inset-block: 0;
  left: 0;
  width: var(--w);
  border-radius: 4px;
  background: linear-gradient(90deg, var(--brass-deep), var(--brass-bright));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.in .bar-fill {
  transform: scaleX(1);
}

.bar-value {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 560;
  text-align: right;
  color: var(--on-dark);
}

.demo-foot {
  margin-top: 1.8rem;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--on-dark-muted);
}

.demo-foot sup {
  color: var(--brass);
}

/* ---------- Market ---------- */

.market-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}

.market-stat {
  padding-top: 1.6rem;
  border-top: 2px solid var(--brass);
}

.market-value {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.6vw, 4.6rem);
  font-weight: 640;
  line-height: 1;
  letter-spacing: -0.02em;
}

.market-label {
  margin-top: 0.9rem;
  font-size: 0.97rem;
  line-height: 1.6;
  color: var(--on-light-muted);
  max-width: 30ch;
}

.market-label sup {
  color: var(--brass-deep);
}

.market-pull {
  margin-top: clamp(2.8rem, 6vw, 4.5rem);
  padding: clamp(1.8rem, 4vw, 2.6rem) clamp(1.8rem, 4.5vw, 3.2rem);
  border-left: 3px solid var(--brass);
  background: #fffdf7;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.market-pull p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 420;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.45;
  max-width: 44ch;
}

.market-sources {
  margin-top: 1.8rem;
  font-size: 0.82rem;
  color: var(--on-light-muted);
}

.market-sources a {
  color: var(--brass-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(156, 128, 64, 0.35);
}

.market-sources a:hover {
  border-bottom-color: var(--brass-deep);
}

/* ---------- Why ---------- */

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.4rem, 3vw, 2.2rem);
}

.why-item {
  position: relative;
  padding: 1.9rem 1.9rem 1.9rem 5.4rem;
  background: var(--cream);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
}

.why-num {
  position: absolute;
  top: 1.7rem;
  left: 1.7rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.55rem;
  font-weight: 420;
  color: var(--brass-deep);
}

.why-item h3 {
  font-size: 1.28rem;
}

.why-item p {
  margin-top: 0.6rem;
  font-size: 0.96rem;
  line-height: 1.62;
  color: var(--on-light-muted);
}

/* ---------- Packages ---------- */

.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
  align-items: stretch;
}

.tier {
  display: flex;
  flex-direction: column;
  padding: 2.1rem 1.9rem 1.9rem;
  border: 1px solid var(--line-dark);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(175deg, rgba(20, 49, 38, 0.5), rgba(12, 33, 27, 0.15));
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.tier:hover {
  transform: translateY(-6px);
  border-color: rgba(195, 164, 95, 0.45);
}

.tier-featured {
  background: var(--cream);
  color: var(--on-light);
  border: 1px solid var(--brass);
  box-shadow: 0 30px 70px -30px rgba(195, 164, 95, 0.35);
}

.tier-flag {
  align-self: flex-start;
  margin-bottom: 1rem;
  padding: 0.32rem 0.9rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--brass);
  border-radius: 999px;
}

.tier-name {
  font-size: 1.4rem;
}

.tier-price {
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-size: 2.9rem;
  font-weight: 640;
  line-height: 1;
  color: var(--brass-bright);
}

.tier-featured .tier-price {
  color: var(--brass-deep);
}

.tier-price span {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--on-dark-muted);
}

.tier-featured .tier-price span {
  color: var(--on-light-muted);
}

.tier-value {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.7rem;
}

.tier-value s {
  font-size: 0.92rem;
  color: var(--on-dark-muted);
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(237, 230, 212, 0.45);
}

.tier-featured .tier-value s {
  color: var(--on-light-muted);
  text-decoration-color: rgba(20, 38, 32, 0.3);
}

.tier-save {
  padding: 0.22rem 0.72rem;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--brass);
  border-radius: 999px;
  white-space: nowrap;
}

.retainer .tier-value {
  margin-top: 0;
  margin-bottom: 0.2rem;
}

.retainer .tier-value s {
  color: var(--on-dark-muted);
}

.tier-list {
  margin: 1.5rem 0 0;
  padding: 1.35rem 0 0;
  list-style: none;
  border-top: 1px solid var(--line-dark);
  display: grid;
  gap: 0.68rem;
  flex-grow: 1;
}

.tier-featured .tier-list {
  border-top-color: rgba(156, 128, 64, 0.3);
}

.tier-list li {
  position: relative;
  padding-left: 1.7rem;
  font-size: 0.94rem;
  line-height: 1.5;
}

.tier-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 13px;
  height: 13px;
  background: currentColor;
  color: var(--brass);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 8.5 6 12l7.5-8' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 8.5 6 12l7.5-8' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.tier-featured .tier-list li::before {
  color: var(--brass-deep);
}

.tier-fit {
  margin-top: 1.35rem;
  font-size: 0.84rem;
  font-style: italic;
  color: var(--on-dark-muted);
}

.tier-featured .tier-fit {
  color: var(--on-light-muted);
}

.tier-cta {
  margin-top: 1.35rem;
}

/* Retainer band */

.retainer {
  display: grid;
  grid-template-columns: 1.5fr auto;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: 2.2rem;
  padding: clamp(1.8rem, 3.5vw, 2.6rem) clamp(1.8rem, 4vw, 3rem);
  border: 1px solid var(--brass);
  border-radius: calc(var(--radius) + 4px);
  background:
    var(--star-tile),
    linear-gradient(120deg, rgba(195, 164, 95, 0.14), rgba(195, 164, 95, 0.04));
}

.retainer-flag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
}

.retainer h3 {
  margin-top: 0.5rem;
  font-size: 1.55rem;
}

.retainer-copy p:last-child {
  margin-top: 0.7rem;
  font-size: 0.97rem;
  line-height: 1.6;
  color: var(--on-dark-muted);
  max-width: 52ch;
}

.retainer-copy strong {
  color: var(--brass-bright);
  font-weight: 600;
}

.retainer-side {
  display: grid;
  gap: 1rem;
  justify-items: start;
}

.retainer-price {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 640;
  line-height: 1.1;
  color: var(--brass-bright);
}

.retainer-price span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--on-dark-muted);
}

/* Add-ons */

.menu-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: 2.6rem;
}

.addons {
  margin-top: 2.6rem;
}

.menu-cols .addons {
  margin-top: 0;
}

.addon-list-single {
  grid-template-columns: 1fr;
  gap: 0;
}

.addons h3 {
  font-size: 1.2rem;
  color: var(--on-dark-muted);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.addon-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(2rem, 5vw, 4rem);
  margin-top: 1.1rem;
}

.addon-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--line-dark);
}

.addon-list dt {
  font-size: 0.95rem;
}

.addon-list dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 560;
  color: var(--brass-bright);
  white-space: nowrap;
}

.scarcity {
  margin-top: 2.4rem;
  font-size: 0.98rem;
  color: var(--on-dark-muted);
  text-align: center;
}

.scarcity strong {
  color: var(--brass-bright);
  font-weight: 600;
}

/* ---------- Process ---------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-light);
}

.step-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 420;
  color: var(--brass-deep);
}

.process-step h3 {
  margin-top: 0.7rem;
  font-size: 1.2rem;
}

.process-step p {
  margin-top: 0.55rem;
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--on-light-muted);
}

.process-step a {
  color: var(--brass-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(156, 128, 64, 0.35);
}

/* ---------- Standards ---------- */

.standards-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.standards-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.2rem;
}

.standards-list li {
  padding-left: 1.9rem;
  position: relative;
  font-size: 0.99rem;
  line-height: 1.65;
  color: var(--on-light-muted);
}

.standards-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 15px;
  height: 15px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%239c8040' stroke-width='7'%3E%3Crect x='24' y='24' width='52' height='52'/%3E%3Crect x='24' y='24' width='52' height='52' transform='rotate(45 50 50)'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

.standards-list strong {
  color: var(--on-light);
}

/* ---------- FAQ ---------- */

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-list details {
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: #fffdf7;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-list details[open] {
  border-color: rgba(156, 128, 64, 0.45);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 560;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  position: relative;
  flex: none;
  width: 15px;
  height: 15px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--brass-deep);
  transition: transform 0.25s ease;
}

.faq-icon::before {
  width: 15px;
  height: 1.5px;
}

.faq-icon::after {
  width: 1.5px;
  height: 15px;
}

details[open] .faq-icon::after {
  transform: rotate(90deg);
}

.faq-list details p {
  padding: 0 1.4rem 1.3rem;
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--on-light-muted);
  max-width: 62ch;
}

/* ---------- Contact ---------- */

.section-contact {
  overflow: hidden;
  background:
    radial-gradient(90% 120% at 50% 120%, var(--ink-3) 0%, var(--ink) 60%);
  text-align: center;
}

.contact-inner {
  position: relative;
  display: grid;
  justify-items: center;
}

.contact-ornament {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(340px, 46vw, 620px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  color: var(--brass);
  opacity: 0.08;
  pointer-events: none;
}

.contact-inner .kicker::after {
  display: none;
}

.contact-inner h2 {
  max-width: 16ch;
}

.contact-inner .lede {
  margin-inline: auto;
}

.contact-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.3rem;
}

.contact-micro {
  margin-top: 1.7rem;
  font-size: 0.85rem;
  color: var(--on-dark-muted);
}

/* ---------- Footer ---------- */

.footer {
  padding-block: 2.6rem;
  background: #081712;
  border-top: 1px solid var(--line-dark);
}

.footer-inner {
  display: grid;
  justify-items: center;
  gap: 0.9rem;
  text-align: center;
}

.footer .brand-mark {
  width: 26px;
  height: 26px;
}

.footer-line {
  font-size: 0.88rem;
  color: var(--on-dark-muted);
}

.footer-fine {
  font-size: 0.8rem;
  color: var(--on-dark-muted);
}

.footer-fine a {
  color: var(--brass-bright);
  text-decoration: none;
  border-bottom: 1px solid var(--line-dark);
}

/* ---------- Motion ---------- */

.load-fade,
.load-rise {
  opacity: 0;
  animation: rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0s);
}

.load-rise {
  animation-name: rise-big;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes rise-big {
  from {
    opacity: 0;
    transform: translateY(34px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0s);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .load-fade,
  .load-rise {
    animation: none;
    opacity: 1;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .bar-fill {
    transform: none;
    transition: none;
  }

  .btn,
  .tier,
  .pillar {
    transition: none;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .pillar-grid,
  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 2.2rem;
  }

  .tier-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }

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

  .profile-card {
    max-width: 460px;
  }

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

  .retainer-side {
    justify-items: start;
  }
}

@media (max-width: 960px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem 1.5rem 1.4rem;
    background: #0c211b;
    border-bottom: 1px solid var(--line-dark);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a:not(.btn) {
    padding-block: 0.85rem;
    border-bottom: 1px solid rgba(195, 164, 95, 0.12);
  }

  .nav-links .btn {
    margin-top: 1rem;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 780px) {
  .market-grid,
  .why-grid,
  .demo-cols,
  .addon-list,
  .menu-cols,
  .standards-grid {
    grid-template-columns: 1fr;
  }

  .menu-cols {
    gap: 2rem;
  }

  .market-grid {
    gap: 2.2rem;
  }

  .why-item {
    padding-left: 1.9rem;
    padding-top: 4.2rem;
  }

  .why-num {
    top: 1.6rem;
    left: 1.9rem;
  }
}

@media (max-width: 560px) {
  .pillar-grid,
  .stat-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .contact-ctas .btn {
    width: 100%;
  }

  .bar-row {
    grid-template-columns: 78px 1fr 42px;
    gap: 0.6rem;
  }
}

/* ---------- Print ---------- */

@media print {
  :root {
    --ink: #ffffff;
  }

  body {
    background: #fff;
    color: #14211c;
    font-size: 10.5pt;
  }

  .nav,
  .nav-toggle,
  .hero-ornament,
  .contact-ornament,
  #printKit,
  .skip-link,
  .tier-cta,
  .pc-link {
    display: none !important;
  }

  .hero,
  .section-dark,
  .section-contact,
  .footer {
    background: #fff !important;
    color: #14211c !important;
  }

  .hero::before,
  .profile-card::before {
    display: none;
  }

  .hero {
    padding-top: 2rem;
  }

  h1 em,
  h2 em {
    color: #9c8040;
  }

  .lede,
  .stat-label,
  .tier-list li,
  .market-label,
  .demo-note,
  .demo-foot,
  .pc-handle,
  .pc-bio span,
  .footer-line,
  .footer-fine,
  .scarcity,
  .contact-micro,
  .retainer-copy p:last-child,
  .tier-fit,
  .tier-price span,
  .retainer-price span,
  .hero-micro,
  .pc-note,
  .pc-stats span,
  .addon-list dt {
    color: #4a5a52 !important;
  }

  .stat-value,
  .tier-price,
  .retainer-price,
  .addon-list dd,
  .pc-stats strong,
  .chip strong,
  .scarcity strong,
  .retainer-copy strong {
    color: #9c8040 !important;
  }

  .bar-label,
  .bar-value,
  .pc-name,
  .pc-bio,
  .tier-name,
  .retainer h3,
  .stat,
  .demo-head h3 {
    color: #14211c !important;
  }

  .profile-card,
  .stat,
  .demo-panel,
  .tier,
  .retainer {
    background: #fff !important;
    border-color: #d8d2c2 !important;
    box-shadow: none !important;
  }

  .bar-track {
    background: #eee7d8;
  }

  .bar-fill {
    transform: none;
  }

  .reveal,
  .load-fade,
  .load-rise {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .section {
    padding-block: 1.6rem;
  }

  #packages,
  #audience {
    break-before: page;
  }

  .tier-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
  }

  a[href^="https://www.instagram"]::after {
    content: " (instagram.com/torontomuslimhub)";
    font-size: 0.85em;
    color: #4a5a52;
  }
}
