/* apthgames.com · Not Ready for Service one-pager. Direction B "Case file".
   Spec: docs/superpowers/specs/2026-09-03-website-redesign-design.md */

@font-face { font-family: "Exo 2"; font-weight: 800; font-style: normal; font-display: swap; src: url(fonts/exo2-800.woff2) format("woff2"); }
@font-face { font-family: Kanit; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/kanit-400.woff2) format("woff2"); }
@font-face { font-family: Kanit; font-weight: 500; font-style: normal; font-display: swap; src: url(fonts/kanit-500.woff2) format("woff2"); }
@font-face { font-family: Kanit; font-weight: 600; font-style: normal; font-display: swap; src: url(fonts/kanit-600.woff2) format("woff2"); }
@font-face { font-family: Lilex; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/lilex-400.woff2) format("woff2"); }
@font-face { font-family: Lilex; font-weight: 600; font-style: normal; font-display: swap; src: url(fonts/lilex-600.woff2) format("woff2"); }

:root {
  --field: #e3ebe6; --bone: #f2f2f3; --plate: #dce7e2;
  --ink: #1d1f20; --ink2: #3b4144; --dim: #5f676b;
  --teal: #33685e; --teal2: #275048; --line: #c6d1cb;
  --sans: Kanit, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Exo 2", var(--sans);
  --mono: Lilex, Consolas, "Liberation Mono", monospace;
  --cham: 18px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--field); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--teal2); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: 1.15; color: var(--ink); }
ul { list-style: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

.wrap { max-width: 1104px; margin: 0 auto; padding: 0 48px; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); }

/* ---- shape language: one polygon, per-class cut size ---- */
.cham, .cham-s, .frame > .in, .btn {
  clip-path: polygon(0 0, calc(100% - var(--cham)) 0, 100% var(--cham), 100% 100%, var(--cham) 100%, 0 calc(100% - var(--cham)));
}
.cham-s { --cham: 12px; }
.frame { background: var(--teal); padding: 2px; }
.frame > .in { --cham: 16px; background: var(--bone); padding: 10px; }
.frame.cham-s > .in { --cham: 10px; padding: 6px; }
.frame img { width: 100%; }

/* ---- buttons ("Enter Combat") ---- */
.btn {
  --cham: 12px;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; letter-spacing: .02em; line-height: 1; white-space: nowrap; text-decoration: none;
  background: var(--teal); color: var(--bone);
  transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }
.btn.sm { font-size: 14px; padding: 10px 18px; }
.btn.lg { --cham: 16px; font-size: 18px; padding: 16px 32px; }
.btn:hover, .btn:focus-visible { background: var(--teal2); color: var(--bone); transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: -5px; }
.btn.ghost { background: var(--bone); color: var(--teal2); box-shadow: inset 0 0 0 2px var(--teal); }
.btn.ghost:hover, .btn.ghost:focus-visible { background: var(--teal); color: var(--bone); }

/* ---- header ---- */
.top { position: sticky; top: 0; z-index: 5; background: rgba(227, 235, 230, .9); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(198, 209, 203, .6); }
.top .wrap { display: flex; justify-content: space-between; align-items: center; height: 68px; }
.mark { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: .01em; color: var(--ink); text-decoration: none; }
.mark .not { color: var(--teal); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) { font-weight: 500; font-size: 15px; color: var(--ink); text-decoration: none; letter-spacing: .01em; }
.nav a:not(.btn):hover { color: var(--teal2); text-decoration: underline; text-underline-offset: 4px; }
.nav a[aria-current="page"] { color: var(--teal); font-weight: 600; }

/* ---- hero ---- */
.hero { position: relative; padding-top: 40px; background: url(img/hub-plate.jpg) center top / cover no-repeat; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(180deg, rgba(227, 235, 230, 0), var(--field)); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; text-align: center; max-width: 1040px; }
.hero .meta { margin: 28px 0 10px; }
.hero h1 { font-size: 40px; max-width: 860px; margin: 0 auto 14px; }
.hero .lead { max-width: 760px; margin: 0 auto 28px; color: var(--ink2); font-size: 18px; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.facts { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin-top: 30px; padding-bottom: 8px; }
.facts span { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.facts b { color: var(--ink); font-weight: 500; }

/* ---- interior page head (About) ---- */
.page-head { position: relative; padding: 44px 0 52px; background: url(img/hub-plate.jpg) center top / cover no-repeat; text-align: center; }
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 55%; background: linear-gradient(180deg, rgba(227, 235, 230, 0), var(--field)); pointer-events: none; }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { font-size: 36px; margin-top: 8px; }

/* Short interior pages hold the footer at the bottom of the window. Scoped to
   .short so the long game page's layout is untouched. */
body.short { display: flex; flex-direction: column; min-height: 100vh; }
body.short main { flex: 1 0 auto; }

/* ---- prose panel (About) ---- */
.prose { max-width: 760px; margin: 0 auto; background: var(--bone); padding: 34px 38px; }
.prose h2 { font-size: 23px; margin: 26px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink2); margin-bottom: 14px; }
.prose p:last-child { margin-bottom: 0; }
.prose a { font-weight: 500; }

/* ---- sections ---- */
section { padding-top: 88px; }
.sec-head { max-width: 760px; margin-bottom: 26px; }
.sec-head h2 { font-size: 32px; margin: 6px 0 10px; }
.sec-head p { color: var(--ink2); }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.card { background: var(--bone); padding: 0 18px 22px; }
.card .shot { margin: 0 -18px 16px; overflow: hidden; }
.card .shot img { width: 100%; height: 200px; object-fit: cover; }
.card h3 { font-size: 21px; margin: 6px 0 8px; }
.card p { color: var(--ink2); font-size: 15.5px; }
.wide { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; background: var(--bone); padding: 22px; }
.wide h2 { font-size: 26px; margin: 6px 0 10px; }
.wide p { color: var(--ink2); }
.wide ul { margin-top: 12px; }
.wide li { position: relative; padding: 6px 0 6px 18px; color: var(--ink2); font-size: 15.5px; border-top: 1px solid var(--line); }
.wide li::before { content: ""; position: absolute; left: 0; top: 14px; width: 8px; height: 8px; background: var(--teal); clip-path: polygon(25% 0, 100% 0, 100% 75%, 75% 100%, 0 100%, 0 25%); }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.person { display: grid; grid-template-columns: 128px 1fr; gap: 18px; align-items: center; padding: 18px; background: var(--bone); }
.person img { width: 128px; height: 128px; background: var(--plate); }
.person h4 { font-size: 20px; margin: 4px 0; }
.person p { font-size: 15px; color: var(--ink2); }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* ---- band, contact, footer ---- */
.band { margin-top: 96px; padding: 64px 0; background: var(--plate); text-align: center; }
.band h2 { font-size: 34px; margin: 6px 0 22px; }
.contact { text-align: center; padding-top: 56px; }
.contact p { color: var(--ink2); }
.contact a { font-weight: 600; text-decoration: none; }
.contact a:hover { text-decoration: underline; }
footer { margin-top: 56px; padding: 26px 0; border-top: 1px solid var(--line); }
footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
footer span, footer a { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
footer a:hover { color: var(--teal2); }
.foot-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-nav a[aria-current="page"] { color: var(--teal); }

/* ---- phone ---- */
@media (max-width: 700px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .top .wrap { height: 58px; }
  .mark { font-size: 15px; }
  .btn.sm .long { display: none; }
  /* The wordmark plus the wishlist button already fill a phone header, so the
     About link lives only in the footer at this width. */
  .nav a:not(.btn) { display: none; }
  .page-head { padding: 26px 0 34px; }
  .page-head h1 { font-size: 27px; }
  .prose { padding: 22px 20px; }
  .hero { padding-top: 18px; }
  .hero h1 { font-size: 27px; }
  .hero .lead { font-size: 16px; }
  .facts { gap: 10px 18px; }
  .cta-row .btn.lg { width: 100%; justify-content: center; }
  section { padding-top: 56px; }
  .sec-head h2 { font-size: 25px; }
  .cards3, .row2, .people, .shots, .wide { grid-template-columns: 1fr; }
  .wide .pic { order: -1; }
  .band h2 { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover, .btn:focus-visible { transform: none; }
}
