/* ============================================================
   ALIEN BEACH CLUB BLOG — shares the main site's design tokens
   Fonts: Syne (display) · Albert Sans (body) · IBM Plex Mono (labels)
   ============================================================ */
:root {
  --midnight: #04070f;
  --navy: #071021;
  --navy-2: #0b1730;
  --cyan: #59f2e3;
  --cyan-dim: rgba(89, 242, 227, 0.55);
  --turquoise: #17b8ae;
  --sunset: #ff8a5c;
  --sand: #f4eee1;
  --paper: #fbf8f1;
  --ink: #10141f;
  --ink-soft: #4b5468;
  --ice: #eaf4f5;
  --ice-dim: rgba(234, 244, 245, 0.72);
  --line-light: rgba(16, 20, 31, 0.12);
  --line-dark: rgba(89, 242, 227, 0.14);
  --font-display: 'Syne', sans-serif;
  --font-body: 'Albert Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 760px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: var(--turquoise); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.wide { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }

/* header */
.blog-nav {
  background: var(--navy); color: var(--ice);
  padding: 1.1rem 0;
}
.blog-nav .wide { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.blog-nav .brand { display: flex; align-items: center; gap: 0.65rem; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--ice); }
.blog-nav .brand img { height: 32px; width: auto; }
.blog-nav .brand .orb { width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px 2px var(--cyan-dim); }
.blog-nav .links { display: flex; align-items: center; gap: 1.6rem; font-size: 0.86rem; }
.blog-nav .links a { color: var(--ice-dim); }
.blog-nav .links a:hover { color: var(--cyan); text-decoration: none; }
.blog-nav .btn { background: var(--cyan); color: var(--midnight); padding: 0.55rem 1.3rem; border-radius: 999px; font-weight: 600; font-size: 0.85rem; }
.blog-nav .btn:hover { text-decoration: none; opacity: 0.88; }

/* article header */
.article-hero { aspect-ratio: 16/7; overflow: hidden; background: var(--navy-2); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-head { padding: 2.6rem 0 1.4rem; }
.eyebrow {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--turquoise); display: inline-flex; align-items: center; gap: 0.7rem;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: linear-gradient(90deg, currentColor, transparent); }
.article-head h1 {
  font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -0.01em;
  font-size: clamp(1.9rem, 4.5vw, 2.8rem); margin-top: 0.9rem;
}
.article-meta { margin-top: 1rem; font-size: 0.86rem; color: var(--ink-soft); font-family: var(--font-mono); }
.article-dek { margin-top: 1.1rem; font-size: 1.1rem; color: var(--ink-soft); line-height: 1.65; max-width: 62ch; }

/* article body */
.article-body { padding: 1rem 0 4rem; }
.article-body h2 {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 3vw, 1.8rem);
  margin-top: 2.6rem; margin-bottom: 1rem; letter-spacing: -0.01em;
}
.article-body h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin-top: 1.8rem; margin-bottom: 0.7rem; }
.article-body p { margin-top: 1.1rem; font-size: 1.02rem; color: var(--ink); }
.article-body ul, .article-body ol { margin-top: 1.1rem; padding-left: 1.4rem; display: grid; gap: 0.6rem; }
.article-body li { font-size: 1.02rem; }
.article-body strong { font-weight: 700; }
.article-body a { font-weight: 600; }

/* CTA callout */
.cta-box {
  margin: 2.4rem 0; padding: 1.6rem 1.8rem;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  border: 1px solid var(--line-dark); border-radius: var(--radius-lg);
  color: var(--ice); display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.cta-box .cta-text { flex: 1; min-width: 220px; }
.cta-box .cta-eyebrow { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan); }
.cta-box .cta-title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin-top: 0.4rem; color: var(--ice); }
.cta-box .cta-sub { font-size: 0.92rem; color: var(--ice-dim); margin-top: 0.3rem; }
.cta-box .btn {
  flex-shrink: 0; background: var(--cyan); color: var(--midnight); padding: 0.8rem 1.6rem;
  border-radius: 999px; font-weight: 700; font-size: 0.92rem; white-space: nowrap;
}
.cta-box .btn:hover { text-decoration: none; opacity: 0.9; }

/* info table */
.info-table { margin-top: 1.4rem; width: 100%; border-collapse: collapse; font-size: 0.96rem; }
.info-table th, .info-table td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line-light); }
.info-table th { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--turquoise); }

/* related links grid (blog index + footer of articles) */
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 1.6rem; margin-top: 2rem; }
.post-card {
  background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px -18px rgba(4,7,15,0.25); text-decoration: none; }
.post-card .post-img { aspect-ratio: 16/10; overflow: hidden; background: var(--navy-2); }
.post-card .post-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card .post-body { padding: 1.3rem 1.4rem 1.5rem; flex: 1; }
.post-card .post-tag { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sunset); }
.post-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin-top: 0.5rem; color: var(--ink); }
.post-card p { font-size: 0.88rem; color: var(--ink-soft); margin-top: 0.5rem; line-height: 1.55; }

/* blog index hero */
.blog-hero { background: var(--navy); color: var(--ice); padding: 3.5rem 0 3rem; }
.blog-hero .eyebrow { color: var(--cyan); }
.blog-hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 5vw, 3rem); margin-top: 0.9rem; letter-spacing: -0.01em; }
.blog-hero p { margin-top: 1rem; color: var(--ice-dim); font-size: 1.05rem; max-width: 60ch; }

/* footer */
.blog-footer { background: var(--navy); color: var(--ice-dim); padding: 2.6rem 0; margin-top: 2rem; font-size: 0.86rem; }
.blog-footer .wide { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.blog-footer a { color: var(--ice-dim); }
.blog-footer a:hover { color: var(--cyan); }

@media (max-width: 640px) {
  .blog-nav .links { display: none; }
  .cta-box { flex-direction: column; align-items: flex-start; }
  .cta-box .btn { width: 100%; text-align: center; }
}
