/* Emaan Fatima — portfolio
   Art direction: velvet-black studio grounds (her bench photos are shot on black),
   paper grounds for drawings, rickshaw-art colour as accents, playing-card suits as markers. */

:root {
  --ink: #14110f;
  --ink-2: #1e1a17;
  --ink-3: #2b2521;
  --ivory: #f4eee3;
  --ivory-dim: #bfb6a8;
  --paper: #ece5d8;
  --paper-2: #e2d9c8;
  --paper-ink: #2a231e;
  --paper-dim: #6d6257;
  --rani: #e0336f;
  --emerald: #1f8a6c;
  --saffron: #f0a83a;
  --teal: #2aa6b5;
  --gold: #c99a45;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1360px;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font: 400 1rem/1.65 var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.02; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
::selection { background: var(--rani); color: #fff; }
:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; border-radius: 4px; }

.eyebrow {
  font: 600 0.72rem/1.4 var(--sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.1rem;
}
.suit { color: var(--rani); font-size: 1.05em; letter-spacing: 0; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 14px var(--gutter);
  background: rgba(20,17,15,.86);
  border-bottom: 1px solid rgba(244,238,227,.06);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.mark { display: flex; align-items: baseline; gap: .55rem; text-decoration: none; }
.mark-suits { color: var(--rani); font-size: .9rem; letter-spacing: .1em; }
.mark-name { font: 500 1.15rem/1 var(--serif); letter-spacing: .02em; }
.site-nav { display: flex; gap: clamp(.9rem, 2.4vw, 2.2rem); }
.site-nav a {
  text-decoration: none; font-size: .82rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ivory-dim); position: relative; padding: 4px 0; transition: color .2s;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--rani); transition: right .25s;
}
.site-nav a:hover, .site-nav a[aria-current] { color: var(--ivory); }
.site-nav a:hover::after { right: 0; }
@media (max-width: 560px) {
  .mark-name { font-size: 1rem; }
  .site-nav { gap: .8rem; }
  .site-nav a { font-size: .7rem; letter-spacing: .04em; }
  .site-nav a[href$="#process"] { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .9rem 1.5rem; border-radius: 999px;
  background: var(--rani); color: #fff; text-decoration: none;
  font-weight: 600; font-size: .9rem; letter-spacing: .02em;
  transition: transform .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); background: #c92560; }
.btn.ghost { background: transparent; color: var(--ivory); box-shadow: inset 0 0 0 1px rgba(244,238,227,.35); }
.btn.ghost:hover { background: rgba(244,238,227,.08); }

/* ---------- Home hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 2rem;
  padding: 110px var(--gutter) 60px; max-width: var(--maxw); margin: 0 auto;
  isolation: isolate;
}
.hero h1 { font-size: clamp(4rem, 11vw, 10.5rem); line-height: .88; font-weight: 350; margin-bottom: 1.6rem; }
.h-line { display: block; }
.h-line.italic { font-style: italic; color: var(--saffron); padding-left: .6em; }
.hero-sub { max-width: 34ch; font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--ivory-dim); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.urdu {
  position: absolute; z-index: -1; right: 2%; bottom: -4%;
  font: 500 clamp(9rem, 26vw, 24rem)/1 "Noto Nastaliq Urdu", serif;
  color: rgba(224, 51, 111, .07); margin: 0; pointer-events: none; user-select: none;
}

/* the hand of cards */
.hand { position: relative; height: clamp(380px, 46vw, 600px); }
.card {
  position: absolute; left: 50%; top: 50%;
  width: clamp(190px, 21vw, 290px); aspect-ratio: 3 / 4.2;
  background: var(--ivory); border-radius: 16px; padding: 12px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.75), 0 0 0 1px rgba(0,0,0,.2);
  transform-origin: 50% 120%;
  transition: transform .55s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
}
.card img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.card .pip { position: absolute; font-size: 1.05rem; line-height: 1; color: var(--rani); }
.card.c2 .pip, .card.c0 .pip { color: var(--rani); }
.card.c2 .pip { color: var(--paper-ink); }
.card .tl { top: 3px; left: 4px; }
.card .br { bottom: 3px; right: 4px; transform: rotate(180deg); }
.card.c0 { transform: translate(-50%, -50%) rotate(-14deg) translateX(-18%); z-index: 1; }
.card.c1 { transform: translate(-50%, -50%) rotate(0deg) translateY(-4%); z-index: 3; }
.card.c2 { transform: translate(-50%, -50%) rotate(14deg) translateX(18%); z-index: 2; }
.hand:hover .card.c0 { transform: translate(-50%, -50%) rotate(-20deg) translateX(-42%); }
.hand:hover .card.c2 { transform: translate(-50%, -50%) rotate(20deg) translateX(42%); }
.card:hover { box-shadow: 0 40px 70px -20px rgba(0,0,0,.85), 0 0 0 2px var(--saffron); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 96px; min-height: 0; }
  .hero h1 { font-size: clamp(3.6rem, 18vw, 6rem); }
  .hand { height: 380px; margin-top: 1rem; }
  .card { width: min(42vw, 200px); }
}

/* ---------- Ticker ---------- */
.ticker { background: var(--rani); color: #fff; overflow: hidden; padding: .9rem 0; transform: rotate(-1.2deg); margin: 1rem -2vw 0; }
.ticker-track { display: flex; gap: 1.4rem; width: max-content; animation: tick 45s linear infinite; white-space: nowrap;
  font: italic 400 clamp(1.1rem, 2vw, 1.6rem)/1 var(--serif); }
.ticker .dot { color: var(--saffron); font-style: normal; font-size: .8em; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Sections (home) ---------- */
.work, .process, .about, .contact { padding: clamp(80px, 11vw, 150px) var(--gutter); }
.work > *, .process > *, .about > *, .contact > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.sec-intro { margin-bottom: clamp(2.4rem, 5vw, 4rem); }
.sec-intro h2 { font-size: clamp(3rem, 8vw, 6.5rem); font-weight: 300; }
.sec-lede { max-width: 46ch; color: var(--paper-dim); margin-top: 1.2rem; font-size: 1.08rem; }
.studies-intro { margin-top: clamp(5rem, 10vw, 8rem); }
.studies-intro h2 { font-size: clamp(2.4rem, 6vw, 4.5rem); }

/* features */
.features { display: grid; gap: clamp(3.5rem, 8vw, 7rem); }
.feature {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center;
  text-decoration: none;
}
.feature:nth-child(even) { grid-template-columns: 1fr 1.35fr; }
.feature:nth-child(even) .f-img { order: 2; }
.f-img { overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 4.4; background: var(--ink-2); }
.f-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.2,.8,.2,1); }
.feature:hover .f-img img { transform: scale(1.045); }
.f-text h3 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); font-weight: 350; margin-bottom: 1rem; }
.feature:nth-child(1) h3 { color: var(--rani); }
.feature:nth-child(2) h3 { color: var(--saffron); }
.feature:nth-child(3) h3 { color: var(--teal); }
.f-text p:not(.eyebrow) { color: var(--ivory-dim); font-size: 1.1rem; max-width: 30ch; }
.f-cta { display: inline-block; margin-top: .6rem; font-weight: 600; font-size: .9rem; border-bottom: 1px solid var(--rani); padding-bottom: 3px; }
@media (max-width: 760px) {
  .feature, .feature:nth-child(even) { grid-template-columns: 1fr; }
  .feature:nth-child(even) .f-img { order: 0; }
}

/* studies */
.studies { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(.8rem, 1.6vw, 1.4rem); }
.study { text-decoration: none; }
.s-img { display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 10px; background: var(--ink-2); }
.s-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1), filter .4s; filter: saturate(.9); }
.study:nth-child(odd) { transform: translateY(1.6rem); }
.study:hover .s-img img { transform: scale(1.06); filter: saturate(1.1); }
.s-meta { display: block; margin-top: .8rem; font: 400 1.15rem/1.2 var(--serif); }
@media (max-width: 900px) {
  .studies { grid-template-columns: repeat(2, 1fr); }
  .study:nth-child(odd) { transform: none; }
  .study:nth-child(even) { transform: translateY(1.6rem); }
}

/* index list */
.index { position: relative; margin-top: clamp(6rem, 12vw, 9rem); }
.index-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink-3); }
.index-list li { border-bottom: 1px solid var(--ink-3); }
.index-list a {
  display: grid; grid-template-columns: 3.2rem 1fr auto 2rem; align-items: baseline; gap: 1rem;
  padding: 1.15rem .2rem; text-decoration: none; transition: padding .3s, color .3s;
}
.ix-n { font: 500 .8rem var(--sans); color: var(--gold); letter-spacing: .1em; }
.ix-t { font: 350 clamp(1.5rem, 3.6vw, 2.6rem)/1.1 var(--serif); }
.ix-k { font-size: .8rem; color: var(--ivory-dim); letter-spacing: .04em; }
.ix-a { color: var(--rani); transition: transform .3s; }
.index-list a:hover { padding-left: 1rem; color: var(--saffron); }
.index-list a:hover .ix-a { transform: translateX(6px); }
.ix-preview {
  position: fixed; left: 0; top: 0; width: 240px; height: 300px; object-fit: cover; border-radius: 12px;
  pointer-events: none; z-index: 40; opacity: 0; transform: translate(-50%, -50%) scale(.9) rotate(-4deg);
  transition: opacity .25s, transform .25s; box-shadow: 0 30px 60px -20px #000;
}
.ix-preview.on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-4deg); }
@media (max-width: 700px) { .ix-k { display: none; } .index-list a { grid-template-columns: 2.4rem 1fr 1.4rem; } }
@media (hover: none) { .ix-preview { display: none; } }

/* ---------- Grounds ---------- */
.ground-paper {
  background: var(--paper); color: var(--paper-ink);
  background-image: radial-gradient(rgba(42,35,30,.05) 1px, transparent 1px);
  background-size: 22px 22px;
}
.ground-paper .eyebrow { color: #a5772c; }
.ground-dark { background: var(--ink); color: var(--ivory); }

/* process */
.steps { list-style: none; padding: 0; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.8rem); counter-reset: s; }
.step a { display: grid; text-decoration: none; }
.st-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 18px 40px -24px rgba(42,35,30,.6); }
.st-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.step a:hover .st-img img { transform: scale(1.05); }
.st-n { margin-top: 1.1rem; font: 600 .75rem var(--sans); color: var(--rani); letter-spacing: .14em; }
.st-t { font: 400 clamp(1.8rem, 3vw, 2.6rem)/1.1 var(--serif); }
.st-d { color: var(--paper-dim); font-size: .95rem; margin-top: .4rem; }
.step:nth-child(2) { margin-top: 2.5rem; } .step:nth-child(3) { margin-top: 1rem; } .step:nth-child(4) { margin-top: 3.5rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(n) { margin-top: 0; }
  .step:nth-child(even) { margin-top: 2rem; }
}

/* about */
.about-grid { display: grid; grid-template-columns: .8fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.about-img { border-radius: 200px 200px var(--radius) var(--radius); overflow: hidden; } /* mehrab arch frame */
.about-img img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.about-text h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); font-weight: 350; margin-bottom: 1.4rem; }
.about-text h2 { font-style: italic; }
.about-text > p { color: var(--ivory-dim); font-size: 1.1rem; max-width: 52ch; }
.skills { margin: 2rem 0 0; display: grid; gap: 0; border-top: 1px solid var(--ink-3); }
.skills div { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--ink-3); }
.skills dt { font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--saffron); padding-top: .2rem; }
.skills dd { margin: 0; color: var(--ivory); }
@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-img { max-width: 420px; }
  .skills div { grid-template-columns: 1fr; gap: .2rem; }
}

/* contact */
.contact { text-align: center; background: radial-gradient(80% 60% at 50% 100%, rgba(224,51,111,.18), transparent 70%); }
.contact h2 { font-size: clamp(3.4rem, 12vw, 10rem); font-weight: 300; margin: .2rem 0 1.4rem; }
.contact h2 a { text-decoration: none; transition: color .3s; }
.contact h2 em { color: var(--saffron); }
.contact h2 a:hover { color: var(--rani); }
.contact-lede { color: var(--ivory-dim); max-width: 44ch; margin: 0 auto 2.4rem; font-size: 1.1rem; }
.contact-list { list-style: none; padding: 0; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 3rem; }
.contact-list li { display: grid; gap: .2rem; }
.contact-list span { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.contact-list a { font: 400 clamp(1.1rem, 2.2vw, 1.5rem) var(--serif); text-decoration: none; border-bottom: 1px solid rgba(244,238,227,.25); overflow-wrap: anywhere; }
.contact-list a:hover { border-color: var(--rani); }

/* footer */
.site-footer { text-align: center; padding: 3rem var(--gutter) 3.5rem; border-top: 1px solid var(--ink-3); color: var(--ivory-dim); font-size: .88rem; }
.site-footer p { margin: .3rem 0; }
.site-footer a { text-decoration: none; }
.foot-suits { color: var(--rani); letter-spacing: .6em; font-size: 1.1rem; margin-bottom: 1rem !important; }
.small { font-size: .76rem; opacity: .75; }

/* ---------- Project pages ---------- */
.p-hero {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center;
  max-width: var(--maxw); margin: 0 auto; padding: 120px var(--gutter) clamp(60px, 8vw, 110px);
}
.p-hero h1 { font-size: clamp(3.2rem, 9vw, 8rem); font-weight: 330; line-height: .92; margin-bottom: 1.2rem; }
.p-rang-suit .p-hero h1 { color: var(--rani); }
.p-bridal-jewellery .p-hero h1 { color: var(--saffron); }
.p-rickshaw-art .p-hero h1 { color: var(--teal); }
.subtitle { font: italic 400 clamp(1.2rem, 2.2vw, 1.7rem)/1.3 var(--serif); color: var(--ivory); max-width: 30ch; }
.tags { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.tags li { font-size: .76rem; letter-spacing: .06em; padding: .35rem .8rem; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(244,238,227,.25); color: var(--ivory-dim); }
.intro { color: var(--ivory-dim); font-size: 1.1rem; max-width: 56ch; }
.p-hero-img { border-radius: 220px 220px var(--radius) var(--radius); overflow: hidden; background: var(--ink-2); }
.p-hero-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 860px) {
  .p-hero { grid-template-columns: 1fr; padding-top: 100px; }
  .p-hero-img { max-width: 460px; }
}

.p-section { padding: clamp(64px, 9vw, 120px) var(--gutter); }
.p-section > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.sec-head { display: flex; align-items: baseline; gap: 1.2rem; margin-bottom: clamp(1.6rem, 3vw, 2.6rem); }
.sec-num { font: 600 .8rem var(--sans); letter-spacing: .14em; color: var(--rani); }
.sec-head h2 { font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 330; }
.prose { max-width: 62ch; margin-left: 0; margin-bottom: clamp(2rem, 4vw, 3rem); font-size: 1.08rem; }
.p-section > .prose { margin-left: max(0px, calc((100% - var(--maxw)) / 2)); }
.prose p { opacity: .88; }
.prose p.lead { font: 400 clamp(1.3rem, 2.4vw, 1.85rem)/1.3 var(--serif); opacity: 1; }
.ground-paper .prose p.lead { color: var(--paper-ink); }

.gallery { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.gallery:last-child { margin-bottom: 0; }
.g-item { margin: 0; }
.zoom { all: unset; display: block; cursor: zoom-in; border-radius: 10px; overflow: hidden; width: 100%; }
.zoom:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; }
.zoom img { width: 100%; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.zoom:hover img { transform: scale(1.03); }
.g-item figcaption { margin-top: .7rem; font: italic 400 1.1rem/1.3 var(--serif); }
.g-item figcaption::before { content: "✦ "; color: var(--rani); font-style: normal; font-size: .8em; }

.gallery.masonry { columns: 3 260px; column-gap: clamp(.8rem, 1.6vw, 1.4rem); }
.gallery.masonry .g-item { break-inside: avoid; margin-bottom: clamp(.8rem, 1.6vw, 1.4rem); }
.piece-group .gallery.duo { max-width: 1040px; }
.gallery.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.8rem, 2vw, 1.6rem); align-items: start; }
.gallery.single .g-item { max-width: 1100px; margin: 0 auto; }
.gallery.single .zoom { width: fit-content; max-width: 100%; margin: 0 auto; }
.gallery.single .zoom img { width: auto; max-height: 85vh; }
.gallery.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: clamp(1.2rem, 2.4vw, 2.2rem) clamp(.8rem, 1.8vw, 1.6rem); align-items: start; }
@media (max-width: 560px) {
  .gallery.duo { grid-template-columns: 1fr; }
  .gallery.masonry { columns: 2 140px; }
  .gallery.cards { grid-template-columns: 1fr 1fr; }
  .g-item figcaption { font-size: .95rem; }
}
.ground-paper .zoom { box-shadow: 0 18px 40px -26px rgba(42,35,30,.65); }

.piece-group { margin-bottom: clamp(2.6rem, 5vw, 4rem); }
.piece { font: 400 clamp(1.5rem, 2.8vw, 2.2rem)/1.2 var(--serif); font-style: italic; margin-bottom: 1.1rem; }
.piece span { color: var(--rani); font-style: normal; font-size: .7em; vertical-align: middle; }

/* drawings: let pencil lines sit on paper */
.p-drafting .zoom, .p-drafting .p-hero-img { background: #fff; }

/* next project */
.next-project {
  position: relative; display: grid; gap: .4rem; text-decoration: none; overflow: hidden;
  padding: clamp(70px, 10vw, 130px) var(--gutter); text-align: center; border-top: 1px solid var(--ink-3);
}
.np-label { font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); position: relative; z-index: 1; }
.np-title { font: 330 clamp(2.6rem, 8vw, 6.5rem)/1 var(--serif); position: relative; z-index: 1; transition: color .3s; }
.np-img { position: absolute; inset: 0; opacity: .14; transition: opacity .5s; }
.np-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.3); }
.next-project:hover .np-img { opacity: .32; }
.next-project:hover .np-title { color: var(--saffron); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(12,10,9,.96);
  display: grid; grid-template-columns: 4rem 1fr 4rem; align-items: center;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: .8rem; padding: 3.5rem 0 1.5rem; height: 100svh; align-content: center; }
.lightbox img { max-height: calc(100svh - 7rem); max-width: 100%; width: auto; object-fit: contain; border-radius: 6px; }
.lightbox figcaption { font: italic 1.1rem var(--serif); color: var(--ivory-dim); min-height: 1.4em; }
.lightbox button { all: unset; cursor: pointer; color: var(--ivory); font-size: 2.4rem; text-align: center; padding: .6rem; line-height: 1; }
.lightbox button:hover { color: var(--rani); }
.lightbox button:focus-visible { outline: 2px solid var(--saffron); }
.lb-close { position: absolute; top: .8rem; right: 1.2rem; }
@media (max-width: 560px) { .lightbox { grid-template-columns: 2.4rem 1fr 2.4rem; } }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .study.reveal.in:nth-child(odd) { transform: translateY(1.6rem); }
@media (max-width: 900px) {
  .js .study.reveal.in:nth-child(odd) { transform: none; }
  .js .study.reveal.in:nth-child(even) { transform: translateY(1.6rem); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
  .card, .zoom img, .f-img img, .s-img img { transition: none; }
}
