/* IDM Landing — extends styles.css with web/landing-specific rules */

html, body {
  background: var(--paper);
  color: var(--ink);
  overflow-x: clip;
  font-family: var(--f-sans);
  font-feature-settings: "ss01", "ss02", "cv11";
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-width: 360px;
}

* { box-sizing: border-box; }

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

/* ─── container ─── */
.wrap {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 56px;
}
@media (max-width: 880px) { .wrap { padding: 0 24px; } }

/* ─── top nav ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 0;
  color: var(--ink);
  transition: color .25s ease;
}
.nav.on-dark { color: var(--paper); }
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 88px;
  gap: 32px;
}
.nav .wordmark { height: 26px; color: var(--ink); }
.nav.on-dark .wordmark { color: var(--paper); }
.nav .wordmark svg { height: 100%; width: auto; display:block; }

.nav-links {
  display: flex;
  gap: 36px;
  justify-self: center;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  opacity: 0.7;
  transition: opacity .15s ease;
}
.nav-links a:hover { opacity: 1; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px 11px 20px;
  border: 1px solid var(--ink);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.nav-cta:hover { background: var(--ink); color: var(--paper); }
.nav.on-dark .nav-cta { border-color: var(--paper); color: var(--paper); }
.nav.on-dark .nav-cta:hover { background: var(--paper); color: var(--ink); }
.nav-cta .arrow { width: 14px; height: 1px; background: currentColor; position: relative; }
.nav-cta .arrow::after {
  content: ""; position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav.on-dark .status-pill { color: var(--muted-dark); }
.status-pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: oklch(0.74 0.14 145);
  box-shadow: 0 0 0 4px oklch(0.74 0.14 145 / 0.18);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }

/* ─── hero ─── */
.hero {
  position: relative;
  background: var(--emerald);
  color: var(--paper);
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.hero .star-bleed {
  position: absolute;
  width: 1400px; height: 1400px;
  right: -380px; bottom: -380px;
  color: var(--brass-soft);
  opacity: 0.075;
  pointer-events: none;
}
.hero .star-bleed svg { width: 100%; height: 100%; display: block; }

.hero-nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 2;
  color: var(--paper);
}
.hero-nav .nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 88px;
  gap: 32px;
}
.hero-wm {
  display: inline-flex;
  align-items: center;
  height: 26px;
  color: var(--paper);
}
.hero-wm svg { display: block; height: 100%; width: auto; }
.hero-nav .nav-cta {
  border-color: var(--paper);
  color: var(--paper);
}
.hero-nav .nav-cta:hover { background: var(--paper); color: var(--ink); }

.hero-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 112px;
  padding-bottom: 72px;
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.hero-meta .meta-r {
  display: flex; gap: 36px; align-items: center; flex-wrap: wrap;
}
.hero-meta .v { color: var(--brass-soft); }

.hero h1 {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(38px, 5.2vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.024em;
  margin: 48px 0 0;
  max-width: 18ch;
  text-wrap: balance;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--brass-soft);
}

.hero-sub {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 36px;
}

.hero-sub .lede {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.45;
  margin: 0;
  max-width: 48ch;
  opacity: 0.86;
  color: var(--paper);
}
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px 11px 20px;
  border: 1px solid var(--brass-soft);
  color: var(--brass-soft);
  background: transparent;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.btn:hover { background: var(--brass-soft); color: var(--ink); }
.btn .arrow {
  display: inline-block;
  width: 14px; height: 1px;
  background: currentColor;
  position: relative;
}
.btn .arrow::after {
  content: ""; position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.btn.dark {
  border-color: var(--ink);
  color: var(--ink);
}
.btn.dark:hover { background: var(--ink); color: var(--paper); }

.hero-actions .access-note {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-dark);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero-actions .access-note .star {
  color: var(--brass-soft);
  display: inline-block;
  width: 12px; height: 12px;
}

/* hero bottom — credentialing strip */
.hero-creds {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--rule-dark);
  padding: 32px 0;
}
.hero-creds-inner {
  display: grid;
  grid-template-columns: auto auto auto auto 1fr;
  align-items: center;
  gap: 32px 36px;
}
@media (max-width: 880px) { .hero-creds-inner { grid-template-columns: 1fr; gap: 18px; } }
.cred-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.hero-creds .cred-srb img { display:block; height: 56px; width: auto; }
.hero-creds .cred-difc img { display:block; height: 40px; width: auto; filter: invert(1); mix-blend-mode: screen; opacity: .9; }
.hero-creds .cred-right {
  justify-self: end;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-dark);
  text-align: right;
  line-height: 1.6;
}
@media (max-width: 880px) { .hero-creds .cred-right { justify-self: start; text-align: left; } }
.hero-creds .cred-right b { color: var(--brass-soft); font-weight: 500; }

/* ─── status strip ─── */
.status {
  background: var(--paper-2);
  border-bottom: 1px solid var(--rule);
}
.status-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
@media (max-width: 880px) { .status-inner { grid-template-columns: 1fr 1fr; } }
.status-cell {
  padding: 26px 28px 26px 0;
  border-right: 1px solid var(--rule);
}
.status-cell:last-child { border-right: 0; padding-right: 0; }
.status-cell .k {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}
.status-cell .v {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: 36px;
  letter-spacing: -0.01em;
  line-height: 1;
  margin: 0;
}
.status-cell .v small {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-left: 8px;
}

/* ─── section atoms ─── */
section.band {
  padding: 140px 0;
  position: relative;
}
section.band.tight { padding: 88px 0; }
section.band.ink { background: var(--ink); color: var(--paper); }
section.band.paper-2 { background: var(--paper-2); }

.sec-head {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  margin-bottom: 88px;
  align-items: end;
}
@media (max-width: 880px) { .sec-head { grid-template-columns: 1fr; gap: 32px; margin-bottom: 56px; } }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--emerald);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
}
.ink .eyebrow { color: var(--brass-soft); }
.eyebrow .star {
  display: inline-block;
  width: 12px; height: 12px;
  color: var(--brass);
}
.ink .eyebrow .star { color: var(--brass-soft); }

.sec-title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(40px, 4.6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.022em;
  margin: 0;
  text-wrap: balance;
}
.sec-title em { font-style: italic; font-weight: 400; color: var(--emerald); }
.ink .sec-title em { color: var(--brass-soft); }

.sec-lede {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.4;
  margin: 0;
  max-width: 44ch;
  color: var(--muted);
}
.ink .sec-lede { color: var(--muted-dark); }

/* ─── pillars (3 column overview) ─── */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
@media (max-width: 880px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  padding: 56px 64px 56px 0;
  border-right: 1px solid var(--rule);
}
.pillar:last-child { border-right: 0; padding-right: 0; }
.pillar + .pillar { padding-left: 64px; }
@media (max-width: 880px) {
  .pillar { border-right: 0; border-bottom: 1px solid var(--rule); padding: 40px 0; }
  .pillar + .pillar { padding-left: 0; }
  .pillar:last-child { border-bottom: 0; }
}
.pillar .no {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 32px;
}
.pillar h3 {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: 38px;
  letter-spacing: -0.018em;
  line-height: 1.05;
  margin: 0 0 24px;
  min-height: calc(2em * 1.05);
}
.pillar h3 em { font-style: italic; font-weight: 400; color: var(--emerald); }
.pillar p {
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.55;
  margin: 0;
  color: var(--muted);
  max-width: 38ch;
}

/* ─── ticker (anonymised activity stream) ─── */
.ticker-section {
  position: relative;
  padding: 88px 0 96px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.ticker-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  gap: 24px;
  flex-wrap: wrap;
}
.ticker-head .k {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.ticker-head .k .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: oklch(0.74 0.14 145);
  box-shadow: 0 0 0 3px oklch(0.74 0.14 145 / 0.18);
  animation: pulse 2.6s ease-in-out infinite;
}
.ticker-head .legend {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: .65;
}

.ticker {
  display: grid;
  grid-template-columns: 70px 1.4fr 1fr 1fr 0.8fr 0.7fr;
  font-family: var(--f-mono);
  font-size: 13px;
  border-top: 1px solid var(--rule);
}
.ticker .row { display: contents; }
.ticker .cell {
  padding: 18px 16px 18px 0;
  border-bottom: 1px solid var(--rule);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ticker .head .cell {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 14px;
  padding-bottom: 14px;
}
.ticker .row.body:hover .cell { background: var(--paper-2); }
.ticker .status-cell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
}
.ticker .status-cell .pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: oklch(0.74 0.14 145);
}
.ticker .status-cell .pulse.amber { background: oklch(0.78 0.14 75); }
.ticker .status-cell .pulse.live {
  box-shadow: 0 0 0 3px oklch(0.74 0.14 145 / 0.18);
  animation: pulse 2.6s ease-in-out infinite;
}
.ticker .institution { color: var(--ink); letter-spacing: 0.04em; }
.ticker .redacted {
  display: inline-block;
  background: var(--ink);
  color: var(--ink);
  height: 10px;
  vertical-align: middle;
  margin-right: 8px;
  opacity: 0.82;
}
.ticker .muted { color: var(--muted); }

@media (max-width: 880px) {
  .ticker { font-size: 12px; grid-template-columns: 60px 1fr 0.7fr; }
  .ticker .cell.hide-sm, .ticker .head .cell.hide-sm { display: none; }
}

/* ─── network composition (anonymised members) ─── */
.composition {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule-dark);
  border: 1px solid var(--rule-dark);
}
@media (max-width: 880px) { .composition { grid-template-columns: 1fr; } }
.comp {
  background: var(--ink);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 320px;
  position: relative;
}
.comp .k {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-dark);
  margin: 0;
}
.comp .name {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.012em;
  margin: 0;
  color: var(--paper);
  min-height: 2.4em;
}
.comp .comp-body {
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted-dark);
  margin: 0;
  max-width: 34ch;
  flex: 1;
}
.comp .name .red {
  display: inline-block;
  height: 0.85em;
  background: var(--brass-soft);
  opacity: 0.32;
  margin: 0 2px;
  vertical-align: -0.07em;
  border-radius: 1px;
}
.comp .meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-dark);
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--rule-dark);
}
.comp .meta b { color: var(--brass-soft); font-weight: 500; }

.composition-foot {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

/* ─── enquiry (form section) ─── */
.enquiry-form-wrap {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}
.enquiry-form-wrap > .form-card {
  grid-column: 2;
}
@media (max-width: 880px) {
  .enquiry-form-wrap { grid-template-columns: 1fr; gap: 32px; }
  .enquiry-form-wrap > .form-card { grid-column: 1; }
}

.enquiry-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 96px;
  align-items: start;
}
@media (max-width: 880px) { .enquiry-grid { grid-template-columns: 1fr; gap: 56px; } }

.enquiry-copy h2 {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(42px, 4.6vw, 68px);
  line-height: 1.0;
  letter-spacing: -0.022em;
  margin: 24px 0 36px;
}
.enquiry-copy h2 em { font-style: italic; font-weight: 400; color: var(--brass-soft); }
.enquiry-copy p {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.45;
  margin: 0 0 32px;
  color: var(--paper);
  opacity: 0.84;
  max-width: 42ch;
}
.enquiry-copy .micro {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-dark);
  display: grid;
  gap: 14px;
  padding-top: 28px;
  border-top: 1px solid var(--rule-dark);
  margin-top: 40px;
}
.enquiry-copy .micro div { display: flex; gap: 18px; align-items: baseline; }
.enquiry-copy .micro .lbl { color: var(--brass-soft); min-width: 130px; }

/* form */
.form-card {
  background: var(--paper);
  color: var(--ink);
  padding: 48px;
  position: relative;
}
.form-card .fc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 22px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-card .fc-head .ref { color: var(--ink); }
.field {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}
.field label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.4;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  outline: none;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 96px; padding-top: 10px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-bottom-color: var(--emerald);
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 14px) 22px, calc(100% - 8px) 22px;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 28px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

.consent {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 28px 0 32px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--muted);
}
.consent input {
  margin-top: 3px;
  width: 14px; height: 14px;
  appearance: none; -webkit-appearance: none;
  border: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
  position: relative;
  flex: none;
  border-radius: 0;
}
.consent input:checked::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: var(--emerald);
}

.submit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.submit-row .ack {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 32ch;
  line-height: 1.6;
}

button.submit {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 18px 26px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
button.submit:hover { background: var(--emerald); border-color: var(--emerald); }
button.submit:disabled { opacity: 0.5; cursor: not-allowed; }
button.submit .arrow {
  display: inline-block;
  width: 24px; height: 1px;
  background: currentColor;
  position: relative;
}
button.submit .arrow::after {
  content: ""; position: absolute; right: 0; top: -4px;
  width: 8px; height: 8px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.submitted {
  text-align: center;
  padding: 40px 24px;
}
.submitted .ref-no {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--emerald);
  margin: 0 0 24px;
}
.submitted h3 {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: 40px;
  letter-spacing: -0.018em;
  line-height: 1.1;
  margin: 0 0 18px;
}
.submitted h3 em { font-style: italic; font-weight: 400; color: var(--emerald); }
.submitted p {
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 40ch;
  margin: 0 auto;
}

/* ─── footer ─── */
footer {
  background: var(--ink);
  color: var(--paper);
  padding: 64px 0 36px;
}
.footer-grid {
  display: block;
  margin-bottom: 64px;
}
.footer-grid h5 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 18px;
  color: var(--brass-soft);
}
.footer-grid p, .footer-grid li, .footer-grid a {
  font-family: var(--f-sans);
  font-size: 14px;
  line-height: 1.7;
  color: var(--paper);
  opacity: 0.72;
  margin: 0;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid .brand .wm { display: block; height: 26px; margin-bottom: 22px; color: var(--paper); }
.footer-grid .brand .wm svg { height: 100%; width: auto; display: block; }
.footer-grid .brand p { font-family: var(--f-display); font-style: italic; font-size: 17px; max-width: 28ch; opacity: 0.86; }

.footer-lede {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 48px;
  flex-wrap: wrap;
}
.footer-lede p { margin: 0; max-width: 32ch; }
.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border: 1px solid var(--brass-soft);
  color: var(--brass-soft);
  background: transparent;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease;
  opacity: 1;
}
.footer-cta:hover { background: var(--brass-soft); color: var(--ink); }
.footer-cta .arrow {
  display: inline-block;
  width: 14px; height: 1px;
  background: currentColor;
  position: relative;
}
.footer-cta .arrow::after {
  content: ""; position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.footer-bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--rule-dark);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.footer-bot .l, .footer-bot .r { display: flex; gap: 28px; align-items: center; }
@media (max-width: 880px) {
  .footer-bot { flex-direction: column; align-items: flex-start; }
}

/* ─── certification responsive (mobile only — desktop uses inline styles) ─── */
@media (max-width: 880px) {
  .cert-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  .cert-badges {
    border-left: 0 !important;
    border-top: 1px solid var(--rule);
    padding-left: 0 !important;
    padding-top: 40px;
    gap: 32px !important;
    flex-direction: column;
    align-items: flex-start !important;
  }
  .cert-badge {
    width: 100%;
  }
  .cert-badge img[alt="Shariyah Review Bureau"] {
    height: 72px !important;
  }
}

/* ─── corner ornament for ink sections ─── */
.band.ink { overflow: hidden; }
.corner-star {
  position: absolute;
  width: 820px; height: 820px;
  color: var(--brass-soft);
  opacity: 0.06;
  pointer-events: none;
}
.corner-star.tr { right: -240px; top: -240px; }
.corner-star.bl { left: -240px; bottom: -240px; }
.corner-star svg { width: 100%; height: 100%; display: block; }

/* scroll-cued reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
