/* ============================================================
   Rahima Babayeva — v2 (Creatie-style one-pager)
   All layout values are whole even px. Breakpoints: 390 / 768 / 1280
   ============================================================ */

:root {
  --paper: #f6f3ec;
  --paper-line: rgba(17, 17, 17, .055);
  --ink: #141414;
  --ink-2: #4a4a4a;
  --ink-3: #8a8780;
  --white: #ffffff;

  /* accents — lavender/purple is Rahima's colour */
  --violet: #8b6cf6;
  --green: #6cc644;
  --blue: #4a7cff;
  --orange: #ff7a1a;
  --pin: #e5484d;
  --lime: #d4f24a;

  /* pastel bars / notes */
  --p-pink: #f7ddd8;   --p-pink-2: #e9a79c;
  --p-blue: #dae6f8;   --p-blue-2: #4a7cff;
  --p-yellow: #f2ecb6; --p-yellow-2: #d6c43a;
  --p-green: #d9f0cf;  --p-green-2: #6cc644;
  --p-violet: #e5ddf8; --p-violet-2: #8b6cf6;
  --p-lime: #e8f79a;

  --card-shadow: 0 2px 0 #e6e1d6, 0 18px 40px rgba(20, 20, 20, .10);
  --display: "Mona Sans", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 500 16px/24px var(--body);
  -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; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 4px; border-radius: 6px; }

/* ---------- type ---------- */
.display {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 105%;
  text-transform: uppercase;
  font-size: 40px;
  line-height: 38px;
  letter-spacing: -2px;
}
@media (min-width: 768px) { .display { font-size: 56px; line-height: 52px; } }

.wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0;
  text-transform: uppercase;
}
.wordmark sup { font-size: 10px; vertical-align: top; position: relative; top: -2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 18px;
  background: var(--white);
  color: var(--ink);
  font-weight: 600; font-size: 14px;
  border-radius: 6px;
  box-shadow: 0 2px 0 #d9d4c8, 0 8px 18px rgba(20, 20, 20, .10);
  transform: rotate(-2deg);
  transition: transform .4s var(--spring), box-shadow .3s;
}
.btn:hover { transform: rotate(0deg) translateY(-2px); box-shadow: 0 4px 0 #d9d4c8, 0 14px 24px rgba(20, 20, 20, .14); }

/* ---------- stickers / tags ---------- */
.tag {
  --c: var(--violet);
  position: absolute;
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 10px 0 6px;
  background: var(--white);
  color: var(--ink);
  font: 600 12px/12px var(--body);
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  border-radius: 4px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .08), 0 8px 16px rgba(0, 0, 0, .12);
  pointer-events: none;
}
.tag i {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
  position: relative;
}
.tag i::after {
  content: ""; position: absolute; left: 4px; top: 4px;
  width: 8px; height: 8px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .9);
}
.tag::after { /* tiny pin bead */
  content: ""; position: absolute; right: -4px; top: -4px;
  width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ff8a8d, var(--pin) 60%);
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   DOODLES (fixed; visible only where the paper shows)
   ============================================================ */
.doodles { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.d { position: absolute; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.d-squig1 { left: 22%; top: 8%; width: 80px; stroke: #b9c4f0; }
.d-circle { left: 8%; top: 12%; width: 24px; fill: #f08aa9; stroke: none; }
.d-cloud { left: 18%; top: 30%; width: 40px; fill: #7f93c9; stroke: none; }
.d-loop { left: -2%; top: 40%; width: 120px; stroke: #d6ec6a; stroke-width: 4; }
.d-arrow { left: 14%; top: 74%; width: 26px; stroke: #8b6cf6; stroke-width: 3; }
.d-eyes { right: 4%; top: 32%; width: 52px; fill: #fff; stroke: #141414; stroke-width: 2; }
.d-eyes .pupil { fill: #141414; stroke: none; transition: transform .2s; }
.d-waves { right: 6%; top: 6%; width: 60px; stroke: #9cc8ef; stroke-width: 3; }
.d-squig2 { right: 12%; top: 46%; width: 70px; stroke: #e7d27a; }
.d-spark { right: 22%; top: 18%; width: 24px; stroke: #141414; }
.d-pen { right: 8%; top: 62%; width: 30px; stroke: #e5484d; stroke-width: 2; fill: #ffd3c4; }
.d-confetti { width: 10px; height: 10px; border-radius: 2px; }
.c1 { left: 18%; top: 82%; background: #6cc644; transform: rotate(20deg); }
.c2 { right: 18%; top: 84%; background: #f7a3c0; width: 14px; height: 8px; transform: rotate(-30deg); }
.c3 { right: 26%; top: 90%; background: #e5484d; border-radius: 50%; }
.c4 { left: 30%; top: 92%; background: #4a7cff; transform: rotate(45deg); }
@media (max-width: 767px) { .d-loop, .d-squig2, .d-spark, .d-cloud { display: none; } }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; z-index: 2;
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center;
  overflow: hidden;
  color: var(--white);
  background: #7aa0c4;
}
.hero__bg {
  position: absolute; inset: -40px;
  background-size: cover; background-position: center 60%;
  animation: heroZoom 18s var(--ease) both;
  will-change: transform;
}
.hero::after { /* soften for legibility */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 40, 70, .18), rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .18));
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }

.wordmark--hero { position: absolute; top: 24px; left: 50%; transform: translateX(-50%); z-index: 3; color: var(--white); }

.hero__inner { position: relative; z-index: 2; display: grid; justify-items: center; gap: 28px; padding: 120px 16px 160px; text-align: center; }

.profile-pill {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 18px 6px 6px;
  background: rgba(255, 255, 255, .22);
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 14px;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .10);
}
.profile-pill img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; object-position: top; }
.profile-pill strong { display: block; font: 600 12px/16px var(--body); letter-spacing: 0; text-transform: uppercase; }
.profile-pill span { display: flex; align-items: center; gap: 6px; font: 500 12px/16px var(--body); opacity: .9; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #5ef08a; box-shadow: 0 0 0 0 rgba(94, 240, 138, .7); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(94, 240, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(94, 240, 138, 0); } }

.hero__title {
  position: relative; margin: 0;
  font-family: var(--display); font-weight: 800; font-stretch: 105%;
  text-transform: uppercase;
  font-size: 44px; line-height: 42px; letter-spacing: -2px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .12);
}
.hero__title .line { display: block; overflow: hidden; padding: 0 4px; }
.hero__title .line > span { display: block; transform: translateY(104%); animation: lineUp 1s var(--ease) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .1s; }
.hero__title .line:nth-child(3) > span { animation-delay: .2s; }
@keyframes lineUp { to { transform: none; } }
.tag--hero1 { left: 0; bottom: 34px; transform: rotate(-10deg); animation: popIn .6s .7s var(--spring) both; }
.tag--hero2 { right: 0; top: -20px; transform: rotate(10deg); animation: popIn .6s .85s var(--spring) both; }
@keyframes popIn { from { opacity: 0; scale: .4; } to { opacity: 1; scale: 1; } }

@media (min-width: 768px) {
  .hero__title { font-size: 76px; line-height: 70px; letter-spacing: -4px; }
  .tag--hero1 { left: -40px; bottom: 50px; }
  .tag--hero2 { right: -60px; top: 50px; }
}
@media (min-width: 1280px) {
  .hero__title { font-size: 96px; line-height: 88px; }
}

/* ============================================================
   PAPER SECTIONS
   ============================================================ */
.paper {
  position: relative; z-index: 1;
  padding: 96px 16px;
  background-image:
    linear-gradient(var(--paper-line) 2px, transparent 2px),
    linear-gradient(90deg, var(--paper-line) 2px, transparent 2px);
  background-size: 64px 64px;
  background-position: center top;
  background-color: transparent;
}
body::before { /* paper colour beneath the fixed doodles */
  content: ""; position: fixed; inset: 0; z-index: -1; background: var(--paper);
}
@media (min-width: 768px) { .paper { padding: 140px 40px; } }

.sec-head { position: relative; width: fit-content; margin: 0 auto; text-align: center; }
.tag--label { position: absolute; left: -8px; top: -28px; transform: rotate(-14deg); }
@media (min-width: 768px) { .tag--label { left: -36px; top: -22px; } }
.tag--label i { background: var(--c); }

/* ---------- About ---------- */
.about { display: grid; justify-items: center; text-align: center; padding-top: 140px; }
.about__text { max-width: 520px; margin: 28px auto 32px; font: 600 18px/26px var(--body); letter-spacing: 0; }
@media (min-width: 768px) { .about__text { font-size: 20px; line-height: 30px; } }

.stats { width: 100%; max-width: 860px; margin-top: 80px; display: grid; gap: 28px; justify-items: center; }
.note {
  position: relative; width: 100%; max-width: 380px;
  padding: 28px 28px 30px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  text-align: left;
}
.note::before { /* pin */
  content: ""; position: absolute; left: 14px; top: -6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ff9a9c, var(--pin) 55%, #b42328);
  box-shadow: 0 3px 4px rgba(0, 0, 0, .25);
}
.note__fold { /* folded corner */
  position: absolute; right: 0; top: 0; width: 44px; height: 44px; overflow: hidden; border-top-right-radius: 12px;
}
.note__fold::before { content: ""; position: absolute; inset: 0; background: var(--ink); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.note__fold::after { content: ""; position: absolute; inset: 0; background: var(--fold, var(--lime)); clip-path: polygon(0 0, 100% 100%, 0 100%); box-shadow: -2px 2px 6px rgba(0, 0, 0, .2); }
.stat__num { font: 800 52px/52px var(--display); font-stretch: 100%; letter-spacing: -2px; }
.stat__label { margin: 18px 0 6px; font: 700 18px/24px var(--body); }
.stat__desc { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 22px; }

@media (min-width: 768px) {
  .stats { display: block; position: relative; }
  .stats .note { margin: -30px auto 0; }
  .stats .note:nth-child(1) { transform: translateX(-180px) rotate(-3deg); margin-top: 0; }
  .stats .note:nth-child(2) { transform: translateX(60px) rotate(2deg); }
  .stats .note:nth-child(3) { transform: translateX(-140px) rotate(-2deg); }
  .stats .note:nth-child(4) { transform: translateX(160px) rotate(3deg); }
  .stats .note.reveal:not(.in) { opacity: 0; translate: 0 40px; }
  .stats .note.reveal { transition: opacity .8s var(--ease), translate .8s var(--ease); }
  .stats .note:hover { z-index: 3; }
}

/* ---------- Projects ---------- */
.projects-head { padding-top: 40px; padding-bottom: 80px; }
.projects { position: relative; z-index: 2; }
.projects__bg {
  position: sticky; top: 0; height: 100vh;
  background-size: cover; background-position: center 70%;
}
.projects__bg::after { content: ""; position: absolute; inset: 0; background: rgba(30, 50, 20, .12); }
.projects__grid {
  position: relative; z-index: 1;
  display: grid; gap: 40px;
  max-width: 1040px; margin: -100vh auto 0;
  padding: 80px 16px 120px;
}
@media (min-width: 768px) {
  .projects__grid { grid-template-columns: 1fr 1fr; column-gap: 48px; row-gap: 56px; padding: 120px 40px 160px; }
  .projects__grid .pcard:nth-child(even) { margin-top: 120px; margin-bottom: -120px; }
}

.pcard {
  position: relative; display: block;
  padding: 8px 8px 14px;
  background: #f4f2ee;
  border-radius: 12px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .06), 0 24px 50px rgba(0, 0, 0, .22);
  rotate: var(--r, 0deg);
  transition: transform .5s var(--spring), rotate .5s var(--spring), box-shadow .4s, opacity .8s var(--ease);
  cursor: pointer;
  text-align: left;
  width: 100%;
}
.pcard:hover { rotate: 0deg; transform: translateY(-8px) scale(1.02); box-shadow: 0 2px 0 rgba(0, 0, 0, .06), 0 36px 70px rgba(0, 0, 0, .28); }
.pcard__bar { display: flex; align-items: center; gap: 6px; height: 22px; padding: 0 4px 6px; }
.pcard__bar i { width: 10px; height: 10px; }
.pcard__bar i:nth-child(1) { background: #ff8ab3; border-radius: 50%; }
.pcard__bar i:nth-child(2) { background: #6ea8ff; border-radius: 2px; }
.pcard__bar i:nth-child(3) { width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 10px solid #ffc94a; }
.pcard__clip { position: absolute; right: 26px; top: -18px; width: 22px; height: 52px; z-index: 2; fill: none; stroke: #6a7385; stroke-width: 2; stroke-linecap: round; transform: rotate(14deg); }
.pcard__img { overflow: hidden; border-radius: 8px; aspect-ratio: 808 / 632; background: #ddd; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.05); }
.pcard__cap { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 6px 0; }
.pcard__title { font: italic 800 22px/26px var(--display); letter-spacing: -1px; }
.pcard__meta { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 10px; color: var(--ink-3); font-size: 12px; line-height: 16px; white-space: nowrap; }
.pcard__meta span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin-right: 10px; border-radius: 50%; background: currentColor; vertical-align: middle; }

/* ---------- Services ---------- */
.services__list { max-width: 680px; margin: 64px auto 0; display: grid; gap: 14px; }
.svc {
  --bg: var(--p-pink); --fg: var(--p-pink-2);
  background: var(--bg);
  border-radius: 8px;
  box-shadow: 0 4px 0 color-mix(in srgb, var(--bg) 70%, #000 12%), 0 10px 20px rgba(0, 0, 0, .06);
  transition: transform .4s var(--spring);
}
.svc:hover { transform: translateY(-2px) rotate(-.5deg); }
.svc__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 0 16px 0 20px; text-align: left; font: 600 16px/22px var(--body); }
@media (min-width: 768px) { .svc__btn { min-height: 72px; font-size: 18px; } }
.svc__ico { position: relative; flex: none; width: 36px; height: 36px; }
.svc__ico::before { content: ""; position: absolute; inset: 0; translate: 6px 0; border-radius: 50%; background: color-mix(in srgb, var(--fg) 30%, #fff); }
.svc__ico span { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%; background: var(--fg); color: #fff; transition: transform .4s var(--spring); }
.svc__ico svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.svc.open .svc__ico span { transform: rotate(45deg); }
.svc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.svc.open .svc__body { grid-template-rows: 1fr; }
.svc__body > div { overflow: hidden; }
.svc__body p { margin: 0; padding: 0 20px 14px; max-width: 520px; color: var(--ink-2); font-size: 15px; line-height: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 20px; }
.chips span { padding: 4px 10px; border-radius: 20px; background: rgba(255, 255, 255, .7); font-size: 12px; line-height: 16px; font-weight: 600; }
.svc--pink { --bg: var(--p-pink); --fg: var(--p-pink-2); }
.svc--blue { --bg: var(--p-blue); --fg: var(--p-blue-2); }
.svc--yellow { --bg: var(--p-yellow); --fg: var(--p-yellow-2); }
.svc--green { --bg: var(--p-green); --fg: var(--p-green-2); }
.svc--violet { --bg: var(--p-violet); --fg: var(--p-violet-2); }

/* ---------- Experience (notes wall) ---------- */
.exp { max-width: 1040px; margin: 72px auto 0; display: grid; gap: 28px; justify-items: center; }
.exp .note { max-width: 360px; }
.exp__top { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; padding-right: 36px; }
.exp__mono { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font: 800 14px/14px var(--display); }
.exp__company { font: 700 14px/18px var(--body); }
.exp__place { color: var(--ink-3); font-size: 12px; line-height: 16px; }
.exp__role { margin: 0 0 12px; font: 800 26px/28px var(--display); letter-spacing: -1px; }
.exp__period { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 14px; line-height: 20px; }
.exp__now { padding: 2px 8px; border-radius: 20px; background: var(--p-green); color: #2f7a12; font-size: 12px; font-weight: 700; }
@media (min-width: 768px) {
  .exp { grid-template-columns: repeat(2, 1fr); column-gap: 40px; row-gap: 40px; }
  .exp .note:nth-child(odd) { transform: rotate(-2deg); }
  .exp .note:nth-child(even) { transform: rotate(2deg) translateY(48px); }
}
@media (min-width: 1280px) {
  .exp { grid-template-columns: repeat(3, 1fr); }
  .exp .note:nth-child(3n+1) { transform: rotate(-3deg) translateY(30px); }
  .exp .note:nth-child(3n+2) { transform: rotate(2deg) translateY(-10px); }
  .exp .note:nth-child(3n) { transform: rotate(-1deg) translateY(56px); }
}
.exp .note { transition: transform .5s var(--spring); }
.exp .note:hover { transform: rotate(0deg) translateY(-6px) !important; z-index: 2; }

/* ---------- FAQ (sticky notes around heading) ---------- */
.faq__stage { position: relative; max-width: 1120px; margin: 0 auto; display: grid; gap: 16px; justify-items: center; }
.faq__head { margin-bottom: 40px; }
.qnote {
  --bg: var(--p-lime);
  position: relative; width: 100%; max-width: 420px;
  background: var(--bg);
  border-radius: 6px;
  box-shadow: 0 4px 0 color-mix(in srgb, var(--bg) 70%, #000 10%), 0 14px 26px rgba(0, 0, 0, .08);
  rotate: var(--r, 0deg);
  transition: transform .4s var(--spring), rotate .4s var(--spring), box-shadow .3s, opacity .8s var(--ease);
  z-index: 1;
}
.qnote:hover { rotate: 0deg; transform: translateY(-3px); }
.qnote.open { z-index: 5; rotate: 0deg; }
.qnote__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 18px; text-align: left; font: 600 15px/20px var(--body); }
.qnote__q b { font-weight: 500; font-size: 20px; transition: transform .4s var(--spring); }
.qnote.open .qnote__q b { transform: rotate(45deg); }
.qnote__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.qnote.open .qnote__a { grid-template-rows: 1fr; }
.qnote__a > div { overflow: hidden; }
.qnote__a p { margin: 0; padding: 0 18px 18px; color: var(--ink-2); font-size: 14px; line-height: 22px; }
.qnote--1 { --bg: #e8f79a; } .qnote--2 { --bg: #f9d9dc; } .qnote--3 { --bg: #d9f0cf; }
.qnote--4 { --bg: #f4edb2; } .qnote--5 { --bg: #dae6f8; }

@media (min-width: 1100px) {
  .faq__stage { display: block; height: 800px; }
  .faq__head { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; }
  .faq__head.reveal:not(.in) { transform: translate(-50%, -40%); }
  .qnote { position: absolute; width: 340px; }
  .qnote--1 { left: 52%; top: 20px; --r: -2deg; }
  .qnote--2 { left: 4%; top: 130px; --r: 2deg; }
  .qnote--5 { right: 0; top: 220px; --r: -2deg; }
  .qnote--3 { left: 0; top: 500px; --r: -3deg; }
  .qnote--4 { right: 10%; top: 600px; --r: 2deg; }
}

/* ============================================================
   FOOTER / CTA
   ============================================================ */
.footer {
  position: relative; z-index: 2;
  padding: 16px 16px 120px;
  background: #f4eea2;
  overflow: hidden;
}
@media (min-width: 768px) { .footer { padding: 20px 20px 120px; } }
.footer__ghost {
  position: absolute; left: -10%; top: 30%;
  width: 140%;
  font: 800 160px/140px var(--display);
  color: rgba(255, 255, 255, .45);
  transform: rotate(-12deg);
  white-space: normal;
  pointer-events: none;
}
.cta {
  position: relative; overflow: hidden;
  min-height: 560px; height: calc(100svh - 120px); max-height: 860px;
  border-radius: 20px;
  color: var(--white);
  isolation: isolate;
}
.cta__bg { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.cta:hover .cta__bg { transform: scale(1); }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .10), transparent 40%, rgba(0, 0, 0, .34)); }
.btn--chat { position: absolute; left: 16px; top: 16px; height: 44px; padding: 0 24px; font-size: 16px; transform: none; }
.btn--chat:hover { transform: translateY(-2px); }
.cta__note { position: absolute; right: 20px; top: 76px; margin: 0; max-width: 260px; text-align: right; font-size: 14px; line-height: 20px; }
.cta__note span { opacity: .9; }
.cta__title {
  position: absolute; left: 16px; bottom: 24px; margin: 0;
  font: 800 44px/42px var(--display); font-stretch: 105%;
  letter-spacing: -2px; text-transform: uppercase;
}
.tag--f1 { left: 0; top: -36px; transform: rotate(-8deg); }
.tag--f2 { left: 50%; top: -6px; transform: rotate(6deg); }
.tag--f3 { right: -20px; bottom: 30px; transform: rotate(-6deg); }
@media (min-width: 768px) {
  .btn--chat { left: 24px; top: 24px; }
  .cta__note { right: 32px; top: 30px; }
  .cta__title { left: 32px; bottom: 32px; font-size: 76px; line-height: 70px; letter-spacing: -4px; }
  .tag--f3 { right: -40px; }
}
@media (min-width: 1280px) { .cta__title { font-size: 96px; line-height: 88px; } }

.footer__bar { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 4px 0; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: uppercase; }
.footer__nav a, .footer__links a { position: relative; }
.footer__nav a::after, .footer__links a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.footer__nav a:hover::after, .footer__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.footer__meta { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 20px 4px 0; color: rgba(20, 20, 20, .6); font-size: 12px; line-height: 16px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* ============================================================
   DOCK
   ============================================================ */
.dock {
  position: fixed; left: 50%; bottom: 16px; z-index: 50;
  display: flex; align-items: flex-end; gap: 10px;
  padding: 8px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, .34);
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 22px;
  backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .14);
  animation: dockIn .8s .9s var(--spring) both;
}
@keyframes dockIn { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }
.dock__item {
  position: relative;
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(160deg, var(--g1), var(--g2));
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .45), 0 4px 10px rgba(0, 0, 0, .14);
  transition: transform .35s var(--spring);
  transform-origin: bottom center;
}
.dock__item > img { width: 100%; height: 100%; border-radius: 14px; object-fit: cover; object-position: top; border: 2px solid rgba(255, 255, 255, .8); }
.dock__item svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .2)); }
.dock__item svg.fill { fill: #fff; stroke: none; }
.dock__item:hover, .dock__item:focus-visible { transform: scale(1.22) translateY(-6px); }
.dock__item.active::after { content: ""; position: absolute; bottom: -6px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--ink); }
.dock__badge { position: absolute; right: -4px; top: -4px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 10px; background: var(--pin); color: #fff; font: 700 10px/18px var(--body); text-align: center; }
.dock__tip {
  position: absolute; bottom: calc(100% + 14px); left: 50%;
  padding: 4px 8px; border-radius: 6px;
  background: var(--ink); color: #fff;
  font-size: 12px; line-height: 16px; font-weight: 600; white-space: nowrap;
  transform: translate(-50%, 4px); opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .3s var(--ease);
}
.dock__item:hover .dock__tip, .dock__item:focus-visible .dock__tip { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 768px) { .dock { bottom: 20px; gap: 12px; } .dock__item { width: 56px; height: 56px; border-radius: 16px; } }

/* ============================================================
   PROJECT MODAL
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.modal.open { visibility: visible; }
.modal__scrim { position: absolute; inset: 0; background: rgba(20, 20, 20, .5); backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s; }
.modal.open .modal__scrim { opacity: 1; }
.modal__sheet {
  position: absolute; left: 50%; top: 16px; bottom: 0;
  width: calc(100% - 16px); max-width: 1080px;
  overflow-y: auto; overscroll-behavior: contain;
  padding: 56px 16px 120px;
  background: var(--paper);
  border-radius: 20px 20px 0 0;
  transform: translate(-50%, 100%);
  transition: transform .6s var(--ease);
}
.modal.open .modal__sheet { transform: translate(-50%, 0); }
.modal__close { position: sticky; top: 0; float: right; margin: -40px -4px 0 0; width: 40px; height: 40px; border-radius: 50%; background: var(--white); box-shadow: var(--card-shadow); font-size: 14px; z-index: 2; }
.modal__head { position: relative; display: grid; gap: 20px; justify-items: start; padding-top: 24px; margin-bottom: 40px; }
.modal__head .tag--label { position: relative; left: 0; top: 0; transform: rotate(-4deg); }
.modal__head p { margin: 0; max-width: 620px; color: var(--ink-2); font-size: 18px; line-height: 28px; }
.modal__meta { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 0; }
.modal__meta dt { color: var(--ink-3); font-size: 12px; line-height: 16px; text-transform: uppercase; }
.modal__meta dd { margin: 4px 0 0; font-weight: 600; }
.modal__gallery { display: grid; gap: 16px; }
.modal__gallery img { width: 100%; border-radius: 12px; background: #e9e5dc; }
@media (min-width: 768px) {
  .modal__sheet { top: 40px; padding: 64px 48px 140px; }
  .modal__gallery { grid-template-columns: 1fr 1fr; }
  .modal__gallery img:first-child { grid-column: 1 / -1; }
}
body.lock { overflow: hidden; }

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