:root {
  --ink: #11110f;
  --paper: #eee7d5;
  --paper-soft: rgba(246, 241, 226, .86);
  --edge: rgba(255,255,255,.86);
  --shadow: rgba(17,13,8,.35);
  --accent: #9b4628;
  --blue: #294c63;
  --gold: #b08b43;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  background: #ada184;
}
a { color: inherit; }
img, video { max-width: 100%; height: auto; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Gateway */
.gateway-page { min-height: 100svh; overflow-x: hidden; }
.gateway {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: clamp(22px, 4vw, 58px);
  isolation: isolate;
  background:
    linear-gradient(rgba(210,197,164,.43), rgba(210,197,164,.43)),
    url("assets/images/orotone_koi.jpg") center/cover no-repeat;
}
.gateway::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 51% 42%, rgba(255,255,255,.23), transparent 34%),
    linear-gradient(90deg, rgba(123,75,37,.10), transparent 29%, transparent 71%, rgba(44,71,71,.11));
}
.hero {
  width: min(96vw, 1040px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.kicker {
  margin: 0 0 clamp(4px, 1vh, 12px);
  font: 700 clamp(.74rem, 1.7vw, .98rem)/1.2 Arial, sans-serif;
  letter-spacing: .30em;
  text-transform: uppercase;
}
.szping-logo {
  width: min(84vw, 760px);
  margin: -4% 0 0;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  display: block;
  pointer-events: none;
  filter:
    drop-shadow(0 0 1px rgba(255,250,230,.92))
    drop-shadow(0 3px 7px rgba(255,242,204,.38));
}
.szping-logo-static { display: none; }
.tagline {
  margin: clamp(10px, 2vh, 22px) 0 clamp(28px, 5vh, 50px);
  font-size: clamp(.9rem, 2.2vw, 1.36rem);
  font-weight: 700;
  letter-spacing: .035em;
  text-wrap: balance;
}
.tagline span { padding: 0 .28em; }
.gateway-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(230px, 330px));
  justify-content: center;
  gap: clamp(16px, 3vw, 30px);
}
.gateway-button {
  min-height: 118px;
  padding: 18px 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
  color: #111;
  border: 2px solid var(--edge);
  border-radius: 18px;
  background: rgba(255,255,255,.055);
  box-shadow: 0 9px 26px rgba(18,14,8,.13);
  backdrop-filter: blur(1.5px);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.gateway-button:hover,
.gateway-button:focus-visible {
  transform: translateY(-3px);
  background: rgba(255,255,255,.18);
  box-shadow: 0 13px 32px rgba(18,14,8,.21);
  outline: none;
}
.word-play-button { border-color: rgba(255,255,255,.92); }
.pay-play-button { border-color: rgba(255,255,255,.76); }
.button-title {
  font: 800 clamp(1.05rem, 2.4vw, 1.45rem)/1.1 Arial, sans-serif;
  letter-spacing: .12em;
}
.button-subtitle {
  margin-top: 9px;
  font-size: clamp(.8rem, 1.7vw, .98rem);
  font-style: italic;
}
.button-domain {
  margin-top: 7px;
  font: 700 .7rem/1.1 Arial, sans-serif;
  letter-spacing: .09em;
  text-transform: uppercase;
  opacity: .72;
}

/* Interior pages */
.interior-page {
  min-height: 100vh;
  background:
    linear-gradient(rgba(239,232,213,.91), rgba(239,232,213,.95)),
    url("assets/images/orotone_koi.jpg") center/cover fixed no-repeat;
}
.site-header {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
  padding: 18px 0 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-logo { width: min(225px, 43vw); display: block; }
.home-link, .text-link {
  font: 700 .88rem/1 Arial, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.page-shell {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
  padding: clamp(24px, 4vw, 58px) 0 78px;
}
.eyebrow {
  margin: 0 0 12px;
  font: 800 .76rem/1.2 Arial, sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
}
h1, h2 { text-wrap: balance; }
h1 {
  margin: 0;
  font-size: clamp(2.3rem, 7vw, 5.7rem);
  line-height: .96;
  font-weight: 500;
}
.lede {
  max-width: 820px;
  margin: 25px 0 0;
  font-size: clamp(1.08rem, 2.3vw, 1.42rem);
  line-height: 1.55;
}
.download-card {
  margin: clamp(34px, 6vw, 66px) 0 34px;
  padding: clamp(24px, 4vw, 40px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  border: 1px solid rgba(44,35,20,.24);
  border-radius: 22px;
  background: rgba(255,255,255,.40);
  box-shadow: 0 18px 45px rgba(35,27,14,.10);
}
.download-card h2 { margin: 0; font-size: clamp(1.55rem, 3vw, 2.45rem); }
.version-line { margin: 10px 0 0; font-weight: 700; }
.small-note { margin: 8px 0 0; opacity: .76; line-height: 1.5; }
.apk-button, .page-button {
  display: inline-flex;
  min-width: 176px;
  min-height: 112px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 14px 24px;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  font-family: Arial, sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.05;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.apk-button span { font-size: .78rem; font-weight: 800; letter-spacing: .18em; }
.apk-button strong { margin: 5px 0 6px; font-size: 1.16rem; letter-spacing: .08em; }
.apk-button small { font-family: Georgia, "Times New Roman", serif; font-size: .86rem; font-style: italic; text-transform: none; letter-spacing: .02em; }
.apk-button:hover, .page-button:hover,
.apk-button:focus-visible, .page-button:focus-visible {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
  outline: none;
}
.content-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 28px;
}
.content-panel {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(44,35,20,.19);
  border-radius: 20px;
  background: rgba(255,255,255,.28);
}
.content-panel h2 { margin-top: 0; font-size: clamp(1.45rem, 2.8vw, 2.2rem); }
.content-panel p, .content-panel li { font-size: 1.04rem; line-height: 1.65; }
.steps { padding-left: 1.25em; }
.credit-block { margin-top: 38px; padding-top: 30px; border-top: 1px solid rgba(44,35,20,.18); }
.essay-list { margin-top: 44px; display: grid; gap: 22px; }
.essay-card {
  padding: 30px;
  border: 1px solid rgba(44,35,20,.20);
  border-radius: 20px;
  background: rgba(255,255,255,.30);
}
.essay-card h2 { margin: 0 0 10px; }
.essay-card p { line-height: 1.6; }
.placeholder-note {
  padding: 18px 20px;
  border-left: 4px solid var(--gold);
  background: rgba(255,255,255,.34);
  line-height: 1.55;
}
.site-footer {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
  padding: 28px 0 38px;
  border-top: 1px solid rgba(44,35,20,.18);
  text-align: center;
  font-size: .9rem;
}
.site-footer p { margin: 5px 0; }

@media (max-width: 720px) {
  .gateway-actions, .content-grid, .download-card { grid-template-columns: 1fr; }
  .gateway-actions { width: min(100%, 420px); }
  .gateway-button { min-height: 98px; }
  .download-card { align-items: start; }
  .apk-button { width: 100%; min-height: 100px; }
  .tagline span { padding: 0 .12em; }
  .szping-logo { width: min(92vw, 700px); margin-top: -2%;
  margin-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  .szping-logo-animated { display: none; }
  .szping-logo-static { display: block; }
}


/* Prototype 1.2 — OROTONE photographic treatment */
:root {
  --seal-red: #e32612;
  --seal-red-deep: #c81d11;
  --orotone-white: #fffdf6;
  --orotone-black: #100d08;
}

body {
  background: #17130d;
}

.gateway {
  background-image:
    linear-gradient(rgba(232, 216, 170, .16), rgba(22, 16, 8, .32)),
    image-set(
      url("assets/images/orotone_koi.webp") type("image/webp"),
      url("assets/images/orotone_koi.jpg") type("image/jpeg")
    );
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
.gateway::before {
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 213, 109, .09), transparent 34%),
    linear-gradient(90deg, rgba(0,0,0,.20), transparent 28%, transparent 72%, rgba(0,0,0,.24));
}
.kicker,
.tagline {
  color: var(--orotone-white);
  text-shadow: 0 2px 9px rgba(0,0,0,.92), 0 0 2px rgba(0,0,0,.95);
}
.szping-logo {
  filter:
    drop-shadow(0 0 1px rgba(255,250,230,.95))
    drop-shadow(0 3px 8px rgba(255,241,200,.42));
}
.gateway-button {
  color: var(--orotone-white);
  border-color: rgba(255, 253, 246, .88);
  background: rgba(8, 6, 3, .18);
  box-shadow: 0 9px 28px rgba(0,0,0,.34);
  backdrop-filter: blur(1.4px);
  text-shadow: 0 1px 5px rgba(0,0,0,.88);
}
.gateway-button .button-title {
  color: var(--seal-red);
  text-shadow: 0 1px 3px rgba(0,0,0,.95), 0 0 10px rgba(0,0,0,.65);
}
.gateway-button .button-domain {
  color: var(--orotone-white);
  opacity: .94;
}
.gateway-button:hover,
.gateway-button:focus-visible {
  background: rgba(0,0,0,.36);
  border-color: #fff;
}

/* Carry the same photograph through the index pages and supporting pages. */
.interior-page {
  color: var(--orotone-white);
  background-image:
    linear-gradient(rgba(12, 9, 5, .66), rgba(12, 9, 5, .78)),
    image-set(
      url("assets/images/orotone_koi.webp") type("image/webp"),
      url("assets/images/orotone_koi.jpg") type("image/jpeg")
    );
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}
.home-link,
.text-link,
.site-footer,
.interior-page a {
  color: var(--orotone-white);
}
.eyebrow {
  color: var(--seal-red);
  text-shadow: 0 1px 4px rgba(0,0,0,.95);
}
.download-card,
.content-panel,
.essay-card,
.placeholder-note {
  color: var(--orotone-white);
  background: rgba(8, 6, 3, .44);
  border-color: rgba(255,255,255,.34);
  box-shadow: 0 18px 45px rgba(0,0,0,.24);
  backdrop-filter: blur(2px);
}
.credit-block,
.site-footer {
  border-color: rgba(255,255,255,.25);
}
.apk-button,
.page-button {
  color: var(--orotone-white);
  border-color: var(--seal-red);
  background: rgba(0,0,0,.14);
}
.apk-button strong,
.page-button strong {
  color: var(--seal-red);
}
.apk-button:hover,
.page-button:hover,
.apk-button:focus-visible,
.page-button:focus-visible {
  background: var(--seal-red-deep);
  color: white;
}
.apk-button:hover strong,
.page-button:hover strong,
.apk-button:focus-visible strong,
.page-button:focus-visible strong {
  color: white;
}
.small-note { opacity: .88; }

@media (max-width: 720px) {
  .gateway {
    background-position: 52% center;
  }
  .interior-page {
    background-attachment: scroll;
    background-position: 52% center;
  }
}


/* Prototype 1.3 — two-branch site logic */
.branch-links {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.branch-link {
  min-height: 120px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 18px;
  background: rgba(8,6,3,.34);
  box-shadow: 0 12px 34px rgba(0,0,0,.18);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.branch-link:hover,
.branch-link:focus-visible {
  transform: translateY(-2px);
  background: rgba(0,0,0,.50);
  border-color: rgba(255,255,255,.72);
  outline: none;
}
.branch-link strong {
  margin: 4px 0 7px;
  color: var(--seal-red);
  font: 800 1.18rem/1.1 Arial, sans-serif;
  letter-spacing: .11em;
}
.branch-link span:last-child {
  font-size: .94rem;
  line-height: 1.35;
}
.branch-kicker {
  font: 800 .66rem/1 Arial, sans-serif;
  letter-spacing: .18em;
  opacity: .82;
}
.status-badge {
  display: inline-flex;
  min-width: 176px;
  min-height: 112px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 14px 24px;
  border: 2px solid var(--seal-red);
  border-radius: 18px;
  background: rgba(0,0,0,.14);
  font-family: Arial, sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.05;
}
.status-badge span { font-size: .78rem; font-weight: 800; letter-spacing: .18em; }
.status-badge strong { margin: 5px 0 6px; color: var(--seal-red); font-size: 1.16rem; letter-spacing: .08em; }
.status-badge small { font-family: Georgia, "Times New Roman", serif; font-size: .86rem; font-style: italic; text-transform: none; letter-spacing: .02em; }
@media (max-width: 720px) {
  .branch-links { grid-template-columns: 1fr; }
  .status-badge { width: 100%; min-height: 100px; }
}

/* Introductory text on the Szping gateway page. */
.gateway .text {
  max-width: 850px;
  margin: 0 0 clamp(28px, 5vh, 50px);
  color: var(--orotone-white);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  text-align: left;
  text-shadow: 0 2px 7px rgba(0,0,0,.95);
}
