/* ==========================================================================
   Alicante Tech Vibes — site styles
   Vibe: Modern community brand. Bold color blocks, confident type, energetic.
   Type: Space Grotesk (display + UI), Inter (body), JetBrains Mono (details)
   ========================================================================== */

:root {
  /* Mediterranean palette — saturated, confident */
  --ink: #0E1A2B;            /* deep sea navy */
  --ink-2: #1B2940;
  --paper: #FAF6EE;          /* warm cream */
  --paper-2: #F2EAD8;        /* sand */
  --paper-3: #E8DCC4;
  --orange: #FF6B2C;         /* sunset */
  --orange-deep: #D9491B;
  --teal: #1FA9A0;           /* sea */
  --teal-deep: #16766F;
  --pink: #FFB6A3;           /* coral wash */
  --yellow: #F5C24A;         /* sun */
  --line: #DCD2BD;
  --line-soft: rgba(14, 26, 43, 0.10);
  --muted: #5C6677;

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;

  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16.5px;
  line-height: 1.55;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ============== Container ============== */
.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
@media (max-width: 700px) { .container { padding: 0 20px; } }

/* ============== Type ============== */
.h-display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.95;
  text-wrap: balance;
}
.h1 { font-size: clamp(48px, 8vw, 120px); }
.h2 { font-size: clamp(36px, 5.5vw, 72px); }
.h3 { font-size: clamp(26px, 3vw, 38px); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 107, 44, .18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(255, 107, 44, .22); }
  50% { box-shadow: 0 0 0 8px rgba(255, 107, 44, .04); }
}
.lead {
  font-size: clamp(17px, 1.6vw, 22px);
  color: var(--muted);
  max-width: 60ch;
  text-wrap: pretty;
  line-height: 1.45;
}

/* ============== Buttons ============== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  border: 1.5px solid transparent;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #000; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-deep); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-arrow::after {
  content: "→";
  margin-left: 2px;
  transition: transform .15s ease;
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ============== Nav ============== */
.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(250, 246, 238, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(250, 246, 238, 0.94);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 26px;
}
.brand-mark svg { display: block; }
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: 12px;
  flex: 1;
}
.nav-links a {
  font-size: 14.5px;
  color: var(--ink-2);
  font-weight: 500;
}
.nav-links a:hover, .nav-links a.is-current { color: var(--orange-deep); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;   /* keeps it pinned right at all breakpoints, including when nav-links is hidden on mobile */
}
.lang {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  padding: 3px;
  background: rgba(14, 26, 43, 0.06);
  border-radius: 999px;
}
.lang span { display: none; }
.lang button,
.lang a {
  background: transparent;
  border: 0;
  padding: 6px 11px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-decoration: none;
  border-radius: 999px;
  cursor: pointer;
  transition: color .15s ease, background-color .15s ease;
  line-height: 1;
}
.lang button:hover,
.lang a:hover { color: var(--ink); }
.lang button.on,
.lang a.on {
  background: var(--ink);
  color: var(--paper);
}
.burger {
  display: none;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  width: 42px; height: 42px;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px;
  padding: 0;
}
.burger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 12px 24px 24px;
  border-top: 1px solid var(--line);
  background: var(--paper);
  max-height: calc(100vh - 76px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu .mm-links { display: flex; flex-direction: column; }
.mobile-menu .mm-links a {
  padding: 16px 4px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: color .15s ease;
}
.mobile-menu .mm-links a:hover,
.mobile-menu .mm-links a.is-current {
  color: var(--orange-deep);
}
.mobile-menu .mm-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
}
.mobile-menu .mm-ctas .btn {
  width: 100%;
  justify-content: center;
  padding: 16px 22px;
  font-size: 16px;
  border-radius: 14px;
}
@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  .mobile-menu.open { display: flex; }
  /* lang switcher stays visible next to the burger so users always see it */
  .nav-right { gap: 10px; }
}
@media (max-width: 700px) {
  .nav-inner { padding: 14px 20px; gap: 16px; }
  .brand span:not(.brand-mark) { font-size: 15px; }
}
@media (max-width: 380px) {
  .brand span:not(.brand-mark) { display: none; }     /* logo only on tiny screens to avoid wrapping */
}

/* ============== Section base ============== */
.section { padding: 110px 0; position: relative; }
.section-sm { padding: 72px 0; }
@media (max-width: 700px) { .section { padding: 72px 0; } .section-sm { padding: 48px 0; } }
.section-head { max-width: 780px; margin: 0 0 56px; }
.section-head .eyebrow { color: var(--orange-deep); margin-bottom: 22px; }
.section-head h2 { margin: 0 0 20px; }
.section-head .lead { margin: 0; }

/* Section color variants */
.bg-cream { background: var(--paper); }
.bg-sand { background: var(--paper-2); }
.bg-ink { background: var(--ink); color: var(--paper); }
.bg-ink h1, .bg-ink h2, .bg-ink h3, .bg-ink .eyebrow { color: var(--paper); }
.bg-ink .lead { color: rgba(250, 246, 238, 0.72); }
.bg-ink .section-head .eyebrow { color: var(--orange); }
.bg-orange { background: var(--orange); color: #fff; }
.bg-orange .lead { color: rgba(255,255,255,.85); }
.bg-orange .section-head .eyebrow { color: #fff; opacity: .85; }
.bg-teal { background: var(--teal); color: #fff; }
.bg-teal .lead { color: rgba(255,255,255,.88); }
.bg-teal .section-head .eyebrow { color: #fff; opacity: .85; }
.bg-pink { background: var(--pink); }
.bg-yellow { background: var(--yellow); }

/* ============== Hero ============== */
.hero {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.hero h1 {
  margin: 24px 0 28px;
  text-wrap: balance;
}
.hero h1 .ink { color: var(--ink); }
.hero h1 .orange { color: var(--orange); font-style: italic; font-weight: 500; }
.hero h1 .teal { color: var(--teal-deep); font-style: italic; font-weight: 500; }
.hero-sub {
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--muted);
  max-width: 56ch;
  margin: 0 0 32px;
}
.hero-ctas {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-marquee-wrap {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-marquee {
  display: flex;
  gap: 60px;
  padding: 22px 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  letter-spacing: -0.02em;
}
.hero-marquee span { display: inline-flex; align-items: center; gap: 60px; }
.hero-marquee .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--orange); display: inline-block; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Hero collage */
.hero-collage {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 110px;
  gap: 14px;
  margin-top: 24px;
}
.hc-tile {
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  background: var(--paper-2);
}
.hc-tile img { width: 100%; height: 100%; object-fit: cover; }
.hc-tile.t1 { grid-column: span 3; grid-row: span 2; }
.hc-tile.t2 { grid-column: span 2; grid-row: span 2; background: var(--orange); color: #fff; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; }
.hc-tile.t2 .big { font-family: var(--font-display); font-size: clamp(40px, 5vw, 64px); font-weight: 600; letter-spacing: -0.03em; line-height: 0.9; }
.hc-tile.t2 .lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; opacity: .85; }
.hc-tile.t3 { grid-column: span 1; grid-row: span 2; background: var(--teal); color: #fff; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; }
.hc-tile.t3 .big { font-family: var(--font-display); font-size: 32px; font-weight: 600; letter-spacing: -0.03em; }
.hc-tile.t4 { grid-column: span 2; grid-row: span 1; }
.hc-tile.t5 { grid-column: span 2; grid-row: span 1; background: var(--ink); color: var(--paper); padding: 16px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; display: flex; align-items: end; }
.hc-tile.t6 { grid-column: span 2; grid-row: span 1; }
@media (max-width: 760px) {
  .hero-collage { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 100px; }
  .hc-tile.t1 { grid-column: span 2; grid-row: span 2; }
  .hc-tile.t2 { grid-column: span 2; grid-row: span 2; }
  .hc-tile.t3 { grid-column: span 1; grid-row: span 2; }
  .hc-tile.t4 { grid-column: span 1; grid-row: span 1; }
  .hc-tile.t5 { grid-column: span 2; grid-row: span 1; }
  .hc-tile.t6 { grid-column: span 2; grid-row: span 1; }
}

/* ============== Stat strip (under hero) ============== */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.stat-strip > div {
  padding: 28px 24px;
  border-right: 1px solid var(--line-soft);
}
.stat-strip > div:last-child { border-right: none; }
.stat-num { font-family: var(--font-display); font-size: clamp(36px, 4vw, 56px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.stat-num.orange { color: var(--orange-deep); }
.stat-num.teal { color: var(--teal-deep); }
.stat-lbl { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
@media (max-width: 760px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-strip > div:nth-child(2) { border-right: none; }
}

/* ============== Cards ============== */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -16px rgba(14, 26, 43, .18);
  border-color: var(--orange);
}
.card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  font-weight: 600;
}
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.card-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--orange-deep);
  margin-bottom: 22px;
}
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

/* ============== Pillars (3-up) — bold colored cards ============== */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pillar {
  border-radius: var(--r-lg);
  padding: 36px 32px 36px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.pillar.p1 { background: var(--orange); color: #fff; }
.pillar.p2 { background: var(--ink); color: var(--paper); }
.pillar.p3 { background: var(--teal); color: #fff; }
.pillar h3 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 18px 0 14px;
  line-height: 1.05;
}
.pillar p { margin: 0; opacity: 0.9; font-size: 16px; line-height: 1.5; }
.pillar .num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  opacity: 0.7;
}
.pillar .pillar-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: rgba(255,255,255,0.18);
  display: grid;
  place-items: center;
  font-size: 28px;
  margin-top: 24px;
  align-self: flex-start;
}
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }

/* ============== Big quote ============== */
.quote-block {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 500;
  text-wrap: balance;
}
.quote-block .mark {
  font-size: 1.4em;
  color: var(--orange);
  line-height: 0;
  vertical-align: -0.2em;
  margin-right: 4px;
}
.quote-meta {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
}
.quote-avatar {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
}

/* ============== FAQ ============== */
.faq-list {
  border-top: 1px solid var(--line);
  max-width: 920px;
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 0;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.2;
}
.faq-q:hover { color: var(--orange-deep); }
.faq-toggle {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 32px;
  color: var(--orange);
  width: 28px;
  text-align: center;
  flex: none;
  line-height: 1;
  transition: transform .25s ease;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-a-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s cubic-bezier(.4,.0,.2,1);
}
.faq-item.open .faq-a-wrap { grid-template-rows: 1fr; }
.faq-a {
  overflow: hidden;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.65;
  max-width: 76ch;
}
.faq-item.open .faq-a { padding: 0 0 32px; }

/* ============== Footer ============== */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
.footer h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 18px;
  font-weight: 500;
}
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-links a { color: rgba(250, 246, 238, 0.78); font-size: 15px; }
.footer-links a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: rgba(250, 246, 238, 0.5);
}
.footer-tag {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  text-wrap: balance;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============== Page banner (smaller hero on subpages) ============== */
.page-banner {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--line);
}
.page-banner .eyebrow { color: var(--orange-deep); margin-bottom: 22px; }
.page-banner h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(44px, 7vw, 96px);
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin: 0 0 24px;
  text-wrap: balance;
}
.page-banner h1 em { font-style: italic; color: var(--orange); font-weight: 500; }
.page-banner h1 em.t { color: var(--teal-deep); }
.page-banner .lead { margin: 0; }

/* ============== Image placeholder treatments ============== */
.img-ph {
  background: linear-gradient(135deg, var(--paper-2) 0%, var(--paper-3) 100%);
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
}
.img-ph::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============== Tags / chips ============== */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--paper-2);
  color: var(--ink-2);
  border: 1px solid var(--line);
}
.tag-orange { background: rgba(255, 107, 44, 0.12); color: var(--orange-deep); border-color: rgba(255, 107, 44, 0.25); }
.tag-teal { background: rgba(31, 169, 160, 0.12); color: var(--teal-deep); border-color: rgba(31, 169, 160, 0.25); }
.tag-ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ============== Two-col with image ============== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-image {
  border-radius: var(--r-lg);
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--paper-2);
}
.split-image img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } .split-image { aspect-ratio: 4/3; max-width: 540px; } }

/* ============== Logo grid (sponsors / "as seen in") ============== */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.logo-grid > div {
  padding: 28px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line-soft);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--muted);
  min-height: 92px;
}
.logo-grid > div:last-child { border-right: none; }
@media (max-width: 900px) {
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .logo-grid > div:nth-child(3n) { border-right: none; }
  .logo-grid > div { border-bottom: 1px solid var(--line-soft); }
}
@media (max-width: 500px) {
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-grid > div:nth-child(odd) { border-right: 1px solid var(--line-soft); }
  .logo-grid > div:nth-child(even) { border-right: none; }
}

/* ============== Big CTA band ============== */
.cta-band {
  border-radius: var(--r-xl);
  padding: 72px 56px;
  background: var(--orange);
  color: #fff;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: end;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 280px; height: 280px;
  border-radius: 999px;
  background: var(--yellow);
  opacity: 0.55;
  z-index: 0;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin: 0;
  text-wrap: balance;
}
.cta-band p { font-size: 17px; opacity: 0.9; margin: 0 0 24px; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; padding: 56px 32px; } }

/* ============== Event card (events page) ============== */
.event-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  align-items: stretch;
}
.event-card-meta { padding: 32px; display: flex; flex-direction: column; }
.event-card-img { background: var(--paper-2); min-height: 280px; }
.event-card-img img { width: 100%; height: 100%; object-fit: cover; }
.event-card .date {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--orange-deep);
}
.event-card h3 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 12px 0 16px;
}
.event-card p { color: var(--muted); margin: 0 0 24px; flex: 1; }
.event-card .meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  font-size: 14px;
  color: var(--ink-2);
  padding-top: 16px;
  border-top: 1px solid var(--line);
  margin-bottom: 20px;
}
.event-card .meta-row span { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 720px) { .event-card { grid-template-columns: 1fr; } .event-card-img { min-height: 220px; } }

/* Past event row */
.past-row {
  display: grid;
  grid-template-columns: 100px 1fr 200px auto;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.past-row .nb { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.past-row h4 { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin: 0; }
.past-row .sub { font-size: 14px; color: var(--muted); margin-top: 4px; }
.past-row .when { font-family: var(--font-mono); font-size: 13px; color: var(--ink-2); }
@media (max-width: 760px) {
  .past-row { grid-template-columns: 60px 1fr; }
  .past-row .when, .past-row .btn { grid-column: 2; }
}

/* ============== Member tiles (community page) ============== */
.member-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.member {
  background: #fff;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.member-avatar {
  width: 56px; height: 56px;
  border-radius: 999px;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: #fff;
}
.member-avatar.a1 { background: var(--orange); }
.member-avatar.a2 { background: var(--teal); }
.member-avatar.a3 { background: var(--ink); }
.member-avatar.a4 { background: var(--orange-deep); }
.member-avatar.a5 { background: var(--teal-deep); }
.member h4 { font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin: 0; }
.member .role { font-size: 13px; color: var(--muted); }
.member .quote { font-size: 14px; color: var(--ink-2); line-height: 1.5; flex: 1; padding-top: 12px; border-top: 1px solid var(--line-soft); margin-top: 4px; }
@media (max-width: 900px) { .member-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .member-grid { grid-template-columns: 1fr; } }

/* ============== Blog post tile ============== */
.post {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.post:hover { transform: translateY(-3px); box-shadow: 0 16px 40px -16px rgba(14, 26, 43, .18); }
.post-img { aspect-ratio: 16/10; background: var(--paper-2); }
.post-img img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post .meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--orange-deep); text-transform: uppercase; }
.post h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; margin: 0; }
.post p { color: var(--muted); font-size: 15px; margin: 0; flex: 1; }
.post .read { font-size: 14px; font-weight: 600; color: var(--orange-deep); }

/* ============== Forms ============== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-grid .full { grid-column: 1 / -1; }
.field {
  display: flex; flex-direction: column; gap: 6px;
}
.field label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field textarea, .field select {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
  background: #fff;
  color: var(--ink);
  resize: vertical;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--orange); }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

/* ============== Misc ============== */
::selection { background: var(--orange); color: #fff; }

.kbd {
  font-family: var(--font-mono);
  font-size: 11px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 6px;
  padding: 2px 6px;
}

.ribbon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
}

.divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* Section topper marquee (decorative) */
.toppers {
  background: var(--ink);
  color: var(--paper);
  padding: 18px 0;
  overflow: hidden;
}
.toppers-track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: marquee 35s linear infinite;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.toppers-track .star { color: var(--orange); }

/* ============== TikTok embed wrapper ============== */
.tiktok-wrap {
  display: flex;
  justify-content: center;
  margin: 32px auto 0;
}
.tiktok-wrap .tiktok-embed {
  margin: 0 auto !important;
  border-radius: var(--r-lg);
  overflow: hidden;
}

/* ============== Startups presenting (community page) ============== */
.startups {
  background: var(--paper);
  padding: 96px 0;
}
@media (max-width: 700px) { .startups { padding: 64px 0; } }
.startups-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 700px) { .startups-wrap { padding: 0 20px; } }
.startups .badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  background: var(--ink);
  color: var(--paper);
  padding: 7px 14px;
  border-radius: 999px;
}
.startups-heading {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin: 24px 0 14px;
  text-wrap: balance;
}
.startups-sub {
  font-size: clamp(17px, 1.6vw, 22px);
  color: var(--muted);
  max-width: 60ch;
  margin: 0 0 48px;
  line-height: 1.45;
}
.startups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.startup-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  padding: 24px 26px 22px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  text-decoration: none;
  color: inherit;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.startup-card:hover {
  transform: translateY(-3px);
  border-color: var(--orange);
  box-shadow: 0 14px 40px -20px rgba(14, 26, 43, 0.22);
}
.startup-card--nolink {
  cursor: default;
  opacity: 0.85;
}
.startup-card--nolink:hover {
  transform: none;
  border-color: var(--line-soft);
  box-shadow: none;
}
.startup-time {
  grid-column: 1 / -1;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--orange-deep);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.startup-name {
  grid-column: 1;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.startup-founder {
  grid-column: 1;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  min-height: 20px;
}
.startup-online {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  font-weight: 500;
}
.startup-arrow {
  grid-column: 2;
  grid-row: 2 / 4;
  align-self: end;
  font-size: 22px;
  color: var(--orange);
  transition: transform 200ms ease;
  line-height: 1;
}
.startup-card:hover .startup-arrow { transform: translateX(4px); }
