:root {
  --yellow: #ffc91f;
  --red: #e5382a;
  --red-dark: #c22619;
  --cream: #fff3dc;
  --cream-strong: #ffe7b6;
  --black: #1b1410;
  --night: #17110c;
  --terminal-green: #37ff5e;
  --orange: #ff7a1a;
  --kraft: #b88752;
  --white: #fffaf0;
  --shadow: 8px 8px 0 var(--black);
  --shadow-red: 7px 7px 0 var(--red-dark);
  --header-height: 104px;
  --radius: 8px;
  --max-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 22px);
}

body {
  margin: 0;
  color: var(--black);
  background: var(--cream);
  font-family: "Archivo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

button,
input {
  font: inherit;
}

:focus-visible {
  outline: 4px solid var(--orange);
  outline-offset: 4px;
}

::selection {
  color: var(--cream);
  background: var(--red-dark);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  transform: translateY(-160%);
  border: 3px solid var(--black);
  background: var(--yellow);
  color: var(--black);
  padding: 0.7rem 0.9rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 5px 5px 0 var(--black);
}

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

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

.container {
  width: min(var(--max-width), calc(100% - 32px));
  margin-inline: auto;
}

.section-band {
  position: relative;
  overflow: clip;
  padding: clamp(4.6rem, 7vw, 7rem) 0;
}

.section-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(27, 20, 16, 0.13) 1px, transparent 0);
  background-size: 13px 13px;
  opacity: 0.36;
  pointer-events: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  padding: 12px 0;
  transition: padding 180ms ease, filter 180ms ease;
}

.site-header.is-scrolled {
  padding: 7px 0;
  filter: drop-shadow(0 12px 18px rgba(27, 20, 16, 0.18));
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--max-width), calc(100% - 24px));
  min-height: 66px;
  margin-inline: auto;
  border: 3px solid var(--black);
  border-radius: var(--radius);
  background: rgba(255, 243, 220, 0.96);
  padding: 0.45rem 0.55rem 0.45rem 0.8rem;
  box-shadow: 5px 5px 0 rgba(27, 20, 16, 0.95);
  backdrop-filter: blur(8px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand-mark img {
  width: clamp(116px, 15vw, 178px);
  aspect-ratio: 478 / 214;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.35rem, 1.2vw, 0.9rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 2px solid transparent;
  padding: 0.45rem 0.55rem;
  color: var(--black);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a.is-active {
  border-color: var(--black);
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--black);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--black);
  border-radius: var(--radius);
  background: var(--red);
  box-shadow: 4px 4px 0 var(--black);
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: var(--cream);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle span:nth-child(1) {
  transform: translateY(-8px);
}

.nav-toggle span:nth-child(3) {
  transform: translateY(8px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.8rem;
  color: var(--red-dark);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: clamp(0.78rem, 1vw, 0.92rem);
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 1.35rem;
  height: 0.35rem;
  border: 2px solid var(--black);
  background: var(--yellow);
  box-shadow: 2px 2px 0 var(--black);
}

.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 0.8rem;
  border: 3px solid var(--black);
  border-radius: 999px;
  background: var(--yellow);
  color: var(--black);
  padding: 0.45rem 0.95rem;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: clamp(0.76rem, 1vw, 0.9rem);
  font-weight: 900;
  line-height: 1;
  box-shadow: 4px 4px 0 var(--black);
  transform: rotate(-1.3deg);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Alfa Slab One", Georgia, serif;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  color: var(--red);
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  text-shadow:
    3px 3px 0 var(--cream),
    6px 6px 0 var(--black);
  -webkit-text-stroke: 1px var(--black);
}

h2 {
  color: var(--black);
  font-size: clamp(2.1rem, 5vw, 4.45rem);
  text-shadow: 3px 3px 0 var(--yellow);
}

h3 {
  font-size: clamp(1.28rem, 2vw, 1.65rem);
}

p {
  margin: 1rem 0 0;
}

code,
.terminal,
.terminal-line,
.terminal-box,
.terminal-card,
.footer-code,
.compile-terminal {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 3px solid var(--black);
  border-radius: var(--radius);
  padding: 0.85rem 1.15rem;
  color: var(--black);
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 6px 6px 0 var(--black);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button::after {
  content: "→";
  margin-left: 0.55rem;
  font-size: 1.1rem;
}

.button:hover {
  transform: translate(-2px, -2px) rotate(-1deg);
  box-shadow: 9px 9px 0 var(--black);
}

.button-primary {
  background: var(--yellow);
}

.button-secondary {
  background: var(--cream);
}

.hero {
  min-height: auto;
  padding-top: calc(var(--header-height) + clamp(0.55rem, 1.8vw, 1.2rem));
  padding-bottom: clamp(1.2rem, 2.4vw, 1.85rem);
  background:
    linear-gradient(90deg, rgba(229, 56, 42, 0.12) 0 12px, transparent 12px 24px),
    var(--cream);
  background-size: 96px 100%, auto;
}

.hero::after,
.products::after,
.order::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 18px;
  border-top: 3px solid var(--black);
  border-bottom: 3px solid var(--black);
  background:
    linear-gradient(45deg, var(--red) 25%, transparent 25% 50%, var(--red) 50% 75%, transparent 75%),
    var(--cream);
  background-size: 34px 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-logo {
  width: min(100%, 220px);
  margin-bottom: 0.7rem;
  filter: drop-shadow(4px 4px 0 var(--black));
}

.hero-lead {
  max-width: 35rem;
  margin-top: 0.85rem;
  color: var(--night);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  font-weight: 700;
}

.terminal-line {
  display: inline-flex;
  align-items: center;
  gap: 0.45ch;
  min-height: 44px;
  margin-top: 1rem;
  border: 3px solid var(--black);
  border-radius: var(--radius);
  background: var(--night);
  color: var(--cream);
  padding: 0.65rem 0.85rem;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 700;
  box-shadow: 5px 5px 0 var(--red-dark);
}

.terminal-return {
  justify-content: flex-start;
  white-space: nowrap;
}

.terminal-line.terminal-return {
  width: min(100%, 25.5rem);
}

.terminal-line .terminal-cursor,
.footer-code .terminal-cursor,
.cursor {
  display: inline-block;
  width: 0.65ch;
  height: 1.05em;
  margin-left: 0.18rem;
  background: currentColor;
  animation: cursor-blink 900ms steps(2, start) infinite;
}

.terminal-prompt,
.terminal-output,
.terminal-punctuation {
  color: var(--terminal-green);
}

.terminal-keyword,
.terminal-shell {
  color: var(--orange);
}

.terminal-muted {
  color: var(--cream-strong);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.1rem;
}

.hero-visual {
  position: relative;
  isolation: isolate;
  transform: rotate(-1.2deg);
}

.hero-visual > img:first-child {
  width: 100%;
  aspect-ratio: 948 / 632;
  object-fit: cover;
  border: 5px solid var(--black);
  border-radius: var(--radius);
  background: var(--cream);
  box-shadow: var(--shadow);
}

.hero-stamp {
  position: absolute;
  right: clamp(-12px, -1.2vw, -4px);
  bottom: clamp(-22px, -2vw, -10px);
  width: clamp(86px, 13vw, 150px);
  border: 4px solid var(--black);
  border-radius: 50%;
  background: var(--red);
  box-shadow: 5px 5px 0 var(--black);
  transform: rotate(8deg);
}

.split-grid,
.packaging-grid,
.emergency-grid,
.story-grid,
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.formula {
  background: var(--yellow);
  padding-block: clamp(4.8rem, 7vw, 6.8rem);
}

.formula-head {
  max-width: 100%;
  margin-inline: auto;
  text-align: center;
}

.section-kicker {
  display: inline-flex;
  margin-bottom: 0.6rem;
  color: var(--red);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: clamp(0.78rem, 1vw, 0.95rem);
  font-weight: 800;
}

.formula .section-title {
  text-shadow: none;
}

.formula-equation {
  display: flex;
  max-width: 920px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(0.55rem, 1.5vw, 1rem);
  margin: clamp(2.1rem, 5vw, 3.2rem) auto 0;
  font-family: "Alfa Slab One", Georgia, serif;
  font-size: clamp(1.2rem, 2.7vw, 1.7rem);
  line-height: 1;
}

.formula-equation .fx {
  display: inline-flex;
  align-items: center;
  min-height: 64px;
  border: 4px solid var(--black);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--black);
  padding: 0.65rem 0.9rem;
  box-shadow: 6px 6px 0 var(--black);
  transform: rotate(-1deg);
}

.formula-equation .fx:nth-child(5),
.formula-equation .fx:nth-child(9) {
  transform: rotate(1deg);
}

.formula-equation .op {
  color: var(--red-dark);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.formula-line-break {
  flex-basis: 100%;
  height: 0;
}

.formula-equation .op-eq {
  margin-left: clamp(0rem, 10vw, 7rem);
}

.formula-equation .fx-result {
  background: var(--red);
  color: var(--cream);
  text-shadow: 2px 2px 0 var(--black);
  transform: rotate(-2deg);
}

.formula-grid {
  display: grid;
  max-width: 920px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: clamp(1.8rem, 5vw, 4rem);
  margin: clamp(2.4rem, 5vw, 3.5rem) auto 0;
}

.formula-text {
  max-width: 590px;
  margin: 0;
  font-size: clamp(1.02rem, 1.65vw, 1.22rem);
  font-weight: 700;
  line-height: 1.65;
}

.terminal {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--night);
  color: var(--terminal-green);
  box-shadow: 7px 7px 0 var(--black);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border-bottom: 2px solid #000;
  background: #241a14;
  padding: 0.7rem 1rem;
}

.tdot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
}

.tdot:nth-child(2) {
  background: var(--yellow);
}

.tdot:nth-child(3) {
  background: #69f76f;
}

.terminal-title {
  margin-left: 0.45rem;
  color: var(--cream-strong);
  font-size: 0.82rem;
}

.terminal-body {
  padding: 1rem 1.2rem 1.15rem;
}

.terminal-body p {
  margin: 0.55rem 0 0;
  font-weight: 800;
}

.terminal-body p:first-child {
  margin-top: 0;
}

.t-key {
  color: #84ff9a;
}

.t-ok {
  color: var(--terminal-green);
}

.terminal-card p,
.compile-terminal p {
  color: var(--terminal-green);
}

.section-head {
  max-width: 780px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head p:not(.eyebrow) {
  font-size: 1.12rem;
  font-weight: 700;
}

.products {
  background: var(--cream);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
}

.product-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border: 4px solid var(--black);
  border-radius: var(--radius);
  background: var(--white);
  padding: 1rem;
  box-shadow: 7px 7px 0 var(--black);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-6px) rotate(-0.7deg);
  box-shadow: 10px 10px 0 var(--red-dark);
}

.product-card > img,
.mini-media {
  width: 100%;
  height: 172px;
  border: 3px solid var(--black);
  border-radius: var(--radius);
  background: var(--cream);
  object-fit: contain;
  padding: 0.35rem;
}

.product-card > img {
  object-fit: contain;
}

.mini-media {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
  overflow: hidden;
}

.mini-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.drinks-media {
  height: clamp(210px, 23vw, 260px);
  align-items: center;
  background: var(--cream);
  padding: 0.75rem 0.85rem;
  overflow: visible;
}

.drinks-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.coming-media {
  display: block;
  position: relative;
  height: clamp(208px, 20vw, 230px);
  padding: 0;
  overflow: hidden;
}

.compile-terminal.product-terminal {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.compile-terminal.product-terminal p {
  margin: 0.5rem 1rem 0;
  font-size: clamp(0.73rem, 1.05vw, 0.88rem);
  line-height: 1.25;
}

.compile-terminal.product-terminal p:last-of-type {
  padding-right: clamp(3.2rem, 18%, 5.5rem);
}

.compile-terminal.product-terminal .terminal-top {
  align-items: center;
  gap: 0.38rem;
  margin: 0 0 0.75rem;
  border-bottom: 2px solid #000;
  background: #241a14;
  padding: 0.6rem 0.85rem;
}

.compile-terminal.product-terminal .terminal-top span {
  width: 10px;
  height: 10px;
  border: 0;
}

.compile-terminal.product-terminal .terminal-top strong {
  margin-left: 0.35rem;
  color: var(--cream-strong);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 700;
}

.compile-terminal.product-terminal .loader {
  height: 10px;
  margin: 0.75rem 1rem 0.6rem;
  border: 0;
  background: rgba(255, 243, 220, 0.08);
}

.compile-terminal.product-terminal .loader span {
  width: 100%;
  background:
    repeating-linear-gradient(45deg, rgba(255, 243, 220, 0.32) 0 10px, transparent 10px 20px),
    #69f76f;
  animation: loading-pulse 1.4s ease-in-out infinite;
}

.coming-media > .coming-mascot {
  position: absolute;
  right: clamp(0.55rem, 2vw, 0.95rem);
  bottom: clamp(0.35rem, 1vw, 0.65rem);
  z-index: 2;
  width: clamp(58px, 18%, 92px);
  height: auto;
  max-height: 68%;
  object-fit: contain;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.product-card h3 {
  margin-top: 1rem;
}

.product-card p {
  flex: 1;
  font-weight: 700;
}

.product-card code {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin-top: 0.7rem;
  border: 2px solid var(--black);
  border-radius: var(--radius);
  background: var(--night);
  color: var(--terminal-green);
  padding: 0.35rem 0.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: normal;
}

.dark-band {
  color: var(--cream);
  background:
    linear-gradient(0deg, rgba(255, 201, 31, 0.08), rgba(255, 201, 31, 0.08)),
    var(--night);
}

.dark-band h2 {
  color: var(--cream);
  text-shadow: 4px 4px 0 var(--red-dark);
}

.dark-band .eyebrow {
  color: var(--yellow);
}

.dark-band .eyebrow::before {
  background: var(--red);
}

.packaging-copy p code {
  color: var(--terminal-green);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  border: 2px dashed rgba(255, 243, 220, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 243, 220, 0.08);
  padding: 0.75rem;
  font-weight: 800;
}

.feature-list li::before {
  content: "✓";
  display: inline-block;
  margin-right: 0.35rem;
  color: var(--yellow);
}

.packaging-visual {
  position: relative;
}

.packaging-process {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 0;
  border: 5px solid var(--black);
  border-radius: var(--radius);
  background: var(--cream);
  padding: 0.75rem;
  color: var(--black);
  box-shadow: 9px 9px 0 var(--red-dark);
  list-style: none;
}

.process-step {
  position: relative;
  display: grid;
  grid-template-rows: auto 78px auto auto;
  gap: 0.3rem;
  min-height: 178px;
  border: 3px solid var(--black);
  border-radius: var(--radius);
  background: var(--white);
  padding: 0.6rem;
  overflow: hidden;
}

.process-step::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(27, 20, 16, 0.16) 1px, transparent 0);
  background-size: 10px 10px;
  opacity: 0.22;
  pointer-events: none;
}

.process-number {
  position: relative;
  z-index: 1;
  width: fit-content;
  border: 2px solid var(--black);
  border-radius: var(--radius);
  background: var(--yellow);
  padding: 0.15rem 0.45rem;
  font-family: "Alfa Slab One", Georgia, serif;
  font-size: 1rem;
  line-height: 1;
  box-shadow: 3px 3px 0 var(--black);
}

.process-step img {
  position: relative;
  z-index: 1;
  align-self: center;
  justify-self: center;
  width: 100%;
  height: 78px;
  object-fit: contain;
}

.process-step h3 {
  position: relative;
  z-index: 1;
  font-size: clamp(0.98rem, 1.55vw, 1.22rem);
  line-height: 1.02;
}

.process-step code {
  position: relative;
  z-index: 1;
  width: fit-content;
  max-width: 100%;
  border: 2px solid var(--black);
  border-radius: var(--radius);
  background: var(--night);
  color: var(--terminal-green);
  padding: 0.32rem 0.45rem;
  font-size: 0.68rem;
  font-weight: 700;
  white-space: normal;
}

.process-step-dispatch {
  transform: rotate(2deg);
  box-shadow: 5px 5px 0 var(--yellow);
}

.process-step-dispatch img {
  height: 92px;
  transform: rotate(-5deg) translateX(0.15rem);
}

.compile-terminal {
  position: relative;
  overflow: hidden;
  border: 4px solid var(--black);
  border-radius: var(--radius);
  background: var(--night);
  padding: clamp(1rem, 3vw, 1.4rem);
  box-shadow: var(--shadow-red);
}

.compile-terminal::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 243, 220, 0.24) 1px, transparent 0);
  background-size: 12px 12px;
  opacity: 0.2;
  pointer-events: none;
}

.terminal-top {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.terminal-top span {
  width: 13px;
  height: 13px;
  border: 2px solid var(--black);
  border-radius: 50%;
  background: var(--red);
}

.terminal-top span:nth-child(2) {
  background: var(--yellow);
}

.terminal-top span:nth-child(3) {
  background: var(--cream);
}

.compile-terminal p,
.terminal-card p {
  position: relative;
  z-index: 1;
  margin: 0.45rem 0 0;
  font-size: clamp(0.94rem, 1.7vw, 1.12rem);
  font-weight: 700;
}

.loader {
  position: relative;
  z-index: 1;
  overflow: hidden;
  height: 18px;
  margin-top: 1.2rem;
  border: 2px solid var(--yellow);
  border-radius: 999px;
  background: rgba(255, 243, 220, 0.08);
}

.loader span {
  display: block;
  width: 42%;
  height: 100%;
  background: var(--yellow);
  animation: loading-bar 1.7s ease-in-out infinite;
}

.compile-terminal img {
  position: relative;
  z-index: 1;
  width: min(42%, 154px);
  margin: 1rem 0 0 auto;
  border: 3px solid var(--black);
  border-radius: var(--radius);
  background: var(--cream);
  box-shadow: 5px 5px 0 var(--red-dark);
}

.red-band {
  color: var(--cream);
  background:
    linear-gradient(135deg, var(--yellow) 0 12px, var(--black) 12px 24px, transparent 24px 100%) top / 100% 30px no-repeat,
    var(--red);
  padding-top: calc(clamp(4.6rem, 7vw, 7rem) + 1.2rem);
}

.red-band h2 {
  color: var(--cream);
  text-shadow:
    3px 3px 0 var(--black),
    7px 7px 0 var(--red-dark);
}

.red-band .eyebrow {
  color: var(--yellow);
}

.emergency-sub {
  width: fit-content;
  max-width: 100%;
  border: 3px solid var(--black);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--black);
  padding: 0.5rem 0.75rem;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-weight: 800;
  box-shadow: 5px 5px 0 var(--black);
}

.terminal-card {
  width: min(100%, 440px);
  margin-top: 1.25rem;
  overflow: hidden;
  border: 4px solid var(--cream);
  border-radius: var(--radius);
  background: var(--night);
  padding: 0;
  box-shadow: 7px 7px 0 var(--black);
}

.terminal-card-top {
  align-items: center;
  margin: 0;
  border-bottom: 2px solid #000;
  background: #241a14;
  padding: 0.7rem 0.9rem;
}

.terminal-card-top strong {
  margin-left: 0.35rem;
  color: var(--cream-strong);
  font-size: 0.78rem;
}

.terminal-card-body {
  padding: 1rem 1.05rem 1.1rem;
}

.emergency-visual {
  position: relative;
  min-height: 430px;
}

.emergency-visual > img:first-child {
  width: min(100%, 520px);
  margin-left: auto;
  border: 5px solid var(--black);
  border-radius: var(--radius);
  background: var(--red-dark);
  box-shadow: 8px 8px 0 var(--yellow);
  transform: rotate(1.2deg);
}

.defo-sticker {
  position: absolute;
  left: 0;
  bottom: -1rem;
  width: clamp(106px, 18vw, 178px);
  border: 4px solid var(--black);
  border-radius: 50%;
  box-shadow: 6px 6px 0 var(--black);
  transform: rotate(-8deg);
}

.order {
  background: var(--cream-strong);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.9rem, 2vw, 1.25rem);
}

.platform-card {
  display: grid;
  min-height: 210px;
  align-content: space-between;
  border: 4px solid var(--black);
  border-radius: var(--radius);
  background: var(--cream);
  padding: 1rem;
  color: var(--black);
  text-decoration: none;
  box-shadow: 7px 7px 0 var(--black);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.platform-card:hover {
  transform: translateY(-5px) rotate(1deg);
  background: var(--yellow);
  box-shadow: 10px 10px 0 var(--red-dark);
}

.platform-card span {
  width: fit-content;
  border-bottom: 4px solid var(--red);
  font-family: "Alfa Slab One", Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 0.95;
}

.platform-card strong {
  margin-top: 1.3rem;
  font-size: clamp(1.15rem, 1.8vw, 1.42rem);
  line-height: 1.05;
}

.platform-card em {
  width: fit-content;
  margin-top: 1.1rem;
  border: 2px solid var(--black);
  border-radius: var(--radius);
  background: var(--night);
  color: var(--cream);
  padding: 0.45rem 0.55rem;
  font-style: normal;
  font-weight: 900;
}

.story {
  background: var(--cream);
}

.story-grid {
  grid-template-columns: minmax(0, 1fr) minmax(190px, 320px);
}

.story-grid p:not(.eyebrow) {
  max-width: 690px;
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  font-weight: 700;
}

.story-callout {
  display: inline-block;
  border: 4px solid var(--black);
  border-radius: var(--radius);
  background: var(--yellow);
  padding: 0.8rem 1rem;
  box-shadow: 6px 6px 0 var(--black);
}

.story-grid img {
  justify-self: center;
  width: min(100%, 260px);
  border: 4px solid var(--black);
  border-radius: var(--radius);
  background: var(--cream-strong);
  box-shadow: 7px 7px 0 var(--red-dark);
  transform: rotate(2deg);
}

.site-footer {
  color: var(--cream);
  background: var(--night);
  padding: clamp(3.2rem, 6vw, 5.2rem) 0;
}

.footer-stack {
  display: grid;
  width: min(100% - 40px, 520px);
  justify-items: center;
  gap: 1.05rem;
  text-align: center;
}

.site-footer h2 {
  color: var(--cream);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  font-weight: 900;
  line-height: 1.2;
  text-shadow: none;
}

.footer-logo {
  width: clamp(92px, 17vw, 122px);
  filter: drop-shadow(3px 3px 0 var(--black));
}

.footer-tagline {
  margin: 0;
  color: var(--yellow);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: clamp(0.88rem, 1.45vw, 1rem);
  font-weight: 800;
}

.footer-code {
  display: inline-flex;
  width: min(100%, 33rem);
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.45ch;
  margin: 0.55rem 0 0;
  border: 2px solid #241a14;
  border-radius: var(--radius);
  background: #0f0b08;
  padding: 0.8rem 1rem;
  color: var(--cream);
  font-size: clamp(0.86rem, 1.55vw, 1rem);
  font-weight: 700;
}

.footer-code.terminal-return {
  flex-wrap: nowrap;
  overflow: hidden;
}

.footer-meta {
  margin: 0.75rem 0 0;
  color: rgba(255, 243, 220, 0.62);
  font-size: 0.88rem;
}

.social-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-list a {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 4px solid var(--black);
  border-radius: 50%;
  background: var(--cream);
  color: var(--black);
  font-weight: 900;
  text-decoration: none;
  box-shadow: 5px 5px 0 var(--red);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.social-list svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.social-list a:hover {
  transform: rotate(-8deg) scale(1.06);
  box-shadow: 7px 7px 0 var(--yellow);
}

.floating-contact {
  position: fixed;
  right: clamp(14px, 2.4vw, 28px);
  bottom: clamp(14px, 2.4vw, 28px);
  z-index: 85;
  display: grid;
  justify-items: end;
  gap: 0.7rem;
  pointer-events: none;
}

.contact-bubble {
  position: relative;
  max-width: min(270px, calc(100vw - 112px));
  border: 3px solid var(--black);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--black);
  padding: 0.65rem 0.82rem;
  font-weight: 900;
  line-height: 1.2;
  box-shadow: 5px 5px 0 var(--red);
  transform: rotate(-1.2deg);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: auto;
}

.contact-bubble::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: -10px;
  width: 16px;
  height: 16px;
  border-right: 3px solid var(--black);
  border-bottom: 3px solid var(--black);
  background: var(--cream);
  transform: rotate(45deg);
}

.contact-button {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 4px solid var(--black);
  border-radius: 50%;
  background: var(--cream);
  color: var(--black);
  box-shadow: 5px 5px 0 var(--red);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  pointer-events: auto;
}

.contact-button:hover,
.contact-button[aria-expanded="true"] {
  background: var(--yellow);
  transform: rotate(-7deg) scale(1.05);
  box-shadow: 7px 7px 0 var(--red-dark);
}

.contact-button svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
}

.contact-terminal {
  position: absolute;
  right: 0;
  bottom: 88px;
  width: min(430px, calc(100vw - 32px));
  max-height: min(640px, calc(100vh - 130px));
  overflow: hidden;
  border: 4px solid var(--black);
  border-radius: var(--radius);
  background: var(--night);
  color: var(--terminal-green);
  box-shadow: 8px 8px 0 var(--red-dark);
  pointer-events: auto;
}

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

.contact-terminal-top {
  align-items: center;
  margin: 0;
  border-bottom: 2px solid #000;
  background: #241a14;
  padding: 0.65rem 0.75rem;
}

.contact-terminal-top strong {
  margin-left: 0.35rem;
  color: var(--cream-strong);
  font-size: 0.78rem;
}

.contact-close {
  display: grid;
  width: 30px;
  height: 30px;
  margin-left: auto;
  place-items: center;
  border: 2px solid var(--black);
  border-radius: 50%;
  background: var(--cream);
  color: var(--black);
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.contact-terminal-body {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  max-height: calc(min(640px, 100vh - 130px) - 48px);
}

.contact-log {
  min-height: 210px;
  max-height: 420px;
  overflow-y: auto;
  padding: 1rem 1rem 0.5rem;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 243, 220, 0.18) 1px, transparent 0);
  background-size: 12px 12px;
}

.contact-line,
.contact-preview {
  margin: 0.42rem 0 0;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.45;
}

.contact-line:first-child {
  margin-top: 0;
}

.contact-line.is-system {
  color: var(--terminal-green);
}

.contact-line.is-user {
  color: var(--cream);
}

.contact-line.is-muted {
  color: var(--cream-strong);
}

.contact-preview {
  border: 2px solid rgba(255, 243, 220, 0.18);
  border-radius: var(--radius);
  background: #0f0b08;
  color: var(--cream);
  padding: 0.72rem;
  white-space: pre-wrap;
}

.contact-form {
  border-top: 2px solid #000;
  background: #120d09;
  padding: 0.75rem;
}

.contact-input-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.5rem;
  border: 2px solid rgba(255, 243, 220, 0.14);
  border-radius: var(--radius);
  background: #0f0b08;
  padding: 0.55rem 0.65rem;
}

.contact-prompt {
  color: var(--orange);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.86rem;
  font-weight: 800;
}

.contact-input-row input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--cream);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.88rem;
  font-weight: 700;
  outline: 0;
  caret-color: var(--terminal-green);
}

.contact-input-row input::placeholder {
  color: rgba(255, 243, 220, 0.45);
}

.contact-help {
  margin: 0.55rem 0 0;
  color: var(--cream-strong);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
}

.contact-challenge-line {
  margin: 0.45rem 0 0;
  color: var(--cream-strong);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 800;
}

.contact-challenge-line strong {
  color: var(--terminal-green);
}

.contact-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.65rem;
}

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

.contact-quick-actions button {
  border: 2px solid var(--black);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--black);
  padding: 0.45rem 0.6rem;
  font-size: 0.8rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--red-dark);
}

.contact-progress {
  display: block;
  width: 100%;
  height: 10px;
  margin-top: 0.6rem;
  border-radius: 999px;
  background:
    repeating-linear-gradient(45deg, rgba(255, 243, 220, 0.32) 0 10px, transparent 10px 20px),
    var(--terminal-green);
  animation: loading-pulse 1.2s ease-in-out infinite;
}

body.contact-open .contact-bubble {
  opacity: 0;
  transform: translateY(8px) rotate(-1.2deg);
  pointer-events: none;
}

.feedback-page {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(229, 56, 42, 0.1) 0 12px, transparent 12px 24px),
    var(--cream);
  background-size: 96px 100%, auto;
}

.feedback-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--max-width), calc(100% - 24px));
  margin: 12px auto 0;
  border: 3px solid var(--black);
  border-radius: var(--radius);
  background: rgba(255, 243, 220, 0.96);
  padding: 0.45rem 0.55rem 0.45rem 0.8rem;
  box-shadow: 5px 5px 0 var(--black);
  backdrop-filter: blur(8px);
}

.feedback-brand {
  display: inline-flex;
  align-items: center;
}

.feedback-brand img {
  width: clamp(118px, 16vw, 178px);
}

.feedback-home-link,
.feedback-footer-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--black);
  border-radius: var(--radius);
  background: var(--yellow);
  color: var(--black);
  padding: 0.55rem 0.78rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--black);
}

.feedback-main {
  width: min(var(--max-width), calc(100% - 28px));
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem);
}

.feedback-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 260px);
  align-items: center;
  gap: clamp(1.4rem, 4vw, 3rem);
  padding: clamp(1.8rem, 5vw, 4rem) 0;
}

.feedback-hero h1 {
  max-width: 13ch;
}

.feedback-hero p {
  max-width: 620px;
  font-size: clamp(1.02rem, 1.8vw, 1.26rem);
  font-weight: 800;
}

.feedback-hero img {
  justify-self: center;
  width: min(100%, 220px);
  border: 4px solid var(--black);
  border-radius: var(--radius);
  background: var(--cream-strong);
  box-shadow: 7px 7px 0 var(--red-dark);
  transform: rotate(2deg);
}

.feedback-card,
.feedback-terminal {
  border: 5px solid var(--black);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 9px 9px 0 var(--red-dark);
}

.feedback-card {
  padding: clamp(1rem, 3vw, 1.5rem);
}

.feedback-card-head {
  display: grid;
  gap: 0.35rem;
  margin-bottom: clamp(1.2rem, 3vw, 1.8rem);
}

.feedback-card h2 {
  text-shadow: 3px 3px 0 var(--yellow);
}

.feedback-form {
  display: grid;
  gap: 1rem;
}

.bot-field {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.turnstile-slot {
  display: flex;
  justify-content: flex-start;
  margin-top: 0.7rem;
}

.turnstile-slot[hidden] {
  display: none;
}

.feedback-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.feedback-field,
.feedback-fieldset,
.rating-field {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  border: 3px solid var(--black);
  border-radius: var(--radius);
  background: var(--cream);
  padding: 0.85rem;
  box-shadow: 4px 4px 0 var(--black);
}

.feedback-field span,
.feedback-fieldset legend,
.rating-field legend {
  padding: 0;
  color: var(--black);
  font-weight: 900;
}

.feedback-field input,
.feedback-field select,
.feedback-field textarea {
  width: 100%;
  border: 3px solid var(--black);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--black);
  padding: 0.72rem 0.78rem;
  font-weight: 800;
  outline: 0;
}

.feedback-field textarea {
  resize: vertical;
}

.feedback-field input:focus,
.feedback-field select:focus,
.feedback-field textarea:focus {
  box-shadow: 0 0 0 4px var(--yellow);
}

.feedback-checks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.feedback-checks label {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 0.45rem;
  border: 2px solid var(--black);
  border-radius: var(--radius);
  background: var(--white);
  padding: 0.48rem 0.56rem;
  font-weight: 800;
}

.feedback-ratings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.rating-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(42px, 1fr));
  gap: 0.45rem;
}

.rating-options input {
  position: absolute;
  opacity: 0;
}

.rating-options span {
  display: grid;
  min-height: 46px;
  place-items: center;
  border: 3px solid var(--black);
  border-radius: var(--radius);
  background: var(--white);
  font-family: "Alfa Slab One", Georgia, serif;
  box-shadow: 3px 3px 0 var(--black);
  cursor: pointer;
}

.rating-options input:checked + span {
  background: var(--yellow);
  color: var(--black);
  transform: rotate(-2deg);
}

.file-field small {
  color: rgba(27, 20, 16, 0.78);
  font-weight: 800;
}

.challenge-field {
  grid-template-columns: minmax(0, 1fr);
  background: var(--night);
  color: var(--cream);
}

.challenge-field span {
  color: var(--cream);
}

.challenge-field strong {
  width: fit-content;
  color: var(--terminal-green);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 1.05rem;
}

.challenge-field input {
  background: #0f0b08;
  color: var(--cream);
  caret-color: var(--terminal-green);
}

.feedback-submit {
  width: fit-content;
}

.feedback-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.feedback-terminal {
  overflow: hidden;
  margin-top: clamp(1.5rem, 4vw, 2rem);
  background: var(--night);
  color: var(--terminal-green);
}

.feedback-terminal .terminal-top {
  align-items: center;
  margin: 0;
  border-bottom: 2px solid #000;
  background: #241a14;
  padding: 0.7rem 0.9rem;
}

.feedback-terminal .terminal-top strong {
  margin-left: 0.35rem;
  color: var(--cream-strong);
  font-size: 0.78rem;
}

.feedback-terminal-body {
  max-height: min(430px, 58vh);
  overflow-y: auto;
  padding: 1rem;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 243, 220, 0.18) 1px, transparent 0);
  background-size: 12px 12px;
}

.feedback-footer {
  padding-top: 3rem;
}

@keyframes cursor-blink {
  0%,
  45% {
    opacity: 1;
  }

  46%,
  100% {
    opacity: 0;
  }
}

@keyframes loading-bar {
  0% {
    transform: translateX(-105%);
  }

  50% {
    transform: translateX(70%);
  }

  100% {
    transform: translateX(245%);
  }
}

@keyframes loading-pulse {
  0%,
  100% {
    opacity: 0.78;
    background-position: 0 0;
  }

  50% {
    opacity: 1;
    background-position: 28px 0;
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 86px;
  }

  .nav-toggle {
    display: inline-flex;
    position: relative;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 3px solid var(--black);
    border-radius: var(--radius);
    background: var(--cream);
    padding: 0.75rem;
    box-shadow: 6px 6px 0 var(--black);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

  .nav-links a {
    justify-content: center;
    width: 100%;
    border-color: var(--black);
    background: var(--white);
  }

  .hero-grid,
  .split-grid,
  .packaging-grid,
  .emergency-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    max-width: 720px;
  }

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

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

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

  .emergency-visual {
    min-height: auto;
  }

  .footer-grid {
    justify-items: start;
  }

  .social-list {
    justify-content: center;
  }

  .feedback-hero {
    grid-template-columns: 1fr;
  }

  .feedback-hero img {
    width: min(70%, 210px);
  }

  .feedback-grid,
  .feedback-ratings {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  :root {
    --shadow: 6px 6px 0 var(--black);
    --shadow-red: 6px 6px 0 var(--red-dark);
  }

  .container {
    width: min(100% - 24px, var(--max-width));
  }

  .section-band {
    padding: 3.8rem 0;
  }

  .hero {
    padding-top: calc(var(--header-height) + 1.7rem);
  }

  .nav-shell {
    width: calc(100% - 18px);
    min-height: 58px;
    padding-left: 0.55rem;
  }

  .brand-mark img {
    width: 124px;
  }

  .nav-links {
    grid-template-columns: 1fr;
  }

  .hero-logo {
    width: 204px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .button {
    min-height: 50px;
  }

  .hero-stamp {
    width: 84px;
  }

  .formula {
    padding-block: 4rem;
  }

  .formula-equation {
    justify-content: center;
    gap: 0.55rem;
  }

  .formula-equation .fx {
    min-height: 54px;
    padding: 0.55rem 0.72rem;
    box-shadow: 4px 4px 0 var(--black);
  }

  .formula-equation .op-eq {
    margin-left: 0;
  }

  .formula-text {
    font-size: 1rem;
  }

  .product-grid,
  .platform-grid {
    grid-template-columns: 1fr;
  }

  .packaging-process {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 0.75rem;
    box-shadow: 6px 6px 0 var(--red-dark);
  }

  .process-step {
    grid-template-columns: 74px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    min-height: 150px;
    align-items: center;
  }

  .process-number {
    grid-column: 1;
    grid-row: 1;
  }

  .process-step img {
    grid-column: 1;
    grid-row: 2 / 4;
    height: 88px;
  }

  .process-step h3,
  .process-step code {
    grid-column: 2;
  }

  .process-step h3 {
    font-size: 1.12rem;
  }

  .process-step code {
    font-size: 0.72rem;
  }

  .process-step-dispatch {
    transform: rotate(1deg);
  }

  .process-step-dispatch img {
    height: 104px;
  }

  .product-card {
    box-shadow: 5px 5px 0 var(--black);
  }

  .product-card > img,
  .mini-media {
    height: 150px;
  }

  .drinks-media {
    height: 220px;
    padding: 0.7rem 0.55rem;
  }

  .coming-media {
    height: 220px;
  }

  .compile-terminal.product-terminal p {
    margin-inline: 0.85rem;
  }

  .compile-terminal.product-terminal .loader {
    margin-inline: 0.85rem;
  }

  .coming-media > .coming-mascot {
    width: clamp(54px, 20%, 78px);
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .compile-terminal img {
    width: min(56%, 145px);
  }

  .footer-stack {
    width: min(100% - 24px, 520px);
  }

  .social-list a {
    width: 54px;
    height: 54px;
  }

  .floating-contact {
    right: 12px;
    left: 12px;
    bottom: 12px;
  }

  .contact-bubble {
    max-width: calc(100% - 82px);
    font-size: 0.9rem;
  }

  .contact-button {
    width: 58px;
    height: 58px;
  }

  .contact-terminal {
    right: 0;
    bottom: 78px;
    width: 100%;
    max-height: 70vh;
    box-shadow: 6px 6px 0 var(--red-dark);
  }

  .contact-terminal-body {
    max-height: calc(70vh - 48px);
  }

  .contact-log {
    min-height: 174px;
    max-height: calc(70vh - 178px);
  }

  .contact-line,
  .contact-preview,
  .contact-input-row input {
    font-size: 0.82rem;
  }

  .feedback-header {
    width: calc(100% - 18px);
    margin-top: 9px;
    padding-left: 0.55rem;
  }

  .feedback-brand img {
    width: 124px;
  }

  .feedback-home-link {
    min-height: 38px;
    padding-inline: 0.62rem;
    font-size: 0.86rem;
  }

  .feedback-main {
    width: min(100% - 22px, var(--max-width));
    padding-top: 1.35rem;
  }

  .feedback-hero {
    padding-block: 1.6rem;
  }

  .feedback-hero h1 {
    font-size: clamp(2.3rem, 14vw, 3.3rem);
  }

  .feedback-card {
    padding: 0.8rem;
    box-shadow: 6px 6px 0 var(--red-dark);
  }

  .feedback-card h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .feedback-checks {
    grid-template-columns: 1fr;
  }

  .rating-options {
    grid-template-columns: repeat(5, minmax(34px, 1fr));
  }

  .rating-options span {
    min-height: 42px;
  }

  .feedback-submit {
    width: 100%;
  }

  .red-band {
    padding-top: 4.6rem;
  }

  .emergency-visual {
    padding-bottom: 4rem;
  }

  .defo-sticker {
    width: 118px;
  }

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

  .story-grid img {
    width: min(78%, 230px);
  }
}

@media (max-width: 360px) {
  .brand-mark img {
    width: 108px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  h1 {
    font-size: 2.45rem;
  }

  .terminal-line,
  .terminal-card,
  .compile-terminal {
    font-size: 0.92rem;
  }

  .platform-card {
    min-height: 185px;
  }
}

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

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