/* =========================================================================
   Not Intended Games — site styles
   Palette is taken directly from the logo SVGs:
     #339A89 teal · #2B2C27 warm near-black · #1B1B1B deep black · #666666 grey
   ========================================================================= */

:root {
  --ink:        #22231F;
  --surface:    #2B2C27;
  --surface-2:  #33352E;
  --line:       rgba(232, 233, 228, 0.10);
  --line-solid: #3B3D36;
  --text:       #E8E9E4;
  --muted:      #9DA096;
  --teal:       #339A89;
  --teal-bright:#46C2AC;
  --teal-dim:   rgba(51, 154, 137, 0.14);

  --maxw:   1120px;
  --radius: 14px;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);

  /* System stack: zero network requests, instant first paint, and no
     Google Fonts CDN call (which is a GDPR liability for EU visitors). */
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-bright); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--text); }

:focus-visible {
  outline: 2px solid var(--teal-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--teal); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- layout primitives ---------- */

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

section { padding-block: clamp(3.5rem, 9vw, 6.5rem); }
.section--alt { background: var(--surface); border-block: 1px solid var(--line); }

.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal-bright); margin: 0 0 1rem;
}

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 1rem; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 6vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 4vw, 2.4rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }

.lead { font-size: clamp(1.05rem, 2.2vw, 1.22rem); color: var(--muted); max-width: 60ch; margin: 0 0 1.75rem; }
.muted { color: var(--muted); }

/* The logo has a strikethrough rule through the wordmark — echoed here as the
   site's recurring section divider so the brand device carries into the page. */
.rule {
  width: 74px; height: 3px; border: 0; margin: 0 0 1.5rem;
  background: linear-gradient(90deg, var(--teal), rgba(51,154,137,0));
}

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(34, 35, 31, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 68px;
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand img.mark { height: 30px; width: auto; }
.brand img.word { height: 21px; width: auto; }

.nav { display: flex; align-items: center; gap: clamp(.85rem, 2.5vw, 1.6rem); }
.nav a {
  color: var(--text); text-decoration: none; font-size: .93rem; font-weight: 600;
  opacity: .82; white-space: nowrap;
}
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; color: var(--teal-bright); }

@media (max-width: 460px) {
  .brand img.word { display: none; }
  .nav { gap: .85rem; }
  .nav a { font-size: .87rem; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 700; font-size: .97rem; text-decoration: none;
  cursor: pointer; transition: background .18s ease, border-color .18s ease, color .18s ease;
  min-height: 48px;              /* touch target */
}
.btn--primary { background: var(--teal); color: #0E1512; }
.btn--primary:hover { background: var(--teal-bright); color: #0E1512; }
.btn--ghost { border-color: var(--line-solid); color: var(--text); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal-bright); }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- hero ---------- */

.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(3rem, 8vw, 5.5rem) clamp(3.5rem, 9vw, 6rem);
}
.hero::before {
  content: ""; position: absolute; inset: -30% 30% 40% -20%;
  background: radial-gradient(closest-side, var(--teal-dim), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.15fr .85fr; } }

.hero h1 { max-width: 16ch; }
.hero h1 em { font-style: normal; color: var(--teal-bright); }

.hero-art { justify-self: center; filter: drop-shadow(0 26px 40px rgba(0,0,0,.55)); }
.hero-art img { width: min(420px, 100%); }
@media (max-width: 899px) { .hero-art { display: none; } }

.hero-meta {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  font-size: .88rem; color: var(--muted);
}
.hero-meta span { display: inline-flex; align-items: center; gap: .5rem; }
.hero-meta span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }

/* ---------- cards / grids ---------- */

.grid { display: grid; gap: 1.25rem; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem;
}
.section--alt .card { background: var(--surface-2); }
.card h3 { color: var(--text); }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }
.card .num {
  display: block; font-size: .78rem; font-weight: 800; letter-spacing: .14em;
  color: var(--teal); margin-bottom: .85rem;
}

/* ---------- game art ---------- */

.showcase { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.showcase figure {
  margin: 0; background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1rem .75rem; text-align: center;
}
.section--alt .showcase figure { background: var(--ink); }
.showcase img { width: 100%; max-width: 190px; margin-inline: auto; }
.showcase figcaption {
  margin-top: .5rem; font-size: .8rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
}

/* Before/after: both images share one crop box and one scale factor, so the
   height difference on screen is the real in-game difference. Do not swap
   these for individually-trimmed exports — it destroys the comparison. */
.progression { display: grid; gap: 1.25rem; grid-template-columns: 1fr 1fr; align-items: end; }
.progression figure {
  margin: 0; background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.25rem 1rem .9rem; text-align: center;
}
.section--alt .progression figure { background: var(--ink); }
.progression img { width: 100%; max-width: 230px; margin-inline: auto; }
.progression figcaption { margin-top: .75rem; }
.progression .lv {
  display: block; font-size: .74rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal-bright);
}
.progression .lv-sub { display: block; font-size: .87rem; color: var(--muted); }

/* ---------- timeline ---------- */

.timeline { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.timeline li { list-style: none; position: relative; padding: 2.1rem 1.25rem 0 0; }
.timeline li::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--line-solid);
}
.timeline li::after {
  content: ""; position: absolute; top: -5px; left: 0; width: 12px; height: 12px;
  border-radius: 50%; background: var(--line-solid); border: 3px solid var(--ink);
}
.section--alt .timeline li::after { border-color: var(--surface); }
.timeline li.is-now::before { background: var(--teal); }
.timeline li.is-now::after  { background: var(--teal); }
.timeline .when { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-bright); }
.timeline .what { font-weight: 700; margin: .3rem 0 .2rem; }
.timeline p { margin: 0; font-size: .92rem; color: var(--muted); }

/* ---------- founders ---------- */

.founder { display: flex; gap: 1.25rem; align-items: flex-start; }
/* The flex child is the <picture>, not the <img>; pin it so a long bio can't
   squeeze the avatar into a vertical sliver. */
.founder > picture { flex: 0 0 92px; display: block; line-height: 0; }
.founder img {
  width: 92px; height: 92px; border-radius: 50%;
  border: 2px solid var(--line-solid); object-fit: cover;
}
.founder .role {
  display: block; font-size: .78rem; font-weight: 800; letter-spacing: .13em;
  text-transform: uppercase; color: var(--teal); margin-bottom: .5rem;
}
.founder h3 { margin-bottom: .15rem; }

/* ---------- notify form ---------- */

.notify { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.75rem, 4vw, 2.75rem); }
.notify h2 { margin-bottom: .6rem; }

.form-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.form-row label { position: absolute; left: -9999px; }
.form-row input[type="email"] {
  flex: 1 1 260px; min-height: 48px; padding: .8rem 1.1rem;
  background: var(--ink); color: var(--text);
  border: 1px solid var(--line-solid); border-radius: 999px;
  font: inherit; font-size: 1rem;
}
.form-row input[type="email"]::placeholder { color: #71746B; }
.form-row input[type="email"]:focus { border-color: var(--teal); outline: none; }

/* Honeypot — hidden from humans, catches naive spam bots. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note { font-size: .82rem; color: var(--muted); margin: 1rem 0 0; }
.form-status { margin: 1rem 0 0; font-size: .93rem; font-weight: 600; min-height: 1.4em; }
.form-status.is-ok   { color: var(--teal-bright); }
.form-status.is-err  { color: #E8927C; }

/* ---------- footer ---------- */

.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: 3rem 2.25rem; }
.footer-top { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; justify-content: space-between; align-items: flex-start; }
.site-footer img.word { height: 26px; width: auto; margin-bottom: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; font-size: .93rem; }
.footer-links a { color: var(--text); text-decoration: none; opacity: .82; }
.footer-links a:hover { opacity: 1; color: var(--teal-bright); }
.footer-legal {
  margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  font-size: .82rem; color: var(--muted); line-height: 1.7;
}
.footer-legal p { margin: 0; }

/* =========================================================================
   Expanded content components — studio thesis, moat, pillars, loop, world,
   spec strip and status columns. All lean on the primitives above.
   ========================================================================= */

/* four-up row for pillars / loop / moat */
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* bulleted lists inside cards and prose blocks */
.card ul, .prose-list { margin: .55rem 0 0; padding-left: 1.15rem; }
.card ul li, .prose-list li { color: var(--muted); font-size: .95rem; margin: .32rem 0; }
.card ul li::marker, .prose-list li::marker { color: var(--teal); }

/* small kicker on a card (retention driver above a pillar) */
.card .kicker {
  display: block; font-size: .7rem; font-weight: 800; letter-spacing: .15em;
  text-transform: uppercase; color: var(--teal-bright); margin-bottom: .5rem;
}

/* spec strip — genre / platform / audience / market */
.specs { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-top: 2.25rem; }
.spec {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.15rem 1.25rem;
}
.section--alt .spec { background: var(--surface-2); }
.spec dt {
  font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal); margin: 0 0 .45rem;
}
.spec dd { margin: 0; font-weight: 700; color: var(--text); font-size: .97rem; line-height: 1.4; }

/* text + art split (world-building) */
.split { display: grid; gap: clamp(1.75rem, 4vw, 3rem); align-items: center; margin-top: 2.25rem; }
@media (min-width: 820px) {
  .split { grid-template-columns: 1.05fr .95fr; }
  .split--rev .split-copy { order: 2; }
}
.split-copy p:last-child { margin-bottom: 0; }
.split-art { justify-self: center; filter: drop-shadow(0 22px 38px rgba(0,0,0,.55)); }
.split-art img { width: min(360px, 100%); }

/* codename tag beside a title */
.codename {
  font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-left: .6rem; white-space: nowrap;
}

/* status columns (complete / in production) */
.status-cols { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 2.25rem; }
.status-cols .card h3 { display: flex; align-items: center; gap: .6rem; }
.status-cols .tag {
  font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: .25rem .6rem; border-radius: 999px; color: #0E1512; background: var(--teal-bright);
}
.status-cols .tag--wip { background: var(--surface-2); color: var(--teal-bright); border: 1px solid rgba(51,154,137,.4); }

/* ---------- coming-soon badge ---------- */

.badge {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .4rem .9rem; border-radius: 999px;
  background: var(--teal-dim); border: 1px solid rgba(51,154,137,.35);
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal-bright); margin-bottom: 1.25rem;
}
.badge::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-bright);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
