:root {
  --bg: #05060a;
  --bg-elevated: #10131a;
  --bg-soft: #151824;
  --border-subtle: #252a3a;
  --text: #f7f8ff;
  --muted: #9ba0b8;
  --accent: #4f8bff;
  --accent-soft: rgba(79, 139, 255, 0.14);
  --accent-strong: #8f5bff;
  --danger: #ff4f6a;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.4);
  --shadow-subtle: 0 8px 20px rgba(0, 0, 0, 0.35);
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Inter", sans-serif;
  background: radial-gradient(circle at top, #15192a 0%, #05060a 50%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: linear-gradient(
    to bottom,
    rgba(5, 6, 10, 0.95),
    rgba(5, 6, 10, 0.7),
    transparent
  );
  border-bottom: 1px solid rgba(53, 60, 90, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-img {
  width: 76px;    /* adjust this (32–50px works well) */
  height: auto;
  display: block;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: radial-gradient(circle at 10% 0%, #ff6b9d, #4f8bff);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #05060a;
  box-shadow: 0 0 0 1px rgba(9, 11, 30, 0.8),
    0 14px 28px rgba(0, 0, 0, 0.6);
}

.logo-text {
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 0.98rem;
  color: #f4f6ff;
}

.main-nav {
  display: flex;
  align-items: center;
  position: relative;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.3rem;
  cursor: pointer;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.4rem;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.nav-links a {
  color: var(--muted);
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover {
  color: var(--text);
  border-bottom-color: rgba(79, 139, 255, 0.7);
}

/* HERO */

.hero {
  padding: 3.5rem 0 3rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.hero h1 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.1;
  margin: 0 0 0.8rem;
}

.hero-sub {
  color: var(--muted);
  max-width: 32rem;
  font-size: 0.98rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.5rem 0 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.btn.ghost {
  border-color: rgba(129, 136, 172, 0.9);
  color: var(--muted);
  background: rgba(12, 15, 30, 0.9);
}

.btn.primary:hover,
.btn.ghost:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.6);
}

.hero-meta {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill {
  font-size: 0.7rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(26, 31, 56, 0.95);
  border: 1px solid rgba(79, 139, 255, 0.35);
  color: var(--muted);
}

/* HERO MEDIA CARD */

.hero-media {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  background: radial-gradient(circle at top left, #1b223b, #0a0b13);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(61, 68, 102, 0.8);
  overflow: hidden;
  max-width: 420px;
}

.hero-thumb {
  position: relative;
  height: 190px;
  background: radial-gradient(circle at 10% 0%, #ff6b9d, #4f8bff 50%, #0a0b13 90%);
  display: grid;
  place-items: center;
}

.thumb-label {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(5, 6, 10, 0.7);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.thumb-play {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  background: rgba(5, 6, 10, 0.1);
  backdrop-filter: blur(5px);
}

.hero-card-body {
  padding: 1.2rem 1.3rem 1.4rem;
}

.hero-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin: 0 0 0.4rem;
}

.hero-card-body h2 {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
}

.hero-card-text {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.hero-link {
  font-size: 0.85rem;
  color: var(--accent);
}

/* SECTIONS GENERAL */

section {
  padding: 3rem 0;
}

.section-sub {
  color: var(--muted);
  max-width: 36rem;
  font-size: 0.95rem;
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 1.7rem;
  margin: 0 0 0.6rem;
}

/* GRID */

.grid {
  display: grid;
  gap: 1.4rem;
}

.pillars-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* CARDS */

.card {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 1.3rem 1.25rem;
  box-shadow: var(--shadow-subtle);
}

.card h3 {
  margin-top: 0;
  font-size: 1.05rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--muted);
}

.card-list {
  margin: 0.6rem 0 0.8rem;
  padding-left: 1rem;
  color: var(--muted);
  font-size: 0.87rem;
}

.card-list li + li {
  margin-top: 0.3rem;
}

.card-link {
  font-size: 0.85rem;
  color: var(--accent);
}

/* LATEST CONTENT */

.latest {
  background: radial-gradient(circle at top, #14172a, #060712);
}

.filters {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  background: rgba(8, 10, 22, 0.9);
  padding: 0.25rem;
  border-radius: 999px;
  border: 1px solid rgba(54, 61, 97, 0.9);
}

.filter-btn {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 0.8rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
}

.filter-btn.active {
  background: var(--accent-soft);
  color: var(--text);
}

.latest-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 1.1rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.content-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.content-card h3 {
  font-size: 0.98rem;
  margin: 0;
}

.content-excerpt {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

.content-meta {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: #7e84a0;
}

/* INTERVIEW */

.interview {
  background: #060712;
}

.interview-inner {
  max-width: 920px;
}

.interview-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.3rem;
}

.interview-card {
  background: var(--bg-soft);
  border-radius: 16px;
  border: 1px solid rgba(68, 76, 116, 0.9);
  padding: 1rem 1rem;
  font-size: 0.9rem;
}

.interview-card h3 {
  margin-top: 0;
  font-size: 0.95rem;
}

.interview-card ul {
  margin: 0.4rem 0 0;
  padding-left: 1rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.interview-cta {
  margin-top: 1.3rem;
}

.micro-text {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.4rem;
}

/* ABOUT */

.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.8rem;
}

.about-text p {
  color: var(--muted);
  font-size: 0.95rem;
}

.about-text p + p {
  margin-top: 0.7rem;
}

.about-side {
  display: grid;
  gap: 1rem;
}

.about-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 1rem 1rem;
  font-size: 0.9rem;
}

.about-card h3 {
  margin-top: 0;
  font-size: 0.95rem;
}

.about-card ul {
  margin: 0.4rem 0 0;
  padding-left: 1rem;
  color: var(--muted);
  font-size: 0.85rem;
}

/* NEWSLETTER */

.newsletter {
  background: radial-gradient(circle at top, #1b1e34, #05060a);
  text-align: center;
}

.newsletter-inner {
  max-width: 600px;
}

.newsletter-form {
  margin: 1rem auto 0.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
}

.newsletter-form input[type="email"] {
  min-width: 240px;
  padding: 0.6rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(88, 96, 132, 0.9);
  background: rgba(6, 7, 16, 0.95);
  color: var(--text);
  font-size: 0.9rem;
}

.newsletter-form input[type="email"]::placeholder {
  color: #656b86;
}

/* FOOTER */

.site-footer {
  border-top: 1px solid rgba(38, 42, 68, 0.9);
  padding: 1.2rem 0 1.5rem;
  background: #05060a;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--text);
}

/* UTILITIES */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .hero-media {
    justify-content: flex-start;
  }

  .pillars-grid,
  .latest-grid,
  .interview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .header-inner {
    height: 58px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    right: 0;
    top: 110%;
    flex-direction: column;
    background: rgba(5, 6, 10, 0.98);
    padding: 0.5rem 0.9rem;
    border-radius: 12px;
    border: 1px solid rgba(60, 68, 100, 0.9);
    display: none;
    min-width: 190px;
  }

  .nav-links.open {
    display: flex;
  }

  .hero {
    padding-top: 2.3rem;
  }

  .pillars-grid,
  .latest-grid,
  .interview-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .newsletter-form {
    flex-direction: column;
    align-items: stretch;
  }

  .newsletter-form .btn {
    width: 100%;
  }
}
