:root {
  color-scheme: light;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  color: #192425;
  background: #f8f7f4;
  --accent: #11675f;
  --mist: #c2e8d8;
  --ink: #143e3a;
  --line: #d4d8d1;
}
* { box-sizing: border-box; }
body { margin: 0; }
.theme-casino { --accent: #713c67; --mist: #ecd0dc; --ink: #472b49; }
.theme-utility { --accent: #335e8d; --mist: #cce1eb; --ink: #1d3c53; }
.wrap { width: min(1180px, calc(100% - clamp(32px, 9vw, 112px))); margin-inline: auto; }
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.top, footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.top { min-height: 78px; border-bottom: 1px solid var(--line); }
.brand, nav, .cta, .contact { display: inline-flex; align-items: center; gap: .7rem; }
.brand { min-width: 0; text-decoration: none; font-weight: 700; }
.brand span:last-child { overflow-wrap: anywhere; }
.app-icon { width: 40px; height: 40px; border-radius: 23%; object-fit: cover; flex-shrink: 0; }
.monogram { background: var(--ink); color: white; display: inline-grid; place-items: center; font-weight: 700; }
nav { gap: clamp(.85rem, 2.8vw, 2.15rem); flex-wrap: wrap; font-size: .93rem; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }
h1, h2, p { margin: 0; }
h1, h2 { text-wrap: balance; overflow-wrap: anywhere; letter-spacing: -.05em; line-height: 1.06; }
h1 { font-size: clamp(2.85rem, 5.8vw, 5.8rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.8rem); }
.hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center;
  gap: clamp(28px, 5vw, 78px); padding-block: clamp(34px, 6vw, 84px); }
.hero.text-only { grid-template-columns: minmax(0, 850px); }
.lead { font-size: clamp(1.1rem, 1.65vw, 1.45rem); line-height: 1.55; margin-top: 1.25rem; max-width: 39ch; }
.cta, .contact { min-height: 46px; font-weight: 650; padding: .75rem 1.15rem; border-radius: 30px; text-decoration: none; }
.cta { margin-top: 1.75rem; color: white; background: var(--ink); }
.cta:hover, .contact:hover { text-decoration: underline; }
.stage { isolation: isolate; overflow: hidden; position: relative; border-radius: clamp(16px, 2.6vw, 36px);
  background: radial-gradient(ellipse at 15% 0%, var(--mist), transparent 77%), var(--ink); }
.backdrop { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.stage:not(.artwork-only) .backdrop { filter: blur(9px); transform: scale(1.09); }
.devices { min-height: 260px; display: flex; align-items: center; justify-content: center; gap: 3%;
  padding: clamp(20px, 3vw, 42px) 7%; }
.device { width: 41%; aspect-ratio: 9/16; display: block; background: #182124; border: 3px solid #273034;
  border-radius: 16px; overflow: hidden; box-shadow: 0 12px 26px #07151240; }
.device img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.device:has(+ .device) { transform: translateY(-4%); }
.device + .device { transform: translateY(4%); }
.artwork-only .app-icon { width: clamp(90px, 13vw, 170px); height: auto; aspect-ratio: 1; font-size: 3rem; }
.artwork-only .backdrop { opacity: .85; }
.about, .gallery { padding-block: clamp(28px, 5vw, 66px); border-top: 1px solid var(--line); }
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: 2rem; }
.about div { white-space: pre-line; line-height: 1.7; font-size: 1.06rem; overflow-wrap: anywhere; max-width: 70ch; }
.about details { margin-top: .8rem; }
.about summary { color: var(--accent); font-weight: 650; cursor: pointer; }
.about details[open] p { margin-top: .8rem; }
.shots { margin-top: 1.5rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 14px; }
.shots a { display: block; overflow: hidden; background: #eaece6; border-radius: 16px; aspect-ratio: 3/4; min-height: 0; }
.shots img { display: block; height: 100%; width: 100%; min-height: 0; object-fit: cover; }
.support { background: var(--ink); color: white; border-radius: 22px; padding: clamp(24px, 4vw, 54px);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 22px; }
.support p { margin-top: .65rem; line-height: 1.5; }
.contact { color: var(--ink); background: var(--mist); max-width: 100%; overflow-wrap: anywhere; display: inline-block; }
footer { padding-block: 28px; color: #475354; flex-wrap: wrap; overflow-wrap: anywhere; }
.directory { max-width: 760px; padding-block: 10vh; }
.directory h1 { margin: .7rem 0 2rem; }
.app-choice { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; border-top: 1px solid var(--line); text-decoration: none; }
.app-choice small, .app-choice strong { display: block; }
.app-choice strong { margin-top: .3rem; font-size: 1.45rem; }
@media (max-width: 700px) {
  .hero, .about { grid-template-columns: minmax(0, 1fr); }
  .top { padding-block: 12px; min-height: 62px; flex-wrap: wrap; }
  .devices { min-height: 180px; max-width: 425px; margin: auto; }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .about { gap: 1.1rem; }
}
