@font-face {
  font-family: "Caudex";
  src: url("./assets/caudex-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Caudex";
  src: url("./assets/caudex-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #101011;
  --bg-deep: #0c0c0d;
  --panel: rgba(26, 26, 27, .78);
  --panel-strong: rgba(21, 20, 22, .88);
  --line: rgba(224, 221, 214, .14);
  --text: #e9e2d8;
  --muted: #aea79c;
  --soft: #817b72;
  --accent: #aa835d;
  --accent-strong: #caa072;
  --accent-rgb: 170, 131, 93;
  --accent-soft: rgba(var(--accent-rgb), .12);
  --warn: #a88759;
  --gold: #a98859;
  --shadow: 0 12px 28px rgba(0, 0, 0, .22);
  --font-display: "Caudex", Georgia, serif;
  --font-ui: "Caudex", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg-deep);
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  overflow-x: hidden;
}

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

button {
  font: inherit;
}

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

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--bg);
  background-image: url("./assets/websitebg.jpg");
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  padding: 24px clamp(18px, 4vw, 72px);
  isolation: isolate;
  overflow: hidden;
}

.hero-foxes,
.hero-vignette {
  position: absolute;
  pointer-events: none;
}

.hero-foxes {
  inset: 0;
  z-index: 1;
  background-image: url("./assets/foxes.png");
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: 100% auto;
  transform: none;
}

.hero-vignette {
  inset: 0;
  z-index: 2;
  background: transparent;
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  flex: 1;
  grid-template-columns: 1fr;
  align-items: center;
  width: min(1440px, 100%);
  min-width: 0;
  margin: 0 auto;
  padding: clamp(38px, 8vh, 96px) 0;
}

.hero-copy {
  display: grid;
  justify-items: center;
  min-width: 0;
  text-align: center;
  animation: copy-rise .7s ease-out both;
}

.hero-logo {
  width: min(940px, 88vw);
  max-width: 100%;
  filter: drop-shadow(0 28px 28px rgba(0, 0, 0, .52));
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: clamp(24px, 5vh, 46px);
}

.btn {
  --wood-frame-width: 16px;
  --wood-frame-slice: 24;
  display: inline-grid;
  position: relative;
  min-height: 64px;
  min-width: 242px;
  place-items: center;
  border: var(--wood-frame-width) solid transparent;
  border-image-source: url("./assets/wood_frame.png");
  border-image-slice: var(--wood-frame-slice);
  border-image-width: var(--wood-frame-width);
  border-image-repeat: stretch;
  background-color: #1a1a1b;
  background-image: url("./assets/panel_texture.png");
  background-position: top left;
  background-repeat: repeat;
  color: #ffffff;
  cursor: pointer;
  image-rendering: pixelated;
  padding: 0 32px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  text-shadow: 0 2px 0 rgba(0, 0, 0, .65);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
}

html.aos-ready [data-aos] {
  opacity: 0;
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(.2, .82, .2, 1),
    filter 700ms ease;
  will-change: opacity, transform, filter;
}

html.aos-ready [data-aos="fade-up"] {
  transform: translate3d(0, 28px, 0);
  filter: blur(2px);
}

html.aos-ready [data-aos="zoom-in"] {
  transform: scale(.94);
  filter: blur(1px);
}

html.aos-ready [data-aos].is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

.game-intro-section {
  --wood-frame-width: 18px;
  --wood-frame-slice: 24;
  position: relative;
  width: 100%;
  min-height: clamp(520px, 72vh, 760px);
  display: grid;
  place-items: center;
  border: var(--wood-frame-width) solid transparent;
  border-image-source: url("./assets/wood_frame.png");
  border-image-slice: var(--wood-frame-slice);
  border-image-width: var(--wood-frame-width);
  border-image-repeat: stretch;
  background-color: #34231a;
  background-image: url("./assets/panel_texture.png");
  background-position: top left;
  background-repeat: repeat;
  background-blend-mode: multiply;
  image-rendering: pixelated;
  padding: clamp(52px, 8vw, 96px) clamp(18px, 5vw, 88px);
}

.game-intro-copy {
  width: min(960px, 100%);
  text-align: center;
  text-shadow: 0 3px 12px rgba(0, 0, 0, .78);
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.game-intro-copy h2 {
  margin: 0 auto clamp(34px, 4.6vw, 56px);
  max-width: 760px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(36px, 5.4vw, 76px);
  line-height: .98;
  letter-spacing: 0;
}

.game-intro-copy p:not(.section-kicker) {
  max-width: 780px;
  margin: 0 auto 18px;
  color: var(--text-secondary, #aea79c);
  font-family: var(--font-display);
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.46;
}

.game-intro-copy p:last-child {
  margin-bottom: 0;
}

.skills-section {
  position: relative;
  width: 100%;
  background-color: #1f1813;
  background-image: linear-gradient(rgba(15, 11, 9, .72), rgba(15, 11, 9, .82)), url("./assets/foxbg.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  color: #2e2119;
  image-rendering: pixelated;
  padding: clamp(72px, 10vw, 128px) clamp(18px, 5vw, 88px);
}

.skills-section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.skills-heading {
  max-width: 820px;
  margin: 0 auto clamp(34px, 5vw, 58px);
  text-align: center;
}

.skills-heading h2 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

.skills-browser {
  --wood-frame-width: 18px;
  --wood-frame-slice: 24;
  display: grid;
  grid-template-columns: minmax(250px, 330px) minmax(0, 1fr);
  min-height: 540px;
  border: var(--wood-frame-width) solid transparent;
  border-image-source: url("./assets/wood_frame.png");
  border-image-slice: var(--wood-frame-slice);
  border-image-width: var(--wood-frame-width);
  border-image-repeat: stretch;
  background-color: #17100d;
  background-image: linear-gradient(rgba(12, 8, 7, .54), rgba(12, 8, 7, .72)), url("./assets/panel_texture.png");
  background-position: top left;
  background-repeat: repeat;
  color: var(--text);
  box-shadow: 0 22px 42px rgba(0, 0, 0, .28);
  overflow: hidden;
}

.skill-list {
  display: grid;
  align-content: start;
  gap: 8px;
  border-right: 1px solid #5a402d;
  background-color: rgba(10, 7, 6, .48);
  padding: clamp(14px, 2vw, 22px);
}

.skill-tab {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  min-height: 66px;
  width: 100%;
  border: 1px solid #5a402d;
  background: rgba(37, 26, 21, .84);
  color: var(--text);
  cursor: pointer;
  gap: 12px;
  padding: 8px 12px;
  text-align: left;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}

.skill-tab:hover {
  transform: translateX(3px);
  border-color: var(--accent-strong);
  background-color: rgba(48, 34, 26, .92);
}

.skill-tab.is-active {
  border-color: var(--gold);
  background-color: rgba(62, 42, 27, .94);
  box-shadow: inset 0 0 0 2px #6f4b29;
}

.skill-tab-icon {
  width: 46px;
  height: 46px;
  image-rendering: pixelated;
  object-fit: contain;
}

.skill-tab-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.skill-tab-name {
  color: #fff7e8;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.05;
}

.skill-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 250px);
  align-items: center;
  gap: clamp(18px, 3vw, 32px) clamp(20px, 3.5vw, 44px);
  padding: clamp(28px, 5vw, 64px);
}

.skill-detail-copy {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
}

.skill-detail h3 {
  grid-column: 1 / -1;
  grid-row: 1;
  margin: 0 0 22px;
  max-width: 100%;
  color: #fff7e8;
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 78px);
  line-height: .94;
  letter-spacing: 0;
  text-align: center;
}

.skill-detail p[data-skill-description] {
  max-width: 620px;
  margin: 0 0 28px;
  color: var(--text);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.42;
}

.companion-showcase {
  display: grid;
  grid-column: 2;
  grid-row: 2;
  min-height: 320px;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  justify-items: center;
  border-left: 1px solid #5a402d;
  padding-left: clamp(18px, 2.6vw, 34px);
}

.companion-showcase img {
  width: min(100%, 230px);
  image-rendering: pixelated;
  object-fit: contain;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .36));
}

.companion-name {
  margin: 10px 0 0;
  color: #fff7e8;
  font-size: clamp(16px, 1.55vw, 20px);
  font-weight: 800;
  line-height: 1.18;
  text-align: center;
}

.combat-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #0f0d0c;
  background-image: url("./assets/scenes/combat/mornif_outskirts.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  color: var(--text);
  padding: clamp(72px, 10vw, 128px) clamp(18px, 5vw, 88px) clamp(84px, 11vw, 144px);
}

.combat-section::before,
.combat-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.combat-section::before {
  background: rgba(9, 8, 7, .12);
  -webkit-backdrop-filter: blur(5px) saturate(.86) brightness(.72);
  backdrop-filter: blur(5px) saturate(.86) brightness(.72);
}

.combat-section::after {
  background: rgba(9, 8, 7, .48);
}

.combat-section-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.combat-heading {
  max-width: 760px;
  margin: 0 auto clamp(14px, 3vw, 28px);
  text-align: center;
}

.combat-heading h2 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 86px);
  line-height: .96;
  letter-spacing: 0;
}

.combat-intro {
  max-width: 760px;
  margin: 0 auto clamp(24px, 4vw, 48px);
  color: var(--text);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.42;
  text-align: center;
  text-shadow: 0 3px 14px rgba(0, 0, 0, .68);
}

.combat-coverflow {
  position: relative;
  display: grid;
  width: min(100%, 1040px);
  height: clamp(360px, 48vw, 580px);
  margin: 0 auto;
  place-items: center;
  perspective: 1100px;
  overflow: hidden;
}

.combat-slide {
  position: absolute;
  display: grid;
  width: clamp(210px, 30vw, 380px);
  margin: 0;
  justify-items: center;
  gap: 16px;
  opacity: .18;
  transform-style: preserve-3d;
  transition:
    transform 900ms cubic-bezier(.2, .82, .2, 1),
    opacity 900ms ease,
    filter 900ms ease;
  will-change: transform, opacity, filter;
}

.combat-slide img {
  width: min(100%, 360px);
  aspect-ratio: 1;
  object-fit: contain;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
  filter: drop-shadow(0 24px 20px rgba(0, 0, 0, .46));
}

.combat-slide[data-coverflow-slot="-2"] {
  z-index: 1;
  opacity: .24;
  filter: saturate(.75) brightness(.72);
  transform: translateX(-86%) translateZ(-250px) rotateY(48deg) scale(.72);
}

.combat-slide[data-coverflow-slot="-1"] {
  z-index: 2;
  opacity: .68;
  filter: saturate(.9) brightness(.9);
  transform: translateX(-48%) translateZ(-120px) rotateY(34deg) scale(.84);
}

.combat-slide[data-coverflow-slot="0"] {
  z-index: 4;
  opacity: 1;
  filter: none;
  transform: translateX(0) translateZ(90px) rotateY(0deg) scale(1);
}

.combat-slide[data-coverflow-slot="1"] {
  z-index: 2;
  opacity: .68;
  filter: saturate(.9) brightness(.9);
  transform: translateX(48%) translateZ(-120px) rotateY(-34deg) scale(.84);
}

.combat-slide[data-coverflow-slot="2"] {
  z-index: 1;
  opacity: .24;
  filter: saturate(.75) brightness(.72);
  transform: translateX(86%) translateZ(-250px) rotateY(-48deg) scale(.72);
}

.production-section {
  --wood-frame-width: 18px;
  --wood-frame-slice: 24;
  position: relative;
  width: 100%;
  border: var(--wood-frame-width) solid transparent;
  border-image-source: url("./assets/wood_frame.png");
  border-image-slice: var(--wood-frame-slice);
  border-image-width: var(--wood-frame-width);
  border-image-repeat: stretch;
  background-color: #241914;
  background-image: linear-gradient(rgba(13, 9, 7, .62), rgba(13, 9, 7, .76)), url("./assets/panel_texture.png");
  background-position: top left;
  background-repeat: repeat;
  color: var(--text);
  image-rendering: pixelated;
  padding: clamp(72px, 10vw, 128px) clamp(18px, 5vw, 88px);
}

.production-section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.production-heading {
  max-width: 760px;
  margin: 0 auto clamp(34px, 5vw, 58px);
  text-align: center;
}

.production-heading h2 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 76px);
  line-height: .98;
  letter-spacing: 0;
}

.production-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: min(900px, 100%);
  margin: 0 auto;
  gap: clamp(14px, 2vw, 22px);
}

.production-card {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  align-content: start;
  align-items: start;
  min-height: 0;
  margin: 0;
  border: 1px solid #6f4b29;
  background-color: rgba(18, 12, 10, .76);
  color: var(--text);
  gap: 18px;
  padding: clamp(18px, 2vw, 24px);
  box-shadow: inset 0 0 0 1px rgba(255, 247, 232, .06), 0 18px 28px rgba(0, 0, 0, .22);
}

.production-card img {
  width: 76px;
  height: 76px;
  image-rendering: pixelated;
  object-fit: contain;
}

.production-card h3 {
  margin: 0 0 12px;
  color: #fff7e8;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.02;
  letter-spacing: 0;
}

.production-card p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.38;
}

.more-section {
  --wood-frame-width: 18px;
  --wood-frame-slice: 24;
  position: relative;
  width: 100%;
  border: var(--wood-frame-width) solid transparent;
  border-image-source: url("./assets/wood_frame.png");
  border-image-slice: var(--wood-frame-slice);
  border-image-width: var(--wood-frame-width);
  border-image-repeat: stretch;
  background-color: #241914;
  background-image: linear-gradient(rgba(13, 9, 7, .56), rgba(13, 9, 7, .74)), url("./assets/panel_texture.png");
  background-position: top left;
  background-repeat: repeat;
  color: var(--text);
  image-rendering: pixelated;
  padding: clamp(72px, 10vw, 128px) clamp(18px, 5vw, 88px);
}

.more-section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.more-heading {
  max-width: 780px;
  margin: 0 auto clamp(34px, 5vw, 58px);
  text-align: center;
}

.more-heading h2 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(42px, 6.4vw, 82px);
  line-height: .96;
  letter-spacing: 0;
}

.more-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.more-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  min-height: 0;
  align-items: start;
  border: 1px solid rgba(169, 136, 89, .68);
  background-color: rgba(18, 12, 10, .78);
  gap: clamp(14px, 2vw, 20px);
  padding: clamp(18px, 2.2vw, 26px);
  box-shadow: inset 0 0 0 1px rgba(255, 247, 232, .06), 0 18px 32px rgba(0, 0, 0, .25);
}

.more-card img {
  width: 72px;
  height: 72px;
  image-rendering: pixelated;
  object-fit: contain;
  filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .26));
}

.more-card > div {
  min-width: 0;
}

.more-card h3 {
  margin: 0 0 10px;
  color: #fff7e8;
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.02;
  letter-spacing: 0;
}

.more-card p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.4;
}

.idle-section {
  position: relative;
  width: 100%;
  background-color: #0f0d0c;
  background-image: linear-gradient(rgba(10, 9, 8, .66), rgba(10, 9, 8, .82)), url("./assets/nalauf_lake.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  color: var(--text);
  padding: clamp(72px, 10vw, 128px) clamp(18px, 5vw, 88px);
}

.idle-section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
  width: min(1220px, 100%);
  align-items: center;
  gap: clamp(36px, 5vw, 60px);
  margin: 0 auto;
}

.idle-copy h2 {
  margin: 0 0 clamp(24px, 4vw, 40px);
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(48px, 7.2vw, 94px);
  line-height: .96;
  letter-spacing: 0;
}

.idle-copy p:not(.section-kicker) {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.46;
}

.idle-loop {
  display: grid;
  gap: 16px;
}

.idle-loop article {
  display: grid;
  border: 1px solid rgba(169, 136, 89, .68);
  border-left: 3px solid rgba(169, 136, 89, .82);
  background-color: rgba(18, 12, 10, .72);
  padding: clamp(18px, 2.2vw, 24px);
}

.idle-loop h3 {
  margin: 0 0 8px;
  color: #fff7e8;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1;
  letter-spacing: 0;
}

.idle-loop p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.38;
}

.screens-section {
  --wood-frame-width: 18px;
  --wood-frame-slice: 24;
  position: relative;
  width: 100%;
  border: var(--wood-frame-width) solid transparent;
  border-image-source: url("./assets/wood_frame.png");
  border-image-slice: var(--wood-frame-slice);
  border-image-width: var(--wood-frame-width);
  border-image-repeat: stretch;
  background-color: #2b1c14;
  background-image: linear-gradient(rgba(18, 12, 9, .42), rgba(18, 12, 9, .62)), url("./assets/panel_texture.png");
  background-position: top left;
  background-repeat: repeat;
  color: var(--text);
  image-rendering: pixelated;
  padding: clamp(72px, 10vw, 128px) clamp(18px, 5vw, 88px) clamp(84px, 11vw, 144px);
}

.screens-section-inner {
  width: min(1680px, 100%);
  margin: 0 auto;
}

.screens-heading {
  max-width: 820px;
  margin: 0 auto clamp(34px, 5vw, 58px);
  text-align: center;
}

.screens-heading h2 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(38px, 5.8vw, 74px);
  line-height: .98;
  letter-spacing: 0;
}

.screenshot-slider {
  position: relative;
  display: grid;
  width: min(100%, 1600px);
  height: clamp(380px, 58vw, 880px);
  margin: 0 auto;
  place-items: center;
  overflow: visible;
  perspective: 1000px;
}

.screenshot-slide {
  position: absolute;
  width: min(94vw, 1540px);
  margin: 0;
  opacity: 0;
  transform-style: preserve-3d;
  transition:
    opacity 850ms ease,
    transform 850ms cubic-bezier(.2, .82, .2, 1),
    filter 850ms ease;
}

.screenshot-slide img {
  width: 100%;
  border: 1px solid rgba(169, 136, 89, .76);
  box-shadow: 0 28px 44px rgba(0, 0, 0, .36);
  display: block;
  image-rendering: auto;
}

.screenshot-slide[data-screenshot-slot="-2"],
.screenshot-slide[data-screenshot-slot="2"] {
  opacity: 0;
  pointer-events: none;
}

.screenshot-slide[data-screenshot-slot="-1"] {
  opacity: .34;
  filter: brightness(.72) saturate(.8);
  transform: translateX(-28%) translateZ(-160px) rotateY(18deg) scale(.82);
}

.screenshot-slide[data-screenshot-slot="0"] {
  z-index: 3;
  opacity: 1;
  filter: none;
  transform: none;
}

.screenshot-slide[data-screenshot-slot="1"] {
  opacity: .34;
  filter: brightness(.72) saturate(.8);
  transform: translateX(28%) translateZ(-160px) rotateY(-18deg) scale(.82);
}

.cta-section {
  position: relative;
  display: grid;
  min-height: clamp(420px, 58vh, 620px);
  place-items: center;
  background-color: #0f0d0c;
  background-image: linear-gradient(rgba(10, 9, 8, .68), rgba(10, 9, 8, .82)), url("./assets/websitebg.jpg");
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  color: var(--text);
  padding: clamp(72px, 10vw, 128px) clamp(18px, 5vw, 88px);
  text-align: center;
}

.cta-section-inner {
  display: grid;
  justify-items: center;
  width: min(860px, 100%);
}

.cta-section h2 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(42px, 6.8vw, 88px);
  line-height: .96;
  letter-spacing: 0;
}

.site-footer {
  --wood-frame-width: 14px;
  --wood-frame-slice: 24;
  display: flex;
  flex-wrap: wrap;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  border: var(--wood-frame-width) solid transparent;
  border-image-source: url("./assets/wood_frame.png");
  border-image-slice: var(--wood-frame-slice);
  border-image-width: var(--wood-frame-width);
  border-image-repeat: stretch;
  background-color: #241914;
  background-image: linear-gradient(rgba(13, 9, 7, .54), rgba(13, 9, 7, .72)), url("./assets/panel_texture.png");
  background-position: top left;
  background-repeat: repeat;
  color: var(--muted);
  image-rendering: pixelated;
  padding: 18px clamp(18px, 4vw, 48px);
  gap: 14px 28px;
}

.site-footer p {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 22px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.footer-links a {
  color: var(--muted);
  transition: color .18s ease;
}

.footer-links a:hover {
  color: #fff7e8;
}

.privacy-page {
  display: grid;
  min-height: calc(100vh - 92px);
  place-items: center;
  background-color: #211610;
  background-image: linear-gradient(rgba(13, 9, 7, .62), rgba(13, 9, 7, .78)), url("./assets/panel_texture.png");
  background-position: top left;
  background-repeat: repeat;
  color: var(--text);
  image-rendering: pixelated;
  padding: clamp(52px, 8vw, 96px) clamp(18px, 5vw, 88px);
}

.privacy-panel {
  --wood-frame-width: 18px;
  --wood-frame-slice: 24;
  width: min(900px, 100%);
  border: var(--wood-frame-width) solid transparent;
  border-image-source: url("./assets/wood_frame.png");
  border-image-slice: var(--wood-frame-slice);
  border-image-width: var(--wood-frame-width);
  border-image-repeat: stretch;
  background-color: #1a100d;
  background-image: linear-gradient(rgba(12, 8, 7, .68), rgba(12, 8, 7, .82)), url("./assets/panel_texture.png");
  background-position: top left;
  background-repeat: repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 247, 232, .06), 0 22px 42px rgba(0, 0, 0, .34);
  padding: clamp(28px, 5vw, 56px);
}

.privacy-panel h1 {
  margin: 0;
  color: #fff7e8;
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 72px);
  line-height: .98;
  letter-spacing: 0;
}

.privacy-updated {
  margin: 14px 0 clamp(28px, 4vw, 42px);
  color: #b8afa3;
  font-size: 15px;
  font-weight: 700;
}

.privacy-content {
  display: grid;
  gap: 24px;
}

.privacy-content section {
  display: grid;
  gap: 10px;
}

.privacy-content h2 {
  margin: 0;
  color: #fff7e8;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.02;
  letter-spacing: 0;
}

.privacy-content p {
  margin: 0;
  color: #d0c6b7;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.48;
}

.privacy-content a,
.privacy-back {
  color: #fff7e8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-back {
  display: inline-block;
  margin-top: clamp(28px, 4vw, 42px);
  font-size: 16px;
  font-weight: 800;
}

@keyframes copy-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding: 18px;
  }

  .hero-foxes {
    background-size: max(1500px, 210vw) auto;
    background-position: center bottom;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    width: calc(100vw - 36px);
    padding: 38px 0;
  }

  .hero-logo {
    width: min(720px, 90vw);
  }

  .skills-browser {
    grid-template-columns: 1fr;
  }

  .skill-list {
    grid-template-columns: repeat(7, minmax(166px, 1fr));
    grid-auto-flow: column;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid #5a402d;
  }

  .skill-tab:hover {
    transform: translateY(-2px);
  }

  .skill-detail {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .skill-detail-copy {
    grid-column: 1;
    grid-row: 2;
  }

  .skill-detail p[data-skill-description] {
    margin-right: auto;
    margin-left: auto;
  }

  .companion-showcase {
    grid-column: 1;
    grid-row: 3;
    min-height: 240px;
    border-left: 0;
    padding-left: 0;
    place-items: center;
  }

  .companion-showcase img {
    width: min(68vw, 220px);
  }

  .combat-coverflow {
    height: clamp(340px, 74vw, 500px);
  }

  .combat-slide {
    width: clamp(170px, 44vw, 290px);
  }

  .combat-slide[data-coverflow-slot="-2"] {
    transform: translateX(-72%) translateZ(-220px) rotateY(46deg) scale(.66);
  }

  .combat-slide[data-coverflow-slot="-1"] {
    transform: translateX(-38%) translateZ(-115px) rotateY(32deg) scale(.8);
  }

  .combat-slide[data-coverflow-slot="1"] {
    transform: translateX(38%) translateZ(-115px) rotateY(-32deg) scale(.8);
  }

  .combat-slide[data-coverflow-slot="2"] {
    transform: translateX(72%) translateZ(-220px) rotateY(-46deg) scale(.66);
  }

  .production-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .production-card {
    grid-template-columns: 68px minmax(0, 1fr);
    align-items: start;
  }

  .more-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .idle-section-inner {
    grid-template-columns: 1fr;
  }

  .screenshot-slider {
    height: clamp(340px, 70vw, 640px);
  }

  .screenshot-slide {
    width: min(96vw, 1080px);
  }
}

@media (max-width: 560px) {
  .hero-logo {
    width: min(280px, 72vw);
  }

  .hero-foxes {
    background-size: max(1450px, 380vw) auto;
    background-position: 52% bottom;
  }

  .hero-actions {
    width: 100%;
  }

  .btn {
    --wood-frame-width: 14px;
    width: min(282px, 78vw);
    min-height: 58px;
    min-width: 0;
    font-size: 16px;
  }

  .skills-section {
    padding: 58px 14px 72px;
  }

  .skills-browser {
    --wood-frame-width: 14px;
  }

  .skill-list {
    padding: 12px;
  }

  .skill-tab {
    min-height: 62px;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
  }

  .skill-tab-icon {
    width: 40px;
    height: 40px;
  }

  .skill-tab-name {
    font-size: 16px;
  }

  .skill-detail {
    padding: 28px 18px 34px;
  }

  .skill-detail h3 {
    font-size: clamp(34px, 13vw, 54px);
  }

  .combat-section {
    padding: 58px 14px 76px;
  }

  .combat-coverflow {
    height: 340px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
  }

  .combat-slide {
    width: 204px;
  }

  .combat-slide img {
    width: 204px;
  }

  .production-section {
    --wood-frame-width: 14px;
    padding: 58px 14px 72px;
  }

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

  .production-card {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
  }

  .production-card img {
    width: 56px;
    height: 56px;
  }

  .more-section {
    --wood-frame-width: 14px;
    padding: 58px 14px 72px;
  }

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

  .more-card {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px 14px;
    padding: 16px;
  }

  .more-card img {
    width: 52px;
    height: 52px;
  }

  .more-card p {
    grid-column: 2;
  }

  .idle-section {
    padding: 58px 14px 72px;
  }

  .idle-loop article {
    padding: 16px;
  }

  .screens-section {
    --wood-frame-width: 14px;
    padding: 58px 14px 72px;
  }

  .screenshot-slider {
    width: 100vw;
    height: 310px;
    margin-left: calc(50% - 50vw);
  }

  .screenshot-slide {
    width: min(92vw, 390px);
  }

  .screenshot-slide[data-screenshot-slot="-1"] {
    opacity: .2;
    transform: translateX(-20%) translateZ(-120px) rotateY(16deg) scale(.82);
  }

  .screenshot-slide[data-screenshot-slot="1"] {
    opacity: .2;
    transform: translateX(20%) translateZ(-120px) rotateY(-16deg) scale(.82);
  }

  .cta-section {
    min-height: 380px;
    padding: 58px 14px 72px;
  }

  .site-footer {
    justify-content: center;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .privacy-page {
    padding: 42px 14px 58px;
  }

  .privacy-panel {
    --wood-frame-width: 14px;
    padding: 24px 18px 28px;
  }
}
