@font-face {
  font-family: "Nunito Local";
  src: url("assets/nunito-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --forest: #163f35;
  --forest-deep: #0d2d27;
  --forest-bright: #245a48;
  --leaf: #72a74e;
  --leaf-light: #b8d66d;
  --sun: #ecb94f;
  --coral: #e87755;
  --paper: #f5f0df;
  --paper-bright: #fffbed;
  --paper-dark: #e7dfc5;
  --berry: #514053;
  --ink: #1d302b;
  --muted: #66736d;
  --line: rgba(22, 63, 53, 0.18);
  --display: Georgia, "Times New Roman", serif;
  --sans: "Nunito Local", "Arial Rounded MT Bold", ui-rounded, system-ui, sans-serif;
  --page-pad: clamp(1.25rem, 4vw, 4.75rem);
  --section-space: clamp(5.5rem, 10vw, 10rem);
  --radius-lg: 2rem;
  --shadow: 0 28px 70px rgba(13, 45, 39, 0.17);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  z-index: 1000;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.14;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.19'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--sun);
  color: var(--forest-deep);
}

.skip-link {
  position: fixed;
  z-index: 1001;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: var(--paper-bright);
  color: var(--forest);
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.section {
  padding-inline: var(--page-pad);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.25rem var(--page-pad);
  color: var(--forest-deep);
  transition: padding 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  padding-block: 0.7rem;
  background: rgba(245, 240, 223, 0.92);
  box-shadow: 0 1px 0 rgba(22, 63, 53, 0.12);
  backdrop-filter: blur(14px);
}

.nav-shell {
  display: flex;
  width: min(100%, 92rem);
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  overflow: visible;
}

.brand-mark path:first-child {
  fill: var(--sun);
  stroke: var(--forest-deep);
  stroke-width: 2.2;
}

.brand-mark path:last-child {
  fill: none;
  stroke: var(--forest-deep);
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-name {
  font-size: 1.18rem;
  font-weight: 850;
  letter-spacing: -0.025em;
}

.brand-name strong {
  color: var(--coral);
  font-weight: 850;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.6rem, 3vw, 3.4rem);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav a:not(.nav-contact) {
  position: relative;
}

.site-nav a:not(.nav-contact)::after {
  position: absolute;
  bottom: -0.35rem;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--coral);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:not(.nav-contact):hover::after,
.site-nav a:not(.nav-contact):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-contact {
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--forest-deep);
  border-radius: 999px;
  transition: color 180ms ease, background 180ms ease;
}

.nav-contact:hover,
.nav-contact:focus-visible {
  background: var(--forest-deep);
  color: var(--paper-bright);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(58rem, 100svh);
  padding: clamp(7.5rem, 14vh, 10rem) var(--page-pad) 4rem;
  grid-template-columns: minmax(22rem, 0.9fr) minmax(30rem, 1.1fr);
  align-items: center;
  gap: 2rem;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(245, 240, 223, 0.98) 0%, rgba(245, 240, 223, 0.9) 43%, rgba(245, 240, 223, 0.18) 72%),
    url("assets/art/garden-field.webp") center / cover no-repeat;
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 18%;
  background: linear-gradient(transparent, rgba(245, 240, 223, 0.9));
  content: "";
}

.hero-glow {
  position: absolute;
  z-index: -1;
  top: 12%;
  left: 7%;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  background: rgba(255, 251, 237, 0.77);
  filter: blur(50px);
}

.hero-copy {
  z-index: 2;
  width: min(100%, 46rem);
}

.eyebrow {
  display: flex;
  margin: 0 0 1.1rem;
  align-items: center;
  gap: 0.65rem;
  color: var(--forest-bright);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow > span {
  display: inline-block;
  width: 1.6rem;
  height: 2px;
  background: var(--coral);
}

.eyebrow.light {
  color: var(--leaf-light);
}

.hero h1,
.intro h2,
.franchise h2,
.section-heading h2,
.beyond h2,
.studio h2,
.contact h2 {
  margin: 0;
  color: var(--forest-deep);
  font-family: var(--display);
  font-size: clamp(3.6rem, 7.1vw, 7.7rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.85;
}

h1 em,
h2 em,
h3 em {
  color: var(--coral);
  font-weight: 400;
}

.hero-intro {
  width: min(100%, 35rem);
  margin: 2.1rem 0 0;
  color: #40554e;
  font-size: clamp(1.05rem, 1.3vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  margin-top: 2.2rem;
  align-items: center;
  gap: 1.65rem;
}

.button {
  display: inline-flex;
  min-height: 3.4rem;
  padding: 0.75rem 1.3rem 0.75rem 1.55rem;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button svg {
  width: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease;
}

.button:hover svg,
.button:focus-visible svg {
  transform: translateX(0.25rem);
}

.button-primary {
  background: var(--forest-deep);
  box-shadow: 0 12px 28px rgba(13, 45, 39, 0.22);
  color: var(--paper-bright);
  transition: background 180ms ease, transform 180ms ease;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--coral);
  transform: translateY(-2px);
}

.text-link {
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.text-link span {
  margin-left: 0.35rem;
  color: var(--coral);
}

.hero-scene {
  position: relative;
  z-index: 1;
  width: min(50vw, 47rem);
  aspect-ratio: 1 / 0.95;
  justify-self: end;
}

.hero-scene::after {
  position: absolute;
  z-index: -2;
  right: 3%;
  bottom: 5%;
  width: 80%;
  height: 17%;
  border-radius: 50%;
  background: rgba(34, 75, 48, 0.27);
  content: "";
  filter: blur(16px);
  transform: rotate(-3deg);
}

.sun-wash {
  position: absolute;
  z-index: -1;
  top: 9%;
  left: 17%;
  width: 61%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(239, 200, 78, 0.32);
  box-shadow: 0 0 0 2.2rem rgba(255, 248, 196, 0.16);
}

.hero-scene img {
  position: absolute;
  object-fit: contain;
  user-select: none;
}

.scene-tree {
  z-index: 1;
  top: 0;
  left: 18%;
  width: 64%;
}

.scene-character {
  z-index: 3;
  transform-origin: 50% 90%;
}

.scene-sunbud {
  bottom: 6%;
  left: 3%;
  width: 31%;
  transform: rotate(-3deg);
}

.scene-thornkin {
  right: 25%;
  bottom: 0;
  width: 36%;
}

.scene-mooncap {
  right: 1%;
  bottom: 5%;
  width: 29%;
}

.scene-blight {
  z-index: 2;
  top: 33%;
  right: -2%;
  width: 15%;
  transform: rotate(8deg);
}

.scene-label {
  position: absolute;
  z-index: 5;
  top: 18%;
  left: 0;
  display: inline-flex;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(22, 63, 53, 0.2);
  border-radius: 999px;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 251, 237, 0.88);
  color: var(--forest);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.scene-label i,
.status i {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(232, 119, 85, 0.16);
}

.scroll-cue {
  position: absolute;
  bottom: 1.7rem;
  left: var(--page-pad);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #53655f;
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scroll-cue i {
  position: relative;
  display: block;
  width: 2.6rem;
  height: 1px;
  background: var(--forest);
}

.scroll-cue i::after {
  position: absolute;
  top: -2px;
  right: 0;
  width: 5px;
  height: 5px;
  border-right: 1px solid var(--forest);
  border-bottom: 1px solid var(--forest);
  content: "";
  transform: rotate(-45deg);
}

.section-rule {
  display: grid;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  color: var(--forest-bright);
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-rule i {
  height: 1px;
  background: var(--line);
}

.section-rule small {
  font: inherit;
}

.intro {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
  gap: clamp(3rem, 8vw, 9rem);
}

.intro h2,
.section-heading h2,
.studio h2 {
  font-size: clamp(3rem, 5.7vw, 6.35rem);
}

.intro h2 em,
.section-heading h2 em,
.studio h2 em {
  font-style: italic;
}

.intro-copy {
  padding-top: 0.4rem;
  color: #465a53;
  font-size: clamp(1.05rem, 1.25vw, 1.27rem);
}

.intro-copy p {
  margin: 0 0 1.4rem;
}

.intro-copy strong {
  color: var(--forest-deep);
}

.principles {
  display: grid;
  padding-left: 0;
  margin-top: clamp(4.5rem, 8vw, 8rem);
  margin-bottom: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.principle {
  position: relative;
  min-height: 20rem;
  padding: 2.2rem clamp(1.5rem, 3vw, 3.3rem) 2.5rem;
}

.principle + .principle {
  border-left: 1px solid var(--line);
}

.principle-number {
  color: #809089;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.principle svg {
  width: 4.4rem;
  margin: 2.1rem 0 2.5rem;
  fill: none;
  stroke: var(--forest-bright);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.principle h3 {
  margin: 0 0 0.6rem;
  color: var(--forest-deep);
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1.15;
}

.principle p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

.franchise {
  position: relative;
  overflow: hidden;
  background: var(--forest-deep);
  color: var(--paper);
}

.franchise::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 45%, rgba(181, 211, 100, 0.14), transparent 36%),
    linear-gradient(115deg, transparent 50%, rgba(0, 0, 0, 0.12) 50%);
  content: "";
}

.franchise-leaf {
  position: absolute;
  width: 25rem;
  height: 10rem;
  border: 1px solid rgba(184, 214, 109, 0.13);
  border-radius: 100% 0 100% 0;
}

.franchise-leaf-one {
  top: -4rem;
  left: -6rem;
  transform: rotate(14deg);
}

.franchise-leaf-two {
  right: -8rem;
  bottom: -2rem;
  transform: rotate(-25deg) scale(1.5);
}

.franchise-inner {
  position: relative;
  display: grid;
  min-height: 47rem;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: center;
}

.franchise-copy {
  position: relative;
  z-index: 3;
  padding-block: var(--section-space);
}

.franchise h2,
.beyond h2,
.contact h2 {
  color: var(--paper-bright);
  font-size: clamp(3.5rem, 6.1vw, 6.8rem);
}

.franchise h2 em,
.beyond h2 em,
.contact h2 em {
  color: var(--sun);
  font-style: italic;
}

.franchise-copy > p:not(.eyebrow) {
  width: min(100%, 35rem);
  margin: 2rem 0;
  color: rgba(245, 240, 223, 0.73);
  font-size: clamp(1rem, 1.2vw, 1.18rem);
}

.franchise-note {
  display: flex;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(245, 240, 223, 0.16);
  align-items: center;
  gap: 0.85rem;
  color: var(--leaf-light);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mini-leaf {
  width: 1rem;
  height: 1.4rem;
  border-radius: 100% 0 100% 0;
  background: var(--coral);
  transform: rotate(45deg);
}

.franchise-art {
  position: relative;
  height: 100%;
  min-height: 42rem;
}

.franchise-art::after {
  position: absolute;
  right: 1%;
  bottom: 8%;
  width: 93%;
  height: 17%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  content: "";
  filter: blur(18px);
}

.franchise-art img {
  position: absolute;
  z-index: 2;
  bottom: 7%;
  object-fit: contain;
  filter: drop-shadow(0 24px 18px rgba(0, 0, 0, 0.3));
}

.franchise-art img:nth-of-type(1) {
  left: 5%;
  width: 35%;
  transform: rotate(-4deg);
}

.franchise-art img:nth-of-type(2) {
  z-index: 3;
  left: 34%;
  width: 39%;
}

.franchise-art img:nth-of-type(3) {
  right: 0;
  width: 33%;
  transform: rotate(4deg);
}

.arch-word {
  position: absolute;
  z-index: 1;
  top: 15%;
  left: 0;
  color: transparent;
  font-family: var(--sans);
  font-size: clamp(7rem, 13vw, 14rem);
  font-weight: 1000;
  letter-spacing: -0.08em;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(184, 214, 109, 0.16);
}

.games {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}

.section-heading {
  display: grid;
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
  grid-template-columns: 1fr 0.55fr;
  align-items: end;
  gap: 3rem;
}

.section-heading > p {
  margin: 0 0 0.45rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 5rem) clamp(1.5rem, 3.5vw, 3.5rem);
}

.game-card-featured {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: stretch;
}

.game-media {
  position: relative;
  display: block;
  min-height: 23rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--forest);
  box-shadow: var(--shadow);
}

.game-card:not(.game-card-featured) .game-media {
  aspect-ratio: 16 / 11;
  min-height: 0;
}

.game-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1), filter 300ms ease;
}

.game-card.game-card-portrait .game-media {
  aspect-ratio: 5 / 8;
}

.game-card-portrait .game-media img {
  object-position: center top;
}

.game-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(13, 45, 39, 0.22));
  content: "";
  pointer-events: none;
}

.game-media:hover img,
.game-media:focus-visible img {
  filter: saturate(1.08);
  transform: scale(1.035);
}

.game-index {
  position: absolute;
  z-index: 2;
  top: 1.25rem;
  left: 1.25rem;
  display: grid;
  width: 2.8rem;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  place-items: center;
  background: rgba(13, 45, 39, 0.76);
  color: var(--paper-bright);
  font-size: 0.66rem;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

.game-arrow {
  position: absolute;
  z-index: 2;
  right: 1.25rem;
  bottom: 1.25rem;
  display: grid;
  width: 3rem;
  aspect-ratio: 1;
  border-radius: 50%;
  place-items: center;
  background: var(--paper-bright);
  color: var(--forest-deep);
  font-size: 1.25rem;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.game-media:hover .game-arrow,
.game-media:focus-visible .game-arrow {
  background: var(--coral);
  color: white;
  transform: rotate(8deg);
}

.game-info {
  display: grid;
  padding: 1.8rem 0 0;
  align-content: start;
}

.game-card-featured .game-info {
  padding: clamp(2rem, 4vw, 4.5rem);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.game-kicker {
  margin: 0 0 0.7rem;
  color: var(--forest-bright);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.game-info h3 {
  margin: 0;
  color: var(--forest-deep);
  font-family: var(--display);
  font-size: clamp(2.1rem, 3.5vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.game-info h3 em {
  font-size: 0.85em;
  font-style: italic;
}

.game-info > p {
  margin: 1.35rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.status {
  display: inline-flex;
  margin-top: auto;
  padding-top: 1rem;
  align-items: center;
  gap: 0.65rem;
  color: var(--forest);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.art-note {
  display: flex;
  width: fit-content;
  margin: 4.5rem auto 0;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  align-items: center;
  gap: 0.65rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
  text-align: center;
}

.art-note span {
  color: var(--coral);
}

.beyond {
  position: relative;
  min-height: 47rem;
  overflow: hidden;
  background: var(--berry);
  color: var(--paper);
}

.beyond::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 28%, rgba(232, 119, 85, 0.16), transparent 24%),
    radial-gradient(circle at 18% 90%, rgba(184, 214, 109, 0.12), transparent 30%);
  content: "";
}

.beyond-inner {
  position: relative;
  z-index: 2;
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}

.beyond h2 {
  max-width: 59rem;
}

.beyond-bottom {
  display: grid;
  margin-top: 4rem;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 4rem;
}

.beyond-bottom > p {
  width: min(100%, 40rem);
  margin: 0;
  color: rgba(245, 240, 223, 0.74);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}

.future-card {
  display: flex;
  min-width: 19rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid rgba(245, 240, 223, 0.2);
  border-radius: 1.2rem;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.05);
}

.future-symbol {
  display: flex;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  background: rgba(236, 185, 79, 0.16);
}

.future-symbol i {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--sun);
  animation: thinking 1.4s ease-in-out infinite;
}

.future-symbol i:nth-child(2) {
  animation-delay: 0.15s;
}

.future-symbol i:nth-child(3) {
  animation-delay: 0.3s;
}

.future-card strong,
.future-card span {
  display: block;
}

.future-card strong {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 400;
}

.future-card span {
  color: var(--leaf-light);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.beyond-orbit {
  position: absolute;
  border: 1px solid rgba(245, 240, 223, 0.1);
  border-radius: 50%;
}

.orbit-one {
  top: -22rem;
  right: -9rem;
  width: 52rem;
  height: 52rem;
}

.orbit-two {
  top: -12rem;
  right: 1rem;
  width: 32rem;
  height: 32rem;
}

.studio {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}

.studio-grid {
  display: grid;
  grid-template-columns: 1fr 0.75fr auto;
  align-items: start;
  gap: clamp(3rem, 6vw, 7rem);
}

.studio-copy {
  color: var(--muted);
}

.studio-copy p {
  margin: 0 0 1.4rem;
}

.studio-copy .studio-lead {
  color: var(--forest-deep);
  font-family: var(--display);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.35;
}

.studio-stamp {
  display: grid;
  width: 9.7rem;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  place-items: center;
  align-content: center;
  gap: 0.15rem;
  color: var(--forest);
  transform: rotate(5deg);
}

.studio-stamp::before,
.studio-stamp::after {
  width: 3rem;
  height: 1px;
  margin: 0.25rem 0;
  background: var(--coral);
  content: "";
}

.studio-stamp strong {
  font-family: var(--display);
  font-size: 2.3rem;
  font-weight: 400;
  line-height: 1;
}

.studio-stamp span {
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact {
  background: var(--forest-deep);
  color: var(--paper-bright);
}

.contact-inner {
  display: grid;
  min-height: 35rem;
  padding-top: clamp(5rem, 9vw, 8rem);
  padding-bottom: clamp(5rem, 9vw, 8rem);
  grid-template-columns: 1fr 0.72fr;
  align-items: end;
  gap: clamp(3rem, 8vw, 9rem);
}

.contact-copy > p {
  margin: 0 0 2rem;
  color: rgba(245, 240, 223, 0.7);
  font-size: 1.05rem;
}

.email-link {
  display: flex;
  padding: 1rem 0;
  border-top: 1px solid rgba(245, 240, 223, 0.18);
  border-bottom: 1px solid rgba(245, 240, 223, 0.18);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--sun);
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  font-weight: 750;
}

.email-link svg {
  width: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease;
}

.email-link:hover svg,
.email-link:focus-visible svg {
  transform: translate(0.2rem, -0.2rem);
}

.site-footer {
  padding: 3rem var(--page-pad) 1.5rem;
  background: #09221e;
  color: rgba(245, 240, 223, 0.7);
}

.footer-main,
.footer-legal {
  display: flex;
  width: min(100%, 92rem);
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand-footer {
  color: var(--paper-bright);
}

.brand-footer .brand-mark path:first-child {
  stroke: var(--paper-bright);
}

.brand-footer .brand-mark path:last-child {
  stroke: var(--forest-deep);
}

.footer-nav {
  display: flex;
  gap: 2.2rem;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.cookie-settings-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.footer-nav a:hover,
.footer-nav a:focus-visible,
.cookie-settings-link:hover,
.cookie-settings-link:focus-visible,
.back-top:hover,
.back-top:focus-visible {
  color: var(--sun);
}

.back-top {
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.back-top span {
  margin-left: 0.35rem;
  color: var(--coral);
}

.footer-legal {
  margin-top: 2.7rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(245, 240, 223, 0.1);
  align-items: flex-start;
  color: rgba(245, 240, 223, 0.6);
  font-size: 0.68rem;
  letter-spacing: 0.03em;
}

.footer-legal p {
  margin: 0;
}

.cookie-banner {
  position: fixed;
  z-index: 300;
  right: clamp(1rem, 2.5vw, 2.5rem);
  bottom: clamp(1rem, 2.5vw, 2.5rem);
  display: grid;
  width: min(calc(100% - 2rem), 45rem);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border: 1px solid rgba(245, 240, 223, 0.18);
  border-radius: 1.5rem;
  grid-template-columns: auto 1fr;
  gap: 0.3rem 1.2rem;
  background: rgba(13, 45, 39, 0.98);
  box-shadow: 0 24px 70px rgba(9, 34, 30, 0.36);
  color: var(--paper-bright);
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 220ms ease, transform 220ms ease;
  backdrop-filter: blur(14px);
}

.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-mark {
  display: grid;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  grid-row: 1 / span 2;
  place-items: center;
  background: rgba(236, 185, 79, 0.14);
}

.cookie-mark svg {
  width: 1.8rem;
  fill: none;
  stroke: var(--sun);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cookie-mark circle {
  fill: var(--sun);
  stroke: none;
}

.cookie-kicker {
  margin: 0 0 0.2rem;
  color: var(--leaf-light);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cookie-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.cookie-copy > p:last-child {
  margin: 0.6rem 0 0;
  color: rgba(245, 240, 223, 0.72);
  font-size: 0.82rem;
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  margin-top: 1.2rem;
  grid-column: 2;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.cookie-button {
  min-height: 2.8rem;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(245, 240, 223, 0.25);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease, transform 180ms ease;
}

.cookie-button:hover,
.cookie-button:focus-visible {
  transform: translateY(-1px);
}

.cookie-button-secondary {
  background: transparent;
  color: var(--paper-bright);
}

.cookie-button-secondary:hover,
.cookie-button-secondary:focus-visible {
  border-color: var(--paper-bright);
}

.cookie-button-primary {
  border-color: var(--sun);
  background: var(--sun);
  color: var(--forest-deep);
}

.cookie-button-primary:hover,
.cookie-button-primary:focus-visible {
  border-color: var(--coral);
  background: var(--coral);
  color: white;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes guardian-idle {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -7px;
  }
}

@keyframes blight-peek {
  0%,
  100% {
    translate: 12px 6px;
    rotate: 4deg;
  }
  50% {
    translate: 0 0;
    rotate: -2deg;
  }
}

@keyframes thinking {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

@media (max-width: 1050px) {
  .hero {
    min-height: 54rem;
    grid-template-columns: 0.9fr 1.1fr;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 7.2vw, 5.7rem);
  }

  .hero-scene {
    width: 55vw;
    transform: translateX(6%);
  }

  .franchise-inner {
    min-height: 42rem;
    grid-template-columns: 0.9fr 1.1fr;
  }

  .franchise-art {
    min-height: 38rem;
  }

  .studio-grid {
    grid-template-columns: 1fr 0.8fr;
  }

  .studio-stamp {
    grid-column: 2;
  }
}

@media (max-width: 780px) {
  :root {
    --radius-lg: 1.35rem;
  }

  html {
    scroll-padding-top: 5rem;
  }

  .site-header,
  .site-header.is-scrolled {
    padding: 0.75rem var(--page-pad);
    background: rgba(245, 240, 223, 0.94);
    box-shadow: 0 1px 0 rgba(22, 63, 53, 0.1);
    backdrop-filter: blur(14px);
  }

  .menu-toggle {
    position: relative;
    z-index: 102;
    display: inline-flex;
    padding: 0.45rem 0;
    border: 0;
    align-items: center;
    gap: 0.65rem;
    background: transparent;
    color: var(--forest-deep);
    cursor: pointer;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .menu-toggle-lines {
    position: relative;
    display: block;
    width: 1.45rem;
    height: 1rem;
  }

  .menu-toggle-lines i {
    position: absolute;
    left: 0;
    display: block;
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: top 180ms ease, transform 180ms ease;
  }

  .menu-toggle-lines i:first-child {
    top: 0.2rem;
  }

  .menu-toggle-lines i:last-child {
    top: 0.7rem;
  }

  .menu-open .menu-toggle-lines i:first-child {
    top: 0.48rem;
    transform: rotate(45deg);
  }

  .menu-open .menu-toggle-lines i:last-child {
    top: 0.48rem;
    transform: rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    z-index: 101;
    inset: 0;
    display: flex;
    padding: 7rem var(--page-pad) 3rem;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 1rem;
    background: var(--paper);
    font-family: var(--display);
    font-size: clamp(2.4rem, 11vw, 4.5rem);
    font-weight: 400;
    letter-spacing: -0.04em;
    text-transform: none;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.75rem);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .menu-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-contact {
    padding: 0;
    border: 0;
  }

  .nav-contact:hover,
  .nav-contact:focus-visible {
    background: transparent;
    color: var(--coral);
  }

  .hero {
    display: block;
    min-height: 0;
    padding-top: 8rem;
    padding-bottom: 4.75rem;
    background:
      linear-gradient(180deg, rgba(245, 240, 223, 0.96) 0%, rgba(245, 240, 223, 0.9) 48%, rgba(245, 240, 223, 0.18) 82%),
      url("assets/art/garden-field-mobile.webp") center / cover no-repeat;
  }

  .hero-copy {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(3.45rem, 15.2vw, 6rem);
    line-height: 0.88;
  }

  .hero-intro {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .hero-scene {
    width: min(100%, 37rem);
    margin: 2.5rem auto 0;
    transform: none;
  }

  .scene-label {
    top: 11%;
  }

  .scroll-cue {
    display: none;
  }

  .intro-grid,
  .section-heading,
  .franchise-inner,
  .game-card-featured,
  .beyond-bottom,
  .studio-grid,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .intro-grid,
  .section-heading {
    gap: 2rem;
  }

  .intro h2,
  .section-heading h2,
  .studio h2 {
    font-size: clamp(3rem, 13vw, 5rem);
  }

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

  .principle {
    min-height: 0;
  }

  .principle + .principle {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .principle svg {
    margin-block: 1.5rem;
  }

  .franchise-inner {
    padding-top: 5rem;
  }

  .franchise-copy {
    padding-block: 0;
  }

  .franchise h2,
  .beyond h2,
  .contact h2 {
    font-size: clamp(3.2rem, 14vw, 5.4rem);
  }

  .franchise-art {
    min-height: min(90vw, 35rem);
  }

  .arch-word {
    top: 9%;
    font-size: 23vw;
  }

  .game-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .game-card-featured {
    grid-column: auto;
  }

  .game-card-featured .game-info {
    padding: 1.8rem 0 0;
    border: 0;
  }

  .game-media,
  .game-card:not(.game-card-featured) .game-media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .game-card.game-card-portrait .game-media {
    aspect-ratio: 5 / 8;
  }

  .game-info h3 {
    font-size: clamp(2.5rem, 10vw, 3.7rem);
  }

  .art-note {
    border-radius: 1rem;
  }

  .beyond {
    min-height: 0;
  }

  .beyond-bottom {
    align-items: start;
    gap: 2.5rem;
  }

  .future-card {
    min-width: 0;
  }

  .studio-grid {
    gap: 2.5rem;
  }

  .studio-stamp {
    grid-column: auto;
  }

  .contact-inner {
    min-height: 0;
    align-items: start;
  }

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

  .footer-nav {
    flex-wrap: wrap;
  }

  .footer-legal {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }

  .cookie-banner {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    width: auto;
    border-radius: 1.2rem;
  }
}

@media (max-width: 420px) {
  .brand-name {
    font-size: 1rem;
  }

  .brand-mark {
    width: 2.2rem;
    height: 2.2rem;
  }

  .menu-toggle-label {
    display: none;
  }

  .hero {
    padding-top: 7rem;
  }

  .hero h1 {
    font-size: 14.2vw;
  }

  .scene-label {
    display: none;
  }

  .section-rule small {
    display: none;
  }

  .section-rule {
    grid-template-columns: auto 1fr;
  }

  .email-link span {
    overflow-wrap: anywhere;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .cookie-mark {
    display: none;
  }

  .cookie-actions {
    grid-column: 1;
  }

  .cookie-button {
    flex: 1 1 auto;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
