:root {
  --paper: #f2f0e8;
  --ink: #151515;
  --muted: #696860;
  --line: rgba(21, 21, 21, .18);
  --acid: #d9ff43;
  --blue: #2457ff;
  --white: #fffefa;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Manrope", sans-serif;
  --max: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.45;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
::selection { background: var(--blue); color: var(--white); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; z-index: 100; top: -80px; left: 18px; padding: 12px 16px;
  background: var(--ink); color: var(--white); text-decoration: none;
}
.skip-link:focus { top: 18px; }

.site-header {
  position: relative; z-index: 20; width: min(calc(100% - 48px), var(--max)); height: 88px;
  margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; width: fit-content; gap: 11px; align-items: center; font-weight: 800; letter-spacing: -.04em; text-decoration: none; }
.brand-mark { display: flex; gap: 2px; align-items: flex-end; height: 21px; transform: skew(-10deg); }
.brand-mark i { display: block; width: 5px; background: var(--ink); }
.brand-mark i:nth-child(1) { height: 11px; }
.brand-mark i:nth-child(2) { height: 16px; }
.brand-mark i:nth-child(3) { height: 21px; }
.site-header nav { display: flex; gap: 34px; font-size: 13px; font-weight: 700; }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.header-note { justify-self: end; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }

.hero {
  position: relative; min-height: min(820px, calc(100svh - 88px)); width: min(calc(100% - 48px), var(--max));
  margin: 0 auto; padding: clamp(82px, 10vw, 150px) 0 90px; display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(240px, .7fr); align-items: end; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: 14%; top: 5%; width: 18vw; height: 18vw; max-width: 260px; max-height: 260px;
  border: 1px solid var(--line); border-radius: 50%; pointer-events: none;
}
.eyebrow { margin: 0 0 24px; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.live-dot { display: inline-block; width: 8px; height: 8px; margin-right: 9px; border-radius: 50%; background: var(--blue); animation: pulse 2s ease-in-out infinite; }
.hero h1 { margin: 0; font-size: clamp(68px, 10.4vw, 160px); line-height: .78; letter-spacing: -.085em; font-weight: 700; }
.hero h1 em { font-family: var(--serif); font-weight: 400; letter-spacing: -.055em; }
.hero-intro { max-width: 570px; margin: 44px 0 24px; color: var(--muted); font-size: clamp(17px, 1.8vw, 22px); }
.text-link { display: inline-flex; gap: 12px; align-items: center; font-size: 13px; font-weight: 800; text-underline-offset: 5px; }
.hero-index { justify-self: end; width: min(100%, 330px); padding-bottom: 12px; }
.index-number { font-family: var(--serif); font-size: clamp(130px, 17vw, 250px); line-height: .65; letter-spacing: -.08em; }
.hero-index > p { margin: 30px 0 0; font-size: 14px; font-weight: 700; }
.index-rule { width: 100%; height: 1px; margin: 30px 0; background: var(--line); }
.hero-index .index-small { margin: 0; color: var(--muted); font-size: 12px; font-weight: 500; }

.floating-icons img {
  position: absolute; width: clamp(48px, 5.2vw, 78px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 22%;
  box-shadow: 0 18px 35px rgba(0,0,0,.14); animation: drift 7s ease-in-out infinite;
  animation-delay: calc(var(--i) * -1.25s);
}
.floating-icons img:nth-child(1) { top: 13%; left: 53%; transform: rotate(-8deg); }
.floating-icons img:nth-child(2) { top: 42%; right: 5%; transform: rotate(7deg); }
.floating-icons img:nth-child(3) { bottom: 8%; left: 48%; transform: rotate(5deg); }
.floating-icons img:nth-child(4) { top: 18%; right: 31%; transform: rotate(12deg); }
.floating-icons img:nth-child(5) { top: 48%; left: 54%; transform: rotate(-12deg); }

.featured, .catalog, .studio, footer { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.featured { padding: 42px 0 140px; }
.section-label { display: flex; justify-content: space-between; padding: 12px 0; border-block: 1px solid var(--ink); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.featured-card {
  display: grid; grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr); min-height: 670px;
  background: var(--acid); opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease;
}
.featured-card.is-visible { opacity: 1; transform: none; }
.featured-art { position: relative; display: grid; place-items: center; overflow: hidden; background: var(--blue); }
.featured-icon { position: relative; z-index: 3; width: min(49%, 300px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 24%; box-shadow: 0 32px 65px rgba(0,0,0,.28); transform: rotate(-4deg); }
.featured-orbit { position: absolute; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; }
.orbit-one { width: 72%; aspect-ratio: 1; }
.orbit-two { width: 118%; aspect-ratio: 1; }
.featured-stamp {
  position: absolute; z-index: 4; bottom: 28px; left: 28px; padding: 9px 13px; border: 1px solid rgba(255,255,255,.55);
  color: white; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; transform: rotate(-2deg);
}
.featured-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(44px, 7vw, 110px); }
.featured-genre { margin: 0 0 26px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }
.featured-copy h2 { margin: 0; max-width: 760px; font-size: clamp(50px, 6vw, 90px); line-height: .91; letter-spacing: -.07em; }
.featured-line { margin: 30px 0 0; max-width: 600px; font-family: var(--serif); font-size: clamp(30px, 3.5vw, 48px); line-height: 1; }
.featured-description { max-width: 590px; margin: 24px 0 38px; font-size: 15px; }
.store-button {
  display: inline-flex; align-items: center; justify-content: space-between; width: min(100%, 270px); min-height: 66px;
  padding: 0 18px 0 20px; background: var(--ink); color: white; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease;
}
.store-button span { font-size: 17px; font-weight: 700; line-height: 1.05; }
.store-button small { display: block; margin-bottom: 4px; font-size: 9px; font-weight: 500; }
.store-button svg { width: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.store-button:hover { transform: translateY(-3px); box-shadow: 8px 8px 0 var(--blue); }

.catalog { padding: 0 0 150px; }
.catalog-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 64px; }
.catalog h2, .studio h2 { margin: 0; font-size: clamp(58px, 8vw, 116px); line-height: .82; letter-spacing: -.075em; }
.catalog-tools { display: flex; flex-direction: column; gap: 24px; align-items: stretch; }
.search-box { display: flex; gap: 12px; align-items: center; border-bottom: 1px solid var(--ink); }
.search-box svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.search-box input { width: 100%; height: 56px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 18px; }
.search-box input::placeholder { color: #9a988f; }
.filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 5px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filters button { flex: 0 0 auto; padding: 8px 12px; border: 1px solid var(--line); border-radius: 99px; background: transparent; cursor: pointer; font-size: 11px; font-weight: 700; }
.filters button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: white; }
.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.app-card { min-width: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(18px); transition: opacity .55s ease var(--delay), transform .55s ease var(--delay); }
.app-card.is-visible { opacity: 1; transform: none; }
.app-card > a { display: flex; min-height: 390px; padding: 28px; flex-direction: column; justify-content: space-between; text-decoration: none; transition: background .2s ease, color .2s ease; }
.app-card > a:hover, .app-card > a:focus-visible { background: var(--ink); color: var(--white); outline: none; }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; }
.app-icon { width: 88px; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 22%; box-shadow: 0 12px 25px rgba(0,0,0,.12); }
.card-arrow { font-size: 23px; transition: transform .2s ease; }
.app-card a:hover .card-arrow { transform: translate(4px, -4px); }
.card-copy p { margin: 0 0 13px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.app-card a:hover .card-copy p { color: #aaa99f; }
.card-copy h3 { margin: 0; font-size: clamp(21px, 2vw, 29px); line-height: 1; letter-spacing: -.05em; overflow-wrap: anywhere; }
.card-copy span { display: -webkit-box; margin-top: 15px; overflow: hidden; color: var(--muted); font-size: 12px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.app-card a:hover .card-copy span { color: #cac8be; }
.empty-state { padding: 80px 0; border-top: 1px solid var(--ink); font-family: var(--serif); font-size: 36px; }

.studio { display: grid; grid-template-columns: 1.25fr .75fr; gap: 8vw; padding: 140px 0; border-top: 1px solid var(--ink); }
.studio-statement, .studio-copy { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.studio-statement.is-visible, .studio-copy.is-visible { opacity: 1; transform: none; }
.studio h2 { font-size: clamp(52px, 7vw, 100px); }
.studio-copy { align-self: end; }
.studio-copy > p { margin: 0 0 50px; font-size: clamp(17px, 1.7vw, 22px); color: var(--muted); }
.studio dl { margin: 0; }
.studio dl div { display: grid; grid-template-columns: 100px 1fr; gap: 20px; padding: 15px 0; border-top: 1px solid var(--line); font-size: 12px; }
.studio dt { color: var(--muted); }
.studio dd { margin: 0; }

footer { padding: 80px 0 38px; border-top: 1px solid var(--ink); overflow: hidden; }
.footer-wordmark { margin-left: -.055em; font-size: clamp(120px, 25vw, 380px); font-weight: 800; line-height: .7; letter-spacing: -.095em; white-space: nowrap; }
.footer-meta { display: flex; gap: 28px; justify-content: flex-end; margin-top: 70px; color: var(--muted); font-size: 11px; }
.footer-meta a { text-underline-offset: 4px; }
.noscript { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 100; padding: 16px; background: var(--ink); color: white; text-align: center; }

@keyframes pulse { 50% { opacity: .28; transform: scale(.76); } }
@keyframes drift { 0%, 100% { translate: 0 0; } 50% { translate: 0 -13px; } }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr .45fr; }
  .floating-icons img:nth-child(2), .floating-icons img:nth-child(4) { display: none; }
  .featured-card { grid-template-columns: .8fr 1.2fr; min-height: 570px; }
  .app-grid { grid-template-columns: repeat(3, 1fr); }
  .app-card > a { min-height: 360px; }
}

@media (max-width: 760px) {
  .site-header, .hero, .featured, .catalog, .studio, footer { width: min(calc(100% - 28px), var(--max)); }
  .site-header { height: 70px; grid-template-columns: 1fr auto; }
  .site-header nav { gap: 18px; }
  .header-note { display: none; }
  .hero { min-height: 700px; padding: 78px 0 48px; grid-template-columns: 1fr; align-content: space-between; }
  .hero h1 { font-size: clamp(68px, 21vw, 116px); }
  .hero-intro { max-width: 88%; margin-top: 32px; }
  .hero-index { justify-self: start; width: 100%; display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: end; }
  .index-number { font-size: 116px; }
  .hero-index > p { margin: 0 0 6px; }
  .index-rule, .hero-index .index-small { display: none; }
  .floating-icons img { width: 51px; border-radius: 13px; }
  .floating-icons img:nth-child(1) { top: 8%; left: auto; right: 1%; }
  .floating-icons img:nth-child(3) { bottom: 26%; left: auto; right: 14%; }
  .floating-icons img:nth-child(5) { top: 48%; left: auto; right: 2%; }
  .featured { padding-bottom: 100px; }
  .featured-card { grid-template-columns: 1fr; }
  .featured-art { min-height: 410px; }
  .featured-icon { width: 45%; }
  .featured-copy { padding: 44px 30px 52px; }
  .featured-copy h2 { font-size: 54px; }
  .catalog-heading { grid-template-columns: 1fr; gap: 46px; }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .app-card > a { min-height: 315px; padding: 20px; }
  .app-icon { width: 72px; }
  .card-copy h3 { font-size: 21px; }
  .studio { grid-template-columns: 1fr; gap: 70px; padding: 100px 0; }
  .footer-meta { justify-content: flex-start; flex-wrap: wrap; margin-top: 50px; }
}

@media (max-width: 430px) {
  .site-header nav a:first-child { display: none; }
  .hero { min-height: 660px; }
  .hero h1 { font-size: 72px; }
  .hero-intro { max-width: 100%; font-size: 16px; }
  .featured-art { min-height: 350px; }
  .featured-copy h2 { font-size: 46px; }
  .featured-line { font-size: 31px; }
  .app-grid { grid-template-columns: 1fr; border-left: 0; }
  .app-card { border-right: 0; }
  .app-card > a { min-height: 285px; }
  .app-icon { width: 82px; }
  .card-copy h3 { font-size: 28px; }
  .catalog h2 { font-size: 66px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .app-card, .featured-card, .studio-statement, .studio-copy { opacity: 1; transform: none; }
}
