@charset "UTF-8";
/* ==========================================================================
   Tayyib - Islomiy moliya uchun yagona tizim
   Flott Islomiy Moliya

   Brand is sampled from the pitch deck: deep green #0C3B31, gold #E7C211,
   cream #FAF0C4. The page commits to the dark ground rather than treating
   green as an accent on white - this is infrastructure sold to banks, and it
   should read closer to an annual report than to a startup splash page.

   Fonts are self-hosted and subset; see tools/build-fonts.py.
   ========================================================================== */

/* ---------- fonts ---------------------------------------------------- */

@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/unbounded-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/unbounded-800.woff2') format('woff2');
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/onest-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/onest-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/onest-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/onest-700.woff2') format('woff2');
}

/* ---------- tokens --------------------------------------------------- */

:root {
  --ink:        #0C3B31;
  --ink-deep:   #072620;
  --ink-raise:  #10493C;
  --ink-line:   #1B5A4A;
  --gold:       #E7C211;
  --gold-lit:   #F7DA4A;
  --cream:      #FAF0C4;
  --cream-soft: #FCF6DB;
  --paper:      #FFFFFF;

  --on-dark:        #EAF3EE;
  --on-dark-muted:  #9FBFB2;
  --on-light:       #0C3B31;
  --on-light-muted: #55786B;

  --display: 'Unbounded', 'Trebuchet MS', sans-serif;
  --body: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --shell: 1220px;
  --gut: clamp(1.25rem, 4vw, 3rem);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 26px;

  --ease: cubic-bezier(.22, .68, .36, 1);

  /* khatam - the eight-pointed star, two squares at 45 degrees */
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23E7C211' stroke-width='1'%3E%3Crect x='18' y='18' width='36' height='36'/%3E%3Crect x='18' y='18' width='36' height='36' transform='rotate(45 36 36)'/%3E%3Crect x='-18' y='-18' width='36' height='36'/%3E%3Crect x='-18' y='-18' width='36' height='36' transform='rotate(45 0 0)'/%3E%3Crect x='54' y='54' width='36' height='36'/%3E%3Crect x='54' y='54' width='36' height='36' transform='rotate(45 72 72)'/%3E%3Crect x='54' y='-18' width='36' height='36'/%3E%3Crect x='-18' y='54' width='36' height='36'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- base ----------------------------------------------------- */

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--on-dark);
  font-family: var(--body);
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.022em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

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

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

.shell {
  width: min(100% - var(--gut) * 2, var(--shell));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--ink-deep);
  padding: .75rem 1.25rem;
  font-weight: 700;
  z-index: 200;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus { left: 0; }

.sr {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- shared bits ---------------------------------------------- */

.eyebrow {
  font-family: var(--body);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1.15rem;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--gold);
  flex: none;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--gold);
  flex: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .95rem 1.6rem;
  border-radius: 999px;
  font-family: var(--body);
  font-weight: 700;
  font-size: .96rem;
  letter-spacing: -.005em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .22s var(--ease), background-color .22s var(--ease),
              border-color .22s var(--ease), color .22s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

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

.btn--ghost { border-color: rgba(234, 243, 238, .28); color: var(--on-dark); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { background: var(--ink-raise); }

.btn svg { flex: none; }

/* ---------- header --------------------------------------------------- */

.hdr {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--ink) 82%, transparent);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.hdr[data-stuck='true'] {
  border-bottom-color: var(--ink-line);
  background: color-mix(in srgb, var(--ink-deep) 92%, transparent);
}

.hdr__in {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  min-height: 74px;
}

.brand { display: flex; align-items: center; gap: .7rem; flex: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand__name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.16rem;
  letter-spacing: .12em;
}
.brand__sub {
  display: block;
  font-family: var(--body);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-top: 1px;
}

.nav { display: flex; gap: 1.6rem; margin-left: auto; }
.nav a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--on-dark-muted);
  position: relative;
  padding: .3rem 0;
  transition: color .2s var(--ease);
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav a:hover { color: var(--on-dark); }
.nav a:hover::after { transform: scaleX(1); }

.hdr__end { display: flex; align-items: center; gap: .85rem; flex: none; }

.lang {
  display: flex;
  align-items: center;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.lang a {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: .3rem .62rem;
  border-radius: 999px;
  color: var(--on-dark-muted);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.lang a:hover { color: var(--on-dark); }
.lang a[aria-current='true'] { background: var(--gold); color: var(--ink-deep); }

.hdr .btn { padding: .68rem 1.25rem; font-size: .88rem; }

@media (max-width: 940px) {
  .nav { display: none; }
}
@media (max-width: 560px) {
  .hdr__end .btn span { display: none; }
  .hdr__end .btn { padding: .68rem .9rem; }
  .brand__sub { display: none; }
}

/* ---------- hero ----------------------------------------------------- */

.hero {
  position: relative;
  padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--pattern);
  opacity: .05;
  pointer-events: none;
  mask-image: radial-gradient(120% 90% at 15% 0%, #000 5%, transparent 68%);
  -webkit-mask-image: radial-gradient(120% 90% at 15% 0%, #000 5%, transparent 68%);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

/* Unbounded is a wide face - it needs a smaller cap than a normal grotesk
   or the headline runs to four lines and swallows the fold. */
.hero h1 {
  font-size: clamp(1.95rem, 1.15rem + 2.7vw, 3.25rem);
  text-transform: uppercase;
  letter-spacing: -.03em;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
  display: block;
}

.hero__lede {
  margin-top: 1.5rem;
  font-size: clamp(1.02rem, .97rem + .34vw, 1.22rem);
  color: var(--on-dark-muted);
  max-width: 46ch;
}

.hero__cta {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}

.hero__art {
  position: relative;
  margin-inline: calc(var(--gut) * -1) calc(var(--gut) * -1);
}
/* The render's background is nearly the page green, but its right side carries
   ambient light bright enough to show a hard rectangle. A radial mask either
   leaves that edge or clips the object, so all four edges are feathered
   instead - the centre stays fully opaque and the object is never cropped. */
.hero__art img {
  width: 100%;
  --feather:
    linear-gradient(to right,  transparent 0, #000 14%, #000 86%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-image: var(--feather);
  mask-image: var(--feather);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.hero__meta {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--ink-line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem 1.5rem;
}
.hero__meta span {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
.hero__meta span:first-child { color: var(--gold); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; margin-inline: 0; max-width: 460px; }
}

/* ---------- section chrome ------------------------------------------- */

.sec { padding: clamp(3.5rem, 7vw, 6.5rem) 0; position: relative; }

.sec--light {
  background: var(--cream-soft);
  color: var(--on-light);
}
.sec--light .eyebrow { color: #A8850A; }
.sec--light .eyebrow::before,
.sec--light .eyebrow--center::after { background: #A8850A; }

.sec--deep { background: var(--ink-deep); }

.sec__head { max-width: 62ch; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.sec__head--center { margin-inline: auto; text-align: center; }
.sec__head h2 {
  font-size: clamp(1.7rem, 1.1rem + 2.4vw, 2.85rem);
}
.sec__head p {
  margin-top: 1.1rem;
  font-size: clamp(1rem, .96rem + .24vw, 1.13rem);
  color: var(--on-dark-muted);
}
.sec--light .sec__head p { color: var(--on-light-muted); }

/* ---------- the split: today vs tayyib -------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: stretch;
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split__arrow { transform: rotate(90deg); justify-self: center; }
}

.panel {
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border: 1px solid var(--ink-line);
}
.panel--before {
  background: color-mix(in srgb, var(--ink-deep) 60%, transparent);
}
.panel--after {
  background: linear-gradient(165deg, var(--ink-raise), var(--ink-deep));
  border-color: color-mix(in srgb, var(--gold) 42%, transparent);
  position: relative;
  overflow: hidden;
}
.panel--after::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--pattern);
  opacity: .06;
  pointer-events: none;
}
.panel h3 {
  font-size: 1.16rem;
  letter-spacing: -.01em;
  margin-bottom: 1.3rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.panel--before h3 { color: var(--on-dark-muted); }
.panel--after h3 { color: var(--gold); }

.panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; position: relative; }
.panel li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  font-size: .97rem;
  line-height: 1.5;
}
.panel--before li { color: var(--on-dark-muted); }
.panel li svg { flex: none; margin-top: .26em; }

.split__arrow {
  align-self: center;
  color: var(--gold);
  opacity: .75;
}

/* ---------- pillars --------------------------------------------------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.pillar {
  position: relative;
  background: var(--cream);
  color: var(--on-light);
  border-radius: var(--r-lg);
  padding: 1.7rem 1.5rem 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  transition: transform .32s var(--ease), box-shadow .32s var(--ease);
}
.pillar:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px -18px rgba(7, 38, 32, .55);
}
.pillar h3 {
  font-size: 1.18rem;
  letter-spacing: -.012em;
  margin-bottom: 1rem;
}
.pillar ul {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  display: grid;
  gap: .5rem;
}
.pillar li {
  font-size: .88rem;
  font-weight: 500;
  color: var(--on-light-muted);
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  line-height: 1.45;
}
.pillar li svg { flex: none; margin-top: .22em; color: #C9A20B; }

/* the deck's renders are bottom-cropped; anchoring them to the card foot
   makes that read as deliberate rather than broken */
.pillar__art {
  margin-top: auto;
  margin-inline: -1.5rem;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.pillar__art img {
  width: auto;
  max-height: 118px;
  filter: drop-shadow(0 8px 14px rgba(140, 108, 4, .28));
}

/* ---------- product tour ---------------------------------------------- */

.tour { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }

.shot {
  background: linear-gradient(168deg, var(--ink-raise), var(--ink-deep));
  border: 1px solid var(--ink-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: grid;
}
.shot--wide { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: center; }
.shot__copy { padding: clamp(1.6rem, 3vw, 2.6rem); }
.shot__copy h3 {
  font-size: clamp(1.25rem, 1rem + 1vw, 1.72rem);
  color: var(--gold);
  margin-bottom: .85rem;
}
.shot__copy p { color: var(--on-dark-muted); font-size: .99rem; }

.shot__tags {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.shot__tags li {
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: .34rem .72rem;
  border-radius: 999px;
  border: 1px solid var(--ink-line);
  color: var(--on-dark-muted);
}

.shot__img {
  padding: clamp(1rem, 2.5vw, 2rem);
  padding-left: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
}
.shot--wide .shot__img img {
  border-radius: 12px;
  border: 1px solid var(--ink-line);
  box-shadow: 0 26px 50px -24px rgba(0, 0, 0, .7);
  width: 100%;
}

.tour__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.shot--stack { display: flex; flex-direction: column; }
.shot--stack .shot__copy { padding-bottom: 1.2rem; }
.shot--stack .shot__img { padding: 0 1.2rem 1.2rem; margin-top: auto; }
/* The three crops have different native heights. A shared aspect ratio with
   top-anchored cover keeps the row even instead of ragged. */
.shot--stack .shot__img img {
  border-radius: 10px;
  border: 1px solid var(--ink-line);
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: left top;
}
.shot--stack h3 { font-size: 1.14rem; }

@media (max-width: 880px) {
  .shot--wide { grid-template-columns: 1fr; }
  .shot__img { padding: 0 1.4rem 1.4rem; }
}

/* ---------- conveyor -------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: .85rem;
  counter-reset: step;
}
.step {
  position: relative;
  background: color-mix(in srgb, var(--ink-raise) 55%, transparent);
  border: 1px solid var(--ink-line);
  border-radius: var(--r-md);
  padding: 1.15rem 1.15rem 1.25rem;
}
.step__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px; height: 27px;
  border-radius: 8px;
  background: var(--gold);
  color: var(--ink-deep);
  font-family: var(--display);
  font-weight: 800;
  font-size: .82rem;
  margin-bottom: .8rem;
}
.step p { font-size: .92rem; font-weight: 500; line-height: 1.42; }
.step--more {
  display: flex;
  align-items: center;
  justify-content: center;
  border-style: dashed;
  color: var(--on-dark-muted);
  font-weight: 600;
  font-size: .92rem;
  text-align: center;
}

/* ---------- shariah --------------------------------------------------- */

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: clamp(.9rem, 2vw, 1.35rem);
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.product {
  border: 1px solid color-mix(in srgb, var(--on-light) 14%, transparent);
  border-radius: var(--r-md);
  padding: 1.4rem;
  background: var(--paper);
}
.product h3 {
  font-size: 1.08rem;
  margin-bottom: .5rem;
}
.product p { font-size: .92rem; color: var(--on-light-muted); }
.product__ar {
  font-size: .82rem;
  font-weight: 600;
  color: #A8850A;
  letter-spacing: .04em;
  margin-bottom: .45rem;
}

.tenet {
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3.5vw, 2.4rem);
  background: var(--ink);
  color: var(--on-dark);
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.tenet::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--pattern);
  opacity: .07;
  pointer-events: none;
}
.tenet__mark { flex: none; color: var(--gold); position: relative; }
.tenet__body { flex: 1 1 340px; position: relative; }
.tenet h3 { font-size: clamp(1.15rem, 1rem + .8vw, 1.5rem); color: var(--gold); margin-bottom: .6rem; }
.tenet p { color: var(--on-dark-muted); font-size: 1rem; }

/* ---------- integrations ---------------------------------------------- */

/* Fixed column counts rather than auto-fit: there are eight integrations, and
   auto-fit lands on seven-plus-one at desktop width, orphaning the last card. */
.integrations {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .8rem;
}
@media (max-width: 900px) { .integrations { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) { .integrations { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.integration {
  border: 1px solid var(--ink-line);
  border-radius: var(--r-md);
  padding: 1.15rem 1.2rem;
  background: color-mix(in srgb, var(--ink-raise) 40%, transparent);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.integration:hover { border-color: color-mix(in srgb, var(--gold) 55%, transparent); transform: translateY(-3px); }
.integration b {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: .97rem;
  letter-spacing: -.005em;
  margin-bottom: .3rem;
}
.integration span { font-size: .82rem; color: var(--on-dark-muted); line-height: 1.4; display: block; }

/* ---------- audience --------------------------------------------------- */

.who {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: clamp(.9rem, 2vw, 1.4rem);
}
.who__card {
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--cream);
  color: var(--on-light);
  border: 1px solid transparent;
  transition: transform .3s var(--ease);
}
.who__card:hover { transform: translateY(-4px); }
.who__card h3 { font-size: 1.14rem; margin-bottom: .6rem; display: flex; gap: .6rem; align-items: center; }
.who__card h3 svg { flex: none; color: #C9A20B; }
.who__card p { font-size: .93rem; color: var(--on-light-muted); }

/* ---------- closing cta ------------------------------------------------ */

.cta {
  position: relative;
  border-radius: var(--r-lg);
  padding: clamp(2.2rem, 5vw, 3.8rem);
  background: linear-gradient(150deg, var(--ink-raise), var(--ink-deep) 70%);
  border: 1px solid color-mix(in srgb, var(--gold) 30%, transparent);
  overflow: hidden;
  text-align: center;
}
.cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--pattern);
  opacity: .07;
  pointer-events: none;
}
.cta > * { position: relative; }
.cta h2 { font-size: clamp(1.6rem, 1.1rem + 2.1vw, 2.6rem); }
.cta p {
  margin: 1.1rem auto 0;
  max-width: 52ch;
  color: var(--on-dark-muted);
  font-size: clamp(1rem, .96rem + .22vw, 1.1rem);
}
.cta__row {
  margin-top: 2.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  justify-content: center;
}
.cta__note {
  margin-top: 1.5rem;
  font-size: .85rem;
  color: var(--on-dark-muted);
  opacity: .8;
}

/* ---------- footer ----------------------------------------------------- */

.ftr {
  border-top: 1px solid var(--ink-line);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 2rem;
  background: var(--ink-deep);
}
.ftr__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}
.ftr__about p {
  margin-top: 1rem;
  font-size: .9rem;
  color: var(--on-dark-muted);
  max-width: 38ch;
}
.ftr h4 {
  font-family: var(--body);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .9rem;
}
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.ftr li a, .ftr li span {
  font-size: .92rem;
  color: var(--on-dark-muted);
  transition: color .2s var(--ease);
}
.ftr li a:hover { color: var(--gold); }

.ftr__base {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--ink-line);
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.5rem;
  justify-content: space-between;
  font-size: .84rem;
  color: var(--on-dark-muted);
}

/* ---------- entrance --------------------------------------------------- */

/* Gated on .js so the page is never blank if the script fails to run.
   Without the gate, a JS error would leave every .rise element at opacity 0
   and the site would render as an empty green page. */
.js .rise {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .rise.is-in { opacity: 1; transform: none; }

.js .rise:nth-child(2) { transition-delay: .07s; }
.js .rise:nth-child(3) { transition-delay: .14s; }
.js .rise:nth-child(4) { transition-delay: .21s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .js .rise { opacity: 1; transform: none; }
}

/* ---------- print ------------------------------------------------------ */

@media print {
  .hdr, .cta__row, .hero__cta { display: none; }
  body { background: #fff; color: #000; }
}
