/* =========================================================
   Prachi — portfolio
   ========================================================= */

:root {
  --bg: #faf6f1;
  --bg-2: #f3ece4;
  --surface: #ffffff;
  --ink: #1e1a18;
  --ink-2: #3b3431;
  --muted: #6f655e;
  --line: #e8dfd5;
  --accent: #b4376f;
  --accent-ink: #ffffff;
  --accent-soft: #f7dbe7;
  --peach: #f6b38a;
  --lilac: #c9b6f2;
  --mint: #b9e3cf;
  --shadow: 0 1px 2px rgba(40, 24, 16, .06), 0 12px 32px -12px rgba(40, 24, 16, .18);
  --shadow-lg: 0 2px 4px rgba(40, 24, 16, .05), 0 30px 60px -20px rgba(60, 24, 40, .28);
  --radius: 18px;
  --radius-lg: 28px;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #131015;
    --bg-2: #1a161c;
    --surface: #1e1a21;
    --ink: #f4ede6;
    --ink-2: #ddd3ca;
    --muted: #a99e96;
    --line: #2e2832;
    --accent: #f283b5;
    --accent-ink: #1c0f16;
    --accent-soft: #3a2030;
    --peach: #8a4a2c;
    --lilac: #4b3a78;
    --mint: #1f4b3a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -12px rgba(0, 0, 0, .6);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .4), 0 30px 60px -20px rgba(0, 0, 0, .75);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #131015;
  --bg-2: #1a161c;
  --surface: #1e1a21;
  --ink: #f4ede6;
  --ink-2: #ddd3ca;
  --muted: #a99e96;
  --line: #2e2832;
  --accent: #f283b5;
  --accent-ink: #1c0f16;
  --accent-soft: #3a2030;
  --peach: #8a4a2c;
  --lilac: #4b3a78;
  --mint: #1f4b3a;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -12px rgba(0, 0, 0, .6);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .4), 0 30px 60px -20px rgba(0, 0, 0, .75);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
@media (min-width: 720px) { .container { width: min(1180px, 100% - 64px); } }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.skip-link:focus { top: 16px; }

em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}

svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg.gh { fill: currentColor; stroke: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .82em 1.35em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 600; font-size: .95rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 24px -10px var(--accent); }
.btn--accent:hover { box-shadow: 0 16px 30px -12px var(--accent); }
.btn--ink { background: var(--ink); color: var(--bg); }
.btn--ghost { border-color: var(--line); background: color-mix(in srgb, var(--surface) 70%, transparent); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--small { padding: .6em 1.05em; font-size: .88rem; }
.btn--lg { padding: 1em 1.6em; font-size: 1rem; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--surface);
  cursor: pointer; transition: border-color .2s, transform .2s var(--ease);
}
.icon-btn:hover { border-color: var(--ink); transform: rotate(-8deg); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-moon { display: none; }
:root[data-theme="dark"] .icon-sun { display: none; }
:root[data-theme="dark"] .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-sun { display: none; }
  :root:not([data-theme="light"]) .icon-moon { display: block; }
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .4s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: -.01em; }
.brand__mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #e27a4f);
  color: #fff; font-family: var(--font-display); font-style: italic; font-size: 1.35rem; font-weight: 600;
  box-shadow: 0 8px 18px -8px var(--accent);
}
.brand__name { font-size: 1.08rem; }
.nav__links { display: none; gap: 6px; }
.nav__links a {
  position: relative; padding: 8px 14px; border-radius: 999px; text-decoration: none;
  font-size: .93rem; font-weight: 500; color: var(--muted); transition: color .2s, background-color .2s;
}
.nav__links a:hover { color: var(--ink); background: var(--bg-2); }
.nav__links a.is-active { color: var(--ink); background: var(--bg-2); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__cta { display: none; }
.mobile-menu {
  display: grid; gap: 4px; padding: 8px 16px 18px;
  border-bottom: 1px solid var(--line);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 12px 8px; text-decoration: none; font-weight: 600; font-size: 1.05rem; border-bottom: 1px dashed var(--line); }
.mobile-menu a:last-child { border-bottom: 0; }
@media (min-width: 860px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__menu { display: none; }
  .mobile-menu { display: none !important; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: 56px 0 0; overflow: hidden; }
.hero__glow {
  position: absolute; inset: -20% -10% auto; height: 720px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 45% at 78% 30%, color-mix(in srgb, var(--peach) 65%, transparent), transparent 70%),
    radial-gradient(30% 40% at 60% 60%, color-mix(in srgb, var(--lilac) 60%, transparent), transparent 70%),
    radial-gradient(28% 38% at 12% 18%, color-mix(in srgb, var(--accent-soft) 90%, transparent), transparent 70%);
  filter: blur(10px);
}
.hero__grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 40px; min-height: 620px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: .85rem; font-weight: 600; color: var(--ink-2);
  box-shadow: var(--shadow);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #2fb67c; box-shadow: 0 0 0 0 rgba(47, 182, 124, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47, 182, 124, .55); } 70% { box-shadow: 0 0 0 10px rgba(47, 182, 124, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 182, 124, 0); } }

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.5rem, 1.4rem + 4.4vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -.012em;
  font-variation-settings: "opsz" 96;
}
.hero__title em { font-weight: 450; }
.hero__lede { max-width: 34rem; margin: 26px 0 0; font-size: 1.12rem; color: var(--muted); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 44px 0 0; padding-top: 26px; border-top: 1px solid var(--line); max-width: 34rem; }
.hero__stats div { display: flex; flex-direction: column-reverse; }
.hero__stats dt { font-size: .82rem; color: var(--muted); font-weight: 500; }
.hero__stats dd { margin: 0; font-family: var(--font-display); font-size: 2rem; font-weight: 500; line-height: 1.1; letter-spacing: -.02em; }

/* hero collage */
.hero__art { position: relative; height: 420px; }
@media (min-width: 560px) { .hero__art { height: 500px; } }
.float-card { position: absolute; margin: 0; width: 72%; transition: transform .6s var(--ease); }
.float-card--a { top: 2%; right: 0; transform: rotate(3deg); animation: bob 9s ease-in-out infinite; }
.float-card--b { top: 30%; left: 0; width: 68%; transform: rotate(-4deg); animation: bob 10s ease-in-out -3s infinite; z-index: 2; }
.float-card--c { bottom: 0; right: 6%; width: 56%; transform: rotate(2deg); animation: bob 11s ease-in-out -6s infinite; z-index: 3; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.hero__art:hover .float-card--a { transform: rotate(1deg) translateY(-6px); }
.hero__art:hover .float-card--b { transform: rotate(-2deg) translateX(-6px); }
.hero__art:hover .float-card--c { transform: rotate(0deg) translateY(4px); }

.sticker {
  position: absolute; z-index: 4;
  padding: 8px 14px; border-radius: 999px;
  font-weight: 700; font-size: .85rem; letter-spacing: .01em;
  box-shadow: var(--shadow);
  animation: bob 7s ease-in-out infinite;
}
.sticker--1 { top: 0; left: 8%; background: var(--ink); color: var(--bg); rotate: -8deg; }
.sticker--2 { top: 48%; right: -2%; background: var(--accent); color: var(--accent-ink); rotate: 7deg; animation-delay: -2s; }
.sticker--3 { bottom: 6%; left: 6%; background: var(--surface); color: var(--ink); border: 1px solid var(--line); rotate: -5deg; animation-delay: -4s; }

/* browser frame */
.frame {
  border-radius: 14px; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.frame__bar { display: flex; gap: 6px; align-items: center; height: 26px; padding: 0 12px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.frame__bar i { width: 9px; height: 9px; border-radius: 50%; background: #f1706a; }
.frame__bar i:nth-child(2) { background: #f5bf4f; }
.frame__bar i:nth-child(3) { background: #5bc668; }
.frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }

/* marquee */
.marquee {
  margin-top: 72px; padding: 18px 0;
  border-block: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; gap: 0; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span {
  display: inline-flex; align-items: center; gap: 28px; padding-right: 28px;
  font-family: var(--font-display); font-size: 1.35rem; font-style: italic; color: var(--ink-2); white-space: nowrap;
}
.marquee span::after { content: "✦"; font-style: normal; font-size: .8rem; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 110px 0; }
.section-head { margin-bottom: 56px; max-width: 44rem; }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; }
.section-kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.section-kicker::before { content: ""; width: 26px; height: 1.5px; background: currentColor; }
.section-title {
  margin: 0; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.2rem); line-height: 1.08; letter-spacing: -.02em;
}
.section-sub { margin: 16px 0 0; color: var(--muted); font-size: 1.08rem; }

/* ---------- about ---------- */
.about { background: var(--bg-2); border-block: 1px solid var(--line); }
.about__grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 900px) { .about__grid { grid-template-columns: 300px 1fr; gap: 72px; } }
.about__photo { display: grid; justify-items: center; gap: 14px; }
.photo-ring {
  position: relative; width: 240px; height: 240px; border-radius: 50%; padding: 8px;
  background: conic-gradient(from 200deg, var(--accent), #e27a4f, var(--lilac), var(--accent));
}
.photo-ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 6px solid var(--bg-2); background: var(--surface); }
.photo-ring::after {
  content: "✦"; position: absolute; right: 6px; top: 14px; width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 50%; background: var(--surface); color: var(--accent); box-shadow: var(--shadow); font-size: 1.1rem;
}
.about__handle { margin: 0; font-weight: 600; color: var(--muted); font-size: .92rem; }
.about__copy > p { max-width: 40rem; color: var(--ink-2); font-size: 1.1rem; margin: 22px 0 0; }
.principles { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 720px) { .principles { grid-template-columns: repeat(3, 1fr); } }
.principle {
  padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.principle:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.principle__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-size: 1.15rem; }
.principle h3 { margin: 16px 0 6px; font-size: 1.02rem; line-height: 1.35; }
.principle p { margin: 0; font-size: .93rem; color: var(--muted); line-height: 1.55; }

/* ---------- featured case studies ---------- */
.cases { display: grid; gap: 40px; }
.case {
  display: grid; gap: 32px; align-items: center;
  padding: 24px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
@media (min-width: 940px) {
  .case { grid-template-columns: 1.15fr 1fr; gap: 56px; padding: 40px; }
  .case:nth-child(even) .case__media { order: 2; }
}
.case__media {
  position: relative; display: block; border-radius: 20px; padding: clamp(18px, 4vw, 36px);
  background: var(--tint, var(--accent-soft)); overflow: hidden; text-decoration: none;
}
.case__media::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: radial-gradient(color-mix(in srgb, var(--ink) 18%, transparent) 1px, transparent 1px);
  background-size: 16px 16px;
}
.case__media .frame { position: relative; transition: transform .5s var(--ease); }
.case__media:hover .frame { transform: translateY(-6px) rotate(-.6deg) scale(1.015); }
.case__num {
  font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--accent); font-weight: 500;
}
.case__title { margin: 6px 0 12px; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.3rem); letter-spacing: -.02em; line-height: 1.1; }
.case__desc { margin: 0; color: var(--ink-2); }
.case__list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.case__list li { position: relative; padding-left: 28px; color: var(--muted); font-size: .96rem; line-height: 1.55; }
.case__list li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4376f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.case__note { margin: 18px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--bg-2); color: var(--muted); font-size: .88rem; border: 1px dashed var(--line); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.tags li { padding: 5px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: var(--bg-2); color: var(--ink-2); border: 1px solid var(--line); }
.case__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.private { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); padding: .82em .4em; }

/* ---------- archive grid ---------- */
.more { padding-top: 40px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface);
  font-size: .88rem; font-weight: 600; color: var(--muted); cursor: pointer; transition: all .2s var(--ease);
}
.chip:hover { color: var(--ink); border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.tile {
  display: flex; flex-direction: column; height: 100%;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), opacity .3s;
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tile[hidden] { display: none; }
.tile__img { position: relative; display: block; overflow: hidden; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.tile__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; transition: transform .6s var(--ease); }
.tile:hover .tile__img img { transform: scale(1.05); }
.tile__badge {
  position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .02em;
  background: color-mix(in srgb, var(--surface) 88%, transparent); color: var(--ink); backdrop-filter: blur(6px);
  border: 1px solid var(--line);
}
.tile__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.tile__title { margin: 0; font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; }
.tile__desc { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.55; flex: 1; }
.tile__links { display: flex; gap: 16px; margin-top: 12px; }
.tile__links a {
  display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 600; text-decoration: none; color: var(--ink-2);
  border-bottom: 1.5px solid transparent; transition: color .2s, border-color .2s;
}
.tile__links a:hover { color: var(--accent); border-bottom-color: currentColor; }

/* ---------- contact ---------- */
.contact { padding-top: 40px; }
.contact__card {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(40px, 7vw, 88px) clamp(24px, 6vw, 80px);
  border-radius: 36px; text-align: center;
  background: var(--ink); color: var(--bg);
}
.contact__glow {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(40% 70% at 15% 10%, color-mix(in srgb, #b4376f 60%, transparent), transparent 70%),
    radial-gradient(40% 70% at 90% 100%, color-mix(in srgb, #e27a4f 55%, transparent), transparent 70%);
  opacity: .8;
}
:root[data-theme="dark"] .contact__card { background: #221c26; color: #f4ede6; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .contact__card { background: #221c26; color: #f4ede6; } }
.contact__card .section-kicker { color: #f7b6d2; justify-content: center; }
.contact__title { margin: 0 auto; max-width: 16ch; font-family: var(--font-display); font-weight: 500; font-size: clamp(2.1rem, 1.3rem + 3.4vw, 4rem); line-height: 1.05; letter-spacing: -.025em; }
.contact__title em { color: #f7b6d2; }
.contact__lede { margin: 20px auto 0; max-width: 34rem; opacity: .78; font-size: 1.1rem; }
.contact__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.contact__card .btn--accent { background: #f7b6d2; color: #2a0f1d; box-shadow: none; }
.contact__card .btn--ghost { background: transparent; color: inherit; border-color: rgba(255, 255, 255, .28); }
.contact__card .btn--ghost:hover { border-color: rgba(255, 255, 255, .8); }
.contact__card .btn--lg { white-space: normal; word-break: break-all; }
.contact__gh { display: inline-block; margin-top: 28px; opacity: .7; text-decoration: none; font-weight: 600; font-size: .95rem; }
.contact__gh:hover { opacity: 1; }

/* ---------- footer ---------- */
.footer { padding: 40px 0 48px; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .9rem; }
.footer p { margin: 0; }
.footer__top { text-decoration: none; font-weight: 600; }
.footer__top:hover { color: var(--accent); }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- small screens ---------- */
@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 80px 0; }
  .hero { padding-top: 36px; }
  .case { padding: 16px; }
  .float-card { width: 80%; }
  .float-card--b { width: 74%; }
  .float-card--c { width: 62%; }
  .sticker--2 { right: 0; }
}
