:root {
  --ink: #090806;
  --black: #050504;
  --blue: #1f44a6;
  --blue-deep: #10224f;
  --caption: #d8c84f;
  --caption-dim: #a99d45;
  --plastic: #c9bea4;
  --plastic-light: #e4dcc8;
  --wood: #665442;
  --wood-dark: #392d24;
  --paper: #f2ead4;
  --muted: #6f6758;
  --line: rgba(23, 20, 15, 0.26);
  --screen-line: rgba(216, 200, 79, 0.36);
  --red: #b63f30;
  --green: #597c52;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    radial-gradient(circle at 18% 10%, rgba(216, 200, 79, 0.16), transparent 26%),
    linear-gradient(135deg, #b7aa8f 0%, #8e765e 48%, #34291f 100%);
  background-size: 4px 4px, 100% 5px, auto, auto;
  font-family: "Trebuchet MS", "Avenir Next", Verdana, sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  content: "";
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.08) 1px, transparent 1px, transparent 4px),
    linear-gradient(90deg, rgba(31, 68, 166, 0.05), rgba(182, 63, 48, 0.04));
  mix-blend-mode: multiply;
  opacity: 0.58;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 49;
  pointer-events: none;
  content: "";
  box-shadow: inset 0 0 140px rgba(5, 5, 4, 0.34);
}

a {
  color: inherit;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 14px clamp(18px, 4vw, 54px);
  border-bottom: 2px solid rgba(9, 8, 6, 0.55);
  background: rgba(222, 212, 190, 0.94);
  box-shadow: 0 10px 30px rgba(9, 8, 6, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  filter: sepia(0.25) saturate(0.8);
}

.brand-name,
.brand-label,
.nav-links,
.eyebrow,
.button,
.caption-strip,
.caption-label,
.form-header,
.caption-note,
.sequence-grid span,
.module-number,
.spec-list dt,
.footer-grid {
  font-family: "Courier New", monospace;
}

.brand-name {
  display: block;
  color: var(--blue-deep);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand-label {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links a {
  text-decoration: none;
}

.nav-cta {
  padding: 10px 14px;
  border: 2px solid var(--blue-deep);
  background: var(--caption);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 2px solid var(--ink);
  background: var(--plastic-light);
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero,
.section,
.consultation-section {
  position: relative;
}

.hero {
  min-height: 92svh;
  display: grid;
  align-items: center;
  padding: 92px 0 82px;
}

.hero-grid,
.section-intro,
.module-board,
.service-manual,
.sequence-grid,
.consultation-section,
.footer-grid {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 0.78fr);
  gap: 54px;
  align-items: center;
}

.hero-copy {
  padding: 34px;
  border: 2px solid rgba(9, 8, 6, 0.42);
  background: rgba(238, 230, 210, 0.83);
  box-shadow: 14px 14px 0 rgba(9, 8, 6, 0.16);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

h1 {
  max-width: 820px;
  color: var(--ink);
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.93;
  letter-spacing: -0.055em;
}

h2 {
  color: var(--ink);
  font-size: clamp(36px, 5vw, 62px);
  line-height: 0.96;
  letter-spacing: -0.045em;
}

h3 {
  color: var(--blue-deep);
  font-size: 30px;
  line-height: 1.02;
}

.lede,
.section-intro p,
.manual-copy p,
.consultation-copy p {
  color: #2d2a23;
  font-size: 19px;
  line-height: 1.62;
}

.lede {
  max-width: 660px;
  margin: 28px 0 0;
}

.button-row,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 2px solid var(--ink);
  background: var(--caption);
  color: var(--ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 5px 5px 0 rgba(31, 68, 166, 0.72);
}

.button-secondary {
  background: var(--plastic-light);
  box-shadow: 5px 5px 0 rgba(182, 63, 48, 0.58);
}

.training-frame {
  overflow: hidden;
  border: 10px solid #111;
  background: #111;
  color: var(--paper);
  aspect-ratio: 4 / 3;
  box-shadow: 0 30px 70px rgba(9, 8, 6, 0.42);
}

.frame-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px;
  border-bottom: 2px solid #111;
  background: var(--caption);
  color: var(--ink);
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.frame-body {
  height: calc(100% - 86px);
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 10px;
  padding: 10px;
  background: #0a0a09;
}

.presenter-panel,
.monitor-panel {
  position: relative;
  overflow: hidden;
  border: 2px solid #050504;
}

.presenter-panel {
  display: grid;
  align-content: end;
  justify-items: center;
  padding: 28px 18px 22px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(180deg, #846b57 0%, #5d493a 100%);
  background-size: 18px 100%, auto;
}

.portrait-card {
  position: relative;
  width: min(210px, 70%);
  height: 210px;
}

.portrait-head {
  position: absolute;
  top: 16px;
  left: 50%;
  width: 58px;
  height: 68px;
  border-radius: 46% 46% 42% 42%;
  background: #c8a889;
  transform: translateX(-50%);
  box-shadow: 0 -12px 0 #3d3029;
}

.portrait-jacket {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 162px;
  height: 140px;
  border-radius: 40px 40px 0 0;
  background: linear-gradient(90deg, #5e5a4e 0 48%, #393832 48% 52%, #777064 52% 100%);
  transform: translateX(-50%);
}

.desk-unit {
  width: 86%;
  height: 68px;
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 3px solid #807663;
  background: var(--plastic);
}

.desk-unit span {
  display: block;
  border: 2px solid #817866;
  background: #e6decb;
}

.monitor-panel {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.18), transparent 32%),
    linear-gradient(180deg, #d6ceb8, #a99f88);
}

.monitor-screen {
  width: 82%;
  min-height: 64%;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 24px;
  border: 14px solid #d7cfbd;
  outline: 5px solid #7c725e;
  background:
    repeating-linear-gradient(180deg, rgba(255,255,255,0.06) 0, rgba(255,255,255,0.06) 2px, transparent 2px, transparent 7px),
    var(--blue);
  color: white;
  text-align: left;
  box-shadow: inset 0 0 50px rgba(2, 4, 15, 0.42);
}

.monitor-screen strong {
  color: var(--caption);
  font-family: "Courier New", monospace;
  font-size: 22px;
  letter-spacing: 0.12em;
}

.monitor-screen span {
  color: #f4f0d9;
  font-family: "Courier New", monospace;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.caption-strip {
  padding: 10px 14px;
  background: #0a0a09;
  color: var(--caption);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.section {
  padding: 92px 0;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(300px, 0.6fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 34px;
}

.section-intro.narrow {
  display: block;
  max-width: 760px;
  margin-bottom: 34px;
}


.hero-grid {
  position: relative;
  z-index: 1;
}

.hero::before,
.module-section::before,
.process-section::before {
  position: absolute;
  pointer-events: none;
  content: "";
  opacity: 0.58;
}

.hero::before {
  top: 128px;
  right: clamp(18px, 5vw, 92px);
  width: 128px;
  height: 76px;
  border: 2px solid rgba(9, 8, 6, 0.36);
  background:
    linear-gradient(90deg, rgba(182, 63, 48, 0.85) 0 34%, transparent 34% 41%, rgba(216, 200, 79, 0.88) 41% 100%),
    repeating-linear-gradient(180deg, transparent 0 9px, rgba(9, 8, 6, 0.16) 9px 11px);
  transform: rotate(3deg);
}

.module-section::before {
  top: 44px;
  left: max(18px, calc((100vw - var(--max)) / 2 - 38px));
  width: 86px;
  height: 86px;
  border: 2px solid rgba(9, 8, 6, 0.26);
  background:
    radial-gradient(circle at 50% 50%, rgba(31, 68, 166, 0.34) 0 20%, transparent 21%),
    repeating-conic-gradient(from 0deg, rgba(9, 8, 6, 0.18) 0deg 14deg, transparent 14deg 28deg),
    rgba(238, 230, 210, 0.38);
  border-radius: 50%;
}

.process-section::before {
  right: clamp(20px, 7vw, 110px);
  bottom: 70px;
  width: 210px;
  height: 26px;
  background: repeating-linear-gradient(90deg, rgba(9, 8, 6, 0.3) 0 18px, transparent 18px 30px);
  transform: rotate(-2deg);
}

.scenario-reel {
  width: min(var(--max), calc(100% - 48px));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 auto 34px;
}

.scenario-frame {
  --card-tilt: 0deg;
  position: relative;
  overflow: hidden;
  min-height: 260px;
  margin: 0;
  border: 8px solid #0a0a09;
  background: #0a0a09;
  box-shadow: 12px 12px 0 rgba(9, 8, 6, 0.2);
}

.scenario-frame:nth-child(1) {
  --card-tilt: -0.6deg;
}

.scenario-frame:nth-child(2) {
  --card-tilt: 0.45deg;
}

.scenario-frame:nth-child(3) {
  --card-tilt: -0.25deg;
}

.scenario-frame picture {
  display: block;
  aspect-ratio: 4 / 3;
  min-height: 260px;
  overflow: hidden;
}

.scenario-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.16) saturate(0.86) contrast(1.03);
  transition: transform 520ms ease, filter 520ms ease;
}

.scenario-frame figcaption {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 16px;
  left: 18px;
  padding: 7px 10px;
  border: 1px solid rgba(9, 8, 6, 0.28);
  background: rgba(216, 200, 79, 0.88);
  color: var(--ink);
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-align: center;
}

.scenario-frame::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0, rgba(255, 255, 255, 0.1) 1px, transparent 1px, transparent 5px),
    radial-gradient(circle at 20% 12%, rgba(255, 255, 255, 0.18), transparent 26%);
  mix-blend-mode: screen;
  opacity: 0.42;
}

.scenario-frame::after {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 34px;
  height: 9px;
  content: "";
  background: var(--red);
  box-shadow: -44px 0 0 var(--caption);
  opacity: 0.8;
}

.scenario-frame:hover img {
  transform: scale(1.035);
  filter: sepia(0.1) saturate(1.04) contrast(1.08);
}

.module-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 2px solid var(--ink);
  background: #0a0a09;
  box-shadow: 16px 16px 0 rgba(9, 8, 6, 0.22);
}

.module-card {
  min-height: 330px;
  display: grid;
  align-content: space-between;
  gap: 20px;
  padding: 24px;
  border-right: 2px solid #0a0a09;
  background: var(--plastic-light);
}

.module-card:nth-child(even) {
  background: #d3c7ad;
}

.module-card:last-child {
  border-right: 0;
}

.module-number {
  width: 56px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: white;
  font-weight: 900;
}

.module-card p {
  color: #2e2a23;
  line-height: 1.6;
}

.caption-label {
  display: inline-block;
  width: fit-content;
  padding: 6px 8px;
  background: #111;
  color: var(--caption);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.standards-section {
  background: rgba(238, 230, 210, 0.38);
}

.service-manual {
  display: grid;
  grid-template-columns: minmax(320px, 0.62fr) minmax(0, 1fr);
  gap: 54px;
  align-items: center;
}

.manual-image {
  min-height: 420px;
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 42px;
  border: 2px solid var(--ink);
  background: linear-gradient(180deg, #d8cfbb, #b7ad98);
  box-shadow: 14px 14px 0 rgba(31, 68, 166, 0.24);
}

.drive-slot {
  height: 76px;
  border: 4px solid #817865;
  background: #eee6d3;
  box-shadow: inset 0 -12px 0 rgba(9, 8, 6, 0.08);
}

.drive-slot.short {
  width: 78%;
}

.keyboard-row {
  height: 54px;
  background: repeating-linear-gradient(90deg, #827968 0 18px, #eee6d3 18px 38px);
  border: 3px solid #817865;
}

.keyboard-row.small {
  width: 66%;
  height: 38px;
}

.manual-copy {
  padding: 34px;
  border: 2px solid rgba(9, 8, 6, 0.32);
  background: rgba(238, 230, 210, 0.86);
}

.spec-list {
  display: grid;
  gap: 14px;
  margin: 30px 0 0;
}

.spec-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-top: 2px solid rgba(9, 8, 6, 0.18);
}

.spec-list dt {
  color: var(--blue-deep);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.spec-list dd {
  margin: 0;
  color: #2f2b24;
  line-height: 1.5;
}

.sequence-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.sequence-grid article {
  min-height: 220px;
  padding: 22px;
  border: 2px solid rgba(9, 8, 6, 0.44);
  background: rgba(238, 230, 210, 0.82);
}

.sequence-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.sequence-grid strong {
  display: block;
  color: var(--blue-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 400;
}

.sequence-grid p {
  color: #302d26;
  line-height: 1.58;
}

.consultation-section {
  display: grid;
  grid-template-columns: minmax(0, 0.56fr) minmax(540px, 1fr);
  gap: 56px;
  align-items: start;
  padding: 100px 0;
}

.consultation-copy {
  padding: 34px;
  border: 2px solid rgba(9, 8, 6, 0.34);
  background: rgba(238, 230, 210, 0.88);
}

.caption-note {
  margin-top: 24px;
  padding: 10px 12px;
  background: #111;
  color: var(--caption);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.booking-form {
  overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--plastic-light);
  box-shadow: 14px 14px 0 rgba(9, 8, 6, 0.22);
}

.form-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 16px;
  background: var(--blue);
  color: white;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 26px;
}

.field {
  display: grid;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

.field span,
.checkline {
  color: var(--ink);
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 2px solid rgba(9, 8, 6, 0.34);
  border-radius: 0;
  padding: 12px;
  background: #f7efd9;
  color: var(--ink);
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31, 68, 166, 0.18);
}

.checkline {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 26px;
  padding: 18px 0 0;
  border-top: 2px solid rgba(9, 8, 6, 0.18);
  color: #2d2922;
  line-height: 1.45;
  text-transform: none;
}

.checkline input {
  width: auto;
  min-height: auto;
  margin-top: 3px;
}

.honeypot {
  position: absolute;
  left: -10000px;
}

.form-actions {
  padding: 0 26px 26px;
}

.form-message {
  min-height: 20px;
  color: var(--blue-deep);
  font-family: "Courier New", monospace;
  font-weight: 800;
}

.site-footer {
  border-top: 2px solid rgba(9, 8, 6, 0.55);
  padding: 34px 0;
  background: rgba(222, 212, 190, 0.94);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: #3a352c;
  font-size: 12px;
  font-weight: 800;
}

.footer-grid nav {
  display: flex;
  gap: 16px;
}

.simple-page {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 130px 0 70px;
}

.simple-panel {
  width: min(820px, calc(100% - 42px));
  margin: 0 auto;
  padding: 36px;
  border: 2px solid var(--ink);
  background: rgba(238, 230, 210, 0.9);
  box-shadow: 12px 12px 0 rgba(9, 8, 6, 0.18);
}

.simple-panel p,
.simple-panel li {
  color: #2f2b24;
  line-height: 1.7;
}

@media (max-width: 1060px) {
  .hero-grid,
  .service-manual,
  .consultation-section {
    grid-template-columns: 1fr;
  }

  .module-board,
  .sequence-grid,
  .scenario-reel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .training-frame {
    max-width: 640px;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    right: 18px;
    display: none;
    width: min(320px, calc(100vw - 36px));
    padding: 18px;
    border: 2px solid var(--ink);
    background: rgba(238, 230, 210, 0.98);
  }

  .nav-links.is-open {
    display: grid;
  }

  .hero-grid,
  .section-intro,
  .module-board,
  .service-manual,
  .sequence-grid,
  .scenario-reel,
  .consultation-section,
  .footer-grid {
    width: calc(100% - 28px);
  }

  .hero-copy,
  .manual-copy,
  .consultation-copy {
    padding: 24px;
  }

  .section-intro,
  .module-board,
  .sequence-grid,
  .scenario-reel,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .module-card {
    min-height: 250px;
    border-right: 0;
    border-bottom: 2px solid #0a0a09;
  }

  .module-card:last-child {
    border-bottom: 0;
  }

  .frame-body {
    grid-template-columns: 1fr;
  }

  .presenter-panel {
    display: none;
  }

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

  .footer-grid {
    display: grid;
  }
}


/* Brand character system rebuilt from supplied face/moustache/hat assets. */
.brand img.brand-face {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: none;
  transition: transform 180ms ease;
}

.brand:hover .brand-face {
  transform: translateY(-1px) rotate(-2deg);
}

.character-stage {
  align-content: end;
  justify-items: center;
  gap: 12px;
}

.training-face {
  width: min(250px, 78%);
  max-height: 245px;
  object-fit: contain;
  transform: translate3d(calc(var(--face-x, 0) * 1px), calc(var(--face-y, 0) * 1px), 0) rotate(calc(var(--face-x, 0) * .18deg));
  transition: transform 160ms ease, filter 160ms ease, opacity 160ms ease;
  filter: drop-shadow(0 12px 14px rgba(9, 8, 6, 0.22));
}

.character-stage:hover .training-face {
  filter: drop-shadow(0 14px 16px rgba(9, 8, 6, 0.3));
}


.training-frame {
  position: relative;
}

.training-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(180deg, transparent 0 38%, rgba(255,255,255,.36) 39%, rgba(31,68,166,.26) 41%, transparent 43% 100%),
    repeating-linear-gradient(180deg, transparent 0, transparent 8px, rgba(216,200,79,.12) 9px);
  mix-blend-mode: screen;
}

.training-frame.is-vhs-blip::after {
  animation: vhs-blip 280ms steps(3, end);
}

.training-frame.is-vhs-blip .training-face,
.training-frame.is-vhs-blip .monitor-screen {
  animation: vhs-shift 280ms steps(3, end);
}


.button,
.nav-links a,
.module-card,
.sequence-grid article,
.booking-form,
.service-manual {
  transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease, background-color 220ms ease;
}

.button:hover,
.nav-cta:hover {
  transform: translate(-1px, -2px);
  box-shadow: 7px 7px 0 rgba(31, 68, 166, 0.82);
}

.button-secondary:hover {
  box-shadow: 7px 7px 0 rgba(182, 63, 48, 0.66);
}

.nav-links a:hover {
  color: var(--blue);
}

.module-card:hover,
.sequence-grid article:hover {
  transform: translateY(-6px) rotate(var(--card-tilt, 0deg));
  filter: saturate(1.06);
}

.module-card:hover {
  box-shadow: inset 0 0 0 4px rgba(216, 200, 79, 0.34);
}

.service-manual:hover,
.booking-form:hover {
  transform: translateY(-4px);
}

.monitor-screen {
  animation: screen-pulse 7s ease-in-out infinite;
}

.brand-face,
.training-face {
  will-change: transform, filter, opacity;
}

.brand-face.is-logo-fuzz,
.training-face.is-logo-fuzz {
  animation: logo-fuzz 300ms steps(4, end);
}

html.is-crt-static body::before {
  opacity: 0.9;
  animation: crt-static 260ms steps(5, end);
}

html.has-js .reveal-card {
  opacity: 0;
  transform: translateY(20px) rotate(var(--card-tilt, 0deg));
  transition: opacity 560ms ease, transform 560ms cubic-bezier(.2, .72, .18, 1), box-shadow 220ms ease, filter 220ms ease, background-color 220ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

html.has-js .reveal-card.is-visible {
  opacity: 1;
  transform: translateY(0) rotate(var(--card-tilt, 0deg));
}

html.has-js .module-card.reveal-card.is-visible:hover,
html.has-js .sequence-grid article.reveal-card.is-visible:hover,
html.has-js .scenario-frame.reveal-card.is-visible:hover {
  transform: translateY(-6px) rotate(var(--card-tilt, 0deg));
}

@keyframes screen-pulse {
  0%, 100% { box-shadow: inset 0 0 50px rgba(2, 4, 15, 0.42); filter: saturate(1); }
  48% { box-shadow: inset 0 0 62px rgba(2, 4, 15, 0.5), 0 0 18px rgba(31, 68, 166, 0.18); filter: saturate(1.08); }
  52% { filter: saturate(0.92); }
}

@keyframes logo-fuzz {
  0% { filter: drop-shadow(0 12px 14px rgba(9, 8, 6, 0.22)); opacity: 1; }
  22% { filter: drop-shadow(3px 0 0 rgba(182, 63, 48, 0.7)) drop-shadow(-3px 0 0 rgba(31, 68, 166, 0.7)) contrast(1.35); opacity: 0.78; }
  48% { filter: drop-shadow(-4px 1px 0 rgba(216, 200, 79, 0.7)) drop-shadow(3px -1px 0 rgba(31, 68, 166, 0.62)) contrast(1.2); opacity: 0.92; }
  100% { filter: drop-shadow(0 12px 14px rgba(9, 8, 6, 0.22)); opacity: 1; }
}

@keyframes crt-static {
  0% { transform: translate3d(0, 0, 0); background-position: 0 0, 0 0, center, center; }
  20% { transform: translate3d(-1px, 1px, 0); background-position: 14px 8px, 0 2px, center, center; }
  45% { transform: translate3d(2px, -1px, 0); background-position: -8px 18px, 0 -1px, center, center; }
  72% { transform: translate3d(-2px, 0, 0); background-position: 22px -6px, 0 3px, center, center; }
  100% { transform: translate3d(0, 0, 0); background-position: 0 0, 0 0, center, center; }
}

@media (prefers-reduced-motion: reduce) {
  html.has-js .reveal-card,
  html.has-js .reveal-card.is-visible,
  .button,
  .module-card,
  .sequence-grid article,
  .scenario-frame img,
  .monitor-screen,
  .brand-face.is-logo-fuzz,
  .training-face.is-logo-fuzz {
    animation: none;
    transition: none;
    transform: none;
  }
}

@keyframes vhs-blip {
  0% { opacity: 0; transform: translateY(0); }
  18% { opacity: .9; transform: translateY(-6px); }
  38% { opacity: .18; transform: translateY(9px); }
  100% { opacity: 0; transform: translateY(0); }
}

@keyframes vhs-shift {
  0% { transform: translateX(0); }
  20% { transform: translateX(-3px); }
  44% { transform: translateX(4px); }
  100% { transform: translateX(0); }
}

@media (max-width: 720px) {
  .training-face {
    width: min(210px, 72%);
  }
}
