:root {
    --red: #E8341A;
    --dark: #0D0D0D;
    --cream: #F5F0E8;
    --warm: #FAF7F2;
    --mid: #2A2A2A;
    --muted: #8A8580;
    --border: #E0D9CF;
    --accent: #1A3CE8;
  }

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

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--warm);
    color: var(--dark);
    overflow-x: hidden;
  }

  /* NAV */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 3rem;
    height: 64px;
    background: var(--warm);
    border-bottom: 1px solid var(--border);
  }

  .nav-logo {
    font-family: 'Fraunces', serif;
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--dark);
    text-decoration: none;
    letter-spacing: -0.02em;
  }
  .nav-logo span { color: var(--red); }

  .nav-links {
    display: flex; gap: 2rem; list-style: none;
  }
  .nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--dark); }

  .nav-cta {
    background: var(--red);
    color: white !important;
    padding: 0.5rem 1.2rem;
    border-radius: 2px;
    font-weight: 600 !important;
    color: white;
  }
  .nav-cta:hover { background: #c9291a; color: white !important; }

  /* HERO */
  .hero {
    margin-top: 64px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - 64px);
    border-bottom: 1px solid var(--border);
  }

  .hero-left {
    padding: 5rem 4rem 5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--border);
    position: relative;
    overflow: hidden;
  }

  .hero-tag {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--red);
    margin-bottom: 2rem;
  }
  .hero-tag::before {
    content: '';
    width: 24px; height: 2px;
    background: var(--red);
  }

  .hero-h1 {
    font-family: 'Fraunces', serif;
    font-size: clamp(3rem, 5vw, 5.5rem);
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -0.03em;
    color: var(--dark);
    margin-bottom: 1.5rem;
  }
  .hero-h1 em {
    font-style: italic;
    font-weight: 300;
    color: var(--muted);
  }

  .hero-sub {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.7;
    max-width: 420px;
    margin-bottom: 3rem;
  }

  .hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

  .btn-primary {
    background: var(--dark);
    color: white;
    padding: 0.85rem 2rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    border: none; cursor: pointer;
    border-radius: 2px;
    text-decoration: none;
    transition: background 0.2s;
    display: inline-block;
  }
  .btn-primary:hover { background: var(--red); }

  .btn-outline {
    background: transparent;
    color: var(--dark);
    padding: 0.85rem 2rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1.5px solid var(--border);
    cursor: pointer;
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-block;
  }
  .btn-outline:hover { border-color: var(--dark); }

  .hero-stats {
    display: flex; gap: 3rem; margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
  }
  .stat-num {
    font-family: 'Fraunces', serif;
    font-size: 2rem; font-weight: 700;
    color: var(--dark);
    line-height: 1;
  }
  .stat-label {
    font-size: 0.78rem; color: var(--muted);
    text-transform: uppercase; letter-spacing: 0.06em;
    margin-top: 0.3rem;
  }

  .hero-right {
    display: flex;
    flex-direction: column;
    background: var(--cream);
  }

  .featured-label {
    padding: 1rem 2rem;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
    border-bottom: 1px solid var(--border);
  }

  .featured-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 2.5rem 2rem;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    color: inherit;
  }
  .featured-card:hover { background: white; }

  .card-category {
    font-size: 0.7rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--red); margin-bottom: 0.8rem;
  }
  .card-title {
    font-family: 'Fraunces', serif;
    font-size: 1.4rem; font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin-bottom: 0.8rem;
  }
  .card-excerpt {
    font-size: 0.88rem; color: var(--muted);
    line-height: 1.6; flex: 1;
  }
  .card-meta {
    display: flex; align-items: center; gap: 1rem;
    margin-top: 1.5rem;
    font-size: 0.78rem; color: var(--muted);
  }
  .card-meta-dot { width: 3px; height: 3px; background: var(--border); border-radius: 50%; }

  /* TICKER */
  .ticker-wrap {
    background: var(--red);
    color: white;
    overflow: hidden;
    white-space: nowrap;
    height: 36px;
    display: flex;
    align-items: center;
  }
  .ticker-inner {
    display: inline-flex;
    animation: ticker 30s linear infinite;
  }
  .ticker-item {
    padding: 0 3rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
  .ticker-item::after {
    content: '✦';
    margin-left: 3rem;
  }
  @keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  /* SECTION SHARED */
  section { padding: 5rem 3rem; }

  .section-header {
    display: flex; align-items: baseline;
    justify-content: space-between;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
  }
  .section-title {
    font-family: 'Fraunces', serif;
    font-size: 2.2rem; font-weight: 900;
    letter-spacing: -0.03em;
  }
  .section-link {
    font-size: 0.8rem; font-weight: 600;
    color: var(--red); text-decoration: none;
    letter-spacing: 0.05em; text-transform: uppercase;
  }
  .section-link:hover { text-decoration: underline; }

  /* ARTICLES GRID */
  .articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--border);
  }

  .article-card {
    padding: 2rem;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: background 0.2s;
  }
  .article-card:nth-child(3n) { border-right: none; }
  .article-card:hover { background: var(--cream); }

  .article-num {
    font-family: 'Fraunces', serif;
    font-size: 3rem; font-weight: 900;
    color: var(--border);
    line-height: 1;
    margin-bottom: 1rem;
  }
  .article-cat {
    font-size: 0.68rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--red); margin-bottom: 0.6rem;
  }
  .article-title {
    font-family: 'Fraunces', serif;
    font-size: 1.15rem; font-weight: 700;
    line-height: 1.3; margin-bottom: 0.8rem;
  }
  .article-excerpt {
    font-size: 0.83rem; color: var(--muted);
    line-height: 1.6; flex: 1;
  }
  .article-meta {
    margin-top: 1.5rem;
    font-size: 0.75rem; color: var(--muted);
    display: flex; gap: 0.5rem;
  }

  /* STARTUPS SPOTLIGHT */
  .spotlight-section { background: var(--dark); color: white; }
  .spotlight-section .section-title { color: white; }

  .spotlight-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: #333;
  }

  .spotlight-card {
    background: var(--dark);
    padding: 2rem 1.5rem;
    transition: background 0.2s;
    cursor: pointer;
  }
  .spotlight-card:hover { background: #1a1a1a; }

  .startup-icon {
    width: 44px; height: 44px;
    background: var(--red);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
  }

  .startup-name {
    font-family: 'Fraunces', serif;
    font-size: 1.1rem; font-weight: 700;
    margin-bottom: 0.4rem;
    color: white;
  }
  .startup-sector {
    font-size: 0.72rem; color: #666;
    text-transform: uppercase; letter-spacing: 0.08em;
    margin-bottom: 1rem;
  }
  .startup-desc {
    font-size: 0.83rem;
    color: #aaa; line-height: 1.6;
  }
  .startup-tag {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.2rem 0.6rem;
    font-size: 0.68rem;
    font-weight: 600;
    border: 1px solid #333;
    color: #666;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .startup-tag.funded { border-color: #1e4d2b; color: #4caf72; }
  .startup-tag.trending { border-color: #4d1e1e; color: #e87070; }

  /* CATEGORIES */
  .categories-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    border: 1px solid var(--border);
  }

  .cat-item {
    padding: 2rem 1.5rem;
    border-right: 1px solid var(--border);
    text-align: center;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    color: inherit;
  }
  .cat-item:last-child { border-right: none; }
  .cat-item:hover { background: var(--cream); }

  .cat-icon { font-size: 2rem; margin-bottom: 0.8rem; display: block; }
  .cat-name {
    font-weight: 700; font-size: 0.9rem;
    margin-bottom: 0.3rem;
  }
  .cat-count {
    font-size: 0.75rem; color: var(--muted);
  }

  /* COMMUNITY */
  .community-section {
    background: var(--cream);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .community-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
  }

  .community-text .section-title { margin-bottom: 1.2rem; }

  .community-text p {
    font-size: 1rem; color: var(--muted);
    line-height: 1.75; margin-bottom: 2rem;
  }

  .community-perks {
    list-style: none;
    display: flex; flex-direction: column; gap: 1rem;
    margin-bottom: 2.5rem;
  }
  .community-perks li {
    display: flex; align-items: center; gap: 0.8rem;
    font-size: 0.9rem;
  }
  .perk-dot {
    width: 8px; height: 8px;
    background: var(--red);
    border-radius: 50%;
    flex-shrink: 0;
  }

  .community-form {
    background: white;
    padding: 2.5rem;
    border: 1px solid var(--border);
    border-radius: 4px;
  }

  .form-title {
    font-family: 'Fraunces', serif;
    font-size: 1.6rem; font-weight: 700;
    margin-bottom: 0.5rem;
  }
  .form-sub {
    font-size: 0.85rem; color: var(--muted);
    margin-bottom: 2rem;
  }

  .form-group { margin-bottom: 1rem; }
  .form-group label {
    display: block;
    font-size: 0.78rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.06em;
    color: var(--muted);
    margin-bottom: 0.4rem;
  }
  .form-group input,
  .form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    background: var(--warm);
    border: 1.5px solid var(--border);
    border-radius: 2px;
    outline: none;
    transition: border-color 0.2s;
    color: var(--dark);
  }
  .form-group input:focus,
  .form-group select:focus { border-color: var(--dark); }

  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

  .btn-submit {
    width: 100%;
    padding: 0.9rem;
    background: var(--red);
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem; font-weight: 700;
    border: none; cursor: pointer;
    border-radius: 2px;
    letter-spacing: 0.03em;
    transition: background 0.2s;
    margin-top: 0.5rem;
  }
  .btn-submit:hover { background: #c9291a; }

  .form-note {
    text-align: center;
    font-size: 0.75rem; color: var(--muted);
    margin-top: 1rem;
  }

  .members-avatars {
    display: flex; align-items: center; gap: 0; margin-bottom: 2rem;
  }
  .avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 2px solid white;
    background: var(--mid);
    margin-left: -8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; font-weight: 700; color: white;
    overflow: hidden;
  }
  .avatar:first-child { margin-left: 0; }
  .avatar img { width: 100%; height: 100%; object-fit: cover; }
  .avatar-count {
    margin-left: 0.8rem !important;
    background: var(--dark);
  }
  .member-note {
    margin-left: 1rem;
    font-size: 0.82rem; color: var(--muted);
  }

  /* NEWSLETTER STRIP */
  .newsletter-strip {
    background: var(--dark);
    color: white;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
  }
  .nl-text .label {
    font-size: 0.7rem; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--red);
    margin-bottom: 0.5rem;
  }
  .nl-text h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.6rem; font-weight: 700;
  }
  .nl-form {
    display: flex; gap: 0;
    flex: 0 0 400px;
  }
  .nl-form input {
    flex: 1;
    padding: 0.8rem 1.2rem;
    background: #1a1a1a;
    border: 1px solid #333;
    border-right: none;
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    outline: none;
    border-radius: 2px 0 0 2px;
  }
  .nl-form input::placeholder { color: #555; }
  .nl-form button {
    padding: 0.8rem 1.5rem;
    background: var(--red);
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem; font-weight: 700;
    border: none; cursor: pointer;
    border-radius: 0 2px 2px 0;
    white-space: nowrap;
    transition: background 0.2s;
  }
  .nl-form button:hover { background: #c9291a; }

  /* FOOTER */
  footer {
    background: var(--dark);
    color: white;
    padding: 4rem 3rem 2rem;
    border-top: 1px solid #1a1a1a;
  }

  .footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #1a1a1a;
    margin-bottom: 2rem;
  }

  .footer-brand .logo {
    font-family: 'Fraunces', serif;
    font-size: 1.4rem; font-weight: 900;
    margin-bottom: 1rem;
    display: block;
  }
  .footer-brand .logo span { color: var(--red); }
  .footer-brand p {
    font-size: 0.85rem; color: #666;
    line-height: 1.7; max-width: 280px;
  }

  .footer-col h4 {
    font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: #444; margin-bottom: 1.2rem;
  }
  .footer-col ul { list-style: none; }
  .footer-col li { margin-bottom: 0.7rem; }
  .footer-col a {
    font-size: 0.85rem; color: #777;
    text-decoration: none; transition: color 0.2s;
  }
  .footer-col a:hover { color: white; }

  .footer-bottom {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 0.78rem; color: #444;
  }
  .footer-flag { margin-left: 0.3rem; }

  /* Success message */
  .success-msg {
    display: none;
    text-align: center;
    padding: 2rem;
  }
  .success-msg .checkmark {
    font-size: 3rem; margin-bottom: 1rem;
  }
  .success-msg h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.4rem; margin-bottom: 0.5rem;
  }
  .success-msg p { font-size: 0.85rem; color: var(--muted); }

  /* Animations */
  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .hero-left > * {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
  }
  .hero-left > *:nth-child(1) { animation-delay: 0.1s; }
  .hero-left > *:nth-child(2) { animation-delay: 0.2s; }
  .hero-left > *:nth-child(3) { animation-delay: 0.3s; }
  .hero-left > *:nth-child(4) { animation-delay: 0.4s; }
  .hero-left > *:nth-child(5) { animation-delay: 0.5s; }

  @media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; }
    .hero-right { display: none; }
    .articles-grid { grid-template-columns: 1fr 1fr; }
    .spotlight-grid { grid-template-columns: 1fr 1fr; }
    .categories-row { grid-template-columns: repeat(3, 1fr); }
    .community-inner { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
  }

  @media (max-width: 640px) {
    nav { padding: 0 1.5rem; }
    .nav-links { display: none; }
    section { padding: 3rem 1.5rem; }
    .hero-left { padding: 3rem 1.5rem; }
    .articles-grid { grid-template-columns: 1fr; }
    .spotlight-grid { grid-template-columns: 1fr; }
    .categories-row { grid-template-columns: 1fr 1fr; }
    .newsletter-strip { flex-direction: column; }
    .nl-form { flex: unset; width: 100%; }
    .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  }

/* WordPress helpers */
.admin-bar nav { top: 32px; }
.screen-reader-text { position:absolute; left:-10000px; top:auto; width:1px; height:1px; overflow:hidden; }
.wp-caption, .gallery-caption, .bypostauthor { }
.post-content { max-width: 780px; margin: 96px auto 4rem; padding: 0 1.5rem; line-height: 1.8; }
.post-content h1 { font-family: 'Fraunces', serif; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.05; margin-bottom: 1rem; }
.post-content img { max-width: 100%; height: auto; }
.post-meta { color: var(--muted); font-size: .85rem; margin-bottom: 2rem; }
.pagination { padding: 2rem 0; display:flex; gap:1rem; }
.pagination a { color: var(--red); text-decoration:none; font-weight:700; }
