@font-face {
  font-family: Inter;
  src: url(Inter.ttf) format("truetype");
  font-display: swap;
  font-weight: 100 900;
}
@font-face {
  font-family: Bricolage;
  src: url(BricolageGrotesque.ttf) format("truetype");
  font-display: swap;
  font-weight: 100 900;
}
:root {
  --app-art-ground: #dfeee8;
  --app-art-glow: #f7fbf4;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    15px/1.65 Inter,
    system-ui,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 5px;
}
.hero a:focus-visible,
.studio-note a:focus-visible {
  outline-color: #83d6d1;
}
.frame {
  width: min(1200px, calc(100% - 96px));
  margin-inline: auto;
}
.nav {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: Bricolage, sans-serif;
}
.brand img.brand-wordmark {
  display: block;
  width: 145px;
  height: auto;
}
.brand-suffix {
  color: var(--muted);
  font-size: 16px;
  white-space: nowrap;
}
.brand img.brand-inverse {
  display: none;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}
.back {
  font-size: 13px;
  font-weight: 600;
  padding-block: 12px;
}
.back:hover {
  color: var(--teal);
}
.back span {
  margin-left: 10px;
}
.theme-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: 22px;
}
.theme-toggle:hover {
  background: var(--mint);
  color: #102a43;
}
h1,
h2,
h3 {
  font-family: Bricolage, sans-serif;
  font-weight: 600;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.7px;
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin: 8px 0 48px;
  padding: 42px 52px;
  overflow: hidden;
  border: 1px solid #ffffff0d;
  border-radius: 30px;
  color: #faf9f6;
  background: #0b1c28;
}
.hero-copy {
  position: relative;
  z-index: 1;
}
.hero .eyebrow {
  color: #83d6d1;
  display: flex;
  align-items: center;
  gap: 9px;
}
.hero .eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 14px #83d6d15e;
}
.hero h1 {
  font-size: clamp(2.8rem, 4.4vw, 4.2rem);
  letter-spacing: -0.035em;
}
.hero h1 span {
  color: #83d6d1;
}
.intro {
  max-width: 39ch;
  margin: 20px 0;
  color: #b5c7d0;
  font-size: 15px;
  line-height: 1.7;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  min-height: 46px;
  padding: 11px 20px;
  border-radius: 99px;
  background: #83d6d1;
  color: #0b1c28;
  font-size: 12px;
  font-weight: 650;
  transition:
    background 0.2s,
    transform 0.2s;
}
.text-link:hover {
  background: #b4eee6;
  transform: translateY(-2px);
}
.text-link span {
  font-size: 18px;
  line-height: 1;
}
.hero-art {
  position: relative;
  align-self: stretch;
  min-height: 280px;
}
.hero-art img.directory-sculpture {
  position: absolute;
  inset: -24px;
  width: calc(100% + 48px);
  height: calc(100% + 48px);
  object-fit: contain;
  object-position: center;
}
#collection {
  scroll-margin-top: 28px;
}
.collection-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}
.collection-head h2 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
}
.collection-head .eyebrow {
  margin-bottom: 12px;
}
.search-wrap {
  width: 310px;
}
label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}
input {
  width: 100%;
  height: 50px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: white;
  color: var(--ink);
}
input::placeholder {
  color: var(--muted);
}
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin: 26px 0 24px;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter,
.reset {
  min-height: 44px;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.filter:hover,
.reset:hover {
  border-color: var(--teal);
}
.filter.active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}
.result-count {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}
.app-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.app-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  transition:
    transform 0.25s,
    border-color 0.25s,
    box-shadow 0.25s;
}
.app-card:hover {
  transform: translateY(-5px);
  border-color: var(--teal);
  box-shadow: 0 18px 44px #102a4310;
}
.app-card > div:not(.app-photo) {
  margin-inline: 28px;
}
.card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-block: 26px;
}
.app-icon {
  display: grid;
  flex: 0 0 48px;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: var(--mint);
  color: var(--teal);
}
.app-icon svg {
  width: 25px;
  height: 25px;
}
.app-identity h3 {
  margin: 0 0 6px;
  font-size: 30px;
}
.category {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.65px;
  text-transform: uppercase;
}
.app-photo {
  position: relative;
  aspect-ratio: 1.85;
  margin-inline: 12px;
  overflow: hidden;
  border-radius: 14px;
  background:
    radial-gradient(ellipse at 50% 42%, var(--app-art-glow), transparent 72%),
    var(--app-art-ground);
}
.app-photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: clamp(8px, 1vw, 14px);
  object-fit: contain;
  transition: transform 0.5s;
}
.app-card:hover .app-photo img {
  transform: scale(1.035);
}
.app-photo-thirty img {
  padding: 0;
  object-fit: cover;
}
.app-card p {
  max-width: 48ch;
  margin: 20px 0 24px;
  color: var(--muted);
  font-size: 14px;
}
.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  margin-bottom: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 650;
}
.card-bottom span:last-child {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--teal);
  font-size: 21px;
  transition:
    background 0.2s,
    color 0.2s;
}
.app-card:hover .card-bottom span:last-child {
  background: var(--teal);
  color: var(--paper);
}
.art-credit {
  margin-top: 16px;
  color: var(--muted);
  font-size: 11px;
}
.empty {
  padding: 60px 24px;
  border: 1px dashed var(--line);
  border-radius: 24px;
  text-align: center;
}
.empty h3 {
  font-size: 28px;
}
.empty p {
  color: var(--muted);
}
.studio-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin: 52px 0;
  padding: 40px;
  border: 1px solid #ffffff0d;
  border-radius: 24px;
  background: #0b1c28;
  color: #faf9f6;
}
.studio-note .eyebrow {
  color: #83d6d1;
}
.studio-note h2 {
  font-size: 30px;
}
.studio-note p:last-child {
  margin-bottom: 0;
  color: #b5c7d0;
  font-size: 14px;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 99px;
  background: #83d6d1;
  color: #0b1c28;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}
.button:hover {
  background: #b4eee6;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}
footer a:hover {
  color: var(--teal);
}
.skip {
  position: absolute;
  left: 20px;
  top: -80px;
  z-index: 3;
  padding: 12px 20px;
  border-radius: 99px;
  background: var(--navy);
  color: white;
}
.skip:focus {
  top: 8px;
}
[hidden] {
  display: none !important;
}
html[data-theme="dark"] {
  --paper: var(--dark);
  --ink: var(--darkText);
  --muted: var(--darkMuted);
  --line: #2a4353;
  --teal: #83d6d1;
  --mint: #214747;
  --app-art-ground: #142e39;
  --app-art-glow: #28504e;
}
html[data-theme="dark"] .app-card,
html[data-theme="dark"] input {
  background: #112a3a;
}
html[data-theme="dark"] .brand img.brand-default {
  display: none;
}
html[data-theme="dark"] .brand img.brand-inverse {
  display: block;
}
@media (max-width: 1000px) {
  .frame {
    width: calc(100% - 48px);
  }
  .hero {
    padding: 36px;
    gap: 0;
  }
  .hero h1 {
    font-size: clamp(2.7rem, 5.7vw, 3.5rem);
  }
  .hero-art {
    min-height: 250px;
  }
  .search-wrap {
    width: 270px;
  }
  .studio-note {
    align-items: start;
    flex-direction: column;
  }
}
@media (max-width: 700px) {
  .nav {
    height: 80px;
  }
  .back {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    margin: 0 0 34px;
    padding: 32px 28px;
    border-radius: 24px;
  }
  .hero h1 {
    font-size: clamp(2.4rem, 10vw, 3.5rem);
    text-wrap: initial;
  }
  .hero-art {
    display: none;
  }
  .intro {
    font-size: 14px;
    margin-block: 18px;
  }
  .hero .eyebrow {
    font-size: 9px;
    letter-spacing: 1px;
  }
  .collection-head {
    align-items: start;
    flex-direction: column;
    gap: 20px;
  }
  .search-wrap {
    width: 100%;
  }
  .toolbar {
    flex-wrap: wrap;
    gap: 12px;
    margin-block: 18px;
  }
  .filters {
    gap: 6px;
  }
  .filter {
    padding-inline: 14px;
    font-size: 11px;
  }
  .result-count {
    font-size: 11px;
  }
  .app-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .app-card > div:not(.app-photo) {
    margin-inline: 22px;
  }
  .card-top {
    margin-block: 22px;
  }
  .app-identity h3 {
    font-size: 28px;
  }
  .studio-note {
    margin-block: 36px;
    padding: 28px;
  }
  .studio-note h2 {
    font-size: 29px;
  }
  footer {
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
  }
}
@media (max-width: 380px) {
  .frame {
    width: calc(100% - 32px);
  }
  .hero {
    padding-inline: 22px;
  }
  .brand img.brand-wordmark {
    width: 132px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
