﻿html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

:root {
  --ink: #111;
  --bg: #faf9f8;
  --acc: #3350ff;
  --t: #3350ff;
  --tx: #111;
  --e: cubic-bezier(0.77, 0, 0.18, 1);
}

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

html,
body {
  height: 100%;
  overflow: hidden;
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--tx);
}

.portfolio-root {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: var(--bg);
  color: var(--tx);
  transition: background 0.9s var(--e), color 0.9s;
}

.bar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  background: var(--acc);
  transition: background 0.9s;
  z-index: 30;
}

.hd {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: calc(34px + env(safe-area-inset-top, 0px)) 8vw 0;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  pointer-events: none;
}

.hd.hd-over {
  padding-top: calc(18px + env(safe-area-inset-top, 0px));
  padding-bottom: 14px;
  background: rgba(250, 249, 248, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  color: #111 !important;
}

.hd.hd-hidden {
  opacity: 0;
  pointer-events: none;
}

.hd button {
  pointer-events: auto;
  cursor: pointer;
  color: inherit;
  transition: color 0.9s;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: 0;
  font: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
}

.hd .back-label,
.hd .case-close-hd {
  color: #111;
}

.hd .logo {
  width: 28px;
  height: 24px;
  flex: 0 0 auto;
  transition: filter 0.9s;
  object-fit: contain;
}

.hd .logo.invert {
  filter: invert(1) brightness(1.05);
}

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

.sc {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sc .tx {
  position: absolute;
  left: 8vw;
  top: 0;
  bottom: 0;
  width: 48vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s, transform 0.9s var(--e);
}

.sc.on .tx {
  opacity: 1;
  transform: none;
  transition-delay: 0.35s;
  pointer-events: auto;
}

.sc h1 {
  font-family: var(--font-title, 'Playfair Display', serif);
  font-weight: var(--font-title-weight, 900);
  font-size: clamp(64px, 12vw, 190px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--t);
  transition: color 0.9s;
  margin-top: -6vh;
}

.sc .tx > p {
  font-family: var(--font-body, Inter, system-ui, sans-serif);
  font-weight: var(--font-body-weight, 400);
  font-size: clamp(17px, 1.6vw, 24px);
  line-height: 1.6;
  max-width: 30em;
  margin: 3vh 0 4vh;
}

.cta {
  font-weight: 800;
  letter-spacing: 0.2em;
  font-size: 14px;
  text-transform: uppercase;
  cursor: pointer;
  background: none;
  border: 0;
  color: inherit;
  font-family: inherit;
  text-align: left;
}

.cta span {
  color: var(--acc);
  margin-left: 8px;
  display: inline-block;
  transition: transform 0.3s;
}

.cta:hover span {
  transform: translateX(8px);
}

.th {
  position: absolute;
  left: 8vw;
  bottom: 5vh;
  width: min(24vw, 380px);
  aspect-ratio: 16 / 10;
  border: 5px solid var(--acc);
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  backface-visibility: hidden;
  transform: perspective(900px) rotateY(180deg);
  transition: transform 0.9s var(--e), border-color 0.9s, box-shadow 0.4s;
  pointer-events: none;
  z-index: 5;
}

.sc.on .th {
  transform: perspective(900px) rotateY(0);
  transition-delay: 0.45s;
  pointer-events: auto;
  cursor: pointer;
}

.sc.pv .th {
  transform: perspective(900px) rotateY(-180deg);
}

.sc.on .th:hover {
  transform: perspective(900px) rotateY(0) translateY(-8px) scale(1.04);
  transition-delay: 0s;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
}

.mn {
  position: absolute;
  inset: 0;
  padding: 10px 12px;
  font-size: 8px;
  letter-spacing: 0.18em;
  font-weight: 800;
  color: #111;
}

.mn b {
  position: absolute;
  left: 12px;
  bottom: 12px;
  font: 900 clamp(24px, 3.2vw, 50px) / 1 'Playfair Display', serif;
  letter-spacing: -0.02em;
  z-index: 2;
}

.mn .thumb {
  position: absolute;
  right: 12px;
  top: 26px;
  bottom: 12px;
  width: 44%;
  border-radius: 2px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

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

.mn u {
  position: absolute;
  right: 12px;
  top: 10px;
  text-decoration: none;
}

.im {
  position: absolute;
  right: 11vw;
  top: 19vh;
  width: 38vw;
  height: 56vh;
  border-radius: 2px;
  overflow: hidden;
  transform-origin: 50% 50%;
  transition: transform 1.1s var(--e), opacity 1s, filter 1s;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  z-index: 6;
}

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

.im.logo-slide img {
  object-fit: contain;
  padding: 14%;
}

.im i {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  color: #fff;
  font-size: clamp(40px, 7vw, 120px);
  mix-blend-mode: overlay;
  opacity: 0.9;
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.im.has-photo i {
  opacity: 0.35;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.im.logo-slide i {
  display: none;
}

.im.profile-panel {
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
  background: #f7f8fc !important;
  color: #0d0d12;
  box-shadow: 0 24px 60px rgba(34, 48, 120, 0.22);
  overflow: hidden;
}

.im.profile-panel::before {
  content: none;
}

.visit-card {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: clamp(22px, 2.4vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
  color: #0d0d12;
  overflow: hidden;
}

.visit-card-art {
  position: absolute !important;
  right: -8%;
  top: 18%;
  width: min(58%, 280px);
  height: auto !important;
  object-fit: contain !important;
  opacity: 0.92;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: multiply;
}

.visit-card-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
}

.visit-card-mark {
  width: clamp(64px, 7vw, 92px);
  height: clamp(64px, 7vw, 92px);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid #d9dde8;
  box-shadow: 0 8px 24px rgba(34, 80, 255, 0.12);
}

.visit-card-mark img {
  position: static;
  width: 72%;
  height: 72%;
  object-fit: contain;
  padding: 0;
}

.visit-card-mark span {
  font-family: 'DM Serif Display', 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 400;
  color: #2250ff;
}

.visit-card-kicker {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: #8a8d98;
  margin-bottom: 8px;
}

.visit-card-id h2 {
  font-family: 'DM Serif Display', 'Playfair Display', serif;
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.03em;
  margin: 0;
  color: #0d0d12;
}

.visit-card-role {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #2b2d36;
}

.visit-card-tagline {
  position: relative;
  z-index: 1;
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.55;
  color: #4a4d57;
  max-width: 22em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.visit-card-highlights {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.visit-card-highlights li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.45;
  color: #3e414b;
}

.visit-card-highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2250ff;
  box-shadow: 0 0 0 3px #e9eeff;
}

.visit-card-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #d9dde8;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #8a8d98;
}

.visit-card-hint {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #2250ff;
}

.sc.on .im.profile-panel:hover {
  transform: perspective(1600px) rotateY(-5deg) rotateX(1deg) skewY(-2deg) scale(1.02);
}

.sc.on .im {
  transform: perspective(1600px) rotateY(-9deg) rotateX(3deg) skewY(-4deg);
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
}

.sc.on .im:hover {
  transform: perspective(1600px) rotateY(-5deg) rotateX(1deg) skewY(-2deg) scale(1.03);
}

.sc.nx .im,
.sc.pv .im {
  pointer-events: auto;
  cursor: pointer;
}

.sc.nx .im {
  transform: translateY(68vh) perspective(1600px) rotateY(-9deg) skewY(-6deg);
  opacity: 0.55;
  filter: grayscale(1);
}

.sc.pv .im {
  transform: translateY(-66vh) perspective(1600px) rotateY(-9deg) skewY(-6deg);
  opacity: 0.55;
  filter: grayscale(1);
}

.sc.of .im {
  transform: translateY(160vh);
  opacity: 0;
}

.sc.pv.far .im {
  transform: translateY(-160vh);
  opacity: 0;
  pointer-events: none;
}

.dots {
  position: fixed;
  right: 5vw;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.dots.dots-hidden {
  opacity: 0;
  pointer-events: none;
}

.dots button {
  width: 7px;
  height: 20px;
  border-radius: 4px;
  background: currentColor;
  opacity: 0.35;
  cursor: pointer;
  transition: all 0.4s;
  border: 0;
  padding: 0;
}

.dots button.on {
  opacity: 1;
  background: var(--acc);
  height: 30px;
}

.swipe-hint {
  display: none;
}

.wipe {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--acc);
  z-index: 50;
  overflow: hidden;
  transition: width 0.9s var(--e);
}

.wipe.open {
  width: 100vw;
}

.wipe .tc {
  position: absolute;
  white-space: nowrap;
}

.case {
  position: fixed;
  inset: 0;
  z-index: 80;
  overflow-y: auto;
  overflow-x: hidden;
  background: #faf9f8;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s;
  -webkit-overflow-scrolling: touch;
}

.case.show {
  visibility: visible;
  opacity: 1;
}

.case-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 16px 8vw;
  background: rgba(250, 249, 248, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.case-back,
.case-x,
.case-back-footer {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: #111;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.case-back {
  justify-self: start;
  padding: 10px 0;
}

.case-bar-title {
  justify-self: center;
  font-family: var(--font-title, 'Playfair Display', serif);
  font-weight: var(--font-title-weight, 700);
  font-size: 18px;
  letter-spacing: -0.02em;
  color: #111;
}

.wipe-title {
  font-family: var(--font-title, 'Playfair Display', serif);
  font-weight: var(--font-title-weight, 900);
}

.case-x {
  justify-self: end;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  letter-spacing: 0;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ch {
  min-height: calc(100vh - 72px);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: 4vw;
  padding: 8vh 8vw 12vh;
}

.ch-copy {
  position: relative;
  z-index: 3;
  max-width: 18em;
}

.ch-eyebrow {
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(17, 17, 17, 0.7);
  margin-bottom: 18px;
}

.ch h1 {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  color: #111;
  z-index: 3;
  margin: 0;
  font-family: var(--font-title, 'Playfair Display', serif);
  font-weight: var(--font-title-weight, 900);
  font-size: clamp(52px, 8vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.ch-sub {
  margin-top: 22px;
  font-family: var(--font-body, Inter, system-ui, sans-serif);
  font-weight: var(--font-body-weight, 400);
  font-size: clamp(16px, 1.4vw, 22px);
  line-height: 1.5;
  color: rgba(17, 17, 17, 0.78);
  max-width: 22em;
}

.ch .cim {
  position: relative;
  left: auto;
  top: auto;
  width: 100%;
  height: min(62vh, 640px);
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
  overflow: hidden;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.ch .cim img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ch .cim i {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  color: #fff;
  font-size: clamp(40px, 6vw, 88px);
  mix-blend-mode: overlay;
  position: relative;
  z-index: 1;
  opacity: 0.45;
}

.dn {
  position: absolute;
  left: 50%;
  bottom: 3vh;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  border: 0;
  font-size: 22px;
  transform: translateX(-50%);
  cursor: pointer;
  z-index: 3;
}

.cb {
  background: #faf9f8;
  color: #111;
  position: relative;
  padding: 10vh 0 12vh;
}

.w {
  width: min(1100px, 84vw);
  margin: 0 auto;
}

.eb {
  font-weight: 800;
  letter-spacing: 0.2em;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: #111;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(240px, 0.8fr);
  gap: 6vw;
  align-items: start;
  padding-bottom: 8vh;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.hl {
  font-family: var(--font-title, 'Playfair Display', serif);
  font-weight: var(--font-title-weight, 900);
  font-size: clamp(32px, 4.6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.lead {
  font-family: var(--font-body, Inter, system-ui, sans-serif);
  font-weight: var(--font-body-weight, 400);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.7;
  color: #444;
  max-width: 38em;
}

.meta {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 0;
  padding: 8px 0 8px 28px;
  border-left: 1px solid rgba(17, 17, 17, 0.1);
}

.meta div {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}

.meta b {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 8px;
}

.brand-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  margin: 10vh auto;
}

.type-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.swatches {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sw {
  min-height: 56px;
  border-radius: 6px;
  color: #fff;
  display: flex;
  align-items: center;
  padding: 0 18px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.25);
}

.sw.light {
  color: #111;
  border: 1px solid #ddd;
  text-shadow: none;
}

.fs {
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.15;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fs span,
.fs-sans span {
  display: block;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #666;
  font-family: Inter, system-ui, sans-serif;
}

.gallery-block {
  margin: 4vh 0 8vh;
}

.gal {
  display: flex;
  gap: 2vw;
  overflow-x: auto;
  padding: 0 8vw 8px;
  cursor: grab;
  scrollbar-width: none;
  user-select: none;
  margin: 0;
}

.gal::-webkit-scrollbar {
  display: none;
}

.gal > div {
  flex: 0 0 min(30vw, 360px);
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.gal > div img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gal > div::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 55%);
  z-index: 1;
}

.gal > div span {
  position: relative;
  z-index: 2;
}

.sections {
  margin: 8vh auto 10vh;
}

.section-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tb {
  display: grid;
  grid-template-columns: 64px minmax(180px, 0.8fr) minmax(0, 1.4fr);
  gap: 3vw;
  align-items: start;
  padding: 36px 0;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.tb:last-child {
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.tb-index {
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 13px;
  color: #888;
  padding-top: 8px;
}

.tb h3 {
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.2;
  font-family: var(--font-title, 'Playfair Display', serif);
  font-weight: var(--font-title-weight, 700);
}

.tb p {
  font-family: var(--font-body, Inter, system-ui, sans-serif);
  font-weight: var(--font-body-weight, 400);
  font-size: 17px;
  line-height: 1.75;
  color: #444;
}

.gr {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5vw;
  margin-top: 4vh;
}

.next-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 12vh;
  padding-top: 6vh;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.gr figure div {
  aspect-ratio: 16 / 10;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3vw, 44px);
  font-style: italic;
  color: #fff;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
}

.gr figure div img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gr figcaption {
  text-align: center;
  font-style: italic;
  font-size: 14px;
  margin-top: 14px;
  color: #555;
}

.nxt {
  display: block;
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(28px, 4.5vw, 64px);
  cursor: pointer;
  text-align: right;
  background: none;
  border: 0;
  color: #111;
  line-height: 1.1;
}

.case-back-footer {
  padding: 12px 0;
}

.cc {
  position: fixed;
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
  border-radius: 50%;
  background: rgba(255, 236, 120, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  z-index: 200;
  pointer-events: none;
  transform: scale(0);
  transition: transform 0.3s, background 0.5s;
  color: #111;
}

.cc.v {
  transform: scale(1);
}

.about {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: #111;
  color: #faf9f8;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.9s var(--e);
  padding: 16vh 8vw 10vh;
}

.about.show {
  transform: none;
}

.about h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(44px, 8vw, 120px);
  line-height: 1;
  font-weight: 900;
  margin-bottom: 4vh;
}

.about h2 em {
  color: #3350ff;
  font-style: normal;
}

.about > p {
  max-width: 36em;
  line-height: 1.7;
  color: #cfcfcf;
  font-size: 19px;
}

.ag {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 5vw;
  margin-top: 8vh;
}

.ag h4 {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ff6b3d;
  margin-bottom: 16px;
}

.ag p,
.ag li {
  line-height: 1.8;
  color: #cfcfcf;
  list-style: none;
  font-size: 15px;
}

.ag li {
  margin-bottom: 12px;
}

.ag li b {
  color: #fff;
}

.ag a {
  color: #8dffb5;
}

@media (max-width: 800px) {
  /* Horizontal project paging on mobile */
  .sc {
    transform: translateX(0);
    transition: transform 0.85s var(--e), opacity 0.55s;
    pointer-events: none;
  }

  .sc.on {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
  }

  .sc.nx {
    transform: translateX(100%);
    opacity: 0.35;
    z-index: 1;
  }

  .sc.pv {
    transform: translateX(-100%);
    opacity: 0.35;
    z-index: 1;
  }

  .sc.of {
    transform: translateX(110%);
    opacity: 0;
  }

  .sc.pv.far {
    transform: translateX(-110%);
    opacity: 0;
  }

  .sc .tx {
    width: 86vw;
    top: 0;
    bottom: auto;
    height: auto;
    justify-content: flex-start;
    padding-top: 12vh;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .sc.on .tx {
    transition: none;
    transition-delay: 0s;
  }

  .sc h1 {
    font-size: clamp(48px, 16vw, 84px);
    margin-top: 0;
  }

  .sc .tx > p {
    margin: 2vh 0 3vh;
    font-size: clamp(15px, 4.2vw, 18px);
  }

  .im {
    width: 86vw;
    right: 7vw;
    left: 7vw;
    top: auto;
    bottom: 14vh;
    height: 38vh;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
    transition: none;
  }

  .visit-card {
    padding: 18px;
    gap: 10px;
  }

  .visit-card-art {
    width: 46%;
    top: 12%;
    opacity: 0.7;
  }

  .visit-card-mark {
    width: 56px;
    height: 56px;
    border-radius: 14px;
  }

  .visit-card-id h2 {
    font-size: 22px;
  }

  .visit-card-tagline {
    -webkit-line-clamp: 2;
    font-size: 13px;
  }

  .visit-card-hint {
    font-size: 10px;
  }

  .visit-card-highlights {
    gap: 6px;
  }

  .visit-card-highlights li {
    font-size: 12px;
  }

  .visit-card-meta {
    gap: 6px 12px;
    font-size: 10px;
  }

  .sc.on .im,
  .sc.on .im:hover,
  .sc.nx .im,
  .sc.pv .im,
  .sc.of .im,
  .sc.pv.far .im {
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
  }

  .th {
    display: none;
  }

  .dots {
    top: auto;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    flex-direction: row;
    gap: 10px;
    align-items: center;
  }

  .dots button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
  }

  .dots button.on {
    width: 26px;
    height: 8px;
    border-radius: 999px;
  }

  .swipe-hint {
    display: block;
    position: fixed;
    bottom: calc(40px + env(safe-area-inset-bottom, 0px));
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    opacity: 0.45;
    pointer-events: none;
    white-space: nowrap;
  }

  .case-bar {
    grid-template-columns: 1fr auto;
    padding: 14px 5vw;
  }

  .case-bar-title {
    display: none;
  }

  .ch {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 6vh 5vw 10vh;
    gap: 4vh;
  }

  .ch .cim {
    height: 42vh;
  }

  .intro,
  .brand-block,
  .tb,
  .gr {
    grid-template-columns: 1fr;
  }

  .meta {
    border-left: 0;
    padding: 24px 0 0;
    border-top: 1px solid rgba(17, 17, 17, 0.08);
  }

  .tb {
    gap: 12px;
  }

  .tb-index {
    padding-top: 0;
  }

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

  .nxt {
    text-align: left;
    font-size: clamp(28px, 10vw, 48px);
  }

  .cc {
    display: none;
  }

  .resume-sheet.flat {
    width: min(96vw, 720px);
    height: min(92vh, 960px);
    border-radius: 18px;
  }

  .resume-page {
    padding: 28px 22px 40px;
  }

  .resume-art {
    width: 54%;
    top: 70px;
  }

  .resume-head h1 {
    font-size: 34px;
  }

  .resume-contact {
    margin-top: 22px;
  }

  .resume-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ---------- Compact resume overlay ---------- */
.resume-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  pointer-events: none;
  perspective: 1800px;
}

.resume-overlay.show {
  pointer-events: auto;
}

.resume-scrim {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(13, 16, 28, 0.42);
  opacity: 0;
  transition: opacity 0.55s var(--e);
  cursor: pointer;
}

.resume-overlay.show .resume-scrim {
  opacity: 1;
}

.resume-sheet {
  position: fixed;
  z-index: 2;
  overflow: hidden;
  background: #fff;
  color: #4a4d57;
  box-shadow: 0 30px 90px rgba(20, 30, 70, 0.28);
  transform-origin: center center;
  transition:
    left 0.85s var(--e),
    top 0.85s var(--e),
    width 0.85s var(--e),
    height 0.85s var(--e),
    transform 0.85s var(--e),
    border-radius 0.85s var(--e),
    box-shadow 0.85s var(--e);
  will-change: left, top, width, height, transform;
}

.resume-sheet.flat {
  left: 50% !important;
  top: 50% !important;
  width: min(920px, 92vw) !important;
  height: min(88vh, 1040px) !important;
  transform: translate(-50%, -50%) perspective(1800px) rotateY(0deg) rotateX(0deg) skewY(0deg)
    scale(1) !important;
  border-radius: 22px !important;
  box-shadow: 0 40px 120px rgba(20, 30, 70, 0.32);
}

.resume-chrome {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e6e9f2;
}

.resume-back,
.resume-x {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0d0d12;
}

.resume-back {
  justify-self: start;
}

.resume-chrome-title {
  font-family: 'DM Serif Display', 'Playfair Display', serif;
  font-size: 18px;
  color: #0d0d12;
}

.resume-x {
  justify-self: end;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0d0d12;
  color: #fff;
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.resume-scroll {
  height: calc(100% - 64px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
}

.resume-page {
  position: relative;
  padding: 28px 40px 48px;
  overflow: hidden;
}

.resume-art {
  position: absolute;
  right: 8px;
  top: 84px;
  width: min(42%, 300px);
  height: auto;
  object-fit: contain;
  pointer-events: none;
  opacity: 0.95;
  mix-blend-mode: multiply;
}

.resume-head {
  position: relative;
  z-index: 1;
  max-width: 58%;
}

.resume-logo {
  width: 54px;
  height: auto;
  display: block;
}

.resume-head h1 {
  font-family: 'DM Serif Display', 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 48px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: #0d0d12;
  margin: 14px 0 0;
}

.resume-role {
  font-weight: 300;
  font-size: 18px;
  letter-spacing: 0.28em;
  color: #2b2d36;
  margin-top: 8px;
}

.resume-focus {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: #8a8d98;
  margin-top: 12px;
  text-transform: uppercase;
}

.resume-contact {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.resume-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #2b2d36;
}

.resume-contact a {
  color: inherit;
  text-decoration: none;
}

.resume-contact a:hover {
  color: #2250ff;
}

.resume-ic {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e9eeff;
  display: grid;
  place-items: center;
  flex: none;
}

.resume-ic svg {
  width: 13px;
  height: 13px;
  fill: #2250ff;
}

.resume-hero {
  position: relative;
  z-index: 1;
  margin-top: 28px;
  max-width: 34em;
}

.resume-hero h2 {
  font-family: 'DM Serif Display', 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #0d0d12;
}

.resume-hero h2 span {
  display: block;
  color: #2250ff;
}

.resume-hero p {
  font-size: 14px;
  line-height: 1.6;
  color: #3e414b;
  margin-top: 14px;
}

.resume-grid {
  position: relative;
  z-index: 1;
  margin-top: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 28px 32px;
}

.resume-sec {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: #55586a;
  font-weight: 500;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.resume-sec::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #d9dde8;
}

.resume-timeline {
  position: relative;
  margin-bottom: 22px;
}

.resume-timeline::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: #d9dde8;
}

.resume-job {
  position: relative;
  padding-left: 22px;
  margin-bottom: 14px;
}

.resume-job::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2250ff;
  box-shadow: 0 0 0 3px #e9eeff;
}

.resume-job-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.resume-job h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #0d0d12;
}

.resume-job time,
.resume-edu time {
  font-size: 11px;
  color: #8a8d98;
  white-space: nowrap;
}

.resume-job-role {
  margin: 2px 0 6px;
  font-size: 12px;
  color: #8a8d98;
}

.resume-job ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.resume-job li {
  position: relative;
  padding-left: 12px;
  font-size: 12px;
  line-height: 1.4;
  color: #4a4d57;
  margin-bottom: 4px;
}

.resume-job li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2250ff;
}

.resume-edu {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.resume-edu::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 8px;
  bottom: 10px;
  width: 1px;
  background: #d9dde8;
}

.resume-edu li {
  position: relative;
  padding-left: 22px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.resume-edu li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c8d3f7;
}

.resume-edu b {
  display: block;
  font-weight: 500;
  font-size: 12px;
  color: #0d0d12;
}

.resume-edu small {
  display: block;
  font-size: 11px;
  color: #8a8d98;
  margin-top: 2px;
}

.resume-chips,
.resume-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.resume-chip,
.resume-tool {
  background: #f4f5f9;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 11px;
  color: #3e414b;
}

.resume-chip::before,
.resume-tool::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2250ff;
  margin-right: 8px;
  vertical-align: middle;
}

.resume-langs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.resume-lang b {
  display: block;
  font-size: 13px;
  color: #0d0d12;
}

.resume-lang span {
  display: block;
  font-size: 11px;
  color: #8a8d98;
  margin: 4px 0 10px;
}

.resume-dots {
  display: flex;
  gap: 6px;
}

.resume-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2250ff;
}

.resume-dots i.off {
  background: #e2e4ea;
}

.resume-footer {
  position: relative;
  z-index: 1;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid #d9dde8;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.resume-footer p {
  margin: 0;
  font-size: 12px;
  color: #8a8d98;
  letter-spacing: 0.04em;
}

.resume-cta {
  font: inherit;
  border: 0;
  cursor: pointer;
  background: #2250ff;
  color: #fff;
  border-radius: 999px;
  padding: 14px 22px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resume-cta span {
  margin-left: 8px;
}

.resume-cta:hover {
  background: #1a3fd6;
}

