:root {
  --ink: #0b0710;
  --panel: #150e1a;
  --text: #fbf7ff;
  --muted: #aea4b3;
  --line: rgba(255, 255, 255, .12);
  --airbnb: #ff385c;
  --airbnb-hot: #e00063;
  --purple: #c35cff;
  --max: 1320px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    var(--ink);
  background-size: 72px 72px;
  font: 400 16px/1.65 "DM Sans", sans-serif;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 20; padding: 10px 14px; background: white; color: black; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.case-header {
  height: 82px;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 44px; height: 44px; border: 1px solid rgba(195,92,255,.6); border-radius: 50%; display: grid; place-items: center; color: #dc9dff; font: 700 18px "Syne"; }
.brand > span:last-child { display: grid; line-height: 1; }
.brand strong { font: 700 16px/1 "Syne"; letter-spacing: .22em; }
.brand small { margin-top: 7px; color: var(--muted); font-size: 8px; letter-spacing: .28em; }
.back-link { color: #d6cadc; font-weight: 600; }
.back-link span { color: var(--purple); margin-left: 7px; }
.case-hero {
  min-height: calc(100vh - 82px);
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
  padding: 72px 0 96px;
}
.case-index, .section-label { color: #ef7a93; font: 700 12px/1.2 "Syne"; letter-spacing: .24em; }
.hero-copy h1, h2 { font-family: "Syne", sans-serif; letter-spacing: -.06em; line-height: .95; }
.hero-copy h1 { margin: 24px 0; font-size: clamp(72px, 9vw, 150px); }
.hero-copy h1 span, h2 span { color: #8f8297; }
.hero-lead { max-width: 620px; margin: 0; color: #cabfd0; font-size: clamp(18px, 2vw, 26px); }
.hero-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 54px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-meta div { display: grid; gap: 8px; }
.hero-meta span { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; }
.hero-meta strong { font-size: 14px; }
.hero-visual { margin: 0; border-radius: 32px; overflow: hidden; box-shadow: 0 38px 100px rgba(224,0,99,.22); transform: rotate(1.5deg); }
.hero-visual img { width: 100%; aspect-ratio: 1.48; object-fit: cover; }
.section-shell { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: clamp(88px, 11vw, 170px) 0; border-top: 1px solid var(--line); }
.overview { display: grid; grid-template-columns: .42fr 1.58fr; gap: 48px; }
.overview h2, .showcase h2, .feature-copy h2, .mobile-story h2, .contribution h2 { margin: 0; font-size: clamp(44px, 6vw, 92px); }
.overview-copy > p { max-width: 940px; color: #c4b9c9; font-size: clamp(19px, 2.2vw, 30px); line-height: 1.55; }
.case-note { max-width: 940px; margin-top: 34px; padding: 22px 24px; border: 1px solid rgba(255,56,92,.28); border-radius: 18px; background: rgba(255,56,92,.06); display: grid; gap: 8px; }
.case-note strong { color: #fff; font: 700 13px "Syne", sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.case-note span { color: var(--muted); line-height: 1.6; }
.showcase-head { display: grid; grid-template-columns: .5fr 1.5fr; gap: 40px; align-items: start; margin-bottom: 58px; }
.shot, .phone-shot { border: 0; padding: 0; background: none; color: inherit; cursor: zoom-in; }
.shot { width: 100%; overflow: hidden; border-radius: 28px; border: 1px solid var(--line); }
.shot img { width: 100%; transition: transform .8s var(--ease), filter .5s ease; }
.shot:hover img { transform: scale(1.018); filter: saturate(1.08); }
.shot-wide { background: #f7f7f7; }
.feature-grid, .aircover { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(36px, 7vw, 100px); align-items: center; }
.feature-copy > p:last-child, .showcase-head > p:last-child { max-width: 580px; color: var(--muted); font-size: 18px; }
.mobile-story { position: relative; }
.mobile-story::before { content: ""; position: absolute; inset: 10% -20% auto; height: 60%; background: radial-gradient(circle, rgba(255,56,92,.14), transparent 66%); pointer-events: none; }
.phone-gallery { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 6vw, 88px); align-items: start; max-width: 720px; margin: 90px auto 0; }
.phone-shot { position: relative; z-index: 1; transition: transform .6s var(--ease); }
.phone-shot:hover { transform: translateY(-12px); }
.phone-shot-raised { margin-top: -56px; }
.phone-shot img { width: 100%; max-height: 720px; object-fit: contain; filter: drop-shadow(0 28px 40px rgba(0,0,0,.5)); }
.phone-shot span { display: block; margin-top: 18px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.aircover { grid-template-columns: 1.1fr .9fr; }
.contribution { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; }
.contribution-list { border-top: 1px solid var(--line); }
.contribution-list article { display: grid; grid-template-columns: 54px .7fr 1.3fr; gap: 18px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--line); }
.contribution-list span { color: var(--airbnb); font: 700 12px "Syne"; }
.contribution-list h3 { margin: 0; font: 700 19px "Syne"; }
.contribution-list p { margin: 0; color: var(--muted); }
.next-project { text-align: center; }
.next-project p { color: var(--muted); font-size: 11px; letter-spacing: .2em; }
.next-project h2 { margin: 26px 0 40px; font-size: clamp(54px, 8vw, 120px); }
.next-project a { display: inline-flex; gap: 12px; padding: 14px 22px; border: 1px solid var(--line); border-radius: 999px; font-weight: 700; }
footer { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; min-height: 110px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); color: var(--muted); }
.lightbox { width: min(94vw, 1400px); max-height: 92vh; padding: 0; border: 1px solid rgba(255,255,255,.16); border-radius: 22px; background: #0d0911; color: white; overflow: hidden; }
.lightbox::backdrop { background: rgba(5,2,8,.9); backdrop-filter: blur(10px); }
.lightbox img { width: 100%; max-height: 88vh; object-fit: contain; }
.lightbox-close { position: absolute; z-index: 2; top: 14px; right: 14px; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: rgba(8,4,11,.78); color: white; font-size: 28px; cursor: pointer; }

@media (max-width: 900px) {
  .case-hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-visual { order: -1; }
  .overview, .showcase-head, .feature-grid, .aircover, .contribution { grid-template-columns: 1fr; }
  .showcase-head { gap: 22px; }
  .aircover .feature-copy { order: -1; }
}
@media (max-width: 640px) {
  .case-header, .case-hero, .section-shell, footer { width: min(calc(100% - 28px), var(--max)); }
  .case-header { height: 70px; }
  .back-link { font-size: 0; }
  .back-link span { font-size: 22px; }
  .case-hero { padding: 38px 0 76px; gap: 34px; }
  .hero-copy h1 { font-size: clamp(58px, 20vw, 90px); }
  .hero-meta { grid-template-columns: 1fr; gap: 16px; }
  .hero-meta div { grid-template-columns: 95px 1fr; align-items: baseline; }
  .hero-visual { border-radius: 20px; transform: none; }
  .overview h2, .showcase h2, .feature-copy h2, .mobile-story h2, .contribution h2 { font-size: 42px; }
  .phone-gallery { gap: 7px; margin-top: 62px; }
  .phone-shot-raised { margin-top: -28px; }
  .phone-shot span { font-size: 8px; letter-spacing: .1em; }
  .contribution-list article { grid-template-columns: 34px 1fr; }
  .contribution-list p { grid-column: 2; }
  footer { flex-direction: column; justify-content: center; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
