/* ============================================================
   ATG  -  theme tokens and umbrella-specific components.
   Structure and shared components live in atg-base.css.
   Palette carried over from the ATG Pardis page: warm island,
   ocean and gold, so the umbrella and its Grounds look related.
   ============================================================ */

:root {
  --accent: #26b5c0;
  --accent-rgb: 38, 181, 192;
  --accent-hover: #1a8a93;
  --accent-2: #c9962a;
  --accent2-rgb: 201, 150, 42;
  --coral: #e8734a;
  --palm: #3d7a5c;
  --sand: #f0e6cc;
  --bg: #0c1a20;
  --bg2: #101f27;
  --bg3: #152530;
  --text: #ede8df;
  --text-dim: #8ba3a8;
  --font-display: "Playfair Display", Georgia, serif;
  --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
}

/* ---------- Status line ---------- */
.status-line {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  margin-bottom: 1.75rem;
}
.status-line i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.8);
}
.status-line.is-idle i {
  background: var(--text-dim);
  box-shadow: none;
}

/* ---------- Text helpers ---------- */
.lede {
  font-size: 1.1rem;
  line-height: 1.75;
  max-width: 640px;
}
.prose-narrow {
  max-width: var(--prose-w);
  margin: 0 auto;
}
.prose-narrow p + p {
  margin-top: 1.25rem;
}
.hero--short {
  min-height: auto;
  padding: 9rem 1.5rem 4rem;
}

/* ---------- Ground cards ---------- */
.grounds {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.ground {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    transform var(--transition),
    border-color var(--transition);
}
.ground:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb), 0.4);
}
.ground-media {
  aspect-ratio: 16 / 9;
  background: var(--bg3);
  overflow: hidden;
}
.ground-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.ground:hover .ground-media img {
  transform: scale(1.04);
}
.ground-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
}
.ground-tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  color: var(--accent);
}
.ground-tag.is-past {
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text-dim);
}
.ground h3 {
  font-size: 1.6rem;
}
.ground p {
  font-size: 0.95rem;
}
.ground-link {
  margin-top: auto;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
}
.ground-link:hover {
  color: var(--sand);
}

/* ---------- Intent list (what the game is being built to be) ---------- */
.intent {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem 2.5rem;
  margin-top: 2.5rem;
}
.intent-item {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.1rem;
}
.intent-item h4 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--sand);
  margin-bottom: 0.4rem;
}
.intent-item p {
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ---------- Sibling products ---------- */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.product {
  display: block;
  padding: 1.6rem 1.75rem;
  background: var(--bg2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--accent-2);
  border-radius: var(--radius);
  transition:
    border-color var(--transition),
    background var(--transition);
}
.product:hover {
  background: var(--bg3);
  border-left-color: var(--accent);
}
.product h4 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.product p {
  font-size: 0.9rem;
}
.product span {
  display: inline-block;
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ---------- Fact table (press kit) ---------- */
.facts {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}
.facts th,
.facts td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  vertical-align: top;
}
.facts th {
  width: 200px;
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
}
.facts td {
  color: var(--text-dim);
}
@media (max-width: 600px) {
  .facts th,
  .facts td {
    display: block;
    width: auto;
    border-bottom: none;
    padding: 0.3rem 0;
  }
  .facts td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding-bottom: 0.9rem;
    margin-bottom: 0.6rem;
  }
}
