:root {
  --paper: #d5c8b1;
  --paper-deep: #bfae92;
  --ink: #161513;
  --muted: #504a42;
  --violet: #714082;
  --violet-dark: #3d2149;
  --lavender: #d8d6ff;
  --acid: #dfff5d;
  --blue: #6f9bc8;
  --cream: #f8f1e4;
  --card-paper: #fffaf0;
  --shadow: 0 24px 56px rgba(50, 38, 22, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 10%, rgba(113, 64, 130, 0.12), transparent 18rem),
    linear-gradient(180deg, var(--paper), var(--paper-deep));
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
}

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

.paper-grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    radial-gradient(circle at 12% 20%, rgba(22, 21, 19, 0.12) 0 1px, transparent 1.5px),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.3) 0 1px, transparent 1.5px),
    linear-gradient(90deg, rgba(22, 21, 19, 0.04) 1px, transparent 1px);
  background-size: 18px 18px, 23px 23px, 96px 96px;
  mix-blend-mode: multiply;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  width: min(92vw, 70rem);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 1rem;
  align-items: center;
  margin: 1.2rem auto 0;
}

.stamp-logo,
.topbar nav,
.nav-toggle,
.tiny-cta {
  border: 1px solid rgba(22, 21, 19, 0.23);
  background: rgba(255, 250, 240, 0.82);
  box-shadow: 0 9px 24px rgba(50, 38, 22, 0.19);
  backdrop-filter: blur(12px);
}

.stamp-logo {
  width: 3.1rem;
  height: 3.1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--violet-dark);
  font-weight: 900;
}

.topbar nav {
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.35rem;
  border-radius: 999px;
}

.topbar nav a,
.tiny-cta {
  border-radius: 999px;
  padding: 0.68rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 800;
}

.topbar nav a:hover,
.tiny-cta:hover {
  background: var(--acid);
}

.tiny-cta {
  color: var(--cream);
  background: var(--violet-dark);
}

.tiny-cta:hover,
.hero-actions a:nth-child(2):hover {
  color: var(--cream);
  background: #2d1738;
}

.nav-toggle {
  display: none;
  width: 3.1rem;
  height: 3.1rem;
  place-items: center;
  border-radius: 50%;
  cursor: pointer;
}

.nav-toggle span {
  width: 1.1rem;
  height: 2px;
  display: block;
  margin: 2px 0;
  border-radius: 999px;
  background: var(--violet-dark);
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.topbar.nav-open .nav-toggle span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.topbar.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.topbar.nav-open .nav-toggle span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.journal-page {
  width: min(92vw, 70rem);
  margin: 1.5rem auto 5rem;
}

.hero-sheet,
.spread,
.contact-spread {
  position: relative;
  overflow: hidden;
  border-radius: 1.8rem;
  border: 1px solid rgba(61, 45, 27, 0.14);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.45) inset,
    var(--shadow);
}

.hero-sheet {
  min-height: 42rem;
  background:
    linear-gradient(90deg, rgba(255, 252, 246, 0.9) 0 18%, rgba(255, 252, 246, 0.38) 48%, rgba(255, 252, 246, 0.86) 100%),
    linear-gradient(180deg, rgba(255, 252, 246, 0.46), rgba(255, 252, 246, 0.7)),
    url("./assets/liquid-light.png") 72% 44% / min(82rem, 124vw) auto no-repeat,
    radial-gradient(circle at 16% 24%, rgba(216, 214, 255, 0.18), transparent 14rem),
    radial-gradient(circle at 82% 70%, rgba(223, 255, 93, 0.08), transparent 14rem),
    #fffaf1;
}

.hero-editorial {
  position: relative;
  min-height: 42rem;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: clamp(3rem, 8vw, 7.2rem) clamp(1.4rem, 5vw, 4.4rem);
  text-align: center;
}

.ticket {
  position: absolute;
  border: 1px solid rgba(22, 21, 19, 0.16);
  border-radius: 999px;
  padding: 0.55rem 0.75rem;
  background: var(--lavender);
  font-size: 0.72rem;
  font-weight: 900;
}

.ticket-one {
  top: 3rem;
  left: clamp(1rem, 5vw, 4rem);
  transform: rotate(-3deg);
}

.ticket-two {
  right: clamp(1rem, 5vw, 4rem);
  bottom: 3rem;
  background: var(--acid);
  transform: rotate(2deg);
}

.passport-stamp {
  position: absolute;
  right: clamp(2rem, 9vw, 7rem);
  top: clamp(3.4rem, 6vw, 5rem);
  width: clamp(3.2rem, 6vw, 4.6rem);
  aspect-ratio: 1;
  display: block;
  perspective: 700px;
  transform: rotate(8deg);
  mix-blend-mode: normal;
  pointer-events: none;
}

.globe-icon {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: block;
  border-radius: 50%;
  filter: saturate(0.96) contrast(1.02) drop-shadow(0 13px 16px rgba(50, 38, 22, 0.22));
  transform-origin: 50% 56%;
}

.globe-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 50%;
  opacity: 0;
}

.face-americas {
  opacity: 1;
}

.cat-mark {
  position: absolute;
  left: 7%;
  bottom: 3.4rem;
  width: clamp(4.2rem, 8vw, 6.3rem);
  height: auto;
  opacity: 0.82;
  filter: saturate(0.88) contrast(0.96) drop-shadow(0 14px 18px rgba(50, 38, 22, 0.22));
  transform: rotate(-7deg);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.sparkle-mark {
  position: absolute;
  left: 9.8%;
  bottom: 9.1rem;
  width: clamp(2.5rem, 5vw, 4.1rem);
  height: auto;
  opacity: 0.86;
  filter: saturate(0.94) drop-shadow(0 10px 12px rgba(190, 128, 27, 0.16));
  transform: rotate(-8deg);
  animation: sparkle-breathe 4.8s ease-in-out infinite;
  transform-origin: 54% 58%;
  pointer-events: none;
}

@keyframes sparkle-breathe {
  0%,
  100% {
    opacity: 0.78;
    transform: rotate(-8deg) scale(0.96) translateY(0);
    filter: saturate(0.9) drop-shadow(0 8px 10px rgba(190, 128, 27, 0.12));
  }

  50% {
    opacity: 0.96;
    transform: rotate(-5deg) scale(1.06) translateY(-0.28rem);
    filter: saturate(1.02) drop-shadow(0 13px 15px rgba(190, 128, 27, 0.18));
  }
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--violet);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  line-height: 0.92;
}

h1 {
  max-width: 56rem;
  margin-bottom: 1.2rem;
  font-size: clamp(3.2rem, 7.2vw, 6.45rem);
}

.inline-portrait {
  width: clamp(3.4rem, 7vw, 5.4rem);
  aspect-ratio: 1;
  display: inline-block;
  margin: 0 0.12em -0.12em;
  border: 0.28rem solid #8799a5;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
  box-shadow: 0 9px 24px rgba(50, 38, 22, 0.18);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.7rem, 5.8vw, 5.25rem);
}

.hero-editorial > p:not(.eyebrow),
.process-copy p,
.about-copy p:not(.eyebrow) {
  max-width: 44rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.plane-inline {
  width: 1.55rem;
  height: auto;
  display: inline-block;
  margin-left: 0.28rem;
  vertical-align: -0.32rem;
  opacity: 0.72;
  filter: saturate(0.84) contrast(0.96) drop-shadow(0 7px 8px rgba(50, 38, 22, 0.14));
  transform: rotate(12deg);
}

.proof-strip {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 45rem;
  margin-top: 1.2rem;
}

.proof-strip span,
.about-tags span,
.case-meta span {
  border: 1px solid rgba(22, 21, 19, 0.2);
  border-radius: 999px;
  padding: 0.48rem 0.68rem;
  background: rgba(255, 250, 240, 0.86);
  color: var(--violet-dark);
  font-size: 0.72rem;
  font-weight: 900;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.hero-actions a,
.contact-spread a {
  border: 1px solid rgba(22, 21, 19, 0.18);
  border-radius: 999px;
  padding: 0.85rem 1.1rem;
  background: var(--acid);
  color: var(--ink);
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(50, 38, 22, 0.14);
}

.hero-actions a:nth-child(2) {
  background: var(--violet-dark);
  color: var(--cream);
}

.spread {
  margin-top: 1.1rem;
  padding: clamp(2rem, 5vw, 4rem);
}

.spread-cream {
  min-height: 43rem;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.78), rgba(238, 222, 196, 0.9)),
    radial-gradient(circle at 1px 1px, rgba(82, 58, 32, 0.15) 1px, transparent 1.35px) 0 0 / 22px 22px,
    #ead8bd;
}

.spread-cream::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(22, 21, 19, 0.08);
  border-radius: 1.25rem;
  pointer-events: none;
}

.section-title {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 2rem;
  width: 100%;
  max-width: none;
}

.section-title span {
  color: var(--violet);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-title p {
  max-width: none;
  margin: 0.1rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.6;
}

.pin-board {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
  gap: clamp(1rem, 2.4vw, 1.8rem);
  align-items: stretch;
  position: relative;
}

.polaroid {
  position: relative;
  width: 100%;
  padding: 0.82rem 0.82rem 1.35rem;
  background: var(--card-paper);
  box-shadow:
    0 20px 42px rgba(50, 38, 22, 0.27),
    0 0 0 1px rgba(22, 21, 19, 0.09);
  cursor: default;
  isolation: isolate;
}

.polaroid:has(.case-card-link) {
  cursor: pointer;
}

.tape {
  position: absolute;
  z-index: 1;
  display: block;
  border: 1px solid rgba(22, 21, 19, 0.08);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.22), transparent 24%, rgba(255, 255, 255, 0.18)),
    rgba(216, 214, 255, 0.46);
  box-shadow: 0 4px 10px rgba(50, 38, 22, 0.1);
}

.tape-top {
  top: -0.8rem;
  left: 34%;
  width: 6rem;
  height: 1.55rem;
  transform: rotate(-5deg);
}

.tape-side {
  top: 2.5rem;
  right: -1rem;
  width: 1.6rem;
  height: 6.4rem;
  transform: rotate(4deg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 24%, rgba(255, 255, 255, 0.18)),
    rgba(223, 255, 93, 0.44);
}

.polaroid {
  opacity: 0;
  transition:
    opacity 700ms ease var(--delay, 0ms),
    transform 700ms ease var(--delay, 0ms);
}

.polaroid-large {
  grid-row: span 2;
  min-height: 100%;
  transform: translateY(1.4rem);
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.96), rgba(239, 228, 208, 0.94)),
    var(--card-paper);
}

.polaroid-small {
  transform: translateY(1.4rem);
}

.polaroid-small.alt {
  transform: translateY(1.4rem);
}

.polaroid-large.placed {
  opacity: 1;
  transform: none;
}

.polaroid-small.placed {
  opacity: 1;
  transform: none;
}

.polaroid-small.alt.placed {
  opacity: 1;
  transform: none;
}

.fake-photo {
  position: relative;
  overflow: hidden;
  height: 14rem;
  margin: 0 0 0.8rem;
  background-size: cover;
}

.fake-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.03);
}

.fake-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 45%, rgba(22, 21, 19, 0.22)),
    radial-gradient(circle at 18% 18%, rgba(255, 250, 240, 0.22), transparent 8rem);
  pointer-events: none;
}

.polaroid-large .fake-photo {
  height: clamp(19rem, 38vw, 29rem);
  border: 1px solid rgba(22, 21, 19, 0.1);
  background: #eef0f2;
}

.photo-system {
  background: #d9d4c8;
}

.photo-pet {
  background:
    radial-gradient(circle at 58% 24%, rgba(223, 255, 93, 0.4), transparent 6rem),
    linear-gradient(135deg, #c9b7d5, var(--violet));
}

.photo-wallet {
  background: #07110a;
}

.photo-health {
  background:
    radial-gradient(circle at 68% 42%, rgba(216, 214, 255, 0.8), transparent 7rem),
    linear-gradient(135deg, #93b3d5, #efe4d0);
}

.polaroid h3 {
  margin-bottom: 0.35rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  line-height: 1;
}

.polaroid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.7rem;
}

.case-card-link {
  position: absolute;
  inset: 0;
  z-index: 8;
}

.case-open {
  position: absolute;
  top: 1.2rem;
  right: 1.15rem;
  z-index: 6;
  border: 1px solid rgba(22, 21, 19, 0.16);
  border-radius: 999px;
  padding: 0.52rem 0.72rem;
  background: rgba(255, 250, 240, 0.82);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(50, 38, 22, 0.14);
  backdrop-filter: blur(10px);
}

.case-muted {
  color: rgba(33, 31, 27, 0.64);
  background: rgba(255, 250, 240, 0.68);
}

.case-details {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1.05rem 0 0;
}

.polaroid h3,
.polaroid p,
.polaroid .case-meta,
.polaroid .fake-photo,
.polaroid .case-open,
.polaroid .tape {
  position: relative;
  z-index: 3;
}

.polaroid .case-open {
  position: absolute;
  z-index: 6;
}

.polaroid:has(.case-card-link):hover {
  box-shadow:
    0 26px 52px rgba(50, 38, 22, 0.31),
    0 0 0 1px rgba(113, 64, 130, 0.2);
}

.polaroid:has(.case-card-link):hover .case-open {
  background: var(--acid);
  transform: translateY(-1px);
}

.case-details div {
  border: 1px solid rgba(22, 21, 19, 0.12);
  border-radius: 0.75rem;
  padding: 0.68rem 0.72rem;
  background: rgba(255, 250, 240, 0.68);
}

.case-details dt {
  color: var(--violet);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-details dd {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
}

.work-archive-cta {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: center;
  margin-top: clamp(1.2rem, 3vw, 2rem);
}

.work-archive-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  border: 1px solid rgba(22, 21, 19, 0.18);
  border-radius: 999px;
  padding: 0.78rem 1.15rem;
  background: rgba(255, 250, 240, 0.72);
  color: var(--ink);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.72) inset,
    0 12px 26px rgba(50, 38, 22, 0.12);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.work-archive-cta a:hover {
  background: var(--acid);
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.72) inset,
    0 18px 34px rgba(50, 38, 22, 0.18);
}

.legacy-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(16rem, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: stretch;
  border: 1px solid rgba(22, 21, 19, 0.16);
  border-radius: 1.25rem;
  padding: 0.85rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 38%),
    rgba(27, 27, 28, 0.92);
  box-shadow: 0 22px 48px rgba(50, 38, 22, 0.24);
  overflow: hidden;
}

.legacy-card-link {
  position: absolute;
  inset: 0;
  z-index: 8;
}

.legacy-cover {
  position: relative;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 248, 235, 0.14);
  border-radius: 0.9rem;
  background: rgba(255, 248, 235, 0.08);
}

.legacy-cover img {
  width: 100%;
  height: 100%;
  min-height: 18rem;
  display: block;
  object-fit: cover;
  object-position: center;
}

.legacy-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 0.85rem;
  padding: clamp(1rem, 3vw, 1.8rem);
}

.legacy-copy h3 {
  margin: 0;
  color: #fff8eb;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 0.92;
}

.legacy-copy p {
  max-width: 35rem;
  margin: 0;
  color: rgba(255, 248, 235, 0.78);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.65;
}

.legacy-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.legacy-thumbs img {
  width: 100%;
  aspect-ratio: 1.35;
  display: block;
  border: 1px solid rgba(255, 248, 235, 0.14);
  border-radius: 0.55rem;
  object-fit: cover;
  object-position: top center;
  opacity: 0.78;
}

.legacy-open {
  justify-self: start;
  border: 1px solid rgba(255, 248, 235, 0.18);
  border-radius: 999px;
  padding: 0.68rem 0.9rem;
  background: rgba(223, 255, 93, 0.92);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
}

.legacy-card:hover {
  box-shadow:
    0 28px 56px rgba(50, 38, 22, 0.28),
    0 0 0 1px rgba(223, 255, 93, 0.2);
}

.pet-work-card {
  background:
    radial-gradient(circle at 88% 20%, rgba(144, 135, 202, 0.32), transparent 15rem),
    linear-gradient(135deg, rgba(255, 250, 240, 0.98), rgba(238, 235, 252, 0.96));
}

.pet-work-card .legacy-cover {
  border-color: rgba(74, 29, 131, 0.14);
  background: #f7f6fd;
}

.pet-work-card .legacy-cover img {
  object-fit: contain;
}

.pet-work-card .legacy-copy h3 {
  color: var(--violet-dark);
}

.pet-work-card .legacy-copy p {
  color: rgba(33, 31, 27, 0.72);
}

.pet-work-card .legacy-open {
  border-color: rgba(74, 29, 131, 0.18);
  background: rgba(75, 230, 208, 0.9);
}

.delivery-work-card {
  background:
    radial-gradient(circle at 16% 16%, rgba(223, 255, 93, 0.2), transparent 14rem),
    linear-gradient(135deg, rgba(8, 52, 29, 0.96), rgba(20, 116, 62, 0.9));
}

.delivery-work-card .legacy-cover {
  border-color: rgba(223, 255, 93, 0.24);
  background: rgba(255, 248, 235, 0.92);
}

.delivery-work-card .legacy-cover img,
.valentine-work-card .legacy-cover img {
  object-fit: contain;
}

.delivery-work-card .legacy-copy h3,
.delivery-work-card .legacy-copy p {
  color: #fff8eb;
}

.valentine-work-card {
  background:
    radial-gradient(circle at 84% 14%, rgba(255, 38, 76, 0.18), transparent 13rem),
    linear-gradient(135deg, rgba(255, 250, 240, 0.98), rgba(235, 218, 180, 0.82));
}

.valentine-work-card .legacy-cover {
  border-color: rgba(74, 29, 131, 0.12);
  background: rgba(255, 255, 255, 0.86);
}

.valentine-work-card .legacy-copy h3 {
  color: var(--violet-dark);
}

.valentine-work-card .legacy-copy p {
  color: rgba(33, 31, 27, 0.72);
}

.more-work-page {
  margin-top: 1.5rem;
}

.more-work-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(61, 45, 27, 0.14);
  border-radius: 1.8rem;
  padding: clamp(2.2rem, 6vw, 5rem);
  background:
    radial-gradient(circle at 82% 20%, rgba(113, 64, 130, 0.2), transparent 15rem),
    linear-gradient(135deg, rgba(255, 250, 240, 0.94), rgba(237, 226, 211, 0.96)),
    #f3e9d8;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.46) inset,
    var(--shadow);
}

.more-work-hero h1 {
  max-width: 52rem;
  font-size: clamp(3.2rem, 7vw, 6.6rem);
}

.more-work-hero p:not(.eyebrow) {
  max-width: 44rem;
  color: var(--muted);
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.72;
}

.more-work-grid {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.1rem;
}

.spread-blue {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  min-height: 44rem;
  overflow: hidden;
  background:
    linear-gradient(rgba(54, 83, 113, 0.94), rgba(54, 83, 113, 0.94)),
    radial-gradient(circle at 70% 20%, rgba(223, 255, 93, 0.16), transparent 16rem);
}

.spread-blue::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(54, 83, 113, 0.38), transparent 28%, rgba(54, 83, 113, 0.48)),
    linear-gradient(180deg, rgba(54, 83, 113, 0.58), transparent 36%, rgba(54, 83, 113, 0.7)),
    url("./assets/process-clouds.jpg") center / cover no-repeat;
  opacity: 0.46;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.spread-blue::after {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(255, 248, 235, 0.12);
  border-radius: 1.25rem;
  pointer-events: none;
}

.process-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
}

.process-copy h2,
.process-copy p {
  color: #fff8eb;
}

.process-copy h2 {
  max-width: 100%;
}

.process-copy p:not(.eyebrow) {
  width: min(100%, 66rem);
}

.process-copy .eyebrow {
  color: var(--acid);
}

.process-collage {
  position: relative;
  z-index: 1;
  min-height: 23rem;
  margin-top: 0.5rem;
}

.process-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.process-line path {
  fill: none;
  stroke: rgba(255, 248, 235, 0.72);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  filter: drop-shadow(0 2px 0 rgba(61, 33, 73, 0.12));
  transition: stroke-dashoffset 1400ms ease;
}

.process-collage.placed .process-line path {
  stroke-dashoffset: 0;
}

.process-step {
  position: absolute;
  z-index: 1;
  width: 12.5rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(255, 248, 235, 0.22);
  border-radius: 0.65rem;
  background: rgba(45, 65, 93, 0.5);
  box-shadow: 0 12px 28px rgba(31, 44, 65, 0.22);
  backdrop-filter: blur(9px) saturate(1.08);
  opacity: 0;
  transform: translateY(1rem);
  transition:
    opacity 700ms ease var(--delay, 0ms),
    transform 700ms ease var(--delay, 0ms);
}

.process-step.placed {
  opacity: 1;
  transform: translateY(0);
}

.process-step span {
  display: inline-flex;
  margin-bottom: 0.45rem;
  border-radius: 999px;
  padding: 0.35rem 0.62rem;
  background: var(--acid);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 900;
}

.process-step strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  color: #fff8eb;
  font-size: 2.3rem;
  line-height: 1;
}

.process-step p {
  margin: 0.45rem 0 0;
  color: rgba(255, 248, 235, 0.9);
  font-size: 0.88rem;
  line-height: 1.45;
}

.step-one {
  left: 1%;
  top: 10.8rem;
}

.step-two {
  left: 25%;
  top: 2rem;
}

.step-three {
  left: 51%;
  top: 10rem;
}

.step-four {
  right: 1%;
  top: 3rem;
}

.spread-notes {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(243, 233, 216, 0.28), rgba(243, 233, 216, 0.5)),
    url("./assets/cork-board.png") center / cover no-repeat,
    #c99d68;
}

.spread-notes::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(223, 255, 93, 0.1), transparent 12rem),
    linear-gradient(90deg, rgba(255, 250, 240, 0.36), rgba(255, 250, 240, 0.08));
  pointer-events: none;
}

.quality-board {
  position: relative;
  z-index: 1;
}

.quality-board {
  position: relative;
  display: grid;
  grid-template-columns: 1.14fr 0.86fr;
  gap: 1.05rem;
  align-items: stretch;
  min-height: 36rem;
}

.quality-board::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 10%;
  top: 50%;
  height: 1px;
  background:
    linear-gradient(90deg, transparent, rgba(61, 33, 73, 0.16), transparent);
  transform: rotate(-8deg);
  pointer-events: none;
}

.quality-ticket {
  position: relative;
  min-height: 10rem;
  display: grid;
  align-content: start;
  gap: 0.8rem;
  border: 1px solid rgba(61, 45, 27, 0.16);
  border-radius: 0.95rem;
  padding: 1.15rem 1.2rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.08)),
    rgba(255, 250, 240, 0.82);
  box-shadow: 0 14px 30px rgba(80, 55, 28, 0.18);
  transform: rotate(-1.2deg);
}

.quality-ticket::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -0.55rem;
  width: 4.4rem;
  height: 1.1rem;
  border: 1px solid rgba(61, 45, 27, 0.08);
  background: rgba(255, 250, 240, 0.55);
  box-shadow: 0 6px 14px rgba(80, 55, 28, 0.1);
  transform: translateX(-50%) rotate(2deg);
}

.quality-ticket-main {
  grid-row: span 2;
  min-height: 22rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.06)),
    rgba(255, 250, 240, 0.9);
}

.quality-wire {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.1)),
    rgba(216, 214, 255, 0.82);
  transform: rotate(1.5deg);
}

.quality-note {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.08)),
    rgba(223, 255, 93, 0.78);
  transform: rotate(-0.8deg);
}

.quality-stamp {
  grid-column: 1 / -1;
  min-height: 7rem;
  align-content: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.08)),
    rgba(245, 239, 226, 0.88);
  transform: rotate(0.7deg);
}

.quality-ticket span {
  width: max-content;
  border: 1px solid rgba(61, 33, 73, 0.16);
  border-radius: 999px;
  padding: 0.32rem 0.55rem;
  color: var(--violet);
  background: rgba(255, 250, 240, 0.5);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.quality-ticket h3 {
  margin: 0;
  color: var(--violet-dark);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.7rem, 2.8vw, 2.65rem);
  font-weight: 600;
  line-height: 0.95;
}

.quality-ticket p,
.quality-ticket li {
  margin: 0;
  color: rgba(33, 31, 27, 0.72);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.55;
}

.quality-ticket ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quality-ticket li {
  position: relative;
  padding-left: 1rem;
}

.quality-ticket li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--violet);
}

.mini-wireframe {
  display: grid;
  gap: 0.45rem;
  padding: 0.75rem;
  border: 1px solid rgba(61, 45, 27, 0.14);
  border-radius: 0.7rem;
  background: rgba(255, 250, 240, 0.52);
}

.mini-wireframe i {
  display: block;
  height: 0.78rem;
  border-radius: 999px;
  background: rgba(61, 33, 73, 0.16);
}

.mini-wireframe i:first-child {
  width: 54%;
  height: 1.6rem;
  border-radius: 0.45rem;
  background: rgba(61, 33, 73, 0.26);
}

.mini-wireframe i:nth-child(2) {
  width: 90%;
}

.mini-wireframe i:nth-child(3) {
  width: 72%;
}

.mini-wireframe i:nth-child(4) {
  width: 42%;
  background: rgba(223, 255, 93, 0.8);
}

.spread-about {
  position: relative;
  display: grid;
  grid-template-columns: minmax(16rem, 0.72fr) minmax(0, 1.28fr);
  gap: 2.4rem;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(231, 224, 247, 0.92) 0 24%, rgba(231, 224, 247, 0.5) 58%, rgba(231, 224, 247, 0.78) 100%),
    linear-gradient(180deg, rgba(238, 231, 250, 0.64), rgba(228, 219, 244, 0.82)),
    url("./assets/purple-leaves.png") center / cover no-repeat,
    radial-gradient(circle at 82% 20%, rgba(255, 250, 240, 0.38), transparent 14rem),
    radial-gradient(circle at 18% 80%, rgba(223, 255, 93, 0.1), transparent 12rem),
    #e8ddf4;
}

.spread-about::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 46%, rgba(113, 64, 130, 0.1), transparent 20rem),
    linear-gradient(90deg, rgba(238, 231, 250, 0.08), rgba(238, 231, 250, 0.3));
  pointer-events: none;
}

.about-photo-stack {
  position: relative;
  z-index: 1;
  min-height: 29rem;
}

.about-copy {
  position: relative;
  z-index: 1;
}

.about-photo {
  position: absolute;
  left: 7%;
  top: 2rem;
  width: min(19rem, 72vw);
  aspect-ratio: 0.86;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 0.45rem;
  border: 1px solid rgba(22, 21, 19, 0.22);
  padding: 0.9rem;
  background: var(--card-paper);
  box-shadow: 0 21px 44px rgba(50, 38, 22, 0.27);
  transform: rotate(-4deg);
}

.about-photo::before {
  content: "";
  position: absolute;
  inset: 0.9rem;
  background:
    radial-gradient(circle at 55% 26%, rgba(255, 255, 255, 0.3), transparent 6rem),
    linear-gradient(135deg, rgba(216, 214, 255, 0.38), rgba(223, 255, 93, 0.12));
}

.about-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 0.25rem;
  object-fit: cover;
  object-position: 64% 50%;
  filter: saturate(0.9) contrast(1.02);
}

.about-photo span {
  position: relative;
  z-index: 1;
  justify-self: center;
  margin-top: 0;
  padding: 0.4rem 0.55rem;
  background: rgba(255, 250, 240, 0.82);
  color: var(--violet-dark);
  font-family: "Nanum Pen Script", cursive;
  font-size: 1.2rem;
  font-weight: 400;
}

.about-photo.small {
  left: auto;
  right: 0.5rem;
  top: 21.4rem;
  width: 7.2rem;
  aspect-ratio: 1;
  background: rgba(223, 255, 93, 0.78);
  transform: rotate(7deg);
}

.about-photo.small::before {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.32), transparent 44%),
    repeating-linear-gradient(0deg, transparent 0 1.35rem, rgba(61, 33, 73, 0.1) 1.35rem 1.4rem);
}

.about-photo.small span {
  max-width: 5.8rem;
  margin: 0;
  background: transparent;
  text-align: center;
  font-size: 1rem;
  line-height: 1;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.4rem;
}

.spread-capabilities {
  background:
    radial-gradient(circle at 20% 20%, rgba(216, 214, 255, 0.44), transparent 13rem),
    linear-gradient(135deg, rgba(113, 64, 130, 0.1), transparent 42%),
    #eee3d1;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.capability-grid article {
  min-height: 18rem;
  border: 1px solid rgba(22, 21, 19, 0.2);
  border-radius: 1.2rem;
  padding: 1.25rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.08)),
    rgba(255, 250, 240, 0.9);
  box-shadow: 0 17px 34px rgba(50, 38, 22, 0.21);
  backdrop-filter: blur(14px);
}

.capability-grid article:nth-child(2) {
  transform: rotate(1.5deg);
}

.capability-grid article:nth-child(3) {
  transform: rotate(-1deg);
}

.capability-grid span {
  display: inline-flex;
  margin-bottom: 1rem;
  border-radius: 999px;
  padding: 0.35rem 0.58rem;
  background: var(--acid);
  font-size: 0.72rem;
  font-weight: 900;
}

.capability-grid h3 {
  margin-bottom: 0.8rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  line-height: 1;
}

.capability-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.contact-spread {
  margin-top: 1.1rem;
  padding: clamp(3rem, 7vw, 6rem);
  background:
    linear-gradient(180deg, rgba(248, 240, 226, 0.58), rgba(248, 240, 226, 0.86)),
    linear-gradient(90deg, rgba(248, 240, 226, 0.82), rgba(248, 240, 226, 0.38) 52%, rgba(248, 240, 226, 0.82)),
    url("./assets/sunset-contact.png") center 52% / cover no-repeat,
    linear-gradient(135deg, rgba(113, 64, 130, 0.16), transparent 40%),
    #f8f0e2;
  text-align: center;
}

.contact-spread::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 34%, rgba(223, 255, 93, 0.18), transparent 12rem),
    linear-gradient(180deg, rgba(248, 240, 226, 0.12), rgba(248, 240, 226, 0.55));
  pointer-events: none;
}

.contact-spread > * {
  position: relative;
  z-index: 1;
}

.contact-spread h2 {
  max-width: 48rem;
  margin-inline: auto;
}

.contact-spread a {
  display: inline-flex;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}

.contact-actions .social-link {
  background: rgba(255, 250, 240, 0.78);
  color: var(--violet-dark);
}

.contact-actions .social-link:hover {
  background: var(--violet-dark);
  color: var(--cream);
}

.cv-topbar {
  grid-template-columns: auto 1fr auto;
}

.back-logo {
  font-size: 1.45rem;
}

.cv-page {
  margin-top: 1.5rem;
}

.cv-hero,
.cv-spread,
.cv-grid-section {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(61, 45, 27, 0.14);
  border-radius: 1.8rem;
  background: var(--cream);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.45) inset,
    var(--shadow);
}

.cv-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.34fr);
  gap: 2rem;
  align-items: center;
  padding: clamp(2.2rem, 6vw, 5rem);
  background:
    radial-gradient(circle at 16% 20%, rgba(216, 214, 255, 0.46), transparent 14rem),
    linear-gradient(132deg, transparent 0 62%, rgba(113, 64, 130, 0.1) 62% 63.2%, transparent 63.2%),
    var(--cream);
}

.cv-hero h1 {
  margin-bottom: 0.4rem;
}

.cv-role {
  color: var(--violet-dark);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
}

.cv-contact-card {
  display: grid;
  gap: 0.65rem;
  justify-items: center;
  border: 1px solid rgba(22, 21, 19, 0.18);
  border-radius: 1.2rem;
  padding: 1.2rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.08)),
    rgba(255, 250, 240, 0.78);
  box-shadow: 0 16px 34px rgba(50, 38, 22, 0.18);
  text-align: center;
}

.cv-contact-card img {
  width: 8.5rem;
  aspect-ratio: 1;
  border: 0.32rem solid #8799a5;
  border-radius: 50%;
  object-fit: cover;
}

.cv-contact-card a {
  border-bottom: 1px solid rgba(61, 33, 73, 0.22);
  color: var(--violet-dark);
  font-size: 0.86rem;
  font-weight: 800;
}

.cv-spread,
.cv-grid-section {
  margin-top: 1.1rem;
  padding: clamp(2rem, 5vw, 4rem);
}

.cv-timeline {
  display: grid;
  gap: 1rem;
}

.cv-timeline article,
.cv-note,
.cv-education-grid article {
  border: 1px solid rgba(22, 21, 19, 0.18);
  border-radius: 1.05rem;
  padding: 1.25rem;
  background: var(--card-paper);
  box-shadow: 0 14px 30px rgba(50, 38, 22, 0.16);
}

.cv-timeline article span {
  display: inline-flex;
  margin-bottom: 0.65rem;
  border-radius: 999px;
  padding: 0.35rem 0.58rem;
  background: var(--lavender);
  color: var(--violet-dark);
  font-size: 0.7rem;
  font-weight: 900;
}

.cv-timeline h3,
.cv-note h3,
.cv-education-grid h3 {
  margin-bottom: 0.7rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1;
}

.cv-timeline p,
.cv-education-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.cv-timeline ul,
.cv-note ul,
.cv-education-grid ul {
  margin: 0.85rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.55;
}

.cv-grid-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  background:
    radial-gradient(circle at 78% 22%, rgba(223, 255, 93, 0.16), transparent 12rem),
    #f3e9d8;
}

.cv-note ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
}

.cv-note li {
  border: 1px solid rgba(22, 21, 19, 0.14);
  border-radius: 999px;
  padding: 0.48rem 0.66rem;
  background: rgba(255, 250, 240, 0.86);
  color: var(--violet-dark);
  font-size: 0.76rem;
  font-weight: 900;
}

.cv-education {
  background:
    radial-gradient(circle at 20% 20%, rgba(216, 214, 255, 0.36), transparent 13rem),
    var(--cream);
}

.cv-education-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.case-page {
  margin-top: 1.5rem;
}

.case-hero,
.case-summary,
.case-story,
.case-section,
.case-next {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(61, 45, 27, 0.14);
  border-radius: 1.8rem;
  background: var(--cream);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.45) inset,
    var(--shadow);
}

.case-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: clamp(2rem, 5vw, 4.5rem);
  background:
    radial-gradient(circle at 18% 22%, rgba(216, 214, 255, 0.48), transparent 15rem),
    radial-gradient(circle at 86% 70%, rgba(223, 255, 93, 0.12), transparent 14rem),
    var(--cream);
}

.case-hero-copy h1 {
  max-width: 58rem;
  font-size: clamp(3.1rem, 6.2vw, 6rem);
}

.case-hero-copy p:not(.eyebrow),
.case-section-copy p,
.case-summary p {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.72;
}

.case-hero-visual,
.case-shot {
  margin: 0;
  border: 1px solid rgba(22, 21, 19, 0.14);
  border-radius: 1rem;
  background: var(--card-paper);
  box-shadow: 0 18px 40px rgba(50, 38, 22, 0.2);
}

.case-hero-visual {
  padding: 0.7rem;
  width: min(100%, 58rem);
  justify-self: end;
  transform: rotate(0.8deg);
}

.case-hero-visual img,
.case-shot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.65rem;
}

.case-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.1rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  background: #f3e9d8;
}

.case-summary article {
  border-left: 2px solid rgba(113, 64, 130, 0.32);
  padding-left: 1rem;
}

.case-summary span {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--violet);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.case-story {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin-top: 1.1rem;
  padding: clamp(2rem, 4vw, 3.4rem);
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.9), rgba(243, 233, 216, 0.94)),
    var(--cream);
}

.case-story h2 {
  max-width: 100%;
  font-size: clamp(2.4rem, 4.4vw, 4.8rem);
}

.case-story-copy {
  display: grid;
  gap: 1rem;
  max-width: 100%;
}

.case-story-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.78;
}

.case-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.2rem, 3vw, 2rem);
  align-items: start;
  margin-top: 1.1rem;
  padding: clamp(2rem, 5vw, 4rem);
}

.case-section.compact {
  grid-template-columns: 1fr;
}

.case-section-vertical,
.case-section.compact.case-section-vertical {
  grid-template-columns: 1fr;
}

.case-section-vertical .case-section-copy {
  position: relative;
  top: auto;
  max-width: 100%;
}

.case-section-vertical .case-shot.wide {
  width: min(100%, 64rem);
  justify-self: center;
}

.case-section.impact {
  background:
    radial-gradient(circle at 82% 18%, rgba(216, 214, 255, 0.35), transparent 14rem),
    #f3e9d8;
}

.case-section-copy {
  position: relative;
  top: auto;
  width: 100%;
  max-width: 100%;
  z-index: 2;
}

.case-section-copy h2 {
  font-size: clamp(2.7rem, 5vw, 5.2rem);
}

.case-note-list {
  display: grid;
  gap: 0.5rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.case-note-list li {
  position: relative;
  padding-left: 1.1rem;
  color: rgba(33, 31, 27, 0.74);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.45;
}

.case-note-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.57em;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 0 0.22rem rgba(113, 64, 130, 0.1);
}

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

.case-image-grid.two {
  grid-template-columns: 1fr;
}

.case-shot {
  padding: 0.55rem;
  width: 100%;
}

.case-shot.tall {
  align-self: start;
}

.case-shot.wide {
  grid-column: 1 / -1;
}

.case-next {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.1rem;
  padding: 1.2rem;
  background: var(--cream);
}

.case-next a {
  border: 1px solid rgba(22, 21, 19, 0.18);
  border-radius: 999px;
  padding: 0.85rem 1.1rem;
  background: var(--acid);
  color: var(--ink);
  font-weight: 900;
}

.wallet-case .case-hero,
.wallet-case .case-section.impact {
  background:
    radial-gradient(circle at 82% 18%, rgba(223, 255, 93, 0.16), transparent 16rem),
    linear-gradient(135deg, rgba(5, 12, 18, 0.96), rgba(18, 30, 24, 0.94));
}

.wallet-case .case-hero-copy h1,
.wallet-case .case-hero-copy p:not(.eyebrow),
.wallet-case .case-section.impact .case-section-copy h2,
.wallet-case .case-section.impact .case-section-copy p,
.wallet-case .case-section.impact .case-note-list li {
  color: #fff8eb;
}

.wallet-case .case-hero .eyebrow,
.wallet-case .case-section.impact .eyebrow {
  color: var(--acid);
}

.wallet-cover {
  background: rgba(255, 250, 240, 0.08);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.36);
}

.wallet-shot img,
.wallet-board img {
  max-height: none;
  object-fit: contain;
  object-position: top center;
}

.wallet-board img {
  max-height: none;
}

.wallet-detail-card {
  border: 1px solid rgba(22, 21, 19, 0.14);
  border-radius: 1rem;
  padding: 1.1rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent 40%),
    rgba(255, 250, 240, 0.82);
  box-shadow: 0 15px 32px rgba(50, 38, 22, 0.16);
}

.wallet-detail-card span {
  display: inline-flex;
  margin-bottom: 0.7rem;
  border-radius: 999px;
  padding: 0.34rem 0.56rem;
  background: var(--acid);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wallet-detail-card h3 {
  margin-bottom: 0.45rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 1;
}

.wallet-detail-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.55;
}

.honeybee-case .case-hero,
.honeybee-case .case-section.impact {
  background:
    radial-gradient(circle at 84% 22%, rgba(47, 192, 220, 0.22), transparent 16rem),
    radial-gradient(circle at 16% 80%, rgba(255, 203, 63, 0.14), transparent 14rem),
    linear-gradient(135deg, rgba(8, 12, 32, 0.97), rgba(26, 38, 86, 0.94));
}

.honeybee-case .case-hero-copy h1,
.honeybee-case .case-hero-copy p:not(.eyebrow),
.honeybee-case .case-section.impact .case-section-copy h2,
.honeybee-case .case-section.impact .case-section-copy p,
.honeybee-case .case-section.impact .case-note-list li {
  color: #fff8eb;
}

.honeybee-case .case-hero .eyebrow,
.honeybee-case .case-section.impact .eyebrow {
  color: #34c6e2;
}

.honeybee-cover,
.honeybee-shot {
  background: rgba(255, 250, 240, 0.08);
  box-shadow: 0 22px 52px rgba(8, 12, 32, 0.32);
}

.honeybee-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.honeybee-case .case-shot img {
  object-fit: contain;
  object-position: top center;
}

.honeybee-case .case-image-grid .case-shot img {
  max-height: none;
}

.honeybee-final .case-shot img {
  max-height: none;
}

.legacy-case .case-hero,
.legacy-case .case-section.impact {
  background:
    radial-gradient(circle at 82% 16%, rgba(181, 51, 51, 0.22), transparent 16rem),
    radial-gradient(circle at 12% 84%, rgba(170, 149, 85, 0.16), transparent 13rem),
    linear-gradient(135deg, rgba(19, 20, 21, 0.98), rgba(49, 51, 51, 0.94));
}

.legacy-case .case-hero-copy h1,
.legacy-case .case-hero-copy p:not(.eyebrow),
.legacy-case .case-section.impact .case-section-copy h2,
.legacy-case .case-section.impact .case-section-copy p,
.legacy-case .case-section.impact .case-note-list li {
  color: #fff8eb;
}

.legacy-case .case-hero .eyebrow,
.legacy-case .case-section.impact .eyebrow {
  color: #d7c064;
}

.legacy-cover-shot,
.legacy-shot {
  background: rgba(255, 250, 240, 0.08);
  box-shadow: 0 24px 56px rgba(18, 19, 19, 0.34);
}

.legacy-cover-shot img,
.legacy-shot img {
  max-height: none;
  object-fit: contain;
  object-position: top center;
}

.legacy-final {
  gap: 1.2rem;
}

.legacy-final .case-next {
  margin-top: 0;
  background: rgba(255, 248, 235, 0.08);
  box-shadow: none;
}

.pet-case .case-hero,
.pet-case .case-section.impact {
  background:
    radial-gradient(circle at 88% 18%, rgba(144, 135, 202, 0.42), transparent 18rem),
    radial-gradient(circle at 18% 82%, rgba(75, 230, 208, 0.22), transparent 14rem),
    linear-gradient(135deg, rgba(255, 250, 240, 0.98), rgba(239, 237, 252, 0.96));
}

.pet-case .case-hero .eyebrow,
.pet-case .case-section.impact .eyebrow,
.pet-soft-section .eyebrow {
  color: #4a1d83;
}

.pet-case .case-hero-copy h1,
.pet-case .case-section.impact .case-section-copy h2 {
  color: #251433;
}

.pet-cover,
.pet-shot {
  background: rgba(255, 250, 240, 0.78);
  box-shadow: 0 24px 56px rgba(74, 29, 131, 0.16);
}

.pet-cover img,
.pet-shot img {
  object-fit: contain;
  object-position: center;
}

.research-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.research-stat-grid article {
  border: 1px solid rgba(74, 29, 131, 0.14);
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(255, 250, 240, 0.72);
  box-shadow: 0 14px 30px rgba(74, 29, 131, 0.12);
}

.research-stat-grid span {
  display: block;
  color: #4a1d83;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 0.9;
}

.research-stat-grid p {
  margin: 0.65rem 0 0;
  color: rgba(33, 31, 27, 0.72);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.45;
}

.pet-wireframes {
  background: rgba(255, 250, 240, 0.86);
}

.pet-wireframes img {
  object-fit: contain;
  object-position: top center;
}

.pet-soft-section {
  background:
    radial-gradient(circle at 12% 22%, rgba(75, 230, 208, 0.16), transparent 13rem),
    #f8f5ee;
}

.cursor-sparkle {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  width: var(--sparkle-size, 10px);
  aspect-ratio: 1;
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: cursor-sparkle 760ms ease-out forwards;
}

.cursor-sparkle::before,
.cursor-sparkle::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 1) 0 14%, transparent 15%),
    linear-gradient(90deg, transparent 0 36%, rgba(255, 198, 49, 0.98) 38% 62%, transparent 64%),
    linear-gradient(0deg, transparent 0 36%, rgba(255, 198, 49, 0.98) 38% 62%, transparent 64%);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  filter:
    drop-shadow(0 0 2px rgba(61, 33, 73, 0.42))
    drop-shadow(0 0 8px rgba(255, 198, 49, 0.4));
}

.cursor-sparkle::after {
  inset: 24%;
  background: rgba(113, 64, 130, 0.86);
  transform: rotate(45deg);
  opacity: 0.82;
}

@keyframes cursor-sparkle {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.45) rotate(var(--sparkle-rotate, 0deg));
  }

  18% {
    opacity: 0.95;
  }

  100% {
    opacity: 0;
    transform:
      translate(
        calc(-50% + var(--sparkle-x, 0px)),
        calc(-50% + var(--sparkle-y, -16px))
      )
      scale(0.08)
      rotate(calc(var(--sparkle-rotate, 0deg) + 55deg));
  }
}

@media (max-width: 1000px) {
  .spread-about {
    grid-template-columns: minmax(14rem, 0.78fr) minmax(0, 1.22fr);
    gap: 3rem;
  }

  .about-photo-stack {
    min-height: 25rem;
  }

  .about-photo {
    left: 0;
    width: min(16rem, 100%);
  }

  .about-photo.small {
    right: -0.5rem;
    top: 18.2rem;
    width: 6.4rem;
  }

  .about-copy h2 {
    font-size: clamp(2.7rem, 5.8vw, 4rem);
  }

  .process-collage {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 2rem;
    min-height: 0;
    margin-top: 1rem;
  }

  .process-line {
    display: none;
  }

  .process-step,
  .step-one,
  .step-two,
  .step-three,
  .step-four {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 9rem;
    border-left: 2px solid rgba(255, 248, 235, 0.62);
  }
}

@media (max-width: 820px) {
  .topbar {
    grid-template-columns: auto 1fr auto;
    gap: 0.55rem;
    width: min(94vw, 70rem);
    margin-top: 0.65rem;
  }

  .tiny-cta {
    display: none;
  }

  .nav-toggle {
    display: grid;
    justify-self: end;
  }

  .topbar nav {
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 0;
    width: min(72vw, 18rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    border-radius: 1.25rem;
    padding: 0.45rem;
    background: rgba(255, 250, 240, 0.94);
  }

  .topbar nav a {
    padding: 0.82rem 0.95rem;
    font-size: 0.82rem;
    text-align: left;
  }

  .topbar.nav-open nav {
    display: flex;
  }

  .hero-sheet {
    min-height: 0;
    border-radius: 1.35rem;
    background:
      linear-gradient(90deg, rgba(255, 252, 246, 0.86), rgba(255, 252, 246, 0.56)),
      linear-gradient(180deg, rgba(255, 252, 246, 0.44), rgba(255, 252, 246, 0.78)),
      url("./assets/liquid-light.png") center center / cover no-repeat,
      #fffaf1;
  }

  .hero-editorial {
    min-height: 0;
    padding: 4.7rem 1rem 2.6rem;
    align-content: start;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(3.05rem, 14vw, 4.65rem);
    line-height: 0.94;
  }

  .inline-portrait {
    width: clamp(2.8rem, 12vw, 3.7rem);
    border-width: 0.2rem;
  }

  .hero-editorial > p:not(.eyebrow) {
    max-width: 31rem;
    font-size: 0.98rem;
    line-height: 1.62;
  }

  .proof-strip {
    max-width: 100%;
    gap: 0.42rem;
  }

  .proof-strip span,
  .about-tags span,
  .case-meta span {
    font-size: 0.68rem;
  }

  .ticket-one,
  .ticket-two,
  .sparkle-mark,
  .cat-mark {
    display: none;
  }

  .passport-stamp {
    right: 1rem;
    top: 1.2rem;
    width: 3rem;
    opacity: 0.58;
  }

  .pin-board,
  .process-collage {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    min-height: 0;
  }

  .polaroid,
  .polaroid.placed,
  .polaroid-large,
  .polaroid-large.placed,
  .polaroid-small,
  .polaroid-small.placed,
  .polaroid-small.alt,
  .polaroid-small.alt.placed,
  .step-one,
  .step-two,
  .step-three,
  .step-four {
    position: relative;
    inset: auto;
    width: 100%;
    transform: none;
  }

  .fake-photo,
  .polaroid-large .fake-photo {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .fake-photo img {
    object-fit: contain;
    object-position: center;
  }

  .photo-system,
  .photo-wallet,
  .photo-health {
    background: rgba(255, 250, 240, 0.72);
  }

  .spread-blue,
  .spread-notes,
  .spread-about,
  .capability-grid,
  .cv-hero,
  .cv-grid-section,
  .cv-education-grid,
  .case-hero,
  .case-summary,
  .case-story,
  .case-section,
  .case-section.compact,
  .case-image-grid {
    grid-template-columns: 1fr;
  }

  .research-stat-grid {
    grid-template-columns: 1fr;
  }

  .legacy-card {
    grid-template-columns: 1fr;
  }

  .legacy-cover img {
    min-height: 15rem;
  }

  .case-section-copy {
    position: static;
  }

  .case-next {
    flex-direction: column;
  }

  .process-line {
    display: none;
  }

  .process-collage {
    grid-template-columns: 1fr;
  }

  .process-step {
    width: 100%;
    border-left: 2px solid rgba(255, 248, 235, 0.55);
    padding-left: 1rem;
  }

  .quality-board {
    grid-template-columns: 1fr;
  }

  .about-photo-stack {
    min-height: 27rem;
  }

  .about-photo {
    left: 7%;
    width: min(19rem, 72vw);
  }

  .about-photo.small {
    right: 0.5rem;
    top: 21.4rem;
    width: 7.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sparkle-mark,
  .plane-inline {
    animation: none;
  }
}
