/* AM Studio website.
   Colours come from the AM Studio logo (sampled from amstudio-docs/brand/AM Studio logo.png).
   Type scale, spacing, motion, RTL rules and the footer credit follow UI-KIT.md. */

:root {
  /* Logo palette */
  --cream:   #FEF5EB;   /* the logo's background */
  --cream-2: #FBEDDF;
  --paper:   #FFFBF6;
  --navy:    #081E34;   /* the "AM STUDIO" wordmark */
  --navy-2:  #0F2A45;
  --navy-3:  #1A3856;

  --peach:  #FDBC7C;
  --coral:  #FB8D7E;
  --rose:   #CB87A0;
  --purple: #7267A4;
  --lilac:  #AB8BB4;
  --blue:   #789AC8;
  --aqua:   #87C5CF;
  --teal:   #51A0B7;

  /* Darker versions of the tagline colours, readable as small text on cream (4.5:1+) */
  --coral-ink:  #B8483A;
  --purple-ink: #655A99;
  --teal-ink:   #25707A;

  /* Text and lines */
  --ink:   #081E34;
  --ink-2: #3D4F63;
  --ink-3: #5E6A79;
  --line:      #EADCCB;
  --line-soft: #F2E6D8;
  --on-navy-2: #B4C0CE;

  /* Gradients */
  --gradient-logo: linear-gradient(90deg, #FDBC7C 0%, #FB8D7E 22%, #CB87A0 42%, #7267A4 62%, #789AC8 80%, #51A0B7 100%);
  --gradient-text: linear-gradient(90deg, #E8705F 0%, #B66A93 38%, #7267A4 64%, #3E83A3 100%);
  --gradient-text-light: linear-gradient(90deg, #FDBC7C 0%, #FB8D7E 30%, #CB87A0 55%, #AB8BB4 75%, #87C5CF 100%);

  /* Typography (UI-KIT §2) */
  --font-sans:   'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-arabic: 'Cairo', 'Tajawal', 'Segoe UI', sans-serif;
  --font-mono:   'JetBrains Mono', 'Fira Code', 'Consolas', monospace;

  --text-xs:      0.75rem;
  --text-sm:      0.875rem;
  --text-base:    1rem;
  --text-lg:      1.125rem;
  --text-xl:      1.25rem;
  --text-2xl:     1.5rem;
  --text-3xl:     1.875rem;
  --text-4xl:     2.25rem;
  --text-5xl:     3rem;
  --text-display: 3.75rem;

  /* Spacing (UI-KIT §3) */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Motion (UI-KIT §10) */
  --ease-default: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-in:      cubic-bezier(0.4, 0, 1, 1);
  --ease-out:     cubic-bezier(0, 0, 0.2, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);

  --duration-fast: 100ms;
  --duration-base: 200ms;
  --duration-slow: 300ms;
  --duration-lazy: 500ms;

  --shadow-soft: 0 1px 2px rgba(8, 30, 52, 0.04), 0 8px 24px rgba(8, 30, 52, 0.06);
  --shadow-lift: 0 2px 6px rgba(8, 30, 52, 0.06), 0 22px 48px rgba(8, 30, 52, 0.12);

  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  background-color: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: rgba(203, 135, 160, 0.3); }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* Arabic (UI-KIT §9): Cairo, more line height, never letter-spacing */
[lang="ar"],
[dir="rtl"] {
  font-family: var(--font-arabic);
  line-height: 1.9;
  letter-spacing: 0;
}
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; font-weight: 700; }
[dir="rtl"] .icon-arrow { transform: scaleX(-1); }

/* Hide the page until Arabic copy is swapped in, so there's no English flash */
.i18n-pending body { visibility: hidden; }

.skip-link { position: absolute; inset-inline-start: var(--space-4); top: -60px; z-index: 300; background: var(--navy); color: var(--cream); padding: var(--space-2) var(--space-4); border-radius: 8px; }
.skip-link:focus { top: var(--space-2); }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-4);
}
@media (min-width: 640px)  { .container { padding-inline: var(--space-6); } }
@media (min-width: 1024px) { .container { padding-inline: var(--space-8); } }

h1 { font-size: var(--text-4xl); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; }
h2 { font-size: var(--text-3xl); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
h3 { font-size: var(--text-2xl); font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
@media (min-width: 768px) { h1 { font-size: var(--text-5xl); } }

.text-gradient,
.text-gradient-light {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-bottom: 0.06em; /* keep descenders inside the clip */
}
.text-gradient-light { background-image: var(--gradient-text-light); }

/* ---------- Buttons (UI-KIT §5 sizes) ---------- */
.btn-primary, .btn-secondary, .btn-light, .btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: 44px;
  padding: 0 var(--space-5);
  font-size: var(--text-base);
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn-primary { background: var(--navy); color: var(--cream); border: none; position: relative; }
.btn-primary::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: var(--gradient-logo);
  z-index: -1;
  opacity: 0;
  filter: blur(10px);
  transition: opacity 0.25s ease;
}
.btn-primary:hover { transform: translateY(-1px); }
.btn-primary:hover::after { opacity: 0.7; }
.btn-primary:active { transform: translateY(0); }

.btn-secondary { background: transparent; color: var(--navy); border: 1.5px solid rgba(8, 30, 52, 0.25); }
.btn-secondary:hover { border-color: var(--navy); background: rgba(8, 30, 52, 0.04); transform: translateY(-1px); }

.btn-light { background: var(--cream); color: var(--navy); border: none; }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(253, 188, 124, 0.25); }
.btn-outline-light { background: transparent; color: var(--cream); border: 1.5px solid rgba(254, 245, 235, 0.3); }
.btn-outline-light:hover { border-color: var(--cream); background: rgba(254, 245, 235, 0.06); transform: translateY(-1px); }

.btn-ghost-light {
  display: inline-flex; align-items: center; gap: var(--space-2);
  margin-top: var(--space-8);
  height: 40px; padding: 0 var(--space-4);
  background: rgba(254, 245, 235, 0.06); color: var(--cream);
  border: 1px solid rgba(254, 245, 235, 0.16); border-radius: 999px;
  font-size: var(--text-sm); font-weight: 600; cursor: pointer;
  transition: background 0.2s ease;
}
.btn-ghost-light:hover { background: rgba(254, 245, 235, 0.12); }

.btn-sm { height: 40px; padding: 0 var(--space-4); font-size: var(--text-sm); }
.btn-lg { height: 52px; padding: 0 28px; font-size: var(--text-lg); }

.btn-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0;
  background: transparent; color: var(--navy);
  border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
  transition: background 0.2s;
}
.btn-icon:hover { background: var(--cream-2); }

/* ---------- Logo lockup: the real AM mark + "STUDIO", spaced like the logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; direction: ltr; }
.logo img { height: 26px; width: auto; }
.logo__word { font-family: var(--font-sans); font-size: 15px; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; color: var(--navy); line-height: 1; }
.logo--light .logo__word { color: var(--cream); }

/* ---------- Floating navbar ---------- */
.navbar { position: fixed; top: var(--space-3); left: var(--space-3); right: var(--space-3); z-index: 100; }
.navbar__pill {
  max-width: 1200px;
  margin-inline: auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-inline: var(--space-5) var(--space-2);
  background: rgba(255, 251, 246, 0.78);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(234, 220, 203, 0.9);
  border-radius: 999px;
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.navbar.scrolled .navbar__pill { background: rgba(255, 251, 246, 0.94); box-shadow: var(--shadow-soft); }

.navbar__links { display: none; margin: 0; padding: 0; }
.navbar__link { font-size: var(--text-sm); font-weight: 500; color: var(--ink-2); padding: 8px 14px; border-radius: 999px; transition: color 0.2s ease, background 0.2s ease; }
.navbar__link:hover { color: var(--navy); background: var(--cream-2); }
.navbar__link.active { color: var(--navy); background: var(--cream-2); }
.navbar__menu-cta { display: none; }
.navbar__actions { display: flex; align-items: center; gap: var(--space-2); }
.navbar__cta { display: none; }

.lang-toggle {
  height: 40px; padding: 0 var(--space-4);
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  font-size: var(--text-sm); font-weight: 600; color: var(--navy); cursor: pointer;
  transition: background 0.2s;
}
.lang-toggle:hover { background: var(--cream-2); }
.lang-toggle__ar { font-family: var(--font-arabic); }
.lang-toggle__en { display: none; font-family: var(--font-sans); }
[lang="ar"] .lang-toggle__ar { display: none; }
[lang="ar"] .lang-toggle__en { display: inline; }

@media (max-width: 899px) {
  .navbar__links {
    position: absolute;
    top: calc(100% + var(--space-2));
    left: 0;
    right: 0;
    flex-direction: column;
    padding: var(--space-2) var(--space-4) var(--space-4);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow-lift);
  }
  .navbar__links.open { display: flex; }
  .navbar__links li + li { border-top: 1px solid var(--line-soft); }
  .navbar__link { display: block; padding: var(--space-4) var(--space-2); font-size: var(--text-base); border-radius: 0; }
  .navbar__link:hover, .navbar__link.active { background: none; }
  .navbar__menu-cta { display: block; padding-top: var(--space-3); }
  .navbar__menu-cta .btn-primary { width: 100%; }
}
@media (min-width: 900px) {
  .navbar__links { display: flex; gap: var(--space-1); align-items: center; }
  .navbar__menu { display: none; }
  .navbar__cta { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: calc(64px + var(--space-16)); padding-bottom: var(--space-12); }
.hero__grid { display: grid; gap: var(--space-10); align-items: center; }
@media (min-width: 960px) {
  .hero { padding-top: calc(64px + var(--space-20)); padding-bottom: var(--space-16); }
  .hero__grid { grid-template-columns: 1.08fr 0.92fr; gap: var(--space-12); }
}

.chip {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: 6px 14px 6px 10px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  font-size: var(--text-sm); font-weight: 500; color: var(--ink-2);
  margin-bottom: var(--space-6);
}
[dir="rtl"] .chip { padding: 6px 10px 6px 14px; }
.chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gradient-logo); box-shadow: 0 0 0 4px rgba(251, 141, 126, 0.16); }

.hero__title { margin-bottom: var(--space-6); text-wrap: balance; }
@media (min-width: 1100px) { .hero__title { font-size: var(--text-display); line-height: 1.04; } }
[dir="rtl"] .hero__title { line-height: 1.35; }

.hero__subtitle { font-size: var(--text-lg); color: var(--ink-2); max-width: 540px; margin-bottom: var(--space-8); line-height: 1.65; }
[dir="rtl"] .hero__subtitle { line-height: 1.9; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
@media (max-width: 480px) { .hero__actions a { flex: 1 1 100%; } }

/* The logo's tagline, coloured exactly as under the logo */
.tagline {
  display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-3);
  margin-top: var(--space-10);
  font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.34em; text-transform: uppercase;
}
.tagline i { width: 5px; height: 5px; border-radius: 50%; background: var(--purple); opacity: 0.7; }
.tagline i:last-of-type { background: var(--purple); }
.t-create { color: var(--coral-ink); }
.t-build { color: var(--purple-ink); }
.t-inspire { color: var(--teal-ink); }
[dir="rtl"] .tagline { letter-spacing: 0; font-size: var(--text-base); }
.tagline--sm { margin-top: var(--space-3); font-size: var(--text-xs); }
.footer .t-create { color: var(--coral); }
.footer .t-build { color: var(--lilac); }
.footer .t-inspire { color: var(--aqua); }
.footer .tagline i { background: rgba(254, 245, 235, 0.35); }

/* Brand stage */
.stage { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1 / 1; margin-inline: auto; }
.stage > * { will-change: transform; }
.stage__blobs { position: absolute; inset: 6%; }
.blob { position: absolute; border-radius: 50%; filter: blur(42px); opacity: 0.75; animation: drift 14s ease-in-out infinite alternate; }
.blob--peach  { width: 46%; height: 46%; left: 6%;  top: 14%; background: var(--peach); }
.blob--rose   { width: 40%; height: 40%; left: 30%; top: 40%; background: var(--rose); animation-delay: -3s; }
.blob--purple { width: 38%; height: 38%; right: 10%; top: 12%; background: var(--lilac); animation-delay: -6s; }
.blob--teal   { width: 40%; height: 40%; right: 4%; bottom: 8%; background: var(--aqua); animation-delay: -9s; }
@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(6%, -5%) scale(1.08); }
  100% { transform: translate(-5%, 6%) scale(0.95); }
}

.stage__ring {
  position: absolute; inset: 9%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--peach), var(--coral), var(--rose), var(--purple), var(--blue), var(--teal), var(--peach));
  -webkit-mask: radial-gradient(circle, transparent calc(70% - 1.5px), #000 calc(70% - 1px), #000 70%, transparent calc(70% + 0.5px));
          mask: radial-gradient(circle, transparent calc(70% - 1.5px), #000 calc(70% - 1px), #000 70%, transparent calc(70% + 0.5px));
  opacity: 0.55;
  animation: spin 40s linear infinite;
}
@keyframes spin { to { rotate: 360deg; } }

.stage__mark {
  position: absolute; left: 50%; top: 50%;
  width: 64%; height: auto;
  translate: -50% -52%;
  filter: drop-shadow(0 24px 40px rgba(114, 103, 164, 0.28));
  animation: bob 6s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { margin-top: 0; } 50% { margin-top: -12px; } }

.float-card {
  position: absolute;
  display: flex; align-items: center; gap: var(--space-3);
  padding: 10px 14px 10px 10px;
  background: rgba(255, 251, 246, 0.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(234, 220, 203, 0.9);
  border-radius: 18px;
  box-shadow: var(--shadow-lift);
  font-size: var(--text-xs);
  color: var(--ink-3);
  line-height: 1.35;
  text-align: start;
  white-space: nowrap;
}
[dir="rtl"] .float-card { padding: 10px 10px 10px 14px; line-height: 1.6; }
.float-card b { display: block; font-size: var(--text-sm); color: var(--navy); font-weight: 700; }
.fc-chat  { top: 6%;  inset-inline-start: -2%; animation: bob 7s ease-in-out infinite -1s; }
.fc-site  { bottom: 10%; inset-inline-start: 2%; animation: bob 8s ease-in-out infinite -3s; }
.fc-reel  { top: 22%; inset-inline-end: -3%; animation: bob 6.5s ease-in-out infinite -2s; }
.fc-chat__avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--gradient-logo); color: #fff; fill: #fff; flex: none; }
.fc-site img { width: 64px; height: 40px; object-fit: cover; object-position: top; border-radius: 8px; flex: none; }
.fc-reel__thumb { width: 34px; height: 46px; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(160deg, var(--peach), var(--coral) 45%, var(--rose)); color: #fff; fill: #fff; flex: none; }

.spark { position: absolute; }
.spark--1 { top: 12%; inset-inline-end: 30%; fill: var(--coral); }
.spark--2 { bottom: 26%; inset-inline-end: 12%; fill: var(--teal); }
.spark--3 { bottom: 6%; inset-inline-start: 46%; fill: var(--purple); opacity: 0.8; }

@media (max-width: 959px) {
  .stage { max-width: 440px; }
}
@media (max-width: 480px) {
  .float-card { font-size: 11px; padding: 8px 10px 8px 8px; gap: var(--space-2); }
  .float-card b { font-size: 12px; }
  .fc-chat__avatar, .fc-reel__thumb { width: 28px; }
  .fc-chat__avatar { height: 28px; }
  .fc-reel__thumb { height: 38px; }
  .fc-site img { width: 48px; height: 30px; }
  .fc-chat { inset-inline-start: 0; }
  .fc-reel { inset-inline-end: 0; top: 30%; }
}

/* ---------- Ticker ---------- */
.ticker { overflow: hidden; background: var(--navy); padding-block: var(--space-4); direction: ltr; }
.ticker__track { display: flex; width: max-content; direction: ltr; animation: ticker 38s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__list { display: flex; flex: none; }
.ticker__list li {
  display: flex; align-items: center; gap: var(--space-6);
  padding-inline-end: var(--space-6);
  font-size: var(--text-lg); font-weight: 600; color: var(--cream); white-space: nowrap;
}
.ticker__list li::after {
  content: '';
  width: 14px; height: 14px;
  background: var(--peach);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5c.5 4.8 2.7 8 7.5 9.7.6.2.6 1.1 0 1.3-4.8 1.7-7 4.9-7.5 9.7-.1.7-1 .7-1.1 0-.5-4.8-2.7-8-7.5-9.7-.6-.2-.6-1.1 0-1.3 4.8-1.7 7-4.9 7.5-9.7.1-.7 1-.7 1.1 0z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5c.5 4.8 2.7 8 7.5 9.7.6.2.6 1.1 0 1.3-4.8 1.7-7 4.9-7.5 9.7-.1.7-1 .7-1.1 0-.5-4.8-2.7-8-7.5-9.7-.6-.2-.6-1.1 0-1.3 4.8-1.7 7-4.9 7.5-9.7.1-.7 1-.7 1.1 0z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ticker__list li:nth-child(4n+2)::after { background: var(--coral); }
.ticker__list li:nth-child(4n+3)::after { background: var(--lilac); }
.ticker__list li:nth-child(4n+4)::after { background: var(--aqua); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: var(--space-16); }
@media (min-width: 768px)  { .section { padding-block: var(--space-20); } }
@media (min-width: 1024px) { .section { padding-block: var(--space-24); } }
.section--warm { background: var(--cream-2); }
.section--navy { background: var(--navy); color: var(--cream); position: relative; overflow: hidden; }

.section__header { text-align: center; max-width: 660px; margin: 0 auto var(--space-12); }
.section__label {
  font-size: var(--text-sm); font-weight: 700; color: var(--purple-ink);
  text-transform: uppercase; letter-spacing: 0.14em;
  margin: 0 0 var(--space-3);
}
.section__label--light { color: var(--peach); }
[dir="rtl"] .section__label { letter-spacing: 0; }
.section__title { font-size: var(--text-3xl); color: var(--navy); margin: 0 0 var(--space-4); text-wrap: balance; }
.section__desc { font-size: var(--text-lg); color: var(--ink-2); line-height: 1.7; }
@media (min-width: 768px) { .section__title { font-size: 2.75rem; } }
[dir="rtl"] .section__title { line-height: 1.45; }

.c-create { color: var(--coral-ink); }
.c-build { color: var(--purple-ink); }
.c-inspire { color: var(--teal-ink); }

/* ---------- Ticks list ---------- */
.ticks { display: grid; gap: var(--space-3); }
.ticks li { position: relative; padding-inline-start: 30px; font-size: var(--text-base); line-height: 1.5; color: var(--ink); }
[dir="rtl"] .ticks li { line-height: 1.8; }
.ticks li::before {
  content: '';
  position: absolute; inset-inline-start: 0; top: 2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-soft, rgba(114, 103, 164, 0.14)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23655A99' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
[dir="rtl"] .ticks li::before { top: 5px; }
.ticks--light li { color: var(--cream); }
.ticks--light li::before { background: rgba(253, 188, 124, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FDBC7C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }

/* ---------- Pillars: Create · Build · Inspire ---------- */
.pillars { display: grid; gap: var(--space-6); }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, 1fr); } }

.pillar {
  --accent: var(--purple);
  --accent-ink: var(--purple-ink);
  --accent-soft: rgba(114, 103, 164, 0.14);
  position: relative;
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.pillar--create  { --accent: var(--coral);  --accent-ink: var(--coral-ink);  --accent-soft: rgba(251, 141, 126, 0.16); }
.pillar--build   { --accent: var(--purple); --accent-ink: var(--purple-ink); --accent-soft: rgba(114, 103, 164, 0.14); }
.pillar--inspire { --accent: var(--teal);   --accent-ink: var(--teal-ink);   --accent-soft: rgba(81, 160, 183, 0.16); }
.pillar--create .ticks li::before  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8483A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.pillar--inspire .ticks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2325707A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

.pillar__art {
  position: relative;
  height: 220px;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.7), transparent 55%),
    linear-gradient(160deg, color-mix(in srgb, var(--accent) 22%, var(--cream)), color-mix(in srgb, var(--accent) 8%, var(--cream)));
  border-bottom: 1px solid var(--line-soft);
}
.pillar__body { padding: var(--space-6) var(--space-6) var(--space-8); display: flex; flex-direction: column; gap: var(--space-3); }
.pillar__kicker { display: flex; align-items: center; gap: var(--space-3); font-size: var(--text-sm); }
.pillar__kicker span { font-family: var(--font-mono); font-weight: 700; color: var(--ink-3); }
.pillar__kicker b { font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent-ink); }
[dir="rtl"] .pillar__kicker b { letter-spacing: 0; font-size: var(--text-base); }
.pillar__title { font-size: var(--text-2xl); color: var(--navy); }
.pillar__text { color: var(--ink-2); margin-bottom: var(--space-2); }

/* CREATE illustration: a reel with frames */
.ill-create .reel {
  position: absolute; left: 50%; top: 50%; translate: -70% -50%;
  width: 100px; height: 168px; border-radius: 18px;
  background: linear-gradient(165deg, var(--peach), var(--coral) 50%, var(--rose));
  box-shadow: 0 18px 36px rgba(251, 141, 126, 0.35), inset 0 0 0 4px rgba(255, 255, 255, 0.35);
  display: grid; place-items: center;
  rotate: -6deg;
  transition: rotate 0.4s var(--ease-spring);
}
.pillar:hover .reel { rotate: -2deg; }
.reel__play { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); display: grid; place-items: center; fill: var(--coral-ink); padding-inline-start: 3px; }
.reel__bar { position: absolute; left: 12px; right: 12px; bottom: 14px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.45); overflow: hidden; }
.reel__bar::after { content: ''; position: absolute; inset: 0; width: 40%; background: #fff; border-radius: inherit; animation: play 4s linear infinite; }
@keyframes play { from { width: 0; } to { width: 100%; } }
.ill-create .frames { position: absolute; left: 50%; top: 50%; translate: 30% -50%; display: grid; gap: 8px; }
.ill-create .frames i { display: block; width: 62px; height: 44px; border-radius: 10px; background: linear-gradient(135deg, #fff, var(--cream-2)); box-shadow: var(--shadow-soft); border: 1px solid var(--line); }
.ill-create .frames i:nth-child(1) { background: linear-gradient(135deg, var(--peach), #fde3c8); }
.ill-create .frames i:nth-child(2) { background: linear-gradient(135deg, var(--coral), var(--peach)); translate: 10px 0; }
.ill-create .frames i:nth-child(3) { background: linear-gradient(135deg, var(--rose), var(--coral)); }
.ill-spark { position: absolute; }
.ill-create .s1 { top: 22px; right: 22%; fill: var(--coral); animation: twinkle 3s ease-in-out infinite; }
.ill-create .s2 { bottom: 30px; left: 18%; fill: var(--peach); animation: twinkle 3s ease-in-out infinite -1.5s; }
@keyframes twinkle { 0%, 100% { scale: 1; opacity: 1; } 50% { scale: 0.6; opacity: 0.5; } }

/* BUILD illustration: a browser window and a booking card */
.ill-build .win {
  position: absolute; left: 50%; top: 50%; translate: -56% -50%;
  width: 230px; height: 150px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 18px 36px rgba(114, 103, 164, 0.22);
  overflow: hidden;
  direction: ltr;
}
.win__bar { display: flex; gap: 5px; padding: 8px 10px; border-bottom: 1px solid var(--line-soft); }
.win__bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.win__hero { margin: 10px; height: 58px; border-radius: 10px; background: linear-gradient(120deg, var(--rose), var(--purple) 60%, var(--blue)); }
.win__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 10px; }
.win__row i { height: 34px; border-radius: 8px; background: var(--cream-2); }
.ill-build .cal {
  position: absolute; left: 50%; top: 50%; translate: 62% 4%;
  width: 78px; height: 78px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 16px 30px rgba(8, 30, 52, 0.14);
  overflow: hidden;
  transition: translate 0.4s var(--ease-spring);
}
.pillar:hover .cal { translate: 58% -4%; }
.cal__head { display: block; height: 20px; background: var(--purple); }
.cal__check { position: absolute; left: 50%; top: 58%; translate: -50% -50%; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(114, 103, 164, 0.14); color: var(--purple-ink); }

/* INSPIRE illustration: chat bubbles with an AI typing */
.ill-inspire { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding-inline: 18%; direction: ltr; }
.bub { display: block; height: 30px; border-radius: 16px; box-shadow: var(--shadow-soft); }
.bub--in { width: 62%; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.bub--short { width: 44%; }
.bub--out {
  align-self: flex-end; width: 34%;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border-bottom-right-radius: 5px;
}
.bub--out i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: typing 1.2s ease-in-out infinite; }
.bub--out i:nth-child(2) { animation-delay: 0.15s; }
.bub--out i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { translate: 0 0; opacity: 0.6; } 30% { translate: 0 -4px; opacity: 1; } }
.ill-inspire .s1 { top: 26px; right: 14%; fill: var(--teal); animation: twinkle 3s ease-in-out infinite; }

/* ---------- Live demo ---------- */
.section--navy::before {
  content: '';
  position: absolute; inset: auto -10% -40% auto;
  width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(114, 103, 164, 0.45), transparent 65%);
  pointer-events: none;
}
.section--navy::after {
  content: '';
  position: absolute; inset: -30% auto auto -10%;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 141, 126, 0.22), transparent 65%);
  pointer-events: none;
}
.demo { position: relative; z-index: 1; display: grid; gap: var(--space-12); align-items: center; }
@media (min-width: 900px) { .demo { grid-template-columns: 1fr 1fr; gap: var(--space-16); } }
.demo__title { font-size: var(--text-3xl); color: var(--cream); margin-bottom: var(--space-4); text-wrap: balance; }
@media (min-width: 768px) { .demo__title { font-size: 2.75rem; } }
[dir="rtl"] .demo__title { line-height: 1.45; }
.demo__desc { font-size: var(--text-lg); color: var(--on-navy-2); margin-bottom: var(--space-8); line-height: 1.7; }

.phone-demo { position: relative; width: 100%; max-width: 360px; margin-inline: auto; }
.phone-demo__glow { position: absolute; inset: 10% -10%; background: var(--gradient-logo); filter: blur(60px); opacity: 0.35; border-radius: 50%; }
.wa {
  position: relative;
  display: flex; flex-direction: column;
  height: 560px;
  background: #F4EADC;
  border: 8px solid #050F1C;
  border-radius: 42px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
  color: var(--ink);
}
.wa__head { display: flex; align-items: center; gap: var(--space-3); padding: 18px 16px 12px; background: var(--navy-2); color: var(--cream); }
.wa__head b { display: block; font-size: var(--text-sm); line-height: 1.3; }
.wa__head small { font-size: var(--text-xs); color: var(--aqua); }
.wa__avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--gradient-logo); fill: #fff; flex: none; }
.wa__body {
  flex: 1; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  padding: 14px 12px;
  background:
    radial-gradient(circle at 20% 10%, rgba(253, 188, 124, 0.18), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(135, 197, 207, 0.2), transparent 45%),
    #F4EADC;
}
.msg {
  max-width: 82%;
  padding: 8px 12px 6px;
  border-radius: 16px;
  font-size: 14px; line-height: 1.45;
  box-shadow: 0 1px 1px rgba(8, 30, 52, 0.08);
  animation: msg-in 0.35s var(--ease-spring) both;
}
[dir="rtl"] .msg { line-height: 1.7; }
.msg time { display: block; font-size: 10px; color: var(--ink-3); text-align: end; margin-top: 2px; }
.msg--user { align-self: flex-end; background: #D9F0EA; border-end-end-radius: 4px; }
.msg--ai { align-self: flex-start; background: #fff; border-end-start-radius: 4px; }
.msg--typing { display: flex; gap: 4px; padding: 12px 14px; }
.msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: typing 1.2s ease-in-out infinite; }
.msg--typing i:nth-child(2) { animation-delay: 0.15s; }
.msg--typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes msg-in { from { opacity: 0; translate: 0 10px; scale: 0.96; } to { opacity: 1; translate: 0 0; scale: 1; } }
.wa__input { display: flex; align-items: center; gap: 10px; padding: 10px 12px 16px; background: #F4EADC; }
.wa__input span { flex: 1; height: 38px; display: flex; align-items: center; padding-inline: 14px; background: #fff; border-radius: 999px; font-size: 13px; color: var(--ink-3); }
.wa__input i { width: 38px; height: 38px; border-radius: 50%; background: var(--gradient-logo); flex: none; }

/* ---------- Work: bento ---------- */
.bento { display: grid; gap: var(--space-6); }
@media (min-width: 960px) {
  .bento { grid-template-columns: repeat(3, 1fr); }
  .bento .tile--feature { grid-column: 1 / -1; display: grid; grid-template-columns: 5fr 7fr; align-items: center; }
}

.tile {
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.tile .browser img { transition: scale 0.6s var(--ease-out); }
.tile:hover .browser img { scale: 1.04; }

.tile--feature {
  background:
    radial-gradient(circle at 100% 0%, rgba(203, 135, 160, 0.18), transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(135, 197, 207, 0.22), transparent 45%),
    var(--paper);
  padding: var(--space-6);
  gap: var(--space-8);
}
@media (min-width: 640px) { .tile--feature { padding: var(--space-10); } }
.tile__tags { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-4); }
.tile__title { font-size: var(--text-4xl); font-weight: 800; letter-spacing: -0.03em; color: var(--navy); margin-bottom: var(--space-3); }
.tile__desc { color: var(--ink-2); margin-bottom: var(--space-6); max-width: 560px; }
.tile__media { position: relative; padding-inline-end: 14%; padding-bottom: 8%; }
.tile__media .tile__phone { position: absolute; inset-inline-end: 0; bottom: 0; width: 24%; }

.tile:not(.tile--feature) .browser { border: none; border-radius: 0; border-bottom: 1px solid var(--line); box-shadow: none; }
.tile__body { padding: var(--space-6); display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); flex: 1; }
.tile__name { font-size: var(--text-xl); font-weight: 800; color: var(--navy); }
.tile__body p { font-size: var(--text-sm); color: var(--ink-2); line-height: 1.65; }
[dir="rtl"] .tile__body p { line-height: 1.9; }
.tile__link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; padding-top: var(--space-2); font-size: var(--text-sm); font-weight: 700; color: var(--purple-ink); }
.tile__link:hover { color: var(--navy); }

.tag { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; font-size: var(--text-xs); font-weight: 700; white-space: nowrap; }
.tag--create  { background: rgba(251, 141, 126, 0.16); color: var(--coral-ink); }
.tag--build   { background: rgba(114, 103, 164, 0.14); color: var(--purple-ink); }
.tag--inspire { background: rgba(81, 160, 183, 0.16); color: var(--teal-ink); }
.tag--live    { background: rgba(37, 112, 122, 0.1); color: var(--teal-ink); }
.tag--live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); margin-inline-end: 6px; }

/* Browser + phone frames for screenshots */
.browser {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(8, 30, 52, 0.16);
}
.browser__bar { display: flex; align-items: center; gap: 6px; height: 28px; padding-inline: 12px; background: var(--cream-2); border-bottom: 1px solid var(--line); direction: ltr; position: relative; z-index: 1; }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.browser__bar i:nth-child(1) { background: var(--coral); }
.browser__bar i:nth-child(2) { background: var(--peach); }
.browser__bar i:nth-child(3) { background: var(--aqua); }
.browser img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }

.phone { position: relative; padding: 6px; background: #050F1C; border-radius: 28px; box-shadow: 0 30px 60px rgba(8, 30, 52, 0.35); }
.phone img { border-radius: 22px; width: 100%; height: auto; aspect-ratio: 520 / 1125; object-fit: cover; }

.also { margin-top: var(--space-12); }
.also__label { font-size: var(--text-sm); font-weight: 700; color: var(--ink-3); margin-bottom: var(--space-4); text-align: center; text-transform: uppercase; letter-spacing: 0.14em; }
[dir="rtl"] .also__label { letter-spacing: 0; }
.also__list { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.also__list li { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: var(--space-4) var(--space-5); display: grid; gap: 2px; }
.also__list b { font-size: var(--text-sm); font-weight: 800; color: var(--navy); direction: ltr; text-align: start; }
.also__list span { font-size: var(--text-sm); color: var(--ink-3); line-height: 1.5; }
[dir="rtl"] .also__list span { line-height: 1.7; }

/* ---------- Process ---------- */
.steps { position: relative; display: grid; gap: var(--space-6); }
.steps::before {
  content: '';
  position: absolute;
  inset-inline-start: 23px; top: 24px; bottom: 24px;
  width: 2px;
  background: var(--gradient-logo);
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 1.4s var(--ease-out);
}
.steps.visible::before { transform: scaleY(1); }
.step { position: relative; padding-inline-start: 72px; }
.step__num {
  position: absolute; inset-inline-start: 0; top: 0;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800; font-size: var(--text-lg); color: var(--navy);
  background: linear-gradient(var(--cream), var(--cream)) padding-box, var(--gradient-logo) border-box;
  border: 2px solid transparent;
}
.step h3 { font-size: var(--text-xl); color: var(--navy); margin-bottom: var(--space-1); padding-top: 8px; }
.step p { color: var(--ink-2); }
[dir="rtl"] .step p { line-height: 1.9; }
.js .step { opacity: 0; translate: 0 16px; transition: opacity 0.5s var(--ease-out), translate 0.5s var(--ease-out); }
.js .steps.visible .step { opacity: 1; translate: 0 0; }
.js .steps.visible .step:nth-child(2) { transition-delay: 0.25s; }
.js .steps.visible .step:nth-child(3) { transition-delay: 0.5s; }
.js .steps.visible .step:nth-child(4) { transition-delay: 0.75s; }

@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: var(--space-8); }
  /* From the first circle to the last: each column is (100% - 3 gaps) / 4 wide */
  .steps::before { inset-inline-start: 24px; inset-inline-end: calc((100% - 3 * var(--space-8)) / 4 - 24px); top: 23px; bottom: auto; width: auto; height: 2px; transform: scaleX(0); transform-origin: left; }
  [dir="rtl"] .steps::before { transform-origin: right; }
  .steps.visible::before { transform: scaleX(1); }
  .step { padding-inline-start: 0; padding-top: 72px; }
  .step h3 { padding-top: 0; }
}

/* ---------- Story + why ---------- */
.story { display: grid; gap: var(--space-12); }
.story__title { font-size: var(--text-3xl); margin-bottom: var(--space-8); }
@media (min-width: 768px) { .story__title { font-size: 2.25rem; } }
@media (min-width: 960px) { .story { grid-template-columns: 1fr 1fr; gap: var(--space-16); } }

.timeline { position: relative; display: grid; gap: var(--space-6); padding-inline-start: var(--space-8); }
.timeline::before { content: ''; position: absolute; inset-inline-start: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(to bottom, var(--peach), var(--coral), var(--rose), var(--purple), var(--blue), var(--teal)); border-radius: 2px; }
.timeline li { position: relative; display: grid; gap: 2px; }
.timeline li::before {
  content: '';
  position: absolute; inset-inline-start: calc(-1 * var(--space-8) + 1px); top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--cream-2); border: 3px solid var(--dot, var(--purple));
}
.timeline li:nth-child(1) { --dot: var(--coral); }
.timeline li:nth-child(2) { --dot: var(--rose); }
.timeline li:nth-child(3) { --dot: var(--purple); }
.timeline li:nth-child(4) { --dot: var(--teal); }
.timeline__when { font-size: var(--text-xs); font-weight: 800; color: var(--purple-ink); text-transform: uppercase; letter-spacing: 0.12em; }
[dir="rtl"] .timeline__when { letter-spacing: 0; font-size: var(--text-sm); }
.timeline b { font-size: var(--text-lg); color: var(--navy); }
.timeline p { font-size: var(--text-sm); color: var(--ink-2); }

.why { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.why li { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: var(--space-6); }
.why__n { display: inline-block; font-size: var(--text-2xl); font-weight: 800; letter-spacing: -0.02em; background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: var(--space-2); direction: ltr; }
.why h3 { font-size: var(--text-base); font-weight: 800; color: var(--navy); margin-bottom: var(--space-1); }
.why p { font-size: var(--text-sm); color: var(--ink-2); line-height: 1.6; }
[dir="rtl"] .why p { line-height: 1.9; }

/* ---------- Contact + footer (navy) ---------- */
.footer { position: relative; overflow: hidden; background: var(--navy); color: var(--cream); padding-block: var(--space-20) var(--space-8); }
.footer__glow { position: absolute; left: 50%; top: -220px; translate: -50% 0; width: 900px; height: 520px; border-radius: 50%; background: var(--gradient-logo); filter: blur(90px); opacity: 0.28; pointer-events: none; }
.footer .container { position: relative; }
.cta { text-align: center; max-width: 720px; margin: 0 auto var(--space-20); }
.cta__title { font-size: var(--text-4xl); color: var(--cream); margin-bottom: var(--space-4); }
@media (min-width: 768px) { .cta__title { font-size: 4rem; letter-spacing: -0.035em; } }
[dir="rtl"] .cta__title { line-height: 1.4; }
.cta__desc { font-size: var(--text-lg); color: var(--on-navy-2); max-width: 520px; margin: 0 auto var(--space-8); }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); }
@media (max-width: 480px) { .cta__actions a { flex: 1 1 100%; } }
.cta__mail { display: inline-block; margin-top: var(--space-6); font-size: var(--text-sm); color: var(--on-navy-2); direction: ltr; unicode-bidi: isolate; }
.cta__mail:hover { color: var(--cream); }

.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: var(--space-6); padding-top: var(--space-10); border-top: 1px solid rgba(254, 245, 235, 0.1); }
.footer__links { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); }
.footer__links a { font-size: var(--text-sm); color: var(--on-navy-2); transition: color 0.2s ease; }
.footer__links a:hover { color: var(--cream); }
.footer__legal { margin-top: var(--space-8); font-size: var(--text-xs); color: var(--on-navy-2); }

/* AM Studio footer credit (UI-KIT.md §13): Designed & built by [AM] Studio · email */
.footer .credit { --color-text-muted: #9AA8B8; --color-text-primary: #FEF5EB; --color-border-subtle: rgba(254, 245, 235, 0.12); }
.credit { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: var(--space-8, 32px); padding-top: var(--space-6, 24px); border-top: 1px solid var(--color-border-subtle, rgba(127, 127, 160, 0.18)); font-size: var(--text-sm, 0.875rem); color: var(--color-text-muted, #75738f); }
.credit .credit-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--color-text-primary, inherit); font-weight: 800; letter-spacing: -0.01em; text-decoration: none; transition: color 200ms; direction: ltr; }
.credit a.credit-brand:hover { color: #7f77dd; }
/* The AM mark on the logo's own cream background, like an app icon */
.credit .am-icon { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(160deg, #fffaf3, #fdf1e3); box-shadow: 0 6px 16px rgba(10, 20, 48, 0.18), inset 0 0 0 1px rgba(10, 20, 48, 0.06); transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.credit a.credit-brand:hover .am-icon { transform: rotate(-6deg) scale(1.06); }
.credit .am-icon img { display: block; width: 27px; height: auto; }
.credit-mail { color: var(--color-text-muted, #75738f); direction: ltr; unicode-bidi: isolate; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: color 200ms, text-decoration-color 200ms; }
.credit-mail::before { content: '·'; margin-inline-end: 10px; color: var(--color-text-muted, #75738f); display: inline-block; }
.credit-mail:hover { color: var(--color-text-primary, inherit); text-decoration-color: currentColor; }
@media (prefers-reduced-motion: reduce) { .credit .am-icon { transition: none; } }

/* ---------- Scroll reveal (UI-KIT §10); only hidden when JS is running ---------- */
.js .fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-lazy) var(--ease-out), transform var(--duration-lazy) var(--ease-out);
}
.js .fade-in-up.visible { opacity: 1; transform: none; }

.js .stagger > * {
  opacity: 0;
  translate: 0 20px;
  transition: opacity 0.5s var(--ease-out), translate 0.5s var(--ease-out), transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s ease;
}
.js .stagger.visible > * { opacity: 1; translate: 0 0; }
.js .stagger.visible > *:nth-child(2) { transition-delay: 90ms, 90ms, 0ms, 0ms, 0ms; }
.js .stagger.visible > *:nth-child(3) { transition-delay: 180ms, 180ms, 0ms, 0ms, 0ms; }
.js .stagger.visible > *:nth-child(4) { transition-delay: 270ms, 270ms, 0ms, 0ms, 0ms; }

@media (prefers-reduced-motion: reduce) {
  .blob, .stage__ring, .stage__mark, .float-card, .ticker__track, .reel__bar::after, .ill-spark { animation: none !important; }
}
