/* Homepage art direction: a curious, independent studio with work to show. */
.home-page { --ink: #f1eee9; --muted: #a4a5b0; }
.home-page .hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 36px; padding-block: 36px 42px; text-align: left; }
.home-page .hero::before { inset: -40px 0; background: radial-gradient(ellipse at 80% 40%, #8761cf24, transparent 60%); animation: none; }
.home-page .hero h1 { font-size: clamp(3.625rem, 6.1vw, 5.25rem); line-height: 1.02; letter-spacing: -.065em; margin-top: 0; }
.home-page .hero h1 span { background: none; color: #bda5ff; animation: none; }
.home-page .hero-description { max-width: 440px; margin: 0 0 16px; font-size: 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.hero-actions .button { border-radius: 8px; background: #d3c2ff; padding: 14px 18px; gap: 22px; font-size: 0.8125rem; }
.home-page .hero-actions .text-link { color: var(--ink); font-size: 0.75rem; }
.home-page .products { padding-top: 14px; border-top: 1px solid var(--line); }
.home-page .section-heading { margin-bottom: 25px; }
.home-page .section-heading h2 { font: 700 1.4375rem/1.3 var(--display); text-transform: none; letter-spacing: -.025em; }
/* Browser tools follow the desktop catalog. */
.home-page .browser-apps .small-apps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.home-page .browser-apps .small-app { padding: 20px 18px; gap: 14px; }
.home-page .browser-apps .small-app-mark { flex-basis: 44px; width: 44px; height: 44px; border-radius: 11px; }
.home-page .browser-apps .small-app-mark img { width: 40px; height: 40px; }
.home-page .browser-apps .small-app-name { font-size: 1.125rem; }
.home-page .browser-apps .small-app-description { font-size: 0.75rem; }
.home-page .lantern-mark { background: #14241f; }
.home-page .browser-apps { padding-bottom: 58px; }
.home-page .small-app { border-radius: 12px; }
.home-page .studio-opening { padding: 42px 0; margin-bottom: 18px; gap: 60px; }
.home-page .upcoming { padding-bottom: 34px; }
.home-page .studio { padding-block: 54px; }
.home-page .contact { padding-block: 45px; }
@media (max-width: 1000px) {
  .home-page .hero { gap: 20px; padding-block: 30px 36px; }
  .home-page .hero h1 { font-size: clamp(3.125rem, 6.6vw, 4.375rem); }
}
@media (max-width: 760px) {
  .home-page .hero { grid-template-columns: 1fr; padding-block: 30px 32px; gap: 12px; }
  .home-page .hero-copy { max-width: 560px; }
  .home-page .hero h1 { font-size: clamp(3.25rem, 10vw, 4.625rem); }
  .home-page .hero-description { font-size: 0.9375rem; }
  .home-page .studio-opening { gap: 24px; }
  .home-page .section-heading h2 { font-size: 1.3125rem; }
  .home-page .browser-apps .small-apps { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 380px) {
  .hero-actions { gap: 18px; }.home-page .hero h1 { font-size: 3.0625rem; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page .brand-mark { animation: none; }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .home-page .hero h1 { font-size: 6.1vw; }
}

.home-page .hero .studio-intro { display: block; max-width: 26rem; }
.studio-intro .button { display: inline-flex; width: fit-content; background: #d3c2ff; color: #20172f; }
.home-page .browser-apps h2 { font: 700 1.4375rem/1.3 var(--display); margin-block: 20px; }

/* The homepage uses one wide feature and two illustrated product cards. */
.home-page .showcase-heading { margin-block-end: 14px; }
.app-showcase { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.showcase-app {
  --feature: #c8dbff;
  --feature-ink: #112137;
  --feature-surface: #10172c;
  min-width: 0;
}
.showcase-warden {
  --feature: #a4f5d7;
  --feature-ink: #09231b;
  --feature-surface: #0a1615;
  grid-column: 1 / -1;
}
.showcase-lantern { --feature: #c4ebca; --feature-ink: #122b1b; --feature-surface: #0e1d19; }
.showcase-link {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--feature) 21%, var(--feature-surface));
  border-radius: 18px;
  color: #f4f5f7;
  background: var(--feature-surface);
  text-decoration: none;
}
.showcase-link:focus-visible { outline: 3px solid var(--feature); outline-offset: 4px; }
.showcase-art { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; }
.showcase-copy { flex: 1; display: flex; flex-direction: column; align-items: start; padding: clamp(20px, 3vw, 40px); }
.showcase-warden .showcase-link { min-height: 24rem; justify-content: center; }
.showcase-warden .showcase-copy { flex: 0 1 auto; width: min(100%, 34rem); }
.showcase-warden .showcase-art {
  position: absolute;
  inset: 0;
  height: 100%;
  z-index: -2;
  object-position: center 18%;
}
.showcase-warden .showcase-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #071411 7%, #071411ee 28%, #07141122 72%);
}
.showcase-identity { display: flex; align-items: center; gap: 9px; color: var(--feature); }
.showcase-identity h3 { margin: 0; font: 700 1.125rem/1 var(--display); }
.showcase-hook { margin: 14px 0 10px; color: inherit; font: 700 clamp(1.9rem, 4vw, 3.8rem)/1.02 var(--display); letter-spacing: -.055em; }
.showcase-app:not(.showcase-warden) .showcase-hook { font-size: clamp(1.9rem, 3.3vw, 3rem); }
.showcase-description, .showcase-platform { margin: 0 0 12px; color: #d2dbe1; }
.showcase-platform { font-size: .8125rem; }
.showcase-action {
  display: inline-flex;
  gap: 1rem;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  margin-top: auto;
  border-radius: 8px;
  background: var(--feature);
  color: var(--feature-ink);
  font-size: .875rem;
  font-weight: 650;
}
@media (hover: hover) {
  .showcase-link:hover { border-color: var(--feature); }
  .showcase-link:hover .showcase-action { text-decoration: underline; text-underline-offset: .2em; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .showcase-art { transition: transform .35s var(--ease); }
  .showcase-link:hover .showcase-art { transform: scale(1.025); }
}
@media (max-width: 760px) {
  .app-showcase { grid-template-columns: 1fr; gap: 14px; }
  .showcase-warden .showcase-link { min-height: 0; }
  .showcase-warden .showcase-art { position: static; height: auto; object-position: center 30%; }
  .showcase-warden .showcase-link::after { content: none; }
}
