/* BREACH//ZERO keeps the shared site shell, with a quieter technical palette. */
.breach-page {
  --paper: #071118;
  --ink: #f2f8f8;
  --muted: #b5c7cc;
  --line: rgba(174, 210, 218, .2);
  --night: #040b10;
  --cyan: #51e0df;
  --violet: #51e0df;
  --ember: #ffe2a7;
  --breach-raised: #0c1a23;
  color-scheme: dark;
  background: var(--paper);
  color: var(--ink);
}

.breach-page [data-language]:not(.is-visible) { display: none !important; }
.breach-page span[data-language].is-visible { display: inline; }
.breach-page :where(h1, h2, h3) { text-wrap: balance; }
.breach-page p { text-wrap: pretty; }
.breach-page :where(a, button, summary):focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 5px;
}
.breach-page .site-header .brand,
.breach-page .site-header nav a:hover,
.breach-page .site-header nav a[aria-current="page"],
.breach-page .site-header nav .language-switch a[aria-current="true"] { color: var(--ink); }
.breach-page .site-header nav a,
.breach-page .language-switch { color: var(--muted); }
.breach-page .language-switch { border-color: var(--line); }
.breach-page .menu-toggle { border-color: var(--line); }
.breach-page .menu-toggle i { background: var(--ink); }
.breach-page .site-footer { color: var(--ink); border-color: var(--line); }
.breach-page .site-footer p,
.breach-page .site-footer small { color: var(--muted); }
.breach-page .site-footer a:hover { color: var(--cyan); }
.breach-page .eyebrow { color: var(--cyan); }
.breach-page .button,
.breach-page .button-quiet {
  min-height: 50px;
  gap: 10px;
  border-radius: 6px;
  transition: transform .2s ease-out, background .2s ease-out;
}
.breach-page .button { color: #052025; background: var(--cyan); }
.breach-page .button:hover { background: #9bf3ef; }
.breach-page .button-quiet { color: var(--ink); border-color: #718d96; }
.breach-page .button-quiet:hover { background: #142832; }
.breach-page .section-heading {
  max-width: 850px;
  font-family: var(--sans);
  font-size: clamp(34px, 4.6vw, 62px);
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: normal;
}
.breach-page .section-heading em { color: var(--cyan); font-style: normal; }

/* The full, unretouched game screen is the hero's visual centrepiece. */
.breach-hero { position: relative; isolation: isolate; padding: 32px 0 76px; overflow: clip; }
.breach-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 52%;
  background: #0b2029;
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}
.breach-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(290px, .9fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
.breach-hero-copy { min-width: 0; padding-block: 24px; }
.breach-hero-copy .eyebrow { margin-bottom: 24px; }
.breach-title {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(66px, 7.8vw, 110px);
  font-weight: 850;
  line-height: .94;
}
.breach-title span { display: block; color: var(--cyan); }
.breach-tagline { max-width: 520px; margin: 30px 0 0; color: var(--ink); font-size: clamp(23px, 2.6vw, 32px); font-weight: 650; line-height: 1.25; }
.breach-hero .intro { max-width: 520px; margin: 20px 0 28px; font-size: clamp(17px, 1.7vw, 20px); }
.breach-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.breach-actions > a { min-width: 160px; }
.breach-meta { max-width: 480px; margin: 18px 0 0; color: var(--muted); font-size: 13px; }
.breach-hero-visual { width: min(100%, 326px); min-width: 0; margin: 0; justify-self: center; }
.breach-hero-frame { padding: 5px; border: 1px solid #46616a; border-radius: 30px; background: #03080d; box-shadow: 0 24px 48px rgba(0, 0, 0, .28); overflow: hidden; }
.breach-hero-frame img { width: 100%; height: auto; border-radius: 24px; margin-top: -11%; }
.breach-hero-visual figcaption { margin-top: 14px; color: #b7cdd2; font-size: 12px; text-align: center; }

.breach-section { padding: 96px 0; }
.breach-section--raised { background: var(--breach-raised); border-block: 1px solid var(--line); }
.breach-section-head { max-width: 850px; margin-bottom: 44px; }
.breach-section-head > p:not(.eyebrow) { max-width: 660px; margin: 22px 0 0; color: var(--muted); font-size: 18px; }
.breach-loop { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; padding: 0; margin: 0; list-style: none; }
.breach-loop li { min-width: 0; padding-top: 22px; border-top: 1px solid #49616b; }
.breach-step-number { color: var(--cyan); font-size: 13px; font-weight: 750; font-variant-numeric: tabular-nums; }
.breach-loop h3,
.breach-weapons h3 { margin: 22px 0 12px; font-size: clamp(22px, 2.3vw, 28px); font-weight: 700; line-height: 1.15; }
.breach-loop p,
.breach-weapons p { margin: 0; color: var(--muted); font-size: 16px; }

/* Early availability block remains visible without implying a store release. */
.breach-release { padding: 64px 0; border-block: 1px solid #34545c; background: #102c34; }
.breach-release-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(260px, .8fr); align-items: center; gap: 48px; }
.breach-release-grid > div > p:not(.eyebrow) { max-width: 620px; color: #c7dadd; font-size: 17px; }
.breach-release-status { position: relative; padding: 25px 26px 25px 46px; border: 1px solid #5b8990; background: #0b2028; }
.breach-release-status::before { content: ""; position: absolute; top: 33px; left: 22px; width: 8px; height: 8px; background: var(--cyan); transform: rotate(45deg); }
.breach-release-status strong { display: block; font-size: 21px; line-height: 1.25; }
.breach-release-status p { margin: 12px 0 0; color: #b7d0d5; font-size: 14px; }

.breach-weapons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.breach-weapons article { min-width: 0; }
.breach-weapon-diagram { display: block; width: 100%; height: auto; overflow: visible; color: var(--cyan); }
.breach-controls { display: flex; gap: 28px; margin-top: 42px; padding-top: 28px; border-top: 1px solid var(--line); }
.breach-controls > p { flex: 1; min-width: 0; margin: 0; }
.breach-controls strong { display: block; margin-bottom: 7px; color: var(--cyan); font-size: 15px; }
.breach-controls span { display: block; color: var(--muted); font-size: 14px; }

.breach-progress-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.breach-progress-grid > div { min-width: 0; }
.breach-progress-grid > div > p:not(.eyebrow) { max-width: 560px; color: var(--muted); font-size: 17px; }
.breach-progress-grid ul { padding-left: 1.2em; color: var(--muted); }
.breach-progress-grid li + li { margin-top: 12px; }
.breach-tablet { width: 100%; min-width: 0; margin: 0; }
.breach-tablet-frame { overflow: hidden; border: 1px solid #49616b; border-radius: 16px; background: #040b10; }
.breach-tablet img { width: 100%; height: auto; margin-top: -2.8%; }
.breach-tablet figcaption { margin-top: 14px; color: var(--muted); font-size: 13px; }
.breach-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; max-width: 800px; margin: 64px auto 0; align-items: start; }
.breach-screen { min-width: 0; width: 100%; max-width: 320px; margin: 0; justify-self: center; }
.breach-screen-frame { padding: 5px; border: 1px solid #49616b; border-radius: 28px; background: #03080d; overflow: hidden; }
.breach-screen-frame img { width: 100%; height: auto; border-radius: 22px; margin-top: -9%; }
.breach-screen-frame .breach-screen-tall { margin-top: -13%; }
.breach-screen figcaption { margin-top: 22px; color: var(--muted); font-size: 15px; }
.breach-screen figcaption strong { display: block; margin-bottom: 7px; color: var(--ink); font-size: 20px; line-height: 1.25; }
.breach-designs { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); }
.breach-design-names { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; }
.breach-design-names span { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 18px; font-weight: 650; }
.breach-design-names span::before { content: ""; width: 10px; height: 10px; border: 1px solid currentColor; transform: rotate(45deg); }
.breach-design-names span:first-child::before { color: var(--ember); background: var(--ember); }
.breach-design-names span:nth-child(2)::before { color: #e7bec6; background: #e7bec6; }
.breach-design-names span:nth-child(3)::before { color: #99b0ba; background: #20313c; }
.breach-designs > p { max-width: 730px; margin: 18px 0 0; color: var(--muted); }

.breach-game-footer { padding: 80px 0; background: var(--night); border-top: 1px solid var(--line); }
.breach-game-footer .game-footer-grid { margin-top: 24px; }
.breach-game-footer .game-footer-card { min-width: 0; min-height: 124px; border-color: var(--line); background: transparent; transition-duration: .2s; }
.breach-game-footer .game-footer-card:hover { background: #10242d; border-color: #5f9d9f; }
.breach-game-footer .game-footer-card strong { font-family: var(--sans); font-size: 21px; font-weight: 650; line-height: 1.2; letter-spacing: normal; }
.breach-game-footer .game-footer-card > i,
.breach-game-footer .game-footer-card > span { color: var(--cyan); }
.breach-backlink { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 18px; color: var(--cyan); font-size: 13px; font-weight: 650; }
.breach-backlink:hover { text-decoration: underline; text-underline-offset: 4px; }
.breach-subpage .subpage-hero { padding-top: 60px; }
.breach-subpage .display { font-family: var(--sans); font-size: clamp(40px, 6vw, 76px); font-weight: 760; line-height: 1.08; letter-spacing: normal; overflow-wrap: anywhere; }
.breach-subpage .prose h2,
.breach-subpage .faq h2 { font-family: var(--sans); font-size: clamp(26px, 3vw, 36px); font-weight: 700; line-height: 1.15; letter-spacing: normal; }
.breach-subpage .prose a { color: var(--cyan); overflow-wrap: anywhere; }
.breach-subpage .support-card { background: var(--breach-raised); }
.breach-subpage .support-card h2 { font-family: var(--sans); font-size: 25px; font-weight: 650; line-height: 1.2; letter-spacing: normal; }
.breach-subpage .privacy-language button.is-active { color: #052025; background: var(--cyan); }
.breach-notice { padding: 20px 23px; border-left: 3px solid var(--ember); background: #22251f; color: #e1ddd0; font-size: 15px; }
.breach-notice :first-child { margin-top: 0; }
.breach-notice :last-child { margin-bottom: 0; }
.breach-page .breach-notice p { color: inherit; }
.breach-page .prose > .breach-notice { margin-bottom: 32px; }

/* Home card uses actual gameplay, never a reconstructed simulation. */
.app-card--breach-zero { --cyan: #51e0df; background: #dce6e7; }
.app-card--breach-zero .app-card-visual { background: #071118; }
.app-card--breach-zero .app-card-visual::before,
.app-card--breach-zero .app-card-visual::after { display: none; }
.app-card--breach-zero .breach-card-shot { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.app-card--breach-zero .breach-card-shot img { width: 100%; max-width: 100%; height: auto; object-fit: cover; object-position: center; mix-blend-mode: normal; opacity: 1; }
.app-card--breach-zero .app-card-content { min-width: 0; }
.app-card--breach-zero h2 { font-family: var(--sans); font-size: clamp(29px, 3.1vw, 45px); font-weight: 800; line-height: 1.05; letter-spacing: normal; overflow-wrap: anywhere; }
.app-card--breach-zero .status-pill { z-index: 3; border-color: #7fa9ac; background: #0d2630; color: #e6faf9; backdrop-filter: none; }

@media (prefers-reduced-motion: no-preference) {
  .breach-motion-ready .scroll-reveal { opacity: 0; transform: translateY(20px); }
  .breach-motion-ready .scroll-reveal.is-revealed { animation: breach-enter .6s ease-out both; animation-delay: var(--reveal-delay, 0ms); }
  .breach-ambient .breach-release-status::before { animation: breach-status 4s ease-in-out infinite; animation-play-state: paused; }
  .breach-ambient.is-in-view .breach-release-status::before { animation-play-state: running; }
}
@keyframes breach-enter { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes breach-status { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.breach-paused .breach-ambient .breach-release-status::before { animation-play-state: paused; }

@media (max-width: 980px) {
  .breach-page .site-header nav { gap: 16px; font-size: 12px; }
  .breach-hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(240px, .8fr); gap: 30px; }
  .breach-title { font-size: clamp(58px, 8.2vw, 80px); }
  .breach-hero-visual { max-width: 290px; }
  .breach-release-grid { gap: 32px; }
  .breach-progress-grid { gap: 36px; }
  .breach-game-footer .game-footer-card { gap: 10px; padding: 20px 16px; }
}

@media (max-width: 760px) {
  .breach-page .site-header nav { background: var(--breach-raised); }
  .breach-hero { padding: 36px 0 52px; }
  .breach-hero::before { inset: 48% 0 0 0; clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%); }
  .breach-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .breach-hero-copy { padding: 0; }
  .breach-title { font-size: clamp(64px, 15vw, 96px); }
  .breach-tagline { margin-top: 24px; font-size: 25px; }
  .breach-hero-visual { max-width: 286px; }
  .breach-section { padding: 64px 0; }
  .breach-section-head { margin-bottom: 32px; }
  .breach-section-head > p:not(.eyebrow) { font-size: 17px; }
  .breach-loop,
  .breach-weapons { grid-template-columns: 1fr; gap: 30px; }
  .breach-loop h3 { margin-top: 15px; }
  .breach-weapon-diagram { max-width: 420px; }
  .breach-weapons article + article { padding-top: 26px; border-top: 1px solid var(--line); }
  .breach-weapons h3 { margin-top: 16px; }
  .breach-release { padding: 48px 0; }
  .breach-release-grid,
  .breach-progress-grid { grid-template-columns: 1fr; gap: 30px; }
  .breach-release-status { width: 100%; max-width: 480px; }
  .breach-controls { flex-direction: column; gap: 22px; margin-top: 32px; }
  .breach-controls > p { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 16px; }
  .breach-controls strong { margin: 0; }
  .breach-tablet { max-width: 580px; margin-inline: auto; }
  .breach-gallery { gap: 24px; }
  .breach-screen-frame { padding: 3px; border-radius: 18px; }
  .breach-screen-frame img { border-radius: 14px; }
  .breach-screen figcaption { font-size: 14px; }
  .breach-screen figcaption strong { font-size: 18px; }
  .breach-designs { margin-top: 42px; }
  .breach-game-footer { padding: 56px 0; }
  .breach-game-footer .game-footer-grid { grid-template-columns: 1fr; }
  .breach-game-footer .game-footer-card { min-height: 100px; padding: 22px; }
  .app-card--breach-zero h2 { font-size: clamp(29px, 7.5vw, 46px); }
}

@media (max-width: 480px) {
  .breach-actions { display: grid; grid-template-columns: 1fr; }
  .breach-actions > a { width: 100%; }
  .breach-gallery { grid-template-columns: 1fr; gap: 42px; }
  .breach-screen { max-width: 286px; }
  .breach-screen-frame { padding: 5px; border-radius: 28px; }
  .breach-screen-frame img { border-radius: 22px; }
  .breach-design-names { gap: 12px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .breach-page .scroll-reveal { opacity: 1; transform: none; animation: none; }
  .breach-release-status::before { animation: none; opacity: 1; }
  .breach-page .button:hover,
  .breach-page .button-quiet:hover,
  .breach-game-footer .game-footer-card:hover { transform: none; }
}
