/* Kiwiyāna v2 — Indigo Press. Brand emotions in order: Motivation, Reassurance, Inquiry.
   Paper, night ink, indigo (reassurance), vermilion (action), sage (accent on dark). Aref Ruqaa display (Latin drawn beside Ruqʿa calligraphy), DM Sans text.
   Token names kept from v1: --bush = indigo, --saffron = vermilion, --haldi = sage.
   Annnimate component variables are mapped here once, so every component shares the palette. */

/* tokens moved to tokens.css */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0; background: var(--bone); color: var(--ink);
  font: 400 16px/1.5 var(--sans); letter-spacing: -0.015em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--bone); border-radius: 999px; }

/* ---------- layout primitives ---------- */
.wrap { padding: 0 var(--m); max-width: 1680px; margin: 0 auto; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); }
.sec { padding: clamp(96px, 16vh, 184px) 0; position: relative; }
.sec--tight { padding: clamp(64px, 10vh, 120px) 0; }
.dark { background: var(--bush); color: var(--on-bush); }
.dark .muted, .dark .kicker { color: var(--on-bush-2); }

.kicker {
  display: flex; align-items: center; gap: 12px; margin: 0 0 28px;
  font: 500 13px/1 var(--sans); letter-spacing: 0.02em; color: var(--grey);
}
.kicker .n { font-variant-numeric: tabular-nums; color: var(--saffron); }
.kicker::after { content: ''; flex: 0 0 48px; height: 1px; background: currentColor; opacity: .4; }

.h-xl, .h-l, .h-m { font-family: var(--serif); font-weight: 400; letter-spacing: -0.03em; margin: 0; }
.h-xl { font-size: var(--display-xl); line-height: .9; }
.h-l { font-size: var(--display); line-height: .95; }
.h-m { font-size: clamp(30px, 2.8vw, 48px); line-height: 1.02; }
.h-l em, .h-xl em, .h-m em { font-style: italic; color: var(--saffron); }
.lede { font-size: clamp(18px, 1.35vw, 22px); line-height: 1.45; letter-spacing: -0.02em; max-width: 40ch; margin: 0; }
.muted { color: var(--grey); }

/* ---------- buttons ---------- */
.btn {
  --b-bg: var(--ink); --b-fg: var(--bone);
  position: relative; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px;
  border: 0; border-radius: 999px; background: var(--b-bg); color: var(--b-fg);
  font: 500 15px/1 var(--sans); letter-spacing: -0.01em; text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .5s cubic-bezier(.3,.9,.1,1);
}
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--saffron); transform: translateY(101%); transition: transform .5s cubic-bezier(.3,.9,.1,1); }
.btn:hover::before { transform: none; }
.btn:hover { color: var(--ink); }
.btn .arr { transition: transform .5s cubic-bezier(.3,.9,.1,1); }
.btn:hover .arr { transform: translateX(4px); }
.btn--ghost { --b-bg: transparent; --b-fg: currentColor; box-shadow: inset 0 0 0 1px currentColor; }
.btn--light { --b-bg: var(--on-bush); --b-fg: var(--bush); }
.link { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .45s cubic-bezier(.3,.9,.1,1); }
.link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- reveal (generic) ---------- */
.js [data-rise] { opacity: 0; transform: translateY(28px); }
.js [data-rise].seen { opacity: 1; transform: none; transition: opacity .9s cubic-bezier(.3,.9,.1,1), transform 1.1s cubic-bezier(.3,.9,.1,1); transition-delay: calc(var(--d, 0) * 80ms); }
@media (prefers-reduced-motion: reduce) { .js [data-rise] { opacity: 1; transform: none; } }

/* ---------- header (Floating Navbar extensions) ---------- */
.fnb_logo_text { font-family: var(--serif); font-size: 30px; font-weight: 400; letter-spacing: -0.02em; }
.fnb_wrap.is-docked .fnb_nav { color: var(--bone); }
.fnb_cta { background: var(--ink); color: var(--bone) !important; }
.fnb_cta::before { display: none; }
.fnb_wrap.is-docked .fnb_cta { background: var(--saffron); color: var(--ink) !important; }

/* ---------- hero ---------- */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 140px 0 clamp(28px, 5vh, 56px); position: relative; overflow: hidden; }
.hero .iih_headline { text-align: left; max-width: 15ch; line-height: .9; }
.hero .iih_slot { vertical-align: -0.04em; }
.hero__foot { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: var(--g); align-items: end; margin-top: clamp(40px, 7vh, 80px); padding-top: 28px; border-top: 1px solid var(--line); }
.hero__foot .lede { grid-column: 1 / span 5; }
.hero__cta { grid-column: 7 / -1; display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.route { display: flex; align-items: center; gap: 14px; margin-top: 28px; font: 500 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }
.route i { flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--grey) 0 4px, transparent 4px 9px); opacity: .6; }
.route img { width: 46px; height: auto; }
@media (max-width: 860px) {
  .hero__foot .lede, .hero__cta { grid-column: 1 / -1; }
  .hero__cta { justify-content: flex-start; margin-top: 24px; }
}

/* ---------- figures (Rising Stats extensions) ---------- */
.rst_section { background: var(--bone); }
.rst_card { justify-content: space-between; box-shadow: 0 1px 0 var(--line); }
.rst_card.is-saffron { background: var(--saffron); --rst-ink: var(--ink); --rst-ink-soft: rgba(26,23,20,.7); }
.rst_caption { font-size: 14px; line-height: 1.35; max-width: 28ch; }
.rst_caption a { color: inherit; opacity: .8; }
.rst_src { display: block; margin-top: 6px; font-size: 12px; opacity: .75; }
.rst_head .rst_label a { color: inherit; }
@media (max-width: 991px) {
  .rst_stage { --rst-head: 150px; }
  .rst_head { top: calc(var(--rst-margin) + 64px); flex-direction: column; gap: 10px; }
  .rst_title br { display: none; }
  .rst_title { font-size: clamp(40px, 11vw, 64px); }
  .rst_label { font-size: 12px; white-space: normal; }
  .rst_caption { font-size: 12px; line-height: 1.3; }
  .rst_pre { display: none; }
}
@media (max-width: 600px) {
  .rst_src { display: none; }
  .rst_stage { --rst-tall: 1.05; }
}

/* ---------- the hard parts ---------- */
.hard__head { grid-column: 1 / span 6; }
.hard__list { grid-column: 1 / -1; margin: clamp(56px, 9vh, 96px) 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--g); counter-reset: h; }
.hard__list li { counter-increment: h; padding-top: 20px; border-top: 1px solid var(--line); }
.hard__list li::before { content: counter(h, decimal-leading-zero); display: block; font: 500 13px/1 var(--sans); color: var(--saffron); margin-bottom: 40px; }
.hard__list h3 { font: 400 clamp(22px, 1.7vw, 30px)/1.1 var(--serif); letter-spacing: -0.02em; margin: 0 0 14px; }
.hard__list p { margin: 0; color: var(--grey); max-width: 32ch; }
.statement { grid-column: 3 / span 8; margin: clamp(80px, 14vh, 160px) 0 0; font: 400 clamp(34px, 3.6vw, 64px)/1.05 var(--serif); letter-spacing: -0.03em; text-align: center; text-wrap: balance; }
.statement em { color: var(--saffron); }
@media (max-width: 900px) { .hard__list { grid-template-columns: 1fr 1fr; row-gap: 40px; } .hard__head, .statement { grid-column: 1 / -1; } }
@media (max-width: 560px) { .hard__list { grid-template-columns: 1fr; } }

/* ---------- route (Process Rail extensions) ---------- */
.route-sec__head { padding: clamp(96px, 16vh, 184px) 0 0; }
.route-sec__head .grid > * { grid-column: 1 / span 7; }
.route-sec__head .lede { margin-top: 24px; }
.prl_stage { padding-top: 0; padding-bottom: 0; }
.prl_step_title { font-family: var(--serif); font-size: clamp(26px, 2.2vw, 40px); font-weight: 400; letter-spacing: -0.02em; }
.prl_step_media { aspect-ratio: 1; border-radius: 16px; background: var(--sand); }
@media (min-width: 768px) and (max-height: 860px) { .prl_step_media { aspect-ratio: 4 / 3; } }
.prl_bead { background: var(--saffron); }
.proof { margin-top: clamp(56px, 9vh, 96px); padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); background: var(--paper); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--g); align-items: center; }
.proof__brand p { margin: 0 0 10px; }
.proof__brand img { width: min(240px, 60%); filter: brightness(0); opacity: .9; }
.proof dl { margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--g); }
.proof dl div { padding-top: 14px; border-top: 1px solid var(--line); }
.proof dt { font-size: 13px; color: var(--grey); line-height: 1.3; min-height: 2.6em; }
.proof dd { margin: 8px 0 0; font: 400 22px/1 var(--serif); display: flex; align-items: center; gap: 8px; }
.proof dd::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #3E9B57; box-shadow: 0 0 0 4px rgba(62,155,87,.15); }
.route-sec__foot { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; margin: 32px 0 clamp(96px, 16vh, 184px); }
.route-sec__foot p { margin: 0; color: var(--grey); max-width: 60ch; }
@media (max-width: 960px) { .proof { grid-template-columns: 1fr; } .proof dl { grid-template-columns: repeat(2, 1fr); } }

/* ---------- insights ---------- */
.ins__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(48px, 8vh, 88px); }
.ins__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--g); margin: 0; padding: 0; list-style: none; }
.ins__card { position: relative; padding: 28px; min-height: 340px; border-radius: var(--radius); background: var(--bush-2); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; transition: transform .7s cubic-bezier(.3,.9,.1,1), background .5s; }
.ins__card:hover { transform: translateY(-6px); background: #4A6A50; }
.ins__card .n { font: 500 13px/1 var(--sans); color: var(--saffron); }
.ins__card h3 { font: 400 clamp(24px, 1.9vw, 34px)/1.05 var(--serif); letter-spacing: -0.02em; margin: 48px 0 16px; }
.ins__card p { margin: 0; color: var(--on-bush-2); font-size: 15px; line-height: 1.5; }
@media (max-width: 960px) { .ins__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ins__grid { grid-template-columns: 1fr; } .ins__card { min-height: 0; } }

/* ---------- brands ---------- */
.brands__list { margin: clamp(48px, 8vh, 88px) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.brand { display: grid; grid-template-columns: 72px minmax(0, 4fr) minmax(0, 5fr) minmax(0, 2fr); gap: var(--g); align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); position: relative; }
.brand__logo { width: 56px; height: 56px; border-radius: 14px; background: var(--paper); display: grid; place-items: center; padding: 8px; }
.brand__logo img { max-height: 40px; width: auto; object-fit: contain; }
.brand__name { font: 400 clamp(28px, 2.6vw, 46px)/1 var(--serif); letter-spacing: -0.02em; margin: 0; }
.brand__desc { margin: 0; color: var(--grey); font-size: 15px; max-width: 52ch; }
.brand__status { justify-self: end; font: 500 12px/1 var(--sans); padding: 8px 12px; border-radius: 999px; background: var(--sand); white-space: nowrap; }
.brand__status.live { background: var(--bush); color: var(--on-bush); }
.brand__status.soon { background: rgba(130,47,44,.18); color: var(--saffron); }
.brand__peek { position: absolute; right: 18%; top: 50%; width: 220px; aspect-ratio: 1; border-radius: 16px; overflow: hidden; pointer-events: none; opacity: 0; transform: translate(0, -50%) scale(.85) rotate(-4deg); transition: opacity .35s, transform .6s cubic-bezier(.3,.9,.1,1); z-index: 3; }
.brand__peek img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) and (min-width: 900px) { .brand:hover .brand__peek { opacity: 1; transform: translate(0, -50%) scale(1) rotate(-2deg); } }
@media (max-width: 860px) { .brand { grid-template-columns: 56px 1fr auto; } .brand__desc { grid-column: 2 / -1; } .brand__peek { display: none; } }

/* ---------- case study (Alternating Timeline extensions) ---------- */
.at_section { background: var(--paper); }
.at_title_two { color: var(--saffron) !important; font-style: italic; }
.at_name { font-family: var(--serif); font-size: clamp(28px, 2.4vw, 42px) !important; font-weight: 400 !important; }
.at_dot_core, .at_line_fill { background: var(--saffron) !important; }
.at_dot_ring { border-color: var(--saffron) !important; background: var(--paper) !important; }
.at_cta { text-align: center; padding: 0 var(--m) clamp(96px, 14vh, 160px); background: var(--paper); margin-top: calc(-1 * var(--at-runway)); position: relative; }

/* ---------- who / guides ---------- */
.who { font: 400 clamp(28px, 3vw, 54px)/1.1 var(--serif); letter-spacing: -0.025em; margin: 0; grid-column: 1 / span 10; text-wrap: pretty; }
.who b { font-weight: 400; color: var(--saffron); font-style: italic; }
.guides { margin: clamp(48px, 8vh, 88px) 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--g); }
.guides li { border-top: 1px solid var(--line); }
.guides a { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 20px 0 32px; text-decoration: none; font-size: 17px; line-height: 1.35; transition: color .3s; }
.guides a::after { content: '→'; color: var(--saffron); transition: transform .5s cubic-bezier(.3,.9,.1,1); }
.guides a:hover { color: var(--bush-2); }
.guides a:hover::after { transform: translateX(6px); }
@media (max-width: 900px) { .guides { grid-template-columns: 1fr; } .who { grid-column: 1 / -1; } }

/* ---------- founders ---------- */
.founders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--g); margin-top: clamp(48px, 8vh, 88px); }
.founder { padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); background: var(--paper); min-height: 320px; display: flex; flex-direction: column; justify-content: space-between; }
.founder .role { font-size: 13px; color: var(--grey); margin: 0; }
.founder h3 { font: 400 clamp(36px, 3.6vw, 64px)/1 var(--serif); letter-spacing: -0.03em; margin: 56px 0 16px; }
.founder p { margin: 0; max-width: 46ch; color: var(--ink-2); }
@media (max-width: 760px) { .founders { grid-template-columns: 1fr; } }

/* ---------- press ---------- */
.press { margin: clamp(48px, 8vh, 88px) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.press li a { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1.4fr) minmax(0, 6fr) auto; gap: var(--g); align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .5s cubic-bezier(.3,.9,.1,1), background .3s; }
.press li a:hover { padding-left: 16px; padding-right: 16px; background: var(--paper); }
.press .pub { font-weight: 500; }
.press .date { color: var(--grey); font-size: 14px; font-variant-numeric: tabular-nums; }
.press .hl { font: 400 clamp(20px, 1.6vw, 28px)/1.15 var(--serif); letter-spacing: -0.015em; }
.press .go { color: var(--saffron); }
.wire { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px; }
.wire a { padding: 9px 14px; border-radius: 999px; background: var(--paper); font-size: 13px; text-decoration: none; transition: background .3s; }
.wire a:hover { background: var(--sand); }
.wire a span { color: var(--grey); }
@media (max-width: 860px) { .press li a { grid-template-columns: 1fr auto; } .press .hl { grid-column: 1 / -1; } .press .date { grid-row: 1; grid-column: 2; } .press .go { display: none; } }

/* ---------- contact ---------- */
.contact { border-radius: clamp(20px, 3vw, 40px) clamp(20px, 3vw, 40px) 0 0; margin-top: -40px; position: relative; }
.contact .grid > .contact__head { grid-column: 1 / span 5; }
.contact form { grid-column: 7 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 18px var(--g); }
.contact label { display: grid; gap: 8px; font-size: 13px; color: var(--on-bush-2); }
.contact .full { grid-column: 1 / -1; }
.contact input:not([type=checkbox]), .contact select, .contact textarea {
  width: 100%; padding: 14px 0; border: 0; border-bottom: 1px solid rgba(243,241,228,.3); border-radius: 0;
  background: transparent; color: var(--on-bush); font: 400 18px/1.3 var(--sans); letter-spacing: -0.01em; transition: border-color .3s;
}
.contact select option { color: var(--ink); }
.contact input:focus, .contact select:focus, .contact textarea:focus { outline: 0; border-color: var(--saffron); }
.contact .check { display: flex; align-items: center; gap: 10px; color: var(--on-bush); font-size: 15px; }
.contact .check input { width: 18px; height: 18px; accent-color: var(--saffron); }
.contact .send { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 12px; }
.contact .send p { margin: 0; font-size: 14px; color: var(--on-bush-2); }
.contact__head .lede { margin-top: 24px; color: var(--on-bush-2); }
@media (max-width: 900px) { .contact .grid > .contact__head, .contact form { grid-column: 1 / -1; } .contact form { margin-top: 48px; grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot { background: var(--bush); color: var(--on-bush); padding: 0 0 32px; overflow: hidden; }
.foot__mark { width: 100%; opacity: .95; margin: clamp(40px, 8vh, 96px) 0 32px; }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--on-bush-2); border-top: 1px solid rgba(243,241,228,.18); padding-top: 24px; }
.foot__row nav { display: flex; flex-wrap: wrap; gap: 24px; }
.foot__row a { text-decoration: none; }
.foot__row a:hover { color: var(--on-bush); }

/* ---------- question bank (ref: Daydream via Mobbin) ---------- */
.qb__head { max-width: 720px; margin-bottom: clamp(40px, 6vh, 64px); }
.qb__head .lede { margin-top: 20px; }
.qb { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); border-radius: clamp(20px, 2vw, 28px); overflow: hidden; background: var(--paper); box-shadow: 0 30px 60px -40px rgba(26,23,20,.35); }
.qb__list { background: var(--bush); padding: 28px 0; display: flex; flex-direction: column; }
.qb__label { margin: 0 28px 16px; font: italic 400 22px/1 var(--serif); color: var(--on-bush); }
.qb__list button { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 28px; border: 0; border-top: 1px solid rgba(243,241,228,.12); background: transparent; color: var(--on-bush-2); font: 500 15px/1.35 var(--sans); letter-spacing: -0.01em; text-align: left; cursor: pointer; transition: color .3s, background .3s; }
.qb__list button::after { content: ''; flex: 0 0 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(243,241,228,.4); transition: background .3s, box-shadow .3s; }
.qb__list button:hover { color: var(--on-bush); }
.qb__list button[aria-selected="true"] { background: var(--paper); color: var(--ink); }
.qb__list button[aria-selected="true"]::after { background: var(--saffron); box-shadow: 0 0 0 4px rgba(130,47,44,.2); }
.qb__stage { position: relative; padding: clamp(28px, 3.4vw, 56px); min-height: 440px; }
.qb__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); grid-template-rows: auto auto 1fr auto; column-gap: clamp(24px, 3vw, 48px); height: 100%; }
.qb__panel[hidden] { display: none; }
.qb__tag { grid-column: 1; justify-self: start; padding: 7px 12px; border-radius: 999px; background: rgba(130,47,44,.16); color: var(--saffron); font: 500 12px/1 var(--sans); }
.qb__panel h3 { grid-column: 1; margin: 24px 0 18px; font: 400 clamp(30px, 2.8vw, 48px)/1.02 var(--serif); letter-spacing: -0.03em; color: var(--ink); }
.qb__panel p { grid-column: 1; margin: 0; color: var(--ink-2); font-size: 17px; line-height: 1.55; max-width: 46ch; }
.qb__panel .link { grid-column: 1; align-self: end; justify-self: start; margin-top: 28px; font-weight: 500; }
.qb__panel img { grid-column: 2; grid-row: 1 / -1; width: 100%; height: 100%; max-height: 380px; object-fit: cover; border-radius: 16px; }
@media (max-width: 900px) {
  .qb { grid-template-columns: 1fr; }
  .qb__list { flex-direction: row; overflow-x: auto; padding: 16px; gap: 8px; scrollbar-width: none; }
  .qb__label { display: none; }
  .qb__list button { flex: 0 0 auto; border: 1px solid rgba(243,241,228,.2); border-radius: 999px; padding: 10px 16px; white-space: nowrap; }
  .qb__list button::after { display: none; }
  .qb__panel { grid-template-columns: 1fr; }
  .qb__panel img { grid-column: 1; grid-row: auto; max-height: 220px; margin-top: 24px; order: 5; }
  .qb__stage { min-height: 0; }
}

/* ---------- FAQ (ref: Origin via Mobbin) ---------- */
.faq__head { grid-column: 1 / span 5; }
.faq__head .h-l em { color: var(--ink); }
.faq__list { grid-column: 7 / -1; display: grid; gap: 8px; }
.faq details { border-radius: 16px; background: var(--paper); transition: background .3s; }
.faq details[open] { background: var(--sand); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 22px; cursor: pointer; font: 500 17px/1.35 var(--sans); letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: 0 0 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--bone); color: var(--saffron); font-size: 20px; line-height: 1; transition: transform .5s cubic-bezier(.3,.9,.1,1), background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--paper); }
.faq details > div { overflow: hidden; }
.faq details p { margin: 0; padding: 0 22px 22px; color: var(--ink-2); max-width: 60ch; }
.faq details a { color: var(--ink); text-decoration-color: var(--saffron); text-underline-offset: 3px; }
@media (max-width: 900px) { .faq__head, .faq__list { grid-column: 1 / -1; } .faq__list { margin-top: 32px; } }

/* ---------- after launch: pinned "job begins" story ---------- */
.begin { position: relative; background: var(--bush); color: var(--on-bush); }
.begin__pin { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; display: grid; align-content: center; padding: clamp(96px, 14vh, 160px) 0; }
.begin__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.begin__bg.is-on { opacity: .55; }
.begin__veil { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 45%, rgba(13,12,9,.35), rgba(13,12,9,.92) 75%), linear-gradient(rgba(13,12,9,.25), rgba(13,12,9,.6)); pointer-events: none; }
.begin__steps { position: relative; list-style: none; margin: 0 auto 72px; padding: 0 var(--pad, 24px); text-align: center; font: 400 clamp(44px, 6.4vw, 112px)/1 var(--serif); letter-spacing: -0.035em; }
.begin__step { display: flex; align-items: center; justify-content: center; gap: .28em; }
.begin__tick { position: relative; flex: none; width: .5em; height: .5em; border-radius: 50%; background: var(--saffron); }
.begin__tick::after { content: ''; position: absolute; left: 34%; top: 22%; width: 22%; height: 40%; border: solid var(--bush); border-width: 0 .07em .07em 0; transform: rotate(45deg); }
.begin__after { position: relative; }
.begin__done { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 32px; }
.begin__done span { padding: 7px 14px 7px 30px; border-radius: 999px; border: 1px solid rgba(243,241,228,.22); font: 500 13px/1 var(--sans); color: var(--on-bush-2); position: relative; }
.begin__done span::before { content: '✓'; position: absolute; left: 12px; color: var(--saffron); }
.begin__big { margin: 0 auto; max-width: 18ch; text-align: center; font: 400 clamp(40px, 5.2vw, 96px)/1 var(--serif); letter-spacing: -0.035em; text-wrap: balance; }
.begin__big > span { display: block; }
.begin__l1 { color: var(--on-bush-2); }
.begin__big em { color: var(--saffron); }
.begin__big .w { display: inline-block; }
.begin__cols { list-style: none; margin: clamp(48px, 8vh, 96px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--g); }
.begin__col { padding-top: 20px; border-top: 1px solid rgba(243,241,228,.2); }
.begin__n { font: 500 12px/1 var(--sans); color: var(--saffron); }
.begin__col h3 { margin: 18px 0 10px; font: 400 clamp(26px, 2.2vw, 38px)/1.05 var(--serif); letter-spacing: -0.02em; }
.begin__col p { margin: 0; max-width: 34ch; font-size: 16px; line-height: 1.5; color: var(--on-bush-2); }
/* animated mode (JS adds .is-anim): steps and the after-block share the pinned stage */
.begin.is-anim .begin__pin { height: 100vh; height: 100svh; min-height: 0; padding: 0; }
.begin.is-anim .begin__steps { position: absolute; left: 0; right: 0; top: 50%; margin: 0; transform: translateY(-50%); }
.begin.is-anim .begin__after { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); }
@media (max-width: 820px) {
  .begin__cols { grid-template-columns: 1fr; gap: 22px; }
  .begin__col { display: grid; grid-template-columns: 34px 1fr; column-gap: 8px; padding-top: 14px; }
  .begin__col h3 { margin: 0 0 6px; font-size: 24px; } .begin__col p { grid-column: 2; font-size: 14px; }
  .begin__n { padding-top: 6px; }
  .begin__done { margin-bottom: 20px; } .begin__cols { margin-top: 32px; }
}
@media (max-width: 820px) and (max-height: 720px) { .begin__big { font-size: clamp(32px, 8vw, 44px); } .begin__cols { margin-top: 24px; gap: 16px; } .begin__done { margin-bottom: 14px; } }
@media (max-height: 520px) { .begin__col p { display: none; } }

/* ---------- Sindoor & Ink overrides (2026-12-02) ---------- */
/* Aref Ruqaa has no italic: emphasis in display type is colour, not slant */
h1 em, h2 em, h3 em, .statement em, .begin__big em, .h-l em, .h-xl em, .iih_headline em, .at em { font-style: normal; color: var(--saffron); }
/* Aref Ruqaa display tracking */
h1, h2, h3, .h-l, .h-xl, .iih_headline, .rst_title, .prl_title, .begin__big, .begin__steps, .ptop h1, .prose h2 { letter-spacing: -0.02em; }
/* on indigo, accents switch to sage */
.begin__big em, .begin__n, .begin__done span::before, .ask2 em, .ask2__rel a::after,
.is-ink .rst_src, .prose dl.figs > div:first-child dt { color: var(--haldi); }
.begin__tick { background: var(--haldi); }
.rst_card.is-saffron { background: var(--saffron); --rst-ink: var(--on-saffron); --rst-ink-soft: rgba(255,246,236,.78); }
.iih_act { color: var(--saffron); }
/* image wordmark in the floating nav: one image split into mark ("k") + folding tail */
.fnb_logo_text img { display: block; height: 30px; width: auto; }
.fnb_logo_mark--img, .fnb_logo_tail--img { overflow: hidden; height: 30px; }
.fnb_logo_mark--img { width: calc(30px * 800 / 225 * var(--mark-frac)); }
.fnb_logo_tail--img { width: calc(30px * 800 / 225 * (1 - var(--mark-frac))); clip-path: none; }
.fnb_logo_tail--img img { margin-left: calc(-30px * 800 / 225 * var(--mark-frac)); }
.fnb_logo_text:has(img) { align-items: center; }
.fnb_logo_text img { transition: filter .3s; } .fnb_wrap.is-docked .fnb_logo_text img { filter: invert(1) brightness(1.1); }

/* ---------- Sone ki chidiya + touchstone ---------- */
.chid { background: var(--ink); color: var(--on-bush); padding: clamp(96px, 14vh, 168px) 0; }
.chid .kicker { color: var(--on-bush-2); }
.chid__top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.chid__coin { margin: 0; }
.chid__coin img { display: block; width: 100%; max-width: 520px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; clip-path: circle(48.5%); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.chid__coin figcaption, .chid__mcap { margin-top: 18px; font-size: 13px; line-height: 1.45; color: var(--on-bush-2); max-width: 44ch; }
.chid__urdu { margin: 18px 0 8px; font: 500 clamp(28px, 2.6vw, 44px)/2 'Noto Nastaliq Urdu', serif; color: var(--haldi); text-align: left; }
.chid__h { font: 700 clamp(40px, 4.6vw, 84px)/1.02 var(--serif); letter-spacing: -0.015em; margin: 0 0 24px; text-wrap: balance; }
.chid__h em { color: var(--saffron); }
.chid .lede { color: var(--on-bush-2); max-width: 46ch; }
.chid__facts { list-style: none; margin: clamp(64px, 10vh, 120px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--g); }
.chid__facts li { padding-top: 22px; border-top: 1px solid rgba(243,241,228,.18); }
.chid__facts b { display: block; font: 700 clamp(28px, 2.4vw, 42px)/1.05 var(--serif); color: var(--on-bush); margin-bottom: 12px; }
.chid__facts span { font-size: 15px; line-height: 1.5; color: var(--on-bush-2); }
.chid__mohurs { list-style: none; margin: clamp(64px, 10vh, 112px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--g); }
.chid__mohurs img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; clip-path: circle(44%); transform: scale(1.08); }
.chid__mohurs span { display: block; margin-top: 10px; text-align: center; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--on-bush-2); }
.touch { margin-top: clamp(80px, 12vh, 140px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.touch__stone { aspect-ratio: 5 / 3; border-radius: 28px; background: radial-gradient(120% 120% at 30% 20%, #2a2d33, #0c0d10 70%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), 0 30px 60px -30px rgba(0,0,0,.8); overflow: hidden; }
.touch__stone svg { width: 100%; height: 100%; display: block; }
.touch__line { stroke-dasharray: 520; stroke-dashoffset: 520; transition: stroke-dashoffset 2.2s cubic-bezier(.6,.1,.2,1) .3s; filter: drop-shadow(0 0 6px rgba(240,212,138,.35)); }
.touch.is-in .touch__line { stroke-dashoffset: 0; }
.touch__text h3 { font: 700 clamp(30px, 2.8vw, 50px)/1.05 var(--serif); margin: 10px 0 20px; letter-spacing: -0.01em; }
.touch__text p:not(.kicker) { font-size: 17px; line-height: 1.6; color: var(--on-bush-2); max-width: 58ch; margin: 0 0 14px; }
@media (max-width: 900px) {
  .chid__top, .touch { grid-template-columns: 1fr; }
  .chid__coin img { max-width: 320px; margin: 0 auto; }
  .chid__facts { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .chid__mohurs { grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .chid__mohurs span { font-size: 10px; letter-spacing: .02em; }
}
@media (max-width: 520px) { .chid__facts { grid-template-columns: 1fr; } }
/* brand list: keep the status pill on the first row on narrow screens */
@media (max-width: 860px) { .brand__status { grid-column: 3; grid-row: 1; } .brand__name { grid-column: 2; grid-row: 1; } .brand__logo { grid-row: 1; } }
.brand__status.soon { color: var(--saffron); }

/* ---------- Agency polish (2026-12-02) ---------- */
/* Lenis */
html.has-lenis, html.has-lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* Page transitions: the browser's own cross-document View Transitions.
   The old page sinks back and dims; the new one rises over it like a curtain. */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: kv-sink .7s cubic-bezier(.7,0,.2,1) both; }
::view-transition-new(root) { animation: kv-rise .8s cubic-bezier(.7,0,.2,1) both; }
@keyframes kv-sink { to { transform: scale(.94) translateY(-3%); filter: brightness(.55); } }
@keyframes kv-rise { from { clip-path: inset(100% 0 0 0 round 32px 32px 0 0); } to { clip-path: inset(0 0 0 0 round 0); } }
::view-transition-group(root) { background: var(--ink); }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

/* Mughal arch frames on the archive pictures */
.qb__panel img, .prl_step_media img, .at_photo img, .prl_step_media {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100V34C0 16 30 7 50 0C70 7 100 16 100 34V100Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100V34C0 16 30 7 50 0C70 7 100 16 100 34V100Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.qb__panel img, .prl_step_media img, .at_photo img { border-radius: 0 0 14px 14px; }
.at_photo { border-radius: 0 0 var(--at-radius) var(--at-radius); }

/* Founders: monogram seals */
.founder { position: relative; overflow: hidden; }
.founder__seal { position: absolute; top: clamp(20px, 2.6vw, 36px); right: clamp(20px, 2.6vw, 36px); width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--bush); color: var(--on-bush); font: 700 30px/1 var(--serif); letter-spacing: -0.02em; box-shadow: inset 0 0 0 3px var(--bush), inset 0 0 0 4px rgba(243,241,228,.35); }
.founder:nth-child(2) .founder__seal { background: var(--saffron); box-shadow: inset 0 0 0 3px var(--saffron), inset 0 0 0 4px rgba(255,255,255,.4); }
.founder h3 { font-weight: 700; }
.founder { transition: transform .6s cubic-bezier(.3,.9,.1,1), box-shadow .5s; }
.founder:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(20,26,51,.45); }
/* "job begins" backdrop: a jaali lattice drawn in CSS (replaces the AI video) */
.begin__jaali { opacity: .16 !important; background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%23F2EEE6' stroke-width='1.2'%3E%3Cpath d='M48 4 92 48 48 92 4 48Z'/%3E%3Ccircle cx='48' cy='48' r='16'/%3E%3Cpath d='M48 32v32M32 48h32'/%3E%3Ccircle cx='0' cy='0' r='16'/%3E%3Ccircle cx='96' cy='0' r='16'/%3E%3Ccircle cx='0' cy='96' r='16'/%3E%3Ccircle cx='96' cy='96' r='16'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 96px 96px; transform: none !important; -webkit-mask: radial-gradient(70% 70% at 50% 50%, #000 30%, transparent 100%); mask: radial-gradient(70% 70% at 50% 50%, #000 30%, transparent 100%); }
.fnb_logo_text img { max-width: none !important; flex: none; }
/* hero route: the "then the world" ambition */
.route .route__next { font-weight: 500; color: var(--saffron); }
/* stats title: Aref Ruqaa needs more line room so descenders clear the label */
.rst_title { line-height: 1.08; padding-bottom: .06em; }
@media (max-width: 991px) { .rst_head { gap: 18px; } }
