@font-face {
  font-family: "DM Sans";
  src: url("dm-sans-latin-ext-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "DM Sans";
  src: url("dm-sans-latin-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  color-scheme: light;
  --paper: #f5f1e9;
  --ink: #211d20;
  --muted: #5c5554;
  --line: #c4bdb4;
  --lime: #d8e64e;
  --gutter: clamp(1.25rem, 5.2vw, 6rem);
  font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --display: "DM Sans", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.45;
  -webkit-text-size-adjust: 100%;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
::selection { background: var(--lime); color: var(--ink); }
.wrap {
  width: min(calc(100% - 2 * var(--gutter)), 90rem);
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  z-index: 5;
  inset: .65rem auto auto var(--gutter);
  padding: .65rem 1rem;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(calc(-100% - 1rem));
}
.skip-link:focus { transform: none; }

.masthead, .brand, .main-nav, .site-footer, .site-footer nav {
  display: flex;
  align-items: center;
}
.masthead {
  min-height: 3.5rem;
  justify-content: space-between;
  gap: .75rem;
  border-bottom: 1px solid var(--line);
}
.brand, .main-nav a, .site-footer a, .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  text-decoration: none;
}
.brand {
  gap: .44rem;
  font-size: 1.08rem;
  font-weight: 850;
  line-height: 1;
  letter-spacing: -.05em;
}
.brand img { width: 1.5rem; height: auto; }
.main-nav { gap: clamp(1rem, 2.4vw, 2.5rem); }
.main-nav a, .site-footer a, .text-link {
  font-size: .9375rem;
  font-weight: 550;
}
.main-nav a:hover, .site-footer a:hover, .site-footer [aria-current="page"],
.text-link, .email:hover { text-decoration: underline; }
.main-nav a:focus-visible, .site-footer a:focus-visible { text-decoration: underline; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
  align-items: center;
  padding-block: clamp(1.75rem, 3.4vw, 3.5rem);
  view-timeline: --studio block;
}
.hero h1, .hero p, .products h2, .contact h2, .mode-copy h3 { margin: 0; }
.hero h1 {
  font-size: clamp(3.85rem, 9.75vw, 10.3rem);
  font-weight: 970;
  line-height: .91;
  letter-spacing: -.078em;
}
.hero p {
  margin-top: .8rem;
  font-size: clamp(1.375rem, 2.1vw, 2.125rem);
  font-weight: 440;
  line-height: 1.15;
  letter-spacing: -.04em;
}
.ring-stage {
  position: relative;
  justify-self: center;
  width: min(100%, clamp(11rem, 19vw, 19rem));
  aspect-ratio: 630 / 490;
  pointer-events: none;
  user-select: none;
}
.ring-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-user-drag: none;
}
.ring { transform-origin: 42% 84%; }
.ring-shadow { transform-origin: 47% 86%; }

.products {
  padding-bottom: clamp(2.5rem, 4.6vw, 5rem);
  border-top: 1px solid var(--line);
  scroll-margin-top: .75rem;
}
.products h2, .contact h2 {
  font-size: clamp(1.125rem, 1.42vw, 1.45rem);
  font-weight: 670;
  line-height: 1.2;
  letter-spacing: -.035em;
}
.products h2 { padding-block: 1.1rem; }
.product {
  background: #f0e0d9;
  border-radius: .38rem;
}
.product summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(18rem, 25vw, 24rem);
  list-style: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.product summary::-webkit-details-marker { display: none; }
.panel-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1.65rem, 3.9vw, 4rem);
}
.game-type {
  font-size: .875rem;
  font-weight: 580;
  letter-spacing: .025em;
  margin-bottom: clamp(1.2rem, 2.2vw, 2.25rem);
  color: #5c4950;
}
.game-name {
  font-size: clamp(2.85rem, 4.65vw, 5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.066em;
}
.game-pitch {
  margin-top: .48rem;
  font-size: clamp(1.125rem, 1.5vw, 1.45rem);
  letter-spacing: -.025em;
}
.game-action {
  min-height: 44px;
  margin-top: clamp(1.35rem, 2.2vw, 2.3rem);
  padding: .5rem 1.1rem;
  border: 1px solid var(--ink);
  border-radius: 3rem;
  font-size: .9375rem;
  font-weight: 620;
  line-height: 1.2;
}
@media (hover: hover) {
  .product summary:hover .game-action { background: var(--ink); color: var(--paper); }
}
.product-art {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 0 .38rem .38rem 0;
  background: radial-gradient(ellipse at 56% 38%, #e4b4b4, #d4a1a4 70%, #c48e95);
  view-timeline: --portrait block;
}
.product-art::before {
  content: "";
  position: absolute;
  bottom: -40%;
  left: 12%;
  width: 76%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #edc6bd;
}
.cow {
  position: absolute;
  inset: auto 8% 0;
  width: 84%;
  height: 94%;
  object-fit: contain;
  object-position: bottom center;
  transform-origin: 50% 100%;
  pointer-events: none;
}
.product[open] .product-art { border-bottom-right-radius: 0; }
.mode-fold { min-height: 0; overflow: hidden; }
.mode-details {
  display: grid;
  grid-template-columns: minmax(6rem, .65fr) minmax(0, 1.35fr);
  align-items: center;
  gap: 6%;
  padding: clamp(2rem, 3.8vw, 4rem);
  border-top: 1px solid #cbb5af;
}
.pail { width: clamp(6rem, 10vw, 11rem); height: auto; justify-self: center; }
.mode-copy { max-width: 39rem; }
.mode-copy h3 { font-size: clamp(1.5rem, 2.3vw, 2.25rem); line-height: 1.12; letter-spacing: -.045em; }
.mode-copy p { margin: .7em 0 0; font-size: clamp(1rem, 1.22vw, 1.18rem); line-height: 1.55; }

.contact, .footer-band { background: var(--ink); color: var(--paper); }
.contact {
  padding-block: clamp(2.25rem, 4.5vw, 4.75rem);
  view-timeline: --contact block;
}
.contact-heading, .contact-copy { display: flex; align-items: center; gap: 1.5rem; }
.contact-heading { color: var(--lime); }
.contact-track { flex: 1; height: 1px; background: #635e59; }
.contact-rule { display: block; height: 100%; background: var(--lime); transform-origin: left; }
.contact-copy { justify-content: space-between; align-items: baseline; margin-top: clamp(1.3rem, 2.6vw, 3rem); }
.email {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  font-size: clamp(2rem, 5.75vw, 6rem);
  font-weight: 490;
  letter-spacing: -.066em;
  line-height: 1.16;
  text-decoration: none;
  text-decoration-thickness: .04em;
  text-underline-offset: .12em;
}
.text-link { text-decoration-thickness: 1px; }
.text-link:hover { color: var(--lime); }
.site-footer {
  min-height: 4rem;
  justify-content: space-between;
  gap: .75rem;
  border-top: 1px solid var(--line);
}
.footer-band .site-footer { border-color: #5a5456; }
.site-footer > span { font-weight: 820; letter-spacing: -.05em; }
.site-footer nav { gap: 1.25rem; }

@media (max-width: 42rem) {
  .masthead { min-height: 3.125rem; }
  .brand { font-size: .985rem; }
  .brand img { width: 1.29rem; }
  .main-nav a { font-size: .875rem; }
  .hero {
    grid-template-columns: 1.2fr 1fr;
    row-gap: .4rem;
    padding-block: 1.85rem 1rem;
  }
  .hero-copy { display: contents; }
  .hero h1 { grid-column: 1 / -1; font-size: clamp(2.8rem, 16.3vw, 6.9rem); }
  .hero p { max-width: 12ch; margin: 0; font-size: clamp(1.3rem, 5.25vw, 2rem); }
  .ring-stage { width: min(100%, 34vw, 11rem); }
  .products h2 { padding-block: .85rem; }
  .product summary { grid-template-columns: 1fr; min-height: 0; }
  .panel-copy { padding: 1.45rem; }
  .game-type { margin-bottom: .85rem; }
  .game-name { font-size: clamp(2.65rem, 10.8vw, 3.65rem); }
  .game-pitch { margin-top: .25rem; }
  .game-action { margin-top: 1.1rem; }
  .product-art { height: clamp(10rem, 43vw, 14.5rem); border-radius: 0 0 .38rem .38rem; }
  .product-art::before { width: 66%; left: 23%; bottom: -70%; }
  .product[open] .product-art { border-radius: 0; }
  .cow { inset-inline: 12% 4%; height: 98%; }
  .mode-details { grid-template-columns: 1fr; gap: 1rem; padding: 1.5rem; }
  .pail { width: 4.5rem; justify-self: start; }
  .contact-copy { flex-direction: column; align-items: start; gap: .5rem; }
  .email { font-size: clamp(1.9rem, 9.6vw, 3.75rem); }
}

@media (prefers-reduced-motion: no-preference) {
  @supports (view-timeline: --studio block) and (animation-timeline: view()) and (animation-range: exit 0% exit 100%) {
    .ring, .ring-shadow {
      animation: ring-roll 1ms linear both;
      animation-timeline: --studio;
      animation-range: exit -20% exit 95%;
    }
    .ring-shadow { animation-name: shadow-drift; }
    .cow, .product-art::before {
      animation: portrait-arrival 1ms linear both;
      animation-timeline: --portrait;
      animation-range: cover 26% cover 76%;
    }
    .product-art::before { animation-name: backdrop-arrival; }
    .contact-rule {
      animation: draw-line 1ms linear both;
      animation-timeline: --contact;
      animation-range: entry 6% entry 95%;
    }
  }
}

@keyframes ring-roll {
  from { transform: translate(0, 0) rotate(0) scale(1); }
  to { transform: translate(-21%, 4%) rotate(-24deg) scale(.9); }
}
@keyframes shadow-drift {
  from { transform: translate(0, 0) scale(1); opacity: 1; }
  to { transform: translate(-16%, 3%) scale(.86, .92); opacity: .78; }
}
@keyframes portrait-arrival {
  from { transform: translate(-9%, 5%) rotate(-5deg) scale(.92); }
  to { transform: translate(0, 0) rotate(0) scale(1); }
}
@keyframes backdrop-arrival {
  from { transform: translateX(8%) scale(.88); }
  to { transform: translateX(0) scale(1); }
}
@keyframes draw-line {
  from { transform: scaleX(.035); }
  to { transform: scaleX(1); }
}
