:root {
  --bg: #11100d;
  --cream: #d0c5ab;
  --cream-2: #cfc4aa;
  --muted: rgba(208, 197, 171, 0.8);
  --soft: rgba(208, 197, 171, 0.62);
  --line: rgba(208, 197, 171, 0.2);
  --ink: #11100d;
  --dock: rgba(17, 16, 13, 0.78);
  --sans: Manrope, sans-serif;
  --display: Manrope, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
html, body { margin: 0; background: var(--bg); color: var(--cream); }
body {
  font-family: var(--sans);
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--cream); color: var(--ink); }
a:focus-visible, button:focus-visible { outline: 1px solid var(--cream); outline-offset: 3px; }

.kicker {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-2);
}

/* ---------- preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: #0c0b09;
  display: grid;
  place-items: center;
  animation: pre-out 0.7s ease 1.25s forwards;
}
.preloader img {
  width: min(280px, 64vw);
  height: min(280px, 64vw);
  object-fit: cover;
  object-position: center 20%;
  border-radius: 22px;
  animation: pre-in 1.2s cubic-bezier(.2, .7, .2, 1) both;
}
@keyframes pre-in {
  from { transform: scale(0.9); opacity: 0; }
  35% { opacity: 1; }
  to { transform: scale(1.06); opacity: 1; }
}
@keyframes pre-out {
  to { opacity: 0; visibility: hidden; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background: #0c0b09;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: saturate(0.82) brightness(0.82) contrast(1.04);
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right, rgba(17, 16, 13, 0.72) 0%, rgba(17, 16, 13, 0.28) 46%, rgba(17, 16, 13, 0.12) 100%),
    linear-gradient(to top, #11100d 0%, rgba(17, 16, 13, 0.55) 18%, rgba(17, 16, 13, 0.12) 48%, rgba(17, 16, 13, 0.28) 100%);
}
.talk img,
.mystart img {
  object-position: center 18%;
}
.logo {
  position: absolute;
  z-index: 3;
  top: 26px;
  left: 28px;
  display: flex;
  flex-direction: column;
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 13px;
  line-height: 1.28;
  color: var(--cream);
}
.top-mail {
  position: absolute;
  z-index: 4;
  top: 28px;
  right: 32px;
  left: auto;
  font-size: 16px;
  letter-spacing: -0.03em;
  color: var(--cream);
}
.hero-lockup {
  position: relative;
  z-index: 2;
  padding: 48vh 24px 0;
  max-width: 1280px;
  padding-right: 24px;
}
.hero-line {
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-line + .hero-line { margin-top: 0.5vh; }
.hero .word, .amp {
  font-weight: 700;
  font-size: clamp(64px, 8.6vw, 112px);
  letter-spacing: -0.045em;
  line-height: 0.9;
  color: var(--cream);
}
.amp { font-size: clamp(72px, 9.4vw, 124px); line-height: 0.8; }
.hero-intro {
  width: min(280px, 28vw);
  margin: 0 8px 0 48px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
  flex: 0 0 auto;
}
.stat {
  width: 92px;
  min-height: 74px;
  padding: 10px 10px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(48, 42, 32, 0.45), rgba(10, 9, 8, 0.72));
  border: 1px solid rgba(208, 197, 171, 0.14);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
}
.scroll-hint {
  position: absolute;
  z-index: 3;
  right: 28px;
  top: 58%;
  color: var(--cream);
  animation: bob 1.7s ease-in-out infinite;
}
.scroll-hint svg { display: block; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

.rise .word { display: inline-flex; overflow: hidden; vertical-align: bottom; }
.rise .ch {
  display: inline-block;
  animation: rise 0.95s cubic-bezier(.16, .84, .24, 1) both;
}
@keyframes rise {
  from { transform: translateY(115%); }
  to { transform: translateY(0); }
}
.fade-in { animation: fade-in 0.9s ease 0.45s both; }
@keyframes fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* ---------- dock ---------- */
.dock {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 7px 8px 7px 10px;
  border-radius: 16px;
  background: var(--dock);
  border: 1px solid rgba(208, 197, 171, 0.22);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.4);
  animation: dock-in 0.7s cubic-bezier(.2, .8, .2, 1) 0.35s both;
}
@keyframes dock-in {
  from { opacity: 0; transform: translateX(-50%) translateY(16px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.dock a {
  position: relative;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 14px 14px;
  white-space: nowrap;
}
.dock a[aria-current="page"],
.dock a.is-on { color: var(--cream); }
.dock a.talk,
.dock a.talk.is-on { color: var(--ink); }
.dock-ind {
  position: absolute;
  left: 86px;
  bottom: 8px;
  width: 18px;
  height: 4px;
  border-radius: 99px;
  background: var(--cream);
  transition: left 0.35s ease;
  pointer-events: none;
}
.talk {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
  padding: 7px 14px 7px 7px;
  border-radius: 12px;
  background: var(--cream);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: none;
}
.talk img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.honors {
  position: fixed;
  z-index: 45;
  right: 0;
  top: 38%;
  width: 58px;
  padding: 14px 0 16px;
  background: #fff;
  color: #161616;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.honors strong { font-size: 13px; letter-spacing: -0.04em; line-height: 1; }
.honors span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ---------- pinned sections ---------- */
.pin { position: relative; }
.sticky-screen {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.what { height: 320vh; background: var(--bg); }
.what-screen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 24px 8vh;
}
.what-copy { position: relative; z-index: 2; max-width: 1180px; }
.reveal, .mega {
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.98;
}
.what .reveal {
  margin: 0;
  max-width: 1100px;
  font-size: clamp(40px, 5.6vw, 72px);
  color: var(--cream-2);
}
.trust {
  margin: 22px 0 0;
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--soft);
}
.reveal .word { display: inline-block; }
.reveal .ch { opacity: 0.12; }
.mega .word { display: inline-flex; }
.mega .ch { display: inline-block; opacity: 0; transform: translateY(70%); }

.floats { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.float {
  position: absolute;
  top: 0;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5);
}
.shot {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  min-height: 220px;
  padding: 22px;
  border-radius: 16px;
  border: 1px solid rgba(208, 197, 171, 0.16);
  background: linear-gradient(165deg, #2c271e, #14120e 72%);
}
.shot span { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.shot strong { font-size: clamp(22px, 2vw, 30px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.shot em { font-style: normal; color: var(--muted); font-size: 14px; }
.shot.b { background: linear-gradient(165deg, #243028, #121410 72%); }
.shot.c { background: linear-gradient(165deg, #1d2733, #101216 72%); }
.shot.d { background: linear-gradient(165deg, #33281c, #16130f 72%); }
.shot.e { background: linear-gradient(165deg, #2a2433, #121014 72%); }
.shot-live {
  min-height: 0;
  aspect-ratio: 3 / 4.2;
  padding: 0 0 16px;
  overflow: hidden;
  justify-content: flex-end;
  border: 0;
  background: #11100d;
}
.shot-live img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.shot-live::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48%;
  background: linear-gradient(to top, rgba(12, 11, 9, 0.94), transparent);
}
.shot-live span,
.shot-live strong,
.shot-live em { position: relative; z-index: 1; margin: 0 16px; }
.case-media:has(.phones) {
  aspect-ratio: auto;
  overflow: visible;
}
.case-media .phones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  height: auto;
  padding: 14px 12px;
  background: #12110e;
  border-radius: 18px;
}
.case-media .phones img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 16px;
}
.case-media .shot { width: 100%; height: 100%; min-height: 0; border: 0; border-radius: 0; box-shadow: none; }
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #2a241c;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.letters { max-width: 1180px; margin: 0 auto; padding: 4vh 24px 8vh; }
.letter-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.letter {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(208, 197, 171, 0.16);
  background: linear-gradient(165deg, #241f18, #12110e);
}
.letter strong, .letter span { display: block; }
.letter strong { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
.letter span { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.4; }
.letter em { margin-top: 18px; font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; }
.ranks-wrap { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.ranks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.rank {
  min-height: 240px;
  padding: 16px 16px 18px;
  border-radius: 8px;
  border: 1px solid rgba(208, 197, 171, 0.16);
  background: #17150f;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}
.rank-art { width: 120px; height: 92px; align-self: center; color: var(--cream); }
.rank b { display: block; font-size: 42px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.rank span { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.35; }
.rank-note { margin: 0; color: var(--muted); font-size: 12px; letter-spacing: 0.01em; }
.case-story { min-height: 100vh; max-width: 860px; padding: 14vh 28px 140px; }
.case-story h1 { margin: 0 0 12px; font-size: clamp(36px, 5vw, 64px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; }
.case-story .meta { margin: 0 0 22px; color: var(--muted); font-size: 16px; }
.case-story .lead { margin: 0 0 28px; max-width: 640px; color: var(--cream); font-size: 18px; line-height: 1.55; }
.case-shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0 0 28px;
}
.case-shots img {
  width: 100%;
  border-radius: 18px;
  background: #17150f;
}

/* ---------- featured ---------- */
.featured { padding: 8vh 0 6vh; }
.featured-head { max-width: 1240px; margin: 0 auto; padding: 0 24px 6vh; }
.mega {
  margin: 0;
  font-weight: 700;
  font-size: clamp(72px, 12vw, 150px);
  letter-spacing: -0.055em;
  line-height: 0.84;
  color: var(--cream);
}
.case {
  display: grid;
  grid-template-columns: minmax(260px, 460px) minmax(0, 1fr);
  gap: 28px 40px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto 150px;
  padding: 0 24px;
  color: inherit;
}
.case-media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #191713;
  aspect-ratio: 1.15 / 1;
}
.case-media video,
.case-media img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.view-case {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #e6dcc4;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
  z-index: 2;
}
.case-no {
  font-size: clamp(84px, 8vw, 128px);
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: rgba(208, 197, 171, 0.92);
}
.case h3 {
  margin: 16px 0 26px;
  max-width: 680px;
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.case-meta {
  margin: 0;
  max-width: 320px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.35;
}

/* ---------- testimonials ---------- */
.results { height: 620vh; }
.results-screen { display: grid; place-items: center; }
.results-titlewrap { position: relative; z-index: 1; text-align: center; }
.results .kicker { margin-bottom: 8px; }
.results-title {
  margin: 0;
  font-size: clamp(84px, 15vw, 176px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.84;
}
.t-card {
  position: absolute;
  left: 50%;
  top: 48%;
  width: min(470px, 88vw);
  padding: 26px 28px 22px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(52, 45, 34, 0.97), rgba(20, 18, 14, 0.98));
  border: 1px solid rgba(208, 197, 171, 0.16);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  z-index: 2;
  will-change: transform;
}
.t-card .num {
  font-size: 64px;
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.t-card p {
  margin: 8px 0 0;
  font-size: 23px;
  line-height: 1.28;
  letter-spacing: -0.015em;
}
.who { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.who img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; }
.who strong { display: block; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.who span { color: var(--muted); font-size: 14px; }

/* ---------- about ---------- */
.about { padding: 16vh 0 8vh; }
.about-lead {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 10vh;
}
.about-lead .reveal {
  margin: 0;
  font-size: clamp(40px, 5.4vw, 68px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.02;
}
.mystart {
  display: grid;
  grid-template-columns: minmax(180px, 280px) minmax(280px, 520px);
  justify-content: end;
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 8vh;
  align-items: end;
}
.mystart img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 8px;
}
.mystart .kicker { text-align: right; }
.mystart p { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.5; }
.life {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 18px;
  align-items: stretch;
  padding: 0 24px 12vh;
  max-width: 1440px;
}
.life-copy p { margin: 0 0 16px; color: var(--muted); font-size: 18px; line-height: 1.5; }
.life-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.life-photos img { width: 100%; height: 340px; object-fit: cover; border-radius: 6px; }
.focus { max-width: 1180px; margin: 0 auto; padding: 4vh 24px 8vh; }
.focus .reveal {
  margin: 0;
  font-size: clamp(40px, 5.4vw, 68px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.02;
}
.skills { max-width: 1180px; margin: 0 auto; padding: 2vh 24px 10vh; }
.tech-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 8px;
  align-items: start;
}
.tech-group {
  padding: 22px 22px 20px;
  border-radius: 16px;
  border: 1px solid rgba(208, 197, 171, 0.22);
  background: #1b1914;
}
.tech-group h3 {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
}
.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tech-list li {
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(208, 197, 171, 0.45);
  background: rgba(208, 197, 171, 0.14);
  color: var(--cream);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  transition: background 0.2s ease, color 0.2s ease;
}
.tech-list li:hover { background: var(--cream); color: var(--ink); }
.skills-top, .skills-bot {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: start;
}
.skills p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; max-width: 420px; }
.skills .display {
  margin: 0;
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--cream);
  max-width: 320px;
  justify-self: end;
}
.rule { height: 1px; margin: 26px 0; background: var(--line); }
.btn-ghost {
  justify-self: end;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 16px 18px;
  border: 1px solid rgba(208, 197, 171, 0.4);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: background 0.25s ease, color 0.25s ease;
}
.btn-ghost:hover { background: var(--cream); color: var(--ink); }

/* ---------- cta ---------- */
.cta { min-height: 70vh; display: grid; }
.cta-screen { display: grid; place-items: center; min-height: 70vh; padding: 12vh 0; }
.cta-copy { position: relative; z-index: 3; text-align: center; padding: 0 20px; }
.cta-copy h2 {
  margin: 0 auto;
  max-width: 740px;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(46px, 6vw, 76px);
  letter-spacing: -0.025em;
  line-height: 1.02;
}
.cta-actions { display: flex; justify-content: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #0e0d0b;
  color: var(--cream);
  border: 1px solid rgba(208, 197, 171, 0.28);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.btn-dark:hover { background: #1b1915; }
.talk.static { margin: 0; }

/* ---------- footer ---------- */
.footer { padding: 12vh 24px 110px; }
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: end;
  min-height: 38vh;
  max-width: 1240px;
  margin: 0 auto;
}
.logo-lg {
  position: static;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: 0.11em;
}
.ready h2 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.ready-btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 22px;
  border-radius: 12px;
  background: var(--cream);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ready-btn:hover { background: #e4dcc8; }
.footer-mid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1240px;
  margin: 90px auto 0;
  align-items: end;
}
.footer-mid h3 {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-mid a.big {
  display: block;
  width: fit-content;
  font-size: clamp(26px, 2.4vw, 32px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.25;
  position: relative;
}
.footer-mid a.big::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.footer-mid a.big:hover::after { transform: scaleX(1); }
.footer-bot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: 1240px;
  margin: 54px auto 0;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer-bot a { text-transform: none; letter-spacing: 0; }

.ready [data-copy],
.footer [data-copy] { position: relative; }
[data-copy]::after {
  content: "Copy to Clipboard";
  position: absolute;
  left: 50%;
  top: calc(100% + 6px);
  transform: translateX(-50%);
  padding: 6px 8px;
  border-radius: 6px;
  background: #111;
  color: #fff;
  font-family: Inter, var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.02em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 5;
}
[data-copy]:hover::after, [data-copy].copied::after { opacity: 1; }
[data-copy].copied::after { content: "Copied!"; }

/* ---------- archive ---------- */
.archive-page { height: 100vh; height: 100dvh; overflow: hidden; }
.archive-rail {
  --phone: min(230px, 34vh, 68vw);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 36px;
  margin: 0;
  padding: 0 calc(50% - var(--phone) / 2) 72px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  outline: none;
}
.archive-rail::-webkit-scrollbar { display: none; }
.archive-rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.archive-rail a.tile {
  flex: 0 0 var(--phone);
  width: var(--phone);
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--cream);
}
.archive-rail .phone {
  aspect-ratio: 9 / 19.2;
  border-radius: 32px;
  overflow: hidden;
  background: var(--tile, #1c1914);
  border: 1px solid rgba(208, 197, 171, 0.2);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
  transform: scale(var(--focus, 0.9));
  transform-origin: center center;
  transition: transform 0.35s ease;
}
.archive-rail a.tile:hover .phone { transform: scale(calc(var(--focus, 0.9) + 0.03)); }
.archive-rail .phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.archive-rail .tile-copy { min-height: 4.4em; text-align: center; }
.archive-rail .tile-copy em {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.archive-rail .tile-copy strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.archive-slider {
  position: fixed;
  z-index: 52;
  left: 50%;
  bottom: 104px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(360px, calc(100% - 220px));
}
.archive-slider button {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(208, 197, 171, 0.28);
  color: var(--cream);
  font-size: 22px;
  line-height: 1;
}
.archive-slider button:hover { background: var(--cream); color: var(--ink); }
.archive-slider input[type="range"] {
  flex: 1;
  width: 100%;
  height: 2px;
  margin: 0;
  appearance: none;
  background: rgba(208, 197, 171, 0.28);
  border-radius: 2px;
  cursor: pointer;
}
.archive-slider input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cream);
  border: 0;
}
.archive-slider input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cream);
  border: 0;
}
.archive-slider input[type="range"]::-moz-range-track {
  height: 2px;
  background: rgba(208, 197, 171, 0.28);
  border: 0;
}
.edge-link {
  position: fixed;
  z-index: 51;
  bottom: 36px;
  color: var(--muted);
  font-size: 16px;
}
.edge-link.left { left: 28px; }
.edge-link.right { right: 28px; }
.edge-link:hover { color: var(--cream); }

/* ---------- case page ---------- */
.case-page { min-height: 100vh; }
.case-hero { position: relative; min-height: 100vh; background: #0c0b09; }
.case-hero video, .case-hero img { width: 100%; height: 100vh; object-fit: cover; }
.case-bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  padding: 28px 28px 110px;
  background: linear-gradient(to top, rgba(17, 16, 13, 0.85), transparent);
}
.case-bar h1 { margin: 0 0 8px; font-size: clamp(28px, 4vw, 48px); font-weight: 500; letter-spacing: -0.03em; max-width: 760px; }
.case-bar p { margin: 0; color: var(--muted); font-size: 16px; }
.back-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--cream);
  font-size: 14px;
}

@media (max-width: 980px) {
  .hero-lockup { padding-top: 18vh; padding-right: 24px; }
  .hero-line { flex-wrap: wrap; }
  .hero-intro { width: 100%; margin: 8px 0 0; }
  .scroll-hint { display: none; }
  .honors { display: none; }
  .case { grid-template-columns: 1fr; margin-bottom: 88px; }
  .mystart, .life, .skills-top, .skills-bot, .footer-top, .footer-mid {
    grid-template-columns: 1fr;
  }
  .skills .display, .btn-ghost { justify-self: start; }
  .life-photos, .letter-grid, .ranks, .tech-groups { grid-template-columns: 1fr 1fr; }
  .life-photos img, .mystart img { height: 240px; }
  .archive-rail { --phone: min(200px, 32vh, 62vw); gap: 22px; padding-bottom: 96px; }
  .archive-slider { width: min(420px, calc(100% - 32px)); bottom: 96px; }
  .edge-link { display: none; }
  .top-mail { font-size: 13px; right: 16px; }
  .logo { left: 16px; }
}

@media (max-width: 640px) {
  .dock a { padding: 10px 8px 12px; letter-spacing: 0.04em; font-size: 11px; }
  .talk span { display: none; }
  .tech-groups { grid-template-columns: 1fr; }
  .tech-list li { font-size: 16px; }
  .hero .word, .amp { font-size: 46px; }
  .t-card p { font-size: 18px; }
  .archive-rail { --phone: min(168px, 30vh, 58vw); gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .preloader { display: none; }
  .rise .ch, .mega .ch, .reveal .ch { animation: none !important; opacity: 1 !important; transform: none !important; }
  .fade-in, .dock, .scroll-hint { animation: none !important; }
}
