/* ==========================================================
   DigiRavan — studio site
   Monochrome + wine accent · 3D monogram hero · 3D stone services
   ========================================================== */
:root {
  --dark: #0d0609;
  --dark-2: #1a0c11;
  --light: #f3ecee;
  --light-2: #faf6f7;
  --ink: #1d1014;
  --txt-d: #eadde1;       /* text on dark */
  --dim-d: #a08890;
  --dim-l: #6f5a62;
  --line-d: rgba(255, 255, 255, .14);
  --line-l: rgba(0, 0, 0, .14);
  --accent: #d64a7d;
  --wine: #bc0444;
  --plum: #4a0018;
  --rose: #d17d98;
  --blush: #f4d6df;
  --brand-grad: linear-gradient(135deg, #d17d98 0%, #bc0444 55%, #4a0018 100%);
  --display: "Outfit", system-ui, -apple-system, sans-serif;
  --mono: "Outfit", system-ui, sans-serif;
  --gutter: clamp(20px, 6vw, 112px); /* roomier side margins on every section and page */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { background: var(--dark); color: var(--txt-d); font-family: var(--display); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--accent); color: #fff; }
.wrap { padding-inline: var(--gutter); }
.mono { font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; line-height: 1.45; }
.label { color: var(--dim-d); }
.light .label { color: var(--dim-l); }
.big { font-weight: 500; font-size: clamp(48px, 7vw, 116px); line-height: .95; letter-spacing: -0.032em; }
.dark { background: var(--dark); color: var(--txt-d); }
.light { background: var(--light); color: var(--ink); }

/* underlined mono link with arrow */
.u-link {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-width: 240px;
  padding: 6px 0 10px; font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  border-bottom: 1px solid currentColor; position: relative;
}
.u-link::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.u-link:hover::after { transform: scaleX(1); }
.u-link i { font-style: normal; transition: transform .4s var(--ease); }
.u-link:hover i { transform: translateX(5px); color: var(--accent); }
.u-link--sm { min-width: 0; gap: 18px; font-size: 12px; }

/* ---------- 3D hero canvas ---------- */
#hero3d { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero-ready #hero3d { opacity: 1; }
main { position: relative; z-index: 1; }

/* ---------- Top bar (inverts over light sections) ---------- */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; padding: 26px var(--gutter); color: #fff; mix-blend-mode: difference; pointer-events: none; }
.top a, .top button { pointer-events: auto; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; letter-spacing: .02em; font-size: 17px; }
.logo sup { font-size: 8px; font-weight: 500; margin-left: -6px; transform: translateY(-5px); }
.logo__mark { display: grid; place-items: center; width: 28px; height: 28px; border: 1.5px solid currentColor; border-radius: 7px; font-size: 10.5px; letter-spacing: 0; }
.top__right { display: flex; align-items: center; gap: 8px; }
.top__dot { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(217, 217, 217, .1); }
.top__dot i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: dotPulse 2.4s ease-in-out infinite; }
@keyframes dotPulse { 50% { transform: scale(.5); opacity: .5; } }
/* pill buttons */
.pill { display: inline-flex; align-items: center; gap: 8px; height: 31px; padding: 0 15px 1px; border: 1px solid currentColor; border-radius: 999px; font-family: var(--display); font-size: 14px; font-weight: 500; letter-spacing: -0.01em; text-transform: uppercase; color: #fff; overflow: hidden; position: relative; isolation: isolate; transition: color .4s var(--ease); }
.pill::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #fff; border-radius: inherit; transform: translateY(101%); transition: transform .45s var(--ease); }
.pill:hover { color: #000; }
.pill:hover::before { transform: none; }
.pill--solid { background: #fff; color: #000; border-color: #fff; }
.pill--solid::before { background: #000; }
.pill--solid:hover { color: #fff; }
.menu-btn em { display: grid; gap: 3px; width: 12px; }
.menu-btn em i { display: block; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.menu-open .menu-btn em i:first-child { transform: translateY(2.25px) rotate(45deg); }
.menu-open .menu-btn em i:last-child { transform: translateY(-2.25px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 55; background: var(--dark-2); display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px; clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease); }
.menu-open .menu { clip-path: inset(0 0 0 0); }
.menu ol { list-style: none; }
.menu li a { display: flex; align-items: baseline; gap: 22px; padding: 8px 0; font-size: clamp(40px, 6.4vw, 92px); font-weight: 500; letter-spacing: -0.03em; line-height: 1; color: var(--txt-d); transition: color .3s, padding .4s var(--ease); }
.menu li a small { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; color: var(--dim-d); }
.menu li a:hover { color: #fff; padding-left: 14px; }
.menu__foot { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 50px; font-family: var(--mono); font-size: 13px; text-transform: uppercase; color: var(--dim-d); }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; padding: 104px 0 30px; position: relative; }
.hero__title { font-weight: 400; font-size: clamp(54px, 6.3vw, 120px); line-height: .9; letter-spacing: -0.035em; color: #eadde1; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; }
.hero__links { display: flex; flex-wrap: wrap; gap: 16px 22px; margin-top: 34px; color: #eadde1; }
.hero__links .u-link { min-width: 227px; font-size: 12px; padding: 4px 0 8px; }
.hero__foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 30px; color: #eadde1; }
.hero__scroll { width: 16px; height: 16px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; position: relative; }
.hero__scroll::after { content: ""; position: absolute; left: 50%; top: 3px; width: 2px; height: 4px; margin-left: -1px; background: #fff; border-radius: 2px; animation: scrollDot 1.8s var(--ease) infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 80%, 100% { transform: translateY(5px); opacity: 0; } }
.hero__hint { text-align: center; font-family: var(--display); font-size: 13px; letter-spacing: -0.01em; line-height: 1.35; color: #eadde1; user-select: none; }
.hero__spark { display: inline-block; color: var(--accent); margin: 0 4px; }
.hero__bolt { display: inline-block; filter: hue-rotate(290deg) saturate(1.6); }
.blasting .hero__spark { animation: spin .6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg) scale(1.3); } }
.hero__side { justify-self: end; width: 234px; display: grid; gap: 18px; }
.badge { display: grid; grid-template-columns: 1fr 1.45fr; border: 1px solid rgba(255,255,255,.18); }
.badge__cell { display: grid; place-items: center; gap: 6px; padding: 12px 8px; text-align: center; font-size: 9.5px; font-weight: 500; letter-spacing: .01em; line-height: 1.25; text-transform: uppercase; color: #eadde1; }
.badge__cell + .badge__cell { border-left: 1px solid rgba(255,255,255,.18); }
.hero__note { font-size: 15.5px; line-height: 1.3; color: #eadde1; }

/* ---------- Preloader ---------- */
.loader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; align-content: center; gap: 22px; background: #0d0609; color: #222; transition: background .5s ease; }
.loader .plus { opacity: .7; }
.loader__box { position: relative; display: grid; place-items: center; width: 132px; height: 132px; border: 1px solid rgba(0,0,0,.18); }
.loader__box b { position: absolute; width: 5px; height: 5px; border: 1px solid rgba(0,0,0,.45); background: #0d0609; }
.loader__box b:nth-of-type(1) { left: -3px; top: -3px; } .loader__box b:nth-of-type(2) { right: -3px; top: -3px; }
.loader__box b:nth-of-type(3) { left: -3px; bottom: -3px; } .loader__box b:nth-of-type(4) { right: -3px; bottom: -3px; }
.loader__mark { display: grid; place-items: center; width: 64px; height: 64px; border: 3px solid currentColor; border-radius: 14px; font-weight: 700; font-size: 25px; letter-spacing: -0.04em; transition: color .5s, transform .8s var(--ease); }
.loader__tag { font-family: var(--display); font-weight: 600; font-size: 10px; letter-spacing: .02em; }
.loader__tag i { font-style: normal; color: var(--wine); margin: 0 3px; }
.loader__count { position: absolute; left: 0; right: 0; bottom: 40px; text-align: center; font-size: 11px; color: #555; }
.loader__black { position: absolute; inset: 0; background: #0d0609; clip-path: inset(calc(50% - 66px) calc(50% - 66px) calc(50% - 66px + 30px) calc(50% - 66px)); opacity: 0; transition: clip-path 1s cubic-bezier(.76,0,.24,1), opacity .2s; z-index: 0; }
.loader > *:not(.loader__black) { position: relative; z-index: 1; }
.loader .plus { position: absolute; }
.loader__count { position: absolute !important; }
.loader.is-dark .loader__black { opacity: 1; clip-path: inset(0 0 0 0); }
.swap { display: inline-block; white-space: nowrap; }
.bw { display: inline-block; white-space: nowrap; }
.bc { display: inline-block; }
.swap .sc { display: inline-block; }
.loader.is-dark .loader__box, .loader.is-dark .loader__tag, .loader.is-dark .loader__count, .loader.is-dark .plus { opacity: 0; transition: opacity .3s; }
.loader.is-dark .loader__mark { color: #3a3a3c; transform: scale(.7); transition-delay: .3s; }
.loader.is-done { opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s .7s; }
.loader { animation: loaderFailsafe 0s 16s forwards; } /* never block the page if scripts fail */
@keyframes loaderFailsafe { to { opacity: 0; visibility: hidden; } }

/* ---------- About ---------- */
.about { padding: 20vh 0 34vh; }
.about .wrap { position: relative; }
.about__label { position: absolute; left: var(--gutter); top: 1.6em; font-size: 13px; letter-spacing: -0.01em; text-transform: uppercase; color: #eadde1; }
.about__body { margin-left: 8.5vw; max-width: 1260px; }
/* large light statement, first line indented, lit up letter by letter on scroll */
.statement { font-weight: 400; font-size: clamp(40px, 5.95vw, 96px); line-height: .95; letter-spacing: -0.035em; text-indent: 8vw; color: rgba(234, 221, 225, .1); }
.statement .ch { color: inherit; }
.rule--about { margin: 9vh 0 6vh; }
.rule--about::before { background: rgba(255,255,255,.26); transform-origin: left; }
.rule--about i { left: 66%; }
.rule--about i::before, .rule--about i::after { background: #c9b3bb; }
.about__row { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.about__caps { font-size: 13px; line-height: 1.25; letter-spacing: -0.01em; text-transform: uppercase; color: #eadde1; }
.about__mission { max-width: 340px; }
.about__mission p { color: #eadde1; font-size: 15.5px; line-height: 1.3; margin-bottom: 44px; }
.about__mission .u-link { min-width: 180px; color: #eadde1; }
.impact__label { position: absolute; left: calc(var(--gutter) + 8.5vw); top: 12vh; font-size: 13px; line-height: 1.25; letter-spacing: -0.01em; text-transform: uppercase; color: #eadde1; z-index: 2; }

/* ---------- Impact marquee ---------- */
/* 5 equal #D2D2D2 stripes close bottom-first over the pinned marquee */
.impact__stripes { position: absolute; left: 0; right: 0; top: 0; height: 100vh; height: 100dvh; z-index: 30; display: flex; flex-direction: column; pointer-events: none; }
.impact__stripes i { flex: 1; width: 100%; background: #ecdde2; transform: scaleY(0); transform-origin: bottom; will-change: transform; padding-bottom: 1px; }
.impact__stripes i + i { margin-top: -1px; }
.impact { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 8vh 0; overflow: hidden; }
.impact__track { display: flex; align-items: center; gap: 4vw; width: max-content; will-change: transform; }
.impact__track span { font-size: clamp(90px, 15vw, 260px); font-weight: 400; letter-spacing: -0.035em; line-height: 1; text-transform: uppercase; color: #eadde1; white-space: nowrap; }
.impact__track i { font-style: normal; font-weight: 300; font-size: clamp(30px, 4vw, 60px); color: var(--dim-d); }
.impact__tag { text-align: center; margin-top: 5vh; color: #c9b3bb; }

/* ---------- Stripe wipes between dark and light ----------
   The wipe overlays the START of the next section in the OLD colour. As you scroll,
   the bars shrink away one by one and uncover the new section's content underneath,
   so there is never an empty screen. */
.wipe { position: relative; height: 100vh; height: 100svh; margin-bottom: -100vh; margin-bottom: -100svh; z-index: 5; pointer-events: none; }
.wipe i { position: absolute; left: 0; right: 0; height: calc(100% / 8 + 1px); transform-origin: top; }
.wipe[data-from="light"] i { background: var(--light); }
.wipe[data-from="dark"] i { background: var(--dark); }
.wipe[data-from="grey"] i { background: #eadce1; }
.wipe i:nth-child(1) { top: 0; } .wipe i:nth-child(2) { top: 12.5%; } .wipe i:nth-child(3) { top: 25%; } .wipe i:nth-child(4) { top: 37.5%; }
.wipe i:nth-child(5) { top: 50%; } .wipe i:nth-child(6) { top: 62.5%; } .wipe i:nth-child(7) { top: 75%; } .wipe i:nth-child(8) { top: 87.5%; }

/* guide lines and "+" markers on light sections */
.light { position: relative; }
.light::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(90deg, var(--line-l) 1px, transparent 1px);
  background-size: 50% 100%; background-position: 25% 0;
  mask-image: linear-gradient(transparent, #000 15%, #000 85%, transparent);
  opacity: .55;
}
.light > * { position: relative; z-index: 1; }
.plus { position: absolute; width: 13px; height: 13px; pointer-events: none; color: currentColor; opacity: .5; }
.plus::before, .plus::after { content: ""; position: absolute; background: currentColor; }
.plus::before { left: 6px; top: 0; width: 1px; height: 13px; }
.plus::after { top: 6px; left: 0; height: 1px; width: 13px; }

/* ---------- Key facts ---------- */
.facts { position: relative; z-index: 20; margin-top: -100vh; margin-top: -100dvh; padding: 75px 0 0; background: linear-gradient(180deg, #ecdde2 0%, #fdf9fa 62%, var(--light) 100%); }
.facts > .wrap { position: relative; z-index: 1; }
.facts.light::before { display: none; }
.facts__head { text-align: center; margin-bottom: 64px; }
.facts__head .big { font-weight: 400; font-size: clamp(52px, 5.95vw, 96px); letter-spacing: -0.035em; color: #2e1b22; }
.facts__head p { margin-top: 16px; font-size: 14.5px; line-height: 1.3; color: #2e1b22; }
.facts__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 356px)); justify-content: center; gap: 22px; perspective: 1400px; }
.fact { position: relative; height: 440px; border-radius: 7px; overflow: hidden; background: #24121a; color: #eadde1; transform-style: preserve-3d; will-change: transform; }
.fact__in { position: relative; z-index: 2; height: 100%; padding: 36px; display: flex; flex-direction: column; justify-content: space-between; }
.fact__label { font-size: 15px; letter-spacing: -0.02em; text-transform: uppercase; }
.fact__txt { font-size: 15.5px; line-height: 1.25; opacity: .8; max-width: 210px; }
.fact__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.fact__num { display: inline-flex; align-items: flex-start; font-weight: 400; font-size: 50px; letter-spacing: -0.035em; line-height: 1; white-space: nowrap; }
.fact__num sup { font-size: 27px; line-height: 1; margin-left: 1px; }
.fact--image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; filter: saturate(.85) brightness(.7); transition: transform 1.2s var(--ease); }
.fact--image::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(rgba(0,0,0,.35), transparent 30%, transparent 50%, rgba(0,0,0,.75)); }
.fact--image:hover img { transform: scale(1.05); }
.fact__cycle { position: relative; height: 26px; margin-bottom: 14px; overflow: hidden; font-weight: 700; font-size: 21px; letter-spacing: -0.04em; color: #fff; }
.fact__cycle span { position: absolute; left: 0; top: 0; animation: cycle 8s infinite; opacity: 0; }
.fact__cycle span:nth-child(2) { animation-delay: 2s; } .fact__cycle span:nth-child(3) { animation-delay: 4s; } .fact__cycle span:nth-child(4) { animation-delay: 6s; }
@keyframes cycle { 0% { opacity: 0; transform: translateY(100%); } 5%, 22% { opacity: 1; transform: none; } 27%, 100% { opacity: 0; transform: translateY(-100%); } }
.fact--light { background: #f2e8eb; color: #2e1b22; }
.fact--light .fact__in { align-items: center; text-align: center; }
.fact__circle { display: grid; place-items: center; width: 180px; height: 180px; border-radius: 50%; background: #fff; transition: transform .8s var(--ease); }
.fact--light:hover .fact__circle { transform: scale(1.06); }
.fact--light .fact__txt { max-width: 230px; }
.fact--dark { background: #1f0e15; }
.fact--dark .fact__label { text-align: right; }
.fact__shot { flex: 1; margin: 22px 0; border-radius: 3px; overflow: hidden; }
.fact__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: grayscale(.4) brightness(.85); transition: transform 1.2s var(--ease), filter .8s; }
.fact--dark:hover .fact__shot img { transform: scale(1.06); filter: none; }
.odo { display: inline-flex; overflow: hidden; height: 1em; line-height: 1; vertical-align: top; }
.odo__col { display: flex; flex-direction: column; transition: transform 2s var(--ease); }
.odo__col span { height: 1em; }
.partners { margin-top: 104px; text-align: center; }
.partners__label { font-size: 13px; letter-spacing: -0.01em; text-transform: uppercase; color: #2e1b22; margin-bottom: 26px; }
.partners ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; }
.partners li { padding: 2px 36px; font-weight: 700; font-size: 20px; letter-spacing: -0.04em; color: #2e1b22; border-left: 1px solid rgba(0,0,0,.12); }
.partners li:first-child { border-left: 0; }
.facts__line { position: relative; height: 26vh; margin-top: 12vh; }
.facts__line::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: rgba(0,0,0,.25); transform-origin: top; transform: scaleY(var(--grow, 1)); }
.facts__line i { position: absolute; left: 50%; top: -6px; width: 13px; height: 13px; margin-left: -6px; }
.facts__line i::before, .facts__line i::after { content: ""; position: absolute; background: #555; }
.facts__line i::before { left: 6px; top: 0; width: 1px; height: 13px; }
.facts__line i::after { top: 6px; left: 0; height: 1px; width: 13px; }

/* ---------- Selected work ---------- */
.work { overflow: clip; background: linear-gradient(180deg, var(--light) 0%, #f9f3f5 100%); }
.work.light::before { display: none; }
.work__rule { position: relative; height: 0; margin: 0 var(--gutter); border-top: 1px solid rgba(0,0,0,.14); transform-origin: center; transform: scaleX(var(--grow, 1)); }
.work__rule i { position: absolute; left: 50%; top: -7px; width: 13px; height: 13px; margin-left: -6px; transform: rotate(var(--spin, 0deg)); }
.work__rule i::before, .work__rule i::after { content: ""; position: absolute; background: #555; }
.work__rule i::before { left: 6px; top: 0; width: 1px; height: 13px; }
.work__rule i::after { top: 6px; left: 0; height: 1px; width: 13px; }
.work__pin { position: relative; height: 100vh; height: 100svh; }
/* 5 equal white stripes inside the pinned stage close bottom-first as the next section arrives */
.svc__stripes { position: absolute; inset: 0; z-index: 30; display: flex; flex-direction: column; pointer-events: none; }
.svc__stripes i { flex: 1; width: 100%; background: #fff; transform: scaleY(0); transform-origin: bottom; will-change: transform; padding-bottom: .5px; }
.svc__stripes i + i { margin-top: -.5px; }
.work__row { display: flex; height: 100%; will-change: transform; }
.work__intro { flex: 0 0 50vw; height: 100%; display: grid; place-items: center; border-right: 1px solid rgba(0,0,0,.12); }
.work__intro-in { display: grid; justify-items: center; gap: 34px; }
.work__intro .big { font-weight: 400; font-size: clamp(44px, 4.9vw, 84px); letter-spacing: -0.035em; line-height: .92; color: #2e1b22; }
.work__track { display: flex; height: 100%; }
.case { flex: 0 0 50vw; height: 100%; display: flex; align-items: center; justify-content: center; border-right: 1px solid rgba(0,0,0,.12); }
.case__card { width: min(40vw, 576px); will-change: transform; }
.case__img { aspect-ratio: 576 / 392; border-radius: 5px; overflow: hidden; margin-bottom: 20px; background: #eadce1; }
.case__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.case:hover .case__img img { transform: scale(1.05); }
.case__meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.case h3 { font-weight: 400; font-size: 32px; letter-spacing: -0.04em; line-height: 1.1; color: #2e1b22; }
.case p { color: #2e1b22; font-size: 15px; line-height: 1.3; max-width: 290px; margin-top: 10px; }
.case .u-link { flex: 0 0 auto; min-width: 180px; color: #2e1b22; }
.case--end { flex-direction: column; gap: 30px; text-align: center; padding: 0 6vw; }
.case--end p { font-size: 26px; font-weight: 400; letter-spacing: -0.035em; line-height: 1.2; color: #2e1b22; max-width: 440px; }

/* ---------- Services (pinned stone) ---------- */
.services { height: 760vh; position: relative; background: #fff; color: #111; }
.services__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; perspective: 900px; --ink-s: #111; }
.services__dark { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 40%, #26101a 0%, #0d0609 70%); opacity: 0; }
.smoke i { position: absolute; border-radius: 50%; filter: blur(60px); background: radial-gradient(closest-side, rgba(150, 62, 92, .34), transparent); animation: drift 22s ease-in-out infinite alternate; }
.smoke i:nth-child(1) { width: 70vw; height: 55vh; left: -14vw; top: 4vh; }
.smoke i:nth-child(2) { width: 60vw; height: 60vh; right: -16vw; top: 30vh; animation-duration: 28s; background: radial-gradient(closest-side, rgba(188, 4, 68, .18), transparent); }
.smoke i:nth-child(3) { width: 55vw; height: 45vh; left: 22vw; bottom: -14vh; animation-duration: 34s; }
.smoke i:nth-child(4) { width: 40vw; height: 40vh; right: 10vw; top: -12vh; animation-duration: 30s; }
@keyframes drift { to { transform: translate(6vw, -4vh) scale(1.15); } }
.services__label { position: absolute; top: 7vh; left: 0; right: 0; text-align: center; z-index: 4; font-size: 13px; letter-spacing: -0.01em; text-transform: uppercase; color: var(--ink-s); }
.stack { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 500; font-size: clamp(50px, 7.4vw, 140px); line-height: .9; letter-spacing: -0.03em; text-transform: uppercase; color: var(--ink-s); transform-style: preserve-3d; }
.stack span { display: block; white-space: nowrap; transform-style: preserve-3d; }
.stack .ch { display: inline-block; will-change: transform, opacity; }
@media (min-width: 861px) {
  /* services is the last panel of the work scroller: it slides in over the work, its content
     held still (counter-translated in JS), then stays pinned while the stone sequence plays */
  .work .services { flex: 0 0 100vw; height: 100%; overflow: hidden; }
  .work .services__stage { position: absolute; inset: 0; width: 100vw; will-change: transform; }
}
.services__clouds { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
#rock3d { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; display: block; }
.svc-flow { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
/* each service is a frosted-glass card drifting up past the stone */
.svc { position: absolute; top: 0; width: min(560px, 40vw); will-change: transform; color: #fff; }
.svc--0, .svc--2, .svc--4 { left: 1.6vw; }
.svc--1, .svc--3, .svc--5 { right: 1.6vw; }
.svc--2 { left: 6vw; } .svc--3 { right: 7vw; }
.svc__card { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 280px; padding: 40px; border-radius: 7px; background: rgba(0, 0, 0, .2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
.svc__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.svc h3 { font-weight: 400; font-size: clamp(26px, 2.25vw, 34px); line-height: 1.05; letter-spacing: -0.04em; max-width: 220px; }
.svc p { color: rgba(255, 255, 255, .78); font-size: 14.5px; line-height: 1.3; max-width: 270px; }
.svc__icon { flex: 0 0 auto; width: 92px; height: 92px; color: rgba(255,255,255,.85); }
.svc__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1; }
.services__foot { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 5vh; z-index: 4; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; color: var(--ink-s); }
.services__tag { grid-column: 2; position: relative; height: 16px; overflow: hidden; min-width: 360px; text-align: center; font-size: 12px; text-transform: uppercase; letter-spacing: -0.01em; }
.services__tag span { position: absolute; left: 0; right: 0; transition: transform .6s var(--ease); }
.services__tag span + span { transform: translateY(110%); }
.services.is-dark .services__tag span:first-child { transform: translateY(-110%); }
.services.is-dark .services__tag span + span { transform: none; }
.services__foot .u-link { grid-column: 3; justify-self: end; color: var(--ink-s); min-width: 190px; }

/* ---------- Why + Client stories ---------- */
.why, .stories { background: linear-gradient(180deg, #ffffff 0%, #f4eaed 100%); color: #2e1b22; }
.why.light::before, .stories.light::before { display: none; }
.why { position: relative; z-index: 4; margin-top: -100vh; margin-top: -100dvh; padding: 30vh 0 12vh; background: #fff; }
.why > .wrap { position: relative; z-index: 1; }
.stories { padding: 16vh 0 34vh; background: linear-gradient(180deg, #fff 0%, #f3f3f3 18%, #efe2e7 45%, #ecdde2 72%, #e8d6dc 100%); }
.narrow { max-width: calc(1134px + var(--gutter) * 2); margin: 0 auto; }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 30px; }
.sec-head .big { font-weight: 400; font-size: clamp(48px, 5.9vw, 96px); letter-spacing: -0.035em; color: #2e1b22; }
.sec-head p { font-size: 15px; line-height: 1.3; color: #2e1b22; padding-bottom: 12px; }
.rule { position: relative; height: 1px; margin: 9vh 0 8vh; }
.rule::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.16); transform: scaleX(var(--grow, 1)); transform-origin: center; }
.rule i { position: absolute; left: 50%; top: -6px; width: 13px; height: 13px; margin-left: -6px; transform: rotate(var(--spin, 0deg)); }
.rule i::before, .rule i::after { content: ""; position: absolute; background: #555; }
.rule i::before { left: 6px; top: 0; width: 1px; height: 13px; }
.rule i::after { top: 6px; left: 0; height: 1px; width: 13px; }
.rule--end { margin-bottom: 0; }
/* reasons: ruled rows */
.reasons { list-style: none; }
.reason { display: grid; grid-template-columns: 90px 1fr 1fr; gap: 30px; align-items: baseline; padding: 30px 0 34px; border-top: 1px solid rgba(0,0,0,.12); transition: padding .5s var(--ease); }
.reason:last-child { border-bottom: 1px solid rgba(0,0,0,.12); }
.reason:hover { padding-left: 14px; }
.reason__n { font-family: var(--mono); font-size: 12.5px; color: var(--wine); }
.reason h3 { font-weight: 400; font-size: clamp(24px, 2.25vw, 34px); letter-spacing: -0.045em; line-height: 1.05; color: #2e1b22; }
.reason p { font-size: 15.5px; line-height: 1.35; color: #6f5a62; max-width: 380px; }
/* process: a line that draws across four steps */
.process { margin-top: 14vh; }
.process__label { font-size: 13px; text-transform: uppercase; letter-spacing: -0.01em; text-align: center; margin-bottom: 46px; }
.process__track { position: relative; }
.process__line { position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: #2e1b22; transform-origin: left; transform: scaleX(var(--grow, 1)); }
.process__track::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: rgba(0,0,0,.12); }
.process ol { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; }
.step__dot { display: block; width: 13px; height: 13px; border-radius: 50%; border: 1px solid #2e1b22; background: #f8f1f3; margin-bottom: 30px; transition: background .4s, transform .4s var(--ease); }
.step.is-on .step__dot { background: var(--wine); border-color: var(--wine); transform: scale(1.25); }
.step b { font-family: var(--mono); font-weight: 400; font-size: 12.5px; color: #8f7880; }
.step h3 { font-weight: 400; font-size: 24px; letter-spacing: -0.04em; margin: 10px 0 8px; color: #2e1b22; }
.step p { font-size: 15px; line-height: 1.35; color: #6f5a62; max-width: 250px; }
/* client stories: names list + quote switcher */
.tl { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.tl__side { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.tl__names { list-style: none; }
.tl__name { display: inline-flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 13px; letter-spacing: -0.01em; text-transform: uppercase; color: rgba(67,67,67,.4); transition: color .3s; }
.tl__name i { font-style: normal; opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s; }
.tl__name:hover { color: #2e1b22; }
.tl__name.is-on { color: #2e1b22; }
.tl__name.is-on i { opacity: 1; transform: none; }
.tl__arrows { display: flex; }
.tl__arrows button { width: 40px; height: 40px; border: 1px solid rgba(0,0,0,.18); font-size: 15px; color: #2e1b22; transition: background .3s, color .3s; }
.tl__arrows button + button { border-left: 0; }
.tl__arrows button:hover { background: #2e1b22; color: #fff; }
.tl__quotes { display: grid; }
.tl__quote { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .5s, visibility 0s .5s; }
.tl__quote.is-on { opacity: 1; visibility: visible; transition: opacity .6s .15s; }
.tl__quote blockquote { font-size: clamp(22px, 1.95vw, 30px); line-height: 1.2; letter-spacing: -0.035em; color: #2e1b22; }
.tl__quote figcaption { display: flex; align-items: center; gap: 22px; margin-top: 50px; }
.tl__avatar { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 4px; background: linear-gradient(135deg, #6a0a2c, var(--wine)); color: #fff; font-weight: 500; font-size: 20px; letter-spacing: -0.03em; }
.tl__quote b { display: block; font-weight: 400; font-size: 15px; color: #2e1b22; }
.tl__quote small { font-size: 14px; color: #8f7880; }
.tl__cta { margin-top: 56px; color: #2e1b22; min-width: 190px; }

/* ---------- Contact ---------- */
/* ---------- Footer / contact ---------- */
.site-footer { position: relative; z-index: 5; margin-top: -100vh; margin-top: -100svh; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; background: #0d0609; color: #eadde1; }
.footer__fog { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.footer__inner { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; padding-top: 150px; padding-bottom: 60px; }
.footer__top { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; margin-bottom: 70px; }
.footer__eyebrow { display: block; margin-bottom: 16px; font-size: 13px; text-transform: uppercase; letter-spacing: -0.01em; }
.footer__title { font-weight: 400; font-size: clamp(48px, 5.95vw, 96px); line-height: .92; letter-spacing: -0.035em; color: #eadde1; margin-left: -4px; }
.footer__side { display: flex; flex-direction: column; justify-content: space-between; gap: 30px; }
.footer__clock { align-self: flex-end; font-size: 13px; text-transform: uppercase; color: rgba(234,221,225,.5); }
.footer__ctas { display: flex; flex-wrap: wrap; gap: 24px; }
.footer__ctas .u-link { min-width: 230px; color: #eadde1; }
.footer__mid { margin-top: auto; display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: end; }
.footer__meta { display: flex; flex-direction: column; gap: 16px; }
.footer__dim { color: rgba(234,221,225,.5); }
.footer__meta span, .footer__label { font-size: 13px; text-transform: uppercase; letter-spacing: -0.01em; }
.footer__cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer__label { display: block; margin-bottom: 22px; }
.footer__cols p { display: flex; gap: 8px; margin-bottom: 8px; font-size: 15.5px; }
.footer__cols a { color: #eadde1; transition: filter .3s, opacity .3s; }
.footer__cols a:hover { filter: blur(1.5px); opacity: .7; }
.footer__lines { position: relative; z-index: 2; width: 101%; margin-left: -.5%; padding-bottom: 16px; mix-blend-mode: difference; }
.footer__lines svg { display: block; width: 100%; height: auto; overflow: visible; }
.footer__lines path { fill: none; stroke: #eadde1; stroke-width: .6; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.footer__lines path.hit { stroke: transparent; stroke-width: 14; pointer-events: stroke; cursor: pointer; }

/* ---------- Design in motion ---------- */
.motion { position: relative; background: #e8d6dc; color: #2e1b22; }
.motion__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.motion__words { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; overflow: visible; white-space: nowrap; }
.motion__word { margin: 0; font-weight: 400; font-size: clamp(56px, 7.6vw, 140px); line-height: .8; letter-spacing: -0.035em; text-transform: uppercase; white-space: nowrap; color: #2e1b22; will-change: transform; }
.motion__word--1 { align-self: flex-start; }
.motion__word--2 { align-self: flex-end; }
.motion__sub { margin: 14px auto; text-align: center; font-size: 11px; line-height: 1.25; text-transform: uppercase; letter-spacing: -0.01em; color: #2e1b22; }
.motion__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 2; pointer-events: none; }
.motion__stripes { position: absolute; inset: 0; z-index: 30; display: flex; flex-direction: column; pointer-events: none; }
.motion__stripes i { flex: 1; margin-top: -1px; background: var(--dark); transform: scaleY(0); transform-origin: bottom; }
.motion__note { position: absolute; z-index: 3; left: var(--gutter); bottom: 6vh; max-width: 290px; font-size: 15px; line-height: 1.3; color: #2e1b22; }
.motion__cta { position: absolute !important; z-index: 3; right: var(--gutter); bottom: 6vh; min-width: 190px; color: #2e1b22; }
@media (max-width: 640px) {
  .motion__word { font-size: 17vw; }
  .motion__note { bottom: 13vh; right: var(--gutter); max-width: none; }
}

/* ---------- Reveal defaults ---------- */
.js .hero__title .line > span { transform: translateY(105%); }
.js .hero__links, .js .hero__foot { opacity: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .facts__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .process ol { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .process__line, .process__track::before { display: none; }
}
@media (max-width: 860px) {
  .facts__cards { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; gap: 18px; }
  .about__body { margin-left: 0; padding-top: 40px; }
  .about__label { top: 0; }
  .about__row { grid-template-columns: 1fr; }
  .statement { text-indent: 0; }
  .impact__label { left: var(--gutter); top: 8vh; }
  .sec-head, .tl { grid-template-columns: 1fr; }
  .reason { grid-template-columns: 50px 1fr; }
  .reason p { grid-column: 2; }
  .tl__side { order: 2; }
  /* work becomes a native swipe row */
  .work__pin { height: auto; }
  .work__row { display: block; }
  .work__intro { height: auto; padding: 10vh var(--gutter) 40px; border-right: 0; place-items: start; }
  .work__intro-in { justify-items: start; }
  .work__track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 50px; scrollbar-width: none; }
  .work__track::-webkit-scrollbar { display: none; }
  .case { flex: 0 0 86vw; height: auto; padding: 0 var(--gutter); scroll-snap-align: start; border-right: 0; }
  .case__card { width: 100%; }
  .case__meta { flex-direction: column; align-items: stretch; gap: 18px; }
  .case--end { padding: 40px var(--gutter); }
  .services { height: 720vh; }
  .svc { width: auto; left: var(--gutter) !important; right: var(--gutter) !important; }
  .svc__card { min-height: 0; padding: 22px; gap: 22px; background: rgba(0, 0, 0, .45); }
  .svc__icon { width: 52px; height: 52px; }
  .services__foot { grid-template-columns: 1fr; justify-items: center; }
  .services__tag { grid-column: 1; min-width: 0; width: 100%; }
  .services__foot .u-link { display: none; }
}
@media (max-width: 640px) {
  .top { padding: 18px var(--gutter); }
  .top__dot { display: none; }
  .pill { height: 29px; padding: 0 12px 1px; font-size: 12.5px; }
  .hero { padding-top: 92px; }
  .hero__links { margin-top: 26px; }
  .hero__foot { grid-template-columns: 1fr; gap: 18px; }
  .hero__scroll, .hero__hint { display: none; }
  .hero__side { justify-self: start; width: 100%; max-width: 300px; }
  .process ol, .footer__top, .footer__mid { grid-template-columns: 1fr; }
  .footer__clock { align-self: flex-start; }
  .footer__hint { display: none; }
  .facts__cards { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .fact { height: 420px; }
  .partners li { padding: 6px 14px; font-size: 17px; }
  .u-link { min-width: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .smoke i { animation: none; }
}

/* ==========================================================
   About page (about.html) — about layout, DigiRavan content.
   Reuses the home page's top bar, menu, rules, client stories, footer and reveal system.
   ========================================================== */
/* generic stripe band: 5 equal stripes inside a pinned section (driven by addStripes) */
.stripes { position: absolute; inset: 0; z-index: 30; display: flex; flex-direction: column; pointer-events: none; }
.stripes i { flex: 1; width: 100%; background: var(--stripe, #fff); transform: scaleY(0); transform-origin: bottom; will-change: transform; padding-bottom: 1px; }
.stripes i + i { margin-top: -1px; }
.stripes--dark { --stripe: #0d0609; }
.stripes--light { --stripe: #fff; }
/* the section after a pinWithStripes() section: pulled up a screen so it slides in over the stripes */
.slides-over { position: relative; z-index: 20; margin-top: -100vh; margin-top: -100dvh; }

.page-about main, .page-services main { background: #e8d6dc; } /* matches the end CTA, so no dark sub-pixel seam shows where it pins */
@media (prefers-reduced-motion: no-preference) { .js-pre:not(.js) [data-reveal] { visibility: hidden; } }
.eyebrow { display: block; font-size: 13px; line-height: 1.3; letter-spacing: -0.01em; text-transform: uppercase; color: #2e1b22; }
.ab-h2 { font-weight: 400; font-size: clamp(40px, 4.6vw, 76px); line-height: .98; letter-spacing: -0.032em; }

/* hero: big statement on white, giant marquee drifting with scroll */
.ab-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; padding: 150px 0 34px; background: #fff; color: #2e1b22; overflow: hidden; }
.ab-hero__in { display: grid; gap: 34px; }
.ab-hero__title { max-width: 16ch; font-weight: 400; font-size: clamp(46px, 6.2vw, 112px); line-height: .94; letter-spacing: -0.035em; color: #2e1b22; }
.ab-hero__marquee { overflow: hidden; margin: 6vh 0 4vh; }
.ab-hero__track { display: flex; align-items: center; gap: 0 4vw; width: max-content; white-space: nowrap; font-weight: 400; font-size: clamp(80px, 13vw, 230px); line-height: .85; letter-spacing: -0.035em; text-transform: uppercase; color: #efe2e7; }
.ab-hero__track i { font-style: normal; font-weight: 300; font-size: .4em; color: #c9c9c9; }
.ab-hero__foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.ab-hero__foot > :last-child { justify-self: end; }
.ab-hero__scroll { border-color: rgba(0,0,0,.4); }
.ab-hero__scroll::after { background: #2e1b22; }

/* who we are: lead paragraph + numbers */
.ab-intro { background: #fff; color: #2e1b22; padding: 14vh 0 18vh; }
.ab-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.ab-lead { max-width: 900px; font-size: clamp(26px, 2.6vw, 44px); line-height: 1.1; letter-spacing: -0.045em; color: #2e1b22; }
.ab-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 12vh; }
.ab-stat { padding-top: 22px; border-top: 1px solid rgba(0,0,0,.14); }
.ab-stat__num { display: inline-flex; align-items: flex-start; font-weight: 400; font-size: clamp(48px, 4.6vw, 76px); line-height: 1; letter-spacing: -0.035em; color: #2e1b22; }
.ab-stat__num sup { font-size: .5em; line-height: 1; margin-left: 2px; }
.ab-stat p { margin-top: 16px; max-width: 240px; font-size: 15px; line-height: 1.3; color: #6f5a62; }

/* statement: white → grey, letters light up, then pins while dark stripes close */
.ab-statement { position: relative; height: 100vh; height: 100svh; display: flex; align-items: center; background: linear-gradient(180deg, #fff 0%, #ecdde2 100%); color: #2e1b22; overflow: hidden; }
.ab-statement__in { display: grid; gap: 40px; width: 100%; }
.ab-statement__text { max-width: 1250px; font-weight: 400; font-size: clamp(36px, 4.9vw, 84px); line-height: .98; letter-spacing: -0.032em; color: rgba(67,67,67,.1); }
.ab-statement__text .ch { color: inherit; }
.ab-statement__note { max-width: 360px; margin-left: auto; font-size: 15.5px; line-height: 1.3; color: #2e1b22; }

/* method (dark): sticky heading, ruled steps — slides up over the pinned statement */
.ab-method { padding: 18vh 0 10vh; background: #0d0609; color: #eadde1; }
.ab-method .eyebrow, .ab-values .eyebrow, .on-dark .eyebrow { color: rgba(234,221,225,.6); }
.ab-method__in { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: start; }
.ab-method__head { position: sticky; top: 140px; display: grid; gap: 28px; }
.ab-method .ab-h2, .ab-values .ab-h2 { color: #eadde1; max-width: 12ch; }
.ab-steps { list-style: none; }
.ab-step { display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding: 44px 0 56px; border-top: 1px solid rgba(255,255,255,.14); }
.ab-step:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.ab-step__n, .ab-value span { font-family: var(--mono); font-size: 12.5px; color: var(--accent); }
.ab-step h3 { font-weight: 400; font-size: clamp(28px, 2.6vw, 44px); line-height: 1; letter-spacing: -0.045em; color: #eadde1; }
.ab-step p { margin-top: 14px; max-width: 380px; font-size: 15.5px; line-height: 1.35; color: rgba(234,221,225,.6); }

/* values (dark): 3 × 2 ruled grid */
.ab-values { position: relative; z-index: 20; padding: 14vh 0 18vh; background: #0d0609; color: #eadde1; }
.ab-values__head { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: end; margin-bottom: 9vh; }
.ab-values__grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.14); border-left: 1px solid rgba(255,255,255,.14); }
.ab-value { display: flex; flex-direction: column; gap: 12px; min-height: 300px; padding: 30px; border-right: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); transition: background .5s var(--ease); }
.ab-value:hover { background: rgba(255,255,255,.035); }
.ab-value h3 { margin-top: auto; font-weight: 400; font-size: clamp(24px, 2vw, 32px); line-height: 1.05; letter-spacing: -0.045em; color: #eadde1; }
.ab-value p { max-width: 320px; font-size: 15px; line-height: 1.35; color: rgba(234,221,225,.6); }

/* fit (light grey) */
.ab-fit { position: relative; z-index: 20; padding: 16vh 0; background: #faf5f7; color: #2e1b22; }
.ab-fit__title { max-width: 18ch; color: #2e1b22; }
.ab-fit__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.ab-fit__cols ul { list-style: none; margin-top: 26px; }
.ab-fit__cols li { padding: 18px 0; border-top: 1px solid rgba(0,0,0,.12); font-size: clamp(20px, 1.6vw, 26px); line-height: 1.15; letter-spacing: -0.035em; }
.ab-fit__cols li:last-child { border-bottom: 1px solid rgba(0,0,0,.12); }
.ab-fit__cols > div:last-child li { color: #9a9997; }

/* clients (white): ruled name rows */
.ab-clients { position: relative; z-index: 20; padding: 16vh 0 10vh; background: #fff; color: #2e1b22; }
.ab-clients__list { list-style: none; }
.ab-clients__list li { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 26px 0; border-top: 1px solid rgba(0,0,0,.12); transition: padding .5s var(--ease); }
.ab-clients__list li:last-child { border-bottom: 1px solid rgba(0,0,0,.12); }
.ab-clients__list li:hover { padding-left: 14px; }
.ab-clients__list b { font-weight: 400; font-size: clamp(28px, 2.8vw, 46px); line-height: 1; letter-spacing: -0.03em; }
.ab-clients__list small { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #8f7880; }
.page-about .stories { position: relative; z-index: 20; }

/* closing CTA (grey, shared by the inner pages): pins while dark stripes close, then the footer slides over */
.end-cta { position: relative; height: 100vh; height: 100svh; display: flex; align-items: center; background: #e8d6dc; color: #2e1b22; overflow: hidden; }
.end-cta__in { display: grid; gap: 30px; width: 100%; }
.end-cta__title { max-width: 14ch; font-weight: 400; font-size: clamp(52px, 7vw, 128px); line-height: .9; letter-spacing: -0.035em; color: #2e1b22; }
.end-cta__links { display: flex; flex-wrap: wrap; gap: 20px 30px; margin-top: 20px; color: #2e1b22; }

@media (max-width: 860px) {
  .ab-grid, .ab-method__in, .ab-values__head, .ab-fit__cols { grid-template-columns: 1fr; }
  .ab-stats { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .ab-method__head { position: static; }
  .ab-values__grid { grid-template-columns: 1fr; }
  .ab-value { min-height: 0; }
  .ab-hero__foot { grid-template-columns: 1fr 1fr; }
  .ab-hero__scroll { display: none; }
}
@media (max-width: 640px) {
  .ab-hero { padding-top: 120px; }
  .ab-step { grid-template-columns: 50px 1fr; }
  .ab-clients__list li { flex-direction: column; gap: 8px; }
  .ab-statement__note { margin-left: 0; }
}

/* ==========================================================
   Services page (services.html) — services layout, DigiRavan content.
   Shares the top bar, menu, stripes (.stripes / .slides-over), rules, process, end CTA and footer.
   ========================================================== */
/* hero (dark): "Area of expertise" with the six service icons orbiting a tilted ellipse */
.sv-hero { position: relative; height: 100vh; height: 100svh; display: grid; place-items: center; overflow: hidden; background: #0d0609; color: #eadde1; }
.sv-orbit { position: absolute; left: 4vw; right: 4vw; top: 50%; height: 62vh; transform: translateY(-50%); pointer-events: none; }
.sv-orbit__rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.sv-orbit__rings ellipse { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 1; vector-effect: non-scaling-stroke; }
.sv-orbit__icon { position: absolute; left: 0; top: 0; width: clamp(56px, 6vw, 96px); aspect-ratio: 1; color: #eadde1; will-change: transform; }
.sv-orbit__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1; }
.sv-hero__in { position: relative; z-index: 12; display: grid; justify-items: center; gap: 18px; text-align: center; padding: 0 var(--gutter); }
.sv-hero .eyebrow { color: #eadde1; }
.sv-hero__title { font-weight: 400; font-size: clamp(54px, 7.2vw, 132px); line-height: .92; letter-spacing: -0.035em; color: #eadde1; }
.sv-hero__list { position: absolute; z-index: 12; left: var(--gutter); right: var(--gutter); bottom: 6vh; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; font-size: 12.5px; letter-spacing: -0.01em; text-transform: uppercase; }
.sv-hero__list a { color: rgba(234,221,225,.6); transition: color .3s; }
.sv-hero__list a:hover { color: #fff; }

/* disciplines band (white): slides in over the hero's stripes */
.sv-band { padding: 26vh 0 14vh; overflow: hidden; background: #fff; color: #2e1b22; }
.sv-band .eyebrow { color: #2e1b22; }
.sv-band__head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 30px; }
.sv-band__note { justify-self: end; max-width: 380px; font-size: 15.5px; line-height: 1.3; }
.sv-band__marquee { margin-top: 10vh; }
.sv-band__track { display: flex; align-items: center; gap: 0 3vw; width: max-content; white-space: nowrap; font-size: clamp(80px, 12vw, 220px); line-height: .85; letter-spacing: -0.035em; text-transform: uppercase; color: #2e1b22; }
.sv-band__track i { font-style: normal; font-size: .3em; color: var(--wine); }

/* services split: sticky dark media on the left follows the service in view on the right */
.sv-split { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: #fff; }
.sv-media { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #0d0609; }
.sv-media__item { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 34px; padding: 0 6vw; }
.sv-media__item.is-on { z-index: 2; }
.sv-media__item figcaption { text-align: center; font-size: 13px; line-height: 1.3; text-transform: uppercase; color: #eadde1; opacity: 0; filter: blur(8px); transition: opacity .5s, filter .5s; }
.sv-media__frame { width: min(36vw, 560px); aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; clip-path: inset(100% 0 0 0); transition: clip-path .9s var(--ease); }
.sv-media__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.2s var(--ease); }
.sv-media__frame--phone { width: min(16vw, 250px); aspect-ratio: 9 / 19; border: 6px solid #1a1b1f; border-radius: 26px; }
.sv-media__frame--phone img { object-position: top; }
.sv-media__item.is-on figcaption { opacity: 1; filter: none; transition-delay: .2s; }
.sv-media__item.is-on .sv-media__frame { clip-path: inset(0 0 0 0); }
.sv-media__item.is-on img { transform: none; }
.sv-list { color: #2e1b22; }
.sv-svc { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 14vh 6vw 14vh 5vw; }
.sv-svc__img { display: none; }
.sv-svc__n { margin-bottom: 18px; font-family: var(--mono); font-size: 12.5px; color: var(--wine); }
.sv-svc__title { font-weight: 400; font-size: clamp(36px, 3.4vw, 58px); line-height: 1; letter-spacing: -0.03em; color: #2e1b22; }
.sv-svc__lead { margin-top: 18px; max-width: 440px; font-size: 16px; line-height: 1.35; color: #2e1b22; }
.sv-svc__label { margin-top: 9vh; color: #8f7880; }
.sv-svc__caps { list-style: none; max-width: 520px; margin-top: 18px; }
.sv-svc__caps li { padding: 14px 0; border-bottom: 1px solid rgba(0,0,0,.14); font-size: 16px; letter-spacing: -0.02em; transition: padding .4s var(--ease), color .3s; }
.sv-svc__caps li:hover { padding-left: 10px; color: #000; }

/* FAQ (white): numbered accordion rows */
.sv-faq { padding: 18vh 0 14vh; background: #fff; color: #2e1b22; }
.sv-faq__head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 30px; margin-bottom: 9vh; }
.sv-faq__title { max-width: 11ch; font-weight: 400; font-size: clamp(44px, 5.4vw, 92px); line-height: .95; letter-spacing: -0.035em; }
.sv-faq__head p { padding-bottom: 10px; font-size: 15px; line-height: 1.3; }
.sv-acc { list-style: none; border-top: 1px solid rgba(0,0,0,.14); }
.sv-acc__item { border-bottom: 1px solid rgba(0,0,0,.14); }
.sv-acc__btn { width: 100%; display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 20px; padding: 30px 0; text-align: left; color: #2e1b22; }
.sv-acc__n, .sv-acc__q { font-size: clamp(22px, 2vw, 30px); line-height: 1.1; letter-spacing: -0.04em; }
.sv-acc__btn i { font-style: normal; font-size: 18px; transition: transform .4s var(--ease); }
.sv-acc__btn:hover .sv-acc__q { color: #000; }
.sv-acc__item.is-open .sv-acc__btn i { transform: rotate(180deg); }
.sv-acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.sv-acc__panel > div { overflow: hidden; }
.sv-acc__item.is-open .sv-acc__panel { grid-template-rows: 1fr; }
.sv-acc__panel p { max-width: 640px; margin-left: 110px; padding-bottom: 34px; font-size: 16px; line-height: 1.4; color: #6f5a62; }

/* process (white → grey, flows into the grey end CTA) */
.sv-process { padding: 10vh 0 26vh; background: linear-gradient(180deg, #fff 0%, #efe2e7 50%, #e8d6dc 100%); color: #2e1b22; }

@media (max-width: 860px) {
  .sv-split { grid-template-columns: 1fr; }
  .sv-media { display: none; }
  .sv-svc { min-height: 0; padding: 10vh var(--gutter); }
  .sv-svc__img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; margin-bottom: 34px; }
  .sv-svc__label { margin-top: 40px; }
  .sv-band__head, .sv-faq__head { grid-template-columns: 1fr; }
  .sv-band__note { justify-self: start; }
  .sv-acc__btn { grid-template-columns: 40px 1fr auto; }
  .sv-acc__panel p { margin-left: 60px; }
  .sv-orbit { height: 46vh; }
}
@media (max-width: 640px) {
  .sv-hero__list { gap: 4px 14px; font-size: 11px; }
  .sv-acc__panel p { margin-left: 0; }
}

/* ==========================================================
   Contact page (contact.html) — contact layout, DigiRavan content.
   Shares the top bar, menu, stripes, rules, accordion (.sv-acc), end CTA and footer.
   ========================================================== */
.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; }
.page-contact main { background: #e8d6dc; }

/* banner (grey): the DR mark hangs on three threads and swings toward the pointer */
.ct-hero { position: relative; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 15vh; background: #ecdde2; color: #2e1b22; }
.ct-hang { position: absolute; left: 50%; top: 0; width: 220px; height: 52vh; transform: translateX(-50%); transform-origin: 50% 0; pointer-events: none; }
.ct-hang__thread { position: absolute; top: 0; width: 1px; height: calc(52vh - 150px); background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.45)); }
.ct-hang__thread:nth-child(1) { left: 66px; } .ct-hang__thread:nth-child(2) { left: 110px; height: calc(52vh - 160px); } .ct-hang__thread:nth-child(3) { left: 154px; }
.ct-hang__mark { position: absolute; left: 50%; bottom: 0; width: 150px; height: 150px; margin-left: -75px; display: grid; place-items: center; border: 4px solid #222; border-radius: 32px; background: linear-gradient(145deg, #e8e8e8, #bdbdbd); box-shadow: 0 40px 60px -30px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.7); }
.ct-hang__mark span { font-weight: 700; font-size: 56px; letter-spacing: -0.03em; color: #222; }
.ct-hero__in { position: relative; z-index: 2; display: grid; justify-items: center; gap: 18px; text-align: center; }
.ct-hero__title { font-weight: 400; font-size: clamp(54px, 6.4vw, 118px); line-height: .92; letter-spacing: -0.035em; color: #2e1b22; }
.ct-hero__sub { font-size: 15px; line-height: 1.3; color: #2e1b22; }
.ct-hero__scroll { position: absolute; left: 50%; bottom: 5vh; margin-left: -8px; border-color: rgba(0,0,0,.4); }
.ct-hero__scroll::after { background: #2e1b22; }

/* enquiry form (dark) */
.ct-form-sec { padding: 20vh 0 14vh; background: #0d0609; color: #eadde1; }
.ct-form-wrap { max-width: calc(1100px + var(--gutter) * 2); margin: 0 auto; }
.ct-form__head { display: grid; justify-items: center; gap: 18px; margin-bottom: 8vh; text-align: center; }
.ct-form-sec .eyebrow { color: rgba(234,221,225,.6); }
.ct-form__title { font-weight: 400; font-size: clamp(46px, 5.4vw, 96px); line-height: .95; letter-spacing: -0.035em; color: #eadde1; }
.ct-form__sub { font-size: 15px; line-height: 1.3; color: rgba(234,221,225,.75); }
.ct-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; align-items: end; }
.ct-field { position: relative; display: block; }
.ct-field--wide { grid-column: 1 / -1; }
.ct-field input, .ct-field select, .ct-field textarea { width: 100%; padding: 17px 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 0; background: transparent; color: #eadde1; font: inherit; font-size: 15px; letter-spacing: -0.01em; outline: none; transition: border-color .3s, background .3s; -webkit-appearance: none; appearance: none; }
.ct-field textarea { resize: vertical; min-height: 150px; line-height: 1.4; }
.ct-field ::placeholder { color: rgba(234,221,225,.45); }
.ct-field input:focus, .ct-field select:focus, .ct-field textarea:focus { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.03); }
.ct-field--select::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 18px; color: rgba(234,221,225,.7); pointer-events: none; }
.ct-field select { padding-right: 44px; cursor: pointer; }
.ct-field select:invalid, .ct-field select:has(option[value=""]:checked) { color: rgba(234,221,225,.45); }
.ct-field select option { background: #141416; color: #eadde1; }
.ct-field.is-bad input, .ct-field.is-bad select, .ct-field.is-bad textarea { border-color: var(--accent); }
.ct-form__send { display: flex; justify-content: flex-end; }
.ct-submit { min-width: 240px; color: #eadde1; cursor: pointer; }
.ct-form__status { grid-column: 1 / -1; min-height: 1.4em; font-size: 14px; color: rgba(234,221,225,.75); }
.ct-form__status.is-err { color: var(--accent); }
.ct-or { position: relative; margin: 8vh 0 5vh; text-align: center; font-size: 13px; text-transform: uppercase; color: rgba(234,221,225,.5); }
.ct-or::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255,255,255,.14); }
.ct-or span { position: relative; padding: 0 18px; background: #0d0609; }
.ct-call { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 22px; border: 1px solid rgba(255,255,255,.22); font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #eadde1; transition: background .4s var(--ease), color .4s; }
.ct-call:hover { background: #eadde1; color: #0d0609; }
.ct-prefer { margin-top: 26px; text-align: center; font-size: 14px; color: rgba(234,221,225,.6); }
.ct-prefer a { color: #eadde1; border-bottom: 1px solid rgba(234,221,225,.4); }

/* info (white → grey): studios, join us, questions */
.ct-info { padding: 18vh 0 24vh; background: linear-gradient(180deg, #fff 0%, #efe2e7 55%, #e8d6dc 100%); color: #2e1b22; }
.ct-info__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.ct-info__col { display: grid; align-content: start; gap: 26px; }
.ct-info__title { font-weight: 400; font-size: clamp(44px, 5vw, 84px); line-height: .95; letter-spacing: -0.035em; color: #2e1b22; }
.ct-info__line { max-width: 380px; font-size: 15.5px; line-height: 1.35; }
.ct-info__links { display: grid; justify-items: start; gap: 14px; color: #2e1b22; }
.ct-studios { list-style: none; max-width: 420px; }
.ct-studios li { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid rgba(0,0,0,.14); }
.ct-studios b { font-weight: 400; font-size: 22px; letter-spacing: -0.04em; }
.ct-studios small { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: #8f7880; }
.ct-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.ct-faq__head { display: grid; gap: 22px; }
.ct-faq__head p { font-size: 15px; line-height: 1.3; }
.ct-acc .sv-acc__btn { grid-template-columns: 1fr auto; padding: 24px 0; }
.ct-acc .sv-acc__q { font-size: clamp(19px, 1.6vw, 24px); }
.ct-acc .sv-acc__panel p { margin-left: 0; padding-bottom: 26px; font-size: 15px; }
.ct-phone { color: inherit; transition: color .3s; }
.ct-phone:hover { color: var(--wine); }

@media (max-width: 860px) {
  .ct-form, .ct-info__grid, .ct-faq { grid-template-columns: 1fr; }
  .ct-form__send { justify-content: stretch; }
  .ct-submit { width: 100%; }
  .ct-info__grid { gap: 60px; }
}
@media (max-width: 640px) {
  .ct-hang { transform-origin: 50% 0; height: 46vh; }
  .ct-hang__mark { width: 116px; height: 116px; margin-left: -58px; border-radius: 26px; }
  .ct-hang__mark span { font-size: 44px; }
  .ct-hang__thread { height: calc(46vh - 116px) !important; }
  .end-cta__title .ct-phone { font-size: .62em; white-space: nowrap; }
}

/* ==========================================================
   DigiRavan brand layer — logo palette (blush → crimson → plum),
   Outfit type, triangle marks and triangle hand-offs.
   ========================================================== */
.mono, .u-link, .about__label, .about__caps, .impact__label, .fact__label, .partners__label, .services__label, .process__label, .tl__name, .footer__eyebrow, .footer__meta span, .footer__label, .eyebrow { letter-spacing: .1em; font-weight: 500; }
.big, .hero__title, .statement, .facts__head .big, .sec-head .big, .footer__title, .motion__word, .stack, .impact__track span { letter-spacing: -0.035em; }
.hero__title { font-weight: 300; }
.hero__title .swap { color: var(--rose); font-weight: 500; }
.u-link::after { background: var(--brand-grad); height: 2px; bottom: -1.5px; }
.u-link:hover i { color: var(--rose); }

/* header: floating dark glass bar carrying the real logo */
.top { top: 0; left: 0; right: 0; padding: 12px var(--gutter); border-radius: 0; mix-blend-mode: normal; background: #000; -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); box-shadow: inset 0 -1px 0 rgba(209, 125, 152, .16), 0 10px 40px -20px rgba(0, 0, 0, .6); }
.logo img { display: block; height: 28px; width: auto; }
.top__dot { background: rgba(209, 125, 152, .12); }
.pill { border-radius: 8px; height: 36px; padding: 0 16px 1px; font-weight: 500; letter-spacing: .04em; border-color: rgba(244, 214, 223, .35); }
.pill--solid { background: var(--brand-grad); border-color: transparent; color: #fff; }
.pill--solid::before { background: #fff; }
.pill--solid:hover { color: var(--wine); }
.menu { background: radial-gradient(70% 60% at 88% 8%, rgba(188, 4, 68, .32), transparent 62%), radial-gradient(50% 50% at 0% 100%, rgba(74, 0, 24, .5), transparent 70%), var(--dark-2); }
.menu li a small { color: var(--rose); }
.menu li a:hover { color: var(--blush); }

/* hero */
.hero__spark { color: var(--rose); font-size: .8em; }
.badge { border-color: rgba(209, 125, 152, .28); }
.badge__cell + .badge__cell { border-left-color: rgba(209, 125, 152, .28); }
.badge__cell svg { color: var(--rose); }

/* triangle markers replace the "+" crosses */
.rule i, .work__rule i, .facts__line i, .plus { background: var(--brand-grad); clip-path: polygon(50% 6%, 100% 94%, 0 94%); opacity: 1; }
.rule i::before, .rule i::after, .work__rule i::before, .work__rule i::after, .facts__line i::before, .facts__line i::after, .plus::before, .plus::after { display: none; }
.plus { width: 11px; height: 10px; opacity: .7; }
.impact__track i { color: var(--wine); font-size: clamp(22px, 2.6vw, 40px); }
.reason__n, .step b { color: var(--wine); }

/* triangle hand-off between sections (driven by addStripes → --w 0..1) */
.tri-wipe { --w: 0; background: none !important; }
.tri-wipe i { display: none !important; }
.tri-wipe::before, .tri-wipe::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.tri-wipe::before { --k: calc(var(--w) * 1.06); background: var(--brand-grad); clip-path: polygon(50% calc(100% - var(--k) * 200%), calc(50% - var(--k) * 130%) 100%, calc(50% + var(--k) * 130%) 100%); }
.tri-wipe::after { background: var(--wipe, var(--dark)); clip-path: polygon(50% calc(100% - var(--w) * 200%), calc(50% - var(--w) * 130%) 100%, calc(50% + var(--w) * 130%) 100%); }
.impact__stripes { --wipe: #ecdde2; }
.svc__stripes { --wipe: #fff; }
.motion__stripes { --wipe: var(--dark); }
.stripes { --wipe: var(--stripe, #fff); }

/* light sections: soft blush wash instead of guide lines */
.light::before { background-image: radial-gradient(60% 40% at 85% 0%, rgba(209, 125, 152, .16), transparent 70%); background-size: auto; opacity: 1; mask-image: none; }
.fact--light .fact__circle { background: #fff; box-shadow: 0 0 0 10px rgba(209, 125, 152, .12); }
.fact--dark { background: linear-gradient(160deg, #2a0f1a, #12060a); }
.tl__avatar { background: var(--brand-grad); }
.step.is-on .step__dot { background: var(--wine); border-color: var(--wine); }

html.no-intro .loader { display: none !important; }
/* preloader: the mark draws itself, then a crimson wash opens the site */
.loader { background: var(--dark); color: var(--blush); }
.loader__box { border: 0; width: 132px; height: 132px; }
.loader__tri { width: 108px; height: auto; overflow: visible; }
.loader__tri path { fill: none; stroke: url(#ldg); stroke-width: 9; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: triDraw 1.05s .1s cubic-bezier(.65, 0, .25, 1) forwards; }
@keyframes triDraw { to { stroke-dashoffset: 0; } }
.loader__tag { color: rgba(244, 214, 223, .7); letter-spacing: .2em; }
.loader__tag i { color: var(--rose); }
.loader__count { color: rgba(244, 214, 223, .45); }
.loader__black { background: var(--brand-grad); clip-path: polygon(50% calc(50% - 52px), calc(50% - 56px) calc(50% + 46px), calc(50% + 56px) calc(50% + 46px)); }
.loader.is-dark .loader__black { clip-path: polygon(50% -260%, -220% 320%, 320% 320%); }
.loader.is-dark .loader__tri { opacity: 0; transition: opacity .3s; }

/* loader draws itself one piece at a time: triangle -> each letter of DIGIRAVAN (outline traced, then filled)
   -> Design · Develop · Grow written in -> counter */
.loader__word { display: flex; margin-top: 4px; font-family: var(--display); font-weight: 600; font-size: clamp(26px, 3vw, 36px); line-height: 1.1; letter-spacing: .2em; }
.loader__word span { display: inline-block; color: transparent; -webkit-text-stroke: 1px var(--rose); clip-path: inset(-15% 100% -15% 0); animation: ldDraw .34s calc(1.25s + var(--i) * .12s) cubic-bezier(.6, 0, .3, 1) forwards, ldFill .35s calc(1.55s + var(--i) * .12s) ease forwards; }
.loader__word .k { animation-name: ldDraw, ldFillK; }
.loader__word span:last-child { letter-spacing: 0; }
@keyframes ldDraw { to { clip-path: inset(-15% -10% -15% 0); } }
@keyframes ldFill { to { color: #fff; -webkit-text-stroke-color: transparent; } }
@keyframes ldFillK { to { color: var(--rose); -webkit-text-stroke-color: transparent; } }
.loader__tag { font-size: 12px; }
.loader__tag span, .loader__tag i { display: inline-block; clip-path: inset(-30% 100% -30% 0); animation: ldDraw .42s calc(2.75s + var(--i) * .42s) cubic-bezier(.6, 0, .3, 1) forwards; }
.loader__tag i { margin: 0 10px; animation-duration: .15s; animation-delay: calc(2.62s + var(--i) * .42s); }
.loader__count span { display: inline-block; opacity: 0; animation: ldShow .4s 4s ease forwards; }
@keyframes ldShow { to { opacity: 1; } }
.loader.is-dark .loader__word, .loader.is-dark .loader__count span { opacity: 0 !important; transition: opacity .3s; }
@media (prefers-reduced-motion: reduce) { .loader__word span, .loader__tag span, .loader__tag i, .loader__count span { animation-duration: .01s !important; animation-delay: 0s !important; } }

/* footer: fog in wine, the logo as the closing wordmark */
.site-footer { background: var(--dark); }
.footer__lines { mix-blend-mode: normal; width: auto; margin: 0; padding: 0 var(--gutter) clamp(20px, 3vw, 44px); }
.footer__lines img { display: block; width: 100%; height: auto; }
.footer__clock { color: var(--rose); }

@media (max-width: 640px) {
  .top { top: 0; padding: 9px var(--gutter); }
  .logo img { height: 24px; }
  .pill { height: 32px; padding: 0 12px 1px; }
}
.ab-hero__track i { color: var(--rose); font-size: .3em; }

/* ---- Scenes (js/scenes.js): a stage pins while its content plays out with scroll — reusable on every page.
   <div class="scene" style="--len:2.5"><div class="scene__stage">…</div></div>; [data-at="0.3"] reveals in order ---- */
:root { --stage-top: clamp(130px, 18vh, 168px); --stage-bottom: 48px; --sec-y: clamp(120px, 18vh, 200px); } /* header clearance + section rhythm, shared by every page */
html.scenes [data-at] { opacity: 0; transform: translateY(36px); transition: opacity .8s cubic-bezier(.22, 1, .36, 1), transform 1s cubic-bezier(.22, 1, .36, 1); }
html.scenes [data-at].is-in { opacity: 1; transform: none; }
@media (min-width: 1101px) and (min-height: 680px) {
  .scene { height: calc(var(--len, 2) * 100vh); padding-top: 0 !important; padding-bottom: 0 !important; }
  .scene__stage { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: flex-start; padding: var(--stage-top) 0 var(--stage-bottom); overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { html.scenes [data-at] { transition-duration: .01s; } }
