:root {
  --accent: #f79622;
  --accent-deep: #de7d12;
  --paper: #efe8dc;
  --paper-2: #f7f2ea;
  --stone: #e3d9cb;
  --ink: #2a241c;
  --muted: #6f675c;
  --line: rgba(42, 36, 28, 0.1);
  --header: 72px;
  --pad: clamp(20px, 4vw, 56px);
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Segoe UI", ui-sans-serif, system-ui, -apple-system, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  background: var(--accent);
  color: #fff;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 500;
  padding: 8px 14px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
}

.skip:focus {
  top: 16px;
}

main,
.footer {
  position: relative;
  z-index: 1;
}

main {
  padding-top: var(--header);
}

/* Header */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--header);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 0 var(--pad);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 242, 234, 0.92);
}

.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.logo,
.nav-burger,
.header-actions {
  position: relative;
  z-index: 220;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  justify-self: start;
}

.header .logo img {
  height: 42px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 0;
  background: none;
  box-shadow: none;
  position: relative;
  z-index: 1;
}

.logo img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
}

.logo span {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.header .logo span {
  display: inline-block;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  pointer-events: none;
  transition:
    max-width 0.45s var(--ease),
    opacity 0.3s ease;
}

body.is-scrolled .header .logo span {
  max-width: 9em;
  opacity: 1;
  pointer-events: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  flex-shrink: 0;
  z-index: 221;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  appearance: none;
  box-shadow: 0 8px 18px rgba(247, 150, 34, 0.22);
  transition: background 0.2s, transform 0.2s var(--ease);
}

.header-cta svg {
  width: 16px;
  height: 16px;
}

.header-cta:hover {
  background: var(--accent-deep);
}

.nav-burger {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  cursor: pointer;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition:
    background 0.2s,
    border-color 0.2s,
    opacity 0.3s var(--ease);
}

.nav-open {
  flex-shrink: 0;
  width: 0;
  min-width: 0;
  margin: 0;
  padding: 0;
  border-width: 0;
  overflow: hidden;
}

.nav-burger:hover {
  background: #fff;
  border-color: rgba(42, 36, 28, 0.18);
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-x {
  display: none;
  border-color: transparent;
  background: rgba(42, 36, 28, 0.08);
}

.nav-burger span {
  display: block;
  width: 20px;
  height: 14px;
  position: relative;
  font-size: 0;
  line-height: 0;
}

.nav-open span {
  background-image:
    linear-gradient(var(--ink), var(--ink)),
    linear-gradient(var(--ink), var(--ink)),
    linear-gradient(var(--ink), var(--ink));
  background-repeat: no-repeat;
  background-size: 20px 2px;
  background-position:
    center 0,
    center 6px,
    center 11px;
}

.nav-x span {
  height: 2px;
  background: transparent;
}

.nav-x span::before,
.nav-x span::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 2px;
  background: var(--ink);
}

.nav-x span::before {
  transform: rotate(45deg);
}

.nav-x span::after {
  transform: rotate(-45deg);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  gap: 4px;
  position: relative;
  z-index: 210;
  height: auto;
  width: max-content;
  max-width: 100%;
  overflow: visible;
  background: transparent;
  transform-origin: 100% 50%;
  transition:
    opacity 0.4s var(--ease),
    transform 0.45s var(--ease),
    visibility 0.4s;
}

.nav a {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
  transition:
    color 0.2s,
    background 0.2s,
    opacity 0.4s var(--ease),
    transform 0.45s var(--ease);
}

.nav a:nth-child(1) { transition-delay: 0.03s, 0.03s, 0s, 0s; }
.nav a:nth-child(2) { transition-delay: 0.03s, 0.03s, 0.04s, 0.04s; }
.nav a:nth-child(3) { transition-delay: 0.03s, 0.03s, 0.08s, 0.08s; }
.nav a:nth-child(4) { transition-delay: 0.03s, 0.03s, 0.12s, 0.12s; }

.nav a:hover {
  color: var(--ink);
  background: rgba(42, 36, 28, 0.05);
}

body.nav-collapsed .header .nav-burger.nav-open {
  width: 46px;
  min-width: 46px;
  border-width: 1px;
  overflow: visible;
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

body.nav-collapsed .nav {
  opacity: 0;
  visibility: hidden;
  transform: translateX(24px) scale(0.96);
  pointer-events: none;
}

body.nav-collapsed .nav a {
  opacity: 0;
  transform: translateX(18px);
}

body.nav-collapsed .nav a:nth-child(1) { transition-delay: 0.12s; }
body.nav-collapsed .nav a:nth-child(2) { transition-delay: 0.08s; }
body.nav-collapsed .nav a:nth-child(3) { transition-delay: 0.04s; }
body.nav-collapsed .nav a:nth-child(4) { transition-delay: 0s; }

body.nav-collapsed:has(#nav-toggle:checked) .nav-open {
  display: none;
}

body.nav-collapsed:has(#nav-toggle:checked) .nav-x {
  display: grid;
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  z-index: 230;
}

body.nav-collapsed:has(#nav-toggle:checked) .nav {
  display: flex;
  position: fixed;
  top: calc(var(--header) - 2px);
  left: 0;
  right: auto;
  width: 100%;
  max-width: none;
  height: auto;
  z-index: 205;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 0;
  margin: 0;
  padding: 10px var(--pad) 20px;
  overflow: visible;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(42, 36, 28, 0.12);
  animation: navDrop 0.42s var(--ease);
}

body.nav-collapsed:has(#nav-toggle:checked) .nav a {
  display: block;
  padding: 14px 0;
  border-radius: 0;
  background: none;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  color: var(--ink);
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}

body.nav-collapsed:has(#nav-toggle:checked) .nav a + a {
  border-top: 1px solid var(--line);
}

body.nav-collapsed:has(#nav-toggle:checked) .nav a:hover {
  color: var(--accent-deep);
  background: none;
}

body.nav-collapsed:has(#nav-toggle:checked) .header {
  background: var(--paper-2);
  border-bottom-color: transparent;
}

body.nav-collapsed:has(#nav-toggle:checked) .header::before {
  opacity: 0;
}

@keyframes navDrop {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.to-top {
  position: fixed;
  right: max(20px, var(--pad));
  bottom: max(20px, calc(16px + env(safe-area-inset-bottom, 0px)));
  z-index: 180;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--ink);
  color: #fff;
  box-shadow:
    0 14px 32px rgba(42, 36, 28, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  opacity: 0;
  transform: translateY(16px) scale(0.86);
  pointer-events: none;
  transition:
    opacity 0.4s var(--ease),
    transform 0.45s var(--ease),
    background 0.2s,
    box-shadow 0.2s;
}

.to-top svg {
  width: 22px;
  height: 22px;
}

body.is-scrolled .to-top {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

body.is-scrolled .to-top.is-scrolling,
body.is-scrolled .to-top:active {
  background: var(--accent);
  box-shadow: 0 16px 34px rgba(247, 150, 34, 0.32);
}

@media (hover: hover) and (pointer: fine) {
  body.is-scrolled .to-top:hover:not(.is-hover-lock):not(.is-scrolling) {
    background: var(--accent);
    box-shadow: 0 16px 34px rgba(247, 150, 34, 0.32);
    transform: translateY(-3px);
  }
}

body.is-scrolled .to-top:active {
  transform: translateY(0) scale(0.96);
}

body.nav-collapsed:has(#nav-toggle:checked) .to-top {
  opacity: 0;
  pointer-events: none;
}

/* Hero */

#playables,
#web-games,
#about,
#contacts {
  scroll-margin-top: calc(var(--header) + 8px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.9fr);
  grid-template-areas:
    "copy logo"
    "features features";
  align-items: center;
  gap: clamp(28px, 4vw, 48px) clamp(32px, 5vw, 72px);
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(36px, 6vw, 72px) var(--pad) clamp(48px, 7vw, 88px);
  text-align: left;
}

.hero-logo-wrap {
  grid-area: logo;
  width: 100%;
  max-width: 540px;
  justify-self: center;
}

.hero-logo-card {
  width: 100%;
  aspect-ratio: 1;
  container-type: inline-size;
  border-radius: clamp(16px, 13cqi, 40px);
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 0 0 1px var(--line),
    0 28px 60px rgba(42, 36, 28, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 4cqi, 18px);
  padding: 9% 8% 10%;
}

.hero-logo {
  width: auto;
  max-width: 86%;
  max-height: 72%;
  min-height: 0;
  flex: 0 1 auto;
  object-fit: contain;
}

.hero-logo-wordmark {
  margin: 0;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(6px, 3cqi, 10px);
  text-align: center;
}

.hero-logo-name {
  font-size: clamp(1.2rem, 12cqi, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}

.hero-logo-tagline {
  font-size: clamp(0.55rem, 5.6cqi, 0.85rem);
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #c9a15c;
  line-height: 1;
  padding-left: 0.26em;
}

.hero-copy {
  grid-area: copy;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.hero-headline {
  margin: 0 0 18px;
  font-size: clamp(3rem, 6.2vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.hero-headline em {
  display: block;
  font-style: normal;
  color: var(--accent);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  margin-top: 28px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  appearance: none;
  box-shadow: 0 10px 24px rgba(247, 150, 34, 0.28);
  transition: background 0.2s;
  white-space: nowrap;
}

.hero-cta svg {
  width: 18px;
  height: 18px;
}

.hero-cta:hover {
  background: var(--accent-deep);
}

.hero-features {
  grid-area: features;
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 8px 8px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 0 1px var(--line);
}

.hero-features article {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
  padding: 22px 24px;
  text-align: left;
}

.hero-features article + article {
  box-shadow: -1px 0 0 var(--line);
}

.hero-feature-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  color: var(--accent);
}

.hero-feature-icon svg {
  width: 32px;
  height: 32px;
}

.hero-features h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-features p {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}

.lead {
  margin: 0;
  max-width: 38ch;
  color: var(--muted);
  font-size: clamp(15px, 1.5vw, 18px);
}

@media (min-width: 1100px) and (min-height: 800px) {
  .hero {
    box-sizing: border-box;
    height: calc(100dvh - var(--header));
    height: calc(100svh - var(--header));
    min-height: 0;
    max-height: calc(100dvh - var(--header));
    max-height: calc(100svh - var(--header));
    grid-template-rows: minmax(0, 1fr) auto;
    padding: clamp(16px, 4vh, 56px) var(--pad) clamp(16px, 3.2vh, 40px);
    gap: clamp(16px, 3.2vh, 48px) clamp(32px, 5vw, 72px);
  }

  .hero-copy {
    min-height: 0;
    justify-self: center;
    align-self: center;
    width: max-content;
    max-width: 100%;
    justify-content: center;
  }

  .hero-logo-wrap {
    min-height: 0;
    max-height: 100%;
    width: min(100%, 520px, calc(100svh - var(--header) - 14rem));
    max-width: 100%;
    height: auto;
    justify-self: center;
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-logo-card {
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    aspect-ratio: 1;
  }

  .hero-headline {
    font-size: clamp(2.2rem, min(6.2vw, 7vh), 5.2rem);
  }

  .hero-features article {
    padding: clamp(12px, 2vh, 22px) 24px;
  }
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

/* Works grid */

.works-wrap {
  padding: 0 var(--pad) clamp(72px, 10vw, 120px);
  max-width: 1600px;
  margin: 0 auto;
}

#web-games.works-wrap {
  border-top: 1px solid var(--line);
  padding-top: clamp(72px, 10vw, 128px);
}

.section-head {
  margin: 0 0 clamp(28px, 4vw, 40px);
  max-width: 46rem;
}

.section-head h1,
.section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 700;
}

.section-lead {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.5vw, 18px);
  max-width: 46ch;
}

.works {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.work {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: var(--stone);
  isolation: isolate;
  color: #fff;
}

.work img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.8s var(--ease), filter 0.5s, opacity 0.25s;
}

.work-gif {
  z-index: 1;
  opacity: 0;
  transform: none;
  pointer-events: none;
}

.work:hover .work-still,
.work:focus-visible .work-still {
  transform: scale(1.08);
  filter: brightness(0.72);
}

@media (hover: hover) and (pointer: fine) {
  .work:hover .work-gif[src],
  .work:focus-visible .work-gif[src] {
    opacity: 1;
    transform: scale(1.04);
    filter: none;
  }

  .work:hover:has(.work-gif[src]) .work-still,
  .work:focus-visible:has(.work-gif[src]) .work-still {
    filter: none;
    transform: scale(1.04);
  }

  .work:hover:has(.work-gif[src]) .work-shade,
  .work:focus-visible:has(.work-gif[src]) .work-shade {
    opacity: 0.7;
    background: linear-gradient(180deg, transparent 48%, rgba(32, 26, 18, 0.7) 100%);
  }
}

.work-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, transparent 42%, rgba(32, 26, 18, 0.78) 100%),
    linear-gradient(0deg, transparent, rgba(32, 26, 18, 0.1));
  opacity: 0.85;
  transition: opacity 0.35s, background 0.35s;
}

.work:hover .work-shade,
.work:focus-visible .work-shade {
  opacity: 1;
  background:
    linear-gradient(180deg, rgba(32, 26, 18, 0.12) 0%, rgba(32, 26, 18, 0.82) 100%);
}

@media (hover: hover) and (pointer: fine) {
  .work:hover:has(.work-gif[src]) .work-shade,
  .work:focus-visible:has(.work-gif[src]) .work-shade {
    opacity: 0.7;
    background: linear-gradient(180deg, transparent 48%, rgba(32, 26, 18, 0.7) 100%);
  }
}

.work-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 20px 76px 20px 22px;
}

.work-meta h2 {
  margin: 0;
  font-size: clamp(16px, 1.5vw, 22px);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.work-meta p {
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.play {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 4;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.work:hover .play,
.work:focus-visible .play {
  opacity: 1;
}

.play i {
  position: absolute;
  top: 17px;
  left: 19px;
  width: 12px;
  height: 14px;
  background: #fff;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.work-placeholder {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 18% 12%, rgba(247, 150, 34, 0.28), transparent 46%),
    linear-gradient(160deg, #d8cebf 0%, #c4b7a4 100%);
  transform: scale(1.02);
  transition: transform 0.8s var(--ease), filter 0.5s;
}

.work-placeholder::after {
  content: "";
  position: absolute;
  inset: 22%;
  background: url("../images/path6.svg") center / contain no-repeat;
  opacity: 0.28;
  filter: grayscale(0.2);
}

.work-soon {
  cursor: default;
}

.work-soon:hover .work-placeholder,
.work-soon:focus-visible .work-placeholder {
  transform: scale(1.08);
  filter: brightness(0.72);
}

/* About */

.about {
  position: relative;
  border-top: 1px solid var(--line);
  padding: clamp(72px, 10vw, 128px) var(--pad);
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(32px, 6vw, 96px);
}

.about h2 {
  margin: 12px 0 0;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.about-copy p {
  margin: 0 0 22px;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.35;
  letter-spacing: -0.025em;
  max-width: 22em;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.facts h3 {
  margin: 0 0 6px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.facts p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

/* Footer */

.footer {
  border-top: 1px solid var(--line);
  padding: 56px var(--pad) 32px;
  background: #e7dece;
}

.footer-grid {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 40px;
}

.footer-brand .logo img {
  height: 42px;
  width: auto;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.footer-brand p {
  margin: 14px 0 0;
  max-width: 28ch;
  color: var(--muted);
  font-size: 14px;
}

.footer h3 {
  margin: 8px 0 16px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer li + li {
  margin-top: 10px;
}

.footer a {
  color: var(--muted);
  font-size: 14px;
  transition: color 0.2s;
}

.footer a:hover {
  color: var(--ink);
}

.legal {
  max-width: 1600px;
  margin: 48px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #8a8174;
  font-size: 12px;
}

/* In-page player */

.player {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none;
  place-items: center;
  padding: 28px;
  background: rgba(42, 36, 28, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.player:target,
body.player-open .player {
  display: grid;
}

.player-backdrop {
  position: absolute;
  inset: 0;
}

.device {
  position: relative;
  z-index: 1;
  width: min(420px, calc((100dvh - 108px) * 502 / 980), 92vw);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.device-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 10px;
  color: #f4eee4;
}

.device-bar p {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.device-bar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.device-close,
.device-mute {
  flex-shrink: 0;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #f4eee4;
  cursor: pointer;
  transition: background 0.2s;
}

.device-close {
  padding: 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}

.device-mute {
  width: 36px;
  padding: 0;
  appearance: none;
}

.device-mute svg {
  width: 18px;
  height: 18px;
  display: block;
}

.device-mute .icon-off {
  display: none;
}

.device-mute[aria-pressed="true"] .icon-on {
  display: none;
}

.device-mute[aria-pressed="true"] .icon-off {
  display: block;
}

.device-close:hover,
.device-mute:hover {
  background: rgba(255, 255, 255, 0.22);
}

.device-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 502 / 980;
  filter: drop-shadow(0 22px 48px rgba(20, 16, 12, 0.45));
}

.device-bezel {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  user-select: none;
  object-fit: contain;
}

.device-screen {
  position: absolute;
  left: 6.175%;
  top: 1.633%;
  z-index: 1;
  width: 88.048%;
  height: 96.531%;
  overflow: hidden;
  border-radius: 13.8% / 6.45%;
  background: #0d0b09;
}

.device-screen::before {
  content: "Loading playable…";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #b5aa9b;
  font-size: 14px;
  letter-spacing: 0.06em;
}

.device-screen iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  background: #1c1814;
}

html:has(#player:target),
html:has(body.player-open),
html:has(body.contact-open) {
  overflow: hidden;
}

body:has(#player:target),
body.player-open,
body.contact-open {
  overflow: hidden;
  overscroll-behavior: none;
}

/* Contact modal */

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 450;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(12px, env(safe-area-inset-top)) 24px max(12px, env(safe-area-inset-bottom));
  overflow: hidden;
  overscroll-behavior: contain;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.contact-modal.is-open {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}

.contact-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(42, 36, 28, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
}

.contact-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(440px, 100%);
  max-width: 100%;
  max-height: 100%;
  min-height: 0;
  flex: 0 1 auto;
  align-self: center;
  overflow: hidden;
  padding: 24px 26px 22px;
  border-radius: 24px;
  background: var(--paper-2);
  box-shadow:
    0 0 0 1px var(--line),
    0 28px 60px rgba(42, 36, 28, 0.22);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.35s var(--ease);
}

.contact-modal.is-open .contact-dialog {
  transform: none;
}

.contact-dialog .eyebrow,
.contact-dialog > h2,
.contact-lead {
  flex-shrink: 0;
}

.contact-dialog .eyebrow {
  margin-bottom: 10px;
}

.contact-dialog h2 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.contact-lead,
.contact-success p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 15px;
}

.contact-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: rgba(42, 36, 28, 0.06);
  color: var(--ink);
  cursor: pointer;
  appearance: none;
  transition: background 0.2s;
}

.contact-close:hover {
  background: rgba(42, 36, 28, 0.12);
}

.contact-close svg {
  width: 18px;
  height: 18px;
}

.contact-form {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  gap: 10px;
}

.contact-form-fields {
  position: relative;
  display: grid;
  gap: 8px;
  flex: 1 1 auto;
  min-height: 0;
  padding: 4px;
  margin: 0 -4px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.contact-form label {
  display: grid;
  align-content: start;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.contact-label-text {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 6px;
}

.contact-optional {
  font-weight: 500;
  color: var(--muted);
  font-size: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
  appearance: none;
  resize: vertical;
}

.contact-form textarea {
  min-height: 64px;
  max-height: 160px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  field-sizing: fixed;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent);
}

.contact-honey {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.contact-status {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.contact-status:empty {
  display: none;
}

.contact-status.is-error {
  color: #9b2c16;
}

.contact-status a {
  color: var(--accent-deep);
  text-decoration: underline;
}

.contact-form[hidden] {
  display: none;
}

.contact-dialog.is-sent #contact-title,
.contact-dialog.is-sent .contact-lead {
  display: none;
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 0 0 auto;
  width: 100%;
  height: 46px;
  margin-top: 0;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  appearance: none;
  box-shadow: 0 10px 24px rgba(247, 150, 34, 0.28);
  transition: background 0.2s;
}

.contact-submit svg {
  width: 18px;
  height: 18px;
}

.contact-submit:hover {
  background: var(--accent-deep);
}

.contact-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.contact-success[hidden] {
  display: none;
}

.contact-success h2 {
  margin-top: 8px;
}

@media (max-width: 640px) {
  .contact-modal {
    padding: max(8px, env(safe-area-inset-top)) 12px max(8px, env(safe-area-inset-bottom));
    align-items: center;
  }

  .contact-dialog {
    width: 100%;
    padding: 24px 20px 22px;
    border-radius: 22px;
  }
}

@media (orientation: landscape) and (max-height: 560px) {
  .contact-modal {
    align-items: center;
    padding: max(6px, env(safe-area-inset-top)) 16px max(6px, env(safe-area-inset-bottom));
  }

  .contact-dialog {
    width: min(720px, 100%);
    max-height: 100%;
    padding: 12px 18px 12px;
    border-radius: 18px;
  }

  .contact-dialog .eyebrow {
    margin-bottom: 2px;
  }

  .contact-dialog h2 {
    font-size: 1.25rem;
    margin-bottom: 2px;
  }

  .contact-lead,
  .contact-success p {
    margin-bottom: 6px;
    font-size: 13px;
  }

  .contact-close {
    top: 6px;
    right: 6px;
    width: 36px;
    height: 36px;
  }

  .contact-form {
    gap: 8px;
  }

  .contact-form-fields {
    grid-template-columns: 1fr 1fr;
    gap: 6px 14px;
  }

  .contact-form label {
    gap: 2px;
  }

  .contact-label-text {
    flex-wrap: nowrap;
    white-space: nowrap;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 7px 10px;
    font-size: 14px;
  }

  .contact-form textarea {
    min-height: 38px;
    max-height: 72px;
    resize: none;
  }

  .contact-status {
    grid-column: 1 / -1;
  }

  .contact-submit {
    height: 40px;
  }
}

/* Responsive */

@media (max-width: 1180px) {
  .header-cta {
    font-size: 12px;
    padding: 0 12px 0 14px;
  }
}

@media (max-width: 980px) {
  .header-cta {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .works {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .about {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    justify-items: stretch;
    gap: 28px 24px;
    width: 100%;
  }

  .footer-brand,
  .footer-grid > div:last-child {
    grid-column: 1 / -1;
  }

  .footer-brand p {
    max-width: none;
  }

  .footer a {
    overflow-wrap: anywhere;
  }

  .facts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .header {
    display: flex;
    justify-content: space-between;
  }

  .header .logo {
    flex-shrink: 0;
    z-index: 221;
    max-width: calc(100% - 58px);
    margin-right: 58px;
  }

  .header-actions {
    position: absolute;
    right: var(--pad);
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0;
    grid-column: auto;
    grid-row: auto;
  }

  .header .nav-burger.nav-open {
    display: grid;
    z-index: 220;
    width: 46px;
    min-width: 46px;
    border-width: 1px;
    overflow: visible;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .nav {
    display: none;
    grid-column: auto;
    justify-self: auto;
  }

  body:has(#nav-toggle:checked) .nav {
    display: flex;
    position: fixed;
    top: calc(var(--header) - 2px);
    left: 0;
    width: 100%;
    max-width: none;
    height: auto;
    overflow: visible;
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 10px var(--pad) 20px;
    background: var(--paper-2);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(42, 36, 28, 0.12);
  }

  body:has(#nav-toggle:checked) .nav-open {
    display: none;
  }

  body:has(#nav-toggle:checked) .nav-x {
    display: grid;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    z-index: 230;
  }
}

@media (max-width: 720px) {
  .player {
    padding: 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: #1c1814;
    backdrop-filter: none;
    overflow: hidden;
  }

  .player:target,
  body.player-open .player {
    display: flex;
    flex-direction: column;
  }

  .player-backdrop {
    display: none;
  }

  .device {
    width: 100%;
    height: 100%;
    flex: 1;
    min-height: 0;
    gap: 0;
  }

  .device-bar {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    padding: calc(10px + env(safe-area-inset-top, 0px)) 12px 10px;
    background: linear-gradient(105deg, #b44a0c 0%, #f79622 52%, #de7d12 100%);
    color: #fff;
    box-shadow: inset 0 -1px 0 rgba(255, 236, 210, 0.28);
  }

  .device-close,
  .device-mute {
    background: rgba(42, 36, 28, 0.22);
    color: #fff;
  }

  .device-close:hover,
  .device-mute:hover {
    background: rgba(42, 36, 28, 0.34);
  }

  .device-stage {
    position: relative;
    z-index: 0;
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    aspect-ratio: auto;
    filter: none;
    overflow: hidden;
  }

  .device-bezel {
    display: none;
  }

  .device-screen {
    position: absolute;
    inset: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    overflow: hidden;
  }

  .device-screen iframe {
    display: block;
    width: 100%;
    height: 100%;
    z-index: 0;
  }
}

@media (max-width: 640px) {
  .work-meta {
    padding: 16px 64px 16px 16px;
  }

  .play {
    opacity: 1;
    width: 40px;
    height: 40px;
    right: 12px;
    bottom: 12px;
  }

  .play i {
    top: 13px;
    left: 15px;
  }

  .legal {
    flex-direction: column;
  }

  .logo span {
    font-size: 16px;
  }
}

@media (min-width: 641px) and (max-width: 1100px) {
  .hero {
    padding: 32px var(--pad) 40px;
    gap: 24px 36px;
  }

  .hero-headline {
    font-size: clamp(2.5rem, 5vw, 3.6rem);
    margin-bottom: 14px;
  }

  .hero-cta {
    margin-top: 20px;
    height: 50px;
    font-size: 16px;
  }

  .lead,
  .section-lead {
    font-size: 17px;
  }

  .hero-features {
    padding: 6px;
  }

  .hero-features article {
    padding: 16px 18px;
  }

  .hero-features h3 {
    font-size: 16px;
  }

  .hero-features p {
    font-size: 14px;
  }

  .works-wrap {
    padding-bottom: 48px;
  }

  #web-games.works-wrap {
    padding-top: 48px;
  }

  .section-head {
    margin-bottom: 22px;
  }

  .section-head h1,
  .section-head h2 {
    font-size: clamp(2.15rem, 3.8vw, 3rem);
  }

  .work-meta h2 {
    font-size: clamp(18px, 2.2vw, 22px);
  }

  .about {
    padding: 48px var(--pad);
    gap: 28px 40px;
  }

  .about h2 {
    font-size: clamp(2.3rem, 4vw, 3.2rem);
  }

  .about-copy p {
    font-size: clamp(18px, 2.1vw, 22px);
  }

  .facts {
    margin-top: 24px;
    padding-top: 20px;
  }

  .footer {
    padding: 40px var(--pad) 28px;
  }
}

@media (max-width: 640px) {
  .header .nav-burger.nav-open {
    display: grid;
    width: 46px;
    min-width: 46px;
    border-width: 1px;
    overflow: visible;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: clamp(28px, 6vw, 48px) var(--pad) clamp(36px, 7vw, 64px);
  }

  .hero-copy {
    display: contents;
  }

  .hero-intro {
    order: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .hero-headline {
    font-size: clamp(2.1rem, 8vw, 3.2rem);
    margin-bottom: 0;
  }

  .lead {
    order: 1;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-logo-wrap {
    order: 2;
    width: min(64vw, 280px);
    max-width: 280px;
    justify-self: center;
  }

  .hero-cta {
    order: 3;
    width: min(64vw, 280px);
    margin-top: 12px;
  }

  .hero-features {
    order: 4;
    width: 100%;
    padding: 16px 8px 14px;
    border-radius: 24px;
  }

  .hero-features article {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 10px 8px;
  }

  .hero-features article + article {
    box-shadow: none;
  }

  .hero-features h3 {
    font-size: 14px;
  }

  .hero-features p {
    font-size: 12px;
  }
}

@media (max-width: 640px) and (orientation: portrait) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    justify-items: center;
    min-height: 100dvh;
    min-height: 100svh;
    height: 100dvh;
    height: 100svh;
    margin-top: calc(var(--header) * -1);
    padding: calc(var(--header) + 8px) var(--pad) max(16px, env(safe-area-inset-bottom, 0px));
    gap: 0;
    --hero-logo-size: min(58vw, 220px, calc((100svh - var(--header) - 24px) / 3 - 58px));
  }

  .hero-copy {
    display: contents;
  }

  .hero-intro,
  .hero-logo-wrap,
  .hero-cta,
  .hero-features {
    grid-column: 1;
  }

  .hero-intro {
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 0;
    width: 100%;
    gap: 8px;
  }

  .hero-headline {
    font-size: clamp(1.6rem, min(8vw, 4.6vh), 2.5rem);
  }

  .hero-logo-wrap {
    grid-row: 2;
    align-self: stretch;
    justify-self: center;
    width: min(58vw, 220px);
    max-width: 100%;
    min-height: 0;
    margin: 0;
    padding-bottom: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-logo-card {
    width: var(--hero-logo-size);
    max-width: 100%;
    max-height: 100%;
    aspect-ratio: 1;
  }

  .hero-cta {
    grid-row: 2;
    align-self: end;
    justify-self: center;
    z-index: 2;
    width: max-content;
    min-width: var(--hero-logo-size);
    max-width: 100%;
    height: 50px;
    padding: 0 26px;
    margin-top: 0;
    margin-bottom: -16px;
    white-space: nowrap;
  }

  .hero-features {
    grid-row: 3;
    align-self: center;
    width: 100%;
    min-height: 0;
    margin-top: 0;
    align-content: center;
    padding: 12px 4px 10px;
  }

  .hero-features article {
    padding: 8px 4px;
  }

  .hero-features h3 {
    font-size: 11px;
  }

  .hero-features p {
    font-size: 10px;
    overflow-wrap: anywhere;
  }

  .hero .lead {
    font-size: 13.5px;
    max-width: 34ch;
    margin: 0;
  }

  .footer-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    width: 100%;
    text-align: left;
  }

  .footer-brand,
  .footer-grid > div {
    width: 100%;
    min-width: 0;
    text-align: left;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-brand .logo {
    justify-content: flex-start;
  }

  .footer-brand p {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .footer-grid ul {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 10px 24px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .footer-grid ul.is-stacked {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 10px 0;
  }

  .footer-grid li {
    flex: 0 0 auto;
  }

  .footer-grid li + li {
    margin-top: 0;
  }

  .footer-grid ul a {
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
  }

  .footer-grid ul.is-stacked a {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .footer h3 {
    letter-spacing: 0.1em;
  }

  .legal {
    justify-content: flex-start;
    text-align: left;
  }
}

@media (orientation: landscape) and (max-height: 560px) and (max-width: 1024px) {
  :root {
    --header: 56px;
  }

  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.9fr);
    grid-template-rows: minmax(0, 1fr) auto;
    grid-template-areas:
      "copy logo"
      "features features";
    align-items: center;
    text-align: left;
    box-sizing: border-box;
    height: calc(100dvh - var(--header));
    height: calc(100svh - var(--header));
    min-height: 0;
    max-height: calc(100dvh - var(--header));
    max-height: calc(100svh - var(--header));
    margin-top: 0;
    padding: clamp(10px, 3.2vh, 40px) var(--pad) clamp(10px, 2.8vh, 32px);
    gap: clamp(10px, 2.8vh, 36px) clamp(20px, 4vw, 56px);
  }

  .hero-copy {
    grid-area: copy;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    justify-self: center;
    align-self: center;
    text-align: left;
    width: max-content;
    max-width: 100%;
    min-height: 0;
  }

  .hero-intro {
    align-items: flex-start;
    text-align: left;
    gap: 0;
    width: auto;
  }

  .hero-headline {
    font-size: clamp(1.7rem, min(6.2vw, 8vh), 4.2rem);
    margin-bottom: clamp(8px, 1.6vh, 18px);
    text-align: left;
  }

  .hero-cta {
    width: auto;
    height: clamp(40px, 8vh, 54px);
    margin-top: clamp(12px, 2.8vh, 28px);
    padding: 0 26px;
    font-size: 16px;
  }

  .hero-cta svg {
    width: 18px;
    height: 18px;
  }

  .hero-logo-wrap {
    grid-area: logo;
    justify-self: center;
    align-self: center;
    width: min(100%, 520px, calc(100svh - var(--header) - 10rem));
    max-width: 100%;
    min-height: 0;
    max-height: 100%;
    height: auto;
    margin: 0;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-logo-card {
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    aspect-ratio: 1;
  }

  .hero-features {
    grid-area: features;
    align-self: stretch;
    display: grid;
    width: 100%;
    padding: 6px;
    border-radius: clamp(16px, 2.5vw, 28px);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 0 1px var(--line);
  }

  .hero-features article {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 10px;
    padding: clamp(8px, 1.8vh, 18px) clamp(10px, 1.6vw, 24px);
  }

  .hero-features article + article {
    box-shadow: -1px 0 0 var(--line);
  }

  .hero-feature-icon {
    width: 28px;
    height: 28px;
  }

  .hero-feature-icon svg {
    width: 26px;
    height: 26px;
  }

  .hero-features h3 {
    font-size: clamp(12px, 1.4vw, 16px);
  }

  .hero-features p {
    font-size: clamp(10px, 1.2vw, 13px);
  }

  .hero .lead {
    margin-left: 0;
    margin-right: 0;
    font-size: clamp(13px, min(1.5vw, 2.8vh), 18px);
    max-width: 38ch;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
