/* ==========================================================
   Webadi · Portfolio
   ========================================================== */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(assets/fonts/manrope-latin-wght-normal.woff2) format('woff2-variations');
}

:root {
  --ink: #111111;
  --ink-2: #1b1b1b;
  --ink-3: #2a2a2a;
  --paper: #f6f5f1;
  --paper-2: #ecebe5;
  --muted: #6d6d68;
  --muted-dark: #9a9a94;
  --lime: #b6d33c;
  --lime-deep: #8fae1b;
  --radius: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  --font: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; background: var(--ink); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--lime); color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: min(1240px, 100% - 3rem); margin-inline: auto; }

/* ---------- Logo (recreated wordmark) ---------- */
.logo {
  display: inline-flex;
  align-items: baseline;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  font-size: 1.6rem;
  color: currentColor;
}
.logo__i {
  position: relative;
  color: var(--lime);
  margin-left: 0.02em;
}
.logo__i::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -0.05em;
  width: 0.27em;
  height: 0.27em;
  border-radius: 50%;
  background: var(--lime);
  transform: translateX(-50%);
}
.logo--xl { font-size: clamp(5rem, 13vw, 11rem); }

/* ---------- Gate ---------- */
.gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: radial-gradient(1200px 700px at 50% 35%, #1d1d1d 0%, var(--ink) 70%);
  color: var(--paper);
  padding: 2rem;
}
.gate__noise {
  position: absolute; inset: 0; opacity: .06; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.gate__inner { position: relative; text-align: center; width: min(440px, 100%); }
.gate__logo { margin: 0 0 1.2rem; font-weight: inherit; }
.logo--gate { font-size: clamp(4rem, 15vw, 7.5rem); }
.logo--gate .ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(60%) rotate(6deg);
  animation: charIn 1s var(--ease) forwards;
}
.logo--gate .ch:nth-child(1) { animation-delay: .10s; }
.logo--gate .ch:nth-child(2) { animation-delay: .16s; }
.logo--gate .ch:nth-child(3) { animation-delay: .22s; }
.logo--gate .ch:nth-child(4) { animation-delay: .28s; }
.logo--gate .ch:nth-child(5) { animation-delay: .34s; }
.logo--gate .ch:nth-child(6) { animation-delay: .40s; }
.logo--gate .logo__i::before {
  animation: dotDrop 1.2s var(--ease) .9s both;
}
@keyframes charIn { to { opacity: 1; transform: none; } }
@keyframes dotDrop {
  0%   { transform: translate(-50%, -260%) scale(.6); opacity: 0; }
  45%  { transform: translate(-50%, 0) scale(1.15, .8); opacity: 1; }
  62%  { transform: translate(-50%, -55%) scale(.95, 1.05); }
  80%  { transform: translate(-50%, 0) scale(1.05, .95); }
  100% { transform: translate(-50%, 0) scale(1); opacity: 1; }
}
.gate__sub {
  color: var(--muted-dark);
  margin: 0 0 2rem;
  font-size: .98rem;
  opacity: 0; animation: fadeUp .9s var(--ease) .7s forwards;
}
.gate__form {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  padding: .4rem .4rem .4rem 1.4rem;
  transition: border-color .3s, background .3s, box-shadow .3s;
  opacity: 0; animation: fadeUp .9s var(--ease) .85s forwards;
}
.gate__form:focus-within {
  border-color: var(--lime);
  background: rgba(255,255,255,.07);
  box-shadow: 0 0 0 6px rgba(182,211,60,.12);
}
.gate__form input {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  outline: 0;
  color: var(--paper);
  font: inherit;
  font-size: 1.05rem;
  letter-spacing: .08em;
}
.gate__form input::placeholder { color: #777; letter-spacing: .02em; }
.gate__form button {
  flex: none;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--lime);
  color: var(--ink);
  display: grid; place-items: center;
  cursor: pointer;
  transition: transform .4s var(--ease), background .3s;
}
.gate__form button:hover { transform: scale(1.06); }
.gate__form button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.gate__form button:hover svg { transform: translateX(3px); }
.gate__form.is-busy button { pointer-events: none; }
.gate__form.is-busy button svg { animation: spinOut .8s var(--ease) infinite; }
@keyframes spinOut { 50% { transform: translateX(6px); opacity: .3; } }
.gate__form.is-error { animation: shake .5s var(--ease); border-color: #e2574c; }
@keyframes shake {
  20% { transform: translateX(-10px); } 40% { transform: translateX(9px); }
  60% { transform: translateX(-6px); } 80% { transform: translateX(3px); }
}
.gate__msg { min-height: 1.5em; margin: 1rem 0 0; color: #e2574c; font-size: .9rem; }
.gate__wipe {
  position: absolute; inset: 0;
  background: var(--lime);
  transform: scaleY(0);
  transform-origin: bottom;
  pointer-events: none;
}
.gate.is-opening .gate__inner { animation: gateOut .6s var(--ease-in-out) forwards; }
.gate.is-opening .gate__wipe { animation: wipeUp 1.3s var(--ease-in-out) forwards; }
.gate.is-opening { animation: gateFade 1.3s linear forwards; }
@keyframes gateOut { to { opacity: 0; transform: translateY(-30px) scale(.97); } }
@keyframes wipeUp {
  0% { transform: scaleY(0); transform-origin: bottom; }
  50% { transform: scaleY(1); transform-origin: bottom; }
  50.1% { transform-origin: top; }
  100% { transform: scaleY(0); transform-origin: top; }
}
@keyframes gateFade { 0%, 50% { background: var(--ink); } 50.1%, 100% { background: transparent; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Scroll progress + cursor ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--lime); transform-origin: left; transform: scaleX(0); }
.cursor {
  position: fixed; top: 0; left: 0; z-index: 70;
  width: 14px; height: 14px; margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--lime);
  pointer-events: none;
  mix-blend-mode: multiply;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), opacity .3s;
  opacity: 0;
}
.cursor.is-on { opacity: 1; }
.cursor.is-big { width: 64px; height: 64px; margin: -32px 0 0 -32px; opacity: .55; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
  transition: transform .5s var(--ease), background .4s, padding .4s, box-shadow .4s;
}
.nav.is-scrolled {
  background: rgba(246,245,241,.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  padding-block: .75rem;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav__links { display: flex; gap: 2.2rem; font-weight: 600; font-size: .95rem; }
.nav__links a { position: relative; padding: .2rem 0; }
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--lime); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 700; font-size: .92rem;
  padding: .7rem 1.2rem;
  border-radius: 999px;
  background: var(--ink); color: var(--paper);
  transition: background .3s, color .3s;
  will-change: transform;
}
.btn:hover { background: var(--lime); color: var(--ink); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.btn svg .fill { fill: currentColor; stroke: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 8rem 0 4.5rem;
  overflow: hidden;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(17,17,17,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,17,17,.06) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
  animation: gridDrift 30s linear infinite;
}
@keyframes gridDrift { to { background-position: 80px 80px; } }
.hero__orb {
  position: absolute;
  width: 46vmax; height: 46vmax;
  right: -12vmax; top: -14vmax;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--lime), rgba(182,211,60,0) 65%);
  filter: blur(10px);
  opacity: .55;
  animation: orb 14s ease-in-out infinite alternate;
}
@keyframes orb { to { transform: translate(-6vmax, 6vmax) scale(1.08); } }
.hero .container { position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  text-transform: uppercase; letter-spacing: .16em;
  font-size: .78rem; font-weight: 700; color: var(--muted);
  margin: 0 0 1.6rem;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(182,211,60,.7); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(182,211,60,0); } 100% { box-shadow: 0 0 0 0 rgba(182,211,60,0); } }
.eyebrow .num { color: var(--ink); background: var(--lime); border-radius: 999px; padding: .1rem .55rem; letter-spacing: .05em; }

.hero__title {
  margin: 0;
  font-size: clamp(3.6rem, 12.5vw, 11.5rem);
  line-height: .92;
  letter-spacing: -0.055em;
  font-weight: 800;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .word { display: inline-block; transform: translateY(105%); }
.hero__title .accent { color: var(--ink); position: relative; }
.hero__title .accent::after {
  content: ''; position: absolute; left: 0; right: .2em; bottom: .1em; height: .16em;
  background: var(--lime); z-index: -1; transform: scaleX(0); transform-origin: left;
}
.is-ready .hero__title .word { animation: wordUp 1.15s var(--ease) forwards; }
.is-ready .hero__title .line:nth-child(1) .word:nth-child(1) { animation-delay: .05s; }
.is-ready .hero__title .line:nth-child(1) .word:nth-child(2) { animation-delay: .13s; }
.is-ready .hero__title .line:nth-child(2) .word:nth-child(1) { animation-delay: .21s; }
.is-ready .hero__title .line:nth-child(2) .word:nth-child(2) { animation-delay: .29s; }
.is-ready .hero__title .accent::after { animation: underline 1s var(--ease) 1.05s forwards; }
@keyframes wordUp { to { transform: none; } }
@keyframes underline { to { transform: scaleX(1); } }

.hero__foot {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem;
  margin-top: 2.8rem;
}
.hero__lead { max-width: 520px; margin: 0; font-size: 1.15rem; color: #3b3b38; }
.hero__scroll { display: inline-flex; align-items: center; gap: .8rem; font-weight: 700; font-size: .9rem; white-space: nowrap; }
.hero__scroll svg {
  width: 46px; height: 46px; padding: 12px; border-radius: 50%;
  border: 1.5px solid var(--ink); fill: none; stroke: currentColor; stroke-width: 2;
  animation: bob 2.4s var(--ease) infinite;
  transition: background .3s;
}
.hero__scroll:hover svg { background: var(--lime); border-color: var(--lime); }
@keyframes bob { 50% { transform: translateY(6px); } }
.split-in { opacity: 0; transform: translateY(20px); }
.is-ready .split-in { animation: fadeUp 1s var(--ease) forwards; }
.is-ready .hero .eyebrow.split-in { animation-delay: 0s; }
.is-ready .hero__lead.split-in { animation-delay: .55s; }
.is-ready .hero__scroll.split-in { animation-delay: .7s; }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--ink); color: var(--paper);
  overflow: hidden;
  padding: 1.35rem 0;
  transform: rotate(-1.2deg) scale(1.02);
  margin: 1rem 0 0;
}
.marquee__track {
  display: flex; align-items: center; gap: 2.4rem;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-weight: 800; font-size: clamp(1.4rem, 3vw, 2.2rem); letter-spacing: -0.02em;
  white-space: nowrap;
}
.marquee__track i { width: .55em; height: .55em; border-radius: 50%; background: var(--lime); flex: none; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section heads ---------- */
section { position: relative; }
.work { padding: clamp(6rem, 12vw, 10rem) 0 4rem; }
.section-head {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 2rem;
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 1.6rem;
}
.section-head .eyebrow { grid-column: 1 / -1; }
.section-head h2, .about h2, .contact__title {
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: .98; letter-spacing: -0.05em; font-weight: 800;
}
.section-head__count { margin: 0; font-weight: 700; color: var(--muted); }
.section-head__count span { color: var(--ink); font-size: 1.4em; }

/* ---------- Projects ---------- */
.project {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  margin-bottom: clamp(6rem, 12vw, 10rem);
}
.project--flip .project__visual { order: 2; }
.project__visual { display: block; perspective: 1200px; }
.browser {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-2);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.35), 0 18px 36px -18px rgba(0,0,0,.3);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
  transform-style: preserve-3d;
}
.project__visual:hover .browser { box-shadow: 0 60px 100px -30px rgba(0,0,0,.4), 0 0 0 4px var(--lime); }
.browser__bar {
  display: flex; align-items: center; gap: 7px;
  padding: .8rem 1rem;
  background: var(--ink-3);
}
.browser__bar i { width: 11px; height: 11px; border-radius: 50%; background: #4a4a4a; }
.browser__bar i:nth-child(1) { background: #ff5f57; }
.browser__bar i:nth-child(2) { background: #febc2e; }
.browser__bar i:nth-child(3) { background: #28c840; }
.browser__bar span {
  margin-left: .8rem; flex: 1;
  background: rgba(255,255,255,.07); color: #aaa;
  font-size: .78rem; border-radius: 6px; padding: .25rem .8rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.browser__screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.browser__screen > img {
  width: 100%; height: 115%; object-fit: cover; object-position: top;
  transform: translateY(var(--py, 0px)) scale(1.02);
  transition: transform 1.2s var(--ease);
}
.project__visual:hover .browser__screen > img { transform: translateY(var(--py, 0px)) scale(1.07); }
.browser__screen--hero > img { height: 100%; object-position: center; }
.rad-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem;
  text-align: center; padding: 1.5rem;
  background: linear-gradient(180deg, rgba(255,255,255,.15), rgba(0,0,0,.45));
  color: #fff;
}
.rad-overlay img { width: 34%; background: rgba(255,255,255,.92); border-radius: 14px; padding: .6rem 1rem; }
.rad-overlay strong { font-size: clamp(1rem, 2.2vw, 1.7rem); line-height: 1.15; max-width: 22ch; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.rad-overlay span { font-size: .8rem; font-weight: 700; background: #7b3f98; padding: .45rem 1rem; border-radius: 999px; }

.project__logo {
  display: inline-flex; align-items: center; gap: .8rem;
  padding: .7rem 1.1rem .7rem .7rem;
  border-radius: 16px;
  margin-bottom: 1.6rem;
}
.project__logo img { width: 44px; height: 44px; border-radius: 10px; }
.project__logo img.wide { width: auto; height: 74px; border-radius: 0; }
.project__logo--dark { background: #1c2127; color: #fff; }
.project__logo--ink { background: #121110; color: #f2ebdf; }
.project__logo--light { background: #fff; padding: .6rem 1rem; box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 10px 30px -18px rgba(0,0,0,.25); }
.mm-word { display: flex; flex-direction: column; line-height: 1.1; }
.mm-word b { font-family: 'Playfair Display', Georgia, serif; font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
.mm-word small { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: #d4a574; margin-top: .2rem; }
.sk-word { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.45rem; letter-spacing: .01em; }

.project__meta { display: flex; align-items: center; gap: .8rem; margin: 0 0 .7rem; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.project__meta span { color: var(--lime-deep); }
.project h3 { margin: 0 0 1.1rem; font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.04; letter-spacing: -0.04em; font-weight: 800; }
.project__info > p { margin: 0 0 1rem; color: #43433f; }
.tags { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.tags li { font-size: .8rem; font-weight: 700; padding: .38rem .85rem; border-radius: 999px; border: 1.5px solid rgba(17,17,17,.14); transition: background .3s, border-color .3s; }
.project:hover .tags li { border-color: rgba(17,17,17,.3); }
.link-arrow { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.02rem; position: relative; padding-bottom: .3rem; }
.link-arrow::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ink); transform-origin: left; transition: transform .5s var(--ease), background .3s; }
.link-arrow:hover::after { background: var(--lime); transform: scaleX(.4); }
.link-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; transition: transform .45s var(--ease); }
.link-arrow:hover svg { transform: translate(4px, -4px); }

/* ---------- About ---------- */
.about { background: var(--ink); color: var(--paper); padding: clamp(6rem, 12vw, 10rem) 0; overflow: hidden; }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about__mark { color: var(--paper); }
.about .eyebrow { color: var(--muted-dark); }
.about__role { color: var(--lime); font-weight: 700; font-size: 1.15rem; margin: .8rem 0 1.6rem; }
.about__copy p.bio { color: #c9c9c3; font-size: 1.12rem; margin: 0 0 1.2rem; max-width: 56ch; }

/* ---------- Contact ---------- */
.contact { padding: clamp(6rem, 12vw, 10rem) 0; }
.contact__title { max-width: 14ch; margin-bottom: 3rem; }
.contact__ig {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .2rem 2rem;
  padding: clamp(1.6rem, 4vw, 2.8rem) clamp(1.6rem, 4vw, 3rem);
  border-radius: calc(var(--radius) + 8px);
  background: var(--lime);
  overflow: hidden; position: relative; isolation: isolate;
}
.contact__ig::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--ink); transform: translateY(101%);
  transition: transform .7s var(--ease);
}
.contact__ig:hover::before { transform: none; }
.contact__ig:hover { color: var(--paper); }
.contact__ig-label { font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; transition: color .5s; }
.contact__ig-handle { grid-row: 2; font-size: clamp(2.4rem, 8vw, 6.2rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.contact__ig-arrow { grid-row: 1 / 3; grid-column: 2; width: clamp(64px, 9vw, 110px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--lime); transition: background .5s, color .5s, transform .7s var(--ease); }
.contact__ig:hover .contact__ig-arrow { background: var(--lime); color: var(--ink); transform: rotate(45deg); }
.contact__ig-arrow svg { width: 42%; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.contact__ig:hover .contact__ig-label { color: var(--lime); }

/* ---------- Footer ---------- */
.footer { border-top: 1.5px solid rgba(17,17,17,.1); padding: 2rem 0; font-size: .88rem; color: var(--muted); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.footer .logo { color: var(--ink); font-size: 1.35rem; }
.footer__lock { font: inherit; font-weight: 700; color: var(--ink); background: none; border: 1.5px solid rgba(17,17,17,.2); border-radius: 999px; padding: .5rem 1rem; cursor: pointer; transition: background .3s, border-color .3s; }
.footer__lock:hover { background: var(--lime); border-color: var(--lime); }

/* ---------- Scroll reveals ---------- */
.reveal, .reveal-up { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal-up { transform: translateY(80px); }
.reveal.is-in, .reveal-up.is-in { opacity: 1; transform: none; }
.reveal-up .project__info > * { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal-up.is-in .project__info > * { opacity: 1; transform: none; }
.reveal-up.is-in .project__info > *:nth-child(1) { transition-delay: .15s; }
.reveal-up.is-in .project__info > *:nth-child(2) { transition-delay: .22s; }
.reveal-up.is-in .project__info > *:nth-child(3) { transition-delay: .29s; }
.reveal-up.is-in .project__info > *:nth-child(4) { transition-delay: .36s; }
.reveal-up.is-in .project__info > *:nth-child(5) { transition-delay: .43s; }
.reveal-up.is-in .project__info > *:nth-child(6) { transition-delay: .50s; }
.reveal-up.is-in .project__info > *:nth-child(7) { transition-delay: .57s; }
.reveal-up .browser__screen::after {
  content: ''; position: absolute; inset: 0; background: var(--lime);
  transform-origin: right; transition: transform 1.1s var(--ease-in-out) .1s;
}
.reveal-up.is-in .browser__screen::after { transform: scaleX(0); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .project, .project--flip { grid-template-columns: 1fr; }
  .project--flip .project__visual { order: 0; }
  .about__grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero__foot { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav .btn { padding: .6rem .9rem; font-size: .85rem; }
  .section-head { grid-template-columns: 1fr; }
  .section-head__count { margin-top: .8rem; }
  .contact__ig { grid-template-columns: 1fr; }
  .contact__ig-arrow { grid-row: auto; grid-column: auto; margin-top: 1rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-up, .reveal-up .project__info > *, .split-in, .hero__title .word { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none; }
}

/* ---------- Travel Katie Lee cover (until a live screenshot is available) ---------- */
.tk-cover {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  gap: .6rem; padding: 2rem;
  background: linear-gradient(180deg, #f4e6d4 0%, #e9cfae 55%, #c99a72 100%);
  color: #3b2a1e;
}
.browser__screen > img.tk-cover__logo { width: 62%; max-width: 440px; height: auto; object-fit: contain; transform: none; margin: 0 0 .6rem; mix-blend-mode: multiply; transition: transform 1.2s var(--ease); }
.project__visual:hover .browser__screen > img.tk-cover__logo { transform: scale(1.04); }
.tk-cover__eyebrow { margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: #8a5a3b; }
.tk-cover__title { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1; font-weight: 500; }
.tk-cover__places { margin: .2rem 0 0; font-size: .78rem; letter-spacing: .06em; color: #6b4a33; }
