/* ==========================================================================
   Dubori - site stylesheet
   Palette: moss + muga gold on green-tinted paper. Crossword grid as motif.
   ========================================================================== */

:root {
  /* Colour */
  --ink:        #0E1613;
  --ink-2:      #18241E;
  --ink-3:      #26332C;
  --paper:      #F3F5EF;
  --card:       #FFFFFF;
  --moss:       #1E5C3E;
  --moss-lift:  #2A7A52;
  --muga:       #C08A2E;
  --muga-soft:  #E8C87E;
  --slate:      #4A574F;
  --fog:        #D9E0D5;
  --fog-2:      #E7ECE3;

  /* Type */
  --display: 'Zodiak', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --body:    'Switzer', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --script:  'Noto Serif Bengali', 'Noto Sans Bengali', var(--body);

  /* Space */
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(76px, 9vw, 132px);
  --radius: 20px;
  --radius-sm: 12px;
}

/* --- Reset -------------------------------------------------------------- */

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

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

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--slate);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
a { color: inherit; }

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

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

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 20px;
  border-radius: 0 0 10px 10px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 0; }

/* --- Layout ------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(56px, 7vw, 92px); }
.section--paper { background: var(--paper); }
.section--card  { background: var(--card); }

/* --- Typography --------------------------------------------------------- */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.eyebrow {
  font-family: var(--body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss);
  display: inline-block;
}

.script { font-family: var(--script); }

.lede {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  max-width: 58ch;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.975rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--solid { background: var(--moss); color: #fff; }
.btn--solid:hover { background: var(--ink); }

.btn--ghost { border-color: var(--fog); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--moss); color: var(--moss); }

.btn--onDark { background: var(--muga); color: var(--ink); }
.btn--onDark:hover { background: var(--muga-soft); }

.btn--ghostDark { border-color: rgba(255,255,255,.22); color: #E4EAE2; background: transparent; }
.btn--ghostDark:hover { border-color: var(--muga); color: var(--muga); }

.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* Inline text link with underline rule */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--moss);
  border-bottom: 1.5px solid var(--fog);
  padding-bottom: 3px;
  transition: border-color .2s ease, color .2s ease;
}
.tlink:hover { border-color: var(--moss); color: var(--ink); }
.tlink--dark { color: var(--muga); border-bottom-color: rgba(255,255,255,.18); }
.tlink--dark:hover { color: var(--muga-soft); border-bottom-color: var(--muga); }

/* --- Header ------------------------------------------------------------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(243,245,239,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease;
}
.site-head[data-stuck="true"] { border-bottom-color: var(--fog); }

.site-head__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 16px;
}

.brand { display: inline-flex; align-items: center; }
.brand img { height: 38px; width: auto; }

.site-nav ul { display: flex; align-items: center; gap: clamp(14px, 3vw, 30px); }
.site-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  padding-block: 6px;
  border-bottom: 1.5px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}
.site-nav a:hover { border-bottom-color: var(--muga); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--moss); }

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

.hero {
  position: relative;
  padding-block: clamp(60px, 9vw, 104px) clamp(56px, 8vw, 96px);
  overflow: hidden;
}

/* faint crossword ruling behind the hero */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--fog) 1px, transparent 1px),
    linear-gradient(to bottom, var(--fog) 1px, transparent 1px);
  background-size: 58px 58px;
  opacity: .5;
  -webkit-mask-image: radial-gradient(120% 80% at 18% 22%, #000 0%, transparent 68%);
  mask-image: radial-gradient(120% 80% at 18% 22%, #000 0%, transparent 68%);
  pointer-events: none;
}

.hero__inner { position: relative; }

/* Signature: the studio name solved in a crossword */
.solve {
  display: flex;
  gap: 8px;
  margin-bottom: 30px;
}

.solve__cell {
  position: relative;
  width: clamp(60px, 12vw, 82px);
  height: clamp(60px, 12vw, 82px);
  display: grid;
  place-items: center;
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  font-family: var(--script);
  font-size: clamp(1.55rem, 4vw, 2.1rem);
  font-weight: 700;
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--fog-2);
}

.solve__cell span { display: block; }

.solve__cell::after {
  content: attr(data-num);
  position: absolute;
  top: 4px; left: 7px;
  font-family: var(--body);
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--slate);
  line-height: 1;
}

.hero__eyebrow { margin-bottom: 18px; }

.hero h1 {
  font-size: clamp(2.65rem, 7.4vw, 5.1rem);
  max-width: 15ch;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  color: var(--moss);
  box-shadow: inset 0 -0.14em 0 var(--muga-soft);
}

.hero__lede { margin-bottom: 34px; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Facts strip */
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  margin-top: clamp(44px, 6vw, 68px);
  padding-top: 24px;
  border-top: 1px solid var(--fog);
}
.facts li {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--slate);
  display: flex;
  align-items: baseline;
  gap: 9px;
}
.facts b {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

/* --- Section headers ---------------------------------------------------- */

.head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 24px 48px;
  align-items: end;
  margin-bottom: clamp(34px, 5vw, 56px);
}
.head h2 { font-size: clamp(1.95rem, 4.2vw, 3rem); }
.head .eyebrow { margin-bottom: 12px; }
.head p { max-width: 46ch; }

/* --- Product catalogue -------------------------------------------------- */

.shelf { display: grid; gap: clamp(18px, 2.4vw, 26px); }

.item {
  background: var(--card);
  border: 1px solid var(--fog);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.item:hover {
  border-color: var(--moss);
  transform: translateY(-3px);
  box-shadow: 0 22px 44px -28px rgba(14,22,19,.45);
}

.item__body {
  padding: clamp(28px, 3.6vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.item__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.item__kicker .eyebrow { color: var(--slate); }
.item__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--moss); }

.item__title {
  font-size: clamp(1.65rem, 3.4vw, 2.35rem);
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.item__title .script {
  font-size: 0.62em;
  font-weight: 500;
  color: var(--moss);
  letter-spacing: 0;
}

.item__spec {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}
.item__spec li {
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: .02em;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--fog-2);
  color: var(--slate);
}

.item__links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 6px; }

/* Tile - the visual half of each catalogue row */
.tile {
  position: relative;
  min-height: 300px;
  display: grid;
  place-items: center;
  padding: 30px;
  overflow: hidden;
}

/* Fita tile - rebuilt from Fita's own hero wall */
.tile--fita {
  background: #07080F;
  padding: 0;
  display: block;
  position: relative;
}

.fita { position: absolute; inset: 0; overflow: hidden; }

.fita__aurora { position: absolute; inset: -30%; pointer-events: none; }
.fita__aurora i { position: absolute; inset: 0; display: block; }
.fita__aurora .a {
  background: radial-gradient(42% 46% at 68% 28%, rgba(36,64,240,.34), transparent 65%);
  animation: auroraA 22s ease-in-out infinite alternate;
}
.fita__aurora .b {
  background: radial-gradient(36% 40% at 24% 72%, rgba(217,164,65,.14), transparent 60%);
  animation: auroraB 28s ease-in-out infinite alternate;
}
.fita__aurora .c {
  background: radial-gradient(30% 34% at 82% 78%, rgba(198,54,46,.10), transparent 60%);
  animation: auroraA 34s ease-in-out infinite alternate-reverse;
}
@keyframes auroraA { to { transform: translate3d(4%, -3%, 0) scale(1.08); } }
@keyframes auroraB { to { transform: translate3d(-5%, 4%, 0) scale(1.1); } }

.fita__wall {
  position: absolute;
  top: -8%; bottom: -8%;
  left: 50%;
  display: flex;
  gap: 13px;
  transform: translateX(-50%) rotate(6deg);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 84%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 84%, transparent 100%);
}
.fita__col { display: flex; flex-direction: column; gap: 13px; will-change: transform; }
.fita__col.up   { animation: colUp 42s linear infinite; }
.fita__col.down { animation: colDown 50s linear infinite; }
@keyframes colUp   { from { transform: translateY(0);    } to { transform: translateY(-50%); } }
@keyframes colDown { from { transform: translateY(-50%); } to { transform: translateY(0);    } }

.fita__poster {
  position: relative;
  width: 98px;
  aspect-ratio: 2/3;
  flex: 0 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(242,239,230,.08);
}
.fita__poster::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 46%;
  background: linear-gradient(to top, rgba(0,0,0,.85), transparent);
}
.fita__poster span {
  position: absolute;
  top: 7px; left: 10px;
  font-family: var(--script);
  font-size: 33px;
  font-weight: 700;
  color: #fff;
  opacity: .3;
  line-height: 1;
}
.fita__poster.p1 { background: linear-gradient(160deg, #1B2A6B, #0B0D17); }
.fita__poster.p2 { background: linear-gradient(160deg, #5A1F1C, #0B0D17); }
.fita__poster.p3 { background: linear-gradient(160deg, #574118, #0B0D17); }
.fita__poster.p4 { background: linear-gradient(160deg, #171B2C, #07080F); }
.fita__poster.p5 { background: linear-gradient(160deg, #24306B, #10131F); }

.fita__grain {
  position: absolute;
  inset: 0;
  opacity: .4;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.18'/%3E%3C/svg%3E");
}

/* Xabda Jatra tile - palette lifted from the Flutter build */
.tile--game { background: linear-gradient(165deg, #E8F5E9 0%, #FFFDE7 100%); }

.xj { width: 100%; max-width: 296px; display: grid; gap: 12px; }

.xj__clue {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #3E2723;
  border-radius: 16px;
  padding: 10px 13px;
}
.xj__clue svg { flex: none; color: #FFD54F; }
.xj__clue span {
  font-family: var(--script);
  font-size: 0.76rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.4;
}

.xj__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.xj__grid i {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: #FFFDE7;
  border: 1.5px solid #FFD54F;
  border-radius: 6px;
  font-family: var(--script);
  font-style: normal;
  font-size: 1.05rem;
  font-weight: 700;
  color: #3E2723;
}
.xj__grid i.fill  { background: #C8E6C9; border-color: #4CAF50; }
.xj__grid i.focus { background: #A5D6A7; border-color: #2E7D32; border-width: 2px; }
.xj__grid i.blk   { background: rgba(215,204,200,.4); border-color: transparent; }
.xj__grid i[data-n]::before {
  content: attr(data-n);
  position: absolute;
  top: 2px; left: 5px;
  font-family: var(--script);
  font-size: 0.5rem;
  font-weight: 700;
  color: #8D6E63;
  line-height: 1;
}

.xj__keys { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.xj__keys b {
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #E8F5E9;
  color: #1B5E20;
  font-family: var(--script);
  font-size: 0.86rem;
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(27,94,32,.14);
}

/* Dictionary tile - palette lifted from assamesedictionary.org */
.tile--dict { background: linear-gradient(160deg, #E6F2EE 0%, #D1E7E1 100%); }

.dict {
  width: 100%;
  max-width: 318px;
  background: #F8FAFC;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: 0 24px 44px -24px rgba(4,47,46,.55);
  overflow: hidden;
}

.dict__head {
  background: linear-gradient(90deg, #134E4A, #042F2E);
  padding: 11px 13px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.dict__mark {
  width: 26px; height: 26px;
  flex: none;
  border-radius: 7px;
  background: rgba(94,234,212,.16);
  display: grid; place-items: center;
  font-family: var(--script);
  font-size: 0.85rem;
  font-weight: 700;
  color: #5EEAD4;
}
.dict__head b {
  display: block;
  font-family: var(--script);
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.dict__head small {
  display: block;
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #5EEAD4;
}

.dict__body { padding: 11px; display: grid; gap: 9px; }

.dict__search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #CBD5E1;
  border-radius: 12px;
  padding: 9px 12px;
  font-size: 0.84rem;
  color: #334155;
}
.dict__search svg { flex: none; color: #64748B; }
.dict__search .caret {
  width: 1.5px; height: 14px;
  background: #0D9488;
  animation: blink 1.15s steps(1) infinite;
}
.dict__search em {
  margin-left: auto;
  font-style: normal;
  font-size: 0.58rem;
  font-weight: 700;
  color: #94A3B8;
}
@keyframes blink { 50% { opacity: 0; } }

.dict__card {
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 14px;
  padding: 13px 14px;
}
.dict__word { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dict__word strong { font-size: 1.3rem; font-weight: 700; color: #042F2E; }
.dict__pos {
  font-size: 0.53rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #134E4A;
  background: #F0FDFA;
  border: 1px solid #CCFBF1;
  border-radius: 5px;
  padding: 3px 6px;
}
.dict__tr { font-size: 0.67rem; font-style: italic; color: #64748B; margin-top: 3px; }
.dict__label {
  font-family: var(--script);
  font-size: 0.6rem;
  font-weight: 700;
  color: #64748B;
  margin-top: 11px;
}
.dict__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.dict__chips span {
  font-family: var(--script);
  font-size: 0.8rem;
  font-weight: 600;
  color: #115E59;
  background: #fff;
  border: 1px solid #99F6E4;
  border-radius: 8px;
  padding: 4px 10px;
}

/* --- Approach ----------------------------------------------------------- */

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--fog);
  border: 1px solid var(--fog);
  border-radius: var(--radius);
  overflow: hidden;
}
.principle { background: var(--card); padding: clamp(26px, 3.2vw, 40px); }
.principle h3 {
  font-size: 1.25rem;
  margin-block: 14px 10px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.principle h3 .script { font-size: .85em; font-weight: 500; color: var(--moss); }
.principle p { font-size: 0.97rem; }

.principle__mark { display: grid; grid-template-columns: repeat(2, 13px); gap: 4px; }
.principle__mark i {
  width: 13px; height: 13px;
  border: 1.5px solid var(--ink);
  border-radius: 3px;
  background: transparent;
}
.principle__mark i.on { background: var(--muga); }

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

.band {
  background: var(--ink);
  border-radius: var(--radius);
  padding: clamp(38px, 5.5vw, 72px);
  color: #E4EAE2;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 32px 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.band::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  pointer-events: none;
}
.band > * { position: relative; }
.band h2 { color: #fff; font-size: clamp(1.75rem, 3.6vw, 2.6rem); margin-bottom: 14px; }
.band p { color: rgba(228,234,226,.78); max-width: 42ch; }
.band .eyebrow { color: var(--muga); margin-bottom: 14px; }
.band__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-self: start; }

/* --- Prose (about page) ------------------------------------------------- */

.prose { max-width: 66ch; }
.prose h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin-block: 44px 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p + p { margin-top: 16px; }
.prose ul { margin-top: 14px; display: grid; gap: 10px; }
.prose ul li { padding-left: 22px; position: relative; }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 8px; height: 8px; border-radius: 2px;
  border: 1.5px solid var(--moss);
}

.pagehead { padding-block: clamp(48px, 7vw, 84px) clamp(30px, 4vw, 48px); }
.pagehead h1 { font-size: clamp(2.3rem, 6vw, 4rem); margin-block: 16px 20px; }

.card-note {
  background: var(--card);
  border: 1px solid var(--fog);
  border-radius: var(--radius);
  padding: clamp(26px, 3.4vw, 40px);
  display: grid;
  gap: 8px;
}
.card-note dt {
  font-size: 0.7rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--moss); margin-top: 14px;
}
.card-note dt:first-of-type { margin-top: 0; }
.card-note dd { color: var(--ink); font-weight: 500; }
.card-note a { color: var(--moss); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

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

.site-foot {
  background: var(--ink);
  color: rgba(228,234,226,.7);
  padding-block: clamp(48px, 6vw, 72px) 30px;
  font-size: 0.92rem;
}
.site-foot__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 34px;
}
.site-foot img { height: 34px; width: auto; margin-bottom: 16px; }
.site-foot h4 {
  color: #fff;
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.site-foot ul { display: grid; gap: 10px; }
.site-foot a { text-decoration: none; transition: color .2s ease; }
.site-foot a:hover { color: var(--muga); }
.site-foot__tag { max-width: 34ch; font-size: 0.92rem; }

.site-foot__base {
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.09);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(228,234,226,.62);
}

/* --- Reveal on scroll --------------------------------------------------- */

.rise { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.rise.is-in { opacity: 1; transform: none; }

/* --- Load sequence ------------------------------------------------------ */

@keyframes fillCell { to { opacity: 1; transform: none; } }
@keyframes riseIn   { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.js-anim .solve__cell span {
  opacity: 0;
  transform: translateY(6px) scale(.9);
  animation: fillCell .45s cubic-bezier(.2,.8,.3,1) forwards;
}
.js-anim .solve__cell:nth-child(1) span { animation-delay: .15s; }
.js-anim .solve__cell:nth-child(2) span { animation-delay: .32s; }
.js-anim .solve__cell:nth-child(3) span { animation-delay: .49s; }

.js-anim .hero__eyebrow,
.js-anim .hero h1,
.js-anim .hero__lede,
.js-anim .hero__actions,
.js-anim .facts { animation: riseIn .7s cubic-bezier(.2,.7,.3,1) backwards; }
.js-anim .hero__eyebrow { animation-delay: .55s; }
.js-anim .hero h1       { animation-delay: .63s; }
.js-anim .hero__lede    { animation-delay: .73s; }
.js-anim .hero__actions { animation-delay: .81s; }
.js-anim .facts         { animation-delay: .89s; }

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

@media (max-width: 940px) {
  .head { grid-template-columns: 1fr; align-items: start; }
  .item, .item--fita { grid-template-columns: 1fr; }
  .item__body { order: 2; }
  .tile { order: 1; min-height: 260px; }
  .principles { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .site-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .site-nav ul { gap: 14px; }
  .site-nav a { font-size: 0.82rem; }
  .brand img { height: 32px; }
  .facts { gap: 12px 26px; }
  .facts b { font-size: 1.25rem; }
  .site-foot__grid { grid-template-columns: 1fr; gap: 28px; }
  .xj { max-width: 250px; }
}

/* --- Motion & contrast preferences -------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .fita__col, .fita__aurora i { animation: none !important; }
  .rise { opacity: 1; transform: none; }
  .solve__cell span { opacity: 1; transform: none; }
  .btn:hover, .item:hover { transform: none; }
}
