/* SuperEpic Ventures: Harbour Dusk */
:root {
  --bg: #120a26;
  --bg-2: #1c1036;
  --surface: #1f1340;
  --line: rgba(255,255,255,.08);
  --text: #ecdff5;
  --muted: #b3a2c4;
  --heading: #fff;
  --accent: #ffb347;
  --accent-2: #ff6a3d;
  --accent-3: #ff4e7a;
  --sun: linear-gradient(90deg, #ffe259, #ff6a3d, #ff4e7a);
  --btn: linear-gradient(90deg, #ffb347, #ff4e7a);
  --btn-text: #1a0b2e;
  --hdr: rgba(26,11,46,.72);
  --ftr: #0b0618;
  --radius: 22px;
  --display: Unbounded, sans-serif;
  --body: Manrope, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; font-family: var(--body); background: var(--bg); color: var(--text);
  line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--display); color: var(--heading); letter-spacing: -.02em; line-height: 1.1; margin: 0 0 .5em; }
h1 { font-weight: 800; font-size: clamp(2.3rem, 6.4vw, 4.8rem); max-width: 900px; }
h1 span { display: block; background: var(--sun); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { font-weight: 600; font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-weight: 400; font-size: 1.05rem; }
p { margin: 0 0 1em; }
a { color: inherit; }
.link { color: var(--accent); text-decoration: none; font-weight: 700; }
.link:hover { text-decoration: underline; }
strong { color: var(--heading); }
.center { text-align: center; margin-top: 2.4em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: #fff; color: #000; padding: 8px 12px; }

/* Header */
.hdr { position: sticky; top: 0; z-index: 20; background: var(--hdr); backdrop-filter: blur(14px); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.brand { display: flex; align-items: center; gap: .65em; text-decoration: none; flex-shrink: 0; }
.mark {
  display: grid; place-items: center; height: 38px; padding: 0 11px; border-radius: 999px;
  background: linear-gradient(180deg, #ffe259, #ff4e7a); color: #1a0b2e;
  font-family: var(--display); font-weight: 800; font-size: .74rem; letter-spacing: .06em;
}
.brand-name { font-family: var(--display); font-size: .85rem; color: var(--heading); }
.brand-name b { font-weight: 600; }
.links { display: flex; align-items: center; gap: 22px; }
.links a { text-decoration: none; font-size: .93rem; opacity: .82; white-space: nowrap; }
.links a:hover, .links a[aria-current] { opacity: 1; }
.links a[aria-current]:not(.btn) { color: var(--accent); }
.links .btn { opacity: 1; }
.menu-toggle {
  display: none; font: inherit; cursor: pointer; background: none; color: var(--heading);
  border: 1px solid var(--line); border-radius: 10px; padding: .4em .9em;
}

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700; padding: .85em 1.6em; border-radius: 14px;
  background: var(--btn); color: var(--btn-text); border: 0; transition: transform .25s, box-shadow .25s; word-break: break-word;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255,78,122,.35); }
.btn-ghost { background: rgba(26,11,46,.4); color: var(--heading); box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.btn-sm { padding: .55em 1.15em; font-size: .9rem; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.2em; }

/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-art { position: absolute; inset: 0; z-index: -1; }
.hero-art svg { width: 100%; height: 100%; display: block; }
.hero-inner { padding: clamp(96px, 14vw, 170px) 28px clamp(120px, 15vw, 190px); }
.hero-page .hero-inner { padding: clamp(70px, 10vw, 110px) 28px clamp(170px, 19vw, 240px); }
.hero-page h1 { font-size: clamp(2.1rem, 5.4vw, 4rem); }
.hero .lead { color: #fff; text-shadow: 0 1px 12px rgba(26,11,46,.6); }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .76rem; font-weight: 700; color: var(--accent); margin-bottom: 1em; }
.lead { font-size: 1.14rem; max-width: 640px; color: var(--muted); }
.coords { margin-top: 3em; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; opacity: .7; }
.drift { animation: drift 14s ease-in-out infinite alternate; }
.d1 { animation-duration: 11s; } .d2 { animation-duration: 17s; } .d3 { animation-duration: 9s; }
@keyframes drift { to { transform: translateX(-100px); } }

/* Sections */
.sec { padding: clamp(70px, 9vw, 112px) 0; }
.alt { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
.split .btn { margin-top: .6em; }
.prose p { color: var(--muted); font-size: 1.05rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.panel p { color: var(--muted); }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; margin-top: 2.4em; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.split + .grid, .split ~ .grid { margin-top: 3em; }
.card {
  position: relative; display: block; text-decoration: none; padding: 30px 26px 28px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .25s, box-shadow .25s;
}
.card::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--sun);
  transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
a.card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.card:hover::after { transform: scaleX(1); }
.card p { color: var(--muted); font-size: .96rem; margin: 0; }
.idx { position: absolute; top: 22px; right: 24px; font-family: var(--display); font-size: .72rem; color: var(--accent); opacity: .7; }
.icon {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(180deg, rgba(255,226,89,.2), rgba(255,78,122,.2));
}
.icon svg, .more svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.more { display: inline-flex; align-items: center; gap: .4em; margin-top: 1.2em; font-weight: 700; font-size: .9rem; color: var(--accent); text-decoration: none; }
.more svg { width: 18px; height: 18px; transition: transform .25s; }
.card:hover .more svg, a.more:hover svg { transform: translateX(4px); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 2.4em 0 0; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps li { counter-increment: s; padding-top: 22px; border-top: 3px solid; border-image: var(--sun) 1; }
.steps li::before { content: "0" counter(s); display: block; margin-bottom: .6em; font-family: var(--display); color: var(--accent-2); }
.steps p { color: var(--muted); margin: 0; }

/* Portfolio */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 2em; }
.chip {
  font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; padding: .5em 1.2em; border-radius: 999px;
  background: transparent; color: var(--muted); border: 1px solid var(--line);
}
.chip.on { background: var(--btn); color: var(--btn-text); border-color: transparent; }
.co-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: 2.4em; }
.chips + .co-grid { margin-top: 0; }
.co { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.co[hidden] { display: none; }
.co p { color: var(--muted); font-size: .95rem; margin: 0; }
.logo {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; margin-bottom: 18px;
  background: var(--bg); border: 1px solid var(--line); font-family: var(--display); font-weight: 600; color: var(--accent);
}
.tag { position: absolute; top: 24px; right: 24px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: .3em .8em; border-radius: 999px; }
.tag-current { background: rgba(255,179,71,.15); color: var(--accent); }
.tag-exited { background: rgba(255,78,122,.15); color: #ff8fab; }
.tag-past { background: rgba(255,255,255,.08); color: var(--muted); }

/* Team */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.person { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.person p { color: var(--muted); }
.avatar {
  display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; margin-bottom: 22px;
  background: linear-gradient(180deg, #ffe259, #ff4e7a); color: #1a0b2e; font-family: var(--display); font-weight: 800; font-size: 1.5rem;
}
.person h3 { font-size: 1.35rem; font-weight: 600; margin-bottom: .2em; }
.role { color: var(--accent) !important; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; }

/* CTA */
.cta { background: linear-gradient(180deg, var(--bg-2) 0%, #6b1f5c 140%); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-inner .lead { margin: 0; }

/* Footer */
.ftr { background: var(--ftr); color: var(--muted); padding: 56px 0 24px; font-size: .92rem; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.ftr-grid .brand { margin-bottom: 1em; }
.ftr-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; align-content: start; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: var(--accent); }
.ftr-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .82rem; opacity: .8; }
.ftr p { margin: 0 0 .4em; }
.small { font-size: .88rem; }

@media (max-width: 1020px) {
  .wrap, .hero-inner, .hero-page .hero-inner { padding-left: 16px; padding-right: 16px; }
  .menu-toggle { display: block; }
  .links {
    display: none; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; align-items: flex-start;
    gap: 18px; padding: 22px 16px 28px; background: var(--bg);
  }
  .links.open { display: flex; }
}
@media (max-width: 840px) {
  .split, .steps, .two-col, .ftr-grid { grid-template-columns: 1fr; }
  .split { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::after { animation: none !important; transition: none !important; }
}

/* Portfolio logos */
.co { display: flex; flex-direction: column; }
.co .more { margin-top: auto; padding-top: 1.1em; }
.co-logo { display: grid; place-items: center; height: 96px; margin: -6px -4px 20px; padding: 12px 18px; background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) - 6px); }
.co-logo img { max-width: 100%; max-height: 70px; object-fit: contain; }
.co .tag { top: 14px; right: 14px; }
.co h3 { margin-bottom: .4em; }
.tag-founded { background: rgba(255,107,53,.14); color: #c2410c; }
.tag-fund { background: rgba(45,134,184,.14); color: #145983; }

/* Haro stats, interests and thesis */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 1.6em; }
.stats div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.stats b { display: block; font-family: var(--display); font-size: 2rem; line-height: 1; color: var(--heading); }
.stats span { font-size: .85rem; color: var(--muted); }
.pills { list-style: none; padding: 0; margin: 1.6em 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pills li { padding: .55em 1.1em; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: .95rem; }
.thesis { list-style: none; padding: 0; margin: 2.2em 0 0; counter-reset: t; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.thesis li { counter-increment: t; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.thesis li::before { content: "0" counter(t); display: block; font-family: var(--display); color: var(--accent); margin-bottom: .5em; }
.thesis p { color: var(--muted); font-size: .95rem; margin: 0; }
