@font-face {
  font-family: "Bricolage Grotesque";
  src: url("./bricolage-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #342539;
  --muted: #624d5e;
  --cream: #fff6e8;
  --paper: #fffaf2;
  --plum: #38233f;
  --berry: #922e66;
  --peach: #ffd7b3;
  --display: "Bricolage Grotesque", ui-rounded, "Arial Rounded MT Bold", sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}

* { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
body { overflow-wrap: break-word; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; }
:focus-visible { outline: 3px solid #007575; outline-offset: 5px; }
.game :focus-visible { outline-color: #8df5e5; }
.wrap { width: min(79rem, calc(100% - clamp(2.5rem, 8vw, 8rem))); margin-inline: auto; }
h1, h2, h3, .wordmark, .hero-label, .store strong, .screen-caption strong { font-family: var(--display); }
h1, h2, h3 { text-wrap: balance; }
h2 { font-size: clamp(2.5rem, 5.1vw, 4.85rem); font-weight: 800; letter-spacing: -.058em; line-height: 1.02; }
.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden; white-space: nowrap; clip-path: inset(50%);
}
.skip:focus { position: fixed; z-index: 10; left: 1rem; top: 1rem; background: white; color: var(--ink); padding: .8rem 1rem; }

.masthead, .masthead nav, .footer-row, .footer-links, .footer-meta nav, .wordmark, .store, .hero-actions, .explore {
  display: flex; align-items: center;
}
.masthead { min-height: 5.1rem; gap: 2rem; justify-content: space-between; }
.wordmark { gap: .65rem; width: fit-content; line-height: 1; text-decoration: none; }
.wordmark img { width: 2.6rem; height: 2.6rem; border-radius: 25%; }
.wordmark b, .wordmark small, .store small, .store strong { display: block; }
.wordmark b { font-size: 1.42rem; font-weight: 800; letter-spacing: -.055em; }
.wordmark small { padding-top: .3em; font-size: .63rem; font-weight: 760; letter-spacing: .15em; text-transform: uppercase; }
.masthead nav { gap: clamp(1.2rem, 3.5vw, 3.6rem); }
.masthead nav a, .footer-links a, .footer-meta a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.masthead nav a { font-size: .95rem; font-weight: 650; }
.masthead nav a:hover, .footer-links a:hover, .footer-meta a:hover { text-decoration: underline; }
.store { width: fit-content; min-height: 3.55rem; gap: .62rem; flex-shrink: 0; padding: .62rem 1.15rem; border: 1px solid #19151b; border-radius: .72rem; background: #201b22; color: #fff; text-decoration: none; }
.store:hover { background: #443146; }
.store svg { width: 1.6rem; height: 1.6rem; flex-shrink: 0; }
.store small { font-size: .72rem; line-height: 1.2; }
.store strong { font-size: 1.42rem; line-height: 1.05; font-weight: 700; letter-spacing: -.032em; }
.store-compact { min-height: 44px; padding: .48rem .85rem; gap: .43rem; border-radius: .63rem; }
.store-compact svg { width: 1.13rem; height: 1.13rem; }
.store-compact strong { font-size: 1.1rem; }
.store-compact small { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.hero { position: relative; isolation: isolate; background: var(--cream); border-top: 1px solid #e9dccc; }
.hero::after {
  content: ""; pointer-events: none; position: absolute; inset: auto 0 -1px; height: 9px;
  background: radial-gradient(14px 9px at 50% 100%, var(--plum) 95%, transparent 100%) 0 100% / 27px 9px repeat-x;
}
.hero-layout { display: flex; align-items: center; min-height: clamp(32rem, 39vw, 41rem); }
.hero-copy { position: relative; width: 44%; padding-block: clamp(3rem, 5vw, 5.3rem); }
.hero-label { display: flex; align-items: center; gap: .55rem; color: #653353; font-size: clamp(1.05rem, 1.45vw, 1.43rem); font-weight: 780; letter-spacing: -.025em; }
.hero-label::before, .features h3::before {
  content: ""; display: inline-block; width: .8em; height: .8em; flex: none; background: #bd5a25;
  clip-path: polygon(50% 0, 66% 34%, 100% 50%, 66% 64%, 50% 100%, 34% 64%, 0 50%, 34% 34%);
}
.hero h1 { margin-block: .85rem 1.1rem; font-size: clamp(3.4rem, 5.6vw, 5.85rem); line-height: .98; letter-spacing: -.063em; font-weight: 800; }
.hero h1 em { display: block; color: var(--berry); font-style: normal; }
.lead { max-width: 33rem; color: var(--muted); font-size: clamp(1.05rem, 1.45vw, 1.25rem); line-height: 1.52; }
.hero-actions { flex-wrap: wrap; gap: .6rem 1.35rem; margin-top: clamp(1.2rem, 2.1vw, 1.85rem); }
.explore { gap: .45em; min-height: 44px; font-size: .94rem; font-weight: 650; text-decoration: none; }
.explore:hover { text-decoration: underline; }
.explore span { font-size: 1.18em; }
.offer { max-width: 33rem; margin-top: .85rem; color: var(--muted); font-size: .875rem; }
.hero-image { position: absolute; z-index: -1; inset: 0 0 0 43%; overflow: hidden; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 46% center; }
.hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--cream), #fff6e8e6 5%, #fff6e870 13%, transparent 27%); }

.game, .gallery { padding-block: clamp(3.3rem, 7vw, 6.75rem); }
.game { color: #fff5e6; background: var(--plum); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 1rem clamp(2rem, 6vw, 6rem); align-items: end; margin-bottom: clamp(1.7rem, 3.5vw, 3.25rem); }
.section-head p, .start-copy p { max-width: 39rem; color: var(--muted); font-size: clamp(1.02rem, 1.35vw, 1.18rem); line-height: 1.55; }
.game .section-head p, .features p { color: #e5d5df; }
.featured-screen, .screen-card { display: block; text-decoration: none; cursor: zoom-in; }
.featured-screen { border-radius: 1.05rem; }
.featured-screen img, .screen-card img { width: 100%; height: auto; border-radius: 1rem; }
.featured-screen img { box-shadow: 0 0 0 1px #795f7d, 0 .7rem 1.65rem #21132666; }
.screen-caption { display: flex; align-items: center; gap: .6rem; min-height: 44px; }
.featured-screen .screen-caption { width: fit-content; margin-left: auto; color: #f7decd; font-size: .85rem; font-weight: 600; }
.expand-icon { display: inline-grid; flex: none; place-items: center; width: 1.6rem; height: 1.6rem; border: 1px solid currentColor; border-radius: 50%; line-height: 1; font-family: sans-serif; }
.screen-card:hover .screen-caption strong, .featured-screen:hover .screen-caption { text-decoration: underline; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(1.5rem, 3.7vw, 4rem); margin-top: clamp(1.1rem, 2.6vw, 2.3rem); }
.features article { padding-block: 1.45rem 1.25rem; border-top: 1px solid #6a526c; }
.features h3 { display: flex; align-items: baseline; gap: .47em; font-size: clamp(1.27rem, 1.8vw, 1.65rem); line-height: 1.13; letter-spacing: -.035em; font-weight: 725; }
.features h3::before { width: .55em; height: .55em; align-self: flex-start; margin-top: .25em; background: #f4b46c; }
.features p { margin-top: .65rem; font-size: 1rem; line-height: 1.55; }

.gallery { background: var(--paper); }
.screens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.8rem, 3.7vw, 3.45rem) clamp(1.25rem, 2.9vw, 2.8rem); }
.screen-card img { box-shadow: 0 0 0 1px #452a3f26, 0 .45rem 1rem #58433f18; }
.screen-card { border-radius: 1rem; }
.screen-card .screen-caption { justify-content: space-between; padding-top: .7rem; }
.screen-caption strong { font-size: clamp(1.22rem, 2.1vw, 1.85rem); line-height: 1.17; letter-spacing: -.045em; }
.screen-card .expand-icon { color: var(--berry); width: 1.8rem; height: 1.8rem; }
.preview-note { color: var(--muted); font-size: .875rem; margin-top: 1.7rem; }

.start { position: relative; isolation: isolate; background: var(--peach); overflow: hidden; }
.start::after { content: ""; position: absolute; z-index: -1; top: -17rem; right: -9rem; width: 37rem; height: 37rem; border: 2.7rem solid #f6b57c; border-radius: 50%; opacity: .45; }
.start-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(1.8rem, 4.2vw, 4rem); align-items: center; padding-block: clamp(3rem, 5.8vw, 6rem); }
.start-icon { width: clamp(6rem, 11vw, 10rem); height: auto; border-radius: 24%; transform: rotate(-5deg); box-shadow: 0 .5rem 0 #b9774473; }
.start h2 { font-size: clamp(2.35rem, 4.15vw, 4rem); }
.start-copy p { margin-top: .7rem; color: #553b45; }

footer { padding-block: 2rem 1.45rem; }
.footer-row { justify-content: space-between; gap: 1rem; }
.footer-links, .footer-meta nav { flex-wrap: wrap; gap: .15rem clamp(1rem, 2.5vw, 2.4rem); }
.footer-links a { font-weight: 650; }
.footer-meta { border-top: 1px solid #dcceca; margin-top: 1.4rem; padding-top: 1rem; font-size: .86rem; color: var(--muted); }
.footer-meta [aria-current="page"] { font-weight: 750; text-decoration: underline; }

@media (max-width: 62rem) {
  .hero-layout { min-height: 30rem; }
  .hero-copy { width: 48%; }
  .hero-image { left: 46%; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .start-inner { grid-template-columns: auto minmax(0, 1fr); column-gap: 2rem; row-gap: 1.1rem; }
  .start-icon { grid-row: span 2; }
  .start-inner > .store { grid-column: 2; }
}

@media (max-width: 55rem) {
  .masthead { min-height: 4.35rem; gap: 1rem; }
  .masthead nav { gap: 1rem; }
  .hero { display: flex; flex-direction: column; }
  .hero-image { position: relative; inset: auto; z-index: auto; aspect-ratio: 2.18; }
  .hero-image img { height: 100%; object-position: center 47%; }
  .hero-image::after { background: linear-gradient(0deg, var(--cream), transparent 17%); }
  .hero-layout { min-height: auto; }
  .hero-copy { width: 100%; padding-block: 1.1rem 2.75rem; }
  .hero h1 { font-size: clamp(3rem, 8.8vw, 4.8rem); max-width: 13em; }
  .hero h1 em { display: inline; }
  .section-head { grid-template-columns: 1fr; }
  .featured-screen img, .screen-card img { border-radius: .75rem; }
  .screens { column-gap: 1.25rem; }
}

@media (max-width: 36rem) {
  .masthead { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 .7rem; padding-top: .55rem; }
  .masthead nav { grid-column: 1 / -1; grid-row: 2; gap: 1.45rem; }
  .masthead > .store { grid-column: 2; grid-row: 1; }
  .masthead nav a { font-size: .86rem; }
  .wordmark b { font-size: 1.24rem; }
  .wordmark img { width: 2.4rem; height: 2.4rem; }
  .hero-image { aspect-ratio: 1.94; }
  .hero-copy { padding-top: .8rem; }
  .hero h1 { margin-block: .65rem .9rem; }
  .hero-actions { gap: .35rem 1rem; }
  .features, .screens { grid-template-columns: 1fr; }
  .features article { padding-block: 1.25rem; }
  .features article:last-child { padding-bottom: 0; }
  .start-inner { column-gap: 1.1rem; }
  .start-icon { width: 4.5rem; grid-row: auto; align-self: start; }
  .start-copy p { margin-left: -5.6rem; margin-top: 1.35rem; }
  .start-copy h2 { min-height: 4.5rem; display: flex; align-items: center; }
  .start-inner > .store { grid-column: 1 / -1; }
  .footer-row { flex-wrap: wrap; }
  .footer-meta { display: block; }
  .footer-links, .footer-meta nav { gap: .1rem 1.15rem; }
}

@media (max-width: 23rem) {
  .masthead .wordmark { gap: .4rem; }
  .masthead .wordmark img { width: 2rem; height: 2rem; }
  .masthead .wordmark b { font-size: 1.12rem; }
  .masthead .store-compact { padding-inline: .72rem; }
  .masthead .store-compact svg { display: none; }
  .masthead .store-compact strong { font-size: 1rem; }
}
