:root {
  --paper: #f4f1ea;
  --paper-light: #fbfaf6;
  --ink: #0f0f11;
  --muted: #6c6a65;
  --line: #bcb7ac;
  --teal: #168f7d;
  --teal-ink: #0e7667;
  --teal-bright: #68d8c3;
  --teal-soft: #d5ebe5;
  --blue: #397fd8;
  --blue-ink: #2e67ae;
  --coral: #df6247;
  --coral-ink: #b94834;
  --orange: #f26b2f;
  --graphite: #19201e;
  --shell: 1480px;
  --gutter: clamp(18px, 4vw, 64px);
  --display: "Newsreader", Georgia, serif;
  --editorial: "Lora", Georgia, serif;
  --ui: "Inter", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body.klav-editorial-template {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 2%, rgba(255, 255, 255, 0.7), transparent 24rem),
    var(--paper);
  font-family: var(--editorial);
  text-rendering: optimizeLegibility;
}

body.klav-editorial-template.is-locked {
  overflow: hidden;
}

.klav-editorial-home {
  min-height: 100vh;
  overflow: clip;
  color: var(--ink);
  background: var(--paper);
}

.klav-editorial-home img {
  display: block;
  max-width: 100%;
}

.klav-editorial-home a,
.klav-preview-bar a {
  color: inherit;
  text-decoration: none;
}

.klav-editorial-home button,
.klav-editorial-home input {
  font: inherit;
}

.klav-editorial-home button {
  color: inherit;
}

::selection {
  color: var(--paper-light);
  background: var(--teal);
}

.shell {
  width: min(calc(100% - (var(--gutter) * 2)), var(--shell));
  margin-inline: auto;
}

.section-space {
  padding-block: clamp(72px, 9vw, 140px);
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  color: #fff;
  background: var(--ink);
  font-family: var(--ui);
  font-size: 0.82rem;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.klav-preview-bar {
  position: relative;
  z-index: 110;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 9px var(--gutter);
  color: #fff;
  background: var(--ink);
  font-family: var(--ui);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-align: center;
}

.klav-preview-bar a {
  color: #8ed7cb;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.klav-site-header {
  position: relative;
  z-index: 20;
}

body.klav-editorial-template.is-menu-open .klav-site-header {
  z-index: 100120;
}

.masthead {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 48px;
  min-height: 188px;
  padding-block: 26px 20px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  width: max-content;
}

.brand__name {
  display: block;
  margin-left: -0.045em;
  font-family: var(--display);
  font-size: clamp(6.2rem, 10.4vw, 10rem);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.04em;
}

.brand__dot {
  color: var(--teal);
}

.brand__claim {
  display: block;
  padding-top: 13px;
  font-size: clamp(1rem, 1.5vw, 1.45rem);
  line-height: 1;
}

.nav-wrap {
  position: relative;
}

.klav-site-nav {
  display: flex;
  align-items: center;
  min-height: 64px;
  border-top: 3px solid var(--teal);
  border-bottom: 1px solid #9da3a4;
}

.nav-list {
  display: flex;
  align-items: stretch;
  gap: clamp(25px, 3.8vw, 64px);
  min-height: 64px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 64px;
  font-family: var(--ui);
  font-size: 0.98rem;
  font-weight: 500;
  white-space: nowrap;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 4px;
  background: var(--teal);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link--active::after {
  transform: scaleX(1);
}

.nav-link--active {
  color: var(--blue-ink);
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.icon-button:focus-visible,
.newsletter-form input:focus-visible,
.newsletter-form button:focus-visible,
.search-field input:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--teal) 65%, white);
  outline-offset: 3px;
}

.klav-search-button {
  margin-left: auto;
}

.klav-search-button svg,
.search-field svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.7;
}

.klav-menu-button {
  display: none;
  align-content: center;
  gap: 6px;
}

.klav-menu-button span {
  width: 26px;
  height: 2px;
  background: currentColor;
}

.klav-mobile-menu {
  position: fixed;
  z-index: 100100;
  inset: 0;
  padding: 24px var(--gutter) 36px;
  color: var(--paper-light);
  background: var(--graphite);
  overflow-y: auto;
}

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  font-family: var(--ui);
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.klav-mobile-close,
.klav-search-close {
  font-family: var(--ui);
  font-size: 2rem;
  font-weight: 300;
}

.klav-mobile-menu nav {
  display: grid;
  padding-block: 34px;
}

.klav-mobile-menu nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding-block: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--display);
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 600;
  line-height: 1;
}

.klav-mobile-menu nav span {
  color: var(--teal);
  font-family: var(--ui);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.klav-mobile-menu > p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-style: italic;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 2.05fr) minmax(320px, 1fr);
  gap: clamp(24px, 3vw, 44px);
  padding-top: clamp(32px, 4vw, 56px);
}

.hero-story__copy {
  padding-top: 22px;
}

.hero-mobile-category {
  display: none;
}

.media-link,
.story-card__image,
.portrait-card__image,
.retro-lead__image,
.games-lead__image,
.memory-image,
.tech-card__image,
.latest-item__image,
.release-list__image {
  display: block;
  overflow: hidden;
  background: #d7d4cb;
}

.media-link {
  aspect-ratio: 2.12 / 1;
}

.media-link img,
.story-card__image img,
.portrait-card__image img,
.retro-lead__image img,
.games-lead__image img,
.memory-image img,
.tech-card__image img,
.latest-item__image img,
.release-list__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 300ms ease;
}

.post-image-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: rgba(255, 255, 255, 0.88);
  background:
    linear-gradient(135deg, rgba(92, 142, 212, 0.35), transparent 55%),
    linear-gradient(315deg, rgba(224, 122, 95, 0.45), transparent 58%),
    var(--graphite);
  font-family: var(--display);
  font-size: clamp(2.4rem, 7vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

article:hover .media-link img,
article:hover .story-card__image img,
article:hover .portrait-card__image img,
article:hover .retro-lead__image img,
article:hover .games-lead__image img,
article:hover .tech-card__image img,
.memory-image:hover img,
.latest-item:hover .latest-item__image img {
  filter: saturate(1.05);
  transform: scale(1.018);
}

.hero h1 {
  max-width: 1080px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.4rem, 6vw, 6.25rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.hero h1 a,
.story-card h3 a,
.portrait-card h3 a,
.retro-lead h3 a,
.games-lead h3 a,
.tech-card h3 a,
.latest-item h3 a {
  background-image: none;
  text-decoration: none !important;
  transition: color 180ms ease;
}

.hero h1 a:hover,
.hero h1 a:focus-visible,
.story-card h3 a:hover,
.story-card h3 a:focus-visible,
.portrait-card h3 a:hover,
.portrait-card h3 a:focus-visible,
.retro-lead h3 a:hover,
.retro-lead h3 a:focus-visible,
.games-lead h3 a:hover,
.games-lead h3 a:focus-visible,
.tech-card h3 a:hover,
.tech-card h3 a:focus-visible,
.latest-item h3 a:hover,
.latest-item h3 a:focus-visible {
  color: var(--teal-ink);
}

.games .games-lead h3 a:hover,
.games .games-lead h3 a:focus-visible,
.games .release-list h4 a:hover,
.games .release-list h4 a:focus-visible {
  color: var(--teal-bright);
}

.hero-story__copy > p {
  max-width: 1020px;
  margin: 16px 0 18px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
  line-height: 1.45;
}

.story-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: #676b6c;
  font-family: var(--ui);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.095em;
  text-transform: uppercase;
}

.eyebrow {
  font-family: var(--ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.095em;
  text-transform: uppercase;
}

.eyebrow--teal { color: var(--teal-ink); }
.eyebrow--blue { color: var(--blue-ink); }
.eyebrow--coral { color: var(--coral-ink); }
.eyebrow--orange { color: var(--orange); }

.latest {
  position: relative;
  padding-left: clamp(20px, 2vw, 30px);
  border-left: 5px solid var(--blue);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 20px;
  border-bottom: 2px solid #959a99;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 5.2vw, 5rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.section-heading > p,
.section-heading > div + p {
  max-width: 380px;
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.45;
  text-align: right;
}

.section-heading--compact {
  padding: 6px 0 13px;
}

.section-heading--compact h2 {
  font-size: clamp(2.8rem, 4vw, 4rem);
}

.latest-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 20px;
  padding-block: 22px;
  border-bottom: 1px solid var(--blue);
}

.latest-item:nth-of-type(3) {
  border-color: var(--coral);
}

.latest-item:nth-of-type(4) {
  border-color: var(--teal);
}

.latest-item__image {
  aspect-ratio: 1 / 1;
}

.latest-item h3 {
  margin: 8px 0 22px;
  font-family: var(--display);
  font-size: clamp(1.32rem, 1.65vw, 1.8rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.012em;
}

.latest-item time {
  color: #6c7071;
  font-family: var(--ui);
  font-size: 0.66rem;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

.text-link,
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--ui);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link span,
.arrow-link span {
  font-size: 1.15rem;
  transition: transform 180ms ease;
}

.text-link:hover span,
.text-link:focus-visible span,
.arrow-link:hover span,
.arrow-link:focus-visible span {
  transform: translateX(4px);
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr 0.72fr;
  gap: clamp(22px, 2.5vw, 38px);
  padding-top: 28px;
}

.story-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.story-card__image {
  aspect-ratio: 4 / 3;
}

.story-card--large .story-card__image {
  aspect-ratio: 16 / 9;
}

.story-card__body {
  padding-top: 18px;
}

.story-card h3,
.portrait-card h3,
.tech-card h3 {
  margin: 9px 0 10px;
  font-family: var(--display);
  font-size: clamp(2rem, 2.85vw, 3.15rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.018em;
}

.story-card--large h3 {
  font-size: clamp(2.6rem, 4vw, 4.4rem);
}

.story-card p,
.portrait-card p,
.tech-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.story-card .story-meta {
  margin-top: 18px;
}

.story-card--text {
  justify-content: space-between;
  min-height: 100%;
  padding: 24px;
  border-top: 6px solid var(--coral);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.32);
}

.story-card--text .story-card__body {
  padding-top: 56px;
}

.story-card--text h3 {
  font-size: clamp(2.15rem, 3vw, 3.4rem);
}

.story-card--text .arrow-link {
  margin-top: 26px;
}

.story-card__number {
  color: var(--coral);
  font-family: var(--ui);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.featured .section-heading {
  border-bottom-color: var(--blue);
}

.games {
  color: #f4f1ea;
  background: var(--graphite);
}

.games h2,
.games h3,
.games h4,
.games a {
  color: var(--paper-light);
}

.games .eyebrow {
  color: var(--teal-bright);
}

.section-heading--dark {
  border-color: rgba(104, 216, 195, 0.62);
}

.section-heading--dark h2 {
  position: relative;
  padding-left: 22px;
}

.section-heading--dark h2::before {
  position: absolute;
  top: 0.08em;
  bottom: 0.08em;
  left: 0;
  width: 6px;
  background: var(--blue);
  content: "";
}

.section-heading--dark > p {
  color: rgba(255, 255, 255, 0.66);
}

.games-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(340px, 0.9fr);
  gap: clamp(34px, 5vw, 76px);
  padding-top: 36px;
}

.games-lead__image {
  aspect-ratio: 16 / 8.3;
}

.games-lead__copy {
  max-width: 940px;
  padding-top: 24px;
}

.games-lead h3 {
  margin: 8px 0 12px;
  font-family: var(--display);
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
}

.games-lead p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.02rem;
  line-height: 1.55;
}

.release-list {
  border-top: 5px solid var(--teal-bright);
}

.release-list > h3 {
  margin: 0;
  padding-block: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  font-family: var(--display);
  font-size: 2.25rem;
  font-weight: 700;
}

.release-list article {
  display: grid;
  grid-template-columns: 52px 72px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding-block: 21px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.release-list__image {
  width: 72px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.release-list__image .post-image-fallback {
  font-size: 1.2rem;
}

.release-list time {
  color: rgba(255, 255, 255, 0.52);
  font-family: var(--ui);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.release-list h4 {
  margin: 7px 0 0;
  font-family: var(--editorial);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.35;
}

.release-list h4 a:hover,
.release-list h4 a:focus-visible {
  text-decoration: none;
}

.release-list > .arrow-link {
  margin-top: 28px;
}

.arrow-link--light {
  color: #fff;
}

.hardware .section-heading {
  border-bottom-color: var(--teal);
}

.hardware-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 44px);
  padding-top: 30px;
}

.portrait-card__image {
  aspect-ratio: 4 / 3.2;
  margin-bottom: 19px;
}

.portrait-card h3 {
  font-size: clamp(2.1rem, 3.25vw, 3.65rem);
}

.retro {
  padding-top: 0;
}

.retro .section-heading {
  border-bottom-color: var(--coral);
}

.retro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.58fr) minmax(340px, 0.82fr);
  gap: clamp(34px, 5vw, 76px);
  padding-top: 32px;
}

.retro-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: end;
  gap: 28px;
}

.retro-lead__image {
  aspect-ratio: 4 / 3;
}

.retro-lead h3 {
  margin: 9px 0 14px;
  font-family: var(--display);
  font-size: clamp(2.5rem, 4vw, 4.6rem);
  font-weight: 700;
  line-height: 1.01;
  letter-spacing: -0.022em;
}

.retro-lead p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.retro-lead .arrow-link {
  margin-top: 24px;
}

.guide-list {
  border-top: 5px solid var(--coral);
}

.guide-list h3 {
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: 2.3rem;
  font-weight: 700;
}

.guide-list > a {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 12px;
  padding-block: 19px;
  border-bottom: 1px solid var(--line);
}

.guide-list > a:hover strong,
.guide-list > a:focus-visible strong {
  color: #b84632;
}

.guide-list__index,
.guide-list small {
  color: var(--muted);
  font-family: var(--ui);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.guide-list strong,
.guide-list small {
  display: block;
}

.guide-list strong {
  margin-bottom: 6px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
  transition: color 160ms ease;
}

.memory {
  color: #fff;
  background: #222321;
  box-shadow: inset 7px 0 0 var(--coral);
}

.memory-grid {
  display: grid;
  grid-template-columns: minmax(330px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(46px, 7vw, 110px);
}

.memory-kicker,
.section-kicker {
  display: block;
  margin-bottom: 15px;
  color: var(--coral);
  font-family: var(--ui);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.memory-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.3rem, 5.4vw, 6.2rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.memory-copy p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.6;
}

.memory-copy .memory-deck {
  margin: 22px 0 16px;
  color: #fff;
  font-size: 1.18rem;
  line-height: 1.45;
}

.memory-copy .arrow-link {
  margin-top: 20px;
}

.memory-image {
  aspect-ratio: 16 / 10;
}

.tech .section-heading {
  border-bottom-color: var(--orange);
}

.section-kicker {
  color: var(--orange);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 60px);
  padding-top: 30px;
}

.tech-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  align-items: center;
  gap: 24px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.tech-card--reverse .tech-card__image {
  order: 2;
}

.tech-card__image {
  aspect-ratio: 4 / 3;
}

.tech-card--reverse .tech-card__image img {
  object-position: 78% center;
}

.tech-card h3 {
  font-size: clamp(2rem, 2.65vw, 3.25rem);
}

.newsletter {
  padding-block: clamp(64px, 7vw, 100px);
  border-top: 3px solid var(--teal);
  background: var(--teal-soft);
}

.newsletter-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  align-items: end;
  gap: clamp(50px, 9vw, 150px);
}

.newsletter h2 {
  margin: 7px 0 12px;
  font-family: var(--display);
  font-size: clamp(3.5rem, 5vw, 5.6rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.022em;
}

.newsletter p {
  max-width: 650px;
  margin: 0;
  color: #4d5e59;
  line-height: 1.55;
}

.newsletter-action {
  display: grid;
  align-content: end;
  gap: 12px;
  border-bottom: 2px solid var(--ink);
}

.newsletter-action > span {
  font-family: var(--ui);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.newsletter-action > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 2px;
  font-size: 1.08rem;
  font-weight: 600;
}

.newsletter-action > a span {
  font-family: var(--ui);
  transition: transform 160ms ease;
}

.newsletter-action > a:hover span,
.newsletter-action > a:focus-visible span {
  transform: translateX(5px);
}

.newsletter-form label {
  display: block;
  margin-bottom: 11px;
  font-family: var(--ui);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.newsletter-form__row {
  display: flex;
  border-bottom: 2px solid var(--ink);
}

.newsletter-form input {
  min-width: 0;
  flex: 1;
  padding: 15px 2px;
  border: 0;
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  font-family: var(--editorial);
  font-size: 1.1rem;
}

.newsletter-form input::placeholder {
  color: #74817d;
}

.newsletter-form button {
  padding: 12px 18px;
  border: 0;
  color: #fff;
  background: var(--ink);
  font-family: var(--ui);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 160ms ease;
}

.newsletter-form button:hover {
  background: var(--teal);
}

.form-status {
  min-height: 1.4em;
  margin-top: 10px !important;
  font-family: var(--ui);
  font-size: 0.78rem;
}

.klav-site-footer {
  padding-top: 70px;
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.62fr 0.75fr 1fr;
  gap: clamp(30px, 5vw, 80px);
  padding-bottom: 60px;
}

.footer-brand > a {
  color: #fff;
  font-family: var(--display);
  font-size: clamp(4.2rem, 6vw, 6.2rem);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.04em;
}

.footer-brand p {
  margin: 18px 0 0;
  font-style: italic;
}

.klav-site-footer nav {
  display: grid;
  align-content: start;
  gap: 12px;
}

.klav-site-footer nav h2 {
  margin: 0 0 7px;
  color: var(--teal);
  font-family: var(--ui);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.klav-site-footer nav a {
  width: max-content;
  font-size: 0.9rem;
}

.klav-site-footer nav a:hover,
.klav-site-footer nav a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--teal);
  text-underline-offset: 5px;
}

.footer-note {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.footer-note p {
  margin: 0;
  line-height: 1.55;
}

.back-top {
  color: #fff;
  font-family: var(--ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--ui);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-bottom p {
  margin: 0;
}

.klav-search-panel {
  position: fixed;
  z-index: 100110;
  inset: 0;
  display: grid;
  place-items: start center;
  padding: clamp(18px, 6vw, 90px) var(--gutter);
  background: rgba(15, 15, 17, 0.88);
  backdrop-filter: blur(12px);
  overflow-y: auto;
}

.klav-search-panel[hidden] {
  display: none;
}

.search-panel__inner {
  width: min(100%, 920px);
  padding: clamp(24px, 5vw, 64px);
  background: var(--paper);
}

.search-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--teal);
}

.search-panel__head p {
  margin: 0;
  font-family: var(--ui);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.search-field {
  position: relative;
  display: block;
  margin-top: 34px;
}

.search-field input {
  width: 100%;
  padding: 12px 50px 15px 0;
  border: 0;
  border-bottom: 2px solid var(--ink);
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1;
}

.search-field svg {
  position: static;
}

.search-submit {
  position: absolute;
  right: 0;
  bottom: 8px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  place-items: center;
  background: transparent;
  cursor: pointer;
}

.search-hint {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.search-results {
  display: grid;
  gap: 0;
  margin-top: 30px;
}

.search-result {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 15px;
  padding-block: 16px;
  border-top: 1px solid var(--line);
}

.search-result span {
  color: var(--teal);
  font-family: var(--ui);
  font-size: 0.68rem;
}

.search-result a {
  font-family: var(--editorial);
  font-size: 1.05rem;
  font-weight: 500;
}

.search-empty {
  padding-block: 25px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 1180px) {
  .nav-list {
    gap: 25px;
  }

  .nav-link {
    font-size: 0.88rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1.75fr) minmax(300px, 0.9fr);
  }

  .latest-item {
    grid-template-columns: 92px 1fr;
    gap: 15px;
  }

  .latest-item h3 {
    margin-bottom: 14px;
  }

  .featured-grid {
    grid-template-columns: 1.25fr 0.9fr;
  }

  .story-card--text {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 30px;
    min-height: 0;
  }

  .story-card--text .story-card__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(230px, 0.5fr);
    column-gap: 40px;
    padding-top: 0;
  }

  .story-card--text .eyebrow,
  .story-card--text h3 {
    grid-column: 1;
  }

  .story-card--text p,
  .story-card--text .arrow-link {
    grid-column: 2;
  }

  .story-card--text p {
    grid-row: 1 / span 2;
  }

  .tech-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .tech-card--reverse .tech-card__image {
    order: 0;
  }
}

@media (max-width: 960px) {
  .masthead {
    min-height: 145px;
  }

  .brand__name {
    font-size: clamp(6rem, 17vw, 9rem);
  }

  .nav-list {
    display: none;
  }

  .klav-site-nav {
    justify-content: space-between;
  }

  .klav-menu-button {
    display: grid;
  }

  .klav-search-button {
    margin-left: 0;
  }

  .games-grid,
  .retro-grid {
    grid-template-columns: 1fr;
  }

  .release-list,
  .guide-list {
    margin-top: 10px;
  }

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

  .hardware-grid article:last-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 28px;
    align-items: end;
  }

  .hardware-grid article:last-child .portrait-card__image {
    grid-row: 1 / span 4;
    margin-bottom: 0;
  }

  .newsletter-grid {
    grid-template-columns: 1fr 0.85fr;
    gap: 50px;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.7fr 0.8fr;
  }

  .footer-note {
    grid-column: 1 / -1;
    flex-direction: row;
  }
}

@media (max-width: 800px) {
  .section-space {
    padding-block: 78px;
  }

  .masthead {
    min-height: 130px;
    padding-block: 22px 17px;
  }

  .brand__name {
    font-size: clamp(5.3rem, 20vw, 7.4rem);
  }

  .brand__claim {
    padding-top: 10px;
    font-size: 0.96rem;
  }

  .klav-site-nav {
    min-height: 56px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .media-link {
    aspect-ratio: 4 / 3;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 12.3vw, 5.3rem);
  }

  .latest {
    padding-left: 17px;
  }

  .latest-item {
    grid-template-columns: 106px 1fr;
  }

  .section-heading {
    align-items: flex-start;
  }

  .section-heading > p,
  .section-heading > div + p {
    max-width: 270px;
  }

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

  .story-card--text {
    grid-column: auto;
    display: flex;
    min-height: 410px;
  }

  .story-card--text .story-card__body {
    display: block;
    padding-top: 50px;
  }

  .games-grid {
    gap: 60px;
  }

  .games-lead__image {
    aspect-ratio: 4 / 3;
  }

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

  .hardware-grid article:last-child {
    grid-column: auto;
    display: block;
  }

  .hardware-grid article:last-child .portrait-card__image {
    margin-bottom: 19px;
  }

  .retro-lead {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .memory-grid,
  .newsletter-grid {
    grid-template-columns: 1fr;
  }

  .memory-image {
    grid-row: 1;
  }

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

  .tech-card {
    grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.9fr);
  }

  .tech-card--reverse .tech-card__image {
    order: 2;
  }

  .newsletter-grid {
    gap: 40px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  :root {
    --gutter: 18px;
  }

  .klav-preview-bar {
    display: grid;
    gap: 4px;
  }

  .section-space {
    padding-block: 66px;
  }

  .masthead {
    min-height: 118px;
    padding-right: 100px;
    border-bottom: 2px solid var(--teal);
  }

  .brand__name {
    font-size: clamp(3.8rem, 18vw, 4.8rem);
  }

  .brand__claim {
    font-size: 0.86rem;
  }

  .nav-wrap {
    position: absolute;
    top: 22px;
    right: var(--gutter);
    left: auto !important;
    display: block !important;
    width: auto !important;
  }

  .klav-site-nav {
    width: auto;
    height: 44px;
    min-height: 44px;
    margin: 0;
    gap: 4px;
    border: 0;
  }

  .hero {
    padding-top: 23px;
  }

  .media-link {
    aspect-ratio: 1.18 / 1;
  }

  .hero-story__copy {
    padding-top: 18px;
  }

  .hero-mobile-category {
    display: block;
    width: max-content;
    margin-bottom: 12px;
  }

  .hero .story-meta .eyebrow {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 14vw, 4.2rem);
    line-height: 0.93;
  }

  .hero-story__copy > p {
    font-size: 1rem;
  }

  .story-meta {
    gap: 8px;
  }

  .latest {
    padding-left: 14px;
  }

  .section-heading--compact h2 {
    font-size: 3rem;
  }

  .latest-item {
    grid-template-columns: 88px 1fr;
    gap: 14px;
    padding-block: 17px;
  }

  .latest-item h3 {
    margin: 5px 0 10px;
    font-size: 1.28rem;
  }

  .section-heading {
    display: block;
    padding-bottom: 15px;
  }

  .section-heading h2 {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .section-heading > p,
  .section-heading > div + p {
    max-width: none;
    margin-top: 12px;
    text-align: left;
  }

  .text-link {
    margin-top: 15px;
  }

  .featured-grid {
    padding-top: 22px;
  }

  .story-card h3,
  .portrait-card h3,
  .tech-card h3 {
    font-size: 2.35rem;
  }

  .story-card--large h3 {
    font-size: 3rem;
  }

  .story-card--text {
    min-height: 380px;
    padding: 20px;
  }

  .games-lead h3 {
    font-size: 3.25rem;
  }

  .release-list > h3,
  .guide-list h3 {
    font-size: 2rem;
  }

  .release-list article {
    grid-template-columns: 42px 60px minmax(0, 1fr);
    gap: 12px;
  }

  .release-list__image {
    width: 60px;
  }

  .portrait-card__image,
  .retro-lead__image {
    aspect-ratio: 4 / 3;
  }

  .retro-lead h3 {
    font-size: 3.1rem;
  }

  .memory {
    box-shadow: inset 4px 0 0 var(--coral);
  }

  .memory-copy h2 {
    font-size: 3.6rem;
  }

  .tech-card,
  .tech-card--reverse {
    grid-template-columns: 1fr;
  }

  .tech-card--reverse .tech-card__image {
    order: 0;
  }

  .newsletter h2 {
    font-size: 3.5rem;
  }

  .newsletter-form__row {
    display: grid;
  }

  .newsletter-form button {
    min-height: 50px;
  }

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

  .footer-note {
    grid-column: 1 / -1;
    flex-direction: column;
  }

  .footer-bottom {
    display: grid;
  }

  .klav-search-panel {
    place-items: start stretch;
    padding: 0;
  }

  .search-panel__inner {
    min-height: 100%;
    padding: 22px 18px 40px;
  }

  .search-field input {
    font-size: 2.35rem;
  }
}

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

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

}
