:root {
  --blue: #0b4bff;
  --blue-soft: #3d6fff;
  --blue-deep: #062fb0;
  --ink: #0e1014;
  --muted: #5c616b;
  --paper: #e6e8ed;
  --paper-2: #eef0f4;
  --line: rgba(14, 16, 20, 0.1);
  --white: #ffffff;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 4.75rem;
}

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

html {
  scroll-behavior: auto;
}

@media (prefers-reduced-motion: no-preference) {
  html.lenis,
  html.lenis body {
    height: auto;
  }
}

body {
  font-family: "Sora", system-ui, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.has-cursor {
  cursor: none;
}

body.has-cursor a,
body.has-cursor button,
body.has-cursor [data-cursor="link"] {
  cursor: none;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

ul {
  list-style: none;
}

::selection {
  background: var(--blue);
  color: var(--white);
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 1002;
  background: linear-gradient(90deg, var(--blue), #7aa0ff);
  box-shadow: 0 0 16px rgba(11, 75, 255, 0.55);
  transition: width 0.1s linear;
}

/* —— Loader —— */
.loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--white);
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}

.loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__inner {
  text-align: center;
  width: min(280px, 70vw);
}

.loader__brand {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  letter-spacing: 0.22em;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  animation: pulseBrand 1.4s ease-in-out infinite;
}

.loader__bar {
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
  border-radius: 99px;
}

.loader__bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--blue);
  animation: loadBar 1.35s var(--ease) forwards;
}

.loader__year {
  margin-top: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
}

/* —— Cursor —— */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1500;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

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

.cursor__dot,
.cursor__ring {
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cursor__dot {
  width: 6px;
  height: 6px;
  background: var(--blue);
}

.cursor__ring {
  width: 42px;
  height: 42px;
  border: 1.5px solid rgba(11, 75, 255, 0.7);
  transition: width 0.35s var(--ease), height 0.35s var(--ease), background 0.35s, border-color 0.35s;
}

.cursor.is-hover .cursor__ring {
  width: 70px;
  height: 70px;
  background: rgba(11, 75, 255, 0.12);
  border-color: var(--blue);
}

.eyebrow {
  font-family: "Syne", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.9rem;
}

h1,
h2,
h3,
.nav__brand,
.hero__brand {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.15rem;
  padding: 0 1.55rem;
  border-radius: 999px;
  font-family: "Syne", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(11, 75, 255, 0.28);
}

.btn--primary:hover {
  background: var(--blue-deep);
  box-shadow: 0 16px 36px rgba(11, 75, 255, 0.4);
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.06);
}

.btn--ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.reveal {
  opacity: 0;
  transform: translateY(48px);
  filter: blur(6px);
  transition:
    opacity 1.15s var(--ease),
    transform 1.15s var(--ease),
    filter 1.15s var(--ease);
  transition-delay: var(--d, 0ms);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

.reveal-img {
  overflow: hidden;
}

.reveal-img img {
  transform: scale(1.18);
  transition: transform 1.6s var(--ease);
}

.reveal.is-in .reveal-img img,
.reveal-img.is-in img {
  transform: scale(1);
}

/* —— Nav —— */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  color: var(--white);
  transition: background 0.45s var(--ease), color 0.45s var(--ease), border-color 0.45s, backdrop-filter 0.45s;
}

.nav.is-solid {
  background: rgba(230, 232, 237, 0.86);
  backdrop-filter: blur(18px);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.nav__brand {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.nav__links {
  display: flex;
  gap: 2.1rem;
}

.nav__links a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.85;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1.5px;
  background: currentColor;
  transition: width 0.35s var(--ease);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.nav__toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 1.5rem) clamp(1.25rem, 4vw, 3rem) 3.5rem;
  color: var(--white);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  will-change: transform;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  animation: heroZoom 10s var(--ease) forwards;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 10, 16, 0.45) 0%, rgba(8, 10, 16, 0.18) 40%, rgba(8, 10, 16, 0.82) 100%),
    linear-gradient(100deg, rgba(8, 10, 16, 0.55) 0%, transparent 60%);
}

.hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__frame {
  position: absolute;
  inset: calc(var(--nav-h) + 1rem) clamp(1.25rem, 4vw, 3rem) auto;
  z-index: 1;
  display: flex;
  justify-content: space-between;
}

.hero__corner {
  font-family: "Syne", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.75;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 48rem;
}

.hero__label {
  font-family: "Syne", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1rem;
}

.hero__brand {
  font-size: clamp(4rem, 14vw, 9rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  margin-bottom: 1.2rem;
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
}

.hero__line {
  display: block;
  overflow: hidden;
}

.hero__word {
  display: inline-block;
  transform: translateY(110%);
  animation: wordUp 1.1s var(--ease) forwards;
}

.hero__line:nth-child(2) .hero__word {
  animation-delay: 0.12s;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.92);
}

.hero.is-ready .hero__word {
  animation-play-state: running;
}

.hero__lead {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  font-weight: 300;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 2rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
}

.hero__meta {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 36rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero__meta span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 0.3rem;
}

.hero__meta strong {
  font-family: "Syne", sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
}

.hero__scroll {
  position: absolute;
  right: clamp(1.25rem, 4vw, 3rem);
  bottom: 2.5rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-family: "Syne", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.75;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(transparent, #fff);
  animation: scrollLine 1.8s ease-in-out infinite;
}

.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  animation: riseIn 0.9s var(--ease) forwards;
}

.hero__label.reveal-item { animation-delay: 0.45s; }
.hero__lead.reveal-item { animation-delay: 0.7s; }
.hero__cta.reveal-item { animation-delay: 0.85s; }
.hero__meta.reveal-item { animation-delay: 1s; }
.hero__corner--tl { animation-delay: 0.35s; }
.hero__corner--tr { animation-delay: 0.45s; }

/* —— Marquee —— */
.marquee {
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  padding: 1.1rem 0;
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.marquee__track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  font-family: "Syne", sans-serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__track span:nth-child(even) {
  color: var(--blue-soft);
  opacity: 0.8;
}

/* —— About —— */
.about {
  padding: clamp(4.5rem, 10vw, 8rem) clamp(1.25rem, 4vw, 3rem);
  background:
    radial-gradient(ellipse 70% 45% at 100% 0%, rgba(11, 75, 255, 0.09), transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 80%, rgba(11, 75, 255, 0.05), transparent 50%),
    var(--paper);
}

.about__top {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.about__visual {
  position: relative;
  min-height: 34rem;
  overflow: visible;
  padding-right: clamp(0.5rem, 3vw, 1.5rem);
  padding-bottom: 0.5rem;
}

.about__portrait {
  position: relative;
  width: min(100%, 400px);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #1a1c22;
  box-shadow: 0 30px 80px rgba(14, 16, 20, 0.25);
}

.about__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.about__portrait:hover img {
  transform: scale(1.04);
}

.about__portrait-glow {
  position: absolute;
  inset: auto -10% -10% auto;
  width: 55%;
  height: 40%;
  background: radial-gradient(circle, rgba(11, 75, 255, 0.45), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.about__polaroids {
  position: absolute;
  right: 0;
  top: 12%;
  bottom: auto;
  width: min(42%, 200px);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  z-index: 2;
}

.about__shot {
  overflow: hidden;
  background: var(--white);
  padding: 0.4rem 0.4rem 1.25rem;
  box-shadow: 0 18px 40px rgba(14, 16, 20, 0.18);
  margin: 0;
}

.about__shot img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.about__shot--1 {
  transform: rotate(-7deg);
  z-index: 1;
  position: relative;
}

.about__shot--2 {
  transform: rotate(6deg) translateX(12%);
  z-index: 2;
  position: relative;
}

.about__badge {
  position: absolute;
  top: 1rem;
  left: -0.75rem;
  z-index: 2;
  font-family: "Syne", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: var(--blue);
  color: var(--white);
  padding: 0.55rem 0.9rem;
  box-shadow: 0 12px 28px rgba(11, 75, 255, 0.35);
}

.about__copy h2 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  margin-bottom: 0.85rem;
}

.about__role {
  font-family: "Syne", sans-serif;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.about__bio {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 38rem;
  margin-bottom: 1.75rem;
}

.about__contacts {
  display: grid;
  gap: 0.75rem;
}

.chip {
  display: grid;
  gap: 0.15rem;
  padding: 0.95rem 1.1rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  transition: border-color 0.3s, transform 0.35s var(--ease), box-shadow 0.35s;
}

a.chip:hover {
  border-color: var(--blue);
  box-shadow: 0 10px 30px rgba(11, 75, 255, 0.12);
}

.chip span {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.chip strong {
  font-family: "Syne", sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  word-break: break-word;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  padding: 1.75rem 0;
  border-block: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--blue);
  margin-bottom: 0.35rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.9rem;
}

.about__panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.panel {
  padding: 1.6rem 1.4rem 1.8rem;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid var(--line);
  transition: transform 0.45s var(--ease), box-shadow 0.45s, border-color 0.45s;
}

.panel:hover {
  transform: translateY(-6px);
  border-color: rgba(11, 75, 255, 0.25);
  box-shadow: 0 20px 50px rgba(14, 16, 20, 0.08);
}

.panel__num {
  font-family: "Syne", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--blue);
  margin-bottom: 0.85rem;
}

.panel h3 {
  font-size: 1.35rem;
  margin-bottom: 1.35rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.timeline li + li,
.job {
  margin-top: 1.2rem;
}

.timeline__year {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.3rem;
}

.timeline strong,
.job > strong {
  display: block;
  font-family: "Syne", sans-serif;
  font-weight: 650;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.timeline p,
.job__role {
  color: var(--muted);
  font-size: 0.92rem;
}

.job__role {
  margin-bottom: 0.9rem;
  font-weight: 500;
  color: var(--ink);
}

.job__list {
  display: grid;
  gap: 0.7rem;
}

.job__list li {
  font-size: 0.9rem;
  color: var(--muted);
  padding-left: 0.85rem;
  border-left: 2px solid rgba(11, 75, 255, 0.35);
}

.job__list b {
  color: var(--ink);
  font-weight: 600;
}

.skill-groups {
  display: grid;
  gap: 1.25rem;
}

.skill-groups h4 {
  font-family: "Syne", sans-serif;
  font-size: 0.85rem;
  margin-bottom: 0.7rem;
  color: var(--muted);
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.skills li {
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.55);
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.skills li:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.quote {
  max-width: 52rem;
  margin: 0 auto;
  text-align: center;
  padding: 2.5rem 1rem 0;
}

.quote p {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.25rem, 2.8vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin-bottom: 1rem;
}

.quote cite {
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}

/* —— Work —— */
.work,
.graphic {
  padding: clamp(4rem, 9vw, 7rem) clamp(1.25rem, 4vw, 3rem);
}

.work {
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(11, 75, 255, 0.06), transparent 55%),
    var(--paper-2);
}

.work__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 2rem;
}

.work__head .section-head {
  margin-bottom: 0;
}

.work__aside {
  text-align: right;
  flex-shrink: 0;
}

.work__count {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 0.55rem;
  margin-bottom: 0.35rem;
}

.work__count strong {
  font-family: "Syne", sans-serif;
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--blue);
  line-height: 1;
}

.work__count span {
  font-size: 0.95rem;
  color: var(--muted);
}

.work__note {
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 14rem;
  margin-left: auto;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.25rem;
}

.section-head h2 {
  font-size: clamp(2rem, 4.5vw, 3.3rem);
  margin-bottom: 0.85rem;
}

.section-head__lead {
  color: var(--muted);
  font-size: 1.05rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.25rem;
}

.filter {
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 500;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s;
}

.filter:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.filter.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-flow: dense;
  gap: 1.1rem;
}

.project {
  position: relative;
  grid-column: span 4;
  overflow: hidden;
  background: #0c0e14;
  min-height: 22rem;
  isolation: isolate;
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 1s var(--ease), transform 1s var(--ease), box-shadow 0.45s;
  will-change: transform, opacity;
}

.project.is-visible {
  opacity: 1;
  transform: none;
}

.project:hover {
  box-shadow: 0 28px 60px rgba(11, 30, 80, 0.22);
  z-index: 2;
}

.project--spotlight {
  grid-column: span 12;
  min-height: clamp(28rem, 62vh, 38rem);
}

.project--featured {
  grid-column: span 8;
  min-height: 32rem;
}

.project--tall {
  grid-column: span 4;
  min-height: 32rem;
}

.project--wide {
  grid-column: span 6;
  min-height: 24rem;
}

.project--normal {
  grid-column: span 4;
  min-height: 22rem;
}

.project--compact {
  grid-column: span 3;
  min-height: 18rem;
}

.project__img-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.15s var(--ease);
}

.project.is-visible .project__img-wrap {
  clip-path: inset(0 0 0 0);
}

.project__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  transition: transform 1.6s var(--ease), filter 0.9s var(--ease);
  filter: saturate(1.02) brightness(0.88);
  will-change: transform;
}

.project.is-visible .project__img {
  transform: scale(1);
  filter: saturate(1.06) brightness(0.96);
}

.project:hover .project__img {
  transform: scale(1.07);
  filter: saturate(1.12) brightness(1.02);
}

.project__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.35rem 1.4rem 1.5rem;
  background:
    linear-gradient(180deg, rgba(8, 10, 16, 0.28) 0%, transparent 30%, transparent 45%, rgba(8, 10, 16, 0.9) 100%);
  color: var(--white);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease) 0.2s, transform 0.7s var(--ease) 0.2s;
}

.project.is-visible .project__overlay {
  opacity: 1;
  transform: none;
}

.project--spotlight .project__overlay {
  background:
    linear-gradient(105deg, rgba(6, 8, 14, 0.84) 0%, rgba(6, 8, 14, 0.38) 45%, rgba(6, 8, 14, 0.12) 100%),
    linear-gradient(180deg, transparent 45%, rgba(6, 8, 14, 0.5) 100%);
  justify-content: flex-end;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.project--spotlight .project__bottom {
  max-width: min(36rem, 92%);
}

.project--featured .project__overlay {
  padding: 1.6rem 1.7rem 1.8rem;
}

.project__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.project__index {
  font-family: "Syne", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  opacity: 0.65;
}

.project__ribbon {
  font-family: "Syne", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--blue);
  color: var(--white);
  padding: 0.4rem 0.7rem;
  box-shadow: 0 10px 24px rgba(11, 75, 255, 0.4);
}

.project__year {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.72;
  margin-bottom: 0.45rem;
}

.project__title {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  transform: translateY(10px);
  transition: transform 0.55s var(--ease);
}

.project--spotlight .project__title {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  margin-bottom: 0.35rem;
}

.project--featured .project__title {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
}

.project--compact .project__title {
  font-size: 1.25rem;
}

.project:hover .project__title {
  transform: none;
}

.project__role {
  margin-top: 0.45rem;
  font-size: 0.88rem;
  color: #b8c8ff;
  font-weight: 500;
}

.project__type {
  margin-top: 0.35rem;
  font-size: 0.92rem;
  opacity: 0.8;
}

.project__award {
  margin-top: 0.75rem;
  font-family: "Syne", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: #c5d4ff;
  max-width: 28rem;
}

.project__blurb {
  margin-top: 0.9rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  max-width: 32rem;
}

.project__view {
  margin-top: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: "Syne", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

.project--spotlight .project__view,
.project:hover .project__view {
  opacity: 1;
  transform: none;
}

.project--spotlight .project__view {
  margin-top: 1.35rem;
  min-height: 2.6rem;
  padding: 0 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

/* —— Graphic —— */
.graphic {
  background:
    radial-gradient(ellipse 55% 40% at 0% 0%, rgba(11, 75, 255, 0.08), transparent 55%),
    var(--paper);
}

.graphic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.graphic-card {
  position: relative;
  min-height: 28rem;
  overflow: hidden;
  background: #d8dce4;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.graphic-card.is-visible {
  opacity: 1;
  transform: none;
}

.graphic-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  clip-path: inset(100% 0 0 0);
  transition: transform 1.5s var(--ease), clip-path 1.2s var(--ease), filter 0.8s;
  filter: brightness(0.94);
}

.graphic-card.is-visible img {
  clip-path: inset(0 0 0 0);
  transform: scale(1);
  filter: brightness(1);
}

.graphic-card:hover img {
  transform: scale(1.06);
}

.graphic-card__info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.6rem;
  background: linear-gradient(transparent, rgba(10, 12, 18, 0.88));
  color: var(--white);
}

.graphic-card__info h3 {
  font-size: 1.7rem;
  margin-bottom: 0.25rem;
}

.graphic-card__info p {
  opacity: 0.8;
}

/* —— Contact —— */
.contact {
  position: relative;
  padding: clamp(5.5rem, 12vw, 9.5rem) clamp(1.25rem, 4vw, 3rem);
  color: var(--white);
  overflow: hidden;
  background: #071433;
}

.contact__bg {
  position: absolute;
  inset: 0;
}

.contact__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: grayscale(0.2) contrast(1.05);
  transform: scale(1.05);
}

.contact__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(7, 20, 51, 0.92) 0%, rgba(11, 75, 255, 0.72) 55%, rgba(7, 20, 51, 0.85) 100%);
}

.contact__inner {
  position: relative;
  z-index: 1;
  max-width: 48rem;
}

.contact .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.contact h2 {
  font-size: clamp(2.6rem, 7vw, 5rem);
  margin-bottom: 1.25rem;
}

.contact h2 span {
  display: block;
}

.contact h2 span:nth-child(2) {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.9);
}

.contact__text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 2rem;
  max-width: 34rem;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.contact .btn--primary {
  background: var(--white);
  color: var(--blue);
  box-shadow: none;
}

.contact .btn--primary:hover {
  background: var(--paper-2);
}

.contact .btn--ghost {
  border-color: rgba(255, 255, 255, 0.35);
}

.contact__info {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.contact__info dt {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 0.3rem;
}

.contact__info dd {
  font-family: "Syne", sans-serif;
  font-weight: 600;
}

/* —— Footer —— */
.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem);
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--paper);
}

/* —— Modal —— */
.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.modal.is-open {
  display: grid;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 14, 0.78);
  backdrop-filter: blur(14px) saturate(1.2);
  opacity: 0;
  transition: opacity 0.55s var(--ease);
}

.modal.is-open .modal__backdrop {
  opacity: 1;
}

.modal__panel {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  max-height: min(92vh, 920px);
  overflow: auto;
  background: var(--paper-2);
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  opacity: 0;
  transform: translateY(40px) scale(0.975);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.45);
}

.modal.is-open .modal__panel {
  opacity: 1;
  transform: none;
}

.modal.is-closing .modal__panel {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
}

.modal.is-closing .modal__backdrop {
  opacity: 0;
}

.modal__close {
  position: absolute;
  top: 0.95rem;
  right: 0.95rem;
  z-index: 3;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}

.modal__close span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 1.5px;
  background: var(--ink);
}

.modal__close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.modal__close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.modal__gallery {
  background: #080a0f;
  min-height: 20rem;
  display: flex;
  flex-direction: column;
}

.modal__stage {
  position: relative;
  flex: 1;
  min-height: min(58vh, 540px);
  overflow: hidden;
  background: #05070c;
  cursor: zoom-in;
}

.modal__stage.is-zoomed {
  cursor: zoom-out;
}

.modal__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.7s var(--ease), transform 1.2s var(--ease);
  will-change: opacity, transform;
}

.modal__image.is-active {
  opacity: 1;
  transform: scale(1);
  animation: kenBurns 12s ease-in-out infinite alternate;
}

.modal__stage.is-zoomed .modal__image.is-active {
  animation: none;
  transform: scale(1.45);
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.modal__shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.08) 48%, transparent 62%);
  transform: translateX(-120%);
  opacity: 0;
}

.modal.is-open .modal__shine {
  animation: shineSweep 1.4s var(--ease) 0.35s both;
}

.modal__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.8);
}

.modal__nav {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  font-size: 1.35rem;
  line-height: 1;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.modal__nav:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.06);
}

.modal__counter {
  font-family: "Syne", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}

.modal__thumbs {
  display: flex;
  gap: 0.4rem;
  padding: 0 0.75rem 0.85rem;
  overflow-x: auto;
  scrollbar-width: thin;
}

.modal__thumbs button {
  position: relative;
  flex: 0 0 auto;
  width: 4.6rem;
  height: 3.3rem;
  overflow: hidden;
  opacity: 0.4;
  border: 1px solid transparent;
  transition: opacity 0.35s, border-color 0.35s, transform 0.35s;
}

.modal__thumbs button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 75, 255, 0.25);
  opacity: 0;
  transition: opacity 0.3s;
}

.modal__thumbs button.is-active,
.modal__thumbs button:hover {
  opacity: 1;
  border-color: rgba(122, 160, 255, 0.7);
  transform: translateY(-2px);
}

.modal__thumbs button.is-active::after {
  opacity: 1;
}

.modal__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal__body {
  padding: clamp(1.5rem, 3vw, 2.35rem);
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.7s var(--ease) 0.15s, transform 0.7s var(--ease) 0.15s;
}

.modal.is-open .modal__body {
  opacity: 1;
  transform: none;
}

.modal__meta {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.modal__body h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  margin-bottom: 1rem;
}

.modal__desc {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.modal__credits li {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(10px);
}

.modal.is-open .modal__credits li {
  animation: creditIn 0.55s var(--ease) forwards;
}

.modal.is-open .modal__credits li:nth-child(1) { animation-delay: 0.25s; }
.modal.is-open .modal__credits li:nth-child(2) { animation-delay: 0.32s; }
.modal.is-open .modal__credits li:nth-child(3) { animation-delay: 0.39s; }
.modal.is-open .modal__credits li:nth-child(4) { animation-delay: 0.46s; }
.modal.is-open .modal__credits li:nth-child(5) { animation-delay: 0.53s; }
.modal.is-open .modal__credits li:nth-child(6) { animation-delay: 0.6s; }
.modal.is-open .modal__credits li:nth-child(7) { animation-delay: 0.67s; }

.modal__credits strong {
  font-family: "Syne", sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
}

.modal__credits span {
  color: var(--muted);
}

/* —— Animations —— */
@keyframes loadBar {
  to { width: 100%; }
}

@keyframes pulseBrand {
  0%, 100% { opacity: 0.55; letter-spacing: 0.22em; }
  50% { opacity: 1; letter-spacing: 0.28em; }
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

@keyframes wordUp {
  to { transform: translateY(0); }
}

@keyframes riseIn {
  to { opacity: 1; transform: none; }
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.55); opacity: 0.4; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(28px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

@keyframes fadeImg {
  from { opacity: 0.4; transform: scale(1.02); }
  to { opacity: 1; transform: none; }
}

@keyframes kenBurns {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.08) translate(-1.5%, -1%); }
}

@keyframes shineSweep {
  from { transform: translateX(-120%); opacity: 0; }
  30% { opacity: 1; }
  to { transform: translateX(120%); opacity: 0; }
}

@keyframes creditIn {
  to { opacity: 1; transform: none; }
}

/* —— Responsive —— */
@media (max-width: 980px) {
  .about__top,
  .about__panels,
  .modal__panel,
  .graphic-grid,
  .contact__info {
    grid-template-columns: 1fr;
  }

  .about__stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__visual {
    min-height: auto;
    padding-bottom: 1rem;
  }

  .about__portrait {
    width: min(78%, 340px);
    margin: 0;
  }

  .about__polaroids {
    width: min(38%, 160px);
    right: 0;
    top: 8%;
  }

  .project,
  .project--featured,
  .project--wide,
  .project--tall,
  .project--normal,
  .project--compact {
    grid-column: span 6;
    min-height: 20rem;
  }

  .project--spotlight {
    grid-column: span 12;
    min-height: 26rem;
  }

  .work__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .work__aside {
    text-align: left;
  }

  .work__count {
    justify-content: flex-start;
  }

  .work__note {
    margin-left: 0;
  }

  .graphic-card {
    min-height: 20rem;
  }
}

@media (max-width: 720px) {
  body.has-cursor {
    cursor: auto;
  }

  .cursor {
    display: none;
  }

  .nav__links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    display: none;
    flex-direction: column;
    gap: 0;
    background: rgba(230, 232, 237, 0.97);
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1rem;
  }

  .nav.is-open .nav__links {
    display: flex;
  }

  .nav__links a {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav__toggle {
    display: flex;
  }

  .project,
  .project--featured,
  .project--wide,
  .project--tall,
  .project--normal,
  .project--compact,
  .project--spotlight {
    grid-column: span 12;
    min-height: 20rem;
  }

  .project--spotlight {
    min-height: 24rem;
  }

  .project__blurb {
    display: none;
  }

  .hero__meta {
    grid-template-columns: 1fr;
  }

  .hero__scroll {
    display: none;
  }

  .about__visual {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 0.85rem;
    align-items: start;
    padding-right: 0;
  }

  .about__portrait {
    width: 100%;
    margin: 0;
  }

  .about__polaroids {
    position: static;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
  }

  .about__shot--1,
  .about__shot--2 {
    transform: none;
  }

  .about__shot--2 {
    transform: none;
  }

  .about__badge {
    left: 0.5rem;
    top: 0.75rem;
  }

  .about__panels {
    grid-template-columns: 1fr;
  }

  .contact__info {
    grid-template-columns: 1fr 1fr;
  }

  .modal__stage {
    min-height: 40vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
