/* =========================================================
   SpaceHK — styles generated from Figma (file tPooKjb3124qZ57x3uEHuo)
   ========================================================= */

:root {
  /* Colors */
  --color-white: #ffffff;
  --color-black: #000000;
  --color-ink: #1a1a1a;
  --color-muted: rgba(0, 0, 0, 0.55);
  --color-brand: #000f7f; /* "ultra-violet" / "light-purple" in Figma */
  --color-border: rgba(87, 87, 87, 0.2);
  --color-border-soft: rgba(0, 0, 0, 0.1);
  --color-border-btn: rgba(0, 0, 0, 0.15);

  /* Fonts */
  --font-display: "Encode Sans Condensed", system-ui, sans-serif;
  --font-semi: "Encode Sans Semi Condensed", system-ui, sans-serif;
  --font-expanded: "Encode Sans Expanded", system-ui, sans-serif;
  --font-ui: "Inter", system-ui, sans-serif;

  /* Layout */
  --gutter: 64px;
  --nav-h: 76px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-white);
  color: var(--color-black);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
h1, h2, h3, h4, h5, p, ul { margin: 0; }
a { color: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Typography helpers ---------- */
.h-section {               /* Header 3 — "Founders", "News" */
  font-family: var(--font-semi);
  font-weight: 600;
  font-size: 37px;
  line-height: 1.1;
  letter-spacing: -0.74px;
  color: var(--color-brand);
}
.h-block {                 /* Inter SemiBold 24 */
  font-weight: 600;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.48px;
  color: var(--color-ink);
}
.h-title {                 /* Inter Bold 36 */
  font-weight: 700;
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: -0.72px;
}
.h-subtitle {              /* Inter Medium 24 */
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.48px;
}
.body-muted {              /* Inter Medium 18, 55% */
  font-weight: 500;
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: -0.09px;
  color: var(--color-muted);
}
.body-muted p + p { margin-top: 1.45em; }
.body-muted p.tight + p,
.body-muted p + p.tight { margin-top: 0; }

.bullets {
  list-style: disc;
  padding-left: 24px;
  font-weight: 500;
  font-size: 16px;
  line-height: 2;
  letter-spacing: -0.08px;
}
.bullets--muted {
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: -0.09px;
  color: var(--color-muted);
  padding-left: 48px;
}

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 12px;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: -0.09px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, opacity .15s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--color-black); color: var(--color-white); border: 2px solid var(--color-black); }
.btn--primary:hover { opacity: .85; }
.btn--secondary { background: transparent; color: var(--color-black); border: 2px solid var(--color-border-btn); }
.btn--secondary:hover { border-color: var(--color-black); }
.btn--block { width: 100%; }
.btn--sm { font-size: 16px; letter-spacing: -0.08px; }

/* =========================================================
   Nav bar
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: stretch;
  height: var(--nav-h);
  background: var(--color-white);
}
.nav__link {
  display: flex;
  align-items: center;
  padding: 10px 30px;
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-white);
  font-family: var(--font-semi);
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: -0.36px;
  color: var(--color-black);
  text-decoration: none;
  white-space: nowrap;
}
.nav__link:hover { background: #f5f5f7; }
.nav__logo {
  flex: 1 0 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 10px 30px;
  border-bottom: 1px solid var(--color-border);
}
.nav__logo-img {
  width: 290px;
  height: 42px;
  object-fit: cover;          /* source PNG is square; Figma crops the wordmark */
  object-position: 0 48.6%;
}
.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 54px;
  padding: 0 12px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav__burger { width: 30px; height: 30px; position: relative; }
.nav__burger span {
  position: absolute; left: 3px; width: 24px; height: 2px; background: var(--color-black);
  transition: transform .2s ease, opacity .2s ease;
}
.nav__burger span:nth-child(1) { top: 6px; }
.nav__burger span:nth-child(2) { top: 14px; }
.nav__burger span:nth-child(3) { top: 22px; }
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav__menu { display: contents; }

/* =========================================================
   HOME
   ========================================================= */

/* Header / hero */
.home-hero {
  position: relative;
  height: 800px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: var(--color-white);
}
.home-hero__bg,
.cover-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.home-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.1) 58.04%, #000 100%);
}
.home-hero__content {
  position: relative; z-index: 1;
  padding: 0 30px 112px;
}
.home-hero__title {
  width: 600px;
  max-width: 100%;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 126px;
  line-height: 0.9;
  letter-spacing: -2.52px;
}

/* Vision modules (About / What we do) */
.vision {
  display: flex;
  height: 480px;
  background: var(--color-white);
}
.vision__text {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 110px;
  gap: 16px;
}
.vision__media { flex: 1 0 0; min-width: 0; position: relative; }
.vision__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vision__copy {
  max-width: 640px;
  font-family: var(--font-semi);
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: -0.34px;
}
.vision__block { padding-top: 24px; display: flex; flex-direction: column; gap: 16px; max-width: 487px; }

/* Mission */
.mission {
  position: relative;
  aspect-ratio: 1280 / 900;
  display: flex;
  align-items: flex-end;
  padding: 250px 110px 64px;
  overflow: hidden;
}
.mission::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 58.77%, rgba(0,0,0,.6) 81.18%);
}
.mission__text {
  position: relative; z-index: 1;
  max-width: 1080px;
  font-family: var(--font-semi);
  font-weight: 600;
  font-size: 37px;
  line-height: 1.1;
  letter-spacing: -0.74px;
  color: var(--color-white);
}

/* Two-column text row (Sector / Ecosystem) */
.pillars { display: flex; background: var(--color-white); }
.pillars__col {
  flex: 1 0 0; min-width: 0;
  padding: 80px 64px;
}
.pillars__col > div { padding-top: 24px; display: flex; flex-direction: column; gap: 16px; }

/* Founders */
.section-title { padding: 20px var(--gutter); }
.founders__title { padding: 64px var(--gutter) 0; }
.founder {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 64px;
  padding: 64px 60px 120px;
}
.founder--centered { justify-content: center; }
.founder--align-center { align-items: center; }
.founder--pt40 { padding-top: 40px; }
.founder--pt120 { padding-top: 120px; padding-bottom: 40px; }
.founder__card {
  flex: 0 0 388px;
  width: 388px;
  border-radius: 8px;
  overflow: hidden;
}
.founder__photo {
  position: relative;
  aspect-ratio: 426 / 307;
  overflow: hidden;
  background: #f2f2f2;
}
.founder__photo img {
  position: absolute;
  max-width: none;
  left: var(--l); top: var(--t); width: var(--w); height: var(--h);
}
.founder__badge {
  background: var(--color-brand);
  padding: 20px;
  font-family: var(--font-expanded);
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: -0.32px;
  color: var(--color-white);
}
.founder__body {
  width: 588px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-self: center;
}

/* News */
.news { padding: 24px 0; }
.news-feature { display: flex; align-items: center; }
.news-feature__media {
  flex: 1 0 0; min-width: 0;
  position: relative;
  height: 400px;
  overflow: hidden;
}
.news-feature__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.4) 0%, rgba(0,0,0,.32) 24.04%, rgba(0,0,0,0) 45.19%);
}
.news-feature__body {
  flex: 1 0 0; min-width: 0;
  padding: 48px 110px;
  display: flex; flex-direction: column; gap: 16px;
  max-width: 860px;
}
.news-feature__title {
  font-family: var(--font-semi);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.4px;
}
.news-feature__text {
  font-family: var(--font-semi);
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: -0.34px;
}
.news-grid {
  list-style: none;
  padding: 60px var(--gutter);
  display: grid;
  grid-template-columns: repeat(2, 363px);
  justify-content: center;
  gap: 32px;
}
.news-card {
  min-height: 534px;
  height: 100%;
  background: var(--color-white);
  border: 1px solid var(--color-border-soft);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.news-card__img { height: 240px; width: 100%; object-fit: cover; }
.news-card__body { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.news-card__title {
  font-weight: 600;
  font-size: 24px;
  line-height: 1.45;
  letter-spacing: -0.48px;
}
.news-card__text {
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.09px;
  color: var(--color-muted);
}

/* Footer */
.footer {
  background: var(--color-brand);
  color: var(--color-white);
  padding: 30px 0 0;
  min-height: 272px;
}
.footer__inner { display: flex; align-items: flex-end; justify-content: space-between; }
.footer__title {
  width: 457px;
  padding: 0 30px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 126px;
  line-height: 0.9;
  letter-spacing: -2.52px;
}
.footer__contact {
  flex: 1 0 0;
  padding: 0 30px;
  display: flex; flex-direction: column; gap: 8px;
  font-family: var(--font-expanded);
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: -0.32px;
}
.footer__contact a { text-decoration: none; }
.footer__contact a:hover { text-decoration: underline; }

/* =========================================================
   EVENT
   ========================================================= */
.event-hero {
  position: relative;
  height: 699px;
  display: flex;
  align-items: flex-end;
  padding: 48px var(--gutter);
  overflow: hidden;
}
.event-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 53.12%, rgba(0,0,0,.8) 85.55%);
}
.event-hero__title {
  position: relative; z-index: 1;
  font-weight: 700;
  font-size: 56px;
  line-height: 1.1;
  letter-spacing: -1.12px;
  color: var(--color-white);
}

.event-intro {
  padding: 32px var(--gutter);
  display: flex; flex-direction: column; gap: 32px;
}
.event-intro__meta { display: flex; flex-direction: column; gap: 24px; color: var(--color-muted); font-weight: 500; }
.event-intro__kicker { font-size: 24px; line-height: 1.45; letter-spacing: -0.12px; }
.event-intro__details { font-size: 20px; line-height: 1.45; letter-spacing: -0.1px; }

.split {
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 40px var(--gutter);
}
.split--top { padding-top: 120px; }
.split--bottom { padding-bottom: 120px; }
.split--start { align-items: flex-start; gap: 48px; padding: 120px var(--gutter); }
.split__text { flex: 1 0 0; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.split__media { flex: 1 0 0; min-width: 0; height: 432px; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__group { display: flex; flex-direction: column; gap: 48px; flex: 1 0 0; min-width: 0; }

.callout {
  border-left: 4px solid var(--color-brand);
  background: #f4f5fb;
  padding: 16px 20px;
  border-radius: 4px;
  color: var(--color-black);
}

/* Pricing */
.pricing { padding: 40px var(--gutter); display: flex; flex-direction: column; gap: 32px; }
.pricing__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.plan {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  min-height: 523px;
  padding: 32px 24px;
  background: var(--color-white);
  border: .5px solid var(--color-border-soft);
  border-radius: 16px;
  box-shadow: 0 0 4.4px rgba(0,0,0,.06), 0 5px 19px rgba(0,0,0,.08);
}
.plan__top { display: flex; flex-direction: column; gap: 32px; }
.plan__name { font-weight: 600; font-size: 20px; line-height: 1.4; letter-spacing: -0.1px; }
.plan__price { font-weight: 700; font-size: 56px; line-height: 1.1; white-space: nowrap; }
.plan__amount { font-size: 52px; letter-spacing: -0.52px; }
.plan__currency { font-size: 42px; letter-spacing: -0.42px; }
.plan__features { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.plan__features li {
  display: flex; align-items: center; gap: 8px;
  font-weight: 500; font-size: 18px; line-height: 1.4; letter-spacing: -0.09px;
}
.plan__features img { width: 24px; height: 24px; flex: 0 0 24px; }

.text-block { padding: 24px var(--gutter); display: flex; flex-direction: column; gap: 32px; }
.text-block__title { font-weight: 700; font-size: 24px; line-height: 1.2; letter-spacing: -0.48px; }

.audience { padding: 40px var(--gutter); min-height: 382px; display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.audience__cols { display: flex; gap: 64px; }
.audience__cols ul { width: 500px; max-width: 100%; }

.contact-list { list-style: none; padding: 0; }
.contact-list a { color: inherit; text-decoration: none; }
.contact-list a:hover { color: var(--color-black); text-decoration: underline; }

/* =========================================================
   Responsive — Tablet (Figma "Tablet" 800px)
   ========================================================= */
@media (max-width: 1100px) {
  :root { --gutter: 32px; }

  .home-hero__title { font-size: 96px; letter-spacing: -1.92px; }
  .vision__text { padding: 0 48px; }
  .mission { padding: 160px 48px 48px; }
  .mission__text { font-size: 30px; }
  .pillars__col { padding: 64px 32px; }

  .founder,
  .founder--centered { padding-left: 32px; padding-right: 32px; gap: 40px; }
  .founder__card { flex-basis: 320px; width: 320px; }
  .founder__body { width: auto; flex: 1 1 0; }

  .news-feature__body { padding: 40px 48px; }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 363px)); }

  .footer__title { font-size: 96px; width: auto; }

  .event-hero { height: 560px; }
  .event-hero__title { font-size: 44px; }
  .split { gap: 40px; }
  .pricing__grid { grid-template-columns: 1fr; max-width: 520px; }
  .plan { min-height: 0; }
  .audience__cols { gap: 32px; }
}

/* =========================================================
   Responsive — Mobile (Figma "Mobile" 375px)
   ========================================================= */
@media (max-width: 760px) {
  :root { --gutter: 24px; --nav-h: 50px; }

  /* Nav: hamburger left, logo right */
  .nav { flex-wrap: nowrap; border-bottom: 1px solid var(--color-border); }
  .nav__toggle { display: flex; }
  .nav__logo { border-bottom: 0; padding: 10px 0 10px 0; }
  .nav__logo-img { width: 210px; height: 30px; }
  .nav__menu {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--color-white);
    box-shadow: 0 12px 24px rgba(0,0,0,.08);
  }
  .nav.is-open .nav__menu { display: flex; }
  .nav__menu .nav__link { border-right: 0; padding: 16px 24px; }
  .nav--event .nav__menu { display: flex; position: static; box-shadow: none; flex-direction: row; }
  .nav--event .nav__toggle { display: none; }
  .nav--event .nav__menu .nav__link { border-right: 1px solid var(--color-border); border-bottom: 0; padding: 10px 16px; font-size: 16px; }
  .nav--event .nav__logo { padding-right: 12px; }
  .nav--event .nav__logo-img { width: 160px; height: 23px; }

  .home-hero { height: 640px; }
  .home-hero__content { padding: 0 30px 112px; }
  .home-hero__title { width: 315px; font-size: 62px; letter-spacing: -1.24px; }

  .vision,
  .vision--reverse { flex-direction: column; height: auto; }
  .vision--reverse .vision__media { order: -1; }
  .vision__text { padding: 48px var(--gutter); }
  .vision__media { aspect-ratio: 4 / 3; flex: none; width: 100%; }
  .vision__block { max-width: none; }

  .mission { aspect-ratio: auto; min-height: 520px; padding: 200px var(--gutter) 40px; }
  .mission__text { font-size: 26px; letter-spacing: -0.52px; }

  .pillars { flex-direction: column; }
  .pillars__col { padding: 32px var(--gutter); }

  .founders__title { padding: 48px var(--gutter) 0; }
  .founder,
  .founder--centered,
  .founder--pt40,
  .founder--pt120 { flex-direction: column; align-items: stretch; gap: 24px; padding: 32px var(--gutter) 48px; }
  .founder__card { order: -1; flex: none; width: 100%; max-width: 388px; }
  .founder__body { align-self: stretch; }
  .h-title { font-size: 28px; letter-spacing: -0.56px; }
  .body-muted { font-size: 16px; }

  .news-feature { flex-direction: column; }
  .news-feature__media { flex: none; width: 100%; height: 220px; }
  .news-feature__body { padding: 24px var(--gutter); }
  .news-grid { grid-template-columns: 1fr; padding: 32px var(--gutter); gap: 24px; }
  .news-card { min-height: 0; }

  .footer { min-height: 0; padding: 40px 0; }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer__title { font-size: 62px; letter-spacing: -1.24px; }

  .event-hero { height: 480px; padding: 32px var(--gutter); }
  .event-hero__title { font-size: 32px; letter-spacing: -0.64px; }
  .event-intro__kicker { font-size: 20px; }
  .event-intro__details { font-size: 17px; }

  .split,
  .split--start { flex-direction: column; align-items: stretch; gap: 24px; padding: 32px var(--gutter); }
  .split--reverse .split__media { order: -1; }
  .split__media { flex: none; height: 240px; }
  .h-subtitle { font-size: 20px; }

  .pricing__grid { max-width: none; }
  .plan { min-width: 0; }
  .plan__amount { font-size: 44px; }
  .plan__currency { font-size: 34px; }

  .audience { min-height: 0; }
  .audience__cols { flex-direction: column; gap: 0; }
  .bullets--muted { padding-left: 24px; }
}

/* Exact 50/50 columns (padding must not skew flex distribution) */
.vision__text, .vision__media,
.news-feature__media, .news-feature__body { flex: 0 0 50%; }
.news-feature__body { max-width: none; }
@media (max-width: 760px) {
  .vision__text, .vision__media,
  .news-feature__media, .news-feature__body { flex: none; width: 100%; }
}
