/* GATE STUDIOS blog — shared styles, values lifted from index.html so the
   article pages render pixel-identical to the main page (colors, nav, type). */
:root {
  --bg: #E3E0DA;
  --ink: #0B0B0B;
  --muted: rgba(11,11,11,.55);
  --line: rgba(11,11,11,.18);
  --ease-out-cubic: cubic-bezier(.33,1,.68,1);
  --ease-quad: cubic-bezier(.25,.46,.45,.94);
}
* { margin:0; padding:0; box-sizing:border-box; }
html {
  background: var(--bg); scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background: var(--bg); color: var(--ink);
  font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { display:block; }
a { color: inherit; }

/* ============ nav (same geometry as index) ============ */
nav {
  position: sticky; top: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 20px 70px; height: 76.82px;
  background: transparent;
}
.nav-links { display: flex; gap: 26px; }
/* links that exist for crawlers only: rendered out of view and inert for users */
.seo-only {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; pointer-events: none;
}
.nav-links a, .cta {
  font: 700 15px/1 'Inter', sans-serif; letter-spacing: -.01em;
  text-transform: uppercase; text-decoration: none;
}
.nav-links a { opacity: .8; transition: opacity .2s var(--ease-quad); }
.nav-links a:hover { opacity: 1; }
/* Same rule as pages.css: the nav row does not fit a phone. The links stay in
   the HTML, so the crawl path into /services and /blog survives either way. */
@media (max-width: 720px) { .nav-links { display: none; } }
nav .logo-wrap { position: relative; display: flex; align-items: center; justify-content: center; }
nav .logo { height: 36px; opacity: .85; }
nav .logo-text {
  position: absolute; font: 700 11px/1 'Inter', sans-serif;
  letter-spacing: .04em; white-space: nowrap;
}
nav > div:last-child { display: flex; justify-content: flex-end; }
.cta {
  display: inline-block; background: var(--ink); border: 1px solid var(--ink);
  color: #fff; padding: 11px 24px; font-size: 13px !important; letter-spacing: .02em;
  transition: background-color .2s var(--ease-quad), color .2s var(--ease-quad);
}
.cta:hover { background: transparent; color: var(--ink); }

/* ============ typography ============ */
h1 {
  font-size: clamp(30px, 3.6vw, 46px); font-weight: 600;
  letter-spacing: -.04em; line-height: 1.15; text-transform: uppercase;
  text-align: center; white-space: pre-line; max-width: 880px; margin: 0 auto;
}
h2 {
  font-size: clamp(24px, 2.54vw, 32px); font-weight: 600;
  letter-spacing: -.02em; line-height: 1.2; text-transform: uppercase;
  text-align: center; white-space: pre-line;
}
.subline { text-align: center; margin-top: 18px; font-size: 18px; line-height: 1.2; color: #000; }
.section { max-width: 1440px; margin: 0 auto; padding: 160px 70px 40px; }
@media (max-width: 800px) { .section { padding: 110px 24px 24px; } }

/* ============ article hero ============ */
header.hero { padding: 120px 40px 0; }
.kicker {
  text-align: center; font: 700 13px/1 'Inter', sans-serif;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 26px;
}
/* the kicker links up to the /blog hub: reads as the label it always was, until hover */
.kicker a { text-decoration: none; transition: color .2s var(--ease-quad); }
.kicker a:hover { color: var(--ink); }
.hero .meta { text-align: center; margin-top: 20px; font-size: 13px; color: var(--muted); }

/* ============ article body ============ */
.article { max-width: 780px; margin: 0 auto; padding: 40px 40px 0; }
.article > * + * { margin-top: 22px; }
.article h2 { margin-top: 110px; }
.article h2 + * { margin-top: 44px; }
.article h3 {
  font-size: 20px; font-weight: 700; letter-spacing: -.02em; margin-top: 54px;
  text-transform: uppercase;
}
.article p, .article li { font-size: 18px; line-height: 1.55; color: #0B0B0B; }
.article ul, .article ol { padding-left: 24px; }
.article li { margin-top: 8px; }
.article b, .article strong { font-weight: 700; }
.article .lead { font-size: 21px; line-height: 1.45; font-weight: 600; }

/* pull quote / callout, matching the site's black-bar aesthetic */
.article blockquote {
  border-left: 3px solid var(--ink); padding: 4px 0 4px 24px;
  font-size: 18px; line-height: 1.55;
}
.article blockquote p + p { margin-top: 12px; }
.callout {
  background: rgba(11,11,11,.06); padding: 24px 26px;
  font-size: 18px; line-height: 1.55;
}
.callout.black { background: #141414; color: #fff; }
.callout.black p { color: #fff; }
.callout p + p { margin-top: 12px; }

/* data tables */
.tbl-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.4; }
table.tbl th {
  text-align: left; font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--muted); padding: 0 14px 10px 0;
  border-bottom: 1px solid var(--ink);
}
table.tbl td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.tbl td:first-child { font-weight: 700; }

/* numbered play steps */
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li {
  counter-increment: step; position: relative; padding: 16px 0 16px 58px;
  border-top: 1px solid var(--line); margin: 0;
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before {
  content: "0" counter(step); position: absolute; left: 0; top: 16px;
  font-size: 15px; font-weight: 700; letter-spacing: -.02em;
}
.steps b { display: block; margin-bottom: 3px; }

/* proof rows: brand + result */
.proof { border-top: 1px solid var(--line); }
.proof-row {
  display: grid; grid-template-columns: minmax(150px, 240px) 1fr;
  gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: 15.5px; line-height: 1.45;
}
.proof-row b { font-weight: 700; }
.proof-row span { color: rgba(11,11,11,.8); }

/* stat band */
.stat-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px; }
.stat-band .stat-num { font-size: 34px; font-weight: 700; letter-spacing: -.04em; }
.stat-band .stat-label { font-size: 13px; font-weight: 600; margin-top: 2px; }
.stat-band .stat-sub { font-size: 12px; color: var(--muted); margin-top: 1px; }

/* testimonial */
.voice { margin-top: 22px; }
.voice p { font-size: 18px; line-height: 1.55; font-weight: 600; }
.voice cite { display: block; margin-top: 8px; font-style: normal; font-size: 14px; color: var(--muted); }

.center-cta { display: flex; justify-content: center; margin-top: 44px; }

/* ============ path from a playbook into the service that runs it ============ */
.from-blog { margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--line); }
.from-blog h2 { margin-top: 0; font-size: 24px; }
.from-blog p { margin-top: 14px; font-size: 18px; line-height: 1.55; }
.from-blog a { color: inherit; text-underline-offset: 3px; }

/* ============ get a date (identical to index) ============ */
.date-quote { text-align:center; font-size: 17px; margin-top: 16px; color: rgba(11,11,11,.85); }
.calendly { margin-top: 40px; height: 640px; border: none; width: 100%; }

/* ============ free game & knowledge — related posts ============ */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 56px auto 0; max-width: 1100px; }
@media (max-width: 800px) { .related { grid-template-columns: 1fr; } }
.post-card { text-decoration: none; display: block; }
.post-card .thumb { aspect-ratio: 3/2; overflow: hidden; background: rgba(11,11,11,.06); }
.post-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease-out-cubic); }
.post-card:hover img { transform: scale(1.05); }
.post-card .cap { margin-top: 12px; font-size: 14px; font-weight: 600; line-height: 1.35; }

/* ============ footer (identical to index) ============ */
footer { margin-top: 160px; padding: 40px 0 0; background: rgba(11,11,11,.12); }
.foot-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding: 0 180px 40px; font-size: 16px; color: rgba(0,0,0,.55); }
@media (max-width: 900px) { .foot-top { padding: 0 24px 40px; } }
.foot-top .brand-col, .foot-top .legal { display: flex; flex-direction: column; gap: 10px; }
.foot-top .brand-col > span:first-child { font-size: 24px; font-weight: 800; color: var(--ink); }
.foot-top .legal { text-align: right; }
.foot-top .legal > span:first-child { font-size: 16px; font-weight: 600; color: var(--ink); }
.foot-top a { text-decoration: none; transition: color .2s var(--ease-quad); }
.foot-top a:hover { color: var(--ink); }
.wordmark { width: 100%; display: block; }

/* phone-native tweaks (html.phone set by the same detection script as index) */
html.phone header.hero { padding-top: 70px; }
html.phone .article { padding: 30px 24px 0; }
html.phone .section { padding-top: 120px; }
