﻿/* Mark Shi × Nudge — high-fidelity shell */

:root {
  --ink: #0a0a0a;
  --muted: #5a5a5a;
  --paper: #ffffff;
  --grid: #e8e8e8;
  --cyan: #7ad7f0;
  --cyan-hot: #4cc9e8;
  --cyan-deep: #2bb8dc;
  --green: #b8f2a0;
  --yellow: #ffe566;
  --pink: #ff8fbf;
  --orange: #ffc14a;
  --red: #ff5a5a;
  --nav-h: 52px;
  --font-ui: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-hand: "Just Me Again Down Here", "Caveat", cursive;
  --font-mono: "DM Mono", "Geist Mono", ui-monospace, monospace;
  --font-display: "Clash Display", "Archivo Black", "Arial Black", sans-serif;
  --g: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.nudge {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.45;
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: var(--g) var(--g);
  background-attachment: fixed;
  overflow-x: hidden;
}

body.nudge a {
  color: inherit;
  text-decoration: none;
}

body.nudge a.nudge-folder--cyan,
body.nudge a.nudge-folder--yellow,
body.nudge a.nudge-folder--green,
body.nudge a.nudge-folder--pink,
body.nudge a.nudge-folder--orange {
  color: #111;
}

body.nudge a.nudge-folder--ink {
  color: #fff;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font: inherit;
}

/* ========== NAV ========== */

.nudge-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--nav-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 0 18px;
  background: #fff;
  border-bottom: 1px solid #111;
}

.nudge-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid #111;
  flex-shrink: 0;
}

.nudge-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nudge-logo svg {
  width: 28px;
  height: 28px;
}

.nudge-nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  margin-left: 8px;
}

.nudge-nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background 0.15s ease, transform 0.15s ease;
}

.nudge-nav-links a:hover {
  background: #f3f3f3;
}

.nudge-nav-links a.is-active {
  background: var(--cyan);
  border-color: #111;
}

.nudge-nav-ico {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.nudge-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nudge-lang {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  background: #efefef;
  color: #888;
  pointer-events: none;
}

.nudge-lang.is-on {
  background: #fff;
  color: #111;
}

.nudge-nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 14px;
  border: 1px solid #111;
  border-radius: 8px;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.15s ease;
}

.nudge-nav-contact:hover,
.nudge-nav-contact.is-active {
  background: #ffe4ef;
}

.nudge-nav-contact svg {
  width: 14px;
  height: 14px;
}

/* ========== CANVAS CHROME ========== */

.nudge-shell {
  padding-top: var(--nav-h);
}

.nudge-canvas-top {
  position: relative;
  height: 28px;
  border-bottom: 1px solid #ddd;
  background: rgba(255, 255, 255, 0.65);
}

.nudge-ruler {
  position: absolute;
  inset: 0 0 0 0;
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent 9px,
    #cfcfcf 9px,
    #cfcfcf 10px
  );
}

.nudge-ruler-nums {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 0 0 2px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: #9a9a9a;
  pointer-events: none;
  overflow: hidden;
}

.nudge-ruler-nums span {
  flex: 0 0 100px;
  width: 100px;
  min-width: 100px;
  padding-left: 4px;
  border-left: 1px solid #bbb;
  height: 100%;
  display: flex;
  align-items: flex-end;
  box-sizing: border-box;
}

.nudge-clock {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  background: #fff;
  padding: 2px 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.nudge-wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ========== HERO ========== */

.nudge-hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h) - 28px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 0 48px;
}

.nudge-hero-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}

.nudge-hero-core {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(720px, 100%);
  padding: 36px 48px 20px;
}

.nudge-name-label {
  margin: 0 0 10px;
  font-family: var(--font-hand);
  font-size: 34px;
  line-height: 1;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  text-decoration-style: double;
}

.nudge-name-box {
  position: relative;
  display: inline-block;
  padding: 10px 22px 6px;
  border: 2px solid var(--cyan-deep);
  background: rgba(255, 255, 255, 0.45);
  z-index: 3;
  cursor: default;
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.nudge-name-box.is-hot {
  background: rgba(255, 255, 255, 0.75);
  box-shadow:
    0 0 0 3px rgba(43, 184, 220, 0.2),
    0 12px 28px rgba(0, 0, 0, 0.08);
}

.nudge-name-box .nudge-handle {
  opacity: 0.55;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nudge-name-box.is-hot .nudge-handle {
  opacity: 1;
}

.nudge-name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(64px, 12vw, 118px);
  letter-spacing: -0.045em;
  line-height: 0.9;
  text-transform: uppercase;
}

.nudge-handle {
  position: absolute;
  width: 9px;
  height: 9px;
  background: #fff;
  border: 2px solid var(--cyan-deep);
  z-index: 4;
}

.nudge-handle--tl { top: -6px; left: -6px; }
.nudge-handle--tc { top: -6px; left: 50%; transform: translateX(-50%); }
.nudge-handle--tr { top: -6px; right: -6px; }
.nudge-handle--ml { top: 50%; left: -6px; transform: translateY(-50%); }
.nudge-handle--mr { top: 50%; right: -6px; transform: translateY(-50%); }
.nudge-handle--bl { bottom: -6px; left: -6px; }
.nudge-handle--bc { bottom: -6px; left: 50%; transform: translateX(-50%); }
.nudge-handle--br { bottom: -6px; right: -6px; }

.nudge-avail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #444;
}

.nudge-avail-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan-deep);
  box-shadow: 0 0 0 4px rgba(43, 184, 220, 0.22);
}

.nudge-hero-foot {
  margin-top: 0;
  text-align: center;
  position: relative;
  z-index: 2;
}

.nudge-tagline {
  margin: 0 0 22px;
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.nudge-tagline em {
  font-style: normal;
  font-weight: 700;
}

.nudge-ico {
  display: inline-block;
  vertical-align: -0.15em;
  width: 1.05em;
  height: 1.05em;
}

.nudge-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1.5px solid #111;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nudge-btn:hover {
  transform: translateY(-1px);
}

body.nudge a.nudge-btn--solid,
.nudge-btn--solid {
  background: #111;
  color: #fff;
}

body.nudge a.nudge-btn--solid:hover,
.nudge-btn--solid:hover {
  background: #000;
  color: #fff;
}

body.nudge a.nudge-btn--ghost,
.nudge-btn--ghost {
  background: #fff;
  color: #111;
}

.nudge-btn--solid .nudge-btn-mark {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: #7ad7f0;
  border: 1px solid #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

/* Stickers & cursors */

.nudge-float {
  position: absolute;
  z-index: 5;
  user-select: none;
  cursor: default;
  will-change: transform;
  transform-origin: center center;
}

.nudge-float.is-hot > * {
  box-shadow: 4px 6px 0 rgba(0, 0, 0, 0.12);
}

.nudge-note {
  padding: 11px 13px;
  border: 1.5px solid #111;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.08);
  max-width: 190px;
  text-align: left;
}

.nudge-note--green { background: var(--green); }
.nudge-note--yellow { background: var(--yellow); }

.nudge-pill {
  padding: 10px 16px;
  border: 1.5px solid #111;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.08);
}

.nudge-pill--orange { background: var(--orange); }

.nudge-loc {
  position: relative;
  padding: 12px 16px;
  background: var(--pink);
  border: 1.5px solid #111;
  border-radius: 18px 18px 18px 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.08);
}

.nudge-avatar-bubble {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid #111;
  overflow: hidden;
  background: #ddd;
  box-shadow: 0 0 0 3px var(--cyan);
  position: relative;
}

.nudge-avatar-bubble img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nudge-avatar-bubble::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 10px;
  height: 10px;
  background: var(--cyan);
  border-right: 2px solid #111;
  border-bottom: 2px solid #111;
  transform: translateX(-50%) rotate(45deg);
}

.nudge-cursor {
  width: 22px;
  height: 22px;
  filter: drop-shadow(1px 1px 0 #111);
}

.nudge-float--note1 { top: 8px; left: -8px; transform: rotate(-7deg); z-index: 6; }
.nudge-float--note2 { top: 18px; right: -12px; transform: rotate(6deg); z-index: 6; }
.nudge-float--av1 { top: 42%; left: -72px; }
.nudge-float--av2 { top: 48%; right: -72px; }
.nudge-float--role { top: 52%; left: -24px; transform: rotate(-5deg); z-index: 6; }
.nudge-float--loc { top: 56%; right: -18px; transform: rotate(7deg); z-index: 6; }
.nudge-float--cur1 { top: 68%; left: 8%; }
.nudge-float--cur2 { top: 70%; right: 10%; }

/* ========== ABOUT ========== */

.nudge-section {
  padding: 80px 0;
}

.nudge-about {
  position: relative;
  padding-top: 100px;
}

.nudge-hand-label {
  font-family: var(--font-hand);
  font-size: 36px;
  margin: 0;
  line-height: 1;
}

.nudge-about .nudge-hand-label {
  position: absolute;
  top: 24px;
  left: 4%;
  transform: rotate(-8deg);
}

.nudge-arc {
  position: absolute;
  top: 10px;
  left: 10%;
  right: 10%;
  height: 80px;
  border: 2px solid #cfcfcf;
  border-color: #cfcfcf transparent transparent transparent;
  border-radius: 50%;
  pointer-events: none;
}

.nudge-select-box {
  position: relative;
  display: inline-block;
  margin: 0 auto 28px;
  padding: 8px 18px;
  border: 1.5px solid #111;
  background: #fff;
  font-family: var(--font-hand);
  font-size: 32px;
  line-height: 1;
}

.nudge-about-layout {
  display: grid;
  grid-template-columns: 210px 1fr 210px;
  gap: 36px;
  align-items: center;
}

.nudge-about-layout--solo {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin: 0 auto;
  justify-items: center;
}

.nudge-polaroid {
  position: relative;
  width: 100%;
  max-width: 210px;
  margin: 0;
  background: #fff;
  border: 0;
  border-radius: 2px;
  padding: 14px 14px 58px;
  box-shadow:
    0 1px 1px rgba(0, 0, 0, 0.04),
    0 8px 20px rgba(0, 0, 0, 0.1),
    0 18px 36px rgba(0, 0, 0, 0.06),
    inset 0 0 0 1px rgba(0, 0, 0, 0.04);
  transform-origin: center center;
}

.nudge-polaroid::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  pointer-events: none;
}

.nudge-polaroid img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  object-position: center top;
  background: #e8e8e8;
  border: 0;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.nudge-polaroid figcaption {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 14px;
  margin: 0;
  text-align: center;
  font-family: var(--font-hand);
  font-size: 28px;
  line-height: 1;
  color: #1a1a1a;
  letter-spacing: 0.01em;
}

.nudge-polaroid--l { transform: rotate(5deg); }
.nudge-polaroid--r { transform: rotate(-6deg); }

.nudge-about-copy {
  text-align: center;
}

.nudge-about-copy p {
  margin: 0;
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.35;
}

.nudge-about-copy .inline-av {
  display: inline-block;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid #111;
  vertical-align: -8px;
  object-fit: cover;
  margin: 0 4px;
}

.nudge-skill-board {
  display: grid;
  grid-template-columns: auto auto;
  gap: 12px 18px;
  justify-content: center;
  align-items: center;
  margin-top: 34px;
}

.nudge-skill-pair {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nudge-skill {
  padding: 12px 16px;
  border: 1.5px solid #111;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.nudge-skill--y { background: var(--yellow); }
.nudge-skill--g { background: var(--green); }
.nudge-skill--p { background: var(--pink); }
.nudge-skill--c { background: var(--cyan); }

.nudge-skill-ico {
  width: 42px;
  height: 42px;
  border: 1.5px solid #111;
  border-radius: 8px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.nudge-explore {
  margin: 0 0 28px;
  text-align: center;
  font-family: var(--font-hand);
  font-size: 32px;
}

#work .nudge-explore {
  margin: 0 0 20px;
}

.nudge-explore span {
  border-bottom: 3px solid #111;
}

/* ========== FEATURED WORKS ========== */

.nudge-works-head {
  margin-bottom: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nudge-works-head h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(44px, 8vw, 80px);
  font-weight: 700;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 0.92;
}

.nudge-works-blurb {
  display: inline-block;
  margin: 0;
  max-width: 340px;
  padding: 12px 14px;
  background: #fff6bf;
  border: 1.5px solid #111;
  border-radius: 6px;
  font-size: 14px;
  text-align: left;
}

.nudge-folder-list {
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding-top: 8px;
}

.nudge-folder-wrap {
  filter: drop-shadow(0 0 0.01px #111) drop-shadow(1.5px 0 0 #111) drop-shadow(-1.5px 0 0 #111) drop-shadow(0 1.5px 0 #111) drop-shadow(0 -1.5px 0 #111);
  transition: transform 0.18s ease, filter 0.18s ease;
}

.nudge-folder-wrap:hover {
  filter: drop-shadow(0 0 0.01px #111) drop-shadow(1.5px 0 0 #111) drop-shadow(-1.5px 0 0 #111) drop-shadow(0 1.5px 0 #111) drop-shadow(0 -1.5px 0 #111) drop-shadow(6px 8px 0 rgba(0, 0, 0, 0.12));
}

.nudge-folder {
  --folder-tab-h: 34px;
  --folder-tab-w: 168px;
  position: relative;
  display: block;
  min-height: 480px;
  text-decoration: none;
  color: inherit;
  background: #3ec6ec;
  clip-path: polygon(
    0 0,
    var(--folder-tab-w) 0,
    calc(var(--folder-tab-w) + 28px) var(--folder-tab-h),
    100% var(--folder-tab-h),
    100% 100%,
    0 100%
  );
}

.nudge-folder--cyan { background: #3ec6ec; }
.nudge-folder--ink { background: #111; color: #fff; }
.nudge-folder--yellow { background: #ffe27a; color: #111; }
.nudge-folder--green { background: #b6ef86; color: #111; }
.nudge-folder--pink { background: #ff8fbf; color: #111; }
.nudge-folder--orange { background: #ff9f4a; color: #111; }

.nudge-folder-tab {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--folder-tab-w);
  height: var(--folder-tab-h);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 2;
}

.nudge-folder-tab svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.nudge-folder-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.05fr) minmax(240px, 1fr);
  min-height: 480px;
  padding: var(--folder-tab-h) 0 0;
  align-items: stretch;
}

.nudge-folder-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  min-height: 100%;
  padding: 28px 16px 32px 36px;
  order: 1;
}

.nudge-folder-body {
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 14px;
  flex: 0 0 auto;
  width: 100%;
}

.nudge-folder-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nudge-folder-date::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.nudge-folder-title {
  margin: 0;
  font-family: var(--font-ui);
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.nudge-folder-desc {
  margin: 0;
  max-width: 34ch;
  font-size: 15px;
  line-height: 1.45;
  opacity: 0.92;
}

.nudge-folder-cta {
  display: inline-block;
  width: fit-content;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}

.nudge-folder-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin-top: auto;
  flex: 0 0 auto;
  padding-top: 28px;
}

.nudge-chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px 8px;
  background: #111;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  clip-path: polygon(
    0 8px,
    9px 8px,
    9px 0,
    20px 0,
    20px 8px,
    100% 8px,
    100% 100%,
    0 100%
  );
}

.nudge-folder--ink .nudge-chip {
  background: #fff;
  color: #111;
}

.nudge-folder-media {
  position: relative;
  padding: 28px 36px 28px 16px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 0;
  order: 2;
}

.nudge-viewfinder {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 1 / 1;
  flex: 0 0 auto;
  margin-left: auto;
  background: #1a1a1a;
  overflow: hidden;
}

.nudge-viewfinder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  inset: 0;
  display: block;
}

.nudge-viewfinder::before,
.nudge-viewfinder::after,
.nudge-viewfinder .nudge-corner-bl,
.nudge-viewfinder .nudge-corner-br {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  z-index: 3;
  pointer-events: none;
  border-color: #111;
  border-style: solid;
}

.nudge-folder--ink .nudge-viewfinder::before,
.nudge-folder--ink .nudge-viewfinder::after,
.nudge-folder--ink .nudge-viewfinder .nudge-corner-bl,
.nudge-folder--ink .nudge-viewfinder .nudge-corner-br {
  border-color: #fff;
}

.nudge-viewfinder::before {
  top: 0;
  left: 0;
  border-width: 2.5px 0 0 2.5px;
}

.nudge-viewfinder::after {
  top: 0;
  right: 0;
  border-width: 2.5px 2.5px 0 0;
}

.nudge-viewfinder .nudge-corner-bl {
  bottom: 0;
  left: 0;
  border-width: 0 0 2.5px 2.5px;
}

.nudge-viewfinder .nudge-corner-br {
  bottom: 0;
  right: 0;
  border-width: 0 2.5px 2.5px 0;
}

.nudge-img-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  background: #111;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nudge-img-badge svg {
  width: 11px;
  height: 11px;
}

.nudge-folder--ink .nudge-img-badge {
  background: #fff;
  color: #111;
}

.nudge-center {
  text-align: center;
  margin-top: 36px;
}

.nudge-btn--ghost {
  background: #fff;
}

/* ========== TALK ========== */

.nudge-talk {
  text-align: center;
  padding-bottom: 120px;
}

.nudge-talk h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 84px);
  font-weight: 400;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.nudge-talk p {
  margin: 0 auto 28px;
  max-width: 48ch;
  color: var(--muted);
  font-size: 16px;
}

/* ========== SUBPAGES ========== */

.nudge-page-hero {
  padding: 48px 0 12px;
}

.nudge-page-hero h1 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(44px, 8vw, 72px);
  font-weight: 400;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 0.95;
}

.nudge-page-hero p {
  margin: 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: 16px;
}

.nudge-kicker {
  font-family: var(--font-hand);
  font-size: 30px;
  margin: 0 0 6px;
}

.nudge-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
}

.nudge-tabs a {
  padding: 8px 14px;
  border: 1.5px solid #111;
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nudge-tabs a:hover { background: var(--cyan); }

.nudge-prose {
  max-width: 68ch;
}

.nudge-prose p {
  font-size: 17px;
  color: #222;
}

.nudge-prose h2 {
  font-family: var(--font-ui);
  font-size: 28px;
  letter-spacing: -0.03em;
  margin: 36px 0 12px;
}

.nudge-timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.nudge-timeline-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: 20px;
  background: #fff;
  border: 1.5px solid #111;
  border-radius: 12px;
}

.nudge-timeline-item time {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.nudge-timeline-item h3 {
  margin: 0 0 4px;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.nudge-timeline-item .role {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.nudge-timeline-item p {
  margin: 0 0 8px;
  font-size: 15px;
}

.nudge-case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.nudge-case-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1.5px solid #111;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nudge-case-card:hover {
  transform: translateY(-3px);
  box-shadow: 5px 5px 0 #111;
}

.nudge-case-card-media {
  aspect-ratio: 16 / 10;
  background: #111;
  overflow: hidden;
}

.nudge-case-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nudge-case-card-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nudge-case-card-body h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.nudge-case-card-body p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.nudge-play-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.nudge-play-card {
  background: #fff;
  border: 1.5px solid #111;
  border-radius: 12px;
  padding: 18px;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nudge-play-card:hover {
  transform: translateY(-3px) rotate(-0.4deg);
  box-shadow: 4px 4px 0 #111;
}

.nudge-play-card:nth-child(1) { background: var(--cyan); }
.nudge-play-card:nth-child(2) { background: var(--yellow); }
.nudge-play-card:nth-child(3) { background: var(--pink); }
.nudge-play-card:nth-child(4) { background: var(--green); }
.nudge-play-card:nth-child(5) { background: var(--orange); }

.nudge-play-card h3 {
  margin: 0;
  font-size: 22px;
}

.nudge-play-card p {
  margin: 0;
  font-size: 14px;
  flex: 1;
}

.nudge-contact-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
}

.nudge-contact-main,
.nudge-contact-side {
  border: 1.5px solid #111;
  border-radius: 16px;
  padding: 32px;
}

.nudge-contact-main {
  background: #fff;
}

.nudge-contact-main h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 400;
  text-transform: uppercase;
}

.nudge-contact-side {
  background: var(--cyan);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.nudge-mail {
  font-size: 20px;
  font-weight: 700;
  word-break: break-all;
}

.nudge-footer {
  padding: 20px 0 40px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.nudge-footer a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ===== Motion system ===== */

.nudge-intro-bubble {
  display: inline-block;
  position: relative;
  margin: 0 auto 18px;
  padding: 12px 16px;
  min-width: 88px;
  background: var(--cyan);
  border: 1.5px solid #111;
  border-radius: 12px;
  font-family: var(--font-hand);
  font-size: 28px;
  line-height: 1.1;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);
  z-index: 4;
}

.nudge-intro-bubble::after {
  content: "";
  position: absolute;
  left: 18px;
  bottom: -8px;
  width: 14px;
  height: 14px;
  background: var(--cyan);
  border-right: 1.5px solid #111;
  border-bottom: 1.5px solid #111;
  transform: rotate(45deg);
}

.nudge-intro-bubble.is-typing::before {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -0.12em;
  background: #111;
  animation: nudge-caret 0.75s steps(1) infinite;
}

@keyframes nudge-caret {
  50% {
    opacity: 0;
  }
}

/* Enter / reveal visibility is driven by GSAP (autoAlpha). */
.nudge-float {
  will-change: transform;
  transform-origin: center center;
}

.nudge-folder-wrap {
  transform-style: preserve-3d;
}

.nudge-folder {
  transform-style: preserve-3d;
}

.nudge-you-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 400;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  will-change: transform;
}

.nudge-you-cursor.is-on {
  opacity: 1;
}

.nudge-you-label {
  position: relative;
  display: inline-block;
  padding: 4px 9px;
  background: #111 !important;
  color: #fff !important;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  -webkit-text-fill-color: #fff;
  box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.12);
}

.nudge-you-label::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5a3c;
  border: 1.5px solid #111;
  box-shadow: 0 0 0 2px rgba(255, 90, 60, 0.25);
}

.nudge-btn {
  transition:
    transform 0.18s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.18s ease,
    background 0.15s ease;
}

.nudge-btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.nudge-btn:active {
  transform: translateY(0) scale(0.98);
}

.nudge-nav-links a,
.nudge-nav-contact {
  transition:
    background 0.18s ease,
    transform 0.18s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.15s ease;
}

.nudge-nav-links a:hover,
.nudge-nav-contact:hover {
  transform: translateY(-1px);
}

.nudge-avail-dot {
  animation: nudge-pulse 1.8s ease-in-out infinite;
}

@keyframes nudge-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(43, 184, 220, 0.22);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(43, 184, 220, 0.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-enter],
  [data-reveal],
  .nudge-intro-bubble,
  .nudge-name-box[data-enter].is-in,
  .nudge-avail-dot {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
    transition: none !important;
  }

  .nudge-you-cursor {
    display: none !important;
  }
}

/* case pages */

body.nudge-case {
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: var(--g) var(--g);
}

body.nudge-case .page {
  max-width: none;
  padding: 0;
  padding-top: calc(var(--nav-h) + 16px);
  background: transparent;
}

body.nudge-case .header,
body.nudge-case .float-nav {
  display: none !important;
}

body.nudge-case .case-study,
body.nudge-case .hobby-hero,
body.nudge-case main.container {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 80px;
}

/* responsive */

@media (max-width: 1100px) {
  .nudge-float--av1 { left: -36px; }
  .nudge-float--av2 { right: -36px; }
}

@media (max-width: 980px) {
  :root {
    --g: 56px;
  }

  .nudge-wrap {
    width: min(1180px, calc(100% - 32px));
  }

  .nudge-about-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    justify-items: center;
  }

  .nudge-about-copy {
    order: 1;
    width: 100%;
  }

  .nudge-polaroid--l {
    order: 2;
  }

  .nudge-polaroid--r {
    order: 3;
  }

  .nudge-polaroid {
    max-width: 220px;
    margin: 0 auto;
  }

  .nudge-case-grid,
  .nudge-play-grid,
  .nudge-contact-panel {
    grid-template-columns: 1fr;
  }

  .nudge-folder-main {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .nudge-folder-media {
    order: -1;
    padding: 22px 22px 10px;
    justify-content: center;
  }

  .nudge-viewfinder {
    margin-left: 0;
    width: min(100%, 360px);
  }

  .nudge-folder-content {
    order: 0;
    padding: 8px 24px 28px;
    align-items: flex-start;
    text-align: left;
  }

  .nudge-folder {
    min-height: 0;
    --folder-tab-w: 150px;
  }

  .nudge-folder-title {
    font-size: clamp(28px, 7vw, 40px);
  }

  .nudge-folder-desc {
    max-width: none;
  }

  .nudge-folder-list {
    gap: 36px;
  }

  .nudge-timeline-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .nudge-hero-core {
    padding: 24px 20px 16px;
  }

  .nudge-float--av1,
  .nudge-float--av2 {
    display: none;
  }
}

@media (max-width: 720px) {
  :root {
    --nav-h: 56px;
    --g: 48px;
  }

  .nudge-nav {
    height: var(--nav-h);
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    padding: 0 12px;
  }

  .nudge-nav-links {
    margin: 0;
    gap: 2px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    mask-image: linear-gradient(90deg, #000 85%, transparent);
  }

  .nudge-nav-links::-webkit-scrollbar {
    display: none;
  }

  .nudge-nav-links a {
    padding: 6px 10px;
    font-size: 12px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .nudge-nav-ico {
    display: none;
  }

  .nudge-lang {
    display: none;
  }

  .nudge-nav-contact {
    padding: 6px 10px;
    font-size: 12px;
  }

  .nudge-nav-contact svg {
    width: 13px;
    height: 13px;
  }

  .nudge-shell {
    padding-top: var(--nav-h);
  }

  .nudge-canvas-top {
    height: 22px;
  }

  .nudge-clock {
    font-size: 10px;
    padding: 1px 6px;
  }

  .nudge-wrap {
    width: calc(100% - 24px);
  }

  .nudge-hero {
    min-height: auto;
    padding: 20px 0 36px;
    justify-content: flex-start;
  }

  .nudge-hero-stage {
    min-height: auto;
    gap: 20px;
  }

  .nudge-hero-core {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 12px 4px 8px;
    gap: 0;
  }

  .nudge-intro-bubble {
    order: 1;
    margin-bottom: 10px;
  }

  .nudge-name-label {
    order: 2;
    width: 100%;
    font-size: 28px;
    margin-bottom: 8px;
  }

  .nudge-name-box {
    order: 3;
    padding: 8px 14px 4px;
    max-width: 100%;
  }

  .nudge-name {
    font-size: clamp(42px, 14vw, 72px);
  }

  .nudge-avail {
    order: 4;
    width: 100%;
    justify-content: center;
    margin-top: 12px;
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .nudge-float--note1,
  .nudge-float--note2,
  .nudge-float--role,
  .nudge-float--loc {
    position: static !important;
    display: inline-flex;
    order: 5;
    margin: 14px 6px 0;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
  }

  .nudge-float--av1,
  .nudge-float--av2,
  .nudge-float--cur1,
  .nudge-float--cur2 {
    display: none !important;
  }

  .nudge-note,
  .nudge-pill,
  .nudge-loc {
    font-size: 12px;
    padding: 9px 11px;
    max-width: 160px;
  }

  .nudge-tagline {
    font-size: clamp(22px, 6.5vw, 30px);
    padding: 0 4px;
  }

  .nudge-section {
    padding: 56px 0;
  }

  .nudge-about {
    padding-top: 72px;
  }

  .nudge-about .nudge-hand-label {
    position: static;
    display: block;
    text-align: center;
    transform: none;
    margin-bottom: 10px;
  }

  .nudge-arc {
    display: none;
  }

  .nudge-select-box {
    font-size: 26px;
    margin-bottom: 22px;
  }

  .nudge-about-layout {
    gap: 22px;
  }

  .nudge-about-copy p {
    font-size: clamp(20px, 5.6vw, 26px);
  }

  .nudge-skill-board {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .nudge-skill-pair {
    justify-content: space-between;
    width: 100%;
  }

  .nudge-polaroid {
    max-width: 180px;
    padding: 12px 12px 48px;
  }

  .nudge-polaroid figcaption {
    font-size: 22px;
    bottom: 12px;
  }

  .nudge-works-head {
    margin-bottom: 28px;
  }

  .nudge-works-head h2 {
    font-size: clamp(36px, 12vw, 56px);
  }

  .nudge-works-blurb {
    max-width: 100%;
    font-size: 13px;
  }

  .nudge-folder-list {
    gap: 28px;
  }

  .nudge-folder {
    --folder-tab-h: 30px;
    --folder-tab-w: min(148px, 46vw);
  }

  .nudge-folder-tab {
    font-size: 11px;
    padding: 0 12px;
    gap: 6px;
  }

  .nudge-folder-media {
    padding: 18px 18px 8px;
  }

  .nudge-viewfinder {
    width: 100%;
    max-width: none;
  }

  .nudge-folder-content {
    padding: 6px 18px 22px;
  }

  .nudge-folder-body {
    gap: 10px;
  }

  .nudge-folder-tags {
    padding-top: 18px;
    gap: 8px;
  }

  .nudge-chip {
    font-size: 10px;
    padding: 9px 10px 7px;
  }

  .nudge-talk h2 {
    font-size: clamp(36px, 12vw, 56px);
  }

  .nudge-talk p {
    font-size: 15px;
  }

  .nudge-page-hero h1 {
    font-size: clamp(36px, 12vw, 56px);
  }

  .nudge-btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .nudge-center .nudge-btn {
    width: auto;
  }

  body.nudge-case .page {
    padding-top: calc(var(--nav-h) + 12px);
  }

  body.nudge-case .case-study,
  body.nudge-case .hobby-hero,
  body.nudge-case main.container {
    width: calc(100% - 24px);
    padding-bottom: 64px;
  }

  .nudge-you-cursor {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .nudge-nav-contact {
    width: 36px;
    height: 36px;
    padding: 0;
    justify-content: center;
    border-radius: 8px;
    font-size: 0;
    gap: 0;
    color: transparent;
  }

  .nudge-nav-contact svg {
    width: 16px;
    height: 16px;
    margin: 0;
    color: #111;
  }

  .nudge-about-layout:not(.nudge-about-layout--solo) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: start;
  }

  .nudge-about-layout:not(.nudge-about-layout--solo) .nudge-about-copy {
    grid-column: 1 / -1;
    order: -1;
  }

  .nudge-folder-date {
    font-size: 11px;
  }

  .nudge-img-badge {
    font-size: 9px;
    padding: 4px 7px;
  }

  .nudge-explore {
    font-size: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
